2 # From configure.in Id: configure.in 47734 2007-07-26 16:27:29Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir=.
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
261 CONFIG_SHELL=$as_shell
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
289 as_func_ret_success () {
292 as_func_ret_failure () {
297 if as_func_success; then
301 echo as_func_success failed.
304 if as_func_failure; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure; then
318 echo as_func_ret_failure succeeded.
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
475 ECHO_C= ECHO_N= ECHO_T=
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
509 elif ln conf$$.file conf$$ 2>/dev/null; then
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
517 if mkdir -p . 2>/dev/null; then
520 test -d ./-p && rmdir ./-p
524 if test -x / >/dev/null 2>&1; then
527 if ls -dL / >/dev/null 2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev/null 6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix=/usr/local
567 ac_config_libobj_dir=.
573 SHELL=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
719 LIBGNOMEPRINTUI_CFLAGS
766 SAMPLES_RPATH_POSTLINK
812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
814 COND_BUILD_DEBUG_UNICODE_0
815 COND_BUILD_DEBUG_UNICODE_1
817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
818 COND_BUILD_RELEASE_UNICODE_0
819 COND_BUILD_RELEASE_UNICODE_1
828 COND_MONOLITHIC_0_SHARED_0
829 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
837 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
838 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
839 COND_MONOLITHIC_0_SHARED_1
840 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
846 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
847 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
848 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
849 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
850 COND_MONOLITHIC_0_USE_AUI_1
851 COND_MONOLITHIC_0_USE_GUI_1
852 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
853 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
854 COND_MONOLITHIC_0_USE_HTML_1
855 COND_MONOLITHIC_0_USE_MEDIA_1
856 COND_MONOLITHIC_0_USE_ODBC_1
857 COND_MONOLITHIC_0_USE_QA_1
858 COND_MONOLITHIC_0_USE_RICHTEXT_1
859 COND_MONOLITHIC_0_USE_STC_1
860 COND_MONOLITHIC_0_USE_XRC_1
862 COND_MONOLITHIC_1_SHARED_0
863 COND_MONOLITHIC_1_SHARED_1
864 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
865 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
866 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
867 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
868 COND_PLATFORM_MACOSX_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_
870 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
871 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
872 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
873 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
874 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
875 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
876 COND_PLATFORM_MACOSX_1_USE_GUI_1
877 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
878 COND_PLATFORM_MACOS_1
880 COND_PLATFORM_MSDOS_0
881 COND_PLATFORM_MSDOS_1
885 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
886 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
887 COND_PLATFORM_UNIX_1_USE_GUI_1
888 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
889 COND_PLATFORM_WIN32_0
890 COND_PLATFORM_WIN32_1
892 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
893 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
894 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
895 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
898 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
899 COND_SHARED_0_USE_STC_1
900 COND_SHARED_0_USE_XRC_1
901 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
902 COND_SHARED_0_WXUSE_ODBC_BUILTIN
903 COND_SHARED_0_WXUSE_REGEX_BUILTIN
904 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
906 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_1_USE_XRC_1
910 COND_TOOLKIT_COCOA_USE_GUI_1
911 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
913 COND_TOOLKIT_DFB_USE_GUI_1
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_GTK_USE_GUI_1
923 COND_TOOLKIT_MAC_USE_GUI_1
924 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MGL_USE_GUI_1
928 COND_TOOLKIT_MOTIF_USE_GUI_1
929 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_MSW_USE_GUI_1
932 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_MSW_WXUNIV_0
935 COND_TOOLKIT_PM_USE_GUI_1
936 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_WINCE_USE_GUI_1
939 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_WINCE_WXUNIV_0
942 COND_TOOLKIT_X11_USE_GUI_1
944 COND_USE_EXCEPTIONS_0
945 COND_USE_EXCEPTIONS_1
948 COND_USE_GUI_1_USE_OPENGL_1
949 COND_USE_GUI_1_WXUNIV_0
950 COND_USE_GUI_1_WXUNIV_1
951 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
952 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
953 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
960 COND_USE_SOSYMLINKS_1
961 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
962 COND_USE_SOVERLINUX_1
964 COND_USE_SOVERSOLARIS_1
969 COND_WINDOWS_IMPLIB_1
970 COND_WITH_PLUGIN_SDL_1
973 COND_WXUSE_EXPAT_BUILTIN
974 COND_WXUSE_LIBJPEG_BUILTIN
975 COND_WXUSE_LIBPNG_BUILTIN
976 COND_WXUSE_LIBTIFF_BUILTIN
977 COND_WXUSE_ODBC_BUILTIN
978 COND_WXUSE_REGEX_BUILTIN
979 COND_WXUSE_ZLIB_BUILTIN
981 WX_LIBRARY_BASENAME_NOGUI
982 WX_LIBRARY_BASENAME_GUI
1002 WXCONFIG_LDFLAGS_GUI
1015 WX_RESOURCES_MACOSX_ASCII
1016 WX_RESOURCES_MACOSX_DATA
1025 ac_precious_vars='build_alias
1047 LIBGNOMEPRINTUI_CFLAGS
1048 LIBGNOMEPRINTUI_LIBS
1057 ac_subdirs_all='src/expat'
1059 # Initialize some variables set by options.
1061 ac_init_version=false
1062 # The variables have the same names as the options, with
1063 # dashes changed to underlines.
1064 cache_file=/dev/null
1071 program_transform_name=s,x,x,
1079 # Installation directory options.
1080 # These are left unexpanded so users can "make install exec_prefix=/foo"
1081 # and all the variables that are supposed to be based on exec_prefix
1082 # by default will actually change.
1083 # Use braces instead of parens because sh, perl, etc. also accept them.
1084 # (The list follows the same order as the GNU Coding Standards.)
1085 bindir='${exec_prefix}/bin'
1086 sbindir='${exec_prefix}/sbin'
1087 libexecdir='${exec_prefix}/libexec'
1088 datarootdir='${prefix}/share'
1089 datadir='${datarootdir}'
1090 sysconfdir='${prefix}/etc'
1091 sharedstatedir='${prefix}/com'
1092 localstatedir='${prefix}/var'
1093 includedir='${prefix}/include'
1094 oldincludedir='/usr/include'
1095 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1096 infodir='${datarootdir}/info'
1101 libdir='${exec_prefix}/lib'
1102 localedir='${datarootdir}/locale'
1103 mandir='${datarootdir}/man'
1109 # If the previous option needs an argument, assign it.
1110 if test -n "$ac_prev"; then
1111 eval $ac_prev=\$ac_option
1117 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1121 # Accept the important Cygnus configure options, so we can diagnose typos.
1123 case $ac_dashdash$ac_option in
1127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1130 bindir=$ac_optarg ;;
1132 -build | --build | --buil | --bui | --bu)
1133 ac_prev=build_alias ;;
1134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1135 build_alias=$ac_optarg ;;
1137 -cache-file | --cache-file | --cache-fil | --cache-fi \
1138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1139 ac_prev=cache_file ;;
1140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1142 cache_file=$ac_optarg ;;
1144 --config-cache | -C)
1145 cache_file=config.cache ;;
1147 -datadir | --datadir | --datadi | --datad)
1149 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1150 datadir=$ac_optarg ;;
1152 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1153 | --dataroo | --dataro | --datar)
1154 ac_prev=datarootdir ;;
1155 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1156 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1157 datarootdir=$ac_optarg ;;
1159 -disable-* | --disable-*)
1160 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1164 { (exit 1); exit 1; }; }
1165 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1166 eval enable_$ac_feature=no ;;
1168 -docdir | --docdir | --docdi | --doc | --do)
1170 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1171 docdir=$ac_optarg ;;
1173 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1175 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1176 dvidir=$ac_optarg ;;
1178 -enable-* | --enable-*)
1179 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1182 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1183 { (exit 1); exit 1; }; }
1184 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1185 eval enable_$ac_feature=\$ac_optarg ;;
1187 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1188 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1189 | --exec | --exe | --ex)
1190 ac_prev=exec_prefix ;;
1191 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1192 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1193 | --exec=* | --exe=* | --ex=*)
1194 exec_prefix=$ac_optarg ;;
1196 -gas | --gas | --ga | --g)
1197 # Obsolete; use --with-gas.
1200 -help | --help | --hel | --he | -h)
1201 ac_init_help=long ;;
1202 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1203 ac_init_help=recursive ;;
1204 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1205 ac_init_help=short ;;
1207 -host | --host | --hos | --ho)
1208 ac_prev=host_alias ;;
1209 -host=* | --host=* | --hos=* | --ho=*)
1210 host_alias=$ac_optarg ;;
1212 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1214 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1216 htmldir=$ac_optarg ;;
1218 -includedir | --includedir | --includedi | --included | --include \
1219 | --includ | --inclu | --incl | --inc)
1220 ac_prev=includedir ;;
1221 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1222 | --includ=* | --inclu=* | --incl=* | --inc=*)
1223 includedir=$ac_optarg ;;
1225 -infodir | --infodir | --infodi | --infod | --info | --inf)
1227 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1228 infodir=$ac_optarg ;;
1230 -libdir | --libdir | --libdi | --libd)
1232 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1233 libdir=$ac_optarg ;;
1235 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1236 | --libexe | --libex | --libe)
1237 ac_prev=libexecdir ;;
1238 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1239 | --libexe=* | --libex=* | --libe=*)
1240 libexecdir=$ac_optarg ;;
1242 -localedir | --localedir | --localedi | --localed | --locale)
1243 ac_prev=localedir ;;
1244 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1245 localedir=$ac_optarg ;;
1247 -localstatedir | --localstatedir | --localstatedi | --localstated \
1248 | --localstate | --localstat | --localsta | --localst | --locals)
1249 ac_prev=localstatedir ;;
1250 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1251 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1252 localstatedir=$ac_optarg ;;
1254 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1256 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1257 mandir=$ac_optarg ;;
1259 -nfp | --nfp | --nf)
1260 # Obsolete; use --without-fp.
1263 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1264 | --no-cr | --no-c | -n)
1267 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1268 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1271 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1272 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1273 | --oldin | --oldi | --old | --ol | --o)
1274 ac_prev=oldincludedir ;;
1275 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1276 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1277 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1278 oldincludedir=$ac_optarg ;;
1280 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1282 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1283 prefix=$ac_optarg ;;
1285 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1286 | --program-pre | --program-pr | --program-p)
1287 ac_prev=program_prefix ;;
1288 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1289 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1290 program_prefix=$ac_optarg ;;
1292 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1293 | --program-suf | --program-su | --program-s)
1294 ac_prev=program_suffix ;;
1295 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1296 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1297 program_suffix=$ac_optarg ;;
1299 -program-transform-name | --program-transform-name \
1300 | --program-transform-nam | --program-transform-na \
1301 | --program-transform-n | --program-transform- \
1302 | --program-transform | --program-transfor \
1303 | --program-transfo | --program-transf \
1304 | --program-trans | --program-tran \
1305 | --progr-tra | --program-tr | --program-t)
1306 ac_prev=program_transform_name ;;
1307 -program-transform-name=* | --program-transform-name=* \
1308 | --program-transform-nam=* | --program-transform-na=* \
1309 | --program-transform-n=* | --program-transform-=* \
1310 | --program-transform=* | --program-transfor=* \
1311 | --program-transfo=* | --program-transf=* \
1312 | --program-trans=* | --program-tran=* \
1313 | --progr-tra=* | --program-tr=* | --program-t=*)
1314 program_transform_name=$ac_optarg ;;
1316 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1318 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1319 pdfdir=$ac_optarg ;;
1321 -psdir | --psdir | --psdi | --psd | --ps)
1323 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1327 | -silent | --silent | --silen | --sile | --sil)
1330 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1332 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1334 sbindir=$ac_optarg ;;
1336 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1337 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1338 | --sharedst | --shareds | --shared | --share | --shar \
1340 ac_prev=sharedstatedir ;;
1341 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1342 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1343 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1345 sharedstatedir=$ac_optarg ;;
1347 -site | --site | --sit)
1349 -site=* | --site=* | --sit=*)
1352 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1354 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1355 srcdir=$ac_optarg ;;
1357 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1358 | --syscon | --sysco | --sysc | --sys | --sy)
1359 ac_prev=sysconfdir ;;
1360 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1361 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1362 sysconfdir=$ac_optarg ;;
1364 -target | --target | --targe | --targ | --tar | --ta | --t)
1365 ac_prev=target_alias ;;
1366 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1367 target_alias=$ac_optarg ;;
1369 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1372 -version | --version | --versio | --versi | --vers | -V)
1373 ac_init_version=: ;;
1376 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_$ac_package=\$ac_optarg ;;
1384 -without-* | --without-*)
1385 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1386 # Reject names that are not valid shell variable names.
1387 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1388 { echo "$as_me: error: invalid package name: $ac_package" >&2
1389 { (exit 1); exit 1; }; }
1390 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1391 eval with_$ac_package=no ;;
1394 # Obsolete; use --with-x.
1397 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1398 | --x-incl | --x-inc | --x-in | --x-i)
1399 ac_prev=x_includes ;;
1400 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1401 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1402 x_includes=$ac_optarg ;;
1404 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1405 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1406 ac_prev=x_libraries ;;
1407 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1408 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1409 x_libraries=$ac_optarg ;;
1411 -*) { echo "$as_me: error: unrecognized option: $ac_option
1412 Try \`$0 --help' for more information." >&2
1413 { (exit 1); exit 1; }; }
1417 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1418 # Reject names that are not valid shell variable names.
1419 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1420 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1421 { (exit 1); exit 1; }; }
1422 eval $ac_envvar=\$ac_optarg
1423 export $ac_envvar ;;
1426 # FIXME: should be removed in autoconf 3.0.
1427 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1428 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1429 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1430 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1436 if test -n "$ac_prev"; then
1437 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1438 { echo "$as_me: error: missing argument to $ac_option" >&2
1439 { (exit 1); exit 1; }; }
1442 # Be sure to have absolute directory names.
1443 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1444 datadir sysconfdir sharedstatedir localstatedir includedir \
1445 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1446 libdir localedir mandir
1448 eval ac_val=\$$ac_var
1450 [\\/$]* | ?:[\\/]* ) continue;;
1451 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1453 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1454 { (exit 1); exit 1; }; }
1457 # There might be people who depend on the old broken behavior: `$host'
1458 # used to hold the argument of --host etc.
1459 # FIXME: To remove some day.
1462 target=$target_alias
1464 # FIXME: To remove some day.
1465 if test "x$host_alias" != x; then
1466 if test "x$build_alias" = x; then
1467 cross_compiling=maybe
1468 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1469 If a cross compiler is detected then cross compile mode will be used." >&2
1470 elif test "x$build_alias" != "x$host_alias"; then
1476 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1478 test "$silent" = yes && exec 6>/dev/null
1481 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1482 ac_ls_di=`ls -di .` &&
1483 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1484 { echo "$as_me: error: Working directory cannot be determined" >&2
1485 { (exit 1); exit 1; }; }
1486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487 { echo "$as_me: error: pwd does not report name of working directory" >&2
1488 { (exit 1); exit 1; }; }
1491 # Find the source files, if location was not specified.
1492 if test -z "$srcdir"; then
1493 ac_srcdir_defaulted=yes
1494 # Try the directory containing this script, then the parent directory.
1495 ac_confdir=`$as_dirname -- "$0" ||
1496 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1497 X"$0" : 'X\(//\)[^/]' \| \
1498 X"$0" : 'X\(//\)$' \| \
1499 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1523 ac_srcdir_defaulted=no
1525 if test ! -r "$srcdir/$ac_unique_file"; then
1526 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1527 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1528 { (exit 1); exit 1; }; }
1530 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1532 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1533 { (exit 1); exit 1; }; }
1535 # When building in place, set srcdir=.
1536 if test "$ac_abs_confdir" = "$ac_pwd"; then
1539 # Remove unnecessary trailing slashes from srcdir.
1540 # Double slashes in file names in object file debugging info
1541 # mess up M-x gdb in Emacs.
1543 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1545 for ac_var in $ac_precious_vars; do
1546 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1547 eval ac_env_${ac_var}_value=\$${ac_var}
1548 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1549 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1553 # Report the --help message.
1555 if test "$ac_init_help" = "long"; then
1556 # Omit some internal or obsolete options to make the list less imposing.
1557 # This message is too long to be a string in the A/UX 3.1 sh.
1559 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1561 Usage: $0 [OPTION]... [VAR=VALUE]...
1563 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1564 VAR=VALUE. See below for descriptions of some of the useful variables.
1566 Defaults for the options are specified in brackets.
1569 -h, --help display this help and exit
1570 --help=short display options specific to this package
1571 --help=recursive display the short help of all the included packages
1572 -V, --version display version information and exit
1573 -q, --quiet, --silent do not print \`checking...' messages
1574 --cache-file=FILE cache test results in FILE [disabled]
1575 -C, --config-cache alias for \`--cache-file=config.cache'
1576 -n, --no-create do not create output files
1577 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1579 Installation directories:
1580 --prefix=PREFIX install architecture-independent files in PREFIX
1581 [$ac_default_prefix]
1582 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1585 By default, \`make install' will install all the files in
1586 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1587 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1588 for instance \`--prefix=\$HOME'.
1590 For better control, use the options below.
1592 Fine tuning of the installation directories:
1593 --bindir=DIR user executables [EPREFIX/bin]
1594 --sbindir=DIR system admin executables [EPREFIX/sbin]
1595 --libexecdir=DIR program executables [EPREFIX/libexec]
1596 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1597 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1598 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1599 --libdir=DIR object code libraries [EPREFIX/lib]
1600 --includedir=DIR C header files [PREFIX/include]
1601 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1602 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1603 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1604 --infodir=DIR info documentation [DATAROOTDIR/info]
1605 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1606 --mandir=DIR man documentation [DATAROOTDIR/man]
1607 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1608 --htmldir=DIR html documentation [DOCDIR]
1609 --dvidir=DIR dvi documentation [DOCDIR]
1610 --pdfdir=DIR pdf documentation [DOCDIR]
1611 --psdir=DIR ps documentation [DOCDIR]
1617 --x-includes=DIR X include files are in DIR
1618 --x-libraries=DIR X library files are in DIR
1621 --build=BUILD configure for building on BUILD [guessed]
1622 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1623 --target=TARGET configure for building compilers for TARGET [HOST]
1627 if test -n "$ac_init_help"; then
1628 case $ac_init_help in
1629 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1634 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1635 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1636 --disable-gui don't build GUI parts of the library
1637 --enable-monolithic build wxWidgets as single library
1638 --enable-plugins build parts of wxWidgets as loadable components
1639 --enable-official_build official build of wxWidgets (win32 DLL only)
1640 --enable-vendor=VENDOR vendor name (win32 DLL only)
1641 --disable-all-features disable all optional features to build minimal library
1642 --enable-universal use wxWidgets GUI controls instead of native ones
1643 --enable-nanox use NanoX
1644 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1645 --enable-gpe use GNOME PDA Environment features if possible
1646 --disable-shared create static library instead of shared
1647 --disable-optimise create optimised code
1648 --enable-debug same as debug_flag and debug_info
1649 --enable-stl use STL for containers
1650 --enable-std_iostreams use standard C++ stream classes
1651 --enable-std_string use standard C++ string classes
1652 --disable-unicode compile without Unicode support
1653 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1654 --enable-utf8 use UTF-8 representation for strings (Unix only)
1655 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1656 --enable-extended_rtti use extended RTTI (XTI)
1657 --enable-omf use OMF object format
1658 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1659 --enable-debug_info create code with debugging information
1660 --enable-debug_gdb create code with extra GDB debugging information
1661 --enable-debug_cntxt use wxDebugContext
1662 --enable-mem_tracing create code with memory tracing
1663 --enable-profile create code with profiling information
1664 --enable-no_rtti create code without RTTI information
1665 --enable-no_exceptions create code without C++ exceptions handling
1666 --enable-permissive compile code disregarding strict ANSI
1667 --enable-no_deps create code without dependency information
1668 --disable-vararg_macros don't use vararg macros, even if they are supported
1669 --enable-universal_binary create Mac PowerPC and Intel Universal binary (not yet working)
1670 --enable-compat26 enable wxWidgets 2.6 compatibility
1671 --disable-compat28 disable wxWidgets 2.8 compatibility
1672 --disable-rpath disable use of rpath for uninstalled builds
1673 --enable-objc_uniquifying enable Objective-C class name uniquifying
1674 --disable-visibility disable use of ELF symbols visibility even if supported
1675 --enable-intl use internationalization system
1676 --enable-config use wxConfig (and derived) classes
1677 --enable-protocols use wxProtocol and derived classes
1678 --enable-ftp use wxFTP (requires wxProtocol
1679 --enable-http use wxHTTP (requires wxProtocol
1680 --enable-fileproto use wxFileProto class (requires wxProtocol
1681 --enable-sockets use socket/network classes
1682 --enable-ole use OLE classes (Win32 only)
1683 --enable-dataobj use data object classes
1684 --enable-ipc use interprocess communication (wxSocket etc.)
1685 --enable-baseevtloop use event loop in console programs too
1686 --enable-epoolloop use wxEpollDispatcher class (Linux only)
1687 --enable-selectloop use wxSelectDispatcher class
1688 --enable-apple_ieee use the Apple IEEE codec
1689 --enable-arcstream use wxArchive streams
1690 --enable-base64 use base64 encoding/decoding functions
1691 --enable-backtrace use wxStackWalker class for getting backtraces
1692 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1693 --enable-cmdline use wxCmdLineParser class
1694 --enable-datetime use wxDateTime class
1695 --enable-debugreport use wxDebugReport class
1696 --enable-dialupman use dialup network classes
1697 --enable-dynlib use wxLibrary class for DLL loading
1698 --enable-dynamicloader use (new) wxDynamicLibrary class
1699 --enable-exceptions build exception-safe library
1700 --enable-ffile use wxFFile class
1701 --enable-file use wxFile class
1702 --enable-filesystem use virtual file systems classes
1703 --enable-fontenum use wxFontEnumerator class
1704 --enable-fontmap use font encodings conversion classes
1705 --enable-fs_archive use virtual archive filesystems
1706 --enable-fs_inet use virtual HTTP/FTP filesystems
1707 --enable-fs_zip now replaced by fs_archive
1708 --enable-geometry use geometry class
1709 --enable-log use logging system
1710 --enable-longlong use wxLongLong class
1711 --enable-mimetype use wxMimeTypesManager
1712 --enable-snglinst use wxSingleInstanceChecker class
1713 --enable-stdpaths use wxStandardPaths class
1714 --enable-stopwatch use wxStopWatch class
1715 --enable-streams use wxStream etc classes
1716 --enable-sysoptions use wxSystemOptions
1717 --enable-tarstream use wxTar streams
1718 --enable-textbuf use wxTextBuffer class
1719 --enable-textfile use wxTextFile class
1720 --enable-timer use wxTimer class
1721 --enable-sound use wxSound class
1722 --enable-mediactrl use wxMediaCtrl class
1723 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1724 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1725 --enable-zipstream use wxZip streams
1726 --enable-url use wxURL class
1727 --enable-variant use wxVariant class
1728 --enable-protocol use wxProtocol class
1729 --enable-protocol-http HTTP support in wxProtocol
1730 --enable-protocol-ftp FTP support in wxProtocol
1731 --enable-protocol-file FILE support in wxProtocol
1732 --enable-threads use threads
1733 --enable-docview use document view architecture
1734 --enable-help use help subsystem
1735 --enable-mshtmlhelp use MS HTML Help (win32)
1736 --enable-html use wxHTML sub-library
1737 --enable-htmlhelp use wxHTML-based help
1738 --enable-xrc use XRC resources sub-library
1739 --enable-aui use AUI docking library
1740 --enable-stc use wxStyledTextCtrl library
1741 --enable-constraints use layout-constraints system
1742 --enable-printarch use printing architecture
1743 --enable-mdi use multiple document interface architecture
1744 --enable-mdidoc use docview architecture with MDI
1745 --enable-loggui use standard GUI logger
1746 --enable-logwin use wxLogWindow
1747 --enable-logdialog use wxLogDialog
1748 --enable-webkit use wxWebKitCtrl (Mac)
1749 --enable-richtext use wxRichTextCtrl
1750 --enable-graphics_ctx use graphics context 2D drawing API
1751 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1752 --enable-svg use wxSVGFileDC device context
1753 --enable-clipboard use wxClipboard class
1754 --enable-dnd use Drag'n'Drop classes
1755 --enable-metafile use win32 metafiles
1756 --disable-controls disable compilation of all standard controls
1757 --enable-accel use accelerators
1758 --enable-animatectrl use wxAnimationCtrl class
1759 --enable-button use wxButton class
1760 --enable-bmpbutton use wxBitmapButton class
1761 --enable-bmpcombobox use wxBitmapComboBox class
1762 --enable-calendar use wxCalendarCtrl class
1763 --enable-caret use wxCaret class
1764 --enable-checkbox use wxCheckBox class
1765 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1766 --enable-choice use wxChoice class
1767 --enable-choicebook use wxChoicebook class
1768 --enable-collpane use wxCollapsiblePane class
1769 --enable-colourpicker use wxColourPickerCtrl class
1770 --enable-combobox use wxComboBox class
1771 --enable-comboctrl use wxComboCtrl class
1772 --enable-datepick use wxDatePickerCtrl class
1773 --enable-dirpicker use wxDirPickerCtrl class
1774 --enable-display use wxDisplay class
1775 --enable-detect_sm use code to detect X11 session manager
1776 --enable-editablebox use wxEditableListBox class
1777 --enable-filepicker use wxFilePickerCtrl class
1778 --enable-fontpicker use wxFontPickerCtrl class
1779 --enable-gauge use wxGauge class
1780 --enable-grid use wxGrid class
1781 --enable-dataviewctrl use wxDataViewCtrl class
1782 --enable-hyperlink use wxHyperlinkCtrl class
1783 --enable-imaglist use wxImageList class
1784 --enable-listbook use wxListbook class
1785 --enable-listbox use wxListBox class
1786 --enable-listctrl use wxListCtrl class
1787 --enable-notebook use wxNotebook class
1788 --enable-odcombobox use wxOwnerDrawnComboBox class
1789 --enable-radiobox use wxRadioBox class
1790 --enable-radiobtn use wxRadioButton class
1791 --enable-sash use wxSashWindow class
1792 --enable-scrollbar use wxScrollBar class and scrollable windows
1793 --enable-searchctrl use wxSearchCtrl class
1794 --enable-slider use wxSlider class
1795 --enable-spinbtn use wxSpinButton class
1796 --enable-spinctrl use wxSpinCtrl class
1797 --enable-splitter use wxSplitterWindow class
1798 --enable-statbmp use wxStaticBitmap class
1799 --enable-statbox use wxStaticBox class
1800 --enable-statline use wxStaticLine class
1801 --enable-stattext use wxStaticText class
1802 --enable-statusbar use wxStatusBar class
1803 --enable-tabdialog use wxTabControl class
1804 --enable-taskbaricon use wxTaskBarIcon class
1805 --enable-textctrl use wxTextCtrl class
1806 --enable-togglebtn use wxToggleButton class
1807 --enable-toolbar use wxToolBar class
1808 --enable-tbarnative use native wxToolBar class
1809 --enable-treebook use wxTreebook class
1810 --enable-toolbook use wxToolbook class
1811 --enable-treectrl use wxTreeCtrl class
1812 --enable-tipwindow use wxTipWindow class
1813 --enable-popupwin use wxPopUpWindow class
1814 --enable-commondlg use all common dialogs
1815 --enable-aboutdlg use wxAboutBox
1816 --enable-choicedlg use wxChoiceDialog
1817 --enable-coldlg use wxColourDialog
1818 --enable-filedlg use wxFileDialog
1819 --enable-finddlg use wxFindReplaceDialog
1820 --enable-fontdlg use wxFontDialog
1821 --enable-dirdlg use wxDirDialog
1822 --enable-msgdlg use wxMessageDialog
1823 --enable-numberdlg use wxNumberEntryDialog
1824 --enable-splash use wxSplashScreen
1825 --enable-textdlg use wxTextDialog
1826 --enable-tipdlg use startup tips
1827 --enable-progressdlg use wxProgressDialog
1828 --enable-wizarddlg use wxWizard
1829 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1830 --enable-miniframe use wxMiniFrame class
1831 --enable-tooltips use wxToolTip class
1832 --enable-splines use spline drawing code
1833 --enable-mousewheel use mousewheel
1834 --enable-validators use wxValidator and derived classes
1835 --enable-busyinfo use wxBusyInfo
1836 --enable-joystick use wxJoystick
1837 --enable-metafiles use wxMetaFile (Win32 only)
1838 --enable-dragimage use wxDragImage
1839 --enable-accessibility enable accessibility support
1840 --enable-palette use wxPalette class
1841 --enable-image use wxImage class
1842 --enable-gif use gif images (GIF file format)
1843 --enable-pcx use pcx images (PCX file format)
1844 --enable-tga use tga images (TGA file format)
1845 --enable-iff use iff images (IFF file format)
1846 --enable-pnm use pnm images (PNM file format)
1847 --enable-xpm use xpm images (XPM file format)
1848 --enable-icocur use Windows ICO and CUR formats
1849 --enable-dccache cache temporary wxDC objects (Win32 only)
1850 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1851 --enable-ownerdrawn use owner drawn controls (Win32 only)
1852 --enable-regkey use wxRegKey class (Win32 only)
1853 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1854 --enable-wxdib use wxDIB class (Win32 only)
1855 --disable-largefile omit support for large files
1856 --disable-gtktest do not try to compile and run a test GTK+ program
1857 --disable-gtktest Do not try to compile and run a test GTK program
1858 --disable-sdltest Do not try to compile and run a test SDL program
1859 --enable-omf use OMF object format (OS/2)
1860 --disable-dependency-tracking
1861 don't use dependency tracking even if the compiler
1863 --disable-precomp-headers
1864 don't use precompiled headers even if compiler can
1867 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1868 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1869 --without-subdirs don't generate makefiles for samples/demos/...
1870 --with-flavour=NAME specify a name to identify this build
1871 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1872 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1873 --with-motif use Motif/Lesstif
1874 --with-mac use Mac OS X
1875 --with-cocoa use Cocoa
1876 --with-wine use Wine
1877 --with-msw use MS-Windows
1878 --with-pm use OS/2 Presentation Manager
1879 --with-mgl use SciTech MGL
1880 --with-directfb use DirectFB
1881 --with-microwin use MicroWindows
1883 --with-libpng use libpng (PNG image format)
1884 --with-libjpeg use libjpeg (JPEG file format)
1885 --with-libtiff use libtiff (TIFF file format)
1886 --with-libxpm use libxpm (XPM file format)
1887 --with-libmspack use libmspack (CHM help files loading)
1888 --without-gnomeprint don't use GNOME printing libraries
1889 --with-gnomevfs use GNOME VFS for associating MIME types
1890 --with-hildon use Hildon framework for Nokia 770
1891 --with-opengl use OpenGL (or Mesa)
1892 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1893 --with-sdl use SDL for audio on Unix
1894 --with-regex enable support for wxRegEx class
1895 --with-zlib use zlib for LZW compression
1896 --with-odbc use the IODBC and wxODBC classes
1897 --with-expat enable XML support using expat parser
1898 --with-macosx-sdk=PATH use an OS X SDK at PATH
1899 --with-macosx-version-min=VER build binaries which require at least this OS X version
1900 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1901 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1902 --with-x use the X Window System
1903 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1904 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1905 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1906 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1907 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1909 Some influential environment variables:
1910 CC C compiler command
1911 CFLAGS C compiler flags
1912 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1913 nonstandard directory <lib dir>
1914 LIBS libraries to pass to the linker, e.g. -l<library>
1915 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1916 you have headers in a nonstandard directory <include dir>
1918 CXX C++ compiler command
1919 CXXFLAGS C++ compiler flags
1920 PKG_CONFIG path to pkg-config utility
1922 C compiler flags for DIRECTFB, overriding pkg-config
1924 linker flags for DIRECTFB, overriding pkg-config
1925 XMKMF Path to xmkmf, Makefile generator for X Window System
1927 C compiler flags for PANGOX, overriding pkg-config
1928 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1930 C compiler flags for PANGOFT2, overriding pkg-config
1932 linker flags for PANGOFT2, overriding pkg-config
1934 C compiler flags for PANGOXFT, overriding pkg-config
1936 linker flags for PANGOXFT, overriding pkg-config
1937 LIBGNOMEPRINTUI_CFLAGS
1938 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1939 LIBGNOMEPRINTUI_LIBS
1940 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1942 C compiler flags for GNOMEVFS, overriding pkg-config
1944 linker flags for GNOMEVFS, overriding pkg-config
1946 C compiler flags for HILDON, overriding pkg-config
1947 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1949 C compiler flags for CAIRO, overriding pkg-config
1950 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1951 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1952 GST_LIBS linker flags for GST, overriding pkg-config
1954 Use these variables to override the choices made by `configure' or to help
1955 it to find libraries and programs with nonstandard names/locations.
1957 Report bugs to <wx-dev@lists.wxwidgets.org>.
1962 if test "$ac_init_help" = "recursive"; then
1963 # If there are subdirs, report their specific --help.
1964 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1965 test -d "$ac_dir" || continue
1969 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1971 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1972 # A ".." for each directory in $ac_dir_suffix.
1973 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1974 case $ac_top_builddir_sub in
1975 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1976 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1979 ac_abs_top_builddir=$ac_pwd
1980 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1981 # for backward compatibility:
1982 ac_top_builddir=$ac_top_build_prefix
1985 .) # We are building in place.
1987 ac_top_srcdir=$ac_top_builddir_sub
1988 ac_abs_top_srcdir=$ac_pwd ;;
1989 [\\/]* | ?:[\\/]* ) # Absolute name.
1990 ac_srcdir=$srcdir$ac_dir_suffix;
1991 ac_top_srcdir=$srcdir
1992 ac_abs_top_srcdir=$srcdir ;;
1994 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1995 ac_top_srcdir=$ac_top_build_prefix$srcdir
1996 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1998 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2000 cd "$ac_dir" || { ac_status=$?; continue; }
2001 # Check for guested configure.
2002 if test -f "$ac_srcdir/configure.gnu"; then
2004 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2005 elif test -f "$ac_srcdir/configure"; then
2007 $SHELL "$ac_srcdir/configure" --help=recursive
2009 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2011 cd "$ac_pwd" || { ac_status=$?; break; }
2015 test -n "$ac_init_help" && exit $ac_status
2016 if $ac_init_version; then
2018 wxWidgets configure 2.9.0
2019 generated by GNU Autoconf 2.61
2021 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2022 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2023 This configure script is free software; the Free Software Foundation
2024 gives unlimited permission to copy, distribute and modify it.
2028 cat >config.log <<_ACEOF
2029 This file contains any messages produced by compilers while
2030 running configure, to aid debugging if configure makes a mistake.
2032 It was created by wxWidgets $as_me 2.9.0, which was
2033 generated by GNU Autoconf 2.61. Invocation command line was
2045 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2046 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2047 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2048 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2049 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2051 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2052 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2054 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2055 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2056 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2057 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2058 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2059 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2060 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2068 test -z "$as_dir" && as_dir=.
2069 echo "PATH: $as_dir"
2085 # Keep a trace of the command line.
2086 # Strip out --no-create and --no-recursion so they do not pile up.
2087 # Strip out --silent because we don't want to record it for future runs.
2088 # Also quote any args containing shell meta-characters.
2089 # Make two passes to allow for proper duplicate-argument suppression.
2093 ac_must_keep_next=false
2099 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2100 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2101 | -silent | --silent | --silen | --sile | --sil)
2104 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2107 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2109 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2110 if test $ac_must_keep_next = true; then
2111 ac_must_keep_next=false # Got value, back to normal.
2114 *=* | --config-cache | -C | -disable-* | --disable-* \
2115 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2116 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2117 | -with-* | --with-* | -without-* | --without-* | --x)
2118 case "$ac_configure_args0 " in
2119 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2122 -* ) ac_must_keep_next=true ;;
2125 ac_configure_args="$ac_configure_args '$ac_arg'"
2130 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2131 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2133 # When interrupted or exit'd, cleanup temporary files, and complete
2134 # config.log. We remove comments because anyway the quotes in there
2135 # would cause problems or look ugly.
2136 # WARNING: Use '\'' to represent an apostrophe within the trap.
2137 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2138 trap 'exit_status=$?
2139 # Save into config.log some information that might help in debugging.
2144 ## ---------------- ##
2145 ## Cache variables. ##
2146 ## ---------------- ##
2149 # The following way of writing the cache mishandles newlines in values,
2151 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2152 eval ac_val=\$$ac_var
2156 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2157 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2160 _ | IFS | as_nl) ;; #(
2161 *) $as_unset $ac_var ;;
2166 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2167 *${as_nl}ac_space=\ *)
2169 "s/'\''/'\''\\\\'\'''\''/g;
2170 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2173 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2181 ## ----------------- ##
2182 ## Output variables. ##
2183 ## ----------------- ##
2186 for ac_var in $ac_subst_vars
2188 eval ac_val=\$$ac_var
2190 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2192 echo "$ac_var='\''$ac_val'\''"
2196 if test -n "$ac_subst_files"; then
2198 ## ------------------- ##
2199 ## File substitutions. ##
2200 ## ------------------- ##
2203 for ac_var in $ac_subst_files
2205 eval ac_val=\$$ac_var
2207 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2209 echo "$ac_var='\''$ac_val'\''"
2214 if test -s confdefs.h; then
2224 test "$ac_signal" != 0 &&
2225 echo "$as_me: caught signal $ac_signal"
2226 echo "$as_me: exit $exit_status"
2228 rm -f core *.core core.conftest.* &&
2229 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2232 for ac_signal in 1 2 13 15; do
2233 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2237 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2238 rm -f -r conftest* confdefs.h
2240 # Predefined preprocessor variables.
2242 cat >>confdefs.h <<_ACEOF
2243 #define PACKAGE_NAME "$PACKAGE_NAME"
2247 cat >>confdefs.h <<_ACEOF
2248 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2252 cat >>confdefs.h <<_ACEOF
2253 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2257 cat >>confdefs.h <<_ACEOF
2258 #define PACKAGE_STRING "$PACKAGE_STRING"
2262 cat >>confdefs.h <<_ACEOF
2263 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2267 # Let the site file select an alternate cache file if it wants to.
2268 # Prefer explicitly selected file to automatically selected ones.
2269 if test -n "$CONFIG_SITE"; then
2270 set x "$CONFIG_SITE"
2271 elif test "x$prefix" != xNONE; then
2272 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2274 set x "$ac_default_prefix/share/config.site" \
2275 "$ac_default_prefix/etc/config.site"
2280 if test -r "$ac_site_file"; then
2281 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2282 echo "$as_me: loading site script $ac_site_file" >&6;}
2283 sed 's/^/| /' "$ac_site_file" >&5
2288 if test -r "$cache_file"; then
2289 # Some versions of bash will fail to source /dev/null (special
2290 # files actually), so we avoid doing that.
2291 if test -f "$cache_file"; then
2292 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2293 echo "$as_me: loading cache $cache_file" >&6;}
2295 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2296 *) . "./$cache_file";;
2300 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2301 echo "$as_me: creating cache $cache_file" >&6;}
2305 # Check that the precious variables saved in the cache have kept the same
2307 ac_cache_corrupted=false
2308 for ac_var in $ac_precious_vars; do
2309 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2310 eval ac_new_set=\$ac_env_${ac_var}_set
2311 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2312 eval ac_new_val=\$ac_env_${ac_var}_value
2313 case $ac_old_set,$ac_new_set in
2315 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2316 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2317 ac_cache_corrupted=: ;;
2319 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2320 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2321 ac_cache_corrupted=: ;;
2324 if test "x$ac_old_val" != "x$ac_new_val"; then
2325 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2326 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2327 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2328 echo "$as_me: former value: $ac_old_val" >&2;}
2329 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2330 echo "$as_me: current value: $ac_new_val" >&2;}
2331 ac_cache_corrupted=:
2334 # Pass precious variables to config.status.
2335 if test "$ac_new_set" = set; then
2337 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2338 *) ac_arg=$ac_var=$ac_new_val ;;
2340 case " $ac_configure_args " in
2341 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2342 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2346 if $ac_cache_corrupted; then
2347 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2348 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2349 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2350 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2351 { (exit 1); exit 1; }; }
2379 ac_cpp='$CPP $CPPFLAGS'
2380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2389 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2390 if test -f "$ac_dir/install-sh"; then
2392 ac_install_sh="$ac_aux_dir/install-sh -c"
2394 elif test -f "$ac_dir/install.sh"; then
2396 ac_install_sh="$ac_aux_dir/install.sh -c"
2398 elif test -f "$ac_dir/shtool"; then
2400 ac_install_sh="$ac_aux_dir/shtool install -c"
2404 if test -z "$ac_aux_dir"; then
2405 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2406 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2407 { (exit 1); exit 1; }; }
2410 # These three variables are undocumented and unsupported,
2411 # and are intended to be withdrawn in a future Autoconf release.
2412 # They can cause serious problems if a builder's source tree is in a directory
2413 # whose full name contains unusual characters.
2414 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2415 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2416 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2419 # Make sure we can run config.sub.
2420 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2421 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2422 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2423 { (exit 1); exit 1; }; }
2425 { echo "$as_me:$LINENO: checking build system type" >&5
2426 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2427 if test "${ac_cv_build+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6
2430 ac_build_alias=$build_alias
2431 test "x$ac_build_alias" = x &&
2432 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2433 test "x$ac_build_alias" = x &&
2434 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2435 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2436 { (exit 1); exit 1; }; }
2437 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2438 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2439 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2440 { (exit 1); exit 1; }; }
2443 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2444 echo "${ECHO_T}$ac_cv_build" >&6; }
2445 case $ac_cv_build in
2447 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2448 echo "$as_me: error: invalid value of canonical build" >&2;}
2449 { (exit 1); exit 1; }; };;
2452 ac_save_IFS=$IFS; IFS='-'
2458 # Remember, the first character of IFS is used to create $*,
2459 # except with old shells:
2462 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2465 { echo "$as_me:$LINENO: checking host system type" >&5
2466 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2467 if test "${ac_cv_host+set}" = set; then
2468 echo $ECHO_N "(cached) $ECHO_C" >&6
2470 if test "x$host_alias" = x; then
2471 ac_cv_host=$ac_cv_build
2473 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2474 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2475 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2476 { (exit 1); exit 1; }; }
2480 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2481 echo "${ECHO_T}$ac_cv_host" >&6; }
2484 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2485 echo "$as_me: error: invalid value of canonical host" >&2;}
2486 { (exit 1); exit 1; }; };;
2489 ac_save_IFS=$IFS; IFS='-'
2495 # Remember, the first character of IFS is used to create $*,
2496 # except with old shells:
2499 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2502 { echo "$as_me:$LINENO: checking target system type" >&5
2503 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2504 if test "${ac_cv_target+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 if test "x$target_alias" = x; then
2508 ac_cv_target=$ac_cv_host
2510 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2511 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2512 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2513 { (exit 1); exit 1; }; }
2517 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2518 echo "${ECHO_T}$ac_cv_target" >&6; }
2519 case $ac_cv_target in
2521 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2522 echo "$as_me: error: invalid value of canonical target" >&2;}
2523 { (exit 1); exit 1; }; };;
2525 target=$ac_cv_target
2526 ac_save_IFS=$IFS; IFS='-'
2532 # Remember, the first character of IFS is used to create $*,
2533 # except with old shells:
2536 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2539 # The aliases save the names the user supplied, while $host etc.
2540 # will get canonicalized.
2541 test -n "$target_alias" &&
2542 test "$program_prefix$program_suffix$program_transform_name" = \
2544 program_prefix=${target_alias}-
2548 wx_major_version_number=2
2549 wx_minor_version_number=9
2551 wx_subrelease_number=0
2553 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2554 WX_VERSION=$WX_RELEASE.$wx_release_number
2555 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2557 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2560 wx_top_builddir="`pwd`"
2573 USE_BSD= USE_DARWIN= USE_FREEBSD=
2579 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2585 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2587 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2589 DEFAULT_wxUSE_COCOA=0
2593 DEFAULT_wxUSE_MICROWIN=0
2594 DEFAULT_wxUSE_MOTIF=0
2600 DEFAULT_DEFAULT_wxUSE_COCOA=0
2601 DEFAULT_DEFAULT_wxUSE_GTK=0
2602 DEFAULT_DEFAULT_wxUSE_MAC=0
2603 DEFAULT_DEFAULT_wxUSE_MGL=0
2604 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2605 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2606 DEFAULT_DEFAULT_wxUSE_MSW=0
2607 DEFAULT_DEFAULT_wxUSE_PM=0
2608 DEFAULT_DEFAULT_wxUSE_X11=0
2609 DEFAULT_DEFAULT_wxUSE_DFB=0
2614 SAMPLES_RPATH_POSTLINK=
2616 DEFAULT_STD_FLAG=yes
2621 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2622 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2624 cat >>confdefs.h <<\_ACEOF
2629 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2633 cat >>confdefs.h <<\_ACEOF
2638 if test "x$TMP" = "xalpha"; then
2640 cat >>confdefs.h <<\_ACEOF
2645 DEFAULT_DEFAULT_wxUSE_GTK=1
2647 *-*-gnu* | *-*-k*bsd*-gnu )
2650 if test "x$TMP" = "xalpha"; then
2652 cat >>confdefs.h <<\_ACEOF
2657 DEFAULT_DEFAULT_wxUSE_GTK=1
2659 *-*-irix5* | *-*-irix6* )
2662 cat >>confdefs.h <<\_ACEOF
2666 cat >>confdefs.h <<\_ACEOF
2670 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2676 cat >>confdefs.h <<\_ACEOF
2680 cat >>confdefs.h <<\_ACEOF
2681 #define __SOLARIS__ 1
2684 cat >>confdefs.h <<\_ACEOF
2688 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2689 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2695 cat >>confdefs.h <<\_ACEOF
2699 cat >>confdefs.h <<\_ACEOF
2703 cat >>confdefs.h <<\_ACEOF
2707 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2712 cat >>confdefs.h <<\_ACEOF
2713 #define __FREEBSD__ 1
2716 cat >>confdefs.h <<\_ACEOF
2720 DEFAULT_DEFAULT_wxUSE_GTK=1
2722 *-*-openbsd*|*-*-mirbsd*)
2725 cat >>confdefs.h <<\_ACEOF
2726 #define __OPENBSD__ 1
2729 cat >>confdefs.h <<\_ACEOF
2733 DEFAULT_DEFAULT_wxUSE_GTK=1
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __NETBSD__ 1
2742 cat >>confdefs.h <<\_ACEOF
2746 DEFAULT_DEFAULT_wxUSE_GTK=1
2747 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2749 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2754 cat >>confdefs.h <<\_ACEOF
2758 cat >>confdefs.h <<\_ACEOF
2762 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2763 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2768 cat >>confdefs.h <<\_ACEOF
2772 cat >>confdefs.h <<\_ACEOF
2776 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2781 cat >>confdefs.h <<\_ACEOF
2785 cat >>confdefs.h <<\_ACEOF
2789 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2796 cat >>confdefs.h <<\_ACEOF
2800 cat >>confdefs.h <<\_ACEOF
2804 cat >>confdefs.h <<\_ACEOF
2808 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2815 cat >>confdefs.h <<\_ACEOF
2816 #define __UNIXWARE__ 1
2821 *-*-cygwin* | *-*-mingw32* )
2824 DEFAULT_DEFAULT_wxUSE_MSW=1
2830 cat >>confdefs.h <<\_ACEOF
2835 DEFAULT_DEFAULT_wxUSE_MGL=1
2838 *-pc-os2_emx | *-pc-os2-emx )
2839 cat >>confdefs.h <<\_ACEOF
2844 cat >>confdefs.h <<\_ACEOF
2849 DEFAULT_DEFAULT_wxUSE_PM=1
2851 LDFLAGS="$LDFLAGS -Zcrtdll"
2852 ac_executable_extensions=".exe"
2853 export ac_executable_extensions
2857 for ac_dir in $PATH; do
2859 if test -z "$ac_TEMP_PATH"; then
2860 ac_TEMP_PATH="$ac_dir"
2862 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2865 export PATH="$ac_TEMP_PATH"
2874 cat >>confdefs.h <<\_ACEOF
2878 cat >>confdefs.h <<\_ACEOF
2879 #define __DARWIN__ 1
2882 cat >>confdefs.h <<\_ACEOF
2883 #define TARGET_CARBON 1
2886 DEFAULT_DEFAULT_wxUSE_MAC=1
2889 powerpc-apple-macos* )
2891 ac_cv_c_bigendian=yes
2893 DEFAULT_DEFAULT_wxUSE_MAC=1
2899 cat >>confdefs.h <<\_ACEOF
2906 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2907 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2908 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2909 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2911 DEFAULT_DEFAULT_wxUSE_X11=1
2912 DEFAULT_wxUSE_SHARED=no
2918 wx_arg_cache_file="configarg.cache"
2919 echo "loading argument cache $wx_arg_cache_file"
2920 rm -f ${wx_arg_cache_file}.tmp
2921 touch ${wx_arg_cache_file}.tmp
2922 touch ${wx_arg_cache_file}
2925 DEFAULT_wxUSE_ALL_FEATURES=yes
2927 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2928 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2930 DEFAULT_wxUSE_DMALLOC=no
2931 DEFAULT_wxUSE_LIBGNOMEVFS=no
2932 DEFAULT_wxUSE_LIBHILDON=no
2933 DEFAULT_wxUSE_LIBMSPACK=no
2934 DEFAULT_wxUSE_LIBSDL=no
2935 DEFAULT_wxUSE_ODBC=no
2936 DEFAULT_wxUSE_OPENGL=no
2938 DEFAULT_wxUSE_ACCESSIBILITY=no
2939 DEFAULT_wxUSE_DATAVIEWCTRL=no
2940 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2941 DEFAULT_wxUSE_MEDIACTRL=no
2942 DEFAULT_wxUSE_TAB_DIALOG=no
2944 DEFAULT_wxUSE_UNICODE_UTF8=auto
2945 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2947 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2949 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2951 DEFAULT_wxUSE_GTK2=yes
2953 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2956 for toolkit in `echo $ALL_TOOLKITS`; do
2957 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2958 if test "x$LINE" != "x" ; then
2959 has_toolkit_in_cache=1
2960 eval "DEFAULT_$LINE"
2961 eval "CACHE_$toolkit=1"
2963 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2964 if test "x$LINE" != "x" ; then
2965 eval "DEFAULT_$LINE"
2974 enablestring=disable
2976 if test -z "$defaultval"; then
2977 if test x"$enablestring" = xdisable; then
2984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2985 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2986 # Check whether --enable-gui was given.
2987 if test "${enable_gui+set}" = set; then
2988 enableval=$enable_gui;
2989 if test "$enableval" = yes; then
2990 wx_cv_use_gui='wxUSE_GUI=yes'
2992 wx_cv_use_gui='wxUSE_GUI=no'
2999 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3000 if test "x$LINE" != x ; then
3001 eval "DEFAULT_$LINE"
3004 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3009 eval "$wx_cv_use_gui"
3010 if test "x$cache" = xyes; then
3011 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3014 if test x"$enablestring" = xdisable; then
3015 if test $wxUSE_GUI = yes; then
3024 { echo "$as_me:$LINENO: result: $result" >&5
3025 echo "${ECHO_T}$result" >&6; }
3030 if test -z "$defaultval"; then
3031 if test x"$enablestring" = xdisable; then
3038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3039 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3040 # Check whether --enable-monolithic was given.
3041 if test "${enable_monolithic+set}" = set; then
3042 enableval=$enable_monolithic;
3043 if test "$enableval" = yes; then
3044 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3046 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3053 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3054 if test "x$LINE" != x ; then
3055 eval "DEFAULT_$LINE"
3058 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3063 eval "$wx_cv_use_monolithic"
3064 if test "x$cache" = xyes; then
3065 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3068 if test x"$enablestring" = xdisable; then
3069 if test $wxUSE_MONOLITHIC = yes; then
3075 result=$wxUSE_MONOLITHIC
3078 { echo "$as_me:$LINENO: result: $result" >&5
3079 echo "${ECHO_T}$result" >&6; }
3084 if test -z "$defaultval"; then
3085 if test x"$enablestring" = xdisable; then
3092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3093 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3094 # Check whether --enable-plugins was given.
3095 if test "${enable_plugins+set}" = set; then
3096 enableval=$enable_plugins;
3097 if test "$enableval" = yes; then
3098 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3100 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3107 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3108 if test "x$LINE" != x ; then
3109 eval "DEFAULT_$LINE"
3112 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3117 eval "$wx_cv_use_plugins"
3118 if test "x$cache" = xyes; then
3119 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3122 if test x"$enablestring" = xdisable; then
3123 if test $wxUSE_PLUGINS = yes; then
3129 result=$wxUSE_PLUGINS
3132 { echo "$as_me:$LINENO: result: $result" >&5
3133 echo "${ECHO_T}$result" >&6; }
3137 defaultval=$wxUSE_ALL_FEATURES
3138 if test -z "$defaultval"; then
3139 if test x"$withstring" = xwithout; then
3145 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3146 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3148 # Check whether --with-subdirs was given.
3149 if test "${with_subdirs+set}" = set; then
3150 withval=$with_subdirs;
3151 if test "$withval" = yes; then
3152 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3154 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3161 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3162 if test "x$LINE" != x ; then
3163 eval "DEFAULT_$LINE"
3166 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3171 eval "$wx_cv_use_subdirs"
3172 if test "x$cache" = xyes; then
3173 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3176 if test x"$withstring" = xwithout; then
3177 if test $wxWITH_SUBDIRS = yes; then
3183 result=$wxWITH_SUBDIRS
3186 { echo "$as_me:$LINENO: result: $result" >&5
3187 echo "${ECHO_T}$result" >&6; }
3190 # Check whether --with-flavour was given.
3191 if test "${with_flavour+set}" = set; then
3192 withval=$with_flavour; WX_FLAVOUR="$withval"
3198 if test -z "$defaultval"; then
3199 if test x"$enablestring" = xdisable; then
3206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3207 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3208 # Check whether --enable-official_build was given.
3209 if test "${enable_official_build+set}" = set; then
3210 enableval=$enable_official_build;
3211 if test "$enableval" = yes; then
3212 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3214 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3221 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3222 if test "x$LINE" != x ; then
3223 eval "DEFAULT_$LINE"
3226 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3231 eval "$wx_cv_use_official_build"
3232 if test "x$cache" = xyes; then
3233 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3236 if test x"$enablestring" = xdisable; then
3237 if test $wxUSE_OFFICIAL_BUILD = yes; then
3243 result=$wxUSE_OFFICIAL_BUILD
3246 { echo "$as_me:$LINENO: result: $result" >&5
3247 echo "${ECHO_T}$result" >&6; }
3249 # Check whether --enable-vendor was given.
3250 if test "${enable_vendor+set}" = set; then
3251 enableval=$enable_vendor; VENDOR="$enableval"
3254 if test "x$VENDOR" = "x"; then
3259 enablestring=disable
3261 if test -z "$defaultval"; then
3262 if test x"$enablestring" = xdisable; then
3269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3270 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3271 # Check whether --enable-all-features was given.
3272 if test "${enable_all_features+set}" = set; then
3273 enableval=$enable_all_features;
3274 if test "$enableval" = yes; then
3275 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3277 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3284 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3285 if test "x$LINE" != x ; then
3286 eval "DEFAULT_$LINE"
3289 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3294 eval "$wx_cv_use_all_features"
3295 if test "x$cache" = xyes; then
3296 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3299 if test x"$enablestring" = xdisable; then
3300 if test $wxUSE_ALL_FEATURES = yes; then
3306 result=$wxUSE_ALL_FEATURES
3309 { echo "$as_me:$LINENO: result: $result" >&5
3310 echo "${ECHO_T}$result" >&6; }
3314 if test "$wxUSE_GUI" = "yes"; then
3319 if test -z "$defaultval"; then
3320 if test x"$enablestring" = xdisable; then
3327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3328 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3329 # Check whether --enable-universal was given.
3330 if test "${enable_universal+set}" = set; then
3331 enableval=$enable_universal;
3332 if test "$enableval" = yes; then
3333 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3335 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3342 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3343 if test "x$LINE" != x ; then
3344 eval "DEFAULT_$LINE"
3347 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3352 eval "$wx_cv_use_universal"
3353 if test "x$cache" = xyes; then
3354 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3357 if test x"$enablestring" = xdisable; then
3358 if test $wxUSE_UNIVERSAL = yes; then
3364 result=$wxUSE_UNIVERSAL
3367 { echo "$as_me:$LINENO: result: $result" >&5
3368 echo "${ECHO_T}$result" >&6; }
3370 if test "$wxUSE_UNIVERSAL" = "yes"; then
3372 # Check whether --with-themes was given.
3373 if test "${with_themes+set}" = set; then
3374 withval=$with_themes; wxUNIV_THEMES="$withval"
3380 # Check whether --with-gtk was given.
3381 if test "${with_gtk+set}" = set; then
3382 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3386 # Check whether --with-motif was given.
3387 if test "${with_motif+set}" = set; then
3388 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3392 # Check whether --with-mac was given.
3393 if test "${with_mac+set}" = set; then
3394 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3398 # Check whether --with-cocoa was given.
3399 if test "${with_cocoa+set}" = set; then
3400 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3404 # Check whether --with-wine was given.
3405 if test "${with_wine+set}" = set; then
3406 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3410 # Check whether --with-msw was given.
3411 if test "${with_msw+set}" = set; then
3412 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3416 # Check whether --with-pm was given.
3417 if test "${with_pm+set}" = set; then
3418 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3422 # Check whether --with-mgl was given.
3423 if test "${with_mgl+set}" = set; then
3424 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3428 # Check whether --with-directfb was given.
3429 if test "${with_directfb+set}" = set; then
3430 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3434 # Check whether --with-microwin was given.
3435 if test "${with_microwin+set}" = set; then
3436 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3440 # Check whether --with-x11 was given.
3441 if test "${with_x11+set}" = set; then
3442 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3448 if test -z "$defaultval"; then
3449 if test x"$enablestring" = xdisable; then
3456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3457 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3458 # Check whether --enable-nanox was given.
3459 if test "${enable_nanox+set}" = set; then
3460 enableval=$enable_nanox;
3461 if test "$enableval" = yes; then
3462 wx_cv_use_nanox='wxUSE_NANOX=yes'
3464 wx_cv_use_nanox='wxUSE_NANOX=no'
3471 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3472 if test "x$LINE" != x ; then
3473 eval "DEFAULT_$LINE"
3476 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3481 eval "$wx_cv_use_nanox"
3482 if test "x$cache" = xyes; then
3483 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3486 if test x"$enablestring" = xdisable; then
3487 if test $wxUSE_NANOX = yes; then
3496 { echo "$as_me:$LINENO: result: $result" >&5
3497 echo "${ECHO_T}$result" >&6; }
3500 # Check whether --enable-gtk2 was given.
3501 if test "${enable_gtk2+set}" = set; then
3502 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3508 if test -z "$defaultval"; then
3509 if test x"$enablestring" = xdisable; then
3516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3517 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3518 # Check whether --enable-gpe was given.
3519 if test "${enable_gpe+set}" = set; then
3520 enableval=$enable_gpe;
3521 if test "$enableval" = yes; then
3522 wx_cv_use_gpe='wxUSE_GPE=yes'
3524 wx_cv_use_gpe='wxUSE_GPE=no'
3531 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3532 if test "x$LINE" != x ; then
3533 eval "DEFAULT_$LINE"
3536 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3541 eval "$wx_cv_use_gpe"
3542 if test "x$cache" = xyes; then
3543 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3546 if test x"$enablestring" = xdisable; then
3547 if test $wxUSE_GPE = yes; then
3556 { echo "$as_me:$LINENO: result: $result" >&5
3557 echo "${ECHO_T}$result" >&6; }
3562 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3563 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3565 # Check whether --with-libpng was given.
3566 if test "${with_libpng+set}" = set; then
3567 withval=$with_libpng;
3568 if test "$withval" = yes; then
3569 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3570 elif test "$withval" = no; then
3571 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3572 elif test "$withval" = sys; then
3573 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3574 elif test "$withval" = builtin; then
3575 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3577 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3578 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3579 { (exit 1); exit 1; }; }
3586 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3587 if test "x$LINE" != x ; then
3588 eval "DEFAULT_$LINE"
3591 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3596 eval "$wx_cv_use_libpng"
3597 if test "x$cache" = xyes; then
3598 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3601 if test "$wxUSE_LIBPNG" = yes; then
3602 { echo "$as_me:$LINENO: result: yes" >&5
3603 echo "${ECHO_T}yes" >&6; }
3604 elif test "$wxUSE_LIBPNG" = no; then
3605 { echo "$as_me:$LINENO: result: no" >&5
3606 echo "${ECHO_T}no" >&6; }
3607 elif test "$wxUSE_LIBPNG" = sys; then
3608 { echo "$as_me:$LINENO: result: system version" >&5
3609 echo "${ECHO_T}system version" >&6; }
3610 elif test "$wxUSE_LIBPNG" = builtin; then
3611 { echo "$as_me:$LINENO: result: builtin version" >&5
3612 echo "${ECHO_T}builtin version" >&6; }
3614 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3615 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3616 { (exit 1); exit 1; }; }
3620 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3621 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3623 # Check whether --with-libjpeg was given.
3624 if test "${with_libjpeg+set}" = set; then
3625 withval=$with_libjpeg;
3626 if test "$withval" = yes; then
3627 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3628 elif test "$withval" = no; then
3629 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3630 elif test "$withval" = sys; then
3631 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3632 elif test "$withval" = builtin; then
3633 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3635 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3636 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3637 { (exit 1); exit 1; }; }
3644 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3645 if test "x$LINE" != x ; then
3646 eval "DEFAULT_$LINE"
3649 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3654 eval "$wx_cv_use_libjpeg"
3655 if test "x$cache" = xyes; then
3656 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3659 if test "$wxUSE_LIBJPEG" = yes; then
3660 { echo "$as_me:$LINENO: result: yes" >&5
3661 echo "${ECHO_T}yes" >&6; }
3662 elif test "$wxUSE_LIBJPEG" = no; then
3663 { echo "$as_me:$LINENO: result: no" >&5
3664 echo "${ECHO_T}no" >&6; }
3665 elif test "$wxUSE_LIBJPEG" = sys; then
3666 { echo "$as_me:$LINENO: result: system version" >&5
3667 echo "${ECHO_T}system version" >&6; }
3668 elif test "$wxUSE_LIBJPEG" = builtin; then
3669 { echo "$as_me:$LINENO: result: builtin version" >&5
3670 echo "${ECHO_T}builtin version" >&6; }
3672 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3673 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3674 { (exit 1); exit 1; }; }
3678 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3679 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3681 # Check whether --with-libtiff was given.
3682 if test "${with_libtiff+set}" = set; then
3683 withval=$with_libtiff;
3684 if test "$withval" = yes; then
3685 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3686 elif test "$withval" = no; then
3687 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3688 elif test "$withval" = sys; then
3689 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3690 elif test "$withval" = builtin; then
3691 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3693 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3694 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3695 { (exit 1); exit 1; }; }
3702 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3703 if test "x$LINE" != x ; then
3704 eval "DEFAULT_$LINE"
3707 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3712 eval "$wx_cv_use_libtiff"
3713 if test "x$cache" = xyes; then
3714 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3717 if test "$wxUSE_LIBTIFF" = yes; then
3718 { echo "$as_me:$LINENO: result: yes" >&5
3719 echo "${ECHO_T}yes" >&6; }
3720 elif test "$wxUSE_LIBTIFF" = no; then
3721 { echo "$as_me:$LINENO: result: no" >&5
3722 echo "${ECHO_T}no" >&6; }
3723 elif test "$wxUSE_LIBTIFF" = sys; then
3724 { echo "$as_me:$LINENO: result: system version" >&5
3725 echo "${ECHO_T}system version" >&6; }
3726 elif test "$wxUSE_LIBTIFF" = builtin; then
3727 { echo "$as_me:$LINENO: result: builtin version" >&5
3728 echo "${ECHO_T}builtin version" >&6; }
3730 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3731 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3732 { (exit 1); exit 1; }; }
3736 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3737 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3739 # Check whether --with-libxpm was given.
3740 if test "${with_libxpm+set}" = set; then
3741 withval=$with_libxpm;
3742 if test "$withval" = yes; then
3743 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3744 elif test "$withval" = no; then
3745 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3746 elif test "$withval" = sys; then
3747 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3748 elif test "$withval" = builtin; then
3749 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3751 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3752 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3753 { (exit 1); exit 1; }; }
3760 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3761 if test "x$LINE" != x ; then
3762 eval "DEFAULT_$LINE"
3765 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3770 eval "$wx_cv_use_libxpm"
3771 if test "x$cache" = xyes; then
3772 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3775 if test "$wxUSE_LIBXPM" = yes; then
3776 { echo "$as_me:$LINENO: result: yes" >&5
3777 echo "${ECHO_T}yes" >&6; }
3778 elif test "$wxUSE_LIBXPM" = no; then
3779 { echo "$as_me:$LINENO: result: no" >&5
3780 echo "${ECHO_T}no" >&6; }
3781 elif test "$wxUSE_LIBXPM" = sys; then
3782 { echo "$as_me:$LINENO: result: system version" >&5
3783 echo "${ECHO_T}system version" >&6; }
3784 elif test "$wxUSE_LIBXPM" = builtin; then
3785 { echo "$as_me:$LINENO: result: builtin version" >&5
3786 echo "${ECHO_T}builtin version" >&6; }
3788 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3789 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3790 { (exit 1); exit 1; }; }
3795 defaultval=$wxUSE_ALL_FEATURES
3796 if test -z "$defaultval"; then
3797 if test x"$withstring" = xwithout; then
3803 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3804 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3806 # Check whether --with-libmspack was given.
3807 if test "${with_libmspack+set}" = set; then
3808 withval=$with_libmspack;
3809 if test "$withval" = yes; then
3810 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3812 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3819 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3820 if test "x$LINE" != x ; then
3821 eval "DEFAULT_$LINE"
3824 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3829 eval "$wx_cv_use_libmspack"
3830 if test "x$cache" = xyes; then
3831 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3834 if test x"$withstring" = xwithout; then
3835 if test $wxUSE_LIBMSPACK = yes; then
3841 result=$wxUSE_LIBMSPACK
3844 { echo "$as_me:$LINENO: result: $result" >&5
3845 echo "${ECHO_T}$result" >&6; }
3849 defaultval=$wxUSE_ALL_FEATURES
3850 if test -z "$defaultval"; then
3851 if test x"$withstring" = xwithout; then
3857 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3858 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3860 # Check whether --with-gnomeprint was given.
3861 if test "${with_gnomeprint+set}" = set; then
3862 withval=$with_gnomeprint;
3863 if test "$withval" = yes; then
3864 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3866 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3873 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3874 if test "x$LINE" != x ; then
3875 eval "DEFAULT_$LINE"
3878 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3883 eval "$wx_cv_use_gnomeprint"
3884 if test "x$cache" = xyes; then
3885 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3888 if test x"$withstring" = xwithout; then
3889 if test $wxUSE_LIBGNOMEPRINT = yes; then
3895 result=$wxUSE_LIBGNOMEPRINT
3898 { echo "$as_me:$LINENO: result: $result" >&5
3899 echo "${ECHO_T}$result" >&6; }
3903 defaultval=$wxUSE_ALL_FEATURES
3904 if test -z "$defaultval"; then
3905 if test x"$withstring" = xwithout; then
3911 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3912 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3914 # Check whether --with-gnomevfs was given.
3915 if test "${with_gnomevfs+set}" = set; then
3916 withval=$with_gnomevfs;
3917 if test "$withval" = yes; then
3918 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3920 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3927 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3928 if test "x$LINE" != x ; then
3929 eval "DEFAULT_$LINE"
3932 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3937 eval "$wx_cv_use_gnomevfs"
3938 if test "x$cache" = xyes; then
3939 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
3942 if test x"$withstring" = xwithout; then
3943 if test $wxUSE_LIBGNOMEVFS = yes; then
3949 result=$wxUSE_LIBGNOMEVFS
3952 { echo "$as_me:$LINENO: result: $result" >&5
3953 echo "${ECHO_T}$result" >&6; }
3957 defaultval=$wxUSE_ALL_FEATURES
3958 if test -z "$defaultval"; then
3959 if test x"$withstring" = xwithout; then
3965 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3966 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3968 # Check whether --with-hildon was given.
3969 if test "${with_hildon+set}" = set; then
3970 withval=$with_hildon;
3971 if test "$withval" = yes; then
3972 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3974 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3981 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3982 if test "x$LINE" != x ; then
3983 eval "DEFAULT_$LINE"
3986 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3991 eval "$wx_cv_use_hildon"
3992 if test "x$cache" = xyes; then
3993 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
3996 if test x"$withstring" = xwithout; then
3997 if test $wxUSE_LIBHILDON = yes; then
4003 result=$wxUSE_LIBHILDON
4006 { echo "$as_me:$LINENO: result: $result" >&5
4007 echo "${ECHO_T}$result" >&6; }
4011 defaultval=$wxUSE_ALL_FEATURES
4012 if test -z "$defaultval"; then
4013 if test x"$withstring" = xwithout; then
4019 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4020 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4022 # Check whether --with-opengl was given.
4023 if test "${with_opengl+set}" = set; then
4024 withval=$with_opengl;
4025 if test "$withval" = yes; then
4026 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4028 wx_cv_use_opengl='wxUSE_OPENGL=no'
4035 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4036 if test "x$LINE" != x ; then
4037 eval "DEFAULT_$LINE"
4040 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4045 eval "$wx_cv_use_opengl"
4046 if test "x$cache" = xyes; then
4047 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4050 if test x"$withstring" = xwithout; then
4051 if test $wxUSE_OPENGL = yes; then
4057 result=$wxUSE_OPENGL
4060 { echo "$as_me:$LINENO: result: $result" >&5
4061 echo "${ECHO_T}$result" >&6; }
4068 defaultval=$wxUSE_ALL_FEATURES
4069 if test -z "$defaultval"; then
4070 if test x"$withstring" = xwithout; then
4076 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4077 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4079 # Check whether --with-dmalloc was given.
4080 if test "${with_dmalloc+set}" = set; then
4081 withval=$with_dmalloc;
4082 if test "$withval" = yes; then
4083 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4085 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4092 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4093 if test "x$LINE" != x ; then
4094 eval "DEFAULT_$LINE"
4097 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4102 eval "$wx_cv_use_dmalloc"
4103 if test "x$cache" = xyes; then
4104 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4107 if test x"$withstring" = xwithout; then
4108 if test $wxUSE_DMALLOC = yes; then
4114 result=$wxUSE_DMALLOC
4117 { echo "$as_me:$LINENO: result: $result" >&5
4118 echo "${ECHO_T}$result" >&6; }
4122 defaultval=$wxUSE_ALL_FEATURES
4123 if test -z "$defaultval"; then
4124 if test x"$withstring" = xwithout; then
4130 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4131 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4133 # Check whether --with-sdl was given.
4134 if test "${with_sdl+set}" = set; then
4136 if test "$withval" = yes; then
4137 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4139 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4146 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4147 if test "x$LINE" != x ; then
4148 eval "DEFAULT_$LINE"
4151 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4156 eval "$wx_cv_use_sdl"
4157 if test "x$cache" = xyes; then
4158 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4161 if test x"$withstring" = xwithout; then
4162 if test $wxUSE_LIBSDL = yes; then
4168 result=$wxUSE_LIBSDL
4171 { echo "$as_me:$LINENO: result: $result" >&5
4172 echo "${ECHO_T}$result" >&6; }
4175 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4176 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4178 # Check whether --with-regex was given.
4179 if test "${with_regex+set}" = set; then
4180 withval=$with_regex;
4181 if test "$withval" = yes; then
4182 wx_cv_use_regex='wxUSE_REGEX=yes'
4183 elif test "$withval" = no; then
4184 wx_cv_use_regex='wxUSE_REGEX=no'
4185 elif test "$withval" = sys; then
4186 wx_cv_use_regex='wxUSE_REGEX=sys'
4187 elif test "$withval" = builtin; then
4188 wx_cv_use_regex='wxUSE_REGEX=builtin'
4190 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4191 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4192 { (exit 1); exit 1; }; }
4199 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4200 if test "x$LINE" != x ; then
4201 eval "DEFAULT_$LINE"
4204 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4209 eval "$wx_cv_use_regex"
4210 if test "x$cache" = xyes; then
4211 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4214 if test "$wxUSE_REGEX" = yes; then
4215 { echo "$as_me:$LINENO: result: yes" >&5
4216 echo "${ECHO_T}yes" >&6; }
4217 elif test "$wxUSE_REGEX" = no; then
4218 { echo "$as_me:$LINENO: result: no" >&5
4219 echo "${ECHO_T}no" >&6; }
4220 elif test "$wxUSE_REGEX" = sys; then
4221 { echo "$as_me:$LINENO: result: system version" >&5
4222 echo "${ECHO_T}system version" >&6; }
4223 elif test "$wxUSE_REGEX" = builtin; then
4224 { echo "$as_me:$LINENO: result: builtin version" >&5
4225 echo "${ECHO_T}builtin version" >&6; }
4227 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4228 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4229 { (exit 1); exit 1; }; }
4233 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4234 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4236 # Check whether --with-zlib was given.
4237 if test "${with_zlib+set}" = set; then
4239 if test "$withval" = yes; then
4240 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4241 elif test "$withval" = no; then
4242 wx_cv_use_zlib='wxUSE_ZLIB=no'
4243 elif test "$withval" = sys; then
4244 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4245 elif test "$withval" = builtin; then
4246 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4248 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4249 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4250 { (exit 1); exit 1; }; }
4257 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4258 if test "x$LINE" != x ; then
4259 eval "DEFAULT_$LINE"
4262 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4267 eval "$wx_cv_use_zlib"
4268 if test "x$cache" = xyes; then
4269 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4272 if test "$wxUSE_ZLIB" = yes; then
4273 { echo "$as_me:$LINENO: result: yes" >&5
4274 echo "${ECHO_T}yes" >&6; }
4275 elif test "$wxUSE_ZLIB" = no; then
4276 { echo "$as_me:$LINENO: result: no" >&5
4277 echo "${ECHO_T}no" >&6; }
4278 elif test "$wxUSE_ZLIB" = sys; then
4279 { echo "$as_me:$LINENO: result: system version" >&5
4280 echo "${ECHO_T}system version" >&6; }
4281 elif test "$wxUSE_ZLIB" = builtin; then
4282 { echo "$as_me:$LINENO: result: builtin version" >&5
4283 echo "${ECHO_T}builtin version" >&6; }
4285 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4286 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4287 { (exit 1); exit 1; }; }
4291 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4292 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4294 # Check whether --with-odbc was given.
4295 if test "${with_odbc+set}" = set; then
4297 if test "$withval" = yes; then
4298 wx_cv_use_odbc='wxUSE_ODBC=yes'
4299 elif test "$withval" = no; then
4300 wx_cv_use_odbc='wxUSE_ODBC=no'
4301 elif test "$withval" = sys; then
4302 wx_cv_use_odbc='wxUSE_ODBC=sys'
4303 elif test "$withval" = builtin; then
4304 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4306 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4307 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4308 { (exit 1); exit 1; }; }
4315 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4316 if test "x$LINE" != x ; then
4317 eval "DEFAULT_$LINE"
4320 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4325 eval "$wx_cv_use_odbc"
4326 if test "x$cache" = xyes; then
4327 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4330 if test "$wxUSE_ODBC" = yes; then
4331 { echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6; }
4333 elif test "$wxUSE_ODBC" = no; then
4334 { echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6; }
4336 elif test "$wxUSE_ODBC" = sys; then
4337 { echo "$as_me:$LINENO: result: system version" >&5
4338 echo "${ECHO_T}system version" >&6; }
4339 elif test "$wxUSE_ODBC" = builtin; then
4340 { echo "$as_me:$LINENO: result: builtin version" >&5
4341 echo "${ECHO_T}builtin version" >&6; }
4343 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4344 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4345 { (exit 1); exit 1; }; }
4349 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4350 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4352 # Check whether --with-expat was given.
4353 if test "${with_expat+set}" = set; then
4354 withval=$with_expat;
4355 if test "$withval" = yes; then
4356 wx_cv_use_expat='wxUSE_EXPAT=yes'
4357 elif test "$withval" = no; then
4358 wx_cv_use_expat='wxUSE_EXPAT=no'
4359 elif test "$withval" = sys; then
4360 wx_cv_use_expat='wxUSE_EXPAT=sys'
4361 elif test "$withval" = builtin; then
4362 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4364 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4365 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4366 { (exit 1); exit 1; }; }
4373 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4374 if test "x$LINE" != x ; then
4375 eval "DEFAULT_$LINE"
4378 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4383 eval "$wx_cv_use_expat"
4384 if test "x$cache" = xyes; then
4385 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4388 if test "$wxUSE_EXPAT" = yes; then
4389 { echo "$as_me:$LINENO: result: yes" >&5
4390 echo "${ECHO_T}yes" >&6; }
4391 elif test "$wxUSE_EXPAT" = no; then
4392 { echo "$as_me:$LINENO: result: no" >&5
4393 echo "${ECHO_T}no" >&6; }
4394 elif test "$wxUSE_EXPAT" = sys; then
4395 { echo "$as_me:$LINENO: result: system version" >&5
4396 echo "${ECHO_T}system version" >&6; }
4397 elif test "$wxUSE_EXPAT" = builtin; then
4398 { echo "$as_me:$LINENO: result: builtin version" >&5
4399 echo "${ECHO_T}builtin version" >&6; }
4401 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4402 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4403 { (exit 1); exit 1; }; }
4407 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4408 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4410 # Check whether --with-macosx-sdk was given.
4411 if test "${with_macosx_sdk+set}" = set; then
4412 withval=$with_macosx_sdk;
4413 wxUSE_MACOSX_SDK=$withval
4414 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4415 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4419 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4420 # will override --enable-universal_binary's automatic SDK usage.
4422 LINE=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4423 if test "x$LINE" != x ; then
4425 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4430 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4431 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4433 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4434 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4436 # Check whether --with-macosx-version-min was given.
4437 if test "${with_macosx_version_min+set}" = set; then
4438 withval=$with_macosx_version_min;
4439 wxUSE_MACOSX_VERSION_MIN=$withval
4440 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4441 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4445 # default "yes" because when not using an SDK it means the same as no
4446 # but when using an SDK it means to use the SDK version
4447 wxUSE_MACOSX_VERSION_MIN=yes
4448 # See if there is a value in the cache
4449 LINE=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4450 if test "x$LINE" != x ; then
4452 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4457 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4458 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4462 enablestring=disable
4464 if test -z "$defaultval"; then
4465 if test x"$enablestring" = xdisable; then
4472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4473 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4474 # Check whether --enable-shared was given.
4475 if test "${enable_shared+set}" = set; then
4476 enableval=$enable_shared;
4477 if test "$enableval" = yes; then
4478 wx_cv_use_shared='wxUSE_SHARED=yes'
4480 wx_cv_use_shared='wxUSE_SHARED=no'
4487 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4488 if test "x$LINE" != x ; then
4489 eval "DEFAULT_$LINE"
4492 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4497 eval "$wx_cv_use_shared"
4498 if test "x$cache" = xyes; then
4499 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4502 if test x"$enablestring" = xdisable; then
4503 if test $wxUSE_SHARED = yes; then
4509 result=$wxUSE_SHARED
4512 { echo "$as_me:$LINENO: result: $result" >&5
4513 echo "${ECHO_T}$result" >&6; }
4516 enablestring=disable
4518 if test -z "$defaultval"; then
4519 if test x"$enablestring" = xdisable; then
4526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4527 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4528 # Check whether --enable-optimise was given.
4529 if test "${enable_optimise+set}" = set; then
4530 enableval=$enable_optimise;
4531 if test "$enableval" = yes; then
4532 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4534 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4541 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4542 if test "x$LINE" != x ; then
4543 eval "DEFAULT_$LINE"
4546 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4551 eval "$wx_cv_use_optimise"
4552 if test "x$cache" = xyes; then
4553 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4556 if test x"$enablestring" = xdisable; then
4557 if test $wxUSE_OPTIMISE = yes; then
4563 result=$wxUSE_OPTIMISE
4566 { echo "$as_me:$LINENO: result: $result" >&5
4567 echo "${ECHO_T}$result" >&6; }
4572 if test -z "$defaultval"; then
4573 if test x"$enablestring" = xdisable; then
4580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4581 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4582 # Check whether --enable-debug was given.
4583 if test "${enable_debug+set}" = set; then
4584 enableval=$enable_debug;
4585 if test "$enableval" = yes; then
4586 wx_cv_use_debug='wxUSE_DEBUG=yes'
4588 wx_cv_use_debug='wxUSE_DEBUG=no'
4595 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4596 if test "x$LINE" != x ; then
4597 eval "DEFAULT_$LINE"
4600 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4605 eval "$wx_cv_use_debug"
4606 if test "x$cache" = xyes; then
4607 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4610 if test x"$enablestring" = xdisable; then
4611 if test $wxUSE_DEBUG = yes; then
4620 { echo "$as_me:$LINENO: result: $result" >&5
4621 echo "${ECHO_T}$result" >&6; }
4626 if test -z "$defaultval"; then
4627 if test x"$enablestring" = xdisable; then
4634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4635 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4636 # Check whether --enable-stl was given.
4637 if test "${enable_stl+set}" = set; then
4638 enableval=$enable_stl;
4639 if test "$enableval" = yes; then
4640 wx_cv_use_stl='wxUSE_STL=yes'
4642 wx_cv_use_stl='wxUSE_STL=no'
4649 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4650 if test "x$LINE" != x ; then
4651 eval "DEFAULT_$LINE"
4654 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4659 eval "$wx_cv_use_stl"
4660 if test "x$cache" = xyes; then
4661 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4664 if test x"$enablestring" = xdisable; then
4665 if test $wxUSE_STL = yes; then
4674 { echo "$as_me:$LINENO: result: $result" >&5
4675 echo "${ECHO_T}$result" >&6; }
4680 if test -z "$defaultval"; then
4681 if test x"$enablestring" = xdisable; then
4688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4689 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4690 # Check whether --enable-std_iostreams was given.
4691 if test "${enable_std_iostreams+set}" = set; then
4692 enableval=$enable_std_iostreams;
4693 if test "$enableval" = yes; then
4694 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4696 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4703 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4704 if test "x$LINE" != x ; then
4705 eval "DEFAULT_$LINE"
4708 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4713 eval "$wx_cv_use_std_iostreams"
4714 if test "x$cache" = xyes; then
4715 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4718 if test x"$enablestring" = xdisable; then
4719 if test $wxUSE_STD_IOSTREAM = yes; then
4725 result=$wxUSE_STD_IOSTREAM
4728 { echo "$as_me:$LINENO: result: $result" >&5
4729 echo "${ECHO_T}$result" >&6; }
4734 if test -z "$defaultval"; then
4735 if test x"$enablestring" = xdisable; then
4742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4744 # Check whether --enable-std_string was given.
4745 if test "${enable_std_string+set}" = set; then
4746 enableval=$enable_std_string;
4747 if test "$enableval" = yes; then
4748 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4750 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4757 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4758 if test "x$LINE" != x ; then
4759 eval "DEFAULT_$LINE"
4762 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4767 eval "$wx_cv_use_std_string"
4768 if test "x$cache" = xyes; then
4769 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4772 if test x"$enablestring" = xdisable; then
4773 if test $wxUSE_STD_STRING = yes; then
4779 result=$wxUSE_STD_STRING
4782 { echo "$as_me:$LINENO: result: $result" >&5
4783 echo "${ECHO_T}$result" >&6; }
4786 enablestring=disable
4788 if test -z "$defaultval"; then
4789 if test x"$enablestring" = xdisable; then
4796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4797 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4798 # Check whether --enable-unicode was given.
4799 if test "${enable_unicode+set}" = set; then
4800 enableval=$enable_unicode;
4801 if test "$enableval" = yes; then
4802 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4804 wx_cv_use_unicode='wxUSE_UNICODE=no'
4811 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4812 if test "x$LINE" != x ; then
4813 eval "DEFAULT_$LINE"
4816 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4821 eval "$wx_cv_use_unicode"
4822 if test "x$cache" = xyes; then
4823 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4826 if test x"$enablestring" = xdisable; then
4827 if test $wxUSE_UNICODE = yes; then
4833 result=$wxUSE_UNICODE
4836 { echo "$as_me:$LINENO: result: $result" >&5
4837 echo "${ECHO_T}$result" >&6; }
4842 if test -z "$defaultval"; then
4843 if test x"$enablestring" = xdisable; then
4850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4851 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4852 # Check whether --enable-mslu was given.
4853 if test "${enable_mslu+set}" = set; then
4854 enableval=$enable_mslu;
4855 if test "$enableval" = yes; then
4856 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4858 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4865 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4866 if test "x$LINE" != x ; then
4867 eval "DEFAULT_$LINE"
4870 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4875 eval "$wx_cv_use_mslu"
4876 if test "x$cache" = xyes; then
4877 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4880 if test x"$enablestring" = xdisable; then
4881 if test $wxUSE_UNICODE_MSLU = yes; then
4887 result=$wxUSE_UNICODE_MSLU
4890 { echo "$as_me:$LINENO: result: $result" >&5
4891 echo "${ECHO_T}$result" >&6; }
4895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4896 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4897 # Check whether --enable-utf8 was given.
4898 if test "${enable_utf8+set}" = set; then
4899 enableval=$enable_utf8;
4900 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4906 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4907 if test "x$LINE" != x ; then
4908 eval "DEFAULT_$LINE"
4911 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4916 eval "$wx_cv_use_utf8"
4917 if test "x$cache" = xyes; then
4918 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4921 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4922 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4927 if test -z "$defaultval"; then
4928 if test x"$enablestring" = xdisable; then
4935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4936 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4937 # Check whether --enable-utf8only was given.
4938 if test "${enable_utf8only+set}" = set; then
4939 enableval=$enable_utf8only;
4940 if test "$enableval" = yes; then
4941 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4943 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4950 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4951 if test "x$LINE" != x ; then
4952 eval "DEFAULT_$LINE"
4955 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4960 eval "$wx_cv_use_utf8only"
4961 if test "x$cache" = xyes; then
4962 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
4965 if test x"$enablestring" = xdisable; then
4966 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4972 result=$wxUSE_UNICODE_UTF8_LOCALE
4975 { echo "$as_me:$LINENO: result: $result" >&5
4976 echo "${ECHO_T}$result" >&6; }
4981 if test -z "$defaultval"; then
4982 if test x"$enablestring" = xdisable; then
4989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4990 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4991 # Check whether --enable-extended_rtti was given.
4992 if test "${enable_extended_rtti+set}" = set; then
4993 enableval=$enable_extended_rtti;
4994 if test "$enableval" = yes; then
4995 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4997 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5004 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5005 if test "x$LINE" != x ; then
5006 eval "DEFAULT_$LINE"
5009 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5014 eval "$wx_cv_use_extended_rtti"
5015 if test "x$cache" = xyes; then
5016 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5019 if test x"$enablestring" = xdisable; then
5020 if test $wxUSE_EXTENDED_RTTI = yes; then
5026 result=$wxUSE_EXTENDED_RTTI
5029 { echo "$as_me:$LINENO: result: $result" >&5
5030 echo "${ECHO_T}$result" >&6; }
5032 if test "$USE_OS2" = "1"; then
5033 DEFAULT_wxUSE_OMF=no
5037 if test -z "$defaultval"; then
5038 if test x"$enablestring" = xdisable; then
5045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5046 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5047 # Check whether --enable-omf was given.
5048 if test "${enable_omf+set}" = set; then
5049 enableval=$enable_omf;
5050 if test "$enableval" = yes; then
5051 wx_cv_use_omf='wxUSE_OMF=yes'
5053 wx_cv_use_omf='wxUSE_OMF=no'
5060 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5061 if test "x$LINE" != x ; then
5062 eval "DEFAULT_$LINE"
5065 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5070 eval "$wx_cv_use_omf"
5071 if test "x$cache" = xyes; then
5072 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5075 if test x"$enablestring" = xdisable; then
5076 if test $wxUSE_OMF = yes; then
5085 { echo "$as_me:$LINENO: result: $result" >&5
5086 echo "${ECHO_T}$result" >&6; }
5090 if test "$wxUSE_DEBUG" = "yes"; then
5091 DEFAULT_wxUSE_DEBUG_FLAG=yes
5092 DEFAULT_wxUSE_DEBUG_INFO=yes
5094 elif test "$wxUSE_DEBUG" = "no"; then
5095 DEFAULT_wxUSE_DEBUG_FLAG=no
5096 DEFAULT_wxUSE_DEBUG_INFO=no
5103 if test -z "$defaultval"; then
5104 if test x"$enablestring" = xdisable; then
5111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5112 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5113 # Check whether --enable-debug_flag was given.
5114 if test "${enable_debug_flag+set}" = set; then
5115 enableval=$enable_debug_flag;
5116 if test "$enableval" = yes; then
5117 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5119 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5126 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5127 if test "x$LINE" != x ; then
5128 eval "DEFAULT_$LINE"
5131 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5136 eval "$wx_cv_use_debug_flag"
5137 if test "x$cache" = xyes; then
5138 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5141 if test x"$enablestring" = xdisable; then
5142 if test $wxUSE_DEBUG_FLAG = yes; then
5148 result=$wxUSE_DEBUG_FLAG
5151 { echo "$as_me:$LINENO: result: $result" >&5
5152 echo "${ECHO_T}$result" >&6; }
5157 if test -z "$defaultval"; then
5158 if test x"$enablestring" = xdisable; then
5165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5166 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5167 # Check whether --enable-debug_info was given.
5168 if test "${enable_debug_info+set}" = set; then
5169 enableval=$enable_debug_info;
5170 if test "$enableval" = yes; then
5171 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5173 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5180 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5181 if test "x$LINE" != x ; then
5182 eval "DEFAULT_$LINE"
5185 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5190 eval "$wx_cv_use_debug_info"
5191 if test "x$cache" = xyes; then
5192 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5195 if test x"$enablestring" = xdisable; then
5196 if test $wxUSE_DEBUG_INFO = yes; then
5202 result=$wxUSE_DEBUG_INFO
5205 { echo "$as_me:$LINENO: result: $result" >&5
5206 echo "${ECHO_T}$result" >&6; }
5211 if test -z "$defaultval"; then
5212 if test x"$enablestring" = xdisable; then
5219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5220 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5221 # Check whether --enable-debug_gdb was given.
5222 if test "${enable_debug_gdb+set}" = set; then
5223 enableval=$enable_debug_gdb;
5224 if test "$enableval" = yes; then
5225 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5227 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5234 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5235 if test "x$LINE" != x ; then
5236 eval "DEFAULT_$LINE"
5239 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5244 eval "$wx_cv_use_debug_gdb"
5245 if test "x$cache" = xyes; then
5246 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5249 if test x"$enablestring" = xdisable; then
5250 if test $wxUSE_DEBUG_GDB = yes; then
5256 result=$wxUSE_DEBUG_GDB
5259 { echo "$as_me:$LINENO: result: $result" >&5
5260 echo "${ECHO_T}$result" >&6; }
5265 if test -z "$defaultval"; then
5266 if test x"$enablestring" = xdisable; then
5273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5274 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5275 # Check whether --enable-debug_cntxt was given.
5276 if test "${enable_debug_cntxt+set}" = set; then
5277 enableval=$enable_debug_cntxt;
5278 if test "$enableval" = yes; then
5279 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5281 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5288 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5289 if test "x$LINE" != x ; then
5290 eval "DEFAULT_$LINE"
5293 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5298 eval "$wx_cv_use_debug_cntxt"
5299 if test "x$cache" = xyes; then
5300 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5303 if test x"$enablestring" = xdisable; then
5304 if test $wxUSE_DEBUG_CONTEXT = yes; then
5310 result=$wxUSE_DEBUG_CONTEXT
5313 { echo "$as_me:$LINENO: result: $result" >&5
5314 echo "${ECHO_T}$result" >&6; }
5319 if test -z "$defaultval"; then
5320 if test x"$enablestring" = xdisable; then
5327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5328 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5329 # Check whether --enable-mem_tracing was given.
5330 if test "${enable_mem_tracing+set}" = set; then
5331 enableval=$enable_mem_tracing;
5332 if test "$enableval" = yes; then
5333 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5335 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5342 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5343 if test "x$LINE" != x ; then
5344 eval "DEFAULT_$LINE"
5347 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5352 eval "$wx_cv_use_mem_tracing"
5353 if test "x$cache" = xyes; then
5354 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5357 if test x"$enablestring" = xdisable; then
5358 if test $wxUSE_MEM_TRACING = yes; then
5364 result=$wxUSE_MEM_TRACING
5367 { echo "$as_me:$LINENO: result: $result" >&5
5368 echo "${ECHO_T}$result" >&6; }
5373 if test -z "$defaultval"; then
5374 if test x"$enablestring" = xdisable; then
5381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5382 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5383 # Check whether --enable-profile was given.
5384 if test "${enable_profile+set}" = set; then
5385 enableval=$enable_profile;
5386 if test "$enableval" = yes; then
5387 wx_cv_use_profile='wxUSE_PROFILE=yes'
5389 wx_cv_use_profile='wxUSE_PROFILE=no'
5396 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5397 if test "x$LINE" != x ; then
5398 eval "DEFAULT_$LINE"
5401 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5406 eval "$wx_cv_use_profile"
5407 if test "x$cache" = xyes; then
5408 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5411 if test x"$enablestring" = xdisable; then
5412 if test $wxUSE_PROFILE = yes; then
5418 result=$wxUSE_PROFILE
5421 { echo "$as_me:$LINENO: result: $result" >&5
5422 echo "${ECHO_T}$result" >&6; }
5427 if test -z "$defaultval"; then
5428 if test x"$enablestring" = xdisable; then
5435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5436 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5437 # Check whether --enable-no_rtti was given.
5438 if test "${enable_no_rtti+set}" = set; then
5439 enableval=$enable_no_rtti;
5440 if test "$enableval" = yes; then
5441 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5443 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5450 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5451 if test "x$LINE" != x ; then
5452 eval "DEFAULT_$LINE"
5455 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5460 eval "$wx_cv_use_no_rtti"
5461 if test "x$cache" = xyes; then
5462 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5465 if test x"$enablestring" = xdisable; then
5466 if test $wxUSE_NO_RTTI = yes; then
5472 result=$wxUSE_NO_RTTI
5475 { echo "$as_me:$LINENO: result: $result" >&5
5476 echo "${ECHO_T}$result" >&6; }
5481 if test -z "$defaultval"; then
5482 if test x"$enablestring" = xdisable; then
5489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5490 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5491 # Check whether --enable-no_exceptions was given.
5492 if test "${enable_no_exceptions+set}" = set; then
5493 enableval=$enable_no_exceptions;
5494 if test "$enableval" = yes; then
5495 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5497 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5504 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5505 if test "x$LINE" != x ; then
5506 eval "DEFAULT_$LINE"
5509 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5514 eval "$wx_cv_use_no_exceptions"
5515 if test "x$cache" = xyes; then
5516 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5519 if test x"$enablestring" = xdisable; then
5520 if test $wxUSE_NO_EXCEPTIONS = yes; then
5526 result=$wxUSE_NO_EXCEPTIONS
5529 { echo "$as_me:$LINENO: result: $result" >&5
5530 echo "${ECHO_T}$result" >&6; }
5535 if test -z "$defaultval"; then
5536 if test x"$enablestring" = xdisable; then
5543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5544 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5545 # Check whether --enable-permissive was given.
5546 if test "${enable_permissive+set}" = set; then
5547 enableval=$enable_permissive;
5548 if test "$enableval" = yes; then
5549 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5551 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5558 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5559 if test "x$LINE" != x ; then
5560 eval "DEFAULT_$LINE"
5563 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5568 eval "$wx_cv_use_permissive"
5569 if test "x$cache" = xyes; then
5570 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5573 if test x"$enablestring" = xdisable; then
5574 if test $wxUSE_PERMISSIVE = yes; then
5580 result=$wxUSE_PERMISSIVE
5583 { echo "$as_me:$LINENO: result: $result" >&5
5584 echo "${ECHO_T}$result" >&6; }
5589 if test -z "$defaultval"; then
5590 if test x"$enablestring" = xdisable; then
5597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5598 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5599 # Check whether --enable-no_deps was given.
5600 if test "${enable_no_deps+set}" = set; then
5601 enableval=$enable_no_deps;
5602 if test "$enableval" = yes; then
5603 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5605 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5612 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5613 if test "x$LINE" != x ; then
5614 eval "DEFAULT_$LINE"
5617 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5622 eval "$wx_cv_use_no_deps"
5623 if test "x$cache" = xyes; then
5624 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5627 if test x"$enablestring" = xdisable; then
5628 if test $wxUSE_NO_DEPS = yes; then
5634 result=$wxUSE_NO_DEPS
5637 { echo "$as_me:$LINENO: result: $result" >&5
5638 echo "${ECHO_T}$result" >&6; }
5641 enablestring=disable
5643 if test -z "$defaultval"; then
5644 if test x"$enablestring" = xdisable; then
5651 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5652 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5653 # Check whether --enable-vararg_macros was given.
5654 if test "${enable_vararg_macros+set}" = set; then
5655 enableval=$enable_vararg_macros;
5656 if test "$enableval" = yes; then
5657 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5659 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5666 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5667 if test "x$LINE" != x ; then
5668 eval "DEFAULT_$LINE"
5671 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5676 eval "$wx_cv_use_vararg_macros"
5677 if test "x$cache" = xyes; then
5678 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5681 if test x"$enablestring" = xdisable; then
5682 if test $wxUSE_VARARG_MACROS = yes; then
5688 result=$wxUSE_VARARG_MACROS
5691 { echo "$as_me:$LINENO: result: $result" >&5
5692 echo "${ECHO_T}$result" >&6; }
5696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5697 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5698 # Check whether --enable-universal_binary was given.
5699 if test "${enable_universal_binary+set}" = set; then
5700 enableval=$enable_universal_binary;
5701 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5707 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5708 if test "x$LINE" != x ; then
5709 eval "DEFAULT_$LINE"
5712 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5717 eval "$wx_cv_use_universal_binary"
5718 if test "x$cache" = xyes; then
5719 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5722 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5723 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5729 if test -z "$defaultval"; then
5730 if test x"$enablestring" = xdisable; then
5737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5738 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5739 # Check whether --enable-compat26 was given.
5740 if test "${enable_compat26+set}" = set; then
5741 enableval=$enable_compat26;
5742 if test "$enableval" = yes; then
5743 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5745 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5752 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5753 if test "x$LINE" != x ; then
5754 eval "DEFAULT_$LINE"
5757 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5762 eval "$wx_cv_use_compat26"
5763 if test "x$cache" = xyes; then
5764 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5767 if test x"$enablestring" = xdisable; then
5768 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5774 result=$WXWIN_COMPATIBILITY_2_6
5777 { echo "$as_me:$LINENO: result: $result" >&5
5778 echo "${ECHO_T}$result" >&6; }
5781 enablestring=disable
5783 if test -z "$defaultval"; then
5784 if test x"$enablestring" = xdisable; then
5791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5792 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5793 # Check whether --enable-compat28 was given.
5794 if test "${enable_compat28+set}" = set; then
5795 enableval=$enable_compat28;
5796 if test "$enableval" = yes; then
5797 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5799 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5806 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5807 if test "x$LINE" != x ; then
5808 eval "DEFAULT_$LINE"
5811 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5816 eval "$wx_cv_use_compat28"
5817 if test "x$cache" = xyes; then
5818 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5821 if test x"$enablestring" = xdisable; then
5822 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5828 result=$WXWIN_COMPATIBILITY_2_8
5831 { echo "$as_me:$LINENO: result: $result" >&5
5832 echo "${ECHO_T}$result" >&6; }
5836 enablestring=disable
5838 if test -z "$defaultval"; then
5839 if test x"$enablestring" = xdisable; then
5846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5847 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5848 # Check whether --enable-rpath was given.
5849 if test "${enable_rpath+set}" = set; then
5850 enableval=$enable_rpath;
5851 if test "$enableval" = yes; then
5852 wx_cv_use_rpath='wxUSE_RPATH=yes'
5854 wx_cv_use_rpath='wxUSE_RPATH=no'
5861 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5862 if test "x$LINE" != x ; then
5863 eval "DEFAULT_$LINE"
5866 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5871 eval "$wx_cv_use_rpath"
5872 if test "x$cache" = xyes; then
5873 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5876 if test x"$enablestring" = xdisable; then
5877 if test $wxUSE_RPATH = yes; then
5886 { echo "$as_me:$LINENO: result: $result" >&5
5887 echo "${ECHO_T}$result" >&6; }
5893 if test -z "$defaultval"; then
5894 if test x"$enablestring" = xdisable; then
5901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5902 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5903 # Check whether --enable-objc_uniquifying was given.
5904 if test "${enable_objc_uniquifying+set}" = set; then
5905 enableval=$enable_objc_uniquifying;
5906 if test "$enableval" = yes; then
5907 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5909 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5916 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5917 if test "x$LINE" != x ; then
5918 eval "DEFAULT_$LINE"
5921 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5926 eval "$wx_cv_use_objc_uniquifying"
5927 if test "x$cache" = xyes; then
5928 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
5931 if test x"$enablestring" = xdisable; then
5932 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5938 result=$wxUSE_OBJC_UNIQUIFYING
5941 { echo "$as_me:$LINENO: result: $result" >&5
5942 echo "${ECHO_T}$result" >&6; }
5946 enablestring=disable
5948 if test -z "$defaultval"; then
5949 if test x"$enablestring" = xdisable; then
5956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5957 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5958 # Check whether --enable-visibility was given.
5959 if test "${enable_visibility+set}" = set; then
5960 enableval=$enable_visibility;
5961 if test "$enableval" = yes; then
5962 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5964 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5971 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5972 if test "x$LINE" != x ; then
5973 eval "DEFAULT_$LINE"
5976 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5981 eval "$wx_cv_use_visibility"
5982 if test "x$cache" = xyes; then
5983 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
5986 if test x"$enablestring" = xdisable; then
5987 if test $wxUSE_VISIBILITY = yes; then
5993 result=$wxUSE_VISIBILITY
5996 { echo "$as_me:$LINENO: result: $result" >&5
5997 echo "${ECHO_T}$result" >&6; }
6003 defaultval=$wxUSE_ALL_FEATURES
6004 if test -z "$defaultval"; then
6005 if test x"$enablestring" = xdisable; then
6012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6013 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6014 # Check whether --enable-intl was given.
6015 if test "${enable_intl+set}" = set; then
6016 enableval=$enable_intl;
6017 if test "$enableval" = yes; then
6018 wx_cv_use_intl='wxUSE_INTL=yes'
6020 wx_cv_use_intl='wxUSE_INTL=no'
6027 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6028 if test "x$LINE" != x ; then
6029 eval "DEFAULT_$LINE"
6032 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6037 eval "$wx_cv_use_intl"
6038 if test "x$cache" = xyes; then
6039 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6042 if test x"$enablestring" = xdisable; then
6043 if test $wxUSE_INTL = yes; then
6052 { echo "$as_me:$LINENO: result: $result" >&5
6053 echo "${ECHO_T}$result" >&6; }
6057 defaultval=$wxUSE_ALL_FEATURES
6058 if test -z "$defaultval"; then
6059 if test x"$enablestring" = xdisable; then
6066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6067 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6068 # Check whether --enable-config was given.
6069 if test "${enable_config+set}" = set; then
6070 enableval=$enable_config;
6071 if test "$enableval" = yes; then
6072 wx_cv_use_config='wxUSE_CONFIG=yes'
6074 wx_cv_use_config='wxUSE_CONFIG=no'
6081 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6082 if test "x$LINE" != x ; then
6083 eval "DEFAULT_$LINE"
6086 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6091 eval "$wx_cv_use_config"
6092 if test "x$cache" = xyes; then
6093 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6096 if test x"$enablestring" = xdisable; then
6097 if test $wxUSE_CONFIG = yes; then
6103 result=$wxUSE_CONFIG
6106 { echo "$as_me:$LINENO: result: $result" >&5
6107 echo "${ECHO_T}$result" >&6; }
6112 defaultval=$wxUSE_ALL_FEATURES
6113 if test -z "$defaultval"; then
6114 if test x"$enablestring" = xdisable; then
6121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6122 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6123 # Check whether --enable-protocols was given.
6124 if test "${enable_protocols+set}" = set; then
6125 enableval=$enable_protocols;
6126 if test "$enableval" = yes; then
6127 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6129 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6136 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6137 if test "x$LINE" != x ; then
6138 eval "DEFAULT_$LINE"
6141 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6146 eval "$wx_cv_use_protocols"
6147 if test "x$cache" = xyes; then
6148 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6151 if test x"$enablestring" = xdisable; then
6152 if test $wxUSE_PROTOCOL = yes; then
6158 result=$wxUSE_PROTOCOL
6161 { echo "$as_me:$LINENO: result: $result" >&5
6162 echo "${ECHO_T}$result" >&6; }
6166 defaultval=$wxUSE_ALL_FEATURES
6167 if test -z "$defaultval"; then
6168 if test x"$enablestring" = xdisable; then
6175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6176 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6177 # Check whether --enable-ftp was given.
6178 if test "${enable_ftp+set}" = set; then
6179 enableval=$enable_ftp;
6180 if test "$enableval" = yes; then
6181 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6183 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6190 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6191 if test "x$LINE" != x ; then
6192 eval "DEFAULT_$LINE"
6195 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6200 eval "$wx_cv_use_ftp"
6201 if test "x$cache" = xyes; then
6202 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6205 if test x"$enablestring" = xdisable; then
6206 if test $wxUSE_PROTOCOL_FTP = yes; then
6212 result=$wxUSE_PROTOCOL_FTP
6215 { echo "$as_me:$LINENO: result: $result" >&5
6216 echo "${ECHO_T}$result" >&6; }
6220 defaultval=$wxUSE_ALL_FEATURES
6221 if test -z "$defaultval"; then
6222 if test x"$enablestring" = xdisable; then
6229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6230 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6231 # Check whether --enable-http was given.
6232 if test "${enable_http+set}" = set; then
6233 enableval=$enable_http;
6234 if test "$enableval" = yes; then
6235 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6237 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6244 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6245 if test "x$LINE" != x ; then
6246 eval "DEFAULT_$LINE"
6249 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6254 eval "$wx_cv_use_http"
6255 if test "x$cache" = xyes; then
6256 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6259 if test x"$enablestring" = xdisable; then
6260 if test $wxUSE_PROTOCOL_HTTP = yes; then
6266 result=$wxUSE_PROTOCOL_HTTP
6269 { echo "$as_me:$LINENO: result: $result" >&5
6270 echo "${ECHO_T}$result" >&6; }
6274 defaultval=$wxUSE_ALL_FEATURES
6275 if test -z "$defaultval"; then
6276 if test x"$enablestring" = xdisable; then
6283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6284 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6285 # Check whether --enable-fileproto was given.
6286 if test "${enable_fileproto+set}" = set; then
6287 enableval=$enable_fileproto;
6288 if test "$enableval" = yes; then
6289 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6291 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6298 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6299 if test "x$LINE" != x ; then
6300 eval "DEFAULT_$LINE"
6303 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6308 eval "$wx_cv_use_fileproto"
6309 if test "x$cache" = xyes; then
6310 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6313 if test x"$enablestring" = xdisable; then
6314 if test $wxUSE_PROTOCOL_FILE = yes; then
6320 result=$wxUSE_PROTOCOL_FILE
6323 { echo "$as_me:$LINENO: result: $result" >&5
6324 echo "${ECHO_T}$result" >&6; }
6328 defaultval=$wxUSE_ALL_FEATURES
6329 if test -z "$defaultval"; then
6330 if test x"$enablestring" = xdisable; then
6337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6338 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6339 # Check whether --enable-sockets was given.
6340 if test "${enable_sockets+set}" = set; then
6341 enableval=$enable_sockets;
6342 if test "$enableval" = yes; then
6343 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6345 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6352 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6353 if test "x$LINE" != x ; then
6354 eval "DEFAULT_$LINE"
6357 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6362 eval "$wx_cv_use_sockets"
6363 if test "x$cache" = xyes; then
6364 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6367 if test x"$enablestring" = xdisable; then
6368 if test $wxUSE_SOCKETS = yes; then
6374 result=$wxUSE_SOCKETS
6377 { echo "$as_me:$LINENO: result: $result" >&5
6378 echo "${ECHO_T}$result" >&6; }
6382 defaultval=$wxUSE_ALL_FEATURES
6383 if test -z "$defaultval"; then
6384 if test x"$enablestring" = xdisable; then
6391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6392 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6393 # Check whether --enable-ole was given.
6394 if test "${enable_ole+set}" = set; then
6395 enableval=$enable_ole;
6396 if test "$enableval" = yes; then
6397 wx_cv_use_ole='wxUSE_OLE=yes'
6399 wx_cv_use_ole='wxUSE_OLE=no'
6406 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6407 if test "x$LINE" != x ; then
6408 eval "DEFAULT_$LINE"
6411 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6416 eval "$wx_cv_use_ole"
6417 if test "x$cache" = xyes; then
6418 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6421 if test x"$enablestring" = xdisable; then
6422 if test $wxUSE_OLE = yes; then
6431 { echo "$as_me:$LINENO: result: $result" >&5
6432 echo "${ECHO_T}$result" >&6; }
6436 defaultval=$wxUSE_ALL_FEATURES
6437 if test -z "$defaultval"; then
6438 if test x"$enablestring" = xdisable; then
6445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6446 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6447 # Check whether --enable-dataobj was given.
6448 if test "${enable_dataobj+set}" = set; then
6449 enableval=$enable_dataobj;
6450 if test "$enableval" = yes; then
6451 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6453 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6460 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6461 if test "x$LINE" != x ; then
6462 eval "DEFAULT_$LINE"
6465 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6470 eval "$wx_cv_use_dataobj"
6471 if test "x$cache" = xyes; then
6472 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6475 if test x"$enablestring" = xdisable; then
6476 if test $wxUSE_DATAOBJ = yes; then
6482 result=$wxUSE_DATAOBJ
6485 { echo "$as_me:$LINENO: result: $result" >&5
6486 echo "${ECHO_T}$result" >&6; }
6491 defaultval=$wxUSE_ALL_FEATURES
6492 if test -z "$defaultval"; then
6493 if test x"$enablestring" = xdisable; then
6500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6501 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6502 # Check whether --enable-ipc was given.
6503 if test "${enable_ipc+set}" = set; then
6504 enableval=$enable_ipc;
6505 if test "$enableval" = yes; then
6506 wx_cv_use_ipc='wxUSE_IPC=yes'
6508 wx_cv_use_ipc='wxUSE_IPC=no'
6515 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6516 if test "x$LINE" != x ; then
6517 eval "DEFAULT_$LINE"
6520 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6525 eval "$wx_cv_use_ipc"
6526 if test "x$cache" = xyes; then
6527 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6530 if test x"$enablestring" = xdisable; then
6531 if test $wxUSE_IPC = yes; then
6540 { echo "$as_me:$LINENO: result: $result" >&5
6541 echo "${ECHO_T}$result" >&6; }
6546 defaultval=$wxUSE_ALL_FEATURES
6547 if test -z "$defaultval"; then
6548 if test x"$enablestring" = xdisable; then
6555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6556 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6557 # Check whether --enable-baseevtloop was given.
6558 if test "${enable_baseevtloop+set}" = set; then
6559 enableval=$enable_baseevtloop;
6560 if test "$enableval" = yes; then
6561 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6563 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6570 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6571 if test "x$LINE" != x ; then
6572 eval "DEFAULT_$LINE"
6575 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6580 eval "$wx_cv_use_baseevtloop"
6581 if test "x$cache" = xyes; then
6582 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6585 if test x"$enablestring" = xdisable; then
6586 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6592 result=$wxUSE_CONSOLE_EVENTLOOP
6595 { echo "$as_me:$LINENO: result: $result" >&5
6596 echo "${ECHO_T}$result" >&6; }
6600 defaultval=$wxUSE_ALL_FEATURES
6601 if test -z "$defaultval"; then
6602 if test x"$enablestring" = xdisable; then
6609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6610 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6611 # Check whether --enable-epoolloop was given.
6612 if test "${enable_epoolloop+set}" = set; then
6613 enableval=$enable_epoolloop;
6614 if test "$enableval" = yes; then
6615 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6617 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6624 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6625 if test "x$LINE" != x ; then
6626 eval "DEFAULT_$LINE"
6629 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6634 eval "$wx_cv_use_epoolloop"
6635 if test "x$cache" = xyes; then
6636 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6639 if test x"$enablestring" = xdisable; then
6640 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6646 result=$wxUSE_EPOLL_DISPATCHER
6649 { echo "$as_me:$LINENO: result: $result" >&5
6650 echo "${ECHO_T}$result" >&6; }
6654 defaultval=$wxUSE_ALL_FEATURES
6655 if test -z "$defaultval"; then
6656 if test x"$enablestring" = xdisable; then
6663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6664 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6665 # Check whether --enable-selectloop was given.
6666 if test "${enable_selectloop+set}" = set; then
6667 enableval=$enable_selectloop;
6668 if test "$enableval" = yes; then
6669 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6671 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6678 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6679 if test "x$LINE" != x ; then
6680 eval "DEFAULT_$LINE"
6683 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6688 eval "$wx_cv_use_selectloop"
6689 if test "x$cache" = xyes; then
6690 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6693 if test x"$enablestring" = xdisable; then
6694 if test $wxUSE_SELECT_DISPATCHER = yes; then
6700 result=$wxUSE_SELECT_DISPATCHER
6703 { echo "$as_me:$LINENO: result: $result" >&5
6704 echo "${ECHO_T}$result" >&6; }
6709 defaultval=$wxUSE_ALL_FEATURES
6710 if test -z "$defaultval"; then
6711 if test x"$enablestring" = xdisable; then
6718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6719 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6720 # Check whether --enable-apple_ieee was given.
6721 if test "${enable_apple_ieee+set}" = set; then
6722 enableval=$enable_apple_ieee;
6723 if test "$enableval" = yes; then
6724 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6726 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6733 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6734 if test "x$LINE" != x ; then
6735 eval "DEFAULT_$LINE"
6738 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6743 eval "$wx_cv_use_apple_ieee"
6744 if test "x$cache" = xyes; then
6745 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6748 if test x"$enablestring" = xdisable; then
6749 if test $wxUSE_APPLE_IEEE = yes; then
6755 result=$wxUSE_APPLE_IEEE
6758 { echo "$as_me:$LINENO: result: $result" >&5
6759 echo "${ECHO_T}$result" >&6; }
6763 defaultval=$wxUSE_ALL_FEATURES
6764 if test -z "$defaultval"; then
6765 if test x"$enablestring" = xdisable; then
6772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6773 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6774 # Check whether --enable-arcstream was given.
6775 if test "${enable_arcstream+set}" = set; then
6776 enableval=$enable_arcstream;
6777 if test "$enableval" = yes; then
6778 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6780 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6787 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6788 if test "x$LINE" != x ; then
6789 eval "DEFAULT_$LINE"
6792 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6797 eval "$wx_cv_use_arcstream"
6798 if test "x$cache" = xyes; then
6799 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6802 if test x"$enablestring" = xdisable; then
6803 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6809 result=$wxUSE_ARCHIVE_STREAMS
6812 { echo "$as_me:$LINENO: result: $result" >&5
6813 echo "${ECHO_T}$result" >&6; }
6817 defaultval=$wxUSE_ALL_FEATURES
6818 if test -z "$defaultval"; then
6819 if test x"$enablestring" = xdisable; then
6826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6827 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6828 # Check whether --enable-base64 was given.
6829 if test "${enable_base64+set}" = set; then
6830 enableval=$enable_base64;
6831 if test "$enableval" = yes; then
6832 wx_cv_use_base64='wxUSE_BASE64=yes'
6834 wx_cv_use_base64='wxUSE_BASE64=no'
6841 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6842 if test "x$LINE" != x ; then
6843 eval "DEFAULT_$LINE"
6846 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6851 eval "$wx_cv_use_base64"
6852 if test "x$cache" = xyes; then
6853 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6856 if test x"$enablestring" = xdisable; then
6857 if test $wxUSE_BASE64 = yes; then
6863 result=$wxUSE_BASE64
6866 { echo "$as_me:$LINENO: result: $result" >&5
6867 echo "${ECHO_T}$result" >&6; }
6871 defaultval=$wxUSE_ALL_FEATURES
6872 if test -z "$defaultval"; then
6873 if test x"$enablestring" = xdisable; then
6880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6881 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6882 # Check whether --enable-backtrace was given.
6883 if test "${enable_backtrace+set}" = set; then
6884 enableval=$enable_backtrace;
6885 if test "$enableval" = yes; then
6886 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6888 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6895 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6896 if test "x$LINE" != x ; then
6897 eval "DEFAULT_$LINE"
6900 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6905 eval "$wx_cv_use_backtrace"
6906 if test "x$cache" = xyes; then
6907 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
6910 if test x"$enablestring" = xdisable; then
6911 if test $wxUSE_STACKWALKER = yes; then
6917 result=$wxUSE_STACKWALKER
6920 { echo "$as_me:$LINENO: result: $result" >&5
6921 echo "${ECHO_T}$result" >&6; }
6925 defaultval=$wxUSE_ALL_FEATURES
6926 if test -z "$defaultval"; then
6927 if test x"$enablestring" = xdisable; then
6934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6935 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6936 # Check whether --enable-catch_segvs was given.
6937 if test "${enable_catch_segvs+set}" = set; then
6938 enableval=$enable_catch_segvs;
6939 if test "$enableval" = yes; then
6940 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6942 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6949 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6950 if test "x$LINE" != x ; then
6951 eval "DEFAULT_$LINE"
6954 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6959 eval "$wx_cv_use_catch_segvs"
6960 if test "x$cache" = xyes; then
6961 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
6964 if test x"$enablestring" = xdisable; then
6965 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6971 result=$wxUSE_ON_FATAL_EXCEPTION
6974 { echo "$as_me:$LINENO: result: $result" >&5
6975 echo "${ECHO_T}$result" >&6; }
6979 defaultval=$wxUSE_ALL_FEATURES
6980 if test -z "$defaultval"; then
6981 if test x"$enablestring" = xdisable; then
6988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6989 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6990 # Check whether --enable-cmdline was given.
6991 if test "${enable_cmdline+set}" = set; then
6992 enableval=$enable_cmdline;
6993 if test "$enableval" = yes; then
6994 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6996 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7003 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7004 if test "x$LINE" != x ; then
7005 eval "DEFAULT_$LINE"
7008 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7013 eval "$wx_cv_use_cmdline"
7014 if test "x$cache" = xyes; then
7015 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7018 if test x"$enablestring" = xdisable; then
7019 if test $wxUSE_CMDLINE_PARSER = yes; then
7025 result=$wxUSE_CMDLINE_PARSER
7028 { echo "$as_me:$LINENO: result: $result" >&5
7029 echo "${ECHO_T}$result" >&6; }
7033 defaultval=$wxUSE_ALL_FEATURES
7034 if test -z "$defaultval"; then
7035 if test x"$enablestring" = xdisable; then
7042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7043 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7044 # Check whether --enable-datetime was given.
7045 if test "${enable_datetime+set}" = set; then
7046 enableval=$enable_datetime;
7047 if test "$enableval" = yes; then
7048 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7050 wx_cv_use_datetime='wxUSE_DATETIME=no'
7057 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7058 if test "x$LINE" != x ; then
7059 eval "DEFAULT_$LINE"
7062 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7067 eval "$wx_cv_use_datetime"
7068 if test "x$cache" = xyes; then
7069 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7072 if test x"$enablestring" = xdisable; then
7073 if test $wxUSE_DATETIME = yes; then
7079 result=$wxUSE_DATETIME
7082 { echo "$as_me:$LINENO: result: $result" >&5
7083 echo "${ECHO_T}$result" >&6; }
7087 defaultval=$wxUSE_ALL_FEATURES
7088 if test -z "$defaultval"; then
7089 if test x"$enablestring" = xdisable; then
7096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7097 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7098 # Check whether --enable-debugreport was given.
7099 if test "${enable_debugreport+set}" = set; then
7100 enableval=$enable_debugreport;
7101 if test "$enableval" = yes; then
7102 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7104 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7111 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7112 if test "x$LINE" != x ; then
7113 eval "DEFAULT_$LINE"
7116 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7121 eval "$wx_cv_use_debugreport"
7122 if test "x$cache" = xyes; then
7123 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7126 if test x"$enablestring" = xdisable; then
7127 if test $wxUSE_DEBUGREPORT = yes; then
7133 result=$wxUSE_DEBUGREPORT
7136 { echo "$as_me:$LINENO: result: $result" >&5
7137 echo "${ECHO_T}$result" >&6; }
7141 defaultval=$wxUSE_ALL_FEATURES
7142 if test -z "$defaultval"; then
7143 if test x"$enablestring" = xdisable; then
7150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7151 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7152 # Check whether --enable-dialupman was given.
7153 if test "${enable_dialupman+set}" = set; then
7154 enableval=$enable_dialupman;
7155 if test "$enableval" = yes; then
7156 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7158 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7165 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7166 if test "x$LINE" != x ; then
7167 eval "DEFAULT_$LINE"
7170 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7175 eval "$wx_cv_use_dialupman"
7176 if test "x$cache" = xyes; then
7177 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7180 if test x"$enablestring" = xdisable; then
7181 if test $wxUSE_DIALUP_MANAGER = yes; then
7187 result=$wxUSE_DIALUP_MANAGER
7190 { echo "$as_me:$LINENO: result: $result" >&5
7191 echo "${ECHO_T}$result" >&6; }
7195 defaultval=$wxUSE_ALL_FEATURES
7196 if test -z "$defaultval"; then
7197 if test x"$enablestring" = xdisable; then
7204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7205 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7206 # Check whether --enable-dynlib was given.
7207 if test "${enable_dynlib+set}" = set; then
7208 enableval=$enable_dynlib;
7209 if test "$enableval" = yes; then
7210 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7212 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7219 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7220 if test "x$LINE" != x ; then
7221 eval "DEFAULT_$LINE"
7224 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7229 eval "$wx_cv_use_dynlib"
7230 if test "x$cache" = xyes; then
7231 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7234 if test x"$enablestring" = xdisable; then
7235 if test $wxUSE_DYNLIB_CLASS = yes; then
7241 result=$wxUSE_DYNLIB_CLASS
7244 { echo "$as_me:$LINENO: result: $result" >&5
7245 echo "${ECHO_T}$result" >&6; }
7249 defaultval=$wxUSE_ALL_FEATURES
7250 if test -z "$defaultval"; then
7251 if test x"$enablestring" = xdisable; then
7258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7259 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7260 # Check whether --enable-dynamicloader was given.
7261 if test "${enable_dynamicloader+set}" = set; then
7262 enableval=$enable_dynamicloader;
7263 if test "$enableval" = yes; then
7264 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7266 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7273 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7274 if test "x$LINE" != x ; then
7275 eval "DEFAULT_$LINE"
7278 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7283 eval "$wx_cv_use_dynamicloader"
7284 if test "x$cache" = xyes; then
7285 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7288 if test x"$enablestring" = xdisable; then
7289 if test $wxUSE_DYNAMIC_LOADER = yes; then
7295 result=$wxUSE_DYNAMIC_LOADER
7298 { echo "$as_me:$LINENO: result: $result" >&5
7299 echo "${ECHO_T}$result" >&6; }
7303 defaultval=$wxUSE_ALL_FEATURES
7304 if test -z "$defaultval"; then
7305 if test x"$enablestring" = xdisable; then
7312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7313 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7314 # Check whether --enable-exceptions was given.
7315 if test "${enable_exceptions+set}" = set; then
7316 enableval=$enable_exceptions;
7317 if test "$enableval" = yes; then
7318 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7320 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7327 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7328 if test "x$LINE" != x ; then
7329 eval "DEFAULT_$LINE"
7332 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7337 eval "$wx_cv_use_exceptions"
7338 if test "x$cache" = xyes; then
7339 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7342 if test x"$enablestring" = xdisable; then
7343 if test $wxUSE_EXCEPTIONS = yes; then
7349 result=$wxUSE_EXCEPTIONS
7352 { echo "$as_me:$LINENO: result: $result" >&5
7353 echo "${ECHO_T}$result" >&6; }
7357 defaultval=$wxUSE_ALL_FEATURES
7358 if test -z "$defaultval"; then
7359 if test x"$enablestring" = xdisable; then
7366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7367 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7368 # Check whether --enable-ffile was given.
7369 if test "${enable_ffile+set}" = set; then
7370 enableval=$enable_ffile;
7371 if test "$enableval" = yes; then
7372 wx_cv_use_ffile='wxUSE_FFILE=yes'
7374 wx_cv_use_ffile='wxUSE_FFILE=no'
7381 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7382 if test "x$LINE" != x ; then
7383 eval "DEFAULT_$LINE"
7386 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7391 eval "$wx_cv_use_ffile"
7392 if test "x$cache" = xyes; then
7393 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7396 if test x"$enablestring" = xdisable; then
7397 if test $wxUSE_FFILE = yes; then
7406 { echo "$as_me:$LINENO: result: $result" >&5
7407 echo "${ECHO_T}$result" >&6; }
7411 defaultval=$wxUSE_ALL_FEATURES
7412 if test -z "$defaultval"; then
7413 if test x"$enablestring" = xdisable; then
7420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7421 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7422 # Check whether --enable-file was given.
7423 if test "${enable_file+set}" = set; then
7424 enableval=$enable_file;
7425 if test "$enableval" = yes; then
7426 wx_cv_use_file='wxUSE_FILE=yes'
7428 wx_cv_use_file='wxUSE_FILE=no'
7435 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7436 if test "x$LINE" != x ; then
7437 eval "DEFAULT_$LINE"
7440 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7445 eval "$wx_cv_use_file"
7446 if test "x$cache" = xyes; then
7447 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7450 if test x"$enablestring" = xdisable; then
7451 if test $wxUSE_FILE = yes; then
7460 { echo "$as_me:$LINENO: result: $result" >&5
7461 echo "${ECHO_T}$result" >&6; }
7465 defaultval=$wxUSE_ALL_FEATURES
7466 if test -z "$defaultval"; then
7467 if test x"$enablestring" = xdisable; then
7474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7475 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7476 # Check whether --enable-filesystem was given.
7477 if test "${enable_filesystem+set}" = set; then
7478 enableval=$enable_filesystem;
7479 if test "$enableval" = yes; then
7480 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7482 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7489 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7490 if test "x$LINE" != x ; then
7491 eval "DEFAULT_$LINE"
7494 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7499 eval "$wx_cv_use_filesystem"
7500 if test "x$cache" = xyes; then
7501 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7504 if test x"$enablestring" = xdisable; then
7505 if test $wxUSE_FILESYSTEM = yes; then
7511 result=$wxUSE_FILESYSTEM
7514 { echo "$as_me:$LINENO: result: $result" >&5
7515 echo "${ECHO_T}$result" >&6; }
7519 defaultval=$wxUSE_ALL_FEATURES
7520 if test -z "$defaultval"; then
7521 if test x"$enablestring" = xdisable; then
7528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7529 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7530 # Check whether --enable-fontenum was given.
7531 if test "${enable_fontenum+set}" = set; then
7532 enableval=$enable_fontenum;
7533 if test "$enableval" = yes; then
7534 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7536 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7543 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7544 if test "x$LINE" != x ; then
7545 eval "DEFAULT_$LINE"
7548 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7553 eval "$wx_cv_use_fontenum"
7554 if test "x$cache" = xyes; then
7555 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7558 if test x"$enablestring" = xdisable; then
7559 if test $wxUSE_FONTENUM = yes; then
7565 result=$wxUSE_FONTENUM
7568 { echo "$as_me:$LINENO: result: $result" >&5
7569 echo "${ECHO_T}$result" >&6; }
7573 defaultval=$wxUSE_ALL_FEATURES
7574 if test -z "$defaultval"; then
7575 if test x"$enablestring" = xdisable; then
7582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7583 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7584 # Check whether --enable-fontmap was given.
7585 if test "${enable_fontmap+set}" = set; then
7586 enableval=$enable_fontmap;
7587 if test "$enableval" = yes; then
7588 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7590 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7597 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7598 if test "x$LINE" != x ; then
7599 eval "DEFAULT_$LINE"
7602 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7607 eval "$wx_cv_use_fontmap"
7608 if test "x$cache" = xyes; then
7609 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7612 if test x"$enablestring" = xdisable; then
7613 if test $wxUSE_FONTMAP = yes; then
7619 result=$wxUSE_FONTMAP
7622 { echo "$as_me:$LINENO: result: $result" >&5
7623 echo "${ECHO_T}$result" >&6; }
7627 defaultval=$wxUSE_ALL_FEATURES
7628 if test -z "$defaultval"; then
7629 if test x"$enablestring" = xdisable; then
7636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7637 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7638 # Check whether --enable-fs_archive was given.
7639 if test "${enable_fs_archive+set}" = set; then
7640 enableval=$enable_fs_archive;
7641 if test "$enableval" = yes; then
7642 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7644 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7651 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7652 if test "x$LINE" != x ; then
7653 eval "DEFAULT_$LINE"
7656 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7661 eval "$wx_cv_use_fs_archive"
7662 if test "x$cache" = xyes; then
7663 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7666 if test x"$enablestring" = xdisable; then
7667 if test $wxUSE_FS_ARCHIVE = yes; then
7673 result=$wxUSE_FS_ARCHIVE
7676 { echo "$as_me:$LINENO: result: $result" >&5
7677 echo "${ECHO_T}$result" >&6; }
7681 defaultval=$wxUSE_ALL_FEATURES
7682 if test -z "$defaultval"; then
7683 if test x"$enablestring" = xdisable; then
7690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7691 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7692 # Check whether --enable-fs_inet was given.
7693 if test "${enable_fs_inet+set}" = set; then
7694 enableval=$enable_fs_inet;
7695 if test "$enableval" = yes; then
7696 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7698 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7705 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7706 if test "x$LINE" != x ; then
7707 eval "DEFAULT_$LINE"
7710 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7715 eval "$wx_cv_use_fs_inet"
7716 if test "x$cache" = xyes; then
7717 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7720 if test x"$enablestring" = xdisable; then
7721 if test $wxUSE_FS_INET = yes; then
7727 result=$wxUSE_FS_INET
7730 { echo "$as_me:$LINENO: result: $result" >&5
7731 echo "${ECHO_T}$result" >&6; }
7735 defaultval=$wxUSE_ALL_FEATURES
7736 if test -z "$defaultval"; then
7737 if test x"$enablestring" = xdisable; then
7744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7745 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7746 # Check whether --enable-fs_zip was given.
7747 if test "${enable_fs_zip+set}" = set; then
7748 enableval=$enable_fs_zip;
7749 if test "$enableval" = yes; then
7750 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7752 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7759 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7760 if test "x$LINE" != x ; then
7761 eval "DEFAULT_$LINE"
7764 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7769 eval "$wx_cv_use_fs_zip"
7770 if test "x$cache" = xyes; then
7771 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7774 if test x"$enablestring" = xdisable; then
7775 if test $wxUSE_FS_ZIP = yes; then
7781 result=$wxUSE_FS_ZIP
7784 { echo "$as_me:$LINENO: result: $result" >&5
7785 echo "${ECHO_T}$result" >&6; }
7789 defaultval=$wxUSE_ALL_FEATURES
7790 if test -z "$defaultval"; then
7791 if test x"$enablestring" = xdisable; then
7798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7799 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7800 # Check whether --enable-geometry was given.
7801 if test "${enable_geometry+set}" = set; then
7802 enableval=$enable_geometry;
7803 if test "$enableval" = yes; then
7804 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7806 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7813 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7814 if test "x$LINE" != x ; then
7815 eval "DEFAULT_$LINE"
7818 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7823 eval "$wx_cv_use_geometry"
7824 if test "x$cache" = xyes; then
7825 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
7828 if test x"$enablestring" = xdisable; then
7829 if test $wxUSE_GEOMETRY = yes; then
7835 result=$wxUSE_GEOMETRY
7838 { echo "$as_me:$LINENO: result: $result" >&5
7839 echo "${ECHO_T}$result" >&6; }
7843 defaultval=$wxUSE_ALL_FEATURES
7844 if test -z "$defaultval"; then
7845 if test x"$enablestring" = xdisable; then
7852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7853 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7854 # Check whether --enable-log was given.
7855 if test "${enable_log+set}" = set; then
7856 enableval=$enable_log;
7857 if test "$enableval" = yes; then
7858 wx_cv_use_log='wxUSE_LOG=yes'
7860 wx_cv_use_log='wxUSE_LOG=no'
7867 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7868 if test "x$LINE" != x ; then
7869 eval "DEFAULT_$LINE"
7872 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7877 eval "$wx_cv_use_log"
7878 if test "x$cache" = xyes; then
7879 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
7882 if test x"$enablestring" = xdisable; then
7883 if test $wxUSE_LOG = yes; then
7892 { echo "$as_me:$LINENO: result: $result" >&5
7893 echo "${ECHO_T}$result" >&6; }
7897 defaultval=$wxUSE_ALL_FEATURES
7898 if test -z "$defaultval"; then
7899 if test x"$enablestring" = xdisable; then
7906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7907 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7908 # Check whether --enable-longlong was given.
7909 if test "${enable_longlong+set}" = set; then
7910 enableval=$enable_longlong;
7911 if test "$enableval" = yes; then
7912 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7914 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7921 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7922 if test "x$LINE" != x ; then
7923 eval "DEFAULT_$LINE"
7926 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7931 eval "$wx_cv_use_longlong"
7932 if test "x$cache" = xyes; then
7933 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
7936 if test x"$enablestring" = xdisable; then
7937 if test $wxUSE_LONGLONG = yes; then
7943 result=$wxUSE_LONGLONG
7946 { echo "$as_me:$LINENO: result: $result" >&5
7947 echo "${ECHO_T}$result" >&6; }
7951 defaultval=$wxUSE_ALL_FEATURES
7952 if test -z "$defaultval"; then
7953 if test x"$enablestring" = xdisable; then
7960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7961 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7962 # Check whether --enable-mimetype was given.
7963 if test "${enable_mimetype+set}" = set; then
7964 enableval=$enable_mimetype;
7965 if test "$enableval" = yes; then
7966 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7968 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7975 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7976 if test "x$LINE" != x ; then
7977 eval "DEFAULT_$LINE"
7980 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7985 eval "$wx_cv_use_mimetype"
7986 if test "x$cache" = xyes; then
7987 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
7990 if test x"$enablestring" = xdisable; then
7991 if test $wxUSE_MIMETYPE = yes; then
7997 result=$wxUSE_MIMETYPE
8000 { echo "$as_me:$LINENO: result: $result" >&5
8001 echo "${ECHO_T}$result" >&6; }
8005 defaultval=$wxUSE_ALL_FEATURES
8006 if test -z "$defaultval"; then
8007 if test x"$enablestring" = xdisable; then
8014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8015 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8016 # Check whether --enable-snglinst was given.
8017 if test "${enable_snglinst+set}" = set; then
8018 enableval=$enable_snglinst;
8019 if test "$enableval" = yes; then
8020 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8022 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8029 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8030 if test "x$LINE" != x ; then
8031 eval "DEFAULT_$LINE"
8034 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8039 eval "$wx_cv_use_snglinst"
8040 if test "x$cache" = xyes; then
8041 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8044 if test x"$enablestring" = xdisable; then
8045 if test $wxUSE_SNGLINST_CHECKER = yes; then
8051 result=$wxUSE_SNGLINST_CHECKER
8054 { echo "$as_me:$LINENO: result: $result" >&5
8055 echo "${ECHO_T}$result" >&6; }
8059 defaultval=$wxUSE_ALL_FEATURES
8060 if test -z "$defaultval"; then
8061 if test x"$enablestring" = xdisable; then
8068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8069 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8070 # Check whether --enable-stdpaths was given.
8071 if test "${enable_stdpaths+set}" = set; then
8072 enableval=$enable_stdpaths;
8073 if test "$enableval" = yes; then
8074 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8076 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8083 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8084 if test "x$LINE" != x ; then
8085 eval "DEFAULT_$LINE"
8088 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8093 eval "$wx_cv_use_stdpaths"
8094 if test "x$cache" = xyes; then
8095 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8098 if test x"$enablestring" = xdisable; then
8099 if test $wxUSE_STDPATHS = yes; then
8105 result=$wxUSE_STDPATHS
8108 { echo "$as_me:$LINENO: result: $result" >&5
8109 echo "${ECHO_T}$result" >&6; }
8113 defaultval=$wxUSE_ALL_FEATURES
8114 if test -z "$defaultval"; then
8115 if test x"$enablestring" = xdisable; then
8122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8123 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8124 # Check whether --enable-stopwatch was given.
8125 if test "${enable_stopwatch+set}" = set; then
8126 enableval=$enable_stopwatch;
8127 if test "$enableval" = yes; then
8128 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8130 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8137 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8138 if test "x$LINE" != x ; then
8139 eval "DEFAULT_$LINE"
8142 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8147 eval "$wx_cv_use_stopwatch"
8148 if test "x$cache" = xyes; then
8149 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8152 if test x"$enablestring" = xdisable; then
8153 if test $wxUSE_STOPWATCH = yes; then
8159 result=$wxUSE_STOPWATCH
8162 { echo "$as_me:$LINENO: result: $result" >&5
8163 echo "${ECHO_T}$result" >&6; }
8167 defaultval=$wxUSE_ALL_FEATURES
8168 if test -z "$defaultval"; then
8169 if test x"$enablestring" = xdisable; then
8176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8177 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8178 # Check whether --enable-streams was given.
8179 if test "${enable_streams+set}" = set; then
8180 enableval=$enable_streams;
8181 if test "$enableval" = yes; then
8182 wx_cv_use_streams='wxUSE_STREAMS=yes'
8184 wx_cv_use_streams='wxUSE_STREAMS=no'
8191 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8192 if test "x$LINE" != x ; then
8193 eval "DEFAULT_$LINE"
8196 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8201 eval "$wx_cv_use_streams"
8202 if test "x$cache" = xyes; then
8203 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8206 if test x"$enablestring" = xdisable; then
8207 if test $wxUSE_STREAMS = yes; then
8213 result=$wxUSE_STREAMS
8216 { echo "$as_me:$LINENO: result: $result" >&5
8217 echo "${ECHO_T}$result" >&6; }
8221 defaultval=$wxUSE_ALL_FEATURES
8222 if test -z "$defaultval"; then
8223 if test x"$enablestring" = xdisable; then
8230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8231 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8232 # Check whether --enable-system_options was given.
8233 if test "${enable_system_options+set}" = set; then
8234 enableval=$enable_system_options;
8235 if test "$enableval" = yes; then
8236 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8238 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8245 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8246 if test "x$LINE" != x ; then
8247 eval "DEFAULT_$LINE"
8250 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8255 eval "$wx_cv_use_system_options"
8256 if test "x$cache" = xyes; then
8257 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8260 if test x"$enablestring" = xdisable; then
8261 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8267 result=$wxUSE_SYSTEM_OPTIONS
8270 { echo "$as_me:$LINENO: result: $result" >&5
8271 echo "${ECHO_T}$result" >&6; }
8275 defaultval=$wxUSE_ALL_FEATURES
8276 if test -z "$defaultval"; then
8277 if test x"$enablestring" = xdisable; then
8284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8285 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8286 # Check whether --enable-tarstream was given.
8287 if test "${enable_tarstream+set}" = set; then
8288 enableval=$enable_tarstream;
8289 if test "$enableval" = yes; then
8290 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8292 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8299 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8300 if test "x$LINE" != x ; then
8301 eval "DEFAULT_$LINE"
8304 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8309 eval "$wx_cv_use_tarstream"
8310 if test "x$cache" = xyes; then
8311 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8314 if test x"$enablestring" = xdisable; then
8315 if test $wxUSE_TARSTREAM = yes; then
8321 result=$wxUSE_TARSTREAM
8324 { echo "$as_me:$LINENO: result: $result" >&5
8325 echo "${ECHO_T}$result" >&6; }
8329 defaultval=$wxUSE_ALL_FEATURES
8330 if test -z "$defaultval"; then
8331 if test x"$enablestring" = xdisable; then
8338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8339 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8340 # Check whether --enable-textbuf was given.
8341 if test "${enable_textbuf+set}" = set; then
8342 enableval=$enable_textbuf;
8343 if test "$enableval" = yes; then
8344 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8346 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8353 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8354 if test "x$LINE" != x ; then
8355 eval "DEFAULT_$LINE"
8358 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8363 eval "$wx_cv_use_textbuf"
8364 if test "x$cache" = xyes; then
8365 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8368 if test x"$enablestring" = xdisable; then
8369 if test $wxUSE_TEXTBUFFER = yes; then
8375 result=$wxUSE_TEXTBUFFER
8378 { echo "$as_me:$LINENO: result: $result" >&5
8379 echo "${ECHO_T}$result" >&6; }
8383 defaultval=$wxUSE_ALL_FEATURES
8384 if test -z "$defaultval"; then
8385 if test x"$enablestring" = xdisable; then
8392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8393 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8394 # Check whether --enable-textfile was given.
8395 if test "${enable_textfile+set}" = set; then
8396 enableval=$enable_textfile;
8397 if test "$enableval" = yes; then
8398 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8400 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8407 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8408 if test "x$LINE" != x ; then
8409 eval "DEFAULT_$LINE"
8412 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8417 eval "$wx_cv_use_textfile"
8418 if test "x$cache" = xyes; then
8419 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8422 if test x"$enablestring" = xdisable; then
8423 if test $wxUSE_TEXTFILE = yes; then
8429 result=$wxUSE_TEXTFILE
8432 { echo "$as_me:$LINENO: result: $result" >&5
8433 echo "${ECHO_T}$result" >&6; }
8437 defaultval=$wxUSE_ALL_FEATURES
8438 if test -z "$defaultval"; then
8439 if test x"$enablestring" = xdisable; then
8446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8447 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8448 # Check whether --enable-timer was given.
8449 if test "${enable_timer+set}" = set; then
8450 enableval=$enable_timer;
8451 if test "$enableval" = yes; then
8452 wx_cv_use_timer='wxUSE_TIMER=yes'
8454 wx_cv_use_timer='wxUSE_TIMER=no'
8461 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8462 if test "x$LINE" != x ; then
8463 eval "DEFAULT_$LINE"
8466 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8471 eval "$wx_cv_use_timer"
8472 if test "x$cache" = xyes; then
8473 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8476 if test x"$enablestring" = xdisable; then
8477 if test $wxUSE_TIMER = yes; then
8486 { echo "$as_me:$LINENO: result: $result" >&5
8487 echo "${ECHO_T}$result" >&6; }
8491 defaultval=$wxUSE_ALL_FEATURES
8492 if test -z "$defaultval"; then
8493 if test x"$enablestring" = xdisable; then
8500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8501 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8502 # Check whether --enable-sound was given.
8503 if test "${enable_sound+set}" = set; then
8504 enableval=$enable_sound;
8505 if test "$enableval" = yes; then
8506 wx_cv_use_sound='wxUSE_SOUND=yes'
8508 wx_cv_use_sound='wxUSE_SOUND=no'
8515 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8516 if test "x$LINE" != x ; then
8517 eval "DEFAULT_$LINE"
8520 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8525 eval "$wx_cv_use_sound"
8526 if test "x$cache" = xyes; then
8527 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8530 if test x"$enablestring" = xdisable; then
8531 if test $wxUSE_SOUND = yes; then
8540 { echo "$as_me:$LINENO: result: $result" >&5
8541 echo "${ECHO_T}$result" >&6; }
8545 defaultval=$wxUSE_ALL_FEATURES
8546 if test -z "$defaultval"; then
8547 if test x"$enablestring" = xdisable; then
8554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8555 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8556 # Check whether --enable-mediactrl was given.
8557 if test "${enable_mediactrl+set}" = set; then
8558 enableval=$enable_mediactrl;
8559 if test "$enableval" = yes; then
8560 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8562 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8569 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8570 if test "x$LINE" != x ; then
8571 eval "DEFAULT_$LINE"
8574 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8579 eval "$wx_cv_use_mediactrl"
8580 if test "x$cache" = xyes; then
8581 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8584 if test x"$enablestring" = xdisable; then
8585 if test $wxUSE_MEDIACTRL = yes; then
8591 result=$wxUSE_MEDIACTRL
8594 { echo "$as_me:$LINENO: result: $result" >&5
8595 echo "${ECHO_T}$result" >&6; }
8599 defaultval=$wxUSE_ALL_FEATURES
8600 if test -z "$defaultval"; then
8601 if test x"$enablestring" = xdisable; then
8608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8609 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8610 # Check whether --enable-gstreamer8 was given.
8611 if test "${enable_gstreamer8+set}" = set; then
8612 enableval=$enable_gstreamer8;
8613 if test "$enableval" = yes; then
8614 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8616 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8623 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8624 if test "x$LINE" != x ; then
8625 eval "DEFAULT_$LINE"
8628 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8633 eval "$wx_cv_use_gstreamer8"
8634 if test "x$cache" = xyes; then
8635 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8638 if test x"$enablestring" = xdisable; then
8639 if test $wxUSE_GSTREAMER8 = yes; then
8645 result=$wxUSE_GSTREAMER8
8648 { echo "$as_me:$LINENO: result: $result" >&5
8649 echo "${ECHO_T}$result" >&6; }
8653 defaultval=$wxUSE_ALL_FEATURES
8654 if test -z "$defaultval"; then
8655 if test x"$enablestring" = xdisable; then
8662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8663 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8664 # Check whether --enable-printfposparam was given.
8665 if test "${enable_printfposparam+set}" = set; then
8666 enableval=$enable_printfposparam;
8667 if test "$enableval" = yes; then
8668 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8670 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8677 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8678 if test "x$LINE" != x ; then
8679 eval "DEFAULT_$LINE"
8682 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8687 eval "$wx_cv_use_printfposparam"
8688 if test "x$cache" = xyes; then
8689 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8692 if test x"$enablestring" = xdisable; then
8693 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8699 result=$wxUSE_PRINTF_POS_PARAMS
8702 { echo "$as_me:$LINENO: result: $result" >&5
8703 echo "${ECHO_T}$result" >&6; }
8707 defaultval=$wxUSE_ALL_FEATURES
8708 if test -z "$defaultval"; then
8709 if test x"$enablestring" = xdisable; then
8716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8717 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8718 # Check whether --enable-zipstream was given.
8719 if test "${enable_zipstream+set}" = set; then
8720 enableval=$enable_zipstream;
8721 if test "$enableval" = yes; then
8722 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8724 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8731 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8732 if test "x$LINE" != x ; then
8733 eval "DEFAULT_$LINE"
8736 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8741 eval "$wx_cv_use_zipstream"
8742 if test "x$cache" = xyes; then
8743 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8746 if test x"$enablestring" = xdisable; then
8747 if test $wxUSE_ZIPSTREAM = yes; then
8753 result=$wxUSE_ZIPSTREAM
8756 { echo "$as_me:$LINENO: result: $result" >&5
8757 echo "${ECHO_T}$result" >&6; }
8762 defaultval=$wxUSE_ALL_FEATURES
8763 if test -z "$defaultval"; then
8764 if test x"$enablestring" = xdisable; then
8771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8772 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8773 # Check whether --enable-url was given.
8774 if test "${enable_url+set}" = set; then
8775 enableval=$enable_url;
8776 if test "$enableval" = yes; then
8777 wx_cv_use_url='wxUSE_URL=yes'
8779 wx_cv_use_url='wxUSE_URL=no'
8786 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8787 if test "x$LINE" != x ; then
8788 eval "DEFAULT_$LINE"
8791 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8796 eval "$wx_cv_use_url"
8797 if test "x$cache" = xyes; then
8798 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
8801 if test x"$enablestring" = xdisable; then
8802 if test $wxUSE_URL = yes; then
8811 { echo "$as_me:$LINENO: result: $result" >&5
8812 echo "${ECHO_T}$result" >&6; }
8816 defaultval=$wxUSE_ALL_FEATURES
8817 if test -z "$defaultval"; then
8818 if test x"$enablestring" = xdisable; then
8825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8826 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8827 # Check whether --enable-variant was given.
8828 if test "${enable_variant+set}" = set; then
8829 enableval=$enable_variant;
8830 if test "$enableval" = yes; then
8831 wx_cv_use_variant='wxUSE_VARIANT=yes'
8833 wx_cv_use_variant='wxUSE_VARIANT=no'
8840 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8841 if test "x$LINE" != x ; then
8842 eval "DEFAULT_$LINE"
8845 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8850 eval "$wx_cv_use_variant"
8851 if test "x$cache" = xyes; then
8852 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
8855 if test x"$enablestring" = xdisable; then
8856 if test $wxUSE_VARIANT = yes; then
8862 result=$wxUSE_VARIANT
8865 { echo "$as_me:$LINENO: result: $result" >&5
8866 echo "${ECHO_T}$result" >&6; }
8870 defaultval=$wxUSE_ALL_FEATURES
8871 if test -z "$defaultval"; then
8872 if test x"$enablestring" = xdisable; then
8879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8880 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8881 # Check whether --enable-protocol was given.
8882 if test "${enable_protocol+set}" = set; then
8883 enableval=$enable_protocol;
8884 if test "$enableval" = yes; then
8885 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8887 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8894 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8895 if test "x$LINE" != x ; then
8896 eval "DEFAULT_$LINE"
8899 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8904 eval "$wx_cv_use_protocol"
8905 if test "x$cache" = xyes; then
8906 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
8909 if test x"$enablestring" = xdisable; then
8910 if test $wxUSE_PROTOCOL = yes; then
8916 result=$wxUSE_PROTOCOL
8919 { echo "$as_me:$LINENO: result: $result" >&5
8920 echo "${ECHO_T}$result" >&6; }
8924 defaultval=$wxUSE_ALL_FEATURES
8925 if test -z "$defaultval"; then
8926 if test x"$enablestring" = xdisable; then
8933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8934 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8935 # Check whether --enable-protocol_http was given.
8936 if test "${enable_protocol_http+set}" = set; then
8937 enableval=$enable_protocol_http;
8938 if test "$enableval" = yes; then
8939 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8941 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8948 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8949 if test "x$LINE" != x ; then
8950 eval "DEFAULT_$LINE"
8953 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8958 eval "$wx_cv_use_protocol_http"
8959 if test "x$cache" = xyes; then
8960 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
8963 if test x"$enablestring" = xdisable; then
8964 if test $wxUSE_PROTOCOL_HTTP = yes; then
8970 result=$wxUSE_PROTOCOL_HTTP
8973 { echo "$as_me:$LINENO: result: $result" >&5
8974 echo "${ECHO_T}$result" >&6; }
8978 defaultval=$wxUSE_ALL_FEATURES
8979 if test -z "$defaultval"; then
8980 if test x"$enablestring" = xdisable; then
8987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8988 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8989 # Check whether --enable-protocol_ftp was given.
8990 if test "${enable_protocol_ftp+set}" = set; then
8991 enableval=$enable_protocol_ftp;
8992 if test "$enableval" = yes; then
8993 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8995 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9002 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9003 if test "x$LINE" != x ; then
9004 eval "DEFAULT_$LINE"
9007 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9012 eval "$wx_cv_use_protocol_ftp"
9013 if test "x$cache" = xyes; then
9014 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9017 if test x"$enablestring" = xdisable; then
9018 if test $wxUSE_PROTOCOL_FTP = yes; then
9024 result=$wxUSE_PROTOCOL_FTP
9027 { echo "$as_me:$LINENO: result: $result" >&5
9028 echo "${ECHO_T}$result" >&6; }
9032 defaultval=$wxUSE_ALL_FEATURES
9033 if test -z "$defaultval"; then
9034 if test x"$enablestring" = xdisable; then
9041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9042 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9043 # Check whether --enable-protocol_file was given.
9044 if test "${enable_protocol_file+set}" = set; then
9045 enableval=$enable_protocol_file;
9046 if test "$enableval" = yes; then
9047 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9049 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9056 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9057 if test "x$LINE" != x ; then
9058 eval "DEFAULT_$LINE"
9061 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9066 eval "$wx_cv_use_protocol_file"
9067 if test "x$cache" = xyes; then
9068 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9071 if test x"$enablestring" = xdisable; then
9072 if test $wxUSE_PROTOCOL_FILE = yes; then
9078 result=$wxUSE_PROTOCOL_FILE
9081 { echo "$as_me:$LINENO: result: $result" >&5
9082 echo "${ECHO_T}$result" >&6; }
9087 defaultval=$wxUSE_ALL_FEATURES
9088 if test -z "$defaultval"; then
9089 if test x"$enablestring" = xdisable; then
9096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9097 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9098 # Check whether --enable-threads was given.
9099 if test "${enable_threads+set}" = set; then
9100 enableval=$enable_threads;
9101 if test "$enableval" = yes; then
9102 wx_cv_use_threads='wxUSE_THREADS=yes'
9104 wx_cv_use_threads='wxUSE_THREADS=no'
9111 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9112 if test "x$LINE" != x ; then
9113 eval "DEFAULT_$LINE"
9116 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9121 eval "$wx_cv_use_threads"
9122 if test "x$cache" = xyes; then
9123 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9126 if test x"$enablestring" = xdisable; then
9127 if test $wxUSE_THREADS = yes; then
9133 result=$wxUSE_THREADS
9136 { echo "$as_me:$LINENO: result: $result" >&5
9137 echo "${ECHO_T}$result" >&6; }
9140 if test "$wxUSE_GUI" = "yes"; then
9145 defaultval=$wxUSE_ALL_FEATURES
9146 if test -z "$defaultval"; then
9147 if test x"$enablestring" = xdisable; then
9154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9155 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9156 # Check whether --enable-docview was given.
9157 if test "${enable_docview+set}" = set; then
9158 enableval=$enable_docview;
9159 if test "$enableval" = yes; then
9160 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9162 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9169 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9170 if test "x$LINE" != x ; then
9171 eval "DEFAULT_$LINE"
9174 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9179 eval "$wx_cv_use_docview"
9180 if test "x$cache" = xyes; then
9181 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9184 if test x"$enablestring" = xdisable; then
9185 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9191 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9194 { echo "$as_me:$LINENO: result: $result" >&5
9195 echo "${ECHO_T}$result" >&6; }
9199 defaultval=$wxUSE_ALL_FEATURES
9200 if test -z "$defaultval"; then
9201 if test x"$enablestring" = xdisable; then
9208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9209 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9210 # Check whether --enable-help was given.
9211 if test "${enable_help+set}" = set; then
9212 enableval=$enable_help;
9213 if test "$enableval" = yes; then
9214 wx_cv_use_help='wxUSE_HELP=yes'
9216 wx_cv_use_help='wxUSE_HELP=no'
9223 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9224 if test "x$LINE" != x ; then
9225 eval "DEFAULT_$LINE"
9228 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9233 eval "$wx_cv_use_help"
9234 if test "x$cache" = xyes; then
9235 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9238 if test x"$enablestring" = xdisable; then
9239 if test $wxUSE_HELP = yes; then
9248 { echo "$as_me:$LINENO: result: $result" >&5
9249 echo "${ECHO_T}$result" >&6; }
9253 defaultval=$wxUSE_ALL_FEATURES
9254 if test -z "$defaultval"; then
9255 if test x"$enablestring" = xdisable; then
9262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9263 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9264 # Check whether --enable-mshtmlhelp was given.
9265 if test "${enable_mshtmlhelp+set}" = set; then
9266 enableval=$enable_mshtmlhelp;
9267 if test "$enableval" = yes; then
9268 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9270 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9277 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9278 if test "x$LINE" != x ; then
9279 eval "DEFAULT_$LINE"
9282 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9287 eval "$wx_cv_use_mshtmlhelp"
9288 if test "x$cache" = xyes; then
9289 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9292 if test x"$enablestring" = xdisable; then
9293 if test $wxUSE_MS_HTML_HELP = yes; then
9299 result=$wxUSE_MS_HTML_HELP
9302 { echo "$as_me:$LINENO: result: $result" >&5
9303 echo "${ECHO_T}$result" >&6; }
9307 defaultval=$wxUSE_ALL_FEATURES
9308 if test -z "$defaultval"; then
9309 if test x"$enablestring" = xdisable; then
9316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9317 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9318 # Check whether --enable-html was given.
9319 if test "${enable_html+set}" = set; then
9320 enableval=$enable_html;
9321 if test "$enableval" = yes; then
9322 wx_cv_use_html='wxUSE_HTML=yes'
9324 wx_cv_use_html='wxUSE_HTML=no'
9331 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9332 if test "x$LINE" != x ; then
9333 eval "DEFAULT_$LINE"
9336 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9341 eval "$wx_cv_use_html"
9342 if test "x$cache" = xyes; then
9343 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9346 if test x"$enablestring" = xdisable; then
9347 if test $wxUSE_HTML = yes; then
9356 { echo "$as_me:$LINENO: result: $result" >&5
9357 echo "${ECHO_T}$result" >&6; }
9361 defaultval=$wxUSE_ALL_FEATURES
9362 if test -z "$defaultval"; then
9363 if test x"$enablestring" = xdisable; then
9370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9371 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9372 # Check whether --enable-htmlhelp was given.
9373 if test "${enable_htmlhelp+set}" = set; then
9374 enableval=$enable_htmlhelp;
9375 if test "$enableval" = yes; then
9376 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9378 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9385 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9386 if test "x$LINE" != x ; then
9387 eval "DEFAULT_$LINE"
9390 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9395 eval "$wx_cv_use_htmlhelp"
9396 if test "x$cache" = xyes; then
9397 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9400 if test x"$enablestring" = xdisable; then
9401 if test $wxUSE_WXHTML_HELP = yes; then
9407 result=$wxUSE_WXHTML_HELP
9410 { echo "$as_me:$LINENO: result: $result" >&5
9411 echo "${ECHO_T}$result" >&6; }
9415 defaultval=$wxUSE_ALL_FEATURES
9416 if test -z "$defaultval"; then
9417 if test x"$enablestring" = xdisable; then
9424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9425 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9426 # Check whether --enable-xrc was given.
9427 if test "${enable_xrc+set}" = set; then
9428 enableval=$enable_xrc;
9429 if test "$enableval" = yes; then
9430 wx_cv_use_xrc='wxUSE_XRC=yes'
9432 wx_cv_use_xrc='wxUSE_XRC=no'
9439 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9440 if test "x$LINE" != x ; then
9441 eval "DEFAULT_$LINE"
9444 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9449 eval "$wx_cv_use_xrc"
9450 if test "x$cache" = xyes; then
9451 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9454 if test x"$enablestring" = xdisable; then
9455 if test $wxUSE_XRC = yes; then
9464 { echo "$as_me:$LINENO: result: $result" >&5
9465 echo "${ECHO_T}$result" >&6; }
9469 defaultval=$wxUSE_ALL_FEATURES
9470 if test -z "$defaultval"; then
9471 if test x"$enablestring" = xdisable; then
9478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9479 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9480 # Check whether --enable-aui was given.
9481 if test "${enable_aui+set}" = set; then
9482 enableval=$enable_aui;
9483 if test "$enableval" = yes; then
9484 wx_cv_use_aui='wxUSE_AUI=yes'
9486 wx_cv_use_aui='wxUSE_AUI=no'
9493 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9494 if test "x$LINE" != x ; then
9495 eval "DEFAULT_$LINE"
9498 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9503 eval "$wx_cv_use_aui"
9504 if test "x$cache" = xyes; then
9505 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9508 if test x"$enablestring" = xdisable; then
9509 if test $wxUSE_AUI = yes; then
9518 { echo "$as_me:$LINENO: result: $result" >&5
9519 echo "${ECHO_T}$result" >&6; }
9523 defaultval=$wxUSE_ALL_FEATURES
9524 if test -z "$defaultval"; then
9525 if test x"$enablestring" = xdisable; then
9532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9533 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9534 # Check whether --enable-stc was given.
9535 if test "${enable_stc+set}" = set; then
9536 enableval=$enable_stc;
9537 if test "$enableval" = yes; then
9538 wx_cv_use_stc='wxUSE_STC=yes'
9540 wx_cv_use_stc='wxUSE_STC=no'
9547 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9548 if test "x$LINE" != x ; then
9549 eval "DEFAULT_$LINE"
9552 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9557 eval "$wx_cv_use_stc"
9558 if test "x$cache" = xyes; then
9559 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9562 if test x"$enablestring" = xdisable; then
9563 if test $wxUSE_STC = yes; then
9572 { echo "$as_me:$LINENO: result: $result" >&5
9573 echo "${ECHO_T}$result" >&6; }
9577 defaultval=$wxUSE_ALL_FEATURES
9578 if test -z "$defaultval"; then
9579 if test x"$enablestring" = xdisable; then
9586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9587 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9588 # Check whether --enable-constraints was given.
9589 if test "${enable_constraints+set}" = set; then
9590 enableval=$enable_constraints;
9591 if test "$enableval" = yes; then
9592 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9594 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9601 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9602 if test "x$LINE" != x ; then
9603 eval "DEFAULT_$LINE"
9606 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9611 eval "$wx_cv_use_constraints"
9612 if test "x$cache" = xyes; then
9613 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9616 if test x"$enablestring" = xdisable; then
9617 if test $wxUSE_CONSTRAINTS = yes; then
9623 result=$wxUSE_CONSTRAINTS
9626 { echo "$as_me:$LINENO: result: $result" >&5
9627 echo "${ECHO_T}$result" >&6; }
9631 defaultval=$wxUSE_ALL_FEATURES
9632 if test -z "$defaultval"; then
9633 if test x"$enablestring" = xdisable; then
9640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9641 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9642 # Check whether --enable-printarch was given.
9643 if test "${enable_printarch+set}" = set; then
9644 enableval=$enable_printarch;
9645 if test "$enableval" = yes; then
9646 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9648 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9655 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9656 if test "x$LINE" != x ; then
9657 eval "DEFAULT_$LINE"
9660 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9665 eval "$wx_cv_use_printarch"
9666 if test "x$cache" = xyes; then
9667 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9670 if test x"$enablestring" = xdisable; then
9671 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9677 result=$wxUSE_PRINTING_ARCHITECTURE
9680 { echo "$as_me:$LINENO: result: $result" >&5
9681 echo "${ECHO_T}$result" >&6; }
9685 defaultval=$wxUSE_ALL_FEATURES
9686 if test -z "$defaultval"; then
9687 if test x"$enablestring" = xdisable; then
9694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9695 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9696 # Check whether --enable-mdi was given.
9697 if test "${enable_mdi+set}" = set; then
9698 enableval=$enable_mdi;
9699 if test "$enableval" = yes; then
9700 wx_cv_use_mdi='wxUSE_MDI=yes'
9702 wx_cv_use_mdi='wxUSE_MDI=no'
9709 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9710 if test "x$LINE" != x ; then
9711 eval "DEFAULT_$LINE"
9714 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9719 eval "$wx_cv_use_mdi"
9720 if test "x$cache" = xyes; then
9721 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
9724 if test x"$enablestring" = xdisable; then
9725 if test $wxUSE_MDI = yes; then
9734 { echo "$as_me:$LINENO: result: $result" >&5
9735 echo "${ECHO_T}$result" >&6; }
9739 defaultval=$wxUSE_ALL_FEATURES
9740 if test -z "$defaultval"; then
9741 if test x"$enablestring" = xdisable; then
9748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9749 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9750 # Check whether --enable-mdidoc was given.
9751 if test "${enable_mdidoc+set}" = set; then
9752 enableval=$enable_mdidoc;
9753 if test "$enableval" = yes; then
9754 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9756 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9763 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9764 if test "x$LINE" != x ; then
9765 eval "DEFAULT_$LINE"
9768 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9773 eval "$wx_cv_use_mdidoc"
9774 if test "x$cache" = xyes; then
9775 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9778 if test x"$enablestring" = xdisable; then
9779 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9785 result=$wxUSE_MDI_ARCHITECTURE
9788 { echo "$as_me:$LINENO: result: $result" >&5
9789 echo "${ECHO_T}$result" >&6; }
9793 defaultval=$wxUSE_ALL_FEATURES
9794 if test -z "$defaultval"; then
9795 if test x"$enablestring" = xdisable; then
9802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9803 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9804 # Check whether --enable-loggui was given.
9805 if test "${enable_loggui+set}" = set; then
9806 enableval=$enable_loggui;
9807 if test "$enableval" = yes; then
9808 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9810 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9817 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9818 if test "x$LINE" != x ; then
9819 eval "DEFAULT_$LINE"
9822 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9827 eval "$wx_cv_use_loggui"
9828 if test "x$cache" = xyes; then
9829 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
9832 if test x"$enablestring" = xdisable; then
9833 if test $wxUSE_LOGGUI = yes; then
9839 result=$wxUSE_LOGGUI
9842 { echo "$as_me:$LINENO: result: $result" >&5
9843 echo "${ECHO_T}$result" >&6; }
9847 defaultval=$wxUSE_ALL_FEATURES
9848 if test -z "$defaultval"; then
9849 if test x"$enablestring" = xdisable; then
9856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9857 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9858 # Check whether --enable-logwin was given.
9859 if test "${enable_logwin+set}" = set; then
9860 enableval=$enable_logwin;
9861 if test "$enableval" = yes; then
9862 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9864 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9871 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9872 if test "x$LINE" != x ; then
9873 eval "DEFAULT_$LINE"
9876 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9881 eval "$wx_cv_use_logwin"
9882 if test "x$cache" = xyes; then
9883 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
9886 if test x"$enablestring" = xdisable; then
9887 if test $wxUSE_LOGWINDOW = yes; then
9893 result=$wxUSE_LOGWINDOW
9896 { echo "$as_me:$LINENO: result: $result" >&5
9897 echo "${ECHO_T}$result" >&6; }
9901 defaultval=$wxUSE_ALL_FEATURES
9902 if test -z "$defaultval"; then
9903 if test x"$enablestring" = xdisable; then
9910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9911 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9912 # Check whether --enable-logdialog was given.
9913 if test "${enable_logdialog+set}" = set; then
9914 enableval=$enable_logdialog;
9915 if test "$enableval" = yes; then
9916 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9918 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9925 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9926 if test "x$LINE" != x ; then
9927 eval "DEFAULT_$LINE"
9930 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9935 eval "$wx_cv_use_logdialog"
9936 if test "x$cache" = xyes; then
9937 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
9940 if test x"$enablestring" = xdisable; then
9941 if test $wxUSE_LOGDIALOG = yes; then
9947 result=$wxUSE_LOGDIALOG
9950 { echo "$as_me:$LINENO: result: $result" >&5
9951 echo "${ECHO_T}$result" >&6; }
9955 defaultval=$wxUSE_ALL_FEATURES
9956 if test -z "$defaultval"; then
9957 if test x"$enablestring" = xdisable; then
9964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9965 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9966 # Check whether --enable-webkit was given.
9967 if test "${enable_webkit+set}" = set; then
9968 enableval=$enable_webkit;
9969 if test "$enableval" = yes; then
9970 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9972 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9979 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9980 if test "x$LINE" != x ; then
9981 eval "DEFAULT_$LINE"
9984 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9989 eval "$wx_cv_use_webkit"
9990 if test "x$cache" = xyes; then
9991 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
9994 if test x"$enablestring" = xdisable; then
9995 if test $wxUSE_WEBKIT = yes; then
10001 result=$wxUSE_WEBKIT
10004 { echo "$as_me:$LINENO: result: $result" >&5
10005 echo "${ECHO_T}$result" >&6; }
10009 defaultval=$wxUSE_ALL_FEATURES
10010 if test -z "$defaultval"; then
10011 if test x"$enablestring" = xdisable; then
10018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10019 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10020 # Check whether --enable-richtext was given.
10021 if test "${enable_richtext+set}" = set; then
10022 enableval=$enable_richtext;
10023 if test "$enableval" = yes; then
10024 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10026 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10033 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10034 if test "x$LINE" != x ; then
10035 eval "DEFAULT_$LINE"
10038 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10043 eval "$wx_cv_use_richtext"
10044 if test "x$cache" = xyes; then
10045 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10048 if test x"$enablestring" = xdisable; then
10049 if test $wxUSE_RICHTEXT = yes; then
10055 result=$wxUSE_RICHTEXT
10058 { echo "$as_me:$LINENO: result: $result" >&5
10059 echo "${ECHO_T}$result" >&6; }
10063 defaultval=$wxUSE_ALL_FEATURES
10064 if test -z "$defaultval"; then
10065 if test x"$enablestring" = xdisable; then
10072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10073 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10074 # Check whether --enable-graphics_ctx was given.
10075 if test "${enable_graphics_ctx+set}" = set; then
10076 enableval=$enable_graphics_ctx;
10077 if test "$enableval" = yes; then
10078 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10080 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10087 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10088 if test "x$LINE" != x ; then
10089 eval "DEFAULT_$LINE"
10092 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10097 eval "$wx_cv_use_graphics_ctx"
10098 if test "x$cache" = xyes; then
10099 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10102 if test x"$enablestring" = xdisable; then
10103 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10109 result=$wxUSE_GRAPHICS_CONTEXT
10112 { echo "$as_me:$LINENO: result: $result" >&5
10113 echo "${ECHO_T}$result" >&6; }
10117 defaultval=$wxUSE_ALL_FEATURES
10118 if test -z "$defaultval"; then
10119 if test x"$enablestring" = xdisable; then
10126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10127 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10128 # Check whether --enable-postscript was given.
10129 if test "${enable_postscript+set}" = set; then
10130 enableval=$enable_postscript;
10131 if test "$enableval" = yes; then
10132 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10134 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10141 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10142 if test "x$LINE" != x ; then
10143 eval "DEFAULT_$LINE"
10146 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10151 eval "$wx_cv_use_postscript"
10152 if test "x$cache" = xyes; then
10153 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10156 if test x"$enablestring" = xdisable; then
10157 if test $wxUSE_POSTSCRIPT = yes; then
10163 result=$wxUSE_POSTSCRIPT
10166 { echo "$as_me:$LINENO: result: $result" >&5
10167 echo "${ECHO_T}$result" >&6; }
10171 defaultval=$wxUSE_ALL_FEATURES
10172 if test -z "$defaultval"; then
10173 if test x"$enablestring" = xdisable; then
10180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10181 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10182 # Check whether --enable-svg was given.
10183 if test "${enable_svg+set}" = set; then
10184 enableval=$enable_svg;
10185 if test "$enableval" = yes; then
10186 wx_cv_use_svg='wxUSE_SVG=yes'
10188 wx_cv_use_svg='wxUSE_SVG=no'
10195 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10196 if test "x$LINE" != x ; then
10197 eval "DEFAULT_$LINE"
10200 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10205 eval "$wx_cv_use_svg"
10206 if test "x$cache" = xyes; then
10207 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10210 if test x"$enablestring" = xdisable; then
10211 if test $wxUSE_SVG = yes; then
10220 { echo "$as_me:$LINENO: result: $result" >&5
10221 echo "${ECHO_T}$result" >&6; }
10227 defaultval=$wxUSE_ALL_FEATURES
10228 if test -z "$defaultval"; then
10229 if test x"$enablestring" = xdisable; then
10236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10237 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10238 # Check whether --enable-clipboard was given.
10239 if test "${enable_clipboard+set}" = set; then
10240 enableval=$enable_clipboard;
10241 if test "$enableval" = yes; then
10242 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10244 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10251 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10252 if test "x$LINE" != x ; then
10253 eval "DEFAULT_$LINE"
10256 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10261 eval "$wx_cv_use_clipboard"
10262 if test "x$cache" = xyes; then
10263 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10266 if test x"$enablestring" = xdisable; then
10267 if test $wxUSE_CLIPBOARD = yes; then
10273 result=$wxUSE_CLIPBOARD
10276 { echo "$as_me:$LINENO: result: $result" >&5
10277 echo "${ECHO_T}$result" >&6; }
10281 defaultval=$wxUSE_ALL_FEATURES
10282 if test -z "$defaultval"; then
10283 if test x"$enablestring" = xdisable; then
10290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10291 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10292 # Check whether --enable-dnd was given.
10293 if test "${enable_dnd+set}" = set; then
10294 enableval=$enable_dnd;
10295 if test "$enableval" = yes; then
10296 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10298 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10305 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10306 if test "x$LINE" != x ; then
10307 eval "DEFAULT_$LINE"
10310 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10315 eval "$wx_cv_use_dnd"
10316 if test "x$cache" = xyes; then
10317 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10320 if test x"$enablestring" = xdisable; then
10321 if test $wxUSE_DRAG_AND_DROP = yes; then
10327 result=$wxUSE_DRAG_AND_DROP
10330 { echo "$as_me:$LINENO: result: $result" >&5
10331 echo "${ECHO_T}$result" >&6; }
10335 defaultval=$wxUSE_ALL_FEATURES
10336 if test -z "$defaultval"; then
10337 if test x"$enablestring" = xdisable; then
10344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10345 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10346 # Check whether --enable-metafile was given.
10347 if test "${enable_metafile+set}" = set; then
10348 enableval=$enable_metafile;
10349 if test "$enableval" = yes; then
10350 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10352 wx_cv_use_metafile='wxUSE_METAFILE=no'
10359 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10360 if test "x$LINE" != x ; then
10361 eval "DEFAULT_$LINE"
10364 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10369 eval "$wx_cv_use_metafile"
10370 if test "x$cache" = xyes; then
10371 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10374 if test x"$enablestring" = xdisable; then
10375 if test $wxUSE_METAFILE = yes; then
10381 result=$wxUSE_METAFILE
10384 { echo "$as_me:$LINENO: result: $result" >&5
10385 echo "${ECHO_T}$result" >&6; }
10389 DEFAULT_wxUSE_CONTROLS=none
10391 enablestring=disable
10393 if test -z "$defaultval"; then
10394 if test x"$enablestring" = xdisable; then
10401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10402 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10403 # Check whether --enable-controls was given.
10404 if test "${enable_controls+set}" = set; then
10405 enableval=$enable_controls;
10406 if test "$enableval" = yes; then
10407 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10409 wx_cv_use_controls='wxUSE_CONTROLS=no'
10416 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10417 if test "x$LINE" != x ; then
10418 eval "DEFAULT_$LINE"
10421 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10426 eval "$wx_cv_use_controls"
10427 if test "x$cache" = xyes; then
10428 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10431 if test x"$enablestring" = xdisable; then
10432 if test $wxUSE_CONTROLS = yes; then
10438 result=$wxUSE_CONTROLS
10441 { echo "$as_me:$LINENO: result: $result" >&5
10442 echo "${ECHO_T}$result" >&6; }
10445 if test "$wxUSE_CONTROLS" = "yes"; then
10446 DEFAULT_wxUSE_ACCEL=yes
10447 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10448 DEFAULT_wxUSE_BMPBUTTON=yes
10449 DEFAULT_wxUSE_BUTTON=yes
10450 DEFAULT_wxUSE_CALCTRL=yes
10451 DEFAULT_wxUSE_CARET=yes
10452 DEFAULT_wxUSE_COMBOBOX=yes
10453 DEFAULT_wxUSE_CHECKBOX=yes
10454 DEFAULT_wxUSE_CHECKLISTBOX=yes
10455 DEFAULT_wxUSE_CHOICE=yes
10456 DEFAULT_wxUSE_CHOICEBOOK=yes
10457 DEFAULT_wxUSE_COLLPANE=yes
10458 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10459 DEFAULT_wxUSE_COMBOBOX=yes
10460 DEFAULT_wxUSE_DATEPICKCTRL=yes
10461 DEFAULT_wxUSE_DISPLAY=yes
10462 DEFAULT_wxUSE_DETECT_SM=yes
10463 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10464 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10465 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10466 DEFAULT_wxUSE_GAUGE=yes
10467 DEFAULT_wxUSE_GRID=yes
10468 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10469 DEFAULT_wxUSE_DATAVIEWCTRL=no
10470 DEFAULT_wxUSE_IMAGLIST=yes
10471 DEFAULT_wxUSE_LISTBOOK=yes
10472 DEFAULT_wxUSE_LISTBOX=yes
10473 DEFAULT_wxUSE_LISTCTRL=yes
10474 DEFAULT_wxUSE_NOTEBOOK=yes
10475 DEFAULT_wxUSE_RADIOBOX=yes
10476 DEFAULT_wxUSE_RADIOBTN=yes
10477 DEFAULT_wxUSE_SASH=yes
10478 DEFAULT_wxUSE_SCROLLBAR=yes
10479 DEFAULT_wxUSE_SEARCHCTRL=yes
10480 DEFAULT_wxUSE_SLIDER=yes
10481 DEFAULT_wxUSE_SPINBTN=yes
10482 DEFAULT_wxUSE_SPINCTRL=yes
10483 DEFAULT_wxUSE_SPLITTER=yes
10484 DEFAULT_wxUSE_STATBMP=yes
10485 DEFAULT_wxUSE_STATBOX=yes
10486 DEFAULT_wxUSE_STATLINE=yes
10487 DEFAULT_wxUSE_STATUSBAR=yes
10488 DEFAULT_wxUSE_TAB_DIALOG=yes
10489 DEFAULT_wxUSE_TOGGLEBTN=yes
10490 DEFAULT_wxUSE_TOOLBAR=yes
10491 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10492 DEFAULT_wxUSE_TOOLTIPS=yes
10493 DEFAULT_wxUSE_TREEBOOK=yes
10494 DEFAULT_wxUSE_TOOLBOOK=yes
10495 DEFAULT_wxUSE_TREECTRL=yes
10496 DEFAULT_wxUSE_POPUPWIN=yes
10497 DEFAULT_wxUSE_TIPWINDOW=yes
10498 elif test "$wxUSE_CONTROLS" = "no"; then
10499 DEFAULT_wxUSE_ACCEL=no
10500 DEFAULT_wxUSE_ANIMATIONCTRL=no
10501 DEFAULT_wxUSE_BMPBUTTON=no
10502 DEFAULT_wxUSE_BUTTON=no
10503 DEFAULT_wxUSE_CALCTRL=no
10504 DEFAULT_wxUSE_CARET=no
10505 DEFAULT_wxUSE_COLLPANE=no
10506 DEFAULT_wxUSE_COMBOBOX=no
10507 DEFAULT_wxUSE_CHECKBOX=no
10508 DEFAULT_wxUSE_CHECKLISTBOX=no
10509 DEFAULT_wxUSE_CHOICE=no
10510 DEFAULT_wxUSE_CHOICEBOOK=no
10511 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10512 DEFAULT_wxUSE_COMBOBOX=no
10513 DEFAULT_wxUSE_DATEPICKCTRL=no
10514 DEFAULT_wxUSE_DISPLAY=no
10515 DEFAULT_wxUSE_DETECT_SM=no
10516 DEFAULT_wxUSE_DIRPICKERCTRL=no
10517 DEFAULT_wxUSE_FILEPICKERCTRL=no
10518 DEFAULT_wxUSE_FONTPICKERCTRL=no
10519 DEFAULT_wxUSE_GAUGE=no
10520 DEFAULT_wxUSE_GRID=no
10521 DEFAULT_wxUSE_HYPERLINKCTRL=no
10522 DEFAULT_wxUSE_DATAVIEWCTRL=no
10523 DEFAULT_wxUSE_IMAGLIST=no
10524 DEFAULT_wxUSE_LISTBOOK=no
10525 DEFAULT_wxUSE_LISTBOX=no
10526 DEFAULT_wxUSE_LISTCTRL=no
10527 DEFAULT_wxUSE_NOTEBOOK=no
10528 DEFAULT_wxUSE_RADIOBOX=no
10529 DEFAULT_wxUSE_RADIOBTN=no
10530 DEFAULT_wxUSE_SASH=no
10531 DEFAULT_wxUSE_SCROLLBAR=no
10532 DEFAULT_wxUSE_SEARCHCTRL=no
10533 DEFAULT_wxUSE_SLIDER=no
10534 DEFAULT_wxUSE_SPINBTN=no
10535 DEFAULT_wxUSE_SPINCTRL=no
10536 DEFAULT_wxUSE_SPLITTER=no
10537 DEFAULT_wxUSE_STATBMP=no
10538 DEFAULT_wxUSE_STATBOX=no
10539 DEFAULT_wxUSE_STATLINE=no
10540 DEFAULT_wxUSE_STATUSBAR=no
10541 DEFAULT_wxUSE_TAB_DIALOG=no
10542 DEFAULT_wxUSE_TOGGLEBTN=no
10543 DEFAULT_wxUSE_TOOLBAR=no
10544 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10545 DEFAULT_wxUSE_TOOLTIPS=no
10546 DEFAULT_wxUSE_TREEBOOK=no
10547 DEFAULT_wxUSE_TOOLBOOK=no
10548 DEFAULT_wxUSE_TREECTRL=no
10549 DEFAULT_wxUSE_POPUPWIN=no
10550 DEFAULT_wxUSE_TIPWINDOW=no
10555 defaultval=$wxUSE_ALL_FEATURES
10556 if test -z "$defaultval"; then
10557 if test x"$enablestring" = xdisable; then
10564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10565 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10566 # Check whether --enable-accel was given.
10567 if test "${enable_accel+set}" = set; then
10568 enableval=$enable_accel;
10569 if test "$enableval" = yes; then
10570 wx_cv_use_accel='wxUSE_ACCEL=yes'
10572 wx_cv_use_accel='wxUSE_ACCEL=no'
10579 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10580 if test "x$LINE" != x ; then
10581 eval "DEFAULT_$LINE"
10584 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10589 eval "$wx_cv_use_accel"
10590 if test "x$cache" = xyes; then
10591 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10594 if test x"$enablestring" = xdisable; then
10595 if test $wxUSE_ACCEL = yes; then
10601 result=$wxUSE_ACCEL
10604 { echo "$as_me:$LINENO: result: $result" >&5
10605 echo "${ECHO_T}$result" >&6; }
10609 defaultval=$wxUSE_ALL_FEATURES
10610 if test -z "$defaultval"; then
10611 if test x"$enablestring" = xdisable; then
10618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10619 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10620 # Check whether --enable-animatectrl was given.
10621 if test "${enable_animatectrl+set}" = set; then
10622 enableval=$enable_animatectrl;
10623 if test "$enableval" = yes; then
10624 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10626 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10633 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10634 if test "x$LINE" != x ; then
10635 eval "DEFAULT_$LINE"
10638 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10643 eval "$wx_cv_use_animatectrl"
10644 if test "x$cache" = xyes; then
10645 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
10648 if test x"$enablestring" = xdisable; then
10649 if test $wxUSE_ANIMATIONCTRL = yes; then
10655 result=$wxUSE_ANIMATIONCTRL
10658 { echo "$as_me:$LINENO: result: $result" >&5
10659 echo "${ECHO_T}$result" >&6; }
10663 defaultval=$wxUSE_ALL_FEATURES
10664 if test -z "$defaultval"; then
10665 if test x"$enablestring" = xdisable; then
10672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10673 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10674 # Check whether --enable-button was given.
10675 if test "${enable_button+set}" = set; then
10676 enableval=$enable_button;
10677 if test "$enableval" = yes; then
10678 wx_cv_use_button='wxUSE_BUTTON=yes'
10680 wx_cv_use_button='wxUSE_BUTTON=no'
10687 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10688 if test "x$LINE" != x ; then
10689 eval "DEFAULT_$LINE"
10692 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10697 eval "$wx_cv_use_button"
10698 if test "x$cache" = xyes; then
10699 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
10702 if test x"$enablestring" = xdisable; then
10703 if test $wxUSE_BUTTON = yes; then
10709 result=$wxUSE_BUTTON
10712 { echo "$as_me:$LINENO: result: $result" >&5
10713 echo "${ECHO_T}$result" >&6; }
10717 defaultval=$wxUSE_ALL_FEATURES
10718 if test -z "$defaultval"; then
10719 if test x"$enablestring" = xdisable; then
10726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10727 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10728 # Check whether --enable-bmpbutton was given.
10729 if test "${enable_bmpbutton+set}" = set; then
10730 enableval=$enable_bmpbutton;
10731 if test "$enableval" = yes; then
10732 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10734 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10741 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10742 if test "x$LINE" != x ; then
10743 eval "DEFAULT_$LINE"
10746 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10751 eval "$wx_cv_use_bmpbutton"
10752 if test "x$cache" = xyes; then
10753 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
10756 if test x"$enablestring" = xdisable; then
10757 if test $wxUSE_BMPBUTTON = yes; then
10763 result=$wxUSE_BMPBUTTON
10766 { echo "$as_me:$LINENO: result: $result" >&5
10767 echo "${ECHO_T}$result" >&6; }
10771 defaultval=$wxUSE_ALL_FEATURES
10772 if test -z "$defaultval"; then
10773 if test x"$enablestring" = xdisable; then
10780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10781 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10782 # Check whether --enable-bmpcombobox was given.
10783 if test "${enable_bmpcombobox+set}" = set; then
10784 enableval=$enable_bmpcombobox;
10785 if test "$enableval" = yes; then
10786 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10788 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10795 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10796 if test "x$LINE" != x ; then
10797 eval "DEFAULT_$LINE"
10800 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10805 eval "$wx_cv_use_bmpcombobox"
10806 if test "x$cache" = xyes; then
10807 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
10810 if test x"$enablestring" = xdisable; then
10811 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10817 result=$wxUSE_BITMAPCOMBOBOX
10820 { echo "$as_me:$LINENO: result: $result" >&5
10821 echo "${ECHO_T}$result" >&6; }
10825 defaultval=$wxUSE_ALL_FEATURES
10826 if test -z "$defaultval"; then
10827 if test x"$enablestring" = xdisable; then
10834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10835 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10836 # Check whether --enable-calendar was given.
10837 if test "${enable_calendar+set}" = set; then
10838 enableval=$enable_calendar;
10839 if test "$enableval" = yes; then
10840 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10842 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10849 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10850 if test "x$LINE" != x ; then
10851 eval "DEFAULT_$LINE"
10854 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10859 eval "$wx_cv_use_calendar"
10860 if test "x$cache" = xyes; then
10861 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
10864 if test x"$enablestring" = xdisable; then
10865 if test $wxUSE_CALCTRL = yes; then
10871 result=$wxUSE_CALCTRL
10874 { echo "$as_me:$LINENO: result: $result" >&5
10875 echo "${ECHO_T}$result" >&6; }
10879 defaultval=$wxUSE_ALL_FEATURES
10880 if test -z "$defaultval"; then
10881 if test x"$enablestring" = xdisable; then
10888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10889 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10890 # Check whether --enable-caret was given.
10891 if test "${enable_caret+set}" = set; then
10892 enableval=$enable_caret;
10893 if test "$enableval" = yes; then
10894 wx_cv_use_caret='wxUSE_CARET=yes'
10896 wx_cv_use_caret='wxUSE_CARET=no'
10903 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10904 if test "x$LINE" != x ; then
10905 eval "DEFAULT_$LINE"
10908 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10913 eval "$wx_cv_use_caret"
10914 if test "x$cache" = xyes; then
10915 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
10918 if test x"$enablestring" = xdisable; then
10919 if test $wxUSE_CARET = yes; then
10925 result=$wxUSE_CARET
10928 { echo "$as_me:$LINENO: result: $result" >&5
10929 echo "${ECHO_T}$result" >&6; }
10933 defaultval=$wxUSE_ALL_FEATURES
10934 if test -z "$defaultval"; then
10935 if test x"$enablestring" = xdisable; then
10942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10943 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10944 # Check whether --enable-checkbox was given.
10945 if test "${enable_checkbox+set}" = set; then
10946 enableval=$enable_checkbox;
10947 if test "$enableval" = yes; then
10948 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10950 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10957 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10958 if test "x$LINE" != x ; then
10959 eval "DEFAULT_$LINE"
10962 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10967 eval "$wx_cv_use_checkbox"
10968 if test "x$cache" = xyes; then
10969 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
10972 if test x"$enablestring" = xdisable; then
10973 if test $wxUSE_CHECKBOX = yes; then
10979 result=$wxUSE_CHECKBOX
10982 { echo "$as_me:$LINENO: result: $result" >&5
10983 echo "${ECHO_T}$result" >&6; }
10987 defaultval=$wxUSE_ALL_FEATURES
10988 if test -z "$defaultval"; then
10989 if test x"$enablestring" = xdisable; then
10996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10997 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10998 # Check whether --enable-checklst was given.
10999 if test "${enable_checklst+set}" = set; then
11000 enableval=$enable_checklst;
11001 if test "$enableval" = yes; then
11002 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11004 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11011 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11012 if test "x$LINE" != x ; then
11013 eval "DEFAULT_$LINE"
11016 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11021 eval "$wx_cv_use_checklst"
11022 if test "x$cache" = xyes; then
11023 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11026 if test x"$enablestring" = xdisable; then
11027 if test $wxUSE_CHECKLST = yes; then
11033 result=$wxUSE_CHECKLST
11036 { echo "$as_me:$LINENO: result: $result" >&5
11037 echo "${ECHO_T}$result" >&6; }
11041 defaultval=$wxUSE_ALL_FEATURES
11042 if test -z "$defaultval"; then
11043 if test x"$enablestring" = xdisable; then
11050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11051 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11052 # Check whether --enable-choice was given.
11053 if test "${enable_choice+set}" = set; then
11054 enableval=$enable_choice;
11055 if test "$enableval" = yes; then
11056 wx_cv_use_choice='wxUSE_CHOICE=yes'
11058 wx_cv_use_choice='wxUSE_CHOICE=no'
11065 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11066 if test "x$LINE" != x ; then
11067 eval "DEFAULT_$LINE"
11070 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11075 eval "$wx_cv_use_choice"
11076 if test "x$cache" = xyes; then
11077 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11080 if test x"$enablestring" = xdisable; then
11081 if test $wxUSE_CHOICE = yes; then
11087 result=$wxUSE_CHOICE
11090 { echo "$as_me:$LINENO: result: $result" >&5
11091 echo "${ECHO_T}$result" >&6; }
11095 defaultval=$wxUSE_ALL_FEATURES
11096 if test -z "$defaultval"; then
11097 if test x"$enablestring" = xdisable; then
11104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11105 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11106 # Check whether --enable-choicebook was given.
11107 if test "${enable_choicebook+set}" = set; then
11108 enableval=$enable_choicebook;
11109 if test "$enableval" = yes; then
11110 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11112 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11119 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11120 if test "x$LINE" != x ; then
11121 eval "DEFAULT_$LINE"
11124 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11129 eval "$wx_cv_use_choicebook"
11130 if test "x$cache" = xyes; then
11131 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11134 if test x"$enablestring" = xdisable; then
11135 if test $wxUSE_CHOICEBOOK = yes; then
11141 result=$wxUSE_CHOICEBOOK
11144 { echo "$as_me:$LINENO: result: $result" >&5
11145 echo "${ECHO_T}$result" >&6; }
11149 defaultval=$wxUSE_ALL_FEATURES
11150 if test -z "$defaultval"; then
11151 if test x"$enablestring" = xdisable; then
11158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11159 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11160 # Check whether --enable-collpane was given.
11161 if test "${enable_collpane+set}" = set; then
11162 enableval=$enable_collpane;
11163 if test "$enableval" = yes; then
11164 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11166 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11173 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11174 if test "x$LINE" != x ; then
11175 eval "DEFAULT_$LINE"
11178 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11183 eval "$wx_cv_use_collpane"
11184 if test "x$cache" = xyes; then
11185 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11188 if test x"$enablestring" = xdisable; then
11189 if test $wxUSE_COLLPANE = yes; then
11195 result=$wxUSE_COLLPANE
11198 { echo "$as_me:$LINENO: result: $result" >&5
11199 echo "${ECHO_T}$result" >&6; }
11203 defaultval=$wxUSE_ALL_FEATURES
11204 if test -z "$defaultval"; then
11205 if test x"$enablestring" = xdisable; then
11212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11213 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11214 # Check whether --enable-colourpicker was given.
11215 if test "${enable_colourpicker+set}" = set; then
11216 enableval=$enable_colourpicker;
11217 if test "$enableval" = yes; then
11218 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11220 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11227 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11228 if test "x$LINE" != x ; then
11229 eval "DEFAULT_$LINE"
11232 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11237 eval "$wx_cv_use_colourpicker"
11238 if test "x$cache" = xyes; then
11239 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11242 if test x"$enablestring" = xdisable; then
11243 if test $wxUSE_COLOURPICKERCTRL = yes; then
11249 result=$wxUSE_COLOURPICKERCTRL
11252 { echo "$as_me:$LINENO: result: $result" >&5
11253 echo "${ECHO_T}$result" >&6; }
11257 defaultval=$wxUSE_ALL_FEATURES
11258 if test -z "$defaultval"; then
11259 if test x"$enablestring" = xdisable; then
11266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11267 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11268 # Check whether --enable-combobox was given.
11269 if test "${enable_combobox+set}" = set; then
11270 enableval=$enable_combobox;
11271 if test "$enableval" = yes; then
11272 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11274 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11281 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11282 if test "x$LINE" != x ; then
11283 eval "DEFAULT_$LINE"
11286 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11291 eval "$wx_cv_use_combobox"
11292 if test "x$cache" = xyes; then
11293 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11296 if test x"$enablestring" = xdisable; then
11297 if test $wxUSE_COMBOBOX = yes; then
11303 result=$wxUSE_COMBOBOX
11306 { echo "$as_me:$LINENO: result: $result" >&5
11307 echo "${ECHO_T}$result" >&6; }
11311 defaultval=$wxUSE_ALL_FEATURES
11312 if test -z "$defaultval"; then
11313 if test x"$enablestring" = xdisable; then
11320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11321 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11322 # Check whether --enable-comboctrl was given.
11323 if test "${enable_comboctrl+set}" = set; then
11324 enableval=$enable_comboctrl;
11325 if test "$enableval" = yes; then
11326 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11328 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11335 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11336 if test "x$LINE" != x ; then
11337 eval "DEFAULT_$LINE"
11340 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11345 eval "$wx_cv_use_comboctrl"
11346 if test "x$cache" = xyes; then
11347 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11350 if test x"$enablestring" = xdisable; then
11351 if test $wxUSE_COMBOCTRL = yes; then
11357 result=$wxUSE_COMBOCTRL
11360 { echo "$as_me:$LINENO: result: $result" >&5
11361 echo "${ECHO_T}$result" >&6; }
11365 defaultval=$wxUSE_ALL_FEATURES
11366 if test -z "$defaultval"; then
11367 if test x"$enablestring" = xdisable; then
11374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11375 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11376 # Check whether --enable-datepick was given.
11377 if test "${enable_datepick+set}" = set; then
11378 enableval=$enable_datepick;
11379 if test "$enableval" = yes; then
11380 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11382 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11389 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11390 if test "x$LINE" != x ; then
11391 eval "DEFAULT_$LINE"
11394 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11399 eval "$wx_cv_use_datepick"
11400 if test "x$cache" = xyes; then
11401 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11404 if test x"$enablestring" = xdisable; then
11405 if test $wxUSE_DATEPICKCTRL = yes; then
11411 result=$wxUSE_DATEPICKCTRL
11414 { echo "$as_me:$LINENO: result: $result" >&5
11415 echo "${ECHO_T}$result" >&6; }
11419 defaultval=$wxUSE_ALL_FEATURES
11420 if test -z "$defaultval"; then
11421 if test x"$enablestring" = xdisable; then
11428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11429 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11430 # Check whether --enable-dirpicker was given.
11431 if test "${enable_dirpicker+set}" = set; then
11432 enableval=$enable_dirpicker;
11433 if test "$enableval" = yes; then
11434 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11436 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11443 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11444 if test "x$LINE" != x ; then
11445 eval "DEFAULT_$LINE"
11448 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11453 eval "$wx_cv_use_dirpicker"
11454 if test "x$cache" = xyes; then
11455 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11458 if test x"$enablestring" = xdisable; then
11459 if test $wxUSE_DIRPICKERCTRL = yes; then
11465 result=$wxUSE_DIRPICKERCTRL
11468 { echo "$as_me:$LINENO: result: $result" >&5
11469 echo "${ECHO_T}$result" >&6; }
11473 defaultval=$wxUSE_ALL_FEATURES
11474 if test -z "$defaultval"; then
11475 if test x"$enablestring" = xdisable; then
11482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11483 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11484 # Check whether --enable-display was given.
11485 if test "${enable_display+set}" = set; then
11486 enableval=$enable_display;
11487 if test "$enableval" = yes; then
11488 wx_cv_use_display='wxUSE_DISPLAY=yes'
11490 wx_cv_use_display='wxUSE_DISPLAY=no'
11497 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11498 if test "x$LINE" != x ; then
11499 eval "DEFAULT_$LINE"
11502 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11507 eval "$wx_cv_use_display"
11508 if test "x$cache" = xyes; then
11509 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11512 if test x"$enablestring" = xdisable; then
11513 if test $wxUSE_DISPLAY = yes; then
11519 result=$wxUSE_DISPLAY
11522 { echo "$as_me:$LINENO: result: $result" >&5
11523 echo "${ECHO_T}$result" >&6; }
11527 defaultval=$wxUSE_ALL_FEATURES
11528 if test -z "$defaultval"; then
11529 if test x"$enablestring" = xdisable; then
11536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11537 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11538 # Check whether --enable-detect_sm was given.
11539 if test "${enable_detect_sm+set}" = set; then
11540 enableval=$enable_detect_sm;
11541 if test "$enableval" = yes; then
11542 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11544 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11551 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11552 if test "x$LINE" != x ; then
11553 eval "DEFAULT_$LINE"
11556 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11561 eval "$wx_cv_use_detect_sm"
11562 if test "x$cache" = xyes; then
11563 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11566 if test x"$enablestring" = xdisable; then
11567 if test $wxUSE_DETECT_SM = yes; then
11573 result=$wxUSE_DETECT_SM
11576 { echo "$as_me:$LINENO: result: $result" >&5
11577 echo "${ECHO_T}$result" >&6; }
11581 defaultval=$wxUSE_ALL_FEATURES
11582 if test -z "$defaultval"; then
11583 if test x"$enablestring" = xdisable; then
11590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11591 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11592 # Check whether --enable-editablebox was given.
11593 if test "${enable_editablebox+set}" = set; then
11594 enableval=$enable_editablebox;
11595 if test "$enableval" = yes; then
11596 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11598 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11605 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11606 if test "x$LINE" != x ; then
11607 eval "DEFAULT_$LINE"
11610 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11615 eval "$wx_cv_use_editablebox"
11616 if test "x$cache" = xyes; then
11617 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
11620 if test x"$enablestring" = xdisable; then
11621 if test $wxUSE_EDITABLELISTBOX = yes; then
11627 result=$wxUSE_EDITABLELISTBOX
11630 { echo "$as_me:$LINENO: result: $result" >&5
11631 echo "${ECHO_T}$result" >&6; }
11635 defaultval=$wxUSE_ALL_FEATURES
11636 if test -z "$defaultval"; then
11637 if test x"$enablestring" = xdisable; then
11644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11645 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11646 # Check whether --enable-filepicker was given.
11647 if test "${enable_filepicker+set}" = set; then
11648 enableval=$enable_filepicker;
11649 if test "$enableval" = yes; then
11650 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11652 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11659 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11660 if test "x$LINE" != x ; then
11661 eval "DEFAULT_$LINE"
11664 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11669 eval "$wx_cv_use_filepicker"
11670 if test "x$cache" = xyes; then
11671 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11674 if test x"$enablestring" = xdisable; then
11675 if test $wxUSE_FILEPICKERCTRL = yes; then
11681 result=$wxUSE_FILEPICKERCTRL
11684 { echo "$as_me:$LINENO: result: $result" >&5
11685 echo "${ECHO_T}$result" >&6; }
11689 defaultval=$wxUSE_ALL_FEATURES
11690 if test -z "$defaultval"; then
11691 if test x"$enablestring" = xdisable; then
11698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11699 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11700 # Check whether --enable-fontpicker was given.
11701 if test "${enable_fontpicker+set}" = set; then
11702 enableval=$enable_fontpicker;
11703 if test "$enableval" = yes; then
11704 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11706 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11713 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11714 if test "x$LINE" != x ; then
11715 eval "DEFAULT_$LINE"
11718 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11723 eval "$wx_cv_use_fontpicker"
11724 if test "x$cache" = xyes; then
11725 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11728 if test x"$enablestring" = xdisable; then
11729 if test $wxUSE_FONTPICKERCTRL = yes; then
11735 result=$wxUSE_FONTPICKERCTRL
11738 { echo "$as_me:$LINENO: result: $result" >&5
11739 echo "${ECHO_T}$result" >&6; }
11743 defaultval=$wxUSE_ALL_FEATURES
11744 if test -z "$defaultval"; then
11745 if test x"$enablestring" = xdisable; then
11752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11753 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11754 # Check whether --enable-gauge was given.
11755 if test "${enable_gauge+set}" = set; then
11756 enableval=$enable_gauge;
11757 if test "$enableval" = yes; then
11758 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11760 wx_cv_use_gauge='wxUSE_GAUGE=no'
11767 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11768 if test "x$LINE" != x ; then
11769 eval "DEFAULT_$LINE"
11772 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11777 eval "$wx_cv_use_gauge"
11778 if test "x$cache" = xyes; then
11779 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
11782 if test x"$enablestring" = xdisable; then
11783 if test $wxUSE_GAUGE = yes; then
11789 result=$wxUSE_GAUGE
11792 { echo "$as_me:$LINENO: result: $result" >&5
11793 echo "${ECHO_T}$result" >&6; }
11797 defaultval=$wxUSE_ALL_FEATURES
11798 if test -z "$defaultval"; then
11799 if test x"$enablestring" = xdisable; then
11806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11807 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11808 # Check whether --enable-grid was given.
11809 if test "${enable_grid+set}" = set; then
11810 enableval=$enable_grid;
11811 if test "$enableval" = yes; then
11812 wx_cv_use_grid='wxUSE_GRID=yes'
11814 wx_cv_use_grid='wxUSE_GRID=no'
11821 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11822 if test "x$LINE" != x ; then
11823 eval "DEFAULT_$LINE"
11826 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11831 eval "$wx_cv_use_grid"
11832 if test "x$cache" = xyes; then
11833 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
11836 if test x"$enablestring" = xdisable; then
11837 if test $wxUSE_GRID = yes; then
11846 { echo "$as_me:$LINENO: result: $result" >&5
11847 echo "${ECHO_T}$result" >&6; }
11851 defaultval=$wxUSE_ALL_FEATURES
11852 if test -z "$defaultval"; then
11853 if test x"$enablestring" = xdisable; then
11860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11861 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11862 # Check whether --enable-dataviewctrl was given.
11863 if test "${enable_dataviewctrl+set}" = set; then
11864 enableval=$enable_dataviewctrl;
11865 if test "$enableval" = yes; then
11866 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11868 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11875 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11876 if test "x$LINE" != x ; then
11877 eval "DEFAULT_$LINE"
11880 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11885 eval "$wx_cv_use_dataviewctrl"
11886 if test "x$cache" = xyes; then
11887 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
11890 if test x"$enablestring" = xdisable; then
11891 if test $wxUSE_DATAVIEWCTRL = yes; then
11897 result=$wxUSE_DATAVIEWCTRL
11900 { echo "$as_me:$LINENO: result: $result" >&5
11901 echo "${ECHO_T}$result" >&6; }
11905 defaultval=$wxUSE_ALL_FEATURES
11906 if test -z "$defaultval"; then
11907 if test x"$enablestring" = xdisable; then
11914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11915 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11916 # Check whether --enable-hyperlink was given.
11917 if test "${enable_hyperlink+set}" = set; then
11918 enableval=$enable_hyperlink;
11919 if test "$enableval" = yes; then
11920 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11922 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11929 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11930 if test "x$LINE" != x ; then
11931 eval "DEFAULT_$LINE"
11934 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11939 eval "$wx_cv_use_hyperlink"
11940 if test "x$cache" = xyes; then
11941 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
11944 if test x"$enablestring" = xdisable; then
11945 if test $wxUSE_HYPERLINKCTRL = yes; then
11951 result=$wxUSE_HYPERLINKCTRL
11954 { echo "$as_me:$LINENO: result: $result" >&5
11955 echo "${ECHO_T}$result" >&6; }
11959 defaultval=$wxUSE_ALL_FEATURES
11960 if test -z "$defaultval"; then
11961 if test x"$enablestring" = xdisable; then
11968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11969 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11970 # Check whether --enable-imaglist was given.
11971 if test "${enable_imaglist+set}" = set; then
11972 enableval=$enable_imaglist;
11973 if test "$enableval" = yes; then
11974 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11976 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11983 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
11984 if test "x$LINE" != x ; then
11985 eval "DEFAULT_$LINE"
11988 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11993 eval "$wx_cv_use_imaglist"
11994 if test "x$cache" = xyes; then
11995 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
11998 if test x"$enablestring" = xdisable; then
11999 if test $wxUSE_IMAGLIST = yes; then
12005 result=$wxUSE_IMAGLIST
12008 { echo "$as_me:$LINENO: result: $result" >&5
12009 echo "${ECHO_T}$result" >&6; }
12013 defaultval=$wxUSE_ALL_FEATURES
12014 if test -z "$defaultval"; then
12015 if test x"$enablestring" = xdisable; then
12022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12023 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12024 # Check whether --enable-listbook was given.
12025 if test "${enable_listbook+set}" = set; then
12026 enableval=$enable_listbook;
12027 if test "$enableval" = yes; then
12028 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12030 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12037 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12038 if test "x$LINE" != x ; then
12039 eval "DEFAULT_$LINE"
12042 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12047 eval "$wx_cv_use_listbook"
12048 if test "x$cache" = xyes; then
12049 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12052 if test x"$enablestring" = xdisable; then
12053 if test $wxUSE_LISTBOOK = yes; then
12059 result=$wxUSE_LISTBOOK
12062 { echo "$as_me:$LINENO: result: $result" >&5
12063 echo "${ECHO_T}$result" >&6; }
12067 defaultval=$wxUSE_ALL_FEATURES
12068 if test -z "$defaultval"; then
12069 if test x"$enablestring" = xdisable; then
12076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12077 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12078 # Check whether --enable-listbox was given.
12079 if test "${enable_listbox+set}" = set; then
12080 enableval=$enable_listbox;
12081 if test "$enableval" = yes; then
12082 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12084 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12091 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12092 if test "x$LINE" != x ; then
12093 eval "DEFAULT_$LINE"
12096 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12101 eval "$wx_cv_use_listbox"
12102 if test "x$cache" = xyes; then
12103 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12106 if test x"$enablestring" = xdisable; then
12107 if test $wxUSE_LISTBOX = yes; then
12113 result=$wxUSE_LISTBOX
12116 { echo "$as_me:$LINENO: result: $result" >&5
12117 echo "${ECHO_T}$result" >&6; }
12121 defaultval=$wxUSE_ALL_FEATURES
12122 if test -z "$defaultval"; then
12123 if test x"$enablestring" = xdisable; then
12130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12131 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12132 # Check whether --enable-listctrl was given.
12133 if test "${enable_listctrl+set}" = set; then
12134 enableval=$enable_listctrl;
12135 if test "$enableval" = yes; then
12136 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12138 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12145 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12146 if test "x$LINE" != x ; then
12147 eval "DEFAULT_$LINE"
12150 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12155 eval "$wx_cv_use_listctrl"
12156 if test "x$cache" = xyes; then
12157 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12160 if test x"$enablestring" = xdisable; then
12161 if test $wxUSE_LISTCTRL = yes; then
12167 result=$wxUSE_LISTCTRL
12170 { echo "$as_me:$LINENO: result: $result" >&5
12171 echo "${ECHO_T}$result" >&6; }
12175 defaultval=$wxUSE_ALL_FEATURES
12176 if test -z "$defaultval"; then
12177 if test x"$enablestring" = xdisable; then
12184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12185 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12186 # Check whether --enable-notebook was given.
12187 if test "${enable_notebook+set}" = set; then
12188 enableval=$enable_notebook;
12189 if test "$enableval" = yes; then
12190 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12192 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12199 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12200 if test "x$LINE" != x ; then
12201 eval "DEFAULT_$LINE"
12204 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12209 eval "$wx_cv_use_notebook"
12210 if test "x$cache" = xyes; then
12211 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12214 if test x"$enablestring" = xdisable; then
12215 if test $wxUSE_NOTEBOOK = yes; then
12221 result=$wxUSE_NOTEBOOK
12224 { echo "$as_me:$LINENO: result: $result" >&5
12225 echo "${ECHO_T}$result" >&6; }
12229 defaultval=$wxUSE_ALL_FEATURES
12230 if test -z "$defaultval"; then
12231 if test x"$enablestring" = xdisable; then
12238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12239 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12240 # Check whether --enable-odcombobox was given.
12241 if test "${enable_odcombobox+set}" = set; then
12242 enableval=$enable_odcombobox;
12243 if test "$enableval" = yes; then
12244 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12246 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12253 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12254 if test "x$LINE" != x ; then
12255 eval "DEFAULT_$LINE"
12258 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12263 eval "$wx_cv_use_odcombobox"
12264 if test "x$cache" = xyes; then
12265 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12268 if test x"$enablestring" = xdisable; then
12269 if test $wxUSE_ODCOMBOBOX = yes; then
12275 result=$wxUSE_ODCOMBOBOX
12278 { echo "$as_me:$LINENO: result: $result" >&5
12279 echo "${ECHO_T}$result" >&6; }
12283 defaultval=$wxUSE_ALL_FEATURES
12284 if test -z "$defaultval"; then
12285 if test x"$enablestring" = xdisable; then
12292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12293 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12294 # Check whether --enable-radiobox was given.
12295 if test "${enable_radiobox+set}" = set; then
12296 enableval=$enable_radiobox;
12297 if test "$enableval" = yes; then
12298 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12300 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12307 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12308 if test "x$LINE" != x ; then
12309 eval "DEFAULT_$LINE"
12312 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12317 eval "$wx_cv_use_radiobox"
12318 if test "x$cache" = xyes; then
12319 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12322 if test x"$enablestring" = xdisable; then
12323 if test $wxUSE_RADIOBOX = yes; then
12329 result=$wxUSE_RADIOBOX
12332 { echo "$as_me:$LINENO: result: $result" >&5
12333 echo "${ECHO_T}$result" >&6; }
12337 defaultval=$wxUSE_ALL_FEATURES
12338 if test -z "$defaultval"; then
12339 if test x"$enablestring" = xdisable; then
12346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12347 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12348 # Check whether --enable-radiobtn was given.
12349 if test "${enable_radiobtn+set}" = set; then
12350 enableval=$enable_radiobtn;
12351 if test "$enableval" = yes; then
12352 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12354 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12361 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12362 if test "x$LINE" != x ; then
12363 eval "DEFAULT_$LINE"
12366 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12371 eval "$wx_cv_use_radiobtn"
12372 if test "x$cache" = xyes; then
12373 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12376 if test x"$enablestring" = xdisable; then
12377 if test $wxUSE_RADIOBTN = yes; then
12383 result=$wxUSE_RADIOBTN
12386 { echo "$as_me:$LINENO: result: $result" >&5
12387 echo "${ECHO_T}$result" >&6; }
12391 defaultval=$wxUSE_ALL_FEATURES
12392 if test -z "$defaultval"; then
12393 if test x"$enablestring" = xdisable; then
12400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12401 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12402 # Check whether --enable-sash was given.
12403 if test "${enable_sash+set}" = set; then
12404 enableval=$enable_sash;
12405 if test "$enableval" = yes; then
12406 wx_cv_use_sash='wxUSE_SASH=yes'
12408 wx_cv_use_sash='wxUSE_SASH=no'
12415 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12416 if test "x$LINE" != x ; then
12417 eval "DEFAULT_$LINE"
12420 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12425 eval "$wx_cv_use_sash"
12426 if test "x$cache" = xyes; then
12427 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12430 if test x"$enablestring" = xdisable; then
12431 if test $wxUSE_SASH = yes; then
12440 { echo "$as_me:$LINENO: result: $result" >&5
12441 echo "${ECHO_T}$result" >&6; }
12445 defaultval=$wxUSE_ALL_FEATURES
12446 if test -z "$defaultval"; then
12447 if test x"$enablestring" = xdisable; then
12454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12455 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12456 # Check whether --enable-scrollbar was given.
12457 if test "${enable_scrollbar+set}" = set; then
12458 enableval=$enable_scrollbar;
12459 if test "$enableval" = yes; then
12460 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12462 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12469 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12470 if test "x$LINE" != x ; then
12471 eval "DEFAULT_$LINE"
12474 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12479 eval "$wx_cv_use_scrollbar"
12480 if test "x$cache" = xyes; then
12481 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12484 if test x"$enablestring" = xdisable; then
12485 if test $wxUSE_SCROLLBAR = yes; then
12491 result=$wxUSE_SCROLLBAR
12494 { echo "$as_me:$LINENO: result: $result" >&5
12495 echo "${ECHO_T}$result" >&6; }
12499 defaultval=$wxUSE_ALL_FEATURES
12500 if test -z "$defaultval"; then
12501 if test x"$enablestring" = xdisable; then
12508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12509 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12510 # Check whether --enable-searchctrl was given.
12511 if test "${enable_searchctrl+set}" = set; then
12512 enableval=$enable_searchctrl;
12513 if test "$enableval" = yes; then
12514 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12516 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12523 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12524 if test "x$LINE" != x ; then
12525 eval "DEFAULT_$LINE"
12528 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12533 eval "$wx_cv_use_searchctrl"
12534 if test "x$cache" = xyes; then
12535 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
12538 if test x"$enablestring" = xdisable; then
12539 if test $wxUSE_SEARCHCTRL = yes; then
12545 result=$wxUSE_SEARCHCTRL
12548 { echo "$as_me:$LINENO: result: $result" >&5
12549 echo "${ECHO_T}$result" >&6; }
12553 defaultval=$wxUSE_ALL_FEATURES
12554 if test -z "$defaultval"; then
12555 if test x"$enablestring" = xdisable; then
12562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12563 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12564 # Check whether --enable-slider was given.
12565 if test "${enable_slider+set}" = set; then
12566 enableval=$enable_slider;
12567 if test "$enableval" = yes; then
12568 wx_cv_use_slider='wxUSE_SLIDER=yes'
12570 wx_cv_use_slider='wxUSE_SLIDER=no'
12577 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12578 if test "x$LINE" != x ; then
12579 eval "DEFAULT_$LINE"
12582 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12587 eval "$wx_cv_use_slider"
12588 if test "x$cache" = xyes; then
12589 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
12592 if test x"$enablestring" = xdisable; then
12593 if test $wxUSE_SLIDER = yes; then
12599 result=$wxUSE_SLIDER
12602 { echo "$as_me:$LINENO: result: $result" >&5
12603 echo "${ECHO_T}$result" >&6; }
12607 defaultval=$wxUSE_ALL_FEATURES
12608 if test -z "$defaultval"; then
12609 if test x"$enablestring" = xdisable; then
12616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12617 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12618 # Check whether --enable-spinbtn was given.
12619 if test "${enable_spinbtn+set}" = set; then
12620 enableval=$enable_spinbtn;
12621 if test "$enableval" = yes; then
12622 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12624 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12631 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12632 if test "x$LINE" != x ; then
12633 eval "DEFAULT_$LINE"
12636 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12641 eval "$wx_cv_use_spinbtn"
12642 if test "x$cache" = xyes; then
12643 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
12646 if test x"$enablestring" = xdisable; then
12647 if test $wxUSE_SPINBTN = yes; then
12653 result=$wxUSE_SPINBTN
12656 { echo "$as_me:$LINENO: result: $result" >&5
12657 echo "${ECHO_T}$result" >&6; }
12661 defaultval=$wxUSE_ALL_FEATURES
12662 if test -z "$defaultval"; then
12663 if test x"$enablestring" = xdisable; then
12670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12671 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12672 # Check whether --enable-spinctrl was given.
12673 if test "${enable_spinctrl+set}" = set; then
12674 enableval=$enable_spinctrl;
12675 if test "$enableval" = yes; then
12676 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12678 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12685 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12686 if test "x$LINE" != x ; then
12687 eval "DEFAULT_$LINE"
12690 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12695 eval "$wx_cv_use_spinctrl"
12696 if test "x$cache" = xyes; then
12697 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
12700 if test x"$enablestring" = xdisable; then
12701 if test $wxUSE_SPINCTRL = yes; then
12707 result=$wxUSE_SPINCTRL
12710 { echo "$as_me:$LINENO: result: $result" >&5
12711 echo "${ECHO_T}$result" >&6; }
12715 defaultval=$wxUSE_ALL_FEATURES
12716 if test -z "$defaultval"; then
12717 if test x"$enablestring" = xdisable; then
12724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12725 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12726 # Check whether --enable-splitter was given.
12727 if test "${enable_splitter+set}" = set; then
12728 enableval=$enable_splitter;
12729 if test "$enableval" = yes; then
12730 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12732 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12739 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12740 if test "x$LINE" != x ; then
12741 eval "DEFAULT_$LINE"
12744 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12749 eval "$wx_cv_use_splitter"
12750 if test "x$cache" = xyes; then
12751 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
12754 if test x"$enablestring" = xdisable; then
12755 if test $wxUSE_SPLITTER = yes; then
12761 result=$wxUSE_SPLITTER
12764 { echo "$as_me:$LINENO: result: $result" >&5
12765 echo "${ECHO_T}$result" >&6; }
12769 defaultval=$wxUSE_ALL_FEATURES
12770 if test -z "$defaultval"; then
12771 if test x"$enablestring" = xdisable; then
12778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12779 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12780 # Check whether --enable-statbmp was given.
12781 if test "${enable_statbmp+set}" = set; then
12782 enableval=$enable_statbmp;
12783 if test "$enableval" = yes; then
12784 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12786 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12793 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12794 if test "x$LINE" != x ; then
12795 eval "DEFAULT_$LINE"
12798 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12803 eval "$wx_cv_use_statbmp"
12804 if test "x$cache" = xyes; then
12805 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
12808 if test x"$enablestring" = xdisable; then
12809 if test $wxUSE_STATBMP = yes; then
12815 result=$wxUSE_STATBMP
12818 { echo "$as_me:$LINENO: result: $result" >&5
12819 echo "${ECHO_T}$result" >&6; }
12823 defaultval=$wxUSE_ALL_FEATURES
12824 if test -z "$defaultval"; then
12825 if test x"$enablestring" = xdisable; then
12832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12833 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12834 # Check whether --enable-statbox was given.
12835 if test "${enable_statbox+set}" = set; then
12836 enableval=$enable_statbox;
12837 if test "$enableval" = yes; then
12838 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12840 wx_cv_use_statbox='wxUSE_STATBOX=no'
12847 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12848 if test "x$LINE" != x ; then
12849 eval "DEFAULT_$LINE"
12852 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12857 eval "$wx_cv_use_statbox"
12858 if test "x$cache" = xyes; then
12859 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
12862 if test x"$enablestring" = xdisable; then
12863 if test $wxUSE_STATBOX = yes; then
12869 result=$wxUSE_STATBOX
12872 { echo "$as_me:$LINENO: result: $result" >&5
12873 echo "${ECHO_T}$result" >&6; }
12877 defaultval=$wxUSE_ALL_FEATURES
12878 if test -z "$defaultval"; then
12879 if test x"$enablestring" = xdisable; then
12886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12887 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12888 # Check whether --enable-statline was given.
12889 if test "${enable_statline+set}" = set; then
12890 enableval=$enable_statline;
12891 if test "$enableval" = yes; then
12892 wx_cv_use_statline='wxUSE_STATLINE=yes'
12894 wx_cv_use_statline='wxUSE_STATLINE=no'
12901 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12902 if test "x$LINE" != x ; then
12903 eval "DEFAULT_$LINE"
12906 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12911 eval "$wx_cv_use_statline"
12912 if test "x$cache" = xyes; then
12913 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
12916 if test x"$enablestring" = xdisable; then
12917 if test $wxUSE_STATLINE = yes; then
12923 result=$wxUSE_STATLINE
12926 { echo "$as_me:$LINENO: result: $result" >&5
12927 echo "${ECHO_T}$result" >&6; }
12931 defaultval=$wxUSE_ALL_FEATURES
12932 if test -z "$defaultval"; then
12933 if test x"$enablestring" = xdisable; then
12940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12941 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12942 # Check whether --enable-stattext was given.
12943 if test "${enable_stattext+set}" = set; then
12944 enableval=$enable_stattext;
12945 if test "$enableval" = yes; then
12946 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12948 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12955 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
12956 if test "x$LINE" != x ; then
12957 eval "DEFAULT_$LINE"
12960 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12965 eval "$wx_cv_use_stattext"
12966 if test "x$cache" = xyes; then
12967 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
12970 if test x"$enablestring" = xdisable; then
12971 if test $wxUSE_STATTEXT = yes; then
12977 result=$wxUSE_STATTEXT
12980 { echo "$as_me:$LINENO: result: $result" >&5
12981 echo "${ECHO_T}$result" >&6; }
12985 defaultval=$wxUSE_ALL_FEATURES
12986 if test -z "$defaultval"; then
12987 if test x"$enablestring" = xdisable; then
12994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12995 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12996 # Check whether --enable-statusbar was given.
12997 if test "${enable_statusbar+set}" = set; then
12998 enableval=$enable_statusbar;
12999 if test "$enableval" = yes; then
13000 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13002 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13009 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13010 if test "x$LINE" != x ; then
13011 eval "DEFAULT_$LINE"
13014 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13019 eval "$wx_cv_use_statusbar"
13020 if test "x$cache" = xyes; then
13021 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13024 if test x"$enablestring" = xdisable; then
13025 if test $wxUSE_STATUSBAR = yes; then
13031 result=$wxUSE_STATUSBAR
13034 { echo "$as_me:$LINENO: result: $result" >&5
13035 echo "${ECHO_T}$result" >&6; }
13039 defaultval=$wxUSE_ALL_FEATURES
13040 if test -z "$defaultval"; then
13041 if test x"$enablestring" = xdisable; then
13048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13049 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13050 # Check whether --enable-tabdialog was given.
13051 if test "${enable_tabdialog+set}" = set; then
13052 enableval=$enable_tabdialog;
13053 if test "$enableval" = yes; then
13054 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13056 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13063 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13064 if test "x$LINE" != x ; then
13065 eval "DEFAULT_$LINE"
13068 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13073 eval "$wx_cv_use_tabdialog"
13074 if test "x$cache" = xyes; then
13075 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13078 if test x"$enablestring" = xdisable; then
13079 if test $wxUSE_TAB_DIALOG = yes; then
13085 result=$wxUSE_TAB_DIALOG
13088 { echo "$as_me:$LINENO: result: $result" >&5
13089 echo "${ECHO_T}$result" >&6; }
13093 defaultval=$wxUSE_ALL_FEATURES
13094 if test -z "$defaultval"; then
13095 if test x"$enablestring" = xdisable; then
13102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13103 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13104 # Check whether --enable-taskbaricon was given.
13105 if test "${enable_taskbaricon+set}" = set; then
13106 enableval=$enable_taskbaricon;
13107 if test "$enableval" = yes; then
13108 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13110 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13117 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13118 if test "x$LINE" != x ; then
13119 eval "DEFAULT_$LINE"
13122 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13127 eval "$wx_cv_use_taskbaricon"
13128 if test "x$cache" = xyes; then
13129 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13132 if test x"$enablestring" = xdisable; then
13133 if test $wxUSE_TASKBARICON = yes; then
13139 result=$wxUSE_TASKBARICON
13142 { echo "$as_me:$LINENO: result: $result" >&5
13143 echo "${ECHO_T}$result" >&6; }
13147 defaultval=$wxUSE_ALL_FEATURES
13148 if test -z "$defaultval"; then
13149 if test x"$enablestring" = xdisable; then
13156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13157 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13158 # Check whether --enable-textctrl was given.
13159 if test "${enable_textctrl+set}" = set; then
13160 enableval=$enable_textctrl;
13161 if test "$enableval" = yes; then
13162 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13164 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13171 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13172 if test "x$LINE" != x ; then
13173 eval "DEFAULT_$LINE"
13176 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13181 eval "$wx_cv_use_textctrl"
13182 if test "x$cache" = xyes; then
13183 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13186 if test x"$enablestring" = xdisable; then
13187 if test $wxUSE_TEXTCTRL = yes; then
13193 result=$wxUSE_TEXTCTRL
13196 { echo "$as_me:$LINENO: result: $result" >&5
13197 echo "${ECHO_T}$result" >&6; }
13201 defaultval=$wxUSE_ALL_FEATURES
13202 if test -z "$defaultval"; then
13203 if test x"$enablestring" = xdisable; then
13210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13211 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13212 # Check whether --enable-togglebtn was given.
13213 if test "${enable_togglebtn+set}" = set; then
13214 enableval=$enable_togglebtn;
13215 if test "$enableval" = yes; then
13216 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13218 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13225 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13226 if test "x$LINE" != x ; then
13227 eval "DEFAULT_$LINE"
13230 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13235 eval "$wx_cv_use_togglebtn"
13236 if test "x$cache" = xyes; then
13237 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13240 if test x"$enablestring" = xdisable; then
13241 if test $wxUSE_TOGGLEBTN = yes; then
13247 result=$wxUSE_TOGGLEBTN
13250 { echo "$as_me:$LINENO: result: $result" >&5
13251 echo "${ECHO_T}$result" >&6; }
13255 defaultval=$wxUSE_ALL_FEATURES
13256 if test -z "$defaultval"; then
13257 if test x"$enablestring" = xdisable; then
13264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13265 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13266 # Check whether --enable-toolbar was given.
13267 if test "${enable_toolbar+set}" = set; then
13268 enableval=$enable_toolbar;
13269 if test "$enableval" = yes; then
13270 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13272 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13279 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13280 if test "x$LINE" != x ; then
13281 eval "DEFAULT_$LINE"
13284 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13289 eval "$wx_cv_use_toolbar"
13290 if test "x$cache" = xyes; then
13291 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13294 if test x"$enablestring" = xdisable; then
13295 if test $wxUSE_TOOLBAR = yes; then
13301 result=$wxUSE_TOOLBAR
13304 { echo "$as_me:$LINENO: result: $result" >&5
13305 echo "${ECHO_T}$result" >&6; }
13309 defaultval=$wxUSE_ALL_FEATURES
13310 if test -z "$defaultval"; then
13311 if test x"$enablestring" = xdisable; then
13318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13319 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13320 # Check whether --enable-tbarnative was given.
13321 if test "${enable_tbarnative+set}" = set; then
13322 enableval=$enable_tbarnative;
13323 if test "$enableval" = yes; then
13324 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13326 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13333 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13334 if test "x$LINE" != x ; then
13335 eval "DEFAULT_$LINE"
13338 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13343 eval "$wx_cv_use_tbarnative"
13344 if test "x$cache" = xyes; then
13345 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13348 if test x"$enablestring" = xdisable; then
13349 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13355 result=$wxUSE_TOOLBAR_NATIVE
13358 { echo "$as_me:$LINENO: result: $result" >&5
13359 echo "${ECHO_T}$result" >&6; }
13363 defaultval=$wxUSE_ALL_FEATURES
13364 if test -z "$defaultval"; then
13365 if test x"$enablestring" = xdisable; then
13372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13373 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13374 # Check whether --enable-treebook was given.
13375 if test "${enable_treebook+set}" = set; then
13376 enableval=$enable_treebook;
13377 if test "$enableval" = yes; then
13378 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13380 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13387 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13388 if test "x$LINE" != x ; then
13389 eval "DEFAULT_$LINE"
13392 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13397 eval "$wx_cv_use_treebook"
13398 if test "x$cache" = xyes; then
13399 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13402 if test x"$enablestring" = xdisable; then
13403 if test $wxUSE_TREEBOOK = yes; then
13409 result=$wxUSE_TREEBOOK
13412 { echo "$as_me:$LINENO: result: $result" >&5
13413 echo "${ECHO_T}$result" >&6; }
13417 defaultval=$wxUSE_ALL_FEATURES
13418 if test -z "$defaultval"; then
13419 if test x"$enablestring" = xdisable; then
13426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13427 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13428 # Check whether --enable-toolbook was given.
13429 if test "${enable_toolbook+set}" = set; then
13430 enableval=$enable_toolbook;
13431 if test "$enableval" = yes; then
13432 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13434 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13441 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13442 if test "x$LINE" != x ; then
13443 eval "DEFAULT_$LINE"
13446 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13451 eval "$wx_cv_use_toolbook"
13452 if test "x$cache" = xyes; then
13453 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13456 if test x"$enablestring" = xdisable; then
13457 if test $wxUSE_TOOLBOOK = yes; then
13463 result=$wxUSE_TOOLBOOK
13466 { echo "$as_me:$LINENO: result: $result" >&5
13467 echo "${ECHO_T}$result" >&6; }
13471 defaultval=$wxUSE_ALL_FEATURES
13472 if test -z "$defaultval"; then
13473 if test x"$enablestring" = xdisable; then
13480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13481 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13482 # Check whether --enable-treectrl was given.
13483 if test "${enable_treectrl+set}" = set; then
13484 enableval=$enable_treectrl;
13485 if test "$enableval" = yes; then
13486 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13488 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13495 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13496 if test "x$LINE" != x ; then
13497 eval "DEFAULT_$LINE"
13500 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13505 eval "$wx_cv_use_treectrl"
13506 if test "x$cache" = xyes; then
13507 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
13510 if test x"$enablestring" = xdisable; then
13511 if test $wxUSE_TREECTRL = yes; then
13517 result=$wxUSE_TREECTRL
13520 { echo "$as_me:$LINENO: result: $result" >&5
13521 echo "${ECHO_T}$result" >&6; }
13525 defaultval=$wxUSE_ALL_FEATURES
13526 if test -z "$defaultval"; then
13527 if test x"$enablestring" = xdisable; then
13534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13535 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13536 # Check whether --enable-tipwindow was given.
13537 if test "${enable_tipwindow+set}" = set; then
13538 enableval=$enable_tipwindow;
13539 if test "$enableval" = yes; then
13540 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13542 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13549 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13550 if test "x$LINE" != x ; then
13551 eval "DEFAULT_$LINE"
13554 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13559 eval "$wx_cv_use_tipwindow"
13560 if test "x$cache" = xyes; then
13561 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
13564 if test x"$enablestring" = xdisable; then
13565 if test $wxUSE_TIPWINDOW = yes; then
13571 result=$wxUSE_TIPWINDOW
13574 { echo "$as_me:$LINENO: result: $result" >&5
13575 echo "${ECHO_T}$result" >&6; }
13579 defaultval=$wxUSE_ALL_FEATURES
13580 if test -z "$defaultval"; then
13581 if test x"$enablestring" = xdisable; then
13588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13589 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13590 # Check whether --enable-popupwin was given.
13591 if test "${enable_popupwin+set}" = set; then
13592 enableval=$enable_popupwin;
13593 if test "$enableval" = yes; then
13594 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13596 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13603 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13604 if test "x$LINE" != x ; then
13605 eval "DEFAULT_$LINE"
13608 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13613 eval "$wx_cv_use_popupwin"
13614 if test "x$cache" = xyes; then
13615 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
13618 if test x"$enablestring" = xdisable; then
13619 if test $wxUSE_POPUPWIN = yes; then
13625 result=$wxUSE_POPUPWIN
13628 { echo "$as_me:$LINENO: result: $result" >&5
13629 echo "${ECHO_T}$result" >&6; }
13635 defaultval=$wxUSE_ALL_FEATURES
13636 if test -z "$defaultval"; then
13637 if test x"$enablestring" = xdisable; then
13644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13645 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13646 # Check whether --enable-commondlg was given.
13647 if test "${enable_commondlg+set}" = set; then
13648 enableval=$enable_commondlg;
13649 if test "$enableval" = yes; then
13650 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13652 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13659 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13660 if test "x$LINE" != x ; then
13661 eval "DEFAULT_$LINE"
13664 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13669 eval "$wx_cv_use_commondlg"
13670 if test "x$cache" = xyes; then
13671 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
13674 if test x"$enablestring" = xdisable; then
13675 if test $wxUSE_COMMONDLGS = yes; then
13681 result=$wxUSE_COMMONDLGS
13684 { echo "$as_me:$LINENO: result: $result" >&5
13685 echo "${ECHO_T}$result" >&6; }
13689 defaultval=$wxUSE_ALL_FEATURES
13690 if test -z "$defaultval"; then
13691 if test x"$enablestring" = xdisable; then
13698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13699 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13700 # Check whether --enable-aboutdlg was given.
13701 if test "${enable_aboutdlg+set}" = set; then
13702 enableval=$enable_aboutdlg;
13703 if test "$enableval" = yes; then
13704 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13706 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13713 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13714 if test "x$LINE" != x ; then
13715 eval "DEFAULT_$LINE"
13718 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13723 eval "$wx_cv_use_aboutdlg"
13724 if test "x$cache" = xyes; then
13725 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
13728 if test x"$enablestring" = xdisable; then
13729 if test $wxUSE_ABOUTDLG = yes; then
13735 result=$wxUSE_ABOUTDLG
13738 { echo "$as_me:$LINENO: result: $result" >&5
13739 echo "${ECHO_T}$result" >&6; }
13743 defaultval=$wxUSE_ALL_FEATURES
13744 if test -z "$defaultval"; then
13745 if test x"$enablestring" = xdisable; then
13752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13753 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13754 # Check whether --enable-choicedlg was given.
13755 if test "${enable_choicedlg+set}" = set; then
13756 enableval=$enable_choicedlg;
13757 if test "$enableval" = yes; then
13758 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13760 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13767 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13768 if test "x$LINE" != x ; then
13769 eval "DEFAULT_$LINE"
13772 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13777 eval "$wx_cv_use_choicedlg"
13778 if test "x$cache" = xyes; then
13779 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
13782 if test x"$enablestring" = xdisable; then
13783 if test $wxUSE_CHOICEDLG = yes; then
13789 result=$wxUSE_CHOICEDLG
13792 { echo "$as_me:$LINENO: result: $result" >&5
13793 echo "${ECHO_T}$result" >&6; }
13797 defaultval=$wxUSE_ALL_FEATURES
13798 if test -z "$defaultval"; then
13799 if test x"$enablestring" = xdisable; then
13806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13807 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13808 # Check whether --enable-coldlg was given.
13809 if test "${enable_coldlg+set}" = set; then
13810 enableval=$enable_coldlg;
13811 if test "$enableval" = yes; then
13812 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13814 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13821 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13822 if test "x$LINE" != x ; then
13823 eval "DEFAULT_$LINE"
13826 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13831 eval "$wx_cv_use_coldlg"
13832 if test "x$cache" = xyes; then
13833 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
13836 if test x"$enablestring" = xdisable; then
13837 if test $wxUSE_COLOURDLG = yes; then
13843 result=$wxUSE_COLOURDLG
13846 { echo "$as_me:$LINENO: result: $result" >&5
13847 echo "${ECHO_T}$result" >&6; }
13851 defaultval=$wxUSE_ALL_FEATURES
13852 if test -z "$defaultval"; then
13853 if test x"$enablestring" = xdisable; then
13860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13861 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13862 # Check whether --enable-filedlg was given.
13863 if test "${enable_filedlg+set}" = set; then
13864 enableval=$enable_filedlg;
13865 if test "$enableval" = yes; then
13866 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13868 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13875 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13876 if test "x$LINE" != x ; then
13877 eval "DEFAULT_$LINE"
13880 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13885 eval "$wx_cv_use_filedlg"
13886 if test "x$cache" = xyes; then
13887 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
13890 if test x"$enablestring" = xdisable; then
13891 if test $wxUSE_FILEDLG = yes; then
13897 result=$wxUSE_FILEDLG
13900 { echo "$as_me:$LINENO: result: $result" >&5
13901 echo "${ECHO_T}$result" >&6; }
13905 defaultval=$wxUSE_ALL_FEATURES
13906 if test -z "$defaultval"; then
13907 if test x"$enablestring" = xdisable; then
13914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13915 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13916 # Check whether --enable-finddlg was given.
13917 if test "${enable_finddlg+set}" = set; then
13918 enableval=$enable_finddlg;
13919 if test "$enableval" = yes; then
13920 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13922 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13929 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
13930 if test "x$LINE" != x ; then
13931 eval "DEFAULT_$LINE"
13934 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13939 eval "$wx_cv_use_finddlg"
13940 if test "x$cache" = xyes; then
13941 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
13944 if test x"$enablestring" = xdisable; then
13945 if test $wxUSE_FINDREPLDLG = yes; then
13951 result=$wxUSE_FINDREPLDLG
13954 { echo "$as_me:$LINENO: result: $result" >&5
13955 echo "${ECHO_T}$result" >&6; }
13959 defaultval=$wxUSE_ALL_FEATURES
13960 if test -z "$defaultval"; then
13961 if test x"$enablestring" = xdisable; then
13968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13969 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13970 # Check whether --enable-fontdlg was given.
13971 if test "${enable_fontdlg+set}" = set; then
13972 enableval=$enable_fontdlg;
13973 if test "$enableval" = yes; then
13974 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13976 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13983 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
13984 if test "x$LINE" != x ; then
13985 eval "DEFAULT_$LINE"
13988 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13993 eval "$wx_cv_use_fontdlg"
13994 if test "x$cache" = xyes; then
13995 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
13998 if test x"$enablestring" = xdisable; then
13999 if test $wxUSE_FONTDLG = yes; then
14005 result=$wxUSE_FONTDLG
14008 { echo "$as_me:$LINENO: result: $result" >&5
14009 echo "${ECHO_T}$result" >&6; }
14013 defaultval=$wxUSE_ALL_FEATURES
14014 if test -z "$defaultval"; then
14015 if test x"$enablestring" = xdisable; then
14022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14023 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14024 # Check whether --enable-dirdlg was given.
14025 if test "${enable_dirdlg+set}" = set; then
14026 enableval=$enable_dirdlg;
14027 if test "$enableval" = yes; then
14028 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14030 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14037 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14038 if test "x$LINE" != x ; then
14039 eval "DEFAULT_$LINE"
14042 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14047 eval "$wx_cv_use_dirdlg"
14048 if test "x$cache" = xyes; then
14049 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14052 if test x"$enablestring" = xdisable; then
14053 if test $wxUSE_DIRDLG = yes; then
14059 result=$wxUSE_DIRDLG
14062 { echo "$as_me:$LINENO: result: $result" >&5
14063 echo "${ECHO_T}$result" >&6; }
14067 defaultval=$wxUSE_ALL_FEATURES
14068 if test -z "$defaultval"; then
14069 if test x"$enablestring" = xdisable; then
14076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14077 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14078 # Check whether --enable-msgdlg was given.
14079 if test "${enable_msgdlg+set}" = set; then
14080 enableval=$enable_msgdlg;
14081 if test "$enableval" = yes; then
14082 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14084 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14091 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14092 if test "x$LINE" != x ; then
14093 eval "DEFAULT_$LINE"
14096 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14101 eval "$wx_cv_use_msgdlg"
14102 if test "x$cache" = xyes; then
14103 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14106 if test x"$enablestring" = xdisable; then
14107 if test $wxUSE_MSGDLG = yes; then
14113 result=$wxUSE_MSGDLG
14116 { echo "$as_me:$LINENO: result: $result" >&5
14117 echo "${ECHO_T}$result" >&6; }
14121 defaultval=$wxUSE_ALL_FEATURES
14122 if test -z "$defaultval"; then
14123 if test x"$enablestring" = xdisable; then
14130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14131 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14132 # Check whether --enable-numberdlg was given.
14133 if test "${enable_numberdlg+set}" = set; then
14134 enableval=$enable_numberdlg;
14135 if test "$enableval" = yes; then
14136 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14138 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14145 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14146 if test "x$LINE" != x ; then
14147 eval "DEFAULT_$LINE"
14150 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14155 eval "$wx_cv_use_numberdlg"
14156 if test "x$cache" = xyes; then
14157 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14160 if test x"$enablestring" = xdisable; then
14161 if test $wxUSE_NUMBERDLG = yes; then
14167 result=$wxUSE_NUMBERDLG
14170 { echo "$as_me:$LINENO: result: $result" >&5
14171 echo "${ECHO_T}$result" >&6; }
14175 defaultval=$wxUSE_ALL_FEATURES
14176 if test -z "$defaultval"; then
14177 if test x"$enablestring" = xdisable; then
14184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14185 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14186 # Check whether --enable-splash was given.
14187 if test "${enable_splash+set}" = set; then
14188 enableval=$enable_splash;
14189 if test "$enableval" = yes; then
14190 wx_cv_use_splash='wxUSE_SPLASH=yes'
14192 wx_cv_use_splash='wxUSE_SPLASH=no'
14199 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14200 if test "x$LINE" != x ; then
14201 eval "DEFAULT_$LINE"
14204 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14209 eval "$wx_cv_use_splash"
14210 if test "x$cache" = xyes; then
14211 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14214 if test x"$enablestring" = xdisable; then
14215 if test $wxUSE_SPLASH = yes; then
14221 result=$wxUSE_SPLASH
14224 { echo "$as_me:$LINENO: result: $result" >&5
14225 echo "${ECHO_T}$result" >&6; }
14229 defaultval=$wxUSE_ALL_FEATURES
14230 if test -z "$defaultval"; then
14231 if test x"$enablestring" = xdisable; then
14238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14239 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14240 # Check whether --enable-textdlg was given.
14241 if test "${enable_textdlg+set}" = set; then
14242 enableval=$enable_textdlg;
14243 if test "$enableval" = yes; then
14244 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14246 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14253 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14254 if test "x$LINE" != x ; then
14255 eval "DEFAULT_$LINE"
14258 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14263 eval "$wx_cv_use_textdlg"
14264 if test "x$cache" = xyes; then
14265 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14268 if test x"$enablestring" = xdisable; then
14269 if test $wxUSE_TEXTDLG = yes; then
14275 result=$wxUSE_TEXTDLG
14278 { echo "$as_me:$LINENO: result: $result" >&5
14279 echo "${ECHO_T}$result" >&6; }
14283 defaultval=$wxUSE_ALL_FEATURES
14284 if test -z "$defaultval"; then
14285 if test x"$enablestring" = xdisable; then
14292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14293 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14294 # Check whether --enable-tipdlg was given.
14295 if test "${enable_tipdlg+set}" = set; then
14296 enableval=$enable_tipdlg;
14297 if test "$enableval" = yes; then
14298 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14300 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14307 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14308 if test "x$LINE" != x ; then
14309 eval "DEFAULT_$LINE"
14312 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14317 eval "$wx_cv_use_tipdlg"
14318 if test "x$cache" = xyes; then
14319 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14322 if test x"$enablestring" = xdisable; then
14323 if test $wxUSE_STARTUP_TIPS = yes; then
14329 result=$wxUSE_STARTUP_TIPS
14332 { echo "$as_me:$LINENO: result: $result" >&5
14333 echo "${ECHO_T}$result" >&6; }
14337 defaultval=$wxUSE_ALL_FEATURES
14338 if test -z "$defaultval"; then
14339 if test x"$enablestring" = xdisable; then
14346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14347 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14348 # Check whether --enable-progressdlg was given.
14349 if test "${enable_progressdlg+set}" = set; then
14350 enableval=$enable_progressdlg;
14351 if test "$enableval" = yes; then
14352 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14354 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14361 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14362 if test "x$LINE" != x ; then
14363 eval "DEFAULT_$LINE"
14366 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14371 eval "$wx_cv_use_progressdlg"
14372 if test "x$cache" = xyes; then
14373 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14376 if test x"$enablestring" = xdisable; then
14377 if test $wxUSE_PROGRESSDLG = yes; then
14383 result=$wxUSE_PROGRESSDLG
14386 { echo "$as_me:$LINENO: result: $result" >&5
14387 echo "${ECHO_T}$result" >&6; }
14391 defaultval=$wxUSE_ALL_FEATURES
14392 if test -z "$defaultval"; then
14393 if test x"$enablestring" = xdisable; then
14400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14401 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14402 # Check whether --enable-wizarddlg was given.
14403 if test "${enable_wizarddlg+set}" = set; then
14404 enableval=$enable_wizarddlg;
14405 if test "$enableval" = yes; then
14406 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14408 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14415 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14416 if test "x$LINE" != x ; then
14417 eval "DEFAULT_$LINE"
14420 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14425 eval "$wx_cv_use_wizarddlg"
14426 if test "x$cache" = xyes; then
14427 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
14430 if test x"$enablestring" = xdisable; then
14431 if test $wxUSE_WIZARDDLG = yes; then
14437 result=$wxUSE_WIZARDDLG
14440 { echo "$as_me:$LINENO: result: $result" >&5
14441 echo "${ECHO_T}$result" >&6; }
14447 defaultval=$wxUSE_ALL_FEATURES
14448 if test -z "$defaultval"; then
14449 if test x"$enablestring" = xdisable; then
14456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14457 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14458 # Check whether --enable-menus was given.
14459 if test "${enable_menus+set}" = set; then
14460 enableval=$enable_menus;
14461 if test "$enableval" = yes; then
14462 wx_cv_use_menus='wxUSE_MENUS=yes'
14464 wx_cv_use_menus='wxUSE_MENUS=no'
14471 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14472 if test "x$LINE" != x ; then
14473 eval "DEFAULT_$LINE"
14476 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14481 eval "$wx_cv_use_menus"
14482 if test "x$cache" = xyes; then
14483 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
14486 if test x"$enablestring" = xdisable; then
14487 if test $wxUSE_MENUS = yes; then
14493 result=$wxUSE_MENUS
14496 { echo "$as_me:$LINENO: result: $result" >&5
14497 echo "${ECHO_T}$result" >&6; }
14501 defaultval=$wxUSE_ALL_FEATURES
14502 if test -z "$defaultval"; then
14503 if test x"$enablestring" = xdisable; then
14510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14511 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14512 # Check whether --enable-miniframe was given.
14513 if test "${enable_miniframe+set}" = set; then
14514 enableval=$enable_miniframe;
14515 if test "$enableval" = yes; then
14516 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14518 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14525 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14526 if test "x$LINE" != x ; then
14527 eval "DEFAULT_$LINE"
14530 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14535 eval "$wx_cv_use_miniframe"
14536 if test "x$cache" = xyes; then
14537 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
14540 if test x"$enablestring" = xdisable; then
14541 if test $wxUSE_MINIFRAME = yes; then
14547 result=$wxUSE_MINIFRAME
14550 { echo "$as_me:$LINENO: result: $result" >&5
14551 echo "${ECHO_T}$result" >&6; }
14555 defaultval=$wxUSE_ALL_FEATURES
14556 if test -z "$defaultval"; then
14557 if test x"$enablestring" = xdisable; then
14564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14565 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14566 # Check whether --enable-tooltips was given.
14567 if test "${enable_tooltips+set}" = set; then
14568 enableval=$enable_tooltips;
14569 if test "$enableval" = yes; then
14570 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14572 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14579 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14580 if test "x$LINE" != x ; then
14581 eval "DEFAULT_$LINE"
14584 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14589 eval "$wx_cv_use_tooltips"
14590 if test "x$cache" = xyes; then
14591 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
14594 if test x"$enablestring" = xdisable; then
14595 if test $wxUSE_TOOLTIPS = yes; then
14601 result=$wxUSE_TOOLTIPS
14604 { echo "$as_me:$LINENO: result: $result" >&5
14605 echo "${ECHO_T}$result" >&6; }
14609 defaultval=$wxUSE_ALL_FEATURES
14610 if test -z "$defaultval"; then
14611 if test x"$enablestring" = xdisable; then
14618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14619 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14620 # Check whether --enable-splines was given.
14621 if test "${enable_splines+set}" = set; then
14622 enableval=$enable_splines;
14623 if test "$enableval" = yes; then
14624 wx_cv_use_splines='wxUSE_SPLINES=yes'
14626 wx_cv_use_splines='wxUSE_SPLINES=no'
14633 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14634 if test "x$LINE" != x ; then
14635 eval "DEFAULT_$LINE"
14638 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14643 eval "$wx_cv_use_splines"
14644 if test "x$cache" = xyes; then
14645 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
14648 if test x"$enablestring" = xdisable; then
14649 if test $wxUSE_SPLINES = yes; then
14655 result=$wxUSE_SPLINES
14658 { echo "$as_me:$LINENO: result: $result" >&5
14659 echo "${ECHO_T}$result" >&6; }
14663 defaultval=$wxUSE_ALL_FEATURES
14664 if test -z "$defaultval"; then
14665 if test x"$enablestring" = xdisable; then
14672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14673 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14674 # Check whether --enable-mousewheel was given.
14675 if test "${enable_mousewheel+set}" = set; then
14676 enableval=$enable_mousewheel;
14677 if test "$enableval" = yes; then
14678 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14680 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14687 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14688 if test "x$LINE" != x ; then
14689 eval "DEFAULT_$LINE"
14692 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14697 eval "$wx_cv_use_mousewheel"
14698 if test "x$cache" = xyes; then
14699 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
14702 if test x"$enablestring" = xdisable; then
14703 if test $wxUSE_MOUSEWHEEL = yes; then
14709 result=$wxUSE_MOUSEWHEEL
14712 { echo "$as_me:$LINENO: result: $result" >&5
14713 echo "${ECHO_T}$result" >&6; }
14717 defaultval=$wxUSE_ALL_FEATURES
14718 if test -z "$defaultval"; then
14719 if test x"$enablestring" = xdisable; then
14726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14727 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14728 # Check whether --enable-validators was given.
14729 if test "${enable_validators+set}" = set; then
14730 enableval=$enable_validators;
14731 if test "$enableval" = yes; then
14732 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14734 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14741 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14742 if test "x$LINE" != x ; then
14743 eval "DEFAULT_$LINE"
14746 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14751 eval "$wx_cv_use_validators"
14752 if test "x$cache" = xyes; then
14753 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
14756 if test x"$enablestring" = xdisable; then
14757 if test $wxUSE_VALIDATORS = yes; then
14763 result=$wxUSE_VALIDATORS
14766 { echo "$as_me:$LINENO: result: $result" >&5
14767 echo "${ECHO_T}$result" >&6; }
14771 defaultval=$wxUSE_ALL_FEATURES
14772 if test -z "$defaultval"; then
14773 if test x"$enablestring" = xdisable; then
14780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14781 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14782 # Check whether --enable-busyinfo was given.
14783 if test "${enable_busyinfo+set}" = set; then
14784 enableval=$enable_busyinfo;
14785 if test "$enableval" = yes; then
14786 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14788 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14795 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14796 if test "x$LINE" != x ; then
14797 eval "DEFAULT_$LINE"
14800 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14805 eval "$wx_cv_use_busyinfo"
14806 if test "x$cache" = xyes; then
14807 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
14810 if test x"$enablestring" = xdisable; then
14811 if test $wxUSE_BUSYINFO = yes; then
14817 result=$wxUSE_BUSYINFO
14820 { echo "$as_me:$LINENO: result: $result" >&5
14821 echo "${ECHO_T}$result" >&6; }
14825 defaultval=$wxUSE_ALL_FEATURES
14826 if test -z "$defaultval"; then
14827 if test x"$enablestring" = xdisable; then
14834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14835 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14836 # Check whether --enable-joystick was given.
14837 if test "${enable_joystick+set}" = set; then
14838 enableval=$enable_joystick;
14839 if test "$enableval" = yes; then
14840 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14842 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14849 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14850 if test "x$LINE" != x ; then
14851 eval "DEFAULT_$LINE"
14854 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14859 eval "$wx_cv_use_joystick"
14860 if test "x$cache" = xyes; then
14861 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
14864 if test x"$enablestring" = xdisable; then
14865 if test $wxUSE_JOYSTICK = yes; then
14871 result=$wxUSE_JOYSTICK
14874 { echo "$as_me:$LINENO: result: $result" >&5
14875 echo "${ECHO_T}$result" >&6; }
14879 defaultval=$wxUSE_ALL_FEATURES
14880 if test -z "$defaultval"; then
14881 if test x"$enablestring" = xdisable; then
14888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14889 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14890 # Check whether --enable-metafile was given.
14891 if test "${enable_metafile+set}" = set; then
14892 enableval=$enable_metafile;
14893 if test "$enableval" = yes; then
14894 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14896 wx_cv_use_metafile='wxUSE_METAFILE=no'
14903 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
14904 if test "x$LINE" != x ; then
14905 eval "DEFAULT_$LINE"
14908 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14913 eval "$wx_cv_use_metafile"
14914 if test "x$cache" = xyes; then
14915 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
14918 if test x"$enablestring" = xdisable; then
14919 if test $wxUSE_METAFILE = yes; then
14925 result=$wxUSE_METAFILE
14928 { echo "$as_me:$LINENO: result: $result" >&5
14929 echo "${ECHO_T}$result" >&6; }
14933 defaultval=$wxUSE_ALL_FEATURES
14934 if test -z "$defaultval"; then
14935 if test x"$enablestring" = xdisable; then
14942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14943 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14944 # Check whether --enable-dragimage was given.
14945 if test "${enable_dragimage+set}" = set; then
14946 enableval=$enable_dragimage;
14947 if test "$enableval" = yes; then
14948 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14950 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14957 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
14958 if test "x$LINE" != x ; then
14959 eval "DEFAULT_$LINE"
14962 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14967 eval "$wx_cv_use_dragimage"
14968 if test "x$cache" = xyes; then
14969 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
14972 if test x"$enablestring" = xdisable; then
14973 if test $wxUSE_DRAGIMAGE = yes; then
14979 result=$wxUSE_DRAGIMAGE
14982 { echo "$as_me:$LINENO: result: $result" >&5
14983 echo "${ECHO_T}$result" >&6; }
14987 defaultval=$wxUSE_ALL_FEATURES
14988 if test -z "$defaultval"; then
14989 if test x"$enablestring" = xdisable; then
14996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14997 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14998 # Check whether --enable-accessibility was given.
14999 if test "${enable_accessibility+set}" = set; then
15000 enableval=$enable_accessibility;
15001 if test "$enableval" = yes; then
15002 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15004 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15011 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15012 if test "x$LINE" != x ; then
15013 eval "DEFAULT_$LINE"
15016 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15021 eval "$wx_cv_use_accessibility"
15022 if test "x$cache" = xyes; then
15023 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15026 if test x"$enablestring" = xdisable; then
15027 if test $wxUSE_ACCESSIBILITY = yes; then
15033 result=$wxUSE_ACCESSIBILITY
15036 { echo "$as_me:$LINENO: result: $result" >&5
15037 echo "${ECHO_T}$result" >&6; }
15043 defaultval=$wxUSE_ALL_FEATURES
15044 if test -z "$defaultval"; then
15045 if test x"$enablestring" = xdisable; then
15052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15053 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15054 # Check whether --enable-palette was given.
15055 if test "${enable_palette+set}" = set; then
15056 enableval=$enable_palette;
15057 if test "$enableval" = yes; then
15058 wx_cv_use_palette='wxUSE_PALETTE=yes'
15060 wx_cv_use_palette='wxUSE_PALETTE=no'
15067 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15068 if test "x$LINE" != x ; then
15069 eval "DEFAULT_$LINE"
15072 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15077 eval "$wx_cv_use_palette"
15078 if test "x$cache" = xyes; then
15079 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15082 if test x"$enablestring" = xdisable; then
15083 if test $wxUSE_PALETTE = yes; then
15089 result=$wxUSE_PALETTE
15092 { echo "$as_me:$LINENO: result: $result" >&5
15093 echo "${ECHO_T}$result" >&6; }
15097 defaultval=$wxUSE_ALL_FEATURES
15098 if test -z "$defaultval"; then
15099 if test x"$enablestring" = xdisable; then
15106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15107 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15108 # Check whether --enable-image was given.
15109 if test "${enable_image+set}" = set; then
15110 enableval=$enable_image;
15111 if test "$enableval" = yes; then
15112 wx_cv_use_image='wxUSE_IMAGE=yes'
15114 wx_cv_use_image='wxUSE_IMAGE=no'
15121 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15122 if test "x$LINE" != x ; then
15123 eval "DEFAULT_$LINE"
15126 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15131 eval "$wx_cv_use_image"
15132 if test "x$cache" = xyes; then
15133 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15136 if test x"$enablestring" = xdisable; then
15137 if test $wxUSE_IMAGE = yes; then
15143 result=$wxUSE_IMAGE
15146 { echo "$as_me:$LINENO: result: $result" >&5
15147 echo "${ECHO_T}$result" >&6; }
15151 defaultval=$wxUSE_ALL_FEATURES
15152 if test -z "$defaultval"; then
15153 if test x"$enablestring" = xdisable; then
15160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15161 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15162 # Check whether --enable-gif was given.
15163 if test "${enable_gif+set}" = set; then
15164 enableval=$enable_gif;
15165 if test "$enableval" = yes; then
15166 wx_cv_use_gif='wxUSE_GIF=yes'
15168 wx_cv_use_gif='wxUSE_GIF=no'
15175 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15176 if test "x$LINE" != x ; then
15177 eval "DEFAULT_$LINE"
15180 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15185 eval "$wx_cv_use_gif"
15186 if test "x$cache" = xyes; then
15187 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15190 if test x"$enablestring" = xdisable; then
15191 if test $wxUSE_GIF = yes; then
15200 { echo "$as_me:$LINENO: result: $result" >&5
15201 echo "${ECHO_T}$result" >&6; }
15205 defaultval=$wxUSE_ALL_FEATURES
15206 if test -z "$defaultval"; then
15207 if test x"$enablestring" = xdisable; then
15214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15215 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15216 # Check whether --enable-pcx was given.
15217 if test "${enable_pcx+set}" = set; then
15218 enableval=$enable_pcx;
15219 if test "$enableval" = yes; then
15220 wx_cv_use_pcx='wxUSE_PCX=yes'
15222 wx_cv_use_pcx='wxUSE_PCX=no'
15229 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15230 if test "x$LINE" != x ; then
15231 eval "DEFAULT_$LINE"
15234 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15239 eval "$wx_cv_use_pcx"
15240 if test "x$cache" = xyes; then
15241 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15244 if test x"$enablestring" = xdisable; then
15245 if test $wxUSE_PCX = yes; then
15254 { echo "$as_me:$LINENO: result: $result" >&5
15255 echo "${ECHO_T}$result" >&6; }
15259 defaultval=$wxUSE_ALL_FEATURES
15260 if test -z "$defaultval"; then
15261 if test x"$enablestring" = xdisable; then
15268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15269 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15270 # Check whether --enable-tga was given.
15271 if test "${enable_tga+set}" = set; then
15272 enableval=$enable_tga;
15273 if test "$enableval" = yes; then
15274 wx_cv_use_tga='wxUSE_TGA=yes'
15276 wx_cv_use_tga='wxUSE_TGA=no'
15283 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15284 if test "x$LINE" != x ; then
15285 eval "DEFAULT_$LINE"
15288 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15293 eval "$wx_cv_use_tga"
15294 if test "x$cache" = xyes; then
15295 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15298 if test x"$enablestring" = xdisable; then
15299 if test $wxUSE_TGA = yes; then
15308 { echo "$as_me:$LINENO: result: $result" >&5
15309 echo "${ECHO_T}$result" >&6; }
15313 defaultval=$wxUSE_ALL_FEATURES
15314 if test -z "$defaultval"; then
15315 if test x"$enablestring" = xdisable; then
15322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15323 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15324 # Check whether --enable-iff was given.
15325 if test "${enable_iff+set}" = set; then
15326 enableval=$enable_iff;
15327 if test "$enableval" = yes; then
15328 wx_cv_use_iff='wxUSE_IFF=yes'
15330 wx_cv_use_iff='wxUSE_IFF=no'
15337 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15338 if test "x$LINE" != x ; then
15339 eval "DEFAULT_$LINE"
15342 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15347 eval "$wx_cv_use_iff"
15348 if test "x$cache" = xyes; then
15349 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15352 if test x"$enablestring" = xdisable; then
15353 if test $wxUSE_IFF = yes; then
15362 { echo "$as_me:$LINENO: result: $result" >&5
15363 echo "${ECHO_T}$result" >&6; }
15367 defaultval=$wxUSE_ALL_FEATURES
15368 if test -z "$defaultval"; then
15369 if test x"$enablestring" = xdisable; then
15376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15377 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15378 # Check whether --enable-pnm was given.
15379 if test "${enable_pnm+set}" = set; then
15380 enableval=$enable_pnm;
15381 if test "$enableval" = yes; then
15382 wx_cv_use_pnm='wxUSE_PNM=yes'
15384 wx_cv_use_pnm='wxUSE_PNM=no'
15391 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15392 if test "x$LINE" != x ; then
15393 eval "DEFAULT_$LINE"
15396 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15401 eval "$wx_cv_use_pnm"
15402 if test "x$cache" = xyes; then
15403 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
15406 if test x"$enablestring" = xdisable; then
15407 if test $wxUSE_PNM = yes; then
15416 { echo "$as_me:$LINENO: result: $result" >&5
15417 echo "${ECHO_T}$result" >&6; }
15421 defaultval=$wxUSE_ALL_FEATURES
15422 if test -z "$defaultval"; then
15423 if test x"$enablestring" = xdisable; then
15430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15431 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15432 # Check whether --enable-xpm was given.
15433 if test "${enable_xpm+set}" = set; then
15434 enableval=$enable_xpm;
15435 if test "$enableval" = yes; then
15436 wx_cv_use_xpm='wxUSE_XPM=yes'
15438 wx_cv_use_xpm='wxUSE_XPM=no'
15445 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15446 if test "x$LINE" != x ; then
15447 eval "DEFAULT_$LINE"
15450 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15455 eval "$wx_cv_use_xpm"
15456 if test "x$cache" = xyes; then
15457 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
15460 if test x"$enablestring" = xdisable; then
15461 if test $wxUSE_XPM = yes; then
15470 { echo "$as_me:$LINENO: result: $result" >&5
15471 echo "${ECHO_T}$result" >&6; }
15475 defaultval=$wxUSE_ALL_FEATURES
15476 if test -z "$defaultval"; then
15477 if test x"$enablestring" = xdisable; then
15484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15485 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15486 # Check whether --enable-ico_cur was given.
15487 if test "${enable_ico_cur+set}" = set; then
15488 enableval=$enable_ico_cur;
15489 if test "$enableval" = yes; then
15490 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15492 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15499 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15500 if test "x$LINE" != x ; then
15501 eval "DEFAULT_$LINE"
15504 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15509 eval "$wx_cv_use_ico_cur"
15510 if test "x$cache" = xyes; then
15511 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
15514 if test x"$enablestring" = xdisable; then
15515 if test $wxUSE_ICO_CUR = yes; then
15521 result=$wxUSE_ICO_CUR
15524 { echo "$as_me:$LINENO: result: $result" >&5
15525 echo "${ECHO_T}$result" >&6; }
15531 defaultval=$wxUSE_ALL_FEATURES
15532 if test -z "$defaultval"; then
15533 if test x"$enablestring" = xdisable; then
15540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15541 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
15542 # Check whether --enable-dccache was given.
15543 if test "${enable_dccache+set}" = set; then
15544 enableval=$enable_dccache;
15545 if test "$enableval" = yes; then
15546 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15548 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15555 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
15556 if test "x$LINE" != x ; then
15557 eval "DEFAULT_$LINE"
15560 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15565 eval "$wx_cv_use_dccache"
15566 if test "x$cache" = xyes; then
15567 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
15570 if test x"$enablestring" = xdisable; then
15571 if test $wxUSE_DC_CACHEING = yes; then
15577 result=$wxUSE_DC_CACHEING
15580 { echo "$as_me:$LINENO: result: $result" >&5
15581 echo "${ECHO_T}$result" >&6; }
15585 defaultval=$wxUSE_ALL_FEATURES
15586 if test -z "$defaultval"; then
15587 if test x"$enablestring" = xdisable; then
15594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
15595 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
15596 # Check whether --enable-ps-in-msw was given.
15597 if test "${enable_ps_in_msw+set}" = set; then
15598 enableval=$enable_ps_in_msw;
15599 if test "$enableval" = yes; then
15600 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15602 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15609 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
15610 if test "x$LINE" != x ; then
15611 eval "DEFAULT_$LINE"
15614 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15619 eval "$wx_cv_use_ps_in_msw"
15620 if test "x$cache" = xyes; then
15621 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
15624 if test x"$enablestring" = xdisable; then
15625 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
15631 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15634 { echo "$as_me:$LINENO: result: $result" >&5
15635 echo "${ECHO_T}$result" >&6; }
15639 defaultval=$wxUSE_ALL_FEATURES
15640 if test -z "$defaultval"; then
15641 if test x"$enablestring" = xdisable; then
15648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
15649 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
15650 # Check whether --enable-ownerdrawn was given.
15651 if test "${enable_ownerdrawn+set}" = set; then
15652 enableval=$enable_ownerdrawn;
15653 if test "$enableval" = yes; then
15654 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
15656 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
15663 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
15664 if test "x$LINE" != x ; then
15665 eval "DEFAULT_$LINE"
15668 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15673 eval "$wx_cv_use_ownerdrawn"
15674 if test "x$cache" = xyes; then
15675 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
15678 if test x"$enablestring" = xdisable; then
15679 if test $wxUSE_OWNER_DRAWN = yes; then
15685 result=$wxUSE_OWNER_DRAWN
15688 { echo "$as_me:$LINENO: result: $result" >&5
15689 echo "${ECHO_T}$result" >&6; }
15693 defaultval=$wxUSE_ALL_FEATURES
15694 if test -z "$defaultval"; then
15695 if test x"$enablestring" = xdisable; then
15702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
15703 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
15704 # Check whether --enable-regkey was given.
15705 if test "${enable_regkey+set}" = set; then
15706 enableval=$enable_regkey;
15707 if test "$enableval" = yes; then
15708 wx_cv_use_regkey='wxUSE_REGKEY=yes'
15710 wx_cv_use_regkey='wxUSE_REGKEY=no'
15717 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
15718 if test "x$LINE" != x ; then
15719 eval "DEFAULT_$LINE"
15722 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
15727 eval "$wx_cv_use_regkey"
15728 if test "x$cache" = xyes; then
15729 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
15732 if test x"$enablestring" = xdisable; then
15733 if test $wxUSE_REGKEY = yes; then
15739 result=$wxUSE_REGKEY
15742 { echo "$as_me:$LINENO: result: $result" >&5
15743 echo "${ECHO_T}$result" >&6; }
15747 defaultval=$wxUSE_ALL_FEATURES
15748 if test -z "$defaultval"; then
15749 if test x"$enablestring" = xdisable; then
15756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
15757 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
15758 # Check whether --enable-uxtheme was given.
15759 if test "${enable_uxtheme+set}" = set; then
15760 enableval=$enable_uxtheme;
15761 if test "$enableval" = yes; then
15762 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15764 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15771 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
15772 if test "x$LINE" != x ; then
15773 eval "DEFAULT_$LINE"
15776 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15781 eval "$wx_cv_use_uxtheme"
15782 if test "x$cache" = xyes; then
15783 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
15786 if test x"$enablestring" = xdisable; then
15787 if test $wxUSE_UXTHEME = yes; then
15793 result=$wxUSE_UXTHEME
15796 { echo "$as_me:$LINENO: result: $result" >&5
15797 echo "${ECHO_T}$result" >&6; }
15801 defaultval=$wxUSE_ALL_FEATURES
15802 if test -z "$defaultval"; then
15803 if test x"$enablestring" = xdisable; then
15810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
15811 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
15812 # Check whether --enable-wxdib was given.
15813 if test "${enable_wxdib+set}" = set; then
15814 enableval=$enable_wxdib;
15815 if test "$enableval" = yes; then
15816 wx_cv_use_wxdib='wxUSE_DIB=yes'
15818 wx_cv_use_wxdib='wxUSE_DIB=no'
15825 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
15826 if test "x$LINE" != x ; then
15827 eval "DEFAULT_$LINE"
15830 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
15835 eval "$wx_cv_use_wxdib"
15836 if test "x$cache" = xyes; then
15837 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
15840 if test x"$enablestring" = xdisable; then
15841 if test $wxUSE_DIB = yes; then
15850 { echo "$as_me:$LINENO: result: $result" >&5
15851 echo "${ECHO_T}$result" >&6; }
15857 echo "saving argument cache $wx_arg_cache_file"
15858 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15862 { echo "$as_me:$LINENO: checking for toolkit" >&5
15863 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15865 # In Wine, we need to default to MSW, not GTK or MOTIF
15866 if test "$wxUSE_WINE" = "yes"; then
15867 DEFAULT_DEFAULT_wxUSE_GTK=0
15868 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15869 DEFAULT_DEFAULT_wxUSE_MSW=1
15872 CXX=${CXX:-wineg++}
15876 if test "$wxUSE_GUI" = "yes"; then
15878 if test "$USE_BEOS" = 1; then
15879 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15880 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15881 { (exit 1); exit 1; }; }
15884 if test "$TOOLKIT_GIVEN" = 1; then
15885 for toolkit in `echo $ALL_TOOLKITS`; do
15887 eval "value=\$${var}"
15888 if test "x$value" = "xno"; then
15890 elif test "x$value" != "x"; then
15894 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15895 eval "wx${toolkit}_VERSION=$value"
15899 for toolkit in `echo $ALL_TOOLKITS`; do
15900 if test "$has_toolkit_in_cache" != 1; then
15901 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15903 var=DEFAULT_wxUSE_$toolkit
15905 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15906 if test "x$version" != "x"; then
15907 eval "wx${toolkit}_VERSION=$version"
15910 eval "wxUSE_$toolkit=\$${var}"
15914 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15915 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15916 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15919 *-pc-os2_emx | *-pc-os2-emx )
15920 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15923 case "$NUM_TOOLKITS" in
15927 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15928 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15929 { (exit 1); exit 1; }; }
15932 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15933 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15934 { (exit 1); exit 1; }; }
15937 # to be removed when --disable-gtk2 isn't needed
15938 if test "x$wxUSE_GTK2" = "xyes"; then
15940 elif test "x$wxUSE_GTK2" = "xno"; then
15944 for toolkit in `echo $ALL_TOOLKITS`; do
15946 eval "value=\$${var}"
15947 if test "x$value" != x; then
15948 cache_var=CACHE_$toolkit
15949 eval "cache=\$${cache_var}"
15950 if test "$cache" = 1; then
15951 echo "$var=$value" >> ${wx_arg_cache_file}
15952 eval "version=\$wx${toolkit}_VERSION"
15953 if test "x$version" != "x"; then
15954 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15957 if test "$value" = 1; then
15958 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15959 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15960 echo "${ECHO_T}$toolkit_echo" >&6; }
15965 if test "x$host_alias" != "x"; then
15966 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15967 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
15969 { echo "$as_me:$LINENO: result: base only" >&5
15970 echo "${ECHO_T}base only" >&6; }
15975 cat >confcache <<\_ACEOF
15976 # This file is a shell script that caches the results of configure
15977 # tests run on this system so they can be shared between configure
15978 # scripts and configure runs, see configure's option --config-cache.
15979 # It is not useful on other systems. If it contains results you don't
15980 # want to keep, you may remove or edit it.
15982 # config.status only pays attention to the cache file if you give it
15983 # the --recheck option to rerun configure.
15985 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15986 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15987 # following values.
15991 # The following way of writing the cache mishandles newlines in values,
15992 # but we know of no workaround that is simple, portable, and efficient.
15993 # So, we kill variables containing newlines.
15994 # Ultrix sh set writes to stderr and can't be redirected directly,
15995 # and sets the high bit in the cache file unless we assign to the vars.
15997 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15998 eval ac_val=\$$ac_var
16002 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16003 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16006 _ | IFS | as_nl) ;; #(
16007 *) $as_unset $ac_var ;;
16013 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16014 *${as_nl}ac_space=\ *)
16015 # `set' does not quote correctly, so add quotes (double-quote
16016 # substitution turns \\\\ into \\, and sed turns \\ into \).
16019 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16022 # `set' quotes correctly as required by POSIX, so do not add quotes.
16023 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16032 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16034 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16036 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16037 if test -w "$cache_file"; then
16038 test "x$cache_file" != "x/dev/null" &&
16039 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16040 echo "$as_me: updating cache $cache_file" >&6;}
16041 cat confcache >$cache_file
16043 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16044 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16054 ac_cpp='$CPP $CPPFLAGS'
16055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16058 if test -n "$ac_tool_prefix"; then
16059 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16060 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16061 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16063 if test "${ac_cv_prog_CC+set}" = set; then
16064 echo $ECHO_N "(cached) $ECHO_C" >&6
16066 if test -n "$CC"; then
16067 ac_cv_prog_CC="$CC" # Let the user override the test.
16069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16070 for as_dir in $PATH
16073 test -z "$as_dir" && as_dir=.
16074 for ac_exec_ext in '' $ac_executable_extensions; do
16075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16076 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16087 if test -n "$CC"; then
16088 { echo "$as_me:$LINENO: result: $CC" >&5
16089 echo "${ECHO_T}$CC" >&6; }
16091 { echo "$as_me:$LINENO: result: no" >&5
16092 echo "${ECHO_T}no" >&6; }
16097 if test -z "$ac_cv_prog_CC"; then
16099 # Extract the first word of "gcc", so it can be a program name with args.
16100 set dummy gcc; ac_word=$2
16101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16103 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16104 echo $ECHO_N "(cached) $ECHO_C" >&6
16106 if test -n "$ac_ct_CC"; then
16107 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16110 for as_dir in $PATH
16113 test -z "$as_dir" && as_dir=.
16114 for ac_exec_ext in '' $ac_executable_extensions; do
16115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16116 ac_cv_prog_ac_ct_CC="gcc"
16117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16126 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16127 if test -n "$ac_ct_CC"; then
16128 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16129 echo "${ECHO_T}$ac_ct_CC" >&6; }
16131 { echo "$as_me:$LINENO: result: no" >&5
16132 echo "${ECHO_T}no" >&6; }
16135 if test "x$ac_ct_CC" = x; then
16138 case $cross_compiling:$ac_tool_warned in
16140 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16141 whose name does not start with the host triplet. If you think this
16142 configuration is useful to you, please write to autoconf@gnu.org." >&5
16143 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16144 whose name does not start with the host triplet. If you think this
16145 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16146 ac_tool_warned=yes ;;
16151 CC="$ac_cv_prog_CC"
16154 if test -z "$CC"; then
16155 if test -n "$ac_tool_prefix"; then
16156 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16157 set dummy ${ac_tool_prefix}cc; ac_word=$2
16158 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16160 if test "${ac_cv_prog_CC+set}" = set; then
16161 echo $ECHO_N "(cached) $ECHO_C" >&6
16163 if test -n "$CC"; then
16164 ac_cv_prog_CC="$CC" # Let the user override the test.
16166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16167 for as_dir in $PATH
16170 test -z "$as_dir" && as_dir=.
16171 for ac_exec_ext in '' $ac_executable_extensions; do
16172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16173 ac_cv_prog_CC="${ac_tool_prefix}cc"
16174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16184 if test -n "$CC"; then
16185 { echo "$as_me:$LINENO: result: $CC" >&5
16186 echo "${ECHO_T}$CC" >&6; }
16188 { echo "$as_me:$LINENO: result: no" >&5
16189 echo "${ECHO_T}no" >&6; }
16195 if test -z "$CC"; then
16196 # Extract the first word of "cc", so it can be a program name with args.
16197 set dummy cc; ac_word=$2
16198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16200 if test "${ac_cv_prog_CC+set}" = set; then
16201 echo $ECHO_N "(cached) $ECHO_C" >&6
16203 if test -n "$CC"; then
16204 ac_cv_prog_CC="$CC" # Let the user override the test.
16206 ac_prog_rejected=no
16207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16208 for as_dir in $PATH
16211 test -z "$as_dir" && as_dir=.
16212 for ac_exec_ext in '' $ac_executable_extensions; do
16213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16214 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16215 ac_prog_rejected=yes
16219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16226 if test $ac_prog_rejected = yes; then
16227 # We found a bogon in the path, so make sure we never use it.
16228 set dummy $ac_cv_prog_CC
16230 if test $# != 0; then
16231 # We chose a different compiler from the bogus one.
16232 # However, it has the same basename, so the bogon will be chosen
16233 # first if we set CC to just the basename; use the full file name.
16235 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16241 if test -n "$CC"; then
16242 { echo "$as_me:$LINENO: result: $CC" >&5
16243 echo "${ECHO_T}$CC" >&6; }
16245 { echo "$as_me:$LINENO: result: no" >&5
16246 echo "${ECHO_T}no" >&6; }
16251 if test -z "$CC"; then
16252 if test -n "$ac_tool_prefix"; then
16253 for ac_prog in cl.exe
16255 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16256 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16259 if test "${ac_cv_prog_CC+set}" = set; then
16260 echo $ECHO_N "(cached) $ECHO_C" >&6
16262 if test -n "$CC"; then
16263 ac_cv_prog_CC="$CC" # Let the user override the test.
16265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16266 for as_dir in $PATH
16269 test -z "$as_dir" && as_dir=.
16270 for ac_exec_ext in '' $ac_executable_extensions; do
16271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16272 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16283 if test -n "$CC"; then
16284 { echo "$as_me:$LINENO: result: $CC" >&5
16285 echo "${ECHO_T}$CC" >&6; }
16287 { echo "$as_me:$LINENO: result: no" >&5
16288 echo "${ECHO_T}no" >&6; }
16292 test -n "$CC" && break
16295 if test -z "$CC"; then
16297 for ac_prog in cl.exe
16299 # Extract the first word of "$ac_prog", so it can be a program name with args.
16300 set dummy $ac_prog; ac_word=$2
16301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16303 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16304 echo $ECHO_N "(cached) $ECHO_C" >&6
16306 if test -n "$ac_ct_CC"; then
16307 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16310 for as_dir in $PATH
16313 test -z "$as_dir" && as_dir=.
16314 for ac_exec_ext in '' $ac_executable_extensions; do
16315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16316 ac_cv_prog_ac_ct_CC="$ac_prog"
16317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16326 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16327 if test -n "$ac_ct_CC"; then
16328 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16329 echo "${ECHO_T}$ac_ct_CC" >&6; }
16331 { echo "$as_me:$LINENO: result: no" >&5
16332 echo "${ECHO_T}no" >&6; }
16336 test -n "$ac_ct_CC" && break
16339 if test "x$ac_ct_CC" = x; then
16342 case $cross_compiling:$ac_tool_warned in
16344 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16345 whose name does not start with the host triplet. If you think this
16346 configuration is useful to you, please write to autoconf@gnu.org." >&5
16347 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16348 whose name does not start with the host triplet. If you think this
16349 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16350 ac_tool_warned=yes ;;
16359 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16360 See \`config.log' for more details." >&5
16361 echo "$as_me: error: no acceptable C compiler found in \$PATH
16362 See \`config.log' for more details." >&2;}
16363 { (exit 1); exit 1; }; }
16365 # Provide some information about the compiler.
16366 echo "$as_me:$LINENO: checking for C compiler version" >&5
16367 ac_compiler=`set X $ac_compile; echo $2`
16368 { (ac_try="$ac_compiler --version >&5"
16369 case "(($ac_try" in
16370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16371 *) ac_try_echo=$ac_try;;
16373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16374 (eval "$ac_compiler --version >&5") 2>&5
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); }
16378 { (ac_try="$ac_compiler -v >&5"
16379 case "(($ac_try" in
16380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16381 *) ac_try_echo=$ac_try;;
16383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16384 (eval "$ac_compiler -v >&5") 2>&5
16386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16387 (exit $ac_status); }
16388 { (ac_try="$ac_compiler -V >&5"
16389 case "(($ac_try" in
16390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16391 *) ac_try_echo=$ac_try;;
16393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16394 (eval "$ac_compiler -V >&5") 2>&5
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); }
16399 cat >conftest.$ac_ext <<_ACEOF
16402 cat confdefs.h >>conftest.$ac_ext
16403 cat >>conftest.$ac_ext <<_ACEOF
16404 /* end confdefs.h. */
16414 ac_clean_files_save=$ac_clean_files
16415 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16416 # Try to create an executable without -o first, disregard a.out.
16417 # It will help us diagnose broken compilers, and finding out an intuition
16419 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16420 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16421 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16423 # List of possible output files, starting from the most likely.
16424 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
16425 # only as a last resort. b.out is created by i960 compilers.
16426 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
16428 # The IRIX 6 linker writes into existing files which may not be
16429 # executable, retaining their permissions. Remove them first so a
16430 # subsequent execution test works.
16432 for ac_file in $ac_files
16435 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16436 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16441 if { (ac_try="$ac_link_default"
16442 case "(($ac_try" in
16443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16444 *) ac_try_echo=$ac_try;;
16446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16447 (eval "$ac_link_default") 2>&5
16449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16450 (exit $ac_status); }; then
16451 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16452 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16453 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16454 # so that the user can short-circuit this test for compilers unknown to
16456 for ac_file in $ac_files ''
16458 test -f "$ac_file" || continue
16460 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
16463 # We found the default executable, but exeext='' is most
16467 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16469 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16471 # We set ac_cv_exeext here because the later test for it is not
16472 # safe: cross compilers may not add the suffix if given an `-o'
16473 # argument, so we may need to know it at that point already.
16474 # Even if this section looks crufty: it has the advantage of
16475 # actually working.
16481 test "$ac_cv_exeext" = no && ac_cv_exeext=
16487 { echo "$as_me:$LINENO: result: $ac_file" >&5
16488 echo "${ECHO_T}$ac_file" >&6; }
16489 if test -z "$ac_file"; then
16490 echo "$as_me: failed program was:" >&5
16491 sed 's/^/| /' conftest.$ac_ext >&5
16493 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16494 See \`config.log' for more details." >&5
16495 echo "$as_me: error: C compiler cannot create executables
16496 See \`config.log' for more details." >&2;}
16497 { (exit 77); exit 77; }; }
16500 ac_exeext=$ac_cv_exeext
16502 # Check that the compiler produces executables we can run. If not, either
16503 # the compiler is broken, or we cross compile.
16504 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16505 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16506 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16507 # If not cross compiling, check that we can run a simple program.
16508 if test "$cross_compiling" != yes; then
16509 if { ac_try='./$ac_file'
16510 { (case "(($ac_try" in
16511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16512 *) ac_try_echo=$ac_try;;
16514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16515 (eval "$ac_try") 2>&5
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); }; }; then
16521 if test "$cross_compiling" = maybe; then
16522 cross_compiling=yes
16524 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16525 If you meant to cross compile, use \`--host'.
16526 See \`config.log' for more details." >&5
16527 echo "$as_me: error: cannot run C compiled programs.
16528 If you meant to cross compile, use \`--host'.
16529 See \`config.log' for more details." >&2;}
16530 { (exit 1); exit 1; }; }
16534 { echo "$as_me:$LINENO: result: yes" >&5
16535 echo "${ECHO_T}yes" >&6; }
16537 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16538 ac_clean_files=$ac_clean_files_save
16539 # Check that the compiler produces executables we can run. If not, either
16540 # the compiler is broken, or we cross compile.
16541 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16542 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16543 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16544 echo "${ECHO_T}$cross_compiling" >&6; }
16546 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16547 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16548 if { (ac_try="$ac_link"
16549 case "(($ac_try" in
16550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16551 *) ac_try_echo=$ac_try;;
16553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16554 (eval "$ac_link") 2>&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); }; then
16558 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16559 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16560 # work properly (i.e., refer to `conftest.exe'), while it won't with
16562 for ac_file in conftest.exe conftest conftest.*; do
16563 test -f "$ac_file" || continue
16565 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16566 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16572 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16573 See \`config.log' for more details." >&5
16574 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16575 See \`config.log' for more details." >&2;}
16576 { (exit 1); exit 1; }; }
16579 rm -f conftest$ac_cv_exeext
16580 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16581 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16583 rm -f conftest.$ac_ext
16584 EXEEXT=$ac_cv_exeext
16586 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16587 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16588 if test "${ac_cv_objext+set}" = set; then
16589 echo $ECHO_N "(cached) $ECHO_C" >&6
16591 cat >conftest.$ac_ext <<_ACEOF
16594 cat confdefs.h >>conftest.$ac_ext
16595 cat >>conftest.$ac_ext <<_ACEOF
16596 /* end confdefs.h. */
16606 rm -f conftest.o conftest.obj
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>&5
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); }; then
16617 for ac_file in conftest.o conftest.obj conftest.*; do
16618 test -f "$ac_file" || continue;
16620 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16621 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16626 echo "$as_me: failed program was:" >&5
16627 sed 's/^/| /' conftest.$ac_ext >&5
16629 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16630 See \`config.log' for more details." >&5
16631 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16632 See \`config.log' for more details." >&2;}
16633 { (exit 1); exit 1; }; }
16636 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16638 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
16639 echo "${ECHO_T}$ac_cv_objext" >&6; }
16640 OBJEXT=$ac_cv_objext
16642 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
16643 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
16644 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16645 echo $ECHO_N "(cached) $ECHO_C" >&6
16647 cat >conftest.$ac_ext <<_ACEOF
16650 cat confdefs.h >>conftest.$ac_ext
16651 cat >>conftest.$ac_ext <<_ACEOF
16652 /* end confdefs.h. */
16665 rm -f conftest.$ac_objext
16666 if { (ac_try="$ac_compile"
16667 case "(($ac_try" in
16668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16669 *) ac_try_echo=$ac_try;;
16671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16672 (eval "$ac_compile") 2>conftest.er1
16674 grep -v '^ *+' conftest.er1 >conftest.err
16676 cat conftest.err >&5
16677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16678 (exit $ac_status); } && {
16679 test -z "$ac_c_werror_flag" ||
16680 test ! -s conftest.err
16681 } && test -s conftest.$ac_objext; then
16682 ac_compiler_gnu=yes
16684 echo "$as_me: failed program was:" >&5
16685 sed 's/^/| /' conftest.$ac_ext >&5
16690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16691 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16694 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
16695 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16696 GCC=`test $ac_compiler_gnu = yes && echo yes`
16697 ac_test_CFLAGS=${CFLAGS+set}
16698 ac_save_CFLAGS=$CFLAGS
16699 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16700 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16701 if test "${ac_cv_prog_cc_g+set}" = set; then
16702 echo $ECHO_N "(cached) $ECHO_C" >&6
16704 ac_save_c_werror_flag=$ac_c_werror_flag
16705 ac_c_werror_flag=yes
16708 cat >conftest.$ac_ext <<_ACEOF
16711 cat confdefs.h >>conftest.$ac_ext
16712 cat >>conftest.$ac_ext <<_ACEOF
16713 /* end confdefs.h. */
16723 rm -f conftest.$ac_objext
16724 if { (ac_try="$ac_compile"
16725 case "(($ac_try" in
16726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16727 *) ac_try_echo=$ac_try;;
16729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16730 (eval "$ac_compile") 2>conftest.er1
16732 grep -v '^ *+' conftest.er1 >conftest.err
16734 cat conftest.err >&5
16735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16736 (exit $ac_status); } && {
16737 test -z "$ac_c_werror_flag" ||
16738 test ! -s conftest.err
16739 } && test -s conftest.$ac_objext; then
16740 ac_cv_prog_cc_g=yes
16742 echo "$as_me: failed program was:" >&5
16743 sed 's/^/| /' conftest.$ac_ext >&5
16746 cat >conftest.$ac_ext <<_ACEOF
16749 cat confdefs.h >>conftest.$ac_ext
16750 cat >>conftest.$ac_ext <<_ACEOF
16751 /* end confdefs.h. */
16761 rm -f conftest.$ac_objext
16762 if { (ac_try="$ac_compile"
16763 case "(($ac_try" in
16764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16765 *) ac_try_echo=$ac_try;;
16767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16768 (eval "$ac_compile") 2>conftest.er1
16770 grep -v '^ *+' conftest.er1 >conftest.err
16772 cat conftest.err >&5
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); } && {
16775 test -z "$ac_c_werror_flag" ||
16776 test ! -s conftest.err
16777 } && test -s conftest.$ac_objext; then
16780 echo "$as_me: failed program was:" >&5
16781 sed 's/^/| /' conftest.$ac_ext >&5
16783 ac_c_werror_flag=$ac_save_c_werror_flag
16785 cat >conftest.$ac_ext <<_ACEOF
16788 cat confdefs.h >>conftest.$ac_ext
16789 cat >>conftest.$ac_ext <<_ACEOF
16790 /* end confdefs.h. */
16800 rm -f conftest.$ac_objext
16801 if { (ac_try="$ac_compile"
16802 case "(($ac_try" in
16803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16804 *) ac_try_echo=$ac_try;;
16806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16807 (eval "$ac_compile") 2>conftest.er1
16809 grep -v '^ *+' conftest.er1 >conftest.err
16811 cat conftest.err >&5
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); } && {
16814 test -z "$ac_c_werror_flag" ||
16815 test ! -s conftest.err
16816 } && test -s conftest.$ac_objext; then
16817 ac_cv_prog_cc_g=yes
16819 echo "$as_me: failed program was:" >&5
16820 sed 's/^/| /' conftest.$ac_ext >&5
16825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16832 ac_c_werror_flag=$ac_save_c_werror_flag
16834 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16835 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16836 if test "$ac_test_CFLAGS" = set; then
16837 CFLAGS=$ac_save_CFLAGS
16838 elif test $ac_cv_prog_cc_g = yes; then
16839 if test "$GCC" = yes; then
16845 if test "$GCC" = yes; then
16851 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
16852 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
16853 if test "${ac_cv_prog_cc_c89+set}" = set; then
16854 echo $ECHO_N "(cached) $ECHO_C" >&6
16856 ac_cv_prog_cc_c89=no
16858 cat >conftest.$ac_ext <<_ACEOF
16861 cat confdefs.h >>conftest.$ac_ext
16862 cat >>conftest.$ac_ext <<_ACEOF
16863 /* end confdefs.h. */
16864 #include <stdarg.h>
16866 #include <sys/types.h>
16867 #include <sys/stat.h>
16868 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16869 struct buf { int x; };
16870 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16871 static char *e (p, i)
16877 static char *f (char * (*g) (char **, int), char **p, ...)
16882 s = g (p, va_arg (v,int));
16887 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16888 function prototypes and stuff, but not '\xHH' hex character constants.
16889 These don't provoke an error unfortunately, instead are silently treated
16890 as 'x'. The following induces an error, until -std is added to get
16891 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16892 array size at least. It's necessary to write '\x00'==0 to get something
16893 that's true only with -std. */
16894 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16896 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16897 inside strings and character constants. */
16899 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16901 int test (int i, double x);
16902 struct s1 {int (*f) (int a);};
16903 struct s2 {int (*f) (double a);};
16904 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16910 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16915 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16916 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16918 CC="$ac_save_CC $ac_arg"
16919 rm -f conftest.$ac_objext
16920 if { (ac_try="$ac_compile"
16921 case "(($ac_try" in
16922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16923 *) ac_try_echo=$ac_try;;
16925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16926 (eval "$ac_compile") 2>conftest.er1
16928 grep -v '^ *+' conftest.er1 >conftest.err
16930 cat conftest.err >&5
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); } && {
16933 test -z "$ac_c_werror_flag" ||
16934 test ! -s conftest.err
16935 } && test -s conftest.$ac_objext; then
16936 ac_cv_prog_cc_c89=$ac_arg
16938 echo "$as_me: failed program was:" >&5
16939 sed 's/^/| /' conftest.$ac_ext >&5
16944 rm -f core conftest.err conftest.$ac_objext
16945 test "x$ac_cv_prog_cc_c89" != "xno" && break
16947 rm -f conftest.$ac_ext
16952 case "x$ac_cv_prog_cc_c89" in
16954 { echo "$as_me:$LINENO: result: none needed" >&5
16955 echo "${ECHO_T}none needed" >&6; } ;;
16957 { echo "$as_me:$LINENO: result: unsupported" >&5
16958 echo "${ECHO_T}unsupported" >&6; } ;;
16960 CC="$CC $ac_cv_prog_cc_c89"
16961 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16962 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16967 ac_cpp='$CPP $CPPFLAGS'
16968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16976 ac_cpp='$CPP $CPPFLAGS'
16977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16981 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16982 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16983 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16984 echo $ECHO_N "(cached) $ECHO_C" >&6
16986 cat >conftest.$ac_ext <<_ACEOF
16989 cat confdefs.h >>conftest.$ac_ext
16990 cat >>conftest.$ac_ext <<_ACEOF
16991 /* end confdefs.h. */
16997 #ifndef __INTEL_COMPILER
17005 rm -f conftest.$ac_objext
17006 if { (ac_try="$ac_compile"
17007 case "(($ac_try" in
17008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17009 *) ac_try_echo=$ac_try;;
17011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17012 (eval "$ac_compile") 2>conftest.er1
17014 grep -v '^ *+' conftest.er1 >conftest.err
17016 cat conftest.err >&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } && {
17019 test -z "$ac_c_werror_flag" ||
17020 test ! -s conftest.err
17021 } && test -s conftest.$ac_objext; then
17022 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17024 echo "$as_me: failed program was:" >&5
17025 sed 's/^/| /' conftest.$ac_ext >&5
17027 bakefile_cv_c_compiler___INTEL_COMPILER=no
17031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17035 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17036 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17037 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17043 ac_cpp='$CPP $CPPFLAGS'
17044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17051 if test "x$GCC" != "xyes"; then
17052 if test "xCC" = "xC"; then
17053 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17054 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17055 if test "${bakefile_cv_c_exto+set}" = set; then
17056 echo $ECHO_N "(cached) $ECHO_C" >&6
17058 cat >conftest.$ac_ext <<_ACEOF
17061 cat confdefs.h >>conftest.$ac_ext
17062 cat >>conftest.$ac_ext <<_ACEOF
17063 /* end confdefs.h. */
17073 rm -f conftest.$ac_objext conftest.$ac_ext.o
17074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17075 (eval $ac_compile) 2>&5
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); }; then
17079 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17081 conftest.$ac_ext.o)
17082 bakefile_cv_c_exto="-ext o"
17089 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17090 See \`config.log' for more details." >&5
17091 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17092 See \`config.log' for more details." >&2;}
17093 { (exit 1); exit 1; }; }
17097 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17100 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17101 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17102 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17103 if test "c" = "c"; then
17104 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17106 if test "c" = "cxx"; then
17107 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17111 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17112 unset ac_cv_prog_cc_g
17113 ac_test_CFLAGS=${CFLAGS+set}
17114 ac_save_CFLAGS=$CFLAGS
17115 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17116 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17117 if test "${ac_cv_prog_cc_g+set}" = set; then
17118 echo $ECHO_N "(cached) $ECHO_C" >&6
17120 ac_save_c_werror_flag=$ac_c_werror_flag
17121 ac_c_werror_flag=yes
17124 cat >conftest.$ac_ext <<_ACEOF
17127 cat confdefs.h >>conftest.$ac_ext
17128 cat >>conftest.$ac_ext <<_ACEOF
17129 /* end confdefs.h. */
17139 rm -f conftest.$ac_objext
17140 if { (ac_try="$ac_compile"
17141 case "(($ac_try" in
17142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17143 *) ac_try_echo=$ac_try;;
17145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17146 (eval "$ac_compile") 2>conftest.er1
17148 grep -v '^ *+' conftest.er1 >conftest.err
17150 cat conftest.err >&5
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); } && {
17153 test -z "$ac_c_werror_flag" ||
17154 test ! -s conftest.err
17155 } && test -s conftest.$ac_objext; then
17156 ac_cv_prog_cc_g=yes
17158 echo "$as_me: failed program was:" >&5
17159 sed 's/^/| /' conftest.$ac_ext >&5
17162 cat >conftest.$ac_ext <<_ACEOF
17165 cat confdefs.h >>conftest.$ac_ext
17166 cat >>conftest.$ac_ext <<_ACEOF
17167 /* end confdefs.h. */
17177 rm -f conftest.$ac_objext
17178 if { (ac_try="$ac_compile"
17179 case "(($ac_try" in
17180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17181 *) ac_try_echo=$ac_try;;
17183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17184 (eval "$ac_compile") 2>conftest.er1
17186 grep -v '^ *+' conftest.er1 >conftest.err
17188 cat conftest.err >&5
17189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17190 (exit $ac_status); } && {
17191 test -z "$ac_c_werror_flag" ||
17192 test ! -s conftest.err
17193 } && test -s conftest.$ac_objext; then
17196 echo "$as_me: failed program was:" >&5
17197 sed 's/^/| /' conftest.$ac_ext >&5
17199 ac_c_werror_flag=$ac_save_c_werror_flag
17201 cat >conftest.$ac_ext <<_ACEOF
17204 cat confdefs.h >>conftest.$ac_ext
17205 cat >>conftest.$ac_ext <<_ACEOF
17206 /* end confdefs.h. */
17216 rm -f conftest.$ac_objext
17217 if { (ac_try="$ac_compile"
17218 case "(($ac_try" in
17219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17220 *) ac_try_echo=$ac_try;;
17222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17223 (eval "$ac_compile") 2>conftest.er1
17225 grep -v '^ *+' conftest.er1 >conftest.err
17227 cat conftest.err >&5
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); } && {
17230 test -z "$ac_c_werror_flag" ||
17231 test ! -s conftest.err
17232 } && test -s conftest.$ac_objext; then
17233 ac_cv_prog_cc_g=yes
17235 echo "$as_me: failed program was:" >&5
17236 sed 's/^/| /' conftest.$ac_ext >&5
17241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17248 ac_c_werror_flag=$ac_save_c_werror_flag
17250 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17251 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17252 if test "$ac_test_CFLAGS" = set; then
17253 CFLAGS=$ac_save_CFLAGS
17254 elif test $ac_cv_prog_cc_g = yes; then
17255 if test "$GCC" = yes; then
17261 if test "$GCC" = yes; then
17275 ac_cpp='$CPP $CPPFLAGS'
17276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17280 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17281 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17282 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17283 echo $ECHO_N "(cached) $ECHO_C" >&6
17285 cat >conftest.$ac_ext <<_ACEOF
17288 cat confdefs.h >>conftest.$ac_ext
17289 cat >>conftest.$ac_ext <<_ACEOF
17290 /* end confdefs.h. */
17304 rm -f conftest.$ac_objext
17305 if { (ac_try="$ac_compile"
17306 case "(($ac_try" in
17307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17308 *) ac_try_echo=$ac_try;;
17310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17311 (eval "$ac_compile") 2>conftest.er1
17313 grep -v '^ *+' conftest.er1 >conftest.err
17315 cat conftest.err >&5
17316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17317 (exit $ac_status); } && {
17318 test -z "$ac_c_werror_flag" ||
17319 test ! -s conftest.err
17320 } && test -s conftest.$ac_objext; then
17321 bakefile_cv_c_compiler___xlC__=yes
17323 echo "$as_me: failed program was:" >&5
17324 sed 's/^/| /' conftest.$ac_ext >&5
17326 bakefile_cv_c_compiler___xlC__=no
17330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17334 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17335 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17336 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17342 ac_cpp='$CPP $CPPFLAGS'
17343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17355 ac_cpp='$CPP $CPPFLAGS'
17356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17360 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17361 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17362 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17363 echo $ECHO_N "(cached) $ECHO_C" >&6
17365 cat >conftest.$ac_ext <<_ACEOF
17368 cat confdefs.h >>conftest.$ac_ext
17369 cat >>conftest.$ac_ext <<_ACEOF
17370 /* end confdefs.h. */
17384 rm -f conftest.$ac_objext
17385 if { (ac_try="$ac_compile"
17386 case "(($ac_try" in
17387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17388 *) ac_try_echo=$ac_try;;
17390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17391 (eval "$ac_compile") 2>conftest.er1
17393 grep -v '^ *+' conftest.er1 >conftest.err
17395 cat conftest.err >&5
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); } && {
17398 test -z "$ac_c_werror_flag" ||
17399 test ! -s conftest.err
17400 } && test -s conftest.$ac_objext; then
17401 bakefile_cv_c_compiler___MWERKS__=yes
17403 echo "$as_me: failed program was:" >&5
17404 sed 's/^/| /' conftest.$ac_ext >&5
17406 bakefile_cv_c_compiler___MWERKS__=no
17410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17414 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17415 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17416 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17422 ac_cpp='$CPP $CPPFLAGS'
17423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17432 ac_cpp='$CPP $CPPFLAGS'
17433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17437 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17438 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17439 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17440 echo $ECHO_N "(cached) $ECHO_C" >&6
17442 cat >conftest.$ac_ext <<_ACEOF
17445 cat confdefs.h >>conftest.$ac_ext
17446 cat >>conftest.$ac_ext <<_ACEOF
17447 /* end confdefs.h. */
17461 rm -f conftest.$ac_objext
17462 if { (ac_try="$ac_compile"
17463 case "(($ac_try" in
17464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17465 *) ac_try_echo=$ac_try;;
17467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17468 (eval "$ac_compile") 2>conftest.er1
17470 grep -v '^ *+' conftest.er1 >conftest.err
17472 cat conftest.err >&5
17473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17474 (exit $ac_status); } && {
17475 test -z "$ac_c_werror_flag" ||
17476 test ! -s conftest.err
17477 } && test -s conftest.$ac_objext; then
17478 bakefile_cv_c_compiler___xlC__=yes
17480 echo "$as_me: failed program was:" >&5
17481 sed 's/^/| /' conftest.$ac_ext >&5
17483 bakefile_cv_c_compiler___xlC__=no
17487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17491 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17492 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17493 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17499 ac_cpp='$CPP $CPPFLAGS'
17500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17512 ac_cpp='$CPP $CPPFLAGS'
17513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17517 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17518 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17519 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17520 echo $ECHO_N "(cached) $ECHO_C" >&6
17522 cat >conftest.$ac_ext <<_ACEOF
17525 cat confdefs.h >>conftest.$ac_ext
17526 cat >>conftest.$ac_ext <<_ACEOF
17527 /* end confdefs.h. */
17533 #ifndef _SGI_COMPILER_VERSION
17541 rm -f conftest.$ac_objext
17542 if { (ac_try="$ac_compile"
17543 case "(($ac_try" in
17544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17545 *) ac_try_echo=$ac_try;;
17547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17548 (eval "$ac_compile") 2>conftest.er1
17550 grep -v '^ *+' conftest.er1 >conftest.err
17552 cat conftest.err >&5
17553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554 (exit $ac_status); } && {
17555 test -z "$ac_c_werror_flag" ||
17556 test ! -s conftest.err
17557 } && test -s conftest.$ac_objext; then
17558 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17560 echo "$as_me: failed program was:" >&5
17561 sed 's/^/| /' conftest.$ac_ext >&5
17563 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17571 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17572 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17573 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17579 ac_cpp='$CPP $CPPFLAGS'
17580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17592 ac_cpp='$CPP $CPPFLAGS'
17593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17597 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17598 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17599 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17600 echo $ECHO_N "(cached) $ECHO_C" >&6
17602 cat >conftest.$ac_ext <<_ACEOF
17605 cat confdefs.h >>conftest.$ac_ext
17606 cat >>conftest.$ac_ext <<_ACEOF
17607 /* end confdefs.h. */
17621 rm -f conftest.$ac_objext
17622 if { (ac_try="$ac_compile"
17623 case "(($ac_try" in
17624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17625 *) ac_try_echo=$ac_try;;
17627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17628 (eval "$ac_compile") 2>conftest.er1
17630 grep -v '^ *+' conftest.er1 >conftest.err
17632 cat conftest.err >&5
17633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17634 (exit $ac_status); } && {
17635 test -z "$ac_c_werror_flag" ||
17636 test ! -s conftest.err
17637 } && test -s conftest.$ac_objext; then
17638 bakefile_cv_c_compiler___SUNPRO_C=yes
17640 echo "$as_me: failed program was:" >&5
17641 sed 's/^/| /' conftest.$ac_ext >&5
17643 bakefile_cv_c_compiler___SUNPRO_C=no
17647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17651 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17652 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17653 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17659 ac_cpp='$CPP $CPPFLAGS'
17660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17672 ac_cpp='$CPP $CPPFLAGS'
17673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17677 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17678 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17679 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17680 echo $ECHO_N "(cached) $ECHO_C" >&6
17682 cat >conftest.$ac_ext <<_ACEOF
17685 cat confdefs.h >>conftest.$ac_ext
17686 cat >>conftest.$ac_ext <<_ACEOF
17687 /* end confdefs.h. */
17701 rm -f conftest.$ac_objext
17702 if { (ac_try="$ac_compile"
17703 case "(($ac_try" in
17704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17705 *) ac_try_echo=$ac_try;;
17707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17708 (eval "$ac_compile") 2>conftest.er1
17710 grep -v '^ *+' conftest.er1 >conftest.err
17712 cat conftest.err >&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); } && {
17715 test -z "$ac_c_werror_flag" ||
17716 test ! -s conftest.err
17717 } && test -s conftest.$ac_objext; then
17718 bakefile_cv_c_compiler___HP_cc=yes
17720 echo "$as_me: failed program was:" >&5
17721 sed 's/^/| /' conftest.$ac_ext >&5
17723 bakefile_cv_c_compiler___HP_cc=no
17727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17731 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17732 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17733 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17739 ac_cpp='$CPP $CPPFLAGS'
17740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17752 ac_cpp='$CPP $CPPFLAGS'
17753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17757 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17758 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17759 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17760 echo $ECHO_N "(cached) $ECHO_C" >&6
17762 cat >conftest.$ac_ext <<_ACEOF
17765 cat confdefs.h >>conftest.$ac_ext
17766 cat >>conftest.$ac_ext <<_ACEOF
17767 /* end confdefs.h. */
17781 rm -f conftest.$ac_objext
17782 if { (ac_try="$ac_compile"
17783 case "(($ac_try" in
17784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17785 *) ac_try_echo=$ac_try;;
17787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17788 (eval "$ac_compile") 2>conftest.er1
17790 grep -v '^ *+' conftest.er1 >conftest.err
17792 cat conftest.err >&5
17793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17794 (exit $ac_status); } && {
17795 test -z "$ac_c_werror_flag" ||
17796 test ! -s conftest.err
17797 } && test -s conftest.$ac_objext; then
17798 bakefile_cv_c_compiler___DECC=yes
17800 echo "$as_me: failed program was:" >&5
17801 sed 's/^/| /' conftest.$ac_ext >&5
17803 bakefile_cv_c_compiler___DECC=no
17807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17811 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17812 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17813 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17819 ac_cpp='$CPP $CPPFLAGS'
17820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17832 ac_cpp='$CPP $CPPFLAGS'
17833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17837 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17838 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17839 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17840 echo $ECHO_N "(cached) $ECHO_C" >&6
17842 cat >conftest.$ac_ext <<_ACEOF
17845 cat confdefs.h >>conftest.$ac_ext
17846 cat >>conftest.$ac_ext <<_ACEOF
17847 /* end confdefs.h. */
17861 rm -f conftest.$ac_objext
17862 if { (ac_try="$ac_compile"
17863 case "(($ac_try" in
17864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17865 *) ac_try_echo=$ac_try;;
17867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17868 (eval "$ac_compile") 2>conftest.er1
17870 grep -v '^ *+' conftest.er1 >conftest.err
17872 cat conftest.err >&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); } && {
17875 test -z "$ac_c_werror_flag" ||
17876 test ! -s conftest.err
17877 } && test -s conftest.$ac_objext; then
17878 bakefile_cv_c_compiler___SUNPRO_C=yes
17880 echo "$as_me: failed program was:" >&5
17881 sed 's/^/| /' conftest.$ac_ext >&5
17883 bakefile_cv_c_compiler___SUNPRO_C=no
17887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17891 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17892 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17893 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17899 ac_cpp='$CPP $CPPFLAGS'
17900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17913 ac_cpp='$CPP $CPPFLAGS'
17914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17917 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17918 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17919 # On Suns, sometimes $CPP names a directory.
17920 if test -n "$CPP" && test -d "$CPP"; then
17923 if test -z "$CPP"; then
17924 if test "${ac_cv_prog_CPP+set}" = set; then
17925 echo $ECHO_N "(cached) $ECHO_C" >&6
17927 # Double quotes because CPP needs to be expanded
17928 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17930 ac_preproc_ok=false
17931 for ac_c_preproc_warn_flag in '' yes
17933 # Use a header file that comes with gcc, so configuring glibc
17934 # with a fresh cross-compiler works.
17935 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17936 # <limits.h> exists even on freestanding compilers.
17937 # On the NeXT, cc -E runs the code through the compiler's parser,
17938 # not just through cpp. "Syntax error" is here to catch this case.
17939 cat >conftest.$ac_ext <<_ACEOF
17942 cat confdefs.h >>conftest.$ac_ext
17943 cat >>conftest.$ac_ext <<_ACEOF
17944 /* end confdefs.h. */
17946 # include <limits.h>
17948 # include <assert.h>
17952 if { (ac_try="$ac_cpp conftest.$ac_ext"
17953 case "(($ac_try" in
17954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17955 *) ac_try_echo=$ac_try;;
17957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17958 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17960 grep -v '^ *+' conftest.er1 >conftest.err
17962 cat conftest.err >&5
17963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17964 (exit $ac_status); } >/dev/null && {
17965 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17966 test ! -s conftest.err
17970 echo "$as_me: failed program was:" >&5
17971 sed 's/^/| /' conftest.$ac_ext >&5
17973 # Broken: fails on valid input.
17977 rm -f conftest.err conftest.$ac_ext
17979 # OK, works on sane cases. Now check whether nonexistent headers
17980 # can be detected and how.
17981 cat >conftest.$ac_ext <<_ACEOF
17984 cat confdefs.h >>conftest.$ac_ext
17985 cat >>conftest.$ac_ext <<_ACEOF
17986 /* end confdefs.h. */
17987 #include <ac_nonexistent.h>
17989 if { (ac_try="$ac_cpp conftest.$ac_ext"
17990 case "(($ac_try" in
17991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17992 *) ac_try_echo=$ac_try;;
17994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17995 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17997 grep -v '^ *+' conftest.er1 >conftest.err
17999 cat conftest.err >&5
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); } >/dev/null && {
18002 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18003 test ! -s conftest.err
18005 # Broken: success on invalid input.
18008 echo "$as_me: failed program was:" >&5
18009 sed 's/^/| /' conftest.$ac_ext >&5
18011 # Passes both tests.
18016 rm -f conftest.err conftest.$ac_ext
18019 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18020 rm -f conftest.err conftest.$ac_ext
18021 if $ac_preproc_ok; then
18026 ac_cv_prog_CPP=$CPP
18029 CPP=$ac_cv_prog_CPP
18031 ac_cv_prog_CPP=$CPP
18033 { echo "$as_me:$LINENO: result: $CPP" >&5
18034 echo "${ECHO_T}$CPP" >&6; }
18035 ac_preproc_ok=false
18036 for ac_c_preproc_warn_flag in '' yes
18038 # Use a header file that comes with gcc, so configuring glibc
18039 # with a fresh cross-compiler works.
18040 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18041 # <limits.h> exists even on freestanding compilers.
18042 # On the NeXT, cc -E runs the code through the compiler's parser,
18043 # not just through cpp. "Syntax error" is here to catch this case.
18044 cat >conftest.$ac_ext <<_ACEOF
18047 cat confdefs.h >>conftest.$ac_ext
18048 cat >>conftest.$ac_ext <<_ACEOF
18049 /* end confdefs.h. */
18051 # include <limits.h>
18053 # include <assert.h>
18057 if { (ac_try="$ac_cpp conftest.$ac_ext"
18058 case "(($ac_try" in
18059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18060 *) ac_try_echo=$ac_try;;
18062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18063 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18065 grep -v '^ *+' conftest.er1 >conftest.err
18067 cat conftest.err >&5
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); } >/dev/null && {
18070 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18071 test ! -s conftest.err
18075 echo "$as_me: failed program was:" >&5
18076 sed 's/^/| /' conftest.$ac_ext >&5
18078 # Broken: fails on valid input.
18082 rm -f conftest.err conftest.$ac_ext
18084 # OK, works on sane cases. Now check whether nonexistent headers
18085 # can be detected and how.
18086 cat >conftest.$ac_ext <<_ACEOF
18089 cat confdefs.h >>conftest.$ac_ext
18090 cat >>conftest.$ac_ext <<_ACEOF
18091 /* end confdefs.h. */
18092 #include <ac_nonexistent.h>
18094 if { (ac_try="$ac_cpp conftest.$ac_ext"
18095 case "(($ac_try" in
18096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18097 *) ac_try_echo=$ac_try;;
18099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18100 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18102 grep -v '^ *+' conftest.er1 >conftest.err
18104 cat conftest.err >&5
18105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18106 (exit $ac_status); } >/dev/null && {
18107 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18108 test ! -s conftest.err
18110 # Broken: success on invalid input.
18113 echo "$as_me: failed program was:" >&5
18114 sed 's/^/| /' conftest.$ac_ext >&5
18116 # Passes both tests.
18121 rm -f conftest.err conftest.$ac_ext
18124 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18125 rm -f conftest.err conftest.$ac_ext
18126 if $ac_preproc_ok; then
18129 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18130 See \`config.log' for more details." >&5
18131 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18132 See \`config.log' for more details." >&2;}
18133 { (exit 1); exit 1; }; }
18137 ac_cpp='$CPP $CPPFLAGS'
18138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18143 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18144 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18145 if test "${ac_cv_path_GREP+set}" = set; then
18146 echo $ECHO_N "(cached) $ECHO_C" >&6
18148 # Extract the first word of "grep ggrep" to use in msg output
18149 if test -z "$GREP"; then
18150 set dummy grep ggrep; ac_prog_name=$2
18151 if test "${ac_cv_path_GREP+set}" = set; then
18152 echo $ECHO_N "(cached) $ECHO_C" >&6
18154 ac_path_GREP_found=false
18155 # Loop through the user's path and test for each of PROGNAME-LIST
18156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18157 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18160 test -z "$as_dir" && as_dir=.
18161 for ac_prog in grep ggrep; do
18162 for ac_exec_ext in '' $ac_executable_extensions; do
18163 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18164 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18165 # Check for GNU ac_path_GREP and select it if it is found.
18166 # Check for GNU $ac_path_GREP
18167 case `"$ac_path_GREP" --version 2>&1` in
18169 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18172 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18175 cat "conftest.in" "conftest.in" >"conftest.tmp"
18176 mv "conftest.tmp" "conftest.in"
18177 cp "conftest.in" "conftest.nl"
18178 echo 'GREP' >> "conftest.nl"
18179 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18180 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18181 ac_count=`expr $ac_count + 1`
18182 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18183 # Best one so far, save it but keep looking for a better one
18184 ac_cv_path_GREP="$ac_path_GREP"
18185 ac_path_GREP_max=$ac_count
18187 # 10*(2^10) chars as input seems more than enough
18188 test $ac_count -gt 10 && break
18190 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18194 $ac_path_GREP_found && break 3
18204 GREP="$ac_cv_path_GREP"
18205 if test -z "$GREP"; then
18206 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18207 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18208 { (exit 1); exit 1; }; }
18212 ac_cv_path_GREP=$GREP
18217 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18218 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18219 GREP="$ac_cv_path_GREP"
18222 { echo "$as_me:$LINENO: checking for egrep" >&5
18223 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18224 if test "${ac_cv_path_EGREP+set}" = set; then
18225 echo $ECHO_N "(cached) $ECHO_C" >&6
18227 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18228 then ac_cv_path_EGREP="$GREP -E"
18230 # Extract the first word of "egrep" to use in msg output
18231 if test -z "$EGREP"; then
18232 set dummy egrep; ac_prog_name=$2
18233 if test "${ac_cv_path_EGREP+set}" = set; then
18234 echo $ECHO_N "(cached) $ECHO_C" >&6
18236 ac_path_EGREP_found=false
18237 # Loop through the user's path and test for each of PROGNAME-LIST
18238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18239 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18242 test -z "$as_dir" && as_dir=.
18243 for ac_prog in egrep; do
18244 for ac_exec_ext in '' $ac_executable_extensions; do
18245 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18246 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18247 # Check for GNU ac_path_EGREP and select it if it is found.
18248 # Check for GNU $ac_path_EGREP
18249 case `"$ac_path_EGREP" --version 2>&1` in
18251 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18254 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18257 cat "conftest.in" "conftest.in" >"conftest.tmp"
18258 mv "conftest.tmp" "conftest.in"
18259 cp "conftest.in" "conftest.nl"
18260 echo 'EGREP' >> "conftest.nl"
18261 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18262 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18263 ac_count=`expr $ac_count + 1`
18264 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18265 # Best one so far, save it but keep looking for a better one
18266 ac_cv_path_EGREP="$ac_path_EGREP"
18267 ac_path_EGREP_max=$ac_count
18269 # 10*(2^10) chars as input seems more than enough
18270 test $ac_count -gt 10 && break
18272 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18276 $ac_path_EGREP_found && break 3
18286 EGREP="$ac_cv_path_EGREP"
18287 if test -z "$EGREP"; then
18288 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18289 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18290 { (exit 1); exit 1; }; }
18294 ac_cv_path_EGREP=$EGREP
18300 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18301 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18302 EGREP="$ac_cv_path_EGREP"
18305 if test $ac_cv_c_compiler_gnu = yes; then
18306 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18307 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18308 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18309 echo $ECHO_N "(cached) $ECHO_C" >&6
18311 ac_pattern="Autoconf.*'x'"
18312 cat >conftest.$ac_ext <<_ACEOF
18315 cat confdefs.h >>conftest.$ac_ext
18316 cat >>conftest.$ac_ext <<_ACEOF
18317 /* end confdefs.h. */
18321 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18322 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18323 ac_cv_prog_gcc_traditional=yes
18325 ac_cv_prog_gcc_traditional=no
18330 if test $ac_cv_prog_gcc_traditional = no; then
18331 cat >conftest.$ac_ext <<_ACEOF
18334 cat confdefs.h >>conftest.$ac_ext
18335 cat >>conftest.$ac_ext <<_ACEOF
18336 /* end confdefs.h. */
18337 #include <termio.h>
18340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18341 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18342 ac_cv_prog_gcc_traditional=yes
18348 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18349 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18350 if test $ac_cv_prog_gcc_traditional = yes; then
18351 CC="$CC -traditional"
18356 CXXFLAGS=${CXXFLAGS:=}
18361 ac_cpp='$CXXCPP $CPPFLAGS'
18362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18365 if test -z "$CXX"; then
18366 if test -n "$CCC"; then
18369 if test -n "$ac_tool_prefix"; then
18370 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18372 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18373 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18376 if test "${ac_cv_prog_CXX+set}" = set; then
18377 echo $ECHO_N "(cached) $ECHO_C" >&6
18379 if test -n "$CXX"; then
18380 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18383 for as_dir in $PATH
18386 test -z "$as_dir" && as_dir=.
18387 for ac_exec_ext in '' $ac_executable_extensions; do
18388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18389 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18399 CXX=$ac_cv_prog_CXX
18400 if test -n "$CXX"; then
18401 { echo "$as_me:$LINENO: result: $CXX" >&5
18402 echo "${ECHO_T}$CXX" >&6; }
18404 { echo "$as_me:$LINENO: result: no" >&5
18405 echo "${ECHO_T}no" >&6; }
18409 test -n "$CXX" && break
18412 if test -z "$CXX"; then
18414 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18416 # Extract the first word of "$ac_prog", so it can be a program name with args.
18417 set dummy $ac_prog; ac_word=$2
18418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18420 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18421 echo $ECHO_N "(cached) $ECHO_C" >&6
18423 if test -n "$ac_ct_CXX"; then
18424 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18427 for as_dir in $PATH
18430 test -z "$as_dir" && as_dir=.
18431 for ac_exec_ext in '' $ac_executable_extensions; do
18432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18433 ac_cv_prog_ac_ct_CXX="$ac_prog"
18434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18443 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18444 if test -n "$ac_ct_CXX"; then
18445 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18446 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18448 { echo "$as_me:$LINENO: result: no" >&5
18449 echo "${ECHO_T}no" >&6; }
18453 test -n "$ac_ct_CXX" && break
18456 if test "x$ac_ct_CXX" = x; then
18459 case $cross_compiling:$ac_tool_warned in
18461 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18462 whose name does not start with the host triplet. If you think this
18463 configuration is useful to you, please write to autoconf@gnu.org." >&5
18464 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18465 whose name does not start with the host triplet. If you think this
18466 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18467 ac_tool_warned=yes ;;
18475 # Provide some information about the compiler.
18476 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
18477 ac_compiler=`set X $ac_compile; echo $2`
18478 { (ac_try="$ac_compiler --version >&5"
18479 case "(($ac_try" in
18480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18481 *) ac_try_echo=$ac_try;;
18483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18484 (eval "$ac_compiler --version >&5") 2>&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); }
18488 { (ac_try="$ac_compiler -v >&5"
18489 case "(($ac_try" in
18490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18491 *) ac_try_echo=$ac_try;;
18493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18494 (eval "$ac_compiler -v >&5") 2>&5
18496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18497 (exit $ac_status); }
18498 { (ac_try="$ac_compiler -V >&5"
18499 case "(($ac_try" in
18500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18501 *) ac_try_echo=$ac_try;;
18503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18504 (eval "$ac_compiler -V >&5") 2>&5
18506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18507 (exit $ac_status); }
18509 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18510 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18511 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18512 echo $ECHO_N "(cached) $ECHO_C" >&6
18514 cat >conftest.$ac_ext <<_ACEOF
18517 cat confdefs.h >>conftest.$ac_ext
18518 cat >>conftest.$ac_ext <<_ACEOF
18519 /* end confdefs.h. */
18532 rm -f conftest.$ac_objext
18533 if { (ac_try="$ac_compile"
18534 case "(($ac_try" in
18535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18536 *) ac_try_echo=$ac_try;;
18538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18539 (eval "$ac_compile") 2>conftest.er1
18541 grep -v '^ *+' conftest.er1 >conftest.err
18543 cat conftest.err >&5
18544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18545 (exit $ac_status); } && {
18546 test -z "$ac_cxx_werror_flag" ||
18547 test ! -s conftest.err
18548 } && test -s conftest.$ac_objext; then
18549 ac_compiler_gnu=yes
18551 echo "$as_me: failed program was:" >&5
18552 sed 's/^/| /' conftest.$ac_ext >&5
18557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18558 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18561 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18562 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18563 GXX=`test $ac_compiler_gnu = yes && echo yes`
18564 ac_test_CXXFLAGS=${CXXFLAGS+set}
18565 ac_save_CXXFLAGS=$CXXFLAGS
18566 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18567 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18568 if test "${ac_cv_prog_cxx_g+set}" = set; then
18569 echo $ECHO_N "(cached) $ECHO_C" >&6
18571 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18572 ac_cxx_werror_flag=yes
18573 ac_cv_prog_cxx_g=no
18575 cat >conftest.$ac_ext <<_ACEOF
18578 cat confdefs.h >>conftest.$ac_ext
18579 cat >>conftest.$ac_ext <<_ACEOF
18580 /* end confdefs.h. */
18590 rm -f conftest.$ac_objext
18591 if { (ac_try="$ac_compile"
18592 case "(($ac_try" in
18593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18594 *) ac_try_echo=$ac_try;;
18596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18597 (eval "$ac_compile") 2>conftest.er1
18599 grep -v '^ *+' conftest.er1 >conftest.err
18601 cat conftest.err >&5
18602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18603 (exit $ac_status); } && {
18604 test -z "$ac_cxx_werror_flag" ||
18605 test ! -s conftest.err
18606 } && test -s conftest.$ac_objext; then
18607 ac_cv_prog_cxx_g=yes
18609 echo "$as_me: failed program was:" >&5
18610 sed 's/^/| /' conftest.$ac_ext >&5
18613 cat >conftest.$ac_ext <<_ACEOF
18616 cat confdefs.h >>conftest.$ac_ext
18617 cat >>conftest.$ac_ext <<_ACEOF
18618 /* end confdefs.h. */
18628 rm -f conftest.$ac_objext
18629 if { (ac_try="$ac_compile"
18630 case "(($ac_try" in
18631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18632 *) ac_try_echo=$ac_try;;
18634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18635 (eval "$ac_compile") 2>conftest.er1
18637 grep -v '^ *+' conftest.er1 >conftest.err
18639 cat conftest.err >&5
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); } && {
18642 test -z "$ac_cxx_werror_flag" ||
18643 test ! -s conftest.err
18644 } && test -s conftest.$ac_objext; then
18647 echo "$as_me: failed program was:" >&5
18648 sed 's/^/| /' conftest.$ac_ext >&5
18650 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18652 cat >conftest.$ac_ext <<_ACEOF
18655 cat confdefs.h >>conftest.$ac_ext
18656 cat >>conftest.$ac_ext <<_ACEOF
18657 /* end confdefs.h. */
18667 rm -f conftest.$ac_objext
18668 if { (ac_try="$ac_compile"
18669 case "(($ac_try" in
18670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18671 *) ac_try_echo=$ac_try;;
18673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18674 (eval "$ac_compile") 2>conftest.er1
18676 grep -v '^ *+' conftest.er1 >conftest.err
18678 cat conftest.err >&5
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); } && {
18681 test -z "$ac_cxx_werror_flag" ||
18682 test ! -s conftest.err
18683 } && test -s conftest.$ac_objext; then
18684 ac_cv_prog_cxx_g=yes
18686 echo "$as_me: failed program was:" >&5
18687 sed 's/^/| /' conftest.$ac_ext >&5
18692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18699 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18701 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18702 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18703 if test "$ac_test_CXXFLAGS" = set; then
18704 CXXFLAGS=$ac_save_CXXFLAGS
18705 elif test $ac_cv_prog_cxx_g = yes; then
18706 if test "$GXX" = yes; then
18712 if test "$GXX" = yes; then
18719 ac_cpp='$CPP $CPPFLAGS'
18720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18728 ac_cpp='$CXXCPP $CPPFLAGS'
18729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18733 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18734 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18735 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18736 echo $ECHO_N "(cached) $ECHO_C" >&6
18738 cat >conftest.$ac_ext <<_ACEOF
18741 cat confdefs.h >>conftest.$ac_ext
18742 cat >>conftest.$ac_ext <<_ACEOF
18743 /* end confdefs.h. */
18749 #ifndef __INTEL_COMPILER
18757 rm -f conftest.$ac_objext
18758 if { (ac_try="$ac_compile"
18759 case "(($ac_try" in
18760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18761 *) ac_try_echo=$ac_try;;
18763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18764 (eval "$ac_compile") 2>conftest.er1
18766 grep -v '^ *+' conftest.er1 >conftest.err
18768 cat conftest.err >&5
18769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18770 (exit $ac_status); } && {
18771 test -z "$ac_cxx_werror_flag" ||
18772 test ! -s conftest.err
18773 } && test -s conftest.$ac_objext; then
18774 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18776 echo "$as_me: failed program was:" >&5
18777 sed 's/^/| /' conftest.$ac_ext >&5
18779 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18787 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18788 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18789 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18795 ac_cpp='$CPP $CPPFLAGS'
18796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18803 if test "x$GCXX" != "xyes"; then
18804 if test "xCXX" = "xC"; then
18805 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18806 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18807 if test "${bakefile_cv_c_exto+set}" = set; then
18808 echo $ECHO_N "(cached) $ECHO_C" >&6
18810 cat >conftest.$ac_ext <<_ACEOF
18813 cat confdefs.h >>conftest.$ac_ext
18814 cat >>conftest.$ac_ext <<_ACEOF
18815 /* end confdefs.h. */
18825 rm -f conftest.$ac_objext conftest.$ac_ext.o
18826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18827 (eval $ac_compile) 2>&5
18829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18830 (exit $ac_status); }; then
18831 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18833 conftest.$ac_ext.o)
18834 bakefile_cv_c_exto="-ext o"
18841 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18842 See \`config.log' for more details." >&5
18843 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18844 See \`config.log' for more details." >&2;}
18845 { (exit 1); exit 1; }; }
18849 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18852 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18853 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18854 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18855 if test "c" = "c"; then
18856 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18858 if test "c" = "cxx"; then
18859 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18863 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18864 unset ac_cv_prog_cc_g
18865 ac_test_CFLAGS=${CFLAGS+set}
18866 ac_save_CFLAGS=$CFLAGS
18867 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18868 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18869 if test "${ac_cv_prog_cc_g+set}" = set; then
18870 echo $ECHO_N "(cached) $ECHO_C" >&6
18872 ac_save_c_werror_flag=$ac_c_werror_flag
18873 ac_c_werror_flag=yes
18876 cat >conftest.$ac_ext <<_ACEOF
18879 cat confdefs.h >>conftest.$ac_ext
18880 cat >>conftest.$ac_ext <<_ACEOF
18881 /* end confdefs.h. */
18891 rm -f conftest.$ac_objext
18892 if { (ac_try="$ac_compile"
18893 case "(($ac_try" in
18894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18895 *) ac_try_echo=$ac_try;;
18897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18898 (eval "$ac_compile") 2>conftest.er1
18900 grep -v '^ *+' conftest.er1 >conftest.err
18902 cat conftest.err >&5
18903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18904 (exit $ac_status); } && {
18905 test -z "$ac_c_werror_flag" ||
18906 test ! -s conftest.err
18907 } && test -s conftest.$ac_objext; then
18908 ac_cv_prog_cc_g=yes
18910 echo "$as_me: failed program was:" >&5
18911 sed 's/^/| /' conftest.$ac_ext >&5
18914 cat >conftest.$ac_ext <<_ACEOF
18917 cat confdefs.h >>conftest.$ac_ext
18918 cat >>conftest.$ac_ext <<_ACEOF
18919 /* end confdefs.h. */
18929 rm -f conftest.$ac_objext
18930 if { (ac_try="$ac_compile"
18931 case "(($ac_try" in
18932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18933 *) ac_try_echo=$ac_try;;
18935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18936 (eval "$ac_compile") 2>conftest.er1
18938 grep -v '^ *+' conftest.er1 >conftest.err
18940 cat conftest.err >&5
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); } && {
18943 test -z "$ac_c_werror_flag" ||
18944 test ! -s conftest.err
18945 } && test -s conftest.$ac_objext; then
18948 echo "$as_me: failed program was:" >&5
18949 sed 's/^/| /' conftest.$ac_ext >&5
18951 ac_c_werror_flag=$ac_save_c_werror_flag
18953 cat >conftest.$ac_ext <<_ACEOF
18956 cat confdefs.h >>conftest.$ac_ext
18957 cat >>conftest.$ac_ext <<_ACEOF
18958 /* end confdefs.h. */
18968 rm -f conftest.$ac_objext
18969 if { (ac_try="$ac_compile"
18970 case "(($ac_try" in
18971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18972 *) ac_try_echo=$ac_try;;
18974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18975 (eval "$ac_compile") 2>conftest.er1
18977 grep -v '^ *+' conftest.er1 >conftest.err
18979 cat conftest.err >&5
18980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18981 (exit $ac_status); } && {
18982 test -z "$ac_c_werror_flag" ||
18983 test ! -s conftest.err
18984 } && test -s conftest.$ac_objext; then
18985 ac_cv_prog_cc_g=yes
18987 echo "$as_me: failed program was:" >&5
18988 sed 's/^/| /' conftest.$ac_ext >&5
18993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19000 ac_c_werror_flag=$ac_save_c_werror_flag
19002 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19003 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19004 if test "$ac_test_CFLAGS" = set; then
19005 CFLAGS=$ac_save_CFLAGS
19006 elif test $ac_cv_prog_cc_g = yes; then
19007 if test "$GCC" = yes; then
19013 if test "$GCC" = yes; then
19027 ac_cpp='$CXXCPP $CPPFLAGS'
19028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19032 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19033 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19034 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19035 echo $ECHO_N "(cached) $ECHO_C" >&6
19037 cat >conftest.$ac_ext <<_ACEOF
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19056 rm -f conftest.$ac_objext
19057 if { (ac_try="$ac_compile"
19058 case "(($ac_try" in
19059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19060 *) ac_try_echo=$ac_try;;
19062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19063 (eval "$ac_compile") 2>conftest.er1
19065 grep -v '^ *+' conftest.er1 >conftest.err
19067 cat conftest.err >&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); } && {
19070 test -z "$ac_cxx_werror_flag" ||
19071 test ! -s conftest.err
19072 } && test -s conftest.$ac_objext; then
19073 bakefile_cv_cxx_compiler___xlC__=yes
19075 echo "$as_me: failed program was:" >&5
19076 sed 's/^/| /' conftest.$ac_ext >&5
19078 bakefile_cv_cxx_compiler___xlC__=no
19082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19086 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19087 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19088 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19094 ac_cpp='$CPP $CPPFLAGS'
19095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19107 ac_cpp='$CXXCPP $CPPFLAGS'
19108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19112 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19113 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19114 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19115 echo $ECHO_N "(cached) $ECHO_C" >&6
19117 cat >conftest.$ac_ext <<_ACEOF
19120 cat confdefs.h >>conftest.$ac_ext
19121 cat >>conftest.$ac_ext <<_ACEOF
19122 /* end confdefs.h. */
19136 rm -f conftest.$ac_objext
19137 if { (ac_try="$ac_compile"
19138 case "(($ac_try" in
19139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19140 *) ac_try_echo=$ac_try;;
19142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19143 (eval "$ac_compile") 2>conftest.er1
19145 grep -v '^ *+' conftest.er1 >conftest.err
19147 cat conftest.err >&5
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); } && {
19150 test -z "$ac_cxx_werror_flag" ||
19151 test ! -s conftest.err
19152 } && test -s conftest.$ac_objext; then
19153 bakefile_cv_cxx_compiler___MWERKS__=yes
19155 echo "$as_me: failed program was:" >&5
19156 sed 's/^/| /' conftest.$ac_ext >&5
19158 bakefile_cv_cxx_compiler___MWERKS__=no
19162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19166 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19167 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19168 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19174 ac_cpp='$CPP $CPPFLAGS'
19175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19184 ac_cpp='$CXXCPP $CPPFLAGS'
19185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19189 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19190 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19191 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19192 echo $ECHO_N "(cached) $ECHO_C" >&6
19194 cat >conftest.$ac_ext <<_ACEOF
19197 cat confdefs.h >>conftest.$ac_ext
19198 cat >>conftest.$ac_ext <<_ACEOF
19199 /* end confdefs.h. */
19213 rm -f conftest.$ac_objext
19214 if { (ac_try="$ac_compile"
19215 case "(($ac_try" in
19216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19217 *) ac_try_echo=$ac_try;;
19219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19220 (eval "$ac_compile") 2>conftest.er1
19222 grep -v '^ *+' conftest.er1 >conftest.err
19224 cat conftest.err >&5
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); } && {
19227 test -z "$ac_cxx_werror_flag" ||
19228 test ! -s conftest.err
19229 } && test -s conftest.$ac_objext; then
19230 bakefile_cv_cxx_compiler___xlC__=yes
19232 echo "$as_me: failed program was:" >&5
19233 sed 's/^/| /' conftest.$ac_ext >&5
19235 bakefile_cv_cxx_compiler___xlC__=no
19239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19243 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19244 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19245 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19251 ac_cpp='$CPP $CPPFLAGS'
19252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19264 ac_cpp='$CXXCPP $CPPFLAGS'
19265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19269 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19270 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19271 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19272 echo $ECHO_N "(cached) $ECHO_C" >&6
19274 cat >conftest.$ac_ext <<_ACEOF
19277 cat confdefs.h >>conftest.$ac_ext
19278 cat >>conftest.$ac_ext <<_ACEOF
19279 /* end confdefs.h. */
19285 #ifndef _SGI_COMPILER_VERSION
19293 rm -f conftest.$ac_objext
19294 if { (ac_try="$ac_compile"
19295 case "(($ac_try" in
19296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19297 *) ac_try_echo=$ac_try;;
19299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19300 (eval "$ac_compile") 2>conftest.er1
19302 grep -v '^ *+' conftest.er1 >conftest.err
19304 cat conftest.err >&5
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); } && {
19307 test -z "$ac_cxx_werror_flag" ||
19308 test ! -s conftest.err
19309 } && test -s conftest.$ac_objext; then
19310 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19312 echo "$as_me: failed program was:" >&5
19313 sed 's/^/| /' conftest.$ac_ext >&5
19315 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19323 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19324 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19325 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19331 ac_cpp='$CPP $CPPFLAGS'
19332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19344 ac_cpp='$CXXCPP $CPPFLAGS'
19345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19349 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19350 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19351 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19352 echo $ECHO_N "(cached) $ECHO_C" >&6
19354 cat >conftest.$ac_ext <<_ACEOF
19357 cat confdefs.h >>conftest.$ac_ext
19358 cat >>conftest.$ac_ext <<_ACEOF
19359 /* end confdefs.h. */
19365 #ifndef __SUNPRO_CC
19373 rm -f conftest.$ac_objext
19374 if { (ac_try="$ac_compile"
19375 case "(($ac_try" in
19376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19377 *) ac_try_echo=$ac_try;;
19379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19380 (eval "$ac_compile") 2>conftest.er1
19382 grep -v '^ *+' conftest.er1 >conftest.err
19384 cat conftest.err >&5
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); } && {
19387 test -z "$ac_cxx_werror_flag" ||
19388 test ! -s conftest.err
19389 } && test -s conftest.$ac_objext; then
19390 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19392 echo "$as_me: failed program was:" >&5
19393 sed 's/^/| /' conftest.$ac_ext >&5
19395 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19403 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19404 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19405 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19411 ac_cpp='$CPP $CPPFLAGS'
19412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19424 ac_cpp='$CXXCPP $CPPFLAGS'
19425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19429 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19430 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19431 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19432 echo $ECHO_N "(cached) $ECHO_C" >&6
19434 cat >conftest.$ac_ext <<_ACEOF
19437 cat confdefs.h >>conftest.$ac_ext
19438 cat >>conftest.$ac_ext <<_ACEOF
19439 /* end confdefs.h. */
19453 rm -f conftest.$ac_objext
19454 if { (ac_try="$ac_compile"
19455 case "(($ac_try" in
19456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19457 *) ac_try_echo=$ac_try;;
19459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19460 (eval "$ac_compile") 2>conftest.er1
19462 grep -v '^ *+' conftest.er1 >conftest.err
19464 cat conftest.err >&5
19465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19466 (exit $ac_status); } && {
19467 test -z "$ac_cxx_werror_flag" ||
19468 test ! -s conftest.err
19469 } && test -s conftest.$ac_objext; then
19470 bakefile_cv_cxx_compiler___HP_aCC=yes
19472 echo "$as_me: failed program was:" >&5
19473 sed 's/^/| /' conftest.$ac_ext >&5
19475 bakefile_cv_cxx_compiler___HP_aCC=no
19479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19483 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19484 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19485 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19491 ac_cpp='$CPP $CPPFLAGS'
19492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19504 ac_cpp='$CXXCPP $CPPFLAGS'
19505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19509 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19510 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19511 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19512 echo $ECHO_N "(cached) $ECHO_C" >&6
19514 cat >conftest.$ac_ext <<_ACEOF
19517 cat confdefs.h >>conftest.$ac_ext
19518 cat >>conftest.$ac_ext <<_ACEOF
19519 /* end confdefs.h. */
19533 rm -f conftest.$ac_objext
19534 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
19542 grep -v '^ *+' conftest.er1 >conftest.err
19544 cat conftest.err >&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); } && {
19547 test -z "$ac_cxx_werror_flag" ||
19548 test ! -s conftest.err
19549 } && test -s conftest.$ac_objext; then
19550 bakefile_cv_cxx_compiler___DECCXX=yes
19552 echo "$as_me: failed program was:" >&5
19553 sed 's/^/| /' conftest.$ac_ext >&5
19555 bakefile_cv_cxx_compiler___DECCXX=no
19559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19563 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19564 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19565 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19571 ac_cpp='$CPP $CPPFLAGS'
19572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19584 ac_cpp='$CXXCPP $CPPFLAGS'
19585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19589 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19590 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19591 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19592 echo $ECHO_N "(cached) $ECHO_C" >&6
19594 cat >conftest.$ac_ext <<_ACEOF
19597 cat confdefs.h >>conftest.$ac_ext
19598 cat >>conftest.$ac_ext <<_ACEOF
19599 /* end confdefs.h. */
19605 #ifndef __SUNPRO_CC
19613 rm -f conftest.$ac_objext
19614 if { (ac_try="$ac_compile"
19615 case "(($ac_try" in
19616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19617 *) ac_try_echo=$ac_try;;
19619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19620 (eval "$ac_compile") 2>conftest.er1
19622 grep -v '^ *+' conftest.er1 >conftest.err
19624 cat conftest.err >&5
19625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626 (exit $ac_status); } && {
19627 test -z "$ac_cxx_werror_flag" ||
19628 test ! -s conftest.err
19629 } && test -s conftest.$ac_objext; then
19630 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19632 echo "$as_me: failed program was:" >&5
19633 sed 's/^/| /' conftest.$ac_ext >&5
19635 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19643 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19644 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19645 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19651 ac_cpp='$CPP $CPPFLAGS'
19652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19664 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19665 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19666 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19667 { (exit 1); exit 1; }; }
19670 if test -n "$ac_tool_prefix"; then
19671 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19672 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19673 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19675 if test "${ac_cv_prog_RANLIB+set}" = set; then
19676 echo $ECHO_N "(cached) $ECHO_C" >&6
19678 if test -n "$RANLIB"; then
19679 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19682 for as_dir in $PATH
19685 test -z "$as_dir" && as_dir=.
19686 for ac_exec_ext in '' $ac_executable_extensions; do
19687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19688 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19698 RANLIB=$ac_cv_prog_RANLIB
19699 if test -n "$RANLIB"; then
19700 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19701 echo "${ECHO_T}$RANLIB" >&6; }
19703 { echo "$as_me:$LINENO: result: no" >&5
19704 echo "${ECHO_T}no" >&6; }
19709 if test -z "$ac_cv_prog_RANLIB"; then
19710 ac_ct_RANLIB=$RANLIB
19711 # Extract the first word of "ranlib", so it can be a program name with args.
19712 set dummy ranlib; ac_word=$2
19713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19715 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19716 echo $ECHO_N "(cached) $ECHO_C" >&6
19718 if test -n "$ac_ct_RANLIB"; then
19719 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19722 for as_dir in $PATH
19725 test -z "$as_dir" && as_dir=.
19726 for ac_exec_ext in '' $ac_executable_extensions; do
19727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19728 ac_cv_prog_ac_ct_RANLIB="ranlib"
19729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19738 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19739 if test -n "$ac_ct_RANLIB"; then
19740 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19741 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
19743 { echo "$as_me:$LINENO: result: no" >&5
19744 echo "${ECHO_T}no" >&6; }
19747 if test "x$ac_ct_RANLIB" = x; then
19750 case $cross_compiling:$ac_tool_warned in
19752 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19753 whose name does not start with the host triplet. If you think this
19754 configuration is useful to you, please write to autoconf@gnu.org." >&5
19755 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19756 whose name does not start with the host triplet. If you think this
19757 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19758 ac_tool_warned=yes ;;
19760 RANLIB=$ac_ct_RANLIB
19763 RANLIB="$ac_cv_prog_RANLIB"
19767 if test "x$SUNCXX" != xyes; then
19768 if test -n "$ac_tool_prefix"; then
19769 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19770 set dummy ${ac_tool_prefix}ar; ac_word=$2
19771 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19773 if test "${ac_cv_prog_AR+set}" = set; then
19774 echo $ECHO_N "(cached) $ECHO_C" >&6
19776 if test -n "$AR"; then
19777 ac_cv_prog_AR="$AR" # Let the user override the test.
19779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19780 for as_dir in $PATH
19783 test -z "$as_dir" && as_dir=.
19784 for ac_exec_ext in '' $ac_executable_extensions; do
19785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19786 ac_cv_prog_AR="${ac_tool_prefix}ar"
19787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19797 if test -n "$AR"; then
19798 { echo "$as_me:$LINENO: result: $AR" >&5
19799 echo "${ECHO_T}$AR" >&6; }
19801 { echo "$as_me:$LINENO: result: no" >&5
19802 echo "${ECHO_T}no" >&6; }
19807 if test -z "$ac_cv_prog_AR"; then
19809 # Extract the first word of "ar", so it can be a program name with args.
19810 set dummy ar; ac_word=$2
19811 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19813 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19814 echo $ECHO_N "(cached) $ECHO_C" >&6
19816 if test -n "$ac_ct_AR"; then
19817 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19820 for as_dir in $PATH
19823 test -z "$as_dir" && as_dir=.
19824 for ac_exec_ext in '' $ac_executable_extensions; do
19825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19826 ac_cv_prog_ac_ct_AR="ar"
19827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19836 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19837 if test -n "$ac_ct_AR"; then
19838 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19839 echo "${ECHO_T}$ac_ct_AR" >&6; }
19841 { echo "$as_me:$LINENO: result: no" >&5
19842 echo "${ECHO_T}no" >&6; }
19845 if test "x$ac_ct_AR" = x; then
19848 case $cross_compiling:$ac_tool_warned in
19850 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19851 whose name does not start with the host triplet. If you think this
19852 configuration is useful to you, please write to autoconf@gnu.org." >&5
19853 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19854 whose name does not start with the host triplet. If you think this
19855 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19856 ac_tool_warned=yes ;;
19861 AR="$ac_cv_prog_AR"
19864 if test "x$AR" = "x" ; then
19865 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19866 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19867 { (exit 1); exit 1; }; }
19871 # Find a good install program. We prefer a C program (faster),
19872 # so one script is as good as another. But avoid the broken or
19873 # incompatible versions:
19874 # SysV /etc/install, /usr/sbin/install
19875 # SunOS /usr/etc/install
19876 # IRIX /sbin/install
19878 # AmigaOS /C/install, which installs bootblocks on floppy discs
19879 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19880 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19881 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19882 # OS/2's system install, which has a completely different semantic
19883 # ./install, which can be erroneously created by make from ./install.sh.
19884 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19885 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19886 if test -z "$INSTALL"; then
19887 if test "${ac_cv_path_install+set}" = set; then
19888 echo $ECHO_N "(cached) $ECHO_C" >&6
19890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19891 for as_dir in $PATH
19894 test -z "$as_dir" && as_dir=.
19895 # Account for people who put trailing slashes in PATH elements.
19897 ./ | .// | /cC/* | \
19898 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19899 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19902 # OSF1 and SCO ODT 3.0 have their own names for install.
19903 # Don't use installbsd from OSF since it installs stuff as root
19905 for ac_prog in ginstall scoinst install; do
19906 for ac_exec_ext in '' $ac_executable_extensions; do
19907 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19908 if test $ac_prog = install &&
19909 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19910 # AIX install. It has an incompatible calling convention.
19912 elif test $ac_prog = install &&
19913 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19914 # program-specific install script used by HP pwplus--don't use.
19917 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19930 if test "${ac_cv_path_install+set}" = set; then
19931 INSTALL=$ac_cv_path_install
19933 # As a last resort, use the slow shell script. Don't cache a
19934 # value for INSTALL within a source directory, because that will
19935 # break other packages using the cache if that directory is
19936 # removed, or if the value is a relative name.
19937 INSTALL=$ac_install_sh
19940 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19941 echo "${ECHO_T}$INSTALL" >&6; }
19943 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19944 # It thinks the first close brace ends the variable substitution.
19945 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19947 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19949 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19955 ?:* ) # Drive letter, considered as absolute.
19958 INSTALL=`pwd`/${INSTALL} ;;
19961 retest_macosx_linking=no
19963 #if test "$wxUSE_MAC" = 1; then
19964 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19965 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
19966 # Implicitly turn on the new --with-macosx-sdk using the default
19967 # SDK which provides the behavior this option has always had.
19968 if test "x$wxUSE_MACOSX_SDK" = "x"; then
19969 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
19970 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
19971 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
19972 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
19973 wxUSE_MACOSX_SDK=yes
19976 # Complain to user if he specified an argument to --enable-universal_binary
19977 # and also 1) specified --with-macosx-sdk using the default (yes) or
19978 # 2) specified --with-macosx-sdk using a path or 3) specified
19979 # --without-macosx-sdk (no).
19980 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
19981 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19982 See \`config.log' for more details." >&5
19983 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19984 See \`config.log' for more details." >&2;}
19985 { (exit 1); exit 1; }; }
19987 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
19988 # special-case the empty string because the below test simply
19989 # converts "no" to the empty string anyway.
19990 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
19991 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
19992 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
19995 OSX_UNIV_OPTS="-arch ppc -arch i386"
19996 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
19997 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
19998 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
19999 retest_macosx_linking=yes
20001 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
20002 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
20007 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
20009 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
20010 # TODO: Search for most recent SDK and use it.
20011 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
20015 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20016 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
20017 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
20018 if ! test -d "$wxUSE_MACOSX_SDK"; then
20019 { { echo "$as_me:$LINENO: error: not found
20020 See \`config.log' for more details." >&5
20021 echo "$as_me: error: not found
20022 See \`config.log' for more details." >&2;}
20023 { (exit 1); exit 1; }; }
20025 { echo "$as_me:$LINENO: result: exists" >&5
20026 echo "${ECHO_T}exists" >&6; }
20028 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20029 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20030 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20031 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20032 retest_macosx_linking=yes
20035 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20036 wxUSE_MACOSX_VERSION_MIN=
20037 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20038 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20039 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20040 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20042 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
20044 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20045 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20046 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20047 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20049 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20050 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20051 wxUSE_MACOSX_VERSION_MIN=
20054 wxUSE_MACOSX_VERSION_MIN=
20058 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20059 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20060 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20061 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20062 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20063 retest_macosx_linking=yes
20066 if test "x$retest_macosx_linking" = "xyes"; then
20068 ac_cpp='$CPP $CPPFLAGS'
20069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20073 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20074 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20075 cat >conftest.$ac_ext <<_ACEOF
20078 cat confdefs.h >>conftest.$ac_ext
20079 cat >>conftest.$ac_ext <<_ACEOF
20080 /* end confdefs.h. */
20090 rm -f conftest.$ac_objext conftest$ac_exeext
20091 if { (ac_try="$ac_link"
20092 case "(($ac_try" in
20093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20094 *) ac_try_echo=$ac_try;;
20096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20097 (eval "$ac_link") 2>conftest.er1
20099 grep -v '^ *+' conftest.er1 >conftest.err
20101 cat conftest.err >&5
20102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20103 (exit $ac_status); } && {
20104 test -z "$ac_c_werror_flag" ||
20105 test ! -s conftest.err
20106 } && test -s conftest$ac_exeext &&
20107 $as_test_x conftest$ac_exeext; then
20108 { echo "$as_me:$LINENO: result: yes" >&5
20109 echo "${ECHO_T}yes" >&6; }
20111 echo "$as_me: failed program was:" >&5
20112 sed 's/^/| /' conftest.$ac_ext >&5
20114 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20115 See \`config.log' for more details." >&5
20116 echo "$as_me: error: no. Try a different SDK
20117 See \`config.log' for more details." >&2;}
20118 { (exit 1); exit 1; }; }; exit 1
20121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20122 conftest$ac_exeext conftest.$ac_ext
20124 ac_cpp='$CPP $CPPFLAGS'
20125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20131 ac_cpp='$CXXCPP $CPPFLAGS'
20132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20136 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20137 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20138 cat >conftest.$ac_ext <<_ACEOF
20141 cat confdefs.h >>conftest.$ac_ext
20142 cat >>conftest.$ac_ext <<_ACEOF
20143 /* end confdefs.h. */
20153 rm -f conftest.$ac_objext conftest$ac_exeext
20154 if { (ac_try="$ac_link"
20155 case "(($ac_try" in
20156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20157 *) ac_try_echo=$ac_try;;
20159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20160 (eval "$ac_link") 2>conftest.er1
20162 grep -v '^ *+' conftest.er1 >conftest.err
20164 cat conftest.err >&5
20165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20166 (exit $ac_status); } && {
20167 test -z "$ac_cxx_werror_flag" ||
20168 test ! -s conftest.err
20169 } && test -s conftest$ac_exeext &&
20170 $as_test_x conftest$ac_exeext; then
20171 { echo "$as_me:$LINENO: result: yes" >&5
20172 echo "${ECHO_T}yes" >&6; }
20174 echo "$as_me: failed program was:" >&5
20175 sed 's/^/| /' conftest.$ac_ext >&5
20177 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20178 See \`config.log' for more details." >&5
20179 echo "$as_me: error: no. Try a different SDK
20180 See \`config.log' for more details." >&2;}
20181 { (exit 1); exit 1; }; }; exit 1
20184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20185 conftest$ac_exeext conftest.$ac_ext
20187 ac_cpp='$CPP $CPPFLAGS'
20188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20198 INSTALL_PROGRAM="cp -fp"
20199 INSTALL_DATA="cp -fp"
20205 if test -n "$ac_tool_prefix"; then
20206 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
20207 set dummy ${ac_tool_prefix}strip; ac_word=$2
20208 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20210 if test "${ac_cv_prog_STRIP+set}" = set; then
20211 echo $ECHO_N "(cached) $ECHO_C" >&6
20213 if test -n "$STRIP"; then
20214 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
20216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20217 for as_dir in $PATH
20220 test -z "$as_dir" && as_dir=.
20221 for ac_exec_ext in '' $ac_executable_extensions; do
20222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20223 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
20224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20233 STRIP=$ac_cv_prog_STRIP
20234 if test -n "$STRIP"; then
20235 { echo "$as_me:$LINENO: result: $STRIP" >&5
20236 echo "${ECHO_T}$STRIP" >&6; }
20238 { echo "$as_me:$LINENO: result: no" >&5
20239 echo "${ECHO_T}no" >&6; }
20244 if test -z "$ac_cv_prog_STRIP"; then
20246 # Extract the first word of "strip", so it can be a program name with args.
20247 set dummy strip; ac_word=$2
20248 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20250 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
20251 echo $ECHO_N "(cached) $ECHO_C" >&6
20253 if test -n "$ac_ct_STRIP"; then
20254 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
20256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20257 for as_dir in $PATH
20260 test -z "$as_dir" && as_dir=.
20261 for ac_exec_ext in '' $ac_executable_extensions; do
20262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20263 ac_cv_prog_ac_ct_STRIP="strip"
20264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20273 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
20274 if test -n "$ac_ct_STRIP"; then
20275 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
20276 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
20278 { echo "$as_me:$LINENO: result: no" >&5
20279 echo "${ECHO_T}no" >&6; }
20282 if test "x$ac_ct_STRIP" = x; then
20285 case $cross_compiling:$ac_tool_warned in
20287 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20288 whose name does not start with the host triplet. If you think this
20289 configuration is useful to you, please write to autoconf@gnu.org." >&5
20290 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20291 whose name does not start with the host triplet. If you think this
20292 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20293 ac_tool_warned=yes ;;
20298 STRIP="$ac_cv_prog_STRIP"
20302 if test "$wxUSE_WINE" = "yes"; then
20303 if test -n "$ac_tool_prefix"; then
20304 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
20305 set dummy ${ac_tool_prefix}wrc; ac_word=$2
20306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20308 if test "${ac_cv_prog_WINDRES+set}" = set; then
20309 echo $ECHO_N "(cached) $ECHO_C" >&6
20311 if test -n "$WINDRES"; then
20312 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
20314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20315 for as_dir in $PATH
20318 test -z "$as_dir" && as_dir=.
20319 for ac_exec_ext in '' $ac_executable_extensions; do
20320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20321 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
20322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20331 WINDRES=$ac_cv_prog_WINDRES
20332 if test -n "$WINDRES"; then
20333 { echo "$as_me:$LINENO: result: $WINDRES" >&5
20334 echo "${ECHO_T}$WINDRES" >&6; }
20336 { echo "$as_me:$LINENO: result: no" >&5
20337 echo "${ECHO_T}no" >&6; }
20342 if test -z "$ac_cv_prog_WINDRES"; then
20343 ac_ct_WINDRES=$WINDRES
20344 # Extract the first word of "wrc", so it can be a program name with args.
20345 set dummy wrc; ac_word=$2
20346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20348 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
20349 echo $ECHO_N "(cached) $ECHO_C" >&6
20351 if test -n "$ac_ct_WINDRES"; then
20352 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
20354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20355 for as_dir in $PATH
20358 test -z "$as_dir" && as_dir=.
20359 for ac_exec_ext in '' $ac_executable_extensions; do
20360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20361 ac_cv_prog_ac_ct_WINDRES="wrc"
20362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20371 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
20372 if test -n "$ac_ct_WINDRES"; then
20373 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
20374 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
20376 { echo "$as_me:$LINENO: result: no" >&5
20377 echo "${ECHO_T}no" >&6; }
20380 if test "x$ac_ct_WINDRES" = x; then
20383 case $cross_compiling:$ac_tool_warned in
20385 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20386 whose name does not start with the host triplet. If you think this
20387 configuration is useful to you, please write to autoconf@gnu.org." >&5
20388 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20389 whose name does not start with the host triplet. If you think this
20390 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20391 ac_tool_warned=yes ;;
20393 WINDRES=$ac_ct_WINDRES
20396 WINDRES="$ac_cv_prog_WINDRES"
20402 *-*-cygwin* | *-*-mingw32* )
20403 if test -n "$ac_tool_prefix"; then
20404 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
20405 set dummy ${ac_tool_prefix}windres; ac_word=$2
20406 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20408 if test "${ac_cv_prog_WINDRES+set}" = set; then
20409 echo $ECHO_N "(cached) $ECHO_C" >&6
20411 if test -n "$WINDRES"; then
20412 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
20414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20415 for as_dir in $PATH
20418 test -z "$as_dir" && as_dir=.
20419 for ac_exec_ext in '' $ac_executable_extensions; do
20420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20421 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
20422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20431 WINDRES=$ac_cv_prog_WINDRES
20432 if test -n "$WINDRES"; then
20433 { echo "$as_me:$LINENO: result: $WINDRES" >&5
20434 echo "${ECHO_T}$WINDRES" >&6; }
20436 { echo "$as_me:$LINENO: result: no" >&5
20437 echo "${ECHO_T}no" >&6; }
20442 if test -z "$ac_cv_prog_WINDRES"; then
20443 ac_ct_WINDRES=$WINDRES
20444 # Extract the first word of "windres", so it can be a program name with args.
20445 set dummy windres; ac_word=$2
20446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20448 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
20449 echo $ECHO_N "(cached) $ECHO_C" >&6
20451 if test -n "$ac_ct_WINDRES"; then
20452 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
20454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20455 for as_dir in $PATH
20458 test -z "$as_dir" && as_dir=.
20459 for ac_exec_ext in '' $ac_executable_extensions; do
20460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20461 ac_cv_prog_ac_ct_WINDRES="windres"
20462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20471 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
20472 if test -n "$ac_ct_WINDRES"; then
20473 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
20474 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
20476 { echo "$as_me:$LINENO: result: no" >&5
20477 echo "${ECHO_T}no" >&6; }
20480 if test "x$ac_ct_WINDRES" = x; then
20483 case $cross_compiling:$ac_tool_warned in
20485 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20486 whose name does not start with the host triplet. If you think this
20487 configuration is useful to you, please write to autoconf@gnu.org." >&5
20488 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20489 whose name does not start with the host triplet. If you think this
20490 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20491 ac_tool_warned=yes ;;
20493 WINDRES=$ac_ct_WINDRES
20496 WINDRES="$ac_cv_prog_WINDRES"
20500 if test -n "$ac_tool_prefix"; then
20501 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
20502 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
20503 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20505 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
20506 echo $ECHO_N "(cached) $ECHO_C" >&6
20508 if test -n "$DLLTOOL"; then
20509 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
20511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20512 for as_dir in $PATH
20515 test -z "$as_dir" && as_dir=.
20516 for ac_exec_ext in '' $ac_executable_extensions; do
20517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20518 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
20519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20528 DLLTOOL=$ac_cv_prog_DLLTOOL
20529 if test -n "$DLLTOOL"; then
20530 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
20531 echo "${ECHO_T}$DLLTOOL" >&6; }
20533 { echo "$as_me:$LINENO: result: no" >&5
20534 echo "${ECHO_T}no" >&6; }
20539 if test -z "$ac_cv_prog_DLLTOOL"; then
20540 ac_ct_DLLTOOL=$DLLTOOL
20541 # Extract the first word of "dlltool", so it can be a program name with args.
20542 set dummy dlltool; ac_word=$2
20543 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20545 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
20546 echo $ECHO_N "(cached) $ECHO_C" >&6
20548 if test -n "$ac_ct_DLLTOOL"; then
20549 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
20551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20552 for as_dir in $PATH
20555 test -z "$as_dir" && as_dir=.
20556 for ac_exec_ext in '' $ac_executable_extensions; do
20557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20558 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
20559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20568 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
20569 if test -n "$ac_ct_DLLTOOL"; then
20570 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
20571 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
20573 { echo "$as_me:$LINENO: result: no" >&5
20574 echo "${ECHO_T}no" >&6; }
20577 if test "x$ac_ct_DLLTOOL" = x; then
20580 case $cross_compiling:$ac_tool_warned in
20582 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20583 whose name does not start with the host triplet. If you think this
20584 configuration is useful to you, please write to autoconf@gnu.org." >&5
20585 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20586 whose name does not start with the host triplet. If you think this
20587 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20588 ac_tool_warned=yes ;;
20590 DLLTOOL=$ac_ct_DLLTOOL
20593 DLLTOOL="$ac_cv_prog_DLLTOOL"
20600 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
20601 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
20602 if test "${wx_cv_prog_makeisgnu+set}" = set; then
20603 echo $ECHO_N "(cached) $ECHO_C" >&6
20606 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
20607 $EGREP -s GNU > /dev/null); then
20608 wx_cv_prog_makeisgnu="yes"
20610 wx_cv_prog_makeisgnu="no"
20614 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
20615 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
20617 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
20625 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
20626 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
20627 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
20628 if test "${wx_cv_prog_makevpath+set}" = set; then
20629 echo $ECHO_N "(cached) $ECHO_C" >&6
20632 cat - << EOF > confMake
20638 if test ! -d sub ; then
20641 echo dummy > sub/file
20642 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
20644 rm -f sub/file check final_file confMake
20646 if test "$RESULT" = 0; then
20647 wx_cv_prog_makevpath="yes"
20649 wx_cv_prog_makevpath="no"
20653 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
20654 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
20656 if test "x$wx_cv_prog_makevpath" != "xyes"; then
20657 { { echo "$as_me:$LINENO: error:
20658 You need a make-utility that is able to use the variable
20660 If your version of make does not support VPATH correctly,
20661 please install GNU-make (possibly as gmake), and start
20662 configure with the following command:
20663 export MAKE=gmake; ./configure for sh-type shells
20664 setenv MAKE gmake; ./configure for csh-type shells
20665 Also please do remember to use gmake in this case every time
20666 you are trying to compile.
20668 echo "$as_me: error:
20669 You need a make-utility that is able to use the variable
20671 If your version of make does not support VPATH correctly,
20672 please install GNU-make (possibly as gmake), and start
20673 configure with the following command:
20674 export MAKE=gmake; ./configure for sh-type shells
20675 setenv MAKE gmake; ./configure for csh-type shells
20676 Also please do remember to use gmake in this case every time
20677 you are trying to compile.
20679 { (exit 1); exit 1; }; }
20681 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
20682 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
20684 if test "$LN_S" = "ln -s"; then
20685 { echo "$as_me:$LINENO: result: yes" >&5
20686 echo "${ECHO_T}yes" >&6; }
20688 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20689 echo "${ECHO_T}no, using $LN_S" >&6; }
20695 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20696 CXXFLAGS="-qunique $CXXFLAGS"
20700 powerpc-*-darwin* )
20701 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20702 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20703 cat >conftest.$ac_ext <<_ACEOF
20706 cat confdefs.h >>conftest.$ac_ext
20707 cat >>conftest.$ac_ext <<_ACEOF
20708 /* end confdefs.h. */
20713 #ifndef __POWERPC__
20714 choke me for lack of PowerPC
20721 rm -f conftest.$ac_objext
20722 if { (ac_try="$ac_compile"
20723 case "(($ac_try" in
20724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20725 *) ac_try_echo=$ac_try;;
20727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20728 (eval "$ac_compile") 2>conftest.er1
20730 grep -v '^ *+' conftest.er1 >conftest.err
20732 cat conftest.err >&5
20733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20734 (exit $ac_status); } && {
20735 test -z "$ac_c_werror_flag" ||
20736 test ! -s conftest.err
20737 } && test -s conftest.$ac_objext; then
20738 { echo "$as_me:$LINENO: result: yes" >&5
20739 echo "${ECHO_T}yes" >&6; }
20741 echo "$as_me: failed program was:" >&5
20742 sed 's/^/| /' conftest.$ac_ext >&5
20744 { echo "$as_me:$LINENO: result: no" >&5
20745 echo "${ECHO_T}no" >&6; }
20746 cat >>confdefs.h <<\_ACEOF
20747 #define __POWERPC__ 1
20753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20759 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20760 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20761 cat >conftest.$ac_ext <<_ACEOF
20764 cat confdefs.h >>conftest.$ac_ext
20765 cat >>conftest.$ac_ext <<_ACEOF
20766 /* end confdefs.h. */
20767 #include <CoreFoundation/CFBase.h>
20777 rm -f conftest.$ac_objext
20778 if { (ac_try="$ac_compile"
20779 case "(($ac_try" in
20780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20781 *) ac_try_echo=$ac_try;;
20783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20784 (eval "$ac_compile") 2>conftest.er1
20786 grep -v '^ *+' conftest.er1 >conftest.err
20788 cat conftest.err >&5
20789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790 (exit $ac_status); } && {
20791 test -z "$ac_c_werror_flag" ||
20792 test ! -s conftest.err
20793 } && test -s conftest.$ac_objext; then
20794 { echo "$as_me:$LINENO: result: yes" >&5
20795 echo "${ECHO_T}yes" >&6; }
20797 echo "$as_me: failed program was:" >&5
20798 sed 's/^/| /' conftest.$ac_ext >&5
20800 { echo "$as_me:$LINENO: result: no" >&5
20801 echo "${ECHO_T}no" >&6; }
20802 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20803 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20804 cat >conftest.$ac_ext <<_ACEOF
20807 cat confdefs.h >>conftest.$ac_ext
20808 cat >>conftest.$ac_ext <<_ACEOF
20809 /* end confdefs.h. */
20810 #define __CF_USE_FRAMEWORK_INCLUDES__
20811 #include <CoreFoundation/CFBase.h>
20821 rm -f conftest.$ac_objext
20822 if { (ac_try="$ac_compile"
20823 case "(($ac_try" in
20824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20825 *) ac_try_echo=$ac_try;;
20827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20828 (eval "$ac_compile") 2>conftest.er1
20830 grep -v '^ *+' conftest.er1 >conftest.err
20832 cat conftest.err >&5
20833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 (exit $ac_status); } && {
20835 test -z "$ac_c_werror_flag" ||
20836 test ! -s conftest.err
20837 } && test -s conftest.$ac_objext; then
20838 { echo "$as_me:$LINENO: result: yes" >&5
20839 echo "${ECHO_T}yes" >&6; }
20840 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20842 echo "$as_me: failed program was:" >&5
20843 sed 's/^/| /' conftest.$ac_ext >&5
20845 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20846 See \`config.log' for more details." >&5
20847 echo "$as_me: error: no. CoreFoundation not available.
20848 See \`config.log' for more details." >&2;}
20849 { (exit 1); exit 1; }; }
20853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20863 doesnt_want_win32=0
20866 if test "$wxUSE_MSW" = 1 ; then
20869 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20870 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20871 if test "${wx_cv_nocygwin+set}" = set; then
20872 echo $ECHO_N "(cached) $ECHO_C" >&6
20875 cat >conftest.$ac_ext <<_ACEOF
20878 cat confdefs.h >>conftest.$ac_ext
20879 cat >>conftest.$ac_ext <<_ACEOF
20880 /* end confdefs.h. */
20894 rm -f conftest.$ac_objext
20895 if { (ac_try="$ac_compile"
20896 case "(($ac_try" in
20897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20898 *) ac_try_echo=$ac_try;;
20900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20901 (eval "$ac_compile") 2>conftest.er1
20903 grep -v '^ *+' conftest.er1 >conftest.err
20905 cat conftest.err >&5
20906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20907 (exit $ac_status); } && {
20908 test -z "$ac_c_werror_flag" ||
20909 test ! -s conftest.err
20910 } && test -s conftest.$ac_objext; then
20913 echo "$as_me: failed program was:" >&5
20914 sed 's/^/| /' conftest.$ac_ext >&5
20920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20924 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20925 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20927 if test "$wx_cv_nocygwin" = "yes"; then
20930 doesnt_want_win32=1
20933 if test "$wants_win32" = 1 ; then
20934 BAKEFILE_FORCE_PLATFORM=win32
20942 if test "$wxUSE_WINE" = "yes"; then
20944 LDFLAGS_GUI="-mwindows"
20947 if test "$wants_win32" = 1 ; then
20950 cat >>confdefs.h <<\_ACEOF
20951 #define __WIN32__ 1
20954 cat >>confdefs.h <<\_ACEOF
20955 #define __WIN95__ 1
20958 cat >>confdefs.h <<\_ACEOF
20959 #define __WINDOWS__ 1
20962 cat >>confdefs.h <<\_ACEOF
20963 #define __GNUWIN32__ 1
20966 cat >>confdefs.h <<\_ACEOF
20971 if test "$doesnt_want_win32" = 1 ; then
20976 if test "$USE_UNIX" = 1 ; then
20978 cat >>confdefs.h <<\_ACEOF
20985 *-pc-os2_emx | *-pc-os2-emx )
20986 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20987 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20988 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20989 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20990 echo $ECHO_N "(cached) $ECHO_C" >&6
20992 ac_check_lib_save_LIBS=$LIBS
20993 LIBS="-lcExt $LIBS"
20994 cat >conftest.$ac_ext <<_ACEOF
20997 cat confdefs.h >>conftest.$ac_ext
20998 cat >>conftest.$ac_ext <<_ACEOF
20999 /* end confdefs.h. */
21001 /* Override any GCC internal prototype to avoid an error.
21002 Use char because int might match the return type of a GCC
21003 builtin and then its argument prototype would still apply. */
21016 rm -f conftest.$ac_objext conftest$ac_exeext
21017 if { (ac_try="$ac_link"
21018 case "(($ac_try" in
21019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21020 *) ac_try_echo=$ac_try;;
21022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21023 (eval "$ac_link") 2>conftest.er1
21025 grep -v '^ *+' conftest.er1 >conftest.err
21027 cat conftest.err >&5
21028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21029 (exit $ac_status); } && {
21030 test -z "$ac_c_werror_flag" ||
21031 test ! -s conftest.err
21032 } && test -s conftest$ac_exeext &&
21033 $as_test_x conftest$ac_exeext; then
21034 ac_cv_lib_cExt_drand48=yes
21036 echo "$as_me: failed program was:" >&5
21037 sed 's/^/| /' conftest.$ac_ext >&5
21039 ac_cv_lib_cExt_drand48=no
21042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21043 conftest$ac_exeext conftest.$ac_ext
21044 LIBS=$ac_check_lib_save_LIBS
21046 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
21047 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
21048 if test $ac_cv_lib_cExt_drand48 = yes; then
21049 LIBS="$LIBS -lcExt"
21053 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
21055 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
21056 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
21057 if test "${wx_cv_gccversion+set}" = set; then
21058 echo $ECHO_N "(cached) $ECHO_C" >&6
21061 if test "$cross_compiling" = yes; then
21062 wx_cv_gccversion="EMX2"
21065 cat >conftest.$ac_ext <<_ACEOF
21068 cat confdefs.h >>conftest.$ac_ext
21069 cat >>conftest.$ac_ext <<_ACEOF
21070 /* end confdefs.h. */
21076 FILE *f=fopen("conftestval", "w");
21081 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
21083 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
21093 rm -f conftest$ac_exeext
21094 if { (ac_try="$ac_link"
21095 case "(($ac_try" in
21096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21097 *) ac_try_echo=$ac_try;;
21099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21100 (eval "$ac_link") 2>&5
21102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21103 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21104 { (case "(($ac_try" in
21105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21106 *) ac_try_echo=$ac_try;;
21108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21109 (eval "$ac_try") 2>&5
21111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21112 (exit $ac_status); }; }; then
21113 wx_cv_gccversion=`cat conftestval`
21115 echo "$as_me: program exited with status $ac_status" >&5
21116 echo "$as_me: failed program was:" >&5
21117 sed 's/^/| /' conftest.$ac_ext >&5
21119 ( exit $ac_status )
21120 wx_cv_gccversion="EMX2"
21122 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21128 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
21129 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
21130 if test "$wx_cv_gccversion" = "EMX2"; then
21131 LIBS="$LIBS -lstdcpp"
21132 LDFLAGS="$LDFLAGS -Zsysv-signals"
21134 if test "$wx_cv_gccversion" = "EMX3"; then
21135 LIBS="$LIBS -lstdcxx -lgcc"
21136 LDFLAGS="$LDFLAGS -Zsysv-signals"
21138 LIBS="$LIBS -lstdc++"
21141 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
21142 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
21143 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
21150 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
21151 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
21152 if test "${ac_cv_string_strcasecmp+set}" = set; then
21153 echo $ECHO_N "(cached) $ECHO_C" >&6
21156 cat >conftest.$ac_ext <<_ACEOF
21159 cat confdefs.h >>conftest.$ac_ext
21160 cat >>conftest.$ac_ext <<_ACEOF
21161 /* end confdefs.h. */
21163 #include <string.h>
21169 strcasecmp("foo", "bar");
21175 rm -f conftest.$ac_objext conftest$ac_exeext
21176 if { (ac_try="$ac_link"
21177 case "(($ac_try" in
21178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21179 *) ac_try_echo=$ac_try;;
21181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21182 (eval "$ac_link") 2>conftest.er1
21184 grep -v '^ *+' conftest.er1 >conftest.err
21186 cat conftest.err >&5
21187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188 (exit $ac_status); } && {
21189 test -z "$ac_c_werror_flag" ||
21190 test ! -s conftest.err
21191 } && test -s conftest$ac_exeext &&
21192 $as_test_x conftest$ac_exeext; then
21193 ac_cv_string_strcasecmp=yes
21195 echo "$as_me: failed program was:" >&5
21196 sed 's/^/| /' conftest.$ac_ext >&5
21198 ac_cv_string_strcasecmp=no
21202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21203 conftest$ac_exeext conftest.$ac_ext
21206 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
21207 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21209 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
21210 cat >>confdefs.h <<\_ACEOF
21211 #define HAVE_STRCASECMP_IN_STRING_H 1
21215 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
21216 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
21217 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21218 echo $ECHO_N "(cached) $ECHO_C" >&6
21221 cat >conftest.$ac_ext <<_ACEOF
21224 cat confdefs.h >>conftest.$ac_ext
21225 cat >>conftest.$ac_ext <<_ACEOF
21226 /* end confdefs.h. */
21228 #include <strings.h>
21234 strcasecmp("foo", "bar");
21240 rm -f conftest.$ac_objext conftest$ac_exeext
21241 if { (ac_try="$ac_link"
21242 case "(($ac_try" in
21243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21244 *) ac_try_echo=$ac_try;;
21246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21247 (eval "$ac_link") 2>conftest.er1
21249 grep -v '^ *+' conftest.er1 >conftest.err
21251 cat conftest.err >&5
21252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21253 (exit $ac_status); } && {
21254 test -z "$ac_c_werror_flag" ||
21255 test ! -s conftest.err
21256 } && test -s conftest$ac_exeext &&
21257 $as_test_x conftest$ac_exeext; then
21258 ac_cv_strings_strcasecmp=yes
21260 echo "$as_me: failed program was:" >&5
21261 sed 's/^/| /' conftest.$ac_ext >&5
21263 ac_cv_strings_strcasecmp=no
21267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21268 conftest$ac_exeext conftest.$ac_ext
21271 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
21272 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21274 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
21275 cat >>confdefs.h <<\_ACEOF
21276 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21280 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
21281 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
21282 { (exit 1); exit 1; }; }
21290 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21291 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21292 if test "${ac_cv_header_stdc+set}" = set; then
21293 echo $ECHO_N "(cached) $ECHO_C" >&6
21295 cat >conftest.$ac_ext <<_ACEOF
21298 cat confdefs.h >>conftest.$ac_ext
21299 cat >>conftest.$ac_ext <<_ACEOF
21300 /* end confdefs.h. */
21301 #include <stdlib.h>
21302 #include <stdarg.h>
21303 #include <string.h>
21314 rm -f conftest.$ac_objext
21315 if { (ac_try="$ac_compile"
21316 case "(($ac_try" in
21317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21318 *) ac_try_echo=$ac_try;;
21320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21321 (eval "$ac_compile") 2>conftest.er1
21323 grep -v '^ *+' conftest.er1 >conftest.err
21325 cat conftest.err >&5
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); } && {
21328 test -z "$ac_c_werror_flag" ||
21329 test ! -s conftest.err
21330 } && test -s conftest.$ac_objext; then
21331 ac_cv_header_stdc=yes
21333 echo "$as_me: failed program was:" >&5
21334 sed 's/^/| /' conftest.$ac_ext >&5
21336 ac_cv_header_stdc=no
21339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21341 if test $ac_cv_header_stdc = yes; then
21342 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21343 cat >conftest.$ac_ext <<_ACEOF
21346 cat confdefs.h >>conftest.$ac_ext
21347 cat >>conftest.$ac_ext <<_ACEOF
21348 /* end confdefs.h. */
21349 #include <string.h>
21352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21353 $EGREP "memchr" >/dev/null 2>&1; then
21356 ac_cv_header_stdc=no
21362 if test $ac_cv_header_stdc = yes; then
21363 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21364 cat >conftest.$ac_ext <<_ACEOF
21367 cat confdefs.h >>conftest.$ac_ext
21368 cat >>conftest.$ac_ext <<_ACEOF
21369 /* end confdefs.h. */
21370 #include <stdlib.h>
21373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21374 $EGREP "free" >/dev/null 2>&1; then
21377 ac_cv_header_stdc=no
21383 if test $ac_cv_header_stdc = yes; then
21384 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21385 if test "$cross_compiling" = yes; then
21388 cat >conftest.$ac_ext <<_ACEOF
21391 cat confdefs.h >>conftest.$ac_ext
21392 cat >>conftest.$ac_ext <<_ACEOF
21393 /* end confdefs.h. */
21395 #include <stdlib.h>
21396 #if ((' ' & 0x0FF) == 0x020)
21397 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21398 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21400 # define ISLOWER(c) \
21401 (('a' <= (c) && (c) <= 'i') \
21402 || ('j' <= (c) && (c) <= 'r') \
21403 || ('s' <= (c) && (c) <= 'z'))
21404 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21407 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21412 for (i = 0; i < 256; i++)
21413 if (XOR (islower (i), ISLOWER (i))
21414 || toupper (i) != TOUPPER (i))
21419 rm -f conftest$ac_exeext
21420 if { (ac_try="$ac_link"
21421 case "(($ac_try" in
21422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21423 *) ac_try_echo=$ac_try;;
21425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21426 (eval "$ac_link") 2>&5
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21430 { (case "(($ac_try" in
21431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21432 *) ac_try_echo=$ac_try;;
21434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21435 (eval "$ac_try") 2>&5
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); }; }; then
21441 echo "$as_me: program exited with status $ac_status" >&5
21442 echo "$as_me: failed program was:" >&5
21443 sed 's/^/| /' conftest.$ac_ext >&5
21445 ( exit $ac_status )
21446 ac_cv_header_stdc=no
21448 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21454 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21455 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21456 if test $ac_cv_header_stdc = yes; then
21458 cat >>confdefs.h <<\_ACEOF
21459 #define STDC_HEADERS 1
21464 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21474 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21475 inttypes.h stdint.h unistd.h
21477 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21478 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21480 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21481 echo $ECHO_N "(cached) $ECHO_C" >&6
21483 cat >conftest.$ac_ext <<_ACEOF
21486 cat confdefs.h >>conftest.$ac_ext
21487 cat >>conftest.$ac_ext <<_ACEOF
21488 /* end confdefs.h. */
21489 $ac_includes_default
21491 #include <$ac_header>
21493 rm -f conftest.$ac_objext
21494 if { (ac_try="$ac_compile"
21495 case "(($ac_try" in
21496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21497 *) ac_try_echo=$ac_try;;
21499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21500 (eval "$ac_compile") 2>conftest.er1
21502 grep -v '^ *+' conftest.er1 >conftest.err
21504 cat conftest.err >&5
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506 (exit $ac_status); } && {
21507 test -z "$ac_c_werror_flag" ||
21508 test ! -s conftest.err
21509 } && test -s conftest.$ac_objext; then
21510 eval "$as_ac_Header=yes"
21512 echo "$as_me: failed program was:" >&5
21513 sed 's/^/| /' conftest.$ac_ext >&5
21515 eval "$as_ac_Header=no"
21518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21520 ac_res=`eval echo '${'$as_ac_Header'}'`
21521 { echo "$as_me:$LINENO: result: $ac_res" >&5
21522 echo "${ECHO_T}$ac_res" >&6; }
21523 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21524 cat >>confdefs.h <<_ACEOF
21525 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21539 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
21541 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21542 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21544 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21545 echo $ECHO_N "(cached) $ECHO_C" >&6
21547 cat >conftest.$ac_ext <<_ACEOF
21550 cat confdefs.h >>conftest.$ac_ext
21551 cat >>conftest.$ac_ext <<_ACEOF
21552 /* end confdefs.h. */
21553 $ac_includes_default
21555 #include <$ac_header>
21557 rm -f conftest.$ac_objext
21558 if { (ac_try="$ac_compile"
21559 case "(($ac_try" in
21560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21561 *) ac_try_echo=$ac_try;;
21563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21564 (eval "$ac_compile") 2>conftest.er1
21566 grep -v '^ *+' conftest.er1 >conftest.err
21568 cat conftest.err >&5
21569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21570 (exit $ac_status); } && {
21571 test -z "$ac_c_werror_flag" ||
21572 test ! -s conftest.err
21573 } && test -s conftest.$ac_objext; then
21574 eval "$as_ac_Header=yes"
21576 echo "$as_me: failed program was:" >&5
21577 sed 's/^/| /' conftest.$ac_ext >&5
21579 eval "$as_ac_Header=no"
21582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21584 ac_res=`eval echo '${'$as_ac_Header'}'`
21585 { echo "$as_me:$LINENO: result: $ac_res" >&5
21586 echo "${ECHO_T}$ac_res" >&6; }
21587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21588 cat >>confdefs.h <<_ACEOF
21589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21597 if test "$ac_cv_header_wchar_h" != "yes"; then
21599 for ac_header in wcstr.h
21601 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21602 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21604 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21605 echo $ECHO_N "(cached) $ECHO_C" >&6
21607 cat >conftest.$ac_ext <<_ACEOF
21610 cat confdefs.h >>conftest.$ac_ext
21611 cat >>conftest.$ac_ext <<_ACEOF
21612 /* end confdefs.h. */
21613 $ac_includes_default
21615 #include <$ac_header>
21617 rm -f conftest.$ac_objext
21618 if { (ac_try="$ac_compile"
21619 case "(($ac_try" in
21620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21621 *) ac_try_echo=$ac_try;;
21623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21624 (eval "$ac_compile") 2>conftest.er1
21626 grep -v '^ *+' conftest.er1 >conftest.err
21628 cat conftest.err >&5
21629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21630 (exit $ac_status); } && {
21631 test -z "$ac_c_werror_flag" ||
21632 test ! -s conftest.err
21633 } && test -s conftest.$ac_objext; then
21634 eval "$as_ac_Header=yes"
21636 echo "$as_me: failed program was:" >&5
21637 sed 's/^/| /' conftest.$ac_ext >&5
21639 eval "$as_ac_Header=no"
21642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21644 ac_res=`eval echo '${'$as_ac_Header'}'`
21645 { echo "$as_me:$LINENO: result: $ac_res" >&5
21646 echo "${ECHO_T}$ac_res" >&6; }
21647 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21648 cat >>confdefs.h <<_ACEOF
21649 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21659 *-pc-os2_emx | *-pc-os2-emx )
21660 if test $ac_cv_header_langinfo_h = "yes" \
21661 -a \( "$wx_cv_gccversion" = "EMX2" \
21662 -o "$wx_cv_gccversion" = "EMX3" \
21663 -o "$wx_cv_gccversion" = "Innotek5" \); then
21664 LIBS="$LIBS -lintl"
21669 if test "$USE_UNIX" = 1 ; then
21671 for ac_header in sys/select.h
21673 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21674 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21676 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21677 echo $ECHO_N "(cached) $ECHO_C" >&6
21679 cat >conftest.$ac_ext <<_ACEOF
21682 cat confdefs.h >>conftest.$ac_ext
21683 cat >>conftest.$ac_ext <<_ACEOF
21684 /* end confdefs.h. */
21685 $ac_includes_default
21687 #include <$ac_header>
21689 rm -f conftest.$ac_objext
21690 if { (ac_try="$ac_compile"
21691 case "(($ac_try" in
21692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21693 *) ac_try_echo=$ac_try;;
21695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21696 (eval "$ac_compile") 2>conftest.er1
21698 grep -v '^ *+' conftest.er1 >conftest.err
21700 cat conftest.err >&5
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); } && {
21703 test -z "$ac_c_werror_flag" ||
21704 test ! -s conftest.err
21705 } && test -s conftest.$ac_objext; then
21706 eval "$as_ac_Header=yes"
21708 echo "$as_me: failed program was:" >&5
21709 sed 's/^/| /' conftest.$ac_ext >&5
21711 eval "$as_ac_Header=no"
21714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21716 ac_res=`eval echo '${'$as_ac_Header'}'`
21717 { echo "$as_me:$LINENO: result: $ac_res" >&5
21718 echo "${ECHO_T}$ac_res" >&6; }
21719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21720 cat >>confdefs.h <<_ACEOF
21721 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21731 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21732 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21733 if test "${ac_cv_c_const+set}" = set; then
21734 echo $ECHO_N "(cached) $ECHO_C" >&6
21736 cat >conftest.$ac_ext <<_ACEOF
21739 cat confdefs.h >>conftest.$ac_ext
21740 cat >>conftest.$ac_ext <<_ACEOF
21741 /* end confdefs.h. */
21746 /* FIXME: Include the comments suggested by Paul. */
21747 #ifndef __cplusplus
21748 /* Ultrix mips cc rejects this. */
21749 typedef int charset[2];
21751 /* SunOS 4.1.1 cc rejects this. */
21752 char const *const *pcpcc;
21754 /* NEC SVR4.0.2 mips cc rejects this. */
21755 struct point {int x, y;};
21756 static struct point const zero = {0,0};
21757 /* AIX XL C 1.02.0.0 rejects this.
21758 It does not let you subtract one const X* pointer from another in
21759 an arm of an if-expression whose if-part is not a constant
21761 const char *g = "string";
21762 pcpcc = &g + (g ? g-g : 0);
21763 /* HPUX 7.0 cc rejects these. */
21765 ppc = (char**) pcpcc;
21766 pcpcc = (char const *const *) ppc;
21767 { /* SCO 3.2v4 cc rejects this. */
21769 char const *s = 0 ? (char *) 0 : (char const *) 0;
21774 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21775 int x[] = {25, 17};
21776 const int *foo = &x[0];
21779 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21780 typedef const int *iptr;
21784 { /* AIX XL C 1.02.0.0 rejects this saying
21785 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21786 struct s { int j; const int *ap[3]; };
21787 struct s *b; b->j = 5;
21789 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21790 const int foo = 10;
21791 if (!foo) return 0;
21793 return !cs[0] && !zero.x;
21800 rm -f conftest.$ac_objext
21801 if { (ac_try="$ac_compile"
21802 case "(($ac_try" in
21803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21804 *) ac_try_echo=$ac_try;;
21806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21807 (eval "$ac_compile") 2>conftest.er1
21809 grep -v '^ *+' conftest.er1 >conftest.err
21811 cat conftest.err >&5
21812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21813 (exit $ac_status); } && {
21814 test -z "$ac_c_werror_flag" ||
21815 test ! -s conftest.err
21816 } && test -s conftest.$ac_objext; then
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
21827 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21828 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21829 if test $ac_cv_c_const = no; then
21831 cat >>confdefs.h <<\_ACEOF
21837 { echo "$as_me:$LINENO: checking for inline" >&5
21838 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21839 if test "${ac_cv_c_inline+set}" = set; then
21840 echo $ECHO_N "(cached) $ECHO_C" >&6
21843 for ac_kw in inline __inline__ __inline; do
21844 cat >conftest.$ac_ext <<_ACEOF
21847 cat confdefs.h >>conftest.$ac_ext
21848 cat >>conftest.$ac_ext <<_ACEOF
21849 /* end confdefs.h. */
21850 #ifndef __cplusplus
21852 static $ac_kw foo_t static_foo () {return 0; }
21853 $ac_kw foo_t foo () {return 0; }
21857 rm -f conftest.$ac_objext
21858 if { (ac_try="$ac_compile"
21859 case "(($ac_try" in
21860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21861 *) ac_try_echo=$ac_try;;
21863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21864 (eval "$ac_compile") 2>conftest.er1
21866 grep -v '^ *+' conftest.er1 >conftest.err
21868 cat conftest.err >&5
21869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21870 (exit $ac_status); } && {
21871 test -z "$ac_c_werror_flag" ||
21872 test ! -s conftest.err
21873 } && test -s conftest.$ac_objext; then
21874 ac_cv_c_inline=$ac_kw
21876 echo "$as_me: failed program was:" >&5
21877 sed 's/^/| /' conftest.$ac_ext >&5
21882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21883 test "$ac_cv_c_inline" != no && break
21887 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21888 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21891 case $ac_cv_c_inline in
21894 case $ac_cv_c_inline in
21896 *) ac_val=$ac_cv_c_inline;;
21898 cat >>confdefs.h <<_ACEOF
21899 #ifndef __cplusplus
21900 #define inline $ac_val
21907 { echo "$as_me:$LINENO: checking for short" >&5
21908 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21909 if test "${ac_cv_type_short+set}" = set; then
21910 echo $ECHO_N "(cached) $ECHO_C" >&6
21912 cat >conftest.$ac_ext <<_ACEOF
21915 cat confdefs.h >>conftest.$ac_ext
21916 cat >>conftest.$ac_ext <<_ACEOF
21917 /* end confdefs.h. */
21918 $ac_includes_default
21919 typedef short ac__type_new_;
21923 if ((ac__type_new_ *) 0)
21925 if (sizeof (ac__type_new_))
21931 rm -f conftest.$ac_objext
21932 if { (ac_try="$ac_compile"
21933 case "(($ac_try" in
21934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21935 *) ac_try_echo=$ac_try;;
21937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21938 (eval "$ac_compile") 2>conftest.er1
21940 grep -v '^ *+' conftest.er1 >conftest.err
21942 cat conftest.err >&5
21943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21944 (exit $ac_status); } && {
21945 test -z "$ac_c_werror_flag" ||
21946 test ! -s conftest.err
21947 } && test -s conftest.$ac_objext; then
21948 ac_cv_type_short=yes
21950 echo "$as_me: failed program was:" >&5
21951 sed 's/^/| /' conftest.$ac_ext >&5
21953 ac_cv_type_short=no
21956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21958 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21959 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21961 # The cast to long int works around a bug in the HP C Compiler
21962 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21963 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21964 # This bug is HP SR number 8606223364.
21965 { echo "$as_me:$LINENO: checking size of short" >&5
21966 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21967 if test "${ac_cv_sizeof_short+set}" = set; then
21968 echo $ECHO_N "(cached) $ECHO_C" >&6
21970 if test "$cross_compiling" = yes; then
21971 # Depending upon the size, compute the lo and hi bounds.
21972 cat >conftest.$ac_ext <<_ACEOF
21975 cat confdefs.h >>conftest.$ac_ext
21976 cat >>conftest.$ac_ext <<_ACEOF
21977 /* end confdefs.h. */
21978 $ac_includes_default
21979 typedef short ac__type_sizeof_;
21983 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21990 rm -f conftest.$ac_objext
21991 if { (ac_try="$ac_compile"
21992 case "(($ac_try" in
21993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21994 *) ac_try_echo=$ac_try;;
21996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21997 (eval "$ac_compile") 2>conftest.er1
21999 grep -v '^ *+' conftest.er1 >conftest.err
22001 cat conftest.err >&5
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); } && {
22004 test -z "$ac_c_werror_flag" ||
22005 test ! -s conftest.err
22006 } && test -s conftest.$ac_objext; then
22009 cat >conftest.$ac_ext <<_ACEOF
22012 cat confdefs.h >>conftest.$ac_ext
22013 cat >>conftest.$ac_ext <<_ACEOF
22014 /* end confdefs.h. */
22015 $ac_includes_default
22016 typedef short ac__type_sizeof_;
22020 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22027 rm -f conftest.$ac_objext
22028 if { (ac_try="$ac_compile"
22029 case "(($ac_try" in
22030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22031 *) ac_try_echo=$ac_try;;
22033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22034 (eval "$ac_compile") 2>conftest.er1
22036 grep -v '^ *+' conftest.er1 >conftest.err
22038 cat conftest.err >&5
22039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22040 (exit $ac_status); } && {
22041 test -z "$ac_c_werror_flag" ||
22042 test ! -s conftest.err
22043 } && test -s conftest.$ac_objext; then
22044 ac_hi=$ac_mid; break
22046 echo "$as_me: failed program was:" >&5
22047 sed 's/^/| /' conftest.$ac_ext >&5
22049 ac_lo=`expr $ac_mid + 1`
22050 if test $ac_lo -le $ac_mid; then
22054 ac_mid=`expr 2 '*' $ac_mid + 1`
22057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22060 echo "$as_me: failed program was:" >&5
22061 sed 's/^/| /' conftest.$ac_ext >&5
22063 cat >conftest.$ac_ext <<_ACEOF
22066 cat confdefs.h >>conftest.$ac_ext
22067 cat >>conftest.$ac_ext <<_ACEOF
22068 /* end confdefs.h. */
22069 $ac_includes_default
22070 typedef short ac__type_sizeof_;
22074 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22081 rm -f conftest.$ac_objext
22082 if { (ac_try="$ac_compile"
22083 case "(($ac_try" in
22084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22085 *) ac_try_echo=$ac_try;;
22087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22088 (eval "$ac_compile") 2>conftest.er1
22090 grep -v '^ *+' conftest.er1 >conftest.err
22092 cat conftest.err >&5
22093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22094 (exit $ac_status); } && {
22095 test -z "$ac_c_werror_flag" ||
22096 test ! -s conftest.err
22097 } && test -s conftest.$ac_objext; then
22100 cat >conftest.$ac_ext <<_ACEOF
22103 cat confdefs.h >>conftest.$ac_ext
22104 cat >>conftest.$ac_ext <<_ACEOF
22105 /* end confdefs.h. */
22106 $ac_includes_default
22107 typedef short ac__type_sizeof_;
22111 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22118 rm -f conftest.$ac_objext
22119 if { (ac_try="$ac_compile"
22120 case "(($ac_try" in
22121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22122 *) ac_try_echo=$ac_try;;
22124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22125 (eval "$ac_compile") 2>conftest.er1
22127 grep -v '^ *+' conftest.er1 >conftest.err
22129 cat conftest.err >&5
22130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22131 (exit $ac_status); } && {
22132 test -z "$ac_c_werror_flag" ||
22133 test ! -s conftest.err
22134 } && test -s conftest.$ac_objext; then
22135 ac_lo=$ac_mid; break
22137 echo "$as_me: failed program was:" >&5
22138 sed 's/^/| /' conftest.$ac_ext >&5
22140 ac_hi=`expr '(' $ac_mid ')' - 1`
22141 if test $ac_mid -le $ac_hi; then
22145 ac_mid=`expr 2 '*' $ac_mid`
22148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22151 echo "$as_me: failed program was:" >&5
22152 sed 's/^/| /' conftest.$ac_ext >&5
22157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22161 # Binary search between lo and hi bounds.
22162 while test "x$ac_lo" != "x$ac_hi"; do
22163 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22164 cat >conftest.$ac_ext <<_ACEOF
22167 cat confdefs.h >>conftest.$ac_ext
22168 cat >>conftest.$ac_ext <<_ACEOF
22169 /* end confdefs.h. */
22170 $ac_includes_default
22171 typedef short ac__type_sizeof_;
22175 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22182 rm -f conftest.$ac_objext
22183 if { (ac_try="$ac_compile"
22184 case "(($ac_try" in
22185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22186 *) ac_try_echo=$ac_try;;
22188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22189 (eval "$ac_compile") 2>conftest.er1
22191 grep -v '^ *+' conftest.er1 >conftest.err
22193 cat conftest.err >&5
22194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22195 (exit $ac_status); } && {
22196 test -z "$ac_c_werror_flag" ||
22197 test ! -s conftest.err
22198 } && test -s conftest.$ac_objext; then
22201 echo "$as_me: failed program was:" >&5
22202 sed 's/^/| /' conftest.$ac_ext >&5
22204 ac_lo=`expr '(' $ac_mid ')' + 1`
22207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22210 ?*) ac_cv_sizeof_short=$ac_lo;;
22211 '') if test "$ac_cv_type_short" = yes; then
22212 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22213 See \`config.log' for more details." >&5
22214 echo "$as_me: error: cannot compute sizeof (short)
22215 See \`config.log' for more details." >&2;}
22216 { (exit 77); exit 77; }; }
22218 ac_cv_sizeof_short=0
22222 cat >conftest.$ac_ext <<_ACEOF
22225 cat confdefs.h >>conftest.$ac_ext
22226 cat >>conftest.$ac_ext <<_ACEOF
22227 /* end confdefs.h. */
22228 $ac_includes_default
22229 typedef short ac__type_sizeof_;
22230 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22231 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22233 #include <stdlib.h>
22238 FILE *f = fopen ("conftest.val", "w");
22241 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22243 long int i = longval ();
22244 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22246 fprintf (f, "%ld\n", i);
22250 unsigned long int i = ulongval ();
22251 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22253 fprintf (f, "%lu\n", i);
22255 return ferror (f) || fclose (f) != 0;
22261 rm -f conftest$ac_exeext
22262 if { (ac_try="$ac_link"
22263 case "(($ac_try" in
22264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22265 *) ac_try_echo=$ac_try;;
22267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22268 (eval "$ac_link") 2>&5
22270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22271 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22272 { (case "(($ac_try" in
22273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22274 *) ac_try_echo=$ac_try;;
22276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22277 (eval "$ac_try") 2>&5
22279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22280 (exit $ac_status); }; }; then
22281 ac_cv_sizeof_short=`cat conftest.val`
22283 echo "$as_me: program exited with status $ac_status" >&5
22284 echo "$as_me: failed program was:" >&5
22285 sed 's/^/| /' conftest.$ac_ext >&5
22287 ( exit $ac_status )
22288 if test "$ac_cv_type_short" = yes; then
22289 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22290 See \`config.log' for more details." >&5
22291 echo "$as_me: error: cannot compute sizeof (short)
22292 See \`config.log' for more details." >&2;}
22293 { (exit 77); exit 77; }; }
22295 ac_cv_sizeof_short=0
22298 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22302 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22303 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22307 cat >>confdefs.h <<_ACEOF
22308 #define SIZEOF_SHORT $ac_cv_sizeof_short
22312 { echo "$as_me:$LINENO: checking for void *" >&5
22313 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22314 if test "${ac_cv_type_void_p+set}" = set; then
22315 echo $ECHO_N "(cached) $ECHO_C" >&6
22317 cat >conftest.$ac_ext <<_ACEOF
22320 cat confdefs.h >>conftest.$ac_ext
22321 cat >>conftest.$ac_ext <<_ACEOF
22322 /* end confdefs.h. */
22323 $ac_includes_default
22324 typedef void * ac__type_new_;
22328 if ((ac__type_new_ *) 0)
22330 if (sizeof (ac__type_new_))
22336 rm -f conftest.$ac_objext
22337 if { (ac_try="$ac_compile"
22338 case "(($ac_try" in
22339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22340 *) ac_try_echo=$ac_try;;
22342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22343 (eval "$ac_compile") 2>conftest.er1
22345 grep -v '^ *+' conftest.er1 >conftest.err
22347 cat conftest.err >&5
22348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22349 (exit $ac_status); } && {
22350 test -z "$ac_c_werror_flag" ||
22351 test ! -s conftest.err
22352 } && test -s conftest.$ac_objext; then
22353 ac_cv_type_void_p=yes
22355 echo "$as_me: failed program was:" >&5
22356 sed 's/^/| /' conftest.$ac_ext >&5
22358 ac_cv_type_void_p=no
22361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22363 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22364 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22366 # The cast to long int works around a bug in the HP C Compiler
22367 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22368 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22369 # This bug is HP SR number 8606223364.
22370 { echo "$as_me:$LINENO: checking size of void *" >&5
22371 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22372 if test "${ac_cv_sizeof_void_p+set}" = set; then
22373 echo $ECHO_N "(cached) $ECHO_C" >&6
22375 if test "$cross_compiling" = yes; then
22376 # Depending upon the size, compute the lo and hi bounds.
22377 cat >conftest.$ac_ext <<_ACEOF
22380 cat confdefs.h >>conftest.$ac_ext
22381 cat >>conftest.$ac_ext <<_ACEOF
22382 /* end confdefs.h. */
22383 $ac_includes_default
22384 typedef void * ac__type_sizeof_;
22388 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22395 rm -f conftest.$ac_objext
22396 if { (ac_try="$ac_compile"
22397 case "(($ac_try" in
22398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22399 *) ac_try_echo=$ac_try;;
22401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22402 (eval "$ac_compile") 2>conftest.er1
22404 grep -v '^ *+' conftest.er1 >conftest.err
22406 cat conftest.err >&5
22407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22408 (exit $ac_status); } && {
22409 test -z "$ac_c_werror_flag" ||
22410 test ! -s conftest.err
22411 } && test -s conftest.$ac_objext; then
22414 cat >conftest.$ac_ext <<_ACEOF
22417 cat confdefs.h >>conftest.$ac_ext
22418 cat >>conftest.$ac_ext <<_ACEOF
22419 /* end confdefs.h. */
22420 $ac_includes_default
22421 typedef void * ac__type_sizeof_;
22425 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22432 rm -f conftest.$ac_objext
22433 if { (ac_try="$ac_compile"
22434 case "(($ac_try" in
22435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22436 *) ac_try_echo=$ac_try;;
22438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22439 (eval "$ac_compile") 2>conftest.er1
22441 grep -v '^ *+' conftest.er1 >conftest.err
22443 cat conftest.err >&5
22444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22445 (exit $ac_status); } && {
22446 test -z "$ac_c_werror_flag" ||
22447 test ! -s conftest.err
22448 } && test -s conftest.$ac_objext; then
22449 ac_hi=$ac_mid; break
22451 echo "$as_me: failed program was:" >&5
22452 sed 's/^/| /' conftest.$ac_ext >&5
22454 ac_lo=`expr $ac_mid + 1`
22455 if test $ac_lo -le $ac_mid; then
22459 ac_mid=`expr 2 '*' $ac_mid + 1`
22462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22465 echo "$as_me: failed program was:" >&5
22466 sed 's/^/| /' conftest.$ac_ext >&5
22468 cat >conftest.$ac_ext <<_ACEOF
22471 cat confdefs.h >>conftest.$ac_ext
22472 cat >>conftest.$ac_ext <<_ACEOF
22473 /* end confdefs.h. */
22474 $ac_includes_default
22475 typedef void * ac__type_sizeof_;
22479 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22486 rm -f conftest.$ac_objext
22487 if { (ac_try="$ac_compile"
22488 case "(($ac_try" in
22489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22490 *) ac_try_echo=$ac_try;;
22492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22493 (eval "$ac_compile") 2>conftest.er1
22495 grep -v '^ *+' conftest.er1 >conftest.err
22497 cat conftest.err >&5
22498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22499 (exit $ac_status); } && {
22500 test -z "$ac_c_werror_flag" ||
22501 test ! -s conftest.err
22502 } && test -s conftest.$ac_objext; then
22505 cat >conftest.$ac_ext <<_ACEOF
22508 cat confdefs.h >>conftest.$ac_ext
22509 cat >>conftest.$ac_ext <<_ACEOF
22510 /* end confdefs.h. */
22511 $ac_includes_default
22512 typedef void * ac__type_sizeof_;
22516 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22523 rm -f conftest.$ac_objext
22524 if { (ac_try="$ac_compile"
22525 case "(($ac_try" in
22526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22527 *) ac_try_echo=$ac_try;;
22529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22530 (eval "$ac_compile") 2>conftest.er1
22532 grep -v '^ *+' conftest.er1 >conftest.err
22534 cat conftest.err >&5
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); } && {
22537 test -z "$ac_c_werror_flag" ||
22538 test ! -s conftest.err
22539 } && test -s conftest.$ac_objext; then
22540 ac_lo=$ac_mid; break
22542 echo "$as_me: failed program was:" >&5
22543 sed 's/^/| /' conftest.$ac_ext >&5
22545 ac_hi=`expr '(' $ac_mid ')' - 1`
22546 if test $ac_mid -le $ac_hi; then
22550 ac_mid=`expr 2 '*' $ac_mid`
22553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22556 echo "$as_me: failed program was:" >&5
22557 sed 's/^/| /' conftest.$ac_ext >&5
22562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22566 # Binary search between lo and hi bounds.
22567 while test "x$ac_lo" != "x$ac_hi"; do
22568 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22569 cat >conftest.$ac_ext <<_ACEOF
22572 cat confdefs.h >>conftest.$ac_ext
22573 cat >>conftest.$ac_ext <<_ACEOF
22574 /* end confdefs.h. */
22575 $ac_includes_default
22576 typedef void * ac__type_sizeof_;
22580 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22587 rm -f conftest.$ac_objext
22588 if { (ac_try="$ac_compile"
22589 case "(($ac_try" in
22590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22591 *) ac_try_echo=$ac_try;;
22593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22594 (eval "$ac_compile") 2>conftest.er1
22596 grep -v '^ *+' conftest.er1 >conftest.err
22598 cat conftest.err >&5
22599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600 (exit $ac_status); } && {
22601 test -z "$ac_c_werror_flag" ||
22602 test ! -s conftest.err
22603 } && test -s conftest.$ac_objext; then
22606 echo "$as_me: failed program was:" >&5
22607 sed 's/^/| /' conftest.$ac_ext >&5
22609 ac_lo=`expr '(' $ac_mid ')' + 1`
22612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22615 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22616 '') if test "$ac_cv_type_void_p" = yes; then
22617 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22618 See \`config.log' for more details." >&5
22619 echo "$as_me: error: cannot compute sizeof (void *)
22620 See \`config.log' for more details." >&2;}
22621 { (exit 77); exit 77; }; }
22623 ac_cv_sizeof_void_p=0
22627 cat >conftest.$ac_ext <<_ACEOF
22630 cat confdefs.h >>conftest.$ac_ext
22631 cat >>conftest.$ac_ext <<_ACEOF
22632 /* end confdefs.h. */
22633 $ac_includes_default
22634 typedef void * ac__type_sizeof_;
22635 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22636 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22638 #include <stdlib.h>
22643 FILE *f = fopen ("conftest.val", "w");
22646 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22648 long int i = longval ();
22649 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22651 fprintf (f, "%ld\n", i);
22655 unsigned long int i = ulongval ();
22656 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22658 fprintf (f, "%lu\n", i);
22660 return ferror (f) || fclose (f) != 0;
22666 rm -f conftest$ac_exeext
22667 if { (ac_try="$ac_link"
22668 case "(($ac_try" in
22669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22670 *) ac_try_echo=$ac_try;;
22672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22673 (eval "$ac_link") 2>&5
22675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22676 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22677 { (case "(($ac_try" in
22678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22679 *) ac_try_echo=$ac_try;;
22681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22682 (eval "$ac_try") 2>&5
22684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22685 (exit $ac_status); }; }; then
22686 ac_cv_sizeof_void_p=`cat conftest.val`
22688 echo "$as_me: program exited with status $ac_status" >&5
22689 echo "$as_me: failed program was:" >&5
22690 sed 's/^/| /' conftest.$ac_ext >&5
22692 ( exit $ac_status )
22693 if test "$ac_cv_type_void_p" = yes; then
22694 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22695 See \`config.log' for more details." >&5
22696 echo "$as_me: error: cannot compute sizeof (void *)
22697 See \`config.log' for more details." >&2;}
22698 { (exit 77); exit 77; }; }
22700 ac_cv_sizeof_void_p=0
22703 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22707 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22708 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22712 cat >>confdefs.h <<_ACEOF
22713 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22717 { echo "$as_me:$LINENO: checking for int" >&5
22718 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22719 if test "${ac_cv_type_int+set}" = set; then
22720 echo $ECHO_N "(cached) $ECHO_C" >&6
22722 cat >conftest.$ac_ext <<_ACEOF
22725 cat confdefs.h >>conftest.$ac_ext
22726 cat >>conftest.$ac_ext <<_ACEOF
22727 /* end confdefs.h. */
22728 $ac_includes_default
22729 typedef int ac__type_new_;
22733 if ((ac__type_new_ *) 0)
22735 if (sizeof (ac__type_new_))
22741 rm -f conftest.$ac_objext
22742 if { (ac_try="$ac_compile"
22743 case "(($ac_try" in
22744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22745 *) ac_try_echo=$ac_try;;
22747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22748 (eval "$ac_compile") 2>conftest.er1
22750 grep -v '^ *+' conftest.er1 >conftest.err
22752 cat conftest.err >&5
22753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22754 (exit $ac_status); } && {
22755 test -z "$ac_c_werror_flag" ||
22756 test ! -s conftest.err
22757 } && test -s conftest.$ac_objext; then
22760 echo "$as_me: failed program was:" >&5
22761 sed 's/^/| /' conftest.$ac_ext >&5
22766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22768 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22769 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22771 # The cast to long int works around a bug in the HP C Compiler
22772 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22773 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22774 # This bug is HP SR number 8606223364.
22775 { echo "$as_me:$LINENO: checking size of int" >&5
22776 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22777 if test "${ac_cv_sizeof_int+set}" = set; then
22778 echo $ECHO_N "(cached) $ECHO_C" >&6
22780 if test "$cross_compiling" = yes; then
22781 # Depending upon the size, compute the lo and hi bounds.
22782 cat >conftest.$ac_ext <<_ACEOF
22785 cat confdefs.h >>conftest.$ac_ext
22786 cat >>conftest.$ac_ext <<_ACEOF
22787 /* end confdefs.h. */
22788 $ac_includes_default
22789 typedef int ac__type_sizeof_;
22793 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22800 rm -f conftest.$ac_objext
22801 if { (ac_try="$ac_compile"
22802 case "(($ac_try" in
22803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22804 *) ac_try_echo=$ac_try;;
22806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22807 (eval "$ac_compile") 2>conftest.er1
22809 grep -v '^ *+' conftest.er1 >conftest.err
22811 cat conftest.err >&5
22812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22813 (exit $ac_status); } && {
22814 test -z "$ac_c_werror_flag" ||
22815 test ! -s conftest.err
22816 } && test -s conftest.$ac_objext; then
22819 cat >conftest.$ac_ext <<_ACEOF
22822 cat confdefs.h >>conftest.$ac_ext
22823 cat >>conftest.$ac_ext <<_ACEOF
22824 /* end confdefs.h. */
22825 $ac_includes_default
22826 typedef int ac__type_sizeof_;
22830 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22837 rm -f conftest.$ac_objext
22838 if { (ac_try="$ac_compile"
22839 case "(($ac_try" in
22840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22841 *) ac_try_echo=$ac_try;;
22843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22844 (eval "$ac_compile") 2>conftest.er1
22846 grep -v '^ *+' conftest.er1 >conftest.err
22848 cat conftest.err >&5
22849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22850 (exit $ac_status); } && {
22851 test -z "$ac_c_werror_flag" ||
22852 test ! -s conftest.err
22853 } && test -s conftest.$ac_objext; then
22854 ac_hi=$ac_mid; break
22856 echo "$as_me: failed program was:" >&5
22857 sed 's/^/| /' conftest.$ac_ext >&5
22859 ac_lo=`expr $ac_mid + 1`
22860 if test $ac_lo -le $ac_mid; then
22864 ac_mid=`expr 2 '*' $ac_mid + 1`
22867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22870 echo "$as_me: failed program was:" >&5
22871 sed 's/^/| /' conftest.$ac_ext >&5
22873 cat >conftest.$ac_ext <<_ACEOF
22876 cat confdefs.h >>conftest.$ac_ext
22877 cat >>conftest.$ac_ext <<_ACEOF
22878 /* end confdefs.h. */
22879 $ac_includes_default
22880 typedef int ac__type_sizeof_;
22884 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22891 rm -f conftest.$ac_objext
22892 if { (ac_try="$ac_compile"
22893 case "(($ac_try" in
22894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22895 *) ac_try_echo=$ac_try;;
22897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22898 (eval "$ac_compile") 2>conftest.er1
22900 grep -v '^ *+' conftest.er1 >conftest.err
22902 cat conftest.err >&5
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); } && {
22905 test -z "$ac_c_werror_flag" ||
22906 test ! -s conftest.err
22907 } && test -s conftest.$ac_objext; then
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 int ac__type_sizeof_;
22921 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22928 rm -f conftest.$ac_objext
22929 if { (ac_try="$ac_compile"
22930 case "(($ac_try" in
22931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22932 *) ac_try_echo=$ac_try;;
22934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22935 (eval "$ac_compile") 2>conftest.er1
22937 grep -v '^ *+' conftest.er1 >conftest.err
22939 cat conftest.err >&5
22940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22941 (exit $ac_status); } && {
22942 test -z "$ac_c_werror_flag" ||
22943 test ! -s conftest.err
22944 } && test -s conftest.$ac_objext; then
22945 ac_lo=$ac_mid; break
22947 echo "$as_me: failed program was:" >&5
22948 sed 's/^/| /' conftest.$ac_ext >&5
22950 ac_hi=`expr '(' $ac_mid ')' - 1`
22951 if test $ac_mid -le $ac_hi; then
22955 ac_mid=`expr 2 '*' $ac_mid`
22958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22961 echo "$as_me: failed program was:" >&5
22962 sed 's/^/| /' conftest.$ac_ext >&5
22967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22971 # Binary search between lo and hi bounds.
22972 while test "x$ac_lo" != "x$ac_hi"; do
22973 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22974 cat >conftest.$ac_ext <<_ACEOF
22977 cat confdefs.h >>conftest.$ac_ext
22978 cat >>conftest.$ac_ext <<_ACEOF
22979 /* end confdefs.h. */
22980 $ac_includes_default
22981 typedef int ac__type_sizeof_;
22985 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22992 rm -f conftest.$ac_objext
22993 if { (ac_try="$ac_compile"
22994 case "(($ac_try" in
22995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22996 *) ac_try_echo=$ac_try;;
22998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22999 (eval "$ac_compile") 2>conftest.er1
23001 grep -v '^ *+' conftest.er1 >conftest.err
23003 cat conftest.err >&5
23004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23005 (exit $ac_status); } && {
23006 test -z "$ac_c_werror_flag" ||
23007 test ! -s conftest.err
23008 } && test -s conftest.$ac_objext; then
23011 echo "$as_me: failed program was:" >&5
23012 sed 's/^/| /' conftest.$ac_ext >&5
23014 ac_lo=`expr '(' $ac_mid ')' + 1`
23017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23020 ?*) ac_cv_sizeof_int=$ac_lo;;
23021 '') if test "$ac_cv_type_int" = yes; then
23022 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
23023 See \`config.log' for more details." >&5
23024 echo "$as_me: error: cannot compute sizeof (int)
23025 See \`config.log' for more details." >&2;}
23026 { (exit 77); exit 77; }; }
23032 cat >conftest.$ac_ext <<_ACEOF
23035 cat confdefs.h >>conftest.$ac_ext
23036 cat >>conftest.$ac_ext <<_ACEOF
23037 /* end confdefs.h. */
23038 $ac_includes_default
23039 typedef int ac__type_sizeof_;
23040 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23041 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23043 #include <stdlib.h>
23048 FILE *f = fopen ("conftest.val", "w");
23051 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23053 long int i = longval ();
23054 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23056 fprintf (f, "%ld\n", i);
23060 unsigned long int i = ulongval ();
23061 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23063 fprintf (f, "%lu\n", i);
23065 return ferror (f) || fclose (f) != 0;
23071 rm -f conftest$ac_exeext
23072 if { (ac_try="$ac_link"
23073 case "(($ac_try" in
23074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23075 *) ac_try_echo=$ac_try;;
23077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23078 (eval "$ac_link") 2>&5
23080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23081 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23082 { (case "(($ac_try" in
23083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23084 *) ac_try_echo=$ac_try;;
23086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23087 (eval "$ac_try") 2>&5
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); }; }; then
23091 ac_cv_sizeof_int=`cat conftest.val`
23093 echo "$as_me: program exited with status $ac_status" >&5
23094 echo "$as_me: failed program was:" >&5
23095 sed 's/^/| /' conftest.$ac_ext >&5
23097 ( exit $ac_status )
23098 if test "$ac_cv_type_int" = yes; then
23099 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
23100 See \`config.log' for more details." >&5
23101 echo "$as_me: error: cannot compute sizeof (int)
23102 See \`config.log' for more details." >&2;}
23103 { (exit 77); exit 77; }; }
23108 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23112 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23113 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23117 cat >>confdefs.h <<_ACEOF
23118 #define SIZEOF_INT $ac_cv_sizeof_int
23122 { echo "$as_me:$LINENO: checking for long" >&5
23123 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
23124 if test "${ac_cv_type_long+set}" = set; then
23125 echo $ECHO_N "(cached) $ECHO_C" >&6
23127 cat >conftest.$ac_ext <<_ACEOF
23130 cat confdefs.h >>conftest.$ac_ext
23131 cat >>conftest.$ac_ext <<_ACEOF
23132 /* end confdefs.h. */
23133 $ac_includes_default
23134 typedef long ac__type_new_;
23138 if ((ac__type_new_ *) 0)
23140 if (sizeof (ac__type_new_))
23146 rm -f conftest.$ac_objext
23147 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
23155 grep -v '^ *+' conftest.er1 >conftest.err
23157 cat conftest.err >&5
23158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23159 (exit $ac_status); } && {
23160 test -z "$ac_c_werror_flag" ||
23161 test ! -s conftest.err
23162 } && test -s conftest.$ac_objext; then
23163 ac_cv_type_long=yes
23165 echo "$as_me: failed program was:" >&5
23166 sed 's/^/| /' conftest.$ac_ext >&5
23171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23173 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23174 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23176 # The cast to long int works around a bug in the HP C Compiler
23177 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23178 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23179 # This bug is HP SR number 8606223364.
23180 { echo "$as_me:$LINENO: checking size of long" >&5
23181 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23182 if test "${ac_cv_sizeof_long+set}" = set; then
23183 echo $ECHO_N "(cached) $ECHO_C" >&6
23185 if test "$cross_compiling" = yes; then
23186 # Depending upon the size, compute the lo and hi bounds.
23187 cat >conftest.$ac_ext <<_ACEOF
23190 cat confdefs.h >>conftest.$ac_ext
23191 cat >>conftest.$ac_ext <<_ACEOF
23192 /* end confdefs.h. */
23193 $ac_includes_default
23194 typedef long ac__type_sizeof_;
23198 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23205 rm -f conftest.$ac_objext
23206 if { (ac_try="$ac_compile"
23207 case "(($ac_try" in
23208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23209 *) ac_try_echo=$ac_try;;
23211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23212 (eval "$ac_compile") 2>conftest.er1
23214 grep -v '^ *+' conftest.er1 >conftest.err
23216 cat conftest.err >&5
23217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23218 (exit $ac_status); } && {
23219 test -z "$ac_c_werror_flag" ||
23220 test ! -s conftest.err
23221 } && test -s conftest.$ac_objext; then
23224 cat >conftest.$ac_ext <<_ACEOF
23227 cat confdefs.h >>conftest.$ac_ext
23228 cat >>conftest.$ac_ext <<_ACEOF
23229 /* end confdefs.h. */
23230 $ac_includes_default
23231 typedef long ac__type_sizeof_;
23235 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23242 rm -f conftest.$ac_objext
23243 if { (ac_try="$ac_compile"
23244 case "(($ac_try" in
23245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23246 *) ac_try_echo=$ac_try;;
23248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23249 (eval "$ac_compile") 2>conftest.er1
23251 grep -v '^ *+' conftest.er1 >conftest.err
23253 cat conftest.err >&5
23254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23255 (exit $ac_status); } && {
23256 test -z "$ac_c_werror_flag" ||
23257 test ! -s conftest.err
23258 } && test -s conftest.$ac_objext; then
23259 ac_hi=$ac_mid; break
23261 echo "$as_me: failed program was:" >&5
23262 sed 's/^/| /' conftest.$ac_ext >&5
23264 ac_lo=`expr $ac_mid + 1`
23265 if test $ac_lo -le $ac_mid; then
23269 ac_mid=`expr 2 '*' $ac_mid + 1`
23272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23275 echo "$as_me: failed program was:" >&5
23276 sed 's/^/| /' conftest.$ac_ext >&5
23278 cat >conftest.$ac_ext <<_ACEOF
23281 cat confdefs.h >>conftest.$ac_ext
23282 cat >>conftest.$ac_ext <<_ACEOF
23283 /* end confdefs.h. */
23284 $ac_includes_default
23285 typedef long ac__type_sizeof_;
23289 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23296 rm -f conftest.$ac_objext
23297 if { (ac_try="$ac_compile"
23298 case "(($ac_try" in
23299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23300 *) ac_try_echo=$ac_try;;
23302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23303 (eval "$ac_compile") 2>conftest.er1
23305 grep -v '^ *+' conftest.er1 >conftest.err
23307 cat conftest.err >&5
23308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23309 (exit $ac_status); } && {
23310 test -z "$ac_c_werror_flag" ||
23311 test ! -s conftest.err
23312 } && test -s conftest.$ac_objext; then
23315 cat >conftest.$ac_ext <<_ACEOF
23318 cat confdefs.h >>conftest.$ac_ext
23319 cat >>conftest.$ac_ext <<_ACEOF
23320 /* end confdefs.h. */
23321 $ac_includes_default
23322 typedef long ac__type_sizeof_;
23326 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23333 rm -f conftest.$ac_objext
23334 if { (ac_try="$ac_compile"
23335 case "(($ac_try" in
23336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23337 *) ac_try_echo=$ac_try;;
23339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23340 (eval "$ac_compile") 2>conftest.er1
23342 grep -v '^ *+' conftest.er1 >conftest.err
23344 cat conftest.err >&5
23345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23346 (exit $ac_status); } && {
23347 test -z "$ac_c_werror_flag" ||
23348 test ! -s conftest.err
23349 } && test -s conftest.$ac_objext; then
23350 ac_lo=$ac_mid; break
23352 echo "$as_me: failed program was:" >&5
23353 sed 's/^/| /' conftest.$ac_ext >&5
23355 ac_hi=`expr '(' $ac_mid ')' - 1`
23356 if test $ac_mid -le $ac_hi; then
23360 ac_mid=`expr 2 '*' $ac_mid`
23363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23366 echo "$as_me: failed program was:" >&5
23367 sed 's/^/| /' conftest.$ac_ext >&5
23372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23376 # Binary search between lo and hi bounds.
23377 while test "x$ac_lo" != "x$ac_hi"; do
23378 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23379 cat >conftest.$ac_ext <<_ACEOF
23382 cat confdefs.h >>conftest.$ac_ext
23383 cat >>conftest.$ac_ext <<_ACEOF
23384 /* end confdefs.h. */
23385 $ac_includes_default
23386 typedef long ac__type_sizeof_;
23390 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23397 rm -f conftest.$ac_objext
23398 if { (ac_try="$ac_compile"
23399 case "(($ac_try" in
23400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23401 *) ac_try_echo=$ac_try;;
23403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23404 (eval "$ac_compile") 2>conftest.er1
23406 grep -v '^ *+' conftest.er1 >conftest.err
23408 cat conftest.err >&5
23409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23410 (exit $ac_status); } && {
23411 test -z "$ac_c_werror_flag" ||
23412 test ! -s conftest.err
23413 } && test -s conftest.$ac_objext; then
23416 echo "$as_me: failed program was:" >&5
23417 sed 's/^/| /' conftest.$ac_ext >&5
23419 ac_lo=`expr '(' $ac_mid ')' + 1`
23422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23425 ?*) ac_cv_sizeof_long=$ac_lo;;
23426 '') if test "$ac_cv_type_long" = yes; then
23427 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23428 See \`config.log' for more details." >&5
23429 echo "$as_me: error: cannot compute sizeof (long)
23430 See \`config.log' for more details." >&2;}
23431 { (exit 77); exit 77; }; }
23433 ac_cv_sizeof_long=0
23437 cat >conftest.$ac_ext <<_ACEOF
23440 cat confdefs.h >>conftest.$ac_ext
23441 cat >>conftest.$ac_ext <<_ACEOF
23442 /* end confdefs.h. */
23443 $ac_includes_default
23444 typedef long ac__type_sizeof_;
23445 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23446 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23448 #include <stdlib.h>
23453 FILE *f = fopen ("conftest.val", "w");
23456 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23458 long int i = longval ();
23459 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23461 fprintf (f, "%ld\n", i);
23465 unsigned long int i = ulongval ();
23466 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23468 fprintf (f, "%lu\n", i);
23470 return ferror (f) || fclose (f) != 0;
23476 rm -f conftest$ac_exeext
23477 if { (ac_try="$ac_link"
23478 case "(($ac_try" in
23479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23480 *) ac_try_echo=$ac_try;;
23482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23483 (eval "$ac_link") 2>&5
23485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23486 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23487 { (case "(($ac_try" in
23488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23489 *) ac_try_echo=$ac_try;;
23491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23492 (eval "$ac_try") 2>&5
23494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23495 (exit $ac_status); }; }; then
23496 ac_cv_sizeof_long=`cat conftest.val`
23498 echo "$as_me: program exited with status $ac_status" >&5
23499 echo "$as_me: failed program was:" >&5
23500 sed 's/^/| /' conftest.$ac_ext >&5
23502 ( exit $ac_status )
23503 if test "$ac_cv_type_long" = yes; then
23504 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23505 See \`config.log' for more details." >&5
23506 echo "$as_me: error: cannot compute sizeof (long)
23507 See \`config.log' for more details." >&2;}
23508 { (exit 77); exit 77; }; }
23510 ac_cv_sizeof_long=0
23513 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23517 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23518 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23522 cat >>confdefs.h <<_ACEOF
23523 #define SIZEOF_LONG $ac_cv_sizeof_long
23527 { echo "$as_me:$LINENO: checking for size_t" >&5
23528 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23529 if test "${ac_cv_type_size_t+set}" = set; then
23530 echo $ECHO_N "(cached) $ECHO_C" >&6
23532 cat >conftest.$ac_ext <<_ACEOF
23535 cat confdefs.h >>conftest.$ac_ext
23536 cat >>conftest.$ac_ext <<_ACEOF
23537 /* end confdefs.h. */
23538 $ac_includes_default
23539 typedef size_t ac__type_new_;
23543 if ((ac__type_new_ *) 0)
23545 if (sizeof (ac__type_new_))
23551 rm -f conftest.$ac_objext
23552 if { (ac_try="$ac_compile"
23553 case "(($ac_try" in
23554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23555 *) ac_try_echo=$ac_try;;
23557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23558 (eval "$ac_compile") 2>conftest.er1
23560 grep -v '^ *+' conftest.er1 >conftest.err
23562 cat conftest.err >&5
23563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23564 (exit $ac_status); } && {
23565 test -z "$ac_c_werror_flag" ||
23566 test ! -s conftest.err
23567 } && test -s conftest.$ac_objext; then
23568 ac_cv_type_size_t=yes
23570 echo "$as_me: failed program was:" >&5
23571 sed 's/^/| /' conftest.$ac_ext >&5
23573 ac_cv_type_size_t=no
23576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23578 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23579 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23581 # The cast to long int works around a bug in the HP C Compiler
23582 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23583 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23584 # This bug is HP SR number 8606223364.
23585 { echo "$as_me:$LINENO: checking size of size_t" >&5
23586 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23587 if test "${ac_cv_sizeof_size_t+set}" = set; then
23588 echo $ECHO_N "(cached) $ECHO_C" >&6
23590 if test "$cross_compiling" = yes; then
23591 # Depending upon the size, compute the lo and hi bounds.
23592 cat >conftest.$ac_ext <<_ACEOF
23595 cat confdefs.h >>conftest.$ac_ext
23596 cat >>conftest.$ac_ext <<_ACEOF
23597 /* end confdefs.h. */
23598 $ac_includes_default
23599 typedef size_t ac__type_sizeof_;
23603 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23610 rm -f conftest.$ac_objext
23611 if { (ac_try="$ac_compile"
23612 case "(($ac_try" in
23613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23614 *) ac_try_echo=$ac_try;;
23616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23617 (eval "$ac_compile") 2>conftest.er1
23619 grep -v '^ *+' conftest.er1 >conftest.err
23621 cat conftest.err >&5
23622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23623 (exit $ac_status); } && {
23624 test -z "$ac_c_werror_flag" ||
23625 test ! -s conftest.err
23626 } && test -s conftest.$ac_objext; then
23629 cat >conftest.$ac_ext <<_ACEOF
23632 cat confdefs.h >>conftest.$ac_ext
23633 cat >>conftest.$ac_ext <<_ACEOF
23634 /* end confdefs.h. */
23635 $ac_includes_default
23636 typedef size_t ac__type_sizeof_;
23640 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23647 rm -f conftest.$ac_objext
23648 if { (ac_try="$ac_compile"
23649 case "(($ac_try" in
23650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23651 *) ac_try_echo=$ac_try;;
23653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23654 (eval "$ac_compile") 2>conftest.er1
23656 grep -v '^ *+' conftest.er1 >conftest.err
23658 cat conftest.err >&5
23659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23660 (exit $ac_status); } && {
23661 test -z "$ac_c_werror_flag" ||
23662 test ! -s conftest.err
23663 } && test -s conftest.$ac_objext; then
23664 ac_hi=$ac_mid; break
23666 echo "$as_me: failed program was:" >&5
23667 sed 's/^/| /' conftest.$ac_ext >&5
23669 ac_lo=`expr $ac_mid + 1`
23670 if test $ac_lo -le $ac_mid; then
23674 ac_mid=`expr 2 '*' $ac_mid + 1`
23677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23680 echo "$as_me: failed program was:" >&5
23681 sed 's/^/| /' conftest.$ac_ext >&5
23683 cat >conftest.$ac_ext <<_ACEOF
23686 cat confdefs.h >>conftest.$ac_ext
23687 cat >>conftest.$ac_ext <<_ACEOF
23688 /* end confdefs.h. */
23689 $ac_includes_default
23690 typedef size_t ac__type_sizeof_;
23694 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23701 rm -f conftest.$ac_objext
23702 if { (ac_try="$ac_compile"
23703 case "(($ac_try" in
23704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23705 *) ac_try_echo=$ac_try;;
23707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23708 (eval "$ac_compile") 2>conftest.er1
23710 grep -v '^ *+' conftest.er1 >conftest.err
23712 cat conftest.err >&5
23713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23714 (exit $ac_status); } && {
23715 test -z "$ac_c_werror_flag" ||
23716 test ! -s conftest.err
23717 } && test -s conftest.$ac_objext; then
23720 cat >conftest.$ac_ext <<_ACEOF
23723 cat confdefs.h >>conftest.$ac_ext
23724 cat >>conftest.$ac_ext <<_ACEOF
23725 /* end confdefs.h. */
23726 $ac_includes_default
23727 typedef size_t ac__type_sizeof_;
23731 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23738 rm -f conftest.$ac_objext
23739 if { (ac_try="$ac_compile"
23740 case "(($ac_try" in
23741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23742 *) ac_try_echo=$ac_try;;
23744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23745 (eval "$ac_compile") 2>conftest.er1
23747 grep -v '^ *+' conftest.er1 >conftest.err
23749 cat conftest.err >&5
23750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23751 (exit $ac_status); } && {
23752 test -z "$ac_c_werror_flag" ||
23753 test ! -s conftest.err
23754 } && test -s conftest.$ac_objext; then
23755 ac_lo=$ac_mid; break
23757 echo "$as_me: failed program was:" >&5
23758 sed 's/^/| /' conftest.$ac_ext >&5
23760 ac_hi=`expr '(' $ac_mid ')' - 1`
23761 if test $ac_mid -le $ac_hi; then
23765 ac_mid=`expr 2 '*' $ac_mid`
23768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23771 echo "$as_me: failed program was:" >&5
23772 sed 's/^/| /' conftest.$ac_ext >&5
23777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23781 # Binary search between lo and hi bounds.
23782 while test "x$ac_lo" != "x$ac_hi"; do
23783 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23784 cat >conftest.$ac_ext <<_ACEOF
23787 cat confdefs.h >>conftest.$ac_ext
23788 cat >>conftest.$ac_ext <<_ACEOF
23789 /* end confdefs.h. */
23790 $ac_includes_default
23791 typedef size_t ac__type_sizeof_;
23795 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23802 rm -f conftest.$ac_objext
23803 if { (ac_try="$ac_compile"
23804 case "(($ac_try" in
23805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23806 *) ac_try_echo=$ac_try;;
23808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23809 (eval "$ac_compile") 2>conftest.er1
23811 grep -v '^ *+' conftest.er1 >conftest.err
23813 cat conftest.err >&5
23814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23815 (exit $ac_status); } && {
23816 test -z "$ac_c_werror_flag" ||
23817 test ! -s conftest.err
23818 } && test -s conftest.$ac_objext; then
23821 echo "$as_me: failed program was:" >&5
23822 sed 's/^/| /' conftest.$ac_ext >&5
23824 ac_lo=`expr '(' $ac_mid ')' + 1`
23827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23830 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23831 '') if test "$ac_cv_type_size_t" = yes; then
23832 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23833 See \`config.log' for more details." >&5
23834 echo "$as_me: error: cannot compute sizeof (size_t)
23835 See \`config.log' for more details." >&2;}
23836 { (exit 77); exit 77; }; }
23838 ac_cv_sizeof_size_t=0
23842 cat >conftest.$ac_ext <<_ACEOF
23845 cat confdefs.h >>conftest.$ac_ext
23846 cat >>conftest.$ac_ext <<_ACEOF
23847 /* end confdefs.h. */
23848 $ac_includes_default
23849 typedef size_t ac__type_sizeof_;
23850 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23851 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23853 #include <stdlib.h>
23858 FILE *f = fopen ("conftest.val", "w");
23861 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23863 long int i = longval ();
23864 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23866 fprintf (f, "%ld\n", i);
23870 unsigned long int i = ulongval ();
23871 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23873 fprintf (f, "%lu\n", i);
23875 return ferror (f) || fclose (f) != 0;
23881 rm -f conftest$ac_exeext
23882 if { (ac_try="$ac_link"
23883 case "(($ac_try" in
23884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23885 *) ac_try_echo=$ac_try;;
23887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23888 (eval "$ac_link") 2>&5
23890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23891 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23892 { (case "(($ac_try" in
23893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23894 *) ac_try_echo=$ac_try;;
23896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23897 (eval "$ac_try") 2>&5
23899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23900 (exit $ac_status); }; }; then
23901 ac_cv_sizeof_size_t=`cat conftest.val`
23903 echo "$as_me: program exited with status $ac_status" >&5
23904 echo "$as_me: failed program was:" >&5
23905 sed 's/^/| /' conftest.$ac_ext >&5
23907 ( exit $ac_status )
23908 if test "$ac_cv_type_size_t" = yes; then
23909 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23910 See \`config.log' for more details." >&5
23911 echo "$as_me: error: cannot compute sizeof (size_t)
23912 See \`config.log' for more details." >&2;}
23913 { (exit 77); exit 77; }; }
23915 ac_cv_sizeof_size_t=0
23918 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23922 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23923 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23927 cat >>confdefs.h <<_ACEOF
23928 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23935 { echo "$as_me:$LINENO: checking for long long" >&5
23936 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23937 if test "${ac_cv_type_long_long+set}" = set; then
23938 echo $ECHO_N "(cached) $ECHO_C" >&6
23940 cat >conftest.$ac_ext <<_ACEOF
23943 cat confdefs.h >>conftest.$ac_ext
23944 cat >>conftest.$ac_ext <<_ACEOF
23945 /* end confdefs.h. */
23946 $ac_includes_default
23947 typedef long long ac__type_new_;
23951 if ((ac__type_new_ *) 0)
23953 if (sizeof (ac__type_new_))
23959 rm -f conftest.$ac_objext
23960 if { (ac_try="$ac_compile"
23961 case "(($ac_try" in
23962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23963 *) ac_try_echo=$ac_try;;
23965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23966 (eval "$ac_compile") 2>conftest.er1
23968 grep -v '^ *+' conftest.er1 >conftest.err
23970 cat conftest.err >&5
23971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972 (exit $ac_status); } && {
23973 test -z "$ac_c_werror_flag" ||
23974 test ! -s conftest.err
23975 } && test -s conftest.$ac_objext; then
23976 ac_cv_type_long_long=yes
23978 echo "$as_me: failed program was:" >&5
23979 sed 's/^/| /' conftest.$ac_ext >&5
23981 ac_cv_type_long_long=no
23984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23986 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23987 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23989 # The cast to long int works around a bug in the HP C Compiler
23990 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23991 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23992 # This bug is HP SR number 8606223364.
23993 { echo "$as_me:$LINENO: checking size of long long" >&5
23994 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23995 if test "${ac_cv_sizeof_long_long+set}" = set; then
23996 echo $ECHO_N "(cached) $ECHO_C" >&6
23998 if test "$cross_compiling" = yes; then
23999 # Depending upon the size, compute the lo and hi bounds.
24000 cat >conftest.$ac_ext <<_ACEOF
24003 cat confdefs.h >>conftest.$ac_ext
24004 cat >>conftest.$ac_ext <<_ACEOF
24005 /* end confdefs.h. */
24006 $ac_includes_default
24007 typedef long long ac__type_sizeof_;
24011 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24018 rm -f conftest.$ac_objext
24019 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
24027 grep -v '^ *+' conftest.er1 >conftest.err
24029 cat conftest.err >&5
24030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24031 (exit $ac_status); } && {
24032 test -z "$ac_c_werror_flag" ||
24033 test ! -s conftest.err
24034 } && test -s conftest.$ac_objext; then
24037 cat >conftest.$ac_ext <<_ACEOF
24040 cat confdefs.h >>conftest.$ac_ext
24041 cat >>conftest.$ac_ext <<_ACEOF
24042 /* end confdefs.h. */
24043 $ac_includes_default
24044 typedef long long ac__type_sizeof_;
24048 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24055 rm -f conftest.$ac_objext
24056 if { (ac_try="$ac_compile"
24057 case "(($ac_try" in
24058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24059 *) ac_try_echo=$ac_try;;
24061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24062 (eval "$ac_compile") 2>conftest.er1
24064 grep -v '^ *+' conftest.er1 >conftest.err
24066 cat conftest.err >&5
24067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24068 (exit $ac_status); } && {
24069 test -z "$ac_c_werror_flag" ||
24070 test ! -s conftest.err
24071 } && test -s conftest.$ac_objext; then
24072 ac_hi=$ac_mid; break
24074 echo "$as_me: failed program was:" >&5
24075 sed 's/^/| /' conftest.$ac_ext >&5
24077 ac_lo=`expr $ac_mid + 1`
24078 if test $ac_lo -le $ac_mid; then
24082 ac_mid=`expr 2 '*' $ac_mid + 1`
24085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24088 echo "$as_me: failed program was:" >&5
24089 sed 's/^/| /' conftest.$ac_ext >&5
24091 cat >conftest.$ac_ext <<_ACEOF
24094 cat confdefs.h >>conftest.$ac_ext
24095 cat >>conftest.$ac_ext <<_ACEOF
24096 /* end confdefs.h. */
24097 $ac_includes_default
24098 typedef long long ac__type_sizeof_;
24102 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24109 rm -f conftest.$ac_objext
24110 if { (ac_try="$ac_compile"
24111 case "(($ac_try" in
24112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24113 *) ac_try_echo=$ac_try;;
24115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24116 (eval "$ac_compile") 2>conftest.er1
24118 grep -v '^ *+' conftest.er1 >conftest.err
24120 cat conftest.err >&5
24121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24122 (exit $ac_status); } && {
24123 test -z "$ac_c_werror_flag" ||
24124 test ! -s conftest.err
24125 } && test -s conftest.$ac_objext; then
24128 cat >conftest.$ac_ext <<_ACEOF
24131 cat confdefs.h >>conftest.$ac_ext
24132 cat >>conftest.$ac_ext <<_ACEOF
24133 /* end confdefs.h. */
24134 $ac_includes_default
24135 typedef long long ac__type_sizeof_;
24139 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24146 rm -f conftest.$ac_objext
24147 if { (ac_try="$ac_compile"
24148 case "(($ac_try" in
24149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24150 *) ac_try_echo=$ac_try;;
24152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24153 (eval "$ac_compile") 2>conftest.er1
24155 grep -v '^ *+' conftest.er1 >conftest.err
24157 cat conftest.err >&5
24158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24159 (exit $ac_status); } && {
24160 test -z "$ac_c_werror_flag" ||
24161 test ! -s conftest.err
24162 } && test -s conftest.$ac_objext; then
24163 ac_lo=$ac_mid; break
24165 echo "$as_me: failed program was:" >&5
24166 sed 's/^/| /' conftest.$ac_ext >&5
24168 ac_hi=`expr '(' $ac_mid ')' - 1`
24169 if test $ac_mid -le $ac_hi; then
24173 ac_mid=`expr 2 '*' $ac_mid`
24176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24179 echo "$as_me: failed program was:" >&5
24180 sed 's/^/| /' conftest.$ac_ext >&5
24185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24189 # Binary search between lo and hi bounds.
24190 while test "x$ac_lo" != "x$ac_hi"; do
24191 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24192 cat >conftest.$ac_ext <<_ACEOF
24195 cat confdefs.h >>conftest.$ac_ext
24196 cat >>conftest.$ac_ext <<_ACEOF
24197 /* end confdefs.h. */
24198 $ac_includes_default
24199 typedef long long ac__type_sizeof_;
24203 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24210 rm -f conftest.$ac_objext
24211 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
24219 grep -v '^ *+' conftest.er1 >conftest.err
24221 cat conftest.err >&5
24222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24223 (exit $ac_status); } && {
24224 test -z "$ac_c_werror_flag" ||
24225 test ! -s conftest.err
24226 } && test -s conftest.$ac_objext; then
24229 echo "$as_me: failed program was:" >&5
24230 sed 's/^/| /' conftest.$ac_ext >&5
24232 ac_lo=`expr '(' $ac_mid ')' + 1`
24235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24238 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24239 '') if test "$ac_cv_type_long_long" = yes; then
24240 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24241 See \`config.log' for more details." >&5
24242 echo "$as_me: error: cannot compute sizeof (long long)
24243 See \`config.log' for more details." >&2;}
24244 { (exit 77); exit 77; }; }
24246 ac_cv_sizeof_long_long=0
24250 cat >conftest.$ac_ext <<_ACEOF
24253 cat confdefs.h >>conftest.$ac_ext
24254 cat >>conftest.$ac_ext <<_ACEOF
24255 /* end confdefs.h. */
24256 $ac_includes_default
24257 typedef long long ac__type_sizeof_;
24258 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24259 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24261 #include <stdlib.h>
24266 FILE *f = fopen ("conftest.val", "w");
24269 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24271 long int i = longval ();
24272 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24274 fprintf (f, "%ld\n", i);
24278 unsigned long int i = ulongval ();
24279 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24281 fprintf (f, "%lu\n", i);
24283 return ferror (f) || fclose (f) != 0;
24289 rm -f conftest$ac_exeext
24290 if { (ac_try="$ac_link"
24291 case "(($ac_try" in
24292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24293 *) ac_try_echo=$ac_try;;
24295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24296 (eval "$ac_link") 2>&5
24298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24299 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24300 { (case "(($ac_try" in
24301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24302 *) ac_try_echo=$ac_try;;
24304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24305 (eval "$ac_try") 2>&5
24307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24308 (exit $ac_status); }; }; then
24309 ac_cv_sizeof_long_long=`cat conftest.val`
24311 echo "$as_me: program exited with status $ac_status" >&5
24312 echo "$as_me: failed program was:" >&5
24313 sed 's/^/| /' conftest.$ac_ext >&5
24315 ( exit $ac_status )
24316 if test "$ac_cv_type_long_long" = yes; then
24317 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24318 See \`config.log' for more details." >&5
24319 echo "$as_me: error: cannot compute sizeof (long long)
24320 See \`config.log' for more details." >&2;}
24321 { (exit 77); exit 77; }; }
24323 ac_cv_sizeof_long_long=0
24326 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24330 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24331 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24335 cat >>confdefs.h <<_ACEOF
24336 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24342 { echo "$as_me:$LINENO: checking for long long" >&5
24343 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24344 if test "${ac_cv_type_long_long+set}" = set; then
24345 echo $ECHO_N "(cached) $ECHO_C" >&6
24347 cat >conftest.$ac_ext <<_ACEOF
24350 cat confdefs.h >>conftest.$ac_ext
24351 cat >>conftest.$ac_ext <<_ACEOF
24352 /* end confdefs.h. */
24353 $ac_includes_default
24354 typedef long long ac__type_new_;
24358 if ((ac__type_new_ *) 0)
24360 if (sizeof (ac__type_new_))
24366 rm -f conftest.$ac_objext
24367 if { (ac_try="$ac_compile"
24368 case "(($ac_try" in
24369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24370 *) ac_try_echo=$ac_try;;
24372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24373 (eval "$ac_compile") 2>conftest.er1
24375 grep -v '^ *+' conftest.er1 >conftest.err
24377 cat conftest.err >&5
24378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24379 (exit $ac_status); } && {
24380 test -z "$ac_c_werror_flag" ||
24381 test ! -s conftest.err
24382 } && test -s conftest.$ac_objext; then
24383 ac_cv_type_long_long=yes
24385 echo "$as_me: failed program was:" >&5
24386 sed 's/^/| /' conftest.$ac_ext >&5
24388 ac_cv_type_long_long=no
24391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24393 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24394 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24396 # The cast to long int works around a bug in the HP C Compiler
24397 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24398 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24399 # This bug is HP SR number 8606223364.
24400 { echo "$as_me:$LINENO: checking size of long long" >&5
24401 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24402 if test "${ac_cv_sizeof_long_long+set}" = set; then
24403 echo $ECHO_N "(cached) $ECHO_C" >&6
24405 if test "$cross_compiling" = yes; then
24406 # Depending upon the size, compute the lo and hi bounds.
24407 cat >conftest.$ac_ext <<_ACEOF
24410 cat confdefs.h >>conftest.$ac_ext
24411 cat >>conftest.$ac_ext <<_ACEOF
24412 /* end confdefs.h. */
24413 $ac_includes_default
24414 typedef long long ac__type_sizeof_;
24418 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24425 rm -f conftest.$ac_objext
24426 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
24434 grep -v '^ *+' conftest.er1 >conftest.err
24436 cat conftest.err >&5
24437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24438 (exit $ac_status); } && {
24439 test -z "$ac_c_werror_flag" ||
24440 test ! -s conftest.err
24441 } && test -s conftest.$ac_objext; then
24444 cat >conftest.$ac_ext <<_ACEOF
24447 cat confdefs.h >>conftest.$ac_ext
24448 cat >>conftest.$ac_ext <<_ACEOF
24449 /* end confdefs.h. */
24450 $ac_includes_default
24451 typedef long long ac__type_sizeof_;
24455 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24462 rm -f conftest.$ac_objext
24463 if { (ac_try="$ac_compile"
24464 case "(($ac_try" in
24465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24466 *) ac_try_echo=$ac_try;;
24468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24469 (eval "$ac_compile") 2>conftest.er1
24471 grep -v '^ *+' conftest.er1 >conftest.err
24473 cat conftest.err >&5
24474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24475 (exit $ac_status); } && {
24476 test -z "$ac_c_werror_flag" ||
24477 test ! -s conftest.err
24478 } && test -s conftest.$ac_objext; then
24479 ac_hi=$ac_mid; break
24481 echo "$as_me: failed program was:" >&5
24482 sed 's/^/| /' conftest.$ac_ext >&5
24484 ac_lo=`expr $ac_mid + 1`
24485 if test $ac_lo -le $ac_mid; then
24489 ac_mid=`expr 2 '*' $ac_mid + 1`
24492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24495 echo "$as_me: failed program was:" >&5
24496 sed 's/^/| /' conftest.$ac_ext >&5
24498 cat >conftest.$ac_ext <<_ACEOF
24501 cat confdefs.h >>conftest.$ac_ext
24502 cat >>conftest.$ac_ext <<_ACEOF
24503 /* end confdefs.h. */
24504 $ac_includes_default
24505 typedef long long ac__type_sizeof_;
24509 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24516 rm -f conftest.$ac_objext
24517 if { (ac_try="$ac_compile"
24518 case "(($ac_try" in
24519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24520 *) ac_try_echo=$ac_try;;
24522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24523 (eval "$ac_compile") 2>conftest.er1
24525 grep -v '^ *+' conftest.er1 >conftest.err
24527 cat conftest.err >&5
24528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24529 (exit $ac_status); } && {
24530 test -z "$ac_c_werror_flag" ||
24531 test ! -s conftest.err
24532 } && test -s conftest.$ac_objext; then
24535 cat >conftest.$ac_ext <<_ACEOF
24538 cat confdefs.h >>conftest.$ac_ext
24539 cat >>conftest.$ac_ext <<_ACEOF
24540 /* end confdefs.h. */
24541 $ac_includes_default
24542 typedef long long ac__type_sizeof_;
24546 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24553 rm -f conftest.$ac_objext
24554 if { (ac_try="$ac_compile"
24555 case "(($ac_try" in
24556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24557 *) ac_try_echo=$ac_try;;
24559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24560 (eval "$ac_compile") 2>conftest.er1
24562 grep -v '^ *+' conftest.er1 >conftest.err
24564 cat conftest.err >&5
24565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24566 (exit $ac_status); } && {
24567 test -z "$ac_c_werror_flag" ||
24568 test ! -s conftest.err
24569 } && test -s conftest.$ac_objext; then
24570 ac_lo=$ac_mid; break
24572 echo "$as_me: failed program was:" >&5
24573 sed 's/^/| /' conftest.$ac_ext >&5
24575 ac_hi=`expr '(' $ac_mid ')' - 1`
24576 if test $ac_mid -le $ac_hi; then
24580 ac_mid=`expr 2 '*' $ac_mid`
24583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24586 echo "$as_me: failed program was:" >&5
24587 sed 's/^/| /' conftest.$ac_ext >&5
24592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24596 # Binary search between lo and hi bounds.
24597 while test "x$ac_lo" != "x$ac_hi"; do
24598 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24599 cat >conftest.$ac_ext <<_ACEOF
24602 cat confdefs.h >>conftest.$ac_ext
24603 cat >>conftest.$ac_ext <<_ACEOF
24604 /* end confdefs.h. */
24605 $ac_includes_default
24606 typedef long long ac__type_sizeof_;
24610 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24617 rm -f conftest.$ac_objext
24618 if { (ac_try="$ac_compile"
24619 case "(($ac_try" in
24620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24621 *) ac_try_echo=$ac_try;;
24623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24624 (eval "$ac_compile") 2>conftest.er1
24626 grep -v '^ *+' conftest.er1 >conftest.err
24628 cat conftest.err >&5
24629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24630 (exit $ac_status); } && {
24631 test -z "$ac_c_werror_flag" ||
24632 test ! -s conftest.err
24633 } && test -s conftest.$ac_objext; then
24636 echo "$as_me: failed program was:" >&5
24637 sed 's/^/| /' conftest.$ac_ext >&5
24639 ac_lo=`expr '(' $ac_mid ')' + 1`
24642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24645 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24646 '') if test "$ac_cv_type_long_long" = yes; then
24647 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24648 See \`config.log' for more details." >&5
24649 echo "$as_me: error: cannot compute sizeof (long long)
24650 See \`config.log' for more details." >&2;}
24651 { (exit 77); exit 77; }; }
24653 ac_cv_sizeof_long_long=0
24657 cat >conftest.$ac_ext <<_ACEOF
24660 cat confdefs.h >>conftest.$ac_ext
24661 cat >>conftest.$ac_ext <<_ACEOF
24662 /* end confdefs.h. */
24663 $ac_includes_default
24664 typedef long long ac__type_sizeof_;
24665 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24666 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24668 #include <stdlib.h>
24673 FILE *f = fopen ("conftest.val", "w");
24676 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24678 long int i = longval ();
24679 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24681 fprintf (f, "%ld\n", i);
24685 unsigned long int i = ulongval ();
24686 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24688 fprintf (f, "%lu\n", i);
24690 return ferror (f) || fclose (f) != 0;
24696 rm -f conftest$ac_exeext
24697 if { (ac_try="$ac_link"
24698 case "(($ac_try" in
24699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24700 *) ac_try_echo=$ac_try;;
24702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24703 (eval "$ac_link") 2>&5
24705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24706 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24707 { (case "(($ac_try" in
24708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24709 *) ac_try_echo=$ac_try;;
24711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24712 (eval "$ac_try") 2>&5
24714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24715 (exit $ac_status); }; }; then
24716 ac_cv_sizeof_long_long=`cat conftest.val`
24718 echo "$as_me: program exited with status $ac_status" >&5
24719 echo "$as_me: failed program was:" >&5
24720 sed 's/^/| /' conftest.$ac_ext >&5
24722 ( exit $ac_status )
24723 if test "$ac_cv_type_long_long" = yes; then
24724 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24725 See \`config.log' for more details." >&5
24726 echo "$as_me: error: cannot compute sizeof (long long)
24727 See \`config.log' for more details." >&2;}
24728 { (exit 77); exit 77; }; }
24730 ac_cv_sizeof_long_long=0
24733 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24737 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24738 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24742 cat >>confdefs.h <<_ACEOF
24743 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24747 if test "$ac_cv_sizeof_long_long" != "0"; then
24748 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24752 { echo "$as_me:$LINENO: checking for long long" >&5
24753 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24754 if test "${ac_cv_type_long_long+set}" = set; then
24755 echo $ECHO_N "(cached) $ECHO_C" >&6
24757 cat >conftest.$ac_ext <<_ACEOF
24760 cat confdefs.h >>conftest.$ac_ext
24761 cat >>conftest.$ac_ext <<_ACEOF
24762 /* end confdefs.h. */
24763 $ac_includes_default
24764 typedef long long ac__type_new_;
24768 if ((ac__type_new_ *) 0)
24770 if (sizeof (ac__type_new_))
24776 rm -f conftest.$ac_objext
24777 if { (ac_try="$ac_compile"
24778 case "(($ac_try" in
24779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24780 *) ac_try_echo=$ac_try;;
24782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24783 (eval "$ac_compile") 2>conftest.er1
24785 grep -v '^ *+' conftest.er1 >conftest.err
24787 cat conftest.err >&5
24788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24789 (exit $ac_status); } && {
24790 test -z "$ac_c_werror_flag" ||
24791 test ! -s conftest.err
24792 } && test -s conftest.$ac_objext; then
24793 ac_cv_type_long_long=yes
24795 echo "$as_me: failed program was:" >&5
24796 sed 's/^/| /' conftest.$ac_ext >&5
24798 ac_cv_type_long_long=no
24801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24803 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24804 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24806 # The cast to long int works around a bug in the HP C Compiler
24807 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24808 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24809 # This bug is HP SR number 8606223364.
24810 { echo "$as_me:$LINENO: checking size of long long" >&5
24811 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24812 if test "${ac_cv_sizeof_long_long+set}" = set; then
24813 echo $ECHO_N "(cached) $ECHO_C" >&6
24815 if test "$cross_compiling" = yes; then
24816 # Depending upon the size, compute the lo and hi bounds.
24817 cat >conftest.$ac_ext <<_ACEOF
24820 cat confdefs.h >>conftest.$ac_ext
24821 cat >>conftest.$ac_ext <<_ACEOF
24822 /* end confdefs.h. */
24823 $ac_includes_default
24824 typedef long long ac__type_sizeof_;
24828 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24835 rm -f conftest.$ac_objext
24836 if { (ac_try="$ac_compile"
24837 case "(($ac_try" in
24838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24839 *) ac_try_echo=$ac_try;;
24841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24842 (eval "$ac_compile") 2>conftest.er1
24844 grep -v '^ *+' conftest.er1 >conftest.err
24846 cat conftest.err >&5
24847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24848 (exit $ac_status); } && {
24849 test -z "$ac_c_werror_flag" ||
24850 test ! -s conftest.err
24851 } && test -s conftest.$ac_objext; then
24854 cat >conftest.$ac_ext <<_ACEOF
24857 cat confdefs.h >>conftest.$ac_ext
24858 cat >>conftest.$ac_ext <<_ACEOF
24859 /* end confdefs.h. */
24860 $ac_includes_default
24861 typedef long long ac__type_sizeof_;
24865 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24872 rm -f conftest.$ac_objext
24873 if { (ac_try="$ac_compile"
24874 case "(($ac_try" in
24875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24876 *) ac_try_echo=$ac_try;;
24878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24879 (eval "$ac_compile") 2>conftest.er1
24881 grep -v '^ *+' conftest.er1 >conftest.err
24883 cat conftest.err >&5
24884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24885 (exit $ac_status); } && {
24886 test -z "$ac_c_werror_flag" ||
24887 test ! -s conftest.err
24888 } && test -s conftest.$ac_objext; then
24889 ac_hi=$ac_mid; break
24891 echo "$as_me: failed program was:" >&5
24892 sed 's/^/| /' conftest.$ac_ext >&5
24894 ac_lo=`expr $ac_mid + 1`
24895 if test $ac_lo -le $ac_mid; then
24899 ac_mid=`expr 2 '*' $ac_mid + 1`
24902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24905 echo "$as_me: failed program was:" >&5
24906 sed 's/^/| /' conftest.$ac_ext >&5
24908 cat >conftest.$ac_ext <<_ACEOF
24911 cat confdefs.h >>conftest.$ac_ext
24912 cat >>conftest.$ac_ext <<_ACEOF
24913 /* end confdefs.h. */
24914 $ac_includes_default
24915 typedef long long ac__type_sizeof_;
24919 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24926 rm -f conftest.$ac_objext
24927 if { (ac_try="$ac_compile"
24928 case "(($ac_try" in
24929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24930 *) ac_try_echo=$ac_try;;
24932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24933 (eval "$ac_compile") 2>conftest.er1
24935 grep -v '^ *+' conftest.er1 >conftest.err
24937 cat conftest.err >&5
24938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24939 (exit $ac_status); } && {
24940 test -z "$ac_c_werror_flag" ||
24941 test ! -s conftest.err
24942 } && test -s conftest.$ac_objext; then
24945 cat >conftest.$ac_ext <<_ACEOF
24948 cat confdefs.h >>conftest.$ac_ext
24949 cat >>conftest.$ac_ext <<_ACEOF
24950 /* end confdefs.h. */
24951 $ac_includes_default
24952 typedef long long ac__type_sizeof_;
24956 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24963 rm -f conftest.$ac_objext
24964 if { (ac_try="$ac_compile"
24965 case "(($ac_try" in
24966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24967 *) ac_try_echo=$ac_try;;
24969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24970 (eval "$ac_compile") 2>conftest.er1
24972 grep -v '^ *+' conftest.er1 >conftest.err
24974 cat conftest.err >&5
24975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24976 (exit $ac_status); } && {
24977 test -z "$ac_c_werror_flag" ||
24978 test ! -s conftest.err
24979 } && test -s conftest.$ac_objext; then
24980 ac_lo=$ac_mid; break
24982 echo "$as_me: failed program was:" >&5
24983 sed 's/^/| /' conftest.$ac_ext >&5
24985 ac_hi=`expr '(' $ac_mid ')' - 1`
24986 if test $ac_mid -le $ac_hi; then
24990 ac_mid=`expr 2 '*' $ac_mid`
24993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24996 echo "$as_me: failed program was:" >&5
24997 sed 's/^/| /' conftest.$ac_ext >&5
25002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25006 # Binary search between lo and hi bounds.
25007 while test "x$ac_lo" != "x$ac_hi"; do
25008 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25009 cat >conftest.$ac_ext <<_ACEOF
25012 cat confdefs.h >>conftest.$ac_ext
25013 cat >>conftest.$ac_ext <<_ACEOF
25014 /* end confdefs.h. */
25015 $ac_includes_default
25016 typedef long long ac__type_sizeof_;
25020 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25027 rm -f conftest.$ac_objext
25028 if { (ac_try="$ac_compile"
25029 case "(($ac_try" in
25030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25031 *) ac_try_echo=$ac_try;;
25033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25034 (eval "$ac_compile") 2>conftest.er1
25036 grep -v '^ *+' conftest.er1 >conftest.err
25038 cat conftest.err >&5
25039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25040 (exit $ac_status); } && {
25041 test -z "$ac_c_werror_flag" ||
25042 test ! -s conftest.err
25043 } && test -s conftest.$ac_objext; then
25046 echo "$as_me: failed program was:" >&5
25047 sed 's/^/| /' conftest.$ac_ext >&5
25049 ac_lo=`expr '(' $ac_mid ')' + 1`
25052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25055 ?*) ac_cv_sizeof_long_long=$ac_lo;;
25056 '') if test "$ac_cv_type_long_long" = yes; then
25057 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25058 See \`config.log' for more details." >&5
25059 echo "$as_me: error: cannot compute sizeof (long long)
25060 See \`config.log' for more details." >&2;}
25061 { (exit 77); exit 77; }; }
25063 ac_cv_sizeof_long_long=0
25067 cat >conftest.$ac_ext <<_ACEOF
25070 cat confdefs.h >>conftest.$ac_ext
25071 cat >>conftest.$ac_ext <<_ACEOF
25072 /* end confdefs.h. */
25073 $ac_includes_default
25074 typedef long long ac__type_sizeof_;
25075 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25076 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25078 #include <stdlib.h>
25083 FILE *f = fopen ("conftest.val", "w");
25086 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25088 long int i = longval ();
25089 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25091 fprintf (f, "%ld\n", i);
25095 unsigned long int i = ulongval ();
25096 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25098 fprintf (f, "%lu\n", i);
25100 return ferror (f) || fclose (f) != 0;
25106 rm -f conftest$ac_exeext
25107 if { (ac_try="$ac_link"
25108 case "(($ac_try" in
25109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25110 *) ac_try_echo=$ac_try;;
25112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25113 (eval "$ac_link") 2>&5
25115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25116 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25117 { (case "(($ac_try" in
25118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25119 *) ac_try_echo=$ac_try;;
25121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25122 (eval "$ac_try") 2>&5
25124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25125 (exit $ac_status); }; }; then
25126 ac_cv_sizeof_long_long=`cat conftest.val`
25128 echo "$as_me: program exited with status $ac_status" >&5
25129 echo "$as_me: failed program was:" >&5
25130 sed 's/^/| /' conftest.$ac_ext >&5
25132 ( exit $ac_status )
25133 if test "$ac_cv_type_long_long" = yes; then
25134 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25135 See \`config.log' for more details." >&5
25136 echo "$as_me: error: cannot compute sizeof (long long)
25137 See \`config.log' for more details." >&2;}
25138 { (exit 77); exit 77; }; }
25140 ac_cv_sizeof_long_long=0
25143 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25147 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25148 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25152 cat >>confdefs.h <<_ACEOF
25153 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25159 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25160 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25161 if test "${ac_cv_type_wchar_t+set}" = set; then
25162 echo $ECHO_N "(cached) $ECHO_C" >&6
25164 cat >conftest.$ac_ext <<_ACEOF
25167 cat confdefs.h >>conftest.$ac_ext
25168 cat >>conftest.$ac_ext <<_ACEOF
25169 /* end confdefs.h. */
25171 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25172 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25173 # error "fake wchar_t"
25175 #ifdef HAVE_WCHAR_H
25177 # include <stddef.h>
25179 # include <wchar.h>
25181 #ifdef HAVE_STDLIB_H
25182 # include <stdlib.h>
25188 typedef wchar_t ac__type_new_;
25192 if ((ac__type_new_ *) 0)
25194 if (sizeof (ac__type_new_))
25200 rm -f conftest.$ac_objext
25201 if { (ac_try="$ac_compile"
25202 case "(($ac_try" in
25203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25204 *) ac_try_echo=$ac_try;;
25206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25207 (eval "$ac_compile") 2>conftest.er1
25209 grep -v '^ *+' conftest.er1 >conftest.err
25211 cat conftest.err >&5
25212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25213 (exit $ac_status); } && {
25214 test -z "$ac_c_werror_flag" ||
25215 test ! -s conftest.err
25216 } && test -s conftest.$ac_objext; then
25217 ac_cv_type_wchar_t=yes
25219 echo "$as_me: failed program was:" >&5
25220 sed 's/^/| /' conftest.$ac_ext >&5
25222 ac_cv_type_wchar_t=no
25225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25227 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25228 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25230 # The cast to long int works around a bug in the HP C Compiler
25231 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25232 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25233 # This bug is HP SR number 8606223364.
25234 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25235 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25236 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25237 echo $ECHO_N "(cached) $ECHO_C" >&6
25239 if test "$cross_compiling" = yes; then
25240 # Depending upon the size, compute the lo and hi bounds.
25241 cat >conftest.$ac_ext <<_ACEOF
25244 cat confdefs.h >>conftest.$ac_ext
25245 cat >>conftest.$ac_ext <<_ACEOF
25246 /* end confdefs.h. */
25248 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25249 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25250 # error "fake wchar_t"
25252 #ifdef HAVE_WCHAR_H
25254 # include <stddef.h>
25256 # include <wchar.h>
25258 #ifdef HAVE_STDLIB_H
25259 # include <stdlib.h>
25265 typedef wchar_t ac__type_sizeof_;
25269 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25276 rm -f conftest.$ac_objext
25277 if { (ac_try="$ac_compile"
25278 case "(($ac_try" in
25279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25280 *) ac_try_echo=$ac_try;;
25282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25283 (eval "$ac_compile") 2>conftest.er1
25285 grep -v '^ *+' conftest.er1 >conftest.err
25287 cat conftest.err >&5
25288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25289 (exit $ac_status); } && {
25290 test -z "$ac_c_werror_flag" ||
25291 test ! -s conftest.err
25292 } && test -s conftest.$ac_objext; then
25295 cat >conftest.$ac_ext <<_ACEOF
25298 cat confdefs.h >>conftest.$ac_ext
25299 cat >>conftest.$ac_ext <<_ACEOF
25300 /* end confdefs.h. */
25302 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25303 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25304 # error "fake wchar_t"
25306 #ifdef HAVE_WCHAR_H
25308 # include <stddef.h>
25310 # include <wchar.h>
25312 #ifdef HAVE_STDLIB_H
25313 # include <stdlib.h>
25319 typedef wchar_t ac__type_sizeof_;
25323 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25330 rm -f conftest.$ac_objext
25331 if { (ac_try="$ac_compile"
25332 case "(($ac_try" in
25333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25334 *) ac_try_echo=$ac_try;;
25336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25337 (eval "$ac_compile") 2>conftest.er1
25339 grep -v '^ *+' conftest.er1 >conftest.err
25341 cat conftest.err >&5
25342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25343 (exit $ac_status); } && {
25344 test -z "$ac_c_werror_flag" ||
25345 test ! -s conftest.err
25346 } && test -s conftest.$ac_objext; then
25347 ac_hi=$ac_mid; break
25349 echo "$as_me: failed program was:" >&5
25350 sed 's/^/| /' conftest.$ac_ext >&5
25352 ac_lo=`expr $ac_mid + 1`
25353 if test $ac_lo -le $ac_mid; then
25357 ac_mid=`expr 2 '*' $ac_mid + 1`
25360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25363 echo "$as_me: failed program was:" >&5
25364 sed 's/^/| /' conftest.$ac_ext >&5
25366 cat >conftest.$ac_ext <<_ACEOF
25369 cat confdefs.h >>conftest.$ac_ext
25370 cat >>conftest.$ac_ext <<_ACEOF
25371 /* end confdefs.h. */
25373 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25374 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25375 # error "fake wchar_t"
25377 #ifdef HAVE_WCHAR_H
25379 # include <stddef.h>
25381 # include <wchar.h>
25383 #ifdef HAVE_STDLIB_H
25384 # include <stdlib.h>
25390 typedef wchar_t ac__type_sizeof_;
25394 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25401 rm -f conftest.$ac_objext
25402 if { (ac_try="$ac_compile"
25403 case "(($ac_try" in
25404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25405 *) ac_try_echo=$ac_try;;
25407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25408 (eval "$ac_compile") 2>conftest.er1
25410 grep -v '^ *+' conftest.er1 >conftest.err
25412 cat conftest.err >&5
25413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25414 (exit $ac_status); } && {
25415 test -z "$ac_c_werror_flag" ||
25416 test ! -s conftest.err
25417 } && test -s conftest.$ac_objext; then
25420 cat >conftest.$ac_ext <<_ACEOF
25423 cat confdefs.h >>conftest.$ac_ext
25424 cat >>conftest.$ac_ext <<_ACEOF
25425 /* end confdefs.h. */
25427 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25428 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25429 # error "fake wchar_t"
25431 #ifdef HAVE_WCHAR_H
25433 # include <stddef.h>
25435 # include <wchar.h>
25437 #ifdef HAVE_STDLIB_H
25438 # include <stdlib.h>
25444 typedef wchar_t ac__type_sizeof_;
25448 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25455 rm -f conftest.$ac_objext
25456 if { (ac_try="$ac_compile"
25457 case "(($ac_try" in
25458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25459 *) ac_try_echo=$ac_try;;
25461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25462 (eval "$ac_compile") 2>conftest.er1
25464 grep -v '^ *+' conftest.er1 >conftest.err
25466 cat conftest.err >&5
25467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25468 (exit $ac_status); } && {
25469 test -z "$ac_c_werror_flag" ||
25470 test ! -s conftest.err
25471 } && test -s conftest.$ac_objext; then
25472 ac_lo=$ac_mid; break
25474 echo "$as_me: failed program was:" >&5
25475 sed 's/^/| /' conftest.$ac_ext >&5
25477 ac_hi=`expr '(' $ac_mid ')' - 1`
25478 if test $ac_mid -le $ac_hi; then
25482 ac_mid=`expr 2 '*' $ac_mid`
25485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25488 echo "$as_me: failed program was:" >&5
25489 sed 's/^/| /' conftest.$ac_ext >&5
25494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25498 # Binary search between lo and hi bounds.
25499 while test "x$ac_lo" != "x$ac_hi"; do
25500 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25501 cat >conftest.$ac_ext <<_ACEOF
25504 cat confdefs.h >>conftest.$ac_ext
25505 cat >>conftest.$ac_ext <<_ACEOF
25506 /* end confdefs.h. */
25508 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25509 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25510 # error "fake wchar_t"
25512 #ifdef HAVE_WCHAR_H
25514 # include <stddef.h>
25516 # include <wchar.h>
25518 #ifdef HAVE_STDLIB_H
25519 # include <stdlib.h>
25525 typedef wchar_t ac__type_sizeof_;
25529 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25536 rm -f conftest.$ac_objext
25537 if { (ac_try="$ac_compile"
25538 case "(($ac_try" in
25539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25540 *) ac_try_echo=$ac_try;;
25542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25543 (eval "$ac_compile") 2>conftest.er1
25545 grep -v '^ *+' conftest.er1 >conftest.err
25547 cat conftest.err >&5
25548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25549 (exit $ac_status); } && {
25550 test -z "$ac_c_werror_flag" ||
25551 test ! -s conftest.err
25552 } && test -s conftest.$ac_objext; then
25555 echo "$as_me: failed program was:" >&5
25556 sed 's/^/| /' conftest.$ac_ext >&5
25558 ac_lo=`expr '(' $ac_mid ')' + 1`
25561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25564 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25565 '') if test "$ac_cv_type_wchar_t" = yes; then
25566 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25567 See \`config.log' for more details." >&5
25568 echo "$as_me: error: cannot compute sizeof (wchar_t)
25569 See \`config.log' for more details." >&2;}
25570 { (exit 77); exit 77; }; }
25572 ac_cv_sizeof_wchar_t=0
25576 cat >conftest.$ac_ext <<_ACEOF
25579 cat confdefs.h >>conftest.$ac_ext
25580 cat >>conftest.$ac_ext <<_ACEOF
25581 /* end confdefs.h. */
25583 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25584 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25585 # error "fake wchar_t"
25587 #ifdef HAVE_WCHAR_H
25589 # include <stddef.h>
25591 # include <wchar.h>
25593 #ifdef HAVE_STDLIB_H
25594 # include <stdlib.h>
25600 typedef wchar_t ac__type_sizeof_;
25601 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25602 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25604 #include <stdlib.h>
25609 FILE *f = fopen ("conftest.val", "w");
25612 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25614 long int i = longval ();
25615 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25617 fprintf (f, "%ld\n", i);
25621 unsigned long int i = ulongval ();
25622 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25624 fprintf (f, "%lu\n", i);
25626 return ferror (f) || fclose (f) != 0;
25632 rm -f conftest$ac_exeext
25633 if { (ac_try="$ac_link"
25634 case "(($ac_try" in
25635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25636 *) ac_try_echo=$ac_try;;
25638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25639 (eval "$ac_link") 2>&5
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25643 { (case "(($ac_try" in
25644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25645 *) ac_try_echo=$ac_try;;
25647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25648 (eval "$ac_try") 2>&5
25650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25651 (exit $ac_status); }; }; then
25652 ac_cv_sizeof_wchar_t=`cat conftest.val`
25654 echo "$as_me: program exited with status $ac_status" >&5
25655 echo "$as_me: failed program was:" >&5
25656 sed 's/^/| /' conftest.$ac_ext >&5
25658 ( exit $ac_status )
25659 if test "$ac_cv_type_wchar_t" = yes; then
25660 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25661 See \`config.log' for more details." >&5
25662 echo "$as_me: error: cannot compute sizeof (wchar_t)
25663 See \`config.log' for more details." >&2;}
25664 { (exit 77); exit 77; }; }
25666 ac_cv_sizeof_wchar_t=0
25669 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25673 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25674 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25678 cat >>confdefs.h <<_ACEOF
25679 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25683 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25689 { echo "$as_me:$LINENO: checking for va_copy" >&5
25690 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25691 if test "${wx_cv_func_va_copy+set}" = set; then
25692 echo $ECHO_N "(cached) $ECHO_C" >&6
25696 ac_cpp='$CXXCPP $CPPFLAGS'
25697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25701 cat >conftest.$ac_ext <<_ACEOF
25703 #include <stdarg.h>
25704 void foo(char *f, ...)
25718 rm -f conftest.$ac_objext conftest$ac_exeext
25719 if { (ac_try="$ac_link"
25720 case "(($ac_try" in
25721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25722 *) ac_try_echo=$ac_try;;
25724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25725 (eval "$ac_link") 2>conftest.er1
25727 grep -v '^ *+' conftest.er1 >conftest.err
25729 cat conftest.err >&5
25730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25731 (exit $ac_status); } && {
25732 test -z "$ac_cxx_werror_flag" ||
25733 test ! -s conftest.err
25734 } && test -s conftest$ac_exeext &&
25735 $as_test_x conftest$ac_exeext; then
25736 wx_cv_func_va_copy=yes
25738 echo "$as_me: failed program was:" >&5
25739 sed 's/^/| /' conftest.$ac_ext >&5
25741 wx_cv_func_va_copy=no
25745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25746 conftest$ac_exeext conftest.$ac_ext
25748 ac_cpp='$CPP $CPPFLAGS'
25749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25756 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25757 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25759 if test $wx_cv_func_va_copy = "yes"; then
25760 cat >>confdefs.h <<\_ACEOF
25761 #define HAVE_VA_COPY 1
25765 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25766 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25767 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25768 echo $ECHO_N "(cached) $ECHO_C" >&6
25771 if test "$cross_compiling" = yes; then
25772 wx_cv_type_va_list_lvalue=yes
25775 cat >conftest.$ac_ext <<_ACEOF
25777 #include <stdarg.h>
25778 int foo(char *f, ...)
25783 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25791 return foo("hi", 17);
25794 rm -f conftest$ac_exeext
25795 if { (ac_try="$ac_link"
25796 case "(($ac_try" in
25797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25798 *) ac_try_echo=$ac_try;;
25800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25801 (eval "$ac_link") 2>&5
25803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25804 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25805 { (case "(($ac_try" in
25806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25807 *) ac_try_echo=$ac_try;;
25809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25810 (eval "$ac_try") 2>&5
25812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25813 (exit $ac_status); }; }; then
25814 wx_cv_type_va_list_lvalue=yes
25816 echo "$as_me: program exited with status $ac_status" >&5
25817 echo "$as_me: failed program was:" >&5
25818 sed 's/^/| /' conftest.$ac_ext >&5
25820 ( exit $ac_status )
25821 wx_cv_type_va_list_lvalue=no
25823 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25830 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25831 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25833 if test $wx_cv_type_va_list_lvalue != "yes"; then
25834 cat >>confdefs.h <<\_ACEOF
25835 #define VA_LIST_IS_ARRAY 1
25841 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25843 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25844 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25845 if test "${wx_cv_have_variadic_macros+set}" = set; then
25846 echo $ECHO_N "(cached) $ECHO_C" >&6
25850 ac_cpp='$CXXCPP $CPPFLAGS'
25851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25855 cat >conftest.$ac_ext <<_ACEOF
25858 cat confdefs.h >>conftest.$ac_ext
25859 cat >>conftest.$ac_ext <<_ACEOF
25860 /* end confdefs.h. */
25863 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25869 test("%s %d %p", "test", 1, 0);
25876 rm -f conftest.$ac_objext
25877 if { (ac_try="$ac_compile"
25878 case "(($ac_try" in
25879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25880 *) ac_try_echo=$ac_try;;
25882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25883 (eval "$ac_compile") 2>conftest.er1
25885 grep -v '^ *+' conftest.er1 >conftest.err
25887 cat conftest.err >&5
25888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25889 (exit $ac_status); } && {
25890 test -z "$ac_cxx_werror_flag" ||
25891 test ! -s conftest.err
25892 } && test -s conftest.$ac_objext; then
25893 wx_cv_have_variadic_macros=yes
25895 echo "$as_me: failed program was:" >&5
25896 sed 's/^/| /' conftest.$ac_ext >&5
25898 wx_cv_have_variadic_macros=no
25902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25904 ac_cpp='$CPP $CPPFLAGS'
25905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25912 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25913 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25915 if test $wx_cv_have_variadic_macros = "yes"; then
25916 cat >>confdefs.h <<\_ACEOF
25917 #define HAVE_VARIADIC_MACROS 1
25923 # Check whether --enable-largefile was given.
25924 if test "${enable_largefile+set}" = set; then
25925 enableval=$enable_largefile;
25928 if test "$enable_largefile" != no; then
25931 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25932 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25933 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25934 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. */
25943 #define _FILE_OFFSET_BITS 64
25944 #include <sys/types.h>
25949 unsigned int field: sizeof(off_t) == 8;
25956 rm -f conftest.$ac_objext
25957 if { (ac_try="$ac_compile"
25958 case "(($ac_try" in
25959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25960 *) ac_try_echo=$ac_try;;
25962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25963 (eval "$ac_compile") 2>conftest.er1
25965 grep -v '^ *+' conftest.er1 >conftest.err
25967 cat conftest.err >&5
25968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25969 (exit $ac_status); } && {
25970 test -z "$ac_c_werror_flag" ||
25971 test ! -s conftest.err
25972 } && test -s conftest.$ac_objext; then
25973 ac_cv_sys_file_offset_bits=64
25975 echo "$as_me: failed program was:" >&5
25976 sed 's/^/| /' conftest.$ac_ext >&5
25978 ac_cv_sys_file_offset_bits=no
25981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25985 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25986 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25988 if test "$ac_cv_sys_file_offset_bits" != no; then
25990 cat >>confdefs.h <<_ACEOF
25991 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25996 if test "x$wx_largefile" != "xyes"; then
25998 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25999 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
26000 if test "${ac_cv_sys_large_files+set}" = set; then
26001 echo $ECHO_N "(cached) $ECHO_C" >&6
26004 cat >conftest.$ac_ext <<_ACEOF
26007 cat confdefs.h >>conftest.$ac_ext
26008 cat >>conftest.$ac_ext <<_ACEOF
26009 /* end confdefs.h. */
26010 #define _LARGE_FILES 1
26011 #include <sys/types.h>
26016 unsigned int field: sizeof(off_t) == 8;
26023 rm -f conftest.$ac_objext
26024 if { (ac_try="$ac_compile"
26025 case "(($ac_try" in
26026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26027 *) ac_try_echo=$ac_try;;
26029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26030 (eval "$ac_compile") 2>conftest.er1
26032 grep -v '^ *+' conftest.er1 >conftest.err
26034 cat conftest.err >&5
26035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26036 (exit $ac_status); } && {
26037 test -z "$ac_c_werror_flag" ||
26038 test ! -s conftest.err
26039 } && test -s conftest.$ac_objext; then
26040 ac_cv_sys_large_files=1
26042 echo "$as_me: failed program was:" >&5
26043 sed 's/^/| /' conftest.$ac_ext >&5
26045 ac_cv_sys_large_files=no
26048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26052 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
26053 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
26055 if test "$ac_cv_sys_large_files" != no; then
26057 cat >>confdefs.h <<_ACEOF
26058 #define _LARGE_FILES $ac_cv_sys_large_files
26065 { echo "$as_me:$LINENO: checking if large file support is available" >&5
26066 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
26067 if test "x$wx_largefile" = "xyes"; then
26068 cat >>confdefs.h <<\_ACEOF
26069 #define HAVE_LARGEFILE_SUPPORT 1
26073 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
26074 echo "${ECHO_T}$wx_largefile" >&6; }
26078 if test "x$wx_largefile" = "xyes"; then
26079 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
26080 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
26082 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
26083 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
26084 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
26085 if test "${wx_cv_STDC_EXT_required+set}" = set; then
26086 echo $ECHO_N "(cached) $ECHO_C" >&6
26090 ac_cpp='$CXXCPP $CPPFLAGS'
26091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26095 cat >conftest.$ac_ext <<_ACEOF
26098 cat confdefs.h >>conftest.$ac_ext
26099 cat >>conftest.$ac_ext <<_ACEOF
26100 /* end confdefs.h. */
26106 #ifndef __STDC_EXT__
26114 rm -f conftest.$ac_objext
26115 if { (ac_try="$ac_compile"
26116 case "(($ac_try" in
26117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26118 *) ac_try_echo=$ac_try;;
26120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26121 (eval "$ac_compile") 2>conftest.er1
26123 grep -v '^ *+' conftest.er1 >conftest.err
26125 cat conftest.err >&5
26126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26127 (exit $ac_status); } && {
26128 test -z "$ac_cxx_werror_flag" ||
26129 test ! -s conftest.err
26130 } && test -s conftest.$ac_objext; then
26131 wx_cv_STDC_EXT_required=no
26133 echo "$as_me: failed program was:" >&5
26134 sed 's/^/| /' conftest.$ac_ext >&5
26136 wx_cv_STDC_EXT_required=yes
26140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26142 ac_cpp='$CPP $CPPFLAGS'
26143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26150 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26151 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26152 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26153 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26157 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26159 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26160 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26161 if test "${ac_cv_sys_largefile_source+set}" = set; then
26162 echo $ECHO_N "(cached) $ECHO_C" >&6
26165 cat >conftest.$ac_ext <<_ACEOF
26168 cat confdefs.h >>conftest.$ac_ext
26169 cat >>conftest.$ac_ext <<_ACEOF
26170 /* end confdefs.h. */
26171 #include <sys/types.h> /* for off_t */
26176 int (*fp) (FILE *, off_t, int) = fseeko;
26177 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26182 rm -f conftest.$ac_objext conftest$ac_exeext
26183 if { (ac_try="$ac_link"
26184 case "(($ac_try" in
26185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26186 *) ac_try_echo=$ac_try;;
26188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26189 (eval "$ac_link") 2>conftest.er1
26191 grep -v '^ *+' conftest.er1 >conftest.err
26193 cat conftest.err >&5
26194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26195 (exit $ac_status); } && {
26196 test -z "$ac_c_werror_flag" ||
26197 test ! -s conftest.err
26198 } && test -s conftest$ac_exeext &&
26199 $as_test_x conftest$ac_exeext; then
26200 ac_cv_sys_largefile_source=no; break
26202 echo "$as_me: failed program was:" >&5
26203 sed 's/^/| /' conftest.$ac_ext >&5
26208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26209 conftest$ac_exeext conftest.$ac_ext
26210 cat >conftest.$ac_ext <<_ACEOF
26213 cat confdefs.h >>conftest.$ac_ext
26214 cat >>conftest.$ac_ext <<_ACEOF
26215 /* end confdefs.h. */
26216 #define _LARGEFILE_SOURCE 1
26217 #include <sys/types.h> /* for off_t */
26222 int (*fp) (FILE *, off_t, int) = fseeko;
26223 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26228 rm -f conftest.$ac_objext conftest$ac_exeext
26229 if { (ac_try="$ac_link"
26230 case "(($ac_try" in
26231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26232 *) ac_try_echo=$ac_try;;
26234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26235 (eval "$ac_link") 2>conftest.er1
26237 grep -v '^ *+' conftest.er1 >conftest.err
26239 cat conftest.err >&5
26240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26241 (exit $ac_status); } && {
26242 test -z "$ac_c_werror_flag" ||
26243 test ! -s conftest.err
26244 } && test -s conftest$ac_exeext &&
26245 $as_test_x conftest$ac_exeext; then
26246 ac_cv_sys_largefile_source=1; break
26248 echo "$as_me: failed program was:" >&5
26249 sed 's/^/| /' conftest.$ac_ext >&5
26254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26255 conftest$ac_exeext conftest.$ac_ext
26256 ac_cv_sys_largefile_source=unknown
26260 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26261 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26262 case $ac_cv_sys_largefile_source in #(
26265 cat >>confdefs.h <<_ACEOF
26266 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26272 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26273 # in glibc 2.1.3, but that breaks too many other things.
26274 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26275 if test $ac_cv_sys_largefile_source != unknown; then
26277 cat >>confdefs.h <<\_ACEOF
26278 #define HAVE_FSEEKO 1
26283 if test "$ac_cv_sys_largefile_source" != no; then
26284 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26288 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26289 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26290 if test "${ac_cv_c_bigendian+set}" = set; then
26291 echo $ECHO_N "(cached) $ECHO_C" >&6
26293 ac_cv_c_bigendian=unknown
26294 # See if sys/param.h defines the BYTE_ORDER macro.
26295 cat >conftest.$ac_ext <<_ACEOF
26298 cat confdefs.h >>conftest.$ac_ext
26299 cat >>conftest.$ac_ext <<_ACEOF
26300 /* end confdefs.h. */
26301 #include <sys/types.h>
26302 #include <sys/param.h>
26307 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26308 bogus endian macros
26314 rm -f conftest.$ac_objext
26315 if { (ac_try="$ac_compile"
26316 case "(($ac_try" in
26317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26318 *) ac_try_echo=$ac_try;;
26320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26321 (eval "$ac_compile") 2>conftest.er1
26323 grep -v '^ *+' conftest.er1 >conftest.err
26325 cat conftest.err >&5
26326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26327 (exit $ac_status); } && {
26328 test -z "$ac_c_werror_flag" ||
26329 test ! -s conftest.err
26330 } && test -s conftest.$ac_objext; then
26331 # It does; now see whether it defined to BIG_ENDIAN or not.
26332 cat >conftest.$ac_ext <<_ACEOF
26335 cat confdefs.h >>conftest.$ac_ext
26336 cat >>conftest.$ac_ext <<_ACEOF
26337 /* end confdefs.h. */
26338 #include <sys/types.h>
26339 #include <sys/param.h>
26344 #if BYTE_ORDER != BIG_ENDIAN
26351 rm -f conftest.$ac_objext
26352 if { (ac_try="$ac_compile"
26353 case "(($ac_try" in
26354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26355 *) ac_try_echo=$ac_try;;
26357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26358 (eval "$ac_compile") 2>conftest.er1
26360 grep -v '^ *+' conftest.er1 >conftest.err
26362 cat conftest.err >&5
26363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26364 (exit $ac_status); } && {
26365 test -z "$ac_c_werror_flag" ||
26366 test ! -s conftest.err
26367 } && test -s conftest.$ac_objext; then
26368 ac_cv_c_bigendian=yes
26370 echo "$as_me: failed program was:" >&5
26371 sed 's/^/| /' conftest.$ac_ext >&5
26373 ac_cv_c_bigendian=no
26376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26378 echo "$as_me: failed program was:" >&5
26379 sed 's/^/| /' conftest.$ac_ext >&5
26384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26385 if test $ac_cv_c_bigendian = unknown; then
26386 if test "$cross_compiling" = yes; then
26387 ac_cv_c_bigendian=unknown
26389 cat >conftest.$ac_ext <<_ACEOF
26392 cat confdefs.h >>conftest.$ac_ext
26393 cat >>conftest.$ac_ext <<_ACEOF
26394 /* end confdefs.h. */
26396 /* Are we little or big endian? From Harbison&Steele. */
26400 char c[sizeof (long)];
26403 exit (u.c[sizeof (long) - 1] == 1);
26406 rm -f conftest$ac_exeext
26407 if { (ac_try="$ac_link"
26408 case "(($ac_try" in
26409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26410 *) ac_try_echo=$ac_try;;
26412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26413 (eval "$ac_link") 2>&5
26415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26416 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26417 { (case "(($ac_try" in
26418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26419 *) ac_try_echo=$ac_try;;
26421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26422 (eval "$ac_try") 2>&5
26424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26425 (exit $ac_status); }; }; then
26426 ac_cv_c_bigendian=no
26428 echo "$as_me: program exited with status $ac_status" >&5
26429 echo "$as_me: failed program was:" >&5
26430 sed 's/^/| /' conftest.$ac_ext >&5
26432 ( exit $ac_status )
26433 ac_cv_c_bigendian=yes
26435 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26441 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26442 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26443 if test $ac_cv_c_bigendian = unknown; then
26444 { 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
26445 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;}
26447 if test $ac_cv_c_bigendian = yes; then
26448 cat >>confdefs.h <<\_ACEOF
26449 #define WORDS_BIGENDIAN 1
26458 ac_cpp='$CXXCPP $CPPFLAGS'
26459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26465 for ac_header in iostream
26467 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26468 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26469 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26470 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26471 echo $ECHO_N "(cached) $ECHO_C" >&6
26473 cat >conftest.$ac_ext <<_ACEOF
26476 cat confdefs.h >>conftest.$ac_ext
26477 cat >>conftest.$ac_ext <<_ACEOF
26478 /* end confdefs.h. */
26481 #include <$ac_header>
26483 rm -f conftest.$ac_objext
26484 if { (ac_try="$ac_compile"
26485 case "(($ac_try" in
26486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26487 *) ac_try_echo=$ac_try;;
26489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26490 (eval "$ac_compile") 2>conftest.er1
26492 grep -v '^ *+' conftest.er1 >conftest.err
26494 cat conftest.err >&5
26495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26496 (exit $ac_status); } && {
26497 test -z "$ac_cxx_werror_flag" ||
26498 test ! -s conftest.err
26499 } && test -s conftest.$ac_objext; then
26500 eval "$as_ac_Header=yes"
26502 echo "$as_me: failed program was:" >&5
26503 sed 's/^/| /' conftest.$ac_ext >&5
26505 eval "$as_ac_Header=no"
26508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26510 ac_res=`eval echo '${'$as_ac_Header'}'`
26511 { echo "$as_me:$LINENO: result: $ac_res" >&5
26512 echo "${ECHO_T}$ac_res" >&6; }
26513 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26514 cat >>confdefs.h <<_ACEOF
26515 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26523 if test "$ac_cv_header_iostream" = "yes" ; then
26526 cat >>confdefs.h <<\_ACEOF
26527 #define wxUSE_IOSTREAMH 1
26533 ac_cpp='$CPP $CPPFLAGS'
26534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26541 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26542 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26543 if test "${wx_cv_cpp_bool+set}" = set; then
26544 echo $ECHO_N "(cached) $ECHO_C" >&6
26549 ac_cpp='$CXXCPP $CPPFLAGS'
26550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26555 cat >conftest.$ac_ext <<_ACEOF
26558 cat confdefs.h >>conftest.$ac_ext
26559 cat >>conftest.$ac_ext <<_ACEOF
26560 /* end confdefs.h. */
26575 rm -f conftest.$ac_objext
26576 if { (ac_try="$ac_compile"
26577 case "(($ac_try" in
26578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26579 *) ac_try_echo=$ac_try;;
26581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26582 (eval "$ac_compile") 2>conftest.er1
26584 grep -v '^ *+' conftest.er1 >conftest.err
26586 cat conftest.err >&5
26587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26588 (exit $ac_status); } && {
26589 test -z "$ac_cxx_werror_flag" ||
26590 test ! -s conftest.err
26591 } && test -s conftest.$ac_objext; then
26596 echo "$as_me: failed program was:" >&5
26597 sed 's/^/| /' conftest.$ac_ext >&5
26605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26608 ac_cpp='$CPP $CPPFLAGS'
26609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26615 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26616 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26618 if test "$wx_cv_cpp_bool" = "yes"; then
26619 cat >>confdefs.h <<\_ACEOF
26620 #define HAVE_BOOL 1
26627 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26628 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26629 if test "${wx_cv_explicit+set}" = set; then
26630 echo $ECHO_N "(cached) $ECHO_C" >&6
26635 ac_cpp='$CXXCPP $CPPFLAGS'
26636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26641 cat >conftest.$ac_ext <<_ACEOF
26644 cat confdefs.h >>conftest.$ac_ext
26645 cat >>conftest.$ac_ext <<_ACEOF
26646 /* end confdefs.h. */
26648 class Foo { public: explicit Foo(int) {} };
26660 rm -f conftest.$ac_objext
26661 if { (ac_try="$ac_compile"
26662 case "(($ac_try" in
26663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26664 *) ac_try_echo=$ac_try;;
26666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26667 (eval "$ac_compile") 2>conftest.er1
26669 grep -v '^ *+' conftest.er1 >conftest.err
26671 cat conftest.err >&5
26672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26673 (exit $ac_status); } && {
26674 test -z "$ac_cxx_werror_flag" ||
26675 test ! -s conftest.err
26676 } && test -s conftest.$ac_objext; then
26678 cat >conftest.$ac_ext <<_ACEOF
26681 cat confdefs.h >>conftest.$ac_ext
26682 cat >>conftest.$ac_ext <<_ACEOF
26683 /* end confdefs.h. */
26685 class Foo { public: explicit Foo(int) {} };
26686 static void TakeFoo(const Foo& foo) { }
26699 rm -f conftest.$ac_objext
26700 if { (ac_try="$ac_compile"
26701 case "(($ac_try" in
26702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26703 *) ac_try_echo=$ac_try;;
26705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26706 (eval "$ac_compile") 2>conftest.er1
26708 grep -v '^ *+' conftest.er1 >conftest.err
26710 cat conftest.err >&5
26711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26712 (exit $ac_status); } && {
26713 test -z "$ac_cxx_werror_flag" ||
26714 test ! -s conftest.err
26715 } && test -s conftest.$ac_objext; then
26718 echo "$as_me: failed program was:" >&5
26719 sed 's/^/| /' conftest.$ac_ext >&5
26725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26728 echo "$as_me: failed program was:" >&5
26729 sed 's/^/| /' conftest.$ac_ext >&5
26735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26738 ac_cpp='$CPP $CPPFLAGS'
26739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26745 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26746 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26748 if test "$wx_cv_explicit" = "yes"; then
26749 cat >>confdefs.h <<\_ACEOF
26750 #define HAVE_EXPLICIT 1
26756 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26757 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26758 if test "${ac_cv_cxx_const_cast+set}" = set; then
26759 echo $ECHO_N "(cached) $ECHO_C" >&6
26763 ac_cpp='$CXXCPP $CPPFLAGS'
26764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26768 cat >conftest.$ac_ext <<_ACEOF
26771 cat confdefs.h >>conftest.$ac_ext
26772 cat >>conftest.$ac_ext <<_ACEOF
26773 /* end confdefs.h. */
26778 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26783 rm -f conftest.$ac_objext
26784 if { (ac_try="$ac_compile"
26785 case "(($ac_try" in
26786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26787 *) ac_try_echo=$ac_try;;
26789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26790 (eval "$ac_compile") 2>conftest.er1
26792 grep -v '^ *+' conftest.er1 >conftest.err
26794 cat conftest.err >&5
26795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26796 (exit $ac_status); } && {
26797 test -z "$ac_cxx_werror_flag" ||
26798 test ! -s conftest.err
26799 } && test -s conftest.$ac_objext; then
26800 ac_cv_cxx_const_cast=yes
26802 echo "$as_me: failed program was:" >&5
26803 sed 's/^/| /' conftest.$ac_ext >&5
26805 ac_cv_cxx_const_cast=no
26808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26810 ac_cpp='$CPP $CPPFLAGS'
26811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26817 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26818 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26819 if test "$ac_cv_cxx_const_cast" = yes; then
26821 cat >>confdefs.h <<\_ACEOF
26822 #define HAVE_CONST_CAST
26827 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26828 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26829 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26830 echo $ECHO_N "(cached) $ECHO_C" >&6
26834 ac_cpp='$CXXCPP $CPPFLAGS'
26835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26839 cat >conftest.$ac_ext <<_ACEOF
26842 cat confdefs.h >>conftest.$ac_ext
26843 cat >>conftest.$ac_ext <<_ACEOF
26844 /* end confdefs.h. */
26845 #include <typeinfo>
26846 class Base { public : Base () {} virtual void f () = 0;};
26847 class Derived : public Base { public : Derived () {} virtual void f () {} };
26848 class Unrelated { public : Unrelated () {} };
26849 int g (Unrelated&) { return 0; }
26854 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26859 rm -f conftest.$ac_objext
26860 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
26868 grep -v '^ *+' conftest.er1 >conftest.err
26870 cat conftest.err >&5
26871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26872 (exit $ac_status); } && {
26873 test -z "$ac_cxx_werror_flag" ||
26874 test ! -s conftest.err
26875 } && test -s conftest.$ac_objext; then
26876 ac_cv_cxx_reinterpret_cast=yes
26878 echo "$as_me: failed program was:" >&5
26879 sed 's/^/| /' conftest.$ac_ext >&5
26881 ac_cv_cxx_reinterpret_cast=no
26884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26886 ac_cpp='$CPP $CPPFLAGS'
26887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26893 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26894 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26895 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26897 cat >>confdefs.h <<\_ACEOF
26898 #define HAVE_REINTERPRET_CAST
26903 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26904 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26905 if test "${ac_cv_cxx_static_cast+set}" = set; then
26906 echo $ECHO_N "(cached) $ECHO_C" >&6
26910 ac_cpp='$CXXCPP $CPPFLAGS'
26911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26915 cat >conftest.$ac_ext <<_ACEOF
26918 cat confdefs.h >>conftest.$ac_ext
26919 cat >>conftest.$ac_ext <<_ACEOF
26920 /* end confdefs.h. */
26921 #include <typeinfo>
26922 class Base { public : Base () {} virtual void f () = 0; };
26923 class Derived : public Base { public : Derived () {} virtual void f () {} };
26924 int g (Derived&) { return 0; }
26929 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26934 rm -f conftest.$ac_objext
26935 if { (ac_try="$ac_compile"
26936 case "(($ac_try" in
26937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26938 *) ac_try_echo=$ac_try;;
26940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26941 (eval "$ac_compile") 2>conftest.er1
26943 grep -v '^ *+' conftest.er1 >conftest.err
26945 cat conftest.err >&5
26946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26947 (exit $ac_status); } && {
26948 test -z "$ac_cxx_werror_flag" ||
26949 test ! -s conftest.err
26950 } && test -s conftest.$ac_objext; then
26951 ac_cv_cxx_static_cast=yes
26953 echo "$as_me: failed program was:" >&5
26954 sed 's/^/| /' conftest.$ac_ext >&5
26956 ac_cv_cxx_static_cast=no
26959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26961 ac_cpp='$CPP $CPPFLAGS'
26962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26968 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26969 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26970 if test "$ac_cv_cxx_static_cast" = yes; then
26972 cat >>confdefs.h <<\_ACEOF
26973 #define HAVE_STATIC_CAST
26979 if test "x$SUNCXX" = xyes; then
26980 CXXFLAGS="-features=tmplife $CXXFLAGS"
26983 if test "x$SUNCC" = xyes; then
26984 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26987 if test "x$SGICC" = "xyes"; then
26988 CFLAGS="-woff 3970 $CFLAGS"
26990 if test "x$SGICXX" = "xyes"; then
26991 CXXFLAGS="-woff 3970 $CXXFLAGS"
26994 if test "x$HPCC" = "xyes"; then
26995 CFLAGS="+W 2011,2450 $CFLAGS"
26997 if test "x$HPCXX" = "xyes"; then
26998 CXXFLAGS="+W 2340 $CXXFLAGS"
27001 if test "x$COMPAQCXX" = "xyes"; then
27002 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
27006 ac_cpp='$CXXCPP $CPPFLAGS'
27007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27012 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
27013 if test "$wxUSE_UNICODE" = "yes"; then
27014 std_string="std::wstring"
27015 char_type="wchar_t"
27017 std_string="std::string"
27021 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
27022 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
27023 if test "${wx_cv_class_stdstring+set}" = set; then
27024 echo $ECHO_N "(cached) $ECHO_C" >&6
27027 cat >conftest.$ac_ext <<_ACEOF
27030 cat confdefs.h >>conftest.$ac_ext
27031 cat >>conftest.$ac_ext <<_ACEOF
27032 /* end confdefs.h. */
27042 rm -f conftest.$ac_objext
27043 if { (ac_try="$ac_compile"
27044 case "(($ac_try" in
27045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27046 *) ac_try_echo=$ac_try;;
27048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27049 (eval "$ac_compile") 2>conftest.er1
27051 grep -v '^ *+' conftest.er1 >conftest.err
27053 cat conftest.err >&5
27054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27055 (exit $ac_status); } && {
27056 test -z "$ac_cxx_werror_flag" ||
27057 test ! -s conftest.err
27058 } && test -s conftest.$ac_objext; then
27059 wx_cv_class_stdstring=yes
27061 echo "$as_me: failed program was:" >&5
27062 sed 's/^/| /' conftest.$ac_ext >&5
27064 wx_cv_class_stdstring=no
27068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27072 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
27073 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
27075 if test "$wx_cv_class_stdstring" = yes; then
27076 if test "$wxUSE_UNICODE" = "yes"; then
27077 cat >>confdefs.h <<\_ACEOF
27078 #define HAVE_STD_WSTRING 1
27083 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
27084 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
27085 if test "${wx_cv_class_stdbasicstring+set}" = set; then
27086 echo $ECHO_N "(cached) $ECHO_C" >&6
27089 cat >conftest.$ac_ext <<_ACEOF
27092 cat confdefs.h >>conftest.$ac_ext
27093 cat >>conftest.$ac_ext <<_ACEOF
27094 /* end confdefs.h. */
27096 #ifdef HAVE_WCHAR_H
27098 # include <stddef.h>
27100 # include <wchar.h>
27102 #ifdef HAVE_STDLIB_H
27103 # include <stdlib.h>
27111 std::basic_string<$char_type> foo;
27112 const $char_type* dummy = foo.c_str();
27117 rm -f conftest.$ac_objext
27118 if { (ac_try="$ac_compile"
27119 case "(($ac_try" in
27120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27121 *) ac_try_echo=$ac_try;;
27123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27124 (eval "$ac_compile") 2>conftest.er1
27126 grep -v '^ *+' conftest.er1 >conftest.err
27128 cat conftest.err >&5
27129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27130 (exit $ac_status); } && {
27131 test -z "$ac_cxx_werror_flag" ||
27132 test ! -s conftest.err
27133 } && test -s conftest.$ac_objext; then
27134 wx_cv_class_stdbasicstring=yes
27136 echo "$as_me: failed program was:" >&5
27137 sed 's/^/| /' conftest.$ac_ext >&5
27139 wx_cv_class_stdbasicstring=no
27143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27147 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27148 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27150 if test "$wx_cv_class_stdbasicstring" != yes; then
27151 if test "$wxUSE_STL" = "yes"; then
27152 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
27153 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27154 { (exit 1); exit 1; }; }
27155 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27156 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
27157 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27158 { (exit 1); exit 1; }; }
27160 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27161 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27162 wxUSE_STD_STRING=no
27168 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27169 { echo "$as_me:$LINENO: checking for std::istream" >&5
27170 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27171 if test "${ac_cv_type_std__istream+set}" = set; then
27172 echo $ECHO_N "(cached) $ECHO_C" >&6
27174 cat >conftest.$ac_ext <<_ACEOF
27177 cat confdefs.h >>conftest.$ac_ext
27178 cat >>conftest.$ac_ext <<_ACEOF
27179 /* end confdefs.h. */
27180 #include <iostream>
27182 typedef std::istream ac__type_new_;
27186 if ((ac__type_new_ *) 0)
27188 if (sizeof (ac__type_new_))
27194 rm -f conftest.$ac_objext
27195 if { (ac_try="$ac_compile"
27196 case "(($ac_try" in
27197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27198 *) ac_try_echo=$ac_try;;
27200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27201 (eval "$ac_compile") 2>conftest.er1
27203 grep -v '^ *+' conftest.er1 >conftest.err
27205 cat conftest.err >&5
27206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27207 (exit $ac_status); } && {
27208 test -z "$ac_cxx_werror_flag" ||
27209 test ! -s conftest.err
27210 } && test -s conftest.$ac_objext; then
27211 ac_cv_type_std__istream=yes
27213 echo "$as_me: failed program was:" >&5
27214 sed 's/^/| /' conftest.$ac_ext >&5
27216 ac_cv_type_std__istream=no
27219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27221 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27222 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27223 if test $ac_cv_type_std__istream = yes; then
27225 cat >>confdefs.h <<_ACEOF
27226 #define HAVE_STD__ISTREAM 1
27231 wxUSE_STD_IOSTREAM=no
27233 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27234 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27235 if test "${ac_cv_type_std__ostream+set}" = set; then
27236 echo $ECHO_N "(cached) $ECHO_C" >&6
27238 cat >conftest.$ac_ext <<_ACEOF
27241 cat confdefs.h >>conftest.$ac_ext
27242 cat >>conftest.$ac_ext <<_ACEOF
27243 /* end confdefs.h. */
27244 #include <iostream>
27246 typedef std::ostream ac__type_new_;
27250 if ((ac__type_new_ *) 0)
27252 if (sizeof (ac__type_new_))
27258 rm -f conftest.$ac_objext
27259 if { (ac_try="$ac_compile"
27260 case "(($ac_try" in
27261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27262 *) ac_try_echo=$ac_try;;
27264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27265 (eval "$ac_compile") 2>conftest.er1
27267 grep -v '^ *+' conftest.er1 >conftest.err
27269 cat conftest.err >&5
27270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27271 (exit $ac_status); } && {
27272 test -z "$ac_cxx_werror_flag" ||
27273 test ! -s conftest.err
27274 } && test -s conftest.$ac_objext; then
27275 ac_cv_type_std__ostream=yes
27277 echo "$as_me: failed program was:" >&5
27278 sed 's/^/| /' conftest.$ac_ext >&5
27280 ac_cv_type_std__ostream=no
27283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27285 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27286 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27287 if test $ac_cv_type_std__ostream = yes; then
27289 cat >>confdefs.h <<_ACEOF
27290 #define HAVE_STD__OSTREAM 1
27295 wxUSE_STD_IOSTREAM=no
27299 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27300 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27301 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
27302 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27303 { (exit 1); exit 1; }; }
27305 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27306 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27311 if test "$wxUSE_STL" = "yes"; then
27312 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27313 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27314 if test "${wx_cv_lib_stl+set}" = set; then
27315 echo $ECHO_N "(cached) $ECHO_C" >&6
27317 cat >conftest.$ac_ext <<_ACEOF
27320 cat confdefs.h >>conftest.$ac_ext
27321 cat >>conftest.$ac_ext <<_ACEOF
27322 /* end confdefs.h. */
27324 #include <functional>
27325 #include <algorithm>
27331 std::vector<int> moo;
27332 std::list<int> foo;
27333 std::vector<int>::iterator it =
27334 std::find_if(moo.begin(), moo.end(),
27335 std::bind2nd(std::less<int>(), 3));
27340 rm -f conftest.$ac_objext
27341 if { (ac_try="$ac_compile"
27342 case "(($ac_try" in
27343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27344 *) ac_try_echo=$ac_try;;
27346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27347 (eval "$ac_compile") 2>conftest.er1
27349 grep -v '^ *+' conftest.er1 >conftest.err
27351 cat conftest.err >&5
27352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27353 (exit $ac_status); } && {
27354 test -z "$ac_cxx_werror_flag" ||
27355 test ! -s conftest.err
27356 } && test -s conftest.$ac_objext; then
27359 echo "$as_me: failed program was:" >&5
27360 sed 's/^/| /' conftest.$ac_ext >&5
27366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27369 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27370 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27372 if test "$wx_cv_lib_stl" != yes; then
27373 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
27374 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
27375 { (exit 1); exit 1; }; }
27378 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27379 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27380 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27381 echo $ECHO_N "(cached) $ECHO_C" >&6
27383 cat >conftest.$ac_ext <<_ACEOF
27386 cat confdefs.h >>conftest.$ac_ext
27387 cat >>conftest.$ac_ext <<_ACEOF
27388 /* end confdefs.h. */
27393 std::string foo, bar;
27395 foo.compare(1, 1, bar);
27396 foo.compare(1, 1, bar, 1, 1);
27398 foo.compare(1, 1, "");
27399 foo.compare(1, 1, "", 2);
27404 rm -f conftest.$ac_objext
27405 if { (ac_try="$ac_compile"
27406 case "(($ac_try" in
27407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27408 *) ac_try_echo=$ac_try;;
27410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27411 (eval "$ac_compile") 2>conftest.er1
27413 grep -v '^ *+' conftest.er1 >conftest.err
27415 cat conftest.err >&5
27416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27417 (exit $ac_status); } && {
27418 test -z "$ac_cxx_werror_flag" ||
27419 test ! -s conftest.err
27420 } && test -s conftest.$ac_objext; then
27421 wx_cv_func_stdstring_compare=yes
27423 echo "$as_me: failed program was:" >&5
27424 sed 's/^/| /' conftest.$ac_ext >&5
27426 wx_cv_func_stdstring_compare=no
27430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27433 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27434 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27436 if test "$wx_cv_func_stdstring_compare" = yes; then
27437 cat >>confdefs.h <<\_ACEOF
27438 #define HAVE_STD_STRING_COMPARE 1
27443 { echo "$as_me:$LINENO: checking for hash_map" >&5
27444 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27445 if test "${ac_cv_header_hash_map+set}" = set; then
27446 echo $ECHO_N "(cached) $ECHO_C" >&6
27448 cat >conftest.$ac_ext <<_ACEOF
27451 cat confdefs.h >>conftest.$ac_ext
27452 cat >>conftest.$ac_ext <<_ACEOF
27453 /* end confdefs.h. */
27457 #include <hash_map>
27459 rm -f conftest.$ac_objext
27460 if { (ac_try="$ac_compile"
27461 case "(($ac_try" in
27462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27463 *) ac_try_echo=$ac_try;;
27465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27466 (eval "$ac_compile") 2>conftest.er1
27468 grep -v '^ *+' conftest.er1 >conftest.err
27470 cat conftest.err >&5
27471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27472 (exit $ac_status); } && {
27473 test -z "$ac_cxx_werror_flag" ||
27474 test ! -s conftest.err
27475 } && test -s conftest.$ac_objext; then
27476 ac_cv_header_hash_map=yes
27478 echo "$as_me: failed program was:" >&5
27479 sed 's/^/| /' conftest.$ac_ext >&5
27481 ac_cv_header_hash_map=no
27484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27486 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27487 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27488 if test $ac_cv_header_hash_map = yes; then
27489 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27490 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27491 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27492 echo $ECHO_N "(cached) $ECHO_C" >&6
27494 cat >conftest.$ac_ext <<_ACEOF
27497 cat confdefs.h >>conftest.$ac_ext
27498 cat >>conftest.$ac_ext <<_ACEOF
27499 /* end confdefs.h. */
27500 #include <hash_map>
27501 #include <hash_set>
27505 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27506 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27511 rm -f conftest.$ac_objext
27512 if { (ac_try="$ac_compile"
27513 case "(($ac_try" in
27514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27515 *) ac_try_echo=$ac_try;;
27517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27518 (eval "$ac_compile") 2>conftest.er1
27520 grep -v '^ *+' conftest.er1 >conftest.err
27522 cat conftest.err >&5
27523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27524 (exit $ac_status); } && {
27525 test -z "$ac_cxx_werror_flag" ||
27526 test ! -s conftest.err
27527 } && test -s conftest.$ac_objext; then
27528 wx_cv_class_stdhashmapset=yes
27530 echo "$as_me: failed program was:" >&5
27531 sed 's/^/| /' conftest.$ac_ext >&5
27533 wx_cv_class_stdhashmapset=no
27536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27540 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27541 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27546 if test "$wx_cv_class_stdhashmapset" = yes; then
27547 cat >>confdefs.h <<\_ACEOF
27548 #define HAVE_HASH_MAP 1
27551 cat >>confdefs.h <<\_ACEOF
27552 #define HAVE_STD_HASH_MAP 1
27557 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27558 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27559 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27560 echo $ECHO_N "(cached) $ECHO_C" >&6
27562 cat >conftest.$ac_ext <<_ACEOF
27565 cat confdefs.h >>conftest.$ac_ext
27566 cat >>conftest.$ac_ext <<_ACEOF
27567 /* end confdefs.h. */
27571 #include <ext/hash_map>
27573 rm -f conftest.$ac_objext
27574 if { (ac_try="$ac_compile"
27575 case "(($ac_try" in
27576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27577 *) ac_try_echo=$ac_try;;
27579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27580 (eval "$ac_compile") 2>conftest.er1
27582 grep -v '^ *+' conftest.er1 >conftest.err
27584 cat conftest.err >&5
27585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27586 (exit $ac_status); } && {
27587 test -z "$ac_cxx_werror_flag" ||
27588 test ! -s conftest.err
27589 } && test -s conftest.$ac_objext; then
27590 ac_cv_header_ext_hash_map=yes
27592 echo "$as_me: failed program was:" >&5
27593 sed 's/^/| /' conftest.$ac_ext >&5
27595 ac_cv_header_ext_hash_map=no
27598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27600 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27601 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27602 if test $ac_cv_header_ext_hash_map = yes; then
27603 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27604 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27605 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27606 echo $ECHO_N "(cached) $ECHO_C" >&6
27608 cat >conftest.$ac_ext <<_ACEOF
27611 cat confdefs.h >>conftest.$ac_ext
27612 cat >>conftest.$ac_ext <<_ACEOF
27613 /* end confdefs.h. */
27614 #include <ext/hash_map>
27615 #include <ext/hash_set>
27619 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27620 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27625 rm -f conftest.$ac_objext
27626 if { (ac_try="$ac_compile"
27627 case "(($ac_try" in
27628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27629 *) ac_try_echo=$ac_try;;
27631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27632 (eval "$ac_compile") 2>conftest.er1
27634 grep -v '^ *+' conftest.er1 >conftest.err
27636 cat conftest.err >&5
27637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27638 (exit $ac_status); } && {
27639 test -z "$ac_cxx_werror_flag" ||
27640 test ! -s conftest.err
27641 } && test -s conftest.$ac_objext; then
27642 wx_cv_class_gnuhashmapset=yes
27644 echo "$as_me: failed program was:" >&5
27645 sed 's/^/| /' conftest.$ac_ext >&5
27647 wx_cv_class_gnuhashmapset=no
27650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27654 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27655 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27660 if test "$wx_cv_class_gnuhashmapset" = yes; then
27661 cat >>confdefs.h <<\_ACEOF
27662 #define HAVE_EXT_HASH_MAP 1
27665 cat >>confdefs.h <<\_ACEOF
27666 #define HAVE_GNU_CXX_HASH_MAP 1
27673 ac_cpp='$CPP $CPPFLAGS'
27674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27681 /usr/local/include \
27683 /usr/Motif-2.1/include \
27684 /usr/Motif-1.2/include \
27685 /usr/include/Motif1.2 \
27688 /usr/openwin/include \
27692 /usr/X11R6/include \
27693 /usr/X11R6.4/include \
27694 /usr/X11R5/include \
27695 /usr/X11R4/include \
27697 /usr/include/X11R6 \
27698 /usr/include/X11R5 \
27699 /usr/include/X11R4 \
27701 /usr/local/X11R6/include \
27702 /usr/local/X11R5/include \
27703 /usr/local/X11R4/include \
27705 /usr/local/include/X11R6 \
27706 /usr/local/include/X11R5 \
27707 /usr/local/include/X11R4 \
27711 /usr/local/X11/include \
27712 /usr/local/include/X11 \
27714 /usr/XFree86/include/X11 \
27717 /usr/openwin/share/include"
27719 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27720 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27724 if test "${wx_cv_std_libpath+set}" = set; then
27725 echo $ECHO_N "(cached) $ECHO_C" >&6
27728 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27729 for e in a so sl dylib dll.a; do
27731 if test -f $libc; then
27734 cat >conftest.$ac_ext <<_ACEOF
27735 int main() { return 0; }
27737 rm -f conftest.$ac_objext conftest$ac_exeext
27738 if { (ac_try="$ac_link"
27739 case "(($ac_try" in
27740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27741 *) ac_try_echo=$ac_try;;
27743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27744 (eval "$ac_link") 2>conftest.er1
27746 grep -v '^ *+' conftest.er1 >conftest.err
27748 cat conftest.err >&5
27749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27750 (exit $ac_status); } && {
27751 test -z "$ac_c_werror_flag" ||
27752 test ! -s conftest.err
27753 } && test -s conftest$ac_exeext &&
27754 $as_test_x conftest$ac_exeext; then
27755 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27757 echo "$as_me: failed program was:" >&5
27758 sed 's/^/| /' conftest.$ac_ext >&5
27763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27764 conftest$ac_exeext conftest.$ac_ext
27766 if test "x$wx_cv_std_libpath" != "x"; then
27772 if test "x$wx_cv_std_libpath" = "x"; then
27773 wx_cv_std_libpath="lib"
27782 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27783 wx_cv_std_libpath="lib/64"
27785 wx_cv_std_libpath="lib"
27790 if test "$ac_cv_sizeof_void_p" = 8 -a \
27791 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27792 wx_cv_std_libpath="lib64"
27794 wx_cv_std_libpath="lib"
27799 wx_cv_std_libpath="lib";
27803 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27804 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27806 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27808 if test "$build" != "$host" -a "$GCC" = yes; then
27809 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27810 cross_root=`dirname $cross_root`
27811 cross_root=`dirname $cross_root`
27813 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27814 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27815 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27817 if test -z "$PKG_CONFIG_PATH"; then
27818 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27819 export PKG_CONFIG_PATH
27822 if test -z "$x_includes" -o "$x_includes" = NONE; then
27825 for ac_dir in $SEARCH_INCLUDE /usr/include;
27827 if test -f "$ac_dir/X11/Intrinsic.h"; then
27828 ac_find_includes=$ac_dir
27833 x_includes=$ac_find_includes
27835 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27838 for ac_dir in $SEARCH_LIB;
27840 for ac_extension in a so sl dylib dll.a; do
27841 if test -f "$ac_dir/libXt.$ac_extension"; then
27842 ac_find_libraries=$ac_dir
27848 x_libraries=$ac_find_libraries
27854 cat >confcache <<\_ACEOF
27855 # This file is a shell script that caches the results of configure
27856 # tests run on this system so they can be shared between configure
27857 # scripts and configure runs, see configure's option --config-cache.
27858 # It is not useful on other systems. If it contains results you don't
27859 # want to keep, you may remove or edit it.
27861 # config.status only pays attention to the cache file if you give it
27862 # the --recheck option to rerun configure.
27864 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27865 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27866 # following values.
27870 # The following way of writing the cache mishandles newlines in values,
27871 # but we know of no workaround that is simple, portable, and efficient.
27872 # So, we kill variables containing newlines.
27873 # Ultrix sh set writes to stderr and can't be redirected directly,
27874 # and sets the high bit in the cache file unless we assign to the vars.
27876 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27877 eval ac_val=\$$ac_var
27881 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27882 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27885 _ | IFS | as_nl) ;; #(
27886 *) $as_unset $ac_var ;;
27892 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27893 *${as_nl}ac_space=\ *)
27894 # `set' does not quote correctly, so add quotes (double-quote
27895 # substitution turns \\\\ into \\, and sed turns \\ into \).
27898 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27901 # `set' quotes correctly as required by POSIX, so do not add quotes.
27902 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27911 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27913 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27915 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27916 if test -w "$cache_file"; then
27917 test "x$cache_file" != "x/dev/null" &&
27918 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27919 echo "$as_me: updating cache $cache_file" >&6;}
27920 cat confcache >$cache_file
27922 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27923 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27928 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27929 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27930 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27931 if test "${wx_cv_lib_glibc21+set}" = set; then
27932 echo $ECHO_N "(cached) $ECHO_C" >&6
27935 cat >conftest.$ac_ext <<_ACEOF
27938 cat confdefs.h >>conftest.$ac_ext
27939 cat >>conftest.$ac_ext <<_ACEOF
27940 /* end confdefs.h. */
27941 #include <features.h>
27946 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27954 rm -f conftest.$ac_objext
27955 if { (ac_try="$ac_compile"
27956 case "(($ac_try" in
27957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27958 *) ac_try_echo=$ac_try;;
27960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27961 (eval "$ac_compile") 2>conftest.er1
27963 grep -v '^ *+' conftest.er1 >conftest.err
27965 cat conftest.err >&5
27966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967 (exit $ac_status); } && {
27968 test -z "$ac_c_werror_flag" ||
27969 test ! -s conftest.err
27970 } && test -s conftest.$ac_objext; then
27972 wx_cv_lib_glibc21=yes
27975 echo "$as_me: failed program was:" >&5
27976 sed 's/^/| /' conftest.$ac_ext >&5
27979 wx_cv_lib_glibc21=no
27984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27987 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27988 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27989 if test "$wx_cv_lib_glibc21" = "yes"; then
27990 cat >>confdefs.h <<\_ACEOF
27991 #define wxHAVE_GLIBC2 1
27997 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27998 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27999 cat >>confdefs.h <<\_ACEOF
28000 #define _GNU_SOURCE 1
28011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28012 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28014 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28015 echo $ECHO_N "(cached) $ECHO_C" >&6
28017 cat >conftest.$ac_ext <<_ACEOF
28020 cat confdefs.h >>conftest.$ac_ext
28021 cat >>conftest.$ac_ext <<_ACEOF
28022 /* end confdefs.h. */
28023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28025 #define $ac_func innocuous_$ac_func
28027 /* System header to define __stub macros and hopefully few prototypes,
28028 which can conflict with char $ac_func (); below.
28029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28030 <limits.h> exists even on freestanding compilers. */
28033 # include <limits.h>
28035 # include <assert.h>
28040 /* Override any GCC internal prototype to avoid an error.
28041 Use char because int might match the return type of a GCC
28042 builtin and then its argument prototype would still apply. */
28047 /* The GNU C library defines this for functions which it implements
28048 to always fail with ENOSYS. Some functions are actually named
28049 something starting with __ and the normal name is an alias. */
28050 #if defined __stub_$ac_func || defined __stub___$ac_func
28057 return $ac_func ();
28062 rm -f conftest.$ac_objext conftest$ac_exeext
28063 if { (ac_try="$ac_link"
28064 case "(($ac_try" in
28065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28066 *) ac_try_echo=$ac_try;;
28068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28069 (eval "$ac_link") 2>conftest.er1
28071 grep -v '^ *+' conftest.er1 >conftest.err
28073 cat conftest.err >&5
28074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28075 (exit $ac_status); } && {
28076 test -z "$ac_c_werror_flag" ||
28077 test ! -s conftest.err
28078 } && test -s conftest$ac_exeext &&
28079 $as_test_x conftest$ac_exeext; then
28080 eval "$as_ac_var=yes"
28082 echo "$as_me: failed program was:" >&5
28083 sed 's/^/| /' conftest.$ac_ext >&5
28085 eval "$as_ac_var=no"
28088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28089 conftest$ac_exeext conftest.$ac_ext
28091 ac_res=`eval echo '${'$as_ac_var'}'`
28092 { echo "$as_me:$LINENO: result: $ac_res" >&5
28093 echo "${ECHO_T}$ac_res" >&6; }
28094 if test `eval echo '${'$as_ac_var'}'` = yes; then
28095 cat >>confdefs.h <<_ACEOF
28096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28103 for ac_func in floor
28105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28106 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28108 if { as_var=$as_ac_var; eval "test \"\${$as_var+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. */
28117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28119 #define $ac_func innocuous_$ac_func
28121 /* System header to define __stub macros and hopefully few prototypes,
28122 which can conflict with char $ac_func (); below.
28123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28124 <limits.h> exists even on freestanding compilers. */
28127 # include <limits.h>
28129 # include <assert.h>
28134 /* Override any GCC internal prototype to avoid an error.
28135 Use char because int might match the return type of a GCC
28136 builtin and then its argument prototype would still apply. */
28141 /* The GNU C library defines this for functions which it implements
28142 to always fail with ENOSYS. Some functions are actually named
28143 something starting with __ and the normal name is an alias. */
28144 #if defined __stub_$ac_func || defined __stub___$ac_func
28151 return $ac_func ();
28156 rm -f conftest.$ac_objext conftest$ac_exeext
28157 if { (ac_try="$ac_link"
28158 case "(($ac_try" in
28159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28160 *) ac_try_echo=$ac_try;;
28162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28163 (eval "$ac_link") 2>conftest.er1
28165 grep -v '^ *+' conftest.er1 >conftest.err
28167 cat conftest.err >&5
28168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28169 (exit $ac_status); } && {
28170 test -z "$ac_c_werror_flag" ||
28171 test ! -s conftest.err
28172 } && test -s conftest$ac_exeext &&
28173 $as_test_x conftest$ac_exeext; then
28174 eval "$as_ac_var=yes"
28176 echo "$as_me: failed program was:" >&5
28177 sed 's/^/| /' conftest.$ac_ext >&5
28179 eval "$as_ac_var=no"
28182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28183 conftest$ac_exeext conftest.$ac_ext
28185 ac_res=`eval echo '${'$as_ac_var'}'`
28186 { echo "$as_me:$LINENO: result: $ac_res" >&5
28187 echo "${ECHO_T}$ac_res" >&6; }
28188 if test `eval echo '${'$as_ac_var'}'` = yes; then
28189 cat >>confdefs.h <<_ACEOF
28190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28196 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28197 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28198 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28199 { echo "$as_me:$LINENO: result: yes" >&5
28200 echo "${ECHO_T}yes" >&6; }
28202 { echo "$as_me:$LINENO: result: no" >&5
28203 echo "${ECHO_T}no" >&6; }
28205 # use different functions to avoid configure caching
28211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28212 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28214 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28215 echo $ECHO_N "(cached) $ECHO_C" >&6
28217 cat >conftest.$ac_ext <<_ACEOF
28220 cat confdefs.h >>conftest.$ac_ext
28221 cat >>conftest.$ac_ext <<_ACEOF
28222 /* end confdefs.h. */
28223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28225 #define $ac_func innocuous_$ac_func
28227 /* System header to define __stub macros and hopefully few prototypes,
28228 which can conflict with char $ac_func (); below.
28229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28230 <limits.h> exists even on freestanding compilers. */
28233 # include <limits.h>
28235 # include <assert.h>
28240 /* Override any GCC internal prototype to avoid an error.
28241 Use char because int might match the return type of a GCC
28242 builtin and then its argument prototype would still apply. */
28247 /* The GNU C library defines this for functions which it implements
28248 to always fail with ENOSYS. Some functions are actually named
28249 something starting with __ and the normal name is an alias. */
28250 #if defined __stub_$ac_func || defined __stub___$ac_func
28257 return $ac_func ();
28262 rm -f conftest.$ac_objext conftest$ac_exeext
28263 if { (ac_try="$ac_link"
28264 case "(($ac_try" in
28265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28266 *) ac_try_echo=$ac_try;;
28268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28269 (eval "$ac_link") 2>conftest.er1
28271 grep -v '^ *+' conftest.er1 >conftest.err
28273 cat conftest.err >&5
28274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28275 (exit $ac_status); } && {
28276 test -z "$ac_c_werror_flag" ||
28277 test ! -s conftest.err
28278 } && test -s conftest$ac_exeext &&
28279 $as_test_x conftest$ac_exeext; then
28280 eval "$as_ac_var=yes"
28282 echo "$as_me: failed program was:" >&5
28283 sed 's/^/| /' conftest.$ac_ext >&5
28285 eval "$as_ac_var=no"
28288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28289 conftest$ac_exeext conftest.$ac_ext
28291 ac_res=`eval echo '${'$as_ac_var'}'`
28292 { echo "$as_me:$LINENO: result: $ac_res" >&5
28293 echo "${ECHO_T}$ac_res" >&6; }
28294 if test `eval echo '${'$as_ac_var'}'` = yes; then
28295 cat >>confdefs.h <<_ACEOF
28296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28303 for ac_func in ceil
28305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28306 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28308 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28309 echo $ECHO_N "(cached) $ECHO_C" >&6
28311 cat >conftest.$ac_ext <<_ACEOF
28314 cat confdefs.h >>conftest.$ac_ext
28315 cat >>conftest.$ac_ext <<_ACEOF
28316 /* end confdefs.h. */
28317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28319 #define $ac_func innocuous_$ac_func
28321 /* System header to define __stub macros and hopefully few prototypes,
28322 which can conflict with char $ac_func (); below.
28323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28324 <limits.h> exists even on freestanding compilers. */
28327 # include <limits.h>
28329 # include <assert.h>
28334 /* Override any GCC internal prototype to avoid an error.
28335 Use char because int might match the return type of a GCC
28336 builtin and then its argument prototype would still apply. */
28341 /* The GNU C library defines this for functions which it implements
28342 to always fail with ENOSYS. Some functions are actually named
28343 something starting with __ and the normal name is an alias. */
28344 #if defined __stub_$ac_func || defined __stub___$ac_func
28351 return $ac_func ();
28356 rm -f conftest.$ac_objext conftest$ac_exeext
28357 if { (ac_try="$ac_link"
28358 case "(($ac_try" in
28359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28360 *) ac_try_echo=$ac_try;;
28362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28363 (eval "$ac_link") 2>conftest.er1
28365 grep -v '^ *+' conftest.er1 >conftest.err
28367 cat conftest.err >&5
28368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28369 (exit $ac_status); } && {
28370 test -z "$ac_c_werror_flag" ||
28371 test ! -s conftest.err
28372 } && test -s conftest$ac_exeext &&
28373 $as_test_x conftest$ac_exeext; then
28374 eval "$as_ac_var=yes"
28376 echo "$as_me: failed program was:" >&5
28377 sed 's/^/| /' conftest.$ac_ext >&5
28379 eval "$as_ac_var=no"
28382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28383 conftest$ac_exeext conftest.$ac_ext
28385 ac_res=`eval echo '${'$as_ac_var'}'`
28386 { echo "$as_me:$LINENO: result: $ac_res" >&5
28387 echo "${ECHO_T}$ac_res" >&6; }
28388 if test `eval echo '${'$as_ac_var'}'` = yes; then
28389 cat >>confdefs.h <<_ACEOF
28390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28396 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28397 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28398 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28399 { echo "$as_me:$LINENO: result: yes" >&5
28400 echo "${ECHO_T}yes" >&6; }
28402 { echo "$as_me:$LINENO: result: no" >&5
28403 echo "${ECHO_T}no" >&6; }
28404 # not sure we should warn the user, crash, etc.
28409 ac_cpp='$CXXCPP $CPPFLAGS'
28410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28414 if test "wxUSE_UNICODE" = "yes"; then
28416 for wx_func in wcstoull
28418 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28419 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28420 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28421 echo $ECHO_N "(cached) $ECHO_C" >&6
28424 cat >conftest.$ac_ext <<_ACEOF
28428 cat confdefs.h >>conftest.$ac_ext
28429 cat >>conftest.$ac_ext <<_ACEOF
28430 /* end confdefs.h. */
28433 $ac_includes_default
28449 rm -f conftest.$ac_objext conftest$ac_exeext
28450 if { (ac_try="$ac_link"
28451 case "(($ac_try" in
28452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28453 *) ac_try_echo=$ac_try;;
28455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28456 (eval "$ac_link") 2>conftest.er1
28458 grep -v '^ *+' conftest.er1 >conftest.err
28460 cat conftest.err >&5
28461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28462 (exit $ac_status); } && {
28463 test -z "$ac_cxx_werror_flag" ||
28464 test ! -s conftest.err
28465 } && test -s conftest$ac_exeext &&
28466 $as_test_x conftest$ac_exeext; then
28467 eval wx_cv_func_$wx_func=yes
28469 echo "$as_me: failed program was:" >&5
28470 sed 's/^/| /' conftest.$ac_ext >&5
28472 eval wx_cv_func_$wx_func=no
28475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28476 conftest$ac_exeext conftest.$ac_ext
28479 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28480 { echo "$as_me:$LINENO: result: $ac_res" >&5
28481 echo "${ECHO_T}$ac_res" >&6; }
28483 if eval test \$wx_cv_func_$wx_func = yes
28485 cat >>confdefs.h <<_ACEOF
28486 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28498 for wx_func in strtoull
28500 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28501 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28502 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28503 echo $ECHO_N "(cached) $ECHO_C" >&6
28506 cat >conftest.$ac_ext <<_ACEOF
28510 cat confdefs.h >>conftest.$ac_ext
28511 cat >>conftest.$ac_ext <<_ACEOF
28512 /* end confdefs.h. */
28515 $ac_includes_default
28531 rm -f conftest.$ac_objext conftest$ac_exeext
28532 if { (ac_try="$ac_link"
28533 case "(($ac_try" in
28534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28535 *) ac_try_echo=$ac_try;;
28537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28538 (eval "$ac_link") 2>conftest.er1
28540 grep -v '^ *+' conftest.er1 >conftest.err
28542 cat conftest.err >&5
28543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28544 (exit $ac_status); } && {
28545 test -z "$ac_cxx_werror_flag" ||
28546 test ! -s conftest.err
28547 } && test -s conftest$ac_exeext &&
28548 $as_test_x conftest$ac_exeext; then
28549 eval wx_cv_func_$wx_func=yes
28551 echo "$as_me: failed program was:" >&5
28552 sed 's/^/| /' conftest.$ac_ext >&5
28554 eval wx_cv_func_$wx_func=no
28557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28558 conftest$ac_exeext conftest.$ac_ext
28561 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28562 { echo "$as_me:$LINENO: result: $ac_res" >&5
28563 echo "${ECHO_T}$ac_res" >&6; }
28565 if eval test \$wx_cv_func_$wx_func = yes
28567 cat >>confdefs.h <<_ACEOF
28568 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28580 ac_cpp='$CPP $CPPFLAGS'
28581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28588 if test "$wxUSE_REGEX" != "no"; then
28589 cat >>confdefs.h <<\_ACEOF
28590 #define wxUSE_REGEX 1
28594 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28595 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28596 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28597 wxUSE_REGEX=builtin
28600 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28601 { echo "$as_me:$LINENO: checking for regex.h" >&5
28602 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28603 if test "${ac_cv_header_regex_h+set}" = set; then
28604 echo $ECHO_N "(cached) $ECHO_C" >&6
28606 cat >conftest.$ac_ext <<_ACEOF
28609 cat confdefs.h >>conftest.$ac_ext
28610 cat >>conftest.$ac_ext <<_ACEOF
28611 /* end confdefs.h. */
28616 rm -f conftest.$ac_objext
28617 if { (ac_try="$ac_compile"
28618 case "(($ac_try" in
28619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28620 *) ac_try_echo=$ac_try;;
28622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28623 (eval "$ac_compile") 2>conftest.er1
28625 grep -v '^ *+' conftest.er1 >conftest.err
28627 cat conftest.err >&5
28628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28629 (exit $ac_status); } && {
28630 test -z "$ac_c_werror_flag" ||
28631 test ! -s conftest.err
28632 } && test -s conftest.$ac_objext; then
28633 ac_cv_header_regex_h=yes
28635 echo "$as_me: failed program was:" >&5
28636 sed 's/^/| /' conftest.$ac_ext >&5
28638 ac_cv_header_regex_h=no
28641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28643 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28644 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28645 if test $ac_cv_header_regex_h = yes; then
28648 for ac_func in regcomp re_search
28650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28651 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28653 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28654 echo $ECHO_N "(cached) $ECHO_C" >&6
28656 cat >conftest.$ac_ext <<_ACEOF
28659 cat confdefs.h >>conftest.$ac_ext
28660 cat >>conftest.$ac_ext <<_ACEOF
28661 /* end confdefs.h. */
28662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28664 #define $ac_func innocuous_$ac_func
28666 /* System header to define __stub macros and hopefully few prototypes,
28667 which can conflict with char $ac_func (); below.
28668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28669 <limits.h> exists even on freestanding compilers. */
28672 # include <limits.h>
28674 # include <assert.h>
28679 /* Override any GCC internal prototype to avoid an error.
28680 Use char because int might match the return type of a GCC
28681 builtin and then its argument prototype would still apply. */
28686 /* The GNU C library defines this for functions which it implements
28687 to always fail with ENOSYS. Some functions are actually named
28688 something starting with __ and the normal name is an alias. */
28689 #if defined __stub_$ac_func || defined __stub___$ac_func
28696 return $ac_func ();
28701 rm -f conftest.$ac_objext conftest$ac_exeext
28702 if { (ac_try="$ac_link"
28703 case "(($ac_try" in
28704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28705 *) ac_try_echo=$ac_try;;
28707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28708 (eval "$ac_link") 2>conftest.er1
28710 grep -v '^ *+' conftest.er1 >conftest.err
28712 cat conftest.err >&5
28713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28714 (exit $ac_status); } && {
28715 test -z "$ac_c_werror_flag" ||
28716 test ! -s conftest.err
28717 } && test -s conftest$ac_exeext &&
28718 $as_test_x conftest$ac_exeext; then
28719 eval "$as_ac_var=yes"
28721 echo "$as_me: failed program was:" >&5
28722 sed 's/^/| /' conftest.$ac_ext >&5
28724 eval "$as_ac_var=no"
28727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28728 conftest$ac_exeext conftest.$ac_ext
28730 ac_res=`eval echo '${'$as_ac_var'}'`
28731 { echo "$as_me:$LINENO: result: $ac_res" >&5
28732 echo "${ECHO_T}$ac_res" >&6; }
28733 if test `eval echo '${'$as_ac_var'}'` = yes; then
28734 cat >>confdefs.h <<_ACEOF
28735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28745 if test "x$ac_cv_func_regcomp" != "xyes"; then
28746 if test "$wxUSE_REGEX" = "sys" ; then
28747 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28748 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28749 { (exit 1); exit 1; }; }
28751 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28752 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28753 wxUSE_REGEX=builtin
28757 cat >>confdefs.h <<\_ACEOF
28758 #define WX_NO_REGEX_ADVANCED 1
28767 if test "$wxUSE_ZLIB" != "no" ; then
28768 cat >>confdefs.h <<\_ACEOF
28769 #define wxUSE_ZLIB 1
28773 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28774 if test "$USE_DARWIN" = 1; then
28775 system_zlib_h_ok="yes"
28777 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28778 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28779 if test "${ac_cv_header_zlib_h+set}" = set; then
28780 echo $ECHO_N "(cached) $ECHO_C" >&6
28782 if test "$cross_compiling" = yes; then
28783 unset ac_cv_header_zlib_h
28786 cat >conftest.$ac_ext <<_ACEOF
28789 cat confdefs.h >>conftest.$ac_ext
28790 cat >>conftest.$ac_ext <<_ACEOF
28791 /* end confdefs.h. */
28798 FILE *f=fopen("conftestval", "w");
28801 ZLIB_VERSION[0] == '1' &&
28802 (ZLIB_VERSION[2] > '1' ||
28803 (ZLIB_VERSION[2] == '1' &&
28804 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28809 rm -f conftest$ac_exeext
28810 if { (ac_try="$ac_link"
28811 case "(($ac_try" in
28812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28813 *) ac_try_echo=$ac_try;;
28815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28816 (eval "$ac_link") 2>&5
28818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28819 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28820 { (case "(($ac_try" in
28821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28822 *) ac_try_echo=$ac_try;;
28824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28825 (eval "$ac_try") 2>&5
28827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28828 (exit $ac_status); }; }; then
28829 ac_cv_header_zlib_h=`cat conftestval`
28831 echo "$as_me: program exited with status $ac_status" >&5
28832 echo "$as_me: failed program was:" >&5
28833 sed 's/^/| /' conftest.$ac_ext >&5
28835 ( exit $ac_status )
28836 ac_cv_header_zlib_h=no
28838 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28844 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28845 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28846 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28847 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28848 if test "${ac_cv_header_zlib_h+set}" = set; then
28849 echo $ECHO_N "(cached) $ECHO_C" >&6
28851 cat >conftest.$ac_ext <<_ACEOF
28854 cat confdefs.h >>conftest.$ac_ext
28855 cat >>conftest.$ac_ext <<_ACEOF
28856 /* end confdefs.h. */
28861 rm -f conftest.$ac_objext
28862 if { (ac_try="$ac_compile"
28863 case "(($ac_try" in
28864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28865 *) ac_try_echo=$ac_try;;
28867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28868 (eval "$ac_compile") 2>conftest.er1
28870 grep -v '^ *+' conftest.er1 >conftest.err
28872 cat conftest.err >&5
28873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28874 (exit $ac_status); } && {
28875 test -z "$ac_c_werror_flag" ||
28876 test ! -s conftest.err
28877 } && test -s conftest.$ac_objext; then
28878 ac_cv_header_zlib_h=yes
28880 echo "$as_me: failed program was:" >&5
28881 sed 's/^/| /' conftest.$ac_ext >&5
28883 ac_cv_header_zlib_h=no
28886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28888 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28889 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28893 system_zlib_h_ok=$ac_cv_header_zlib_h
28896 if test "$system_zlib_h_ok" = "yes"; then
28897 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28898 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28899 if test "${ac_cv_lib_z_deflate+set}" = set; then
28900 echo $ECHO_N "(cached) $ECHO_C" >&6
28902 ac_check_lib_save_LIBS=$LIBS
28904 cat >conftest.$ac_ext <<_ACEOF
28907 cat confdefs.h >>conftest.$ac_ext
28908 cat >>conftest.$ac_ext <<_ACEOF
28909 /* end confdefs.h. */
28911 /* Override any GCC internal prototype to avoid an error.
28912 Use char because int might match the return type of a GCC
28913 builtin and then its argument prototype would still apply. */
28926 rm -f conftest.$ac_objext conftest$ac_exeext
28927 if { (ac_try="$ac_link"
28928 case "(($ac_try" in
28929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28930 *) ac_try_echo=$ac_try;;
28932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28933 (eval "$ac_link") 2>conftest.er1
28935 grep -v '^ *+' conftest.er1 >conftest.err
28937 cat conftest.err >&5
28938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28939 (exit $ac_status); } && {
28940 test -z "$ac_c_werror_flag" ||
28941 test ! -s conftest.err
28942 } && test -s conftest$ac_exeext &&
28943 $as_test_x conftest$ac_exeext; then
28944 ac_cv_lib_z_deflate=yes
28946 echo "$as_me: failed program was:" >&5
28947 sed 's/^/| /' conftest.$ac_ext >&5
28949 ac_cv_lib_z_deflate=no
28952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28953 conftest$ac_exeext conftest.$ac_ext
28954 LIBS=$ac_check_lib_save_LIBS
28956 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28957 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28958 if test $ac_cv_lib_z_deflate = yes; then
28964 if test "x$ZLIB_LINK" = "x" ; then
28965 if test "$wxUSE_ZLIB" = "sys" ; then
28966 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28967 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28968 { (exit 1); exit 1; }; }
28970 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28971 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28982 if test "$wxUSE_LIBPNG" != "no" ; then
28983 cat >>confdefs.h <<\_ACEOF
28984 #define wxUSE_LIBPNG 1
28988 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28989 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28990 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28994 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28995 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28996 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28997 wxUSE_LIBPNG=builtin
29000 if test "$wxUSE_MGL" != 1 ; then
29001 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
29002 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
29003 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
29004 if test "${ac_cv_header_png_h+set}" = set; then
29005 echo $ECHO_N "(cached) $ECHO_C" >&6
29007 if test "$cross_compiling" = yes; then
29008 unset ac_cv_header_png_h
29011 cat >conftest.$ac_ext <<_ACEOF
29014 cat confdefs.h >>conftest.$ac_ext
29015 cat >>conftest.$ac_ext <<_ACEOF
29016 /* end confdefs.h. */
29023 FILE *f=fopen("conftestval", "w");
29026 PNG_LIBPNG_VER > 90 ? "yes" : "no");
29031 rm -f conftest$ac_exeext
29032 if { (ac_try="$ac_link"
29033 case "(($ac_try" in
29034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29035 *) ac_try_echo=$ac_try;;
29037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29038 (eval "$ac_link") 2>&5
29040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29041 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29042 { (case "(($ac_try" in
29043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29044 *) ac_try_echo=$ac_try;;
29046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29047 (eval "$ac_try") 2>&5
29049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29050 (exit $ac_status); }; }; then
29051 ac_cv_header_png_h=`cat conftestval`
29053 echo "$as_me: program exited with status $ac_status" >&5
29054 echo "$as_me: failed program was:" >&5
29055 sed 's/^/| /' conftest.$ac_ext >&5
29057 ( exit $ac_status )
29058 ac_cv_header_png_h=no
29060 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29066 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29067 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29068 { echo "$as_me:$LINENO: checking for png.h" >&5
29069 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29070 if test "${ac_cv_header_png_h+set}" = set; then
29071 echo $ECHO_N "(cached) $ECHO_C" >&6
29073 cat >conftest.$ac_ext <<_ACEOF
29076 cat confdefs.h >>conftest.$ac_ext
29077 cat >>conftest.$ac_ext <<_ACEOF
29078 /* end confdefs.h. */
29083 rm -f conftest.$ac_objext
29084 if { (ac_try="$ac_compile"
29085 case "(($ac_try" in
29086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29087 *) ac_try_echo=$ac_try;;
29089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29090 (eval "$ac_compile") 2>conftest.er1
29092 grep -v '^ *+' conftest.er1 >conftest.err
29094 cat conftest.err >&5
29095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29096 (exit $ac_status); } && {
29097 test -z "$ac_c_werror_flag" ||
29098 test ! -s conftest.err
29099 } && test -s conftest.$ac_objext; then
29100 ac_cv_header_png_h=yes
29102 echo "$as_me: failed program was:" >&5
29103 sed 's/^/| /' conftest.$ac_ext >&5
29105 ac_cv_header_png_h=no
29108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29110 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29111 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29115 if test "$ac_cv_header_png_h" = "yes"; then
29116 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29117 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29118 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29119 echo $ECHO_N "(cached) $ECHO_C" >&6
29121 ac_check_lib_save_LIBS=$LIBS
29122 LIBS="-lpng -lz -lm $LIBS"
29123 cat >conftest.$ac_ext <<_ACEOF
29126 cat confdefs.h >>conftest.$ac_ext
29127 cat >>conftest.$ac_ext <<_ACEOF
29128 /* end confdefs.h. */
29130 /* Override any GCC internal prototype to avoid an error.
29131 Use char because int might match the return type of a GCC
29132 builtin and then its argument prototype would still apply. */
29136 char png_check_sig ();
29140 return png_check_sig ();
29145 rm -f conftest.$ac_objext conftest$ac_exeext
29146 if { (ac_try="$ac_link"
29147 case "(($ac_try" in
29148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29149 *) ac_try_echo=$ac_try;;
29151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29152 (eval "$ac_link") 2>conftest.er1
29154 grep -v '^ *+' conftest.er1 >conftest.err
29156 cat conftest.err >&5
29157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29158 (exit $ac_status); } && {
29159 test -z "$ac_c_werror_flag" ||
29160 test ! -s conftest.err
29161 } && test -s conftest$ac_exeext &&
29162 $as_test_x conftest$ac_exeext; then
29163 ac_cv_lib_png_png_check_sig=yes
29165 echo "$as_me: failed program was:" >&5
29166 sed 's/^/| /' conftest.$ac_ext >&5
29168 ac_cv_lib_png_png_check_sig=no
29171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29172 conftest$ac_exeext conftest.$ac_ext
29173 LIBS=$ac_check_lib_save_LIBS
29175 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29176 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29177 if test $ac_cv_lib_png_png_check_sig = yes; then
29178 PNG_LINK=" -lpng -lz"
29183 if test "x$PNG_LINK" = "x" ; then
29184 if test "$wxUSE_LIBPNG" = "sys" ; then
29185 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29186 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29187 { (exit 1); exit 1; }; }
29189 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29190 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29191 wxUSE_LIBPNG=builtin
29199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
29204 if test "$wxUSE_LIBJPEG" != "no" ; then
29205 cat >>confdefs.h <<\_ACEOF
29206 #define wxUSE_LIBJPEG 1
29210 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29211 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29212 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29216 if test "$wxUSE_MGL" != 1 ; then
29217 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29218 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29219 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29220 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29221 echo $ECHO_N "(cached) $ECHO_C" >&6
29223 cat >conftest.$ac_ext <<_ACEOF
29226 cat confdefs.h >>conftest.$ac_ext
29227 cat >>conftest.$ac_ext <<_ACEOF
29228 /* end confdefs.h. */
29230 #undef HAVE_STDLIB_H
29232 #include <jpeglib.h>
29243 rm -f conftest.$ac_objext
29244 if { (ac_try="$ac_compile"
29245 case "(($ac_try" in
29246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29247 *) ac_try_echo=$ac_try;;
29249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29250 (eval "$ac_compile") 2>conftest.er1
29252 grep -v '^ *+' conftest.er1 >conftest.err
29254 cat conftest.err >&5
29255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29256 (exit $ac_status); } && {
29257 test -z "$ac_c_werror_flag" ||
29258 test ! -s conftest.err
29259 } && test -s conftest.$ac_objext; then
29260 ac_cv_header_jpeglib_h=yes
29262 echo "$as_me: failed program was:" >&5
29263 sed 's/^/| /' conftest.$ac_ext >&5
29265 ac_cv_header_jpeglib_h=no
29269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29273 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29274 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29276 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29277 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29278 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29279 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29280 echo $ECHO_N "(cached) $ECHO_C" >&6
29282 ac_check_lib_save_LIBS=$LIBS
29283 LIBS="-ljpeg $LIBS"
29284 cat >conftest.$ac_ext <<_ACEOF
29287 cat confdefs.h >>conftest.$ac_ext
29288 cat >>conftest.$ac_ext <<_ACEOF
29289 /* end confdefs.h. */
29291 /* Override any GCC internal prototype to avoid an error.
29292 Use char because int might match the return type of a GCC
29293 builtin and then its argument prototype would still apply. */
29297 char jpeg_read_header ();
29301 return jpeg_read_header ();
29306 rm -f conftest.$ac_objext conftest$ac_exeext
29307 if { (ac_try="$ac_link"
29308 case "(($ac_try" in
29309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29310 *) ac_try_echo=$ac_try;;
29312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29313 (eval "$ac_link") 2>conftest.er1
29315 grep -v '^ *+' conftest.er1 >conftest.err
29317 cat conftest.err >&5
29318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29319 (exit $ac_status); } && {
29320 test -z "$ac_c_werror_flag" ||
29321 test ! -s conftest.err
29322 } && test -s conftest$ac_exeext &&
29323 $as_test_x conftest$ac_exeext; then
29324 ac_cv_lib_jpeg_jpeg_read_header=yes
29326 echo "$as_me: failed program was:" >&5
29327 sed 's/^/| /' conftest.$ac_ext >&5
29329 ac_cv_lib_jpeg_jpeg_read_header=no
29332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29333 conftest$ac_exeext conftest.$ac_ext
29334 LIBS=$ac_check_lib_save_LIBS
29336 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29337 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29338 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29339 JPEG_LINK=" -ljpeg"
29344 if test "x$JPEG_LINK" = "x" ; then
29345 if test "$wxUSE_LIBJPEG" = "sys" ; then
29346 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29347 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29348 { (exit 1); exit 1; }; }
29350 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29351 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29352 wxUSE_LIBJPEG=builtin
29357 if test "$wxUSE_MSW" = 1; then
29358 { echo "$as_me:$LINENO: checking for boolean" >&5
29359 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29360 if test "${ac_cv_type_boolean+set}" = set; then
29361 echo $ECHO_N "(cached) $ECHO_C" >&6
29363 cat >conftest.$ac_ext <<_ACEOF
29366 cat confdefs.h >>conftest.$ac_ext
29367 cat >>conftest.$ac_ext <<_ACEOF
29368 /* end confdefs.h. */
29369 #include <windows.h>
29371 typedef boolean ac__type_new_;
29375 if ((ac__type_new_ *) 0)
29377 if (sizeof (ac__type_new_))
29383 rm -f conftest.$ac_objext
29384 if { (ac_try="$ac_compile"
29385 case "(($ac_try" in
29386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29387 *) ac_try_echo=$ac_try;;
29389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29390 (eval "$ac_compile") 2>conftest.er1
29392 grep -v '^ *+' conftest.er1 >conftest.err
29394 cat conftest.err >&5
29395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29396 (exit $ac_status); } && {
29397 test -z "$ac_c_werror_flag" ||
29398 test ! -s conftest.err
29399 } && test -s conftest.$ac_objext; then
29400 ac_cv_type_boolean=yes
29402 echo "$as_me: failed program was:" >&5
29403 sed 's/^/| /' conftest.$ac_ext >&5
29405 ac_cv_type_boolean=no
29408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29410 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29411 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29412 if test $ac_cv_type_boolean = yes; then
29414 cat >>confdefs.h <<_ACEOF
29415 #define HAVE_BOOLEAN 1
29419 { echo "$as_me:$LINENO: checking for boolean" >&5
29420 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29421 if test "${ac_cv_type_boolean+set}" = set; then
29422 echo $ECHO_N "(cached) $ECHO_C" >&6
29424 cat >conftest.$ac_ext <<_ACEOF
29427 cat confdefs.h >>conftest.$ac_ext
29428 cat >>conftest.$ac_ext <<_ACEOF
29429 /* end confdefs.h. */
29431 #undef HAVE_BOOLEAN
29433 #include <jpeglib.h>
29436 typedef boolean ac__type_new_;
29440 if ((ac__type_new_ *) 0)
29442 if (sizeof (ac__type_new_))
29448 rm -f conftest.$ac_objext
29449 if { (ac_try="$ac_compile"
29450 case "(($ac_try" in
29451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29452 *) ac_try_echo=$ac_try;;
29454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29455 (eval "$ac_compile") 2>conftest.er1
29457 grep -v '^ *+' conftest.er1 >conftest.err
29459 cat conftest.err >&5
29460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29461 (exit $ac_status); } && {
29462 test -z "$ac_c_werror_flag" ||
29463 test ! -s conftest.err
29464 } && test -s conftest.$ac_objext; then
29465 ac_cv_type_boolean=yes
29467 echo "$as_me: failed program was:" >&5
29468 sed 's/^/| /' conftest.$ac_ext >&5
29470 ac_cv_type_boolean=no
29473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29475 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29476 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29478 # The cast to long int works around a bug in the HP C Compiler
29479 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29480 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29481 # This bug is HP SR number 8606223364.
29482 { echo "$as_me:$LINENO: checking size of boolean" >&5
29483 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29484 if test "${ac_cv_sizeof_boolean+set}" = set; then
29485 echo $ECHO_N "(cached) $ECHO_C" >&6
29487 if test "$cross_compiling" = yes; then
29488 # Depending upon the size, compute the lo and hi bounds.
29489 cat >conftest.$ac_ext <<_ACEOF
29492 cat confdefs.h >>conftest.$ac_ext
29493 cat >>conftest.$ac_ext <<_ACEOF
29494 /* end confdefs.h. */
29496 #undef HAVE_BOOLEAN
29498 #include <jpeglib.h>
29501 typedef boolean ac__type_sizeof_;
29505 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29512 rm -f conftest.$ac_objext
29513 if { (ac_try="$ac_compile"
29514 case "(($ac_try" in
29515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29516 *) ac_try_echo=$ac_try;;
29518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29519 (eval "$ac_compile") 2>conftest.er1
29521 grep -v '^ *+' conftest.er1 >conftest.err
29523 cat conftest.err >&5
29524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29525 (exit $ac_status); } && {
29526 test -z "$ac_c_werror_flag" ||
29527 test ! -s conftest.err
29528 } && test -s conftest.$ac_objext; then
29531 cat >conftest.$ac_ext <<_ACEOF
29534 cat confdefs.h >>conftest.$ac_ext
29535 cat >>conftest.$ac_ext <<_ACEOF
29536 /* end confdefs.h. */
29538 #undef HAVE_BOOLEAN
29540 #include <jpeglib.h>
29543 typedef boolean ac__type_sizeof_;
29547 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29554 rm -f conftest.$ac_objext
29555 if { (ac_try="$ac_compile"
29556 case "(($ac_try" in
29557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29558 *) ac_try_echo=$ac_try;;
29560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29561 (eval "$ac_compile") 2>conftest.er1
29563 grep -v '^ *+' conftest.er1 >conftest.err
29565 cat conftest.err >&5
29566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29567 (exit $ac_status); } && {
29568 test -z "$ac_c_werror_flag" ||
29569 test ! -s conftest.err
29570 } && test -s conftest.$ac_objext; then
29571 ac_hi=$ac_mid; break
29573 echo "$as_me: failed program was:" >&5
29574 sed 's/^/| /' conftest.$ac_ext >&5
29576 ac_lo=`expr $ac_mid + 1`
29577 if test $ac_lo -le $ac_mid; then
29581 ac_mid=`expr 2 '*' $ac_mid + 1`
29584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29587 echo "$as_me: failed program was:" >&5
29588 sed 's/^/| /' conftest.$ac_ext >&5
29590 cat >conftest.$ac_ext <<_ACEOF
29593 cat confdefs.h >>conftest.$ac_ext
29594 cat >>conftest.$ac_ext <<_ACEOF
29595 /* end confdefs.h. */
29597 #undef HAVE_BOOLEAN
29599 #include <jpeglib.h>
29602 typedef boolean ac__type_sizeof_;
29606 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29613 rm -f conftest.$ac_objext
29614 if { (ac_try="$ac_compile"
29615 case "(($ac_try" in
29616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29617 *) ac_try_echo=$ac_try;;
29619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29620 (eval "$ac_compile") 2>conftest.er1
29622 grep -v '^ *+' conftest.er1 >conftest.err
29624 cat conftest.err >&5
29625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29626 (exit $ac_status); } && {
29627 test -z "$ac_c_werror_flag" ||
29628 test ! -s conftest.err
29629 } && test -s conftest.$ac_objext; then
29632 cat >conftest.$ac_ext <<_ACEOF
29635 cat confdefs.h >>conftest.$ac_ext
29636 cat >>conftest.$ac_ext <<_ACEOF
29637 /* end confdefs.h. */
29639 #undef HAVE_BOOLEAN
29641 #include <jpeglib.h>
29644 typedef boolean ac__type_sizeof_;
29648 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29655 rm -f conftest.$ac_objext
29656 if { (ac_try="$ac_compile"
29657 case "(($ac_try" in
29658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29659 *) ac_try_echo=$ac_try;;
29661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29662 (eval "$ac_compile") 2>conftest.er1
29664 grep -v '^ *+' conftest.er1 >conftest.err
29666 cat conftest.err >&5
29667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29668 (exit $ac_status); } && {
29669 test -z "$ac_c_werror_flag" ||
29670 test ! -s conftest.err
29671 } && test -s conftest.$ac_objext; then
29672 ac_lo=$ac_mid; break
29674 echo "$as_me: failed program was:" >&5
29675 sed 's/^/| /' conftest.$ac_ext >&5
29677 ac_hi=`expr '(' $ac_mid ')' - 1`
29678 if test $ac_mid -le $ac_hi; then
29682 ac_mid=`expr 2 '*' $ac_mid`
29685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29688 echo "$as_me: failed program was:" >&5
29689 sed 's/^/| /' conftest.$ac_ext >&5
29694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29698 # Binary search between lo and hi bounds.
29699 while test "x$ac_lo" != "x$ac_hi"; do
29700 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29701 cat >conftest.$ac_ext <<_ACEOF
29704 cat confdefs.h >>conftest.$ac_ext
29705 cat >>conftest.$ac_ext <<_ACEOF
29706 /* end confdefs.h. */
29708 #undef HAVE_BOOLEAN
29710 #include <jpeglib.h>
29713 typedef boolean ac__type_sizeof_;
29717 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29724 rm -f conftest.$ac_objext
29725 if { (ac_try="$ac_compile"
29726 case "(($ac_try" in
29727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29728 *) ac_try_echo=$ac_try;;
29730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29731 (eval "$ac_compile") 2>conftest.er1
29733 grep -v '^ *+' conftest.er1 >conftest.err
29735 cat conftest.err >&5
29736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29737 (exit $ac_status); } && {
29738 test -z "$ac_c_werror_flag" ||
29739 test ! -s conftest.err
29740 } && test -s conftest.$ac_objext; then
29743 echo "$as_me: failed program was:" >&5
29744 sed 's/^/| /' conftest.$ac_ext >&5
29746 ac_lo=`expr '(' $ac_mid ')' + 1`
29749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29752 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29753 '') if test "$ac_cv_type_boolean" = yes; then
29754 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29755 See \`config.log' for more details." >&5
29756 echo "$as_me: error: cannot compute sizeof (boolean)
29757 See \`config.log' for more details." >&2;}
29758 { (exit 77); exit 77; }; }
29760 ac_cv_sizeof_boolean=0
29764 cat >conftest.$ac_ext <<_ACEOF
29767 cat confdefs.h >>conftest.$ac_ext
29768 cat >>conftest.$ac_ext <<_ACEOF
29769 /* end confdefs.h. */
29771 #undef HAVE_BOOLEAN
29773 #include <jpeglib.h>
29776 typedef boolean ac__type_sizeof_;
29777 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29778 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29780 #include <stdlib.h>
29785 FILE *f = fopen ("conftest.val", "w");
29788 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29790 long int i = longval ();
29791 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29793 fprintf (f, "%ld\n", i);
29797 unsigned long int i = ulongval ();
29798 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29800 fprintf (f, "%lu\n", i);
29802 return ferror (f) || fclose (f) != 0;
29808 rm -f conftest$ac_exeext
29809 if { (ac_try="$ac_link"
29810 case "(($ac_try" in
29811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29812 *) ac_try_echo=$ac_try;;
29814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29815 (eval "$ac_link") 2>&5
29817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29818 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29819 { (case "(($ac_try" in
29820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29821 *) ac_try_echo=$ac_try;;
29823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29824 (eval "$ac_try") 2>&5
29826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29827 (exit $ac_status); }; }; then
29828 ac_cv_sizeof_boolean=`cat conftest.val`
29830 echo "$as_me: program exited with status $ac_status" >&5
29831 echo "$as_me: failed program was:" >&5
29832 sed 's/^/| /' conftest.$ac_ext >&5
29834 ( exit $ac_status )
29835 if test "$ac_cv_type_boolean" = yes; then
29836 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29837 See \`config.log' for more details." >&5
29838 echo "$as_me: error: cannot compute sizeof (boolean)
29839 See \`config.log' for more details." >&2;}
29840 { (exit 77); exit 77; }; }
29842 ac_cv_sizeof_boolean=0
29845 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29849 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29850 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29854 cat >>confdefs.h <<_ACEOF
29855 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29859 cat >>confdefs.h <<_ACEOF
29860 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29874 TIFF_PREREQ_LINKS=-lm
29875 if test "$wxUSE_LIBTIFF" != "no" ; then
29876 cat >>confdefs.h <<\_ACEOF
29877 #define wxUSE_LIBTIFF 1
29881 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29882 if test "$wxUSE_LIBJPEG" = "sys"; then
29883 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29885 if test "$wxUSE_ZLIB" = "sys"; then
29886 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29888 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29889 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29890 if test "${ac_cv_header_tiffio_h+set}" = set; then
29891 echo $ECHO_N "(cached) $ECHO_C" >&6
29893 cat >conftest.$ac_ext <<_ACEOF
29896 cat confdefs.h >>conftest.$ac_ext
29897 cat >>conftest.$ac_ext <<_ACEOF
29898 /* end confdefs.h. */
29902 #include <tiffio.h>
29904 rm -f conftest.$ac_objext
29905 if { (ac_try="$ac_compile"
29906 case "(($ac_try" in
29907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29908 *) ac_try_echo=$ac_try;;
29910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29911 (eval "$ac_compile") 2>conftest.er1
29913 grep -v '^ *+' conftest.er1 >conftest.err
29915 cat conftest.err >&5
29916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29917 (exit $ac_status); } && {
29918 test -z "$ac_c_werror_flag" ||
29919 test ! -s conftest.err
29920 } && test -s conftest.$ac_objext; then
29921 ac_cv_header_tiffio_h=yes
29923 echo "$as_me: failed program was:" >&5
29924 sed 's/^/| /' conftest.$ac_ext >&5
29926 ac_cv_header_tiffio_h=no
29929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29931 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29932 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29933 if test $ac_cv_header_tiffio_h = yes; then
29935 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29936 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29937 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29938 echo $ECHO_N "(cached) $ECHO_C" >&6
29940 ac_check_lib_save_LIBS=$LIBS
29941 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29942 cat >conftest.$ac_ext <<_ACEOF
29945 cat confdefs.h >>conftest.$ac_ext
29946 cat >>conftest.$ac_ext <<_ACEOF
29947 /* end confdefs.h. */
29949 /* Override any GCC internal prototype to avoid an error.
29950 Use char because int might match the return type of a GCC
29951 builtin and then its argument prototype would still apply. */
29959 return TIFFError ();
29964 rm -f conftest.$ac_objext conftest$ac_exeext
29965 if { (ac_try="$ac_link"
29966 case "(($ac_try" in
29967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29968 *) ac_try_echo=$ac_try;;
29970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29971 (eval "$ac_link") 2>conftest.er1
29973 grep -v '^ *+' conftest.er1 >conftest.err
29975 cat conftest.err >&5
29976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29977 (exit $ac_status); } && {
29978 test -z "$ac_c_werror_flag" ||
29979 test ! -s conftest.err
29980 } && test -s conftest$ac_exeext &&
29981 $as_test_x conftest$ac_exeext; then
29982 ac_cv_lib_tiff_TIFFError=yes
29984 echo "$as_me: failed program was:" >&5
29985 sed 's/^/| /' conftest.$ac_ext >&5
29987 ac_cv_lib_tiff_TIFFError=no
29990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29991 conftest$ac_exeext conftest.$ac_ext
29992 LIBS=$ac_check_lib_save_LIBS
29994 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29995 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29996 if test $ac_cv_lib_tiff_TIFFError = yes; then
29997 TIFF_LINK=" -ltiff"
30005 if test "x$TIFF_LINK" = "x" ; then
30006 if test "$wxUSE_LIBTIFF" = "sys" ; then
30007 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
30008 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
30009 { (exit 1); exit 1; }; }
30011 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
30012 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
30013 wxUSE_LIBTIFF=builtin
30022 if test "$wxUSE_WCHAR_T" != "yes"; then
30023 if test "$wxUSE_EXPAT" != "no"; then
30024 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
30025 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
30028 if test "$wxUSE_XML" != "no"; then
30029 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
30030 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
30035 if test "$wxUSE_EXPAT" != "no"; then
30037 cat >>confdefs.h <<\_ACEOF
30038 #define wxUSE_EXPAT 1
30041 cat >>confdefs.h <<\_ACEOF
30042 #define wxUSE_XML 1
30046 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
30047 { echo "$as_me:$LINENO: checking for expat.h" >&5
30048 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
30049 if test "${ac_cv_header_expat_h+set}" = set; then
30050 echo $ECHO_N "(cached) $ECHO_C" >&6
30052 cat >conftest.$ac_ext <<_ACEOF
30055 cat confdefs.h >>conftest.$ac_ext
30056 cat >>conftest.$ac_ext <<_ACEOF
30057 /* end confdefs.h. */
30062 rm -f conftest.$ac_objext
30063 if { (ac_try="$ac_compile"
30064 case "(($ac_try" in
30065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30066 *) ac_try_echo=$ac_try;;
30068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30069 (eval "$ac_compile") 2>conftest.er1
30071 grep -v '^ *+' conftest.er1 >conftest.err
30073 cat conftest.err >&5
30074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30075 (exit $ac_status); } && {
30076 test -z "$ac_c_werror_flag" ||
30077 test ! -s conftest.err
30078 } && test -s conftest.$ac_objext; then
30079 ac_cv_header_expat_h=yes
30081 echo "$as_me: failed program was:" >&5
30082 sed 's/^/| /' conftest.$ac_ext >&5
30084 ac_cv_header_expat_h=no
30087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30089 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
30090 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30091 if test $ac_cv_header_expat_h = yes; then
30096 if test "x$found_expat_h" = "x1"; then
30097 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
30098 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
30099 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30100 echo $ECHO_N "(cached) $ECHO_C" >&6
30104 ac_cpp='$CXXCPP $CPPFLAGS'
30105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30109 cat >conftest.$ac_ext <<_ACEOF
30112 cat confdefs.h >>conftest.$ac_ext
30113 cat >>conftest.$ac_ext <<_ACEOF
30114 /* end confdefs.h. */
30124 rm -f conftest.$ac_objext
30125 if { (ac_try="$ac_compile"
30126 case "(($ac_try" in
30127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30128 *) ac_try_echo=$ac_try;;
30130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30131 (eval "$ac_compile") 2>conftest.er1
30133 grep -v '^ *+' conftest.er1 >conftest.err
30135 cat conftest.err >&5
30136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30137 (exit $ac_status); } && {
30138 test -z "$ac_cxx_werror_flag" ||
30139 test ! -s conftest.err
30140 } && test -s conftest.$ac_objext; then
30141 wx_cv_expat_is_not_broken=yes
30143 echo "$as_me: failed program was:" >&5
30144 sed 's/^/| /' conftest.$ac_ext >&5
30146 wx_cv_expat_is_not_broken=no
30150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30152 ac_cpp='$CPP $CPPFLAGS'
30153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30160 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
30161 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30162 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30163 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
30164 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
30165 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30166 echo $ECHO_N "(cached) $ECHO_C" >&6
30168 ac_check_lib_save_LIBS=$LIBS
30169 LIBS="-lexpat $LIBS"
30170 cat >conftest.$ac_ext <<_ACEOF
30173 cat confdefs.h >>conftest.$ac_ext
30174 cat >>conftest.$ac_ext <<_ACEOF
30175 /* end confdefs.h. */
30177 /* Override any GCC internal prototype to avoid an error.
30178 Use char because int might match the return type of a GCC
30179 builtin and then its argument prototype would still apply. */
30183 char XML_ParserCreate ();
30187 return XML_ParserCreate ();
30192 rm -f conftest.$ac_objext conftest$ac_exeext
30193 if { (ac_try="$ac_link"
30194 case "(($ac_try" in
30195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30196 *) ac_try_echo=$ac_try;;
30198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30199 (eval "$ac_link") 2>conftest.er1
30201 grep -v '^ *+' conftest.er1 >conftest.err
30203 cat conftest.err >&5
30204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30205 (exit $ac_status); } && {
30206 test -z "$ac_c_werror_flag" ||
30207 test ! -s conftest.err
30208 } && test -s conftest$ac_exeext &&
30209 $as_test_x conftest$ac_exeext; then
30210 ac_cv_lib_expat_XML_ParserCreate=yes
30212 echo "$as_me: failed program was:" >&5
30213 sed 's/^/| /' conftest.$ac_ext >&5
30215 ac_cv_lib_expat_XML_ParserCreate=no
30218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30219 conftest$ac_exeext conftest.$ac_ext
30220 LIBS=$ac_check_lib_save_LIBS
30222 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
30223 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30224 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30225 EXPAT_LINK=" -lexpat"
30230 if test "x$EXPAT_LINK" = "x" ; then
30231 if test "$wxUSE_EXPAT" = "sys" ; then
30232 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
30233 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
30234 { (exit 1); exit 1; }; }
30236 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
30237 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
30238 wxUSE_EXPAT=builtin
30244 if test "$wxUSE_EXPAT" = "builtin" ; then
30245 subdirs="$subdirs src/expat"
30252 if test "$wxUSE_LIBMSPACK" != "no"; then
30253 { echo "$as_me:$LINENO: checking for mspack.h" >&5
30254 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
30255 if test "${ac_cv_header_mspack_h+set}" = set; then
30256 echo $ECHO_N "(cached) $ECHO_C" >&6
30258 cat >conftest.$ac_ext <<_ACEOF
30261 cat confdefs.h >>conftest.$ac_ext
30262 cat >>conftest.$ac_ext <<_ACEOF
30263 /* end confdefs.h. */
30266 #include <mspack.h>
30268 rm -f conftest.$ac_objext
30269 if { (ac_try="$ac_compile"
30270 case "(($ac_try" in
30271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30272 *) ac_try_echo=$ac_try;;
30274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30275 (eval "$ac_compile") 2>conftest.er1
30277 grep -v '^ *+' conftest.er1 >conftest.err
30279 cat conftest.err >&5
30280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30281 (exit $ac_status); } && {
30282 test -z "$ac_c_werror_flag" ||
30283 test ! -s conftest.err
30284 } && test -s conftest.$ac_objext; then
30285 ac_cv_header_mspack_h=yes
30287 echo "$as_me: failed program was:" >&5
30288 sed 's/^/| /' conftest.$ac_ext >&5
30290 ac_cv_header_mspack_h=no
30293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30295 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30296 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30297 if test $ac_cv_header_mspack_h = yes; then
30302 if test "x$found_mspack_h" = "x1"; then
30303 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
30304 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
30305 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30306 echo $ECHO_N "(cached) $ECHO_C" >&6
30308 ac_check_lib_save_LIBS=$LIBS
30309 LIBS="-lmspack $LIBS"
30310 cat >conftest.$ac_ext <<_ACEOF
30313 cat confdefs.h >>conftest.$ac_ext
30314 cat >>conftest.$ac_ext <<_ACEOF
30315 /* end confdefs.h. */
30317 /* Override any GCC internal prototype to avoid an error.
30318 Use char because int might match the return type of a GCC
30319 builtin and then its argument prototype would still apply. */
30323 char mspack_create_chm_decompressor ();
30327 return mspack_create_chm_decompressor ();
30332 rm -f conftest.$ac_objext conftest$ac_exeext
30333 if { (ac_try="$ac_link"
30334 case "(($ac_try" in
30335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30336 *) ac_try_echo=$ac_try;;
30338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30339 (eval "$ac_link") 2>conftest.er1
30341 grep -v '^ *+' conftest.er1 >conftest.err
30343 cat conftest.err >&5
30344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30345 (exit $ac_status); } && {
30346 test -z "$ac_c_werror_flag" ||
30347 test ! -s conftest.err
30348 } && test -s conftest$ac_exeext &&
30349 $as_test_x conftest$ac_exeext; then
30350 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30352 echo "$as_me: failed program was:" >&5
30353 sed 's/^/| /' conftest.$ac_ext >&5
30355 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30359 conftest$ac_exeext conftest.$ac_ext
30360 LIBS=$ac_check_lib_save_LIBS
30362 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30363 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30364 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30365 MSPACK_LINK=" -lmspack"
30369 if test "x$MSPACK_LINK" = "x" ; then
30374 if test "$wxUSE_LIBMSPACK" != "no"; then
30375 cat >>confdefs.h <<\_ACEOF
30376 #define wxUSE_LIBMSPACK 1
30390 if test "$USE_WIN32" = 1 ; then
30392 for ac_header in w32api.h
30394 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30395 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30397 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30398 echo $ECHO_N "(cached) $ECHO_C" >&6
30400 cat >conftest.$ac_ext <<_ACEOF
30403 cat confdefs.h >>conftest.$ac_ext
30404 cat >>conftest.$ac_ext <<_ACEOF
30405 /* end confdefs.h. */
30408 #include <$ac_header>
30410 rm -f conftest.$ac_objext
30411 if { (ac_try="$ac_compile"
30412 case "(($ac_try" in
30413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30414 *) ac_try_echo=$ac_try;;
30416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30417 (eval "$ac_compile") 2>conftest.er1
30419 grep -v '^ *+' conftest.er1 >conftest.err
30421 cat conftest.err >&5
30422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30423 (exit $ac_status); } && {
30424 test -z "$ac_c_werror_flag" ||
30425 test ! -s conftest.err
30426 } && test -s conftest.$ac_objext; then
30427 eval "$as_ac_Header=yes"
30429 echo "$as_me: failed program was:" >&5
30430 sed 's/^/| /' conftest.$ac_ext >&5
30432 eval "$as_ac_Header=no"
30435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30437 ac_res=`eval echo '${'$as_ac_Header'}'`
30438 { echo "$as_me:$LINENO: result: $ac_res" >&5
30439 echo "${ECHO_T}$ac_res" >&6; }
30440 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30441 cat >>confdefs.h <<_ACEOF
30442 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30449 { echo "$as_me:$LINENO: checking for windows.h" >&5
30450 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30451 if test "${ac_cv_header_windows_h+set}" = set; then
30452 echo $ECHO_N "(cached) $ECHO_C" >&6
30454 cat >conftest.$ac_ext <<_ACEOF
30457 cat confdefs.h >>conftest.$ac_ext
30458 cat >>conftest.$ac_ext <<_ACEOF
30459 /* end confdefs.h. */
30462 #include <windows.h>
30464 rm -f conftest.$ac_objext
30465 if { (ac_try="$ac_compile"
30466 case "(($ac_try" in
30467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30468 *) ac_try_echo=$ac_try;;
30470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30471 (eval "$ac_compile") 2>conftest.er1
30473 grep -v '^ *+' conftest.er1 >conftest.err
30475 cat conftest.err >&5
30476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30477 (exit $ac_status); } && {
30478 test -z "$ac_c_werror_flag" ||
30479 test ! -s conftest.err
30480 } && test -s conftest.$ac_objext; then
30481 ac_cv_header_windows_h=yes
30483 echo "$as_me: failed program was:" >&5
30484 sed 's/^/| /' conftest.$ac_ext >&5
30486 ac_cv_header_windows_h=no
30489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30491 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30492 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30493 if test $ac_cv_header_windows_h = yes; then
30497 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30498 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30499 { (exit 1); exit 1; }; }
30505 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30507 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30508 LIBS="$LIBS -loleacc"
30513 LIBS="$LIBS -lkernel32 -luser32"
30516 if test "$wxUSE_ODBC" = "sys" ; then
30519 if test "$wxUSE_ODBC" = "yes" ; then
30520 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30521 cat >>confdefs.h <<\_ACEOF
30522 #define wxUSE_ODBC 1
30527 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30528 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30530 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30532 WIN32INSTALL=win32install
30534 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30535 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30536 if test "${ac_cv_header_pbt_h+set}" = set; then
30537 echo $ECHO_N "(cached) $ECHO_C" >&6
30539 cat >conftest.$ac_ext <<_ACEOF
30542 cat confdefs.h >>conftest.$ac_ext
30543 cat >>conftest.$ac_ext <<_ACEOF
30544 /* end confdefs.h. */
30549 rm -f conftest.$ac_objext
30550 if { (ac_try="$ac_compile"
30551 case "(($ac_try" in
30552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30553 *) ac_try_echo=$ac_try;;
30555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30556 (eval "$ac_compile") 2>conftest.er1
30558 grep -v '^ *+' conftest.er1 >conftest.err
30560 cat conftest.err >&5
30561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30562 (exit $ac_status); } && {
30563 test -z "$ac_c_werror_flag" ||
30564 test ! -s conftest.err
30565 } && test -s conftest.$ac_objext; then
30566 ac_cv_header_pbt_h=yes
30568 echo "$as_me: failed program was:" >&5
30569 sed 's/^/| /' conftest.$ac_ext >&5
30571 ac_cv_header_pbt_h=no
30574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30576 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30577 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30578 if test $ac_cv_header_pbt_h = yes; then
30581 cat >>confdefs.h <<\_ACEOF
30582 #define NEED_PBT_H 1
30590 if test "$wxUSE_GUI" = "yes"; then
30600 if test "$wxUSE_COCOA" = 1 ; then
30601 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30602 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30603 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30604 wxUSE_PRINTING_ARCHITECTURE=no
30606 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30607 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30608 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30609 wxUSE_DRAG_AND_DROP=no
30611 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30612 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30613 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30618 if test "$wxUSE_MSW" = 1 ; then
30624 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30628 if test "$wxUSE_GTK" = 1; then
30629 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30630 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30632 gtk_version_cached=1
30633 if test "${wx_cv_lib_gtk+set}" = set; then
30634 echo $ECHO_N "(cached) $ECHO_C" >&6
30637 gtk_version_cached=0
30638 { echo "$as_me:$LINENO: result: " >&5
30639 echo "${ECHO_T}" >&6; }
30642 if test "$wxUSE_THREADS" = "yes"; then
30643 GTK_MODULES=gthread
30647 if test "x$wxGTK_VERSION" != "x1"
30651 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30656 # Check whether --enable-gtktest was given.
30657 if test "${enable_gtktest+set}" = set; then
30658 enableval=$enable_gtktest;
30664 pkg_config_args=gtk+-2.0
30665 for module in . $GTK_MODULES
30669 pkg_config_args="$pkg_config_args gthread-2.0"
30676 # Extract the first word of "pkg-config", so it can be a program name with args.
30677 set dummy pkg-config; ac_word=$2
30678 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30680 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30681 echo $ECHO_N "(cached) $ECHO_C" >&6
30683 case $PKG_CONFIG in
30685 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30689 for as_dir in $PATH
30692 test -z "$as_dir" && as_dir=.
30693 for ac_exec_ext in '' $ac_executable_extensions; do
30694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30695 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30703 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30707 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30708 if test -n "$PKG_CONFIG"; then
30709 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30710 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30712 { echo "$as_me:$LINENO: result: no" >&5
30713 echo "${ECHO_T}no" >&6; }
30718 if test x$PKG_CONFIG != xno ; then
30719 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30722 echo "*** pkg-config too old; version 0.7 or better required."
30730 min_gtk_version=2.0.0
30731 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30732 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30734 if test x$PKG_CONFIG != xno ; then
30735 ## don't try to run the test against uninstalled libtool libs
30736 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30737 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30741 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30748 if test x"$no_gtk" = x ; then
30749 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30750 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30751 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30752 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30753 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30754 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30755 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30756 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30757 if test "x$enable_gtktest" = "xyes" ; then
30758 ac_save_CFLAGS="$CFLAGS"
30759 ac_save_LIBS="$LIBS"
30760 CFLAGS="$CFLAGS $GTK_CFLAGS"
30761 LIBS="$GTK_LIBS $LIBS"
30763 if test "$cross_compiling" = yes; then
30764 echo $ac_n "cross compiling; assumed OK... $ac_c"
30766 cat >conftest.$ac_ext <<_ACEOF
30769 cat confdefs.h >>conftest.$ac_ext
30770 cat >>conftest.$ac_ext <<_ACEOF
30771 /* end confdefs.h. */
30773 #include <gtk/gtk.h>
30775 #include <stdlib.h>
30780 int major, minor, micro;
30783 system ("touch conf.gtktest");
30785 /* HP/UX 9 (%@#!) writes to sscanf strings */
30786 tmp_version = g_strdup("$min_gtk_version");
30787 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30788 printf("%s, bad version string\n", "$min_gtk_version");
30792 if ((gtk_major_version != $gtk_config_major_version) ||
30793 (gtk_minor_version != $gtk_config_minor_version) ||
30794 (gtk_micro_version != $gtk_config_micro_version))
30796 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30797 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30798 gtk_major_version, gtk_minor_version, gtk_micro_version);
30799 printf ("*** was found! If pkg-config was correct, then it is best\n");
30800 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30801 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30802 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30803 printf("*** required on your system.\n");
30804 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30805 printf("*** to point to the correct configuration files\n");
30807 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30808 (gtk_minor_version != GTK_MINOR_VERSION) ||
30809 (gtk_micro_version != GTK_MICRO_VERSION))
30811 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30812 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30813 printf("*** library (version %d.%d.%d)\n",
30814 gtk_major_version, gtk_minor_version, gtk_micro_version);
30818 if ((gtk_major_version > major) ||
30819 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30820 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30826 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30827 gtk_major_version, gtk_minor_version, gtk_micro_version);
30828 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30829 major, minor, micro);
30830 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30832 printf("*** If you have already installed a sufficiently new version, this error\n");
30833 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30834 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30835 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30836 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30837 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30838 printf("*** so that the correct libraries are found at run-time))\n");
30845 rm -f conftest$ac_exeext
30846 if { (ac_try="$ac_link"
30847 case "(($ac_try" in
30848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30849 *) ac_try_echo=$ac_try;;
30851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30852 (eval "$ac_link") 2>&5
30854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30856 { (case "(($ac_try" in
30857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30858 *) ac_try_echo=$ac_try;;
30860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30861 (eval "$ac_try") 2>&5
30863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30864 (exit $ac_status); }; }; then
30867 echo "$as_me: program exited with status $ac_status" >&5
30868 echo "$as_me: failed program was:" >&5
30869 sed 's/^/| /' conftest.$ac_ext >&5
30871 ( exit $ac_status )
30874 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30878 CFLAGS="$ac_save_CFLAGS"
30879 LIBS="$ac_save_LIBS"
30882 if test "x$no_gtk" = x ; then
30883 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30884 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30887 { echo "$as_me:$LINENO: result: no" >&5
30888 echo "${ECHO_T}no" >&6; }
30889 if test "$PKG_CONFIG" = "no" ; then
30890 echo "*** A new enough version of pkg-config was not found."
30891 echo "*** See http://pkgconfig.sourceforge.net"
30893 if test -f conf.gtktest ; then
30896 echo "*** Could not run GTK+ test program, checking why..."
30897 ac_save_CFLAGS="$CFLAGS"
30898 ac_save_LIBS="$LIBS"
30899 CFLAGS="$CFLAGS $GTK_CFLAGS"
30900 LIBS="$LIBS $GTK_LIBS"
30901 cat >conftest.$ac_ext <<_ACEOF
30904 cat confdefs.h >>conftest.$ac_ext
30905 cat >>conftest.$ac_ext <<_ACEOF
30906 /* end confdefs.h. */
30908 #include <gtk/gtk.h>
30914 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30919 rm -f conftest.$ac_objext conftest$ac_exeext
30920 if { (ac_try="$ac_link"
30921 case "(($ac_try" in
30922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30923 *) ac_try_echo=$ac_try;;
30925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30926 (eval "$ac_link") 2>conftest.er1
30928 grep -v '^ *+' conftest.er1 >conftest.err
30930 cat conftest.err >&5
30931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30932 (exit $ac_status); } && {
30933 test -z "$ac_c_werror_flag" ||
30934 test ! -s conftest.err
30935 } && test -s conftest$ac_exeext &&
30936 $as_test_x conftest$ac_exeext; then
30937 echo "*** The test program compiled, but did not run. This usually means"
30938 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30939 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30940 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30941 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30942 echo "*** is required on your system"
30944 echo "*** If you have an old version installed, it is best to remove it, although"
30945 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30947 echo "$as_me: failed program was:" >&5
30948 sed 's/^/| /' conftest.$ac_ext >&5
30950 echo "*** The test program failed to compile or link. See the file config.log for the"
30951 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30955 conftest$ac_exeext conftest.$ac_ext
30956 CFLAGS="$ac_save_CFLAGS"
30957 LIBS="$ac_save_LIBS"
30971 if test "$wxUSE_SHARED" != "yes"; then
30972 GTK_LIBS="$GTK_LIBS -lX11"
30977 if test -z "$wx_cv_lib_gtk"; then
30978 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30980 # Check whether --with-gtk-prefix was given.
30981 if test "${with_gtk_prefix+set}" = set; then
30982 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30984 gtk_config_prefix=""
30988 # Check whether --with-gtk-exec-prefix was given.
30989 if test "${with_gtk_exec_prefix+set}" = set; then
30990 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30992 gtk_config_exec_prefix=""
30995 # Check whether --enable-gtktest was given.
30996 if test "${enable_gtktest+set}" = set; then
30997 enableval=$enable_gtktest;
31003 for module in . $GTK_MODULES
31007 gtk_config_args="$gtk_config_args gthread"
31012 if test x$gtk_config_exec_prefix != x ; then
31013 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31014 if test x${GTK_CONFIG+set} != xset ; then
31015 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31018 if test x$gtk_config_prefix != x ; then
31019 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31020 if test x${GTK_CONFIG+set} != xset ; then
31021 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31025 # Extract the first word of "gtk-config", so it can be a program name with args.
31026 set dummy gtk-config; ac_word=$2
31027 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31029 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31030 echo $ECHO_N "(cached) $ECHO_C" >&6
31032 case $GTK_CONFIG in
31034 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31038 for as_dir in $PATH
31041 test -z "$as_dir" && as_dir=.
31042 for ac_exec_ext in '' $ac_executable_extensions; do
31043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31044 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31052 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31056 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31057 if test -n "$GTK_CONFIG"; then
31058 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31059 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31061 { echo "$as_me:$LINENO: result: no" >&5
31062 echo "${ECHO_T}no" >&6; }
31066 min_gtk_version=1.2.7
31067 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31068 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31070 if test "$GTK_CONFIG" = "no" ; then
31073 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31074 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31075 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31076 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31077 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31078 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31079 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31080 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31081 if test "x$enable_gtktest" = "xyes" ; then
31082 ac_save_CFLAGS="$CFLAGS"
31083 ac_save_LIBS="$LIBS"
31084 CFLAGS="$CFLAGS $GTK_CFLAGS"
31085 LIBS="$GTK_LIBS $LIBS"
31087 if test "$cross_compiling" = yes; then
31088 echo $ac_n "cross compiling; assumed OK... $ac_c"
31090 cat >conftest.$ac_ext <<_ACEOF
31093 cat confdefs.h >>conftest.$ac_ext
31094 cat >>conftest.$ac_ext <<_ACEOF
31095 /* end confdefs.h. */
31097 #include <gtk/gtk.h>
31099 #include <stdlib.h>
31104 int major, minor, micro;
31107 system ("touch conf.gtktest");
31109 /* HP/UX 9 (%@#!) writes to sscanf strings */
31110 tmp_version = g_strdup("$min_gtk_version");
31111 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31112 printf("%s, bad version string\n", "$min_gtk_version");
31116 if ((gtk_major_version != $gtk_config_major_version) ||
31117 (gtk_minor_version != $gtk_config_minor_version) ||
31118 (gtk_micro_version != $gtk_config_micro_version))
31120 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31121 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31122 gtk_major_version, gtk_minor_version, gtk_micro_version);
31123 printf ("*** was found! If gtk-config was correct, then it is best\n");
31124 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31125 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31126 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31127 printf("*** required on your system.\n");
31128 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31129 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31130 printf("*** before re-running configure\n");
31132 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31133 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31134 (gtk_minor_version != GTK_MINOR_VERSION) ||
31135 (gtk_micro_version != GTK_MICRO_VERSION))
31137 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31138 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31139 printf("*** library (version %d.%d.%d)\n",
31140 gtk_major_version, gtk_minor_version, gtk_micro_version);
31142 #endif /* defined (GTK_MAJOR_VERSION) ... */
31145 if ((gtk_major_version > major) ||
31146 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31147 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31153 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31154 gtk_major_version, gtk_minor_version, gtk_micro_version);
31155 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31156 major, minor, micro);
31157 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31159 printf("*** If you have already installed a sufficiently new version, this error\n");
31160 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31161 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31162 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31163 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31164 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31165 printf("*** so that the correct libraries are found at run-time))\n");
31172 rm -f conftest$ac_exeext
31173 if { (ac_try="$ac_link"
31174 case "(($ac_try" in
31175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31176 *) ac_try_echo=$ac_try;;
31178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31179 (eval "$ac_link") 2>&5
31181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31182 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31183 { (case "(($ac_try" in
31184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31185 *) ac_try_echo=$ac_try;;
31187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31188 (eval "$ac_try") 2>&5
31190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31191 (exit $ac_status); }; }; then
31194 echo "$as_me: program exited with status $ac_status" >&5
31195 echo "$as_me: failed program was:" >&5
31196 sed 's/^/| /' conftest.$ac_ext >&5
31198 ( exit $ac_status )
31201 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31205 CFLAGS="$ac_save_CFLAGS"
31206 LIBS="$ac_save_LIBS"
31209 if test "x$no_gtk" = x ; then
31210 { echo "$as_me:$LINENO: result: yes" >&5
31211 echo "${ECHO_T}yes" >&6; }
31212 wx_cv_lib_gtk=1.2.7
31214 { echo "$as_me:$LINENO: result: no" >&5
31215 echo "${ECHO_T}no" >&6; }
31216 if test "$GTK_CONFIG" = "no" ; then
31217 echo "*** The gtk-config script installed by GTK could not be found"
31218 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31219 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31220 echo "*** full path to gtk-config."
31222 if test -f conf.gtktest ; then
31225 echo "*** Could not run GTK test program, checking why..."
31226 CFLAGS="$CFLAGS $GTK_CFLAGS"
31227 LIBS="$LIBS $GTK_LIBS"
31228 cat >conftest.$ac_ext <<_ACEOF
31231 cat confdefs.h >>conftest.$ac_ext
31232 cat >>conftest.$ac_ext <<_ACEOF
31233 /* end confdefs.h. */
31235 #include <gtk/gtk.h>
31241 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31246 rm -f conftest.$ac_objext conftest$ac_exeext
31247 if { (ac_try="$ac_link"
31248 case "(($ac_try" in
31249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31250 *) ac_try_echo=$ac_try;;
31252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31253 (eval "$ac_link") 2>conftest.er1
31255 grep -v '^ *+' conftest.er1 >conftest.err
31257 cat conftest.err >&5
31258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31259 (exit $ac_status); } && {
31260 test -z "$ac_c_werror_flag" ||
31261 test ! -s conftest.err
31262 } && test -s conftest$ac_exeext &&
31263 $as_test_x conftest$ac_exeext; then
31264 echo "*** The test program compiled, but did not run. This usually means"
31265 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31266 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31267 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31268 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31269 echo "*** is required on your system"
31271 echo "*** If you have an old version installed, it is best to remove it, although"
31272 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31274 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31275 echo "*** came with the system with the command"
31277 echo "*** rpm --erase --nodeps gtk gtk-devel"
31279 echo "$as_me: failed program was:" >&5
31280 sed 's/^/| /' conftest.$ac_ext >&5
31282 echo "*** The test program failed to compile or link. See the file config.log for the"
31283 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31284 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31285 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31289 conftest$ac_exeext conftest.$ac_ext
31290 CFLAGS="$ac_save_CFLAGS"
31291 LIBS="$ac_save_LIBS"
31303 if test -z "$wx_cv_lib_gtk"; then
31305 # Check whether --with-gtk-prefix was given.
31306 if test "${with_gtk_prefix+set}" = set; then
31307 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31309 gtk_config_prefix=""
31313 # Check whether --with-gtk-exec-prefix was given.
31314 if test "${with_gtk_exec_prefix+set}" = set; then
31315 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31317 gtk_config_exec_prefix=""
31320 # Check whether --enable-gtktest was given.
31321 if test "${enable_gtktest+set}" = set; then
31322 enableval=$enable_gtktest;
31328 for module in . $GTK_MODULES
31332 gtk_config_args="$gtk_config_args gthread"
31337 if test x$gtk_config_exec_prefix != x ; then
31338 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31339 if test x${GTK_CONFIG+set} != xset ; then
31340 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31343 if test x$gtk_config_prefix != x ; then
31344 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31345 if test x${GTK_CONFIG+set} != xset ; then
31346 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31350 # Extract the first word of "gtk-config", so it can be a program name with args.
31351 set dummy gtk-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_GTK_CONFIG+set}" = set; then
31355 echo $ECHO_N "(cached) $ECHO_C" >&6
31357 case $GTK_CONFIG in
31359 ac_cv_path_GTK_CONFIG="$GTK_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_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31369 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31377 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31381 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31382 if test -n "$GTK_CONFIG"; then
31383 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31384 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31386 { echo "$as_me:$LINENO: result: no" >&5
31387 echo "${ECHO_T}no" >&6; }
31391 min_gtk_version=1.2.3
31392 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31393 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31395 if test "$GTK_CONFIG" = "no" ; then
31398 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31399 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31400 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31401 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31402 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31403 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31404 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31405 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31406 if test "x$enable_gtktest" = "xyes" ; then
31407 ac_save_CFLAGS="$CFLAGS"
31408 ac_save_LIBS="$LIBS"
31409 CFLAGS="$CFLAGS $GTK_CFLAGS"
31410 LIBS="$GTK_LIBS $LIBS"
31412 if test "$cross_compiling" = yes; then
31413 echo $ac_n "cross compiling; assumed OK... $ac_c"
31415 cat >conftest.$ac_ext <<_ACEOF
31418 cat confdefs.h >>conftest.$ac_ext
31419 cat >>conftest.$ac_ext <<_ACEOF
31420 /* end confdefs.h. */
31422 #include <gtk/gtk.h>
31424 #include <stdlib.h>
31429 int major, minor, micro;
31432 system ("touch conf.gtktest");
31434 /* HP/UX 9 (%@#!) writes to sscanf strings */
31435 tmp_version = g_strdup("$min_gtk_version");
31436 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31437 printf("%s, bad version string\n", "$min_gtk_version");
31441 if ((gtk_major_version != $gtk_config_major_version) ||
31442 (gtk_minor_version != $gtk_config_minor_version) ||
31443 (gtk_micro_version != $gtk_config_micro_version))
31445 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31446 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31447 gtk_major_version, gtk_minor_version, gtk_micro_version);
31448 printf ("*** was found! If gtk-config was correct, then it is best\n");
31449 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31450 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31451 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31452 printf("*** required on your system.\n");
31453 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31454 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31455 printf("*** before re-running configure\n");
31457 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31458 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31459 (gtk_minor_version != GTK_MINOR_VERSION) ||
31460 (gtk_micro_version != GTK_MICRO_VERSION))
31462 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31463 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31464 printf("*** library (version %d.%d.%d)\n",
31465 gtk_major_version, gtk_minor_version, gtk_micro_version);
31467 #endif /* defined (GTK_MAJOR_VERSION) ... */
31470 if ((gtk_major_version > major) ||
31471 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31472 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31478 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31479 gtk_major_version, gtk_minor_version, gtk_micro_version);
31480 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31481 major, minor, micro);
31482 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31484 printf("*** If you have already installed a sufficiently new version, this error\n");
31485 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31486 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31487 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31488 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31489 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31490 printf("*** so that the correct libraries are found at run-time))\n");
31497 rm -f conftest$ac_exeext
31498 if { (ac_try="$ac_link"
31499 case "(($ac_try" in
31500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31501 *) ac_try_echo=$ac_try;;
31503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31504 (eval "$ac_link") 2>&5
31506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31507 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31508 { (case "(($ac_try" in
31509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31510 *) ac_try_echo=$ac_try;;
31512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31513 (eval "$ac_try") 2>&5
31515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31516 (exit $ac_status); }; }; then
31519 echo "$as_me: program exited with status $ac_status" >&5
31520 echo "$as_me: failed program was:" >&5
31521 sed 's/^/| /' conftest.$ac_ext >&5
31523 ( exit $ac_status )
31526 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31530 CFLAGS="$ac_save_CFLAGS"
31531 LIBS="$ac_save_LIBS"
31534 if test "x$no_gtk" = x ; then
31535 { echo "$as_me:$LINENO: result: yes" >&5
31536 echo "${ECHO_T}yes" >&6; }
31537 wx_cv_lib_gtk=1.2.3
31539 { echo "$as_me:$LINENO: result: no" >&5
31540 echo "${ECHO_T}no" >&6; }
31541 if test "$GTK_CONFIG" = "no" ; then
31542 echo "*** The gtk-config script installed by GTK could not be found"
31543 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31544 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31545 echo "*** full path to gtk-config."
31547 if test -f conf.gtktest ; then
31550 echo "*** Could not run GTK test program, checking why..."
31551 CFLAGS="$CFLAGS $GTK_CFLAGS"
31552 LIBS="$LIBS $GTK_LIBS"
31553 cat >conftest.$ac_ext <<_ACEOF
31556 cat confdefs.h >>conftest.$ac_ext
31557 cat >>conftest.$ac_ext <<_ACEOF
31558 /* end confdefs.h. */
31560 #include <gtk/gtk.h>
31566 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31571 rm -f conftest.$ac_objext conftest$ac_exeext
31572 if { (ac_try="$ac_link"
31573 case "(($ac_try" in
31574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31575 *) ac_try_echo=$ac_try;;
31577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31578 (eval "$ac_link") 2>conftest.er1
31580 grep -v '^ *+' conftest.er1 >conftest.err
31582 cat conftest.err >&5
31583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31584 (exit $ac_status); } && {
31585 test -z "$ac_c_werror_flag" ||
31586 test ! -s conftest.err
31587 } && test -s conftest$ac_exeext &&
31588 $as_test_x conftest$ac_exeext; then
31589 echo "*** The test program compiled, but did not run. This usually means"
31590 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31591 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31592 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31593 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31594 echo "*** is required on your system"
31596 echo "*** If you have an old version installed, it is best to remove it, although"
31597 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31599 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31600 echo "*** came with the system with the command"
31602 echo "*** rpm --erase --nodeps gtk gtk-devel"
31604 echo "$as_me: failed program was:" >&5
31605 sed 's/^/| /' conftest.$ac_ext >&5
31607 echo "*** The test program failed to compile or link. See the file config.log for the"
31608 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31609 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31610 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31614 conftest$ac_exeext conftest.$ac_ext
31615 CFLAGS="$ac_save_CFLAGS"
31616 LIBS="$ac_save_LIBS"
31631 if test -z "$wx_cv_lib_gtk"; then
31634 wx_cv_cflags_gtk=$GTK_CFLAGS
31635 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31642 if test "$gtk_version_cached" = 1; then
31643 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31644 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31647 case "$wx_cv_lib_gtk" in
31656 *) { { echo "$as_me:$LINENO: error:
31657 The development files for GTK+ were not found. For GTK+ 2, please
31658 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31659 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31660 and that the version is 1.2.3 or above. Also check that the
31661 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31662 --libs' are in the LD_LIBRARY_PATH or equivalent.
31664 echo "$as_me: error:
31665 The development files for GTK+ were not found. For GTK+ 2, please
31666 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31667 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31668 and that the version is 1.2.3 or above. Also check that the
31669 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31670 --libs' are in the LD_LIBRARY_PATH or equivalent.
31672 { (exit 1); exit 1; }; }
31676 if test "$WXGTK20" = 1; then
31677 save_CFLAGS="$CFLAGS"
31679 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31680 LIBS="$LIBS $wx_cv_libs_gtk"
31682 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31683 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31684 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31685 echo $ECHO_N "(cached) $ECHO_C" >&6
31687 cat >conftest.$ac_ext <<_ACEOF
31690 cat confdefs.h >>conftest.$ac_ext
31691 cat >>conftest.$ac_ext <<_ACEOF
31692 /* end confdefs.h. */
31693 #include <gtk/gtk.h>
31698 #ifndef gtk_icon_size_lookup
31699 (void) gtk_icon_size_lookup;
31706 rm -f conftest.$ac_objext
31707 if { (ac_try="$ac_compile"
31708 case "(($ac_try" in
31709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31710 *) ac_try_echo=$ac_try;;
31712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31713 (eval "$ac_compile") 2>conftest.er1
31715 grep -v '^ *+' conftest.er1 >conftest.err
31717 cat conftest.err >&5
31718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31719 (exit $ac_status); } && {
31720 test -z "$ac_c_werror_flag" ||
31721 test ! -s conftest.err
31722 } && test -s conftest.$ac_objext; then
31723 ac_cv_have_decl_gtk_icon_size_lookup=yes
31725 echo "$as_me: failed program was:" >&5
31726 sed 's/^/| /' conftest.$ac_ext >&5
31728 ac_cv_have_decl_gtk_icon_size_lookup=no
31731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31733 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31734 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31735 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31737 cat >>confdefs.h <<_ACEOF
31738 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31743 cat >>confdefs.h <<_ACEOF
31744 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31747 cat >>confdefs.h <<\_ACEOF
31748 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31756 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31757 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31758 cat >conftest.$ac_ext <<_ACEOF
31761 cat confdefs.h >>conftest.$ac_ext
31762 cat >>conftest.$ac_ext <<_ACEOF
31763 /* end confdefs.h. */
31765 #include <gtk/gtk.h>
31771 #if !GTK_CHECK_VERSION(2,10,0)
31779 rm -f conftest.$ac_objext
31780 if { (ac_try="$ac_compile"
31781 case "(($ac_try" in
31782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31783 *) ac_try_echo=$ac_try;;
31785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31786 (eval "$ac_compile") 2>conftest.er1
31788 grep -v '^ *+' conftest.er1 >conftest.err
31790 cat conftest.err >&5
31791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31792 (exit $ac_status); } && {
31793 test -z "$ac_c_werror_flag" ||
31794 test ! -s conftest.err
31795 } && test -s conftest.$ac_objext; then
31797 cat >>confdefs.h <<\_ACEOF
31798 #define __WXGTK210__ 1
31801 cat >>confdefs.h <<\_ACEOF
31802 #define __WXGTK26__ 1
31805 cat >>confdefs.h <<\_ACEOF
31806 #define __WXGTK24__ 1
31809 { echo "$as_me:$LINENO: result: yes" >&5
31810 echo "${ECHO_T}yes" >&6; }
31814 echo "$as_me: failed program was:" >&5
31815 sed 's/^/| /' conftest.$ac_ext >&5
31818 { echo "$as_me:$LINENO: result: no" >&5
31819 echo "${ECHO_T}no" >&6; }
31824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31826 if test "$ac_wxgtk210" = 0; then
31827 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31828 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31829 cat >conftest.$ac_ext <<_ACEOF
31832 cat confdefs.h >>conftest.$ac_ext
31833 cat >>conftest.$ac_ext <<_ACEOF
31834 /* end confdefs.h. */
31836 #include <gtk/gtk.h>
31842 #if !GTK_CHECK_VERSION(2,6,0)
31850 rm -f conftest.$ac_objext
31851 if { (ac_try="$ac_compile"
31852 case "(($ac_try" in
31853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31854 *) ac_try_echo=$ac_try;;
31856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31857 (eval "$ac_compile") 2>conftest.er1
31859 grep -v '^ *+' conftest.er1 >conftest.err
31861 cat conftest.err >&5
31862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31863 (exit $ac_status); } && {
31864 test -z "$ac_c_werror_flag" ||
31865 test ! -s conftest.err
31866 } && test -s conftest.$ac_objext; then
31868 cat >>confdefs.h <<\_ACEOF
31869 #define __WXGTK26__ 1
31872 cat >>confdefs.h <<\_ACEOF
31873 #define __WXGTK24__ 1
31876 { echo "$as_me:$LINENO: result: yes" >&5
31877 echo "${ECHO_T}yes" >&6; }
31881 echo "$as_me: failed program was:" >&5
31882 sed 's/^/| /' conftest.$ac_ext >&5
31885 { echo "$as_me:$LINENO: result: no" >&5
31886 echo "${ECHO_T}no" >&6; }
31891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31894 if test "$ac_wxgtk26" = 0; then
31895 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31896 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31897 cat >conftest.$ac_ext <<_ACEOF
31900 cat confdefs.h >>conftest.$ac_ext
31901 cat >>conftest.$ac_ext <<_ACEOF
31902 /* end confdefs.h. */
31904 #include <gtk/gtk.h>
31910 #if !GTK_CHECK_VERSION(2,4,0)
31918 rm -f conftest.$ac_objext
31919 if { (ac_try="$ac_compile"
31920 case "(($ac_try" in
31921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31922 *) ac_try_echo=$ac_try;;
31924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31925 (eval "$ac_compile") 2>conftest.er1
31927 grep -v '^ *+' conftest.er1 >conftest.err
31929 cat conftest.err >&5
31930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31931 (exit $ac_status); } && {
31932 test -z "$ac_c_werror_flag" ||
31933 test ! -s conftest.err
31934 } && test -s conftest.$ac_objext; then
31936 cat >>confdefs.h <<\_ACEOF
31937 #define __WXGTK24__ 1
31940 { echo "$as_me:$LINENO: result: yes" >&5
31941 echo "${ECHO_T}yes" >&6; }
31944 echo "$as_me: failed program was:" >&5
31945 sed 's/^/| /' conftest.$ac_ext >&5
31948 { echo "$as_me:$LINENO: result: no" >&5
31949 echo "${ECHO_T}no" >&6; }
31953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31956 CFLAGS="$save_CFLAGS"
31959 if test "$wxUSE_UNICODE" = "yes"; then
31960 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31961 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31965 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31966 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31967 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31968 echo $ECHO_N "(cached) $ECHO_C" >&6
31970 ac_check_lib_save_LIBS=$LIBS
31972 cat >conftest.$ac_ext <<_ACEOF
31975 cat confdefs.h >>conftest.$ac_ext
31976 cat >>conftest.$ac_ext <<_ACEOF
31977 /* end confdefs.h. */
31979 /* Override any GCC internal prototype to avoid an error.
31980 Use char because int might match the return type of a GCC
31981 builtin and then its argument prototype would still apply. */
31985 char gdk_im_open ();
31989 return gdk_im_open ();
31994 rm -f conftest.$ac_objext conftest$ac_exeext
31995 if { (ac_try="$ac_link"
31996 case "(($ac_try" in
31997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31998 *) ac_try_echo=$ac_try;;
32000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32001 (eval "$ac_link") 2>conftest.er1
32003 grep -v '^ *+' conftest.er1 >conftest.err
32005 cat conftest.err >&5
32006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32007 (exit $ac_status); } && {
32008 test -z "$ac_c_werror_flag" ||
32009 test ! -s conftest.err
32010 } && test -s conftest$ac_exeext &&
32011 $as_test_x conftest$ac_exeext; then
32012 ac_cv_lib_gdk_gdk_im_open=yes
32014 echo "$as_me: failed program was:" >&5
32015 sed 's/^/| /' conftest.$ac_ext >&5
32017 ac_cv_lib_gdk_gdk_im_open=no
32020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32021 conftest$ac_exeext conftest.$ac_ext
32022 LIBS=$ac_check_lib_save_LIBS
32024 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
32025 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
32026 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
32027 cat >>confdefs.h <<\_ACEOF
32034 if test "$USE_DARWIN" != 1; then
32036 for ac_func in poll
32038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32039 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32041 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32042 echo $ECHO_N "(cached) $ECHO_C" >&6
32044 cat >conftest.$ac_ext <<_ACEOF
32047 cat confdefs.h >>conftest.$ac_ext
32048 cat >>conftest.$ac_ext <<_ACEOF
32049 /* end confdefs.h. */
32050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32052 #define $ac_func innocuous_$ac_func
32054 /* System header to define __stub macros and hopefully few prototypes,
32055 which can conflict with char $ac_func (); below.
32056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32057 <limits.h> exists even on freestanding compilers. */
32060 # include <limits.h>
32062 # include <assert.h>
32067 /* Override any GCC internal prototype to avoid an error.
32068 Use char because int might match the return type of a GCC
32069 builtin and then its argument prototype would still apply. */
32074 /* The GNU C library defines this for functions which it implements
32075 to always fail with ENOSYS. Some functions are actually named
32076 something starting with __ and the normal name is an alias. */
32077 #if defined __stub_$ac_func || defined __stub___$ac_func
32084 return $ac_func ();
32089 rm -f conftest.$ac_objext conftest$ac_exeext
32090 if { (ac_try="$ac_link"
32091 case "(($ac_try" in
32092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32093 *) ac_try_echo=$ac_try;;
32095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32096 (eval "$ac_link") 2>conftest.er1
32098 grep -v '^ *+' conftest.er1 >conftest.err
32100 cat conftest.err >&5
32101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32102 (exit $ac_status); } && {
32103 test -z "$ac_c_werror_flag" ||
32104 test ! -s conftest.err
32105 } && test -s conftest$ac_exeext &&
32106 $as_test_x conftest$ac_exeext; then
32107 eval "$as_ac_var=yes"
32109 echo "$as_me: failed program was:" >&5
32110 sed 's/^/| /' conftest.$ac_ext >&5
32112 eval "$as_ac_var=no"
32115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32116 conftest$ac_exeext conftest.$ac_ext
32118 ac_res=`eval echo '${'$as_ac_var'}'`
32119 { echo "$as_me:$LINENO: result: $ac_res" >&5
32120 echo "${ECHO_T}$ac_res" >&6; }
32121 if test `eval echo '${'$as_ac_var'}'` = yes; then
32122 cat >>confdefs.h <<_ACEOF
32123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32132 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
32133 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
32135 AFMINSTALL=afminstall
32139 if test "$wxUSE_GPE" = "yes"; then
32140 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
32141 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
32144 for ac_dir in $SEARCH_LIB;
32146 for ac_extension in a so sl dylib dll.a; do
32147 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32148 ac_find_libraries=$ac_dir
32154 if test "$ac_find_libraries" != "" ; then
32156 if test "$ac_find_libraries" = "default location"; then
32159 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32161 if test $result = 0; then
32164 ac_path_to_link=" -L$ac_find_libraries"
32168 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32170 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32171 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32173 { echo "$as_me:$LINENO: result: not found" >&5
32174 echo "${ECHO_T}not found" >&6; }
32180 if test "$wxUSE_MGL" = 1; then
32181 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32182 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32183 if test "x$MGL_ROOT" = x ; then
32184 { echo "$as_me:$LINENO: result: not found" >&5
32185 echo "${ECHO_T}not found" >&6; }
32186 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32187 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32188 { (exit 1); exit 1; }; }
32190 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32191 echo "${ECHO_T}$MGL_ROOT" >&6; }
32194 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32195 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32198 if test "x$wxUSE_SHARED" = xyes ; then
32199 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32201 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32205 mgl_os_candidates="dos32/dj2"
32208 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32209 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32210 { (exit 1); exit 1; }; }
32216 for mgl_os_i in $mgl_os_candidates ; do
32217 if test "x$mgl_os" = x ; then
32218 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32219 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32220 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32225 if test "x$mgl_lib_type" = x ; then
32226 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32227 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32228 mgl_lib_type=release
32235 if test "x$mgl_os" = x ; then
32236 { echo "$as_me:$LINENO: result: not found" >&5
32237 echo "${ECHO_T}not found" >&6; }
32238 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32239 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32240 { (exit 1); exit 1; }; }
32242 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32243 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32245 wxUSE_UNIVERSAL="yes"
32247 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32248 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32250 AFMINSTALL=afminstall
32255 if test "$wxUSE_DFB" = 1; then
32258 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32259 if test -n "$ac_tool_prefix"; then
32260 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32261 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32264 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32265 echo $ECHO_N "(cached) $ECHO_C" >&6
32267 case $PKG_CONFIG in
32269 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32273 for as_dir in $PATH
32276 test -z "$as_dir" && as_dir=.
32277 for ac_exec_ext in '' $ac_executable_extensions; do
32278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32279 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32290 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32291 if test -n "$PKG_CONFIG"; then
32292 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32293 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32295 { echo "$as_me:$LINENO: result: no" >&5
32296 echo "${ECHO_T}no" >&6; }
32301 if test -z "$ac_cv_path_PKG_CONFIG"; then
32302 ac_pt_PKG_CONFIG=$PKG_CONFIG
32303 # Extract the first word of "pkg-config", so it can be a program name with args.
32304 set dummy pkg-config; ac_word=$2
32305 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32307 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32308 echo $ECHO_N "(cached) $ECHO_C" >&6
32310 case $ac_pt_PKG_CONFIG in
32312 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32316 for as_dir in $PATH
32319 test -z "$as_dir" && as_dir=.
32320 for ac_exec_ext in '' $ac_executable_extensions; do
32321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32322 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32333 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32334 if test -n "$ac_pt_PKG_CONFIG"; then
32335 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32336 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32338 { echo "$as_me:$LINENO: result: no" >&5
32339 echo "${ECHO_T}no" >&6; }
32342 if test "x$ac_pt_PKG_CONFIG" = x; then
32345 case $cross_compiling:$ac_tool_warned in
32347 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32348 whose name does not start with the host triplet. If you think this
32349 configuration is useful to you, please write to autoconf@gnu.org." >&5
32350 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32351 whose name does not start with the host triplet. If you think this
32352 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32353 ac_tool_warned=yes ;;
32355 PKG_CONFIG=$ac_pt_PKG_CONFIG
32358 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32362 if test -n "$PKG_CONFIG"; then
32363 _pkg_min_version=0.9.0
32364 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32365 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32366 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32367 { echo "$as_me:$LINENO: result: yes" >&5
32368 echo "${ECHO_T}yes" >&6; }
32370 { echo "$as_me:$LINENO: result: no" >&5
32371 echo "${ECHO_T}no" >&6; }
32379 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32380 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32382 if test -n "$PKG_CONFIG"; then
32383 if test -n "$DIRECTFB_CFLAGS"; then
32384 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32386 if test -n "$PKG_CONFIG" && \
32387 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32388 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32391 (exit $ac_status); }; then
32392 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32400 if test -n "$PKG_CONFIG"; then
32401 if test -n "$DIRECTFB_LIBS"; then
32402 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32404 if test -n "$PKG_CONFIG" && \
32405 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32406 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32409 (exit $ac_status); }; then
32410 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32421 if test $pkg_failed = yes; then
32423 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32424 _pkg_short_errors_supported=yes
32426 _pkg_short_errors_supported=no
32428 if test $_pkg_short_errors_supported = yes; then
32429 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32431 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32433 # Put the nasty error message in config.log where it belongs
32434 echo "$DIRECTFB_PKG_ERRORS" >&5
32437 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32438 echo "$as_me: error: DirectFB not found." >&2;}
32439 { (exit 1); exit 1; }; }
32442 elif test $pkg_failed = untried; then
32444 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32445 echo "$as_me: error: DirectFB not found." >&2;}
32446 { (exit 1); exit 1; }; }
32450 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32451 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32452 { echo "$as_me:$LINENO: result: yes" >&5
32453 echo "${ECHO_T}yes" >&6; }
32455 wxUSE_UNIVERSAL="yes"
32456 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32457 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32464 if test "$wxUSE_MICROWIN" = 1; then
32465 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32466 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32467 if test "x$MICROWINDOWS" = x ; then
32468 { echo "$as_me:$LINENO: result: not found" >&5
32469 echo "${ECHO_T}not found" >&6; }
32470 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32471 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32472 { (exit 1); exit 1; }; }
32474 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32475 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32478 if test -f $MICROWINDOWS/lib/libmwin.a; then
32479 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32480 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32482 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32483 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32484 { (exit 1); exit 1; }; }
32487 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32488 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32490 wxUSE_UNIVERSAL="yes"
32492 AFMINSTALL=afminstall
32494 GUIDIST=MICROWIN_DIST
32496 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32499 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32500 { echo "$as_me:$LINENO: checking for X" >&5
32501 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32504 # Check whether --with-x was given.
32505 if test "${with_x+set}" = set; then
32509 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32510 if test "x$with_x" = xno; then
32511 # The user explicitly disabled X.
32514 case $x_includes,$x_libraries in #(
32515 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32516 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32517 { (exit 1); exit 1; }; };; #(
32518 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32519 echo $ECHO_N "(cached) $ECHO_C" >&6
32521 # One or both of the vars are not set, and there is no cached value.
32522 ac_x_includes=no ac_x_libraries=no
32523 rm -f -r conftest.dir
32524 if mkdir conftest.dir; then
32526 cat >Imakefile <<'_ACEOF'
32528 @echo incroot='${INCROOT}'
32530 @echo usrlibdir='${USRLIBDIR}'
32532 @echo libdir='${LIBDIR}'
32534 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32535 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32536 for ac_var in incroot usrlibdir libdir; do
32537 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32539 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32540 for ac_extension in a so sl; do
32541 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32542 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32543 ac_im_usrlibdir=$ac_im_libdir; break
32546 # Screen out bogus values from the imake configuration. They are
32547 # bogus both because they are the default anyway, and because
32548 # using them would break gcc on systems where it needs fixed includes.
32549 case $ac_im_incroot in
32550 /usr/include) ac_x_includes= ;;
32551 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32553 case $ac_im_usrlibdir in
32554 /usr/lib | /lib) ;;
32555 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32559 rm -f -r conftest.dir
32562 # Standard set of common directories for X headers.
32563 # Check X11 before X11Rn because it is often a symlink to the current release.
32575 /usr/local/X11/include
32576 /usr/local/X11R6/include
32577 /usr/local/X11R5/include
32578 /usr/local/X11R4/include
32580 /usr/local/include/X11
32581 /usr/local/include/X11R6
32582 /usr/local/include/X11R5
32583 /usr/local/include/X11R4
32587 /usr/XFree86/include/X11
32591 /usr/unsupported/include
32592 /usr/athena/include
32593 /usr/local/x11r5/include
32594 /usr/lpp/Xamples/include
32596 /usr/openwin/include
32597 /usr/openwin/share/include'
32599 if test "$ac_x_includes" = no; then
32600 # Guess where to find include files, by looking for Xlib.h.
32601 # First, try using that file with no special directory specified.
32602 cat >conftest.$ac_ext <<_ACEOF
32605 cat confdefs.h >>conftest.$ac_ext
32606 cat >>conftest.$ac_ext <<_ACEOF
32607 /* end confdefs.h. */
32608 #include <X11/Xlib.h>
32610 if { (ac_try="$ac_cpp conftest.$ac_ext"
32611 case "(($ac_try" in
32612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32613 *) ac_try_echo=$ac_try;;
32615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32616 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32618 grep -v '^ *+' conftest.er1 >conftest.err
32620 cat conftest.err >&5
32621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32622 (exit $ac_status); } >/dev/null && {
32623 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32624 test ! -s conftest.err
32626 # We can compile using X headers with no special include directory.
32629 echo "$as_me: failed program was:" >&5
32630 sed 's/^/| /' conftest.$ac_ext >&5
32632 for ac_dir in $ac_x_header_dirs; do
32633 if test -r "$ac_dir/X11/Xlib.h"; then
32634 ac_x_includes=$ac_dir
32640 rm -f conftest.err conftest.$ac_ext
32641 fi # $ac_x_includes = no
32643 if test "$ac_x_libraries" = no; then
32644 # Check for the libraries.
32645 # See if we find them without any special options.
32646 # Don't add to $LIBS permanently.
32649 cat >conftest.$ac_ext <<_ACEOF
32652 cat confdefs.h >>conftest.$ac_ext
32653 cat >>conftest.$ac_ext <<_ACEOF
32654 /* end confdefs.h. */
32655 #include <X11/Xlib.h>
32664 rm -f conftest.$ac_objext conftest$ac_exeext
32665 if { (ac_try="$ac_link"
32666 case "(($ac_try" in
32667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32668 *) ac_try_echo=$ac_try;;
32670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32671 (eval "$ac_link") 2>conftest.er1
32673 grep -v '^ *+' conftest.er1 >conftest.err
32675 cat conftest.err >&5
32676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32677 (exit $ac_status); } && {
32678 test -z "$ac_c_werror_flag" ||
32679 test ! -s conftest.err
32680 } && test -s conftest$ac_exeext &&
32681 $as_test_x conftest$ac_exeext; then
32683 # We can link X programs with no special library path.
32686 echo "$as_me: failed program was:" >&5
32687 sed 's/^/| /' conftest.$ac_ext >&5
32690 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32692 # Don't even attempt the hair of trying to link an X program!
32693 for ac_extension in a so sl; do
32694 if test -r "$ac_dir/libX11.$ac_extension"; then
32695 ac_x_libraries=$ac_dir
32702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32703 conftest$ac_exeext conftest.$ac_ext
32704 fi # $ac_x_libraries = no
32706 case $ac_x_includes,$ac_x_libraries in #(
32707 no,* | *,no | *\'*)
32708 # Didn't find X, or a directory has "'" in its name.
32709 ac_cv_have_x="have_x=no";; #(
32711 # Record where we found X for the cache.
32712 ac_cv_have_x="have_x=yes\
32713 ac_x_includes='$ac_x_includes'\
32714 ac_x_libraries='$ac_x_libraries'"
32720 eval "$ac_cv_have_x"
32723 if test "$have_x" != yes; then
32724 { echo "$as_me:$LINENO: result: $have_x" >&5
32725 echo "${ECHO_T}$have_x" >&6; }
32728 # If each of the values was on the command line, it overrides each guess.
32729 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32730 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32731 # Update the cache value to reflect the command line values.
32732 ac_cv_have_x="have_x=yes\
32733 ac_x_includes='$x_includes'\
32734 ac_x_libraries='$x_libraries'"
32735 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32736 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32739 if test "$no_x" = yes; then
32740 # Not all programs may use this symbol, but it does not hurt to define it.
32742 cat >>confdefs.h <<\_ACEOF
32743 #define X_DISPLAY_MISSING 1
32746 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32748 if test -n "$x_includes"; then
32749 X_CFLAGS="$X_CFLAGS -I$x_includes"
32752 # It would also be nice to do this for all -L options, not just this one.
32753 if test -n "$x_libraries"; then
32754 X_LIBS="$X_LIBS -L$x_libraries"
32755 # For Solaris; some versions of Sun CC require a space after -R and
32756 # others require no space. Words are not sufficient . . . .
32757 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32758 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32759 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32760 ac_xsave_c_werror_flag=$ac_c_werror_flag
32761 ac_c_werror_flag=yes
32762 cat >conftest.$ac_ext <<_ACEOF
32765 cat confdefs.h >>conftest.$ac_ext
32766 cat >>conftest.$ac_ext <<_ACEOF
32767 /* end confdefs.h. */
32777 rm -f conftest.$ac_objext conftest$ac_exeext
32778 if { (ac_try="$ac_link"
32779 case "(($ac_try" in
32780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32781 *) ac_try_echo=$ac_try;;
32783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32784 (eval "$ac_link") 2>conftest.er1
32786 grep -v '^ *+' conftest.er1 >conftest.err
32788 cat conftest.err >&5
32789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32790 (exit $ac_status); } && {
32791 test -z "$ac_c_werror_flag" ||
32792 test ! -s conftest.err
32793 } && test -s conftest$ac_exeext &&
32794 $as_test_x conftest$ac_exeext; then
32795 { echo "$as_me:$LINENO: result: no" >&5
32796 echo "${ECHO_T}no" >&6; }
32797 X_LIBS="$X_LIBS -R$x_libraries"
32799 echo "$as_me: failed program was:" >&5
32800 sed 's/^/| /' conftest.$ac_ext >&5
32802 LIBS="$ac_xsave_LIBS -R $x_libraries"
32803 cat >conftest.$ac_ext <<_ACEOF
32806 cat confdefs.h >>conftest.$ac_ext
32807 cat >>conftest.$ac_ext <<_ACEOF
32808 /* end confdefs.h. */
32818 rm -f conftest.$ac_objext conftest$ac_exeext
32819 if { (ac_try="$ac_link"
32820 case "(($ac_try" in
32821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32822 *) ac_try_echo=$ac_try;;
32824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32825 (eval "$ac_link") 2>conftest.er1
32827 grep -v '^ *+' conftest.er1 >conftest.err
32829 cat conftest.err >&5
32830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32831 (exit $ac_status); } && {
32832 test -z "$ac_c_werror_flag" ||
32833 test ! -s conftest.err
32834 } && test -s conftest$ac_exeext &&
32835 $as_test_x conftest$ac_exeext; then
32836 { echo "$as_me:$LINENO: result: yes" >&5
32837 echo "${ECHO_T}yes" >&6; }
32838 X_LIBS="$X_LIBS -R $x_libraries"
32840 echo "$as_me: failed program was:" >&5
32841 sed 's/^/| /' conftest.$ac_ext >&5
32843 { echo "$as_me:$LINENO: result: neither works" >&5
32844 echo "${ECHO_T}neither works" >&6; }
32847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32848 conftest$ac_exeext conftest.$ac_ext
32851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32852 conftest$ac_exeext conftest.$ac_ext
32853 ac_c_werror_flag=$ac_xsave_c_werror_flag
32854 LIBS=$ac_xsave_LIBS
32857 # Check for system-dependent libraries X programs must link with.
32858 # Do this before checking for the system-independent R6 libraries
32859 # (-lICE), since we may need -lsocket or whatever for X linking.
32861 if test "$ISC" = yes; then
32862 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32864 # Martyn Johnson says this is needed for Ultrix, if the X
32865 # libraries were built with DECnet support. And Karl Berry says
32866 # the Alpha needs dnet_stub (dnet does not exist).
32867 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32868 cat >conftest.$ac_ext <<_ACEOF
32871 cat confdefs.h >>conftest.$ac_ext
32872 cat >>conftest.$ac_ext <<_ACEOF
32873 /* end confdefs.h. */
32875 /* Override any GCC internal prototype to avoid an error.
32876 Use char because int might match the return type of a GCC
32877 builtin and then its argument prototype would still apply. */
32881 char XOpenDisplay ();
32885 return XOpenDisplay ();
32890 rm -f conftest.$ac_objext conftest$ac_exeext
32891 if { (ac_try="$ac_link"
32892 case "(($ac_try" in
32893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32894 *) ac_try_echo=$ac_try;;
32896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32897 (eval "$ac_link") 2>conftest.er1
32899 grep -v '^ *+' conftest.er1 >conftest.err
32901 cat conftest.err >&5
32902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32903 (exit $ac_status); } && {
32904 test -z "$ac_c_werror_flag" ||
32905 test ! -s conftest.err
32906 } && test -s conftest$ac_exeext &&
32907 $as_test_x conftest$ac_exeext; then
32910 echo "$as_me: failed program was:" >&5
32911 sed 's/^/| /' conftest.$ac_ext >&5
32913 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32914 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32915 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32916 echo $ECHO_N "(cached) $ECHO_C" >&6
32918 ac_check_lib_save_LIBS=$LIBS
32919 LIBS="-ldnet $LIBS"
32920 cat >conftest.$ac_ext <<_ACEOF
32923 cat confdefs.h >>conftest.$ac_ext
32924 cat >>conftest.$ac_ext <<_ACEOF
32925 /* end confdefs.h. */
32927 /* Override any GCC internal prototype to avoid an error.
32928 Use char because int might match the return type of a GCC
32929 builtin and then its argument prototype would still apply. */
32937 return dnet_ntoa ();
32942 rm -f conftest.$ac_objext conftest$ac_exeext
32943 if { (ac_try="$ac_link"
32944 case "(($ac_try" in
32945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32946 *) ac_try_echo=$ac_try;;
32948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32949 (eval "$ac_link") 2>conftest.er1
32951 grep -v '^ *+' conftest.er1 >conftest.err
32953 cat conftest.err >&5
32954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32955 (exit $ac_status); } && {
32956 test -z "$ac_c_werror_flag" ||
32957 test ! -s conftest.err
32958 } && test -s conftest$ac_exeext &&
32959 $as_test_x conftest$ac_exeext; then
32960 ac_cv_lib_dnet_dnet_ntoa=yes
32962 echo "$as_me: failed program was:" >&5
32963 sed 's/^/| /' conftest.$ac_ext >&5
32965 ac_cv_lib_dnet_dnet_ntoa=no
32968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32969 conftest$ac_exeext conftest.$ac_ext
32970 LIBS=$ac_check_lib_save_LIBS
32972 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32973 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32974 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32975 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32978 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32979 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32980 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32981 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32982 echo $ECHO_N "(cached) $ECHO_C" >&6
32984 ac_check_lib_save_LIBS=$LIBS
32985 LIBS="-ldnet_stub $LIBS"
32986 cat >conftest.$ac_ext <<_ACEOF
32989 cat confdefs.h >>conftest.$ac_ext
32990 cat >>conftest.$ac_ext <<_ACEOF
32991 /* end confdefs.h. */
32993 /* Override any GCC internal prototype to avoid an error.
32994 Use char because int might match the return type of a GCC
32995 builtin and then its argument prototype would still apply. */
33003 return dnet_ntoa ();
33008 rm -f conftest.$ac_objext conftest$ac_exeext
33009 if { (ac_try="$ac_link"
33010 case "(($ac_try" in
33011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33012 *) ac_try_echo=$ac_try;;
33014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33015 (eval "$ac_link") 2>conftest.er1
33017 grep -v '^ *+' conftest.er1 >conftest.err
33019 cat conftest.err >&5
33020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33021 (exit $ac_status); } && {
33022 test -z "$ac_c_werror_flag" ||
33023 test ! -s conftest.err
33024 } && test -s conftest$ac_exeext &&
33025 $as_test_x conftest$ac_exeext; then
33026 ac_cv_lib_dnet_stub_dnet_ntoa=yes
33028 echo "$as_me: failed program was:" >&5
33029 sed 's/^/| /' conftest.$ac_ext >&5
33031 ac_cv_lib_dnet_stub_dnet_ntoa=no
33034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33035 conftest$ac_exeext conftest.$ac_ext
33036 LIBS=$ac_check_lib_save_LIBS
33038 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
33039 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
33040 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
33041 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
33047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33048 conftest$ac_exeext conftest.$ac_ext
33049 LIBS="$ac_xsave_LIBS"
33051 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
33052 # to get the SysV transport functions.
33053 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
33055 # The nsl library prevents programs from opening the X display
33056 # on Irix 5.2, according to T.E. Dickey.
33057 # The functions gethostbyname, getservbyname, and inet_addr are
33058 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
33059 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
33060 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
33061 if test "${ac_cv_func_gethostbyname+set}" = set; then
33062 echo $ECHO_N "(cached) $ECHO_C" >&6
33064 cat >conftest.$ac_ext <<_ACEOF
33067 cat confdefs.h >>conftest.$ac_ext
33068 cat >>conftest.$ac_ext <<_ACEOF
33069 /* end confdefs.h. */
33070 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
33071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33072 #define gethostbyname innocuous_gethostbyname
33074 /* System header to define __stub macros and hopefully few prototypes,
33075 which can conflict with char gethostbyname (); below.
33076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33077 <limits.h> exists even on freestanding compilers. */
33080 # include <limits.h>
33082 # include <assert.h>
33085 #undef gethostbyname
33087 /* Override any GCC internal prototype to avoid an error.
33088 Use char because int might match the return type of a GCC
33089 builtin and then its argument prototype would still apply. */
33093 char gethostbyname ();
33094 /* The GNU C library defines this for functions which it implements
33095 to always fail with ENOSYS. Some functions are actually named
33096 something starting with __ and the normal name is an alias. */
33097 #if defined __stub_gethostbyname || defined __stub___gethostbyname
33104 return gethostbyname ();
33109 rm -f conftest.$ac_objext conftest$ac_exeext
33110 if { (ac_try="$ac_link"
33111 case "(($ac_try" in
33112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33113 *) ac_try_echo=$ac_try;;
33115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33116 (eval "$ac_link") 2>conftest.er1
33118 grep -v '^ *+' conftest.er1 >conftest.err
33120 cat conftest.err >&5
33121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33122 (exit $ac_status); } && {
33123 test -z "$ac_c_werror_flag" ||
33124 test ! -s conftest.err
33125 } && test -s conftest$ac_exeext &&
33126 $as_test_x conftest$ac_exeext; then
33127 ac_cv_func_gethostbyname=yes
33129 echo "$as_me: failed program was:" >&5
33130 sed 's/^/| /' conftest.$ac_ext >&5
33132 ac_cv_func_gethostbyname=no
33135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33136 conftest$ac_exeext conftest.$ac_ext
33138 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
33139 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
33141 if test $ac_cv_func_gethostbyname = no; then
33142 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
33143 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
33144 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
33145 echo $ECHO_N "(cached) $ECHO_C" >&6
33147 ac_check_lib_save_LIBS=$LIBS
33149 cat >conftest.$ac_ext <<_ACEOF
33152 cat confdefs.h >>conftest.$ac_ext
33153 cat >>conftest.$ac_ext <<_ACEOF
33154 /* end confdefs.h. */
33156 /* Override any GCC internal prototype to avoid an error.
33157 Use char because int might match the return type of a GCC
33158 builtin and then its argument prototype would still apply. */
33162 char gethostbyname ();
33166 return gethostbyname ();
33171 rm -f conftest.$ac_objext conftest$ac_exeext
33172 if { (ac_try="$ac_link"
33173 case "(($ac_try" in
33174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33175 *) ac_try_echo=$ac_try;;
33177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33178 (eval "$ac_link") 2>conftest.er1
33180 grep -v '^ *+' conftest.er1 >conftest.err
33182 cat conftest.err >&5
33183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33184 (exit $ac_status); } && {
33185 test -z "$ac_c_werror_flag" ||
33186 test ! -s conftest.err
33187 } && test -s conftest$ac_exeext &&
33188 $as_test_x conftest$ac_exeext; then
33189 ac_cv_lib_nsl_gethostbyname=yes
33191 echo "$as_me: failed program was:" >&5
33192 sed 's/^/| /' conftest.$ac_ext >&5
33194 ac_cv_lib_nsl_gethostbyname=no
33197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33198 conftest$ac_exeext conftest.$ac_ext
33199 LIBS=$ac_check_lib_save_LIBS
33201 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33202 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33203 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33204 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
33207 if test $ac_cv_lib_nsl_gethostbyname = no; then
33208 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33209 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33210 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33211 echo $ECHO_N "(cached) $ECHO_C" >&6
33213 ac_check_lib_save_LIBS=$LIBS
33215 cat >conftest.$ac_ext <<_ACEOF
33218 cat confdefs.h >>conftest.$ac_ext
33219 cat >>conftest.$ac_ext <<_ACEOF
33220 /* end confdefs.h. */
33222 /* Override any GCC internal prototype to avoid an error.
33223 Use char because int might match the return type of a GCC
33224 builtin and then its argument prototype would still apply. */
33228 char gethostbyname ();
33232 return gethostbyname ();
33237 rm -f conftest.$ac_objext conftest$ac_exeext
33238 if { (ac_try="$ac_link"
33239 case "(($ac_try" in
33240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33241 *) ac_try_echo=$ac_try;;
33243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33244 (eval "$ac_link") 2>conftest.er1
33246 grep -v '^ *+' conftest.er1 >conftest.err
33248 cat conftest.err >&5
33249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33250 (exit $ac_status); } && {
33251 test -z "$ac_c_werror_flag" ||
33252 test ! -s conftest.err
33253 } && test -s conftest$ac_exeext &&
33254 $as_test_x conftest$ac_exeext; then
33255 ac_cv_lib_bsd_gethostbyname=yes
33257 echo "$as_me: failed program was:" >&5
33258 sed 's/^/| /' conftest.$ac_ext >&5
33260 ac_cv_lib_bsd_gethostbyname=no
33263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33264 conftest$ac_exeext conftest.$ac_ext
33265 LIBS=$ac_check_lib_save_LIBS
33267 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33268 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33269 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33270 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33276 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33277 # socket/setsockopt and other routines are undefined under SCO ODT
33278 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33279 # on later versions), says Simon Leinen: it contains gethostby*
33280 # variants that don't use the name server (or something). -lsocket
33281 # must be given before -lnsl if both are needed. We assume that
33282 # if connect needs -lnsl, so does gethostbyname.
33283 { echo "$as_me:$LINENO: checking for connect" >&5
33284 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33285 if test "${ac_cv_func_connect+set}" = set; then
33286 echo $ECHO_N "(cached) $ECHO_C" >&6
33288 cat >conftest.$ac_ext <<_ACEOF
33291 cat confdefs.h >>conftest.$ac_ext
33292 cat >>conftest.$ac_ext <<_ACEOF
33293 /* end confdefs.h. */
33294 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33296 #define connect innocuous_connect
33298 /* System header to define __stub macros and hopefully few prototypes,
33299 which can conflict with char connect (); below.
33300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33301 <limits.h> exists even on freestanding compilers. */
33304 # include <limits.h>
33306 # include <assert.h>
33311 /* Override any GCC internal prototype to avoid an error.
33312 Use char because int might match the return type of a GCC
33313 builtin and then its argument prototype would still apply. */
33318 /* The GNU C library defines this for functions which it implements
33319 to always fail with ENOSYS. Some functions are actually named
33320 something starting with __ and the normal name is an alias. */
33321 #if defined __stub_connect || defined __stub___connect
33333 rm -f conftest.$ac_objext conftest$ac_exeext
33334 if { (ac_try="$ac_link"
33335 case "(($ac_try" in
33336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33337 *) ac_try_echo=$ac_try;;
33339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33340 (eval "$ac_link") 2>conftest.er1
33342 grep -v '^ *+' conftest.er1 >conftest.err
33344 cat conftest.err >&5
33345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33346 (exit $ac_status); } && {
33347 test -z "$ac_c_werror_flag" ||
33348 test ! -s conftest.err
33349 } && test -s conftest$ac_exeext &&
33350 $as_test_x conftest$ac_exeext; then
33351 ac_cv_func_connect=yes
33353 echo "$as_me: failed program was:" >&5
33354 sed 's/^/| /' conftest.$ac_ext >&5
33356 ac_cv_func_connect=no
33359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33360 conftest$ac_exeext conftest.$ac_ext
33362 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33363 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33365 if test $ac_cv_func_connect = no; then
33366 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33367 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33368 if test "${ac_cv_lib_socket_connect+set}" = set; then
33369 echo $ECHO_N "(cached) $ECHO_C" >&6
33371 ac_check_lib_save_LIBS=$LIBS
33372 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
33373 cat >conftest.$ac_ext <<_ACEOF
33376 cat confdefs.h >>conftest.$ac_ext
33377 cat >>conftest.$ac_ext <<_ACEOF
33378 /* end confdefs.h. */
33380 /* Override any GCC internal prototype to avoid an error.
33381 Use char because int might match the return type of a GCC
33382 builtin and then its argument prototype would still apply. */
33395 rm -f conftest.$ac_objext conftest$ac_exeext
33396 if { (ac_try="$ac_link"
33397 case "(($ac_try" in
33398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33399 *) ac_try_echo=$ac_try;;
33401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33402 (eval "$ac_link") 2>conftest.er1
33404 grep -v '^ *+' conftest.er1 >conftest.err
33406 cat conftest.err >&5
33407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33408 (exit $ac_status); } && {
33409 test -z "$ac_c_werror_flag" ||
33410 test ! -s conftest.err
33411 } && test -s conftest$ac_exeext &&
33412 $as_test_x conftest$ac_exeext; then
33413 ac_cv_lib_socket_connect=yes
33415 echo "$as_me: failed program was:" >&5
33416 sed 's/^/| /' conftest.$ac_ext >&5
33418 ac_cv_lib_socket_connect=no
33421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33422 conftest$ac_exeext conftest.$ac_ext
33423 LIBS=$ac_check_lib_save_LIBS
33425 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33426 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33427 if test $ac_cv_lib_socket_connect = yes; then
33428 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33433 # Guillermo Gomez says -lposix is necessary on A/UX.
33434 { echo "$as_me:$LINENO: checking for remove" >&5
33435 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33436 if test "${ac_cv_func_remove+set}" = set; then
33437 echo $ECHO_N "(cached) $ECHO_C" >&6
33439 cat >conftest.$ac_ext <<_ACEOF
33442 cat confdefs.h >>conftest.$ac_ext
33443 cat >>conftest.$ac_ext <<_ACEOF
33444 /* end confdefs.h. */
33445 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33447 #define remove innocuous_remove
33449 /* System header to define __stub macros and hopefully few prototypes,
33450 which can conflict with char remove (); below.
33451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33452 <limits.h> exists even on freestanding compilers. */
33455 # include <limits.h>
33457 # include <assert.h>
33462 /* Override any GCC internal prototype to avoid an error.
33463 Use char because int might match the return type of a GCC
33464 builtin and then its argument prototype would still apply. */
33469 /* The GNU C library defines this for functions which it implements
33470 to always fail with ENOSYS. Some functions are actually named
33471 something starting with __ and the normal name is an alias. */
33472 #if defined __stub_remove || defined __stub___remove
33484 rm -f conftest.$ac_objext conftest$ac_exeext
33485 if { (ac_try="$ac_link"
33486 case "(($ac_try" in
33487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33488 *) ac_try_echo=$ac_try;;
33490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33491 (eval "$ac_link") 2>conftest.er1
33493 grep -v '^ *+' conftest.er1 >conftest.err
33495 cat conftest.err >&5
33496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33497 (exit $ac_status); } && {
33498 test -z "$ac_c_werror_flag" ||
33499 test ! -s conftest.err
33500 } && test -s conftest$ac_exeext &&
33501 $as_test_x conftest$ac_exeext; then
33502 ac_cv_func_remove=yes
33504 echo "$as_me: failed program was:" >&5
33505 sed 's/^/| /' conftest.$ac_ext >&5
33507 ac_cv_func_remove=no
33510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33511 conftest$ac_exeext conftest.$ac_ext
33513 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33514 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33516 if test $ac_cv_func_remove = no; then
33517 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33518 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33519 if test "${ac_cv_lib_posix_remove+set}" = set; then
33520 echo $ECHO_N "(cached) $ECHO_C" >&6
33522 ac_check_lib_save_LIBS=$LIBS
33523 LIBS="-lposix $LIBS"
33524 cat >conftest.$ac_ext <<_ACEOF
33527 cat confdefs.h >>conftest.$ac_ext
33528 cat >>conftest.$ac_ext <<_ACEOF
33529 /* end confdefs.h. */
33531 /* Override any GCC internal prototype to avoid an error.
33532 Use char because int might match the return type of a GCC
33533 builtin and then its argument prototype would still apply. */
33546 rm -f conftest.$ac_objext conftest$ac_exeext
33547 if { (ac_try="$ac_link"
33548 case "(($ac_try" in
33549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33550 *) ac_try_echo=$ac_try;;
33552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33553 (eval "$ac_link") 2>conftest.er1
33555 grep -v '^ *+' conftest.er1 >conftest.err
33557 cat conftest.err >&5
33558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33559 (exit $ac_status); } && {
33560 test -z "$ac_c_werror_flag" ||
33561 test ! -s conftest.err
33562 } && test -s conftest$ac_exeext &&
33563 $as_test_x conftest$ac_exeext; then
33564 ac_cv_lib_posix_remove=yes
33566 echo "$as_me: failed program was:" >&5
33567 sed 's/^/| /' conftest.$ac_ext >&5
33569 ac_cv_lib_posix_remove=no
33572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33573 conftest$ac_exeext conftest.$ac_ext
33574 LIBS=$ac_check_lib_save_LIBS
33576 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33577 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33578 if test $ac_cv_lib_posix_remove = yes; then
33579 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33584 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33585 { echo "$as_me:$LINENO: checking for shmat" >&5
33586 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33587 if test "${ac_cv_func_shmat+set}" = set; then
33588 echo $ECHO_N "(cached) $ECHO_C" >&6
33590 cat >conftest.$ac_ext <<_ACEOF
33593 cat confdefs.h >>conftest.$ac_ext
33594 cat >>conftest.$ac_ext <<_ACEOF
33595 /* end confdefs.h. */
33596 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33598 #define shmat innocuous_shmat
33600 /* System header to define __stub macros and hopefully few prototypes,
33601 which can conflict with char shmat (); below.
33602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33603 <limits.h> exists even on freestanding compilers. */
33606 # include <limits.h>
33608 # include <assert.h>
33613 /* Override any GCC internal prototype to avoid an error.
33614 Use char because int might match the return type of a GCC
33615 builtin and then its argument prototype would still apply. */
33620 /* The GNU C library defines this for functions which it implements
33621 to always fail with ENOSYS. Some functions are actually named
33622 something starting with __ and the normal name is an alias. */
33623 #if defined __stub_shmat || defined __stub___shmat
33635 rm -f conftest.$ac_objext conftest$ac_exeext
33636 if { (ac_try="$ac_link"
33637 case "(($ac_try" in
33638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33639 *) ac_try_echo=$ac_try;;
33641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33642 (eval "$ac_link") 2>conftest.er1
33644 grep -v '^ *+' conftest.er1 >conftest.err
33646 cat conftest.err >&5
33647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33648 (exit $ac_status); } && {
33649 test -z "$ac_c_werror_flag" ||
33650 test ! -s conftest.err
33651 } && test -s conftest$ac_exeext &&
33652 $as_test_x conftest$ac_exeext; then
33653 ac_cv_func_shmat=yes
33655 echo "$as_me: failed program was:" >&5
33656 sed 's/^/| /' conftest.$ac_ext >&5
33658 ac_cv_func_shmat=no
33661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33662 conftest$ac_exeext conftest.$ac_ext
33664 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33665 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33667 if test $ac_cv_func_shmat = no; then
33668 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33669 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33670 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33671 echo $ECHO_N "(cached) $ECHO_C" >&6
33673 ac_check_lib_save_LIBS=$LIBS
33675 cat >conftest.$ac_ext <<_ACEOF
33678 cat confdefs.h >>conftest.$ac_ext
33679 cat >>conftest.$ac_ext <<_ACEOF
33680 /* end confdefs.h. */
33682 /* Override any GCC internal prototype to avoid an error.
33683 Use char because int might match the return type of a GCC
33684 builtin and then its argument prototype would still apply. */
33697 rm -f conftest.$ac_objext conftest$ac_exeext
33698 if { (ac_try="$ac_link"
33699 case "(($ac_try" in
33700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33701 *) ac_try_echo=$ac_try;;
33703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33704 (eval "$ac_link") 2>conftest.er1
33706 grep -v '^ *+' conftest.er1 >conftest.err
33708 cat conftest.err >&5
33709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33710 (exit $ac_status); } && {
33711 test -z "$ac_c_werror_flag" ||
33712 test ! -s conftest.err
33713 } && test -s conftest$ac_exeext &&
33714 $as_test_x conftest$ac_exeext; then
33715 ac_cv_lib_ipc_shmat=yes
33717 echo "$as_me: failed program was:" >&5
33718 sed 's/^/| /' conftest.$ac_ext >&5
33720 ac_cv_lib_ipc_shmat=no
33723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33724 conftest$ac_exeext conftest.$ac_ext
33725 LIBS=$ac_check_lib_save_LIBS
33727 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33728 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33729 if test $ac_cv_lib_ipc_shmat = yes; then
33730 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33736 # Check for libraries that X11R6 Xt/Xaw programs need.
33737 ac_save_LDFLAGS=$LDFLAGS
33738 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33739 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33740 # check for ICE first), but we must link in the order -lSM -lICE or
33741 # we get undefined symbols. So assume we have SM if we have ICE.
33742 # These have to be linked with before -lX11, unlike the other
33743 # libraries we check for below, so use a different variable.
33744 # John Interrante, Karl Berry
33745 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33746 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33747 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33748 echo $ECHO_N "(cached) $ECHO_C" >&6
33750 ac_check_lib_save_LIBS=$LIBS
33751 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33752 cat >conftest.$ac_ext <<_ACEOF
33755 cat confdefs.h >>conftest.$ac_ext
33756 cat >>conftest.$ac_ext <<_ACEOF
33757 /* end confdefs.h. */
33759 /* Override any GCC internal prototype to avoid an error.
33760 Use char because int might match the return type of a GCC
33761 builtin and then its argument prototype would still apply. */
33765 char IceConnectionNumber ();
33769 return IceConnectionNumber ();
33774 rm -f conftest.$ac_objext conftest$ac_exeext
33775 if { (ac_try="$ac_link"
33776 case "(($ac_try" in
33777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33778 *) ac_try_echo=$ac_try;;
33780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33781 (eval "$ac_link") 2>conftest.er1
33783 grep -v '^ *+' conftest.er1 >conftest.err
33785 cat conftest.err >&5
33786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33787 (exit $ac_status); } && {
33788 test -z "$ac_c_werror_flag" ||
33789 test ! -s conftest.err
33790 } && test -s conftest$ac_exeext &&
33791 $as_test_x conftest$ac_exeext; then
33792 ac_cv_lib_ICE_IceConnectionNumber=yes
33794 echo "$as_me: failed program was:" >&5
33795 sed 's/^/| /' conftest.$ac_ext >&5
33797 ac_cv_lib_ICE_IceConnectionNumber=no
33800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33801 conftest$ac_exeext conftest.$ac_ext
33802 LIBS=$ac_check_lib_save_LIBS
33804 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33805 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33806 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33807 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33810 LDFLAGS=$ac_save_LDFLAGS
33815 if test "$no_x" = "yes"; then
33816 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33817 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33818 { (exit 1); exit 1; }; }
33821 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33822 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33823 AFMINSTALL=afminstall
33824 COMPILED_X_PROGRAM=0
33828 if test "$wxUSE_X11" = 1; then
33829 if test "$wxUSE_NANOX" = "yes"; then
33830 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33831 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33832 if test "x$MICROWIN" = x ; then
33833 { echo "$as_me:$LINENO: result: not found" >&5
33834 echo "${ECHO_T}not found" >&6; }
33835 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33836 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33837 { (exit 1); exit 1; }; }
33839 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33840 echo "${ECHO_T}$MICROWIN" >&6; }
33841 cat >>confdefs.h <<\_ACEOF
33842 #define wxUSE_NANOX 1
33848 if test "$wxUSE_UNICODE" = "yes"; then
33851 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33852 if test -n "$ac_tool_prefix"; then
33853 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33854 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33855 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33857 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33858 echo $ECHO_N "(cached) $ECHO_C" >&6
33860 case $PKG_CONFIG in
33862 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33866 for as_dir in $PATH
33869 test -z "$as_dir" && as_dir=.
33870 for ac_exec_ext in '' $ac_executable_extensions; do
33871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33872 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33883 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33884 if test -n "$PKG_CONFIG"; then
33885 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33886 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33888 { echo "$as_me:$LINENO: result: no" >&5
33889 echo "${ECHO_T}no" >&6; }
33894 if test -z "$ac_cv_path_PKG_CONFIG"; then
33895 ac_pt_PKG_CONFIG=$PKG_CONFIG
33896 # Extract the first word of "pkg-config", so it can be a program name with args.
33897 set dummy pkg-config; ac_word=$2
33898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33900 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33901 echo $ECHO_N "(cached) $ECHO_C" >&6
33903 case $ac_pt_PKG_CONFIG in
33905 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33909 for as_dir in $PATH
33912 test -z "$as_dir" && as_dir=.
33913 for ac_exec_ext in '' $ac_executable_extensions; do
33914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33915 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33926 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33927 if test -n "$ac_pt_PKG_CONFIG"; then
33928 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33929 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33931 { echo "$as_me:$LINENO: result: no" >&5
33932 echo "${ECHO_T}no" >&6; }
33935 if test "x$ac_pt_PKG_CONFIG" = x; then
33938 case $cross_compiling:$ac_tool_warned in
33940 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33941 whose name does not start with the host triplet. If you think this
33942 configuration is useful to you, please write to autoconf@gnu.org." >&5
33943 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33944 whose name does not start with the host triplet. If you think this
33945 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33946 ac_tool_warned=yes ;;
33948 PKG_CONFIG=$ac_pt_PKG_CONFIG
33951 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33955 if test -n "$PKG_CONFIG"; then
33956 _pkg_min_version=0.9.0
33957 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33958 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33959 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33960 { echo "$as_me:$LINENO: result: yes" >&5
33961 echo "${ECHO_T}yes" >&6; }
33963 { echo "$as_me:$LINENO: result: no" >&5
33964 echo "${ECHO_T}no" >&6; }
33972 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33973 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33975 if test -n "$PKG_CONFIG"; then
33976 if test -n "$PANGOX_CFLAGS"; then
33977 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33979 if test -n "$PKG_CONFIG" && \
33980 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33981 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33984 (exit $ac_status); }; then
33985 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33993 if test -n "$PKG_CONFIG"; then
33994 if test -n "$PANGOX_LIBS"; then
33995 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33997 if test -n "$PKG_CONFIG" && \
33998 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33999 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
34001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34002 (exit $ac_status); }; then
34003 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
34014 if test $pkg_failed = yes; then
34016 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34017 _pkg_short_errors_supported=yes
34019 _pkg_short_errors_supported=no
34021 if test $_pkg_short_errors_supported = yes; then
34022 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
34024 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
34026 # Put the nasty error message in config.log where it belongs
34027 echo "$PANGOX_PKG_ERRORS" >&5
34030 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34031 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34032 { (exit 1); exit 1; }; }
34035 elif test $pkg_failed = untried; then
34037 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34038 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34039 { (exit 1); exit 1; }; }
34043 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
34044 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
34045 { echo "$as_me:$LINENO: result: yes" >&5
34046 echo "${ECHO_T}yes" >&6; }
34048 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
34049 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
34050 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
34055 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
34056 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
34058 if test -n "$PKG_CONFIG"; then
34059 if test -n "$PANGOFT2_CFLAGS"; then
34060 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
34062 if test -n "$PKG_CONFIG" && \
34063 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34064 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34067 (exit $ac_status); }; then
34068 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
34076 if test -n "$PKG_CONFIG"; then
34077 if test -n "$PANGOFT2_LIBS"; then
34078 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
34080 if test -n "$PKG_CONFIG" && \
34081 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34082 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34085 (exit $ac_status); }; then
34086 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
34097 if test $pkg_failed = yes; then
34099 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34100 _pkg_short_errors_supported=yes
34102 _pkg_short_errors_supported=no
34104 if test $_pkg_short_errors_supported = yes; then
34105 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
34107 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
34109 # Put the nasty error message in config.log where it belongs
34110 echo "$PANGOFT2_PKG_ERRORS" >&5
34113 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34114 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34115 wxUSE_PRINTING_ARCHITECTURE="no"
34118 elif test $pkg_failed = untried; then
34120 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34121 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34122 wxUSE_PRINTING_ARCHITECTURE="no"
34126 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
34127 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
34128 { echo "$as_me:$LINENO: result: yes" >&5
34129 echo "${ECHO_T}yes" >&6; }
34131 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
34132 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
34133 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
34138 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
34139 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
34141 if test -n "$PKG_CONFIG"; then
34142 if test -n "$PANGOXFT_CFLAGS"; then
34143 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
34145 if test -n "$PKG_CONFIG" && \
34146 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34147 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34150 (exit $ac_status); }; then
34151 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34159 if test -n "$PKG_CONFIG"; then
34160 if test -n "$PANGOXFT_LIBS"; then
34161 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
34163 if test -n "$PKG_CONFIG" && \
34164 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34165 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34168 (exit $ac_status); }; then
34169 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34180 if test $pkg_failed = yes; then
34182 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34183 _pkg_short_errors_supported=yes
34185 _pkg_short_errors_supported=no
34187 if test $_pkg_short_errors_supported = yes; then
34188 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34190 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34192 # Put the nasty error message in config.log where it belongs
34193 echo "$PANGOXFT_PKG_ERRORS" >&5
34196 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34197 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34200 elif test $pkg_failed = untried; then
34202 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34203 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34207 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
34208 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
34209 { echo "$as_me:$LINENO: result: yes" >&5
34210 echo "${ECHO_T}yes" >&6; }
34212 cat >>confdefs.h <<\_ACEOF
34213 #define HAVE_PANGO_XFT 1
34216 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
34217 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
34218 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34222 LIBS="$LIBS $PANGOX_LIBS"
34224 for ac_func in pango_font_family_is_monospace
34226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34227 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34229 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34230 echo $ECHO_N "(cached) $ECHO_C" >&6
34232 cat >conftest.$ac_ext <<_ACEOF
34235 cat confdefs.h >>conftest.$ac_ext
34236 cat >>conftest.$ac_ext <<_ACEOF
34237 /* end confdefs.h. */
34238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34240 #define $ac_func innocuous_$ac_func
34242 /* System header to define __stub macros and hopefully few prototypes,
34243 which can conflict with char $ac_func (); below.
34244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34245 <limits.h> exists even on freestanding compilers. */
34248 # include <limits.h>
34250 # include <assert.h>
34255 /* Override any GCC internal prototype to avoid an error.
34256 Use char because int might match the return type of a GCC
34257 builtin and then its argument prototype would still apply. */
34262 /* The GNU C library defines this for functions which it implements
34263 to always fail with ENOSYS. Some functions are actually named
34264 something starting with __ and the normal name is an alias. */
34265 #if defined __stub_$ac_func || defined __stub___$ac_func
34272 return $ac_func ();
34277 rm -f conftest.$ac_objext conftest$ac_exeext
34278 if { (ac_try="$ac_link"
34279 case "(($ac_try" in
34280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34281 *) ac_try_echo=$ac_try;;
34283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34284 (eval "$ac_link") 2>conftest.er1
34286 grep -v '^ *+' conftest.er1 >conftest.err
34288 cat conftest.err >&5
34289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34290 (exit $ac_status); } && {
34291 test -z "$ac_c_werror_flag" ||
34292 test ! -s conftest.err
34293 } && test -s conftest$ac_exeext &&
34294 $as_test_x conftest$ac_exeext; then
34295 eval "$as_ac_var=yes"
34297 echo "$as_me: failed program was:" >&5
34298 sed 's/^/| /' conftest.$ac_ext >&5
34300 eval "$as_ac_var=no"
34303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34304 conftest$ac_exeext conftest.$ac_ext
34306 ac_res=`eval echo '${'$as_ac_var'}'`
34307 { echo "$as_me:$LINENO: result: $ac_res" >&5
34308 echo "${ECHO_T}$ac_res" >&6; }
34309 if test `eval echo '${'$as_ac_var'}'` = yes; then
34310 cat >>confdefs.h <<_ACEOF
34311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34320 wxUSE_UNIVERSAL="yes"
34322 if test "$wxUSE_NANOX" = "yes"; then
34323 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34324 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"
34325 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34327 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34334 if test "$wxUSE_MOTIF" = 1; then
34335 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34336 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34339 for ac_dir in $SEARCH_INCLUDE /usr/include;
34341 if test -f "$ac_dir/Xm/Xm.h"; then
34342 ac_find_includes=$ac_dir
34347 if test "$ac_find_includes" != "" ; then
34348 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34349 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34351 if test "x$ac_find_includes" = "x/usr/include"; then
34352 ac_path_to_include=""
34354 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34356 if test $result = 0; then
34357 ac_path_to_include=""
34359 ac_path_to_include=" -I$ac_find_includes"
34363 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34365 save_CFLAGS=$CFLAGS
34366 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34368 cat >conftest.$ac_ext <<_ACEOF
34371 cat confdefs.h >>conftest.$ac_ext
34372 cat >>conftest.$ac_ext <<_ACEOF
34373 /* end confdefs.h. */
34382 version = xmUseVersion;
34388 rm -f conftest.$ac_objext
34389 if { (ac_try="$ac_compile"
34390 case "(($ac_try" in
34391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34392 *) ac_try_echo=$ac_try;;
34394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34395 (eval "$ac_compile") 2>conftest.er1
34397 grep -v '^ *+' conftest.er1 >conftest.err
34399 cat conftest.err >&5
34400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34401 (exit $ac_status); } && {
34402 test -z "$ac_c_werror_flag" ||
34403 test ! -s conftest.err
34404 } && test -s conftest.$ac_objext; then
34406 { echo "$as_me:$LINENO: result: found in default search path" >&5
34407 echo "${ECHO_T}found in default search path" >&6; }
34408 COMPILED_X_PROGRAM=1
34411 echo "$as_me: failed program was:" >&5
34412 sed 's/^/| /' conftest.$ac_ext >&5
34415 { echo "$as_me:$LINENO: result: no" >&5
34416 echo "${ECHO_T}no" >&6; }
34417 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34418 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34419 { (exit 1); exit 1; }; }
34424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34426 CFLAGS=$save_CFLAGS
34430 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34431 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34434 for ac_dir in $SEARCH_LIB;
34436 for ac_extension in a so sl dylib dll.a; do
34437 if test -f "$ac_dir/libXm.$ac_extension"; then
34438 ac_find_libraries=$ac_dir
34445 if test "x$ac_find_libraries" != "x" ; then
34446 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34447 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34450 if test "$ac_find_libraries" = "default location"; then
34453 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34455 if test $result = 0; then
34458 ac_path_to_link=" -L$ac_find_libraries"
34462 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34464 save_CFLAGS=$CFLAGS
34465 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34467 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34469 cat >conftest.$ac_ext <<_ACEOF
34472 cat confdefs.h >>conftest.$ac_ext
34473 cat >>conftest.$ac_ext <<_ACEOF
34474 /* end confdefs.h. */
34483 version = xmUseVersion;
34489 rm -f conftest.$ac_objext conftest$ac_exeext
34490 if { (ac_try="$ac_link"
34491 case "(($ac_try" in
34492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34493 *) ac_try_echo=$ac_try;;
34495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34496 (eval "$ac_link") 2>conftest.er1
34498 grep -v '^ *+' conftest.er1 >conftest.err
34500 cat conftest.err >&5
34501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34502 (exit $ac_status); } && {
34503 test -z "$ac_c_werror_flag" ||
34504 test ! -s conftest.err
34505 } && test -s conftest$ac_exeext &&
34506 $as_test_x conftest$ac_exeext; then
34508 { echo "$as_me:$LINENO: result: found in default search path" >&5
34509 echo "${ECHO_T}found in default search path" >&6; }
34510 COMPILED_X_PROGRAM=1
34513 echo "$as_me: failed program was:" >&5
34514 sed 's/^/| /' conftest.$ac_ext >&5
34517 { echo "$as_me:$LINENO: result: no" >&5
34518 echo "${ECHO_T}no" >&6; }
34519 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34520 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34521 { (exit 1); exit 1; }; }
34526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34527 conftest$ac_exeext conftest.$ac_ext
34529 CFLAGS=$save_CFLAGS
34533 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34534 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34538 for libp in "" " -lXp"; do
34539 if test "$libs_found" = "0"; then
34540 for libsm_ice in "" " -lSM -lICE"; do
34541 if test "$libs_found" = "0"; then
34543 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34544 save_CFLAGS=$CFLAGS
34545 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34547 cat >conftest.$ac_ext <<_ACEOF
34550 cat confdefs.h >>conftest.$ac_ext
34551 cat >>conftest.$ac_ext <<_ACEOF
34552 /* end confdefs.h. */
34555 #include <Xm/List.h>
34561 XmString string = NULL;
34564 XmListAddItem(w, string, position);
34570 rm -f conftest.$ac_objext conftest$ac_exeext
34571 if { (ac_try="$ac_link"
34572 case "(($ac_try" in
34573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34574 *) ac_try_echo=$ac_try;;
34576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34577 (eval "$ac_link") 2>conftest.er1
34579 grep -v '^ *+' conftest.er1 >conftest.err
34581 cat conftest.err >&5
34582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34583 (exit $ac_status); } && {
34584 test -z "$ac_c_werror_flag" ||
34585 test ! -s conftest.err
34586 } && test -s conftest$ac_exeext &&
34587 $as_test_x conftest$ac_exeext; then
34590 libsm_ice_link="$libsm_ice"
34591 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34592 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34596 echo "$as_me: failed program was:" >&5
34597 sed 's/^/| /' conftest.$ac_ext >&5
34603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34604 conftest$ac_exeext conftest.$ac_ext
34607 CFLAGS=$save_CFLAGS
34613 if test "$libs_found" = "0"; then
34614 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34615 echo "${ECHO_T}can't find the right libraries" >&6; }
34616 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34617 echo "$as_me: error: can't link a simple motif program" >&2;}
34618 { (exit 1); exit 1; }; }
34621 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34622 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34623 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34624 echo $ECHO_N "(cached) $ECHO_C" >&6
34626 ac_check_lib_save_LIBS=$LIBS
34628 cat >conftest.$ac_ext <<_ACEOF
34631 cat confdefs.h >>conftest.$ac_ext
34632 cat >>conftest.$ac_ext <<_ACEOF
34633 /* end confdefs.h. */
34635 /* Override any GCC internal prototype to avoid an error.
34636 Use char because int might match the return type of a GCC
34637 builtin and then its argument prototype would still apply. */
34641 char SgCreateList ();
34645 return SgCreateList ();
34650 rm -f conftest.$ac_objext conftest$ac_exeext
34651 if { (ac_try="$ac_link"
34652 case "(($ac_try" in
34653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34654 *) ac_try_echo=$ac_try;;
34656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34657 (eval "$ac_link") 2>conftest.er1
34659 grep -v '^ *+' conftest.er1 >conftest.err
34661 cat conftest.err >&5
34662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34663 (exit $ac_status); } && {
34664 test -z "$ac_c_werror_flag" ||
34665 test ! -s conftest.err
34666 } && test -s conftest$ac_exeext &&
34667 $as_test_x conftest$ac_exeext; then
34668 ac_cv_lib_Sgm_SgCreateList=yes
34670 echo "$as_me: failed program was:" >&5
34671 sed 's/^/| /' conftest.$ac_ext >&5
34673 ac_cv_lib_Sgm_SgCreateList=no
34676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34677 conftest$ac_exeext conftest.$ac_ext
34678 LIBS=$ac_check_lib_save_LIBS
34680 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34681 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34682 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34683 libsgm_link=" -lSgm"
34687 save_CFLAGS=$CFLAGS
34688 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34690 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34691 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34692 if test "${wx_cv_lib_motif2+set}" = set; then
34693 echo $ECHO_N "(cached) $ECHO_C" >&6
34695 cat >conftest.$ac_ext <<_ACEOF
34698 cat confdefs.h >>conftest.$ac_ext
34699 cat >>conftest.$ac_ext <<_ACEOF
34700 /* end confdefs.h. */
34708 #if XmVersion < 2000
34716 rm -f conftest.$ac_objext
34717 if { (ac_try="$ac_compile"
34718 case "(($ac_try" in
34719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34720 *) ac_try_echo=$ac_try;;
34722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34723 (eval "$ac_compile") 2>conftest.er1
34725 grep -v '^ *+' conftest.er1 >conftest.err
34727 cat conftest.err >&5
34728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34729 (exit $ac_status); } && {
34730 test -z "$ac_c_werror_flag" ||
34731 test ! -s conftest.err
34732 } && test -s conftest.$ac_objext; then
34733 wx_cv_lib_motif2="yes"
34735 echo "$as_me: failed program was:" >&5
34736 sed 's/^/| /' conftest.$ac_ext >&5
34738 wx_cv_lib_motif2="no"
34741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34743 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34744 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34745 if test "$wx_cv_lib_motif2" = "yes"; then
34746 cat >>confdefs.h <<\_ACEOF
34747 #define __WXMOTIF20__ 1
34751 cat >>confdefs.h <<\_ACEOF
34752 #define __WXMOTIF20__ 0
34757 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34758 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34759 if test "${wx_cv_lib_lesstif+set}" = set; then
34760 echo $ECHO_N "(cached) $ECHO_C" >&6
34762 cat >conftest.$ac_ext <<_ACEOF
34765 cat confdefs.h >>conftest.$ac_ext
34766 cat >>conftest.$ac_ext <<_ACEOF
34767 /* end confdefs.h. */
34775 #if !defined(LesstifVersion) || LesstifVersion <= 0
34783 rm -f conftest.$ac_objext
34784 if { (ac_try="$ac_compile"
34785 case "(($ac_try" in
34786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34787 *) ac_try_echo=$ac_try;;
34789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34790 (eval "$ac_compile") 2>conftest.er1
34792 grep -v '^ *+' conftest.er1 >conftest.err
34794 cat conftest.err >&5
34795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34796 (exit $ac_status); } && {
34797 test -z "$ac_c_werror_flag" ||
34798 test ! -s conftest.err
34799 } && test -s conftest.$ac_objext; then
34800 wx_cv_lib_lesstif="yes"
34802 echo "$as_me: failed program was:" >&5
34803 sed 's/^/| /' conftest.$ac_ext >&5
34805 wx_cv_lib_lesstif="no"
34808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34811 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34812 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34813 if test "$wx_cv_lib_lesstif" = "yes"; then
34814 cat >>confdefs.h <<\_ACEOF
34815 #define __WXLESSTIF__ 1
34819 cat >>confdefs.h <<\_ACEOF
34820 #define __WXLESSTIF__ 0
34825 CFLAGS=$save_CFLAGS
34827 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34832 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34833 if test "$wxUSE_LIBXPM" = "sys"; then
34834 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34835 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34838 for ac_dir in $SEARCH_LIB;
34840 for ac_extension in a so sl dylib dll.a; do
34841 if test -f "$ac_dir/libXpm.$ac_extension"; then
34842 ac_find_libraries=$ac_dir
34848 if test "$ac_find_libraries" != "" ; then
34850 if test "$ac_find_libraries" = "default location"; then
34853 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34855 if test $result = 0; then
34858 ac_path_to_link=" -L$ac_find_libraries"
34862 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34863 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34864 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34866 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34867 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34868 if test "${wx_cv_x11_xpm_h+set}" = set; then
34869 echo $ECHO_N "(cached) $ECHO_C" >&6
34872 save_CFLAGS=$CFLAGS
34873 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34875 cat >conftest.$ac_ext <<_ACEOF
34878 cat confdefs.h >>conftest.$ac_ext
34879 cat >>conftest.$ac_ext <<_ACEOF
34880 /* end confdefs.h. */
34882 #include <X11/xpm.h>
34889 version = XpmLibraryVersion();
34895 rm -f conftest.$ac_objext
34896 if { (ac_try="$ac_compile"
34897 case "(($ac_try" in
34898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34899 *) ac_try_echo=$ac_try;;
34901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34902 (eval "$ac_compile") 2>conftest.er1
34904 grep -v '^ *+' conftest.er1 >conftest.err
34906 cat conftest.err >&5
34907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34908 (exit $ac_status); } && {
34909 test -z "$ac_c_werror_flag" ||
34910 test ! -s conftest.err
34911 } && test -s conftest.$ac_objext; then
34912 wx_cv_x11_xpm_h=yes
34914 echo "$as_me: failed program was:" >&5
34915 sed 's/^/| /' conftest.$ac_ext >&5
34921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34923 CFLAGS=$save_CFLAGS
34927 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34928 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34930 if test $wx_cv_x11_xpm_h = "yes"; then
34931 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34932 cat >>confdefs.h <<\_ACEOF
34933 #define wxHAVE_LIB_XPM 1
34937 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34938 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34944 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34945 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34946 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34947 echo $ECHO_N "(cached) $ECHO_C" >&6
34949 ac_check_lib_save_LIBS=$LIBS
34950 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34951 cat >conftest.$ac_ext <<_ACEOF
34954 cat confdefs.h >>conftest.$ac_ext
34955 cat >>conftest.$ac_ext <<_ACEOF
34956 /* end confdefs.h. */
34958 /* Override any GCC internal prototype to avoid an error.
34959 Use char because int might match the return type of a GCC
34960 builtin and then its argument prototype would still apply. */
34964 char XShapeQueryExtension ();
34968 return XShapeQueryExtension ();
34973 rm -f conftest.$ac_objext conftest$ac_exeext
34974 if { (ac_try="$ac_link"
34975 case "(($ac_try" in
34976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34977 *) ac_try_echo=$ac_try;;
34979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34980 (eval "$ac_link") 2>conftest.er1
34982 grep -v '^ *+' conftest.er1 >conftest.err
34984 cat conftest.err >&5
34985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34986 (exit $ac_status); } && {
34987 test -z "$ac_c_werror_flag" ||
34988 test ! -s conftest.err
34989 } && test -s conftest$ac_exeext &&
34990 $as_test_x conftest$ac_exeext; then
34991 ac_cv_lib_Xext_XShapeQueryExtension=yes
34993 echo "$as_me: failed program was:" >&5
34994 sed 's/^/| /' conftest.$ac_ext >&5
34996 ac_cv_lib_Xext_XShapeQueryExtension=no
34999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35000 conftest$ac_exeext conftest.$ac_ext
35001 LIBS=$ac_check_lib_save_LIBS
35003 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
35004 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
35005 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
35007 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
35013 if test "$wxHAVE_XEXT_LIB" = 1; then
35014 save_CFLAGS="$CFLAGS"
35015 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
35017 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
35018 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
35019 cat >conftest.$ac_ext <<_ACEOF
35022 cat confdefs.h >>conftest.$ac_ext
35023 cat >>conftest.$ac_ext <<_ACEOF
35024 /* end confdefs.h. */
35026 #include <X11/Xlib.h>
35027 #include <X11/extensions/shape.h>
35033 int dummy1, dummy2;
35034 XShapeQueryExtension((Display*)NULL,
35035 (int*)NULL, (int*)NULL);
35041 rm -f conftest.$ac_objext
35042 if { (ac_try="$ac_compile"
35043 case "(($ac_try" in
35044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35045 *) ac_try_echo=$ac_try;;
35047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35048 (eval "$ac_compile") 2>conftest.er1
35050 grep -v '^ *+' conftest.er1 >conftest.err
35052 cat conftest.err >&5
35053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35054 (exit $ac_status); } && {
35055 test -z "$ac_c_werror_flag" ||
35056 test ! -s conftest.err
35057 } && test -s conftest.$ac_objext; then
35059 cat >>confdefs.h <<\_ACEOF
35060 #define HAVE_XSHAPE 1
35063 { echo "$as_me:$LINENO: result: found" >&5
35064 echo "${ECHO_T}found" >&6; }
35067 echo "$as_me: failed program was:" >&5
35068 sed 's/^/| /' conftest.$ac_ext >&5
35071 { echo "$as_me:$LINENO: result: not found" >&5
35072 echo "${ECHO_T}not found" >&6; }
35076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35077 CFLAGS="$save_CFLAGS"
35082 if test "$wxUSE_MAC" = 1; then
35083 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
35084 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
35085 if test "$GCC" = yes; then
35086 { echo "$as_me:$LINENO: result: gcc" >&5
35087 echo "${ECHO_T}gcc" >&6; }
35088 CPPFLAGS_PASCAL="-fpascal-strings"
35089 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
35090 { echo "$as_me:$LINENO: result: xlc" >&5
35091 echo "${ECHO_T}xlc" >&6; }
35092 CPPFLAGS_PASCAL="-qmacpstr"
35094 { echo "$as_me:$LINENO: result: none" >&5
35095 echo "${ECHO_T}none" >&6; }
35098 if test "x$wxUSE_UNIX" = "xyes"; then
35099 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
35101 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
35106 WXBASEPORT="_carbon"
35109 if test "$wxUSE_COCOA" = 1; then
35114 if test "$wxUSE_PM" = 1; then
35117 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
35118 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
35119 if test "${wx_cv_spbcdata+set}" = set; then
35120 echo $ECHO_N "(cached) $ECHO_C" >&6
35123 cat >conftest.$ac_ext <<_ACEOF
35126 cat confdefs.h >>conftest.$ac_ext
35127 cat >>conftest.$ac_ext <<_ACEOF
35128 /* end confdefs.h. */
35143 rm -f conftest.$ac_objext
35144 if { (ac_try="$ac_compile"
35145 case "(($ac_try" in
35146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35147 *) ac_try_echo=$ac_try;;
35149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35150 (eval "$ac_compile") 2>conftest.er1
35152 grep -v '^ *+' conftest.er1 >conftest.err
35154 cat conftest.err >&5
35155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35156 (exit $ac_status); } && {
35157 test -z "$ac_c_werror_flag" ||
35158 test ! -s conftest.err
35159 } && test -s conftest.$ac_objext; then
35162 echo "$as_me: failed program was:" >&5
35163 sed 's/^/| /' conftest.$ac_ext >&5
35169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35173 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35174 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35176 if test $wx_cv_spbcdata = "yes"; then
35177 cat >>confdefs.h <<\_ACEOF
35178 #define HAVE_SPBCDATA 1
35184 if test "$TOOLKIT" = "PM" ; then
35187 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
35190 if test "$wxUSE_UNIVERSAL" = "yes"; then
35191 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35195 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35196 DISTDIR="wx\$(TOOLKIT)"
35202 if test "$USE_WIN32" = 1 ; then
35206 GUIDIST="BASE_DIST"
35212 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35213 if test "$TOOLKIT" = "DFB" ; then
35214 wxUSE_UNICODE_UTF8=yes
35215 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
35216 wxUSE_UNICODE_UTF8=yes
35217 elif test "$USE_OS2" = "1" ; then
35218 wxUSE_UNICODE_UTF8=yes
35220 wxUSE_UNICODE_UTF8=no
35225 if test "$wxUSE_GUI" = "yes"; then
35226 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35228 for ac_header in X11/Xlib.h
35230 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35231 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35233 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35234 echo $ECHO_N "(cached) $ECHO_C" >&6
35236 cat >conftest.$ac_ext <<_ACEOF
35239 cat confdefs.h >>conftest.$ac_ext
35240 cat >>conftest.$ac_ext <<_ACEOF
35241 /* end confdefs.h. */
35244 #include <$ac_header>
35246 rm -f conftest.$ac_objext
35247 if { (ac_try="$ac_compile"
35248 case "(($ac_try" in
35249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35250 *) ac_try_echo=$ac_try;;
35252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35253 (eval "$ac_compile") 2>conftest.er1
35255 grep -v '^ *+' conftest.er1 >conftest.err
35257 cat conftest.err >&5
35258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35259 (exit $ac_status); } && {
35260 test -z "$ac_c_werror_flag" ||
35261 test ! -s conftest.err
35262 } && test -s conftest.$ac_objext; then
35263 eval "$as_ac_Header=yes"
35265 echo "$as_me: failed program was:" >&5
35266 sed 's/^/| /' conftest.$ac_ext >&5
35268 eval "$as_ac_Header=no"
35271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35273 ac_res=`eval echo '${'$as_ac_Header'}'`
35274 { echo "$as_me:$LINENO: result: $ac_res" >&5
35275 echo "${ECHO_T}$ac_res" >&6; }
35276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35277 cat >>confdefs.h <<_ACEOF
35278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35286 for ac_header in X11/XKBlib.h
35288 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35289 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35291 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35292 echo $ECHO_N "(cached) $ECHO_C" >&6
35294 cat >conftest.$ac_ext <<_ACEOF
35297 cat confdefs.h >>conftest.$ac_ext
35298 cat >>conftest.$ac_ext <<_ACEOF
35299 /* end confdefs.h. */
35301 #if HAVE_X11_XLIB_H
35302 #include <X11/Xlib.h>
35306 #include <$ac_header>
35308 rm -f conftest.$ac_objext
35309 if { (ac_try="$ac_compile"
35310 case "(($ac_try" in
35311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35312 *) ac_try_echo=$ac_try;;
35314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35315 (eval "$ac_compile") 2>conftest.er1
35317 grep -v '^ *+' conftest.er1 >conftest.err
35319 cat conftest.err >&5
35320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35321 (exit $ac_status); } && {
35322 test -z "$ac_c_werror_flag" ||
35323 test ! -s conftest.err
35324 } && test -s conftest.$ac_objext; then
35325 eval "$as_ac_Header=yes"
35327 echo "$as_me: failed program was:" >&5
35328 sed 's/^/| /' conftest.$ac_ext >&5
35330 eval "$as_ac_Header=no"
35333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35335 ac_res=`eval echo '${'$as_ac_Header'}'`
35336 { echo "$as_me:$LINENO: result: $ac_res" >&5
35337 echo "${ECHO_T}$ac_res" >&6; }
35338 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35339 cat >>confdefs.h <<_ACEOF
35340 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35355 if test "$TOOLKIT" != "MSW" ; then
35357 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
35359 { echo "$as_me:$LINENO: checking for sql.h" >&5
35360 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
35361 if test "${ac_cv_header_sql_h+set}" = set; then
35362 echo $ECHO_N "(cached) $ECHO_C" >&6
35364 cat >conftest.$ac_ext <<_ACEOF
35367 cat confdefs.h >>conftest.$ac_ext
35368 cat >>conftest.$ac_ext <<_ACEOF
35369 /* end confdefs.h. */
35374 rm -f conftest.$ac_objext
35375 if { (ac_try="$ac_compile"
35376 case "(($ac_try" in
35377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35378 *) ac_try_echo=$ac_try;;
35380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35381 (eval "$ac_compile") 2>conftest.er1
35383 grep -v '^ *+' conftest.er1 >conftest.err
35385 cat conftest.err >&5
35386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35387 (exit $ac_status); } && {
35388 test -z "$ac_c_werror_flag" ||
35389 test ! -s conftest.err
35390 } && test -s conftest.$ac_objext; then
35391 ac_cv_header_sql_h=yes
35393 echo "$as_me: failed program was:" >&5
35394 sed 's/^/| /' conftest.$ac_ext >&5
35396 ac_cv_header_sql_h=no
35399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35401 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35402 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35403 if test $ac_cv_header_sql_h = yes; then
35408 if test "x$found_sql_h" = "x1" ; then
35409 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35410 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35411 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35412 echo $ECHO_N "(cached) $ECHO_C" >&6
35414 ac_check_lib_save_LIBS=$LIBS
35415 LIBS="-liodbc $LIBS"
35416 cat >conftest.$ac_ext <<_ACEOF
35419 cat confdefs.h >>conftest.$ac_ext
35420 cat >>conftest.$ac_ext <<_ACEOF
35421 /* end confdefs.h. */
35423 /* Override any GCC internal prototype to avoid an error.
35424 Use char because int might match the return type of a GCC
35425 builtin and then its argument prototype would still apply. */
35429 char SQLAllocEnv ();
35433 return SQLAllocEnv ();
35438 rm -f conftest.$ac_objext conftest$ac_exeext
35439 if { (ac_try="$ac_link"
35440 case "(($ac_try" in
35441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35442 *) ac_try_echo=$ac_try;;
35444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35445 (eval "$ac_link") 2>conftest.er1
35447 grep -v '^ *+' conftest.er1 >conftest.err
35449 cat conftest.err >&5
35450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35451 (exit $ac_status); } && {
35452 test -z "$ac_c_werror_flag" ||
35453 test ! -s conftest.err
35454 } && test -s conftest$ac_exeext &&
35455 $as_test_x conftest$ac_exeext; then
35456 ac_cv_lib_iodbc_SQLAllocEnv=yes
35458 echo "$as_me: failed program was:" >&5
35459 sed 's/^/| /' conftest.$ac_ext >&5
35461 ac_cv_lib_iodbc_SQLAllocEnv=no
35464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35465 conftest$ac_exeext conftest.$ac_ext
35466 LIBS=$ac_check_lib_save_LIBS
35468 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35469 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35470 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35471 ODBC_LINK=" -liodbc"
35474 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35475 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35476 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35477 echo $ECHO_N "(cached) $ECHO_C" >&6
35479 ac_check_lib_save_LIBS=$LIBS
35480 LIBS="-lunixodbc $LIBS"
35481 cat >conftest.$ac_ext <<_ACEOF
35484 cat confdefs.h >>conftest.$ac_ext
35485 cat >>conftest.$ac_ext <<_ACEOF
35486 /* end confdefs.h. */
35488 /* Override any GCC internal prototype to avoid an error.
35489 Use char because int might match the return type of a GCC
35490 builtin and then its argument prototype would still apply. */
35494 char SQLAllocEnv ();
35498 return SQLAllocEnv ();
35503 rm -f conftest.$ac_objext conftest$ac_exeext
35504 if { (ac_try="$ac_link"
35505 case "(($ac_try" in
35506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35507 *) ac_try_echo=$ac_try;;
35509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35510 (eval "$ac_link") 2>conftest.er1
35512 grep -v '^ *+' conftest.er1 >conftest.err
35514 cat conftest.err >&5
35515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35516 (exit $ac_status); } && {
35517 test -z "$ac_c_werror_flag" ||
35518 test ! -s conftest.err
35519 } && test -s conftest$ac_exeext &&
35520 $as_test_x conftest$ac_exeext; then
35521 ac_cv_lib_unixodbc_SQLAllocEnv=yes
35523 echo "$as_me: failed program was:" >&5
35524 sed 's/^/| /' conftest.$ac_ext >&5
35526 ac_cv_lib_unixodbc_SQLAllocEnv=no
35529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35530 conftest$ac_exeext conftest.$ac_ext
35531 LIBS=$ac_check_lib_save_LIBS
35533 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35534 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35535 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35536 ODBC_LINK=" -lunixodbc"
35539 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35540 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35541 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35542 echo $ECHO_N "(cached) $ECHO_C" >&6
35544 ac_check_lib_save_LIBS=$LIBS
35545 LIBS="-lodbc $LIBS"
35546 cat >conftest.$ac_ext <<_ACEOF
35549 cat confdefs.h >>conftest.$ac_ext
35550 cat >>conftest.$ac_ext <<_ACEOF
35551 /* end confdefs.h. */
35553 /* Override any GCC internal prototype to avoid an error.
35554 Use char because int might match the return type of a GCC
35555 builtin and then its argument prototype would still apply. */
35559 char SQLAllocEnv ();
35563 return SQLAllocEnv ();
35568 rm -f conftest.$ac_objext conftest$ac_exeext
35569 if { (ac_try="$ac_link"
35570 case "(($ac_try" in
35571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35572 *) ac_try_echo=$ac_try;;
35574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35575 (eval "$ac_link") 2>conftest.er1
35577 grep -v '^ *+' conftest.er1 >conftest.err
35579 cat conftest.err >&5
35580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35581 (exit $ac_status); } && {
35582 test -z "$ac_c_werror_flag" ||
35583 test ! -s conftest.err
35584 } && test -s conftest$ac_exeext &&
35585 $as_test_x conftest$ac_exeext; then
35586 ac_cv_lib_odbc_SQLAllocEnv=yes
35588 echo "$as_me: failed program was:" >&5
35589 sed 's/^/| /' conftest.$ac_ext >&5
35591 ac_cv_lib_odbc_SQLAllocEnv=no
35594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35595 conftest$ac_exeext conftest.$ac_ext
35596 LIBS=$ac_check_lib_save_LIBS
35598 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35599 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35600 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35601 ODBC_LINK=" -lodbc"
35611 if test "x$ODBC_LINK" = "x" ; then
35612 if test "$wxUSE_ODBC" = "sys" ; then
35613 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35614 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35615 { (exit 1); exit 1; }; }
35617 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35618 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35626 if test "$wxUSE_ODBC" = "builtin" ; then
35627 cat >>confdefs.h <<\_ACEOF
35628 #define wxUSE_BUILTIN_IODBC 1
35634 if test "$wxUSE_ODBC" != "no" ; then
35635 cat >>confdefs.h <<\_ACEOF
35636 #define wxUSE_ODBC 1
35639 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35641 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35645 if test "$wxUSE_DISPLAY" = "yes"; then
35646 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35647 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35648 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35651 for ac_dir in $SEARCH_LIB;
35653 for ac_extension in a so sl dylib dll.a; do
35654 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35655 ac_find_libraries=$ac_dir
35661 if test "$ac_find_libraries" != "" ; then
35663 if test "$ac_find_libraries" = "default location"; then
35666 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35668 if test $result = 0; then
35671 ac_path_to_link=" -L$ac_find_libraries"
35675 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35676 LDFLAGS="$LDFLAGS $ac_path_to_link"
35678 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35679 { echo "$as_me:$LINENO: result: yes" >&5
35680 echo "${ECHO_T}yes" >&6; }
35682 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35683 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35686 for ac_dir in $SEARCH_LIB;
35688 for ac_extension in a so sl dylib dll.a; do
35689 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35690 ac_find_libraries=$ac_dir
35696 if test "$ac_find_libraries" != "" ; then
35697 { echo "$as_me:$LINENO: result: yes" >&5
35698 echo "${ECHO_T}yes" >&6; }
35700 for ac_header in X11/extensions/xf86vmode.h
35702 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35703 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35705 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35706 echo $ECHO_N "(cached) $ECHO_C" >&6
35708 cat >conftest.$ac_ext <<_ACEOF
35711 cat confdefs.h >>conftest.$ac_ext
35712 cat >>conftest.$ac_ext <<_ACEOF
35713 /* end confdefs.h. */
35715 #if HAVE_X11_XLIB_H
35716 #include <X11/Xlib.h>
35720 #include <$ac_header>
35722 rm -f conftest.$ac_objext
35723 if { (ac_try="$ac_compile"
35724 case "(($ac_try" in
35725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35726 *) ac_try_echo=$ac_try;;
35728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35729 (eval "$ac_compile") 2>conftest.er1
35731 grep -v '^ *+' conftest.er1 >conftest.err
35733 cat conftest.err >&5
35734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35735 (exit $ac_status); } && {
35736 test -z "$ac_c_werror_flag" ||
35737 test ! -s conftest.err
35738 } && test -s conftest.$ac_objext; then
35739 eval "$as_ac_Header=yes"
35741 echo "$as_me: failed program was:" >&5
35742 sed 's/^/| /' conftest.$ac_ext >&5
35744 eval "$as_ac_Header=no"
35747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35749 ac_res=`eval echo '${'$as_ac_Header'}'`
35750 { echo "$as_me:$LINENO: result: $ac_res" >&5
35751 echo "${ECHO_T}$ac_res" >&6; }
35752 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35753 cat >>confdefs.h <<_ACEOF
35754 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35757 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35764 { echo "$as_me:$LINENO: result: no" >&5
35765 echo "${ECHO_T}no" >&6; }
35769 { echo "$as_me:$LINENO: result: no" >&5
35770 echo "${ECHO_T}no" >&6; }
35771 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35772 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35775 elif test "$wxUSE_MSW" = 1; then
35776 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35777 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35778 if test "${ac_cv_header_ddraw_h+set}" = set; then
35779 echo $ECHO_N "(cached) $ECHO_C" >&6
35781 cat >conftest.$ac_ext <<_ACEOF
35784 cat confdefs.h >>conftest.$ac_ext
35785 cat >>conftest.$ac_ext <<_ACEOF
35786 /* end confdefs.h. */
35787 #include <windows.h>
35791 rm -f conftest.$ac_objext
35792 if { (ac_try="$ac_compile"
35793 case "(($ac_try" in
35794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35795 *) ac_try_echo=$ac_try;;
35797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35798 (eval "$ac_compile") 2>conftest.er1
35800 grep -v '^ *+' conftest.er1 >conftest.err
35802 cat conftest.err >&5
35803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35804 (exit $ac_status); } && {
35805 test -z "$ac_c_werror_flag" ||
35806 test ! -s conftest.err
35807 } && test -s conftest.$ac_objext; then
35808 ac_cv_header_ddraw_h=yes
35810 echo "$as_me: failed program was:" >&5
35811 sed 's/^/| /' conftest.$ac_ext >&5
35813 ac_cv_header_ddraw_h=no
35816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35818 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35819 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35825 if test "$wxUSE_DETECT_SM" = "yes"; then
35826 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35827 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35828 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35831 for ac_dir in $SEARCH_LIB;
35833 for ac_extension in a so sl dylib dll.a; do
35834 if test -f "$ac_dir/libSM.$ac_extension"; then
35835 ac_find_libraries=$ac_dir
35841 if test "$ac_find_libraries" != "" ; then
35843 if test "$ac_find_libraries" = "default location"; then
35846 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35848 if test $result = 0; then
35851 ac_path_to_link=" -L$ac_find_libraries"
35855 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35856 LDFLAGS="$LDFLAGS $ac_path_to_link"
35858 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35859 { echo "$as_me:$LINENO: result: yes" >&5
35860 echo "${ECHO_T}yes" >&6; }
35862 { echo "$as_me:$LINENO: result: no" >&5
35863 echo "${ECHO_T}no" >&6; }
35864 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35865 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35866 wxUSE_DETECT_SM="no"
35869 wxUSE_DETECT_SM="no"
35876 if test "$wxUSE_OPENGL" = "yes"; then
35877 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35878 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35879 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35881 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35882 OPENGL_LIBS="-framework OpenGL -framework AGL"
35883 elif test "$wxUSE_MSW" = 1; then
35884 OPENGL_LIBS="-lopengl32 -lglu32"
35886 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35887 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35890 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35892 if test -f "$ac_dir/GL/gl.h"; then
35893 ac_find_includes=$ac_dir
35898 if test "$ac_find_includes" != "" ; then
35899 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35900 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35902 if test "x$ac_find_includes" = "x/usr/include"; then
35903 ac_path_to_include=""
35905 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35907 if test $result = 0; then
35908 ac_path_to_include=""
35910 ac_path_to_include=" -I$ac_find_includes"
35914 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35916 { echo "$as_me:$LINENO: result: not found" >&5
35917 echo "${ECHO_T}not found" >&6; }
35920 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35921 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35922 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35923 echo $ECHO_N "(cached) $ECHO_C" >&6
35925 cat >conftest.$ac_ext <<_ACEOF
35928 cat confdefs.h >>conftest.$ac_ext
35929 cat >>conftest.$ac_ext <<_ACEOF
35930 /* end confdefs.h. */
35935 rm -f conftest.$ac_objext
35936 if { (ac_try="$ac_compile"
35937 case "(($ac_try" in
35938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35939 *) ac_try_echo=$ac_try;;
35941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35942 (eval "$ac_compile") 2>conftest.er1
35944 grep -v '^ *+' conftest.er1 >conftest.err
35946 cat conftest.err >&5
35947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35948 (exit $ac_status); } && {
35949 test -z "$ac_c_werror_flag" ||
35950 test ! -s conftest.err
35951 } && test -s conftest.$ac_objext; then
35952 ac_cv_header_GL_gl_h=yes
35954 echo "$as_me: failed program was:" >&5
35955 sed 's/^/| /' conftest.$ac_ext >&5
35957 ac_cv_header_GL_gl_h=no
35960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35962 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35963 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35964 if test $ac_cv_header_GL_gl_h = yes; then
35966 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35967 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35968 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35969 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35970 echo $ECHO_N "(cached) $ECHO_C" >&6
35972 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35973 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35975 # Is the header compilable?
35976 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35977 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35978 cat >conftest.$ac_ext <<_ACEOF
35981 cat confdefs.h >>conftest.$ac_ext
35982 cat >>conftest.$ac_ext <<_ACEOF
35983 /* end confdefs.h. */
35984 $ac_includes_default
35985 #include <GL/glu.h>
35987 rm -f conftest.$ac_objext
35988 if { (ac_try="$ac_compile"
35989 case "(($ac_try" in
35990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35991 *) ac_try_echo=$ac_try;;
35993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35994 (eval "$ac_compile") 2>conftest.er1
35996 grep -v '^ *+' conftest.er1 >conftest.err
35998 cat conftest.err >&5
35999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36000 (exit $ac_status); } && {
36001 test -z "$ac_c_werror_flag" ||
36002 test ! -s conftest.err
36003 } && test -s conftest.$ac_objext; then
36004 ac_header_compiler=yes
36006 echo "$as_me: failed program was:" >&5
36007 sed 's/^/| /' conftest.$ac_ext >&5
36009 ac_header_compiler=no
36012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36013 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36014 echo "${ECHO_T}$ac_header_compiler" >&6; }
36016 # Is the header present?
36017 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
36018 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
36019 cat >conftest.$ac_ext <<_ACEOF
36022 cat confdefs.h >>conftest.$ac_ext
36023 cat >>conftest.$ac_ext <<_ACEOF
36024 /* end confdefs.h. */
36025 #include <GL/glu.h>
36027 if { (ac_try="$ac_cpp conftest.$ac_ext"
36028 case "(($ac_try" in
36029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36030 *) ac_try_echo=$ac_try;;
36032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36033 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36035 grep -v '^ *+' conftest.er1 >conftest.err
36037 cat conftest.err >&5
36038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36039 (exit $ac_status); } >/dev/null && {
36040 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
36041 test ! -s conftest.err
36043 ac_header_preproc=yes
36045 echo "$as_me: failed program was:" >&5
36046 sed 's/^/| /' conftest.$ac_ext >&5
36048 ac_header_preproc=no
36051 rm -f conftest.err conftest.$ac_ext
36052 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36053 echo "${ECHO_T}$ac_header_preproc" >&6; }
36055 # So? What about this header?
36056 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36058 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
36059 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
36060 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
36061 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
36062 ac_header_preproc=yes
36065 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
36066 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
36067 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
36068 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
36069 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
36070 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
36071 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
36072 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
36073 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
36074 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
36075 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
36076 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
36078 ## ----------------------------------------- ##
36079 ## Report this to wx-dev@lists.wxwidgets.org ##
36080 ## ----------------------------------------- ##
36082 ) | sed "s/^/$as_me: WARNING: /" >&2
36085 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
36086 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
36087 if test "${ac_cv_header_GL_glu_h+set}" = set; then
36088 echo $ECHO_N "(cached) $ECHO_C" >&6
36090 ac_cv_header_GL_glu_h=$ac_header_preproc
36092 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
36093 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
36096 if test $ac_cv_header_GL_glu_h = yes; then
36100 { echo "$as_me:$LINENO: checking for -lGL" >&5
36101 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
36104 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
36106 for ac_extension in a so sl dylib dll.a; do
36107 if test -f "$ac_dir/libGL.$ac_extension"; then
36108 ac_find_libraries=$ac_dir
36114 if test "$ac_find_libraries" != "" ; then
36115 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
36116 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
36119 if test "$ac_find_libraries" = "default location"; then
36122 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36124 if test $result = 0; then
36127 ac_path_to_link=" -L$ac_find_libraries"
36131 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36132 LDFLAGS_GL="$ac_path_to_link"
36135 { echo "$as_me:$LINENO: checking for -lGLU" >&5
36136 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
36139 for ac_dir in $SEARCH_LIB;
36141 for ac_extension in a so sl dylib dll.a; do
36142 if test -f "$ac_dir/libGLU.$ac_extension"; then
36143 ac_find_libraries=$ac_dir
36149 if test "$ac_find_libraries" != "" ; then
36151 if test "$ac_find_libraries" = "default location"; then
36154 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36156 if test $result = 0; then
36159 ac_path_to_link=" -L$ac_find_libraries"
36163 if test "$ac_path_to_link" != " -L/usr/lib" -a \
36164 "$ac_path_to_link" != "$LDFLAGS_GL"; then
36165 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
36169 OPENGL_LIBS="-lGL -lGLU"
36170 { echo "$as_me:$LINENO: result: yes" >&5
36171 echo "${ECHO_T}yes" >&6; }
36173 { echo "$as_me:$LINENO: result: no" >&5
36174 echo "${ECHO_T}no" >&6; }
36177 { echo "$as_me:$LINENO: result: no" >&5
36178 echo "${ECHO_T}no" >&6; }
36181 if test "$found_gl" != 1; then
36182 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
36183 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
36186 for ac_dir in $SEARCH_LIB;
36188 for ac_extension in a so sl dylib dll.a; do
36189 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
36190 ac_find_libraries=$ac_dir
36196 if test "$ac_find_libraries" != "" ; then
36198 if test "$ac_find_libraries" = "default location"; then
36201 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36203 if test $result = 0; then
36206 ac_path_to_link=" -L$ac_find_libraries"
36210 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
36211 OPENGL_LIBS="-lMesaGL -lMesaGLU"
36212 { echo "$as_me:$LINENO: result: yes" >&5
36213 echo "${ECHO_T}yes" >&6; }
36215 { echo "$as_me:$LINENO: result: no" >&5
36216 echo "${ECHO_T}no" >&6; }
36228 if test "x$OPENGL_LIBS" = "x"; then
36229 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
36230 echo "$as_me: error: OpenGL libraries not available" >&2;}
36231 { (exit 1); exit 1; }; }
36235 if test "$wxUSE_OPENGL" = "yes"; then
36237 cat >>confdefs.h <<\_ACEOF
36238 #define wxUSE_OPENGL 1
36241 cat >>confdefs.h <<\_ACEOF
36242 #define wxUSE_GLCANVAS 1
36245 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
36250 if test -n "$TOOLKIT" ; then
36251 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
36256 if test "$wxUSE_SHARED" = "yes"; then
36260 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
36261 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
36266 if test "$wxUSE_SHARED" = "yes"; then
36270 *-*-cygwin* | *-*-mingw* )
36271 wx_cv_version_script=no
36275 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
36276 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
36277 if test "${wx_cv_version_script+set}" = set; then
36278 echo $ECHO_N "(cached) $ECHO_C" >&6
36281 echo "VER_1 { *; };" >conftest.sym
36282 echo "int main() { return 0; }" >conftest.cpp
36285 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36286 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
36287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36288 (eval $ac_try) 2>&5
36290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36291 (exit $ac_status); }; } ; then
36292 if test -s conftest.stderr ; then
36293 wx_cv_version_script=no
36295 wx_cv_version_script=yes
36298 wx_cv_version_script=no
36301 if test $wx_cv_version_script = yes
36303 echo "struct B { virtual ~B() { } }; \
36304 struct D : public B { }; \
36305 void F() { D d; }" > conftest.cpp
36308 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36309 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
36310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36311 (eval $ac_try) 2>&5
36313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36314 (exit $ac_status); }; } &&
36316 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36317 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
36318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36319 (eval $ac_try) 2>&5
36321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36322 (exit $ac_status); }; }
36325 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36326 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36328 (eval $ac_try) 2>&5
36330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36331 (exit $ac_status); }; }
36333 wx_cv_version_script=yes
36335 wx_cv_version_script=no
36340 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36341 rm -f conftest1.output conftest2.output conftest3.output
36344 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36345 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36347 if test $wx_cv_version_script = yes ; then
36348 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36354 if test "$wxUSE_VISIBILITY" != "no"; then
36357 if test -n "$GCC"; then
36358 CFLAGS_VISIBILITY="-fvisibility=hidden"
36359 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
36360 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
36361 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
36362 if test "${wx_cv_cc_visibility+set}" = set; then
36363 echo $ECHO_N "(cached) $ECHO_C" >&6
36366 wx_save_CXXFLAGS="$CXXFLAGS"
36367 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36369 ac_cpp='$CXXCPP $CPPFLAGS'
36370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36374 cat >conftest.$ac_ext <<_ACEOF
36377 cat confdefs.h >>conftest.$ac_ext
36378 cat >>conftest.$ac_ext <<_ACEOF
36379 /* end confdefs.h. */
36381 /* we need gcc >= 4.0, older versions with visibility support
36382 didn't have class visibility: */
36383 #if defined(__GNUC__) && __GNUC__ < 4
36384 error this gcc is too old;
36387 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
36388 extern __attribute__((__visibility__("default"))) int exportedvar;
36389 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36390 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36391 class __attribute__((__visibility__("default"))) Foo {
36403 rm -f conftest.$ac_objext
36404 if { (ac_try="$ac_compile"
36405 case "(($ac_try" in
36406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36407 *) ac_try_echo=$ac_try;;
36409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36410 (eval "$ac_compile") 2>conftest.er1
36412 grep -v '^ *+' conftest.er1 >conftest.err
36414 cat conftest.err >&5
36415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36416 (exit $ac_status); } && {
36417 test -z "$ac_cxx_werror_flag" ||
36418 test ! -s conftest.err
36419 } && test -s conftest.$ac_objext; then
36420 wx_cv_cc_visibility=yes
36422 echo "$as_me: failed program was:" >&5
36423 sed 's/^/| /' conftest.$ac_ext >&5
36425 wx_cv_cc_visibility=no
36428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36430 ac_cpp='$CPP $CPPFLAGS'
36431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36435 CXXFLAGS="$wx_save_CXXFLAGS"
36438 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36439 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36440 if test $wx_cv_cc_visibility = yes; then
36441 cat >>confdefs.h <<\_ACEOF
36442 #define HAVE_VISIBILITY 1
36446 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36447 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36448 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36449 echo $ECHO_N "(cached) $ECHO_C" >&6
36452 wx_save_CXXFLAGS="$CXXFLAGS"
36453 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36455 ac_cpp='$CXXCPP $CPPFLAGS'
36456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36460 cat >conftest.$ac_ext <<_ACEOF
36463 cat confdefs.h >>conftest.$ac_ext
36464 cat >>conftest.$ac_ext <<_ACEOF
36465 /* end confdefs.h. */
36479 rm -f conftest.$ac_objext conftest$ac_exeext
36480 if { (ac_try="$ac_link"
36481 case "(($ac_try" in
36482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36483 *) ac_try_echo=$ac_try;;
36485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36486 (eval "$ac_link") 2>conftest.er1
36488 grep -v '^ *+' conftest.er1 >conftest.err
36490 cat conftest.err >&5
36491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36492 (exit $ac_status); } && {
36493 test -z "$ac_cxx_werror_flag" ||
36494 test ! -s conftest.err
36495 } && test -s conftest$ac_exeext &&
36496 $as_test_x conftest$ac_exeext; then
36497 wx_cv_cc_broken_libstdcxx_visibility=no
36499 echo "$as_me: failed program was:" >&5
36500 sed 's/^/| /' conftest.$ac_ext >&5
36502 wx_cv_cc_broken_libstdcxx_visibility=yes
36505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36506 conftest$ac_exeext conftest.$ac_ext
36508 ac_cpp='$CPP $CPPFLAGS'
36509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36513 CXXFLAGS="$wx_save_CXXFLAGS"
36516 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36517 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36518 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36519 cat >>confdefs.h <<\_ACEOF
36520 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36526 CFLAGS_VISIBILITY=""
36527 CXXFLAGS_VISIBILITY=""
36535 if test "x$SUNCXX" = xyes; then
36536 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36537 WXCONFIG_RPATH="-R\$libdir"
36540 *-*-linux* | *-*-gnu* )
36541 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36542 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36547 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36549 saveLdflags="$LDFLAGS"
36550 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36551 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36552 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36553 cat >conftest.$ac_ext <<_ACEOF
36556 cat confdefs.h >>conftest.$ac_ext
36557 cat >>conftest.$ac_ext <<_ACEOF
36558 /* end confdefs.h. */
36568 rm -f conftest.$ac_objext conftest$ac_exeext
36569 if { (ac_try="$ac_link"
36570 case "(($ac_try" in
36571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36572 *) ac_try_echo=$ac_try;;
36574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36575 (eval "$ac_link") 2>conftest.er1
36577 grep -v '^ *+' conftest.er1 >conftest.err
36579 cat conftest.err >&5
36580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36581 (exit $ac_status); } && {
36582 test -z "$ac_c_werror_flag" ||
36583 test ! -s conftest.err
36584 } && test -s conftest$ac_exeext &&
36585 $as_test_x conftest$ac_exeext; then
36587 { echo "$as_me:$LINENO: result: yes" >&5
36588 echo "${ECHO_T}yes" >&6; }
36589 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36590 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36593 echo "$as_me: failed program was:" >&5
36594 sed 's/^/| /' conftest.$ac_ext >&5
36597 { echo "$as_me:$LINENO: result: no" >&5
36598 echo "${ECHO_T}no" >&6; }
36599 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36600 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36601 LDFLAGS="$saveLdflags -Wl,-R,/"
36602 cat >conftest.$ac_ext <<_ACEOF
36605 cat confdefs.h >>conftest.$ac_ext
36606 cat >>conftest.$ac_ext <<_ACEOF
36607 /* end confdefs.h. */
36617 rm -f conftest.$ac_objext conftest$ac_exeext
36618 if { (ac_try="$ac_link"
36619 case "(($ac_try" in
36620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36621 *) ac_try_echo=$ac_try;;
36623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36624 (eval "$ac_link") 2>conftest.er1
36626 grep -v '^ *+' conftest.er1 >conftest.err
36628 cat conftest.err >&5
36629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36630 (exit $ac_status); } && {
36631 test -z "$ac_c_werror_flag" ||
36632 test ! -s conftest.err
36633 } && test -s conftest$ac_exeext &&
36634 $as_test_x conftest$ac_exeext; then
36636 { echo "$as_me:$LINENO: result: yes" >&5
36637 echo "${ECHO_T}yes" >&6; }
36638 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36639 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36642 echo "$as_me: failed program was:" >&5
36643 sed 's/^/| /' conftest.$ac_ext >&5
36646 { echo "$as_me:$LINENO: result: no" >&5
36647 echo "${ECHO_T}no" >&6; }
36651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36652 conftest$ac_exeext conftest.$ac_ext
36656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36657 conftest$ac_exeext conftest.$ac_ext
36658 LDFLAGS="$saveLdflags"
36662 install_name_tool=`which install_name_tool`
36663 if test "$install_name_tool" -a -x "$install_name_tool"; then
36664 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36665 cat <<EOF >change-install-names
36667 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36668 inst_cmd="install_name_tool "
36669 for i in \${libnames} ; do
36670 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36674 chmod +x change-install-names
36678 *-*-cygwin* | *-*-mingw32* )
36679 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36683 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36684 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36690 if test $wxUSE_RPATH = "no"; then
36691 SAMPLES_RPATH_FLAG=''
36692 SAMPLES_RPATH_POSTLINK=''
36700 config_linkage_component="-static"
36707 lib_unicode_suffix=
36709 if test "$wxUSE_UNICODE" = "yes"; then
36710 lib_unicode_suffix=u
36711 WX_CHARTYPE="unicode"
36716 WX_DEBUGTYPE="release"
36718 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36720 WX_DEBUGTYPE="debug"
36724 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36725 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36728 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36732 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36734 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36736 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36738 if test "$cross_compiling" = "yes"; then
36739 HOST_SUFFIX="-$host_alias"
36740 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36741 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36744 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36745 if test "${TOOLKIT_DIR}" = "os2"; then
36746 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36748 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36753 if test "$wxUSE_COCOA" = 1; then
36756 ac_cpp='$CPP $CPPFLAGS'
36757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36763 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36764 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36765 cat >conftest.$ac_ext <<_ACEOF
36768 cat confdefs.h >>conftest.$ac_ext
36769 cat >>conftest.$ac_ext <<_ACEOF
36770 /* end confdefs.h. */
36771 #include <AppKit/NSEvent.h>
36772 #include <CoreFoundation/CoreFoundation.h>
36782 rm -f conftest.$ac_objext
36783 if { (ac_try="$ac_compile"
36784 case "(($ac_try" in
36785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36786 *) ac_try_echo=$ac_try;;
36788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36789 (eval "$ac_compile") 2>conftest.er1
36791 grep -v '^ *+' conftest.er1 >conftest.err
36793 cat conftest.err >&5
36794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36795 (exit $ac_status); } && {
36796 test -z "$ac_c_werror_flag" ||
36797 test ! -s conftest.err
36798 } && test -s conftest.$ac_objext; then
36799 { echo "$as_me:$LINENO: result: no" >&5
36800 echo "${ECHO_T}no" >&6; }
36802 echo "$as_me: failed program was:" >&5
36803 sed 's/^/| /' conftest.$ac_ext >&5
36805 { echo "$as_me:$LINENO: result: yes" >&5
36806 echo "${ECHO_T}yes" >&6; }
36807 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36808 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36809 cat >conftest.$ac_ext <<_ACEOF
36812 cat confdefs.h >>conftest.$ac_ext
36813 cat >>conftest.$ac_ext <<_ACEOF
36814 /* end confdefs.h. */
36815 #define __Point__ 1
36816 #include <AppKit/NSEvent.h>
36817 #include <CoreFoundation/CoreFoundation.h>
36827 rm -f conftest.$ac_objext
36828 if { (ac_try="$ac_compile"
36829 case "(($ac_try" in
36830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36831 *) ac_try_echo=$ac_try;;
36833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36834 (eval "$ac_compile") 2>conftest.er1
36836 grep -v '^ *+' conftest.er1 >conftest.err
36838 cat conftest.err >&5
36839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36840 (exit $ac_status); } && {
36841 test -z "$ac_c_werror_flag" ||
36842 test ! -s conftest.err
36843 } && test -s conftest.$ac_objext; then
36844 { echo "$as_me:$LINENO: result: yes" >&5
36845 echo "${ECHO_T}yes" >&6; }
36846 cat >>confdefs.h <<\_ACEOF
36847 #define __Point__ 1
36852 echo "$as_me: failed program was:" >&5
36853 sed 's/^/| /' conftest.$ac_ext >&5
36855 { { echo "$as_me:$LINENO: error: no
36856 See \`config.log' for more details." >&5
36857 echo "$as_me: error: no
36858 See \`config.log' for more details." >&2;}
36859 { (exit 1); exit 1; }; }
36863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36869 ac_cpp='$CPP $CPPFLAGS'
36870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36876 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36877 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36878 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36880 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36882 # Extract the first word of "Rez", so it can be a program name with args.
36883 set dummy Rez; ac_word=$2
36884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36886 if test "${ac_cv_prog_REZ+set}" = set; then
36887 echo $ECHO_N "(cached) $ECHO_C" >&6
36889 if test -n "$REZ"; then
36890 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36893 for as_dir in $PATH
36896 test -z "$as_dir" && as_dir=.
36897 for ac_exec_ext in '' $ac_executable_extensions; do
36898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36899 ac_cv_prog_REZ="Rez"
36900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36907 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
36910 REZ=$ac_cv_prog_REZ
36911 if test -n "$REZ"; then
36912 { echo "$as_me:$LINENO: result: $REZ" >&5
36913 echo "${ECHO_T}$REZ" >&6; }
36915 { echo "$as_me:$LINENO: result: no" >&5
36916 echo "${ECHO_T}no" >&6; }
36920 # Extract the first word of "DeRez", so it can be a program name with args.
36921 set dummy DeRez; ac_word=$2
36922 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36924 if test "${ac_cv_prog_DEREZ+set}" = set; then
36925 echo $ECHO_N "(cached) $ECHO_C" >&6
36927 if test -n "$DEREZ"; then
36928 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36931 for as_dir in $PATH
36934 test -z "$as_dir" && as_dir=.
36935 for ac_exec_ext in '' $ac_executable_extensions; do
36936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36937 ac_cv_prog_DEREZ="DeRez"
36938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36945 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
36948 DEREZ=$ac_cv_prog_DEREZ
36949 if test -n "$DEREZ"; then
36950 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36951 echo "${ECHO_T}$DEREZ" >&6; }
36953 { echo "$as_me:$LINENO: result: no" >&5
36954 echo "${ECHO_T}no" >&6; }
36958 # Extract the first word of "SetFile", so it can be a program name with args.
36959 set dummy SetFile; ac_word=$2
36960 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36962 if test "${ac_cv_prog_SETFILE+set}" = set; then
36963 echo $ECHO_N "(cached) $ECHO_C" >&6
36965 if test -n "$SETFILE"; then
36966 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36969 for as_dir in $PATH
36972 test -z "$as_dir" && as_dir=.
36973 for ac_exec_ext in '' $ac_executable_extensions; do
36974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36975 ac_cv_prog_SETFILE="SetFile"
36976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36983 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36986 SETFILE=$ac_cv_prog_SETFILE
36987 if test -n "$SETFILE"; then
36988 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36989 echo "${ECHO_T}$SETFILE" >&6; }
36991 { echo "$as_me:$LINENO: result: no" >&5
36992 echo "${ECHO_T}no" >&6; }
36997 MACSETFILE="\$(SETFILE)"
36999 if test "$wxUSE_MAC" = 1; then
37000 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
37002 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
37004 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
37005 RESCOMP="echo -n \| $REZ"
37006 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
37012 if test "$wxUSE_PM" = 1; then
37014 WXCONFIG_RESFLAGS="-ep"
37016 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
37018 POSTLINK_COMMAND="@true"
37025 { echo "$as_me:$LINENO: checking for mode_t" >&5
37026 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
37027 if test "${ac_cv_type_mode_t+set}" = set; then
37028 echo $ECHO_N "(cached) $ECHO_C" >&6
37030 cat >conftest.$ac_ext <<_ACEOF
37033 cat confdefs.h >>conftest.$ac_ext
37034 cat >>conftest.$ac_ext <<_ACEOF
37035 /* end confdefs.h. */
37036 $ac_includes_default
37037 typedef mode_t ac__type_new_;
37041 if ((ac__type_new_ *) 0)
37043 if (sizeof (ac__type_new_))
37049 rm -f conftest.$ac_objext
37050 if { (ac_try="$ac_compile"
37051 case "(($ac_try" in
37052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37053 *) ac_try_echo=$ac_try;;
37055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37056 (eval "$ac_compile") 2>conftest.er1
37058 grep -v '^ *+' conftest.er1 >conftest.err
37060 cat conftest.err >&5
37061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37062 (exit $ac_status); } && {
37063 test -z "$ac_c_werror_flag" ||
37064 test ! -s conftest.err
37065 } && test -s conftest.$ac_objext; then
37066 ac_cv_type_mode_t=yes
37068 echo "$as_me: failed program was:" >&5
37069 sed 's/^/| /' conftest.$ac_ext >&5
37071 ac_cv_type_mode_t=no
37074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37076 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
37077 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
37078 if test $ac_cv_type_mode_t = yes; then
37082 cat >>confdefs.h <<_ACEOF
37088 { echo "$as_me:$LINENO: checking for off_t" >&5
37089 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
37090 if test "${ac_cv_type_off_t+set}" = set; then
37091 echo $ECHO_N "(cached) $ECHO_C" >&6
37093 cat >conftest.$ac_ext <<_ACEOF
37096 cat confdefs.h >>conftest.$ac_ext
37097 cat >>conftest.$ac_ext <<_ACEOF
37098 /* end confdefs.h. */
37099 $ac_includes_default
37100 typedef off_t ac__type_new_;
37104 if ((ac__type_new_ *) 0)
37106 if (sizeof (ac__type_new_))
37112 rm -f conftest.$ac_objext
37113 if { (ac_try="$ac_compile"
37114 case "(($ac_try" in
37115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37116 *) ac_try_echo=$ac_try;;
37118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37119 (eval "$ac_compile") 2>conftest.er1
37121 grep -v '^ *+' conftest.er1 >conftest.err
37123 cat conftest.err >&5
37124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37125 (exit $ac_status); } && {
37126 test -z "$ac_c_werror_flag" ||
37127 test ! -s conftest.err
37128 } && test -s conftest.$ac_objext; then
37129 ac_cv_type_off_t=yes
37131 echo "$as_me: failed program was:" >&5
37132 sed 's/^/| /' conftest.$ac_ext >&5
37134 ac_cv_type_off_t=no
37137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37139 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
37140 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
37141 if test $ac_cv_type_off_t = yes; then
37145 cat >>confdefs.h <<_ACEOF
37146 #define off_t long int
37151 { echo "$as_me:$LINENO: checking for pid_t" >&5
37152 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
37153 if test "${ac_cv_type_pid_t+set}" = set; then
37154 echo $ECHO_N "(cached) $ECHO_C" >&6
37156 cat >conftest.$ac_ext <<_ACEOF
37159 cat confdefs.h >>conftest.$ac_ext
37160 cat >>conftest.$ac_ext <<_ACEOF
37161 /* end confdefs.h. */
37162 $ac_includes_default
37163 typedef pid_t ac__type_new_;
37167 if ((ac__type_new_ *) 0)
37169 if (sizeof (ac__type_new_))
37175 rm -f conftest.$ac_objext
37176 if { (ac_try="$ac_compile"
37177 case "(($ac_try" in
37178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37179 *) ac_try_echo=$ac_try;;
37181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37182 (eval "$ac_compile") 2>conftest.er1
37184 grep -v '^ *+' conftest.er1 >conftest.err
37186 cat conftest.err >&5
37187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37188 (exit $ac_status); } && {
37189 test -z "$ac_c_werror_flag" ||
37190 test ! -s conftest.err
37191 } && test -s conftest.$ac_objext; then
37192 ac_cv_type_pid_t=yes
37194 echo "$as_me: failed program was:" >&5
37195 sed 's/^/| /' conftest.$ac_ext >&5
37197 ac_cv_type_pid_t=no
37200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37202 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
37203 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
37204 if test $ac_cv_type_pid_t = yes; then
37208 cat >>confdefs.h <<_ACEOF
37214 { echo "$as_me:$LINENO: checking for size_t" >&5
37215 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
37216 if test "${ac_cv_type_size_t+set}" = set; then
37217 echo $ECHO_N "(cached) $ECHO_C" >&6
37219 cat >conftest.$ac_ext <<_ACEOF
37222 cat confdefs.h >>conftest.$ac_ext
37223 cat >>conftest.$ac_ext <<_ACEOF
37224 /* end confdefs.h. */
37225 $ac_includes_default
37226 typedef size_t ac__type_new_;
37230 if ((ac__type_new_ *) 0)
37232 if (sizeof (ac__type_new_))
37238 rm -f conftest.$ac_objext
37239 if { (ac_try="$ac_compile"
37240 case "(($ac_try" in
37241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37242 *) ac_try_echo=$ac_try;;
37244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37245 (eval "$ac_compile") 2>conftest.er1
37247 grep -v '^ *+' conftest.er1 >conftest.err
37249 cat conftest.err >&5
37250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37251 (exit $ac_status); } && {
37252 test -z "$ac_c_werror_flag" ||
37253 test ! -s conftest.err
37254 } && test -s conftest.$ac_objext; then
37255 ac_cv_type_size_t=yes
37257 echo "$as_me: failed program was:" >&5
37258 sed 's/^/| /' conftest.$ac_ext >&5
37260 ac_cv_type_size_t=no
37263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37265 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
37266 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
37267 if test $ac_cv_type_size_t = yes; then
37271 cat >>confdefs.h <<_ACEOF
37272 #define size_t unsigned int
37277 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
37278 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
37279 if test "${ac_cv_type_uid_t+set}" = set; then
37280 echo $ECHO_N "(cached) $ECHO_C" >&6
37282 cat >conftest.$ac_ext <<_ACEOF
37285 cat confdefs.h >>conftest.$ac_ext
37286 cat >>conftest.$ac_ext <<_ACEOF
37287 /* end confdefs.h. */
37288 #include <sys/types.h>
37291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
37292 $EGREP "uid_t" >/dev/null 2>&1; then
37293 ac_cv_type_uid_t=yes
37295 ac_cv_type_uid_t=no
37300 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
37301 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
37302 if test $ac_cv_type_uid_t = no; then
37304 cat >>confdefs.h <<\_ACEOF
37309 cat >>confdefs.h <<\_ACEOF
37316 { echo "$as_me:$LINENO: checking for ssize_t" >&5
37317 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
37318 if test "${ac_cv_type_ssize_t+set}" = set; then
37319 echo $ECHO_N "(cached) $ECHO_C" >&6
37321 cat >conftest.$ac_ext <<_ACEOF
37324 cat confdefs.h >>conftest.$ac_ext
37325 cat >>conftest.$ac_ext <<_ACEOF
37326 /* end confdefs.h. */
37327 $ac_includes_default
37328 typedef ssize_t ac__type_new_;
37332 if ((ac__type_new_ *) 0)
37334 if (sizeof (ac__type_new_))
37340 rm -f conftest.$ac_objext
37341 if { (ac_try="$ac_compile"
37342 case "(($ac_try" in
37343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37344 *) ac_try_echo=$ac_try;;
37346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37347 (eval "$ac_compile") 2>conftest.er1
37349 grep -v '^ *+' conftest.er1 >conftest.err
37351 cat conftest.err >&5
37352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37353 (exit $ac_status); } && {
37354 test -z "$ac_c_werror_flag" ||
37355 test ! -s conftest.err
37356 } && test -s conftest.$ac_objext; then
37357 ac_cv_type_ssize_t=yes
37359 echo "$as_me: failed program was:" >&5
37360 sed 's/^/| /' conftest.$ac_ext >&5
37362 ac_cv_type_ssize_t=no
37365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37367 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
37368 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
37369 if test $ac_cv_type_ssize_t = yes; then
37371 cat >>confdefs.h <<_ACEOF
37372 #define HAVE_SSIZE_T 1
37380 ac_cpp='$CXXCPP $CPPFLAGS'
37381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37384 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
37385 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
37386 if test "${wx_cv_size_t_is_uint+set}" = set; then
37387 echo $ECHO_N "(cached) $ECHO_C" >&6
37390 cat >conftest.$ac_ext <<_ACEOF
37393 cat confdefs.h >>conftest.$ac_ext
37394 cat >>conftest.$ac_ext <<_ACEOF
37395 /* end confdefs.h. */
37396 #include <stddef.h>
37403 struct Foo { void foo(size_t); void foo(unsigned int); };
37411 rm -f conftest.$ac_objext
37412 if { (ac_try="$ac_compile"
37413 case "(($ac_try" in
37414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37415 *) ac_try_echo=$ac_try;;
37417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37418 (eval "$ac_compile") 2>conftest.er1
37420 grep -v '^ *+' conftest.er1 >conftest.err
37422 cat conftest.err >&5
37423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37424 (exit $ac_status); } && {
37425 test -z "$ac_cxx_werror_flag" ||
37426 test ! -s conftest.err
37427 } && test -s conftest.$ac_objext; then
37428 wx_cv_size_t_is_uint=no
37430 echo "$as_me: failed program was:" >&5
37431 sed 's/^/| /' conftest.$ac_ext >&5
37433 wx_cv_size_t_is_uint=yes
37437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37441 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
37442 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37444 if test "$wx_cv_size_t_is_uint" = "yes"; then
37445 cat >>confdefs.h <<\_ACEOF
37446 #define wxSIZE_T_IS_UINT 1
37450 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
37451 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
37452 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37453 echo $ECHO_N "(cached) $ECHO_C" >&6
37455 cat >conftest.$ac_ext <<_ACEOF
37458 cat confdefs.h >>conftest.$ac_ext
37459 cat >>conftest.$ac_ext <<_ACEOF
37460 /* end confdefs.h. */
37461 #include <stddef.h>
37468 struct Foo { void foo(size_t); void foo(unsigned long); };
37476 rm -f conftest.$ac_objext
37477 if { (ac_try="$ac_compile"
37478 case "(($ac_try" in
37479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37480 *) ac_try_echo=$ac_try;;
37482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37483 (eval "$ac_compile") 2>conftest.er1
37485 grep -v '^ *+' conftest.er1 >conftest.err
37487 cat conftest.err >&5
37488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37489 (exit $ac_status); } && {
37490 test -z "$ac_cxx_werror_flag" ||
37491 test ! -s conftest.err
37492 } && test -s conftest.$ac_objext; then
37493 wx_cv_size_t_is_ulong=no
37495 echo "$as_me: failed program was:" >&5
37496 sed 's/^/| /' conftest.$ac_ext >&5
37498 wx_cv_size_t_is_ulong=yes
37502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37505 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37506 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37508 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37509 cat >>confdefs.h <<\_ACEOF
37510 #define wxSIZE_T_IS_ULONG 1
37516 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37517 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37518 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37519 echo $ECHO_N "(cached) $ECHO_C" >&6
37521 cat >conftest.$ac_ext <<_ACEOF
37524 cat confdefs.h >>conftest.$ac_ext
37525 cat >>conftest.$ac_ext <<_ACEOF
37526 /* end confdefs.h. */
37534 struct Foo { void foo(wchar_t);
37535 void foo(unsigned short);
37536 void foo(unsigned int);
37537 void foo(unsigned long); };
37545 rm -f conftest.$ac_objext
37546 if { (ac_try="$ac_compile"
37547 case "(($ac_try" in
37548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37549 *) ac_try_echo=$ac_try;;
37551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37552 (eval "$ac_compile") 2>conftest.er1
37554 grep -v '^ *+' conftest.er1 >conftest.err
37556 cat conftest.err >&5
37557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37558 (exit $ac_status); } && {
37559 test -z "$ac_cxx_werror_flag" ||
37560 test ! -s conftest.err
37561 } && test -s conftest.$ac_objext; then
37562 wx_cv_wchar_t_is_separate_type=yes
37564 echo "$as_me: failed program was:" >&5
37565 sed 's/^/| /' conftest.$ac_ext >&5
37567 wx_cv_wchar_t_is_separate_type=no
37571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37574 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37575 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37577 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37578 cat >>confdefs.h <<\_ACEOF
37579 #define wxWCHAR_T_IS_REAL_TYPE 1
37583 cat >>confdefs.h <<\_ACEOF
37584 #define wxWCHAR_T_IS_REAL_TYPE 0
37590 ac_cpp='$CPP $CPPFLAGS'
37591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37596 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37597 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37598 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37599 echo $ECHO_N "(cached) $ECHO_C" >&6
37602 cat >conftest.$ac_ext <<_ACEOF
37605 cat confdefs.h >>conftest.$ac_ext
37606 cat >>conftest.$ac_ext <<_ACEOF
37607 /* end confdefs.h. */
37621 rm -f conftest.$ac_objext
37622 if { (ac_try="$ac_compile"
37623 case "(($ac_try" in
37624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37625 *) ac_try_echo=$ac_try;;
37627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37628 (eval "$ac_compile") 2>conftest.er1
37630 grep -v '^ *+' conftest.er1 >conftest.err
37632 cat conftest.err >&5
37633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37634 (exit $ac_status); } && {
37635 test -z "$ac_c_werror_flag" ||
37636 test ! -s conftest.err
37637 } && test -s conftest.$ac_objext; then
37639 wx_cv_struct_pw_gecos=yes
37642 echo "$as_me: failed program was:" >&5
37643 sed 's/^/| /' conftest.$ac_ext >&5
37646 wx_cv_struct_pw_gecos=no
37651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37655 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37656 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37658 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37659 cat >>confdefs.h <<\_ACEOF
37660 #define HAVE_PW_GECOS 1
37666 if test "$wxUSE_WCHAR_T" = "yes"; then
37667 cat >>confdefs.h <<\_ACEOF
37668 #define wxUSE_WCHAR_T 1
37675 for ac_func in wcslen
37677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37678 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37680 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37681 echo $ECHO_N "(cached) $ECHO_C" >&6
37683 cat >conftest.$ac_ext <<_ACEOF
37686 cat confdefs.h >>conftest.$ac_ext
37687 cat >>conftest.$ac_ext <<_ACEOF
37688 /* end confdefs.h. */
37689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37691 #define $ac_func innocuous_$ac_func
37693 /* System header to define __stub macros and hopefully few prototypes,
37694 which can conflict with char $ac_func (); below.
37695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37696 <limits.h> exists even on freestanding compilers. */
37699 # include <limits.h>
37701 # include <assert.h>
37706 /* Override any GCC internal prototype to avoid an error.
37707 Use char because int might match the return type of a GCC
37708 builtin and then its argument prototype would still apply. */
37713 /* The GNU C library defines this for functions which it implements
37714 to always fail with ENOSYS. Some functions are actually named
37715 something starting with __ and the normal name is an alias. */
37716 #if defined __stub_$ac_func || defined __stub___$ac_func
37723 return $ac_func ();
37728 rm -f conftest.$ac_objext conftest$ac_exeext
37729 if { (ac_try="$ac_link"
37730 case "(($ac_try" in
37731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37732 *) ac_try_echo=$ac_try;;
37734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37735 (eval "$ac_link") 2>conftest.er1
37737 grep -v '^ *+' conftest.er1 >conftest.err
37739 cat conftest.err >&5
37740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37741 (exit $ac_status); } && {
37742 test -z "$ac_c_werror_flag" ||
37743 test ! -s conftest.err
37744 } && test -s conftest$ac_exeext &&
37745 $as_test_x conftest$ac_exeext; then
37746 eval "$as_ac_var=yes"
37748 echo "$as_me: failed program was:" >&5
37749 sed 's/^/| /' conftest.$ac_ext >&5
37751 eval "$as_ac_var=no"
37754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37755 conftest$ac_exeext conftest.$ac_ext
37757 ac_res=`eval echo '${'$as_ac_var'}'`
37758 { echo "$as_me:$LINENO: result: $ac_res" >&5
37759 echo "${ECHO_T}$ac_res" >&6; }
37760 if test `eval echo '${'$as_ac_var'}'` = yes; then
37761 cat >>confdefs.h <<_ACEOF
37762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37769 if test "$WCSLEN_FOUND" = 0; then
37770 if test "$TOOLKIT" = "MSW"; then
37771 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37772 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37773 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37774 echo $ECHO_N "(cached) $ECHO_C" >&6
37776 ac_check_lib_save_LIBS=$LIBS
37777 LIBS="-lmsvcrt $LIBS"
37778 cat >conftest.$ac_ext <<_ACEOF
37781 cat confdefs.h >>conftest.$ac_ext
37782 cat >>conftest.$ac_ext <<_ACEOF
37783 /* end confdefs.h. */
37785 /* Override any GCC internal prototype to avoid an error.
37786 Use char because int might match the return type of a GCC
37787 builtin and then its argument prototype would still apply. */
37800 rm -f conftest.$ac_objext conftest$ac_exeext
37801 if { (ac_try="$ac_link"
37802 case "(($ac_try" in
37803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37804 *) ac_try_echo=$ac_try;;
37806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37807 (eval "$ac_link") 2>conftest.er1
37809 grep -v '^ *+' conftest.er1 >conftest.err
37811 cat conftest.err >&5
37812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37813 (exit $ac_status); } && {
37814 test -z "$ac_c_werror_flag" ||
37815 test ! -s conftest.err
37816 } && test -s conftest$ac_exeext &&
37817 $as_test_x conftest$ac_exeext; then
37818 ac_cv_lib_msvcrt_wcslen=yes
37820 echo "$as_me: failed program was:" >&5
37821 sed 's/^/| /' conftest.$ac_ext >&5
37823 ac_cv_lib_msvcrt_wcslen=no
37826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37827 conftest$ac_exeext conftest.$ac_ext
37828 LIBS=$ac_check_lib_save_LIBS
37830 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37831 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37832 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37837 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37838 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37839 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37840 echo $ECHO_N "(cached) $ECHO_C" >&6
37842 ac_check_lib_save_LIBS=$LIBS
37844 cat >conftest.$ac_ext <<_ACEOF
37847 cat confdefs.h >>conftest.$ac_ext
37848 cat >>conftest.$ac_ext <<_ACEOF
37849 /* end confdefs.h. */
37851 /* Override any GCC internal prototype to avoid an error.
37852 Use char because int might match the return type of a GCC
37853 builtin and then its argument prototype would still apply. */
37866 rm -f conftest.$ac_objext conftest$ac_exeext
37867 if { (ac_try="$ac_link"
37868 case "(($ac_try" in
37869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37870 *) ac_try_echo=$ac_try;;
37872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37873 (eval "$ac_link") 2>conftest.er1
37875 grep -v '^ *+' conftest.er1 >conftest.err
37877 cat conftest.err >&5
37878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37879 (exit $ac_status); } && {
37880 test -z "$ac_c_werror_flag" ||
37881 test ! -s conftest.err
37882 } && test -s conftest$ac_exeext &&
37883 $as_test_x conftest$ac_exeext; then
37884 ac_cv_lib_w_wcslen=yes
37886 echo "$as_me: failed program was:" >&5
37887 sed 's/^/| /' conftest.$ac_ext >&5
37889 ac_cv_lib_w_wcslen=no
37892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37893 conftest$ac_exeext conftest.$ac_ext
37894 LIBS=$ac_check_lib_save_LIBS
37896 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37897 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37898 if test $ac_cv_lib_w_wcslen = yes; then
37908 if test "$WCSLEN_FOUND" = 1; then
37909 cat >>confdefs.h <<\_ACEOF
37910 #define HAVE_WCSLEN 1
37916 for ac_func in wcsdup
37918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37919 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37921 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37922 echo $ECHO_N "(cached) $ECHO_C" >&6
37924 cat >conftest.$ac_ext <<_ACEOF
37927 cat confdefs.h >>conftest.$ac_ext
37928 cat >>conftest.$ac_ext <<_ACEOF
37929 /* end confdefs.h. */
37930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37932 #define $ac_func innocuous_$ac_func
37934 /* System header to define __stub macros and hopefully few prototypes,
37935 which can conflict with char $ac_func (); below.
37936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37937 <limits.h> exists even on freestanding compilers. */
37940 # include <limits.h>
37942 # include <assert.h>
37947 /* Override any GCC internal prototype to avoid an error.
37948 Use char because int might match the return type of a GCC
37949 builtin and then its argument prototype would still apply. */
37954 /* The GNU C library defines this for functions which it implements
37955 to always fail with ENOSYS. Some functions are actually named
37956 something starting with __ and the normal name is an alias. */
37957 #if defined __stub_$ac_func || defined __stub___$ac_func
37964 return $ac_func ();
37969 rm -f conftest.$ac_objext conftest$ac_exeext
37970 if { (ac_try="$ac_link"
37971 case "(($ac_try" in
37972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37973 *) ac_try_echo=$ac_try;;
37975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37976 (eval "$ac_link") 2>conftest.er1
37978 grep -v '^ *+' conftest.er1 >conftest.err
37980 cat conftest.err >&5
37981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37982 (exit $ac_status); } && {
37983 test -z "$ac_c_werror_flag" ||
37984 test ! -s conftest.err
37985 } && test -s conftest$ac_exeext &&
37986 $as_test_x conftest$ac_exeext; then
37987 eval "$as_ac_var=yes"
37989 echo "$as_me: failed program was:" >&5
37990 sed 's/^/| /' conftest.$ac_ext >&5
37992 eval "$as_ac_var=no"
37995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37996 conftest$ac_exeext conftest.$ac_ext
37998 ac_res=`eval echo '${'$as_ac_var'}'`
37999 { echo "$as_me:$LINENO: result: $ac_res" >&5
38000 echo "${ECHO_T}$ac_res" >&6; }
38001 if test `eval echo '${'$as_ac_var'}'` = yes; then
38002 cat >>confdefs.h <<_ACEOF
38003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38010 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
38011 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
38014 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
38015 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
38016 if test "${ac_cv_type_mbstate_t+set}" = set; then
38017 echo $ECHO_N "(cached) $ECHO_C" >&6
38019 cat >conftest.$ac_ext <<_ACEOF
38022 cat confdefs.h >>conftest.$ac_ext
38023 cat >>conftest.$ac_ext <<_ACEOF
38024 /* end confdefs.h. */
38027 typedef mbstate_t ac__type_new_;
38031 if ((ac__type_new_ *) 0)
38033 if (sizeof (ac__type_new_))
38039 rm -f conftest.$ac_objext
38040 if { (ac_try="$ac_compile"
38041 case "(($ac_try" in
38042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38043 *) ac_try_echo=$ac_try;;
38045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38046 (eval "$ac_compile") 2>conftest.er1
38048 grep -v '^ *+' conftest.er1 >conftest.err
38050 cat conftest.err >&5
38051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38052 (exit $ac_status); } && {
38053 test -z "$ac_c_werror_flag" ||
38054 test ! -s conftest.err
38055 } && test -s conftest.$ac_objext; then
38056 ac_cv_type_mbstate_t=yes
38058 echo "$as_me: failed program was:" >&5
38059 sed 's/^/| /' conftest.$ac_ext >&5
38061 ac_cv_type_mbstate_t=no
38064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38066 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
38067 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
38068 if test $ac_cv_type_mbstate_t = yes; then
38070 cat >>confdefs.h <<_ACEOF
38071 #define HAVE_MBSTATE_T 1
38075 for ac_func in wcsrtombs
38077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38078 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38080 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38081 echo $ECHO_N "(cached) $ECHO_C" >&6
38083 cat >conftest.$ac_ext <<_ACEOF
38086 cat confdefs.h >>conftest.$ac_ext
38087 cat >>conftest.$ac_ext <<_ACEOF
38088 /* end confdefs.h. */
38089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38091 #define $ac_func innocuous_$ac_func
38093 /* System header to define __stub macros and hopefully few prototypes,
38094 which can conflict with char $ac_func (); below.
38095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38096 <limits.h> exists even on freestanding compilers. */
38099 # include <limits.h>
38101 # include <assert.h>
38106 /* Override any GCC internal prototype to avoid an error.
38107 Use char because int might match the return type of a GCC
38108 builtin and then its argument prototype would still apply. */
38113 /* The GNU C library defines this for functions which it implements
38114 to always fail with ENOSYS. Some functions are actually named
38115 something starting with __ and the normal name is an alias. */
38116 #if defined __stub_$ac_func || defined __stub___$ac_func
38123 return $ac_func ();
38128 rm -f conftest.$ac_objext conftest$ac_exeext
38129 if { (ac_try="$ac_link"
38130 case "(($ac_try" in
38131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38132 *) ac_try_echo=$ac_try;;
38134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38135 (eval "$ac_link") 2>conftest.er1
38137 grep -v '^ *+' conftest.er1 >conftest.err
38139 cat conftest.err >&5
38140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38141 (exit $ac_status); } && {
38142 test -z "$ac_c_werror_flag" ||
38143 test ! -s conftest.err
38144 } && test -s conftest$ac_exeext &&
38145 $as_test_x conftest$ac_exeext; then
38146 eval "$as_ac_var=yes"
38148 echo "$as_me: failed program was:" >&5
38149 sed 's/^/| /' conftest.$ac_ext >&5
38151 eval "$as_ac_var=no"
38154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38155 conftest$ac_exeext conftest.$ac_ext
38157 ac_res=`eval echo '${'$as_ac_var'}'`
38158 { echo "$as_me:$LINENO: result: $ac_res" >&5
38159 echo "${ECHO_T}$ac_res" >&6; }
38160 if test `eval echo '${'$as_ac_var'}'` = yes; then
38161 cat >>confdefs.h <<_ACEOF
38162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38171 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
38172 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
38177 for ac_func in snprintf vsnprintf
38179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38180 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38182 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38183 echo $ECHO_N "(cached) $ECHO_C" >&6
38185 cat >conftest.$ac_ext <<_ACEOF
38188 cat confdefs.h >>conftest.$ac_ext
38189 cat >>conftest.$ac_ext <<_ACEOF
38190 /* end confdefs.h. */
38191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38193 #define $ac_func innocuous_$ac_func
38195 /* System header to define __stub macros and hopefully few prototypes,
38196 which can conflict with char $ac_func (); below.
38197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38198 <limits.h> exists even on freestanding compilers. */
38201 # include <limits.h>
38203 # include <assert.h>
38208 /* Override any GCC internal prototype to avoid an error.
38209 Use char because int might match the return type of a GCC
38210 builtin and then its argument prototype would still apply. */
38215 /* The GNU C library defines this for functions which it implements
38216 to always fail with ENOSYS. Some functions are actually named
38217 something starting with __ and the normal name is an alias. */
38218 #if defined __stub_$ac_func || defined __stub___$ac_func
38225 return $ac_func ();
38230 rm -f conftest.$ac_objext conftest$ac_exeext
38231 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
38239 grep -v '^ *+' conftest.er1 >conftest.err
38241 cat conftest.err >&5
38242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38243 (exit $ac_status); } && {
38244 test -z "$ac_c_werror_flag" ||
38245 test ! -s conftest.err
38246 } && test -s conftest$ac_exeext &&
38247 $as_test_x conftest$ac_exeext; then
38248 eval "$as_ac_var=yes"
38250 echo "$as_me: failed program was:" >&5
38251 sed 's/^/| /' conftest.$ac_ext >&5
38253 eval "$as_ac_var=no"
38256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38257 conftest$ac_exeext conftest.$ac_ext
38259 ac_res=`eval echo '${'$as_ac_var'}'`
38260 { echo "$as_me:$LINENO: result: $ac_res" >&5
38261 echo "${ECHO_T}$ac_res" >&6; }
38262 if test `eval echo '${'$as_ac_var'}'` = yes; then
38263 cat >>confdefs.h <<_ACEOF
38264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38271 if test "$ac_cv_func_vsnprintf" = "yes"; then
38272 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
38273 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
38274 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
38275 echo $ECHO_N "(cached) $ECHO_C" >&6
38278 cat >conftest.$ac_ext <<_ACEOF
38281 cat confdefs.h >>conftest.$ac_ext
38282 cat >>conftest.$ac_ext <<_ACEOF
38283 /* end confdefs.h. */
38286 #include <stdarg.h>
38288 #if __MSL__ >= 0x6000
38290 using namespace std;
38300 vsnprintf(buf, 10u, "%s", ap);
38306 rm -f conftest.$ac_objext
38307 if { (ac_try="$ac_compile"
38308 case "(($ac_try" in
38309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38310 *) ac_try_echo=$ac_try;;
38312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38313 (eval "$ac_compile") 2>conftest.er1
38315 grep -v '^ *+' conftest.er1 >conftest.err
38317 cat conftest.err >&5
38318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38319 (exit $ac_status); } && {
38320 test -z "$ac_c_werror_flag" ||
38321 test ! -s conftest.err
38322 } && test -s conftest.$ac_objext; then
38323 wx_cv_func_vsnprintf_decl=yes
38325 echo "$as_me: failed program was:" >&5
38326 sed 's/^/| /' conftest.$ac_ext >&5
38328 wx_cv_func_vsnprintf_decl=no
38332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38336 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
38337 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
38339 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
38340 cat >>confdefs.h <<\_ACEOF
38341 #define HAVE_VSNPRINTF_DECL 1
38345 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
38346 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
38347 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
38348 echo $ECHO_N "(cached) $ECHO_C" >&6
38351 cat >conftest.$ac_ext <<_ACEOF
38354 cat confdefs.h >>conftest.$ac_ext
38355 cat >>conftest.$ac_ext <<_ACEOF
38356 /* end confdefs.h. */
38359 #include <stdarg.h>
38361 #if __MSL__ >= 0x6000
38363 using namespace std;
38373 const char *fmt = "%s";
38374 vsnprintf(buf, 10u, fmt, ap);
38380 rm -f conftest.$ac_objext
38381 if { (ac_try="$ac_compile"
38382 case "(($ac_try" in
38383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38384 *) ac_try_echo=$ac_try;;
38386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38387 (eval "$ac_compile") 2>conftest.er1
38389 grep -v '^ *+' conftest.er1 >conftest.err
38391 cat conftest.err >&5
38392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38393 (exit $ac_status); } && {
38394 test -z "$ac_c_werror_flag" ||
38395 test ! -s conftest.err
38396 } && test -s conftest.$ac_objext; then
38397 wx_cv_func_broken_vsnprintf_decl=no
38399 echo "$as_me: failed program was:" >&5
38400 sed 's/^/| /' conftest.$ac_ext >&5
38402 wx_cv_func_broken_vsnprintf_decl=yes
38406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38410 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
38411 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38413 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38414 cat >>confdefs.h <<\_ACEOF
38415 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38422 if test "$ac_cv_func_snprintf" = "yes"; then
38423 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
38424 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
38425 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38426 echo $ECHO_N "(cached) $ECHO_C" >&6
38429 cat >conftest.$ac_ext <<_ACEOF
38432 cat confdefs.h >>conftest.$ac_ext
38433 cat >>conftest.$ac_ext <<_ACEOF
38434 /* end confdefs.h. */
38437 #include <stdarg.h>
38439 #if __MSL__ >= 0x6000
38441 using namespace std;
38450 snprintf(buf, 10u, "%s", "wx");
38456 rm -f conftest.$ac_objext
38457 if { (ac_try="$ac_compile"
38458 case "(($ac_try" in
38459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38460 *) ac_try_echo=$ac_try;;
38462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38463 (eval "$ac_compile") 2>conftest.er1
38465 grep -v '^ *+' conftest.er1 >conftest.err
38467 cat conftest.err >&5
38468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38469 (exit $ac_status); } && {
38470 test -z "$ac_c_werror_flag" ||
38471 test ! -s conftest.err
38472 } && test -s conftest.$ac_objext; then
38473 wx_cv_func_snprintf_decl=yes
38475 echo "$as_me: failed program was:" >&5
38476 sed 's/^/| /' conftest.$ac_ext >&5
38478 wx_cv_func_snprintf_decl=no
38482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38486 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38487 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38489 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38490 cat >>confdefs.h <<\_ACEOF
38491 #define HAVE_SNPRINTF_DECL 1
38495 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
38496 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
38497 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
38498 echo $ECHO_N "(cached) $ECHO_C" >&6
38501 cat >conftest.$ac_ext <<_ACEOF
38504 cat confdefs.h >>conftest.$ac_ext
38505 cat >>conftest.$ac_ext <<_ACEOF
38506 /* end confdefs.h. */
38509 #include <stdarg.h>
38511 #if __MSL__ >= 0x6000
38513 using namespace std;
38522 const char *fmt = "%s";
38523 snprintf(buf, 10u, fmt, "wx");
38529 rm -f conftest.$ac_objext
38530 if { (ac_try="$ac_compile"
38531 case "(($ac_try" in
38532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38533 *) ac_try_echo=$ac_try;;
38535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38536 (eval "$ac_compile") 2>conftest.er1
38538 grep -v '^ *+' conftest.er1 >conftest.err
38540 cat conftest.err >&5
38541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38542 (exit $ac_status); } && {
38543 test -z "$ac_c_werror_flag" ||
38544 test ! -s conftest.err
38545 } && test -s conftest.$ac_objext; then
38546 wx_cv_func_broken_snprintf_decl=no
38548 echo "$as_me: failed program was:" >&5
38549 sed 's/^/| /' conftest.$ac_ext >&5
38551 wx_cv_func_broken_snprintf_decl=yes
38555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38559 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
38560 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
38562 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
38563 cat >>confdefs.h <<\_ACEOF
38564 #define HAVE_BROKEN_SNPRINTF_DECL 1
38570 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38572 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38573 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38574 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38575 echo $ECHO_N "(cached) $ECHO_C" >&6
38578 if test "$cross_compiling" = yes; then
38580 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38581 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38582 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38583 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38584 wx_cv_func_snprintf_pos_params=no
38588 cat >conftest.$ac_ext <<_ACEOF
38591 cat confdefs.h >>conftest.$ac_ext
38592 cat >>conftest.$ac_ext <<_ACEOF
38593 /* end confdefs.h. */
38600 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38601 if (strcmp ("2 3 1", buffer) == 0)
38607 rm -f conftest$ac_exeext
38608 if { (ac_try="$ac_link"
38609 case "(($ac_try" in
38610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38611 *) ac_try_echo=$ac_try;;
38613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38614 (eval "$ac_link") 2>&5
38616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38617 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38618 { (case "(($ac_try" in
38619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38620 *) ac_try_echo=$ac_try;;
38622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38623 (eval "$ac_try") 2>&5
38625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38626 (exit $ac_status); }; }; then
38627 wx_cv_func_snprintf_pos_params=no
38629 echo "$as_me: program exited with status $ac_status" >&5
38630 echo "$as_me: failed program was:" >&5
38631 sed 's/^/| /' conftest.$ac_ext >&5
38633 ( exit $ac_status )
38634 wx_cv_func_snprintf_pos_params=yes
38636 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38643 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38644 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38646 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38647 cat >>confdefs.h <<\_ACEOF
38648 #define HAVE_UNIX98_PRINTF 1
38655 if test "$wxUSE_UNICODE" = yes; then
38658 for ac_func in swprintf
38660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38661 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38663 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38664 echo $ECHO_N "(cached) $ECHO_C" >&6
38666 cat >conftest.$ac_ext <<_ACEOF
38669 cat confdefs.h >>conftest.$ac_ext
38670 cat >>conftest.$ac_ext <<_ACEOF
38671 /* end confdefs.h. */
38672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38674 #define $ac_func innocuous_$ac_func
38676 /* System header to define __stub macros and hopefully few prototypes,
38677 which can conflict with char $ac_func (); below.
38678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38679 <limits.h> exists even on freestanding compilers. */
38682 # include <limits.h>
38684 # include <assert.h>
38689 /* Override any GCC internal prototype to avoid an error.
38690 Use char because int might match the return type of a GCC
38691 builtin and then its argument prototype would still apply. */
38696 /* The GNU C library defines this for functions which it implements
38697 to always fail with ENOSYS. Some functions are actually named
38698 something starting with __ and the normal name is an alias. */
38699 #if defined __stub_$ac_func || defined __stub___$ac_func
38706 return $ac_func ();
38711 rm -f conftest.$ac_objext conftest$ac_exeext
38712 if { (ac_try="$ac_link"
38713 case "(($ac_try" in
38714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38715 *) ac_try_echo=$ac_try;;
38717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38718 (eval "$ac_link") 2>conftest.er1
38720 grep -v '^ *+' conftest.er1 >conftest.err
38722 cat conftest.err >&5
38723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38724 (exit $ac_status); } && {
38725 test -z "$ac_c_werror_flag" ||
38726 test ! -s conftest.err
38727 } && test -s conftest$ac_exeext &&
38728 $as_test_x conftest$ac_exeext; then
38729 eval "$as_ac_var=yes"
38731 echo "$as_me: failed program was:" >&5
38732 sed 's/^/| /' conftest.$ac_ext >&5
38734 eval "$as_ac_var=no"
38737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38738 conftest$ac_exeext conftest.$ac_ext
38740 ac_res=`eval echo '${'$as_ac_var'}'`
38741 { echo "$as_me:$LINENO: result: $ac_res" >&5
38742 echo "${ECHO_T}$ac_res" >&6; }
38743 if test `eval echo '${'$as_ac_var'}'` = yes; then
38744 cat >>confdefs.h <<_ACEOF
38745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38752 if test "$ac_cv_func_swprintf" = "yes"; then
38753 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38754 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38755 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38756 echo $ECHO_N "(cached) $ECHO_C" >&6
38759 cat >conftest.$ac_ext <<_ACEOF
38762 cat confdefs.h >>conftest.$ac_ext
38763 cat >>conftest.$ac_ext <<_ACEOF
38764 /* end confdefs.h. */
38767 #include <stdarg.h>
38775 const wchar_t *fmt = L"test";
38776 swprintf(buf, 10u, fmt);
38782 rm -f conftest.$ac_objext
38783 if { (ac_try="$ac_compile"
38784 case "(($ac_try" in
38785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38786 *) ac_try_echo=$ac_try;;
38788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38789 (eval "$ac_compile") 2>conftest.er1
38791 grep -v '^ *+' conftest.er1 >conftest.err
38793 cat conftest.err >&5
38794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38795 (exit $ac_status); } && {
38796 test -z "$ac_c_werror_flag" ||
38797 test ! -s conftest.err
38798 } && test -s conftest.$ac_objext; then
38799 wx_cv_func_broken_swprintf_decl=no
38801 echo "$as_me: failed program was:" >&5
38802 sed 's/^/| /' conftest.$ac_ext >&5
38804 wx_cv_func_broken_swprintf_decl=yes
38808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38812 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38813 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38815 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38816 cat >>confdefs.h <<\_ACEOF
38817 #define HAVE_BROKEN_SWPRINTF_DECL 1
38823 wchar_headers="#include <stdio.h>
38824 #include <wchar.h>"
38828 for ac_header in widec.h
38830 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38831 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38833 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38834 echo $ECHO_N "(cached) $ECHO_C" >&6
38836 cat >conftest.$ac_ext <<_ACEOF
38839 cat confdefs.h >>conftest.$ac_ext
38840 cat >>conftest.$ac_ext <<_ACEOF
38841 /* end confdefs.h. */
38842 $ac_includes_default
38844 #include <$ac_header>
38846 rm -f conftest.$ac_objext
38847 if { (ac_try="$ac_compile"
38848 case "(($ac_try" in
38849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38850 *) ac_try_echo=$ac_try;;
38852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38853 (eval "$ac_compile") 2>conftest.er1
38855 grep -v '^ *+' conftest.er1 >conftest.err
38857 cat conftest.err >&5
38858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38859 (exit $ac_status); } && {
38860 test -z "$ac_c_werror_flag" ||
38861 test ! -s conftest.err
38862 } && test -s conftest.$ac_objext; then
38863 eval "$as_ac_Header=yes"
38865 echo "$as_me: failed program was:" >&5
38866 sed 's/^/| /' conftest.$ac_ext >&5
38868 eval "$as_ac_Header=no"
38871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38873 ac_res=`eval echo '${'$as_ac_Header'}'`
38874 { echo "$as_me:$LINENO: result: $ac_res" >&5
38875 echo "${ECHO_T}$ac_res" >&6; }
38876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38877 cat >>confdefs.h <<_ACEOF
38878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38885 if test "$ac_cv_header_widec_h" = "yes"; then
38886 wchar_headers="$wchar_headers
38887 #include <widec.h>"
38892 for wx_func in wputc wputchar putws fputws wprintf vswprintf
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 test -z "$ac_c_werror_flag" ||
38940 test ! -s conftest.err
38941 } && test -s conftest$ac_exeext &&
38942 $as_test_x conftest$ac_exeext; then
38943 eval wx_cv_func_$wx_func=yes
38945 echo "$as_me: failed program was:" >&5
38946 sed 's/^/| /' conftest.$ac_ext >&5
38948 eval wx_cv_func_$wx_func=no
38951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38952 conftest$ac_exeext conftest.$ac_ext
38955 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38956 { echo "$as_me:$LINENO: result: $ac_res" >&5
38957 echo "${ECHO_T}$ac_res" >&6; }
38959 if eval test \$wx_cv_func_$wx_func = yes
38961 cat >>confdefs.h <<_ACEOF
38962 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38973 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38974 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38975 cat >conftest.$ac_ext <<_ACEOF
38978 cat confdefs.h >>conftest.$ac_ext
38979 cat >>conftest.$ac_ext <<_ACEOF
38980 /* end confdefs.h. */
38990 rm -f conftest.$ac_objext
38991 if { (ac_try="$ac_compile"
38992 case "(($ac_try" in
38993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38994 *) ac_try_echo=$ac_try;;
38996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38997 (eval "$ac_compile") 2>conftest.er1
38999 grep -v '^ *+' conftest.er1 >conftest.err
39001 cat conftest.err >&5
39002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39003 (exit $ac_status); } && {
39004 test -z "$ac_c_werror_flag" ||
39005 test ! -s conftest.err
39006 } && test -s conftest.$ac_objext; then
39007 { echo "$as_me:$LINENO: result: yes" >&5
39008 echo "${ECHO_T}yes" >&6; }
39009 cat >>confdefs.h <<\_ACEOF
39010 #define HAVE__VSNWPRINTF 1
39014 echo "$as_me: failed program was:" >&5
39015 sed 's/^/| /' conftest.$ac_ext >&5
39017 { echo "$as_me:$LINENO: result: no" >&5
39018 echo "${ECHO_T}no" >&6; }
39021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
39024 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
39026 for wx_func in fnmatch
39028 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39029 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39030 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39031 echo $ECHO_N "(cached) $ECHO_C" >&6
39034 cat >conftest.$ac_ext <<_ACEOF
39038 cat confdefs.h >>conftest.$ac_ext
39039 cat >>conftest.$ac_ext <<_ACEOF
39040 /* end confdefs.h. */
39042 #include <fnmatch.h>
39043 $ac_includes_default
39059 rm -f conftest.$ac_objext conftest$ac_exeext
39060 if { (ac_try="$ac_link"
39061 case "(($ac_try" in
39062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39063 *) ac_try_echo=$ac_try;;
39065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39066 (eval "$ac_link") 2>conftest.er1
39068 grep -v '^ *+' conftest.er1 >conftest.err
39070 cat conftest.err >&5
39071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39072 (exit $ac_status); } && {
39073 test -z "$ac_c_werror_flag" ||
39074 test ! -s conftest.err
39075 } && test -s conftest$ac_exeext &&
39076 $as_test_x conftest$ac_exeext; then
39077 eval wx_cv_func_$wx_func=yes
39079 echo "$as_me: failed program was:" >&5
39080 sed 's/^/| /' conftest.$ac_ext >&5
39082 eval wx_cv_func_$wx_func=no
39085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39086 conftest$ac_exeext conftest.$ac_ext
39089 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39090 { echo "$as_me:$LINENO: result: $ac_res" >&5
39091 echo "${ECHO_T}$ac_res" >&6; }
39093 if eval test \$wx_cv_func_$wx_func = yes
39095 cat >>confdefs.h <<_ACEOF
39096 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39108 if test "$wxUSE_FILE" = "yes"; then
39110 for wx_func in fsync
39112 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39113 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39114 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39115 echo $ECHO_N "(cached) $ECHO_C" >&6
39118 cat >conftest.$ac_ext <<_ACEOF
39122 cat confdefs.h >>conftest.$ac_ext
39123 cat >>conftest.$ac_ext <<_ACEOF
39124 /* end confdefs.h. */
39127 $ac_includes_default
39143 rm -f conftest.$ac_objext conftest$ac_exeext
39144 if { (ac_try="$ac_link"
39145 case "(($ac_try" in
39146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39147 *) ac_try_echo=$ac_try;;
39149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39150 (eval "$ac_link") 2>conftest.er1
39152 grep -v '^ *+' conftest.er1 >conftest.err
39154 cat conftest.err >&5
39155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39156 (exit $ac_status); } && {
39157 test -z "$ac_c_werror_flag" ||
39158 test ! -s conftest.err
39159 } && test -s conftest$ac_exeext &&
39160 $as_test_x conftest$ac_exeext; then
39161 eval wx_cv_func_$wx_func=yes
39163 echo "$as_me: failed program was:" >&5
39164 sed 's/^/| /' conftest.$ac_ext >&5
39166 eval wx_cv_func_$wx_func=no
39169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39170 conftest$ac_exeext conftest.$ac_ext
39173 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39174 { echo "$as_me:$LINENO: result: $ac_res" >&5
39175 echo "${ECHO_T}$ac_res" >&6; }
39177 if eval test \$wx_cv_func_$wx_func = yes
39179 cat >>confdefs.h <<_ACEOF
39180 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39193 ac_cpp='$CXXCPP $CPPFLAGS'
39194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39199 for wx_func in round
39201 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39202 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39203 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39204 echo $ECHO_N "(cached) $ECHO_C" >&6
39207 cat >conftest.$ac_ext <<_ACEOF
39211 cat confdefs.h >>conftest.$ac_ext
39212 cat >>conftest.$ac_ext <<_ACEOF
39213 /* end confdefs.h. */
39216 $ac_includes_default
39232 rm -f conftest.$ac_objext conftest$ac_exeext
39233 if { (ac_try="$ac_link"
39234 case "(($ac_try" in
39235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39236 *) ac_try_echo=$ac_try;;
39238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39239 (eval "$ac_link") 2>conftest.er1
39241 grep -v '^ *+' conftest.er1 >conftest.err
39243 cat conftest.err >&5
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); } && {
39246 test -z "$ac_cxx_werror_flag" ||
39247 test ! -s conftest.err
39248 } && test -s conftest$ac_exeext &&
39249 $as_test_x conftest$ac_exeext; then
39250 eval wx_cv_func_$wx_func=yes
39252 echo "$as_me: failed program was:" >&5
39253 sed 's/^/| /' conftest.$ac_ext >&5
39255 eval wx_cv_func_$wx_func=no
39258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39259 conftest$ac_exeext conftest.$ac_ext
39262 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39263 { echo "$as_me:$LINENO: result: $ac_res" >&5
39264 echo "${ECHO_T}$ac_res" >&6; }
39266 if eval test \$wx_cv_func_$wx_func = yes
39268 cat >>confdefs.h <<_ACEOF
39269 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39280 ac_cpp='$CPP $CPPFLAGS'
39281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39286 if test "$TOOLKIT" != "MSW"; then
39292 # Check whether --with-libiconv-prefix was given.
39293 if test "${with_libiconv_prefix+set}" = set; then
39294 withval=$with_libiconv_prefix;
39295 for dir in `echo "$withval" | tr : ' '`; do
39296 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
39297 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
39303 { echo "$as_me:$LINENO: checking for iconv" >&5
39304 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
39305 if test "${am_cv_func_iconv+set}" = set; then
39306 echo $ECHO_N "(cached) $ECHO_C" >&6
39309 am_cv_func_iconv="no, consider installing GNU libiconv"
39311 cat >conftest.$ac_ext <<_ACEOF
39314 cat confdefs.h >>conftest.$ac_ext
39315 cat >>conftest.$ac_ext <<_ACEOF
39316 /* end confdefs.h. */
39317 #include <stdlib.h>
39322 iconv_t cd = iconv_open("","");
39323 iconv(cd,NULL,NULL,NULL,NULL);
39329 rm -f conftest.$ac_objext conftest$ac_exeext
39330 if { (ac_try="$ac_link"
39331 case "(($ac_try" in
39332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39333 *) ac_try_echo=$ac_try;;
39335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39336 (eval "$ac_link") 2>conftest.er1
39338 grep -v '^ *+' conftest.er1 >conftest.err
39340 cat conftest.err >&5
39341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39342 (exit $ac_status); } && {
39343 test -z "$ac_c_werror_flag" ||
39344 test ! -s conftest.err
39345 } && test -s conftest$ac_exeext &&
39346 $as_test_x conftest$ac_exeext; then
39347 am_cv_func_iconv=yes
39349 echo "$as_me: failed program was:" >&5
39350 sed 's/^/| /' conftest.$ac_ext >&5
39355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39356 conftest$ac_exeext conftest.$ac_ext
39357 if test "$am_cv_func_iconv" != yes; then
39358 am_save_LIBS="$LIBS"
39359 LIBS="$LIBS -liconv"
39360 cat >conftest.$ac_ext <<_ACEOF
39363 cat confdefs.h >>conftest.$ac_ext
39364 cat >>conftest.$ac_ext <<_ACEOF
39365 /* end confdefs.h. */
39366 #include <stdlib.h>
39371 iconv_t cd = iconv_open("","");
39372 iconv(cd,NULL,NULL,NULL,NULL);
39378 rm -f conftest.$ac_objext conftest$ac_exeext
39379 if { (ac_try="$ac_link"
39380 case "(($ac_try" in
39381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39382 *) ac_try_echo=$ac_try;;
39384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39385 (eval "$ac_link") 2>conftest.er1
39387 grep -v '^ *+' conftest.er1 >conftest.err
39389 cat conftest.err >&5
39390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39391 (exit $ac_status); } && {
39392 test -z "$ac_c_werror_flag" ||
39393 test ! -s conftest.err
39394 } && test -s conftest$ac_exeext &&
39395 $as_test_x conftest$ac_exeext; then
39396 am_cv_lib_iconv=yes
39397 am_cv_func_iconv=yes
39399 echo "$as_me: failed program was:" >&5
39400 sed 's/^/| /' conftest.$ac_ext >&5
39405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39406 conftest$ac_exeext conftest.$ac_ext
39407 LIBS="$am_save_LIBS"
39411 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
39412 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
39413 if test "$am_cv_func_iconv" = yes; then
39415 cat >>confdefs.h <<\_ACEOF
39416 #define HAVE_ICONV 1
39419 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
39420 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
39421 if test "${wx_cv_func_iconv_const+set}" = set; then
39422 echo $ECHO_N "(cached) $ECHO_C" >&6
39424 cat >conftest.$ac_ext <<_ACEOF
39427 cat confdefs.h >>conftest.$ac_ext
39428 cat >>conftest.$ac_ext <<_ACEOF
39429 /* end confdefs.h. */
39431 #include <stdlib.h>
39437 #if defined(__STDC__) || defined(__cplusplus)
39438 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39451 rm -f conftest.$ac_objext
39452 if { (ac_try="$ac_compile"
39453 case "(($ac_try" in
39454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39455 *) ac_try_echo=$ac_try;;
39457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39458 (eval "$ac_compile") 2>conftest.er1
39460 grep -v '^ *+' conftest.er1 >conftest.err
39462 cat conftest.err >&5
39463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39464 (exit $ac_status); } && {
39465 test -z "$ac_c_werror_flag" ||
39466 test ! -s conftest.err
39467 } && test -s conftest.$ac_objext; then
39468 wx_cv_func_iconv_const="no"
39470 echo "$as_me: failed program was:" >&5
39471 sed 's/^/| /' conftest.$ac_ext >&5
39473 wx_cv_func_iconv_const="yes"
39477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39480 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
39481 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
39484 if test "x$wx_cv_func_iconv_const" = "xyes"; then
39485 iconv_const="const"
39489 cat >>confdefs.h <<_ACEOF
39490 #define ICONV_CONST $iconv_const
39495 if test "$am_cv_lib_iconv" = yes; then
39500 LIBS="$LIBICONV $LIBS"
39502 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39504 for ac_func in sigaction
39506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39507 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39509 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39510 echo $ECHO_N "(cached) $ECHO_C" >&6
39512 cat >conftest.$ac_ext <<_ACEOF
39515 cat confdefs.h >>conftest.$ac_ext
39516 cat >>conftest.$ac_ext <<_ACEOF
39517 /* end confdefs.h. */
39518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39520 #define $ac_func innocuous_$ac_func
39522 /* System header to define __stub macros and hopefully few prototypes,
39523 which can conflict with char $ac_func (); below.
39524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39525 <limits.h> exists even on freestanding compilers. */
39528 # include <limits.h>
39530 # include <assert.h>
39535 /* Override any GCC internal prototype to avoid an error.
39536 Use char because int might match the return type of a GCC
39537 builtin and then its argument prototype would still apply. */
39542 /* The GNU C library defines this for functions which it implements
39543 to always fail with ENOSYS. Some functions are actually named
39544 something starting with __ and the normal name is an alias. */
39545 #if defined __stub_$ac_func || defined __stub___$ac_func
39552 return $ac_func ();
39557 rm -f conftest.$ac_objext conftest$ac_exeext
39558 if { (ac_try="$ac_link"
39559 case "(($ac_try" in
39560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39561 *) ac_try_echo=$ac_try;;
39563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39564 (eval "$ac_link") 2>conftest.er1
39566 grep -v '^ *+' conftest.er1 >conftest.err
39568 cat conftest.err >&5
39569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39570 (exit $ac_status); } && {
39571 test -z "$ac_c_werror_flag" ||
39572 test ! -s conftest.err
39573 } && test -s conftest$ac_exeext &&
39574 $as_test_x conftest$ac_exeext; then
39575 eval "$as_ac_var=yes"
39577 echo "$as_me: failed program was:" >&5
39578 sed 's/^/| /' conftest.$ac_ext >&5
39580 eval "$as_ac_var=no"
39583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39584 conftest$ac_exeext conftest.$ac_ext
39586 ac_res=`eval echo '${'$as_ac_var'}'`
39587 { echo "$as_me:$LINENO: result: $ac_res" >&5
39588 echo "${ECHO_T}$ac_res" >&6; }
39589 if test `eval echo '${'$as_ac_var'}'` = yes; then
39590 cat >>confdefs.h <<_ACEOF
39591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39598 if test "$ac_cv_func_sigaction" = "no"; then
39599 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39600 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39601 wxUSE_ON_FATAL_EXCEPTION=no
39604 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39605 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39606 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39607 if test "${wx_cv_type_sa_handler+set}" = set; then
39608 echo $ECHO_N "(cached) $ECHO_C" >&6
39612 ac_cpp='$CXXCPP $CPPFLAGS'
39613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39617 cat >conftest.$ac_ext <<_ACEOF
39620 cat confdefs.h >>conftest.$ac_ext
39621 cat >>conftest.$ac_ext <<_ACEOF
39622 /* end confdefs.h. */
39623 #include <signal.h>
39628 extern void testSigHandler(int);
39630 struct sigaction sa;
39631 sa.sa_handler = testSigHandler;
39637 rm -f conftest.$ac_objext
39638 if { (ac_try="$ac_compile"
39639 case "(($ac_try" in
39640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39641 *) ac_try_echo=$ac_try;;
39643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39644 (eval "$ac_compile") 2>conftest.er1
39646 grep -v '^ *+' conftest.er1 >conftest.err
39648 cat conftest.err >&5
39649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39650 (exit $ac_status); } && {
39651 test -z "$ac_cxx_werror_flag" ||
39652 test ! -s conftest.err
39653 } && test -s conftest.$ac_objext; then
39655 wx_cv_type_sa_handler=int
39658 echo "$as_me: failed program was:" >&5
39659 sed 's/^/| /' conftest.$ac_ext >&5
39662 wx_cv_type_sa_handler=void
39666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39668 ac_cpp='$CPP $CPPFLAGS'
39669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39675 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39676 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39678 cat >>confdefs.h <<_ACEOF
39679 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39685 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39686 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39687 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39688 if test "${wx_cv_func_backtrace+set}" = set; then
39689 echo $ECHO_N "(cached) $ECHO_C" >&6
39693 ac_cpp='$CXXCPP $CPPFLAGS'
39694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39698 cat >conftest.$ac_ext <<_ACEOF
39701 cat confdefs.h >>conftest.$ac_ext
39702 cat >>conftest.$ac_ext <<_ACEOF
39703 /* end confdefs.h. */
39704 #include <execinfo.h>
39712 backtrace(trace, 1);
39713 messages = backtrace_symbols(trace, 1);
39719 rm -f conftest.$ac_objext
39720 if { (ac_try="$ac_compile"
39721 case "(($ac_try" in
39722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39723 *) ac_try_echo=$ac_try;;
39725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39726 (eval "$ac_compile") 2>conftest.er1
39728 grep -v '^ *+' conftest.er1 >conftest.err
39730 cat conftest.err >&5
39731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39732 (exit $ac_status); } && {
39733 test -z "$ac_cxx_werror_flag" ||
39734 test ! -s conftest.err
39735 } && test -s conftest.$ac_objext; then
39736 wx_cv_func_backtrace=yes
39738 echo "$as_me: failed program was:" >&5
39739 sed 's/^/| /' conftest.$ac_ext >&5
39741 wx_cv_func_backtrace=no
39745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39747 ac_cpp='$CPP $CPPFLAGS'
39748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39755 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39756 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39759 if test "$wx_cv_func_backtrace" = "no"; then
39760 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39761 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39762 wxUSE_STACKWALKER=no
39764 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39765 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39766 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39767 echo $ECHO_N "(cached) $ECHO_C" >&6
39771 ac_cpp='$CXXCPP $CPPFLAGS'
39772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39776 cat >conftest.$ac_ext <<_ACEOF
39779 cat confdefs.h >>conftest.$ac_ext
39780 cat >>conftest.$ac_ext <<_ACEOF
39781 /* end confdefs.h. */
39782 #include <cxxabi.h>
39788 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39794 rm -f conftest.$ac_objext conftest$ac_exeext
39795 if { (ac_try="$ac_link"
39796 case "(($ac_try" in
39797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39798 *) ac_try_echo=$ac_try;;
39800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39801 (eval "$ac_link") 2>conftest.er1
39803 grep -v '^ *+' conftest.er1 >conftest.err
39805 cat conftest.err >&5
39806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39807 (exit $ac_status); } && {
39808 test -z "$ac_cxx_werror_flag" ||
39809 test ! -s conftest.err
39810 } && test -s conftest$ac_exeext &&
39811 $as_test_x conftest$ac_exeext; then
39812 wx_cv_func_cxa_demangle=yes
39814 echo "$as_me: failed program was:" >&5
39815 sed 's/^/| /' conftest.$ac_ext >&5
39817 wx_cv_func_cxa_demangle=no
39821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39822 conftest$ac_exeext conftest.$ac_ext
39824 ac_cpp='$CPP $CPPFLAGS'
39825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39832 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39833 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39835 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39836 cat >>confdefs.h <<\_ACEOF
39837 #define HAVE_CXA_DEMANGLE 1
39844 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39845 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39846 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39847 wxUSE_STACKWALKER=no
39853 for ac_func in mkstemp mktemp
39855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39856 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39858 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39859 echo $ECHO_N "(cached) $ECHO_C" >&6
39861 cat >conftest.$ac_ext <<_ACEOF
39864 cat confdefs.h >>conftest.$ac_ext
39865 cat >>conftest.$ac_ext <<_ACEOF
39866 /* end confdefs.h. */
39867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39869 #define $ac_func innocuous_$ac_func
39871 /* System header to define __stub macros and hopefully few prototypes,
39872 which can conflict with char $ac_func (); below.
39873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39874 <limits.h> exists even on freestanding compilers. */
39877 # include <limits.h>
39879 # include <assert.h>
39884 /* Override any GCC internal prototype to avoid an error.
39885 Use char because int might match the return type of a GCC
39886 builtin and then its argument prototype would still apply. */
39891 /* The GNU C library defines this for functions which it implements
39892 to always fail with ENOSYS. Some functions are actually named
39893 something starting with __ and the normal name is an alias. */
39894 #if defined __stub_$ac_func || defined __stub___$ac_func
39901 return $ac_func ();
39906 rm -f conftest.$ac_objext conftest$ac_exeext
39907 if { (ac_try="$ac_link"
39908 case "(($ac_try" in
39909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39910 *) ac_try_echo=$ac_try;;
39912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39913 (eval "$ac_link") 2>conftest.er1
39915 grep -v '^ *+' conftest.er1 >conftest.err
39917 cat conftest.err >&5
39918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39919 (exit $ac_status); } && {
39920 test -z "$ac_c_werror_flag" ||
39921 test ! -s conftest.err
39922 } && test -s conftest$ac_exeext &&
39923 $as_test_x conftest$ac_exeext; then
39924 eval "$as_ac_var=yes"
39926 echo "$as_me: failed program was:" >&5
39927 sed 's/^/| /' conftest.$ac_ext >&5
39929 eval "$as_ac_var=no"
39932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39933 conftest$ac_exeext conftest.$ac_ext
39935 ac_res=`eval echo '${'$as_ac_var'}'`
39936 { echo "$as_me:$LINENO: result: $ac_res" >&5
39937 echo "${ECHO_T}$ac_res" >&6; }
39938 if test `eval echo '${'$as_ac_var'}'` = yes; then
39939 cat >>confdefs.h <<_ACEOF
39940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39947 { echo "$as_me:$LINENO: checking for statfs" >&5
39948 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39949 if test "${wx_cv_func_statfs+set}" = set; then
39950 echo $ECHO_N "(cached) $ECHO_C" >&6
39952 cat >conftest.$ac_ext <<_ACEOF
39955 cat confdefs.h >>conftest.$ac_ext
39956 cat >>conftest.$ac_ext <<_ACEOF
39957 /* end confdefs.h. */
39959 #if defined(__BSD__)
39960 #include <sys/param.h>
39961 #include <sys/mount.h>
39963 #include <sys/vfs.h>
39981 rm -f conftest.$ac_objext
39982 if { (ac_try="$ac_compile"
39983 case "(($ac_try" in
39984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39985 *) ac_try_echo=$ac_try;;
39987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39988 (eval "$ac_compile") 2>conftest.er1
39990 grep -v '^ *+' conftest.er1 >conftest.err
39992 cat conftest.err >&5
39993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39994 (exit $ac_status); } && {
39995 test -z "$ac_c_werror_flag" ||
39996 test ! -s conftest.err
39997 } && test -s conftest.$ac_objext; then
39998 wx_cv_func_statfs=yes
40000 echo "$as_me: failed program was:" >&5
40001 sed 's/^/| /' conftest.$ac_ext >&5
40003 wx_cv_func_statfs=no
40007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40010 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
40011 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
40013 if test "$wx_cv_func_statfs" = "yes"; then
40014 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
40015 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
40016 if test "${wx_cv_func_statfs_decl+set}" = set; then
40017 echo $ECHO_N "(cached) $ECHO_C" >&6
40020 ac_cpp='$CXXCPP $CPPFLAGS'
40021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40025 cat >conftest.$ac_ext <<_ACEOF
40028 cat confdefs.h >>conftest.$ac_ext
40029 cat >>conftest.$ac_ext <<_ACEOF
40030 /* end confdefs.h. */
40032 #if defined(__BSD__)
40033 #include <sys/param.h>
40034 #include <sys/mount.h>
40036 #include <sys/vfs.h>
40050 rm -f conftest.$ac_objext
40051 if { (ac_try="$ac_compile"
40052 case "(($ac_try" in
40053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40054 *) ac_try_echo=$ac_try;;
40056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40057 (eval "$ac_compile") 2>conftest.er1
40059 grep -v '^ *+' conftest.er1 >conftest.err
40061 cat conftest.err >&5
40062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40063 (exit $ac_status); } && {
40064 test -z "$ac_cxx_werror_flag" ||
40065 test ! -s conftest.err
40066 } && test -s conftest.$ac_objext; then
40067 wx_cv_func_statfs_decl=yes
40069 echo "$as_me: failed program was:" >&5
40070 sed 's/^/| /' conftest.$ac_ext >&5
40072 wx_cv_func_statfs_decl=no
40076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40078 ac_cpp='$CPP $CPPFLAGS'
40079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40085 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
40086 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
40088 if test "$wx_cv_func_statfs_decl" = "yes"; then
40089 cat >>confdefs.h <<\_ACEOF
40090 #define HAVE_STATFS_DECL 1
40095 wx_cv_type_statvfs_t="struct statfs"
40096 cat >>confdefs.h <<\_ACEOF
40097 #define HAVE_STATFS 1
40101 { echo "$as_me:$LINENO: checking for statvfs" >&5
40102 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
40103 if test "${wx_cv_func_statvfs+set}" = set; then
40104 echo $ECHO_N "(cached) $ECHO_C" >&6
40106 cat >conftest.$ac_ext <<_ACEOF
40109 cat confdefs.h >>conftest.$ac_ext
40110 cat >>conftest.$ac_ext <<_ACEOF
40111 /* end confdefs.h. */
40113 #include <stddef.h>
40114 #include <sys/statvfs.h>
40120 statvfs("/", NULL);
40126 rm -f conftest.$ac_objext
40127 if { (ac_try="$ac_compile"
40128 case "(($ac_try" in
40129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40130 *) ac_try_echo=$ac_try;;
40132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40133 (eval "$ac_compile") 2>conftest.er1
40135 grep -v '^ *+' conftest.er1 >conftest.err
40137 cat conftest.err >&5
40138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40139 (exit $ac_status); } && {
40140 test -z "$ac_c_werror_flag" ||
40141 test ! -s conftest.err
40142 } && test -s conftest.$ac_objext; then
40143 wx_cv_func_statvfs=yes
40145 echo "$as_me: failed program was:" >&5
40146 sed 's/^/| /' conftest.$ac_ext >&5
40148 wx_cv_func_statvfs=no
40152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40155 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
40156 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
40158 if test "$wx_cv_func_statvfs" = "yes"; then
40159 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
40160 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
40161 if test "${wx_cv_type_statvfs_t+set}" = set; then
40162 echo $ECHO_N "(cached) $ECHO_C" >&6
40165 ac_cpp='$CXXCPP $CPPFLAGS'
40166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40170 cat >conftest.$ac_ext <<_ACEOF
40173 cat confdefs.h >>conftest.$ac_ext
40174 cat >>conftest.$ac_ext <<_ACEOF
40175 /* end confdefs.h. */
40177 #include <sys/statvfs.h>
40194 rm -f conftest.$ac_objext
40195 if { (ac_try="$ac_compile"
40196 case "(($ac_try" in
40197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40198 *) ac_try_echo=$ac_try;;
40200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40201 (eval "$ac_compile") 2>conftest.er1
40203 grep -v '^ *+' conftest.er1 >conftest.err
40205 cat conftest.err >&5
40206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40207 (exit $ac_status); } && {
40208 test -z "$ac_cxx_werror_flag" ||
40209 test ! -s conftest.err
40210 } && test -s conftest.$ac_objext; then
40211 wx_cv_type_statvfs_t=statvfs_t
40213 echo "$as_me: failed program was:" >&5
40214 sed 's/^/| /' conftest.$ac_ext >&5
40217 cat >conftest.$ac_ext <<_ACEOF
40220 cat confdefs.h >>conftest.$ac_ext
40221 cat >>conftest.$ac_ext <<_ACEOF
40222 /* end confdefs.h. */
40224 #include <sys/statvfs.h>
40241 rm -f conftest.$ac_objext
40242 if { (ac_try="$ac_compile"
40243 case "(($ac_try" in
40244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40245 *) ac_try_echo=$ac_try;;
40247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40248 (eval "$ac_compile") 2>conftest.er1
40250 grep -v '^ *+' conftest.er1 >conftest.err
40252 cat conftest.err >&5
40253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40254 (exit $ac_status); } && {
40255 test -z "$ac_cxx_werror_flag" ||
40256 test ! -s conftest.err
40257 } && test -s conftest.$ac_objext; then
40258 wx_cv_type_statvfs_t="struct statvfs"
40260 echo "$as_me: failed program was:" >&5
40261 sed 's/^/| /' conftest.$ac_ext >&5
40263 wx_cv_type_statvfs_t="unknown"
40267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40274 ac_cpp='$CPP $CPPFLAGS'
40275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40281 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
40282 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
40284 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40285 cat >>confdefs.h <<\_ACEOF
40286 #define HAVE_STATVFS 1
40291 wx_cv_type_statvfs_t="unknown"
40295 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40296 cat >>confdefs.h <<_ACEOF
40297 #define WX_STATFS_T $wx_cv_type_statvfs_t
40301 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
40302 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
40305 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
40308 for ac_func in fcntl flock
40310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40311 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40313 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40314 echo $ECHO_N "(cached) $ECHO_C" >&6
40316 cat >conftest.$ac_ext <<_ACEOF
40319 cat confdefs.h >>conftest.$ac_ext
40320 cat >>conftest.$ac_ext <<_ACEOF
40321 /* end confdefs.h. */
40322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40324 #define $ac_func innocuous_$ac_func
40326 /* System header to define __stub macros and hopefully few prototypes,
40327 which can conflict with char $ac_func (); below.
40328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40329 <limits.h> exists even on freestanding compilers. */
40332 # include <limits.h>
40334 # include <assert.h>
40339 /* Override any GCC internal prototype to avoid an error.
40340 Use char because int might match the return type of a GCC
40341 builtin and then its argument prototype would still apply. */
40346 /* The GNU C library defines this for functions which it implements
40347 to always fail with ENOSYS. Some functions are actually named
40348 something starting with __ and the normal name is an alias. */
40349 #if defined __stub_$ac_func || defined __stub___$ac_func
40356 return $ac_func ();
40361 rm -f conftest.$ac_objext conftest$ac_exeext
40362 if { (ac_try="$ac_link"
40363 case "(($ac_try" in
40364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40365 *) ac_try_echo=$ac_try;;
40367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40368 (eval "$ac_link") 2>conftest.er1
40370 grep -v '^ *+' conftest.er1 >conftest.err
40372 cat conftest.err >&5
40373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40374 (exit $ac_status); } && {
40375 test -z "$ac_c_werror_flag" ||
40376 test ! -s conftest.err
40377 } && test -s conftest$ac_exeext &&
40378 $as_test_x conftest$ac_exeext; then
40379 eval "$as_ac_var=yes"
40381 echo "$as_me: failed program was:" >&5
40382 sed 's/^/| /' conftest.$ac_ext >&5
40384 eval "$as_ac_var=no"
40387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40388 conftest$ac_exeext conftest.$ac_ext
40390 ac_res=`eval echo '${'$as_ac_var'}'`
40391 { echo "$as_me:$LINENO: result: $ac_res" >&5
40392 echo "${ECHO_T}$ac_res" >&6; }
40393 if test `eval echo '${'$as_ac_var'}'` = yes; then
40394 cat >>confdefs.h <<_ACEOF
40395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40402 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
40403 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
40404 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
40405 wxUSE_SNGLINST_CHECKER=no
40410 for ac_func in timegm
40412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40413 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40415 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40416 echo $ECHO_N "(cached) $ECHO_C" >&6
40418 cat >conftest.$ac_ext <<_ACEOF
40421 cat confdefs.h >>conftest.$ac_ext
40422 cat >>conftest.$ac_ext <<_ACEOF
40423 /* end confdefs.h. */
40424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40426 #define $ac_func innocuous_$ac_func
40428 /* System header to define __stub macros and hopefully few prototypes,
40429 which can conflict with char $ac_func (); below.
40430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40431 <limits.h> exists even on freestanding compilers. */
40434 # include <limits.h>
40436 # include <assert.h>
40441 /* Override any GCC internal prototype to avoid an error.
40442 Use char because int might match the return type of a GCC
40443 builtin and then its argument prototype would still apply. */
40448 /* The GNU C library defines this for functions which it implements
40449 to always fail with ENOSYS. Some functions are actually named
40450 something starting with __ and the normal name is an alias. */
40451 #if defined __stub_$ac_func || defined __stub___$ac_func
40458 return $ac_func ();
40463 rm -f conftest.$ac_objext conftest$ac_exeext
40464 if { (ac_try="$ac_link"
40465 case "(($ac_try" in
40466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40467 *) ac_try_echo=$ac_try;;
40469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40470 (eval "$ac_link") 2>conftest.er1
40472 grep -v '^ *+' conftest.er1 >conftest.err
40474 cat conftest.err >&5
40475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40476 (exit $ac_status); } && {
40477 test -z "$ac_c_werror_flag" ||
40478 test ! -s conftest.err
40479 } && test -s conftest$ac_exeext &&
40480 $as_test_x conftest$ac_exeext; then
40481 eval "$as_ac_var=yes"
40483 echo "$as_me: failed program was:" >&5
40484 sed 's/^/| /' conftest.$ac_ext >&5
40486 eval "$as_ac_var=no"
40489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40490 conftest$ac_exeext conftest.$ac_ext
40492 ac_res=`eval echo '${'$as_ac_var'}'`
40493 { echo "$as_me:$LINENO: result: $ac_res" >&5
40494 echo "${ECHO_T}$ac_res" >&6; }
40495 if test `eval echo '${'$as_ac_var'}'` = yes; then
40496 cat >>confdefs.h <<_ACEOF
40497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40506 for ac_func in setenv putenv
40508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40509 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40511 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40512 echo $ECHO_N "(cached) $ECHO_C" >&6
40514 cat >conftest.$ac_ext <<_ACEOF
40517 cat confdefs.h >>conftest.$ac_ext
40518 cat >>conftest.$ac_ext <<_ACEOF
40519 /* end confdefs.h. */
40520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40522 #define $ac_func innocuous_$ac_func
40524 /* System header to define __stub macros and hopefully few prototypes,
40525 which can conflict with char $ac_func (); below.
40526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40527 <limits.h> exists even on freestanding compilers. */
40530 # include <limits.h>
40532 # include <assert.h>
40537 /* Override any GCC internal prototype to avoid an error.
40538 Use char because int might match the return type of a GCC
40539 builtin and then its argument prototype would still apply. */
40544 /* The GNU C library defines this for functions which it implements
40545 to always fail with ENOSYS. Some functions are actually named
40546 something starting with __ and the normal name is an alias. */
40547 #if defined __stub_$ac_func || defined __stub___$ac_func
40554 return $ac_func ();
40559 rm -f conftest.$ac_objext conftest$ac_exeext
40560 if { (ac_try="$ac_link"
40561 case "(($ac_try" in
40562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40563 *) ac_try_echo=$ac_try;;
40565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40566 (eval "$ac_link") 2>conftest.er1
40568 grep -v '^ *+' conftest.er1 >conftest.err
40570 cat conftest.err >&5
40571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40572 (exit $ac_status); } && {
40573 test -z "$ac_c_werror_flag" ||
40574 test ! -s conftest.err
40575 } && test -s conftest$ac_exeext &&
40576 $as_test_x conftest$ac_exeext; then
40577 eval "$as_ac_var=yes"
40579 echo "$as_me: failed program was:" >&5
40580 sed 's/^/| /' conftest.$ac_ext >&5
40582 eval "$as_ac_var=no"
40585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40586 conftest$ac_exeext conftest.$ac_ext
40588 ac_res=`eval echo '${'$as_ac_var'}'`
40589 { echo "$as_me:$LINENO: result: $ac_res" >&5
40590 echo "${ECHO_T}$ac_res" >&6; }
40591 if test `eval echo '${'$as_ac_var'}'` = yes; then
40592 cat >>confdefs.h <<_ACEOF
40593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40600 HAVE_SOME_SLEEP_FUNC=0
40601 if test "$USE_BEOS" = 1; then
40602 cat >>confdefs.h <<\_ACEOF
40603 #define HAVE_SLEEP 1
40606 HAVE_SOME_SLEEP_FUNC=1
40609 if test "$USE_DARWIN" = 1; then
40610 cat >>confdefs.h <<\_ACEOF
40611 #define HAVE_USLEEP 1
40614 HAVE_SOME_SLEEP_FUNC=1
40617 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40620 for ac_func in nanosleep
40622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40623 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40625 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40626 echo $ECHO_N "(cached) $ECHO_C" >&6
40628 cat >conftest.$ac_ext <<_ACEOF
40631 cat confdefs.h >>conftest.$ac_ext
40632 cat >>conftest.$ac_ext <<_ACEOF
40633 /* end confdefs.h. */
40634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40636 #define $ac_func innocuous_$ac_func
40638 /* System header to define __stub macros and hopefully few prototypes,
40639 which can conflict with char $ac_func (); below.
40640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40641 <limits.h> exists even on freestanding compilers. */
40644 # include <limits.h>
40646 # include <assert.h>
40651 /* Override any GCC internal prototype to avoid an error.
40652 Use char because int might match the return type of a GCC
40653 builtin and then its argument prototype would still apply. */
40658 /* The GNU C library defines this for functions which it implements
40659 to always fail with ENOSYS. Some functions are actually named
40660 something starting with __ and the normal name is an alias. */
40661 #if defined __stub_$ac_func || defined __stub___$ac_func
40668 return $ac_func ();
40673 rm -f conftest.$ac_objext conftest$ac_exeext
40674 if { (ac_try="$ac_link"
40675 case "(($ac_try" in
40676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40677 *) ac_try_echo=$ac_try;;
40679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40680 (eval "$ac_link") 2>conftest.er1
40682 grep -v '^ *+' conftest.er1 >conftest.err
40684 cat conftest.err >&5
40685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40686 (exit $ac_status); } && {
40687 test -z "$ac_c_werror_flag" ||
40688 test ! -s conftest.err
40689 } && test -s conftest$ac_exeext &&
40690 $as_test_x conftest$ac_exeext; then
40691 eval "$as_ac_var=yes"
40693 echo "$as_me: failed program was:" >&5
40694 sed 's/^/| /' conftest.$ac_ext >&5
40696 eval "$as_ac_var=no"
40699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40700 conftest$ac_exeext conftest.$ac_ext
40702 ac_res=`eval echo '${'$as_ac_var'}'`
40703 { echo "$as_me:$LINENO: result: $ac_res" >&5
40704 echo "${ECHO_T}$ac_res" >&6; }
40705 if test `eval echo '${'$as_ac_var'}'` = yes; then
40706 cat >>confdefs.h <<_ACEOF
40707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40709 cat >>confdefs.h <<\_ACEOF
40710 #define HAVE_NANOSLEEP 1
40715 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40716 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40717 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40718 echo $ECHO_N "(cached) $ECHO_C" >&6
40720 ac_check_lib_save_LIBS=$LIBS
40721 LIBS="-lposix4 $LIBS"
40722 cat >conftest.$ac_ext <<_ACEOF
40725 cat confdefs.h >>conftest.$ac_ext
40726 cat >>conftest.$ac_ext <<_ACEOF
40727 /* end confdefs.h. */
40729 /* Override any GCC internal prototype to avoid an error.
40730 Use char because int might match the return type of a GCC
40731 builtin and then its argument prototype would still apply. */
40739 return nanosleep ();
40744 rm -f conftest.$ac_objext conftest$ac_exeext
40745 if { (ac_try="$ac_link"
40746 case "(($ac_try" in
40747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40748 *) ac_try_echo=$ac_try;;
40750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40751 (eval "$ac_link") 2>conftest.er1
40753 grep -v '^ *+' conftest.er1 >conftest.err
40755 cat conftest.err >&5
40756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40757 (exit $ac_status); } && {
40758 test -z "$ac_c_werror_flag" ||
40759 test ! -s conftest.err
40760 } && test -s conftest$ac_exeext &&
40761 $as_test_x conftest$ac_exeext; then
40762 ac_cv_lib_posix4_nanosleep=yes
40764 echo "$as_me: failed program was:" >&5
40765 sed 's/^/| /' conftest.$ac_ext >&5
40767 ac_cv_lib_posix4_nanosleep=no
40770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40771 conftest$ac_exeext conftest.$ac_ext
40772 LIBS=$ac_check_lib_save_LIBS
40774 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40775 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40776 if test $ac_cv_lib_posix4_nanosleep = yes; then
40778 cat >>confdefs.h <<\_ACEOF
40779 #define HAVE_NANOSLEEP 1
40782 POSIX4_LINK=" -lposix4"
40787 for wx_func in usleep
40789 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40790 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40791 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40792 echo $ECHO_N "(cached) $ECHO_C" >&6
40795 cat >conftest.$ac_ext <<_ACEOF
40799 cat confdefs.h >>conftest.$ac_ext
40800 cat >>conftest.$ac_ext <<_ACEOF
40801 /* end confdefs.h. */
40804 $ac_includes_default
40820 rm -f conftest.$ac_objext conftest$ac_exeext
40821 if { (ac_try="$ac_link"
40822 case "(($ac_try" in
40823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40824 *) ac_try_echo=$ac_try;;
40826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40827 (eval "$ac_link") 2>conftest.er1
40829 grep -v '^ *+' conftest.er1 >conftest.err
40831 cat conftest.err >&5
40832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40833 (exit $ac_status); } && {
40834 test -z "$ac_c_werror_flag" ||
40835 test ! -s conftest.err
40836 } && test -s conftest$ac_exeext &&
40837 $as_test_x conftest$ac_exeext; then
40838 eval wx_cv_func_$wx_func=yes
40840 echo "$as_me: failed program was:" >&5
40841 sed 's/^/| /' conftest.$ac_ext >&5
40843 eval wx_cv_func_$wx_func=no
40846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40847 conftest$ac_exeext conftest.$ac_ext
40850 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40851 { echo "$as_me:$LINENO: result: $ac_res" >&5
40852 echo "${ECHO_T}$ac_res" >&6; }
40854 if eval test \$wx_cv_func_$wx_func = yes
40856 cat >>confdefs.h <<_ACEOF
40857 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40863 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40864 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40881 for wx_func in uname
40883 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40884 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40885 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40886 echo $ECHO_N "(cached) $ECHO_C" >&6
40889 cat >conftest.$ac_ext <<_ACEOF
40893 cat confdefs.h >>conftest.$ac_ext
40894 cat >>conftest.$ac_ext <<_ACEOF
40895 /* end confdefs.h. */
40897 #include <sys/utsname.h>
40898 $ac_includes_default
40914 rm -f conftest.$ac_objext conftest$ac_exeext
40915 if { (ac_try="$ac_link"
40916 case "(($ac_try" in
40917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40918 *) ac_try_echo=$ac_try;;
40920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40921 (eval "$ac_link") 2>conftest.er1
40923 grep -v '^ *+' conftest.er1 >conftest.err
40925 cat conftest.err >&5
40926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40927 (exit $ac_status); } && {
40928 test -z "$ac_c_werror_flag" ||
40929 test ! -s conftest.err
40930 } && test -s conftest$ac_exeext &&
40931 $as_test_x conftest$ac_exeext; then
40932 eval wx_cv_func_$wx_func=yes
40934 echo "$as_me: failed program was:" >&5
40935 sed 's/^/| /' conftest.$ac_ext >&5
40937 eval wx_cv_func_$wx_func=no
40940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40941 conftest$ac_exeext conftest.$ac_ext
40944 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40945 { echo "$as_me:$LINENO: result: $ac_res" >&5
40946 echo "${ECHO_T}$ac_res" >&6; }
40948 if eval test \$wx_cv_func_$wx_func = yes
40950 cat >>confdefs.h <<_ACEOF
40951 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40961 if test "$wx_cv_func_uname" != yes; then
40963 for wx_func in gethostname
40965 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40966 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40967 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40968 echo $ECHO_N "(cached) $ECHO_C" >&6
40971 cat >conftest.$ac_ext <<_ACEOF
40975 cat confdefs.h >>conftest.$ac_ext
40976 cat >>conftest.$ac_ext <<_ACEOF
40977 /* end confdefs.h. */
40980 $ac_includes_default
40996 rm -f conftest.$ac_objext conftest$ac_exeext
40997 if { (ac_try="$ac_link"
40998 case "(($ac_try" in
40999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41000 *) ac_try_echo=$ac_try;;
41002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41003 (eval "$ac_link") 2>conftest.er1
41005 grep -v '^ *+' conftest.er1 >conftest.err
41007 cat conftest.err >&5
41008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41009 (exit $ac_status); } && {
41010 test -z "$ac_c_werror_flag" ||
41011 test ! -s conftest.err
41012 } && test -s conftest$ac_exeext &&
41013 $as_test_x conftest$ac_exeext; then
41014 eval wx_cv_func_$wx_func=yes
41016 echo "$as_me: failed program was:" >&5
41017 sed 's/^/| /' conftest.$ac_ext >&5
41019 eval wx_cv_func_$wx_func=no
41022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41023 conftest$ac_exeext conftest.$ac_ext
41026 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41027 { echo "$as_me:$LINENO: result: $ac_res" >&5
41028 echo "${ECHO_T}$ac_res" >&6; }
41030 if eval test \$wx_cv_func_$wx_func = yes
41032 cat >>confdefs.h <<_ACEOF
41033 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41046 for wx_func in strtok_r
41048 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41049 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41050 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41051 echo $ECHO_N "(cached) $ECHO_C" >&6
41054 cat >conftest.$ac_ext <<_ACEOF
41058 cat confdefs.h >>conftest.$ac_ext
41059 cat >>conftest.$ac_ext <<_ACEOF
41060 /* end confdefs.h. */
41063 $ac_includes_default
41079 rm -f conftest.$ac_objext conftest$ac_exeext
41080 if { (ac_try="$ac_link"
41081 case "(($ac_try" in
41082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41083 *) ac_try_echo=$ac_try;;
41085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41086 (eval "$ac_link") 2>conftest.er1
41088 grep -v '^ *+' conftest.er1 >conftest.err
41090 cat conftest.err >&5
41091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41092 (exit $ac_status); } && {
41093 test -z "$ac_c_werror_flag" ||
41094 test ! -s conftest.err
41095 } && test -s conftest$ac_exeext &&
41096 $as_test_x conftest$ac_exeext; then
41097 eval wx_cv_func_$wx_func=yes
41099 echo "$as_me: failed program was:" >&5
41100 sed 's/^/| /' conftest.$ac_ext >&5
41102 eval wx_cv_func_$wx_func=no
41105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41106 conftest$ac_exeext conftest.$ac_ext
41109 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41110 { echo "$as_me:$LINENO: result: $ac_res" >&5
41111 echo "${ECHO_T}$ac_res" >&6; }
41113 if eval test \$wx_cv_func_$wx_func = yes
41115 cat >>confdefs.h <<_ACEOF
41116 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41129 for ac_func in inet_addr
41131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41132 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41134 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41135 echo $ECHO_N "(cached) $ECHO_C" >&6
41137 cat >conftest.$ac_ext <<_ACEOF
41140 cat confdefs.h >>conftest.$ac_ext
41141 cat >>conftest.$ac_ext <<_ACEOF
41142 /* end confdefs.h. */
41143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41145 #define $ac_func innocuous_$ac_func
41147 /* System header to define __stub macros and hopefully few prototypes,
41148 which can conflict with char $ac_func (); below.
41149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41150 <limits.h> exists even on freestanding compilers. */
41153 # include <limits.h>
41155 # include <assert.h>
41160 /* Override any GCC internal prototype to avoid an error.
41161 Use char because int might match the return type of a GCC
41162 builtin and then its argument prototype would still apply. */
41167 /* The GNU C library defines this for functions which it implements
41168 to always fail with ENOSYS. Some functions are actually named
41169 something starting with __ and the normal name is an alias. */
41170 #if defined __stub_$ac_func || defined __stub___$ac_func
41177 return $ac_func ();
41182 rm -f conftest.$ac_objext conftest$ac_exeext
41183 if { (ac_try="$ac_link"
41184 case "(($ac_try" in
41185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41186 *) ac_try_echo=$ac_try;;
41188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41189 (eval "$ac_link") 2>conftest.er1
41191 grep -v '^ *+' conftest.er1 >conftest.err
41193 cat conftest.err >&5
41194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41195 (exit $ac_status); } && {
41196 test -z "$ac_c_werror_flag" ||
41197 test ! -s conftest.err
41198 } && test -s conftest$ac_exeext &&
41199 $as_test_x conftest$ac_exeext; then
41200 eval "$as_ac_var=yes"
41202 echo "$as_me: failed program was:" >&5
41203 sed 's/^/| /' conftest.$ac_ext >&5
41205 eval "$as_ac_var=no"
41208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41209 conftest$ac_exeext conftest.$ac_ext
41211 ac_res=`eval echo '${'$as_ac_var'}'`
41212 { echo "$as_me:$LINENO: result: $ac_res" >&5
41213 echo "${ECHO_T}$ac_res" >&6; }
41214 if test `eval echo '${'$as_ac_var'}'` = yes; then
41215 cat >>confdefs.h <<_ACEOF
41216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41218 cat >>confdefs.h <<\_ACEOF
41219 #define HAVE_INET_ADDR 1
41224 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
41225 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
41226 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
41227 echo $ECHO_N "(cached) $ECHO_C" >&6
41229 ac_check_lib_save_LIBS=$LIBS
41231 cat >conftest.$ac_ext <<_ACEOF
41234 cat confdefs.h >>conftest.$ac_ext
41235 cat >>conftest.$ac_ext <<_ACEOF
41236 /* end confdefs.h. */
41238 /* Override any GCC internal prototype to avoid an error.
41239 Use char because int might match the return type of a GCC
41240 builtin and then its argument prototype would still apply. */
41248 return inet_addr ();
41253 rm -f conftest.$ac_objext conftest$ac_exeext
41254 if { (ac_try="$ac_link"
41255 case "(($ac_try" in
41256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41257 *) ac_try_echo=$ac_try;;
41259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41260 (eval "$ac_link") 2>conftest.er1
41262 grep -v '^ *+' conftest.er1 >conftest.err
41264 cat conftest.err >&5
41265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41266 (exit $ac_status); } && {
41267 test -z "$ac_c_werror_flag" ||
41268 test ! -s conftest.err
41269 } && test -s conftest$ac_exeext &&
41270 $as_test_x conftest$ac_exeext; then
41271 ac_cv_lib_nsl_inet_addr=yes
41273 echo "$as_me: failed program was:" >&5
41274 sed 's/^/| /' conftest.$ac_ext >&5
41276 ac_cv_lib_nsl_inet_addr=no
41279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41280 conftest$ac_exeext conftest.$ac_ext
41281 LIBS=$ac_check_lib_save_LIBS
41283 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
41284 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
41285 if test $ac_cv_lib_nsl_inet_addr = yes; then
41289 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
41290 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
41291 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
41292 echo $ECHO_N "(cached) $ECHO_C" >&6
41294 ac_check_lib_save_LIBS=$LIBS
41295 LIBS="-lresolv $LIBS"
41296 cat >conftest.$ac_ext <<_ACEOF
41299 cat confdefs.h >>conftest.$ac_ext
41300 cat >>conftest.$ac_ext <<_ACEOF
41301 /* end confdefs.h. */
41303 /* Override any GCC internal prototype to avoid an error.
41304 Use char because int might match the return type of a GCC
41305 builtin and then its argument prototype would still apply. */
41313 return inet_addr ();
41318 rm -f conftest.$ac_objext conftest$ac_exeext
41319 if { (ac_try="$ac_link"
41320 case "(($ac_try" in
41321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41322 *) ac_try_echo=$ac_try;;
41324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41325 (eval "$ac_link") 2>conftest.er1
41327 grep -v '^ *+' conftest.er1 >conftest.err
41329 cat conftest.err >&5
41330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41331 (exit $ac_status); } && {
41332 test -z "$ac_c_werror_flag" ||
41333 test ! -s conftest.err
41334 } && test -s conftest$ac_exeext &&
41335 $as_test_x conftest$ac_exeext; then
41336 ac_cv_lib_resolv_inet_addr=yes
41338 echo "$as_me: failed program was:" >&5
41339 sed 's/^/| /' conftest.$ac_ext >&5
41341 ac_cv_lib_resolv_inet_addr=no
41344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41345 conftest$ac_exeext conftest.$ac_ext
41346 LIBS=$ac_check_lib_save_LIBS
41348 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
41349 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
41350 if test $ac_cv_lib_resolv_inet_addr = yes; then
41354 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
41355 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
41356 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
41357 echo $ECHO_N "(cached) $ECHO_C" >&6
41359 ac_check_lib_save_LIBS=$LIBS
41360 LIBS="-lsocket $LIBS"
41361 cat >conftest.$ac_ext <<_ACEOF
41364 cat confdefs.h >>conftest.$ac_ext
41365 cat >>conftest.$ac_ext <<_ACEOF
41366 /* end confdefs.h. */
41368 /* Override any GCC internal prototype to avoid an error.
41369 Use char because int might match the return type of a GCC
41370 builtin and then its argument prototype would still apply. */
41378 return inet_addr ();
41383 rm -f conftest.$ac_objext conftest$ac_exeext
41384 if { (ac_try="$ac_link"
41385 case "(($ac_try" in
41386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41387 *) ac_try_echo=$ac_try;;
41389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41390 (eval "$ac_link") 2>conftest.er1
41392 grep -v '^ *+' conftest.er1 >conftest.err
41394 cat conftest.err >&5
41395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41396 (exit $ac_status); } && {
41397 test -z "$ac_c_werror_flag" ||
41398 test ! -s conftest.err
41399 } && test -s conftest$ac_exeext &&
41400 $as_test_x conftest$ac_exeext; then
41401 ac_cv_lib_socket_inet_addr=yes
41403 echo "$as_me: failed program was:" >&5
41404 sed 's/^/| /' conftest.$ac_ext >&5
41406 ac_cv_lib_socket_inet_addr=no
41409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41410 conftest$ac_exeext conftest.$ac_ext
41411 LIBS=$ac_check_lib_save_LIBS
41413 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
41414 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
41415 if test $ac_cv_lib_socket_inet_addr = yes; then
41435 for ac_func in inet_aton
41437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41438 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41440 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41441 echo $ECHO_N "(cached) $ECHO_C" >&6
41443 cat >conftest.$ac_ext <<_ACEOF
41446 cat confdefs.h >>conftest.$ac_ext
41447 cat >>conftest.$ac_ext <<_ACEOF
41448 /* end confdefs.h. */
41449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41451 #define $ac_func innocuous_$ac_func
41453 /* System header to define __stub macros and hopefully few prototypes,
41454 which can conflict with char $ac_func (); below.
41455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41456 <limits.h> exists even on freestanding compilers. */
41459 # include <limits.h>
41461 # include <assert.h>
41466 /* Override any GCC internal prototype to avoid an error.
41467 Use char because int might match the return type of a GCC
41468 builtin and then its argument prototype would still apply. */
41473 /* The GNU C library defines this for functions which it implements
41474 to always fail with ENOSYS. Some functions are actually named
41475 something starting with __ and the normal name is an alias. */
41476 #if defined __stub_$ac_func || defined __stub___$ac_func
41483 return $ac_func ();
41488 rm -f conftest.$ac_objext conftest$ac_exeext
41489 if { (ac_try="$ac_link"
41490 case "(($ac_try" in
41491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41492 *) ac_try_echo=$ac_try;;
41494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41495 (eval "$ac_link") 2>conftest.er1
41497 grep -v '^ *+' conftest.er1 >conftest.err
41499 cat conftest.err >&5
41500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41501 (exit $ac_status); } && {
41502 test -z "$ac_c_werror_flag" ||
41503 test ! -s conftest.err
41504 } && test -s conftest$ac_exeext &&
41505 $as_test_x conftest$ac_exeext; then
41506 eval "$as_ac_var=yes"
41508 echo "$as_me: failed program was:" >&5
41509 sed 's/^/| /' conftest.$ac_ext >&5
41511 eval "$as_ac_var=no"
41514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41515 conftest$ac_exeext conftest.$ac_ext
41517 ac_res=`eval echo '${'$as_ac_var'}'`
41518 { echo "$as_me:$LINENO: result: $ac_res" >&5
41519 echo "${ECHO_T}$ac_res" >&6; }
41520 if test `eval echo '${'$as_ac_var'}'` = yes; then
41521 cat >>confdefs.h <<_ACEOF
41522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41524 cat >>confdefs.h <<\_ACEOF
41525 #define HAVE_INET_ATON 1
41530 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41531 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41532 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41533 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41534 echo $ECHO_N "(cached) $ECHO_C" >&6
41536 ac_check_lib_save_LIBS=$LIBS
41537 LIBS="-l$INET_LINK $LIBS"
41538 cat >conftest.$ac_ext <<_ACEOF
41541 cat confdefs.h >>conftest.$ac_ext
41542 cat >>conftest.$ac_ext <<_ACEOF
41543 /* end confdefs.h. */
41545 /* Override any GCC internal prototype to avoid an error.
41546 Use char because int might match the return type of a GCC
41547 builtin and then its argument prototype would still apply. */
41555 return inet_aton ();
41560 rm -f conftest.$ac_objext conftest$ac_exeext
41561 if { (ac_try="$ac_link"
41562 case "(($ac_try" in
41563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41564 *) ac_try_echo=$ac_try;;
41566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41567 (eval "$ac_link") 2>conftest.er1
41569 grep -v '^ *+' conftest.er1 >conftest.err
41571 cat conftest.err >&5
41572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41573 (exit $ac_status); } && {
41574 test -z "$ac_c_werror_flag" ||
41575 test ! -s conftest.err
41576 } && test -s conftest$ac_exeext &&
41577 $as_test_x conftest$ac_exeext; then
41578 eval "$as_ac_Lib=yes"
41580 echo "$as_me: failed program was:" >&5
41581 sed 's/^/| /' conftest.$ac_ext >&5
41583 eval "$as_ac_Lib=no"
41586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41587 conftest$ac_exeext conftest.$ac_ext
41588 LIBS=$ac_check_lib_save_LIBS
41590 ac_res=`eval echo '${'$as_ac_Lib'}'`
41591 { echo "$as_me:$LINENO: result: $ac_res" >&5
41592 echo "${ECHO_T}$ac_res" >&6; }
41593 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41594 cat >>confdefs.h <<\_ACEOF
41595 #define HAVE_INET_ATON 1
41605 if test "x$INET_LINK" != "x"; then
41606 cat >>confdefs.h <<\_ACEOF
41607 #define HAVE_INET_ADDR 1
41610 INET_LINK=" -l$INET_LINK"
41614 for wx_func in fdopen
41616 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41617 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41618 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41619 echo $ECHO_N "(cached) $ECHO_C" >&6
41622 cat >conftest.$ac_ext <<_ACEOF
41626 cat confdefs.h >>conftest.$ac_ext
41627 cat >>conftest.$ac_ext <<_ACEOF
41628 /* end confdefs.h. */
41631 $ac_includes_default
41647 rm -f conftest.$ac_objext conftest$ac_exeext
41648 if { (ac_try="$ac_link"
41649 case "(($ac_try" in
41650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41651 *) ac_try_echo=$ac_try;;
41653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41654 (eval "$ac_link") 2>conftest.er1
41656 grep -v '^ *+' conftest.er1 >conftest.err
41658 cat conftest.err >&5
41659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41660 (exit $ac_status); } && {
41661 test -z "$ac_c_werror_flag" ||
41662 test ! -s conftest.err
41663 } && test -s conftest$ac_exeext &&
41664 $as_test_x conftest$ac_exeext; then
41665 eval wx_cv_func_$wx_func=yes
41667 echo "$as_me: failed program was:" >&5
41668 sed 's/^/| /' conftest.$ac_ext >&5
41670 eval wx_cv_func_$wx_func=no
41673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41674 conftest$ac_exeext conftest.$ac_ext
41677 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41678 { echo "$as_me:$LINENO: result: $ac_res" >&5
41679 echo "${ECHO_T}$ac_res" >&6; }
41681 if eval test \$wx_cv_func_$wx_func = yes
41683 cat >>confdefs.h <<_ACEOF
41684 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41699 cat >confcache <<\_ACEOF
41700 # This file is a shell script that caches the results of configure
41701 # tests run on this system so they can be shared between configure
41702 # scripts and configure runs, see configure's option --config-cache.
41703 # It is not useful on other systems. If it contains results you don't
41704 # want to keep, you may remove or edit it.
41706 # config.status only pays attention to the cache file if you give it
41707 # the --recheck option to rerun configure.
41709 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41710 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41711 # following values.
41715 # The following way of writing the cache mishandles newlines in values,
41716 # but we know of no workaround that is simple, portable, and efficient.
41717 # So, we kill variables containing newlines.
41718 # Ultrix sh set writes to stderr and can't be redirected directly,
41719 # and sets the high bit in the cache file unless we assign to the vars.
41721 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41722 eval ac_val=\$$ac_var
41726 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41727 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41730 _ | IFS | as_nl) ;; #(
41731 *) $as_unset $ac_var ;;
41737 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41738 *${as_nl}ac_space=\ *)
41739 # `set' does not quote correctly, so add quotes (double-quote
41740 # substitution turns \\\\ into \\, and sed turns \\ into \).
41743 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41746 # `set' quotes correctly as required by POSIX, so do not add quotes.
41747 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41756 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41758 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41760 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41761 if test -w "$cache_file"; then
41762 test "x$cache_file" != "x/dev/null" &&
41763 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41764 echo "$as_me: updating cache $cache_file" >&6;}
41765 cat confcache >$cache_file
41767 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41768 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41774 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41780 if test "$wxUSE_THREADS" = "yes" ; then
41781 if test "$USE_BEOS" = 1; then
41782 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41783 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41788 if test "$wxUSE_THREADS" = "yes" ; then
41791 THREAD_OPTS="-pthread"
41792 if test "x$SUNCXX" = xyes; then
41793 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41797 *-*-solaris2* | *-*-sunos4* )
41798 if test "x$GCC" = "xyes"; then
41799 THREAD_OPTS="-pthreads $THREAD_OPTS"
41803 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41805 *-*-darwin* | *-*-cygwin* )
41809 THREAD_OPTS="pthreads"
41812 if test "x$GCC" = "xyes"; then
41813 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41821 if test "x$GCC" = "xyes"; then
41827 if test "x$GCC" != "xyes"; then
41828 THREAD_OPTS="-Ethread"
41833 THREAD_OPTS="$THREAD_OPTS pthread none"
41836 for flag in $THREAD_OPTS; do
41839 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41840 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41844 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41845 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41846 THREADS_CFLAGS="$flag"
41850 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41851 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41852 THREADS_LINK="-l$flag"
41857 save_CFLAGS="$CFLAGS"
41858 LIBS="$THREADS_LINK $LIBS"
41859 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41861 cat >conftest.$ac_ext <<_ACEOF
41864 cat confdefs.h >>conftest.$ac_ext
41865 cat >>conftest.$ac_ext <<_ACEOF
41866 /* end confdefs.h. */
41867 #include <pthread.h>
41871 pthread_create(0,0,0,0);
41876 rm -f conftest.$ac_objext conftest$ac_exeext
41877 if { (ac_try="$ac_link"
41878 case "(($ac_try" in
41879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41880 *) ac_try_echo=$ac_try;;
41882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41883 (eval "$ac_link") 2>conftest.er1
41885 grep -v '^ *+' conftest.er1 >conftest.err
41887 cat conftest.err >&5
41888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41889 (exit $ac_status); } && {
41890 test -z "$ac_c_werror_flag" ||
41891 test ! -s conftest.err
41892 } && test -s conftest$ac_exeext &&
41893 $as_test_x conftest$ac_exeext; then
41896 echo "$as_me: failed program was:" >&5
41897 sed 's/^/| /' conftest.$ac_ext >&5
41902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41903 conftest$ac_exeext conftest.$ac_ext
41906 CFLAGS="$save_CFLAGS"
41908 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41909 echo "${ECHO_T}$THREADS_OK" >&6; }
41910 if test "x$THREADS_OK" = "xyes"; then
41918 if test "x$THREADS_OK" != "xyes"; then
41920 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41921 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41923 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41924 LIBS="$THREADS_LINK $LIBS"
41926 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41927 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41931 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41932 flag="-D_THREAD_SAFE"
41935 flag="-D_THREAD_SAFE"
41938 flag="-D_REENTRANT"
41939 if test "x$GCC" != "xyes"; then
41940 flag="$flag -D_RWSTD_MULTI_THREAD"
41943 *solaris* | alpha*-osf*)
41944 flag="-D_REENTRANT"
41947 { echo "$as_me:$LINENO: result: ${flag}" >&5
41948 echo "${ECHO_T}${flag}" >&6; }
41949 if test "x$flag" != xno; then
41950 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41953 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41957 if test "$wxUSE_THREADS" = "yes" ; then
41959 for ac_func in thr_setconcurrency
41961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41962 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41964 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41965 echo $ECHO_N "(cached) $ECHO_C" >&6
41967 cat >conftest.$ac_ext <<_ACEOF
41970 cat confdefs.h >>conftest.$ac_ext
41971 cat >>conftest.$ac_ext <<_ACEOF
41972 /* end confdefs.h. */
41973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41975 #define $ac_func innocuous_$ac_func
41977 /* System header to define __stub macros and hopefully few prototypes,
41978 which can conflict with char $ac_func (); below.
41979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41980 <limits.h> exists even on freestanding compilers. */
41983 # include <limits.h>
41985 # include <assert.h>
41990 /* Override any GCC internal prototype to avoid an error.
41991 Use char because int might match the return type of a GCC
41992 builtin and then its argument prototype would still apply. */
41997 /* The GNU C library defines this for functions which it implements
41998 to always fail with ENOSYS. Some functions are actually named
41999 something starting with __ and the normal name is an alias. */
42000 #if defined __stub_$ac_func || defined __stub___$ac_func
42007 return $ac_func ();
42012 rm -f conftest.$ac_objext conftest$ac_exeext
42013 if { (ac_try="$ac_link"
42014 case "(($ac_try" in
42015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42016 *) ac_try_echo=$ac_try;;
42018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42019 (eval "$ac_link") 2>conftest.er1
42021 grep -v '^ *+' conftest.er1 >conftest.err
42023 cat conftest.err >&5
42024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42025 (exit $ac_status); } && {
42026 test -z "$ac_c_werror_flag" ||
42027 test ! -s conftest.err
42028 } && test -s conftest$ac_exeext &&
42029 $as_test_x conftest$ac_exeext; then
42030 eval "$as_ac_var=yes"
42032 echo "$as_me: failed program was:" >&5
42033 sed 's/^/| /' conftest.$ac_ext >&5
42035 eval "$as_ac_var=no"
42038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42039 conftest$ac_exeext conftest.$ac_ext
42041 ac_res=`eval echo '${'$as_ac_var'}'`
42042 { echo "$as_me:$LINENO: result: $ac_res" >&5
42043 echo "${ECHO_T}$ac_res" >&6; }
42044 if test `eval echo '${'$as_ac_var'}'` = yes; then
42045 cat >>confdefs.h <<_ACEOF
42046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42053 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
42054 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
42055 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
42056 echo $ECHO_N "(cached) $ECHO_C" >&6
42060 ac_cpp='$CXXCPP $CPPFLAGS'
42061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42065 cat >conftest.$ac_ext <<_ACEOF
42068 cat confdefs.h >>conftest.$ac_ext
42069 cat >>conftest.$ac_ext <<_ACEOF
42070 /* end confdefs.h. */
42071 #include <pthread.h>
42072 void ThreadCleanupFunc(void *p);
42079 pthread_cleanup_push(ThreadCleanupFunc, p);
42080 pthread_cleanup_pop(0);
42086 rm -f conftest.$ac_objext
42087 if { (ac_try="$ac_compile"
42088 case "(($ac_try" in
42089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42090 *) ac_try_echo=$ac_try;;
42092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42093 (eval "$ac_compile") 2>conftest.er1
42095 grep -v '^ *+' conftest.er1 >conftest.err
42097 cat conftest.err >&5
42098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42099 (exit $ac_status); } && {
42100 test -z "$ac_cxx_werror_flag" ||
42101 test ! -s conftest.err
42102 } && test -s conftest.$ac_objext; then
42104 wx_cv_func_pthread_cleanup=yes
42107 echo "$as_me: failed program was:" >&5
42108 sed 's/^/| /' conftest.$ac_ext >&5
42111 wx_cv_func_pthread_cleanup=no
42116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42118 ac_cpp='$CPP $CPPFLAGS'
42119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42125 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
42126 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
42127 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
42128 cat >>confdefs.h <<\_ACEOF
42129 #define wxHAVE_PTHREAD_CLEANUP 1
42135 for ac_header in sched.h
42137 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42138 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42140 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42141 echo $ECHO_N "(cached) $ECHO_C" >&6
42143 cat >conftest.$ac_ext <<_ACEOF
42146 cat confdefs.h >>conftest.$ac_ext
42147 cat >>conftest.$ac_ext <<_ACEOF
42148 /* end confdefs.h. */
42149 $ac_includes_default
42151 #include <$ac_header>
42153 rm -f conftest.$ac_objext
42154 if { (ac_try="$ac_compile"
42155 case "(($ac_try" in
42156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42157 *) ac_try_echo=$ac_try;;
42159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42160 (eval "$ac_compile") 2>conftest.er1
42162 grep -v '^ *+' conftest.er1 >conftest.err
42164 cat conftest.err >&5
42165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42166 (exit $ac_status); } && {
42167 test -z "$ac_c_werror_flag" ||
42168 test ! -s conftest.err
42169 } && test -s conftest.$ac_objext; then
42170 eval "$as_ac_Header=yes"
42172 echo "$as_me: failed program was:" >&5
42173 sed 's/^/| /' conftest.$ac_ext >&5
42175 eval "$as_ac_Header=no"
42178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42180 ac_res=`eval echo '${'$as_ac_Header'}'`
42181 { echo "$as_me:$LINENO: result: $ac_res" >&5
42182 echo "${ECHO_T}$ac_res" >&6; }
42183 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42184 cat >>confdefs.h <<_ACEOF
42185 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42192 if test "$ac_cv_header_sched_h" = "yes"; then
42193 { echo "$as_me:$LINENO: checking for sched_yield" >&5
42194 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
42195 if test "${ac_cv_func_sched_yield+set}" = set; then
42196 echo $ECHO_N "(cached) $ECHO_C" >&6
42198 cat >conftest.$ac_ext <<_ACEOF
42201 cat confdefs.h >>conftest.$ac_ext
42202 cat >>conftest.$ac_ext <<_ACEOF
42203 /* end confdefs.h. */
42204 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
42205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42206 #define sched_yield innocuous_sched_yield
42208 /* System header to define __stub macros and hopefully few prototypes,
42209 which can conflict with char sched_yield (); below.
42210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42211 <limits.h> exists even on freestanding compilers. */
42214 # include <limits.h>
42216 # include <assert.h>
42221 /* Override any GCC internal prototype to avoid an error.
42222 Use char because int might match the return type of a GCC
42223 builtin and then its argument prototype would still apply. */
42227 char sched_yield ();
42228 /* The GNU C library defines this for functions which it implements
42229 to always fail with ENOSYS. Some functions are actually named
42230 something starting with __ and the normal name is an alias. */
42231 #if defined __stub_sched_yield || defined __stub___sched_yield
42238 return sched_yield ();
42243 rm -f conftest.$ac_objext conftest$ac_exeext
42244 if { (ac_try="$ac_link"
42245 case "(($ac_try" in
42246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42247 *) ac_try_echo=$ac_try;;
42249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42250 (eval "$ac_link") 2>conftest.er1
42252 grep -v '^ *+' conftest.er1 >conftest.err
42254 cat conftest.err >&5
42255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42256 (exit $ac_status); } && {
42257 test -z "$ac_c_werror_flag" ||
42258 test ! -s conftest.err
42259 } && test -s conftest$ac_exeext &&
42260 $as_test_x conftest$ac_exeext; then
42261 ac_cv_func_sched_yield=yes
42263 echo "$as_me: failed program was:" >&5
42264 sed 's/^/| /' conftest.$ac_ext >&5
42266 ac_cv_func_sched_yield=no
42269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42270 conftest$ac_exeext conftest.$ac_ext
42272 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
42273 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
42274 if test $ac_cv_func_sched_yield = yes; then
42275 cat >>confdefs.h <<\_ACEOF
42276 #define HAVE_SCHED_YIELD 1
42281 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
42282 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
42283 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
42284 echo $ECHO_N "(cached) $ECHO_C" >&6
42286 ac_check_lib_save_LIBS=$LIBS
42287 LIBS="-lposix4 $LIBS"
42288 cat >conftest.$ac_ext <<_ACEOF
42291 cat confdefs.h >>conftest.$ac_ext
42292 cat >>conftest.$ac_ext <<_ACEOF
42293 /* end confdefs.h. */
42295 /* Override any GCC internal prototype to avoid an error.
42296 Use char because int might match the return type of a GCC
42297 builtin and then its argument prototype would still apply. */
42301 char sched_yield ();
42305 return sched_yield ();
42310 rm -f conftest.$ac_objext conftest$ac_exeext
42311 if { (ac_try="$ac_link"
42312 case "(($ac_try" in
42313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42314 *) ac_try_echo=$ac_try;;
42316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42317 (eval "$ac_link") 2>conftest.er1
42319 grep -v '^ *+' conftest.er1 >conftest.err
42321 cat conftest.err >&5
42322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42323 (exit $ac_status); } && {
42324 test -z "$ac_c_werror_flag" ||
42325 test ! -s conftest.err
42326 } && test -s conftest$ac_exeext &&
42327 $as_test_x conftest$ac_exeext; then
42328 ac_cv_lib_posix4_sched_yield=yes
42330 echo "$as_me: failed program was:" >&5
42331 sed 's/^/| /' conftest.$ac_ext >&5
42333 ac_cv_lib_posix4_sched_yield=no
42336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42337 conftest$ac_exeext conftest.$ac_ext
42338 LIBS=$ac_check_lib_save_LIBS
42340 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
42341 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
42342 if test $ac_cv_lib_posix4_sched_yield = yes; then
42343 cat >>confdefs.h <<\_ACEOF
42344 #define HAVE_SCHED_YIELD 1
42346 POSIX4_LINK=" -lposix4"
42348 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
42349 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
42360 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
42361 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
42362 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
42363 echo $ECHO_N "(cached) $ECHO_C" >&6
42365 cat >conftest.$ac_ext <<_ACEOF
42368 cat confdefs.h >>conftest.$ac_ext
42369 cat >>conftest.$ac_ext <<_ACEOF
42370 /* end confdefs.h. */
42371 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
42372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42373 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
42375 /* System header to define __stub macros and hopefully few prototypes,
42376 which can conflict with char pthread_attr_getschedpolicy (); below.
42377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42378 <limits.h> exists even on freestanding compilers. */
42381 # include <limits.h>
42383 # include <assert.h>
42386 #undef pthread_attr_getschedpolicy
42388 /* Override any GCC internal prototype to avoid an error.
42389 Use char because int might match the return type of a GCC
42390 builtin and then its argument prototype would still apply. */
42394 char pthread_attr_getschedpolicy ();
42395 /* The GNU C library defines this for functions which it implements
42396 to always fail with ENOSYS. Some functions are actually named
42397 something starting with __ and the normal name is an alias. */
42398 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
42405 return pthread_attr_getschedpolicy ();
42410 rm -f conftest.$ac_objext conftest$ac_exeext
42411 if { (ac_try="$ac_link"
42412 case "(($ac_try" in
42413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42414 *) ac_try_echo=$ac_try;;
42416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42417 (eval "$ac_link") 2>conftest.er1
42419 grep -v '^ *+' conftest.er1 >conftest.err
42421 cat conftest.err >&5
42422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42423 (exit $ac_status); } && {
42424 test -z "$ac_c_werror_flag" ||
42425 test ! -s conftest.err
42426 } && test -s conftest$ac_exeext &&
42427 $as_test_x conftest$ac_exeext; then
42428 ac_cv_func_pthread_attr_getschedpolicy=yes
42430 echo "$as_me: failed program was:" >&5
42431 sed 's/^/| /' conftest.$ac_ext >&5
42433 ac_cv_func_pthread_attr_getschedpolicy=no
42436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42437 conftest$ac_exeext conftest.$ac_ext
42439 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
42440 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
42441 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
42442 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
42443 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
42444 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
42445 echo $ECHO_N "(cached) $ECHO_C" >&6
42447 cat >conftest.$ac_ext <<_ACEOF
42450 cat confdefs.h >>conftest.$ac_ext
42451 cat >>conftest.$ac_ext <<_ACEOF
42452 /* end confdefs.h. */
42453 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
42454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42455 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
42457 /* System header to define __stub macros and hopefully few prototypes,
42458 which can conflict with char pthread_attr_setschedparam (); below.
42459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42460 <limits.h> exists even on freestanding compilers. */
42463 # include <limits.h>
42465 # include <assert.h>
42468 #undef pthread_attr_setschedparam
42470 /* Override any GCC internal prototype to avoid an error.
42471 Use char because int might match the return type of a GCC
42472 builtin and then its argument prototype would still apply. */
42476 char pthread_attr_setschedparam ();
42477 /* The GNU C library defines this for functions which it implements
42478 to always fail with ENOSYS. Some functions are actually named
42479 something starting with __ and the normal name is an alias. */
42480 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
42487 return pthread_attr_setschedparam ();
42492 rm -f conftest.$ac_objext conftest$ac_exeext
42493 if { (ac_try="$ac_link"
42494 case "(($ac_try" in
42495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42496 *) ac_try_echo=$ac_try;;
42498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42499 (eval "$ac_link") 2>conftest.er1
42501 grep -v '^ *+' conftest.er1 >conftest.err
42503 cat conftest.err >&5
42504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42505 (exit $ac_status); } && {
42506 test -z "$ac_c_werror_flag" ||
42507 test ! -s conftest.err
42508 } && test -s conftest$ac_exeext &&
42509 $as_test_x conftest$ac_exeext; then
42510 ac_cv_func_pthread_attr_setschedparam=yes
42512 echo "$as_me: failed program was:" >&5
42513 sed 's/^/| /' conftest.$ac_ext >&5
42515 ac_cv_func_pthread_attr_setschedparam=no
42518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42519 conftest$ac_exeext conftest.$ac_ext
42521 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42522 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42523 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42524 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42525 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42526 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42527 echo $ECHO_N "(cached) $ECHO_C" >&6
42529 cat >conftest.$ac_ext <<_ACEOF
42532 cat confdefs.h >>conftest.$ac_ext
42533 cat >>conftest.$ac_ext <<_ACEOF
42534 /* end confdefs.h. */
42535 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42537 #define sched_get_priority_max innocuous_sched_get_priority_max
42539 /* System header to define __stub macros and hopefully few prototypes,
42540 which can conflict with char sched_get_priority_max (); below.
42541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42542 <limits.h> exists even on freestanding compilers. */
42545 # include <limits.h>
42547 # include <assert.h>
42550 #undef sched_get_priority_max
42552 /* Override any GCC internal prototype to avoid an error.
42553 Use char because int might match the return type of a GCC
42554 builtin and then its argument prototype would still apply. */
42558 char sched_get_priority_max ();
42559 /* The GNU C library defines this for functions which it implements
42560 to always fail with ENOSYS. Some functions are actually named
42561 something starting with __ and the normal name is an alias. */
42562 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42569 return sched_get_priority_max ();
42574 rm -f conftest.$ac_objext conftest$ac_exeext
42575 if { (ac_try="$ac_link"
42576 case "(($ac_try" in
42577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42578 *) ac_try_echo=$ac_try;;
42580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42581 (eval "$ac_link") 2>conftest.er1
42583 grep -v '^ *+' conftest.er1 >conftest.err
42585 cat conftest.err >&5
42586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42587 (exit $ac_status); } && {
42588 test -z "$ac_c_werror_flag" ||
42589 test ! -s conftest.err
42590 } && test -s conftest$ac_exeext &&
42591 $as_test_x conftest$ac_exeext; then
42592 ac_cv_func_sched_get_priority_max=yes
42594 echo "$as_me: failed program was:" >&5
42595 sed 's/^/| /' conftest.$ac_ext >&5
42597 ac_cv_func_sched_get_priority_max=no
42600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42601 conftest$ac_exeext conftest.$ac_ext
42603 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42604 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42605 if test $ac_cv_func_sched_get_priority_max = yes; then
42608 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42609 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42610 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42611 echo $ECHO_N "(cached) $ECHO_C" >&6
42613 ac_check_lib_save_LIBS=$LIBS
42614 LIBS="-lposix4 $LIBS"
42615 cat >conftest.$ac_ext <<_ACEOF
42618 cat confdefs.h >>conftest.$ac_ext
42619 cat >>conftest.$ac_ext <<_ACEOF
42620 /* end confdefs.h. */
42622 /* Override any GCC internal prototype to avoid an error.
42623 Use char because int might match the return type of a GCC
42624 builtin and then its argument prototype would still apply. */
42628 char sched_get_priority_max ();
42632 return sched_get_priority_max ();
42637 rm -f conftest.$ac_objext conftest$ac_exeext
42638 if { (ac_try="$ac_link"
42639 case "(($ac_try" in
42640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42641 *) ac_try_echo=$ac_try;;
42643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42644 (eval "$ac_link") 2>conftest.er1
42646 grep -v '^ *+' conftest.er1 >conftest.err
42648 cat conftest.err >&5
42649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42650 (exit $ac_status); } && {
42651 test -z "$ac_c_werror_flag" ||
42652 test ! -s conftest.err
42653 } && test -s conftest$ac_exeext &&
42654 $as_test_x conftest$ac_exeext; then
42655 ac_cv_lib_posix4_sched_get_priority_max=yes
42657 echo "$as_me: failed program was:" >&5
42658 sed 's/^/| /' conftest.$ac_ext >&5
42660 ac_cv_lib_posix4_sched_get_priority_max=no
42663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42664 conftest$ac_exeext conftest.$ac_ext
42665 LIBS=$ac_check_lib_save_LIBS
42667 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42668 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42669 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42672 POSIX4_LINK=" -lposix4"
42686 if test "$HAVE_PRIOR_FUNCS" = 1; then
42687 cat >>confdefs.h <<\_ACEOF
42688 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42692 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42693 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42696 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42697 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42698 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42699 echo $ECHO_N "(cached) $ECHO_C" >&6
42701 cat >conftest.$ac_ext <<_ACEOF
42704 cat confdefs.h >>conftest.$ac_ext
42705 cat >>conftest.$ac_ext <<_ACEOF
42706 /* end confdefs.h. */
42707 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42709 #define pthread_cancel innocuous_pthread_cancel
42711 /* System header to define __stub macros and hopefully few prototypes,
42712 which can conflict with char pthread_cancel (); below.
42713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42714 <limits.h> exists even on freestanding compilers. */
42717 # include <limits.h>
42719 # include <assert.h>
42722 #undef pthread_cancel
42724 /* Override any GCC internal prototype to avoid an error.
42725 Use char because int might match the return type of a GCC
42726 builtin and then its argument prototype would still apply. */
42730 char pthread_cancel ();
42731 /* The GNU C library defines this for functions which it implements
42732 to always fail with ENOSYS. Some functions are actually named
42733 something starting with __ and the normal name is an alias. */
42734 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42741 return pthread_cancel ();
42746 rm -f conftest.$ac_objext conftest$ac_exeext
42747 if { (ac_try="$ac_link"
42748 case "(($ac_try" in
42749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42750 *) ac_try_echo=$ac_try;;
42752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42753 (eval "$ac_link") 2>conftest.er1
42755 grep -v '^ *+' conftest.er1 >conftest.err
42757 cat conftest.err >&5
42758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42759 (exit $ac_status); } && {
42760 test -z "$ac_c_werror_flag" ||
42761 test ! -s conftest.err
42762 } && test -s conftest$ac_exeext &&
42763 $as_test_x conftest$ac_exeext; then
42764 ac_cv_func_pthread_cancel=yes
42766 echo "$as_me: failed program was:" >&5
42767 sed 's/^/| /' conftest.$ac_ext >&5
42769 ac_cv_func_pthread_cancel=no
42772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42773 conftest$ac_exeext conftest.$ac_ext
42775 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42776 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42777 if test $ac_cv_func_pthread_cancel = yes; then
42778 cat >>confdefs.h <<\_ACEOF
42779 #define HAVE_PTHREAD_CANCEL 1
42783 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42784 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42788 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42789 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42790 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42791 echo $ECHO_N "(cached) $ECHO_C" >&6
42793 cat >conftest.$ac_ext <<_ACEOF
42796 cat confdefs.h >>conftest.$ac_ext
42797 cat >>conftest.$ac_ext <<_ACEOF
42798 /* end confdefs.h. */
42799 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42801 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42803 /* System header to define __stub macros and hopefully few prototypes,
42804 which can conflict with char pthread_mutex_timedlock (); below.
42805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42806 <limits.h> exists even on freestanding compilers. */
42809 # include <limits.h>
42811 # include <assert.h>
42814 #undef pthread_mutex_timedlock
42816 /* Override any GCC internal prototype to avoid an error.
42817 Use char because int might match the return type of a GCC
42818 builtin and then its argument prototype would still apply. */
42822 char pthread_mutex_timedlock ();
42823 /* The GNU C library defines this for functions which it implements
42824 to always fail with ENOSYS. Some functions are actually named
42825 something starting with __ and the normal name is an alias. */
42826 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42833 return pthread_mutex_timedlock ();
42838 rm -f conftest.$ac_objext conftest$ac_exeext
42839 if { (ac_try="$ac_link"
42840 case "(($ac_try" in
42841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42842 *) ac_try_echo=$ac_try;;
42844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42845 (eval "$ac_link") 2>conftest.er1
42847 grep -v '^ *+' conftest.er1 >conftest.err
42849 cat conftest.err >&5
42850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42851 (exit $ac_status); } && {
42852 test -z "$ac_c_werror_flag" ||
42853 test ! -s conftest.err
42854 } && test -s conftest$ac_exeext &&
42855 $as_test_x conftest$ac_exeext; then
42856 ac_cv_func_pthread_mutex_timedlock=yes
42858 echo "$as_me: failed program was:" >&5
42859 sed 's/^/| /' conftest.$ac_ext >&5
42861 ac_cv_func_pthread_mutex_timedlock=no
42864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42865 conftest$ac_exeext conftest.$ac_ext
42867 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42868 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42869 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42870 cat >>confdefs.h <<\_ACEOF
42871 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42875 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42876 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42880 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42881 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42882 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42883 echo $ECHO_N "(cached) $ECHO_C" >&6
42885 cat >conftest.$ac_ext <<_ACEOF
42888 cat confdefs.h >>conftest.$ac_ext
42889 cat >>conftest.$ac_ext <<_ACEOF
42890 /* end confdefs.h. */
42891 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42893 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42895 /* System header to define __stub macros and hopefully few prototypes,
42896 which can conflict with char pthread_attr_setstacksize (); below.
42897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42898 <limits.h> exists even on freestanding compilers. */
42901 # include <limits.h>
42903 # include <assert.h>
42906 #undef pthread_attr_setstacksize
42908 /* Override any GCC internal prototype to avoid an error.
42909 Use char because int might match the return type of a GCC
42910 builtin and then its argument prototype would still apply. */
42914 char pthread_attr_setstacksize ();
42915 /* The GNU C library defines this for functions which it implements
42916 to always fail with ENOSYS. Some functions are actually named
42917 something starting with __ and the normal name is an alias. */
42918 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42925 return pthread_attr_setstacksize ();
42930 rm -f conftest.$ac_objext conftest$ac_exeext
42931 if { (ac_try="$ac_link"
42932 case "(($ac_try" in
42933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42934 *) ac_try_echo=$ac_try;;
42936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42937 (eval "$ac_link") 2>conftest.er1
42939 grep -v '^ *+' conftest.er1 >conftest.err
42941 cat conftest.err >&5
42942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42943 (exit $ac_status); } && {
42944 test -z "$ac_c_werror_flag" ||
42945 test ! -s conftest.err
42946 } && test -s conftest$ac_exeext &&
42947 $as_test_x conftest$ac_exeext; then
42948 ac_cv_func_pthread_attr_setstacksize=yes
42950 echo "$as_me: failed program was:" >&5
42951 sed 's/^/| /' conftest.$ac_ext >&5
42953 ac_cv_func_pthread_attr_setstacksize=no
42956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42957 conftest$ac_exeext conftest.$ac_ext
42959 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42960 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42961 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42962 cat >>confdefs.h <<\_ACEOF
42963 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42970 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42971 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42972 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42973 echo $ECHO_N "(cached) $ECHO_C" >&6
42976 cat >conftest.$ac_ext <<_ACEOF
42979 cat confdefs.h >>conftest.$ac_ext
42980 cat >>conftest.$ac_ext <<_ACEOF
42981 /* end confdefs.h. */
42982 #include <pthread.h>
42987 pthread_mutexattr_t attr;
42988 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42994 rm -f conftest.$ac_objext
42995 if { (ac_try="$ac_compile"
42996 case "(($ac_try" in
42997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42998 *) ac_try_echo=$ac_try;;
43000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43001 (eval "$ac_compile") 2>conftest.er1
43003 grep -v '^ *+' conftest.er1 >conftest.err
43005 cat conftest.err >&5
43006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43007 (exit $ac_status); } && {
43008 test -z "$ac_c_werror_flag" ||
43009 test ! -s conftest.err
43010 } && test -s conftest.$ac_objext; then
43011 wx_cv_type_pthread_mutexattr_t=yes
43013 echo "$as_me: failed program was:" >&5
43014 sed 's/^/| /' conftest.$ac_ext >&5
43016 wx_cv_type_pthread_mutexattr_t=no
43020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43023 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
43024 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
43026 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
43027 cat >>confdefs.h <<\_ACEOF
43028 #define HAVE_PTHREAD_MUTEXATTR_T 1
43032 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
43033 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
43034 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
43035 echo $ECHO_N "(cached) $ECHO_C" >&6
43038 cat >conftest.$ac_ext <<_ACEOF
43041 cat confdefs.h >>conftest.$ac_ext
43042 cat >>conftest.$ac_ext <<_ACEOF
43043 /* end confdefs.h. */
43044 #include <pthread.h>
43049 pthread_mutexattr_t attr;
43050 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
43056 rm -f conftest.$ac_objext
43057 if { (ac_try="$ac_compile"
43058 case "(($ac_try" in
43059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43060 *) ac_try_echo=$ac_try;;
43062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43063 (eval "$ac_compile") 2>conftest.er1
43065 grep -v '^ *+' conftest.er1 >conftest.err
43067 cat conftest.err >&5
43068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43069 (exit $ac_status); } && {
43070 test -z "$ac_c_werror_flag" ||
43071 test ! -s conftest.err
43072 } && test -s conftest.$ac_objext; then
43073 wx_cv_func_pthread_mutexattr_settype_decl=yes
43075 echo "$as_me: failed program was:" >&5
43076 sed 's/^/| /' conftest.$ac_ext >&5
43078 wx_cv_func_pthread_mutexattr_settype_decl=no
43082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43085 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
43086 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
43087 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
43088 cat >>confdefs.h <<\_ACEOF
43089 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
43094 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
43095 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
43096 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
43097 echo $ECHO_N "(cached) $ECHO_C" >&6
43100 cat >conftest.$ac_ext <<_ACEOF
43103 cat confdefs.h >>conftest.$ac_ext
43104 cat >>conftest.$ac_ext <<_ACEOF
43105 /* end confdefs.h. */
43106 #include <pthread.h>
43111 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
43117 rm -f conftest.$ac_objext
43118 if { (ac_try="$ac_compile"
43119 case "(($ac_try" in
43120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43121 *) ac_try_echo=$ac_try;;
43123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43124 (eval "$ac_compile") 2>conftest.er1
43126 grep -v '^ *+' conftest.er1 >conftest.err
43128 cat conftest.err >&5
43129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43130 (exit $ac_status); } && {
43131 test -z "$ac_c_werror_flag" ||
43132 test ! -s conftest.err
43133 } && test -s conftest.$ac_objext; then
43135 wx_cv_type_pthread_rec_mutex_init=yes
43138 echo "$as_me: failed program was:" >&5
43139 sed 's/^/| /' conftest.$ac_ext >&5
43142 wx_cv_type_pthread_rec_mutex_init=no
43147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43150 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
43151 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
43152 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
43153 cat >>confdefs.h <<\_ACEOF
43154 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
43158 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
43159 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
43165 if test "$wxUSE_THREADS" = "yes" ; then
43168 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
43169 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
43170 if test "${wx_cv_cflags_mthread+set}" = set; then
43171 echo $ECHO_N "(cached) $ECHO_C" >&6
43174 CFLAGS_OLD="$CFLAGS"
43175 CFLAGS="-mthreads $CFLAGS"
43176 cat >conftest.$ac_ext <<_ACEOF
43179 cat confdefs.h >>conftest.$ac_ext
43180 cat >>conftest.$ac_ext <<_ACEOF
43181 /* end confdefs.h. */
43191 rm -f conftest.$ac_objext
43192 if { (ac_try="$ac_compile"
43193 case "(($ac_try" in
43194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43195 *) ac_try_echo=$ac_try;;
43197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43198 (eval "$ac_compile") 2>conftest.er1
43200 grep -v '^ *+' conftest.er1 >conftest.err
43202 cat conftest.err >&5
43203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43204 (exit $ac_status); } && {
43205 test -z "$ac_c_werror_flag" ||
43206 test ! -s conftest.err
43207 } && test -s conftest.$ac_objext; then
43208 wx_cv_cflags_mthread=yes
43210 echo "$as_me: failed program was:" >&5
43211 sed 's/^/| /' conftest.$ac_ext >&5
43213 wx_cv_cflags_mthread=no
43217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43221 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
43222 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
43224 if test "$wx_cv_cflags_mthread" = "yes"; then
43225 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
43226 LDFLAGS="$LDFLAGS -mthreads"
43228 CFLAGS="$CFLAGS_OLD"
43232 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
43233 LDFLAGS="$LDFLAGS -Zmt"
43239 { echo "$as_me:$LINENO: checking for localtime_r" >&5
43240 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
43241 if test "${ac_cv_func_localtime_r+set}" = set; then
43242 echo $ECHO_N "(cached) $ECHO_C" >&6
43244 cat >conftest.$ac_ext <<_ACEOF
43247 cat confdefs.h >>conftest.$ac_ext
43248 cat >>conftest.$ac_ext <<_ACEOF
43249 /* end confdefs.h. */
43250 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
43251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43252 #define localtime_r innocuous_localtime_r
43254 /* System header to define __stub macros and hopefully few prototypes,
43255 which can conflict with char localtime_r (); below.
43256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43257 <limits.h> exists even on freestanding compilers. */
43260 # include <limits.h>
43262 # include <assert.h>
43267 /* Override any GCC internal prototype to avoid an error.
43268 Use char because int might match the return type of a GCC
43269 builtin and then its argument prototype would still apply. */
43273 char localtime_r ();
43274 /* The GNU C library defines this for functions which it implements
43275 to always fail with ENOSYS. Some functions are actually named
43276 something starting with __ and the normal name is an alias. */
43277 #if defined __stub_localtime_r || defined __stub___localtime_r
43284 return localtime_r ();
43289 rm -f conftest.$ac_objext conftest$ac_exeext
43290 if { (ac_try="$ac_link"
43291 case "(($ac_try" in
43292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43293 *) ac_try_echo=$ac_try;;
43295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43296 (eval "$ac_link") 2>conftest.er1
43298 grep -v '^ *+' conftest.er1 >conftest.err
43300 cat conftest.err >&5
43301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43302 (exit $ac_status); } && {
43303 test -z "$ac_c_werror_flag" ||
43304 test ! -s conftest.err
43305 } && test -s conftest$ac_exeext &&
43306 $as_test_x conftest$ac_exeext; then
43307 ac_cv_func_localtime_r=yes
43309 echo "$as_me: failed program was:" >&5
43310 sed 's/^/| /' conftest.$ac_ext >&5
43312 ac_cv_func_localtime_r=no
43315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43316 conftest$ac_exeext conftest.$ac_ext
43318 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
43319 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
43320 if test $ac_cv_func_localtime_r = yes; then
43321 cat >>confdefs.h <<\_ACEOF
43322 #define HAVE_LOCALTIME_R 1
43327 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
43328 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
43329 if test "${ac_cv_func_gmtime_r+set}" = set; then
43330 echo $ECHO_N "(cached) $ECHO_C" >&6
43332 cat >conftest.$ac_ext <<_ACEOF
43335 cat confdefs.h >>conftest.$ac_ext
43336 cat >>conftest.$ac_ext <<_ACEOF
43337 /* end confdefs.h. */
43338 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
43339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43340 #define gmtime_r innocuous_gmtime_r
43342 /* System header to define __stub macros and hopefully few prototypes,
43343 which can conflict with char gmtime_r (); below.
43344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43345 <limits.h> exists even on freestanding compilers. */
43348 # include <limits.h>
43350 # include <assert.h>
43355 /* Override any GCC internal prototype to avoid an error.
43356 Use char because int might match the return type of a GCC
43357 builtin and then its argument prototype would still apply. */
43362 /* The GNU C library defines this for functions which it implements
43363 to always fail with ENOSYS. Some functions are actually named
43364 something starting with __ and the normal name is an alias. */
43365 #if defined __stub_gmtime_r || defined __stub___gmtime_r
43372 return gmtime_r ();
43377 rm -f conftest.$ac_objext conftest$ac_exeext
43378 if { (ac_try="$ac_link"
43379 case "(($ac_try" in
43380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43381 *) ac_try_echo=$ac_try;;
43383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43384 (eval "$ac_link") 2>conftest.er1
43386 grep -v '^ *+' conftest.er1 >conftest.err
43388 cat conftest.err >&5
43389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43390 (exit $ac_status); } && {
43391 test -z "$ac_c_werror_flag" ||
43392 test ! -s conftest.err
43393 } && test -s conftest$ac_exeext &&
43394 $as_test_x conftest$ac_exeext; then
43395 ac_cv_func_gmtime_r=yes
43397 echo "$as_me: failed program was:" >&5
43398 sed 's/^/| /' conftest.$ac_ext >&5
43400 ac_cv_func_gmtime_r=no
43403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43404 conftest$ac_exeext conftest.$ac_ext
43406 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
43407 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
43408 if test $ac_cv_func_gmtime_r = yes; then
43409 cat >>confdefs.h <<\_ACEOF
43410 #define HAVE_GMTIME_R 1
43415 { echo "$as_me:$LINENO: checking for readdir_r" >&5
43416 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
43417 if test "${ac_cv_func_readdir_r+set}" = set; then
43418 echo $ECHO_N "(cached) $ECHO_C" >&6
43420 cat >conftest.$ac_ext <<_ACEOF
43423 cat confdefs.h >>conftest.$ac_ext
43424 cat >>conftest.$ac_ext <<_ACEOF
43425 /* end confdefs.h. */
43426 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
43427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43428 #define readdir_r innocuous_readdir_r
43430 /* System header to define __stub macros and hopefully few prototypes,
43431 which can conflict with char readdir_r (); below.
43432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43433 <limits.h> exists even on freestanding compilers. */
43436 # include <limits.h>
43438 # include <assert.h>
43443 /* Override any GCC internal prototype to avoid an error.
43444 Use char because int might match the return type of a GCC
43445 builtin and then its argument prototype would still apply. */
43450 /* The GNU C library defines this for functions which it implements
43451 to always fail with ENOSYS. Some functions are actually named
43452 something starting with __ and the normal name is an alias. */
43453 #if defined __stub_readdir_r || defined __stub___readdir_r
43460 return readdir_r ();
43465 rm -f conftest.$ac_objext conftest$ac_exeext
43466 if { (ac_try="$ac_link"
43467 case "(($ac_try" in
43468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43469 *) ac_try_echo=$ac_try;;
43471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43472 (eval "$ac_link") 2>conftest.er1
43474 grep -v '^ *+' conftest.er1 >conftest.err
43476 cat conftest.err >&5
43477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43478 (exit $ac_status); } && {
43479 test -z "$ac_c_werror_flag" ||
43480 test ! -s conftest.err
43481 } && test -s conftest$ac_exeext &&
43482 $as_test_x conftest$ac_exeext; then
43483 ac_cv_func_readdir_r=yes
43485 echo "$as_me: failed program was:" >&5
43486 sed 's/^/| /' conftest.$ac_ext >&5
43488 ac_cv_func_readdir_r=no
43491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43492 conftest$ac_exeext conftest.$ac_ext
43494 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
43495 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
43496 if test $ac_cv_func_readdir_r = yes; then
43497 cat >>confdefs.h <<\_ACEOF
43498 #define HAVE_READDIR_R 1
43507 ac_cpp='$CPP $CPPFLAGS'
43508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43512 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43513 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
43515 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
43516 echo $ECHO_N "(cached) $ECHO_C" >&6
43520 ################################################################
43522 ac_cv_func_which_gethostbyname_r=unknown
43525 # ONE ARGUMENT (sanity check)
43528 # This should fail, as there is no variant of gethostbyname_r() that takes
43529 # a single argument. If it actually compiles, then we can assume that
43530 # netdb.h is not declaring the function, and the compiler is thereby
43531 # assuming an implicit prototype. In which case, we're out of luck.
43533 cat >conftest.$ac_ext <<_ACEOF
43536 cat confdefs.h >>conftest.$ac_ext
43537 cat >>conftest.$ac_ext <<_ACEOF
43538 /* end confdefs.h. */
43544 char *name = "www.gnu.org";
43545 (void)gethostbyname_r(name) /* ; */
43551 rm -f conftest.$ac_objext
43552 if { (ac_try="$ac_compile"
43553 case "(($ac_try" in
43554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43555 *) ac_try_echo=$ac_try;;
43557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43558 (eval "$ac_compile") 2>conftest.er1
43560 grep -v '^ *+' conftest.er1 >conftest.err
43562 cat conftest.err >&5
43563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43564 (exit $ac_status); } && {
43565 test -z "$ac_c_werror_flag" ||
43566 test ! -s conftest.err
43567 } && test -s conftest.$ac_objext; then
43568 ac_cv_func_which_gethostbyname_r=no
43570 echo "$as_me: failed program was:" >&5
43571 sed 's/^/| /' conftest.$ac_ext >&5
43576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43583 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43585 cat >conftest.$ac_ext <<_ACEOF
43588 cat confdefs.h >>conftest.$ac_ext
43589 cat >>conftest.$ac_ext <<_ACEOF
43590 /* end confdefs.h. */
43596 char *name = "www.gnu.org";
43597 struct hostent ret, *retp;
43601 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43607 rm -f conftest.$ac_objext
43608 if { (ac_try="$ac_compile"
43609 case "(($ac_try" in
43610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43611 *) ac_try_echo=$ac_try;;
43613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43614 (eval "$ac_compile") 2>conftest.er1
43616 grep -v '^ *+' conftest.er1 >conftest.err
43618 cat conftest.err >&5
43619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43620 (exit $ac_status); } && {
43621 test -z "$ac_c_werror_flag" ||
43622 test ! -s conftest.err
43623 } && test -s conftest.$ac_objext; then
43624 ac_cv_func_which_gethostbyname_r=six
43626 echo "$as_me: failed program was:" >&5
43627 sed 's/^/| /' conftest.$ac_ext >&5
43632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43641 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43643 cat >conftest.$ac_ext <<_ACEOF
43646 cat confdefs.h >>conftest.$ac_ext
43647 cat >>conftest.$ac_ext <<_ACEOF
43648 /* end confdefs.h. */
43654 char *name = "www.gnu.org";
43655 struct hostent ret;
43659 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43665 rm -f conftest.$ac_objext
43666 if { (ac_try="$ac_compile"
43667 case "(($ac_try" in
43668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43669 *) ac_try_echo=$ac_try;;
43671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43672 (eval "$ac_compile") 2>conftest.er1
43674 grep -v '^ *+' conftest.er1 >conftest.err
43676 cat conftest.err >&5
43677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43678 (exit $ac_status); } && {
43679 test -z "$ac_c_werror_flag" ||
43680 test ! -s conftest.err
43681 } && test -s conftest.$ac_objext; then
43682 ac_cv_func_which_gethostbyname_r=five
43684 echo "$as_me: failed program was:" >&5
43685 sed 's/^/| /' conftest.$ac_ext >&5
43690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43696 # (e.g. AIX, HP-UX, Tru64)
43699 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43701 cat >conftest.$ac_ext <<_ACEOF
43704 cat confdefs.h >>conftest.$ac_ext
43705 cat >>conftest.$ac_ext <<_ACEOF
43706 /* end confdefs.h. */
43712 char *name = "www.gnu.org";
43713 struct hostent ret;
43714 struct hostent_data data;
43715 (void)gethostbyname_r(name, &ret, &data) /* ; */
43721 rm -f conftest.$ac_objext
43722 if { (ac_try="$ac_compile"
43723 case "(($ac_try" in
43724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43725 *) ac_try_echo=$ac_try;;
43727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43728 (eval "$ac_compile") 2>conftest.er1
43730 grep -v '^ *+' conftest.er1 >conftest.err
43732 cat conftest.err >&5
43733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43734 (exit $ac_status); } && {
43735 test -z "$ac_c_werror_flag" ||
43736 test ! -s conftest.err
43737 } && test -s conftest.$ac_objext; then
43738 ac_cv_func_which_gethostbyname_r=three
43740 echo "$as_me: failed program was:" >&5
43741 sed 's/^/| /' conftest.$ac_ext >&5
43746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43750 ################################################################
43755 case "$ac_cv_func_which_gethostbyname_r" in
43757 { echo "$as_me:$LINENO: result: three" >&5
43758 echo "${ECHO_T}three" >&6; }
43759 cat >>confdefs.h <<\_ACEOF
43760 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43766 { echo "$as_me:$LINENO: result: five" >&5
43767 echo "${ECHO_T}five" >&6; }
43768 cat >>confdefs.h <<\_ACEOF
43769 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43775 { echo "$as_me:$LINENO: result: six" >&5
43776 echo "${ECHO_T}six" >&6; }
43777 cat >>confdefs.h <<\_ACEOF
43778 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43784 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43785 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43789 { echo "$as_me:$LINENO: result: can't tell" >&5
43790 echo "${ECHO_T}can't tell" >&6; }
43794 { { echo "$as_me:$LINENO: error: internal error" >&5
43795 echo "$as_me: error: internal error" >&2;}
43796 { (exit 1); exit 1; }; }
43801 ac_cpp='$CPP $CPPFLAGS'
43802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43808 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43809 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43810 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43811 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43812 if test "${ac_cv_func_gethostbyname+set}" = set; then
43813 echo $ECHO_N "(cached) $ECHO_C" >&6
43815 cat >conftest.$ac_ext <<_ACEOF
43818 cat confdefs.h >>conftest.$ac_ext
43819 cat >>conftest.$ac_ext <<_ACEOF
43820 /* end confdefs.h. */
43821 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43823 #define gethostbyname innocuous_gethostbyname
43825 /* System header to define __stub macros and hopefully few prototypes,
43826 which can conflict with char gethostbyname (); below.
43827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43828 <limits.h> exists even on freestanding compilers. */
43831 # include <limits.h>
43833 # include <assert.h>
43836 #undef gethostbyname
43838 /* Override any GCC internal prototype to avoid an error.
43839 Use char because int might match the return type of a GCC
43840 builtin and then its argument prototype would still apply. */
43844 char gethostbyname ();
43845 /* The GNU C library defines this for functions which it implements
43846 to always fail with ENOSYS. Some functions are actually named
43847 something starting with __ and the normal name is an alias. */
43848 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43855 return gethostbyname ();
43860 rm -f conftest.$ac_objext conftest$ac_exeext
43861 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
43869 grep -v '^ *+' conftest.er1 >conftest.err
43871 cat conftest.err >&5
43872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43873 (exit $ac_status); } && {
43874 test -z "$ac_c_werror_flag" ||
43875 test ! -s conftest.err
43876 } && test -s conftest$ac_exeext &&
43877 $as_test_x conftest$ac_exeext; then
43878 ac_cv_func_gethostbyname=yes
43880 echo "$as_me: failed program was:" >&5
43881 sed 's/^/| /' conftest.$ac_ext >&5
43883 ac_cv_func_gethostbyname=no
43886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43887 conftest$ac_exeext conftest.$ac_ext
43889 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43890 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43891 if test $ac_cv_func_gethostbyname = yes; then
43892 cat >>confdefs.h <<\_ACEOF
43893 #define HAVE_GETHOSTBYNAME 1
43900 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43901 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43902 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43903 echo $ECHO_N "(cached) $ECHO_C" >&6
43907 ac_cpp='$CXXCPP $CPPFLAGS'
43908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43913 cat >conftest.$ac_ext <<_ACEOF
43916 cat confdefs.h >>conftest.$ac_ext
43917 cat >>conftest.$ac_ext <<_ACEOF
43918 /* end confdefs.h. */
43926 struct servent *se, *res;
43929 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43935 rm -f conftest.$ac_objext
43936 if { (ac_try="$ac_compile"
43937 case "(($ac_try" in
43938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43939 *) ac_try_echo=$ac_try;;
43941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43942 (eval "$ac_compile") 2>conftest.er1
43944 grep -v '^ *+' conftest.er1 >conftest.err
43946 cat conftest.err >&5
43947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43948 (exit $ac_status); } && {
43949 test -z "$ac_cxx_werror_flag" ||
43950 test ! -s conftest.err
43951 } && test -s conftest.$ac_objext; then
43952 ac_cv_func_which_getservbyname_r=six
43954 echo "$as_me: failed program was:" >&5
43955 sed 's/^/| /' conftest.$ac_ext >&5
43958 cat >conftest.$ac_ext <<_ACEOF
43961 cat confdefs.h >>conftest.$ac_ext
43962 cat >>conftest.$ac_ext <<_ACEOF
43963 /* end confdefs.h. */
43971 struct servent *se;
43974 (void) getservbyname_r(name, proto, se, buffer, buflen)
43980 rm -f conftest.$ac_objext
43981 if { (ac_try="$ac_compile"
43982 case "(($ac_try" in
43983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43984 *) ac_try_echo=$ac_try;;
43986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43987 (eval "$ac_compile") 2>conftest.er1
43989 grep -v '^ *+' conftest.er1 >conftest.err
43991 cat conftest.err >&5
43992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43993 (exit $ac_status); } && {
43994 test -z "$ac_cxx_werror_flag" ||
43995 test ! -s conftest.err
43996 } && test -s conftest.$ac_objext; then
43997 ac_cv_func_which_getservbyname_r=five
43999 echo "$as_me: failed program was:" >&5
44000 sed 's/^/| /' conftest.$ac_ext >&5
44003 cat >conftest.$ac_ext <<_ACEOF
44006 cat confdefs.h >>conftest.$ac_ext
44007 cat >>conftest.$ac_ext <<_ACEOF
44008 /* end confdefs.h. */
44016 struct servent *se;
44017 struct servent_data data;
44018 (void) getservbyname_r(name, proto, se, &data);
44024 rm -f conftest.$ac_objext
44025 if { (ac_try="$ac_compile"
44026 case "(($ac_try" in
44027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44028 *) ac_try_echo=$ac_try;;
44030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44031 (eval "$ac_compile") 2>conftest.er1
44033 grep -v '^ *+' conftest.er1 >conftest.err
44035 cat conftest.err >&5
44036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44037 (exit $ac_status); } && {
44038 test -z "$ac_cxx_werror_flag" ||
44039 test ! -s conftest.err
44040 } && test -s conftest.$ac_objext; then
44041 ac_cv_func_which_getservbyname_r=four
44043 echo "$as_me: failed program was:" >&5
44044 sed 's/^/| /' conftest.$ac_ext >&5
44046 ac_cv_func_which_getservbyname_r=no
44050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44062 ac_cpp='$CPP $CPPFLAGS'
44063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44070 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
44071 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
44073 if test $ac_cv_func_which_getservbyname_r = six; then
44074 cat >>confdefs.h <<\_ACEOF
44075 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
44078 elif test $ac_cv_func_which_getservbyname_r = five; then
44079 cat >>confdefs.h <<\_ACEOF
44080 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
44083 elif test $ac_cv_func_which_getservbyname_r = four; then
44084 cat >>confdefs.h <<\_ACEOF
44085 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
44091 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
44092 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
44094 for ac_func in getservbyname
44096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44097 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44099 if { as_var=$as_ac_var; eval "test \"\${$as_var+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 $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44110 #define $ac_func innocuous_$ac_func
44112 /* System header to define __stub macros and hopefully few prototypes,
44113 which can conflict with char $ac_func (); 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_$ac_func || defined __stub___$ac_func
44142 return $ac_func ();
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 test -z "$ac_c_werror_flag" ||
44162 test ! -s conftest.err
44163 } && test -s conftest$ac_exeext &&
44164 $as_test_x conftest$ac_exeext; then
44165 eval "$as_ac_var=yes"
44167 echo "$as_me: failed program was:" >&5
44168 sed 's/^/| /' conftest.$ac_ext >&5
44170 eval "$as_ac_var=no"
44173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44174 conftest$ac_exeext conftest.$ac_ext
44176 ac_res=`eval echo '${'$as_ac_var'}'`
44177 { echo "$as_me:$LINENO: result: $ac_res" >&5
44178 echo "${ECHO_T}$ac_res" >&6; }
44179 if test `eval echo '${'$as_ac_var'}'` = yes; then
44180 cat >>confdefs.h <<_ACEOF
44181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44183 cat >>confdefs.h <<\_ACEOF
44184 #define HAVE_GETSERVBYNAME 1
44192 if test "$wxUSE_THREADS" = "yes"; then
44193 cat >>confdefs.h <<\_ACEOF
44194 #define wxUSE_THREADS 1
44198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
44200 if test "$wx_cv_func_strtok_r" = "yes"; then
44201 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
44202 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
44203 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
44204 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
44205 { echo "$as_me:$LINENO: result: yes" >&5
44206 echo "${ECHO_T}yes" >&6; }
44208 { echo "$as_me:$LINENO: result: no" >&5
44209 echo "${ECHO_T}no" >&6; }
44214 if test "$WXGTK20" = 1 ; then
44215 cat >>confdefs.h <<_ACEOF
44216 #define __WXGTK20__ $WXGTK20
44222 if test "$WXGTK12" = 1 ; then
44223 cat >>confdefs.h <<_ACEOF
44224 #define __WXGTK12__ $WXGTK12
44229 if test "$WXGTK127" = 1 ; then
44230 cat >>confdefs.h <<_ACEOF
44231 #define __WXGTK127__ $WXGTK127
44236 if test "$WXGPE" = 1 ; then
44237 cat >>confdefs.h <<_ACEOF
44238 #define __WXGPE__ $WXGPE
44244 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
44249 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
44250 wxUSE_DEBUG_INFO=yes
44251 if test "$GCC" = yes; then
44252 DEBUG_CFLAGS="-ggdb"
44256 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
44257 cat >>confdefs.h <<\_ACEOF
44261 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
44263 if test "$wxUSE_GTK" = 1 ; then
44264 if test "x$wxGTK_VERSION" = "x1" ; then
44265 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
44270 if test "$wxUSE_MEM_TRACING" = "yes" ; then
44271 cat >>confdefs.h <<\_ACEOF
44272 #define wxUSE_MEMORY_TRACING 1
44275 cat >>confdefs.h <<\_ACEOF
44276 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
44279 cat >>confdefs.h <<\_ACEOF
44280 #define wxUSE_DEBUG_NEW_ALWAYS 1
44283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
44286 if test "$wxUSE_DMALLOC" = "yes" ; then
44287 DMALLOC_LIBS="-ldmallocthcxx"
44291 if test "$wxUSE_PROFILE" = "yes" ; then
44292 PROFILE_FLAGS=" -pg"
44295 if test "$GCC" = "yes" ; then
44296 if test "$wxUSE_NO_RTTI" = "yes" ; then
44297 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
44299 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44300 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
44302 if test "$wxUSE_PERMISSIVE" = "yes" ; then
44303 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
44308 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
44311 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
44317 if test "$wxUSE_OPTIMISE" = "no" ; then
44318 if test "$GCC" = yes ; then
44319 OPTIMISE_CFLAGS="-O0"
44322 if test "$GCC" = yes ; then
44324 *-pc-os2_emx | *-pc-os2-emx )
44325 OPTIMISE_CFLAGS="-O2"
44328 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
44332 OPTIMISE_CFLAGS="-O"
44337 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
44338 cat >>confdefs.h <<\_ACEOF
44339 #define WXWIN_COMPATIBILITY_2_6 1
44343 WXWIN_COMPATIBILITY_2_8="yes"
44346 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
44347 cat >>confdefs.h <<\_ACEOF
44348 #define WXWIN_COMPATIBILITY_2_8 1
44354 if test "$wxUSE_GUI" = "yes"; then
44355 cat >>confdefs.h <<\_ACEOF
44356 #define wxUSE_GUI 1
44363 if test "$wxUSE_UNIX" = "yes"; then
44364 cat >>confdefs.h <<\_ACEOF
44365 #define wxUSE_UNIX 1
44371 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
44375 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44376 if test "$USE_DARWIN" = 1; then
44378 elif test "$USE_DOS" = 1; then
44382 for ac_func in dlopen
44384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44385 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44387 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44388 echo $ECHO_N "(cached) $ECHO_C" >&6
44390 cat >conftest.$ac_ext <<_ACEOF
44393 cat confdefs.h >>conftest.$ac_ext
44394 cat >>conftest.$ac_ext <<_ACEOF
44395 /* end confdefs.h. */
44396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44398 #define $ac_func innocuous_$ac_func
44400 /* System header to define __stub macros and hopefully few prototypes,
44401 which can conflict with char $ac_func (); below.
44402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44403 <limits.h> exists even on freestanding compilers. */
44406 # include <limits.h>
44408 # include <assert.h>
44413 /* Override any GCC internal prototype to avoid an error.
44414 Use char because int might match the return type of a GCC
44415 builtin and then its argument prototype would still apply. */
44420 /* The GNU C library defines this for functions which it implements
44421 to always fail with ENOSYS. Some functions are actually named
44422 something starting with __ and the normal name is an alias. */
44423 #if defined __stub_$ac_func || defined __stub___$ac_func
44430 return $ac_func ();
44435 rm -f conftest.$ac_objext conftest$ac_exeext
44436 if { (ac_try="$ac_link"
44437 case "(($ac_try" in
44438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44439 *) ac_try_echo=$ac_try;;
44441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44442 (eval "$ac_link") 2>conftest.er1
44444 grep -v '^ *+' conftest.er1 >conftest.err
44446 cat conftest.err >&5
44447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44448 (exit $ac_status); } && {
44449 test -z "$ac_c_werror_flag" ||
44450 test ! -s conftest.err
44451 } && test -s conftest$ac_exeext &&
44452 $as_test_x conftest$ac_exeext; then
44453 eval "$as_ac_var=yes"
44455 echo "$as_me: failed program was:" >&5
44456 sed 's/^/| /' conftest.$ac_ext >&5
44458 eval "$as_ac_var=no"
44461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44462 conftest$ac_exeext conftest.$ac_ext
44464 ac_res=`eval echo '${'$as_ac_var'}'`
44465 { echo "$as_me:$LINENO: result: $ac_res" >&5
44466 echo "${ECHO_T}$ac_res" >&6; }
44467 if test `eval echo '${'$as_ac_var'}'` = yes; then
44468 cat >>confdefs.h <<_ACEOF
44469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44472 cat >>confdefs.h <<\_ACEOF
44473 #define HAVE_DLOPEN 1
44480 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
44481 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
44482 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
44483 echo $ECHO_N "(cached) $ECHO_C" >&6
44485 ac_check_lib_save_LIBS=$LIBS
44487 cat >conftest.$ac_ext <<_ACEOF
44490 cat confdefs.h >>conftest.$ac_ext
44491 cat >>conftest.$ac_ext <<_ACEOF
44492 /* end confdefs.h. */
44494 /* Override any GCC internal prototype to avoid an error.
44495 Use char because int might match the return type of a GCC
44496 builtin and then its argument prototype would still apply. */
44509 rm -f conftest.$ac_objext conftest$ac_exeext
44510 if { (ac_try="$ac_link"
44511 case "(($ac_try" in
44512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44513 *) ac_try_echo=$ac_try;;
44515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44516 (eval "$ac_link") 2>conftest.er1
44518 grep -v '^ *+' conftest.er1 >conftest.err
44520 cat conftest.err >&5
44521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44522 (exit $ac_status); } && {
44523 test -z "$ac_c_werror_flag" ||
44524 test ! -s conftest.err
44525 } && test -s conftest$ac_exeext &&
44526 $as_test_x conftest$ac_exeext; then
44527 ac_cv_lib_dl_dlopen=yes
44529 echo "$as_me: failed program was:" >&5
44530 sed 's/^/| /' conftest.$ac_ext >&5
44532 ac_cv_lib_dl_dlopen=no
44535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44536 conftest$ac_exeext conftest.$ac_ext
44537 LIBS=$ac_check_lib_save_LIBS
44539 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
44540 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
44541 if test $ac_cv_lib_dl_dlopen = yes; then
44543 cat >>confdefs.h <<\_ACEOF
44544 #define HAVE_DLOPEN 1
44548 DL_LINK=" -ldl$DL_LINK"
44553 for ac_func in shl_load
44555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44556 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44558 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44559 echo $ECHO_N "(cached) $ECHO_C" >&6
44561 cat >conftest.$ac_ext <<_ACEOF
44564 cat confdefs.h >>conftest.$ac_ext
44565 cat >>conftest.$ac_ext <<_ACEOF
44566 /* end confdefs.h. */
44567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44569 #define $ac_func innocuous_$ac_func
44571 /* System header to define __stub macros and hopefully few prototypes,
44572 which can conflict with char $ac_func (); below.
44573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44574 <limits.h> exists even on freestanding compilers. */
44577 # include <limits.h>
44579 # include <assert.h>
44584 /* Override any GCC internal prototype to avoid an error.
44585 Use char because int might match the return type of a GCC
44586 builtin and then its argument prototype would still apply. */
44591 /* The GNU C library defines this for functions which it implements
44592 to always fail with ENOSYS. Some functions are actually named
44593 something starting with __ and the normal name is an alias. */
44594 #if defined __stub_$ac_func || defined __stub___$ac_func
44601 return $ac_func ();
44606 rm -f conftest.$ac_objext conftest$ac_exeext
44607 if { (ac_try="$ac_link"
44608 case "(($ac_try" in
44609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44610 *) ac_try_echo=$ac_try;;
44612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44613 (eval "$ac_link") 2>conftest.er1
44615 grep -v '^ *+' conftest.er1 >conftest.err
44617 cat conftest.err >&5
44618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44619 (exit $ac_status); } && {
44620 test -z "$ac_c_werror_flag" ||
44621 test ! -s conftest.err
44622 } && test -s conftest$ac_exeext &&
44623 $as_test_x conftest$ac_exeext; then
44624 eval "$as_ac_var=yes"
44626 echo "$as_me: failed program was:" >&5
44627 sed 's/^/| /' conftest.$ac_ext >&5
44629 eval "$as_ac_var=no"
44632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44633 conftest$ac_exeext conftest.$ac_ext
44635 ac_res=`eval echo '${'$as_ac_var'}'`
44636 { echo "$as_me:$LINENO: result: $ac_res" >&5
44637 echo "${ECHO_T}$ac_res" >&6; }
44638 if test `eval echo '${'$as_ac_var'}'` = yes; then
44639 cat >>confdefs.h <<_ACEOF
44640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44643 cat >>confdefs.h <<\_ACEOF
44644 #define HAVE_SHL_LOAD 1
44651 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44652 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44653 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44654 echo $ECHO_N "(cached) $ECHO_C" >&6
44656 ac_check_lib_save_LIBS=$LIBS
44657 LIBS="-lshl_load $LIBS"
44658 cat >conftest.$ac_ext <<_ACEOF
44661 cat confdefs.h >>conftest.$ac_ext
44662 cat >>conftest.$ac_ext <<_ACEOF
44663 /* end confdefs.h. */
44665 /* Override any GCC internal prototype to avoid an error.
44666 Use char because int might match the return type of a GCC
44667 builtin and then its argument prototype would still apply. */
44680 rm -f conftest.$ac_objext conftest$ac_exeext
44681 if { (ac_try="$ac_link"
44682 case "(($ac_try" in
44683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44684 *) ac_try_echo=$ac_try;;
44686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44687 (eval "$ac_link") 2>conftest.er1
44689 grep -v '^ *+' conftest.er1 >conftest.err
44691 cat conftest.err >&5
44692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44693 (exit $ac_status); } && {
44694 test -z "$ac_c_werror_flag" ||
44695 test ! -s conftest.err
44696 } && test -s conftest$ac_exeext &&
44697 $as_test_x conftest$ac_exeext; then
44698 ac_cv_lib_shl_load_dld=yes
44700 echo "$as_me: failed program was:" >&5
44701 sed 's/^/| /' conftest.$ac_ext >&5
44703 ac_cv_lib_shl_load_dld=no
44706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44707 conftest$ac_exeext conftest.$ac_ext
44708 LIBS=$ac_check_lib_save_LIBS
44710 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44711 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44712 if test $ac_cv_lib_shl_load_dld = yes; then
44715 DL_LINK=" -ldld$DL_LINK"
44731 if test "$HAVE_DL_FUNCS" = 1; then
44733 for ac_func in dlerror
44735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44736 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44738 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44739 echo $ECHO_N "(cached) $ECHO_C" >&6
44741 cat >conftest.$ac_ext <<_ACEOF
44744 cat confdefs.h >>conftest.$ac_ext
44745 cat >>conftest.$ac_ext <<_ACEOF
44746 /* end confdefs.h. */
44747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44749 #define $ac_func innocuous_$ac_func
44751 /* System header to define __stub macros and hopefully few prototypes,
44752 which can conflict with char $ac_func (); below.
44753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44754 <limits.h> exists even on freestanding compilers. */
44757 # include <limits.h>
44759 # include <assert.h>
44764 /* Override any GCC internal prototype to avoid an error.
44765 Use char because int might match the return type of a GCC
44766 builtin and then its argument prototype would still apply. */
44771 /* The GNU C library defines this for functions which it implements
44772 to always fail with ENOSYS. Some functions are actually named
44773 something starting with __ and the normal name is an alias. */
44774 #if defined __stub_$ac_func || defined __stub___$ac_func
44781 return $ac_func ();
44786 rm -f conftest.$ac_objext conftest$ac_exeext
44787 if { (ac_try="$ac_link"
44788 case "(($ac_try" in
44789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44790 *) ac_try_echo=$ac_try;;
44792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44793 (eval "$ac_link") 2>conftest.er1
44795 grep -v '^ *+' conftest.er1 >conftest.err
44797 cat conftest.err >&5
44798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44799 (exit $ac_status); } && {
44800 test -z "$ac_c_werror_flag" ||
44801 test ! -s conftest.err
44802 } && test -s conftest$ac_exeext &&
44803 $as_test_x conftest$ac_exeext; then
44804 eval "$as_ac_var=yes"
44806 echo "$as_me: failed program was:" >&5
44807 sed 's/^/| /' conftest.$ac_ext >&5
44809 eval "$as_ac_var=no"
44812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44813 conftest$ac_exeext conftest.$ac_ext
44815 ac_res=`eval echo '${'$as_ac_var'}'`
44816 { echo "$as_me:$LINENO: result: $ac_res" >&5
44817 echo "${ECHO_T}$ac_res" >&6; }
44818 if test `eval echo '${'$as_ac_var'}'` = yes; then
44819 cat >>confdefs.h <<_ACEOF
44820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44822 cat >>confdefs.h <<\_ACEOF
44823 #define HAVE_DLERROR 1
44828 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44829 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44830 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44831 echo $ECHO_N "(cached) $ECHO_C" >&6
44833 ac_check_lib_save_LIBS=$LIBS
44835 cat >conftest.$ac_ext <<_ACEOF
44838 cat confdefs.h >>conftest.$ac_ext
44839 cat >>conftest.$ac_ext <<_ACEOF
44840 /* end confdefs.h. */
44842 /* Override any GCC internal prototype to avoid an error.
44843 Use char because int might match the return type of a GCC
44844 builtin and then its argument prototype would still apply. */
44857 rm -f conftest.$ac_objext conftest$ac_exeext
44858 if { (ac_try="$ac_link"
44859 case "(($ac_try" in
44860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44861 *) ac_try_echo=$ac_try;;
44863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44864 (eval "$ac_link") 2>conftest.er1
44866 grep -v '^ *+' conftest.er1 >conftest.err
44868 cat conftest.err >&5
44869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44870 (exit $ac_status); } && {
44871 test -z "$ac_c_werror_flag" ||
44872 test ! -s conftest.err
44873 } && test -s conftest$ac_exeext &&
44874 $as_test_x conftest$ac_exeext; then
44875 ac_cv_lib_dl_dlerror=yes
44877 echo "$as_me: failed program was:" >&5
44878 sed 's/^/| /' conftest.$ac_ext >&5
44880 ac_cv_lib_dl_dlerror=no
44883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44884 conftest$ac_exeext conftest.$ac_ext
44885 LIBS=$ac_check_lib_save_LIBS
44887 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44888 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44889 if test $ac_cv_lib_dl_dlerror = yes; then
44890 cat >>confdefs.h <<\_ACEOF
44891 #define HAVE_DLERROR 1
44904 if test "$HAVE_DL_FUNCS" = 0; then
44905 if test "$HAVE_SHL_FUNCS" = 0; then
44906 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44907 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44908 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44909 wxUSE_DYNAMIC_LOADER=no
44910 wxUSE_DYNLIB_CLASS=no
44912 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44913 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44920 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44921 cat >>confdefs.h <<\_ACEOF
44922 #define wxUSE_DYNAMIC_LOADER 1
44926 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44927 cat >>confdefs.h <<\_ACEOF
44928 #define wxUSE_DYNLIB_CLASS 1
44935 if test "$wxUSE_PLUGINS" = "yes" ; then
44936 if test "$wxUSE_SHARED" = "no" ; then
44937 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44938 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44941 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44942 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44943 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44946 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44947 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44948 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44951 if test "$wxUSE_PLUGINS" = "yes" ; then
44952 cat >>confdefs.h <<\_ACEOF
44953 #define wxUSE_PLUGINS 1
44960 if test "$wxUSE_STL" = "yes"; then
44961 cat >>confdefs.h <<\_ACEOF
44962 #define wxUSE_STL 1
44967 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44968 cat >>confdefs.h <<\_ACEOF
44969 #define wxUSE_EXTENDED_RTTI 1
44974 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44975 cat >>confdefs.h <<\_ACEOF
44976 #define wxUSE_APPLE_IEEE 1
44981 if test "$wxUSE_TIMER" = "yes"; then
44982 cat >>confdefs.h <<\_ACEOF
44983 #define wxUSE_TIMER 1
44988 if test "$USE_UNIX" = "1" ; then
44989 if test "$wxUSE_MGL" != 1; then
44990 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44991 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44992 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44993 echo $ECHO_N "(cached) $ECHO_C" >&6
44996 cat >conftest.$ac_ext <<_ACEOF
44999 cat confdefs.h >>conftest.$ac_ext
45000 cat >>conftest.$ac_ext <<_ACEOF
45001 /* end confdefs.h. */
45003 #include <sys/ioctl.h>
45004 #include <sys/soundcard.h>
45010 ioctl(0, SNDCTL_DSP_SPEED, 0);
45016 rm -f conftest.$ac_objext conftest$ac_exeext
45017 if { (ac_try="$ac_link"
45018 case "(($ac_try" in
45019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45020 *) ac_try_echo=$ac_try;;
45022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45023 (eval "$ac_link") 2>conftest.er1
45025 grep -v '^ *+' conftest.er1 >conftest.err
45027 cat conftest.err >&5
45028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45029 (exit $ac_status); } && {
45030 test -z "$ac_c_werror_flag" ||
45031 test ! -s conftest.err
45032 } && test -s conftest$ac_exeext &&
45033 $as_test_x conftest$ac_exeext; then
45034 ac_cv_header_sys_soundcard=yes
45036 echo "$as_me: failed program was:" >&5
45037 sed 's/^/| /' conftest.$ac_ext >&5
45041 LIBS="$saveLibs -lossaudio"
45042 cat >conftest.$ac_ext <<_ACEOF
45045 cat confdefs.h >>conftest.$ac_ext
45046 cat >>conftest.$ac_ext <<_ACEOF
45047 /* end confdefs.h. */
45049 #include <sys/ioctl.h>
45050 #include <sys/soundcard.h>
45056 ioctl(0, SNDCTL_DSP_SPEED, 0);
45062 rm -f conftest.$ac_objext conftest$ac_exeext
45063 if { (ac_try="$ac_link"
45064 case "(($ac_try" in
45065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45066 *) ac_try_echo=$ac_try;;
45068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45069 (eval "$ac_link") 2>conftest.er1
45071 grep -v '^ *+' conftest.er1 >conftest.err
45073 cat conftest.err >&5
45074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45075 (exit $ac_status); } && {
45076 test -z "$ac_c_werror_flag" ||
45077 test ! -s conftest.err
45078 } && test -s conftest$ac_exeext &&
45079 $as_test_x conftest$ac_exeext; then
45080 ac_cv_header_sys_soundcard=yes
45082 echo "$as_me: failed program was:" >&5
45083 sed 's/^/| /' conftest.$ac_ext >&5
45087 ac_cv_header_sys_soundcard=no
45092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45093 conftest$ac_exeext conftest.$ac_ext
45098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45099 conftest$ac_exeext conftest.$ac_ext
45102 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
45103 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
45106 if test "$ac_cv_header_sys_soundcard" = "yes"; then
45107 cat >>confdefs.h <<\_ACEOF
45108 #define HAVE_SYS_SOUNDCARD_H 1
45115 if test "$wxUSE_SOUND" = "yes"; then
45116 if test "$USE_UNIX" = "1" ; then
45117 if test "$wxUSE_LIBSDL" != "no"; then
45119 # Check whether --with-sdl-prefix was given.
45120 if test "${with_sdl_prefix+set}" = set; then
45121 withval=$with_sdl_prefix; sdl_prefix="$withval"
45127 # Check whether --with-sdl-exec-prefix was given.
45128 if test "${with_sdl_exec_prefix+set}" = set; then
45129 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
45134 # Check whether --enable-sdltest was given.
45135 if test "${enable_sdltest+set}" = set; then
45136 enableval=$enable_sdltest;
45142 if test x$sdl_exec_prefix != x ; then
45143 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
45144 if test x${SDL_CONFIG+set} != xset ; then
45145 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
45148 if test x$sdl_prefix != x ; then
45149 sdl_args="$sdl_args --prefix=$sdl_prefix"
45150 if test x${SDL_CONFIG+set} != xset ; then
45151 SDL_CONFIG=$sdl_prefix/bin/sdl-config
45155 if test "x$prefix" != xNONE; then
45156 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
45158 # Extract the first word of "sdl-config", so it can be a program name with args.
45159 set dummy sdl-config; ac_word=$2
45160 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45162 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
45163 echo $ECHO_N "(cached) $ECHO_C" >&6
45165 case $SDL_CONFIG in
45167 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
45170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45171 for as_dir in $PATH
45174 test -z "$as_dir" && as_dir=.
45175 for ac_exec_ext in '' $ac_executable_extensions; do
45176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45177 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45185 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
45189 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
45190 if test -n "$SDL_CONFIG"; then
45191 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
45192 echo "${ECHO_T}$SDL_CONFIG" >&6; }
45194 { echo "$as_me:$LINENO: result: no" >&5
45195 echo "${ECHO_T}no" >&6; }
45199 min_sdl_version=1.2.0
45200 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
45201 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
45203 if test "$SDL_CONFIG" = "no" ; then
45206 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
45207 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
45209 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
45210 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
45211 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
45212 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
45213 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
45214 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
45215 if test "x$enable_sdltest" = "xyes" ; then
45216 ac_save_CFLAGS="$CFLAGS"
45217 ac_save_CXXFLAGS="$CXXFLAGS"
45218 ac_save_LIBS="$LIBS"
45219 CFLAGS="$CFLAGS $SDL_CFLAGS"
45220 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
45221 LIBS="$LIBS $SDL_LIBS"
45223 if test "$cross_compiling" = yes; then
45224 echo $ac_n "cross compiling; assumed OK... $ac_c"
45226 cat >conftest.$ac_ext <<_ACEOF
45229 cat confdefs.h >>conftest.$ac_ext
45230 cat >>conftest.$ac_ext <<_ACEOF
45231 /* end confdefs.h. */
45234 #include <stdlib.h>
45235 #include <string.h>
45239 my_strdup (char *str)
45245 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
45246 strcpy (new_str, str);
45254 int main (int argc, char *argv[])
45256 int major, minor, micro;
45259 /* This hangs on some systems (?)
45260 system ("touch conf.sdltest");
45262 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
45264 /* HP/UX 9 (%@#!) writes to sscanf strings */
45265 tmp_version = my_strdup("$min_sdl_version");
45266 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
45267 printf("%s, bad version string\n", "$min_sdl_version");
45271 if (($sdl_major_version > major) ||
45272 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
45273 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
45279 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
45280 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
45281 printf("*** best to upgrade to the required version.\n");
45282 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
45283 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
45284 printf("*** config.cache before re-running configure\n");
45291 rm -f conftest$ac_exeext
45292 if { (ac_try="$ac_link"
45293 case "(($ac_try" in
45294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45295 *) ac_try_echo=$ac_try;;
45297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45298 (eval "$ac_link") 2>&5
45300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45301 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
45302 { (case "(($ac_try" in
45303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45304 *) ac_try_echo=$ac_try;;
45306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45307 (eval "$ac_try") 2>&5
45309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45310 (exit $ac_status); }; }; then
45313 echo "$as_me: program exited with status $ac_status" >&5
45314 echo "$as_me: failed program was:" >&5
45315 sed 's/^/| /' conftest.$ac_ext >&5
45317 ( exit $ac_status )
45320 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45324 CFLAGS="$ac_save_CFLAGS"
45325 CXXFLAGS="$ac_save_CXXFLAGS"
45326 LIBS="$ac_save_LIBS"
45329 if test "x$no_sdl" = x ; then
45330 { echo "$as_me:$LINENO: result: yes" >&5
45331 echo "${ECHO_T}yes" >&6; }
45333 EXTRALIBS_SDL="$SDL_LIBS"
45334 CFLAGS="$SDL_CFLAGS $CFLAGS"
45335 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
45336 cat >>confdefs.h <<\_ACEOF
45337 #define wxUSE_LIBSDL 1
45342 { echo "$as_me:$LINENO: result: no" >&5
45343 echo "${ECHO_T}no" >&6; }
45344 if test "$SDL_CONFIG" = "no" ; then
45345 echo "*** The sdl-config script installed by SDL could not be found"
45346 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
45347 echo "*** your path, or set the SDL_CONFIG environment variable to the"
45348 echo "*** full path to sdl-config."
45350 if test -f conf.sdltest ; then
45353 echo "*** Could not run SDL test program, checking why..."
45354 CFLAGS="$CFLAGS $SDL_CFLAGS"
45355 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
45356 LIBS="$LIBS $SDL_LIBS"
45357 cat >conftest.$ac_ext <<_ACEOF
45360 cat confdefs.h >>conftest.$ac_ext
45361 cat >>conftest.$ac_ext <<_ACEOF
45362 /* end confdefs.h. */
45367 int main(int argc, char *argv[])
45370 #define main K_and_R_C_main
45380 rm -f conftest.$ac_objext conftest$ac_exeext
45381 if { (ac_try="$ac_link"
45382 case "(($ac_try" in
45383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45384 *) ac_try_echo=$ac_try;;
45386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45387 (eval "$ac_link") 2>conftest.er1
45389 grep -v '^ *+' conftest.er1 >conftest.err
45391 cat conftest.err >&5
45392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45393 (exit $ac_status); } && {
45394 test -z "$ac_c_werror_flag" ||
45395 test ! -s conftest.err
45396 } && test -s conftest$ac_exeext &&
45397 $as_test_x conftest$ac_exeext; then
45398 echo "*** The test program compiled, but did not run. This usually means"
45399 echo "*** that the run-time linker is not finding SDL or finding the wrong"
45400 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
45401 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
45402 echo "*** to the installed location Also, make sure you have run ldconfig if that"
45403 echo "*** is required on your system"
45405 echo "*** If you have an old version installed, it is best to remove it, although"
45406 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
45408 echo "$as_me: failed program was:" >&5
45409 sed 's/^/| /' conftest.$ac_ext >&5
45411 echo "*** The test program failed to compile or link. See the file config.log for the"
45412 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
45413 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
45414 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
45417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45418 conftest$ac_exeext conftest.$ac_ext
45419 CFLAGS="$ac_save_CFLAGS"
45420 CXXFLAGS="$ac_save_CXXFLAGS"
45421 LIBS="$ac_save_LIBS"
45432 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
45437 if test "$wxUSE_MGL" = 1; then
45438 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
45439 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
45445 if test "$wxUSE_SOUND" = "yes"; then
45446 cat >>confdefs.h <<\_ACEOF
45447 #define wxUSE_SOUND 1
45450 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
45453 if test "$WXGTK20" = 1; then
45456 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
45457 if test -n "$ac_tool_prefix"; then
45458 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
45459 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
45460 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45462 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45463 echo $ECHO_N "(cached) $ECHO_C" >&6
45465 case $PKG_CONFIG in
45467 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45471 for as_dir in $PATH
45474 test -z "$as_dir" && as_dir=.
45475 for ac_exec_ext in '' $ac_executable_extensions; do
45476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45477 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45488 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45489 if test -n "$PKG_CONFIG"; then
45490 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45491 echo "${ECHO_T}$PKG_CONFIG" >&6; }
45493 { echo "$as_me:$LINENO: result: no" >&5
45494 echo "${ECHO_T}no" >&6; }
45499 if test -z "$ac_cv_path_PKG_CONFIG"; then
45500 ac_pt_PKG_CONFIG=$PKG_CONFIG
45501 # Extract the first word of "pkg-config", so it can be a program name with args.
45502 set dummy pkg-config; ac_word=$2
45503 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45505 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
45506 echo $ECHO_N "(cached) $ECHO_C" >&6
45508 case $ac_pt_PKG_CONFIG in
45510 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45514 for as_dir in $PATH
45517 test -z "$as_dir" && as_dir=.
45518 for ac_exec_ext in '' $ac_executable_extensions; do
45519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45520 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45531 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
45532 if test -n "$ac_pt_PKG_CONFIG"; then
45533 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
45534 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
45536 { echo "$as_me:$LINENO: result: no" >&5
45537 echo "${ECHO_T}no" >&6; }
45540 if test "x$ac_pt_PKG_CONFIG" = x; then
45543 case $cross_compiling:$ac_tool_warned in
45545 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45546 whose name does not start with the host triplet. If you think this
45547 configuration is useful to you, please write to autoconf@gnu.org." >&5
45548 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45549 whose name does not start with the host triplet. If you think this
45550 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45551 ac_tool_warned=yes ;;
45553 PKG_CONFIG=$ac_pt_PKG_CONFIG
45556 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
45560 if test -n "$PKG_CONFIG"; then
45561 _pkg_min_version=0.9.0
45562 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
45563 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
45564 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45565 { echo "$as_me:$LINENO: result: yes" >&5
45566 echo "${ECHO_T}yes" >&6; }
45568 { echo "$as_me:$LINENO: result: no" >&5
45569 echo "${ECHO_T}no" >&6; }
45575 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45576 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45580 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45581 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45583 if test -n "$PKG_CONFIG"; then
45584 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45585 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45587 if test -n "$PKG_CONFIG" && \
45588 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45589 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45592 (exit $ac_status); }; then
45593 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45601 if test -n "$PKG_CONFIG"; then
45602 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45603 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45605 if test -n "$PKG_CONFIG" && \
45606 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45607 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45610 (exit $ac_status); }; then
45611 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45622 if test $pkg_failed = yes; then
45624 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45625 _pkg_short_errors_supported=yes
45627 _pkg_short_errors_supported=no
45629 if test $_pkg_short_errors_supported = yes; then
45630 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45632 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45634 # Put the nasty error message in config.log where it belongs
45635 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45638 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45639 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45640 wxUSE_LIBGNOMEPRINT="no"
45643 elif test $pkg_failed = untried; then
45645 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45646 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45647 wxUSE_LIBGNOMEPRINT="no"
45651 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45652 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45653 { echo "$as_me:$LINENO: result: yes" >&5
45654 echo "${ECHO_T}yes" >&6; }
45656 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45657 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45658 cat >>confdefs.h <<\_ACEOF
45659 #define wxUSE_LIBGNOMEPRINT 1
45667 if test "$wxUSE_MIMETYPE" = "yes" ; then
45668 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45672 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45673 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45675 if test -n "$PKG_CONFIG"; then
45676 if test -n "$GNOMEVFS_CFLAGS"; then
45677 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45679 if test -n "$PKG_CONFIG" && \
45680 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45681 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45684 (exit $ac_status); }; then
45685 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45693 if test -n "$PKG_CONFIG"; then
45694 if test -n "$GNOMEVFS_LIBS"; then
45695 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45697 if test -n "$PKG_CONFIG" && \
45698 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45699 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45702 (exit $ac_status); }; then
45703 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45714 if test $pkg_failed = yes; then
45716 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45717 _pkg_short_errors_supported=yes
45719 _pkg_short_errors_supported=no
45721 if test $_pkg_short_errors_supported = yes; then
45722 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45724 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45726 # Put the nasty error message in config.log where it belongs
45727 echo "$GNOMEVFS_PKG_ERRORS" >&5
45730 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45731 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45732 wxUSE_LIBGNOMEVFS="no"
45735 elif test $pkg_failed = untried; then
45737 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45738 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45739 wxUSE_LIBGNOMEVFS="no"
45743 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45744 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45745 { echo "$as_me:$LINENO: result: yes" >&5
45746 echo "${ECHO_T}yes" >&6; }
45748 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45749 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45750 cat >>confdefs.h <<\_ACEOF
45751 #define wxUSE_LIBGNOMEVFS 1
45759 if test "$wxUSE_LIBHILDON" = "yes" ; then
45762 { echo "$as_me:$LINENO: checking for HILDON" >&5
45763 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45765 if test -n "$PKG_CONFIG"; then
45766 if test -n "$HILDON_CFLAGS"; then
45767 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45769 if test -n "$PKG_CONFIG" && \
45770 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45771 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45774 (exit $ac_status); }; then
45775 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45783 if test -n "$PKG_CONFIG"; then
45784 if test -n "$HILDON_LIBS"; then
45785 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45787 if test -n "$PKG_CONFIG" && \
45788 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45789 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45792 (exit $ac_status); }; then
45793 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45804 if test $pkg_failed = yes; then
45806 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45807 _pkg_short_errors_supported=yes
45809 _pkg_short_errors_supported=no
45811 if test $_pkg_short_errors_supported = yes; then
45812 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45814 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45816 # Put the nasty error message in config.log where it belongs
45817 echo "$HILDON_PKG_ERRORS" >&5
45820 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45821 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45822 wxUSE_LIBHILDON="no"
45825 elif test $pkg_failed = untried; then
45827 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45828 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45829 wxUSE_LIBHILDON="no"
45833 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45834 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45835 { echo "$as_me:$LINENO: result: yes" >&5
45836 echo "${ECHO_T}yes" >&6; }
45838 EXTRALIBS_HILDON="$HILDON_LIBS"
45839 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45840 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45841 cat >>confdefs.h <<\_ACEOF
45842 #define wxUSE_LIBHILDON 1
45850 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45851 cat >>confdefs.h <<\_ACEOF
45852 #define wxUSE_CMDLINE_PARSER 1
45857 if test "$wxUSE_STOPWATCH" = "yes"; then
45858 cat >>confdefs.h <<\_ACEOF
45859 #define wxUSE_STOPWATCH 1
45864 if test "$wxUSE_DATETIME" = "yes"; then
45865 cat >>confdefs.h <<\_ACEOF
45866 #define wxUSE_DATETIME 1
45871 if test "$wxUSE_FILE" = "yes"; then
45872 cat >>confdefs.h <<\_ACEOF
45873 #define wxUSE_FILE 1
45878 if test "$wxUSE_FFILE" = "yes"; then
45879 cat >>confdefs.h <<\_ACEOF
45880 #define wxUSE_FFILE 1
45885 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45886 if test "$wxUSE_STREAMS" != yes; then
45887 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45888 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45889 wxUSE_ARCHIVE_STREAMS=no
45891 cat >>confdefs.h <<\_ACEOF
45892 #define wxUSE_ARCHIVE_STREAMS 1
45898 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45899 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45900 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45901 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45902 elif test "$wxUSE_ZLIB" = "no"; then
45903 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45904 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45906 cat >>confdefs.h <<\_ACEOF
45907 #define wxUSE_ZIPSTREAM 1
45913 if test "$wxUSE_TARSTREAM" = "yes"; then
45914 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45915 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45916 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45918 cat >>confdefs.h <<\_ACEOF
45919 #define wxUSE_TARSTREAM 1
45925 if test "$wxUSE_FILESYSTEM" = "yes"; then
45926 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45927 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45928 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45929 wxUSE_FILESYSTEM=no
45931 cat >>confdefs.h <<\_ACEOF
45932 #define wxUSE_FILESYSTEM 1
45938 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45939 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45940 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45941 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45943 cat >>confdefs.h <<\_ACEOF
45944 #define wxUSE_FS_ARCHIVE 1
45950 if test "$wxUSE_FS_ZIP" = "yes"; then
45951 if test "$wxUSE_FS_ARCHIVE" != yes; then
45952 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45953 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45955 cat >>confdefs.h <<\_ACEOF
45956 #define wxUSE_FS_ZIP 1
45962 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45963 if test "$USE_UNIX" != 1; then
45964 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45965 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45966 wxUSE_ON_FATAL_EXCEPTION=no
45968 cat >>confdefs.h <<\_ACEOF
45969 #define wxUSE_ON_FATAL_EXCEPTION 1
45975 if test "$wxUSE_STACKWALKER" = "yes"; then
45976 cat >>confdefs.h <<\_ACEOF
45977 #define wxUSE_STACKWALKER 1
45982 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45983 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45984 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45985 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45986 wxUSE_DEBUGREPORT=no
45988 cat >>confdefs.h <<\_ACEOF
45989 #define wxUSE_DEBUGREPORT 1
45992 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45993 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45998 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45999 cat >>confdefs.h <<\_ACEOF
46000 #define wxUSE_SNGLINST_CHECKER 1
46005 if test "$wxUSE_BUSYINFO" = "yes"; then
46006 cat >>confdefs.h <<\_ACEOF
46007 #define wxUSE_BUSYINFO 1
46012 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
46013 cat >>confdefs.h <<\_ACEOF
46014 #define wxUSE_STD_IOSTREAM 1
46019 if test "$wxUSE_STD_STRING" = "yes"; then
46020 cat >>confdefs.h <<\_ACEOF
46021 #define wxUSE_STD_STRING 1
46026 if test "$wxUSE_STDPATHS" = "yes"; then
46027 cat >>confdefs.h <<\_ACEOF
46028 #define wxUSE_STDPATHS 1
46033 if test "$wxUSE_TEXTBUFFER" = "yes"; then
46034 cat >>confdefs.h <<\_ACEOF
46035 #define wxUSE_TEXTBUFFER 1
46040 if test "$wxUSE_TEXTFILE" = "yes"; then
46041 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
46042 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
46043 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
46045 cat >>confdefs.h <<\_ACEOF
46046 #define wxUSE_TEXTFILE 1
46052 if test "$wxUSE_CONFIG" = "yes" ; then
46053 if test "$wxUSE_TEXTFILE" != "yes"; then
46054 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
46055 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
46057 cat >>confdefs.h <<\_ACEOF
46058 #define wxUSE_CONFIG 1
46061 cat >>confdefs.h <<\_ACEOF
46062 #define wxUSE_CONFIG_NATIVE 1
46065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
46069 if test "$wxUSE_INTL" = "yes" ; then
46070 if test "$wxUSE_FILE" != "yes"; then
46071 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
46072 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
46074 cat >>confdefs.h <<\_ACEOF
46075 #define wxUSE_INTL 1
46078 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
46079 GUIDIST="$GUIDIST INTL_DIST"
46083 if test "$wxUSE_LOG" = "yes"; then
46084 cat >>confdefs.h <<\_ACEOF
46085 #define wxUSE_LOG 1
46089 if test "$wxUSE_LOGGUI" = "yes"; then
46090 cat >>confdefs.h <<\_ACEOF
46091 #define wxUSE_LOGGUI 1
46096 if test "$wxUSE_LOGWINDOW" = "yes"; then
46097 cat >>confdefs.h <<\_ACEOF
46098 #define wxUSE_LOGWINDOW 1
46103 if test "$wxUSE_LOGDIALOG" = "yes"; then
46104 cat >>confdefs.h <<\_ACEOF
46105 #define wxUSE_LOG_DIALOG 1
46110 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
46113 if test "$wxUSE_LONGLONG" = "yes"; then
46114 cat >>confdefs.h <<\_ACEOF
46115 #define wxUSE_LONGLONG 1
46120 if test "$wxUSE_GEOMETRY" = "yes"; then
46121 cat >>confdefs.h <<\_ACEOF
46122 #define wxUSE_GEOMETRY 1
46127 if test "$wxUSE_BASE64" = "yes"; then
46128 cat >>confdefs.h <<\_ACEOF
46129 #define wxUSE_BASE64 1
46134 if test "$wxUSE_STREAMS" = "yes" ; then
46135 cat >>confdefs.h <<\_ACEOF
46136 #define wxUSE_STREAMS 1
46141 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
46142 cat >>confdefs.h <<\_ACEOF
46143 #define wxUSE_PRINTF_POS_PARAMS 1
46148 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
46149 cat >>confdefs.h <<\_ACEOF
46150 #define wxUSE_OBJC_UNIQUIFYING 1
46156 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
46157 cat >>confdefs.h <<\_ACEOF
46158 #define wxUSE_CONSOLE_EVENTLOOP 1
46162 if test "$wxUSE_UNIX" = "yes"; then
46163 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
46164 cat >>confdefs.h <<\_ACEOF
46165 #define wxUSE_SELECT_DISPATCHER 1
46170 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
46172 for ac_header in sys/epoll.h
46174 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46175 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46176 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46178 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46179 echo $ECHO_N "(cached) $ECHO_C" >&6
46181 ac_res=`eval echo '${'$as_ac_Header'}'`
46182 { echo "$as_me:$LINENO: result: $ac_res" >&5
46183 echo "${ECHO_T}$ac_res" >&6; }
46185 # Is the header compilable?
46186 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
46187 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
46188 cat >conftest.$ac_ext <<_ACEOF
46191 cat confdefs.h >>conftest.$ac_ext
46192 cat >>conftest.$ac_ext <<_ACEOF
46193 /* end confdefs.h. */
46194 $ac_includes_default
46195 #include <$ac_header>
46197 rm -f conftest.$ac_objext
46198 if { (ac_try="$ac_compile"
46199 case "(($ac_try" in
46200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46201 *) ac_try_echo=$ac_try;;
46203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46204 (eval "$ac_compile") 2>conftest.er1
46206 grep -v '^ *+' conftest.er1 >conftest.err
46208 cat conftest.err >&5
46209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46210 (exit $ac_status); } && {
46211 test -z "$ac_c_werror_flag" ||
46212 test ! -s conftest.err
46213 } && test -s conftest.$ac_objext; then
46214 ac_header_compiler=yes
46216 echo "$as_me: failed program was:" >&5
46217 sed 's/^/| /' conftest.$ac_ext >&5
46219 ac_header_compiler=no
46222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46223 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46224 echo "${ECHO_T}$ac_header_compiler" >&6; }
46226 # Is the header present?
46227 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
46228 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
46229 cat >conftest.$ac_ext <<_ACEOF
46232 cat confdefs.h >>conftest.$ac_ext
46233 cat >>conftest.$ac_ext <<_ACEOF
46234 /* end confdefs.h. */
46235 #include <$ac_header>
46237 if { (ac_try="$ac_cpp conftest.$ac_ext"
46238 case "(($ac_try" in
46239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46240 *) ac_try_echo=$ac_try;;
46242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46243 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
46245 grep -v '^ *+' conftest.er1 >conftest.err
46247 cat conftest.err >&5
46248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46249 (exit $ac_status); } >/dev/null && {
46250 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
46251 test ! -s conftest.err
46253 ac_header_preproc=yes
46255 echo "$as_me: failed program was:" >&5
46256 sed 's/^/| /' conftest.$ac_ext >&5
46258 ac_header_preproc=no
46261 rm -f conftest.err conftest.$ac_ext
46262 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46263 echo "${ECHO_T}$ac_header_preproc" >&6; }
46265 # So? What about this header?
46266 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
46268 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46269 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
46271 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
46272 ac_header_preproc=yes
46275 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46276 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46277 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46278 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46279 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
46280 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
46281 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
46282 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
46283 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46284 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46285 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
46286 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
46288 ## ----------------------------------------- ##
46289 ## Report this to wx-dev@lists.wxwidgets.org ##
46290 ## ----------------------------------------- ##
46292 ) | sed "s/^/$as_me: WARNING: /" >&2
46295 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46297 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46298 echo $ECHO_N "(cached) $ECHO_C" >&6
46300 eval "$as_ac_Header=\$ac_header_preproc"
46302 ac_res=`eval echo '${'$as_ac_Header'}'`
46303 { echo "$as_me:$LINENO: result: $ac_res" >&5
46304 echo "${ECHO_T}$ac_res" >&6; }
46307 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46308 cat >>confdefs.h <<_ACEOF
46309 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46316 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
46317 cat >>confdefs.h <<\_ACEOF
46318 #define wxUSE_EPOLL_DISPATCHER 1
46322 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
46323 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
46332 for ac_func in gettimeofday ftime
46334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46335 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46337 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46338 echo $ECHO_N "(cached) $ECHO_C" >&6
46340 cat >conftest.$ac_ext <<_ACEOF
46343 cat confdefs.h >>conftest.$ac_ext
46344 cat >>conftest.$ac_ext <<_ACEOF
46345 /* end confdefs.h. */
46346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46348 #define $ac_func innocuous_$ac_func
46350 /* System header to define __stub macros and hopefully few prototypes,
46351 which can conflict with char $ac_func (); below.
46352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46353 <limits.h> exists even on freestanding compilers. */
46356 # include <limits.h>
46358 # include <assert.h>
46363 /* Override any GCC internal prototype to avoid an error.
46364 Use char because int might match the return type of a GCC
46365 builtin and then its argument prototype would still apply. */
46370 /* The GNU C library defines this for functions which it implements
46371 to always fail with ENOSYS. Some functions are actually named
46372 something starting with __ and the normal name is an alias. */
46373 #if defined __stub_$ac_func || defined __stub___$ac_func
46380 return $ac_func ();
46385 rm -f conftest.$ac_objext conftest$ac_exeext
46386 if { (ac_try="$ac_link"
46387 case "(($ac_try" in
46388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46389 *) ac_try_echo=$ac_try;;
46391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46392 (eval "$ac_link") 2>conftest.er1
46394 grep -v '^ *+' conftest.er1 >conftest.err
46396 cat conftest.err >&5
46397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46398 (exit $ac_status); } && {
46399 test -z "$ac_c_werror_flag" ||
46400 test ! -s conftest.err
46401 } && test -s conftest$ac_exeext &&
46402 $as_test_x conftest$ac_exeext; then
46403 eval "$as_ac_var=yes"
46405 echo "$as_me: failed program was:" >&5
46406 sed 's/^/| /' conftest.$ac_ext >&5
46408 eval "$as_ac_var=no"
46411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46412 conftest$ac_exeext conftest.$ac_ext
46414 ac_res=`eval echo '${'$as_ac_var'}'`
46415 { echo "$as_me:$LINENO: result: $ac_res" >&5
46416 echo "${ECHO_T}$ac_res" >&6; }
46417 if test `eval echo '${'$as_ac_var'}'` = yes; then
46418 cat >>confdefs.h <<_ACEOF
46419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46426 if test "$ac_cv_func_gettimeofday" = "yes"; then
46427 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46428 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
46429 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46430 echo $ECHO_N "(cached) $ECHO_C" >&6
46433 cat >conftest.$ac_ext <<_ACEOF
46436 cat confdefs.h >>conftest.$ac_ext
46437 cat >>conftest.$ac_ext <<_ACEOF
46438 /* end confdefs.h. */
46440 #include <sys/time.h>
46441 #include <unistd.h>
46448 gettimeofday(&tv, NULL);
46454 rm -f conftest.$ac_objext
46455 if { (ac_try="$ac_compile"
46456 case "(($ac_try" in
46457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46458 *) ac_try_echo=$ac_try;;
46460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46461 (eval "$ac_compile") 2>conftest.er1
46463 grep -v '^ *+' conftest.er1 >conftest.err
46465 cat conftest.err >&5
46466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46467 (exit $ac_status); } && {
46468 test -z "$ac_c_werror_flag" ||
46469 test ! -s conftest.err
46470 } && test -s conftest.$ac_objext; then
46471 wx_cv_func_gettimeofday_has_2_args=yes
46473 echo "$as_me: failed program was:" >&5
46474 sed 's/^/| /' conftest.$ac_ext >&5
46476 cat >conftest.$ac_ext <<_ACEOF
46479 cat confdefs.h >>conftest.$ac_ext
46480 cat >>conftest.$ac_ext <<_ACEOF
46481 /* end confdefs.h. */
46483 #include <sys/time.h>
46484 #include <unistd.h>
46497 rm -f conftest.$ac_objext
46498 if { (ac_try="$ac_compile"
46499 case "(($ac_try" in
46500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46501 *) ac_try_echo=$ac_try;;
46503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46504 (eval "$ac_compile") 2>conftest.er1
46506 grep -v '^ *+' conftest.er1 >conftest.err
46508 cat conftest.err >&5
46509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46510 (exit $ac_status); } && {
46511 test -z "$ac_c_werror_flag" ||
46512 test ! -s conftest.err
46513 } && test -s conftest.$ac_objext; then
46514 wx_cv_func_gettimeofday_has_2_args=no
46516 echo "$as_me: failed program was:" >&5
46517 sed 's/^/| /' conftest.$ac_ext >&5
46520 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46521 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46522 wx_cv_func_gettimeofday_has_2_args=unknown
46527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46534 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46535 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46537 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46538 cat >>confdefs.h <<\_ACEOF
46539 #define WX_GETTIMEOFDAY_NO_TZ 1
46545 if test "$wxUSE_DATETIME" = "yes"; then
46546 { echo "$as_me:$LINENO: checking for strptime" >&5
46547 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
46548 if test "${ac_cv_func_strptime+set}" = set; then
46549 echo $ECHO_N "(cached) $ECHO_C" >&6
46551 cat >conftest.$ac_ext <<_ACEOF
46554 cat confdefs.h >>conftest.$ac_ext
46555 cat >>conftest.$ac_ext <<_ACEOF
46556 /* end confdefs.h. */
46557 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
46558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46559 #define strptime innocuous_strptime
46561 /* System header to define __stub macros and hopefully few prototypes,
46562 which can conflict with char strptime (); below.
46563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46564 <limits.h> exists even on freestanding compilers. */
46567 # include <limits.h>
46569 # include <assert.h>
46574 /* Override any GCC internal prototype to avoid an error.
46575 Use char because int might match the return type of a GCC
46576 builtin and then its argument prototype would still apply. */
46581 /* The GNU C library defines this for functions which it implements
46582 to always fail with ENOSYS. Some functions are actually named
46583 something starting with __ and the normal name is an alias. */
46584 #if defined __stub_strptime || defined __stub___strptime
46591 return strptime ();
46596 rm -f conftest.$ac_objext conftest$ac_exeext
46597 if { (ac_try="$ac_link"
46598 case "(($ac_try" in
46599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46600 *) ac_try_echo=$ac_try;;
46602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46603 (eval "$ac_link") 2>conftest.er1
46605 grep -v '^ *+' conftest.er1 >conftest.err
46607 cat conftest.err >&5
46608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46609 (exit $ac_status); } && {
46610 test -z "$ac_c_werror_flag" ||
46611 test ! -s conftest.err
46612 } && test -s conftest$ac_exeext &&
46613 $as_test_x conftest$ac_exeext; then
46614 ac_cv_func_strptime=yes
46616 echo "$as_me: failed program was:" >&5
46617 sed 's/^/| /' conftest.$ac_ext >&5
46619 ac_cv_func_strptime=no
46622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46623 conftest$ac_exeext conftest.$ac_ext
46625 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46626 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46628 if test "$ac_cv_func_strptime" = "yes"; then
46629 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46630 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46631 if test "${wx_cv_func_strptime_decl+set}" = set; then
46632 echo $ECHO_N "(cached) $ECHO_C" >&6
46636 ac_cpp='$CXXCPP $CPPFLAGS'
46637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46641 cat >conftest.$ac_ext <<_ACEOF
46644 cat confdefs.h >>conftest.$ac_ext
46645 cat >>conftest.$ac_ext <<_ACEOF
46646 /* end confdefs.h. */
46655 strptime("foo", "bar", &t);
46661 rm -f conftest.$ac_objext
46662 if { (ac_try="$ac_compile"
46663 case "(($ac_try" in
46664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46665 *) ac_try_echo=$ac_try;;
46667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46668 (eval "$ac_compile") 2>conftest.er1
46670 grep -v '^ *+' conftest.er1 >conftest.err
46672 cat conftest.err >&5
46673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46674 (exit $ac_status); } && {
46675 test -z "$ac_cxx_werror_flag" ||
46676 test ! -s conftest.err
46677 } && test -s conftest.$ac_objext; then
46678 wx_cv_func_strptime_decl=yes
46680 echo "$as_me: failed program was:" >&5
46681 sed 's/^/| /' conftest.$ac_ext >&5
46683 wx_cv_func_strptime_decl=no
46687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46689 ac_cpp='$CPP $CPPFLAGS'
46690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46697 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46698 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46700 if test "$wx_cv_func_strptime_decl" = "yes"; then
46701 cat >>confdefs.h <<\_ACEOF
46702 #define HAVE_STRPTIME_DECL 1
46706 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46708 if test "$ac_cv_func_strptime" = "yes"; then
46709 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46710 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46711 if test "${wx_cv_func_strptime_ok+set}" = set; then
46712 echo $ECHO_N "(cached) $ECHO_C" >&6
46714 if test "$cross_compiling" = yes; then
46715 wx_cv_func_strptime_ok=no
46718 cat >conftest.$ac_ext <<_ACEOF
46720 #include <stdlib.h>
46722 #include "confdefs.h"
46729 return !!strptime("", "%x", &t);
46733 rm -f conftest$ac_exeext
46734 if { (ac_try="$ac_link"
46735 case "(($ac_try" in
46736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46737 *) ac_try_echo=$ac_try;;
46739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46740 (eval "$ac_link") 2>&5
46742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46743 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46744 { (case "(($ac_try" in
46745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46746 *) ac_try_echo=$ac_try;;
46748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46749 (eval "$ac_try") 2>&5
46751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46752 (exit $ac_status); }; }; then
46753 wx_cv_func_strptime_ok=yes
46755 echo "$as_me: program exited with status $ac_status" >&5
46756 echo "$as_me: failed program was:" >&5
46757 sed 's/^/| /' conftest.$ac_ext >&5
46759 ( exit $ac_status )
46760 wx_cv_func_strptime_ok=no
46762 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46768 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46769 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46771 if test "$wx_cv_func_strptime_ok" = "yes"; then
46772 cat >>confdefs.h <<\_ACEOF
46773 #define HAVE_STRPTIME 1
46779 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46780 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46781 if test "${wx_cv_var_timezone+set}" = set; then
46782 echo $ECHO_N "(cached) $ECHO_C" >&6
46786 ac_cpp='$CXXCPP $CPPFLAGS'
46787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46791 cat >conftest.$ac_ext <<_ACEOF
46794 cat confdefs.h >>conftest.$ac_ext
46795 cat >>conftest.$ac_ext <<_ACEOF
46796 /* end confdefs.h. */
46811 rm -f conftest.$ac_objext
46812 if { (ac_try="$ac_compile"
46813 case "(($ac_try" in
46814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46815 *) ac_try_echo=$ac_try;;
46817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46818 (eval "$ac_compile") 2>conftest.er1
46820 grep -v '^ *+' conftest.er1 >conftest.err
46822 cat conftest.err >&5
46823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46824 (exit $ac_status); } && {
46825 test -z "$ac_cxx_werror_flag" ||
46826 test ! -s conftest.err
46827 } && test -s conftest.$ac_objext; then
46829 wx_cv_var_timezone=timezone
46832 echo "$as_me: failed program was:" >&5
46833 sed 's/^/| /' conftest.$ac_ext >&5
46836 cat >conftest.$ac_ext <<_ACEOF
46839 cat confdefs.h >>conftest.$ac_ext
46840 cat >>conftest.$ac_ext <<_ACEOF
46841 /* end confdefs.h. */
46856 rm -f conftest.$ac_objext
46857 if { (ac_try="$ac_compile"
46858 case "(($ac_try" in
46859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46860 *) ac_try_echo=$ac_try;;
46862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46863 (eval "$ac_compile") 2>conftest.er1
46865 grep -v '^ *+' conftest.er1 >conftest.err
46867 cat conftest.err >&5
46868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46869 (exit $ac_status); } && {
46870 test -z "$ac_cxx_werror_flag" ||
46871 test ! -s conftest.err
46872 } && test -s conftest.$ac_objext; then
46874 wx_cv_var_timezone=_timezone
46877 echo "$as_me: failed program was:" >&5
46878 sed 's/^/| /' conftest.$ac_ext >&5
46881 cat >conftest.$ac_ext <<_ACEOF
46884 cat confdefs.h >>conftest.$ac_ext
46885 cat >>conftest.$ac_ext <<_ACEOF
46886 /* end confdefs.h. */
46901 rm -f conftest.$ac_objext
46902 if { (ac_try="$ac_compile"
46903 case "(($ac_try" in
46904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46905 *) ac_try_echo=$ac_try;;
46907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46908 (eval "$ac_compile") 2>conftest.er1
46910 grep -v '^ *+' conftest.er1 >conftest.err
46912 cat conftest.err >&5
46913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46914 (exit $ac_status); } && {
46915 test -z "$ac_cxx_werror_flag" ||
46916 test ! -s conftest.err
46917 } && test -s conftest.$ac_objext; then
46919 wx_cv_var_timezone=__timezone
46922 echo "$as_me: failed program was:" >&5
46923 sed 's/^/| /' conftest.$ac_ext >&5
46926 if test "$USE_DOS" = 0 ; then
46927 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46928 echo "$as_me: WARNING: no timezone variable" >&2;}
46934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46946 ac_cpp='$CPP $CPPFLAGS'
46947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46954 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46955 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46957 if test "x$wx_cv_var_timezone" != x ; then
46958 cat >>confdefs.h <<_ACEOF
46959 #define WX_TIMEZONE $wx_cv_var_timezone
46965 for ac_func in localtime
46967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46968 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46970 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46971 echo $ECHO_N "(cached) $ECHO_C" >&6
46973 cat >conftest.$ac_ext <<_ACEOF
46976 cat confdefs.h >>conftest.$ac_ext
46977 cat >>conftest.$ac_ext <<_ACEOF
46978 /* end confdefs.h. */
46979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46981 #define $ac_func innocuous_$ac_func
46983 /* System header to define __stub macros and hopefully few prototypes,
46984 which can conflict with char $ac_func (); below.
46985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46986 <limits.h> exists even on freestanding compilers. */
46989 # include <limits.h>
46991 # include <assert.h>
46996 /* Override any GCC internal prototype to avoid an error.
46997 Use char because int might match the return type of a GCC
46998 builtin and then its argument prototype would still apply. */
47003 /* The GNU C library defines this for functions which it implements
47004 to always fail with ENOSYS. Some functions are actually named
47005 something starting with __ and the normal name is an alias. */
47006 #if defined __stub_$ac_func || defined __stub___$ac_func
47013 return $ac_func ();
47018 rm -f conftest.$ac_objext conftest$ac_exeext
47019 if { (ac_try="$ac_link"
47020 case "(($ac_try" in
47021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47022 *) ac_try_echo=$ac_try;;
47024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47025 (eval "$ac_link") 2>conftest.er1
47027 grep -v '^ *+' conftest.er1 >conftest.err
47029 cat conftest.err >&5
47030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47031 (exit $ac_status); } && {
47032 test -z "$ac_c_werror_flag" ||
47033 test ! -s conftest.err
47034 } && test -s conftest$ac_exeext &&
47035 $as_test_x conftest$ac_exeext; then
47036 eval "$as_ac_var=yes"
47038 echo "$as_me: failed program was:" >&5
47039 sed 's/^/| /' conftest.$ac_ext >&5
47041 eval "$as_ac_var=no"
47044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47045 conftest$ac_exeext conftest.$ac_ext
47047 ac_res=`eval echo '${'$as_ac_var'}'`
47048 { echo "$as_me:$LINENO: result: $ac_res" >&5
47049 echo "${ECHO_T}$ac_res" >&6; }
47050 if test `eval echo '${'$as_ac_var'}'` = yes; then
47051 cat >>confdefs.h <<_ACEOF
47052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47059 if test "$ac_cv_func_localtime" = "yes"; then
47060 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
47061 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
47062 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
47063 echo $ECHO_N "(cached) $ECHO_C" >&6
47066 cat >conftest.$ac_ext <<_ACEOF
47069 cat confdefs.h >>conftest.$ac_ext
47070 cat >>conftest.$ac_ext <<_ACEOF
47071 /* end confdefs.h. */
47086 rm -f conftest.$ac_objext
47087 if { (ac_try="$ac_compile"
47088 case "(($ac_try" in
47089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47090 *) ac_try_echo=$ac_try;;
47092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47093 (eval "$ac_compile") 2>conftest.er1
47095 grep -v '^ *+' conftest.er1 >conftest.err
47097 cat conftest.err >&5
47098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47099 (exit $ac_status); } && {
47100 test -z "$ac_c_werror_flag" ||
47101 test ! -s conftest.err
47102 } && test -s conftest.$ac_objext; then
47104 wx_cv_struct_tm_has_gmtoff=yes
47107 echo "$as_me: failed program was:" >&5
47108 sed 's/^/| /' conftest.$ac_ext >&5
47110 wx_cv_struct_tm_has_gmtoff=no
47114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47117 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
47118 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
47121 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
47122 cat >>confdefs.h <<\_ACEOF
47123 #define WX_GMTOFF_IN_TM 1
47128 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
47132 if test "$wxUSE_SOCKETS" = "yes"; then
47133 if test "$wxUSE_MGL" = "1"; then
47134 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
47135 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
47140 if test "$wxUSE_SOCKETS" = "yes"; then
47141 if test "$TOOLKIT" != "MSW"; then
47142 { echo "$as_me:$LINENO: checking for socket" >&5
47143 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
47144 if test "${ac_cv_func_socket+set}" = set; then
47145 echo $ECHO_N "(cached) $ECHO_C" >&6
47147 cat >conftest.$ac_ext <<_ACEOF
47150 cat confdefs.h >>conftest.$ac_ext
47151 cat >>conftest.$ac_ext <<_ACEOF
47152 /* end confdefs.h. */
47153 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
47154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47155 #define socket innocuous_socket
47157 /* System header to define __stub macros and hopefully few prototypes,
47158 which can conflict with char socket (); below.
47159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47160 <limits.h> exists even on freestanding compilers. */
47163 # include <limits.h>
47165 # include <assert.h>
47170 /* Override any GCC internal prototype to avoid an error.
47171 Use char because int might match the return type of a GCC
47172 builtin and then its argument prototype would still apply. */
47177 /* The GNU C library defines this for functions which it implements
47178 to always fail with ENOSYS. Some functions are actually named
47179 something starting with __ and the normal name is an alias. */
47180 #if defined __stub_socket || defined __stub___socket
47192 rm -f conftest.$ac_objext conftest$ac_exeext
47193 if { (ac_try="$ac_link"
47194 case "(($ac_try" in
47195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47196 *) ac_try_echo=$ac_try;;
47198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47199 (eval "$ac_link") 2>conftest.er1
47201 grep -v '^ *+' conftest.er1 >conftest.err
47203 cat conftest.err >&5
47204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47205 (exit $ac_status); } && {
47206 test -z "$ac_c_werror_flag" ||
47207 test ! -s conftest.err
47208 } && test -s conftest$ac_exeext &&
47209 $as_test_x conftest$ac_exeext; then
47210 ac_cv_func_socket=yes
47212 echo "$as_me: failed program was:" >&5
47213 sed 's/^/| /' conftest.$ac_ext >&5
47215 ac_cv_func_socket=no
47218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47219 conftest$ac_exeext conftest.$ac_ext
47221 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
47222 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
47223 if test $ac_cv_func_socket = yes; then
47227 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
47228 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
47229 if test "${ac_cv_lib_socket_socket+set}" = set; then
47230 echo $ECHO_N "(cached) $ECHO_C" >&6
47232 ac_check_lib_save_LIBS=$LIBS
47233 LIBS="-lsocket $LIBS"
47234 cat >conftest.$ac_ext <<_ACEOF
47237 cat confdefs.h >>conftest.$ac_ext
47238 cat >>conftest.$ac_ext <<_ACEOF
47239 /* end confdefs.h. */
47241 /* Override any GCC internal prototype to avoid an error.
47242 Use char because int might match the return type of a GCC
47243 builtin and then its argument prototype would still apply. */
47256 rm -f conftest.$ac_objext conftest$ac_exeext
47257 if { (ac_try="$ac_link"
47258 case "(($ac_try" in
47259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47260 *) ac_try_echo=$ac_try;;
47262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47263 (eval "$ac_link") 2>conftest.er1
47265 grep -v '^ *+' conftest.er1 >conftest.err
47267 cat conftest.err >&5
47268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47269 (exit $ac_status); } && {
47270 test -z "$ac_c_werror_flag" ||
47271 test ! -s conftest.err
47272 } && test -s conftest$ac_exeext &&
47273 $as_test_x conftest$ac_exeext; then
47274 ac_cv_lib_socket_socket=yes
47276 echo "$as_me: failed program was:" >&5
47277 sed 's/^/| /' conftest.$ac_ext >&5
47279 ac_cv_lib_socket_socket=no
47282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47283 conftest$ac_exeext conftest.$ac_ext
47284 LIBS=$ac_check_lib_save_LIBS
47286 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
47287 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
47288 if test $ac_cv_lib_socket_socket = yes; then
47289 if test "$INET_LINK" != " -lsocket"; then
47290 INET_LINK="$INET_LINK -lsocket"
47294 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
47295 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
47308 if test "$wxUSE_SOCKETS" = "yes" ; then
47309 if test "$TOOLKIT" != "MSW"; then
47310 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
47311 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
47312 if test "${wx_cv_type_getsockname3+set}" = set; then
47313 echo $ECHO_N "(cached) $ECHO_C" >&6
47317 ac_cpp='$CXXCPP $CPPFLAGS'
47318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47322 cat >conftest.$ac_ext <<_ACEOF
47325 cat confdefs.h >>conftest.$ac_ext
47326 cat >>conftest.$ac_ext <<_ACEOF
47327 /* end confdefs.h. */
47329 #include <sys/types.h>
47330 #include <sys/socket.h>
47337 getsockname(0, 0, &len);
47343 rm -f conftest.$ac_objext
47344 if { (ac_try="$ac_compile"
47345 case "(($ac_try" in
47346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47347 *) ac_try_echo=$ac_try;;
47349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47350 (eval "$ac_compile") 2>conftest.er1
47352 grep -v '^ *+' conftest.er1 >conftest.err
47354 cat conftest.err >&5
47355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47356 (exit $ac_status); } && {
47357 test -z "$ac_cxx_werror_flag" ||
47358 test ! -s conftest.err
47359 } && test -s conftest.$ac_objext; then
47360 wx_cv_type_getsockname3=socklen_t
47362 echo "$as_me: failed program was:" >&5
47363 sed 's/^/| /' conftest.$ac_ext >&5
47366 CFLAGS_OLD="$CFLAGS"
47367 if test "$GCC" = yes ; then
47368 CFLAGS="-Werror $CFLAGS"
47371 cat >conftest.$ac_ext <<_ACEOF
47374 cat confdefs.h >>conftest.$ac_ext
47375 cat >>conftest.$ac_ext <<_ACEOF
47376 /* end confdefs.h. */
47378 #include <sys/types.h>
47379 #include <sys/socket.h>
47386 getsockname(0, 0, &len);
47392 rm -f conftest.$ac_objext
47393 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
47401 grep -v '^ *+' conftest.er1 >conftest.err
47403 cat conftest.err >&5
47404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47405 (exit $ac_status); } && {
47406 test -z "$ac_cxx_werror_flag" ||
47407 test ! -s conftest.err
47408 } && test -s conftest.$ac_objext; then
47409 wx_cv_type_getsockname3=size_t
47411 echo "$as_me: failed program was:" >&5
47412 sed 's/^/| /' conftest.$ac_ext >&5
47414 cat >conftest.$ac_ext <<_ACEOF
47417 cat confdefs.h >>conftest.$ac_ext
47418 cat >>conftest.$ac_ext <<_ACEOF
47419 /* end confdefs.h. */
47421 #include <sys/types.h>
47422 #include <sys/socket.h>
47429 getsockname(0, 0, &len);
47435 rm -f conftest.$ac_objext
47436 if { (ac_try="$ac_compile"
47437 case "(($ac_try" in
47438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47439 *) ac_try_echo=$ac_try;;
47441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47442 (eval "$ac_compile") 2>conftest.er1
47444 grep -v '^ *+' conftest.er1 >conftest.err
47446 cat conftest.err >&5
47447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47448 (exit $ac_status); } && {
47449 test -z "$ac_cxx_werror_flag" ||
47450 test ! -s conftest.err
47451 } && test -s conftest.$ac_objext; then
47452 wx_cv_type_getsockname3=int
47454 echo "$as_me: failed program was:" >&5
47455 sed 's/^/| /' conftest.$ac_ext >&5
47457 wx_cv_type_getsockname3=unknown
47461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47467 CFLAGS="$CFLAGS_OLD"
47472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47474 ac_cpp='$CPP $CPPFLAGS'
47475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47481 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
47482 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
47484 if test "$wx_cv_type_getsockname3" = "unknown"; then
47486 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47487 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47489 cat >>confdefs.h <<_ACEOF
47490 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
47494 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
47495 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
47496 if test "${wx_cv_type_getsockopt5+set}" = set; then
47497 echo $ECHO_N "(cached) $ECHO_C" >&6
47501 ac_cpp='$CXXCPP $CPPFLAGS'
47502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47506 cat >conftest.$ac_ext <<_ACEOF
47509 cat confdefs.h >>conftest.$ac_ext
47510 cat >>conftest.$ac_ext <<_ACEOF
47511 /* end confdefs.h. */
47513 #include <sys/types.h>
47514 #include <sys/socket.h>
47521 getsockopt(0, 0, 0, 0, &len);
47527 rm -f conftest.$ac_objext
47528 if { (ac_try="$ac_compile"
47529 case "(($ac_try" in
47530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47531 *) ac_try_echo=$ac_try;;
47533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47534 (eval "$ac_compile") 2>conftest.er1
47536 grep -v '^ *+' conftest.er1 >conftest.err
47538 cat conftest.err >&5
47539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47540 (exit $ac_status); } && {
47541 test -z "$ac_cxx_werror_flag" ||
47542 test ! -s conftest.err
47543 } && test -s conftest.$ac_objext; then
47544 wx_cv_type_getsockopt5=socklen_t
47546 echo "$as_me: failed program was:" >&5
47547 sed 's/^/| /' conftest.$ac_ext >&5
47550 cat >conftest.$ac_ext <<_ACEOF
47553 cat confdefs.h >>conftest.$ac_ext
47554 cat >>conftest.$ac_ext <<_ACEOF
47555 /* end confdefs.h. */
47557 #include <sys/types.h>
47558 #include <sys/socket.h>
47565 getsockopt(0, 0, 0, 0, &len);
47571 rm -f conftest.$ac_objext
47572 if { (ac_try="$ac_compile"
47573 case "(($ac_try" in
47574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47575 *) ac_try_echo=$ac_try;;
47577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47578 (eval "$ac_compile") 2>conftest.er1
47580 grep -v '^ *+' conftest.er1 >conftest.err
47582 cat conftest.err >&5
47583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47584 (exit $ac_status); } && {
47585 test -z "$ac_cxx_werror_flag" ||
47586 test ! -s conftest.err
47587 } && test -s conftest.$ac_objext; then
47588 wx_cv_type_getsockopt5=size_t
47590 echo "$as_me: failed program was:" >&5
47591 sed 's/^/| /' conftest.$ac_ext >&5
47593 cat >conftest.$ac_ext <<_ACEOF
47596 cat confdefs.h >>conftest.$ac_ext
47597 cat >>conftest.$ac_ext <<_ACEOF
47598 /* end confdefs.h. */
47600 #include <sys/types.h>
47601 #include <sys/socket.h>
47608 getsockopt(0, 0, 0, 0, &len);
47614 rm -f conftest.$ac_objext
47615 if { (ac_try="$ac_compile"
47616 case "(($ac_try" in
47617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47618 *) ac_try_echo=$ac_try;;
47620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47621 (eval "$ac_compile") 2>conftest.er1
47623 grep -v '^ *+' conftest.er1 >conftest.err
47625 cat conftest.err >&5
47626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47627 (exit $ac_status); } && {
47628 test -z "$ac_cxx_werror_flag" ||
47629 test ! -s conftest.err
47630 } && test -s conftest.$ac_objext; then
47631 wx_cv_type_getsockopt5=int
47633 echo "$as_me: failed program was:" >&5
47634 sed 's/^/| /' conftest.$ac_ext >&5
47636 wx_cv_type_getsockopt5=unknown
47640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47651 ac_cpp='$CPP $CPPFLAGS'
47652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47658 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47659 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47661 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47663 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47664 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47666 cat >>confdefs.h <<_ACEOF
47667 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47674 if test "$wxUSE_SOCKETS" = "yes" ; then
47675 cat >>confdefs.h <<\_ACEOF
47676 #define wxUSE_SOCKETS 1
47679 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47682 if test "$wxUSE_PROTOCOL" = "yes"; then
47683 if test "$wxUSE_SOCKETS" != "yes"; then
47684 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47685 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47690 if test "$wxUSE_PROTOCOL" = "yes"; then
47691 cat >>confdefs.h <<\_ACEOF
47692 #define wxUSE_PROTOCOL 1
47696 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47697 cat >>confdefs.h <<\_ACEOF
47698 #define wxUSE_PROTOCOL_HTTP 1
47702 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47703 cat >>confdefs.h <<\_ACEOF
47704 #define wxUSE_PROTOCOL_FTP 1
47708 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47709 cat >>confdefs.h <<\_ACEOF
47710 #define wxUSE_PROTOCOL_FILE 1
47715 if test "$wxUSE_FS_INET" = "yes"; then
47716 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47717 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47722 if test "$wxUSE_URL" = "yes"; then
47723 if test "$wxUSE_PROTOCOL" != "yes"; then
47724 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47725 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47728 if test "$wxUSE_URL" = "yes"; then
47729 cat >>confdefs.h <<\_ACEOF
47730 #define wxUSE_URL 1
47736 if test "$wxUSE_VARIANT" = "yes"; then
47737 cat >>confdefs.h <<\_ACEOF
47738 #define wxUSE_VARIANT 1
47743 if test "$wxUSE_FS_INET" = "yes"; then
47744 cat >>confdefs.h <<\_ACEOF
47745 #define wxUSE_FS_INET 1
47751 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47754 if test "$TOOLKIT" = "MSW"; then
47757 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47758 if test "$USE_DARWIN" = 1; then
47759 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47760 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47762 ac_cpp='$CXXCPP $CPPFLAGS'
47763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47767 cat >conftest.$ac_ext <<_ACEOF
47770 cat confdefs.h >>conftest.$ac_ext
47771 cat >>conftest.$ac_ext <<_ACEOF
47772 /* end confdefs.h. */
47773 #include <IOKit/hid/IOHIDLib.h>
47777 IOHIDQueueInterface *qi = NULL;
47778 IOHIDCallbackFunction cb = NULL;
47779 qi->setEventCallout(NULL, cb, NULL, NULL);
47784 rm -f conftest.$ac_objext
47785 if { (ac_try="$ac_compile"
47786 case "(($ac_try" in
47787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47788 *) ac_try_echo=$ac_try;;
47790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47791 (eval "$ac_compile") 2>conftest.er1
47793 grep -v '^ *+' conftest.er1 >conftest.err
47795 cat conftest.err >&5
47796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47797 (exit $ac_status); } && {
47798 test -z "$ac_cxx_werror_flag" ||
47799 test ! -s conftest.err
47800 } && test -s conftest.$ac_objext; then
47804 echo "$as_me: failed program was:" >&5
47805 sed 's/^/| /' conftest.$ac_ext >&5
47810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47812 ac_cpp='$CPP $CPPFLAGS'
47813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47817 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47818 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47822 if test "$wxUSE_MGL" != "1"; then
47824 for ac_header in linux/joystick.h
47826 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47827 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47828 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47829 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47830 echo $ECHO_N "(cached) $ECHO_C" >&6
47832 cat >conftest.$ac_ext <<_ACEOF
47835 cat confdefs.h >>conftest.$ac_ext
47836 cat >>conftest.$ac_ext <<_ACEOF
47837 /* end confdefs.h. */
47838 $ac_includes_default
47840 #include <$ac_header>
47842 rm -f conftest.$ac_objext
47843 if { (ac_try="$ac_compile"
47844 case "(($ac_try" in
47845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47846 *) ac_try_echo=$ac_try;;
47848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47849 (eval "$ac_compile") 2>conftest.er1
47851 grep -v '^ *+' conftest.er1 >conftest.err
47853 cat conftest.err >&5
47854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47855 (exit $ac_status); } && {
47856 test -z "$ac_c_werror_flag" ||
47857 test ! -s conftest.err
47858 } && test -s conftest.$ac_objext; then
47859 eval "$as_ac_Header=yes"
47861 echo "$as_me: failed program was:" >&5
47862 sed 's/^/| /' conftest.$ac_ext >&5
47864 eval "$as_ac_Header=no"
47867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47869 ac_res=`eval echo '${'$as_ac_Header'}'`
47870 { echo "$as_me:$LINENO: result: $ac_res" >&5
47871 echo "${ECHO_T}$ac_res" >&6; }
47872 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47873 cat >>confdefs.h <<_ACEOF
47874 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47884 if test "$wxUSE_JOYSTICK" = "yes"; then
47885 cat >>confdefs.h <<\_ACEOF
47886 #define wxUSE_JOYSTICK 1
47889 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47891 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47892 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47898 if test "$wxUSE_FONTENUM" = "yes" ; then
47899 cat >>confdefs.h <<\_ACEOF
47900 #define wxUSE_FONTENUM 1
47905 if test "$wxUSE_FONTMAP" = "yes" ; then
47906 cat >>confdefs.h <<\_ACEOF
47907 #define wxUSE_FONTMAP 1
47912 if test "$wxUSE_UNICODE" = "yes" ; then
47913 cat >>confdefs.h <<\_ACEOF
47914 #define wxUSE_UNICODE 1
47918 if test "$USE_WIN32" != 1; then
47919 wxUSE_UNICODE_MSLU=no
47922 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47923 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47924 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47925 if test "${ac_cv_lib_unicows_main+set}" = set; then
47926 echo $ECHO_N "(cached) $ECHO_C" >&6
47928 ac_check_lib_save_LIBS=$LIBS
47929 LIBS="-lunicows $LIBS"
47930 cat >conftest.$ac_ext <<_ACEOF
47933 cat confdefs.h >>conftest.$ac_ext
47934 cat >>conftest.$ac_ext <<_ACEOF
47935 /* end confdefs.h. */
47946 rm -f conftest.$ac_objext conftest$ac_exeext
47947 if { (ac_try="$ac_link"
47948 case "(($ac_try" in
47949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47950 *) ac_try_echo=$ac_try;;
47952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47953 (eval "$ac_link") 2>conftest.er1
47955 grep -v '^ *+' conftest.er1 >conftest.err
47957 cat conftest.err >&5
47958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47959 (exit $ac_status); } && {
47960 test -z "$ac_c_werror_flag" ||
47961 test ! -s conftest.err
47962 } && test -s conftest$ac_exeext &&
47963 $as_test_x conftest$ac_exeext; then
47964 ac_cv_lib_unicows_main=yes
47966 echo "$as_me: failed program was:" >&5
47967 sed 's/^/| /' conftest.$ac_ext >&5
47969 ac_cv_lib_unicows_main=no
47972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47973 conftest$ac_exeext conftest.$ac_ext
47974 LIBS=$ac_check_lib_save_LIBS
47976 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47977 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47978 if test $ac_cv_lib_unicows_main = yes; then
47980 cat >>confdefs.h <<\_ACEOF
47981 #define wxUSE_UNICODE_MSLU 1
47987 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47988 Applications will only run on Windows NT/2000/XP!" >&5
47989 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47990 Applications will only run on Windows NT/2000/XP!" >&2;}
47991 wxUSE_UNICODE_MSLU=no
47998 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47999 cat >>confdefs.h <<\_ACEOF
48000 #define wxUSE_UNICODE_UTF8 1
48004 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
48005 cat >>confdefs.h <<\_ACEOF
48006 #define wxUSE_UTF8_LOCALE_ONLY 1
48012 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
48013 cat >>confdefs.h <<\_ACEOF
48014 #define wxUSE_EXPERIMENTAL_PRINTF 1
48020 if test "$wxUSE_CONSTRAINTS" = "yes"; then
48021 cat >>confdefs.h <<\_ACEOF
48022 #define wxUSE_CONSTRAINTS 1
48025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
48028 if test "$wxUSE_MDI" = "yes"; then
48029 cat >>confdefs.h <<\_ACEOF
48030 #define wxUSE_MDI 1
48034 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
48035 cat >>confdefs.h <<\_ACEOF
48036 #define wxUSE_MDI_ARCHITECTURE 1
48039 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
48043 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
48044 cat >>confdefs.h <<\_ACEOF
48045 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
48048 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
48049 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
48050 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
48054 if test "$wxUSE_HELP" = "yes"; then
48055 cat >>confdefs.h <<\_ACEOF
48056 #define wxUSE_HELP 1
48059 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
48061 if test "$wxUSE_MSW" = 1; then
48062 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
48063 cat >>confdefs.h <<\_ACEOF
48064 #define wxUSE_MS_HTML_HELP 1
48070 if test "$wxUSE_WXHTML_HELP" = "yes"; then
48071 if test "$wxUSE_HTML" = "yes"; then
48072 cat >>confdefs.h <<\_ACEOF
48073 #define wxUSE_WXHTML_HELP 1
48077 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
48078 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
48079 wxUSE_WXHTML_HELP=no
48084 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
48085 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48086 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
48087 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
48089 cat >>confdefs.h <<\_ACEOF
48090 #define wxUSE_PRINTING_ARCHITECTURE 1
48094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
48097 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
48098 cat >>confdefs.h <<\_ACEOF
48099 #define wxUSE_POSTSCRIPT 1
48104 cat >>confdefs.h <<\_ACEOF
48105 #define wxUSE_AFM_FOR_POSTSCRIPT 1
48109 cat >>confdefs.h <<\_ACEOF
48110 #define wxUSE_NORMALIZED_PS_FONTS 1
48114 if test "$wxUSE_SVG" = "yes"; then
48115 cat >>confdefs.h <<\_ACEOF
48116 #define wxUSE_SVG 1
48122 if test "$wxUSE_METAFILE" = "yes"; then
48123 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
48124 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
48125 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
48131 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
48132 -o "$wxUSE_CLIPBOARD" = "yes" \
48133 -o "$wxUSE_OLE" = "yes" \
48134 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
48135 { echo "$as_me:$LINENO: checking for ole2.h" >&5
48136 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
48137 if test "${ac_cv_header_ole2_h+set}" = set; then
48138 echo $ECHO_N "(cached) $ECHO_C" >&6
48140 cat >conftest.$ac_ext <<_ACEOF
48143 cat confdefs.h >>conftest.$ac_ext
48144 cat >>conftest.$ac_ext <<_ACEOF
48145 /* end confdefs.h. */
48150 rm -f conftest.$ac_objext
48151 if { (ac_try="$ac_compile"
48152 case "(($ac_try" in
48153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48154 *) ac_try_echo=$ac_try;;
48156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48157 (eval "$ac_compile") 2>conftest.er1
48159 grep -v '^ *+' conftest.er1 >conftest.err
48161 cat conftest.err >&5
48162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48163 (exit $ac_status); } && {
48164 test -z "$ac_c_werror_flag" ||
48165 test ! -s conftest.err
48166 } && test -s conftest.$ac_objext; then
48167 ac_cv_header_ole2_h=yes
48169 echo "$as_me: failed program was:" >&5
48170 sed 's/^/| /' conftest.$ac_ext >&5
48172 ac_cv_header_ole2_h=no
48175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48177 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
48178 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
48182 if test "$ac_cv_header_ole2_h" = "yes" ; then
48183 if test "$GCC" = yes ; then
48184 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
48185 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
48186 cat >conftest.$ac_ext <<_ACEOF
48189 cat confdefs.h >>conftest.$ac_ext
48190 cat >>conftest.$ac_ext <<_ACEOF
48191 /* end confdefs.h. */
48192 #include <windows.h>
48202 rm -f conftest.$ac_objext
48203 if { (ac_try="$ac_compile"
48204 case "(($ac_try" in
48205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48206 *) ac_try_echo=$ac_try;;
48208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48209 (eval "$ac_compile") 2>conftest.er1
48211 grep -v '^ *+' conftest.er1 >conftest.err
48213 cat conftest.err >&5
48214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48215 (exit $ac_status); } && {
48216 test -z "$ac_c_werror_flag" ||
48217 test ! -s conftest.err
48218 } && test -s conftest.$ac_objext; then
48219 { echo "$as_me:$LINENO: result: no" >&5
48220 echo "${ECHO_T}no" >&6; }
48222 echo "$as_me: failed program was:" >&5
48223 sed 's/^/| /' conftest.$ac_ext >&5
48225 { echo "$as_me:$LINENO: result: yes" >&5
48226 echo "${ECHO_T}yes" >&6; }
48227 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
48230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48231 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
48232 if test "$wxUSE_OLE" = "yes" ; then
48233 cat >>confdefs.h <<\_ACEOF
48234 #define wxUSE_OLE 1
48237 cat >>confdefs.h <<\_ACEOF
48238 #define wxUSE_OLE_AUTOMATION 1
48241 cat >>confdefs.h <<\_ACEOF
48242 #define wxUSE_ACTIVEX 1
48245 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
48249 if test "$wxUSE_DATAOBJ" = "yes" ; then
48250 cat >>confdefs.h <<\_ACEOF
48251 #define wxUSE_DATAOBJ 1
48256 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
48257 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
48260 wxUSE_DRAG_AND_DROP=no
48265 if test "$wxUSE_METAFILE" = "yes"; then
48266 cat >>confdefs.h <<\_ACEOF
48267 #define wxUSE_METAFILE 1
48271 cat >>confdefs.h <<\_ACEOF
48272 #define wxUSE_ENH_METAFILE 1
48278 if test "$wxUSE_IPC" = "yes"; then
48279 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
48280 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
48281 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
48285 if test "$wxUSE_IPC" = "yes"; then
48286 cat >>confdefs.h <<\_ACEOF
48287 #define wxUSE_IPC 1
48290 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48294 if test "$wxUSE_DATAOBJ" = "yes"; then
48295 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
48296 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
48297 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
48300 cat >>confdefs.h <<\_ACEOF
48301 #define wxUSE_DATAOBJ 1
48306 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
48307 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
48309 wxUSE_DRAG_AND_DROP=no
48312 if test "$wxUSE_CLIPBOARD" = "yes"; then
48313 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
48314 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
48315 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
48319 if test "$wxUSE_CLIPBOARD" = "yes"; then
48320 cat >>confdefs.h <<\_ACEOF
48321 #define wxUSE_CLIPBOARD 1
48327 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
48328 if test "$wxUSE_GTK" = 1; then
48329 if test "$WXGTK12" != 1; then
48330 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
48331 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
48332 wxUSE_DRAG_AND_DROP=no
48336 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
48337 "$wxUSE_DFB" = 1; then
48338 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
48339 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
48340 wxUSE_DRAG_AND_DROP=no
48343 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
48344 cat >>confdefs.h <<\_ACEOF
48345 #define wxUSE_DRAG_AND_DROP 1
48352 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
48353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
48356 if test "$wxUSE_SPLINES" = "yes" ; then
48357 cat >>confdefs.h <<\_ACEOF
48358 #define wxUSE_SPLINES 1
48363 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
48364 cat >>confdefs.h <<\_ACEOF
48365 #define wxUSE_MOUSEWHEEL 1
48372 if test "$wxUSE_CONTROLS" = "yes"; then
48376 if test "$wxUSE_ACCEL" = "yes"; then
48377 cat >>confdefs.h <<\_ACEOF
48378 #define wxUSE_ACCEL 1
48384 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
48385 cat >>confdefs.h <<\_ACEOF
48386 #define wxUSE_ANIMATIONCTRL 1
48390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
48393 if test "$wxUSE_BUTTON" = "yes"; then
48394 cat >>confdefs.h <<\_ACEOF
48395 #define wxUSE_BUTTON 1
48401 if test "$wxUSE_BMPBUTTON" = "yes"; then
48402 cat >>confdefs.h <<\_ACEOF
48403 #define wxUSE_BMPBUTTON 1
48409 if test "$wxUSE_CALCTRL" = "yes"; then
48410 cat >>confdefs.h <<\_ACEOF
48411 #define wxUSE_CALENDARCTRL 1
48415 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
48418 if test "$wxUSE_CARET" = "yes"; then
48419 cat >>confdefs.h <<\_ACEOF
48420 #define wxUSE_CARET 1
48424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
48427 if test "$wxUSE_COLLPANE" = "yes"; then
48428 cat >>confdefs.h <<\_ACEOF
48429 #define wxUSE_COLLPANE 1
48433 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
48436 if test "$wxUSE_COMBOBOX" = "yes"; then
48437 cat >>confdefs.h <<\_ACEOF
48438 #define wxUSE_COMBOBOX 1
48444 if test "$wxUSE_COMBOCTRL" = "yes"; then
48445 cat >>confdefs.h <<\_ACEOF
48446 #define wxUSE_COMBOCTRL 1
48452 if test "$wxUSE_CHOICE" = "yes"; then
48453 cat >>confdefs.h <<\_ACEOF
48454 #define wxUSE_CHOICE 1
48460 if test "$wxUSE_CHOICEBOOK" = "yes"; then
48461 cat >>confdefs.h <<\_ACEOF
48462 #define wxUSE_CHOICEBOOK 1
48468 if test "$wxUSE_CHECKBOX" = "yes"; then
48469 cat >>confdefs.h <<\_ACEOF
48470 #define wxUSE_CHECKBOX 1
48476 if test "$wxUSE_CHECKLST" = "yes"; then
48477 cat >>confdefs.h <<\_ACEOF
48478 #define wxUSE_CHECKLISTBOX 1
48482 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
48485 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
48486 cat >>confdefs.h <<\_ACEOF
48487 #define wxUSE_COLOURPICKERCTRL 1
48493 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
48494 cat >>confdefs.h <<\_ACEOF
48495 #define wxUSE_DATEPICKCTRL 1
48501 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
48502 cat >>confdefs.h <<\_ACEOF
48503 #define wxUSE_DIRPICKERCTRL 1
48509 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
48510 cat >>confdefs.h <<\_ACEOF
48511 #define wxUSE_FILEPICKERCTRL 1
48517 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
48518 cat >>confdefs.h <<\_ACEOF
48519 #define wxUSE_FONTPICKERCTRL 1
48525 if test "$wxUSE_DISPLAY" = "yes"; then
48526 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
48527 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
48528 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
48531 cat >>confdefs.h <<\_ACEOF
48532 #define wxUSE_DISPLAY 1
48535 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
48539 if test "$wxUSE_DETECT_SM" = "yes"; then
48540 cat >>confdefs.h <<\_ACEOF
48541 #define wxUSE_DETECT_SM 1
48546 if test "$wxUSE_GAUGE" = "yes"; then
48547 cat >>confdefs.h <<\_ACEOF
48548 #define wxUSE_GAUGE 1
48554 if test "$wxUSE_GRID" = "yes"; then
48555 cat >>confdefs.h <<\_ACEOF
48556 #define wxUSE_GRID 1
48560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
48563 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
48564 cat >>confdefs.h <<\_ACEOF
48565 #define wxUSE_HYPERLINKCTRL 1
48571 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48572 cat >>confdefs.h <<\_ACEOF
48573 #define wxUSE_BITMAPCOMBOBOX 1
48579 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48580 cat >>confdefs.h <<\_ACEOF
48581 #define wxUSE_DATAVIEWCTRL 1
48585 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
48588 if test "$wxUSE_IMAGLIST" = "yes"; then
48589 cat >>confdefs.h <<\_ACEOF
48590 #define wxUSE_IMAGLIST 1
48595 if test "$wxUSE_LISTBOOK" = "yes"; then
48596 cat >>confdefs.h <<\_ACEOF
48597 #define wxUSE_LISTBOOK 1
48603 if test "$wxUSE_LISTBOX" = "yes"; then
48604 cat >>confdefs.h <<\_ACEOF
48605 #define wxUSE_LISTBOX 1
48609 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
48612 if test "$wxUSE_LISTCTRL" = "yes"; then
48613 if test "$wxUSE_IMAGLIST" = "yes"; then
48614 cat >>confdefs.h <<\_ACEOF
48615 #define wxUSE_LISTCTRL 1
48619 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48621 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48622 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48626 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48627 cat >>confdefs.h <<\_ACEOF
48628 #define wxUSE_EDITABLELISTBOX 1
48632 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48635 if test "$wxUSE_NOTEBOOK" = "yes"; then
48636 cat >>confdefs.h <<\_ACEOF
48637 #define wxUSE_NOTEBOOK 1
48641 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48644 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48645 cat >>confdefs.h <<\_ACEOF
48646 #define wxUSE_ODCOMBOBOX 1
48650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48654 if test "$wxUSE_RADIOBOX" = "yes"; then
48655 cat >>confdefs.h <<\_ACEOF
48656 #define wxUSE_RADIOBOX 1
48662 if test "$wxUSE_RADIOBTN" = "yes"; then
48663 cat >>confdefs.h <<\_ACEOF
48664 #define wxUSE_RADIOBTN 1
48670 if test "$wxUSE_SASH" = "yes"; then
48671 cat >>confdefs.h <<\_ACEOF
48672 #define wxUSE_SASH 1
48675 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48678 if test "$wxUSE_SCROLLBAR" = "yes"; then
48679 cat >>confdefs.h <<\_ACEOF
48680 #define wxUSE_SCROLLBAR 1
48684 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48687 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48688 cat >>confdefs.h <<\_ACEOF
48689 #define wxUSE_SEARCHCTRL 1
48695 if test "$wxUSE_SLIDER" = "yes"; then
48696 cat >>confdefs.h <<\_ACEOF
48697 #define wxUSE_SLIDER 1
48703 if test "$wxUSE_SPINBTN" = "yes"; then
48704 cat >>confdefs.h <<\_ACEOF
48705 #define wxUSE_SPINBTN 1
48711 if test "$wxUSE_SPINCTRL" = "yes"; then
48712 cat >>confdefs.h <<\_ACEOF
48713 #define wxUSE_SPINCTRL 1
48719 if test "$wxUSE_SPLITTER" = "yes"; then
48720 cat >>confdefs.h <<\_ACEOF
48721 #define wxUSE_SPLITTER 1
48724 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48727 if test "$wxUSE_STATBMP" = "yes"; then
48728 cat >>confdefs.h <<\_ACEOF
48729 #define wxUSE_STATBMP 1
48735 if test "$wxUSE_STATBOX" = "yes"; then
48736 cat >>confdefs.h <<\_ACEOF
48737 #define wxUSE_STATBOX 1
48743 if test "$wxUSE_STATTEXT" = "yes"; then
48744 cat >>confdefs.h <<\_ACEOF
48745 #define wxUSE_STATTEXT 1
48751 if test "$wxUSE_STATLINE" = "yes"; then
48752 cat >>confdefs.h <<\_ACEOF
48753 #define wxUSE_STATLINE 1
48759 if test "$wxUSE_STATUSBAR" = "yes"; then
48760 cat >>confdefs.h <<\_ACEOF
48761 #define wxUSE_NATIVE_STATUSBAR 1
48764 cat >>confdefs.h <<\_ACEOF
48765 #define wxUSE_STATUSBAR 1
48770 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48773 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48774 cat >>confdefs.h <<\_ACEOF
48775 #define wxUSE_TAB_DIALOG 1
48780 if test "$wxUSE_TEXTCTRL" = "yes"; then
48781 cat >>confdefs.h <<\_ACEOF
48782 #define wxUSE_TEXTCTRL 1
48786 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48789 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48790 if test "$wxUSE_COCOA" = 1 ; then
48791 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48792 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48796 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48797 cat >>confdefs.h <<\_ACEOF
48798 #define wxUSE_TOGGLEBTN 1
48805 if test "$wxUSE_TOOLBAR" = "yes"; then
48806 cat >>confdefs.h <<\_ACEOF
48807 #define wxUSE_TOOLBAR 1
48812 if test "$wxUSE_UNIVERSAL" = "yes"; then
48813 wxUSE_TOOLBAR_NATIVE="no"
48815 wxUSE_TOOLBAR_NATIVE="yes"
48816 cat >>confdefs.h <<\_ACEOF
48817 #define wxUSE_TOOLBAR_NATIVE 1
48822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48825 if test "$wxUSE_TOOLTIPS" = "yes"; then
48826 if test "$wxUSE_MOTIF" = 1; then
48827 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48828 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48830 if test "$wxUSE_UNIVERSAL" = "yes"; then
48831 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48832 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48834 cat >>confdefs.h <<\_ACEOF
48835 #define wxUSE_TOOLTIPS 1
48842 if test "$wxUSE_TREEBOOK" = "yes"; then
48843 cat >>confdefs.h <<\_ACEOF
48844 #define wxUSE_TREEBOOK 1
48850 if test "$wxUSE_TOOLBOOK" = "yes"; then
48851 cat >>confdefs.h <<\_ACEOF
48852 #define wxUSE_TOOLBOOK 1
48858 if test "$wxUSE_TREECTRL" = "yes"; then
48859 if test "$wxUSE_IMAGLIST" = "yes"; then
48860 cat >>confdefs.h <<\_ACEOF
48861 #define wxUSE_TREECTRL 1
48865 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48867 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48868 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48872 if test "$wxUSE_POPUPWIN" = "yes"; then
48873 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48874 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48875 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48877 if test "$wxUSE_PM" = 1; then
48878 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48879 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48881 cat >>confdefs.h <<\_ACEOF
48882 #define wxUSE_POPUPWIN 1
48885 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48892 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48893 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48894 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48895 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48897 cat >>confdefs.h <<\_ACEOF
48898 #define wxUSE_DIALUP_MANAGER 1
48901 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48905 if test "$wxUSE_TIPWINDOW" = "yes"; then
48906 if test "$wxUSE_PM" = 1; then
48907 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48908 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48910 cat >>confdefs.h <<\_ACEOF
48911 #define wxUSE_TIPWINDOW 1
48917 if test "$USES_CONTROLS" = 1; then
48918 cat >>confdefs.h <<\_ACEOF
48919 #define wxUSE_CONTROLS 1
48925 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48926 cat >>confdefs.h <<\_ACEOF
48927 #define wxUSE_ACCESSIBILITY 1
48930 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48933 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48934 cat >>confdefs.h <<\_ACEOF
48935 #define wxUSE_DRAGIMAGE 1
48938 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48941 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48942 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48943 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48944 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48946 cat >>confdefs.h <<\_ACEOF
48947 #define wxUSE_EXCEPTIONS 1
48950 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48955 if test "$wxUSE_HTML" = "yes"; then
48956 cat >>confdefs.h <<\_ACEOF
48957 #define wxUSE_HTML 1
48961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48962 if test "$wxUSE_MAC" = 1; then
48963 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48966 if test "$wxUSE_WEBKIT" = "yes"; then
48967 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48968 old_CPPFLAGS="$CPPFLAGS"
48969 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48970 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48971 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48972 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48973 echo $ECHO_N "(cached) $ECHO_C" >&6
48975 cat >conftest.$ac_ext <<_ACEOF
48978 cat confdefs.h >>conftest.$ac_ext
48979 cat >>conftest.$ac_ext <<_ACEOF
48980 /* end confdefs.h. */
48982 #include <Carbon/Carbon.h>
48983 #include <WebKit/WebKit.h>
48986 #include <WebKit/HIWebView.h>
48988 rm -f conftest.$ac_objext
48989 if { (ac_try="$ac_compile"
48990 case "(($ac_try" in
48991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48992 *) ac_try_echo=$ac_try;;
48994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48995 (eval "$ac_compile") 2>conftest.er1
48997 grep -v '^ *+' conftest.er1 >conftest.err
48999 cat conftest.err >&5
49000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49001 (exit $ac_status); } && {
49002 test -z "$ac_c_werror_flag" ||
49003 test ! -s conftest.err
49004 } && test -s conftest.$ac_objext; then
49005 ac_cv_header_WebKit_HIWebView_h=yes
49007 echo "$as_me: failed program was:" >&5
49008 sed 's/^/| /' conftest.$ac_ext >&5
49010 ac_cv_header_WebKit_HIWebView_h=no
49013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49015 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
49016 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
49017 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
49019 cat >>confdefs.h <<\_ACEOF
49020 #define wxUSE_WEBKIT 1
49023 WEBKIT_LINK="-framework WebKit"
49027 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
49028 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
49034 CPPFLAGS="$old_CPPFLAGS"
49035 elif test "$wxUSE_COCOA" = 1; then
49036 cat >>confdefs.h <<\_ACEOF
49037 #define wxUSE_WEBKIT 1
49046 if test "$wxUSE_XRC" = "yes"; then
49047 if test "$wxUSE_XML" != "yes"; then
49048 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
49049 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
49052 cat >>confdefs.h <<\_ACEOF
49053 #define wxUSE_XRC 1
49057 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
49062 if test "$wxUSE_AUI" = "yes"; then
49063 cat >>confdefs.h <<\_ACEOF
49064 #define wxUSE_AUI 1
49068 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
49072 if test "$wxUSE_STC" = "yes"; then
49073 cat >>confdefs.h <<\_ACEOF
49074 #define wxUSE_STC 1
49078 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
49081 if test "$wxUSE_MENUS" = "yes"; then
49082 cat >>confdefs.h <<\_ACEOF
49083 #define wxUSE_MENUS 1
49086 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
49089 if test "$wxUSE_METAFILE" = "yes"; then
49090 cat >>confdefs.h <<\_ACEOF
49091 #define wxUSE_METAFILE 1
49096 if test "$wxUSE_MIMETYPE" = "yes"; then
49097 cat >>confdefs.h <<\_ACEOF
49098 #define wxUSE_MIMETYPE 1
49103 if test "$wxUSE_MINIFRAME" = "yes"; then
49104 cat >>confdefs.h <<\_ACEOF
49105 #define wxUSE_MINIFRAME 1
49108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
49111 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
49112 cat >>confdefs.h <<\_ACEOF
49113 #define wxUSE_SYSTEM_OPTIONS 1
49118 if test "$wxUSE_TASKBARICON" = "yes"; then
49119 cat >>confdefs.h <<\_ACEOF
49120 #define wxUSE_TASKBARICON 1
49123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
49127 if test "$wxUSE_VALIDATORS" = "yes"; then
49128 cat >>confdefs.h <<\_ACEOF
49129 #define wxUSE_VALIDATORS 1
49132 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
49135 if test "$wxUSE_PALETTE" = "yes" ; then
49136 if test "$wxUSE_DFB" = 1; then
49137 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
49138 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
49141 cat >>confdefs.h <<\_ACEOF
49142 #define wxUSE_PALETTE 1
49148 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
49149 LIBS=" -lunicows $LIBS"
49153 if test "$wxUSE_RICHTEXT" = "yes"; then
49154 cat >>confdefs.h <<\_ACEOF
49155 #define wxUSE_RICHTEXT 1
49159 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
49163 if test "$wxUSE_IMAGE" = "yes" ; then
49164 cat >>confdefs.h <<\_ACEOF
49165 #define wxUSE_IMAGE 1
49169 if test "$wxUSE_GIF" = "yes" ; then
49170 cat >>confdefs.h <<\_ACEOF
49171 #define wxUSE_GIF 1
49176 if test "$wxUSE_PCX" = "yes" ; then
49177 cat >>confdefs.h <<\_ACEOF
49178 #define wxUSE_PCX 1
49183 if test "$wxUSE_TGA" = "yes" ; then
49184 cat >>confdefs.h <<\_ACEOF
49185 #define wxUSE_TGA 1
49190 if test "$wxUSE_IFF" = "yes" ; then
49191 cat >>confdefs.h <<\_ACEOF
49192 #define wxUSE_IFF 1
49197 if test "$wxUSE_PNM" = "yes" ; then
49198 cat >>confdefs.h <<\_ACEOF
49199 #define wxUSE_PNM 1
49204 if test "$wxUSE_XPM" = "yes" ; then
49205 cat >>confdefs.h <<\_ACEOF
49206 #define wxUSE_XPM 1
49211 if test "$wxUSE_ICO_CUR" = "yes" ; then
49212 cat >>confdefs.h <<\_ACEOF
49213 #define wxUSE_ICO_CUR 1
49220 if test "$wxUSE_ABOUTDLG" = "yes"; then
49221 cat >>confdefs.h <<\_ACEOF
49222 #define wxUSE_ABOUTDLG 1
49227 if test "$wxUSE_CHOICEDLG" = "yes"; then
49228 cat >>confdefs.h <<\_ACEOF
49229 #define wxUSE_CHOICEDLG 1
49234 if test "$wxUSE_COLOURDLG" = "yes"; then
49235 cat >>confdefs.h <<\_ACEOF
49236 #define wxUSE_COLOURDLG 1
49241 if test "$wxUSE_FILEDLG" = "yes"; then
49242 cat >>confdefs.h <<\_ACEOF
49243 #define wxUSE_FILEDLG 1
49248 if test "$wxUSE_FINDREPLDLG" = "yes"; then
49249 cat >>confdefs.h <<\_ACEOF
49250 #define wxUSE_FINDREPLDLG 1
49255 if test "$wxUSE_FONTDLG" = "yes"; then
49256 cat >>confdefs.h <<\_ACEOF
49257 #define wxUSE_FONTDLG 1
49262 if test "$wxUSE_DIRDLG" = "yes"; then
49263 if test "$wxUSE_TREECTRL" != "yes"; then
49264 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
49265 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
49267 cat >>confdefs.h <<\_ACEOF
49268 #define wxUSE_DIRDLG 1
49274 if test "$wxUSE_MSGDLG" = "yes"; then
49275 cat >>confdefs.h <<\_ACEOF
49276 #define wxUSE_MSGDLG 1
49281 if test "$wxUSE_NUMBERDLG" = "yes"; then
49282 cat >>confdefs.h <<\_ACEOF
49283 #define wxUSE_NUMBERDLG 1
49288 if test "$wxUSE_PROGRESSDLG" = "yes"; then
49289 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49290 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
49291 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
49293 cat >>confdefs.h <<\_ACEOF
49294 #define wxUSE_PROGRESSDLG 1
49300 if test "$wxUSE_SPLASH" = "yes"; then
49301 cat >>confdefs.h <<\_ACEOF
49302 #define wxUSE_SPLASH 1
49305 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
49308 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
49309 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49310 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
49311 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
49313 cat >>confdefs.h <<\_ACEOF
49314 #define wxUSE_STARTUP_TIPS 1
49320 if test "$wxUSE_TEXTDLG" = "yes"; then
49321 cat >>confdefs.h <<\_ACEOF
49322 #define wxUSE_TEXTDLG 1
49327 if test "$wxUSE_WIZARDDLG" = "yes"; then
49328 cat >>confdefs.h <<\_ACEOF
49329 #define wxUSE_WIZARDDLG 1
49332 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
49336 if test "$wxUSE_MSW" = 1 ; then
49338 if test "$wxUSE_DC_CACHEING" = "yes"; then
49339 cat >>confdefs.h <<\_ACEOF
49340 #define wxUSE_DC_CACHEING 1
49345 if test "$wxUSE_DIB" = "yes"; then
49346 cat >>confdefs.h <<\_ACEOF
49347 #define wxUSE_WXDIB 1
49352 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
49353 cat >>confdefs.h <<\_ACEOF
49354 #define wxUSE_OWNER_DRAWN 1
49359 if test "$wxUSE_REGKEY" = "yes"; then
49360 cat >>confdefs.h <<\_ACEOF
49361 #define wxUSE_REGKEY 1
49366 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
49367 cat >>confdefs.h <<\_ACEOF
49368 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
49373 if test "$wxUSE_UXTHEME" = "yes"; then
49374 cat >>confdefs.h <<\_ACEOF
49375 #define wxUSE_UXTHEME 1
49383 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
49384 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
49385 cat >>confdefs.h <<\_ACEOF
49386 #define wxUSE_GRAPHICS_CONTEXT 1
49389 elif test "$wxUSE_GTK" != 1; then
49390 cat >>confdefs.h <<\_ACEOF
49391 #define wxUSE_GRAPHICS_CONTEXT 1
49397 { echo "$as_me:$LINENO: checking for CAIRO" >&5
49398 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
49400 if test -n "$PKG_CONFIG"; then
49401 if test -n "$CAIRO_CFLAGS"; then
49402 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
49404 if test -n "$PKG_CONFIG" && \
49405 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49406 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49409 (exit $ac_status); }; then
49410 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
49418 if test -n "$PKG_CONFIG"; then
49419 if test -n "$CAIRO_LIBS"; then
49420 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
49422 if test -n "$PKG_CONFIG" && \
49423 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49424 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49427 (exit $ac_status); }; then
49428 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
49439 if test $pkg_failed = yes; then
49441 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49442 _pkg_short_errors_supported=yes
49444 _pkg_short_errors_supported=no
49446 if test $_pkg_short_errors_supported = yes; then
49447 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
49449 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
49451 # Put the nasty error message in config.log where it belongs
49452 echo "$CAIRO_PKG_ERRORS" >&5
49454 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49455 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49457 elif test $pkg_failed = untried; then
49458 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49459 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49462 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
49463 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
49464 { echo "$as_me:$LINENO: result: yes" >&5
49465 echo "${ECHO_T}yes" >&6; }
49466 cat >>confdefs.h <<\_ACEOF
49467 #define wxUSE_GRAPHICS_CONTEXT 1
49477 if test "$wxUSE_MEDIACTRL" = "yes"; then
49480 if test "$wxUSE_GTK" = 1; then
49481 wxUSE_GSTREAMER="no"
49483 GST_VERSION_MAJOR=0
49484 GST_VERSION_MINOR=10
49485 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49487 if test "$wxUSE_GSTREAMER8" = "no"; then
49490 { echo "$as_me:$LINENO: checking for GST" >&5
49491 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49493 if test -n "$PKG_CONFIG"; then
49494 if test -n "$GST_CFLAGS"; then
49495 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49497 if test -n "$PKG_CONFIG" && \
49498 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49499 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49502 (exit $ac_status); }; then
49503 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49511 if test -n "$PKG_CONFIG"; then
49512 if test -n "$GST_LIBS"; then
49513 pkg_cv_GST_LIBS="$GST_LIBS"
49515 if test -n "$PKG_CONFIG" && \
49516 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49517 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49520 (exit $ac_status); }; then
49521 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49532 if test $pkg_failed = yes; then
49534 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49535 _pkg_short_errors_supported=yes
49537 _pkg_short_errors_supported=no
49539 if test $_pkg_short_errors_supported = yes; then
49540 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49542 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49544 # Put the nasty error message in config.log where it belongs
49545 echo "$GST_PKG_ERRORS" >&5
49548 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49549 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49550 GST_VERSION_MINOR=8
49553 elif test $pkg_failed = untried; then
49555 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49556 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49557 GST_VERSION_MINOR=8
49561 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49562 GST_LIBS=$pkg_cv_GST_LIBS
49563 { echo "$as_me:$LINENO: result: yes" >&5
49564 echo "${ECHO_T}yes" >&6; }
49566 wxUSE_GSTREAMER="yes"
49567 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49571 GST_VERSION_MINOR=8
49574 if test $GST_VERSION_MINOR = "8"; then
49575 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49578 { echo "$as_me:$LINENO: checking for GST" >&5
49579 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49581 if test -n "$PKG_CONFIG"; then
49582 if test -n "$GST_CFLAGS"; then
49583 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49585 if test -n "$PKG_CONFIG" && \
49586 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49587 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49590 (exit $ac_status); }; then
49591 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49599 if test -n "$PKG_CONFIG"; then
49600 if test -n "$GST_LIBS"; then
49601 pkg_cv_GST_LIBS="$GST_LIBS"
49603 if test -n "$PKG_CONFIG" && \
49604 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49605 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49608 (exit $ac_status); }; then
49609 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49620 if test $pkg_failed = yes; then
49622 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49623 _pkg_short_errors_supported=yes
49625 _pkg_short_errors_supported=no
49627 if test $_pkg_short_errors_supported = yes; then
49628 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49630 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49632 # Put the nasty error message in config.log where it belongs
49633 echo "$GST_PKG_ERRORS" >&5
49636 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49637 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49639 elif test $pkg_failed = untried; then
49641 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49642 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49645 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49646 GST_LIBS=$pkg_cv_GST_LIBS
49647 { echo "$as_me:$LINENO: result: yes" >&5
49648 echo "${ECHO_T}yes" >&6; }
49649 wxUSE_GSTREAMER="yes"
49654 if test "$wxUSE_GSTREAMER" = "yes"; then
49655 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49656 LIBS="$GST_LIBS $LIBS"
49658 cat >>confdefs.h <<\_ACEOF
49659 #define wxUSE_GSTREAMER 1
49667 if test $USE_MEDIA = 1; then
49668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49669 cat >>confdefs.h <<\_ACEOF
49670 #define wxUSE_MEDIACTRL 1
49677 if test "$cross_compiling" = "yes"; then
49680 OSINFO=`uname -s -r -m`
49681 OSINFO="\"$OSINFO\""
49684 cat >>confdefs.h <<_ACEOF
49685 #define WXWIN_OS_DESCRIPTION $OSINFO
49690 if test "x$prefix" != "xNONE"; then
49693 wxPREFIX=$ac_default_prefix
49696 cat >>confdefs.h <<_ACEOF
49697 #define wxINSTALL_PREFIX "$wxPREFIX"
49703 STD_BASE_LIBS="base"
49705 BUILT_WX_LIBS="base"
49706 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49708 if test "$wxUSE_SOCKETS" = "yes" ; then
49709 STD_BASE_LIBS="net $STD_BASE_LIBS"
49710 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49712 if test "$wxUSE_ODBC" != "no" ; then
49713 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49715 if test "$wxUSE_XML" = "yes" ; then
49716 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49717 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49720 if test "$wxUSE_GUI" = "yes"; then
49721 STD_GUI_LIBS="adv core"
49722 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49724 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49725 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49726 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49728 if test "$wxUSE_ODBC" != "no" ; then
49729 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49731 if test "$wxUSE_HTML" = "yes" ; then
49732 STD_GUI_LIBS="html $STD_GUI_LIBS"
49733 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49735 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49736 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49738 if test "$wxUSE_OPENGL" = "yes" ; then
49739 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49741 if test "$wxUSE_AUI" = "yes" ; then
49742 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49744 if test "$wxUSE_STC" = "yes" ; then
49745 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49747 if test "$wxUSE_XRC" = "yes" ; then
49748 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49749 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49760 if test "$wxUSE_MAC" = 1 ; then
49761 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49762 if test "$USE_DARWIN" = 1; then
49763 LDFLAGS="$LDFLAGS -framework QuickTime"
49765 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49768 if test "$USE_DARWIN" = 1; then
49769 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49771 LDFLAGS="$LDFLAGS -lCarbonLib"
49774 if test "$wxUSE_COCOA" = 1 ; then
49775 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49776 if test "$wxUSE_MEDIACTRL" = "yes"; then
49777 LDFLAGS="$LDFLAGS -framework QuickTime"
49780 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49781 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49784 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49786 if test "$wxUSE_GUI" = "yes"; then
49789 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49790 dynamic erase event exec font image minimal mobile \
49791 mobile/wxedit mobile/styles propsize render \
49792 rotate shaped svg taborder vscroll widgets"
49794 if test "$wxUSE_MONOLITHIC" != "yes"; then
49795 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49797 if test "$TOOLKIT" = "MSW"; then
49798 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49799 if test "$wxUSE_UNIVERSAL" != "yes"; then
49800 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49803 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49807 SAMPLES_SUBDIRS="console"
49811 if test "x$INTELCC" = "xyes" ; then
49812 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49813 elif test "$GCC" = yes ; then
49814 CWARNINGS="-Wall -Wundef"
49817 if test "x$INTELCXX" = "xyes" ; then
49818 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49819 elif test "$GXX" = yes ; then
49820 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49824 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49825 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49828 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49829 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49830 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49833 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49834 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49835 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49837 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49840 if test "x$MWCC" = "xyes"; then
49842 CC="$CC -cwd source -I-"
49843 CXX="$CXX -cwd source -I-"
49848 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49849 EXTRALIBS_XML="$EXPAT_LINK"
49850 EXTRALIBS_HTML="$MSPACK_LINK"
49851 EXTRALIBS_ODBC="$ODBC_LINK"
49852 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49853 if test "$wxUSE_GUI" = "yes"; then
49854 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49856 if test "$wxUSE_OPENGL" = "yes"; then
49857 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49860 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49862 WXCONFIG_LIBS="$LIBS"
49864 if test "$wxUSE_REGEX" = "builtin" ; then
49865 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49867 if test "$wxUSE_EXPAT" = "builtin" ; then
49868 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49870 if test "$wxUSE_ODBC" = "builtin" ; then
49871 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49873 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49874 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49876 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49877 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49879 if test "$wxUSE_LIBPNG" = "builtin" ; then
49880 wxconfig_3rdparty="png $wxconfig_3rdparty"
49882 if test "$wxUSE_ZLIB" = "builtin" ; then
49883 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49886 for i in $wxconfig_3rdparty ; do
49887 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49891 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49894 case "$wxUNIV_THEMES" in
49896 cat >>confdefs.h <<\_ACEOF
49897 #define wxUSE_ALL_THEMES 1
49903 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49904 cat >>confdefs.h <<_ACEOF
49905 #define wxUSE_THEME_$t 1
49922 if test $wxUSE_MONOLITHIC = "yes" ; then
49928 if test $wxUSE_PLUGINS = "yes" ; then
49934 if test $wxUSE_ODBC != "no" ; then
49940 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49946 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49977 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49988 TOOLKIT_DESC="GTK+"
49989 if test "$WXGTK20" = 1; then
49990 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49991 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49992 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49994 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49995 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49997 if test "$wxUSE_LIBHILDON" = "yes"; then
49998 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
50001 if test "$TOOLKIT_EXTRA" != ""; then
50002 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
50008 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
50012 TOOLKIT_DESC="base only"
50016 if test "$wxUSE_WINE" = "yes"; then
50017 BAKEFILE_FORCE_PLATFORM=win32
50020 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
50022 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
50023 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
50024 if test "${wx_cv_gcc_pch_bug+set}" = set; then
50025 echo $ECHO_N "(cached) $ECHO_C" >&6
50028 echo '#include <stdio.h>
50029 const wchar_t test_var[] = L"awidetest";' > conftest.h
50031 echo '#include "conftest.h"
50034 printf("%ls", test_var);
50038 wx_cv_gcc_pch_bug="pch not supported"
50040 if $CXX conftest.h >/dev/null 2>&1
50044 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
50046 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
50047 grep awidetest >/dev/null
50049 wx_cv_gcc_pch_bug=no
50051 wx_cv_gcc_pch_bug=yes
50056 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
50059 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
50060 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
50062 if test "$wx_cv_gcc_pch_bug" = yes; then
50070 if test "x$BAKEFILE_HOST" = "x"; then
50071 if test "x${host}" = "x" ; then
50072 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
50073 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
50074 { (exit 1); exit 1; }; }
50077 BAKEFILE_HOST="${host}"
50080 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
50082 if test -n "$ac_tool_prefix"; then
50083 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
50084 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
50085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50087 if test "${ac_cv_prog_RANLIB+set}" = set; then
50088 echo $ECHO_N "(cached) $ECHO_C" >&6
50090 if test -n "$RANLIB"; then
50091 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
50093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50094 for as_dir in $PATH
50097 test -z "$as_dir" && as_dir=.
50098 for ac_exec_ext in '' $ac_executable_extensions; do
50099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50100 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
50101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50110 RANLIB=$ac_cv_prog_RANLIB
50111 if test -n "$RANLIB"; then
50112 { echo "$as_me:$LINENO: result: $RANLIB" >&5
50113 echo "${ECHO_T}$RANLIB" >&6; }
50115 { echo "$as_me:$LINENO: result: no" >&5
50116 echo "${ECHO_T}no" >&6; }
50121 if test -z "$ac_cv_prog_RANLIB"; then
50122 ac_ct_RANLIB=$RANLIB
50123 # Extract the first word of "ranlib", so it can be a program name with args.
50124 set dummy ranlib; ac_word=$2
50125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50127 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
50128 echo $ECHO_N "(cached) $ECHO_C" >&6
50130 if test -n "$ac_ct_RANLIB"; then
50131 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
50133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50134 for as_dir in $PATH
50137 test -z "$as_dir" && as_dir=.
50138 for ac_exec_ext in '' $ac_executable_extensions; do
50139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50140 ac_cv_prog_ac_ct_RANLIB="ranlib"
50141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50150 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
50151 if test -n "$ac_ct_RANLIB"; then
50152 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
50153 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
50155 { echo "$as_me:$LINENO: result: no" >&5
50156 echo "${ECHO_T}no" >&6; }
50159 if test "x$ac_ct_RANLIB" = x; then
50162 case $cross_compiling:$ac_tool_warned in
50164 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50165 whose name does not start with the host triplet. If you think this
50166 configuration is useful to you, please write to autoconf@gnu.org." >&5
50167 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50168 whose name does not start with the host triplet. If you think this
50169 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50170 ac_tool_warned=yes ;;
50172 RANLIB=$ac_ct_RANLIB
50175 RANLIB="$ac_cv_prog_RANLIB"
50178 # Find a good install program. We prefer a C program (faster),
50179 # so one script is as good as another. But avoid the broken or
50180 # incompatible versions:
50181 # SysV /etc/install, /usr/sbin/install
50182 # SunOS /usr/etc/install
50183 # IRIX /sbin/install
50185 # AmigaOS /C/install, which installs bootblocks on floppy discs
50186 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
50187 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
50188 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
50189 # OS/2's system install, which has a completely different semantic
50190 # ./install, which can be erroneously created by make from ./install.sh.
50191 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
50192 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
50193 if test -z "$INSTALL"; then
50194 if test "${ac_cv_path_install+set}" = set; then
50195 echo $ECHO_N "(cached) $ECHO_C" >&6
50197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50198 for as_dir in $PATH
50201 test -z "$as_dir" && as_dir=.
50202 # Account for people who put trailing slashes in PATH elements.
50204 ./ | .// | /cC/* | \
50205 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
50206 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
50209 # OSF1 and SCO ODT 3.0 have their own names for install.
50210 # Don't use installbsd from OSF since it installs stuff as root
50212 for ac_prog in ginstall scoinst install; do
50213 for ac_exec_ext in '' $ac_executable_extensions; do
50214 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
50215 if test $ac_prog = install &&
50216 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
50217 # AIX install. It has an incompatible calling convention.
50219 elif test $ac_prog = install &&
50220 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
50221 # program-specific install script used by HP pwplus--don't use.
50224 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
50237 if test "${ac_cv_path_install+set}" = set; then
50238 INSTALL=$ac_cv_path_install
50240 # As a last resort, use the slow shell script. Don't cache a
50241 # value for INSTALL within a source directory, because that will
50242 # break other packages using the cache if that directory is
50243 # removed, or if the value is a relative name.
50244 INSTALL=$ac_install_sh
50247 { echo "$as_me:$LINENO: result: $INSTALL" >&5
50248 echo "${ECHO_T}$INSTALL" >&6; }
50250 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
50251 # It thinks the first close brace ends the variable substitution.
50252 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
50254 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
50256 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
50258 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
50259 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
50261 if test "$LN_S" = "ln -s"; then
50262 { echo "$as_me:$LINENO: result: yes" >&5
50263 echo "${ECHO_T}yes" >&6; }
50265 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
50266 echo "${ECHO_T}no, using $LN_S" >&6; }
50270 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50271 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50272 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50273 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50274 echo $ECHO_N "(cached) $ECHO_C" >&6
50276 cat >conftest.make <<\_ACEOF
50279 @echo '@@@%%%=$(MAKE)=@@@%%%'
50281 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50282 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50283 *@@@%%%=?*=@@@%%%*)
50284 eval ac_cv_prog_make_${ac_make}_set=yes;;
50286 eval ac_cv_prog_make_${ac_make}_set=no;;
50288 rm -f conftest.make
50290 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50291 { echo "$as_me:$LINENO: result: yes" >&5
50292 echo "${ECHO_T}yes" >&6; }
50295 { echo "$as_me:$LINENO: result: no" >&5
50296 echo "${ECHO_T}no" >&6; }
50297 SET_MAKE="MAKE=${MAKE-make}"
50302 if test "x$SUNCXX" = "xyes"; then
50304 AROPTIONS="-xar -o"
50306 elif test "x$SGICC" = "xyes"; then
50311 if test -n "$ac_tool_prefix"; then
50312 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
50313 set dummy ${ac_tool_prefix}ar; ac_word=$2
50314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50316 if test "${ac_cv_prog_AR+set}" = set; then
50317 echo $ECHO_N "(cached) $ECHO_C" >&6
50319 if test -n "$AR"; then
50320 ac_cv_prog_AR="$AR" # Let the user override the test.
50322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50323 for as_dir in $PATH
50326 test -z "$as_dir" && as_dir=.
50327 for ac_exec_ext in '' $ac_executable_extensions; do
50328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50329 ac_cv_prog_AR="${ac_tool_prefix}ar"
50330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50340 if test -n "$AR"; then
50341 { echo "$as_me:$LINENO: result: $AR" >&5
50342 echo "${ECHO_T}$AR" >&6; }
50344 { echo "$as_me:$LINENO: result: no" >&5
50345 echo "${ECHO_T}no" >&6; }
50350 if test -z "$ac_cv_prog_AR"; then
50352 # Extract the first word of "ar", so it can be a program name with args.
50353 set dummy ar; ac_word=$2
50354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50356 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
50357 echo $ECHO_N "(cached) $ECHO_C" >&6
50359 if test -n "$ac_ct_AR"; then
50360 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
50362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50363 for as_dir in $PATH
50366 test -z "$as_dir" && as_dir=.
50367 for ac_exec_ext in '' $ac_executable_extensions; do
50368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50369 ac_cv_prog_ac_ct_AR="ar"
50370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50379 ac_ct_AR=$ac_cv_prog_ac_ct_AR
50380 if test -n "$ac_ct_AR"; then
50381 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
50382 echo "${ECHO_T}$ac_ct_AR" >&6; }
50384 { echo "$as_me:$LINENO: result: no" >&5
50385 echo "${ECHO_T}no" >&6; }
50388 if test "x$ac_ct_AR" = x; then
50391 case $cross_compiling:$ac_tool_warned in
50393 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50394 whose name does not start with the host triplet. If you think this
50395 configuration is useful to you, please write to autoconf@gnu.org." >&5
50396 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50397 whose name does not start with the host triplet. If you think this
50398 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50399 ac_tool_warned=yes ;;
50404 AR="$ac_cv_prog_AR"
50411 if test -n "$ac_tool_prefix"; then
50412 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
50413 set dummy ${ac_tool_prefix}strip; ac_word=$2
50414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50416 if test "${ac_cv_prog_STRIP+set}" = set; then
50417 echo $ECHO_N "(cached) $ECHO_C" >&6
50419 if test -n "$STRIP"; then
50420 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
50422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50423 for as_dir in $PATH
50426 test -z "$as_dir" && as_dir=.
50427 for ac_exec_ext in '' $ac_executable_extensions; do
50428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50429 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
50430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50439 STRIP=$ac_cv_prog_STRIP
50440 if test -n "$STRIP"; then
50441 { echo "$as_me:$LINENO: result: $STRIP" >&5
50442 echo "${ECHO_T}$STRIP" >&6; }
50444 { echo "$as_me:$LINENO: result: no" >&5
50445 echo "${ECHO_T}no" >&6; }
50450 if test -z "$ac_cv_prog_STRIP"; then
50452 # Extract the first word of "strip", so it can be a program name with args.
50453 set dummy strip; ac_word=$2
50454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50456 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
50457 echo $ECHO_N "(cached) $ECHO_C" >&6
50459 if test -n "$ac_ct_STRIP"; then
50460 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
50462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50463 for as_dir in $PATH
50466 test -z "$as_dir" && as_dir=.
50467 for ac_exec_ext in '' $ac_executable_extensions; do
50468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50469 ac_cv_prog_ac_ct_STRIP="strip"
50470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50479 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
50480 if test -n "$ac_ct_STRIP"; then
50481 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50482 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
50484 { echo "$as_me:$LINENO: result: no" >&5
50485 echo "${ECHO_T}no" >&6; }
50488 if test "x$ac_ct_STRIP" = x; then
50491 case $cross_compiling:$ac_tool_warned in
50493 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50494 whose name does not start with the host triplet. If you think this
50495 configuration is useful to you, please write to autoconf@gnu.org." >&5
50496 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50497 whose name does not start with the host triplet. If you think this
50498 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50499 ac_tool_warned=yes ;;
50504 STRIP="$ac_cv_prog_STRIP"
50507 if test -n "$ac_tool_prefix"; then
50508 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50509 set dummy ${ac_tool_prefix}nm; ac_word=$2
50510 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50512 if test "${ac_cv_prog_NM+set}" = set; then
50513 echo $ECHO_N "(cached) $ECHO_C" >&6
50515 if test -n "$NM"; then
50516 ac_cv_prog_NM="$NM" # Let the user override the test.
50518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50519 for as_dir in $PATH
50522 test -z "$as_dir" && as_dir=.
50523 for ac_exec_ext in '' $ac_executable_extensions; do
50524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50525 ac_cv_prog_NM="${ac_tool_prefix}nm"
50526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50536 if test -n "$NM"; then
50537 { echo "$as_me:$LINENO: result: $NM" >&5
50538 echo "${ECHO_T}$NM" >&6; }
50540 { echo "$as_me:$LINENO: result: no" >&5
50541 echo "${ECHO_T}no" >&6; }
50546 if test -z "$ac_cv_prog_NM"; then
50548 # Extract the first word of "nm", so it can be a program name with args.
50549 set dummy nm; ac_word=$2
50550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50552 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50553 echo $ECHO_N "(cached) $ECHO_C" >&6
50555 if test -n "$ac_ct_NM"; then
50556 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50559 for as_dir in $PATH
50562 test -z "$as_dir" && as_dir=.
50563 for ac_exec_ext in '' $ac_executable_extensions; do
50564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50565 ac_cv_prog_ac_ct_NM="nm"
50566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50575 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50576 if test -n "$ac_ct_NM"; then
50577 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50578 echo "${ECHO_T}$ac_ct_NM" >&6; }
50580 { echo "$as_me:$LINENO: result: no" >&5
50581 echo "${ECHO_T}no" >&6; }
50584 if test "x$ac_ct_NM" = x; then
50587 case $cross_compiling:$ac_tool_warned in
50589 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50590 whose name does not start with the host triplet. If you think this
50591 configuration is useful to you, please write to autoconf@gnu.org." >&5
50592 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50593 whose name does not start with the host triplet. If you think this
50594 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50595 ac_tool_warned=yes ;;
50600 NM="$ac_cv_prog_NM"
50604 case ${BAKEFILE_HOST} in
50606 INSTALL_DIR="mkdir -p"
50609 INSTALL_DIR='$(INSTALL) -d'
50615 case ${BAKEFILE_HOST} in
50616 *-*-cygwin* | *-*-mingw32* )
50617 LDFLAGS_GUI="-mwindows"
50623 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50624 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50625 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50626 echo $ECHO_N "(cached) $ECHO_C" >&6
50629 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50630 egrep -s GNU > /dev/null); then
50631 bakefile_cv_prog_makeisgnu="yes"
50633 bakefile_cv_prog_makeisgnu="no"
50637 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50638 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50640 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50657 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50658 case "${BAKEFILE_HOST}" in
50665 *-pc-os2_emx | *-pc-os2-emx )
50675 powerpc-apple-macos* )
50684 case "$BAKEFILE_FORCE_PLATFORM" in
50719 # Check whether --enable-omf was given.
50720 if test "${enable_omf+set}" = set; then
50721 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50725 case "${BAKEFILE_HOST}" in
50727 if test "x$GCC" = "xyes"; then
50728 CFLAGS="$CFLAGS -fno-common"
50729 CXXFLAGS="$CXXFLAGS -fno-common"
50731 if test "x$XLCC" = "xyes"; then
50732 CFLAGS="$CFLAGS -qnocommon"
50733 CXXFLAGS="$CXXFLAGS -qnocommon"
50737 *-pc-os2_emx | *-pc-os2-emx )
50738 if test "x$bk_os2_use_omf" = "xyes" ; then
50741 LDFLAGS="-Zomf $LDFLAGS"
50742 CFLAGS="-Zomf $CFLAGS"
50743 CXXFLAGS="-Zomf $CXXFLAGS"
50751 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50757 SO_SUFFIX_MODULE="so"
50762 DLLPREFIX_MODULE=""
50766 case "${BAKEFILE_HOST}" in
50769 SO_SUFFIX_MODULE="sl"
50773 SO_SUFFIX_MODULE="a"
50777 SO_SUFFIX_MODULE="dll"
50778 DLLIMP_SUFFIX="dll.a"
50785 SO_SUFFIX_MODULE="dll"
50786 DLLIMP_SUFFIX="dll.a"
50796 *-pc-os2_emx | *-pc-os2-emx )
50798 SO_SUFFIX_MODULE="dll"
50799 DLLIMP_SUFFIX=$OS2_LIBEXT
50803 LIBEXT=".$OS2_LIBEXT"
50808 SO_SUFFIX_MODULE="bundle"
50812 if test "x$DLLIMP_SUFFIX" = "x" ; then
50813 DLLIMP_SUFFIX="$SO_SUFFIX"
50828 if test "x$GCC" = "xyes"; then
50832 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50833 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50836 case "${BAKEFILE_HOST}" in
50838 if test "x$GCC" != "xyes"; then
50839 LDFLAGS="$LDFLAGS -L/usr/lib"
50841 SHARED_LD_CC="${CC} -b -o"
50842 SHARED_LD_CXX="${CXX} -b -o"
50848 if test "$INTELCC" = "yes"; then
50850 elif test "x$SUNCXX" = "xyes"; then
50851 SHARED_LD_CC="${CC} -G -o"
50852 SHARED_LD_CXX="${CXX} -G -o"
50858 if test "x$SUNCXX" = xyes ; then
50859 SHARED_LD_CC="${CC} -G -o"
50860 SHARED_LD_CXX="${CXX} -G -o"
50868 cat <<EOF >shared-ld-sh
50870 #-----------------------------------------------------------------------------
50871 #-- Name: distrib/mac/shared-ld-sh
50872 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50873 #-- Author: Gilles Depeyrot
50874 #-- Copyright: (c) 2002 Gilles Depeyrot
50875 #-- Licence: any use permitted
50876 #-----------------------------------------------------------------------------
50881 linking_flag="-dynamiclib"
50882 ldargs="-r -keep_private_externs -nostdlib"
50884 while test ${D}# -gt 0; do
50891 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50892 # collect these options and values
50893 args="${D}{args} ${D}1 ${D}2"
50898 # collect these load args
50899 ldargs="${D}{ldargs} ${D}1"
50902 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50903 # collect these options
50904 args="${D}{args} ${D}1"
50907 -dynamiclib|-bundle)
50908 linking_flag="${D}1"
50912 echo "shared-ld: unhandled option '${D}1'"
50916 *.o | *.a | *.dylib)
50917 # collect object files
50918 objects="${D}{objects} ${D}1"
50922 echo "shared-ld: unhandled argument '${D}1'"
50933 # Link one module containing all the others
50935 if test ${D}{verbose} = 1; then
50936 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50938 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50942 # Link the shared library from the single module created, but only if the
50943 # previous command didn't fail:
50945 if test ${D}{status} = 0; then
50946 if test ${D}{verbose} = 1; then
50947 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50949 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50954 # Remove intermediate module
50956 rm -f master.${D}${D}.o
50961 chmod +x shared-ld-sh
50963 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50964 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50967 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50968 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50969 if test "${bakefile_cv_gcc31+set}" = set; then
50970 echo $ECHO_N "(cached) $ECHO_C" >&6
50973 cat >conftest.$ac_ext <<_ACEOF
50976 cat confdefs.h >>conftest.$ac_ext
50977 cat >>conftest.$ac_ext <<_ACEOF
50978 /* end confdefs.h. */
50984 #if (__GNUC__ < 3) || \
50985 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50993 rm -f conftest.$ac_objext
50994 if { (ac_try="$ac_compile"
50995 case "(($ac_try" in
50996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50997 *) ac_try_echo=$ac_try;;
50999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51000 (eval "$ac_compile") 2>conftest.er1
51002 grep -v '^ *+' conftest.er1 >conftest.err
51004 cat conftest.err >&5
51005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51006 (exit $ac_status); } && {
51007 test -z "$ac_c_werror_flag" ||
51008 test ! -s conftest.err
51009 } && test -s conftest.$ac_objext; then
51011 bakefile_cv_gcc31=yes
51014 echo "$as_me: failed program was:" >&5
51015 sed 's/^/| /' conftest.$ac_ext >&5
51018 bakefile_cv_gcc31=no
51023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51026 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
51027 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
51028 if test "$bakefile_cv_gcc31" = "no"; then
51029 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
51030 SHARED_LD_CXX="$SHARED_LD_CC"
51032 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
51033 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
51036 if test "x$GCC" == "xyes"; then
51037 PIC_FLAG="-dynamic -fPIC"
51039 if test "x$XLCC" = "xyes"; then
51040 PIC_FLAG="-dynamic -DPIC"
51045 if test "x$GCC" = "xyes"; then
51048 case "${BAKEFILE_HOST}" in
51050 LD_EXPFULL="-Wl,-bexpfull"
51054 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
51055 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
51057 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
51058 set dummy makeC++SharedLib; ac_word=$2
51059 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51061 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
51062 echo $ECHO_N "(cached) $ECHO_C" >&6
51064 if test -n "$AIX_CXX_LD"; then
51065 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
51067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51068 for as_dir in $PATH
51071 test -z "$as_dir" && as_dir=.
51072 for ac_exec_ext in '' $ac_executable_extensions; do
51073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51074 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
51075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51082 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
51085 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
51086 if test -n "$AIX_CXX_LD"; then
51087 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
51088 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
51090 { echo "$as_me:$LINENO: result: no" >&5
51091 echo "${ECHO_T}no" >&6; }
51095 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
51096 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
51101 SHARED_LD_CC="${LD} -nostart -o"
51102 SHARED_LD_CXX="${LD} -nostart -o"
51106 if test "x$GCC" != "xyes"; then
51111 *-*-cygwin* | *-*-mingw32* )
51113 SHARED_LD_CC="\$(CC) -shared -o"
51114 SHARED_LD_CXX="\$(CXX) -shared -o"
51118 *-pc-os2_emx | *-pc-os2-emx )
51119 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51120 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51124 cat <<EOF >dllar.sh
51127 # dllar - a tool to build both a .dll and an .a file
51128 # from a set of object (.o) files for EMX/OS2.
51130 # Written by Andrew Zabolotny, bit@freya.etu.ru
51131 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
51133 # This script will accept a set of files on the command line.
51134 # All the public symbols from the .o files will be exported into
51135 # a .DEF file, then linker will be run (through gcc) against them to
51136 # build a shared library consisting of all given .o files. All libraries
51137 # (.a) will be first decompressed into component .o files then act as
51138 # described above. You can optionally give a description (-d "description")
51139 # which will be put into .DLL. To see the list of accepted options (as well
51140 # as command-line format) simply run this program without options. The .DLL
51141 # is built to be imported by name (there is no guarantee that new versions
51142 # of the library you build will have same ordinals for same symbols).
51144 # dllar is free software; you can redistribute it and/or modify
51145 # it under the terms of the GNU General Public License as published by
51146 # the Free Software Foundation; either version 2, or (at your option)
51147 # any later version.
51149 # dllar is distributed in the hope that it will be useful,
51150 # but WITHOUT ANY WARRANTY; without even the implied warranty of
51151 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
51152 # GNU General Public License for more details.
51154 # You should have received a copy of the GNU General Public License
51155 # along with dllar; see the file COPYING. If not, write to the Free
51156 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
51159 # To successfuly run this program you will need:
51160 # - Current drive should have LFN support (HPFS, ext2, network, etc)
51161 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
51163 # (used to build the .dll)
51165 # (used to create .def file from .o files)
51167 # (used to create .a file from .def file)
51168 # - GNU text utilites (cat, sort, uniq)
51169 # used to process emxexp output
51170 # - GNU file utilities (mv, rm)
51172 # - lxlite (optional, see flag below)
51173 # (used for general .dll cleanup)
51180 # basnam, variant of basename, which does _not_ remove the path, _iff_
51181 # second argument (suffix to remove) is given
51185 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
51188 echo ${D}1 | sed 's/'${D}2'${D}//'
51191 echo "error in basnam ${D}*"
51197 # Cleanup temporary files and output
51200 for i in ${D}inputFiles ; do
51203 rm -rf \`basnam ${D}i !\`
51210 # Kill result in case of failure as there is just to many stupid make/nmake
51211 # things out there which doesn't do this.
51212 if [ ${D}# -eq 0 ]; then
51213 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
51217 # Print usage and exit script with rc=1.
51219 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
51220 echo ' [-name-mangler-script script.sh]'
51221 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
51222 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
51223 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
51224 echo ' [*.o] [*.a]'
51225 echo '*> "output_file" should have no extension.'
51226 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
51227 echo ' The import library name is derived from this and is set to "name".a,'
51228 echo ' unless overridden by -import'
51229 echo '*> "importlib_name" should have no extension.'
51230 echo ' If it has the .o, or .a extension, it is automatically removed.'
51231 echo ' This name is used as the import library name and may be longer and'
51232 echo ' more descriptive than the DLL name which has to follow the old '
51233 echo ' 8.3 convention of FAT.'
51234 echo '*> "script.sh may be given to override the output_file name by a'
51235 echo ' different name. It is mainly useful if the regular make process'
51236 echo ' of some package does not take into account OS/2 restriction of'
51237 echo ' DLL name lengths. It takes the importlib name as input and is'
51238 echo ' supposed to procude a shorter name as output. The script should'
51239 echo ' expect to get importlib_name without extension and should produce'
51240 echo ' a (max.) 8 letter name without extension.'
51241 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
51242 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
51243 echo ' These flags will be put at the start of GCC command line.'
51244 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
51245 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
51246 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
51247 echo ' If the last character of a symbol is "*", all symbols beginning'
51248 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
51249 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
51250 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
51251 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
51252 echo ' C runtime DLLs.'
51253 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
51254 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
51255 echo ' unchanged to GCC at the end of command line.'
51256 echo '*> If you create a DLL from a library and you do not specify -o,'
51257 echo ' the basename for DLL and import library will be set to library name,'
51258 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
51259 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
51260 echo ' library will be renamed into gcc_s.a.'
51263 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
51264 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
51269 # Execute a command.
51270 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
51271 # @Uses Whatever CleanUp() uses.
51277 if [ ${D}rcCmd -ne 0 ]; then
51278 echo "command failed, exit code="${D}rcCmd
51293 CFLAGS="-s -Zcrtdll"
51295 EXPORT_BY_ORDINALS=0
51300 case ${D}curDirS in
51304 curDirS=${D}{curDirS}"/"
51307 # Parse commandline
51310 while [ ${D}1 ]; do
51313 EXPORT_BY_ORDINALS=1;
51323 -name-mangler-script)
51344 exclude_symbols=${D}{exclude_symbols}${D}1" "
51348 library_flags=${D}{library_flags}${D}1" "
51367 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51370 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
51371 if [ ${D}omfLinking -eq 1 ]; then
51372 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
51374 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
51379 if [ ${D}libsToLink -ne 0 ]; then
51380 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51382 for file in ${D}1 ; do
51383 if [ -f ${D}file ]; then
51384 inputFiles="${D}{inputFiles} ${D}file"
51388 if [ ${D}found -eq 0 ]; then
51389 echo "ERROR: No file(s) found: "${D}1
51396 done # iterate cmdline words
51399 if [ -z "${D}inputFiles" ]; then
51400 echo "dllar: no input files"
51404 # Now extract all .o files from .a files
51406 for file in ${D}inputFiles ; do
51417 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
51422 dirname=\`basnam ${D}file ${D}suffix\`"_%"
51424 if [ ${D}? -ne 0 ]; then
51425 echo "Failed to create subdirectory ./${D}dirname"
51429 # Append '!' to indicate archive
51430 newInputFiles="${D}newInputFiles ${D}{dirname}!"
51431 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
51434 for subfile in ${D}dirname/*.o* ; do
51435 if [ -f ${D}subfile ]; then
51437 if [ -s ${D}subfile ]; then
51438 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
51439 newInputFiles="${D}newInputFiles ${D}subfile"
51443 if [ ${D}found -eq 0 ]; then
51444 echo "WARNING: there are no files in archive \\'${D}file\\'"
51448 newInputFiles="${D}{newInputFiles} ${D}file"
51452 inputFiles="${D}newInputFiles"
51454 # Output filename(s).
51456 if [ -z ${D}outFile ]; then
51458 set outFile ${D}inputFiles; outFile=${D}2
51461 # If it is an archive, remove the '!' and the '_%' suffixes
51462 case ${D}outFile in
51464 outFile=\`basnam ${D}outFile _%!\`
51469 case ${D}outFile in
51471 outFile=\`basnam ${D}outFile .dll\`
51474 outFile=\`basnam ${D}outFile .DLL\`
51477 outFile=\`basnam ${D}outFile .o\`
51480 outFile=\`basnam ${D}outFile .obj\`
51483 outFile=\`basnam ${D}outFile .a\`
51486 outFile=\`basnam ${D}outFile .lib\`
51491 case ${D}outimpFile in
51493 outimpFile=\`basnam ${D}outimpFile .a\`
51496 outimpFile=\`basnam ${D}outimpFile .lib\`
51501 if [ -z ${D}outimpFile ]; then
51502 outimpFile=${D}outFile
51504 defFile="${D}{outFile}.def"
51505 arcFile="${D}{outimpFile}.a"
51506 arcFile2="${D}{outimpFile}.lib"
51508 #create ${D}dllFile as something matching 8.3 restrictions,
51509 if [ -z ${D}renameScript ] ; then
51510 dllFile="${D}outFile"
51512 dllFile=\`${D}renameScript ${D}outimpFile\`
51515 if [ ${D}do_backup -ne 0 ] ; then
51516 if [ -f ${D}arcFile ] ; then
51517 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51519 if [ -f ${D}arcFile2 ] ; then
51520 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51524 # Extract public symbols from all the object files.
51525 tmpdefFile=${D}{defFile}_%
51526 rm -f ${D}tmpdefFile
51527 for file in ${D}inputFiles ; do
51532 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51537 # Create the def file.
51539 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51540 dllFile="${D}{dllFile}.dll"
51541 if [ ! -z ${D}description ]; then
51542 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51544 echo "EXPORTS" >> ${D}defFile
51546 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51547 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51549 # Checks if the export is ok or not.
51550 for word in ${D}exclude_symbols; do
51551 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51552 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51556 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51557 sed "=" < ${D}tmpdefFile | \\
51561 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51563 ' > ${D}{tmpdefFile}%
51564 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51566 rm -f ${D}{tmpdefFile}%
51568 cat ${D}tmpdefFile >> ${D}defFile
51569 rm -f ${D}tmpdefFile
51571 # Do linking, create implib, and apply lxlite.
51573 for file in ${D}inputFiles ; do
51578 gccCmdl="${D}gccCmdl ${D}file"
51582 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51583 touch "${D}{outFile}.dll"
51585 doCommand "emximp -o ${D}arcFile ${D}defFile"
51586 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51588 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51591 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51593 doCommand "emxomf -s -l ${D}arcFile"
51603 powerpc-apple-macos* | \
51604 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51614 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51615 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51616 { (exit 1); exit 1; }; }
51619 if test "x$PIC_FLAG" != "x" ; then
51620 PIC_FLAG="$PIC_FLAG -DPIC"
51623 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51624 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51626 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51627 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51646 case "${BAKEFILE_HOST}" in
51647 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51648 if test "x$SUNCXX" = "xyes"; then
51651 SONAME_FLAG="-Wl,-soname,"
51686 # Check whether --enable-dependency-tracking was given.
51687 if test "${enable_dependency_tracking+set}" = set; then
51688 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51692 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51693 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51696 if test "x$bk_use_trackdeps" = "xno" ; then
51698 { echo "$as_me:$LINENO: result: disabled" >&5
51699 echo "${ECHO_T}disabled" >&6; }
51703 if test "x$GCC" = "xyes"; then
51705 case "${BAKEFILE_HOST}" in
51707 DEPSFLAG="-no-cpp-precomp -MMD"
51713 { echo "$as_me:$LINENO: result: gcc" >&5
51714 echo "${ECHO_T}gcc" >&6; }
51715 elif test "x$MWCC" = "xyes"; then
51718 { echo "$as_me:$LINENO: result: mwcc" >&5
51719 echo "${ECHO_T}mwcc" >&6; }
51720 elif test "x$SUNCC" = "xyes"; then
51723 { echo "$as_me:$LINENO: result: Sun cc" >&5
51724 echo "${ECHO_T}Sun cc" >&6; }
51725 elif test "x$SGICC" = "xyes"; then
51728 { echo "$as_me:$LINENO: result: SGI cc" >&5
51729 echo "${ECHO_T}SGI cc" >&6; }
51730 elif test "x$HPCC" = "xyes"; then
51733 { echo "$as_me:$LINENO: result: HP cc" >&5
51734 echo "${ECHO_T}HP cc" >&6; }
51735 elif test "x$COMPAQCC" = "xyes"; then
51738 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51739 echo "${ECHO_T}Compaq cc" >&6; }
51742 { echo "$as_me:$LINENO: result: none" >&5
51743 echo "${ECHO_T}none" >&6; }
51746 if test $DEPS_TRACKING = 1 ; then
51752 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51753 # script. It is used to track C/C++ files dependencies in portable way.
51755 # Permission is given to use this file in any way.
51757 DEPSMODE=${DEPSMODE}
51759 DEPSFLAG="${DEPSFLAG}"
51761 mkdir -p ${D}DEPSDIR
51763 if test ${D}DEPSMODE = gcc ; then
51764 ${D}* ${D}{DEPSFLAG}
51766 if test ${D}{status} != 0 ; then
51769 # move created file to the location we want it in:
51770 while test ${D}# -gt 0; do
51784 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51785 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51786 if test -f ${D}depfile ; then
51787 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51790 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51791 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51792 if test ! -f ${D}depfile ; then
51793 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51794 depfile="${D}objfile.d"
51796 if test -f ${D}depfile ; then
51797 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51802 elif test ${D}DEPSMODE = mwcc ; then
51803 ${D}* || exit ${D}?
51804 # Run mwcc again with -MM and redirect into the dep file we want
51805 # NOTE: We can't use shift here because we need ${D}* to be valid
51807 for arg in ${D}* ; do
51808 if test "${D}prevarg" = "-o"; then
51821 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51823 elif test ${D}DEPSMODE = unixcc; then
51824 ${D}* || exit ${D}?
51825 # Run compiler again with deps flag and redirect into the dep file.
51826 # It doesn't work if the '-o FILE' option is used, but without it the
51827 # dependency file will contain the wrong name for the object. So it is
51828 # removed from the command line, and the dep file is fixed with sed.
51830 while test ${D}# -gt 0; do
51837 eval arg${D}#=\\${D}1
51838 cmd="${D}cmd \\${D}arg${D}#"
51843 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51852 BK_DEPS="`pwd`/bk-deps"
51860 case ${BAKEFILE_HOST} in
51861 *-*-cygwin* | *-*-mingw32* )
51862 if test -n "$ac_tool_prefix"; then
51863 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51864 set dummy ${ac_tool_prefix}windres; ac_word=$2
51865 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51867 if test "${ac_cv_prog_WINDRES+set}" = set; then
51868 echo $ECHO_N "(cached) $ECHO_C" >&6
51870 if test -n "$WINDRES"; then
51871 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51874 for as_dir in $PATH
51877 test -z "$as_dir" && as_dir=.
51878 for ac_exec_ext in '' $ac_executable_extensions; do
51879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51880 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51890 WINDRES=$ac_cv_prog_WINDRES
51891 if test -n "$WINDRES"; then
51892 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51893 echo "${ECHO_T}$WINDRES" >&6; }
51895 { echo "$as_me:$LINENO: result: no" >&5
51896 echo "${ECHO_T}no" >&6; }
51901 if test -z "$ac_cv_prog_WINDRES"; then
51902 ac_ct_WINDRES=$WINDRES
51903 # Extract the first word of "windres", so it can be a program name with args.
51904 set dummy windres; ac_word=$2
51905 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51907 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51908 echo $ECHO_N "(cached) $ECHO_C" >&6
51910 if test -n "$ac_ct_WINDRES"; then
51911 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51914 for as_dir in $PATH
51917 test -z "$as_dir" && as_dir=.
51918 for ac_exec_ext in '' $ac_executable_extensions; do
51919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51920 ac_cv_prog_ac_ct_WINDRES="windres"
51921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51930 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51931 if test -n "$ac_ct_WINDRES"; then
51932 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51933 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51935 { echo "$as_me:$LINENO: result: no" >&5
51936 echo "${ECHO_T}no" >&6; }
51939 if test "x$ac_ct_WINDRES" = x; then
51942 case $cross_compiling:$ac_tool_warned in
51944 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51945 whose name does not start with the host triplet. If you think this
51946 configuration is useful to you, please write to autoconf@gnu.org." >&5
51947 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51948 whose name does not start with the host triplet. If you think this
51949 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51950 ac_tool_warned=yes ;;
51952 WINDRES=$ac_ct_WINDRES
51955 WINDRES="$ac_cv_prog_WINDRES"
51960 *-*-darwin* | powerpc-apple-macos* )
51961 # Extract the first word of "Rez", so it can be a program name with args.
51962 set dummy Rez; ac_word=$2
51963 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51965 if test "${ac_cv_prog_REZ+set}" = set; then
51966 echo $ECHO_N "(cached) $ECHO_C" >&6
51968 if test -n "$REZ"; then
51969 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51972 for as_dir in $PATH
51975 test -z "$as_dir" && as_dir=.
51976 for ac_exec_ext in '' $ac_executable_extensions; do
51977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51978 ac_cv_prog_REZ="Rez"
51979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51986 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51989 REZ=$ac_cv_prog_REZ
51990 if test -n "$REZ"; then
51991 { echo "$as_me:$LINENO: result: $REZ" >&5
51992 echo "${ECHO_T}$REZ" >&6; }
51994 { echo "$as_me:$LINENO: result: no" >&5
51995 echo "${ECHO_T}no" >&6; }
51999 # Extract the first word of "SetFile", so it can be a program name with args.
52000 set dummy SetFile; ac_word=$2
52001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52003 if test "${ac_cv_prog_SETFILE+set}" = set; then
52004 echo $ECHO_N "(cached) $ECHO_C" >&6
52006 if test -n "$SETFILE"; then
52007 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
52009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52010 for as_dir in $PATH
52013 test -z "$as_dir" && as_dir=.
52014 for ac_exec_ext in '' $ac_executable_extensions; do
52015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52016 ac_cv_prog_SETFILE="SetFile"
52017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52024 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
52027 SETFILE=$ac_cv_prog_SETFILE
52028 if test -n "$SETFILE"; then
52029 { echo "$as_me:$LINENO: result: $SETFILE" >&5
52030 echo "${ECHO_T}$SETFILE" >&6; }
52032 { echo "$as_me:$LINENO: result: no" >&5
52033 echo "${ECHO_T}no" >&6; }
52045 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
52048 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
52052 # Check whether --enable-precomp-headers was given.
52053 if test "${enable_precomp_headers+set}" = set; then
52054 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
52063 case ${BAKEFILE_HOST} in
52069 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
52070 if test "x$GCC" = "xyes"; then
52071 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
52072 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
52073 cat >conftest.$ac_ext <<_ACEOF
52076 cat confdefs.h >>conftest.$ac_ext
52077 cat >>conftest.$ac_ext <<_ACEOF
52078 /* end confdefs.h. */
52084 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
52085 There is no PCH support
52088 There is no PCH support
52090 #if (__GNUC__ == 3) && \
52091 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
52092 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
52093 ( defined(__INTEL_COMPILER) )
52094 There is no PCH support
52101 rm -f conftest.$ac_objext
52102 if { (ac_try="$ac_compile"
52103 case "(($ac_try" in
52104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52105 *) ac_try_echo=$ac_try;;
52107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52108 (eval "$ac_compile") 2>conftest.er1
52110 grep -v '^ *+' conftest.er1 >conftest.err
52112 cat conftest.err >&5
52113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52114 (exit $ac_status); } && {
52115 test -z "$ac_c_werror_flag" ||
52116 test ! -s conftest.err
52117 } && test -s conftest.$ac_objext; then
52119 { echo "$as_me:$LINENO: result: yes" >&5
52120 echo "${ECHO_T}yes" >&6; }
52124 echo "$as_me: failed program was:" >&5
52125 sed 's/^/| /' conftest.$ac_ext >&5
52128 cat >conftest.$ac_ext <<_ACEOF
52131 cat confdefs.h >>conftest.$ac_ext
52132 cat >>conftest.$ac_ext <<_ACEOF
52133 /* end confdefs.h. */
52139 #if !defined(__INTEL_COMPILER) || \
52140 (__INTEL_COMPILER < 800)
52141 There is no PCH support
52148 rm -f conftest.$ac_objext
52149 if { (ac_try="$ac_compile"
52150 case "(($ac_try" in
52151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52152 *) ac_try_echo=$ac_try;;
52154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52155 (eval "$ac_compile") 2>conftest.er1
52157 grep -v '^ *+' conftest.er1 >conftest.err
52159 cat conftest.err >&5
52160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52161 (exit $ac_status); } && {
52162 test -z "$ac_c_werror_flag" ||
52163 test ! -s conftest.err
52164 } && test -s conftest.$ac_objext; then
52166 { echo "$as_me:$LINENO: result: yes" >&5
52167 echo "${ECHO_T}yes" >&6; }
52171 echo "$as_me: failed program was:" >&5
52172 sed 's/^/| /' conftest.$ac_ext >&5
52175 { echo "$as_me:$LINENO: result: no" >&5
52176 echo "${ECHO_T}no" >&6; }
52180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52185 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
52189 cat <<EOF >bk-make-pch
52192 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
52193 # script. It is used to generated precompiled headers.
52195 # Permission is given to use this file in any way.
52205 while test ${D}{#} -gt 0; do
52209 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
52210 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
52211 headerfile="${D}{incdir}/${D}{header}"
52214 -use-pch|-use_pch )
52219 if test ${D}add_to_cmdline = 1 ; then
52220 compiler="${D}{compiler} ${D}{1}"
52225 if test "x${D}{headerfile}" = "x" ; then
52226 echo "error: can't find header ${D}{header} in include paths" >&2
52228 if test -f ${D}{outfile} ; then
52229 rm -f ${D}{outfile}
52231 mkdir -p \`dirname ${D}{outfile}\`
52233 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
52235 if test "x${GCC_PCH}" = "x1" ; then
52236 # can do this because gcc is >= 3.4:
52237 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
52238 elif test "x${ICC_PCH}" = "x1" ; then
52239 filename=pch_gen-${D}${D}
52240 file=${D}{filename}.c
52241 dfile=${D}{filename}.d
52242 cat > ${D}file <<EOT
52243 #include "${D}header"
52245 # using -MF icc complains about differing command lines in creation/use
52246 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
52247 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
52248 rm -f ${D}file ${D}dfile ${D}{filename}.o
52254 chmod +x bk-make-pch
52255 BK_MAKE_PCH="`pwd`/bk-make-pch"
52264 COND_BUILD_DEBUG="#"
52265 if test "x$BUILD" = "xdebug" ; then
52266 COND_BUILD_DEBUG=""
52269 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
52270 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
52271 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
52274 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
52275 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
52276 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
52279 COND_BUILD_DEBUG_UNICODE_0="#"
52280 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
52281 COND_BUILD_DEBUG_UNICODE_0=""
52284 COND_BUILD_DEBUG_UNICODE_1="#"
52285 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
52286 COND_BUILD_DEBUG_UNICODE_1=""
52289 COND_BUILD_RELEASE="#"
52290 if test "x$BUILD" = "xrelease" ; then
52291 COND_BUILD_RELEASE=""
52294 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
52295 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
52296 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
52299 COND_BUILD_RELEASE_UNICODE_0="#"
52300 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
52301 COND_BUILD_RELEASE_UNICODE_0=""
52304 COND_BUILD_RELEASE_UNICODE_1="#"
52305 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
52306 COND_BUILD_RELEASE_UNICODE_1=""
52309 COND_DEBUG_FLAG_1="#"
52310 if test "x$DEBUG_FLAG" = "x1" ; then
52311 COND_DEBUG_FLAG_1=""
52314 COND_DEBUG_INFO_0="#"
52315 if test "x$DEBUG_INFO" = "x0" ; then
52316 COND_DEBUG_INFO_0=""
52319 COND_DEBUG_INFO_1="#"
52320 if test "x$DEBUG_INFO" = "x1" ; then
52321 COND_DEBUG_INFO_1=""
52324 COND_DEPS_TRACKING_0="#"
52325 if test "x$DEPS_TRACKING" = "x0" ; then
52326 COND_DEPS_TRACKING_0=""
52329 COND_DEPS_TRACKING_1="#"
52330 if test "x$DEPS_TRACKING" = "x1" ; then
52331 COND_DEPS_TRACKING_1=""
52335 if test "x$GCC_PCH" = "x1" ; then
52340 if test "x$ICC_PCH" = "x1" ; then
52344 COND_MONOLITHIC_0="#"
52345 if test "x$MONOLITHIC" = "x0" ; then
52346 COND_MONOLITHIC_0=""
52349 COND_MONOLITHIC_0_SHARED_0="#"
52350 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
52351 COND_MONOLITHIC_0_SHARED_0=""
52354 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
52355 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
52356 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
52359 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
52360 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
52361 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
52364 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
52365 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52366 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
52369 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
52370 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52371 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
52374 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
52375 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52376 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
52379 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
52380 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52381 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
52384 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
52385 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
52386 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
52389 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
52390 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52391 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
52394 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
52395 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52396 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
52399 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
52400 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52401 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
52404 COND_MONOLITHIC_0_SHARED_1="#"
52405 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
52406 COND_MONOLITHIC_0_SHARED_1=""
52409 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
52410 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
52411 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
52414 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
52415 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
52416 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
52419 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
52420 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52421 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
52424 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
52425 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52426 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
52429 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
52430 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52431 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
52434 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
52435 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52436 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
52439 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
52440 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
52441 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
52444 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
52445 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
52446 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
52449 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
52450 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
52451 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
52454 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
52455 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52456 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
52459 COND_MONOLITHIC_0_USE_AUI_1="#"
52460 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52461 COND_MONOLITHIC_0_USE_AUI_1=""
52464 COND_MONOLITHIC_0_USE_GUI_1="#"
52465 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52466 COND_MONOLITHIC_0_USE_GUI_1=""
52469 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
52470 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52471 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
52474 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
52475 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52476 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
52479 COND_MONOLITHIC_0_USE_HTML_1="#"
52480 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52481 COND_MONOLITHIC_0_USE_HTML_1=""
52484 COND_MONOLITHIC_0_USE_MEDIA_1="#"
52485 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52486 COND_MONOLITHIC_0_USE_MEDIA_1=""
52489 COND_MONOLITHIC_0_USE_ODBC_1="#"
52490 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
52491 COND_MONOLITHIC_0_USE_ODBC_1=""
52494 COND_MONOLITHIC_0_USE_QA_1="#"
52495 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52496 COND_MONOLITHIC_0_USE_QA_1=""
52499 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52500 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52501 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52504 COND_MONOLITHIC_0_USE_STC_1="#"
52505 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52506 COND_MONOLITHIC_0_USE_STC_1=""
52509 COND_MONOLITHIC_0_USE_XRC_1="#"
52510 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52511 COND_MONOLITHIC_0_USE_XRC_1=""
52514 COND_MONOLITHIC_1="#"
52515 if test "x$MONOLITHIC" = "x1" ; then
52516 COND_MONOLITHIC_1=""
52519 COND_MONOLITHIC_1_SHARED_0="#"
52520 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52521 COND_MONOLITHIC_1_SHARED_0=""
52524 COND_MONOLITHIC_1_SHARED_1="#"
52525 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52526 COND_MONOLITHIC_1_SHARED_1=""
52529 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52530 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52531 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52534 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52535 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52536 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52539 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52540 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52541 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52544 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52545 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52546 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52549 COND_PLATFORM_MACOSX_1="#"
52550 if test "x$PLATFORM_MACOSX" = "x1" ; then
52551 COND_PLATFORM_MACOSX_1=""
52554 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
52555 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
52556 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
52559 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
52560 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
52561 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
52564 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
52565 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
52566 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
52569 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
52570 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
52571 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
52574 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
52575 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52576 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
52579 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
52580 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
52581 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
52584 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
52585 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52586 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
52589 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52590 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52591 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52594 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52595 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52596 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52599 COND_PLATFORM_MACOS_1="#"
52600 if test "x$PLATFORM_MACOS" = "x1" ; then
52601 COND_PLATFORM_MACOS_1=""
52604 COND_PLATFORM_MAC_1="#"
52605 if test "x$PLATFORM_MAC" = "x1" ; then
52606 COND_PLATFORM_MAC_1=""
52609 COND_PLATFORM_MSDOS_0="#"
52610 if test "x$PLATFORM_MSDOS" = "x0" ; then
52611 COND_PLATFORM_MSDOS_0=""
52614 COND_PLATFORM_MSDOS_1="#"
52615 if test "x$PLATFORM_MSDOS" = "x1" ; then
52616 COND_PLATFORM_MSDOS_1=""
52619 COND_PLATFORM_OS2_1="#"
52620 if test "x$PLATFORM_OS2" = "x1" ; then
52621 COND_PLATFORM_OS2_1=""
52624 COND_PLATFORM_UNIX_0="#"
52625 if test "x$PLATFORM_UNIX" = "x0" ; then
52626 COND_PLATFORM_UNIX_0=""
52629 COND_PLATFORM_UNIX_1="#"
52630 if test "x$PLATFORM_UNIX" = "x1" ; then
52631 COND_PLATFORM_UNIX_1=""
52634 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52635 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52636 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52639 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52640 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52641 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52644 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52645 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52646 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52649 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52650 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52651 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52654 COND_PLATFORM_WIN32_0="#"
52655 if test "x$PLATFORM_WIN32" = "x0" ; then
52656 COND_PLATFORM_WIN32_0=""
52659 COND_PLATFORM_WIN32_1="#"
52660 if test "x$PLATFORM_WIN32" = "x1" ; then
52661 COND_PLATFORM_WIN32_1=""
52665 if test "x$SHARED" = "x0" ; then
52669 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52670 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52671 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52674 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52675 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52676 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52679 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52680 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52681 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52684 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52685 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52686 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52689 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52690 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52691 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52694 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52695 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52696 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52699 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52700 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52701 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52704 COND_SHARED_0_USE_STC_1="#"
52705 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52706 COND_SHARED_0_USE_STC_1=""
52709 COND_SHARED_0_USE_XRC_1="#"
52710 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52711 COND_SHARED_0_USE_XRC_1=""
52714 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52715 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52716 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52719 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52720 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52721 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52724 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52725 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52726 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52729 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52730 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52731 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52735 if test "x$SHARED" = "x1" ; then
52739 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52740 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52741 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52744 COND_SHARED_1_USE_XRC_1="#"
52745 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52746 COND_SHARED_1_USE_XRC_1=""
52750 if test "x$TOOLKIT" = "x" ; then
52754 COND_TOOLKIT_COCOA="#"
52755 if test "x$TOOLKIT" = "xCOCOA" ; then
52756 COND_TOOLKIT_COCOA=""
52759 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52760 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52761 COND_TOOLKIT_COCOA_USE_GUI_1=""
52764 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52765 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52766 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52769 COND_TOOLKIT_DFB="#"
52770 if test "x$TOOLKIT" = "xDFB" ; then
52771 COND_TOOLKIT_DFB=""
52774 COND_TOOLKIT_DFB_USE_GUI_1="#"
52775 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52776 COND_TOOLKIT_DFB_USE_GUI_1=""
52779 COND_TOOLKIT_GTK="#"
52780 if test "x$TOOLKIT" = "xGTK" ; then
52781 COND_TOOLKIT_GTK=""
52784 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52785 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52786 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52789 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52790 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52791 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52794 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52795 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52796 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52799 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52800 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52801 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52804 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52805 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52806 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52809 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52810 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52811 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52814 COND_TOOLKIT_GTK_USE_GUI_1="#"
52815 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52816 COND_TOOLKIT_GTK_USE_GUI_1=""
52819 COND_TOOLKIT_MAC="#"
52820 if test "x$TOOLKIT" = "xMAC" ; then
52821 COND_TOOLKIT_MAC=""
52824 COND_TOOLKIT_MAC_USE_GUI_1="#"
52825 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52826 COND_TOOLKIT_MAC_USE_GUI_1=""
52829 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52830 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52831 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52834 COND_TOOLKIT_MGL="#"
52835 if test "x$TOOLKIT" = "xMGL" ; then
52836 COND_TOOLKIT_MGL=""
52839 COND_TOOLKIT_MGL_USE_GUI_1="#"
52840 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52841 COND_TOOLKIT_MGL_USE_GUI_1=""
52844 COND_TOOLKIT_MOTIF="#"
52845 if test "x$TOOLKIT" = "xMOTIF" ; then
52846 COND_TOOLKIT_MOTIF=""
52849 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52850 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52851 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52854 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52855 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52856 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52859 COND_TOOLKIT_MSW="#"
52860 if test "x$TOOLKIT" = "xMSW" ; then
52861 COND_TOOLKIT_MSW=""
52864 COND_TOOLKIT_MSW_USE_GUI_1="#"
52865 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52866 COND_TOOLKIT_MSW_USE_GUI_1=""
52869 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52870 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52871 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52874 COND_TOOLKIT_MSW_WXUNIV_0="#"
52875 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52876 COND_TOOLKIT_MSW_WXUNIV_0=""
52879 COND_TOOLKIT_PM="#"
52880 if test "x$TOOLKIT" = "xPM" ; then
52884 COND_TOOLKIT_PM_USE_GUI_1="#"
52885 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52886 COND_TOOLKIT_PM_USE_GUI_1=""
52889 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52890 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52891 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52894 COND_TOOLKIT_WINCE="#"
52895 if test "x$TOOLKIT" = "xWINCE" ; then
52896 COND_TOOLKIT_WINCE=""
52899 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52900 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52901 COND_TOOLKIT_WINCE_USE_GUI_1=""
52904 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52905 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52906 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52909 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52910 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52911 COND_TOOLKIT_WINCE_WXUNIV_0=""
52914 COND_TOOLKIT_X11="#"
52915 if test "x$TOOLKIT" = "xX11" ; then
52916 COND_TOOLKIT_X11=""
52919 COND_TOOLKIT_X11_USE_GUI_1="#"
52920 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52921 COND_TOOLKIT_X11_USE_GUI_1=""
52925 if test "x$UNICODE" = "x1" ; then
52929 COND_USE_EXCEPTIONS_0="#"
52930 if test "x$USE_EXCEPTIONS" = "x0" ; then
52931 COND_USE_EXCEPTIONS_0=""
52934 COND_USE_EXCEPTIONS_1="#"
52935 if test "x$USE_EXCEPTIONS" = "x1" ; then
52936 COND_USE_EXCEPTIONS_1=""
52940 if test "x$USE_GUI" = "x0" ; then
52945 if test "x$USE_GUI" = "x1" ; then
52949 COND_USE_GUI_1_USE_OPENGL_1="#"
52950 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52951 COND_USE_GUI_1_USE_OPENGL_1=""
52954 COND_USE_GUI_1_WXUNIV_0="#"
52955 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52956 COND_USE_GUI_1_WXUNIV_0=""
52959 COND_USE_GUI_1_WXUNIV_1="#"
52960 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52961 COND_USE_GUI_1_WXUNIV_1=""
52964 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52965 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52966 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52969 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52970 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52971 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52974 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52975 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52976 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52979 COND_USE_ODBC_1="#"
52980 if test "x$USE_ODBC" = "x1" ; then
52984 COND_USE_OPENGL_1="#"
52985 if test "x$USE_OPENGL" = "x1" ; then
52986 COND_USE_OPENGL_1=""
52990 if test "x$USE_PCH" = "x1" ; then
52994 COND_USE_PLUGINS_0="#"
52995 if test "x$USE_PLUGINS" = "x0" ; then
52996 COND_USE_PLUGINS_0=""
52999 COND_USE_RTTI_0="#"
53000 if test "x$USE_RTTI" = "x0" ; then
53004 COND_USE_RTTI_1="#"
53005 if test "x$USE_RTTI" = "x1" ; then
53009 COND_USE_SOSYMLINKS_1="#"
53010 if test "x$USE_SOSYMLINKS" = "x1" ; then
53011 COND_USE_SOSYMLINKS_1=""
53014 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
53015 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
53016 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
53019 COND_USE_SOVERLINUX_1="#"
53020 if test "x$USE_SOVERLINUX" = "x1" ; then
53021 COND_USE_SOVERLINUX_1=""
53024 COND_USE_SOVERSION_0="#"
53025 if test "x$USE_SOVERSION" = "x0" ; then
53026 COND_USE_SOVERSION_0=""
53029 COND_USE_SOVERSOLARIS_1="#"
53030 if test "x$USE_SOVERSOLARIS" = "x1" ; then
53031 COND_USE_SOVERSOLARIS_1=""
53035 if test "x$USE_STC" = "x1" ; then
53039 COND_USE_THREADS_0="#"
53040 if test "x$USE_THREADS" = "x0" ; then
53041 COND_USE_THREADS_0=""
53044 COND_USE_THREADS_1="#"
53045 if test "x$USE_THREADS" = "x1" ; then
53046 COND_USE_THREADS_1=""
53050 if test "x$USE_XRC" = "x1" ; then
53054 COND_WINDOWS_IMPLIB_1="#"
53055 if test "x$WINDOWS_IMPLIB" = "x1" ; then
53056 COND_WINDOWS_IMPLIB_1=""
53059 COND_WITH_PLUGIN_SDL_1="#"
53060 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
53061 COND_WITH_PLUGIN_SDL_1=""
53065 if test "x$WXUNIV" = "x0" ; then
53070 if test "x$WXUNIV" = "x1" ; then
53074 COND_WXUSE_EXPAT_BUILTIN="#"
53075 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
53076 COND_WXUSE_EXPAT_BUILTIN=""
53079 COND_WXUSE_LIBJPEG_BUILTIN="#"
53080 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
53081 COND_WXUSE_LIBJPEG_BUILTIN=""
53084 COND_WXUSE_LIBPNG_BUILTIN="#"
53085 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
53086 COND_WXUSE_LIBPNG_BUILTIN=""
53089 COND_WXUSE_LIBTIFF_BUILTIN="#"
53090 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
53091 COND_WXUSE_LIBTIFF_BUILTIN=""
53094 COND_WXUSE_ODBC_BUILTIN="#"
53095 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
53096 COND_WXUSE_ODBC_BUILTIN=""
53099 COND_WXUSE_REGEX_BUILTIN="#"
53100 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
53101 COND_WXUSE_REGEX_BUILTIN=""
53104 COND_WXUSE_ZLIB_BUILTIN="#"
53105 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
53106 COND_WXUSE_ZLIB_BUILTIN=""
53111 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
53112 { { 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
53113 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;}
53114 { (exit 1); exit 1; }; }
53117 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
53118 { { 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
53119 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;}
53120 { (exit 1); exit 1; }; }
53124 if test $GCC_PCH = 1
53126 if test "$wx_cv_gcc_pch_bug" = yes; then
53127 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
53128 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
53129 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
53130 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
53131 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
53132 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
53135 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
53139 if test "$wxUSE_MAC" = 1 ; then
53140 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
53141 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
53147 if test "$wxUSE_SHARED" = "yes"; then
53149 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
53150 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
53153 *-pc-os2_emx | *-pc-os2-emx )
53154 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53155 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53156 cp -p ${srcdir}/src/os2/dllnames.sh .
53157 cp -p ${srcdir}/src/os2/dllar.sh .
53162 EXE_LINKER="$CXX -o"
53165 if test "$wxUSE_OMF" = "yes"; then
53167 *-pc-os2_emx | *-pc-os2-emx )
53168 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
53169 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
53170 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
53175 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
53180 if "$GCC" = yes; then
53181 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
53182 LIBS=`echo $LIBS | sed 's/-mt//'`
53183 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
53188 if test "x$SUNCXX" = xyes; then
53189 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
53190 LIBS=`echo $LIBS | sed 's/-pthread//'`
53191 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
53196 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
53197 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
53199 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
53261 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
53262 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
53263 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
53264 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
53265 echo $ECHO_N "(cached) $ECHO_C" >&6
53267 cat >conftest.make <<\_ACEOF
53270 @echo '@@@%%%=$(MAKE)=@@@%%%'
53272 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
53273 case `${MAKE-make} -f conftest.make 2>/dev/null` in
53274 *@@@%%%=?*=@@@%%%*)
53275 eval ac_cv_prog_make_${ac_make}_set=yes;;
53277 eval ac_cv_prog_make_${ac_make}_set=no;;
53279 rm -f conftest.make
53281 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
53282 { echo "$as_me:$LINENO: result: yes" >&5
53283 echo "${ECHO_T}yes" >&6; }
53286 { echo "$as_me:$LINENO: result: no" >&5
53287 echo "${ECHO_T}no" >&6; }
53288 SET_MAKE="MAKE=${MAKE-make}"
53293 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
53296 if test "$USE_WIN32" = 1; then
53297 ac_config_commands="$ac_config_commands
53303 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
53306 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
53309 if test "$wx_cv_version_script" = "yes"; then
53310 ac_config_files="$ac_config_files version-script"
53313 ac_config_files="$ac_config_files Makefile"
53316 ac_config_commands="$ac_config_commands wx-config"
53320 if test "$wxWITH_SUBDIRS" != "no"; then
53321 if test "$wxUSE_GUI" = "yes"; then
53322 SUBDIRS="samples demos utils"
53323 else SUBDIRS="samples utils"
53328 # Check whether --with-cppunit-prefix was given.
53329 if test "${with_cppunit_prefix+set}" = set; then
53330 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
53332 cppunit_config_prefix=""
53336 # Check whether --with-cppunit-exec-prefix was given.
53337 if test "${with_cppunit_exec_prefix+set}" = set; then
53338 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
53340 cppunit_config_exec_prefix=""
53344 if test x$cppunit_config_exec_prefix != x ; then
53345 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53346 if test x${CPPUNIT_CONFIG+set} != xset ; then
53347 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
53350 if test x$cppunit_config_prefix != x ; then
53351 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
53352 if test x${CPPUNIT_CONFIG+set} != xset ; then
53353 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
53357 # Extract the first word of "cppunit-config", so it can be a program name with args.
53358 set dummy cppunit-config; ac_word=$2
53359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53361 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53362 echo $ECHO_N "(cached) $ECHO_C" >&6
53364 case $CPPUNIT_CONFIG in
53366 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53370 for as_dir in $PATH
53373 test -z "$as_dir" && as_dir=.
53374 for ac_exec_ext in '' $ac_executable_extensions; do
53375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53376 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
53377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53384 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
53388 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53389 if test -n "$CPPUNIT_CONFIG"; then
53390 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53391 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53393 { echo "$as_me:$LINENO: result: no" >&5
53394 echo "${ECHO_T}no" >&6; }
53398 cppunit_version_min=1.8.0
53400 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53401 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53403 if test "$CPPUNIT_CONFIG" = "no" ; then
53404 { echo "$as_me:$LINENO: result: no" >&5
53405 echo "${ECHO_T}no" >&6; }
53408 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53409 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53410 cppunit_version=`$CPPUNIT_CONFIG --version`
53412 cppunit_major_version=`echo $cppunit_version | \
53413 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53414 cppunit_minor_version=`echo $cppunit_version | \
53415 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53416 cppunit_micro_version=`echo $cppunit_version | \
53417 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53419 cppunit_major_min=`echo $cppunit_version_min | \
53420 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53421 cppunit_minor_min=`echo $cppunit_version_min | \
53422 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53423 cppunit_micro_min=`echo $cppunit_version_min | \
53424 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53426 cppunit_version_proper=`expr \
53427 $cppunit_major_version \> $cppunit_major_min \| \
53428 $cppunit_major_version \= $cppunit_major_min \& \
53429 $cppunit_minor_version \> $cppunit_minor_min \| \
53430 $cppunit_major_version \= $cppunit_major_min \& \
53431 $cppunit_minor_version \= $cppunit_minor_min \& \
53432 $cppunit_micro_version \>= $cppunit_micro_min `
53434 if test "$cppunit_version_proper" = "1" ; then
53435 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53436 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53438 { echo "$as_me:$LINENO: result: no" >&5
53439 echo "${ECHO_T}no" >&6; }
53444 if test "x$no_cppunit" = x ; then
53445 SUBDIRS="$SUBDIRS tests"
53456 for subdir in `echo $SUBDIRS`; do
53457 if test -d ${srcdir}/${subdir} ; then
53458 if test "$wxUSE_GUI" = "yes"; then
53459 if test ${subdir} = "samples"; then
53460 makefiles="samples/Makefile.in $makefiles"
53461 for sample in `echo $SAMPLES_SUBDIRS`; do
53462 if test -d $srcdir/samples/$sample; then
53463 makefiles="samples/$sample/Makefile.in $makefiles"
53467 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
53468 eval "disabled=\$$disabled_var"
53469 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53470 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53472 else if test ${subdir} = "samples"; then
53473 makefiles="samples/Makefile.in samples/console/Makefile.in"
53474 elif test ${subdir} = "utils"; then
53476 for util in HelpGen tex2rtf ; do
53477 if test -d $srcdir/utils/$util ; then
53478 makefiles="utils/$util/Makefile.in \
53479 utils/$util/src/Makefile.in \
53483 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53487 for mkin in $makefiles ; do
53488 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53489 ac_config_files="$ac_config_files $mk"
53495 cat >confcache <<\_ACEOF
53496 # This file is a shell script that caches the results of configure
53497 # tests run on this system so they can be shared between configure
53498 # scripts and configure runs, see configure's option --config-cache.
53499 # It is not useful on other systems. If it contains results you don't
53500 # want to keep, you may remove or edit it.
53502 # config.status only pays attention to the cache file if you give it
53503 # the --recheck option to rerun configure.
53505 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53506 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53507 # following values.
53511 # The following way of writing the cache mishandles newlines in values,
53512 # but we know of no workaround that is simple, portable, and efficient.
53513 # So, we kill variables containing newlines.
53514 # Ultrix sh set writes to stderr and can't be redirected directly,
53515 # and sets the high bit in the cache file unless we assign to the vars.
53517 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53518 eval ac_val=\$$ac_var
53522 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53523 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53526 _ | IFS | as_nl) ;; #(
53527 *) $as_unset $ac_var ;;
53533 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53534 *${as_nl}ac_space=\ *)
53535 # `set' does not quote correctly, so add quotes (double-quote
53536 # substitution turns \\\\ into \\, and sed turns \\ into \).
53539 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53542 # `set' quotes correctly as required by POSIX, so do not add quotes.
53543 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53552 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53554 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53556 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53557 if test -w "$cache_file"; then
53558 test "x$cache_file" != "x/dev/null" &&
53559 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53560 echo "$as_me: updating cache $cache_file" >&6;}
53561 cat confcache >$cache_file
53563 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53564 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53569 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53570 # Let make expand exec_prefix.
53571 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53573 DEFS=-DHAVE_CONFIG_H
53577 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53578 # 1. Remove the extension, and $U if already installed.
53579 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53580 ac_i=`echo "$ac_i" | sed "$ac_script"`
53581 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53582 # will be set to the directory where LIBOBJS objects are built.
53583 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53584 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53586 LIBOBJS=$ac_libobjs
53588 LTLIBOBJS=$ac_ltlibobjs
53592 : ${CONFIG_STATUS=./config.status}
53593 ac_clean_files_save=$ac_clean_files
53594 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53595 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53596 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53597 cat >$CONFIG_STATUS <<_ACEOF
53599 # Generated by $as_me.
53600 # Run this file to recreate the current configuration.
53601 # Compiler output produced by configure, useful for debugging
53602 # configure, is in config.log if it exists.
53605 ac_cs_recheck=false
53607 SHELL=\${CONFIG_SHELL-$SHELL}
53610 cat >>$CONFIG_STATUS <<\_ACEOF
53611 ## --------------------- ##
53612 ## M4sh Initialization. ##
53613 ## --------------------- ##
53615 # Be more Bourne compatible
53616 DUALCASE=1; export DUALCASE # for MKS sh
53617 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53620 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53621 # is contrary to our usage. Disable this feature.
53622 alias -g '${1+"$@"}'='"$@"'
53623 setopt NO_GLOB_SUBST
53625 case `(set -o) 2>/dev/null` in
53626 *posix*) set -o posix ;;
53635 # Avoid depending upon Character Ranges.
53636 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53637 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53638 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53639 as_cr_digits='0123456789'
53640 as_cr_alnum=$as_cr_Letters$as_cr_digits
53642 # The user is always right.
53643 if test "${PATH_SEPARATOR+set}" != set; then
53644 echo "#! /bin/sh" >conf$$.sh
53645 echo "exit 0" >>conf$$.sh
53647 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53655 # Support unset when possible.
53656 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53664 # We need space, tab and new line, in precisely that order. Quoting is
53665 # there to prevent editors from complaining about space-tab.
53666 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53667 # splitting by setting IFS to empty value.)
53672 # Find who we are. Look in the path if we contain no directory separator.
53674 *[\\/]* ) as_myself=$0 ;;
53675 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53676 for as_dir in $PATH
53679 test -z "$as_dir" && as_dir=.
53680 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53686 # We did not find ourselves, most probably we were run as `sh COMMAND'
53687 # in which case we are not to be found in the path.
53688 if test "x$as_myself" = x; then
53691 if test ! -f "$as_myself"; then
53692 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53693 { (exit 1); exit 1; }
53696 # Work around bugs in pre-3.0 UWIN ksh.
53697 for as_var in ENV MAIL MAILPATH
53698 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53706 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53707 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53708 LC_TELEPHONE LC_TIME
53710 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53711 eval $as_var=C; export $as_var
53713 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53717 # Required to use basename.
53718 if expr a : '\(a\)' >/dev/null 2>&1 &&
53719 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53725 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53726 as_basename=basename
53732 # Name of the executable.
53733 as_me=`$as_basename -- "$0" ||
53734 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53735 X"$0" : 'X\(//\)$' \| \
53736 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53738 sed '/^.*\/\([^/][^/]*\)\/*$/{
53757 as_lineno_1=$LINENO
53758 as_lineno_2=$LINENO
53759 test "x$as_lineno_1" != "x$as_lineno_2" &&
53760 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53762 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53763 # uniformly replaced by the line number. The first 'sed' inserts a
53764 # line-number line after each line using $LINENO; the second 'sed'
53765 # does the real work. The second script uses 'N' to pair each
53766 # line-number line with the line containing $LINENO, and appends
53767 # trailing '-' during substitution so that $LINENO is not a special
53768 # case at line end.
53769 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53770 # scripts with optimization help from Paolo Bonzini. Blame Lee
53771 # E. McMahon (1931-1989) for sed's syntax. :-)
53783 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53786 ' >$as_me.lineno &&
53787 chmod +x "$as_me.lineno" ||
53788 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53789 { (exit 1); exit 1; }; }
53791 # Don't try to exec as it changes $[0], causing all sort of problems
53792 # (the dirname of $[0] is not the place where we might find the
53793 # original and so on. Autoconf is especially sensitive to this).
53794 . "./$as_me.lineno"
53795 # Exit status is that of the last command.
53800 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53806 ECHO_C= ECHO_N= ECHO_T=
53807 case `echo -n x` in
53809 case `echo 'x\c'` in
53810 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53817 if expr a : '\(a\)' >/dev/null 2>&1 &&
53818 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53824 rm -f conf$$ conf$$.exe conf$$.file
53825 if test -d conf$$.dir; then
53826 rm -f conf$$.dir/conf$$.file
53832 if ln -s conf$$.file conf$$ 2>/dev/null; then
53834 # ... but there are two gotchas:
53835 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53836 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53837 # In both cases, we have to default to `cp -p'.
53838 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53840 elif ln conf$$.file conf$$ 2>/dev/null; then
53845 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53846 rmdir conf$$.dir 2>/dev/null
53848 if mkdir -p . 2>/dev/null; then
53851 test -d ./-p && rmdir ./-p
53855 if test -x / >/dev/null 2>&1; then
53856 as_test_x='test -x'
53858 if ls -dL / >/dev/null 2>&1; then
53865 if test -d "$1"; then
53871 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53872 ???[sx]*):;;*)false;;esac;fi
53876 as_executable_p=$as_test_x
53878 # Sed expression to map a string onto a valid CPP name.
53879 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53881 # Sed expression to map a string onto a valid variable name.
53882 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53887 # Save the log message, to keep $[0] and so on meaningful, and to
53888 # report actual input values of CONFIG_FILES etc. instead of their
53889 # values after options handling.
53891 This file was extended by wxWidgets $as_me 2.9.0, which was
53892 generated by GNU Autoconf 2.61. Invocation command line was
53894 CONFIG_FILES = $CONFIG_FILES
53895 CONFIG_HEADERS = $CONFIG_HEADERS
53896 CONFIG_LINKS = $CONFIG_LINKS
53897 CONFIG_COMMANDS = $CONFIG_COMMANDS
53900 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53905 cat >>$CONFIG_STATUS <<_ACEOF
53906 # Files that config.status was made for.
53907 config_files="$ac_config_files"
53908 config_headers="$ac_config_headers"
53909 config_commands="$ac_config_commands"
53913 cat >>$CONFIG_STATUS <<\_ACEOF
53915 \`$as_me' instantiates files from templates according to the
53916 current configuration.
53918 Usage: $0 [OPTIONS] [FILE]...
53920 -h, --help print this help, then exit
53921 -V, --version print version number and configuration settings, then exit
53922 -q, --quiet do not print progress messages
53923 -d, --debug don't remove temporary files
53924 --recheck update $as_me by reconfiguring in the same conditions
53925 --file=FILE[:TEMPLATE]
53926 instantiate the configuration file FILE
53927 --header=FILE[:TEMPLATE]
53928 instantiate the configuration header FILE
53930 Configuration files:
53933 Configuration headers:
53936 Configuration commands:
53939 Report bugs to <bug-autoconf@gnu.org>."
53942 cat >>$CONFIG_STATUS <<_ACEOF
53944 wxWidgets config.status 2.9.0
53945 configured by $0, generated by GNU Autoconf 2.61,
53946 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53948 Copyright (C) 2006 Free Software Foundation, Inc.
53949 This config.status script is free software; the Free Software Foundation
53950 gives unlimited permission to copy, distribute and modify it."
53957 cat >>$CONFIG_STATUS <<\_ACEOF
53958 # If no file are specified by the user, then we need to provide default
53959 # value. By we need to know if files were specified by the user.
53965 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53966 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53977 # Handling of the options.
53978 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53980 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53981 echo "$ac_cs_version"; exit ;;
53982 --debug | --debu | --deb | --de | --d | -d )
53984 --file | --fil | --fi | --f )
53986 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53987 ac_need_defaults=false;;
53988 --header | --heade | --head | --hea )
53990 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53991 ac_need_defaults=false;;
53993 # Conflict between --help and --header
53994 { echo "$as_me: error: ambiguous option: $1
53995 Try \`$0 --help' for more information." >&2
53996 { (exit 1); exit 1; }; };;
53997 --help | --hel | -h )
53998 echo "$ac_cs_usage"; exit ;;
53999 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
54000 | -silent | --silent | --silen | --sile | --sil | --si | --s)
54003 # This is an error.
54004 -*) { echo "$as_me: error: unrecognized option: $1
54005 Try \`$0 --help' for more information." >&2
54006 { (exit 1); exit 1; }; } ;;
54008 *) ac_config_targets="$ac_config_targets $1"
54009 ac_need_defaults=false ;;
54015 ac_configure_extra_args=
54017 if $ac_cs_silent; then
54019 ac_configure_extra_args="$ac_configure_extra_args --silent"
54023 cat >>$CONFIG_STATUS <<_ACEOF
54024 if \$ac_cs_recheck; then
54025 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
54026 CONFIG_SHELL=$SHELL
54027 export CONFIG_SHELL
54028 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
54032 cat >>$CONFIG_STATUS <<\_ACEOF
54036 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
54037 ## Running $as_me. ##
54043 cat >>$CONFIG_STATUS <<_ACEOF
54049 infile="$srcdir/include/wx/msw/genrcdefs.h"
54050 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
54053 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54054 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54055 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54061 cat >>$CONFIG_STATUS <<\_ACEOF
54063 # Handling of arguments.
54064 for ac_config_target in $ac_config_targets
54066 case $ac_config_target in
54067 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
54068 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
54069 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
54070 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
54071 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
54072 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
54073 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
54074 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
54076 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
54077 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
54078 { (exit 1); exit 1; }; };;
54083 # If the user did not use the arguments to specify the items to instantiate,
54084 # then the envvar interface is used. Set only those that are not.
54085 # We use the long form for the default assignment because of an extremely
54086 # bizarre bug on SunOS 4.1.3.
54087 if $ac_need_defaults; then
54088 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
54089 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
54090 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
54093 # Have a temporary directory for convenience. Make it in the build tree
54094 # simply because there is no reason against having it here, and in addition,
54095 # creating and moving files from /tmp can sometimes cause problems.
54096 # Hook for its removal unless debugging.
54097 # Note that there is a small window in which the directory will not be cleaned:
54098 # after its creation but before its name has been assigned to `$tmp'.
54102 trap 'exit_status=$?
54103 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
54105 trap '{ (exit 1); exit 1; }' 1 2 13 15
54107 # Create a (secure) tmp directory for tmp files.
54110 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
54111 test -n "$tmp" && test -d "$tmp"
54114 tmp=./conf$$-$RANDOM
54115 (umask 077 && mkdir "$tmp")
54118 echo "$me: cannot create a temporary directory in ." >&2
54119 { (exit 1); exit 1; }
54123 # Set up the sed scripts for CONFIG_FILES section.
54126 # No need to generate the scripts if there are no CONFIG_FILES.
54127 # This happens for instance when ./config.status config.h
54128 if test -n "$CONFIG_FILES"; then
54135 for ac_last_try in false false false false false :; do
54136 cat >conf$$subs.sed <<_ACEOF
54137 SHELL!$SHELL$ac_delim
54138 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
54139 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
54140 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
54141 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
54142 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
54143 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
54144 exec_prefix!$exec_prefix$ac_delim
54145 prefix!$prefix$ac_delim
54146 program_transform_name!$program_transform_name$ac_delim
54147 bindir!$bindir$ac_delim
54148 sbindir!$sbindir$ac_delim
54149 libexecdir!$libexecdir$ac_delim
54150 datarootdir!$datarootdir$ac_delim
54151 datadir!$datadir$ac_delim
54152 sysconfdir!$sysconfdir$ac_delim
54153 sharedstatedir!$sharedstatedir$ac_delim
54154 localstatedir!$localstatedir$ac_delim
54155 includedir!$includedir$ac_delim
54156 oldincludedir!$oldincludedir$ac_delim
54157 docdir!$docdir$ac_delim
54158 infodir!$infodir$ac_delim
54159 htmldir!$htmldir$ac_delim
54160 dvidir!$dvidir$ac_delim
54161 pdfdir!$pdfdir$ac_delim
54162 psdir!$psdir$ac_delim
54163 libdir!$libdir$ac_delim
54164 localedir!$localedir$ac_delim
54165 mandir!$mandir$ac_delim
54166 DEFS!$DEFS$ac_delim
54167 ECHO_C!$ECHO_C$ac_delim
54168 ECHO_N!$ECHO_N$ac_delim
54169 ECHO_T!$ECHO_T$ac_delim
54170 LIBS!$LIBS$ac_delim
54171 build_alias!$build_alias$ac_delim
54172 host_alias!$host_alias$ac_delim
54173 target_alias!$target_alias$ac_delim
54174 build!$build$ac_delim
54175 build_cpu!$build_cpu$ac_delim
54176 build_vendor!$build_vendor$ac_delim
54177 build_os!$build_os$ac_delim
54178 host!$host$ac_delim
54179 host_cpu!$host_cpu$ac_delim
54180 host_vendor!$host_vendor$ac_delim
54181 host_os!$host_os$ac_delim
54182 target!$target$ac_delim
54183 target_cpu!$target_cpu$ac_delim
54184 target_vendor!$target_vendor$ac_delim
54185 target_os!$target_os$ac_delim
54186 wx_top_builddir!$wx_top_builddir$ac_delim
54188 CFLAGS!$CFLAGS$ac_delim
54189 LDFLAGS!$LDFLAGS$ac_delim
54190 CPPFLAGS!$CPPFLAGS$ac_delim
54191 ac_ct_CC!$ac_ct_CC$ac_delim
54192 EXEEXT!$EXEEXT$ac_delim
54193 OBJEXT!$OBJEXT$ac_delim
54195 GREP!$GREP$ac_delim
54196 EGREP!$EGREP$ac_delim
54198 CXXFLAGS!$CXXFLAGS$ac_delim
54199 ac_ct_CXX!$ac_ct_CXX$ac_delim
54200 RANLIB!$RANLIB$ac_delim
54202 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
54203 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
54204 INSTALL_DATA!$INSTALL_DATA$ac_delim
54205 STRIP!$STRIP$ac_delim
54206 WINDRES!$WINDRES$ac_delim
54207 DLLTOOL!$DLLTOOL$ac_delim
54208 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
54209 LN_S!$LN_S$ac_delim
54210 subdirs!$subdirs$ac_delim
54211 PKG_CONFIG!$PKG_CONFIG$ac_delim
54212 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
54213 GTK_LIBS!$GTK_LIBS$ac_delim
54214 GTK_CONFIG!$GTK_CONFIG$ac_delim
54215 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
54216 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
54217 XMKMF!$XMKMF$ac_delim
54218 X_CFLAGS!$X_CFLAGS$ac_delim
54219 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
54220 X_LIBS!$X_LIBS$ac_delim
54221 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
54222 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
54223 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
54224 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
54225 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
54226 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
54227 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
54228 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
54229 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
54231 DEREZ!$DEREZ$ac_delim
54232 SETFILE!$SETFILE$ac_delim
54233 LIBICONV!$LIBICONV$ac_delim
54236 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54238 elif $ac_last_try; then
54239 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54240 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54241 { (exit 1); exit 1; }; }
54243 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54247 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54248 if test -n "$ac_eof"; then
54249 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54250 ac_eof=`expr $ac_eof + 1`
54253 cat >>$CONFIG_STATUS <<_ACEOF
54254 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
54255 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54258 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54259 s/^/s,@/; s/!/@,|#_!!_#|/
54262 s/'"$ac_delim"'$/,g/; t
54264 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54265 ' >>$CONFIG_STATUS <conf$$subs.sed
54266 rm -f conf$$subs.sed
54267 cat >>$CONFIG_STATUS <<_ACEOF
54273 for ac_last_try in false false false false false :; do
54274 cat >conf$$subs.sed <<_ACEOF
54275 SDL_CONFIG!$SDL_CONFIG$ac_delim
54276 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
54277 SDL_LIBS!$SDL_LIBS$ac_delim
54278 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
54279 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
54280 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
54281 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
54282 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
54283 HILDON_LIBS!$HILDON_LIBS$ac_delim
54284 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
54285 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
54286 GST_CFLAGS!$GST_CFLAGS$ac_delim
54287 GST_LIBS!$GST_LIBS$ac_delim
54288 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
54289 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
54290 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
54291 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
54292 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
54293 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
54294 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
54295 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
54296 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
54297 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
54298 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
54299 VENDOR!$VENDOR$ac_delim
54300 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
54301 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
54302 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
54303 WXUNIV!$WXUNIV$ac_delim
54304 MONOLITHIC!$MONOLITHIC$ac_delim
54305 USE_PLUGINS!$USE_PLUGINS$ac_delim
54306 CXXWARNINGS!$CXXWARNINGS$ac_delim
54307 EXTRALIBS!$EXTRALIBS$ac_delim
54308 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
54309 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
54310 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
54311 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
54312 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
54313 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
54314 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
54315 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
54316 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
54317 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
54318 UNICODE!$UNICODE$ac_delim
54319 BUILD!$BUILD$ac_delim
54320 DEBUG_INFO!$DEBUG_INFO$ac_delim
54321 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
54322 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
54323 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
54324 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
54325 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
54326 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
54327 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
54328 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
54329 SET_MAKE!$SET_MAKE$ac_delim
54330 MAKE_SET!$MAKE_SET$ac_delim
54331 AROPTIONS!$AROPTIONS$ac_delim
54333 INSTALL_DIR!$INSTALL_DIR$ac_delim
54334 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
54335 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
54336 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
54337 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
54338 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
54339 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
54340 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
54341 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
54342 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
54343 SO_SUFFIX!$SO_SUFFIX$ac_delim
54344 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54345 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54346 LIBPREFIX!$LIBPREFIX$ac_delim
54347 LIBEXT!$LIBEXT$ac_delim
54348 DLLPREFIX!$DLLPREFIX$ac_delim
54349 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54350 dlldir!$dlldir$ac_delim
54351 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54352 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54353 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54354 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54355 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54356 PIC_FLAG!$PIC_FLAG$ac_delim
54357 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54358 USE_SOVERSION!$USE_SOVERSION$ac_delim
54359 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54360 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54361 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54362 USE_MACVERSION!$USE_MACVERSION$ac_delim
54363 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
54364 SONAME_FLAG!$SONAME_FLAG$ac_delim
54365 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54366 BK_DEPS!$BK_DEPS$ac_delim
54367 GCC_PCH!$GCC_PCH$ac_delim
54368 ICC_PCH!$ICC_PCH$ac_delim
54369 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54370 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54371 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54374 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54376 elif $ac_last_try; then
54377 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54378 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54379 { (exit 1); exit 1; }; }
54381 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54385 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54386 if test -n "$ac_eof"; then
54387 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54388 ac_eof=`expr $ac_eof + 1`
54391 cat >>$CONFIG_STATUS <<_ACEOF
54392 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54393 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54396 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54397 s/^/s,@/; s/!/@,|#_!!_#|/
54400 s/'"$ac_delim"'$/,g/; t
54402 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54403 ' >>$CONFIG_STATUS <conf$$subs.sed
54404 rm -f conf$$subs.sed
54405 cat >>$CONFIG_STATUS <<_ACEOF
54411 for ac_last_try in false false false false false :; do
54412 cat >conf$$subs.sed <<_ACEOF
54413 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54414 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54415 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54416 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54417 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54418 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54419 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54420 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54421 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54422 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54423 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54424 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54425 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54426 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54427 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54428 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54429 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54430 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54431 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54432 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54433 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
54434 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54435 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
54436 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54437 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54438 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54439 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54440 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54441 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54442 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54443 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54444 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
54445 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54446 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
54447 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54448 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54449 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54450 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54451 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54452 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54453 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
54454 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54455 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54456 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
54457 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54458 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54459 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54460 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54461 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54462 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54463 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54464 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54465 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54466 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54467 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54468 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54469 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
54470 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
54471 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
54472 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
54473 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
54474 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
54475 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
54476 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54477 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54478 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54479 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54480 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54481 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54482 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54483 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54484 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54485 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54486 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54487 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54488 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54489 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54490 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54491 COND_SHARED_0!$COND_SHARED_0$ac_delim
54492 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54493 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54494 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54495 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54496 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54497 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54498 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54499 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54500 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
54501 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
54502 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
54503 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
54504 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
54505 COND_SHARED_1!$COND_SHARED_1$ac_delim
54506 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54507 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
54508 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54509 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54512 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54514 elif $ac_last_try; then
54515 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54516 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54517 { (exit 1); exit 1; }; }
54519 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54523 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54524 if test -n "$ac_eof"; then
54525 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54526 ac_eof=`expr $ac_eof + 1`
54529 cat >>$CONFIG_STATUS <<_ACEOF
54530 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54531 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54534 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54535 s/^/s,@/; s/!/@,|#_!!_#|/
54538 s/'"$ac_delim"'$/,g/; t
54540 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54541 ' >>$CONFIG_STATUS <conf$$subs.sed
54542 rm -f conf$$subs.sed
54543 cat >>$CONFIG_STATUS <<_ACEOF
54549 for ac_last_try in false false false false false :; do
54550 cat >conf$$subs.sed <<_ACEOF
54551 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54552 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54553 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54554 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54555 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54556 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54557 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54558 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54559 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54560 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54561 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54562 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54563 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54564 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54565 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54566 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54567 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54568 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54569 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54570 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54571 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54572 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54573 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54574 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54575 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54576 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54577 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54578 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54579 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54580 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54581 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54582 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54583 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54584 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54585 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54586 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54587 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54588 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54589 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54590 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54591 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54592 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54593 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54594 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54595 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54596 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54597 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54598 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54599 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54600 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54601 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54602 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54603 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54604 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54605 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54606 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54607 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54608 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54609 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54610 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54611 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54612 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54613 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54614 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54615 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54616 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54617 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54618 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54619 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54620 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54621 SHARED!$SHARED$ac_delim
54622 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54623 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54624 USE_GUI!$USE_GUI$ac_delim
54625 AFMINSTALL!$AFMINSTALL$ac_delim
54626 WIN32INSTALL!$WIN32INSTALL$ac_delim
54627 TOOLKIT!$TOOLKIT$ac_delim
54628 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54629 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54630 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54631 cross_compiling!$cross_compiling$ac_delim
54632 WIDGET_SET!$WIDGET_SET$ac_delim
54633 WX_RELEASE!$WX_RELEASE$ac_delim
54634 WX_VERSION!$WX_VERSION$ac_delim
54635 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54636 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54637 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54638 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54639 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54640 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54641 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54642 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54643 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54644 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54645 EXE_LINKER!$EXE_LINKER$ac_delim
54646 GUIDIST!$GUIDIST$ac_delim
54647 DISTDIR!$DISTDIR$ac_delim
54650 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54652 elif $ac_last_try; then
54653 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54654 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54655 { (exit 1); exit 1; }; }
54657 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54661 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54662 if test -n "$ac_eof"; then
54663 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54664 ac_eof=`expr $ac_eof + 1`
54667 cat >>$CONFIG_STATUS <<_ACEOF
54668 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54669 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54672 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54673 s/^/s,@/; s/!/@,|#_!!_#|/
54676 s/'"$ac_delim"'$/,g/; t
54678 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54679 ' >>$CONFIG_STATUS <conf$$subs.sed
54680 rm -f conf$$subs.sed
54681 cat >>$CONFIG_STATUS <<_ACEOF
54687 for ac_last_try in false false false false false :; do
54688 cat >conf$$subs.sed <<_ACEOF
54689 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54690 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54691 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54692 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54693 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54694 RESCOMP!$RESCOMP$ac_delim
54695 RESFLAGS!$RESFLAGS$ac_delim
54696 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54697 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54698 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54699 LIBWXMACRES!$LIBWXMACRES$ac_delim
54700 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54701 MACSETFILE!$MACSETFILE$ac_delim
54703 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54704 LIBOBJS!$LIBOBJS$ac_delim
54705 LTLIBOBJS!$LTLIBOBJS$ac_delim
54708 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54710 elif $ac_last_try; then
54711 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54712 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54713 { (exit 1); exit 1; }; }
54715 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54719 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54720 if test -n "$ac_eof"; then
54721 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54722 ac_eof=`expr $ac_eof + 1`
54725 cat >>$CONFIG_STATUS <<_ACEOF
54726 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54727 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54730 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54731 s/^/s,@/; s/!/@,|#_!!_#|/
54734 s/'"$ac_delim"'$/,g/; t
54736 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54737 ' >>$CONFIG_STATUS <conf$$subs.sed
54738 rm -f conf$$subs.sed
54739 cat >>$CONFIG_STATUS <<_ACEOF
54746 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54747 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54748 # trailing colons and then remove the whole line if VPATH becomes empty
54749 # (actually we leave an empty line to preserve line numbers).
54750 if test "x$srcdir" = x.; then
54751 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54752 s/:*\$(srcdir):*/:/
54753 s/:*\${srcdir}:*/:/
54755 s/^\([^=]*=[ ]*\):*/\1/
54761 cat >>$CONFIG_STATUS <<\_ACEOF
54762 fi # test -n "$CONFIG_FILES"
54765 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54768 :[FHLC]) ac_mode=$ac_tag; continue;;
54770 case $ac_mode$ac_tag in
54772 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54773 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54774 { (exit 1); exit 1; }; };;
54775 :[FH]-) ac_tag=-:-;;
54776 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54793 -) ac_f="$tmp/stdin";;
54794 *) # Look for the file first in the build tree, then in the source tree
54795 # (if the path is not absolute). The absolute path cannot be DOS-style,
54796 # because $ac_f cannot contain `:'.
54800 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54802 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54803 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54804 { (exit 1); exit 1; }; };;
54806 ac_file_inputs="$ac_file_inputs $ac_f"
54809 # Let's still pretend it is `configure' which instantiates (i.e., don't
54810 # use $as_me), people would be surprised to read:
54811 # /* config.h. Generated by config.status. */
54812 configure_input="Generated from "`IFS=:
54813 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54814 if test x"$ac_file" != x-; then
54815 configure_input="$ac_file. $configure_input"
54816 { echo "$as_me:$LINENO: creating $ac_file" >&5
54817 echo "$as_me: creating $ac_file" >&6;}
54821 *:-:* | *:-) cat >"$tmp/stdin";;
54826 ac_dir=`$as_dirname -- "$ac_file" ||
54827 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54828 X"$ac_file" : 'X\(//\)[^/]' \| \
54829 X"$ac_file" : 'X\(//\)$' \| \
54830 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54832 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54836 /^X\(\/\/\)[^/].*/{
54851 -*) as_dir=./$as_dir;;
54853 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54857 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54858 *) as_qdir=$as_dir;;
54860 as_dirs="'$as_qdir' $as_dirs"
54861 as_dir=`$as_dirname -- "$as_dir" ||
54862 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54863 X"$as_dir" : 'X\(//\)[^/]' \| \
54864 X"$as_dir" : 'X\(//\)$' \| \
54865 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54867 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54871 /^X\(\/\/\)[^/].*/{
54884 test -d "$as_dir" && break
54886 test -z "$as_dirs" || eval "mkdir $as_dirs"
54887 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54888 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54889 { (exit 1); exit 1; }; }; }
54893 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54895 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54896 # A ".." for each directory in $ac_dir_suffix.
54897 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54898 case $ac_top_builddir_sub in
54899 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54900 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54903 ac_abs_top_builddir=$ac_pwd
54904 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54905 # for backward compatibility:
54906 ac_top_builddir=$ac_top_build_prefix
54909 .) # We are building in place.
54911 ac_top_srcdir=$ac_top_builddir_sub
54912 ac_abs_top_srcdir=$ac_pwd ;;
54913 [\\/]* | ?:[\\/]* ) # Absolute name.
54914 ac_srcdir=$srcdir$ac_dir_suffix;
54915 ac_top_srcdir=$srcdir
54916 ac_abs_top_srcdir=$srcdir ;;
54917 *) # Relative name.
54918 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54919 ac_top_srcdir=$ac_top_build_prefix$srcdir
54920 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54922 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54932 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54933 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54937 cat >>$CONFIG_STATUS <<\_ACEOF
54938 # If the template does not know about datarootdir, expand it.
54939 # FIXME: This hack should be removed a few years after 2.60.
54940 ac_datarootdir_hack=; ac_datarootdir_seen=
54942 case `sed -n '/datarootdir/ {
54951 ' $ac_file_inputs` in
54952 *datarootdir*) ac_datarootdir_seen=yes;;
54953 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54954 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54955 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54957 cat >>$CONFIG_STATUS <<_ACEOF
54958 ac_datarootdir_hack='
54959 s&@datadir@&$datadir&g
54960 s&@docdir@&$docdir&g
54961 s&@infodir@&$infodir&g
54962 s&@localedir@&$localedir&g
54963 s&@mandir@&$mandir&g
54964 s&\\\${datarootdir}&$datarootdir&g' ;;
54968 # Neutralize VPATH when `$srcdir' = `.'.
54969 # Shell code in configure.ac might set extrasub.
54970 # FIXME: do we really want to maintain this feature?
54971 cat >>$CONFIG_STATUS <<_ACEOF
54975 cat >>$CONFIG_STATUS <<\_ACEOF
54977 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54978 s&@configure_input@&$configure_input&;t t
54979 s&@top_builddir@&$ac_top_builddir_sub&;t t
54980 s&@srcdir@&$ac_srcdir&;t t
54981 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54982 s&@top_srcdir@&$ac_top_srcdir&;t t
54983 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54984 s&@builddir@&$ac_builddir&;t t
54985 s&@abs_builddir@&$ac_abs_builddir&;t t
54986 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54987 s&@INSTALL@&$ac_INSTALL&;t t
54988 $ac_datarootdir_hack
54989 " $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
54991 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54992 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54993 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54994 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54995 which seems to be undefined. Please make sure it is defined." >&5
54996 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54997 which seems to be undefined. Please make sure it is defined." >&2;}
55001 -) cat "$tmp/out"; rm -f "$tmp/out";;
55002 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
55011 # Transform confdefs.h into a sed script `conftest.defines', that
55012 # substitutes the proper values into config.h.in to produce config.h.
55013 rm -f conftest.defines conftest.tail
55014 # First, append a space to every undef/define line, to ease matching.
55015 echo 's/$/ /' >conftest.defines
55016 # Then, protect against being on the right side of a sed subst, or in
55017 # an unquoted here document, in config.status. If some macros were
55018 # called several times there might be several #defines for the same
55019 # symbol, which is useless. But do not sort them, since the last
55020 # AC_DEFINE must be honored.
55021 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
55022 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
55023 # NAME is the cpp macro being defined, VALUE is the value it is being given.
55024 # PARAMS is the parameter list in the macro definition--in most cases, it's
55025 # just an empty string.
55026 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
55027 ac_dB='\\)[ (].*,\\1define\\2'
55035 s/^[ ]*#[ ]*define[ ][ ]*//
55040 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
55041 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
55042 ' >>conftest.defines
55044 # Remove the space that was appended to ease matching.
55045 # Then replace #undef with comments. This is necessary, for
55046 # example, in the case of _POSIX_SOURCE, which is predefined and required
55047 # on some systems where configure will not decide to define it.
55048 # (The regexp can be short, since the line contains either #define or #undef.)
55050 s,^[ #]*u.*,/* & */,' >>conftest.defines
55052 # Break up conftest.defines:
55053 ac_max_sed_lines=50
55055 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
55056 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
55057 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
55059 ac_in='$ac_file_inputs'
55060 ac_out='"$tmp/out1"'
55061 ac_nxt='"$tmp/out2"'
55065 # Write a here document:
55066 cat >>$CONFIG_STATUS <<_ACEOF
55067 # First, check the format of the line:
55068 cat >"\$tmp/defines.sed" <<\\CEOF
55069 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
55070 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
55074 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
55076 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
55077 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
55078 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
55079 grep . conftest.tail >/dev/null || break
55080 rm -f conftest.defines
55081 mv conftest.tail conftest.defines
55083 rm -f conftest.defines conftest.tail
55085 echo "ac_result=$ac_in" >>$CONFIG_STATUS
55086 cat >>$CONFIG_STATUS <<\_ACEOF
55087 if test x"$ac_file" != x-; then
55088 echo "/* $configure_input */" >"$tmp/config.h"
55089 cat "$ac_result" >>"$tmp/config.h"
55090 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
55091 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
55092 echo "$as_me: $ac_file is unchanged" >&6;}
55095 mv "$tmp/config.h" $ac_file
55098 echo "/* $configure_input */"
55104 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
55105 echo "$as_me: executing $ac_file commands" >&6;}
55110 case $ac_file$ac_mode in
55112 mkdir -p $outdir &&
55113 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
55115 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
55116 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
55117 "wx-config":C) rm -f wx-config
55118 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
55125 { (exit 0); exit 0; }
55127 chmod +x $CONFIG_STATUS
55128 ac_clean_files=$ac_clean_files_save
55131 # configure is writing to config.log, and then calls config.status.
55132 # config.status does its own redirection, appending to config.log.
55133 # Unfortunately, on DOS this fails, as config.log is still kept open
55134 # by configure, so config.status won't be able to write to it; its
55135 # output is simply discarded. So we exec the FD to /dev/null,
55136 # effectively closing config.log, so it can be properly (re)opened and
55137 # appended to by config.status. When coming back to configure, we
55138 # need to make the FD available again.
55139 if test "$no_create" != yes; then
55141 ac_config_status_args=
55142 test "$silent" = yes &&
55143 ac_config_status_args="$ac_config_status_args --quiet"
55145 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
55147 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
55148 # would make configure fail if this is the last instruction.
55149 $ac_cs_success || { (exit 1); exit 1; }
55153 # CONFIG_SUBDIRS section.
55155 if test "$no_recursion" != yes; then
55157 # Remove --cache-file and --srcdir arguments so they do not pile up.
55158 ac_sub_configure_args=
55160 eval "set x $ac_configure_args"
55164 if test -n "$ac_prev"; then
55169 -cache-file | --cache-file | --cache-fil | --cache-fi \
55170 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
55171 ac_prev=cache_file ;;
55172 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
55173 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
55176 --config-cache | -C)
55178 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
55180 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
55182 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
55184 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
55188 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
55190 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
55194 # Always prepend --prefix to ensure using the same prefix
55195 # in subdir configurations.
55196 ac_arg="--prefix=$prefix"
55198 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
55200 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
55203 if test "$silent" = yes; then
55204 ac_sub_configure_args="--silent $ac_sub_configure_args"
55208 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
55210 # Do not complain, so a configure script can configure whichever
55211 # parts of a large source tree are present.
55212 test -d "$srcdir/$ac_dir" || continue
55214 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
55215 echo "$as_me:$LINENO: $ac_msg" >&5
55219 -*) as_dir=./$as_dir;;
55221 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
55225 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
55226 *) as_qdir=$as_dir;;
55228 as_dirs="'$as_qdir' $as_dirs"
55229 as_dir=`$as_dirname -- "$as_dir" ||
55230 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55231 X"$as_dir" : 'X\(//\)[^/]' \| \
55232 X"$as_dir" : 'X\(//\)$' \| \
55233 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
55235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55239 /^X\(\/\/\)[^/].*/{
55252 test -d "$as_dir" && break
55254 test -z "$as_dirs" || eval "mkdir $as_dirs"
55255 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
55256 echo "$as_me: error: cannot create directory $as_dir" >&2;}
55257 { (exit 1); exit 1; }; }; }
55261 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
55263 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
55264 # A ".." for each directory in $ac_dir_suffix.
55265 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
55266 case $ac_top_builddir_sub in
55267 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
55268 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
55271 ac_abs_top_builddir=$ac_pwd
55272 ac_abs_builddir=$ac_pwd$ac_dir_suffix
55273 # for backward compatibility:
55274 ac_top_builddir=$ac_top_build_prefix
55277 .) # We are building in place.
55279 ac_top_srcdir=$ac_top_builddir_sub
55280 ac_abs_top_srcdir=$ac_pwd ;;
55281 [\\/]* | ?:[\\/]* ) # Absolute name.
55282 ac_srcdir=$srcdir$ac_dir_suffix;
55283 ac_top_srcdir=$srcdir
55284 ac_abs_top_srcdir=$srcdir ;;
55285 *) # Relative name.
55286 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
55287 ac_top_srcdir=$ac_top_build_prefix$srcdir
55288 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
55290 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
55295 # Check for guested configure; otherwise get Cygnus style configure.
55296 if test -f "$ac_srcdir/configure.gnu"; then
55297 ac_sub_configure=$ac_srcdir/configure.gnu
55298 elif test -f "$ac_srcdir/configure"; then
55299 ac_sub_configure=$ac_srcdir/configure
55300 elif test -f "$ac_srcdir/configure.in"; then
55301 # This should be Cygnus configure.
55302 ac_sub_configure=$ac_aux_dir/configure
55304 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55305 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55309 # The recursion is here.
55310 if test -n "$ac_sub_configure"; then
55311 # Make the cache file name correct relative to the subdirectory.
55312 case $cache_file in
55313 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
55314 *) # Relative name.
55315 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
55318 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55319 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55320 # The eval makes quoting arguments work.
55321 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55322 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55323 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55324 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55325 { (exit 1); exit 1; }; }
55334 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55336 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55337 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55339 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
55340 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55341 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
55342 if test "$wxUSE_UNICODE" = "yes"; then
55343 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55344 echo " (using UTF-8)"
55346 echo " (using wchar_t)"
55352 echo " What level of wxWidgets compatibility should be enabled?"
55353 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55354 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55356 echo " Which libraries should wxWidgets use?"
55357 echo " jpeg ${wxUSE_LIBJPEG-none}"
55358 echo " png ${wxUSE_LIBPNG-none}"
55359 echo " regex ${wxUSE_REGEX}"
55360 echo " tiff ${wxUSE_LIBTIFF-none}"
55361 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55362 echo " xpm ${wxUSE_LIBXPM-none}"
55364 echo " zlib ${wxUSE_ZLIB}"
55365 echo " odbc ${wxUSE_ODBC}"
55366 echo " expat ${wxUSE_EXPAT}"
55367 echo " libmspack ${wxUSE_LIBMSPACK}"
55368 echo " sdl ${wxUSE_LIBSDL}"