2 # From configure.in Id: configure.in 47596 2007-07-20 17:59:45Z DE .
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[=SDK] 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-fontmap use font encodings conversion classes
1704 --enable-fs_archive use virtual archive filesystems
1705 --enable-fs_inet use virtual HTTP/FTP filesystems
1706 --enable-fs_zip now replaced by fs_archive
1707 --enable-geometry use geometry class
1708 --enable-log use logging system
1709 --enable-longlong use wxLongLong class
1710 --enable-mimetype use wxMimeTypesManager
1711 --enable-snglinst use wxSingleInstanceChecker class
1712 --enable-stdpaths use wxStandardPaths class
1713 --enable-stopwatch use wxStopWatch class
1714 --enable-streams use wxStream etc classes
1715 --enable-sysoptions use wxSystemOptions
1716 --enable-tarstream use wxTar streams
1717 --enable-textbuf use wxTextBuffer class
1718 --enable-textfile use wxTextFile class
1719 --enable-timer use wxTimer class
1720 --enable-sound use wxSound class
1721 --enable-mediactrl use wxMediaCtrl class
1722 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1723 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1724 --enable-zipstream use wxZip streams
1725 --enable-url use wxURL class
1726 --enable-variant use wxVariant class
1727 --enable-protocol use wxProtocol class
1728 --enable-protocol-http HTTP support in wxProtocol
1729 --enable-protocol-ftp FTP support in wxProtocol
1730 --enable-protocol-file FILE support in wxProtocol
1731 --enable-threads use threads
1732 --enable-docview use document view architecture
1733 --enable-help use help subsystem
1734 --enable-mshtmlhelp use MS HTML Help (win32)
1735 --enable-html use wxHTML sub-library
1736 --enable-htmlhelp use wxHTML-based help
1737 --enable-xrc use XRC resources sub-library
1738 --enable-aui use AUI docking library
1739 --enable-stc use wxStyledTextCtrl library
1740 --enable-constraints use layout-constraints system
1741 --enable-printarch use printing architecture
1742 --enable-mdi use multiple document interface architecture
1743 --enable-mdidoc use docview architecture with MDI
1744 --enable-loggui use standard GUI logger
1745 --enable-logwin use wxLogWindow
1746 --enable-logdialog use wxLogDialog
1747 --enable-webkit use wxWebKitCtrl (Mac)
1748 --enable-richtext use wxRichTextCtrl
1749 --enable-graphics_ctx use graphics context 2D drawing API
1750 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1751 --enable-svg use wxSVGFileDC device context
1752 --enable-clipboard use wxClipboard class
1753 --enable-dnd use Drag'n'Drop classes
1754 --enable-metafile use win32 metafiles
1755 --disable-controls disable compilation of all standard controls
1756 --enable-accel use accelerators
1757 --enable-animatectrl use wxAnimationCtrl class
1758 --enable-button use wxButton class
1759 --enable-bmpbutton use wxBitmapButton class
1760 --enable-bmpcombobox use wxBitmapComboBox class
1761 --enable-calendar use wxCalendarCtrl class
1762 --enable-caret use wxCaret class
1763 --enable-checkbox use wxCheckBox class
1764 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1765 --enable-choice use wxChoice class
1766 --enable-choicebook use wxChoicebook class
1767 --enable-collpane use wxCollapsiblePane class
1768 --enable-colourpicker use wxColourPickerCtrl class
1769 --enable-combobox use wxComboBox class
1770 --enable-comboctrl use wxComboCtrl class
1771 --enable-datepick use wxDatePickerCtrl class
1772 --enable-dirpicker use wxDirPickerCtrl class
1773 --enable-display use wxDisplay class
1774 --enable-detect_sm use code to detect X11 session manager
1775 --enable-editablebox use wxEditableListBox class
1776 --enable-filepicker use wxFilePickerCtrl class
1777 --enable-fontpicker use wxFontPickerCtrl class
1778 --enable-gauge use wxGauge class
1779 --enable-grid use wxGrid class
1780 --enable-dataviewctrl use wxDataViewCtrl class
1781 --enable-hyperlink use wxHyperlinkCtrl class
1782 --enable-imaglist use wxImageList class
1783 --enable-listbook use wxListbook class
1784 --enable-listbox use wxListBox class
1785 --enable-listctrl use wxListCtrl class
1786 --enable-notebook use wxNotebook class
1787 --enable-odcombobox use wxOwnerDrawnComboBox class
1788 --enable-radiobox use wxRadioBox class
1789 --enable-radiobtn use wxRadioButton class
1790 --enable-sash use wxSashWindow class
1791 --enable-scrollbar use wxScrollBar class and scrollable windows
1792 --enable-searchctrl use wxSearchCtrl class
1793 --enable-slider use wxSlider class
1794 --enable-spinbtn use wxSpinButton class
1795 --enable-spinctrl use wxSpinCtrl class
1796 --enable-splitter use wxSplitterWindow class
1797 --enable-statbmp use wxStaticBitmap class
1798 --enable-statbox use wxStaticBox class
1799 --enable-statline use wxStaticLine class
1800 --enable-stattext use wxStaticText class
1801 --enable-statusbar use wxStatusBar class
1802 --enable-tabdialog use wxTabControl class
1803 --enable-taskbaricon use wxTaskBarIcon class
1804 --enable-textctrl use wxTextCtrl class
1805 --enable-togglebtn use wxToggleButton class
1806 --enable-toolbar use wxToolBar class
1807 --enable-tbarnative use native wxToolBar class
1808 --enable-treebook use wxTreebook class
1809 --enable-toolbook use wxToolbook class
1810 --enable-treectrl use wxTreeCtrl class
1811 --enable-tipwindow use wxTipWindow class
1812 --enable-popupwin use wxPopUpWindow class
1813 --enable-commondlg use all common dialogs
1814 --enable-aboutdlg use wxAboutBox
1815 --enable-choicedlg use wxChoiceDialog
1816 --enable-coldlg use wxColourDialog
1817 --enable-filedlg use wxFileDialog
1818 --enable-finddlg use wxFindReplaceDialog
1819 --enable-fontdlg use wxFontDialog
1820 --enable-dirdlg use wxDirDialog
1821 --enable-msgdlg use wxMessageDialog
1822 --enable-numberdlg use wxNumberEntryDialog
1823 --enable-splash use wxSplashScreen
1824 --enable-textdlg use wxTextDialog
1825 --enable-tipdlg use startup tips
1826 --enable-progressdlg use wxProgressDialog
1827 --enable-wizarddlg use wxWizard
1828 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1829 --enable-miniframe use wxMiniFrame class
1830 --enable-tooltips use wxToolTip class
1831 --enable-splines use spline drawing code
1832 --enable-mousewheel use mousewheel
1833 --enable-validators use wxValidator and derived classes
1834 --enable-busyinfo use wxBusyInfo
1835 --enable-joystick use wxJoystick
1836 --enable-metafiles use wxMetaFile (Win32 only)
1837 --enable-dragimage use wxDragImage
1838 --enable-accessibility enable accessibility support
1839 --enable-dccache cache temporary wxDC objects (Win32 only)
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 --disable-largefile omit support for large files
1850 --disable-gtktest do not try to compile and run a test GTK+ program
1851 --disable-gtktest Do not try to compile and run a test GTK program
1852 --disable-sdltest Do not try to compile and run a test SDL program
1853 --enable-omf use OMF object format (OS/2)
1854 --disable-dependency-tracking
1855 don't use dependency tracking even if the compiler
1857 --disable-precomp-headers
1858 don't use precompiled headers even if compiler can
1861 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1862 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1863 --without-subdirs don't generate makefiles for samples/demos/...
1864 --with-flavour=NAME specify a name to identify this build
1865 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1866 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1867 --with-motif use Motif/Lesstif
1868 --with-mac use Mac OS X
1869 --with-cocoa use Cocoa
1870 --with-wine use Wine
1871 --with-msw use MS-Windows
1872 --with-pm use OS/2 Presentation Manager
1873 --with-mgl use SciTech MGL
1874 --with-directfb use DirectFB
1875 --with-microwin use MicroWindows
1877 --with-libpng use libpng (PNG image format)
1878 --with-libjpeg use libjpeg (JPEG file format)
1879 --with-libtiff use libtiff (TIFF file format)
1880 --with-libxpm use libxpm (XPM file format)
1881 --with-libmspack use libmspack (CHM help files loading)
1882 --without-gnomeprint don't use GNOME printing libraries
1883 --with-gnomevfs use GNOME VFS for associating MIME types
1884 --with-hildon use Hildon framework for Nokia 770
1885 --with-opengl use OpenGL (or Mesa)
1886 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1887 --with-sdl use SDL for audio on Unix
1888 --with-regex enable support for wxRegEx class
1889 --with-zlib use zlib for LZW compression
1890 --with-odbc use the IODBC and wxODBC classes
1891 --with-expat enable XML support using expat parser
1892 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1893 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1894 --with-x use the X Window System
1895 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1896 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1897 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1898 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1899 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1901 Some influential environment variables:
1902 CC C compiler command
1903 CFLAGS C compiler flags
1904 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1905 nonstandard directory <lib dir>
1906 LIBS libraries to pass to the linker, e.g. -l<library>
1907 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1908 you have headers in a nonstandard directory <include dir>
1910 CXX C++ compiler command
1911 CXXFLAGS C++ compiler flags
1912 PKG_CONFIG path to pkg-config utility
1914 C compiler flags for DIRECTFB, overriding pkg-config
1916 linker flags for DIRECTFB, overriding pkg-config
1917 XMKMF Path to xmkmf, Makefile generator for X Window System
1919 C compiler flags for PANGOX, overriding pkg-config
1920 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1922 C compiler flags for PANGOFT2, overriding pkg-config
1924 linker flags for PANGOFT2, overriding pkg-config
1926 C compiler flags for PANGOXFT, overriding pkg-config
1928 linker flags for PANGOXFT, overriding pkg-config
1929 LIBGNOMEPRINTUI_CFLAGS
1930 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1931 LIBGNOMEPRINTUI_LIBS
1932 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1934 C compiler flags for GNOMEVFS, overriding pkg-config
1936 linker flags for GNOMEVFS, overriding pkg-config
1938 C compiler flags for HILDON, overriding pkg-config
1939 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1941 C compiler flags for CAIRO, overriding pkg-config
1942 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1943 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1944 GST_LIBS linker flags for GST, overriding pkg-config
1946 Use these variables to override the choices made by `configure' or to help
1947 it to find libraries and programs with nonstandard names/locations.
1949 Report bugs to <wx-dev@lists.wxwidgets.org>.
1954 if test "$ac_init_help" = "recursive"; then
1955 # If there are subdirs, report their specific --help.
1956 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1957 test -d "$ac_dir" || continue
1961 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1963 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1964 # A ".." for each directory in $ac_dir_suffix.
1965 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1966 case $ac_top_builddir_sub in
1967 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1968 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1971 ac_abs_top_builddir=$ac_pwd
1972 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1973 # for backward compatibility:
1974 ac_top_builddir=$ac_top_build_prefix
1977 .) # We are building in place.
1979 ac_top_srcdir=$ac_top_builddir_sub
1980 ac_abs_top_srcdir=$ac_pwd ;;
1981 [\\/]* | ?:[\\/]* ) # Absolute name.
1982 ac_srcdir=$srcdir$ac_dir_suffix;
1983 ac_top_srcdir=$srcdir
1984 ac_abs_top_srcdir=$srcdir ;;
1986 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1987 ac_top_srcdir=$ac_top_build_prefix$srcdir
1988 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1990 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1992 cd "$ac_dir" || { ac_status=$?; continue; }
1993 # Check for guested configure.
1994 if test -f "$ac_srcdir/configure.gnu"; then
1996 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1997 elif test -f "$ac_srcdir/configure"; then
1999 $SHELL "$ac_srcdir/configure" --help=recursive
2001 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2003 cd "$ac_pwd" || { ac_status=$?; break; }
2007 test -n "$ac_init_help" && exit $ac_status
2008 if $ac_init_version; then
2010 wxWidgets configure 2.9.0
2011 generated by GNU Autoconf 2.61
2013 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2014 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2015 This configure script is free software; the Free Software Foundation
2016 gives unlimited permission to copy, distribute and modify it.
2020 cat >config.log <<_ACEOF
2021 This file contains any messages produced by compilers while
2022 running configure, to aid debugging if configure makes a mistake.
2024 It was created by wxWidgets $as_me 2.9.0, which was
2025 generated by GNU Autoconf 2.61. Invocation command line was
2037 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2038 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2039 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2040 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2041 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2043 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2044 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2046 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2047 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2048 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2049 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2050 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2051 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2052 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2060 test -z "$as_dir" && as_dir=.
2061 echo "PATH: $as_dir"
2077 # Keep a trace of the command line.
2078 # Strip out --no-create and --no-recursion so they do not pile up.
2079 # Strip out --silent because we don't want to record it for future runs.
2080 # Also quote any args containing shell meta-characters.
2081 # Make two passes to allow for proper duplicate-argument suppression.
2085 ac_must_keep_next=false
2091 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2092 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2093 | -silent | --silent | --silen | --sile | --sil)
2096 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2099 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2101 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2102 if test $ac_must_keep_next = true; then
2103 ac_must_keep_next=false # Got value, back to normal.
2106 *=* | --config-cache | -C | -disable-* | --disable-* \
2107 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2108 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2109 | -with-* | --with-* | -without-* | --without-* | --x)
2110 case "$ac_configure_args0 " in
2111 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2114 -* ) ac_must_keep_next=true ;;
2117 ac_configure_args="$ac_configure_args '$ac_arg'"
2122 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2123 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2125 # When interrupted or exit'd, cleanup temporary files, and complete
2126 # config.log. We remove comments because anyway the quotes in there
2127 # would cause problems or look ugly.
2128 # WARNING: Use '\'' to represent an apostrophe within the trap.
2129 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2130 trap 'exit_status=$?
2131 # Save into config.log some information that might help in debugging.
2136 ## ---------------- ##
2137 ## Cache variables. ##
2138 ## ---------------- ##
2141 # The following way of writing the cache mishandles newlines in values,
2143 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2144 eval ac_val=\$$ac_var
2148 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2149 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2152 _ | IFS | as_nl) ;; #(
2153 *) $as_unset $ac_var ;;
2158 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2159 *${as_nl}ac_space=\ *)
2161 "s/'\''/'\''\\\\'\'''\''/g;
2162 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2165 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2173 ## ----------------- ##
2174 ## Output variables. ##
2175 ## ----------------- ##
2178 for ac_var in $ac_subst_vars
2180 eval ac_val=\$$ac_var
2182 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2184 echo "$ac_var='\''$ac_val'\''"
2188 if test -n "$ac_subst_files"; then
2190 ## ------------------- ##
2191 ## File substitutions. ##
2192 ## ------------------- ##
2195 for ac_var in $ac_subst_files
2197 eval ac_val=\$$ac_var
2199 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2201 echo "$ac_var='\''$ac_val'\''"
2206 if test -s confdefs.h; then
2216 test "$ac_signal" != 0 &&
2217 echo "$as_me: caught signal $ac_signal"
2218 echo "$as_me: exit $exit_status"
2220 rm -f core *.core core.conftest.* &&
2221 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2224 for ac_signal in 1 2 13 15; do
2225 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2229 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2230 rm -f -r conftest* confdefs.h
2232 # Predefined preprocessor variables.
2234 cat >>confdefs.h <<_ACEOF
2235 #define PACKAGE_NAME "$PACKAGE_NAME"
2239 cat >>confdefs.h <<_ACEOF
2240 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2244 cat >>confdefs.h <<_ACEOF
2245 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2249 cat >>confdefs.h <<_ACEOF
2250 #define PACKAGE_STRING "$PACKAGE_STRING"
2254 cat >>confdefs.h <<_ACEOF
2255 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2259 # Let the site file select an alternate cache file if it wants to.
2260 # Prefer explicitly selected file to automatically selected ones.
2261 if test -n "$CONFIG_SITE"; then
2262 set x "$CONFIG_SITE"
2263 elif test "x$prefix" != xNONE; then
2264 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2266 set x "$ac_default_prefix/share/config.site" \
2267 "$ac_default_prefix/etc/config.site"
2272 if test -r "$ac_site_file"; then
2273 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2274 echo "$as_me: loading site script $ac_site_file" >&6;}
2275 sed 's/^/| /' "$ac_site_file" >&5
2280 if test -r "$cache_file"; then
2281 # Some versions of bash will fail to source /dev/null (special
2282 # files actually), so we avoid doing that.
2283 if test -f "$cache_file"; then
2284 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2285 echo "$as_me: loading cache $cache_file" >&6;}
2287 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2288 *) . "./$cache_file";;
2292 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2293 echo "$as_me: creating cache $cache_file" >&6;}
2297 # Check that the precious variables saved in the cache have kept the same
2299 ac_cache_corrupted=false
2300 for ac_var in $ac_precious_vars; do
2301 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2302 eval ac_new_set=\$ac_env_${ac_var}_set
2303 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2304 eval ac_new_val=\$ac_env_${ac_var}_value
2305 case $ac_old_set,$ac_new_set in
2307 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2308 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2309 ac_cache_corrupted=: ;;
2311 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2312 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2313 ac_cache_corrupted=: ;;
2316 if test "x$ac_old_val" != "x$ac_new_val"; then
2317 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2318 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2319 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2320 echo "$as_me: former value: $ac_old_val" >&2;}
2321 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2322 echo "$as_me: current value: $ac_new_val" >&2;}
2323 ac_cache_corrupted=:
2326 # Pass precious variables to config.status.
2327 if test "$ac_new_set" = set; then
2329 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2330 *) ac_arg=$ac_var=$ac_new_val ;;
2332 case " $ac_configure_args " in
2333 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2334 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2338 if $ac_cache_corrupted; then
2339 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2340 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2341 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2342 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2343 { (exit 1); exit 1; }; }
2371 ac_cpp='$CPP $CPPFLAGS'
2372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2381 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2382 if test -f "$ac_dir/install-sh"; then
2384 ac_install_sh="$ac_aux_dir/install-sh -c"
2386 elif test -f "$ac_dir/install.sh"; then
2388 ac_install_sh="$ac_aux_dir/install.sh -c"
2390 elif test -f "$ac_dir/shtool"; then
2392 ac_install_sh="$ac_aux_dir/shtool install -c"
2396 if test -z "$ac_aux_dir"; then
2397 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2398 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2399 { (exit 1); exit 1; }; }
2402 # These three variables are undocumented and unsupported,
2403 # and are intended to be withdrawn in a future Autoconf release.
2404 # They can cause serious problems if a builder's source tree is in a directory
2405 # whose full name contains unusual characters.
2406 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2407 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2408 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2411 # Make sure we can run config.sub.
2412 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2413 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2414 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2415 { (exit 1); exit 1; }; }
2417 { echo "$as_me:$LINENO: checking build system type" >&5
2418 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2419 if test "${ac_cv_build+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 ac_build_alias=$build_alias
2423 test "x$ac_build_alias" = x &&
2424 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2425 test "x$ac_build_alias" = x &&
2426 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2427 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2428 { (exit 1); exit 1; }; }
2429 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2430 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2431 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2432 { (exit 1); exit 1; }; }
2435 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2436 echo "${ECHO_T}$ac_cv_build" >&6; }
2437 case $ac_cv_build in
2439 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2440 echo "$as_me: error: invalid value of canonical build" >&2;}
2441 { (exit 1); exit 1; }; };;
2444 ac_save_IFS=$IFS; IFS='-'
2450 # Remember, the first character of IFS is used to create $*,
2451 # except with old shells:
2454 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2457 { echo "$as_me:$LINENO: checking host system type" >&5
2458 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2459 if test "${ac_cv_host+set}" = set; then
2460 echo $ECHO_N "(cached) $ECHO_C" >&6
2462 if test "x$host_alias" = x; then
2463 ac_cv_host=$ac_cv_build
2465 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2466 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2467 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2468 { (exit 1); exit 1; }; }
2472 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2473 echo "${ECHO_T}$ac_cv_host" >&6; }
2476 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2477 echo "$as_me: error: invalid value of canonical host" >&2;}
2478 { (exit 1); exit 1; }; };;
2481 ac_save_IFS=$IFS; IFS='-'
2487 # Remember, the first character of IFS is used to create $*,
2488 # except with old shells:
2491 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2494 { echo "$as_me:$LINENO: checking target system type" >&5
2495 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2496 if test "${ac_cv_target+set}" = set; then
2497 echo $ECHO_N "(cached) $ECHO_C" >&6
2499 if test "x$target_alias" = x; then
2500 ac_cv_target=$ac_cv_host
2502 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2503 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2504 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2505 { (exit 1); exit 1; }; }
2509 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2510 echo "${ECHO_T}$ac_cv_target" >&6; }
2511 case $ac_cv_target in
2513 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2514 echo "$as_me: error: invalid value of canonical target" >&2;}
2515 { (exit 1); exit 1; }; };;
2517 target=$ac_cv_target
2518 ac_save_IFS=$IFS; IFS='-'
2524 # Remember, the first character of IFS is used to create $*,
2525 # except with old shells:
2528 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2531 # The aliases save the names the user supplied, while $host etc.
2532 # will get canonicalized.
2533 test -n "$target_alias" &&
2534 test "$program_prefix$program_suffix$program_transform_name" = \
2536 program_prefix=${target_alias}-
2540 wx_major_version_number=2
2541 wx_minor_version_number=9
2543 wx_subrelease_number=0
2545 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2546 WX_VERSION=$WX_RELEASE.$wx_release_number
2547 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2549 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2552 wx_top_builddir="`pwd`"
2565 USE_BSD= USE_DARWIN= USE_FREEBSD=
2571 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2577 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2579 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2581 DEFAULT_wxUSE_COCOA=0
2585 DEFAULT_wxUSE_MICROWIN=0
2586 DEFAULT_wxUSE_MOTIF=0
2592 DEFAULT_DEFAULT_wxUSE_COCOA=0
2593 DEFAULT_DEFAULT_wxUSE_GTK=0
2594 DEFAULT_DEFAULT_wxUSE_MAC=0
2595 DEFAULT_DEFAULT_wxUSE_MGL=0
2596 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2597 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2598 DEFAULT_DEFAULT_wxUSE_MSW=0
2599 DEFAULT_DEFAULT_wxUSE_PM=0
2600 DEFAULT_DEFAULT_wxUSE_X11=0
2601 DEFAULT_DEFAULT_wxUSE_DFB=0
2606 SAMPLES_RPATH_POSTLINK=
2608 DEFAULT_STD_FLAG=yes
2613 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2614 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2616 cat >>confdefs.h <<\_ACEOF
2621 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2625 cat >>confdefs.h <<\_ACEOF
2630 if test "x$TMP" = "xalpha"; then
2632 cat >>confdefs.h <<\_ACEOF
2637 DEFAULT_DEFAULT_wxUSE_GTK=1
2639 *-*-gnu* | *-*-k*bsd*-gnu )
2642 if test "x$TMP" = "xalpha"; then
2644 cat >>confdefs.h <<\_ACEOF
2649 DEFAULT_DEFAULT_wxUSE_GTK=1
2651 *-*-irix5* | *-*-irix6* )
2654 cat >>confdefs.h <<\_ACEOF
2658 cat >>confdefs.h <<\_ACEOF
2662 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2668 cat >>confdefs.h <<\_ACEOF
2672 cat >>confdefs.h <<\_ACEOF
2673 #define __SOLARIS__ 1
2676 cat >>confdefs.h <<\_ACEOF
2680 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2681 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2687 cat >>confdefs.h <<\_ACEOF
2691 cat >>confdefs.h <<\_ACEOF
2695 cat >>confdefs.h <<\_ACEOF
2699 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __FREEBSD__ 1
2708 cat >>confdefs.h <<\_ACEOF
2712 DEFAULT_DEFAULT_wxUSE_GTK=1
2714 *-*-openbsd*|*-*-mirbsd*)
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __OPENBSD__ 1
2721 cat >>confdefs.h <<\_ACEOF
2725 DEFAULT_DEFAULT_wxUSE_GTK=1
2730 cat >>confdefs.h <<\_ACEOF
2731 #define __NETBSD__ 1
2734 cat >>confdefs.h <<\_ACEOF
2738 DEFAULT_DEFAULT_wxUSE_GTK=1
2739 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2741 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2746 cat >>confdefs.h <<\_ACEOF
2750 cat >>confdefs.h <<\_ACEOF
2754 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2755 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2760 cat >>confdefs.h <<\_ACEOF
2764 cat >>confdefs.h <<\_ACEOF
2768 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2773 cat >>confdefs.h <<\_ACEOF
2777 cat >>confdefs.h <<\_ACEOF
2781 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2788 cat >>confdefs.h <<\_ACEOF
2792 cat >>confdefs.h <<\_ACEOF
2796 cat >>confdefs.h <<\_ACEOF
2800 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2807 cat >>confdefs.h <<\_ACEOF
2808 #define __UNIXWARE__ 1
2813 *-*-cygwin* | *-*-mingw32* )
2816 DEFAULT_DEFAULT_wxUSE_MSW=1
2822 cat >>confdefs.h <<\_ACEOF
2827 DEFAULT_DEFAULT_wxUSE_MGL=1
2830 *-pc-os2_emx | *-pc-os2-emx )
2831 cat >>confdefs.h <<\_ACEOF
2836 cat >>confdefs.h <<\_ACEOF
2841 DEFAULT_DEFAULT_wxUSE_PM=1
2843 LDFLAGS="$LDFLAGS -Zcrtdll"
2844 ac_executable_extensions=".exe"
2845 export ac_executable_extensions
2849 for ac_dir in $PATH; do
2851 if test -z "$ac_TEMP_PATH"; then
2852 ac_TEMP_PATH="$ac_dir"
2854 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2857 export PATH="$ac_TEMP_PATH"
2866 cat >>confdefs.h <<\_ACEOF
2870 cat >>confdefs.h <<\_ACEOF
2871 #define __DARWIN__ 1
2874 cat >>confdefs.h <<\_ACEOF
2875 #define TARGET_CARBON 1
2878 DEFAULT_DEFAULT_wxUSE_MAC=1
2881 powerpc-apple-macos* )
2883 ac_cv_c_bigendian=yes
2885 DEFAULT_DEFAULT_wxUSE_MAC=1
2891 cat >>confdefs.h <<\_ACEOF
2898 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2899 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2900 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2901 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2903 DEFAULT_DEFAULT_wxUSE_X11=1
2904 DEFAULT_wxUSE_SHARED=no
2910 wx_arg_cache_file="configarg.cache"
2911 echo "loading argument cache $wx_arg_cache_file"
2912 rm -f ${wx_arg_cache_file}.tmp
2913 touch ${wx_arg_cache_file}.tmp
2914 touch ${wx_arg_cache_file}
2917 DEFAULT_wxUSE_ALL_FEATURES=yes
2919 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2920 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2922 DEFAULT_wxUSE_DMALLOC=no
2923 DEFAULT_wxUSE_LIBGNOMEVFS=no
2924 DEFAULT_wxUSE_LIBHILDON=no
2925 DEFAULT_wxUSE_LIBMSPACK=no
2926 DEFAULT_wxUSE_LIBSDL=no
2927 DEFAULT_wxUSE_ODBC=no
2928 DEFAULT_wxUSE_OPENGL=no
2930 DEFAULT_wxUSE_ACCESSIBILITY=no
2931 DEFAULT_wxUSE_DATAVIEWCTRL=no
2932 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2933 DEFAULT_wxUSE_MEDIACTRL=no
2934 DEFAULT_wxUSE_TAB_DIALOG=no
2936 DEFAULT_wxUSE_UNICODE_UTF8=auto
2937 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2939 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2941 DEFAULT_wxUSE_GTK2=yes
2943 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2946 for toolkit in `echo $ALL_TOOLKITS`; do
2947 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2948 if test "x$LINE" != "x" ; then
2949 has_toolkit_in_cache=1
2950 eval "DEFAULT_$LINE"
2951 eval "CACHE_$toolkit=1"
2953 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2954 if test "x$LINE" != "x" ; then
2955 eval "DEFAULT_$LINE"
2964 enablestring=disable
2966 if test -z "$defaultval"; then
2967 if test x"$enablestring" = xdisable; then
2974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2975 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2977 # Check whether --enable-gui was given.
2978 if test "${enable_gui+set}" = set; then
2979 enableval=$enable_gui;
2980 if test "$enableval" = yes; then
2981 wx_cv_use_gui='wxUSE_GUI=yes'
2983 wx_cv_use_gui='wxUSE_GUI=no'
2988 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2989 if test "x$LINE" != x ; then
2990 eval "DEFAULT_$LINE"
2995 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3000 eval "$wx_cv_use_gui"
3001 if test "$no_cache" != 1; then
3002 echo $wx_cv_use_gui >> ${wx_arg_cache_file}.tmp
3005 if test x"$enablestring" = xdisable; then
3006 if test $wxUSE_GUI = yes; then
3015 { echo "$as_me:$LINENO: result: $result" >&5
3016 echo "${ECHO_T}$result" >&6; }
3021 if test -z "$defaultval"; then
3022 if test x"$enablestring" = xdisable; then
3029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3030 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3032 # Check whether --enable-monolithic was given.
3033 if test "${enable_monolithic+set}" = set; then
3034 enableval=$enable_monolithic;
3035 if test "$enableval" = yes; then
3036 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3038 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3043 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3044 if test "x$LINE" != x ; then
3045 eval "DEFAULT_$LINE"
3050 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3055 eval "$wx_cv_use_monolithic"
3056 if test "$no_cache" != 1; then
3057 echo $wx_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3060 if test x"$enablestring" = xdisable; then
3061 if test $wxUSE_MONOLITHIC = yes; then
3067 result=$wxUSE_MONOLITHIC
3070 { echo "$as_me:$LINENO: result: $result" >&5
3071 echo "${ECHO_T}$result" >&6; }
3076 if test -z "$defaultval"; then
3077 if test x"$enablestring" = xdisable; then
3084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3085 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3087 # Check whether --enable-plugins was given.
3088 if test "${enable_plugins+set}" = set; then
3089 enableval=$enable_plugins;
3090 if test "$enableval" = yes; then
3091 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3093 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3098 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3099 if test "x$LINE" != x ; then
3100 eval "DEFAULT_$LINE"
3105 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3110 eval "$wx_cv_use_plugins"
3111 if test "$no_cache" != 1; then
3112 echo $wx_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3115 if test x"$enablestring" = xdisable; then
3116 if test $wxUSE_PLUGINS = yes; then
3122 result=$wxUSE_PLUGINS
3125 { echo "$as_me:$LINENO: result: $result" >&5
3126 echo "${ECHO_T}$result" >&6; }
3130 defaultval=$wxUSE_ALL_FEATURES
3131 if test -z "$defaultval"; then
3132 if test x"$withstring" = xwithout; then
3138 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3139 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3142 # Check whether --with-subdirs was given.
3143 if test "${with_subdirs+set}" = set; then
3144 withval=$with_subdirs;
3145 if test "$withval" = yes; then
3146 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3148 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3153 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3154 if test "x$LINE" != x ; then
3155 eval "DEFAULT_$LINE"
3160 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3165 eval "$wx_cv_use_subdirs"
3166 if test "$no_cache" != 1; then
3167 echo $wx_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3170 if test x"$withstring" = xwithout; then
3171 if test $wxWITH_SUBDIRS = yes; then
3177 result=$wxWITH_SUBDIRS
3180 { echo "$as_me:$LINENO: result: $result" >&5
3181 echo "${ECHO_T}$result" >&6; }
3184 # Check whether --with-flavour was given.
3185 if test "${with_flavour+set}" = set; then
3186 withval=$with_flavour; WX_FLAVOUR="$withval"
3192 if test -z "$defaultval"; then
3193 if test x"$enablestring" = xdisable; then
3200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3201 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3203 # Check whether --enable-official_build was given.
3204 if test "${enable_official_build+set}" = set; then
3205 enableval=$enable_official_build;
3206 if test "$enableval" = yes; then
3207 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3209 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3214 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3215 if test "x$LINE" != x ; then
3216 eval "DEFAULT_$LINE"
3221 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3226 eval "$wx_cv_use_official_build"
3227 if test "$no_cache" != 1; then
3228 echo $wx_cv_use_official_build >> ${wx_arg_cache_file}.tmp
3231 if test x"$enablestring" = xdisable; then
3232 if test $wxUSE_OFFICIAL_BUILD = yes; then
3238 result=$wxUSE_OFFICIAL_BUILD
3241 { echo "$as_me:$LINENO: result: $result" >&5
3242 echo "${ECHO_T}$result" >&6; }
3244 # Check whether --enable-vendor was given.
3245 if test "${enable_vendor+set}" = set; then
3246 enableval=$enable_vendor; VENDOR="$enableval"
3249 if test "x$VENDOR" = "x"; then
3254 enablestring=disable
3256 if test -z "$defaultval"; then
3257 if test x"$enablestring" = xdisable; then
3264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3265 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3267 # Check whether --enable-all-features was given.
3268 if test "${enable_all_features+set}" = set; then
3269 enableval=$enable_all_features;
3270 if test "$enableval" = yes; then
3271 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3273 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3278 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3279 if test "x$LINE" != x ; then
3280 eval "DEFAULT_$LINE"
3285 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3290 eval "$wx_cv_use_all_features"
3291 if test "$no_cache" != 1; then
3292 echo $wx_cv_use_all_features >> ${wx_arg_cache_file}.tmp
3295 if test x"$enablestring" = xdisable; then
3296 if test $wxUSE_ALL_FEATURES = yes; then
3302 result=$wxUSE_ALL_FEATURES
3305 { echo "$as_me:$LINENO: result: $result" >&5
3306 echo "${ECHO_T}$result" >&6; }
3310 if test "$wxUSE_GUI" = "yes"; then
3315 if test -z "$defaultval"; then
3316 if test x"$enablestring" = xdisable; then
3323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3324 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3326 # Check whether --enable-universal was given.
3327 if test "${enable_universal+set}" = set; then
3328 enableval=$enable_universal;
3329 if test "$enableval" = yes; then
3330 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3332 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3337 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3338 if test "x$LINE" != x ; then
3339 eval "DEFAULT_$LINE"
3344 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3349 eval "$wx_cv_use_universal"
3350 if test "$no_cache" != 1; then
3351 echo $wx_cv_use_universal >> ${wx_arg_cache_file}.tmp
3354 if test x"$enablestring" = xdisable; then
3355 if test $wxUSE_UNIVERSAL = yes; then
3361 result=$wxUSE_UNIVERSAL
3364 { echo "$as_me:$LINENO: result: $result" >&5
3365 echo "${ECHO_T}$result" >&6; }
3367 if test "$wxUSE_UNIVERSAL" = "yes"; then
3369 # Check whether --with-themes was given.
3370 if test "${with_themes+set}" = set; then
3371 withval=$with_themes; wxUNIV_THEMES="$withval"
3377 # Check whether --with-gtk was given.
3378 if test "${with_gtk+set}" = set; then
3379 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3383 # Check whether --with-motif was given.
3384 if test "${with_motif+set}" = set; then
3385 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3389 # Check whether --with-mac was given.
3390 if test "${with_mac+set}" = set; then
3391 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3395 # Check whether --with-cocoa was given.
3396 if test "${with_cocoa+set}" = set; then
3397 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3401 # Check whether --with-wine was given.
3402 if test "${with_wine+set}" = set; then
3403 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3407 # Check whether --with-msw was given.
3408 if test "${with_msw+set}" = set; then
3409 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3413 # Check whether --with-pm was given.
3414 if test "${with_pm+set}" = set; then
3415 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3419 # Check whether --with-mgl was given.
3420 if test "${with_mgl+set}" = set; then
3421 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3425 # Check whether --with-directfb was given.
3426 if test "${with_directfb+set}" = set; then
3427 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3431 # Check whether --with-microwin was given.
3432 if test "${with_microwin+set}" = set; then
3433 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3437 # Check whether --with-x11 was given.
3438 if test "${with_x11+set}" = set; then
3439 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3445 if test -z "$defaultval"; then
3446 if test x"$enablestring" = xdisable; then
3453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3454 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3456 # Check whether --enable-nanox was given.
3457 if test "${enable_nanox+set}" = set; then
3458 enableval=$enable_nanox;
3459 if test "$enableval" = yes; then
3460 wx_cv_use_nanox='wxUSE_NANOX=yes'
3462 wx_cv_use_nanox='wxUSE_NANOX=no'
3467 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3468 if test "x$LINE" != x ; then
3469 eval "DEFAULT_$LINE"
3474 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3479 eval "$wx_cv_use_nanox"
3480 if test "$no_cache" != 1; then
3481 echo $wx_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3484 if test x"$enablestring" = xdisable; then
3485 if test $wxUSE_NANOX = yes; then
3494 { echo "$as_me:$LINENO: result: $result" >&5
3495 echo "${ECHO_T}$result" >&6; }
3498 # Check whether --enable-gtk2 was given.
3499 if test "${enable_gtk2+set}" = set; then
3500 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3506 if test -z "$defaultval"; then
3507 if test x"$enablestring" = xdisable; then
3514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3515 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3517 # Check whether --enable-gpe was given.
3518 if test "${enable_gpe+set}" = set; then
3519 enableval=$enable_gpe;
3520 if test "$enableval" = yes; then
3521 wx_cv_use_gpe='wxUSE_GPE=yes'
3523 wx_cv_use_gpe='wxUSE_GPE=no'
3528 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3529 if test "x$LINE" != x ; then
3530 eval "DEFAULT_$LINE"
3535 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3540 eval "$wx_cv_use_gpe"
3541 if test "$no_cache" != 1; then
3542 echo $wx_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3545 if test x"$enablestring" = xdisable; then
3546 if test $wxUSE_GPE = yes; then
3555 { echo "$as_me:$LINENO: result: $result" >&5
3556 echo "${ECHO_T}$result" >&6; }
3561 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3562 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; }; }
3584 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3585 if test "x$LINE" != x ; then
3586 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 "$no_cache" != 1; then
3598 echo $wx_cv_use_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; }
3624 # Check whether --with-libjpeg was given.
3625 if test "${with_libjpeg+set}" = set; then
3626 withval=$with_libjpeg;
3627 if test "$withval" = yes; then
3628 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3629 elif test "$withval" = no; then
3630 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3631 elif test "$withval" = sys; then
3632 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3633 elif test "$withval" = builtin; then
3634 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3636 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3637 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3638 { (exit 1); exit 1; }; }
3643 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3644 if test "x$LINE" != x ; then
3645 eval "DEFAULT_$LINE"
3650 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3655 eval "$wx_cv_use_libjpeg"
3656 if test "$no_cache" != 1; then
3657 echo $wx_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3660 if test "$wxUSE_LIBJPEG" = yes; then
3661 { echo "$as_me:$LINENO: result: yes" >&5
3662 echo "${ECHO_T}yes" >&6; }
3663 elif test "$wxUSE_LIBJPEG" = no; then
3664 { echo "$as_me:$LINENO: result: no" >&5
3665 echo "${ECHO_T}no" >&6; }
3666 elif test "$wxUSE_LIBJPEG" = sys; then
3667 { echo "$as_me:$LINENO: result: system version" >&5
3668 echo "${ECHO_T}system version" >&6; }
3669 elif test "$wxUSE_LIBJPEG" = builtin; then
3670 { echo "$as_me:$LINENO: result: builtin version" >&5
3671 echo "${ECHO_T}builtin version" >&6; }
3673 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3674 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3675 { (exit 1); exit 1; }; }
3679 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3680 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3683 # Check whether --with-libtiff was given.
3684 if test "${with_libtiff+set}" = set; then
3685 withval=$with_libtiff;
3686 if test "$withval" = yes; then
3687 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3688 elif test "$withval" = no; then
3689 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3690 elif test "$withval" = sys; then
3691 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3692 elif test "$withval" = builtin; then
3693 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3695 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3696 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3697 { (exit 1); exit 1; }; }
3702 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3703 if test "x$LINE" != x ; then
3704 eval "DEFAULT_$LINE"
3709 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3714 eval "$wx_cv_use_libtiff"
3715 if test "$no_cache" != 1; then
3716 echo $wx_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3719 if test "$wxUSE_LIBTIFF" = yes; then
3720 { echo "$as_me:$LINENO: result: yes" >&5
3721 echo "${ECHO_T}yes" >&6; }
3722 elif test "$wxUSE_LIBTIFF" = no; then
3723 { echo "$as_me:$LINENO: result: no" >&5
3724 echo "${ECHO_T}no" >&6; }
3725 elif test "$wxUSE_LIBTIFF" = sys; then
3726 { echo "$as_me:$LINENO: result: system version" >&5
3727 echo "${ECHO_T}system version" >&6; }
3728 elif test "$wxUSE_LIBTIFF" = builtin; then
3729 { echo "$as_me:$LINENO: result: builtin version" >&5
3730 echo "${ECHO_T}builtin version" >&6; }
3732 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3733 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3734 { (exit 1); exit 1; }; }
3738 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3739 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3742 # Check whether --with-libxpm was given.
3743 if test "${with_libxpm+set}" = set; then
3744 withval=$with_libxpm;
3745 if test "$withval" = yes; then
3746 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3747 elif test "$withval" = no; then
3748 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3749 elif test "$withval" = sys; then
3750 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3751 elif test "$withval" = builtin; then
3752 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3754 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3755 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3756 { (exit 1); exit 1; }; }
3761 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3762 if test "x$LINE" != x ; then
3763 eval "DEFAULT_$LINE"
3768 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3773 eval "$wx_cv_use_libxpm"
3774 if test "$no_cache" != 1; then
3775 echo $wx_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3778 if test "$wxUSE_LIBXPM" = yes; then
3779 { echo "$as_me:$LINENO: result: yes" >&5
3780 echo "${ECHO_T}yes" >&6; }
3781 elif test "$wxUSE_LIBXPM" = no; then
3782 { echo "$as_me:$LINENO: result: no" >&5
3783 echo "${ECHO_T}no" >&6; }
3784 elif test "$wxUSE_LIBXPM" = sys; then
3785 { echo "$as_me:$LINENO: result: system version" >&5
3786 echo "${ECHO_T}system version" >&6; }
3787 elif test "$wxUSE_LIBXPM" = builtin; then
3788 { echo "$as_me:$LINENO: result: builtin version" >&5
3789 echo "${ECHO_T}builtin version" >&6; }
3791 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3792 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3793 { (exit 1); exit 1; }; }
3798 defaultval=$wxUSE_ALL_FEATURES
3799 if test -z "$defaultval"; then
3800 if test x"$withstring" = xwithout; then
3806 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3807 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3810 # Check whether --with-libmspack was given.
3811 if test "${with_libmspack+set}" = set; then
3812 withval=$with_libmspack;
3813 if test "$withval" = yes; then
3814 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3816 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3821 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3822 if test "x$LINE" != x ; then
3823 eval "DEFAULT_$LINE"
3828 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3833 eval "$wx_cv_use_libmspack"
3834 if test "$no_cache" != 1; then
3835 echo $wx_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3838 if test x"$withstring" = xwithout; then
3839 if test $wxUSE_LIBMSPACK = yes; then
3845 result=$wxUSE_LIBMSPACK
3848 { echo "$as_me:$LINENO: result: $result" >&5
3849 echo "${ECHO_T}$result" >&6; }
3853 defaultval=$wxUSE_ALL_FEATURES
3854 if test -z "$defaultval"; then
3855 if test x"$withstring" = xwithout; then
3861 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3862 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3865 # Check whether --with-gnomeprint was given.
3866 if test "${with_gnomeprint+set}" = set; then
3867 withval=$with_gnomeprint;
3868 if test "$withval" = yes; then
3869 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3871 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3876 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3877 if test "x$LINE" != x ; then
3878 eval "DEFAULT_$LINE"
3883 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3888 eval "$wx_cv_use_gnomeprint"
3889 if test "$no_cache" != 1; then
3890 echo $wx_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3893 if test x"$withstring" = xwithout; then
3894 if test $wxUSE_LIBGNOMEPRINT = yes; then
3900 result=$wxUSE_LIBGNOMEPRINT
3903 { echo "$as_me:$LINENO: result: $result" >&5
3904 echo "${ECHO_T}$result" >&6; }
3908 defaultval=$wxUSE_ALL_FEATURES
3909 if test -z "$defaultval"; then
3910 if test x"$withstring" = xwithout; then
3916 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3917 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3920 # Check whether --with-gnomevfs was given.
3921 if test "${with_gnomevfs+set}" = set; then
3922 withval=$with_gnomevfs;
3923 if test "$withval" = yes; then
3924 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3926 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3931 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3932 if test "x$LINE" != x ; then
3933 eval "DEFAULT_$LINE"
3938 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3943 eval "$wx_cv_use_gnomevfs"
3944 if test "$no_cache" != 1; then
3945 echo $wx_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3948 if test x"$withstring" = xwithout; then
3949 if test $wxUSE_LIBGNOMEVFS = yes; then
3955 result=$wxUSE_LIBGNOMEVFS
3958 { echo "$as_me:$LINENO: result: $result" >&5
3959 echo "${ECHO_T}$result" >&6; }
3963 defaultval=$wxUSE_ALL_FEATURES
3964 if test -z "$defaultval"; then
3965 if test x"$withstring" = xwithout; then
3971 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3972 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3975 # Check whether --with-hildon was given.
3976 if test "${with_hildon+set}" = set; then
3977 withval=$with_hildon;
3978 if test "$withval" = yes; then
3979 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3981 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3986 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3987 if test "x$LINE" != x ; then
3988 eval "DEFAULT_$LINE"
3993 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3998 eval "$wx_cv_use_hildon"
3999 if test "$no_cache" != 1; then
4000 echo $wx_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4003 if test x"$withstring" = xwithout; then
4004 if test $wxUSE_LIBHILDON = yes; then
4010 result=$wxUSE_LIBHILDON
4013 { echo "$as_me:$LINENO: result: $result" >&5
4014 echo "${ECHO_T}$result" >&6; }
4018 defaultval=$wxUSE_ALL_FEATURES
4019 if test -z "$defaultval"; then
4020 if test x"$withstring" = xwithout; then
4026 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4027 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4030 # Check whether --with-opengl was given.
4031 if test "${with_opengl+set}" = set; then
4032 withval=$with_opengl;
4033 if test "$withval" = yes; then
4034 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4036 wx_cv_use_opengl='wxUSE_OPENGL=no'
4041 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4042 if test "x$LINE" != x ; then
4043 eval "DEFAULT_$LINE"
4048 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4053 eval "$wx_cv_use_opengl"
4054 if test "$no_cache" != 1; then
4055 echo $wx_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4058 if test x"$withstring" = xwithout; then
4059 if test $wxUSE_OPENGL = yes; then
4065 result=$wxUSE_OPENGL
4068 { echo "$as_me:$LINENO: result: $result" >&5
4069 echo "${ECHO_T}$result" >&6; }
4076 defaultval=$wxUSE_ALL_FEATURES
4077 if test -z "$defaultval"; then
4078 if test x"$withstring" = xwithout; then
4084 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4085 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4088 # Check whether --with-dmalloc was given.
4089 if test "${with_dmalloc+set}" = set; then
4090 withval=$with_dmalloc;
4091 if test "$withval" = yes; then
4092 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4094 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4099 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4100 if test "x$LINE" != x ; then
4101 eval "DEFAULT_$LINE"
4106 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4111 eval "$wx_cv_use_dmalloc"
4112 if test "$no_cache" != 1; then
4113 echo $wx_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4116 if test x"$withstring" = xwithout; then
4117 if test $wxUSE_DMALLOC = yes; then
4123 result=$wxUSE_DMALLOC
4126 { echo "$as_me:$LINENO: result: $result" >&5
4127 echo "${ECHO_T}$result" >&6; }
4131 defaultval=$wxUSE_ALL_FEATURES
4132 if test -z "$defaultval"; then
4133 if test x"$withstring" = xwithout; then
4139 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4140 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4143 # Check whether --with-sdl was given.
4144 if test "${with_sdl+set}" = set; then
4146 if test "$withval" = yes; then
4147 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4149 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4154 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4155 if test "x$LINE" != x ; then
4156 eval "DEFAULT_$LINE"
4161 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4166 eval "$wx_cv_use_sdl"
4167 if test "$no_cache" != 1; then
4168 echo $wx_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4171 if test x"$withstring" = xwithout; then
4172 if test $wxUSE_LIBSDL = yes; then
4178 result=$wxUSE_LIBSDL
4181 { echo "$as_me:$LINENO: result: $result" >&5
4182 echo "${ECHO_T}$result" >&6; }
4185 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4186 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4189 # Check whether --with-regex was given.
4190 if test "${with_regex+set}" = set; then
4191 withval=$with_regex;
4192 if test "$withval" = yes; then
4193 wx_cv_use_regex='wxUSE_REGEX=yes'
4194 elif test "$withval" = no; then
4195 wx_cv_use_regex='wxUSE_REGEX=no'
4196 elif test "$withval" = sys; then
4197 wx_cv_use_regex='wxUSE_REGEX=sys'
4198 elif test "$withval" = builtin; then
4199 wx_cv_use_regex='wxUSE_REGEX=builtin'
4201 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4202 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4203 { (exit 1); exit 1; }; }
4208 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4209 if test "x$LINE" != x ; then
4210 eval "DEFAULT_$LINE"
4215 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4220 eval "$wx_cv_use_regex"
4221 if test "$no_cache" != 1; then
4222 echo $wx_cv_use_regex >> ${wx_arg_cache_file}.tmp
4225 if test "$wxUSE_REGEX" = yes; then
4226 { echo "$as_me:$LINENO: result: yes" >&5
4227 echo "${ECHO_T}yes" >&6; }
4228 elif test "$wxUSE_REGEX" = no; then
4229 { echo "$as_me:$LINENO: result: no" >&5
4230 echo "${ECHO_T}no" >&6; }
4231 elif test "$wxUSE_REGEX" = sys; then
4232 { echo "$as_me:$LINENO: result: system version" >&5
4233 echo "${ECHO_T}system version" >&6; }
4234 elif test "$wxUSE_REGEX" = builtin; then
4235 { echo "$as_me:$LINENO: result: builtin version" >&5
4236 echo "${ECHO_T}builtin version" >&6; }
4238 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4239 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4240 { (exit 1); exit 1; }; }
4244 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4245 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4248 # Check whether --with-zlib was given.
4249 if test "${with_zlib+set}" = set; then
4251 if test "$withval" = yes; then
4252 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4253 elif test "$withval" = no; then
4254 wx_cv_use_zlib='wxUSE_ZLIB=no'
4255 elif test "$withval" = sys; then
4256 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4257 elif test "$withval" = builtin; then
4258 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4260 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4261 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4262 { (exit 1); exit 1; }; }
4267 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4268 if test "x$LINE" != x ; then
4269 eval "DEFAULT_$LINE"
4274 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4279 eval "$wx_cv_use_zlib"
4280 if test "$no_cache" != 1; then
4281 echo $wx_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4284 if test "$wxUSE_ZLIB" = yes; then
4285 { echo "$as_me:$LINENO: result: yes" >&5
4286 echo "${ECHO_T}yes" >&6; }
4287 elif test "$wxUSE_ZLIB" = no; then
4288 { echo "$as_me:$LINENO: result: no" >&5
4289 echo "${ECHO_T}no" >&6; }
4290 elif test "$wxUSE_ZLIB" = sys; then
4291 { echo "$as_me:$LINENO: result: system version" >&5
4292 echo "${ECHO_T}system version" >&6; }
4293 elif test "$wxUSE_ZLIB" = builtin; then
4294 { echo "$as_me:$LINENO: result: builtin version" >&5
4295 echo "${ECHO_T}builtin version" >&6; }
4297 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4298 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4299 { (exit 1); exit 1; }; }
4303 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4304 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4307 # Check whether --with-odbc was given.
4308 if test "${with_odbc+set}" = set; then
4310 if test "$withval" = yes; then
4311 wx_cv_use_odbc='wxUSE_ODBC=yes'
4312 elif test "$withval" = no; then
4313 wx_cv_use_odbc='wxUSE_ODBC=no'
4314 elif test "$withval" = sys; then
4315 wx_cv_use_odbc='wxUSE_ODBC=sys'
4316 elif test "$withval" = builtin; then
4317 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4319 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4320 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4321 { (exit 1); exit 1; }; }
4326 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4327 if test "x$LINE" != x ; then
4328 eval "DEFAULT_$LINE"
4333 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4338 eval "$wx_cv_use_odbc"
4339 if test "$no_cache" != 1; then
4340 echo $wx_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4343 if test "$wxUSE_ODBC" = yes; then
4344 { echo "$as_me:$LINENO: result: yes" >&5
4345 echo "${ECHO_T}yes" >&6; }
4346 elif test "$wxUSE_ODBC" = no; then
4347 { echo "$as_me:$LINENO: result: no" >&5
4348 echo "${ECHO_T}no" >&6; }
4349 elif test "$wxUSE_ODBC" = sys; then
4350 { echo "$as_me:$LINENO: result: system version" >&5
4351 echo "${ECHO_T}system version" >&6; }
4352 elif test "$wxUSE_ODBC" = builtin; then
4353 { echo "$as_me:$LINENO: result: builtin version" >&5
4354 echo "${ECHO_T}builtin version" >&6; }
4356 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4357 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4358 { (exit 1); exit 1; }; }
4362 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4363 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4366 # Check whether --with-expat was given.
4367 if test "${with_expat+set}" = set; then
4368 withval=$with_expat;
4369 if test "$withval" = yes; then
4370 wx_cv_use_expat='wxUSE_EXPAT=yes'
4371 elif test "$withval" = no; then
4372 wx_cv_use_expat='wxUSE_EXPAT=no'
4373 elif test "$withval" = sys; then
4374 wx_cv_use_expat='wxUSE_EXPAT=sys'
4375 elif test "$withval" = builtin; then
4376 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4378 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4379 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4380 { (exit 1); exit 1; }; }
4385 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4386 if test "x$LINE" != x ; then
4387 eval "DEFAULT_$LINE"
4392 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4397 eval "$wx_cv_use_expat"
4398 if test "$no_cache" != 1; then
4399 echo $wx_cv_use_expat >> ${wx_arg_cache_file}.tmp
4402 if test "$wxUSE_EXPAT" = yes; then
4403 { echo "$as_me:$LINENO: result: yes" >&5
4404 echo "${ECHO_T}yes" >&6; }
4405 elif test "$wxUSE_EXPAT" = no; then
4406 { echo "$as_me:$LINENO: result: no" >&5
4407 echo "${ECHO_T}no" >&6; }
4408 elif test "$wxUSE_EXPAT" = sys; then
4409 { echo "$as_me:$LINENO: result: system version" >&5
4410 echo "${ECHO_T}system version" >&6; }
4411 elif test "$wxUSE_EXPAT" = builtin; then
4412 { echo "$as_me:$LINENO: result: builtin version" >&5
4413 echo "${ECHO_T}builtin version" >&6; }
4415 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4416 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4417 { (exit 1); exit 1; }; }
4423 enablestring=disable
4425 if test -z "$defaultval"; then
4426 if test x"$enablestring" = xdisable; then
4433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4434 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4436 # Check whether --enable-shared was given.
4437 if test "${enable_shared+set}" = set; then
4438 enableval=$enable_shared;
4439 if test "$enableval" = yes; then
4440 wx_cv_use_shared='wxUSE_SHARED=yes'
4442 wx_cv_use_shared='wxUSE_SHARED=no'
4447 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4448 if test "x$LINE" != x ; then
4449 eval "DEFAULT_$LINE"
4454 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4459 eval "$wx_cv_use_shared"
4460 if test "$no_cache" != 1; then
4461 echo $wx_cv_use_shared >> ${wx_arg_cache_file}.tmp
4464 if test x"$enablestring" = xdisable; then
4465 if test $wxUSE_SHARED = yes; then
4471 result=$wxUSE_SHARED
4474 { echo "$as_me:$LINENO: result: $result" >&5
4475 echo "${ECHO_T}$result" >&6; }
4478 enablestring=disable
4480 if test -z "$defaultval"; then
4481 if test x"$enablestring" = xdisable; then
4488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4489 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4491 # Check whether --enable-optimise was given.
4492 if test "${enable_optimise+set}" = set; then
4493 enableval=$enable_optimise;
4494 if test "$enableval" = yes; then
4495 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4497 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4502 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4503 if test "x$LINE" != x ; then
4504 eval "DEFAULT_$LINE"
4509 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4514 eval "$wx_cv_use_optimise"
4515 if test "$no_cache" != 1; then
4516 echo $wx_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4519 if test x"$enablestring" = xdisable; then
4520 if test $wxUSE_OPTIMISE = yes; then
4526 result=$wxUSE_OPTIMISE
4529 { echo "$as_me:$LINENO: result: $result" >&5
4530 echo "${ECHO_T}$result" >&6; }
4535 if test -z "$defaultval"; then
4536 if test x"$enablestring" = xdisable; then
4543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4544 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4546 # Check whether --enable-debug was given.
4547 if test "${enable_debug+set}" = set; then
4548 enableval=$enable_debug;
4549 if test "$enableval" = yes; then
4550 wx_cv_use_debug='wxUSE_DEBUG=yes'
4552 wx_cv_use_debug='wxUSE_DEBUG=no'
4557 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4558 if test "x$LINE" != x ; then
4559 eval "DEFAULT_$LINE"
4564 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4569 eval "$wx_cv_use_debug"
4570 if test "$no_cache" != 1; then
4571 echo $wx_cv_use_debug >> ${wx_arg_cache_file}.tmp
4574 if test x"$enablestring" = xdisable; then
4575 if test $wxUSE_DEBUG = yes; then
4584 { echo "$as_me:$LINENO: result: $result" >&5
4585 echo "${ECHO_T}$result" >&6; }
4590 if test -z "$defaultval"; then
4591 if test x"$enablestring" = xdisable; then
4598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4599 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4601 # Check whether --enable-stl was given.
4602 if test "${enable_stl+set}" = set; then
4603 enableval=$enable_stl;
4604 if test "$enableval" = yes; then
4605 wx_cv_use_stl='wxUSE_STL=yes'
4607 wx_cv_use_stl='wxUSE_STL=no'
4612 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4613 if test "x$LINE" != x ; then
4614 eval "DEFAULT_$LINE"
4619 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4624 eval "$wx_cv_use_stl"
4625 if test "$no_cache" != 1; then
4626 echo $wx_cv_use_stl >> ${wx_arg_cache_file}.tmp
4629 if test x"$enablestring" = xdisable; then
4630 if test $wxUSE_STL = yes; then
4639 { echo "$as_me:$LINENO: result: $result" >&5
4640 echo "${ECHO_T}$result" >&6; }
4645 if test -z "$defaultval"; then
4646 if test x"$enablestring" = xdisable; then
4653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4654 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4656 # Check whether --enable-std_iostreams was given.
4657 if test "${enable_std_iostreams+set}" = set; then
4658 enableval=$enable_std_iostreams;
4659 if test "$enableval" = yes; then
4660 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4662 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4667 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4668 if test "x$LINE" != x ; then
4669 eval "DEFAULT_$LINE"
4674 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4679 eval "$wx_cv_use_std_iostreams"
4680 if test "$no_cache" != 1; then
4681 echo $wx_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4684 if test x"$enablestring" = xdisable; then
4685 if test $wxUSE_STD_IOSTREAM = yes; then
4691 result=$wxUSE_STD_IOSTREAM
4694 { echo "$as_me:$LINENO: result: $result" >&5
4695 echo "${ECHO_T}$result" >&6; }
4700 if test -z "$defaultval"; then
4701 if test x"$enablestring" = xdisable; then
4708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4709 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4711 # Check whether --enable-std_string was given.
4712 if test "${enable_std_string+set}" = set; then
4713 enableval=$enable_std_string;
4714 if test "$enableval" = yes; then
4715 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4717 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4722 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4723 if test "x$LINE" != x ; then
4724 eval "DEFAULT_$LINE"
4729 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4734 eval "$wx_cv_use_std_string"
4735 if test "$no_cache" != 1; then
4736 echo $wx_cv_use_std_string >> ${wx_arg_cache_file}.tmp
4739 if test x"$enablestring" = xdisable; then
4740 if test $wxUSE_STD_STRING = yes; then
4746 result=$wxUSE_STD_STRING
4749 { echo "$as_me:$LINENO: result: $result" >&5
4750 echo "${ECHO_T}$result" >&6; }
4753 enablestring=disable
4755 if test -z "$defaultval"; then
4756 if test x"$enablestring" = xdisable; then
4763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4764 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4766 # Check whether --enable-unicode was given.
4767 if test "${enable_unicode+set}" = set; then
4768 enableval=$enable_unicode;
4769 if test "$enableval" = yes; then
4770 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4772 wx_cv_use_unicode='wxUSE_UNICODE=no'
4777 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4778 if test "x$LINE" != x ; then
4779 eval "DEFAULT_$LINE"
4784 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4789 eval "$wx_cv_use_unicode"
4790 if test "$no_cache" != 1; then
4791 echo $wx_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4794 if test x"$enablestring" = xdisable; then
4795 if test $wxUSE_UNICODE = yes; then
4801 result=$wxUSE_UNICODE
4804 { echo "$as_me:$LINENO: result: $result" >&5
4805 echo "${ECHO_T}$result" >&6; }
4810 if test -z "$defaultval"; then
4811 if test x"$enablestring" = xdisable; then
4818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4819 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4821 # Check whether --enable-mslu was given.
4822 if test "${enable_mslu+set}" = set; then
4823 enableval=$enable_mslu;
4824 if test "$enableval" = yes; then
4825 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4827 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4832 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4833 if test "x$LINE" != x ; then
4834 eval "DEFAULT_$LINE"
4839 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4844 eval "$wx_cv_use_mslu"
4845 if test "$no_cache" != 1; then
4846 echo $wx_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4849 if test x"$enablestring" = xdisable; then
4850 if test $wxUSE_UNICODE_MSLU = yes; then
4856 result=$wxUSE_UNICODE_MSLU
4859 { echo "$as_me:$LINENO: result: $result" >&5
4860 echo "${ECHO_T}$result" >&6; }
4864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4865 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4867 # Check whether --enable-utf8 was given.
4868 if test "${enable_utf8+set}" = set; then
4869 enableval=$enable_utf8;
4870 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4874 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4875 if test "x$LINE" != x ; then
4876 eval "DEFAULT_$LINE"
4881 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4886 eval "$wx_cv_use_utf8"
4887 if test "$no_cache" != 1; then
4888 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
4891 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4892 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4897 if test -z "$defaultval"; then
4898 if test x"$enablestring" = xdisable; then
4905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4906 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4908 # Check whether --enable-utf8only was given.
4909 if test "${enable_utf8only+set}" = set; then
4910 enableval=$enable_utf8only;
4911 if test "$enableval" = yes; then
4912 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4914 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4919 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4920 if test "x$LINE" != x ; then
4921 eval "DEFAULT_$LINE"
4926 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4931 eval "$wx_cv_use_utf8only"
4932 if test "$no_cache" != 1; then
4933 echo $wx_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
4936 if test x"$enablestring" = xdisable; then
4937 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4943 result=$wxUSE_UNICODE_UTF8_LOCALE
4946 { echo "$as_me:$LINENO: result: $result" >&5
4947 echo "${ECHO_T}$result" >&6; }
4952 if test -z "$defaultval"; then
4953 if test x"$enablestring" = xdisable; then
4960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4961 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4963 # Check whether --enable-extended_rtti was given.
4964 if test "${enable_extended_rtti+set}" = set; then
4965 enableval=$enable_extended_rtti;
4966 if test "$enableval" = yes; then
4967 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4969 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4974 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4975 if test "x$LINE" != x ; then
4976 eval "DEFAULT_$LINE"
4981 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4986 eval "$wx_cv_use_extended_rtti"
4987 if test "$no_cache" != 1; then
4988 echo $wx_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4991 if test x"$enablestring" = xdisable; then
4992 if test $wxUSE_EXTENDED_RTTI = yes; then
4998 result=$wxUSE_EXTENDED_RTTI
5001 { echo "$as_me:$LINENO: result: $result" >&5
5002 echo "${ECHO_T}$result" >&6; }
5004 if test "$USE_OS2" = "1"; then
5005 DEFAULT_wxUSE_OMF=no
5009 if test -z "$defaultval"; then
5010 if test x"$enablestring" = xdisable; then
5017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5018 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5020 # Check whether --enable-omf was given.
5021 if test "${enable_omf+set}" = set; then
5022 enableval=$enable_omf;
5023 if test "$enableval" = yes; then
5024 wx_cv_use_omf='wxUSE_OMF=yes'
5026 wx_cv_use_omf='wxUSE_OMF=no'
5031 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5032 if test "x$LINE" != x ; then
5033 eval "DEFAULT_$LINE"
5038 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5043 eval "$wx_cv_use_omf"
5044 if test "$no_cache" != 1; then
5045 echo $wx_cv_use_omf >> ${wx_arg_cache_file}.tmp
5048 if test x"$enablestring" = xdisable; then
5049 if test $wxUSE_OMF = yes; then
5058 { echo "$as_me:$LINENO: result: $result" >&5
5059 echo "${ECHO_T}$result" >&6; }
5063 if test "$wxUSE_DEBUG" = "yes"; then
5064 DEFAULT_wxUSE_DEBUG_FLAG=yes
5065 DEFAULT_wxUSE_DEBUG_INFO=yes
5067 elif test "$wxUSE_DEBUG" = "no"; then
5068 DEFAULT_wxUSE_DEBUG_FLAG=no
5069 DEFAULT_wxUSE_DEBUG_INFO=no
5076 if test -z "$defaultval"; then
5077 if test x"$enablestring" = xdisable; then
5084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5085 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5087 # Check whether --enable-debug_flag was given.
5088 if test "${enable_debug_flag+set}" = set; then
5089 enableval=$enable_debug_flag;
5090 if test "$enableval" = yes; then
5091 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5093 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5098 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5099 if test "x$LINE" != x ; then
5100 eval "DEFAULT_$LINE"
5105 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5110 eval "$wx_cv_use_debug_flag"
5111 if test "$no_cache" != 1; then
5112 echo $wx_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
5115 if test x"$enablestring" = xdisable; then
5116 if test $wxUSE_DEBUG_FLAG = yes; then
5122 result=$wxUSE_DEBUG_FLAG
5125 { echo "$as_me:$LINENO: result: $result" >&5
5126 echo "${ECHO_T}$result" >&6; }
5131 if test -z "$defaultval"; then
5132 if test x"$enablestring" = xdisable; then
5139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5140 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5142 # Check whether --enable-debug_info was given.
5143 if test "${enable_debug_info+set}" = set; then
5144 enableval=$enable_debug_info;
5145 if test "$enableval" = yes; then
5146 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5148 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5153 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5154 if test "x$LINE" != x ; then
5155 eval "DEFAULT_$LINE"
5160 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5165 eval "$wx_cv_use_debug_info"
5166 if test "$no_cache" != 1; then
5167 echo $wx_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
5170 if test x"$enablestring" = xdisable; then
5171 if test $wxUSE_DEBUG_INFO = yes; then
5177 result=$wxUSE_DEBUG_INFO
5180 { echo "$as_me:$LINENO: result: $result" >&5
5181 echo "${ECHO_T}$result" >&6; }
5186 if test -z "$defaultval"; then
5187 if test x"$enablestring" = xdisable; then
5194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5195 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5197 # Check whether --enable-debug_gdb was given.
5198 if test "${enable_debug_gdb+set}" = set; then
5199 enableval=$enable_debug_gdb;
5200 if test "$enableval" = yes; then
5201 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5203 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5208 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5209 if test "x$LINE" != x ; then
5210 eval "DEFAULT_$LINE"
5215 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5220 eval "$wx_cv_use_debug_gdb"
5221 if test "$no_cache" != 1; then
5222 echo $wx_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
5225 if test x"$enablestring" = xdisable; then
5226 if test $wxUSE_DEBUG_GDB = yes; then
5232 result=$wxUSE_DEBUG_GDB
5235 { echo "$as_me:$LINENO: result: $result" >&5
5236 echo "${ECHO_T}$result" >&6; }
5241 if test -z "$defaultval"; then
5242 if test x"$enablestring" = xdisable; then
5249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5250 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5252 # Check whether --enable-debug_cntxt was given.
5253 if test "${enable_debug_cntxt+set}" = set; then
5254 enableval=$enable_debug_cntxt;
5255 if test "$enableval" = yes; then
5256 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5258 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5263 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5264 if test "x$LINE" != x ; then
5265 eval "DEFAULT_$LINE"
5270 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5275 eval "$wx_cv_use_debug_cntxt"
5276 if test "$no_cache" != 1; then
5277 echo $wx_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
5280 if test x"$enablestring" = xdisable; then
5281 if test $wxUSE_DEBUG_CONTEXT = yes; then
5287 result=$wxUSE_DEBUG_CONTEXT
5290 { echo "$as_me:$LINENO: result: $result" >&5
5291 echo "${ECHO_T}$result" >&6; }
5296 if test -z "$defaultval"; then
5297 if test x"$enablestring" = xdisable; then
5304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5305 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5307 # Check whether --enable-mem_tracing was given.
5308 if test "${enable_mem_tracing+set}" = set; then
5309 enableval=$enable_mem_tracing;
5310 if test "$enableval" = yes; then
5311 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5313 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5318 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5319 if test "x$LINE" != x ; then
5320 eval "DEFAULT_$LINE"
5325 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5330 eval "$wx_cv_use_mem_tracing"
5331 if test "$no_cache" != 1; then
5332 echo $wx_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
5335 if test x"$enablestring" = xdisable; then
5336 if test $wxUSE_MEM_TRACING = yes; then
5342 result=$wxUSE_MEM_TRACING
5345 { echo "$as_me:$LINENO: result: $result" >&5
5346 echo "${ECHO_T}$result" >&6; }
5351 if test -z "$defaultval"; then
5352 if test x"$enablestring" = xdisable; then
5359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5360 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5362 # Check whether --enable-profile was given.
5363 if test "${enable_profile+set}" = set; then
5364 enableval=$enable_profile;
5365 if test "$enableval" = yes; then
5366 wx_cv_use_profile='wxUSE_PROFILE=yes'
5368 wx_cv_use_profile='wxUSE_PROFILE=no'
5373 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5374 if test "x$LINE" != x ; then
5375 eval "DEFAULT_$LINE"
5380 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5385 eval "$wx_cv_use_profile"
5386 if test "$no_cache" != 1; then
5387 echo $wx_cv_use_profile >> ${wx_arg_cache_file}.tmp
5390 if test x"$enablestring" = xdisable; then
5391 if test $wxUSE_PROFILE = yes; then
5397 result=$wxUSE_PROFILE
5400 { echo "$as_me:$LINENO: result: $result" >&5
5401 echo "${ECHO_T}$result" >&6; }
5406 if test -z "$defaultval"; then
5407 if test x"$enablestring" = xdisable; then
5414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5415 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5417 # Check whether --enable-no_rtti was given.
5418 if test "${enable_no_rtti+set}" = set; then
5419 enableval=$enable_no_rtti;
5420 if test "$enableval" = yes; then
5421 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5423 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5428 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5429 if test "x$LINE" != x ; then
5430 eval "DEFAULT_$LINE"
5435 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5440 eval "$wx_cv_use_no_rtti"
5441 if test "$no_cache" != 1; then
5442 echo $wx_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5445 if test x"$enablestring" = xdisable; then
5446 if test $wxUSE_NO_RTTI = yes; then
5452 result=$wxUSE_NO_RTTI
5455 { echo "$as_me:$LINENO: result: $result" >&5
5456 echo "${ECHO_T}$result" >&6; }
5461 if test -z "$defaultval"; then
5462 if test x"$enablestring" = xdisable; then
5469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5470 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5472 # Check whether --enable-no_exceptions was given.
5473 if test "${enable_no_exceptions+set}" = set; then
5474 enableval=$enable_no_exceptions;
5475 if test "$enableval" = yes; then
5476 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5478 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5483 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5484 if test "x$LINE" != x ; then
5485 eval "DEFAULT_$LINE"
5490 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5495 eval "$wx_cv_use_no_exceptions"
5496 if test "$no_cache" != 1; then
5497 echo $wx_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5500 if test x"$enablestring" = xdisable; then
5501 if test $wxUSE_NO_EXCEPTIONS = yes; then
5507 result=$wxUSE_NO_EXCEPTIONS
5510 { echo "$as_me:$LINENO: result: $result" >&5
5511 echo "${ECHO_T}$result" >&6; }
5516 if test -z "$defaultval"; then
5517 if test x"$enablestring" = xdisable; then
5524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5525 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5527 # Check whether --enable-permissive was given.
5528 if test "${enable_permissive+set}" = set; then
5529 enableval=$enable_permissive;
5530 if test "$enableval" = yes; then
5531 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5533 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5538 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5539 if test "x$LINE" != x ; then
5540 eval "DEFAULT_$LINE"
5545 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5550 eval "$wx_cv_use_permissive"
5551 if test "$no_cache" != 1; then
5552 echo $wx_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5555 if test x"$enablestring" = xdisable; then
5556 if test $wxUSE_PERMISSIVE = yes; then
5562 result=$wxUSE_PERMISSIVE
5565 { echo "$as_me:$LINENO: result: $result" >&5
5566 echo "${ECHO_T}$result" >&6; }
5571 if test -z "$defaultval"; then
5572 if test x"$enablestring" = xdisable; then
5579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5580 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5582 # Check whether --enable-no_deps was given.
5583 if test "${enable_no_deps+set}" = set; then
5584 enableval=$enable_no_deps;
5585 if test "$enableval" = yes; then
5586 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5588 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5593 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5594 if test "x$LINE" != x ; then
5595 eval "DEFAULT_$LINE"
5600 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5605 eval "$wx_cv_use_no_deps"
5606 if test "$no_cache" != 1; then
5607 echo $wx_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5610 if test x"$enablestring" = xdisable; then
5611 if test $wxUSE_NO_DEPS = yes; then
5617 result=$wxUSE_NO_DEPS
5620 { echo "$as_me:$LINENO: result: $result" >&5
5621 echo "${ECHO_T}$result" >&6; }
5624 enablestring=disable
5626 if test -z "$defaultval"; then
5627 if test x"$enablestring" = xdisable; then
5634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5635 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5637 # Check whether --enable-vararg_macros was given.
5638 if test "${enable_vararg_macros+set}" = set; then
5639 enableval=$enable_vararg_macros;
5640 if test "$enableval" = yes; then
5641 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5643 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5648 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5649 if test "x$LINE" != x ; then
5650 eval "DEFAULT_$LINE"
5655 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5660 eval "$wx_cv_use_vararg_macros"
5661 if test "$no_cache" != 1; then
5662 echo $wx_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5665 if test x"$enablestring" = xdisable; then
5666 if test $wxUSE_VARARG_MACROS = yes; then
5672 result=$wxUSE_VARARG_MACROS
5675 { echo "$as_me:$LINENO: result: $result" >&5
5676 echo "${ECHO_T}$result" >&6; }
5680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5681 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5683 # Check whether --enable-universal_binary was given.
5684 if test "${enable_universal_binary+set}" = set; then
5685 enableval=$enable_universal_binary;
5686 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5690 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5691 if test "x$LINE" != x ; then
5692 eval "DEFAULT_$LINE"
5697 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5702 eval "$wx_cv_use_universal_binary"
5703 if test "$no_cache" != 1; then
5704 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5707 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5708 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5714 if test -z "$defaultval"; then
5715 if test x"$enablestring" = xdisable; then
5722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5723 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5725 # Check whether --enable-compat26 was given.
5726 if test "${enable_compat26+set}" = set; then
5727 enableval=$enable_compat26;
5728 if test "$enableval" = yes; then
5729 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5731 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5736 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5737 if test "x$LINE" != x ; then
5738 eval "DEFAULT_$LINE"
5743 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5748 eval "$wx_cv_use_compat26"
5749 if test "$no_cache" != 1; then
5750 echo $wx_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5753 if test x"$enablestring" = xdisable; then
5754 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5760 result=$WXWIN_COMPATIBILITY_2_6
5763 { echo "$as_me:$LINENO: result: $result" >&5
5764 echo "${ECHO_T}$result" >&6; }
5767 enablestring=disable
5769 if test -z "$defaultval"; then
5770 if test x"$enablestring" = xdisable; then
5777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5778 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5780 # Check whether --enable-compat28 was given.
5781 if test "${enable_compat28+set}" = set; then
5782 enableval=$enable_compat28;
5783 if test "$enableval" = yes; then
5784 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5786 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5791 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5792 if test "x$LINE" != x ; then
5793 eval "DEFAULT_$LINE"
5798 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5803 eval "$wx_cv_use_compat28"
5804 if test "$no_cache" != 1; then
5805 echo $wx_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5808 if test x"$enablestring" = xdisable; then
5809 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5815 result=$WXWIN_COMPATIBILITY_2_8
5818 { echo "$as_me:$LINENO: result: $result" >&5
5819 echo "${ECHO_T}$result" >&6; }
5823 enablestring=disable
5825 if test -z "$defaultval"; then
5826 if test x"$enablestring" = xdisable; then
5833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5834 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5836 # Check whether --enable-rpath was given.
5837 if test "${enable_rpath+set}" = set; then
5838 enableval=$enable_rpath;
5839 if test "$enableval" = yes; then
5840 wx_cv_use_rpath='wxUSE_RPATH=yes'
5842 wx_cv_use_rpath='wxUSE_RPATH=no'
5847 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5848 if test "x$LINE" != x ; then
5849 eval "DEFAULT_$LINE"
5854 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5859 eval "$wx_cv_use_rpath"
5860 if test "$no_cache" != 1; then
5861 echo $wx_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5864 if test x"$enablestring" = xdisable; then
5865 if test $wxUSE_RPATH = yes; then
5874 { echo "$as_me:$LINENO: result: $result" >&5
5875 echo "${ECHO_T}$result" >&6; }
5881 if test -z "$defaultval"; then
5882 if test x"$enablestring" = xdisable; then
5889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5890 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5892 # Check whether --enable-objc_uniquifying was given.
5893 if test "${enable_objc_uniquifying+set}" = set; then
5894 enableval=$enable_objc_uniquifying;
5895 if test "$enableval" = yes; then
5896 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5898 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5903 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5904 if test "x$LINE" != x ; then
5905 eval "DEFAULT_$LINE"
5910 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5915 eval "$wx_cv_use_objc_uniquifying"
5916 if test "$no_cache" != 1; then
5917 echo $wx_cv_use_objc_uniquifying >> ${wx_arg_cache_file}.tmp
5920 if test x"$enablestring" = xdisable; then
5921 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5927 result=$wxUSE_OBJC_UNIQUIFYING
5930 { echo "$as_me:$LINENO: result: $result" >&5
5931 echo "${ECHO_T}$result" >&6; }
5935 enablestring=disable
5937 if test -z "$defaultval"; then
5938 if test x"$enablestring" = xdisable; then
5945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5946 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5948 # Check whether --enable-visibility was given.
5949 if test "${enable_visibility+set}" = set; then
5950 enableval=$enable_visibility;
5951 if test "$enableval" = yes; then
5952 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5954 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5959 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5960 if test "x$LINE" != x ; then
5961 eval "DEFAULT_$LINE"
5966 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5971 eval "$wx_cv_use_visibility"
5972 if test "$no_cache" != 1; then
5973 echo $wx_cv_use_visibility >> ${wx_arg_cache_file}.tmp
5976 if test x"$enablestring" = xdisable; then
5977 if test $wxUSE_VISIBILITY = yes; then
5983 result=$wxUSE_VISIBILITY
5986 { echo "$as_me:$LINENO: result: $result" >&5
5987 echo "${ECHO_T}$result" >&6; }
5993 defaultval=$wxUSE_ALL_FEATURES
5994 if test -z "$defaultval"; then
5995 if test x"$enablestring" = xdisable; then
6002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6003 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6005 # Check whether --enable-intl was given.
6006 if test "${enable_intl+set}" = set; then
6007 enableval=$enable_intl;
6008 if test "$enableval" = yes; then
6009 wx_cv_use_intl='wxUSE_INTL=yes'
6011 wx_cv_use_intl='wxUSE_INTL=no'
6016 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6017 if test "x$LINE" != x ; then
6018 eval "DEFAULT_$LINE"
6023 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6028 eval "$wx_cv_use_intl"
6029 if test "$no_cache" != 1; then
6030 echo $wx_cv_use_intl >> ${wx_arg_cache_file}.tmp
6033 if test x"$enablestring" = xdisable; then
6034 if test $wxUSE_INTL = yes; then
6043 { echo "$as_me:$LINENO: result: $result" >&5
6044 echo "${ECHO_T}$result" >&6; }
6048 defaultval=$wxUSE_ALL_FEATURES
6049 if test -z "$defaultval"; then
6050 if test x"$enablestring" = xdisable; then
6057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6058 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6060 # Check whether --enable-config was given.
6061 if test "${enable_config+set}" = set; then
6062 enableval=$enable_config;
6063 if test "$enableval" = yes; then
6064 wx_cv_use_config='wxUSE_CONFIG=yes'
6066 wx_cv_use_config='wxUSE_CONFIG=no'
6071 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6072 if test "x$LINE" != x ; then
6073 eval "DEFAULT_$LINE"
6078 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6083 eval "$wx_cv_use_config"
6084 if test "$no_cache" != 1; then
6085 echo $wx_cv_use_config >> ${wx_arg_cache_file}.tmp
6088 if test x"$enablestring" = xdisable; then
6089 if test $wxUSE_CONFIG = yes; then
6095 result=$wxUSE_CONFIG
6098 { echo "$as_me:$LINENO: result: $result" >&5
6099 echo "${ECHO_T}$result" >&6; }
6104 defaultval=$wxUSE_ALL_FEATURES
6105 if test -z "$defaultval"; then
6106 if test x"$enablestring" = xdisable; then
6113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6114 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6116 # Check whether --enable-protocols was given.
6117 if test "${enable_protocols+set}" = set; then
6118 enableval=$enable_protocols;
6119 if test "$enableval" = yes; then
6120 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6122 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6127 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6128 if test "x$LINE" != x ; then
6129 eval "DEFAULT_$LINE"
6134 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6139 eval "$wx_cv_use_protocols"
6140 if test "$no_cache" != 1; then
6141 echo $wx_cv_use_protocols >> ${wx_arg_cache_file}.tmp
6144 if test x"$enablestring" = xdisable; then
6145 if test $wxUSE_PROTOCOL = yes; then
6151 result=$wxUSE_PROTOCOL
6154 { echo "$as_me:$LINENO: result: $result" >&5
6155 echo "${ECHO_T}$result" >&6; }
6159 defaultval=$wxUSE_ALL_FEATURES
6160 if test -z "$defaultval"; then
6161 if test x"$enablestring" = xdisable; then
6168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6169 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6171 # Check whether --enable-ftp was given.
6172 if test "${enable_ftp+set}" = set; then
6173 enableval=$enable_ftp;
6174 if test "$enableval" = yes; then
6175 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6177 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6182 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6183 if test "x$LINE" != x ; then
6184 eval "DEFAULT_$LINE"
6189 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6194 eval "$wx_cv_use_ftp"
6195 if test "$no_cache" != 1; then
6196 echo $wx_cv_use_ftp >> ${wx_arg_cache_file}.tmp
6199 if test x"$enablestring" = xdisable; then
6200 if test $wxUSE_PROTOCOL_FTP = yes; then
6206 result=$wxUSE_PROTOCOL_FTP
6209 { echo "$as_me:$LINENO: result: $result" >&5
6210 echo "${ECHO_T}$result" >&6; }
6214 defaultval=$wxUSE_ALL_FEATURES
6215 if test -z "$defaultval"; then
6216 if test x"$enablestring" = xdisable; then
6223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6224 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6226 # Check whether --enable-http was given.
6227 if test "${enable_http+set}" = set; then
6228 enableval=$enable_http;
6229 if test "$enableval" = yes; then
6230 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6232 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6237 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6238 if test "x$LINE" != x ; then
6239 eval "DEFAULT_$LINE"
6244 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6249 eval "$wx_cv_use_http"
6250 if test "$no_cache" != 1; then
6251 echo $wx_cv_use_http >> ${wx_arg_cache_file}.tmp
6254 if test x"$enablestring" = xdisable; then
6255 if test $wxUSE_PROTOCOL_HTTP = yes; then
6261 result=$wxUSE_PROTOCOL_HTTP
6264 { echo "$as_me:$LINENO: result: $result" >&5
6265 echo "${ECHO_T}$result" >&6; }
6269 defaultval=$wxUSE_ALL_FEATURES
6270 if test -z "$defaultval"; then
6271 if test x"$enablestring" = xdisable; then
6278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6279 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6281 # Check whether --enable-fileproto was given.
6282 if test "${enable_fileproto+set}" = set; then
6283 enableval=$enable_fileproto;
6284 if test "$enableval" = yes; then
6285 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6287 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6292 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6293 if test "x$LINE" != x ; then
6294 eval "DEFAULT_$LINE"
6299 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6304 eval "$wx_cv_use_fileproto"
6305 if test "$no_cache" != 1; then
6306 echo $wx_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
6309 if test x"$enablestring" = xdisable; then
6310 if test $wxUSE_PROTOCOL_FILE = yes; then
6316 result=$wxUSE_PROTOCOL_FILE
6319 { echo "$as_me:$LINENO: result: $result" >&5
6320 echo "${ECHO_T}$result" >&6; }
6324 defaultval=$wxUSE_ALL_FEATURES
6325 if test -z "$defaultval"; then
6326 if test x"$enablestring" = xdisable; then
6333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6334 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6336 # Check whether --enable-sockets was given.
6337 if test "${enable_sockets+set}" = set; then
6338 enableval=$enable_sockets;
6339 if test "$enableval" = yes; then
6340 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6342 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6347 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6348 if test "x$LINE" != x ; then
6349 eval "DEFAULT_$LINE"
6354 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6359 eval "$wx_cv_use_sockets"
6360 if test "$no_cache" != 1; then
6361 echo $wx_cv_use_sockets >> ${wx_arg_cache_file}.tmp
6364 if test x"$enablestring" = xdisable; then
6365 if test $wxUSE_SOCKETS = yes; then
6371 result=$wxUSE_SOCKETS
6374 { echo "$as_me:$LINENO: result: $result" >&5
6375 echo "${ECHO_T}$result" >&6; }
6379 defaultval=$wxUSE_ALL_FEATURES
6380 if test -z "$defaultval"; then
6381 if test x"$enablestring" = xdisable; then
6388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6389 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6391 # Check whether --enable-ole was given.
6392 if test "${enable_ole+set}" = set; then
6393 enableval=$enable_ole;
6394 if test "$enableval" = yes; then
6395 wx_cv_use_ole='wxUSE_OLE=yes'
6397 wx_cv_use_ole='wxUSE_OLE=no'
6402 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6403 if test "x$LINE" != x ; then
6404 eval "DEFAULT_$LINE"
6409 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6414 eval "$wx_cv_use_ole"
6415 if test "$no_cache" != 1; then
6416 echo $wx_cv_use_ole >> ${wx_arg_cache_file}.tmp
6419 if test x"$enablestring" = xdisable; then
6420 if test $wxUSE_OLE = yes; then
6429 { echo "$as_me:$LINENO: result: $result" >&5
6430 echo "${ECHO_T}$result" >&6; }
6434 defaultval=$wxUSE_ALL_FEATURES
6435 if test -z "$defaultval"; then
6436 if test x"$enablestring" = xdisable; then
6443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6444 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6446 # Check whether --enable-dataobj was given.
6447 if test "${enable_dataobj+set}" = set; then
6448 enableval=$enable_dataobj;
6449 if test "$enableval" = yes; then
6450 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6452 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6457 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6458 if test "x$LINE" != x ; then
6459 eval "DEFAULT_$LINE"
6464 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6469 eval "$wx_cv_use_dataobj"
6470 if test "$no_cache" != 1; then
6471 echo $wx_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
6474 if test x"$enablestring" = xdisable; then
6475 if test $wxUSE_DATAOBJ = yes; then
6481 result=$wxUSE_DATAOBJ
6484 { echo "$as_me:$LINENO: result: $result" >&5
6485 echo "${ECHO_T}$result" >&6; }
6490 defaultval=$wxUSE_ALL_FEATURES
6491 if test -z "$defaultval"; then
6492 if test x"$enablestring" = xdisable; then
6499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6500 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'
6513 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6514 if test "x$LINE" != x ; then
6515 eval "DEFAULT_$LINE"
6520 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6525 eval "$wx_cv_use_ipc"
6526 if test "$no_cache" != 1; then
6527 echo $wx_cv_use_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; }
6558 # Check whether --enable-baseevtloop was given.
6559 if test "${enable_baseevtloop+set}" = set; then
6560 enableval=$enable_baseevtloop;
6561 if test "$enableval" = yes; then
6562 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6564 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6569 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6570 if test "x$LINE" != x ; then
6571 eval "DEFAULT_$LINE"
6576 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6581 eval "$wx_cv_use_baseevtloop"
6582 if test "$no_cache" != 1; then
6583 echo $wx_cv_use_baseevtloop >> ${wx_arg_cache_file}.tmp
6586 if test x"$enablestring" = xdisable; then
6587 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6593 result=$wxUSE_CONSOLE_EVENTLOOP
6596 { echo "$as_me:$LINENO: result: $result" >&5
6597 echo "${ECHO_T}$result" >&6; }
6601 defaultval=$wxUSE_ALL_FEATURES
6602 if test -z "$defaultval"; then
6603 if test x"$enablestring" = xdisable; then
6610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6611 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6613 # Check whether --enable-epoolloop was given.
6614 if test "${enable_epoolloop+set}" = set; then
6615 enableval=$enable_epoolloop;
6616 if test "$enableval" = yes; then
6617 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6619 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"
6631 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6636 eval "$wx_cv_use_epoolloop"
6637 if test "$no_cache" != 1; then
6638 echo $wx_cv_use_epoolloop >> ${wx_arg_cache_file}.tmp
6641 if test x"$enablestring" = xdisable; then
6642 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6648 result=$wxUSE_EPOLL_DISPATCHER
6651 { echo "$as_me:$LINENO: result: $result" >&5
6652 echo "${ECHO_T}$result" >&6; }
6656 defaultval=$wxUSE_ALL_FEATURES
6657 if test -z "$defaultval"; then
6658 if test x"$enablestring" = xdisable; then
6665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6666 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6668 # Check whether --enable-selectloop was given.
6669 if test "${enable_selectloop+set}" = set; then
6670 enableval=$enable_selectloop;
6671 if test "$enableval" = yes; then
6672 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6674 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6679 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6680 if test "x$LINE" != x ; then
6681 eval "DEFAULT_$LINE"
6686 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6691 eval "$wx_cv_use_selectloop"
6692 if test "$no_cache" != 1; then
6693 echo $wx_cv_use_selectloop >> ${wx_arg_cache_file}.tmp
6696 if test x"$enablestring" = xdisable; then
6697 if test $wxUSE_SELECT_DISPATCHER = yes; then
6703 result=$wxUSE_SELECT_DISPATCHER
6706 { echo "$as_me:$LINENO: result: $result" >&5
6707 echo "${ECHO_T}$result" >&6; }
6712 defaultval=$wxUSE_ALL_FEATURES
6713 if test -z "$defaultval"; then
6714 if test x"$enablestring" = xdisable; then
6721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6722 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6724 # Check whether --enable-apple_ieee was given.
6725 if test "${enable_apple_ieee+set}" = set; then
6726 enableval=$enable_apple_ieee;
6727 if test "$enableval" = yes; then
6728 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6730 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6735 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6736 if test "x$LINE" != x ; then
6737 eval "DEFAULT_$LINE"
6742 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6747 eval "$wx_cv_use_apple_ieee"
6748 if test "$no_cache" != 1; then
6749 echo $wx_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
6752 if test x"$enablestring" = xdisable; then
6753 if test $wxUSE_APPLE_IEEE = yes; then
6759 result=$wxUSE_APPLE_IEEE
6762 { echo "$as_me:$LINENO: result: $result" >&5
6763 echo "${ECHO_T}$result" >&6; }
6767 defaultval=$wxUSE_ALL_FEATURES
6768 if test -z "$defaultval"; then
6769 if test x"$enablestring" = xdisable; then
6776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6777 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6779 # Check whether --enable-arcstream was given.
6780 if test "${enable_arcstream+set}" = set; then
6781 enableval=$enable_arcstream;
6782 if test "$enableval" = yes; then
6783 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6785 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6790 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6791 if test "x$LINE" != x ; then
6792 eval "DEFAULT_$LINE"
6797 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6802 eval "$wx_cv_use_arcstream"
6803 if test "$no_cache" != 1; then
6804 echo $wx_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
6807 if test x"$enablestring" = xdisable; then
6808 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6814 result=$wxUSE_ARCHIVE_STREAMS
6817 { echo "$as_me:$LINENO: result: $result" >&5
6818 echo "${ECHO_T}$result" >&6; }
6822 defaultval=$wxUSE_ALL_FEATURES
6823 if test -z "$defaultval"; then
6824 if test x"$enablestring" = xdisable; then
6831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6832 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6834 # Check whether --enable-base64 was given.
6835 if test "${enable_base64+set}" = set; then
6836 enableval=$enable_base64;
6837 if test "$enableval" = yes; then
6838 wx_cv_use_base64='wxUSE_BASE64=yes'
6840 wx_cv_use_base64='wxUSE_BASE64=no'
6845 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6846 if test "x$LINE" != x ; then
6847 eval "DEFAULT_$LINE"
6852 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6857 eval "$wx_cv_use_base64"
6858 if test "$no_cache" != 1; then
6859 echo $wx_cv_use_base64 >> ${wx_arg_cache_file}.tmp
6862 if test x"$enablestring" = xdisable; then
6863 if test $wxUSE_BASE64 = yes; then
6869 result=$wxUSE_BASE64
6872 { echo "$as_me:$LINENO: result: $result" >&5
6873 echo "${ECHO_T}$result" >&6; }
6877 defaultval=$wxUSE_ALL_FEATURES
6878 if test -z "$defaultval"; then
6879 if test x"$enablestring" = xdisable; then
6886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6887 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6889 # Check whether --enable-backtrace was given.
6890 if test "${enable_backtrace+set}" = set; then
6891 enableval=$enable_backtrace;
6892 if test "$enableval" = yes; then
6893 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6895 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6900 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6901 if test "x$LINE" != x ; then
6902 eval "DEFAULT_$LINE"
6907 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6912 eval "$wx_cv_use_backtrace"
6913 if test "$no_cache" != 1; then
6914 echo $wx_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
6917 if test x"$enablestring" = xdisable; then
6918 if test $wxUSE_STACKWALKER = yes; then
6924 result=$wxUSE_STACKWALKER
6927 { echo "$as_me:$LINENO: result: $result" >&5
6928 echo "${ECHO_T}$result" >&6; }
6932 defaultval=$wxUSE_ALL_FEATURES
6933 if test -z "$defaultval"; then
6934 if test x"$enablestring" = xdisable; then
6941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6942 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6944 # Check whether --enable-catch_segvs was given.
6945 if test "${enable_catch_segvs+set}" = set; then
6946 enableval=$enable_catch_segvs;
6947 if test "$enableval" = yes; then
6948 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6950 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6955 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6956 if test "x$LINE" != x ; then
6957 eval "DEFAULT_$LINE"
6962 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6967 eval "$wx_cv_use_catch_segvs"
6968 if test "$no_cache" != 1; then
6969 echo $wx_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
6972 if test x"$enablestring" = xdisable; then
6973 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6979 result=$wxUSE_ON_FATAL_EXCEPTION
6982 { echo "$as_me:$LINENO: result: $result" >&5
6983 echo "${ECHO_T}$result" >&6; }
6987 defaultval=$wxUSE_ALL_FEATURES
6988 if test -z "$defaultval"; then
6989 if test x"$enablestring" = xdisable; then
6996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6997 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6999 # Check whether --enable-cmdline was given.
7000 if test "${enable_cmdline+set}" = set; then
7001 enableval=$enable_cmdline;
7002 if test "$enableval" = yes; then
7003 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7005 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7010 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7011 if test "x$LINE" != x ; then
7012 eval "DEFAULT_$LINE"
7017 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7022 eval "$wx_cv_use_cmdline"
7023 if test "$no_cache" != 1; then
7024 echo $wx_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
7027 if test x"$enablestring" = xdisable; then
7028 if test $wxUSE_CMDLINE_PARSER = yes; then
7034 result=$wxUSE_CMDLINE_PARSER
7037 { echo "$as_me:$LINENO: result: $result" >&5
7038 echo "${ECHO_T}$result" >&6; }
7042 defaultval=$wxUSE_ALL_FEATURES
7043 if test -z "$defaultval"; then
7044 if test x"$enablestring" = xdisable; then
7051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7052 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7054 # Check whether --enable-datetime was given.
7055 if test "${enable_datetime+set}" = set; then
7056 enableval=$enable_datetime;
7057 if test "$enableval" = yes; then
7058 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7060 wx_cv_use_datetime='wxUSE_DATETIME=no'
7065 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7066 if test "x$LINE" != x ; then
7067 eval "DEFAULT_$LINE"
7072 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7077 eval "$wx_cv_use_datetime"
7078 if test "$no_cache" != 1; then
7079 echo $wx_cv_use_datetime >> ${wx_arg_cache_file}.tmp
7082 if test x"$enablestring" = xdisable; then
7083 if test $wxUSE_DATETIME = yes; then
7089 result=$wxUSE_DATETIME
7092 { echo "$as_me:$LINENO: result: $result" >&5
7093 echo "${ECHO_T}$result" >&6; }
7097 defaultval=$wxUSE_ALL_FEATURES
7098 if test -z "$defaultval"; then
7099 if test x"$enablestring" = xdisable; then
7106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7107 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7109 # Check whether --enable-debugreport was given.
7110 if test "${enable_debugreport+set}" = set; then
7111 enableval=$enable_debugreport;
7112 if test "$enableval" = yes; then
7113 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7115 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7120 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7121 if test "x$LINE" != x ; then
7122 eval "DEFAULT_$LINE"
7127 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7132 eval "$wx_cv_use_debugreport"
7133 if test "$no_cache" != 1; then
7134 echo $wx_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
7137 if test x"$enablestring" = xdisable; then
7138 if test $wxUSE_DEBUGREPORT = yes; then
7144 result=$wxUSE_DEBUGREPORT
7147 { echo "$as_me:$LINENO: result: $result" >&5
7148 echo "${ECHO_T}$result" >&6; }
7152 defaultval=$wxUSE_ALL_FEATURES
7153 if test -z "$defaultval"; then
7154 if test x"$enablestring" = xdisable; then
7161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7162 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7164 # Check whether --enable-dialupman was given.
7165 if test "${enable_dialupman+set}" = set; then
7166 enableval=$enable_dialupman;
7167 if test "$enableval" = yes; then
7168 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7170 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7175 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7176 if test "x$LINE" != x ; then
7177 eval "DEFAULT_$LINE"
7182 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7187 eval "$wx_cv_use_dialupman"
7188 if test "$no_cache" != 1; then
7189 echo $wx_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
7192 if test x"$enablestring" = xdisable; then
7193 if test $wxUSE_DIALUP_MANAGER = yes; then
7199 result=$wxUSE_DIALUP_MANAGER
7202 { echo "$as_me:$LINENO: result: $result" >&5
7203 echo "${ECHO_T}$result" >&6; }
7207 defaultval=$wxUSE_ALL_FEATURES
7208 if test -z "$defaultval"; then
7209 if test x"$enablestring" = xdisable; then
7216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7217 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7219 # Check whether --enable-dynlib was given.
7220 if test "${enable_dynlib+set}" = set; then
7221 enableval=$enable_dynlib;
7222 if test "$enableval" = yes; then
7223 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7225 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7230 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7231 if test "x$LINE" != x ; then
7232 eval "DEFAULT_$LINE"
7237 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7242 eval "$wx_cv_use_dynlib"
7243 if test "$no_cache" != 1; then
7244 echo $wx_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
7247 if test x"$enablestring" = xdisable; then
7248 if test $wxUSE_DYNLIB_CLASS = yes; then
7254 result=$wxUSE_DYNLIB_CLASS
7257 { echo "$as_me:$LINENO: result: $result" >&5
7258 echo "${ECHO_T}$result" >&6; }
7262 defaultval=$wxUSE_ALL_FEATURES
7263 if test -z "$defaultval"; then
7264 if test x"$enablestring" = xdisable; then
7271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7272 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7274 # Check whether --enable-dynamicloader was given.
7275 if test "${enable_dynamicloader+set}" = set; then
7276 enableval=$enable_dynamicloader;
7277 if test "$enableval" = yes; then
7278 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7280 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7285 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7286 if test "x$LINE" != x ; then
7287 eval "DEFAULT_$LINE"
7292 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7297 eval "$wx_cv_use_dynamicloader"
7298 if test "$no_cache" != 1; then
7299 echo $wx_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
7302 if test x"$enablestring" = xdisable; then
7303 if test $wxUSE_DYNAMIC_LOADER = yes; then
7309 result=$wxUSE_DYNAMIC_LOADER
7312 { echo "$as_me:$LINENO: result: $result" >&5
7313 echo "${ECHO_T}$result" >&6; }
7317 defaultval=$wxUSE_ALL_FEATURES
7318 if test -z "$defaultval"; then
7319 if test x"$enablestring" = xdisable; then
7326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7327 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7329 # Check whether --enable-exceptions was given.
7330 if test "${enable_exceptions+set}" = set; then
7331 enableval=$enable_exceptions;
7332 if test "$enableval" = yes; then
7333 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7335 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7340 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7341 if test "x$LINE" != x ; then
7342 eval "DEFAULT_$LINE"
7347 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7352 eval "$wx_cv_use_exceptions"
7353 if test "$no_cache" != 1; then
7354 echo $wx_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
7357 if test x"$enablestring" = xdisable; then
7358 if test $wxUSE_EXCEPTIONS = yes; then
7364 result=$wxUSE_EXCEPTIONS
7367 { echo "$as_me:$LINENO: result: $result" >&5
7368 echo "${ECHO_T}$result" >&6; }
7372 defaultval=$wxUSE_ALL_FEATURES
7373 if test -z "$defaultval"; then
7374 if test x"$enablestring" = xdisable; then
7381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7382 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7384 # Check whether --enable-ffile was given.
7385 if test "${enable_ffile+set}" = set; then
7386 enableval=$enable_ffile;
7387 if test "$enableval" = yes; then
7388 wx_cv_use_ffile='wxUSE_FFILE=yes'
7390 wx_cv_use_ffile='wxUSE_FFILE=no'
7395 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7396 if test "x$LINE" != x ; then
7397 eval "DEFAULT_$LINE"
7402 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7407 eval "$wx_cv_use_ffile"
7408 if test "$no_cache" != 1; then
7409 echo $wx_cv_use_ffile >> ${wx_arg_cache_file}.tmp
7412 if test x"$enablestring" = xdisable; then
7413 if test $wxUSE_FFILE = yes; then
7422 { echo "$as_me:$LINENO: result: $result" >&5
7423 echo "${ECHO_T}$result" >&6; }
7427 defaultval=$wxUSE_ALL_FEATURES
7428 if test -z "$defaultval"; then
7429 if test x"$enablestring" = xdisable; then
7436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7437 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7439 # Check whether --enable-file was given.
7440 if test "${enable_file+set}" = set; then
7441 enableval=$enable_file;
7442 if test "$enableval" = yes; then
7443 wx_cv_use_file='wxUSE_FILE=yes'
7445 wx_cv_use_file='wxUSE_FILE=no'
7450 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7451 if test "x$LINE" != x ; then
7452 eval "DEFAULT_$LINE"
7457 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7462 eval "$wx_cv_use_file"
7463 if test "$no_cache" != 1; then
7464 echo $wx_cv_use_file >> ${wx_arg_cache_file}.tmp
7467 if test x"$enablestring" = xdisable; then
7468 if test $wxUSE_FILE = yes; then
7477 { echo "$as_me:$LINENO: result: $result" >&5
7478 echo "${ECHO_T}$result" >&6; }
7482 defaultval=$wxUSE_ALL_FEATURES
7483 if test -z "$defaultval"; then
7484 if test x"$enablestring" = xdisable; then
7491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7492 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7494 # Check whether --enable-filesystem was given.
7495 if test "${enable_filesystem+set}" = set; then
7496 enableval=$enable_filesystem;
7497 if test "$enableval" = yes; then
7498 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7500 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7505 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7506 if test "x$LINE" != x ; then
7507 eval "DEFAULT_$LINE"
7512 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7517 eval "$wx_cv_use_filesystem"
7518 if test "$no_cache" != 1; then
7519 echo $wx_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
7522 if test x"$enablestring" = xdisable; then
7523 if test $wxUSE_FILESYSTEM = yes; then
7529 result=$wxUSE_FILESYSTEM
7532 { echo "$as_me:$LINENO: result: $result" >&5
7533 echo "${ECHO_T}$result" >&6; }
7537 defaultval=$wxUSE_ALL_FEATURES
7538 if test -z "$defaultval"; then
7539 if test x"$enablestring" = xdisable; then
7546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7547 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7549 # Check whether --enable-fontmap was given.
7550 if test "${enable_fontmap+set}" = set; then
7551 enableval=$enable_fontmap;
7552 if test "$enableval" = yes; then
7553 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7555 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7560 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7561 if test "x$LINE" != x ; then
7562 eval "DEFAULT_$LINE"
7567 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7572 eval "$wx_cv_use_fontmap"
7573 if test "$no_cache" != 1; then
7574 echo $wx_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
7577 if test x"$enablestring" = xdisable; then
7578 if test $wxUSE_FONTMAP = yes; then
7584 result=$wxUSE_FONTMAP
7587 { echo "$as_me:$LINENO: result: $result" >&5
7588 echo "${ECHO_T}$result" >&6; }
7592 defaultval=$wxUSE_ALL_FEATURES
7593 if test -z "$defaultval"; then
7594 if test x"$enablestring" = xdisable; then
7601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7602 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7604 # Check whether --enable-fs_archive was given.
7605 if test "${enable_fs_archive+set}" = set; then
7606 enableval=$enable_fs_archive;
7607 if test "$enableval" = yes; then
7608 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7610 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7615 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7616 if test "x$LINE" != x ; then
7617 eval "DEFAULT_$LINE"
7622 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7627 eval "$wx_cv_use_fs_archive"
7628 if test "$no_cache" != 1; then
7629 echo $wx_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
7632 if test x"$enablestring" = xdisable; then
7633 if test $wxUSE_FS_ARCHIVE = yes; then
7639 result=$wxUSE_FS_ARCHIVE
7642 { echo "$as_me:$LINENO: result: $result" >&5
7643 echo "${ECHO_T}$result" >&6; }
7647 defaultval=$wxUSE_ALL_FEATURES
7648 if test -z "$defaultval"; then
7649 if test x"$enablestring" = xdisable; then
7656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7657 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7659 # Check whether --enable-fs_inet was given.
7660 if test "${enable_fs_inet+set}" = set; then
7661 enableval=$enable_fs_inet;
7662 if test "$enableval" = yes; then
7663 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7665 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7670 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7671 if test "x$LINE" != x ; then
7672 eval "DEFAULT_$LINE"
7677 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7682 eval "$wx_cv_use_fs_inet"
7683 if test "$no_cache" != 1; then
7684 echo $wx_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
7687 if test x"$enablestring" = xdisable; then
7688 if test $wxUSE_FS_INET = yes; then
7694 result=$wxUSE_FS_INET
7697 { echo "$as_me:$LINENO: result: $result" >&5
7698 echo "${ECHO_T}$result" >&6; }
7702 defaultval=$wxUSE_ALL_FEATURES
7703 if test -z "$defaultval"; then
7704 if test x"$enablestring" = xdisable; then
7711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7712 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7714 # Check whether --enable-fs_zip was given.
7715 if test "${enable_fs_zip+set}" = set; then
7716 enableval=$enable_fs_zip;
7717 if test "$enableval" = yes; then
7718 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7720 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7725 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7726 if test "x$LINE" != x ; then
7727 eval "DEFAULT_$LINE"
7732 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7737 eval "$wx_cv_use_fs_zip"
7738 if test "$no_cache" != 1; then
7739 echo $wx_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
7742 if test x"$enablestring" = xdisable; then
7743 if test $wxUSE_FS_ZIP = yes; then
7749 result=$wxUSE_FS_ZIP
7752 { echo "$as_me:$LINENO: result: $result" >&5
7753 echo "${ECHO_T}$result" >&6; }
7757 defaultval=$wxUSE_ALL_FEATURES
7758 if test -z "$defaultval"; then
7759 if test x"$enablestring" = xdisable; then
7766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7767 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7769 # Check whether --enable-geometry was given.
7770 if test "${enable_geometry+set}" = set; then
7771 enableval=$enable_geometry;
7772 if test "$enableval" = yes; then
7773 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7775 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7780 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7781 if test "x$LINE" != x ; then
7782 eval "DEFAULT_$LINE"
7787 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7792 eval "$wx_cv_use_geometry"
7793 if test "$no_cache" != 1; then
7794 echo $wx_cv_use_geometry >> ${wx_arg_cache_file}.tmp
7797 if test x"$enablestring" = xdisable; then
7798 if test $wxUSE_GEOMETRY = yes; then
7804 result=$wxUSE_GEOMETRY
7807 { echo "$as_me:$LINENO: result: $result" >&5
7808 echo "${ECHO_T}$result" >&6; }
7812 defaultval=$wxUSE_ALL_FEATURES
7813 if test -z "$defaultval"; then
7814 if test x"$enablestring" = xdisable; then
7821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7822 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7824 # Check whether --enable-log was given.
7825 if test "${enable_log+set}" = set; then
7826 enableval=$enable_log;
7827 if test "$enableval" = yes; then
7828 wx_cv_use_log='wxUSE_LOG=yes'
7830 wx_cv_use_log='wxUSE_LOG=no'
7835 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7836 if test "x$LINE" != x ; then
7837 eval "DEFAULT_$LINE"
7842 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7847 eval "$wx_cv_use_log"
7848 if test "$no_cache" != 1; then
7849 echo $wx_cv_use_log >> ${wx_arg_cache_file}.tmp
7852 if test x"$enablestring" = xdisable; then
7853 if test $wxUSE_LOG = yes; then
7862 { echo "$as_me:$LINENO: result: $result" >&5
7863 echo "${ECHO_T}$result" >&6; }
7867 defaultval=$wxUSE_ALL_FEATURES
7868 if test -z "$defaultval"; then
7869 if test x"$enablestring" = xdisable; then
7876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7877 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7879 # Check whether --enable-longlong was given.
7880 if test "${enable_longlong+set}" = set; then
7881 enableval=$enable_longlong;
7882 if test "$enableval" = yes; then
7883 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7885 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7890 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7891 if test "x$LINE" != x ; then
7892 eval "DEFAULT_$LINE"
7897 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7902 eval "$wx_cv_use_longlong"
7903 if test "$no_cache" != 1; then
7904 echo $wx_cv_use_longlong >> ${wx_arg_cache_file}.tmp
7907 if test x"$enablestring" = xdisable; then
7908 if test $wxUSE_LONGLONG = yes; then
7914 result=$wxUSE_LONGLONG
7917 { echo "$as_me:$LINENO: result: $result" >&5
7918 echo "${ECHO_T}$result" >&6; }
7922 defaultval=$wxUSE_ALL_FEATURES
7923 if test -z "$defaultval"; then
7924 if test x"$enablestring" = xdisable; then
7931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7932 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7934 # Check whether --enable-mimetype was given.
7935 if test "${enable_mimetype+set}" = set; then
7936 enableval=$enable_mimetype;
7937 if test "$enableval" = yes; then
7938 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7940 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7945 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7946 if test "x$LINE" != x ; then
7947 eval "DEFAULT_$LINE"
7952 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7957 eval "$wx_cv_use_mimetype"
7958 if test "$no_cache" != 1; then
7959 echo $wx_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
7962 if test x"$enablestring" = xdisable; then
7963 if test $wxUSE_MIMETYPE = yes; then
7969 result=$wxUSE_MIMETYPE
7972 { echo "$as_me:$LINENO: result: $result" >&5
7973 echo "${ECHO_T}$result" >&6; }
7977 defaultval=$wxUSE_ALL_FEATURES
7978 if test -z "$defaultval"; then
7979 if test x"$enablestring" = xdisable; then
7986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7987 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7989 # Check whether --enable-snglinst was given.
7990 if test "${enable_snglinst+set}" = set; then
7991 enableval=$enable_snglinst;
7992 if test "$enableval" = yes; then
7993 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7995 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8000 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8001 if test "x$LINE" != x ; then
8002 eval "DEFAULT_$LINE"
8007 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8012 eval "$wx_cv_use_snglinst"
8013 if test "$no_cache" != 1; then
8014 echo $wx_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
8017 if test x"$enablestring" = xdisable; then
8018 if test $wxUSE_SNGLINST_CHECKER = yes; then
8024 result=$wxUSE_SNGLINST_CHECKER
8027 { echo "$as_me:$LINENO: result: $result" >&5
8028 echo "${ECHO_T}$result" >&6; }
8032 defaultval=$wxUSE_ALL_FEATURES
8033 if test -z "$defaultval"; then
8034 if test x"$enablestring" = xdisable; then
8041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8042 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8044 # Check whether --enable-stdpaths was given.
8045 if test "${enable_stdpaths+set}" = set; then
8046 enableval=$enable_stdpaths;
8047 if test "$enableval" = yes; then
8048 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8050 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8055 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8056 if test "x$LINE" != x ; then
8057 eval "DEFAULT_$LINE"
8062 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8067 eval "$wx_cv_use_stdpaths"
8068 if test "$no_cache" != 1; then
8069 echo $wx_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
8072 if test x"$enablestring" = xdisable; then
8073 if test $wxUSE_STDPATHS = yes; then
8079 result=$wxUSE_STDPATHS
8082 { echo "$as_me:$LINENO: result: $result" >&5
8083 echo "${ECHO_T}$result" >&6; }
8087 defaultval=$wxUSE_ALL_FEATURES
8088 if test -z "$defaultval"; then
8089 if test x"$enablestring" = xdisable; then
8096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8097 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8099 # Check whether --enable-stopwatch was given.
8100 if test "${enable_stopwatch+set}" = set; then
8101 enableval=$enable_stopwatch;
8102 if test "$enableval" = yes; then
8103 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8105 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8110 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8111 if test "x$LINE" != x ; then
8112 eval "DEFAULT_$LINE"
8117 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8122 eval "$wx_cv_use_stopwatch"
8123 if test "$no_cache" != 1; then
8124 echo $wx_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
8127 if test x"$enablestring" = xdisable; then
8128 if test $wxUSE_STOPWATCH = yes; then
8134 result=$wxUSE_STOPWATCH
8137 { echo "$as_me:$LINENO: result: $result" >&5
8138 echo "${ECHO_T}$result" >&6; }
8142 defaultval=$wxUSE_ALL_FEATURES
8143 if test -z "$defaultval"; then
8144 if test x"$enablestring" = xdisable; then
8151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8152 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8154 # Check whether --enable-streams was given.
8155 if test "${enable_streams+set}" = set; then
8156 enableval=$enable_streams;
8157 if test "$enableval" = yes; then
8158 wx_cv_use_streams='wxUSE_STREAMS=yes'
8160 wx_cv_use_streams='wxUSE_STREAMS=no'
8165 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8166 if test "x$LINE" != x ; then
8167 eval "DEFAULT_$LINE"
8172 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8177 eval "$wx_cv_use_streams"
8178 if test "$no_cache" != 1; then
8179 echo $wx_cv_use_streams >> ${wx_arg_cache_file}.tmp
8182 if test x"$enablestring" = xdisable; then
8183 if test $wxUSE_STREAMS = yes; then
8189 result=$wxUSE_STREAMS
8192 { echo "$as_me:$LINENO: result: $result" >&5
8193 echo "${ECHO_T}$result" >&6; }
8197 defaultval=$wxUSE_ALL_FEATURES
8198 if test -z "$defaultval"; then
8199 if test x"$enablestring" = xdisable; then
8206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8207 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8209 # Check whether --enable-system_options was given.
8210 if test "${enable_system_options+set}" = set; then
8211 enableval=$enable_system_options;
8212 if test "$enableval" = yes; then
8213 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8215 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8220 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8221 if test "x$LINE" != x ; then
8222 eval "DEFAULT_$LINE"
8227 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8232 eval "$wx_cv_use_system_options"
8233 if test "$no_cache" != 1; then
8234 echo $wx_cv_use_system_options >> ${wx_arg_cache_file}.tmp
8237 if test x"$enablestring" = xdisable; then
8238 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8244 result=$wxUSE_SYSTEM_OPTIONS
8247 { echo "$as_me:$LINENO: result: $result" >&5
8248 echo "${ECHO_T}$result" >&6; }
8252 defaultval=$wxUSE_ALL_FEATURES
8253 if test -z "$defaultval"; then
8254 if test x"$enablestring" = xdisable; then
8261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8262 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8264 # Check whether --enable-tarstream was given.
8265 if test "${enable_tarstream+set}" = set; then
8266 enableval=$enable_tarstream;
8267 if test "$enableval" = yes; then
8268 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8270 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8275 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8276 if test "x$LINE" != x ; then
8277 eval "DEFAULT_$LINE"
8282 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8287 eval "$wx_cv_use_tarstream"
8288 if test "$no_cache" != 1; then
8289 echo $wx_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
8292 if test x"$enablestring" = xdisable; then
8293 if test $wxUSE_TARSTREAM = yes; then
8299 result=$wxUSE_TARSTREAM
8302 { echo "$as_me:$LINENO: result: $result" >&5
8303 echo "${ECHO_T}$result" >&6; }
8307 defaultval=$wxUSE_ALL_FEATURES
8308 if test -z "$defaultval"; then
8309 if test x"$enablestring" = xdisable; then
8316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8317 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8319 # Check whether --enable-textbuf was given.
8320 if test "${enable_textbuf+set}" = set; then
8321 enableval=$enable_textbuf;
8322 if test "$enableval" = yes; then
8323 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8325 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8330 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8331 if test "x$LINE" != x ; then
8332 eval "DEFAULT_$LINE"
8337 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8342 eval "$wx_cv_use_textbuf"
8343 if test "$no_cache" != 1; then
8344 echo $wx_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
8347 if test x"$enablestring" = xdisable; then
8348 if test $wxUSE_TEXTBUFFER = yes; then
8354 result=$wxUSE_TEXTBUFFER
8357 { echo "$as_me:$LINENO: result: $result" >&5
8358 echo "${ECHO_T}$result" >&6; }
8362 defaultval=$wxUSE_ALL_FEATURES
8363 if test -z "$defaultval"; then
8364 if test x"$enablestring" = xdisable; then
8371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8372 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8374 # Check whether --enable-textfile was given.
8375 if test "${enable_textfile+set}" = set; then
8376 enableval=$enable_textfile;
8377 if test "$enableval" = yes; then
8378 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8380 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8385 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8386 if test "x$LINE" != x ; then
8387 eval "DEFAULT_$LINE"
8392 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8397 eval "$wx_cv_use_textfile"
8398 if test "$no_cache" != 1; then
8399 echo $wx_cv_use_textfile >> ${wx_arg_cache_file}.tmp
8402 if test x"$enablestring" = xdisable; then
8403 if test $wxUSE_TEXTFILE = yes; then
8409 result=$wxUSE_TEXTFILE
8412 { echo "$as_me:$LINENO: result: $result" >&5
8413 echo "${ECHO_T}$result" >&6; }
8417 defaultval=$wxUSE_ALL_FEATURES
8418 if test -z "$defaultval"; then
8419 if test x"$enablestring" = xdisable; then
8426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8427 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8429 # Check whether --enable-timer was given.
8430 if test "${enable_timer+set}" = set; then
8431 enableval=$enable_timer;
8432 if test "$enableval" = yes; then
8433 wx_cv_use_timer='wxUSE_TIMER=yes'
8435 wx_cv_use_timer='wxUSE_TIMER=no'
8440 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8441 if test "x$LINE" != x ; then
8442 eval "DEFAULT_$LINE"
8447 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8452 eval "$wx_cv_use_timer"
8453 if test "$no_cache" != 1; then
8454 echo $wx_cv_use_timer >> ${wx_arg_cache_file}.tmp
8457 if test x"$enablestring" = xdisable; then
8458 if test $wxUSE_TIMER = yes; then
8467 { echo "$as_me:$LINENO: result: $result" >&5
8468 echo "${ECHO_T}$result" >&6; }
8472 defaultval=$wxUSE_ALL_FEATURES
8473 if test -z "$defaultval"; then
8474 if test x"$enablestring" = xdisable; then
8481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8482 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8484 # Check whether --enable-sound was given.
8485 if test "${enable_sound+set}" = set; then
8486 enableval=$enable_sound;
8487 if test "$enableval" = yes; then
8488 wx_cv_use_sound='wxUSE_SOUND=yes'
8490 wx_cv_use_sound='wxUSE_SOUND=no'
8495 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8496 if test "x$LINE" != x ; then
8497 eval "DEFAULT_$LINE"
8502 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8507 eval "$wx_cv_use_sound"
8508 if test "$no_cache" != 1; then
8509 echo $wx_cv_use_sound >> ${wx_arg_cache_file}.tmp
8512 if test x"$enablestring" = xdisable; then
8513 if test $wxUSE_SOUND = yes; then
8522 { echo "$as_me:$LINENO: result: $result" >&5
8523 echo "${ECHO_T}$result" >&6; }
8527 defaultval=$wxUSE_ALL_FEATURES
8528 if test -z "$defaultval"; then
8529 if test x"$enablestring" = xdisable; then
8536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8537 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8539 # Check whether --enable-mediactrl was given.
8540 if test "${enable_mediactrl+set}" = set; then
8541 enableval=$enable_mediactrl;
8542 if test "$enableval" = yes; then
8543 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8545 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8550 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8551 if test "x$LINE" != x ; then
8552 eval "DEFAULT_$LINE"
8557 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8562 eval "$wx_cv_use_mediactrl"
8563 if test "$no_cache" != 1; then
8564 echo $wx_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
8567 if test x"$enablestring" = xdisable; then
8568 if test $wxUSE_MEDIACTRL = yes; then
8574 result=$wxUSE_MEDIACTRL
8577 { echo "$as_me:$LINENO: result: $result" >&5
8578 echo "${ECHO_T}$result" >&6; }
8582 defaultval=$wxUSE_ALL_FEATURES
8583 if test -z "$defaultval"; then
8584 if test x"$enablestring" = xdisable; then
8591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8592 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8594 # Check whether --enable-gstreamer8 was given.
8595 if test "${enable_gstreamer8+set}" = set; then
8596 enableval=$enable_gstreamer8;
8597 if test "$enableval" = yes; then
8598 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8600 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8605 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8606 if test "x$LINE" != x ; then
8607 eval "DEFAULT_$LINE"
8612 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8617 eval "$wx_cv_use_gstreamer8"
8618 if test "$no_cache" != 1; then
8619 echo $wx_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
8622 if test x"$enablestring" = xdisable; then
8623 if test $wxUSE_GSTREAMER8 = yes; then
8629 result=$wxUSE_GSTREAMER8
8632 { echo "$as_me:$LINENO: result: $result" >&5
8633 echo "${ECHO_T}$result" >&6; }
8637 defaultval=$wxUSE_ALL_FEATURES
8638 if test -z "$defaultval"; then
8639 if test x"$enablestring" = xdisable; then
8646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8647 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8649 # Check whether --enable-printfposparam was given.
8650 if test "${enable_printfposparam+set}" = set; then
8651 enableval=$enable_printfposparam;
8652 if test "$enableval" = yes; then
8653 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8655 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8660 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8661 if test "x$LINE" != x ; then
8662 eval "DEFAULT_$LINE"
8667 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8672 eval "$wx_cv_use_printfposparam"
8673 if test "$no_cache" != 1; then
8674 echo $wx_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
8677 if test x"$enablestring" = xdisable; then
8678 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8684 result=$wxUSE_PRINTF_POS_PARAMS
8687 { echo "$as_me:$LINENO: result: $result" >&5
8688 echo "${ECHO_T}$result" >&6; }
8692 defaultval=$wxUSE_ALL_FEATURES
8693 if test -z "$defaultval"; then
8694 if test x"$enablestring" = xdisable; then
8701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8702 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8704 # Check whether --enable-zipstream was given.
8705 if test "${enable_zipstream+set}" = set; then
8706 enableval=$enable_zipstream;
8707 if test "$enableval" = yes; then
8708 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8710 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8715 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8716 if test "x$LINE" != x ; then
8717 eval "DEFAULT_$LINE"
8722 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8727 eval "$wx_cv_use_zipstream"
8728 if test "$no_cache" != 1; then
8729 echo $wx_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
8732 if test x"$enablestring" = xdisable; then
8733 if test $wxUSE_ZIPSTREAM = yes; then
8739 result=$wxUSE_ZIPSTREAM
8742 { echo "$as_me:$LINENO: result: $result" >&5
8743 echo "${ECHO_T}$result" >&6; }
8748 defaultval=$wxUSE_ALL_FEATURES
8749 if test -z "$defaultval"; then
8750 if test x"$enablestring" = xdisable; then
8757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8758 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8760 # Check whether --enable-url was given.
8761 if test "${enable_url+set}" = set; then
8762 enableval=$enable_url;
8763 if test "$enableval" = yes; then
8764 wx_cv_use_url='wxUSE_URL=yes'
8766 wx_cv_use_url='wxUSE_URL=no'
8771 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8772 if test "x$LINE" != x ; then
8773 eval "DEFAULT_$LINE"
8778 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8783 eval "$wx_cv_use_url"
8784 if test "$no_cache" != 1; then
8785 echo $wx_cv_use_url >> ${wx_arg_cache_file}.tmp
8788 if test x"$enablestring" = xdisable; then
8789 if test $wxUSE_URL = yes; then
8798 { echo "$as_me:$LINENO: result: $result" >&5
8799 echo "${ECHO_T}$result" >&6; }
8803 defaultval=$wxUSE_ALL_FEATURES
8804 if test -z "$defaultval"; then
8805 if test x"$enablestring" = xdisable; then
8812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8813 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8815 # Check whether --enable-variant was given.
8816 if test "${enable_variant+set}" = set; then
8817 enableval=$enable_variant;
8818 if test "$enableval" = yes; then
8819 wx_cv_use_variant='wxUSE_VARIANT=yes'
8821 wx_cv_use_variant='wxUSE_VARIANT=no'
8826 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8827 if test "x$LINE" != x ; then
8828 eval "DEFAULT_$LINE"
8833 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8838 eval "$wx_cv_use_variant"
8839 if test "$no_cache" != 1; then
8840 echo $wx_cv_use_variant >> ${wx_arg_cache_file}.tmp
8843 if test x"$enablestring" = xdisable; then
8844 if test $wxUSE_VARIANT = yes; then
8850 result=$wxUSE_VARIANT
8853 { echo "$as_me:$LINENO: result: $result" >&5
8854 echo "${ECHO_T}$result" >&6; }
8858 defaultval=$wxUSE_ALL_FEATURES
8859 if test -z "$defaultval"; then
8860 if test x"$enablestring" = xdisable; then
8867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8868 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8870 # Check whether --enable-protocol was given.
8871 if test "${enable_protocol+set}" = set; then
8872 enableval=$enable_protocol;
8873 if test "$enableval" = yes; then
8874 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8876 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8881 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8882 if test "x$LINE" != x ; then
8883 eval "DEFAULT_$LINE"
8888 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8893 eval "$wx_cv_use_protocol"
8894 if test "$no_cache" != 1; then
8895 echo $wx_cv_use_protocol >> ${wx_arg_cache_file}.tmp
8898 if test x"$enablestring" = xdisable; then
8899 if test $wxUSE_PROTOCOL = yes; then
8905 result=$wxUSE_PROTOCOL
8908 { echo "$as_me:$LINENO: result: $result" >&5
8909 echo "${ECHO_T}$result" >&6; }
8913 defaultval=$wxUSE_ALL_FEATURES
8914 if test -z "$defaultval"; then
8915 if test x"$enablestring" = xdisable; then
8922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8923 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8925 # Check whether --enable-protocol_http was given.
8926 if test "${enable_protocol_http+set}" = set; then
8927 enableval=$enable_protocol_http;
8928 if test "$enableval" = yes; then
8929 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8931 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8936 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8937 if test "x$LINE" != x ; then
8938 eval "DEFAULT_$LINE"
8943 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8948 eval "$wx_cv_use_protocol_http"
8949 if test "$no_cache" != 1; then
8950 echo $wx_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
8953 if test x"$enablestring" = xdisable; then
8954 if test $wxUSE_PROTOCOL_HTTP = yes; then
8960 result=$wxUSE_PROTOCOL_HTTP
8963 { echo "$as_me:$LINENO: result: $result" >&5
8964 echo "${ECHO_T}$result" >&6; }
8968 defaultval=$wxUSE_ALL_FEATURES
8969 if test -z "$defaultval"; then
8970 if test x"$enablestring" = xdisable; then
8977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8978 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8980 # Check whether --enable-protocol_ftp was given.
8981 if test "${enable_protocol_ftp+set}" = set; then
8982 enableval=$enable_protocol_ftp;
8983 if test "$enableval" = yes; then
8984 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8986 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8991 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
8992 if test "x$LINE" != x ; then
8993 eval "DEFAULT_$LINE"
8998 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9003 eval "$wx_cv_use_protocol_ftp"
9004 if test "$no_cache" != 1; then
9005 echo $wx_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
9008 if test x"$enablestring" = xdisable; then
9009 if test $wxUSE_PROTOCOL_FTP = yes; then
9015 result=$wxUSE_PROTOCOL_FTP
9018 { echo "$as_me:$LINENO: result: $result" >&5
9019 echo "${ECHO_T}$result" >&6; }
9023 defaultval=$wxUSE_ALL_FEATURES
9024 if test -z "$defaultval"; then
9025 if test x"$enablestring" = xdisable; then
9032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9033 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9035 # Check whether --enable-protocol_file was given.
9036 if test "${enable_protocol_file+set}" = set; then
9037 enableval=$enable_protocol_file;
9038 if test "$enableval" = yes; then
9039 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9041 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9046 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9047 if test "x$LINE" != x ; then
9048 eval "DEFAULT_$LINE"
9053 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9058 eval "$wx_cv_use_protocol_file"
9059 if test "$no_cache" != 1; then
9060 echo $wx_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
9063 if test x"$enablestring" = xdisable; then
9064 if test $wxUSE_PROTOCOL_FILE = yes; then
9070 result=$wxUSE_PROTOCOL_FILE
9073 { echo "$as_me:$LINENO: result: $result" >&5
9074 echo "${ECHO_T}$result" >&6; }
9079 defaultval=$wxUSE_ALL_FEATURES
9080 if test -z "$defaultval"; then
9081 if test x"$enablestring" = xdisable; then
9088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9089 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9091 # Check whether --enable-threads was given.
9092 if test "${enable_threads+set}" = set; then
9093 enableval=$enable_threads;
9094 if test "$enableval" = yes; then
9095 wx_cv_use_threads='wxUSE_THREADS=yes'
9097 wx_cv_use_threads='wxUSE_THREADS=no'
9102 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9103 if test "x$LINE" != x ; then
9104 eval "DEFAULT_$LINE"
9109 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9114 eval "$wx_cv_use_threads"
9115 if test "$no_cache" != 1; then
9116 echo $wx_cv_use_threads >> ${wx_arg_cache_file}.tmp
9119 if test x"$enablestring" = xdisable; then
9120 if test $wxUSE_THREADS = yes; then
9126 result=$wxUSE_THREADS
9129 { echo "$as_me:$LINENO: result: $result" >&5
9130 echo "${ECHO_T}$result" >&6; }
9133 if test "$wxUSE_GUI" = "yes"; then
9138 defaultval=$wxUSE_ALL_FEATURES
9139 if test -z "$defaultval"; then
9140 if test x"$enablestring" = xdisable; then
9147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9148 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9150 # Check whether --enable-docview was given.
9151 if test "${enable_docview+set}" = set; then
9152 enableval=$enable_docview;
9153 if test "$enableval" = yes; then
9154 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9156 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9161 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9162 if test "x$LINE" != x ; then
9163 eval "DEFAULT_$LINE"
9168 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9173 eval "$wx_cv_use_docview"
9174 if test "$no_cache" != 1; then
9175 echo $wx_cv_use_docview >> ${wx_arg_cache_file}.tmp
9178 if test x"$enablestring" = xdisable; then
9179 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9185 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9188 { echo "$as_me:$LINENO: result: $result" >&5
9189 echo "${ECHO_T}$result" >&6; }
9193 defaultval=$wxUSE_ALL_FEATURES
9194 if test -z "$defaultval"; then
9195 if test x"$enablestring" = xdisable; then
9202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9203 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9205 # Check whether --enable-help was given.
9206 if test "${enable_help+set}" = set; then
9207 enableval=$enable_help;
9208 if test "$enableval" = yes; then
9209 wx_cv_use_help='wxUSE_HELP=yes'
9211 wx_cv_use_help='wxUSE_HELP=no'
9216 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9217 if test "x$LINE" != x ; then
9218 eval "DEFAULT_$LINE"
9223 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9228 eval "$wx_cv_use_help"
9229 if test "$no_cache" != 1; then
9230 echo $wx_cv_use_help >> ${wx_arg_cache_file}.tmp
9233 if test x"$enablestring" = xdisable; then
9234 if test $wxUSE_HELP = yes; then
9243 { echo "$as_me:$LINENO: result: $result" >&5
9244 echo "${ECHO_T}$result" >&6; }
9248 defaultval=$wxUSE_ALL_FEATURES
9249 if test -z "$defaultval"; then
9250 if test x"$enablestring" = xdisable; then
9257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9258 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9260 # Check whether --enable-mshtmlhelp was given.
9261 if test "${enable_mshtmlhelp+set}" = set; then
9262 enableval=$enable_mshtmlhelp;
9263 if test "$enableval" = yes; then
9264 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9266 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9271 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9272 if test "x$LINE" != x ; then
9273 eval "DEFAULT_$LINE"
9278 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9283 eval "$wx_cv_use_mshtmlhelp"
9284 if test "$no_cache" != 1; then
9285 echo $wx_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
9288 if test x"$enablestring" = xdisable; then
9289 if test $wxUSE_MS_HTML_HELP = yes; then
9295 result=$wxUSE_MS_HTML_HELP
9298 { echo "$as_me:$LINENO: result: $result" >&5
9299 echo "${ECHO_T}$result" >&6; }
9303 defaultval=$wxUSE_ALL_FEATURES
9304 if test -z "$defaultval"; then
9305 if test x"$enablestring" = xdisable; then
9312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9313 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9315 # Check whether --enable-html was given.
9316 if test "${enable_html+set}" = set; then
9317 enableval=$enable_html;
9318 if test "$enableval" = yes; then
9319 wx_cv_use_html='wxUSE_HTML=yes'
9321 wx_cv_use_html='wxUSE_HTML=no'
9326 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9327 if test "x$LINE" != x ; then
9328 eval "DEFAULT_$LINE"
9333 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9338 eval "$wx_cv_use_html"
9339 if test "$no_cache" != 1; then
9340 echo $wx_cv_use_html >> ${wx_arg_cache_file}.tmp
9343 if test x"$enablestring" = xdisable; then
9344 if test $wxUSE_HTML = yes; then
9353 { echo "$as_me:$LINENO: result: $result" >&5
9354 echo "${ECHO_T}$result" >&6; }
9358 defaultval=$wxUSE_ALL_FEATURES
9359 if test -z "$defaultval"; then
9360 if test x"$enablestring" = xdisable; then
9367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9368 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9370 # Check whether --enable-htmlhelp was given.
9371 if test "${enable_htmlhelp+set}" = set; then
9372 enableval=$enable_htmlhelp;
9373 if test "$enableval" = yes; then
9374 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9376 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9381 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9382 if test "x$LINE" != x ; then
9383 eval "DEFAULT_$LINE"
9388 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9393 eval "$wx_cv_use_htmlhelp"
9394 if test "$no_cache" != 1; then
9395 echo $wx_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
9398 if test x"$enablestring" = xdisable; then
9399 if test $wxUSE_WXHTML_HELP = yes; then
9405 result=$wxUSE_WXHTML_HELP
9408 { echo "$as_me:$LINENO: result: $result" >&5
9409 echo "${ECHO_T}$result" >&6; }
9413 defaultval=$wxUSE_ALL_FEATURES
9414 if test -z "$defaultval"; then
9415 if test x"$enablestring" = xdisable; then
9422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9423 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9425 # Check whether --enable-xrc was given.
9426 if test "${enable_xrc+set}" = set; then
9427 enableval=$enable_xrc;
9428 if test "$enableval" = yes; then
9429 wx_cv_use_xrc='wxUSE_XRC=yes'
9431 wx_cv_use_xrc='wxUSE_XRC=no'
9436 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9437 if test "x$LINE" != x ; then
9438 eval "DEFAULT_$LINE"
9443 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9448 eval "$wx_cv_use_xrc"
9449 if test "$no_cache" != 1; then
9450 echo $wx_cv_use_xrc >> ${wx_arg_cache_file}.tmp
9453 if test x"$enablestring" = xdisable; then
9454 if test $wxUSE_XRC = yes; then
9463 { echo "$as_me:$LINENO: result: $result" >&5
9464 echo "${ECHO_T}$result" >&6; }
9468 defaultval=$wxUSE_ALL_FEATURES
9469 if test -z "$defaultval"; then
9470 if test x"$enablestring" = xdisable; then
9477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9478 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'
9491 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9492 if test "x$LINE" != x ; then
9493 eval "DEFAULT_$LINE"
9498 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9503 eval "$wx_cv_use_aui"
9504 if test "$no_cache" != 1; then
9505 echo $wx_cv_use_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; }
9535 # Check whether --enable-stc was given.
9536 if test "${enable_stc+set}" = set; then
9537 enableval=$enable_stc;
9538 if test "$enableval" = yes; then
9539 wx_cv_use_stc='wxUSE_STC=yes'
9541 wx_cv_use_stc='wxUSE_STC=no'
9546 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9547 if test "x$LINE" != x ; then
9548 eval "DEFAULT_$LINE"
9553 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9558 eval "$wx_cv_use_stc"
9559 if test "$no_cache" != 1; then
9560 echo $wx_cv_use_stc >> ${wx_arg_cache_file}.tmp
9563 if test x"$enablestring" = xdisable; then
9564 if test $wxUSE_STC = yes; then
9573 { echo "$as_me:$LINENO: result: $result" >&5
9574 echo "${ECHO_T}$result" >&6; }
9578 defaultval=$wxUSE_ALL_FEATURES
9579 if test -z "$defaultval"; then
9580 if test x"$enablestring" = xdisable; then
9587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9588 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9590 # Check whether --enable-constraints was given.
9591 if test "${enable_constraints+set}" = set; then
9592 enableval=$enable_constraints;
9593 if test "$enableval" = yes; then
9594 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9596 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"
9608 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9613 eval "$wx_cv_use_constraints"
9614 if test "$no_cache" != 1; then
9615 echo $wx_cv_use_constraints >> ${wx_arg_cache_file}.tmp
9618 if test x"$enablestring" = xdisable; then
9619 if test $wxUSE_CONSTRAINTS = yes; then
9625 result=$wxUSE_CONSTRAINTS
9628 { echo "$as_me:$LINENO: result: $result" >&5
9629 echo "${ECHO_T}$result" >&6; }
9633 defaultval=$wxUSE_ALL_FEATURES
9634 if test -z "$defaultval"; then
9635 if test x"$enablestring" = xdisable; then
9642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9643 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9645 # Check whether --enable-printarch was given.
9646 if test "${enable_printarch+set}" = set; then
9647 enableval=$enable_printarch;
9648 if test "$enableval" = yes; then
9649 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9651 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9656 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9657 if test "x$LINE" != x ; then
9658 eval "DEFAULT_$LINE"
9663 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9668 eval "$wx_cv_use_printarch"
9669 if test "$no_cache" != 1; then
9670 echo $wx_cv_use_printarch >> ${wx_arg_cache_file}.tmp
9673 if test x"$enablestring" = xdisable; then
9674 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9680 result=$wxUSE_PRINTING_ARCHITECTURE
9683 { echo "$as_me:$LINENO: result: $result" >&5
9684 echo "${ECHO_T}$result" >&6; }
9688 defaultval=$wxUSE_ALL_FEATURES
9689 if test -z "$defaultval"; then
9690 if test x"$enablestring" = xdisable; then
9697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9698 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9700 # Check whether --enable-mdi was given.
9701 if test "${enable_mdi+set}" = set; then
9702 enableval=$enable_mdi;
9703 if test "$enableval" = yes; then
9704 wx_cv_use_mdi='wxUSE_MDI=yes'
9706 wx_cv_use_mdi='wxUSE_MDI=no'
9711 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9712 if test "x$LINE" != x ; then
9713 eval "DEFAULT_$LINE"
9718 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9723 eval "$wx_cv_use_mdi"
9724 if test "$no_cache" != 1; then
9725 echo $wx_cv_use_mdi >> ${wx_arg_cache_file}.tmp
9728 if test x"$enablestring" = xdisable; then
9729 if test $wxUSE_MDI = yes; then
9738 { echo "$as_me:$LINENO: result: $result" >&5
9739 echo "${ECHO_T}$result" >&6; }
9743 defaultval=$wxUSE_ALL_FEATURES
9744 if test -z "$defaultval"; then
9745 if test x"$enablestring" = xdisable; then
9752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9753 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9755 # Check whether --enable-mdidoc was given.
9756 if test "${enable_mdidoc+set}" = set; then
9757 enableval=$enable_mdidoc;
9758 if test "$enableval" = yes; then
9759 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9761 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9766 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9767 if test "x$LINE" != x ; then
9768 eval "DEFAULT_$LINE"
9773 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9778 eval "$wx_cv_use_mdidoc"
9779 if test "$no_cache" != 1; then
9780 echo $wx_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
9783 if test x"$enablestring" = xdisable; then
9784 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9790 result=$wxUSE_MDI_ARCHITECTURE
9793 { echo "$as_me:$LINENO: result: $result" >&5
9794 echo "${ECHO_T}$result" >&6; }
9798 defaultval=$wxUSE_ALL_FEATURES
9799 if test -z "$defaultval"; then
9800 if test x"$enablestring" = xdisable; then
9807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9808 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9810 # Check whether --enable-loggui was given.
9811 if test "${enable_loggui+set}" = set; then
9812 enableval=$enable_loggui;
9813 if test "$enableval" = yes; then
9814 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9816 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9821 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9822 if test "x$LINE" != x ; then
9823 eval "DEFAULT_$LINE"
9828 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9833 eval "$wx_cv_use_loggui"
9834 if test "$no_cache" != 1; then
9835 echo $wx_cv_use_loggui >> ${wx_arg_cache_file}.tmp
9838 if test x"$enablestring" = xdisable; then
9839 if test $wxUSE_LOGGUI = yes; then
9845 result=$wxUSE_LOGGUI
9848 { echo "$as_me:$LINENO: result: $result" >&5
9849 echo "${ECHO_T}$result" >&6; }
9853 defaultval=$wxUSE_ALL_FEATURES
9854 if test -z "$defaultval"; then
9855 if test x"$enablestring" = xdisable; then
9862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9863 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9865 # Check whether --enable-logwin was given.
9866 if test "${enable_logwin+set}" = set; then
9867 enableval=$enable_logwin;
9868 if test "$enableval" = yes; then
9869 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9871 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9876 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9877 if test "x$LINE" != x ; then
9878 eval "DEFAULT_$LINE"
9883 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9888 eval "$wx_cv_use_logwin"
9889 if test "$no_cache" != 1; then
9890 echo $wx_cv_use_logwin >> ${wx_arg_cache_file}.tmp
9893 if test x"$enablestring" = xdisable; then
9894 if test $wxUSE_LOGWINDOW = yes; then
9900 result=$wxUSE_LOGWINDOW
9903 { echo "$as_me:$LINENO: result: $result" >&5
9904 echo "${ECHO_T}$result" >&6; }
9908 defaultval=$wxUSE_ALL_FEATURES
9909 if test -z "$defaultval"; then
9910 if test x"$enablestring" = xdisable; then
9917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9918 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9920 # Check whether --enable-logdialog was given.
9921 if test "${enable_logdialog+set}" = set; then
9922 enableval=$enable_logdialog;
9923 if test "$enableval" = yes; then
9924 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9926 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9931 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9932 if test "x$LINE" != x ; then
9933 eval "DEFAULT_$LINE"
9938 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9943 eval "$wx_cv_use_logdialog"
9944 if test "$no_cache" != 1; then
9945 echo $wx_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
9948 if test x"$enablestring" = xdisable; then
9949 if test $wxUSE_LOGDIALOG = yes; then
9955 result=$wxUSE_LOGDIALOG
9958 { echo "$as_me:$LINENO: result: $result" >&5
9959 echo "${ECHO_T}$result" >&6; }
9963 defaultval=$wxUSE_ALL_FEATURES
9964 if test -z "$defaultval"; then
9965 if test x"$enablestring" = xdisable; then
9972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9973 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9975 # Check whether --enable-webkit was given.
9976 if test "${enable_webkit+set}" = set; then
9977 enableval=$enable_webkit;
9978 if test "$enableval" = yes; then
9979 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9981 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9986 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9987 if test "x$LINE" != x ; then
9988 eval "DEFAULT_$LINE"
9993 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9998 eval "$wx_cv_use_webkit"
9999 if test "$no_cache" != 1; then
10000 echo $wx_cv_use_webkit >> ${wx_arg_cache_file}.tmp
10003 if test x"$enablestring" = xdisable; then
10004 if test $wxUSE_WEBKIT = yes; then
10010 result=$wxUSE_WEBKIT
10013 { echo "$as_me:$LINENO: result: $result" >&5
10014 echo "${ECHO_T}$result" >&6; }
10018 defaultval=$wxUSE_ALL_FEATURES
10019 if test -z "$defaultval"; then
10020 if test x"$enablestring" = xdisable; then
10027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10028 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10030 # Check whether --enable-richtext was given.
10031 if test "${enable_richtext+set}" = set; then
10032 enableval=$enable_richtext;
10033 if test "$enableval" = yes; then
10034 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10036 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10041 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10042 if test "x$LINE" != x ; then
10043 eval "DEFAULT_$LINE"
10048 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10053 eval "$wx_cv_use_richtext"
10054 if test "$no_cache" != 1; then
10055 echo $wx_cv_use_richtext >> ${wx_arg_cache_file}.tmp
10058 if test x"$enablestring" = xdisable; then
10059 if test $wxUSE_RICHTEXT = yes; then
10065 result=$wxUSE_RICHTEXT
10068 { echo "$as_me:$LINENO: result: $result" >&5
10069 echo "${ECHO_T}$result" >&6; }
10073 defaultval=$wxUSE_ALL_FEATURES
10074 if test -z "$defaultval"; then
10075 if test x"$enablestring" = xdisable; then
10082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10083 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10085 # Check whether --enable-graphics_ctx was given.
10086 if test "${enable_graphics_ctx+set}" = set; then
10087 enableval=$enable_graphics_ctx;
10088 if test "$enableval" = yes; then
10089 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10091 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10096 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10097 if test "x$LINE" != x ; then
10098 eval "DEFAULT_$LINE"
10103 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10108 eval "$wx_cv_use_graphics_ctx"
10109 if test "$no_cache" != 1; then
10110 echo $wx_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
10113 if test x"$enablestring" = xdisable; then
10114 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10120 result=$wxUSE_GRAPHICS_CONTEXT
10123 { echo "$as_me:$LINENO: result: $result" >&5
10124 echo "${ECHO_T}$result" >&6; }
10128 defaultval=$wxUSE_ALL_FEATURES
10129 if test -z "$defaultval"; then
10130 if test x"$enablestring" = xdisable; then
10137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10138 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10140 # Check whether --enable-postscript was given.
10141 if test "${enable_postscript+set}" = set; then
10142 enableval=$enable_postscript;
10143 if test "$enableval" = yes; then
10144 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10146 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10151 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10152 if test "x$LINE" != x ; then
10153 eval "DEFAULT_$LINE"
10158 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10163 eval "$wx_cv_use_postscript"
10164 if test "$no_cache" != 1; then
10165 echo $wx_cv_use_postscript >> ${wx_arg_cache_file}.tmp
10168 if test x"$enablestring" = xdisable; then
10169 if test $wxUSE_POSTSCRIPT = yes; then
10175 result=$wxUSE_POSTSCRIPT
10178 { echo "$as_me:$LINENO: result: $result" >&5
10179 echo "${ECHO_T}$result" >&6; }
10183 defaultval=$wxUSE_ALL_FEATURES
10184 if test -z "$defaultval"; then
10185 if test x"$enablestring" = xdisable; then
10192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10193 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10195 # Check whether --enable-svg was given.
10196 if test "${enable_svg+set}" = set; then
10197 enableval=$enable_svg;
10198 if test "$enableval" = yes; then
10199 wx_cv_use_svg='wxUSE_SVG=yes'
10201 wx_cv_use_svg='wxUSE_SVG=no'
10206 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10207 if test "x$LINE" != x ; then
10208 eval "DEFAULT_$LINE"
10213 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10218 eval "$wx_cv_use_svg"
10219 if test "$no_cache" != 1; then
10220 echo $wx_cv_use_svg >> ${wx_arg_cache_file}.tmp
10223 if test x"$enablestring" = xdisable; then
10224 if test $wxUSE_SVG = yes; then
10233 { echo "$as_me:$LINENO: result: $result" >&5
10234 echo "${ECHO_T}$result" >&6; }
10240 defaultval=$wxUSE_ALL_FEATURES
10241 if test -z "$defaultval"; then
10242 if test x"$enablestring" = xdisable; then
10249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10250 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10252 # Check whether --enable-clipboard was given.
10253 if test "${enable_clipboard+set}" = set; then
10254 enableval=$enable_clipboard;
10255 if test "$enableval" = yes; then
10256 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10258 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10263 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10264 if test "x$LINE" != x ; then
10265 eval "DEFAULT_$LINE"
10270 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10275 eval "$wx_cv_use_clipboard"
10276 if test "$no_cache" != 1; then
10277 echo $wx_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
10280 if test x"$enablestring" = xdisable; then
10281 if test $wxUSE_CLIPBOARD = yes; then
10287 result=$wxUSE_CLIPBOARD
10290 { echo "$as_me:$LINENO: result: $result" >&5
10291 echo "${ECHO_T}$result" >&6; }
10295 defaultval=$wxUSE_ALL_FEATURES
10296 if test -z "$defaultval"; then
10297 if test x"$enablestring" = xdisable; then
10304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10305 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10307 # Check whether --enable-dnd was given.
10308 if test "${enable_dnd+set}" = set; then
10309 enableval=$enable_dnd;
10310 if test "$enableval" = yes; then
10311 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10313 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10318 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10319 if test "x$LINE" != x ; then
10320 eval "DEFAULT_$LINE"
10325 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10330 eval "$wx_cv_use_dnd"
10331 if test "$no_cache" != 1; then
10332 echo $wx_cv_use_dnd >> ${wx_arg_cache_file}.tmp
10335 if test x"$enablestring" = xdisable; then
10336 if test $wxUSE_DRAG_AND_DROP = yes; then
10342 result=$wxUSE_DRAG_AND_DROP
10345 { echo "$as_me:$LINENO: result: $result" >&5
10346 echo "${ECHO_T}$result" >&6; }
10350 defaultval=$wxUSE_ALL_FEATURES
10351 if test -z "$defaultval"; then
10352 if test x"$enablestring" = xdisable; then
10359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10360 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10362 # Check whether --enable-metafile was given.
10363 if test "${enable_metafile+set}" = set; then
10364 enableval=$enable_metafile;
10365 if test "$enableval" = yes; then
10366 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10368 wx_cv_use_metafile='wxUSE_METAFILE=no'
10373 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10374 if test "x$LINE" != x ; then
10375 eval "DEFAULT_$LINE"
10380 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10385 eval "$wx_cv_use_metafile"
10386 if test "$no_cache" != 1; then
10387 echo $wx_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10390 if test x"$enablestring" = xdisable; then
10391 if test $wxUSE_METAFILE = yes; then
10397 result=$wxUSE_METAFILE
10400 { echo "$as_me:$LINENO: result: $result" >&5
10401 echo "${ECHO_T}$result" >&6; }
10405 DEFAULT_wxUSE_CONTROLS=none
10407 enablestring=disable
10409 if test -z "$defaultval"; then
10410 if test x"$enablestring" = xdisable; then
10417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10418 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10420 # Check whether --enable-controls was given.
10421 if test "${enable_controls+set}" = set; then
10422 enableval=$enable_controls;
10423 if test "$enableval" = yes; then
10424 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10426 wx_cv_use_controls='wxUSE_CONTROLS=no'
10431 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10432 if test "x$LINE" != x ; then
10433 eval "DEFAULT_$LINE"
10438 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10443 eval "$wx_cv_use_controls"
10444 if test "$no_cache" != 1; then
10445 echo $wx_cv_use_controls >> ${wx_arg_cache_file}.tmp
10448 if test x"$enablestring" = xdisable; then
10449 if test $wxUSE_CONTROLS = yes; then
10455 result=$wxUSE_CONTROLS
10458 { echo "$as_me:$LINENO: result: $result" >&5
10459 echo "${ECHO_T}$result" >&6; }
10462 if test "$wxUSE_CONTROLS" = "yes"; then
10463 DEFAULT_wxUSE_ACCEL=yes
10464 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10465 DEFAULT_wxUSE_BMPBUTTON=yes
10466 DEFAULT_wxUSE_BUTTON=yes
10467 DEFAULT_wxUSE_CALCTRL=yes
10468 DEFAULT_wxUSE_CARET=yes
10469 DEFAULT_wxUSE_COMBOBOX=yes
10470 DEFAULT_wxUSE_CHECKBOX=yes
10471 DEFAULT_wxUSE_CHECKLISTBOX=yes
10472 DEFAULT_wxUSE_CHOICE=yes
10473 DEFAULT_wxUSE_CHOICEBOOK=yes
10474 DEFAULT_wxUSE_COLLPANE=yes
10475 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10476 DEFAULT_wxUSE_COMBOBOX=yes
10477 DEFAULT_wxUSE_DATEPICKCTRL=yes
10478 DEFAULT_wxUSE_DISPLAY=yes
10479 DEFAULT_wxUSE_DETECT_SM=yes
10480 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10481 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10482 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10483 DEFAULT_wxUSE_GAUGE=yes
10484 DEFAULT_wxUSE_GRID=yes
10485 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10486 DEFAULT_wxUSE_DATAVIEWCTRL=no
10487 DEFAULT_wxUSE_IMAGLIST=yes
10488 DEFAULT_wxUSE_LISTBOOK=yes
10489 DEFAULT_wxUSE_LISTBOX=yes
10490 DEFAULT_wxUSE_LISTCTRL=yes
10491 DEFAULT_wxUSE_NOTEBOOK=yes
10492 DEFAULT_wxUSE_RADIOBOX=yes
10493 DEFAULT_wxUSE_RADIOBTN=yes
10494 DEFAULT_wxUSE_SASH=yes
10495 DEFAULT_wxUSE_SCROLLBAR=yes
10496 DEFAULT_wxUSE_SEARCHCTRL=yes
10497 DEFAULT_wxUSE_SLIDER=yes
10498 DEFAULT_wxUSE_SPINBTN=yes
10499 DEFAULT_wxUSE_SPINCTRL=yes
10500 DEFAULT_wxUSE_SPLITTER=yes
10501 DEFAULT_wxUSE_STATBMP=yes
10502 DEFAULT_wxUSE_STATBOX=yes
10503 DEFAULT_wxUSE_STATLINE=yes
10504 DEFAULT_wxUSE_STATUSBAR=yes
10505 DEFAULT_wxUSE_TAB_DIALOG=yes
10506 DEFAULT_wxUSE_TOGGLEBTN=yes
10507 DEFAULT_wxUSE_TOOLBAR=yes
10508 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10509 DEFAULT_wxUSE_TOOLTIPS=yes
10510 DEFAULT_wxUSE_TREEBOOK=yes
10511 DEFAULT_wxUSE_TOOLBOOK=yes
10512 DEFAULT_wxUSE_TREECTRL=yes
10513 DEFAULT_wxUSE_POPUPWIN=yes
10514 DEFAULT_wxUSE_TIPWINDOW=yes
10515 elif test "$wxUSE_CONTROLS" = "no"; then
10516 DEFAULT_wxUSE_ACCEL=no
10517 DEFAULT_wxUSE_ANIMATIONCTRL=no
10518 DEFAULT_wxUSE_BMPBUTTON=no
10519 DEFAULT_wxUSE_BUTTON=no
10520 DEFAULT_wxUSE_CALCTRL=no
10521 DEFAULT_wxUSE_CARET=no
10522 DEFAULT_wxUSE_COLLPANE=no
10523 DEFAULT_wxUSE_COMBOBOX=no
10524 DEFAULT_wxUSE_CHECKBOX=no
10525 DEFAULT_wxUSE_CHECKLISTBOX=no
10526 DEFAULT_wxUSE_CHOICE=no
10527 DEFAULT_wxUSE_CHOICEBOOK=no
10528 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10529 DEFAULT_wxUSE_COMBOBOX=no
10530 DEFAULT_wxUSE_DATEPICKCTRL=no
10531 DEFAULT_wxUSE_DISPLAY=no
10532 DEFAULT_wxUSE_DETECT_SM=no
10533 DEFAULT_wxUSE_DIRPICKERCTRL=no
10534 DEFAULT_wxUSE_FILEPICKERCTRL=no
10535 DEFAULT_wxUSE_FONTPICKERCTRL=no
10536 DEFAULT_wxUSE_GAUGE=no
10537 DEFAULT_wxUSE_GRID=no
10538 DEFAULT_wxUSE_HYPERLINKCTRL=no
10539 DEFAULT_wxUSE_DATAVIEWCTRL=no
10540 DEFAULT_wxUSE_IMAGLIST=no
10541 DEFAULT_wxUSE_LISTBOOK=no
10542 DEFAULT_wxUSE_LISTBOX=no
10543 DEFAULT_wxUSE_LISTCTRL=no
10544 DEFAULT_wxUSE_NOTEBOOK=no
10545 DEFAULT_wxUSE_RADIOBOX=no
10546 DEFAULT_wxUSE_RADIOBTN=no
10547 DEFAULT_wxUSE_SASH=no
10548 DEFAULT_wxUSE_SCROLLBAR=no
10549 DEFAULT_wxUSE_SEARCHCTRL=no
10550 DEFAULT_wxUSE_SLIDER=no
10551 DEFAULT_wxUSE_SPINBTN=no
10552 DEFAULT_wxUSE_SPINCTRL=no
10553 DEFAULT_wxUSE_SPLITTER=no
10554 DEFAULT_wxUSE_STATBMP=no
10555 DEFAULT_wxUSE_STATBOX=no
10556 DEFAULT_wxUSE_STATLINE=no
10557 DEFAULT_wxUSE_STATUSBAR=no
10558 DEFAULT_wxUSE_TAB_DIALOG=no
10559 DEFAULT_wxUSE_TOGGLEBTN=no
10560 DEFAULT_wxUSE_TOOLBAR=no
10561 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10562 DEFAULT_wxUSE_TOOLTIPS=no
10563 DEFAULT_wxUSE_TREEBOOK=no
10564 DEFAULT_wxUSE_TOOLBOOK=no
10565 DEFAULT_wxUSE_TREECTRL=no
10566 DEFAULT_wxUSE_POPUPWIN=no
10567 DEFAULT_wxUSE_TIPWINDOW=no
10572 defaultval=$wxUSE_ALL_FEATURES
10573 if test -z "$defaultval"; then
10574 if test x"$enablestring" = xdisable; then
10581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10582 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10584 # Check whether --enable-accel was given.
10585 if test "${enable_accel+set}" = set; then
10586 enableval=$enable_accel;
10587 if test "$enableval" = yes; then
10588 wx_cv_use_accel='wxUSE_ACCEL=yes'
10590 wx_cv_use_accel='wxUSE_ACCEL=no'
10595 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10596 if test "x$LINE" != x ; then
10597 eval "DEFAULT_$LINE"
10602 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10607 eval "$wx_cv_use_accel"
10608 if test "$no_cache" != 1; then
10609 echo $wx_cv_use_accel >> ${wx_arg_cache_file}.tmp
10612 if test x"$enablestring" = xdisable; then
10613 if test $wxUSE_ACCEL = yes; then
10619 result=$wxUSE_ACCEL
10622 { echo "$as_me:$LINENO: result: $result" >&5
10623 echo "${ECHO_T}$result" >&6; }
10627 defaultval=$wxUSE_ALL_FEATURES
10628 if test -z "$defaultval"; then
10629 if test x"$enablestring" = xdisable; then
10636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10637 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10639 # Check whether --enable-animatectrl was given.
10640 if test "${enable_animatectrl+set}" = set; then
10641 enableval=$enable_animatectrl;
10642 if test "$enableval" = yes; then
10643 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10645 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10650 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10651 if test "x$LINE" != x ; then
10652 eval "DEFAULT_$LINE"
10657 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10662 eval "$wx_cv_use_animatectrl"
10663 if test "$no_cache" != 1; then
10664 echo $wx_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
10667 if test x"$enablestring" = xdisable; then
10668 if test $wxUSE_ANIMATIONCTRL = yes; then
10674 result=$wxUSE_ANIMATIONCTRL
10677 { echo "$as_me:$LINENO: result: $result" >&5
10678 echo "${ECHO_T}$result" >&6; }
10682 defaultval=$wxUSE_ALL_FEATURES
10683 if test -z "$defaultval"; then
10684 if test x"$enablestring" = xdisable; then
10691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10692 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10694 # Check whether --enable-button was given.
10695 if test "${enable_button+set}" = set; then
10696 enableval=$enable_button;
10697 if test "$enableval" = yes; then
10698 wx_cv_use_button='wxUSE_BUTTON=yes'
10700 wx_cv_use_button='wxUSE_BUTTON=no'
10705 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10706 if test "x$LINE" != x ; then
10707 eval "DEFAULT_$LINE"
10712 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10717 eval "$wx_cv_use_button"
10718 if test "$no_cache" != 1; then
10719 echo $wx_cv_use_button >> ${wx_arg_cache_file}.tmp
10722 if test x"$enablestring" = xdisable; then
10723 if test $wxUSE_BUTTON = yes; then
10729 result=$wxUSE_BUTTON
10732 { echo "$as_me:$LINENO: result: $result" >&5
10733 echo "${ECHO_T}$result" >&6; }
10737 defaultval=$wxUSE_ALL_FEATURES
10738 if test -z "$defaultval"; then
10739 if test x"$enablestring" = xdisable; then
10746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10747 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10749 # Check whether --enable-bmpbutton was given.
10750 if test "${enable_bmpbutton+set}" = set; then
10751 enableval=$enable_bmpbutton;
10752 if test "$enableval" = yes; then
10753 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10755 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10760 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10761 if test "x$LINE" != x ; then
10762 eval "DEFAULT_$LINE"
10767 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10772 eval "$wx_cv_use_bmpbutton"
10773 if test "$no_cache" != 1; then
10774 echo $wx_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
10777 if test x"$enablestring" = xdisable; then
10778 if test $wxUSE_BMPBUTTON = yes; then
10784 result=$wxUSE_BMPBUTTON
10787 { echo "$as_me:$LINENO: result: $result" >&5
10788 echo "${ECHO_T}$result" >&6; }
10792 defaultval=$wxUSE_ALL_FEATURES
10793 if test -z "$defaultval"; then
10794 if test x"$enablestring" = xdisable; then
10801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10802 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10804 # Check whether --enable-bmpcombobox was given.
10805 if test "${enable_bmpcombobox+set}" = set; then
10806 enableval=$enable_bmpcombobox;
10807 if test "$enableval" = yes; then
10808 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10810 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10815 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10816 if test "x$LINE" != x ; then
10817 eval "DEFAULT_$LINE"
10822 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10827 eval "$wx_cv_use_bmpcombobox"
10828 if test "$no_cache" != 1; then
10829 echo $wx_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
10832 if test x"$enablestring" = xdisable; then
10833 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10839 result=$wxUSE_BITMAPCOMBOBOX
10842 { echo "$as_me:$LINENO: result: $result" >&5
10843 echo "${ECHO_T}$result" >&6; }
10847 defaultval=$wxUSE_ALL_FEATURES
10848 if test -z "$defaultval"; then
10849 if test x"$enablestring" = xdisable; then
10856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10857 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10859 # Check whether --enable-calendar was given.
10860 if test "${enable_calendar+set}" = set; then
10861 enableval=$enable_calendar;
10862 if test "$enableval" = yes; then
10863 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10865 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10870 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10871 if test "x$LINE" != x ; then
10872 eval "DEFAULT_$LINE"
10877 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10882 eval "$wx_cv_use_calendar"
10883 if test "$no_cache" != 1; then
10884 echo $wx_cv_use_calendar >> ${wx_arg_cache_file}.tmp
10887 if test x"$enablestring" = xdisable; then
10888 if test $wxUSE_CALCTRL = yes; then
10894 result=$wxUSE_CALCTRL
10897 { echo "$as_me:$LINENO: result: $result" >&5
10898 echo "${ECHO_T}$result" >&6; }
10902 defaultval=$wxUSE_ALL_FEATURES
10903 if test -z "$defaultval"; then
10904 if test x"$enablestring" = xdisable; then
10911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10912 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10914 # Check whether --enable-caret was given.
10915 if test "${enable_caret+set}" = set; then
10916 enableval=$enable_caret;
10917 if test "$enableval" = yes; then
10918 wx_cv_use_caret='wxUSE_CARET=yes'
10920 wx_cv_use_caret='wxUSE_CARET=no'
10925 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10926 if test "x$LINE" != x ; then
10927 eval "DEFAULT_$LINE"
10932 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10937 eval "$wx_cv_use_caret"
10938 if test "$no_cache" != 1; then
10939 echo $wx_cv_use_caret >> ${wx_arg_cache_file}.tmp
10942 if test x"$enablestring" = xdisable; then
10943 if test $wxUSE_CARET = yes; then
10949 result=$wxUSE_CARET
10952 { echo "$as_me:$LINENO: result: $result" >&5
10953 echo "${ECHO_T}$result" >&6; }
10957 defaultval=$wxUSE_ALL_FEATURES
10958 if test -z "$defaultval"; then
10959 if test x"$enablestring" = xdisable; then
10966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10967 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10969 # Check whether --enable-checkbox was given.
10970 if test "${enable_checkbox+set}" = set; then
10971 enableval=$enable_checkbox;
10972 if test "$enableval" = yes; then
10973 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10975 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10980 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10981 if test "x$LINE" != x ; then
10982 eval "DEFAULT_$LINE"
10987 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10992 eval "$wx_cv_use_checkbox"
10993 if test "$no_cache" != 1; then
10994 echo $wx_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
10997 if test x"$enablestring" = xdisable; then
10998 if test $wxUSE_CHECKBOX = yes; then
11004 result=$wxUSE_CHECKBOX
11007 { echo "$as_me:$LINENO: result: $result" >&5
11008 echo "${ECHO_T}$result" >&6; }
11012 defaultval=$wxUSE_ALL_FEATURES
11013 if test -z "$defaultval"; then
11014 if test x"$enablestring" = xdisable; then
11021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11022 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11024 # Check whether --enable-checklst was given.
11025 if test "${enable_checklst+set}" = set; then
11026 enableval=$enable_checklst;
11027 if test "$enableval" = yes; then
11028 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11030 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11035 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11036 if test "x$LINE" != x ; then
11037 eval "DEFAULT_$LINE"
11042 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11047 eval "$wx_cv_use_checklst"
11048 if test "$no_cache" != 1; then
11049 echo $wx_cv_use_checklst >> ${wx_arg_cache_file}.tmp
11052 if test x"$enablestring" = xdisable; then
11053 if test $wxUSE_CHECKLST = yes; then
11059 result=$wxUSE_CHECKLST
11062 { echo "$as_me:$LINENO: result: $result" >&5
11063 echo "${ECHO_T}$result" >&6; }
11067 defaultval=$wxUSE_ALL_FEATURES
11068 if test -z "$defaultval"; then
11069 if test x"$enablestring" = xdisable; then
11076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11077 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11079 # Check whether --enable-choice was given.
11080 if test "${enable_choice+set}" = set; then
11081 enableval=$enable_choice;
11082 if test "$enableval" = yes; then
11083 wx_cv_use_choice='wxUSE_CHOICE=yes'
11085 wx_cv_use_choice='wxUSE_CHOICE=no'
11090 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11091 if test "x$LINE" != x ; then
11092 eval "DEFAULT_$LINE"
11097 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11102 eval "$wx_cv_use_choice"
11103 if test "$no_cache" != 1; then
11104 echo $wx_cv_use_choice >> ${wx_arg_cache_file}.tmp
11107 if test x"$enablestring" = xdisable; then
11108 if test $wxUSE_CHOICE = yes; then
11114 result=$wxUSE_CHOICE
11117 { echo "$as_me:$LINENO: result: $result" >&5
11118 echo "${ECHO_T}$result" >&6; }
11122 defaultval=$wxUSE_ALL_FEATURES
11123 if test -z "$defaultval"; then
11124 if test x"$enablestring" = xdisable; then
11131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11132 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11134 # Check whether --enable-choicebook was given.
11135 if test "${enable_choicebook+set}" = set; then
11136 enableval=$enable_choicebook;
11137 if test "$enableval" = yes; then
11138 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11140 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11145 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11146 if test "x$LINE" != x ; then
11147 eval "DEFAULT_$LINE"
11152 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11157 eval "$wx_cv_use_choicebook"
11158 if test "$no_cache" != 1; then
11159 echo $wx_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
11162 if test x"$enablestring" = xdisable; then
11163 if test $wxUSE_CHOICEBOOK = yes; then
11169 result=$wxUSE_CHOICEBOOK
11172 { echo "$as_me:$LINENO: result: $result" >&5
11173 echo "${ECHO_T}$result" >&6; }
11177 defaultval=$wxUSE_ALL_FEATURES
11178 if test -z "$defaultval"; then
11179 if test x"$enablestring" = xdisable; then
11186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11187 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11189 # Check whether --enable-collpane was given.
11190 if test "${enable_collpane+set}" = set; then
11191 enableval=$enable_collpane;
11192 if test "$enableval" = yes; then
11193 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11195 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11200 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11201 if test "x$LINE" != x ; then
11202 eval "DEFAULT_$LINE"
11207 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11212 eval "$wx_cv_use_collpane"
11213 if test "$no_cache" != 1; then
11214 echo $wx_cv_use_collpane >> ${wx_arg_cache_file}.tmp
11217 if test x"$enablestring" = xdisable; then
11218 if test $wxUSE_COLLPANE = yes; then
11224 result=$wxUSE_COLLPANE
11227 { echo "$as_me:$LINENO: result: $result" >&5
11228 echo "${ECHO_T}$result" >&6; }
11232 defaultval=$wxUSE_ALL_FEATURES
11233 if test -z "$defaultval"; then
11234 if test x"$enablestring" = xdisable; then
11241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11242 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11244 # Check whether --enable-colourpicker was given.
11245 if test "${enable_colourpicker+set}" = set; then
11246 enableval=$enable_colourpicker;
11247 if test "$enableval" = yes; then
11248 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11250 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11255 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11256 if test "x$LINE" != x ; then
11257 eval "DEFAULT_$LINE"
11262 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11267 eval "$wx_cv_use_colourpicker"
11268 if test "$no_cache" != 1; then
11269 echo $wx_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
11272 if test x"$enablestring" = xdisable; then
11273 if test $wxUSE_COLOURPICKERCTRL = yes; then
11279 result=$wxUSE_COLOURPICKERCTRL
11282 { echo "$as_me:$LINENO: result: $result" >&5
11283 echo "${ECHO_T}$result" >&6; }
11287 defaultval=$wxUSE_ALL_FEATURES
11288 if test -z "$defaultval"; then
11289 if test x"$enablestring" = xdisable; then
11296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11297 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11299 # Check whether --enable-combobox was given.
11300 if test "${enable_combobox+set}" = set; then
11301 enableval=$enable_combobox;
11302 if test "$enableval" = yes; then
11303 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11305 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11310 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11311 if test "x$LINE" != x ; then
11312 eval "DEFAULT_$LINE"
11317 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11322 eval "$wx_cv_use_combobox"
11323 if test "$no_cache" != 1; then
11324 echo $wx_cv_use_combobox >> ${wx_arg_cache_file}.tmp
11327 if test x"$enablestring" = xdisable; then
11328 if test $wxUSE_COMBOBOX = yes; then
11334 result=$wxUSE_COMBOBOX
11337 { echo "$as_me:$LINENO: result: $result" >&5
11338 echo "${ECHO_T}$result" >&6; }
11342 defaultval=$wxUSE_ALL_FEATURES
11343 if test -z "$defaultval"; then
11344 if test x"$enablestring" = xdisable; then
11351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11352 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11354 # Check whether --enable-comboctrl was given.
11355 if test "${enable_comboctrl+set}" = set; then
11356 enableval=$enable_comboctrl;
11357 if test "$enableval" = yes; then
11358 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11360 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11365 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11366 if test "x$LINE" != x ; then
11367 eval "DEFAULT_$LINE"
11372 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11377 eval "$wx_cv_use_comboctrl"
11378 if test "$no_cache" != 1; then
11379 echo $wx_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
11382 if test x"$enablestring" = xdisable; then
11383 if test $wxUSE_COMBOCTRL = yes; then
11389 result=$wxUSE_COMBOCTRL
11392 { echo "$as_me:$LINENO: result: $result" >&5
11393 echo "${ECHO_T}$result" >&6; }
11397 defaultval=$wxUSE_ALL_FEATURES
11398 if test -z "$defaultval"; then
11399 if test x"$enablestring" = xdisable; then
11406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11407 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11409 # Check whether --enable-datepick was given.
11410 if test "${enable_datepick+set}" = set; then
11411 enableval=$enable_datepick;
11412 if test "$enableval" = yes; then
11413 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11415 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11420 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11421 if test "x$LINE" != x ; then
11422 eval "DEFAULT_$LINE"
11427 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11432 eval "$wx_cv_use_datepick"
11433 if test "$no_cache" != 1; then
11434 echo $wx_cv_use_datepick >> ${wx_arg_cache_file}.tmp
11437 if test x"$enablestring" = xdisable; then
11438 if test $wxUSE_DATEPICKCTRL = yes; then
11444 result=$wxUSE_DATEPICKCTRL
11447 { echo "$as_me:$LINENO: result: $result" >&5
11448 echo "${ECHO_T}$result" >&6; }
11452 defaultval=$wxUSE_ALL_FEATURES
11453 if test -z "$defaultval"; then
11454 if test x"$enablestring" = xdisable; then
11461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11462 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11464 # Check whether --enable-dirpicker was given.
11465 if test "${enable_dirpicker+set}" = set; then
11466 enableval=$enable_dirpicker;
11467 if test "$enableval" = yes; then
11468 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11470 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11475 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11476 if test "x$LINE" != x ; then
11477 eval "DEFAULT_$LINE"
11482 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11487 eval "$wx_cv_use_dirpicker"
11488 if test "$no_cache" != 1; then
11489 echo $wx_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
11492 if test x"$enablestring" = xdisable; then
11493 if test $wxUSE_DIRPICKERCTRL = yes; then
11499 result=$wxUSE_DIRPICKERCTRL
11502 { echo "$as_me:$LINENO: result: $result" >&5
11503 echo "${ECHO_T}$result" >&6; }
11507 defaultval=$wxUSE_ALL_FEATURES
11508 if test -z "$defaultval"; then
11509 if test x"$enablestring" = xdisable; then
11516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11517 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11519 # Check whether --enable-display was given.
11520 if test "${enable_display+set}" = set; then
11521 enableval=$enable_display;
11522 if test "$enableval" = yes; then
11523 wx_cv_use_display='wxUSE_DISPLAY=yes'
11525 wx_cv_use_display='wxUSE_DISPLAY=no'
11530 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11531 if test "x$LINE" != x ; then
11532 eval "DEFAULT_$LINE"
11537 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11542 eval "$wx_cv_use_display"
11543 if test "$no_cache" != 1; then
11544 echo $wx_cv_use_display >> ${wx_arg_cache_file}.tmp
11547 if test x"$enablestring" = xdisable; then
11548 if test $wxUSE_DISPLAY = yes; then
11554 result=$wxUSE_DISPLAY
11557 { echo "$as_me:$LINENO: result: $result" >&5
11558 echo "${ECHO_T}$result" >&6; }
11562 defaultval=$wxUSE_ALL_FEATURES
11563 if test -z "$defaultval"; then
11564 if test x"$enablestring" = xdisable; then
11571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11572 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11574 # Check whether --enable-detect_sm was given.
11575 if test "${enable_detect_sm+set}" = set; then
11576 enableval=$enable_detect_sm;
11577 if test "$enableval" = yes; then
11578 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11580 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11585 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11586 if test "x$LINE" != x ; then
11587 eval "DEFAULT_$LINE"
11592 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11597 eval "$wx_cv_use_detect_sm"
11598 if test "$no_cache" != 1; then
11599 echo $wx_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
11602 if test x"$enablestring" = xdisable; then
11603 if test $wxUSE_DETECT_SM = yes; then
11609 result=$wxUSE_DETECT_SM
11612 { echo "$as_me:$LINENO: result: $result" >&5
11613 echo "${ECHO_T}$result" >&6; }
11617 defaultval=$wxUSE_ALL_FEATURES
11618 if test -z "$defaultval"; then
11619 if test x"$enablestring" = xdisable; then
11626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11627 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11629 # Check whether --enable-editablebox was given.
11630 if test "${enable_editablebox+set}" = set; then
11631 enableval=$enable_editablebox;
11632 if test "$enableval" = yes; then
11633 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11635 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11640 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11641 if test "x$LINE" != x ; then
11642 eval "DEFAULT_$LINE"
11647 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11652 eval "$wx_cv_use_editablebox"
11653 if test "$no_cache" != 1; then
11654 echo $wx_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
11657 if test x"$enablestring" = xdisable; then
11658 if test $wxUSE_EDITABLELISTBOX = yes; then
11664 result=$wxUSE_EDITABLELISTBOX
11667 { echo "$as_me:$LINENO: result: $result" >&5
11668 echo "${ECHO_T}$result" >&6; }
11672 defaultval=$wxUSE_ALL_FEATURES
11673 if test -z "$defaultval"; then
11674 if test x"$enablestring" = xdisable; then
11681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11682 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11684 # Check whether --enable-filepicker was given.
11685 if test "${enable_filepicker+set}" = set; then
11686 enableval=$enable_filepicker;
11687 if test "$enableval" = yes; then
11688 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11690 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11695 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11696 if test "x$LINE" != x ; then
11697 eval "DEFAULT_$LINE"
11702 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11707 eval "$wx_cv_use_filepicker"
11708 if test "$no_cache" != 1; then
11709 echo $wx_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
11712 if test x"$enablestring" = xdisable; then
11713 if test $wxUSE_FILEPICKERCTRL = yes; then
11719 result=$wxUSE_FILEPICKERCTRL
11722 { echo "$as_me:$LINENO: result: $result" >&5
11723 echo "${ECHO_T}$result" >&6; }
11727 defaultval=$wxUSE_ALL_FEATURES
11728 if test -z "$defaultval"; then
11729 if test x"$enablestring" = xdisable; then
11736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11737 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11739 # Check whether --enable-fontpicker was given.
11740 if test "${enable_fontpicker+set}" = set; then
11741 enableval=$enable_fontpicker;
11742 if test "$enableval" = yes; then
11743 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11745 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11750 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11751 if test "x$LINE" != x ; then
11752 eval "DEFAULT_$LINE"
11757 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11762 eval "$wx_cv_use_fontpicker"
11763 if test "$no_cache" != 1; then
11764 echo $wx_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
11767 if test x"$enablestring" = xdisable; then
11768 if test $wxUSE_FONTPICKERCTRL = yes; then
11774 result=$wxUSE_FONTPICKERCTRL
11777 { echo "$as_me:$LINENO: result: $result" >&5
11778 echo "${ECHO_T}$result" >&6; }
11782 defaultval=$wxUSE_ALL_FEATURES
11783 if test -z "$defaultval"; then
11784 if test x"$enablestring" = xdisable; then
11791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11792 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11794 # Check whether --enable-gauge was given.
11795 if test "${enable_gauge+set}" = set; then
11796 enableval=$enable_gauge;
11797 if test "$enableval" = yes; then
11798 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11800 wx_cv_use_gauge='wxUSE_GAUGE=no'
11805 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11806 if test "x$LINE" != x ; then
11807 eval "DEFAULT_$LINE"
11812 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11817 eval "$wx_cv_use_gauge"
11818 if test "$no_cache" != 1; then
11819 echo $wx_cv_use_gauge >> ${wx_arg_cache_file}.tmp
11822 if test x"$enablestring" = xdisable; then
11823 if test $wxUSE_GAUGE = yes; then
11829 result=$wxUSE_GAUGE
11832 { echo "$as_me:$LINENO: result: $result" >&5
11833 echo "${ECHO_T}$result" >&6; }
11837 defaultval=$wxUSE_ALL_FEATURES
11838 if test -z "$defaultval"; then
11839 if test x"$enablestring" = xdisable; then
11846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11847 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11849 # Check whether --enable-grid was given.
11850 if test "${enable_grid+set}" = set; then
11851 enableval=$enable_grid;
11852 if test "$enableval" = yes; then
11853 wx_cv_use_grid='wxUSE_GRID=yes'
11855 wx_cv_use_grid='wxUSE_GRID=no'
11860 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11861 if test "x$LINE" != x ; then
11862 eval "DEFAULT_$LINE"
11867 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11872 eval "$wx_cv_use_grid"
11873 if test "$no_cache" != 1; then
11874 echo $wx_cv_use_grid >> ${wx_arg_cache_file}.tmp
11877 if test x"$enablestring" = xdisable; then
11878 if test $wxUSE_GRID = yes; then
11887 { echo "$as_me:$LINENO: result: $result" >&5
11888 echo "${ECHO_T}$result" >&6; }
11892 defaultval=$wxUSE_ALL_FEATURES
11893 if test -z "$defaultval"; then
11894 if test x"$enablestring" = xdisable; then
11901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11902 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11904 # Check whether --enable-dataviewctrl was given.
11905 if test "${enable_dataviewctrl+set}" = set; then
11906 enableval=$enable_dataviewctrl;
11907 if test "$enableval" = yes; then
11908 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11910 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11915 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11916 if test "x$LINE" != x ; then
11917 eval "DEFAULT_$LINE"
11922 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11927 eval "$wx_cv_use_dataviewctrl"
11928 if test "$no_cache" != 1; then
11929 echo $wx_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
11932 if test x"$enablestring" = xdisable; then
11933 if test $wxUSE_DATAVIEWCTRL = yes; then
11939 result=$wxUSE_DATAVIEWCTRL
11942 { echo "$as_me:$LINENO: result: $result" >&5
11943 echo "${ECHO_T}$result" >&6; }
11947 defaultval=$wxUSE_ALL_FEATURES
11948 if test -z "$defaultval"; then
11949 if test x"$enablestring" = xdisable; then
11956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11957 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11959 # Check whether --enable-hyperlink was given.
11960 if test "${enable_hyperlink+set}" = set; then
11961 enableval=$enable_hyperlink;
11962 if test "$enableval" = yes; then
11963 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11965 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11970 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11971 if test "x$LINE" != x ; then
11972 eval "DEFAULT_$LINE"
11977 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11982 eval "$wx_cv_use_hyperlink"
11983 if test "$no_cache" != 1; then
11984 echo $wx_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
11987 if test x"$enablestring" = xdisable; then
11988 if test $wxUSE_HYPERLINKCTRL = yes; then
11994 result=$wxUSE_HYPERLINKCTRL
11997 { echo "$as_me:$LINENO: result: $result" >&5
11998 echo "${ECHO_T}$result" >&6; }
12002 defaultval=$wxUSE_ALL_FEATURES
12003 if test -z "$defaultval"; then
12004 if test x"$enablestring" = xdisable; then
12011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12012 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12014 # Check whether --enable-imaglist was given.
12015 if test "${enable_imaglist+set}" = set; then
12016 enableval=$enable_imaglist;
12017 if test "$enableval" = yes; then
12018 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12020 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12025 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12026 if test "x$LINE" != x ; then
12027 eval "DEFAULT_$LINE"
12032 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12037 eval "$wx_cv_use_imaglist"
12038 if test "$no_cache" != 1; then
12039 echo $wx_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
12042 if test x"$enablestring" = xdisable; then
12043 if test $wxUSE_IMAGLIST = yes; then
12049 result=$wxUSE_IMAGLIST
12052 { echo "$as_me:$LINENO: result: $result" >&5
12053 echo "${ECHO_T}$result" >&6; }
12057 defaultval=$wxUSE_ALL_FEATURES
12058 if test -z "$defaultval"; then
12059 if test x"$enablestring" = xdisable; then
12066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12067 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12069 # Check whether --enable-listbook was given.
12070 if test "${enable_listbook+set}" = set; then
12071 enableval=$enable_listbook;
12072 if test "$enableval" = yes; then
12073 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12075 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12080 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12081 if test "x$LINE" != x ; then
12082 eval "DEFAULT_$LINE"
12087 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12092 eval "$wx_cv_use_listbook"
12093 if test "$no_cache" != 1; then
12094 echo $wx_cv_use_listbook >> ${wx_arg_cache_file}.tmp
12097 if test x"$enablestring" = xdisable; then
12098 if test $wxUSE_LISTBOOK = yes; then
12104 result=$wxUSE_LISTBOOK
12107 { echo "$as_me:$LINENO: result: $result" >&5
12108 echo "${ECHO_T}$result" >&6; }
12112 defaultval=$wxUSE_ALL_FEATURES
12113 if test -z "$defaultval"; then
12114 if test x"$enablestring" = xdisable; then
12121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12122 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12124 # Check whether --enable-listbox was given.
12125 if test "${enable_listbox+set}" = set; then
12126 enableval=$enable_listbox;
12127 if test "$enableval" = yes; then
12128 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12130 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12135 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12136 if test "x$LINE" != x ; then
12137 eval "DEFAULT_$LINE"
12142 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12147 eval "$wx_cv_use_listbox"
12148 if test "$no_cache" != 1; then
12149 echo $wx_cv_use_listbox >> ${wx_arg_cache_file}.tmp
12152 if test x"$enablestring" = xdisable; then
12153 if test $wxUSE_LISTBOX = yes; then
12159 result=$wxUSE_LISTBOX
12162 { echo "$as_me:$LINENO: result: $result" >&5
12163 echo "${ECHO_T}$result" >&6; }
12167 defaultval=$wxUSE_ALL_FEATURES
12168 if test -z "$defaultval"; then
12169 if test x"$enablestring" = xdisable; then
12176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12177 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12179 # Check whether --enable-listctrl was given.
12180 if test "${enable_listctrl+set}" = set; then
12181 enableval=$enable_listctrl;
12182 if test "$enableval" = yes; then
12183 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12185 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12190 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12191 if test "x$LINE" != x ; then
12192 eval "DEFAULT_$LINE"
12197 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12202 eval "$wx_cv_use_listctrl"
12203 if test "$no_cache" != 1; then
12204 echo $wx_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
12207 if test x"$enablestring" = xdisable; then
12208 if test $wxUSE_LISTCTRL = yes; then
12214 result=$wxUSE_LISTCTRL
12217 { echo "$as_me:$LINENO: result: $result" >&5
12218 echo "${ECHO_T}$result" >&6; }
12222 defaultval=$wxUSE_ALL_FEATURES
12223 if test -z "$defaultval"; then
12224 if test x"$enablestring" = xdisable; then
12231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12232 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12234 # Check whether --enable-notebook was given.
12235 if test "${enable_notebook+set}" = set; then
12236 enableval=$enable_notebook;
12237 if test "$enableval" = yes; then
12238 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12240 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12245 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12246 if test "x$LINE" != x ; then
12247 eval "DEFAULT_$LINE"
12252 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12257 eval "$wx_cv_use_notebook"
12258 if test "$no_cache" != 1; then
12259 echo $wx_cv_use_notebook >> ${wx_arg_cache_file}.tmp
12262 if test x"$enablestring" = xdisable; then
12263 if test $wxUSE_NOTEBOOK = yes; then
12269 result=$wxUSE_NOTEBOOK
12272 { echo "$as_me:$LINENO: result: $result" >&5
12273 echo "${ECHO_T}$result" >&6; }
12277 defaultval=$wxUSE_ALL_FEATURES
12278 if test -z "$defaultval"; then
12279 if test x"$enablestring" = xdisable; then
12286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12287 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12289 # Check whether --enable-odcombobox was given.
12290 if test "${enable_odcombobox+set}" = set; then
12291 enableval=$enable_odcombobox;
12292 if test "$enableval" = yes; then
12293 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12295 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12300 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12301 if test "x$LINE" != x ; then
12302 eval "DEFAULT_$LINE"
12307 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12312 eval "$wx_cv_use_odcombobox"
12313 if test "$no_cache" != 1; then
12314 echo $wx_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
12317 if test x"$enablestring" = xdisable; then
12318 if test $wxUSE_ODCOMBOBOX = yes; then
12324 result=$wxUSE_ODCOMBOBOX
12327 { echo "$as_me:$LINENO: result: $result" >&5
12328 echo "${ECHO_T}$result" >&6; }
12332 defaultval=$wxUSE_ALL_FEATURES
12333 if test -z "$defaultval"; then
12334 if test x"$enablestring" = xdisable; then
12341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12342 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12344 # Check whether --enable-radiobox was given.
12345 if test "${enable_radiobox+set}" = set; then
12346 enableval=$enable_radiobox;
12347 if test "$enableval" = yes; then
12348 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12350 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12355 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12356 if test "x$LINE" != x ; then
12357 eval "DEFAULT_$LINE"
12362 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12367 eval "$wx_cv_use_radiobox"
12368 if test "$no_cache" != 1; then
12369 echo $wx_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
12372 if test x"$enablestring" = xdisable; then
12373 if test $wxUSE_RADIOBOX = yes; then
12379 result=$wxUSE_RADIOBOX
12382 { echo "$as_me:$LINENO: result: $result" >&5
12383 echo "${ECHO_T}$result" >&6; }
12387 defaultval=$wxUSE_ALL_FEATURES
12388 if test -z "$defaultval"; then
12389 if test x"$enablestring" = xdisable; then
12396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12397 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12399 # Check whether --enable-radiobtn was given.
12400 if test "${enable_radiobtn+set}" = set; then
12401 enableval=$enable_radiobtn;
12402 if test "$enableval" = yes; then
12403 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12405 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12410 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12411 if test "x$LINE" != x ; then
12412 eval "DEFAULT_$LINE"
12417 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12422 eval "$wx_cv_use_radiobtn"
12423 if test "$no_cache" != 1; then
12424 echo $wx_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
12427 if test x"$enablestring" = xdisable; then
12428 if test $wxUSE_RADIOBTN = yes; then
12434 result=$wxUSE_RADIOBTN
12437 { echo "$as_me:$LINENO: result: $result" >&5
12438 echo "${ECHO_T}$result" >&6; }
12442 defaultval=$wxUSE_ALL_FEATURES
12443 if test -z "$defaultval"; then
12444 if test x"$enablestring" = xdisable; then
12451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12452 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12454 # Check whether --enable-sash was given.
12455 if test "${enable_sash+set}" = set; then
12456 enableval=$enable_sash;
12457 if test "$enableval" = yes; then
12458 wx_cv_use_sash='wxUSE_SASH=yes'
12460 wx_cv_use_sash='wxUSE_SASH=no'
12465 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12466 if test "x$LINE" != x ; then
12467 eval "DEFAULT_$LINE"
12472 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12477 eval "$wx_cv_use_sash"
12478 if test "$no_cache" != 1; then
12479 echo $wx_cv_use_sash >> ${wx_arg_cache_file}.tmp
12482 if test x"$enablestring" = xdisable; then
12483 if test $wxUSE_SASH = yes; then
12492 { echo "$as_me:$LINENO: result: $result" >&5
12493 echo "${ECHO_T}$result" >&6; }
12497 defaultval=$wxUSE_ALL_FEATURES
12498 if test -z "$defaultval"; then
12499 if test x"$enablestring" = xdisable; then
12506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12507 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12509 # Check whether --enable-scrollbar was given.
12510 if test "${enable_scrollbar+set}" = set; then
12511 enableval=$enable_scrollbar;
12512 if test "$enableval" = yes; then
12513 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12515 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12520 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12521 if test "x$LINE" != x ; then
12522 eval "DEFAULT_$LINE"
12527 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12532 eval "$wx_cv_use_scrollbar"
12533 if test "$no_cache" != 1; then
12534 echo $wx_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
12537 if test x"$enablestring" = xdisable; then
12538 if test $wxUSE_SCROLLBAR = yes; then
12544 result=$wxUSE_SCROLLBAR
12547 { echo "$as_me:$LINENO: result: $result" >&5
12548 echo "${ECHO_T}$result" >&6; }
12552 defaultval=$wxUSE_ALL_FEATURES
12553 if test -z "$defaultval"; then
12554 if test x"$enablestring" = xdisable; then
12561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12562 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12564 # Check whether --enable-searchctrl was given.
12565 if test "${enable_searchctrl+set}" = set; then
12566 enableval=$enable_searchctrl;
12567 if test "$enableval" = yes; then
12568 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12570 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12575 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12576 if test "x$LINE" != x ; then
12577 eval "DEFAULT_$LINE"
12582 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12587 eval "$wx_cv_use_searchctrl"
12588 if test "$no_cache" != 1; then
12589 echo $wx_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
12592 if test x"$enablestring" = xdisable; then
12593 if test $wxUSE_SEARCHCTRL = yes; then
12599 result=$wxUSE_SEARCHCTRL
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}-slider" >&5
12617 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12619 # Check whether --enable-slider was given.
12620 if test "${enable_slider+set}" = set; then
12621 enableval=$enable_slider;
12622 if test "$enableval" = yes; then
12623 wx_cv_use_slider='wxUSE_SLIDER=yes'
12625 wx_cv_use_slider='wxUSE_SLIDER=no'
12630 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12631 if test "x$LINE" != x ; then
12632 eval "DEFAULT_$LINE"
12637 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12642 eval "$wx_cv_use_slider"
12643 if test "$no_cache" != 1; then
12644 echo $wx_cv_use_slider >> ${wx_arg_cache_file}.tmp
12647 if test x"$enablestring" = xdisable; then
12648 if test $wxUSE_SLIDER = yes; then
12654 result=$wxUSE_SLIDER
12657 { echo "$as_me:$LINENO: result: $result" >&5
12658 echo "${ECHO_T}$result" >&6; }
12662 defaultval=$wxUSE_ALL_FEATURES
12663 if test -z "$defaultval"; then
12664 if test x"$enablestring" = xdisable; then
12671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12672 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12674 # Check whether --enable-spinbtn was given.
12675 if test "${enable_spinbtn+set}" = set; then
12676 enableval=$enable_spinbtn;
12677 if test "$enableval" = yes; then
12678 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12680 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12685 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12686 if test "x$LINE" != x ; then
12687 eval "DEFAULT_$LINE"
12692 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12697 eval "$wx_cv_use_spinbtn"
12698 if test "$no_cache" != 1; then
12699 echo $wx_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
12702 if test x"$enablestring" = xdisable; then
12703 if test $wxUSE_SPINBTN = yes; then
12709 result=$wxUSE_SPINBTN
12712 { echo "$as_me:$LINENO: result: $result" >&5
12713 echo "${ECHO_T}$result" >&6; }
12717 defaultval=$wxUSE_ALL_FEATURES
12718 if test -z "$defaultval"; then
12719 if test x"$enablestring" = xdisable; then
12726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12727 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12729 # Check whether --enable-spinctrl was given.
12730 if test "${enable_spinctrl+set}" = set; then
12731 enableval=$enable_spinctrl;
12732 if test "$enableval" = yes; then
12733 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12735 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12740 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12741 if test "x$LINE" != x ; then
12742 eval "DEFAULT_$LINE"
12747 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12752 eval "$wx_cv_use_spinctrl"
12753 if test "$no_cache" != 1; then
12754 echo $wx_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
12757 if test x"$enablestring" = xdisable; then
12758 if test $wxUSE_SPINCTRL = yes; then
12764 result=$wxUSE_SPINCTRL
12767 { echo "$as_me:$LINENO: result: $result" >&5
12768 echo "${ECHO_T}$result" >&6; }
12772 defaultval=$wxUSE_ALL_FEATURES
12773 if test -z "$defaultval"; then
12774 if test x"$enablestring" = xdisable; then
12781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12782 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12784 # Check whether --enable-splitter was given.
12785 if test "${enable_splitter+set}" = set; then
12786 enableval=$enable_splitter;
12787 if test "$enableval" = yes; then
12788 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12790 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12795 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12796 if test "x$LINE" != x ; then
12797 eval "DEFAULT_$LINE"
12802 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12807 eval "$wx_cv_use_splitter"
12808 if test "$no_cache" != 1; then
12809 echo $wx_cv_use_splitter >> ${wx_arg_cache_file}.tmp
12812 if test x"$enablestring" = xdisable; then
12813 if test $wxUSE_SPLITTER = yes; then
12819 result=$wxUSE_SPLITTER
12822 { echo "$as_me:$LINENO: result: $result" >&5
12823 echo "${ECHO_T}$result" >&6; }
12827 defaultval=$wxUSE_ALL_FEATURES
12828 if test -z "$defaultval"; then
12829 if test x"$enablestring" = xdisable; then
12836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12837 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12839 # Check whether --enable-statbmp was given.
12840 if test "${enable_statbmp+set}" = set; then
12841 enableval=$enable_statbmp;
12842 if test "$enableval" = yes; then
12843 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12845 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12850 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12851 if test "x$LINE" != x ; then
12852 eval "DEFAULT_$LINE"
12857 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12862 eval "$wx_cv_use_statbmp"
12863 if test "$no_cache" != 1; then
12864 echo $wx_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
12867 if test x"$enablestring" = xdisable; then
12868 if test $wxUSE_STATBMP = yes; then
12874 result=$wxUSE_STATBMP
12877 { echo "$as_me:$LINENO: result: $result" >&5
12878 echo "${ECHO_T}$result" >&6; }
12882 defaultval=$wxUSE_ALL_FEATURES
12883 if test -z "$defaultval"; then
12884 if test x"$enablestring" = xdisable; then
12891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12892 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12894 # Check whether --enable-statbox was given.
12895 if test "${enable_statbox+set}" = set; then
12896 enableval=$enable_statbox;
12897 if test "$enableval" = yes; then
12898 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12900 wx_cv_use_statbox='wxUSE_STATBOX=no'
12905 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12906 if test "x$LINE" != x ; then
12907 eval "DEFAULT_$LINE"
12912 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12917 eval "$wx_cv_use_statbox"
12918 if test "$no_cache" != 1; then
12919 echo $wx_cv_use_statbox >> ${wx_arg_cache_file}.tmp
12922 if test x"$enablestring" = xdisable; then
12923 if test $wxUSE_STATBOX = yes; then
12929 result=$wxUSE_STATBOX
12932 { echo "$as_me:$LINENO: result: $result" >&5
12933 echo "${ECHO_T}$result" >&6; }
12937 defaultval=$wxUSE_ALL_FEATURES
12938 if test -z "$defaultval"; then
12939 if test x"$enablestring" = xdisable; then
12946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12947 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12949 # Check whether --enable-statline was given.
12950 if test "${enable_statline+set}" = set; then
12951 enableval=$enable_statline;
12952 if test "$enableval" = yes; then
12953 wx_cv_use_statline='wxUSE_STATLINE=yes'
12955 wx_cv_use_statline='wxUSE_STATLINE=no'
12960 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12961 if test "x$LINE" != x ; then
12962 eval "DEFAULT_$LINE"
12967 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12972 eval "$wx_cv_use_statline"
12973 if test "$no_cache" != 1; then
12974 echo $wx_cv_use_statline >> ${wx_arg_cache_file}.tmp
12977 if test x"$enablestring" = xdisable; then
12978 if test $wxUSE_STATLINE = yes; then
12984 result=$wxUSE_STATLINE
12987 { echo "$as_me:$LINENO: result: $result" >&5
12988 echo "${ECHO_T}$result" >&6; }
12992 defaultval=$wxUSE_ALL_FEATURES
12993 if test -z "$defaultval"; then
12994 if test x"$enablestring" = xdisable; then
13001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13002 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13004 # Check whether --enable-stattext was given.
13005 if test "${enable_stattext+set}" = set; then
13006 enableval=$enable_stattext;
13007 if test "$enableval" = yes; then
13008 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13010 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13015 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13016 if test "x$LINE" != x ; then
13017 eval "DEFAULT_$LINE"
13022 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13027 eval "$wx_cv_use_stattext"
13028 if test "$no_cache" != 1; then
13029 echo $wx_cv_use_stattext >> ${wx_arg_cache_file}.tmp
13032 if test x"$enablestring" = xdisable; then
13033 if test $wxUSE_STATTEXT = yes; then
13039 result=$wxUSE_STATTEXT
13042 { echo "$as_me:$LINENO: result: $result" >&5
13043 echo "${ECHO_T}$result" >&6; }
13047 defaultval=$wxUSE_ALL_FEATURES
13048 if test -z "$defaultval"; then
13049 if test x"$enablestring" = xdisable; then
13056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13057 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13059 # Check whether --enable-statusbar was given.
13060 if test "${enable_statusbar+set}" = set; then
13061 enableval=$enable_statusbar;
13062 if test "$enableval" = yes; then
13063 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13065 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13070 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13071 if test "x$LINE" != x ; then
13072 eval "DEFAULT_$LINE"
13077 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13082 eval "$wx_cv_use_statusbar"
13083 if test "$no_cache" != 1; then
13084 echo $wx_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
13087 if test x"$enablestring" = xdisable; then
13088 if test $wxUSE_STATUSBAR = yes; then
13094 result=$wxUSE_STATUSBAR
13097 { echo "$as_me:$LINENO: result: $result" >&5
13098 echo "${ECHO_T}$result" >&6; }
13102 defaultval=$wxUSE_ALL_FEATURES
13103 if test -z "$defaultval"; then
13104 if test x"$enablestring" = xdisable; then
13111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13112 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13114 # Check whether --enable-tabdialog was given.
13115 if test "${enable_tabdialog+set}" = set; then
13116 enableval=$enable_tabdialog;
13117 if test "$enableval" = yes; then
13118 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13120 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13125 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13126 if test "x$LINE" != x ; then
13127 eval "DEFAULT_$LINE"
13132 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13137 eval "$wx_cv_use_tabdialog"
13138 if test "$no_cache" != 1; then
13139 echo $wx_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
13142 if test x"$enablestring" = xdisable; then
13143 if test $wxUSE_TAB_DIALOG = yes; then
13149 result=$wxUSE_TAB_DIALOG
13152 { echo "$as_me:$LINENO: result: $result" >&5
13153 echo "${ECHO_T}$result" >&6; }
13157 defaultval=$wxUSE_ALL_FEATURES
13158 if test -z "$defaultval"; then
13159 if test x"$enablestring" = xdisable; then
13166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13167 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13169 # Check whether --enable-taskbaricon was given.
13170 if test "${enable_taskbaricon+set}" = set; then
13171 enableval=$enable_taskbaricon;
13172 if test "$enableval" = yes; then
13173 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13175 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13180 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13181 if test "x$LINE" != x ; then
13182 eval "DEFAULT_$LINE"
13187 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13192 eval "$wx_cv_use_taskbaricon"
13193 if test "$no_cache" != 1; then
13194 echo $wx_cv_use_taskbaricon >> ${wx_arg_cache_file}.tmp
13197 if test x"$enablestring" = xdisable; then
13198 if test $wxUSE_TASKBARICON = yes; then
13204 result=$wxUSE_TASKBARICON
13207 { echo "$as_me:$LINENO: result: $result" >&5
13208 echo "${ECHO_T}$result" >&6; }
13212 defaultval=$wxUSE_ALL_FEATURES
13213 if test -z "$defaultval"; then
13214 if test x"$enablestring" = xdisable; then
13221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13222 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13224 # Check whether --enable-textctrl was given.
13225 if test "${enable_textctrl+set}" = set; then
13226 enableval=$enable_textctrl;
13227 if test "$enableval" = yes; then
13228 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13230 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13235 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13236 if test "x$LINE" != x ; then
13237 eval "DEFAULT_$LINE"
13242 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13247 eval "$wx_cv_use_textctrl"
13248 if test "$no_cache" != 1; then
13249 echo $wx_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
13252 if test x"$enablestring" = xdisable; then
13253 if test $wxUSE_TEXTCTRL = yes; then
13259 result=$wxUSE_TEXTCTRL
13262 { echo "$as_me:$LINENO: result: $result" >&5
13263 echo "${ECHO_T}$result" >&6; }
13267 defaultval=$wxUSE_ALL_FEATURES
13268 if test -z "$defaultval"; then
13269 if test x"$enablestring" = xdisable; then
13276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13277 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13279 # Check whether --enable-togglebtn was given.
13280 if test "${enable_togglebtn+set}" = set; then
13281 enableval=$enable_togglebtn;
13282 if test "$enableval" = yes; then
13283 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13285 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13290 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13291 if test "x$LINE" != x ; then
13292 eval "DEFAULT_$LINE"
13297 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13302 eval "$wx_cv_use_togglebtn"
13303 if test "$no_cache" != 1; then
13304 echo $wx_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
13307 if test x"$enablestring" = xdisable; then
13308 if test $wxUSE_TOGGLEBTN = yes; then
13314 result=$wxUSE_TOGGLEBTN
13317 { echo "$as_me:$LINENO: result: $result" >&5
13318 echo "${ECHO_T}$result" >&6; }
13322 defaultval=$wxUSE_ALL_FEATURES
13323 if test -z "$defaultval"; then
13324 if test x"$enablestring" = xdisable; then
13331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13332 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13334 # Check whether --enable-toolbar was given.
13335 if test "${enable_toolbar+set}" = set; then
13336 enableval=$enable_toolbar;
13337 if test "$enableval" = yes; then
13338 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13340 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13345 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13346 if test "x$LINE" != x ; then
13347 eval "DEFAULT_$LINE"
13352 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13357 eval "$wx_cv_use_toolbar"
13358 if test "$no_cache" != 1; then
13359 echo $wx_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
13362 if test x"$enablestring" = xdisable; then
13363 if test $wxUSE_TOOLBAR = yes; then
13369 result=$wxUSE_TOOLBAR
13372 { echo "$as_me:$LINENO: result: $result" >&5
13373 echo "${ECHO_T}$result" >&6; }
13377 defaultval=$wxUSE_ALL_FEATURES
13378 if test -z "$defaultval"; then
13379 if test x"$enablestring" = xdisable; then
13386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13387 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13389 # Check whether --enable-tbarnative was given.
13390 if test "${enable_tbarnative+set}" = set; then
13391 enableval=$enable_tbarnative;
13392 if test "$enableval" = yes; then
13393 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13395 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13400 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13401 if test "x$LINE" != x ; then
13402 eval "DEFAULT_$LINE"
13407 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13412 eval "$wx_cv_use_tbarnative"
13413 if test "$no_cache" != 1; then
13414 echo $wx_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
13417 if test x"$enablestring" = xdisable; then
13418 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13424 result=$wxUSE_TOOLBAR_NATIVE
13427 { echo "$as_me:$LINENO: result: $result" >&5
13428 echo "${ECHO_T}$result" >&6; }
13432 defaultval=$wxUSE_ALL_FEATURES
13433 if test -z "$defaultval"; then
13434 if test x"$enablestring" = xdisable; then
13441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13442 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13444 # Check whether --enable-treebook was given.
13445 if test "${enable_treebook+set}" = set; then
13446 enableval=$enable_treebook;
13447 if test "$enableval" = yes; then
13448 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13450 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13455 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13456 if test "x$LINE" != x ; then
13457 eval "DEFAULT_$LINE"
13462 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13467 eval "$wx_cv_use_treebook"
13468 if test "$no_cache" != 1; then
13469 echo $wx_cv_use_treebook >> ${wx_arg_cache_file}.tmp
13472 if test x"$enablestring" = xdisable; then
13473 if test $wxUSE_TREEBOOK = yes; then
13479 result=$wxUSE_TREEBOOK
13482 { echo "$as_me:$LINENO: result: $result" >&5
13483 echo "${ECHO_T}$result" >&6; }
13487 defaultval=$wxUSE_ALL_FEATURES
13488 if test -z "$defaultval"; then
13489 if test x"$enablestring" = xdisable; then
13496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13497 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13499 # Check whether --enable-toolbook was given.
13500 if test "${enable_toolbook+set}" = set; then
13501 enableval=$enable_toolbook;
13502 if test "$enableval" = yes; then
13503 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13505 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13510 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13511 if test "x$LINE" != x ; then
13512 eval "DEFAULT_$LINE"
13517 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13522 eval "$wx_cv_use_toolbook"
13523 if test "$no_cache" != 1; then
13524 echo $wx_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
13527 if test x"$enablestring" = xdisable; then
13528 if test $wxUSE_TOOLBOOK = yes; then
13534 result=$wxUSE_TOOLBOOK
13537 { echo "$as_me:$LINENO: result: $result" >&5
13538 echo "${ECHO_T}$result" >&6; }
13542 defaultval=$wxUSE_ALL_FEATURES
13543 if test -z "$defaultval"; then
13544 if test x"$enablestring" = xdisable; then
13551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13552 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13554 # Check whether --enable-treectrl was given.
13555 if test "${enable_treectrl+set}" = set; then
13556 enableval=$enable_treectrl;
13557 if test "$enableval" = yes; then
13558 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13560 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13565 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13566 if test "x$LINE" != x ; then
13567 eval "DEFAULT_$LINE"
13572 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13577 eval "$wx_cv_use_treectrl"
13578 if test "$no_cache" != 1; then
13579 echo $wx_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
13582 if test x"$enablestring" = xdisable; then
13583 if test $wxUSE_TREECTRL = yes; then
13589 result=$wxUSE_TREECTRL
13592 { echo "$as_me:$LINENO: result: $result" >&5
13593 echo "${ECHO_T}$result" >&6; }
13597 defaultval=$wxUSE_ALL_FEATURES
13598 if test -z "$defaultval"; then
13599 if test x"$enablestring" = xdisable; then
13606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13607 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13609 # Check whether --enable-tipwindow was given.
13610 if test "${enable_tipwindow+set}" = set; then
13611 enableval=$enable_tipwindow;
13612 if test "$enableval" = yes; then
13613 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13615 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13620 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13621 if test "x$LINE" != x ; then
13622 eval "DEFAULT_$LINE"
13627 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13632 eval "$wx_cv_use_tipwindow"
13633 if test "$no_cache" != 1; then
13634 echo $wx_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
13637 if test x"$enablestring" = xdisable; then
13638 if test $wxUSE_TIPWINDOW = yes; then
13644 result=$wxUSE_TIPWINDOW
13647 { echo "$as_me:$LINENO: result: $result" >&5
13648 echo "${ECHO_T}$result" >&6; }
13652 defaultval=$wxUSE_ALL_FEATURES
13653 if test -z "$defaultval"; then
13654 if test x"$enablestring" = xdisable; then
13661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13662 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13664 # Check whether --enable-popupwin was given.
13665 if test "${enable_popupwin+set}" = set; then
13666 enableval=$enable_popupwin;
13667 if test "$enableval" = yes; then
13668 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13670 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13675 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13676 if test "x$LINE" != x ; then
13677 eval "DEFAULT_$LINE"
13682 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13687 eval "$wx_cv_use_popupwin"
13688 if test "$no_cache" != 1; then
13689 echo $wx_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
13692 if test x"$enablestring" = xdisable; then
13693 if test $wxUSE_POPUPWIN = yes; then
13699 result=$wxUSE_POPUPWIN
13702 { echo "$as_me:$LINENO: result: $result" >&5
13703 echo "${ECHO_T}$result" >&6; }
13709 defaultval=$wxUSE_ALL_FEATURES
13710 if test -z "$defaultval"; then
13711 if test x"$enablestring" = xdisable; then
13718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13719 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13721 # Check whether --enable-commondlg was given.
13722 if test "${enable_commondlg+set}" = set; then
13723 enableval=$enable_commondlg;
13724 if test "$enableval" = yes; then
13725 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13727 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13732 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13733 if test "x$LINE" != x ; then
13734 eval "DEFAULT_$LINE"
13739 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13744 eval "$wx_cv_use_commondlg"
13745 if test "$no_cache" != 1; then
13746 echo $wx_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
13749 if test x"$enablestring" = xdisable; then
13750 if test $wxUSE_COMMONDLGS = yes; then
13756 result=$wxUSE_COMMONDLGS
13759 { echo "$as_me:$LINENO: result: $result" >&5
13760 echo "${ECHO_T}$result" >&6; }
13764 defaultval=$wxUSE_ALL_FEATURES
13765 if test -z "$defaultval"; then
13766 if test x"$enablestring" = xdisable; then
13773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13774 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13776 # Check whether --enable-aboutdlg was given.
13777 if test "${enable_aboutdlg+set}" = set; then
13778 enableval=$enable_aboutdlg;
13779 if test "$enableval" = yes; then
13780 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13782 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13787 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13788 if test "x$LINE" != x ; then
13789 eval "DEFAULT_$LINE"
13794 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13799 eval "$wx_cv_use_aboutdlg"
13800 if test "$no_cache" != 1; then
13801 echo $wx_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
13804 if test x"$enablestring" = xdisable; then
13805 if test $wxUSE_ABOUTDLG = yes; then
13811 result=$wxUSE_ABOUTDLG
13814 { echo "$as_me:$LINENO: result: $result" >&5
13815 echo "${ECHO_T}$result" >&6; }
13819 defaultval=$wxUSE_ALL_FEATURES
13820 if test -z "$defaultval"; then
13821 if test x"$enablestring" = xdisable; then
13828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13829 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13831 # Check whether --enable-choicedlg was given.
13832 if test "${enable_choicedlg+set}" = set; then
13833 enableval=$enable_choicedlg;
13834 if test "$enableval" = yes; then
13835 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13837 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13842 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13843 if test "x$LINE" != x ; then
13844 eval "DEFAULT_$LINE"
13849 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13854 eval "$wx_cv_use_choicedlg"
13855 if test "$no_cache" != 1; then
13856 echo $wx_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
13859 if test x"$enablestring" = xdisable; then
13860 if test $wxUSE_CHOICEDLG = yes; then
13866 result=$wxUSE_CHOICEDLG
13869 { echo "$as_me:$LINENO: result: $result" >&5
13870 echo "${ECHO_T}$result" >&6; }
13874 defaultval=$wxUSE_ALL_FEATURES
13875 if test -z "$defaultval"; then
13876 if test x"$enablestring" = xdisable; then
13883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13884 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13886 # Check whether --enable-coldlg was given.
13887 if test "${enable_coldlg+set}" = set; then
13888 enableval=$enable_coldlg;
13889 if test "$enableval" = yes; then
13890 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13892 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13897 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13898 if test "x$LINE" != x ; then
13899 eval "DEFAULT_$LINE"
13904 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13909 eval "$wx_cv_use_coldlg"
13910 if test "$no_cache" != 1; then
13911 echo $wx_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
13914 if test x"$enablestring" = xdisable; then
13915 if test $wxUSE_COLOURDLG = yes; then
13921 result=$wxUSE_COLOURDLG
13924 { echo "$as_me:$LINENO: result: $result" >&5
13925 echo "${ECHO_T}$result" >&6; }
13929 defaultval=$wxUSE_ALL_FEATURES
13930 if test -z "$defaultval"; then
13931 if test x"$enablestring" = xdisable; then
13938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13939 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13941 # Check whether --enable-filedlg was given.
13942 if test "${enable_filedlg+set}" = set; then
13943 enableval=$enable_filedlg;
13944 if test "$enableval" = yes; then
13945 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13947 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13952 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13953 if test "x$LINE" != x ; then
13954 eval "DEFAULT_$LINE"
13959 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13964 eval "$wx_cv_use_filedlg"
13965 if test "$no_cache" != 1; then
13966 echo $wx_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
13969 if test x"$enablestring" = xdisable; then
13970 if test $wxUSE_FILEDLG = yes; then
13976 result=$wxUSE_FILEDLG
13979 { echo "$as_me:$LINENO: result: $result" >&5
13980 echo "${ECHO_T}$result" >&6; }
13984 defaultval=$wxUSE_ALL_FEATURES
13985 if test -z "$defaultval"; then
13986 if test x"$enablestring" = xdisable; then
13993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13994 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13996 # Check whether --enable-finddlg was given.
13997 if test "${enable_finddlg+set}" = set; then
13998 enableval=$enable_finddlg;
13999 if test "$enableval" = yes; then
14000 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14002 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14007 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14008 if test "x$LINE" != x ; then
14009 eval "DEFAULT_$LINE"
14014 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14019 eval "$wx_cv_use_finddlg"
14020 if test "$no_cache" != 1; then
14021 echo $wx_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
14024 if test x"$enablestring" = xdisable; then
14025 if test $wxUSE_FINDREPLDLG = yes; then
14031 result=$wxUSE_FINDREPLDLG
14034 { echo "$as_me:$LINENO: result: $result" >&5
14035 echo "${ECHO_T}$result" >&6; }
14039 defaultval=$wxUSE_ALL_FEATURES
14040 if test -z "$defaultval"; then
14041 if test x"$enablestring" = xdisable; then
14048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14049 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14051 # Check whether --enable-fontdlg was given.
14052 if test "${enable_fontdlg+set}" = set; then
14053 enableval=$enable_fontdlg;
14054 if test "$enableval" = yes; then
14055 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14057 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14062 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14063 if test "x$LINE" != x ; then
14064 eval "DEFAULT_$LINE"
14069 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14074 eval "$wx_cv_use_fontdlg"
14075 if test "$no_cache" != 1; then
14076 echo $wx_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
14079 if test x"$enablestring" = xdisable; then
14080 if test $wxUSE_FONTDLG = yes; then
14086 result=$wxUSE_FONTDLG
14089 { echo "$as_me:$LINENO: result: $result" >&5
14090 echo "${ECHO_T}$result" >&6; }
14094 defaultval=$wxUSE_ALL_FEATURES
14095 if test -z "$defaultval"; then
14096 if test x"$enablestring" = xdisable; then
14103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14104 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14106 # Check whether --enable-dirdlg was given.
14107 if test "${enable_dirdlg+set}" = set; then
14108 enableval=$enable_dirdlg;
14109 if test "$enableval" = yes; then
14110 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14112 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14117 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14118 if test "x$LINE" != x ; then
14119 eval "DEFAULT_$LINE"
14124 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14129 eval "$wx_cv_use_dirdlg"
14130 if test "$no_cache" != 1; then
14131 echo $wx_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
14134 if test x"$enablestring" = xdisable; then
14135 if test $wxUSE_DIRDLG = yes; then
14141 result=$wxUSE_DIRDLG
14144 { echo "$as_me:$LINENO: result: $result" >&5
14145 echo "${ECHO_T}$result" >&6; }
14149 defaultval=$wxUSE_ALL_FEATURES
14150 if test -z "$defaultval"; then
14151 if test x"$enablestring" = xdisable; then
14158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14159 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14161 # Check whether --enable-msgdlg was given.
14162 if test "${enable_msgdlg+set}" = set; then
14163 enableval=$enable_msgdlg;
14164 if test "$enableval" = yes; then
14165 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14167 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14172 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14173 if test "x$LINE" != x ; then
14174 eval "DEFAULT_$LINE"
14179 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14184 eval "$wx_cv_use_msgdlg"
14185 if test "$no_cache" != 1; then
14186 echo $wx_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
14189 if test x"$enablestring" = xdisable; then
14190 if test $wxUSE_MSGDLG = yes; then
14196 result=$wxUSE_MSGDLG
14199 { echo "$as_me:$LINENO: result: $result" >&5
14200 echo "${ECHO_T}$result" >&6; }
14204 defaultval=$wxUSE_ALL_FEATURES
14205 if test -z "$defaultval"; then
14206 if test x"$enablestring" = xdisable; then
14213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14214 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14216 # Check whether --enable-numberdlg was given.
14217 if test "${enable_numberdlg+set}" = set; then
14218 enableval=$enable_numberdlg;
14219 if test "$enableval" = yes; then
14220 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14222 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14227 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14228 if test "x$LINE" != x ; then
14229 eval "DEFAULT_$LINE"
14234 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14239 eval "$wx_cv_use_numberdlg"
14240 if test "$no_cache" != 1; then
14241 echo $wx_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
14244 if test x"$enablestring" = xdisable; then
14245 if test $wxUSE_NUMBERDLG = yes; then
14251 result=$wxUSE_NUMBERDLG
14254 { echo "$as_me:$LINENO: result: $result" >&5
14255 echo "${ECHO_T}$result" >&6; }
14259 defaultval=$wxUSE_ALL_FEATURES
14260 if test -z "$defaultval"; then
14261 if test x"$enablestring" = xdisable; then
14268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14269 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14271 # Check whether --enable-splash was given.
14272 if test "${enable_splash+set}" = set; then
14273 enableval=$enable_splash;
14274 if test "$enableval" = yes; then
14275 wx_cv_use_splash='wxUSE_SPLASH=yes'
14277 wx_cv_use_splash='wxUSE_SPLASH=no'
14282 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14283 if test "x$LINE" != x ; then
14284 eval "DEFAULT_$LINE"
14289 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14294 eval "$wx_cv_use_splash"
14295 if test "$no_cache" != 1; then
14296 echo $wx_cv_use_splash >> ${wx_arg_cache_file}.tmp
14299 if test x"$enablestring" = xdisable; then
14300 if test $wxUSE_SPLASH = yes; then
14306 result=$wxUSE_SPLASH
14309 { echo "$as_me:$LINENO: result: $result" >&5
14310 echo "${ECHO_T}$result" >&6; }
14314 defaultval=$wxUSE_ALL_FEATURES
14315 if test -z "$defaultval"; then
14316 if test x"$enablestring" = xdisable; then
14323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14324 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14326 # Check whether --enable-textdlg was given.
14327 if test "${enable_textdlg+set}" = set; then
14328 enableval=$enable_textdlg;
14329 if test "$enableval" = yes; then
14330 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14332 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14337 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14338 if test "x$LINE" != x ; then
14339 eval "DEFAULT_$LINE"
14344 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14349 eval "$wx_cv_use_textdlg"
14350 if test "$no_cache" != 1; then
14351 echo $wx_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
14354 if test x"$enablestring" = xdisable; then
14355 if test $wxUSE_TEXTDLG = yes; then
14361 result=$wxUSE_TEXTDLG
14364 { echo "$as_me:$LINENO: result: $result" >&5
14365 echo "${ECHO_T}$result" >&6; }
14369 defaultval=$wxUSE_ALL_FEATURES
14370 if test -z "$defaultval"; then
14371 if test x"$enablestring" = xdisable; then
14378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14379 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14381 # Check whether --enable-tipdlg was given.
14382 if test "${enable_tipdlg+set}" = set; then
14383 enableval=$enable_tipdlg;
14384 if test "$enableval" = yes; then
14385 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14387 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14392 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14393 if test "x$LINE" != x ; then
14394 eval "DEFAULT_$LINE"
14399 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14404 eval "$wx_cv_use_tipdlg"
14405 if test "$no_cache" != 1; then
14406 echo $wx_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
14409 if test x"$enablestring" = xdisable; then
14410 if test $wxUSE_STARTUP_TIPS = yes; then
14416 result=$wxUSE_STARTUP_TIPS
14419 { echo "$as_me:$LINENO: result: $result" >&5
14420 echo "${ECHO_T}$result" >&6; }
14424 defaultval=$wxUSE_ALL_FEATURES
14425 if test -z "$defaultval"; then
14426 if test x"$enablestring" = xdisable; then
14433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14434 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14436 # Check whether --enable-progressdlg was given.
14437 if test "${enable_progressdlg+set}" = set; then
14438 enableval=$enable_progressdlg;
14439 if test "$enableval" = yes; then
14440 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14442 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14447 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14448 if test "x$LINE" != x ; then
14449 eval "DEFAULT_$LINE"
14454 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14459 eval "$wx_cv_use_progressdlg"
14460 if test "$no_cache" != 1; then
14461 echo $wx_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
14464 if test x"$enablestring" = xdisable; then
14465 if test $wxUSE_PROGRESSDLG = yes; then
14471 result=$wxUSE_PROGRESSDLG
14474 { echo "$as_me:$LINENO: result: $result" >&5
14475 echo "${ECHO_T}$result" >&6; }
14479 defaultval=$wxUSE_ALL_FEATURES
14480 if test -z "$defaultval"; then
14481 if test x"$enablestring" = xdisable; then
14488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14489 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14491 # Check whether --enable-wizarddlg was given.
14492 if test "${enable_wizarddlg+set}" = set; then
14493 enableval=$enable_wizarddlg;
14494 if test "$enableval" = yes; then
14495 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14497 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14502 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14503 if test "x$LINE" != x ; then
14504 eval "DEFAULT_$LINE"
14509 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14514 eval "$wx_cv_use_wizarddlg"
14515 if test "$no_cache" != 1; then
14516 echo $wx_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
14519 if test x"$enablestring" = xdisable; then
14520 if test $wxUSE_WIZARDDLG = yes; then
14526 result=$wxUSE_WIZARDDLG
14529 { echo "$as_me:$LINENO: result: $result" >&5
14530 echo "${ECHO_T}$result" >&6; }
14536 defaultval=$wxUSE_ALL_FEATURES
14537 if test -z "$defaultval"; then
14538 if test x"$enablestring" = xdisable; then
14545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14546 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14548 # Check whether --enable-menus was given.
14549 if test "${enable_menus+set}" = set; then
14550 enableval=$enable_menus;
14551 if test "$enableval" = yes; then
14552 wx_cv_use_menus='wxUSE_MENUS=yes'
14554 wx_cv_use_menus='wxUSE_MENUS=no'
14559 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14560 if test "x$LINE" != x ; then
14561 eval "DEFAULT_$LINE"
14566 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14571 eval "$wx_cv_use_menus"
14572 if test "$no_cache" != 1; then
14573 echo $wx_cv_use_menus >> ${wx_arg_cache_file}.tmp
14576 if test x"$enablestring" = xdisable; then
14577 if test $wxUSE_MENUS = yes; then
14583 result=$wxUSE_MENUS
14586 { echo "$as_me:$LINENO: result: $result" >&5
14587 echo "${ECHO_T}$result" >&6; }
14591 defaultval=$wxUSE_ALL_FEATURES
14592 if test -z "$defaultval"; then
14593 if test x"$enablestring" = xdisable; then
14600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14601 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14603 # Check whether --enable-miniframe was given.
14604 if test "${enable_miniframe+set}" = set; then
14605 enableval=$enable_miniframe;
14606 if test "$enableval" = yes; then
14607 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14609 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14614 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14615 if test "x$LINE" != x ; then
14616 eval "DEFAULT_$LINE"
14621 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14626 eval "$wx_cv_use_miniframe"
14627 if test "$no_cache" != 1; then
14628 echo $wx_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
14631 if test x"$enablestring" = xdisable; then
14632 if test $wxUSE_MINIFRAME = yes; then
14638 result=$wxUSE_MINIFRAME
14641 { echo "$as_me:$LINENO: result: $result" >&5
14642 echo "${ECHO_T}$result" >&6; }
14646 defaultval=$wxUSE_ALL_FEATURES
14647 if test -z "$defaultval"; then
14648 if test x"$enablestring" = xdisable; then
14655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14656 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14658 # Check whether --enable-tooltips was given.
14659 if test "${enable_tooltips+set}" = set; then
14660 enableval=$enable_tooltips;
14661 if test "$enableval" = yes; then
14662 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14664 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14669 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14670 if test "x$LINE" != x ; then
14671 eval "DEFAULT_$LINE"
14676 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14681 eval "$wx_cv_use_tooltips"
14682 if test "$no_cache" != 1; then
14683 echo $wx_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
14686 if test x"$enablestring" = xdisable; then
14687 if test $wxUSE_TOOLTIPS = yes; then
14693 result=$wxUSE_TOOLTIPS
14696 { echo "$as_me:$LINENO: result: $result" >&5
14697 echo "${ECHO_T}$result" >&6; }
14701 defaultval=$wxUSE_ALL_FEATURES
14702 if test -z "$defaultval"; then
14703 if test x"$enablestring" = xdisable; then
14710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14711 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14713 # Check whether --enable-splines was given.
14714 if test "${enable_splines+set}" = set; then
14715 enableval=$enable_splines;
14716 if test "$enableval" = yes; then
14717 wx_cv_use_splines='wxUSE_SPLINES=yes'
14719 wx_cv_use_splines='wxUSE_SPLINES=no'
14724 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14725 if test "x$LINE" != x ; then
14726 eval "DEFAULT_$LINE"
14731 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14736 eval "$wx_cv_use_splines"
14737 if test "$no_cache" != 1; then
14738 echo $wx_cv_use_splines >> ${wx_arg_cache_file}.tmp
14741 if test x"$enablestring" = xdisable; then
14742 if test $wxUSE_SPLINES = yes; then
14748 result=$wxUSE_SPLINES
14751 { echo "$as_me:$LINENO: result: $result" >&5
14752 echo "${ECHO_T}$result" >&6; }
14756 defaultval=$wxUSE_ALL_FEATURES
14757 if test -z "$defaultval"; then
14758 if test x"$enablestring" = xdisable; then
14765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14766 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14768 # Check whether --enable-mousewheel was given.
14769 if test "${enable_mousewheel+set}" = set; then
14770 enableval=$enable_mousewheel;
14771 if test "$enableval" = yes; then
14772 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14774 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14779 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14780 if test "x$LINE" != x ; then
14781 eval "DEFAULT_$LINE"
14786 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14791 eval "$wx_cv_use_mousewheel"
14792 if test "$no_cache" != 1; then
14793 echo $wx_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
14796 if test x"$enablestring" = xdisable; then
14797 if test $wxUSE_MOUSEWHEEL = yes; then
14803 result=$wxUSE_MOUSEWHEEL
14806 { echo "$as_me:$LINENO: result: $result" >&5
14807 echo "${ECHO_T}$result" >&6; }
14811 defaultval=$wxUSE_ALL_FEATURES
14812 if test -z "$defaultval"; then
14813 if test x"$enablestring" = xdisable; then
14820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14821 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14823 # Check whether --enable-validators was given.
14824 if test "${enable_validators+set}" = set; then
14825 enableval=$enable_validators;
14826 if test "$enableval" = yes; then
14827 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14829 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14834 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14835 if test "x$LINE" != x ; then
14836 eval "DEFAULT_$LINE"
14841 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14846 eval "$wx_cv_use_validators"
14847 if test "$no_cache" != 1; then
14848 echo $wx_cv_use_validators >> ${wx_arg_cache_file}.tmp
14851 if test x"$enablestring" = xdisable; then
14852 if test $wxUSE_VALIDATORS = yes; then
14858 result=$wxUSE_VALIDATORS
14861 { echo "$as_me:$LINENO: result: $result" >&5
14862 echo "${ECHO_T}$result" >&6; }
14866 defaultval=$wxUSE_ALL_FEATURES
14867 if test -z "$defaultval"; then
14868 if test x"$enablestring" = xdisable; then
14875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14876 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14878 # Check whether --enable-busyinfo was given.
14879 if test "${enable_busyinfo+set}" = set; then
14880 enableval=$enable_busyinfo;
14881 if test "$enableval" = yes; then
14882 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14884 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14889 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14890 if test "x$LINE" != x ; then
14891 eval "DEFAULT_$LINE"
14896 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14901 eval "$wx_cv_use_busyinfo"
14902 if test "$no_cache" != 1; then
14903 echo $wx_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
14906 if test x"$enablestring" = xdisable; then
14907 if test $wxUSE_BUSYINFO = yes; then
14913 result=$wxUSE_BUSYINFO
14916 { echo "$as_me:$LINENO: result: $result" >&5
14917 echo "${ECHO_T}$result" >&6; }
14921 defaultval=$wxUSE_ALL_FEATURES
14922 if test -z "$defaultval"; then
14923 if test x"$enablestring" = xdisable; then
14930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14931 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14933 # Check whether --enable-joystick was given.
14934 if test "${enable_joystick+set}" = set; then
14935 enableval=$enable_joystick;
14936 if test "$enableval" = yes; then
14937 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14939 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14944 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14945 if test "x$LINE" != x ; then
14946 eval "DEFAULT_$LINE"
14951 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14956 eval "$wx_cv_use_joystick"
14957 if test "$no_cache" != 1; then
14958 echo $wx_cv_use_joystick >> ${wx_arg_cache_file}.tmp
14961 if test x"$enablestring" = xdisable; then
14962 if test $wxUSE_JOYSTICK = yes; then
14968 result=$wxUSE_JOYSTICK
14971 { echo "$as_me:$LINENO: result: $result" >&5
14972 echo "${ECHO_T}$result" >&6; }
14976 defaultval=$wxUSE_ALL_FEATURES
14977 if test -z "$defaultval"; then
14978 if test x"$enablestring" = xdisable; then
14985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14986 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14988 # Check whether --enable-metafile was given.
14989 if test "${enable_metafile+set}" = set; then
14990 enableval=$enable_metafile;
14991 if test "$enableval" = yes; then
14992 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14994 wx_cv_use_metafile='wxUSE_METAFILE=no'
14999 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15000 if test "x$LINE" != x ; then
15001 eval "DEFAULT_$LINE"
15006 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15011 eval "$wx_cv_use_metafile"
15012 if test "$no_cache" != 1; then
15013 echo $wx_cv_use_metafile >> ${wx_arg_cache_file}.tmp
15016 if test x"$enablestring" = xdisable; then
15017 if test $wxUSE_METAFILE = yes; then
15023 result=$wxUSE_METAFILE
15026 { echo "$as_me:$LINENO: result: $result" >&5
15027 echo "${ECHO_T}$result" >&6; }
15031 defaultval=$wxUSE_ALL_FEATURES
15032 if test -z "$defaultval"; then
15033 if test x"$enablestring" = xdisable; then
15040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15041 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15043 # Check whether --enable-dragimage was given.
15044 if test "${enable_dragimage+set}" = set; then
15045 enableval=$enable_dragimage;
15046 if test "$enableval" = yes; then
15047 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15049 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15054 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15055 if test "x$LINE" != x ; then
15056 eval "DEFAULT_$LINE"
15061 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15066 eval "$wx_cv_use_dragimage"
15067 if test "$no_cache" != 1; then
15068 echo $wx_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
15071 if test x"$enablestring" = xdisable; then
15072 if test $wxUSE_DRAGIMAGE = yes; then
15078 result=$wxUSE_DRAGIMAGE
15081 { echo "$as_me:$LINENO: result: $result" >&5
15082 echo "${ECHO_T}$result" >&6; }
15086 defaultval=$wxUSE_ALL_FEATURES
15087 if test -z "$defaultval"; then
15088 if test x"$enablestring" = xdisable; then
15095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15096 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15098 # Check whether --enable-accessibility was given.
15099 if test "${enable_accessibility+set}" = set; then
15100 enableval=$enable_accessibility;
15101 if test "$enableval" = yes; then
15102 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15104 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15109 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15110 if test "x$LINE" != x ; then
15111 eval "DEFAULT_$LINE"
15116 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15121 eval "$wx_cv_use_accessibility"
15122 if test "$no_cache" != 1; then
15123 echo $wx_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
15126 if test x"$enablestring" = xdisable; then
15127 if test $wxUSE_ACCESSIBILITY = yes; then
15133 result=$wxUSE_ACCESSIBILITY
15136 { echo "$as_me:$LINENO: result: $result" >&5
15137 echo "${ECHO_T}$result" >&6; }
15140 if test "$wxUSE_MSW" = "1"; then
15143 defaultval=$wxUSE_ALL_FEATURES
15144 if test -z "$defaultval"; then
15145 if test x"$enablestring" = xdisable; then
15152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15153 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
15155 # Check whether --enable-dccache was given.
15156 if test "${enable_dccache+set}" = set; then
15157 enableval=$enable_dccache;
15158 if test "$enableval" = yes; then
15159 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15161 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15166 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
15167 if test "x$LINE" != x ; then
15168 eval "DEFAULT_$LINE"
15173 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15178 eval "$wx_cv_use_dccache"
15179 if test "$no_cache" != 1; then
15180 echo $wx_cv_use_dccache >> ${wx_arg_cache_file}.tmp
15183 if test x"$enablestring" = xdisable; then
15184 if test $wxUSE_DC_CACHEING = yes; then
15190 result=$wxUSE_DC_CACHEING
15193 { echo "$as_me:$LINENO: result: $result" >&5
15194 echo "${ECHO_T}$result" >&6; }
15201 defaultval=$wxUSE_ALL_FEATURES
15202 if test -z "$defaultval"; then
15203 if test x"$enablestring" = xdisable; then
15210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15211 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15213 # Check whether --enable-palette was given.
15214 if test "${enable_palette+set}" = set; then
15215 enableval=$enable_palette;
15216 if test "$enableval" = yes; then
15217 wx_cv_use_palette='wxUSE_PALETTE=yes'
15219 wx_cv_use_palette='wxUSE_PALETTE=no'
15224 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15225 if test "x$LINE" != x ; then
15226 eval "DEFAULT_$LINE"
15231 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15236 eval "$wx_cv_use_palette"
15237 if test "$no_cache" != 1; then
15238 echo $wx_cv_use_palette >> ${wx_arg_cache_file}.tmp
15241 if test x"$enablestring" = xdisable; then
15242 if test $wxUSE_PALETTE = yes; then
15248 result=$wxUSE_PALETTE
15251 { echo "$as_me:$LINENO: result: $result" >&5
15252 echo "${ECHO_T}$result" >&6; }
15256 defaultval=$wxUSE_ALL_FEATURES
15257 if test -z "$defaultval"; then
15258 if test x"$enablestring" = xdisable; then
15265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15266 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15268 # Check whether --enable-image was given.
15269 if test "${enable_image+set}" = set; then
15270 enableval=$enable_image;
15271 if test "$enableval" = yes; then
15272 wx_cv_use_image='wxUSE_IMAGE=yes'
15274 wx_cv_use_image='wxUSE_IMAGE=no'
15279 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15280 if test "x$LINE" != x ; then
15281 eval "DEFAULT_$LINE"
15286 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15291 eval "$wx_cv_use_image"
15292 if test "$no_cache" != 1; then
15293 echo $wx_cv_use_image >> ${wx_arg_cache_file}.tmp
15296 if test x"$enablestring" = xdisable; then
15297 if test $wxUSE_IMAGE = yes; then
15303 result=$wxUSE_IMAGE
15306 { echo "$as_me:$LINENO: result: $result" >&5
15307 echo "${ECHO_T}$result" >&6; }
15311 defaultval=$wxUSE_ALL_FEATURES
15312 if test -z "$defaultval"; then
15313 if test x"$enablestring" = xdisable; then
15320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15321 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15323 # Check whether --enable-gif was given.
15324 if test "${enable_gif+set}" = set; then
15325 enableval=$enable_gif;
15326 if test "$enableval" = yes; then
15327 wx_cv_use_gif='wxUSE_GIF=yes'
15329 wx_cv_use_gif='wxUSE_GIF=no'
15334 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15335 if test "x$LINE" != x ; then
15336 eval "DEFAULT_$LINE"
15341 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15346 eval "$wx_cv_use_gif"
15347 if test "$no_cache" != 1; then
15348 echo $wx_cv_use_gif >> ${wx_arg_cache_file}.tmp
15351 if test x"$enablestring" = xdisable; then
15352 if test $wxUSE_GIF = yes; then
15361 { echo "$as_me:$LINENO: result: $result" >&5
15362 echo "${ECHO_T}$result" >&6; }
15366 defaultval=$wxUSE_ALL_FEATURES
15367 if test -z "$defaultval"; then
15368 if test x"$enablestring" = xdisable; then
15375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15376 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15378 # Check whether --enable-pcx was given.
15379 if test "${enable_pcx+set}" = set; then
15380 enableval=$enable_pcx;
15381 if test "$enableval" = yes; then
15382 wx_cv_use_pcx='wxUSE_PCX=yes'
15384 wx_cv_use_pcx='wxUSE_PCX=no'
15389 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15390 if test "x$LINE" != x ; then
15391 eval "DEFAULT_$LINE"
15396 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15401 eval "$wx_cv_use_pcx"
15402 if test "$no_cache" != 1; then
15403 echo $wx_cv_use_pcx >> ${wx_arg_cache_file}.tmp
15406 if test x"$enablestring" = xdisable; then
15407 if test $wxUSE_PCX = 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}-tga" >&5
15431 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15433 # Check whether --enable-tga was given.
15434 if test "${enable_tga+set}" = set; then
15435 enableval=$enable_tga;
15436 if test "$enableval" = yes; then
15437 wx_cv_use_tga='wxUSE_TGA=yes'
15439 wx_cv_use_tga='wxUSE_TGA=no'
15444 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15445 if test "x$LINE" != x ; then
15446 eval "DEFAULT_$LINE"
15451 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15456 eval "$wx_cv_use_tga"
15457 if test "$no_cache" != 1; then
15458 echo $wx_cv_use_tga >> ${wx_arg_cache_file}.tmp
15461 if test x"$enablestring" = xdisable; then
15462 if test $wxUSE_TGA = yes; then
15471 { echo "$as_me:$LINENO: result: $result" >&5
15472 echo "${ECHO_T}$result" >&6; }
15476 defaultval=$wxUSE_ALL_FEATURES
15477 if test -z "$defaultval"; then
15478 if test x"$enablestring" = xdisable; then
15485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15486 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15488 # Check whether --enable-iff was given.
15489 if test "${enable_iff+set}" = set; then
15490 enableval=$enable_iff;
15491 if test "$enableval" = yes; then
15492 wx_cv_use_iff='wxUSE_IFF=yes'
15494 wx_cv_use_iff='wxUSE_IFF=no'
15499 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15500 if test "x$LINE" != x ; then
15501 eval "DEFAULT_$LINE"
15506 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15511 eval "$wx_cv_use_iff"
15512 if test "$no_cache" != 1; then
15513 echo $wx_cv_use_iff >> ${wx_arg_cache_file}.tmp
15516 if test x"$enablestring" = xdisable; then
15517 if test $wxUSE_IFF = yes; then
15526 { echo "$as_me:$LINENO: result: $result" >&5
15527 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}-pnm" >&5
15541 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15543 # Check whether --enable-pnm was given.
15544 if test "${enable_pnm+set}" = set; then
15545 enableval=$enable_pnm;
15546 if test "$enableval" = yes; then
15547 wx_cv_use_pnm='wxUSE_PNM=yes'
15549 wx_cv_use_pnm='wxUSE_PNM=no'
15554 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15555 if test "x$LINE" != x ; then
15556 eval "DEFAULT_$LINE"
15561 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15566 eval "$wx_cv_use_pnm"
15567 if test "$no_cache" != 1; then
15568 echo $wx_cv_use_pnm >> ${wx_arg_cache_file}.tmp
15571 if test x"$enablestring" = xdisable; then
15572 if test $wxUSE_PNM = yes; then
15581 { echo "$as_me:$LINENO: result: $result" >&5
15582 echo "${ECHO_T}$result" >&6; }
15586 defaultval=$wxUSE_ALL_FEATURES
15587 if test -z "$defaultval"; then
15588 if test x"$enablestring" = xdisable; then
15595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15596 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15598 # Check whether --enable-xpm was given.
15599 if test "${enable_xpm+set}" = set; then
15600 enableval=$enable_xpm;
15601 if test "$enableval" = yes; then
15602 wx_cv_use_xpm='wxUSE_XPM=yes'
15604 wx_cv_use_xpm='wxUSE_XPM=no'
15609 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15610 if test "x$LINE" != x ; then
15611 eval "DEFAULT_$LINE"
15616 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15621 eval "$wx_cv_use_xpm"
15622 if test "$no_cache" != 1; then
15623 echo $wx_cv_use_xpm >> ${wx_arg_cache_file}.tmp
15626 if test x"$enablestring" = xdisable; then
15627 if test $wxUSE_XPM = yes; then
15636 { echo "$as_me:$LINENO: result: $result" >&5
15637 echo "${ECHO_T}$result" >&6; }
15641 defaultval=$wxUSE_ALL_FEATURES
15642 if test -z "$defaultval"; then
15643 if test x"$enablestring" = xdisable; then
15650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15651 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15653 # Check whether --enable-ico_cur was given.
15654 if test "${enable_ico_cur+set}" = set; then
15655 enableval=$enable_ico_cur;
15656 if test "$enableval" = yes; then
15657 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15659 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15664 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15665 if test "x$LINE" != x ; then
15666 eval "DEFAULT_$LINE"
15671 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15676 eval "$wx_cv_use_ico_cur"
15677 if test "$no_cache" != 1; then
15678 echo $wx_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
15681 if test x"$enablestring" = xdisable; then
15682 if test $wxUSE_ICO_CUR = yes; then
15688 result=$wxUSE_ICO_CUR
15691 { echo "$as_me:$LINENO: result: $result" >&5
15692 echo "${ECHO_T}$result" >&6; }
15698 echo "saving argument cache $wx_arg_cache_file"
15699 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15703 { echo "$as_me:$LINENO: checking for toolkit" >&5
15704 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15706 # In Wine, we need to default to MSW, not GTK or MOTIF
15707 if test "$wxUSE_WINE" = "yes"; then
15708 DEFAULT_DEFAULT_wxUSE_GTK=0
15709 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15710 DEFAULT_DEFAULT_wxUSE_MSW=1
15713 CXX=${CXX:-wineg++}
15717 if test "$wxUSE_GUI" = "yes"; then
15719 if test "$USE_BEOS" = 1; then
15720 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15721 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15722 { (exit 1); exit 1; }; }
15725 if test "$TOOLKIT_GIVEN" = 1; then
15726 for toolkit in `echo $ALL_TOOLKITS`; do
15728 eval "value=\$${var}"
15729 if test "x$value" = "xno"; then
15731 elif test "x$value" != "x"; then
15735 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15736 eval "wx${toolkit}_VERSION=$value"
15740 for toolkit in `echo $ALL_TOOLKITS`; do
15741 if test "$has_toolkit_in_cache" != 1; then
15742 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15744 var=DEFAULT_wxUSE_$toolkit
15746 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15747 if test "x$version" != "x"; then
15748 eval "wx${toolkit}_VERSION=$version"
15751 eval "wxUSE_$toolkit=\$${var}"
15755 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15756 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15757 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15760 *-pc-os2_emx | *-pc-os2-emx )
15761 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15764 case "$NUM_TOOLKITS" in
15768 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15769 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15770 { (exit 1); exit 1; }; }
15773 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15774 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15775 { (exit 1); exit 1; }; }
15778 # to be removed when --disable-gtk2 isn't needed
15779 if test "x$wxUSE_GTK2" = "xyes"; then
15781 elif test "x$wxUSE_GTK2" = "xno"; then
15785 for toolkit in `echo $ALL_TOOLKITS`; do
15787 eval "value=\$${var}"
15788 if test "x$value" != x; then
15789 cache_var=CACHE_$toolkit
15790 eval "cache=\$${cache_var}"
15791 if test "$cache" = 1; then
15792 echo "$var=$value" >> ${wx_arg_cache_file}
15793 eval "version=\$wx${toolkit}_VERSION"
15794 if test "x$version" != "x"; then
15795 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15798 if test "$value" = 1; then
15799 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15800 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15801 echo "${ECHO_T}$toolkit_echo" >&6; }
15806 if test "x$host_alias" != "x"; then
15807 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15808 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
15810 { echo "$as_me:$LINENO: result: base only" >&5
15811 echo "${ECHO_T}base only" >&6; }
15816 cat >confcache <<\_ACEOF
15817 # This file is a shell script that caches the results of configure
15818 # tests run on this system so they can be shared between configure
15819 # scripts and configure runs, see configure's option --config-cache.
15820 # It is not useful on other systems. If it contains results you don't
15821 # want to keep, you may remove or edit it.
15823 # config.status only pays attention to the cache file if you give it
15824 # the --recheck option to rerun configure.
15826 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15827 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15828 # following values.
15832 # The following way of writing the cache mishandles newlines in values,
15833 # but we know of no workaround that is simple, portable, and efficient.
15834 # So, we kill variables containing newlines.
15835 # Ultrix sh set writes to stderr and can't be redirected directly,
15836 # and sets the high bit in the cache file unless we assign to the vars.
15838 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15839 eval ac_val=\$$ac_var
15843 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15844 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15847 _ | IFS | as_nl) ;; #(
15848 *) $as_unset $ac_var ;;
15854 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15855 *${as_nl}ac_space=\ *)
15856 # `set' does not quote correctly, so add quotes (double-quote
15857 # substitution turns \\\\ into \\, and sed turns \\ into \).
15860 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15863 # `set' quotes correctly as required by POSIX, so do not add quotes.
15864 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15873 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15875 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15877 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15878 if test -w "$cache_file"; then
15879 test "x$cache_file" != "x/dev/null" &&
15880 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15881 echo "$as_me: updating cache $cache_file" >&6;}
15882 cat confcache >$cache_file
15884 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15885 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15895 ac_cpp='$CPP $CPPFLAGS'
15896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15899 if test -n "$ac_tool_prefix"; then
15900 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15901 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15904 if test "${ac_cv_prog_CC+set}" = set; then
15905 echo $ECHO_N "(cached) $ECHO_C" >&6
15907 if test -n "$CC"; then
15908 ac_cv_prog_CC="$CC" # Let the user override the test.
15910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15911 for as_dir in $PATH
15914 test -z "$as_dir" && as_dir=.
15915 for ac_exec_ext in '' $ac_executable_extensions; do
15916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15917 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15928 if test -n "$CC"; then
15929 { echo "$as_me:$LINENO: result: $CC" >&5
15930 echo "${ECHO_T}$CC" >&6; }
15932 { echo "$as_me:$LINENO: result: no" >&5
15933 echo "${ECHO_T}no" >&6; }
15938 if test -z "$ac_cv_prog_CC"; then
15940 # Extract the first word of "gcc", so it can be a program name with args.
15941 set dummy gcc; ac_word=$2
15942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15944 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15945 echo $ECHO_N "(cached) $ECHO_C" >&6
15947 if test -n "$ac_ct_CC"; then
15948 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15951 for as_dir in $PATH
15954 test -z "$as_dir" && as_dir=.
15955 for ac_exec_ext in '' $ac_executable_extensions; do
15956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15957 ac_cv_prog_ac_ct_CC="gcc"
15958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15967 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15968 if test -n "$ac_ct_CC"; then
15969 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15970 echo "${ECHO_T}$ac_ct_CC" >&6; }
15972 { echo "$as_me:$LINENO: result: no" >&5
15973 echo "${ECHO_T}no" >&6; }
15976 if test "x$ac_ct_CC" = x; then
15979 case $cross_compiling:$ac_tool_warned in
15981 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15982 whose name does not start with the host triplet. If you think this
15983 configuration is useful to you, please write to autoconf@gnu.org." >&5
15984 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15985 whose name does not start with the host triplet. If you think this
15986 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15987 ac_tool_warned=yes ;;
15992 CC="$ac_cv_prog_CC"
15995 if test -z "$CC"; then
15996 if test -n "$ac_tool_prefix"; then
15997 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15998 set dummy ${ac_tool_prefix}cc; ac_word=$2
15999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16001 if test "${ac_cv_prog_CC+set}" = set; then
16002 echo $ECHO_N "(cached) $ECHO_C" >&6
16004 if test -n "$CC"; then
16005 ac_cv_prog_CC="$CC" # Let the user override the test.
16007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16008 for as_dir in $PATH
16011 test -z "$as_dir" && as_dir=.
16012 for ac_exec_ext in '' $ac_executable_extensions; do
16013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16014 ac_cv_prog_CC="${ac_tool_prefix}cc"
16015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16025 if test -n "$CC"; then
16026 { echo "$as_me:$LINENO: result: $CC" >&5
16027 echo "${ECHO_T}$CC" >&6; }
16029 { echo "$as_me:$LINENO: result: no" >&5
16030 echo "${ECHO_T}no" >&6; }
16036 if test -z "$CC"; then
16037 # Extract the first word of "cc", so it can be a program name with args.
16038 set dummy cc; ac_word=$2
16039 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16041 if test "${ac_cv_prog_CC+set}" = set; then
16042 echo $ECHO_N "(cached) $ECHO_C" >&6
16044 if test -n "$CC"; then
16045 ac_cv_prog_CC="$CC" # Let the user override the test.
16047 ac_prog_rejected=no
16048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16049 for as_dir in $PATH
16052 test -z "$as_dir" && as_dir=.
16053 for ac_exec_ext in '' $ac_executable_extensions; do
16054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16055 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16056 ac_prog_rejected=yes
16060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16067 if test $ac_prog_rejected = yes; then
16068 # We found a bogon in the path, so make sure we never use it.
16069 set dummy $ac_cv_prog_CC
16071 if test $# != 0; then
16072 # We chose a different compiler from the bogus one.
16073 # However, it has the same basename, so the bogon will be chosen
16074 # first if we set CC to just the basename; use the full file name.
16076 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16082 if test -n "$CC"; then
16083 { echo "$as_me:$LINENO: result: $CC" >&5
16084 echo "${ECHO_T}$CC" >&6; }
16086 { echo "$as_me:$LINENO: result: no" >&5
16087 echo "${ECHO_T}no" >&6; }
16092 if test -z "$CC"; then
16093 if test -n "$ac_tool_prefix"; then
16094 for ac_prog in cl.exe
16096 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16097 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16098 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16100 if test "${ac_cv_prog_CC+set}" = set; then
16101 echo $ECHO_N "(cached) $ECHO_C" >&6
16103 if test -n "$CC"; then
16104 ac_cv_prog_CC="$CC" # Let the user override the test.
16106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16107 for as_dir in $PATH
16110 test -z "$as_dir" && as_dir=.
16111 for ac_exec_ext in '' $ac_executable_extensions; do
16112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16113 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16124 if test -n "$CC"; then
16125 { echo "$as_me:$LINENO: result: $CC" >&5
16126 echo "${ECHO_T}$CC" >&6; }
16128 { echo "$as_me:$LINENO: result: no" >&5
16129 echo "${ECHO_T}no" >&6; }
16133 test -n "$CC" && break
16136 if test -z "$CC"; then
16138 for ac_prog in cl.exe
16140 # Extract the first word of "$ac_prog", so it can be a program name with args.
16141 set dummy $ac_prog; ac_word=$2
16142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16144 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16145 echo $ECHO_N "(cached) $ECHO_C" >&6
16147 if test -n "$ac_ct_CC"; then
16148 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16151 for as_dir in $PATH
16154 test -z "$as_dir" && as_dir=.
16155 for ac_exec_ext in '' $ac_executable_extensions; do
16156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16157 ac_cv_prog_ac_ct_CC="$ac_prog"
16158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16167 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16168 if test -n "$ac_ct_CC"; then
16169 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16170 echo "${ECHO_T}$ac_ct_CC" >&6; }
16172 { echo "$as_me:$LINENO: result: no" >&5
16173 echo "${ECHO_T}no" >&6; }
16177 test -n "$ac_ct_CC" && break
16180 if test "x$ac_ct_CC" = x; then
16183 case $cross_compiling:$ac_tool_warned in
16185 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16186 whose name does not start with the host triplet. If you think this
16187 configuration is useful to you, please write to autoconf@gnu.org." >&5
16188 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16189 whose name does not start with the host triplet. If you think this
16190 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16191 ac_tool_warned=yes ;;
16200 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16201 See \`config.log' for more details." >&5
16202 echo "$as_me: error: no acceptable C compiler found in \$PATH
16203 See \`config.log' for more details." >&2;}
16204 { (exit 1); exit 1; }; }
16206 # Provide some information about the compiler.
16207 echo "$as_me:$LINENO: checking for C compiler version" >&5
16208 ac_compiler=`set X $ac_compile; echo $2`
16209 { (ac_try="$ac_compiler --version >&5"
16210 case "(($ac_try" in
16211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16212 *) ac_try_echo=$ac_try;;
16214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16215 (eval "$ac_compiler --version >&5") 2>&5
16217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16218 (exit $ac_status); }
16219 { (ac_try="$ac_compiler -v >&5"
16220 case "(($ac_try" in
16221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16222 *) ac_try_echo=$ac_try;;
16224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16225 (eval "$ac_compiler -v >&5") 2>&5
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); }
16229 { (ac_try="$ac_compiler -V >&5"
16230 case "(($ac_try" in
16231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16232 *) ac_try_echo=$ac_try;;
16234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16235 (eval "$ac_compiler -V >&5") 2>&5
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); }
16240 cat >conftest.$ac_ext <<_ACEOF
16243 cat confdefs.h >>conftest.$ac_ext
16244 cat >>conftest.$ac_ext <<_ACEOF
16245 /* end confdefs.h. */
16255 ac_clean_files_save=$ac_clean_files
16256 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16257 # Try to create an executable without -o first, disregard a.out.
16258 # It will help us diagnose broken compilers, and finding out an intuition
16260 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16261 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16262 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16264 # List of possible output files, starting from the most likely.
16265 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
16266 # only as a last resort. b.out is created by i960 compilers.
16267 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
16269 # The IRIX 6 linker writes into existing files which may not be
16270 # executable, retaining their permissions. Remove them first so a
16271 # subsequent execution test works.
16273 for ac_file in $ac_files
16276 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16277 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16282 if { (ac_try="$ac_link_default"
16283 case "(($ac_try" in
16284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16285 *) ac_try_echo=$ac_try;;
16287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16288 (eval "$ac_link_default") 2>&5
16290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16291 (exit $ac_status); }; then
16292 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16293 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16294 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16295 # so that the user can short-circuit this test for compilers unknown to
16297 for ac_file in $ac_files ''
16299 test -f "$ac_file" || continue
16301 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
16304 # We found the default executable, but exeext='' is most
16308 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16310 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16312 # We set ac_cv_exeext here because the later test for it is not
16313 # safe: cross compilers may not add the suffix if given an `-o'
16314 # argument, so we may need to know it at that point already.
16315 # Even if this section looks crufty: it has the advantage of
16316 # actually working.
16322 test "$ac_cv_exeext" = no && ac_cv_exeext=
16328 { echo "$as_me:$LINENO: result: $ac_file" >&5
16329 echo "${ECHO_T}$ac_file" >&6; }
16330 if test -z "$ac_file"; then
16331 echo "$as_me: failed program was:" >&5
16332 sed 's/^/| /' conftest.$ac_ext >&5
16334 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16335 See \`config.log' for more details." >&5
16336 echo "$as_me: error: C compiler cannot create executables
16337 See \`config.log' for more details." >&2;}
16338 { (exit 77); exit 77; }; }
16341 ac_exeext=$ac_cv_exeext
16343 # Check that the compiler produces executables we can run. If not, either
16344 # the compiler is broken, or we cross compile.
16345 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16346 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16347 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16348 # If not cross compiling, check that we can run a simple program.
16349 if test "$cross_compiling" != yes; then
16350 if { ac_try='./$ac_file'
16351 { (case "(($ac_try" in
16352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16353 *) ac_try_echo=$ac_try;;
16355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16356 (eval "$ac_try") 2>&5
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); }; }; then
16362 if test "$cross_compiling" = maybe; then
16363 cross_compiling=yes
16365 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16366 If you meant to cross compile, use \`--host'.
16367 See \`config.log' for more details." >&5
16368 echo "$as_me: error: cannot run C compiled programs.
16369 If you meant to cross compile, use \`--host'.
16370 See \`config.log' for more details." >&2;}
16371 { (exit 1); exit 1; }; }
16375 { echo "$as_me:$LINENO: result: yes" >&5
16376 echo "${ECHO_T}yes" >&6; }
16378 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16379 ac_clean_files=$ac_clean_files_save
16380 # Check that the compiler produces executables we can run. If not, either
16381 # the compiler is broken, or we cross compile.
16382 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16383 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16384 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16385 echo "${ECHO_T}$cross_compiling" >&6; }
16387 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16388 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16389 if { (ac_try="$ac_link"
16390 case "(($ac_try" in
16391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16392 *) ac_try_echo=$ac_try;;
16394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16395 (eval "$ac_link") 2>&5
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); }; then
16399 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16400 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16401 # work properly (i.e., refer to `conftest.exe'), while it won't with
16403 for ac_file in conftest.exe conftest conftest.*; do
16404 test -f "$ac_file" || continue
16406 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16407 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16413 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16414 See \`config.log' for more details." >&5
16415 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16416 See \`config.log' for more details." >&2;}
16417 { (exit 1); exit 1; }; }
16420 rm -f conftest$ac_cv_exeext
16421 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16422 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16424 rm -f conftest.$ac_ext
16425 EXEEXT=$ac_cv_exeext
16427 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16428 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16429 if test "${ac_cv_objext+set}" = set; then
16430 echo $ECHO_N "(cached) $ECHO_C" >&6
16432 cat >conftest.$ac_ext <<_ACEOF
16435 cat confdefs.h >>conftest.$ac_ext
16436 cat >>conftest.$ac_ext <<_ACEOF
16437 /* end confdefs.h. */
16447 rm -f conftest.o conftest.obj
16448 if { (ac_try="$ac_compile"
16449 case "(($ac_try" in
16450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16451 *) ac_try_echo=$ac_try;;
16453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16454 (eval "$ac_compile") 2>&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); }; then
16458 for ac_file in conftest.o conftest.obj conftest.*; do
16459 test -f "$ac_file" || continue;
16461 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16462 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16467 echo "$as_me: failed program was:" >&5
16468 sed 's/^/| /' conftest.$ac_ext >&5
16470 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16471 See \`config.log' for more details." >&5
16472 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16473 See \`config.log' for more details." >&2;}
16474 { (exit 1); exit 1; }; }
16477 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16479 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
16480 echo "${ECHO_T}$ac_cv_objext" >&6; }
16481 OBJEXT=$ac_cv_objext
16483 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
16484 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
16485 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16486 echo $ECHO_N "(cached) $ECHO_C" >&6
16488 cat >conftest.$ac_ext <<_ACEOF
16491 cat confdefs.h >>conftest.$ac_ext
16492 cat >>conftest.$ac_ext <<_ACEOF
16493 /* end confdefs.h. */
16506 rm -f conftest.$ac_objext
16507 if { (ac_try="$ac_compile"
16508 case "(($ac_try" in
16509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16510 *) ac_try_echo=$ac_try;;
16512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16513 (eval "$ac_compile") 2>conftest.er1
16515 grep -v '^ *+' conftest.er1 >conftest.err
16517 cat conftest.err >&5
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); } && {
16520 test -z "$ac_c_werror_flag" ||
16521 test ! -s conftest.err
16522 } && test -s conftest.$ac_objext; then
16523 ac_compiler_gnu=yes
16525 echo "$as_me: failed program was:" >&5
16526 sed 's/^/| /' conftest.$ac_ext >&5
16531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16532 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16535 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
16536 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16537 GCC=`test $ac_compiler_gnu = yes && echo yes`
16538 ac_test_CFLAGS=${CFLAGS+set}
16539 ac_save_CFLAGS=$CFLAGS
16540 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16541 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16542 if test "${ac_cv_prog_cc_g+set}" = set; then
16543 echo $ECHO_N "(cached) $ECHO_C" >&6
16545 ac_save_c_werror_flag=$ac_c_werror_flag
16546 ac_c_werror_flag=yes
16549 cat >conftest.$ac_ext <<_ACEOF
16552 cat confdefs.h >>conftest.$ac_ext
16553 cat >>conftest.$ac_ext <<_ACEOF
16554 /* end confdefs.h. */
16564 rm -f conftest.$ac_objext
16565 if { (ac_try="$ac_compile"
16566 case "(($ac_try" in
16567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16568 *) ac_try_echo=$ac_try;;
16570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16571 (eval "$ac_compile") 2>conftest.er1
16573 grep -v '^ *+' conftest.er1 >conftest.err
16575 cat conftest.err >&5
16576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16577 (exit $ac_status); } && {
16578 test -z "$ac_c_werror_flag" ||
16579 test ! -s conftest.err
16580 } && test -s conftest.$ac_objext; then
16581 ac_cv_prog_cc_g=yes
16583 echo "$as_me: failed program was:" >&5
16584 sed 's/^/| /' conftest.$ac_ext >&5
16587 cat >conftest.$ac_ext <<_ACEOF
16590 cat confdefs.h >>conftest.$ac_ext
16591 cat >>conftest.$ac_ext <<_ACEOF
16592 /* end confdefs.h. */
16602 rm -f conftest.$ac_objext
16603 if { (ac_try="$ac_compile"
16604 case "(($ac_try" in
16605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16606 *) ac_try_echo=$ac_try;;
16608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16609 (eval "$ac_compile") 2>conftest.er1
16611 grep -v '^ *+' conftest.er1 >conftest.err
16613 cat conftest.err >&5
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); } && {
16616 test -z "$ac_c_werror_flag" ||
16617 test ! -s conftest.err
16618 } && test -s conftest.$ac_objext; then
16621 echo "$as_me: failed program was:" >&5
16622 sed 's/^/| /' conftest.$ac_ext >&5
16624 ac_c_werror_flag=$ac_save_c_werror_flag
16626 cat >conftest.$ac_ext <<_ACEOF
16629 cat confdefs.h >>conftest.$ac_ext
16630 cat >>conftest.$ac_ext <<_ACEOF
16631 /* end confdefs.h. */
16641 rm -f conftest.$ac_objext
16642 if { (ac_try="$ac_compile"
16643 case "(($ac_try" in
16644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16645 *) ac_try_echo=$ac_try;;
16647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16648 (eval "$ac_compile") 2>conftest.er1
16650 grep -v '^ *+' conftest.er1 >conftest.err
16652 cat conftest.err >&5
16653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654 (exit $ac_status); } && {
16655 test -z "$ac_c_werror_flag" ||
16656 test ! -s conftest.err
16657 } && test -s conftest.$ac_objext; then
16658 ac_cv_prog_cc_g=yes
16660 echo "$as_me: failed program was:" >&5
16661 sed 's/^/| /' conftest.$ac_ext >&5
16666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16673 ac_c_werror_flag=$ac_save_c_werror_flag
16675 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16676 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16677 if test "$ac_test_CFLAGS" = set; then
16678 CFLAGS=$ac_save_CFLAGS
16679 elif test $ac_cv_prog_cc_g = yes; then
16680 if test "$GCC" = yes; then
16686 if test "$GCC" = yes; then
16692 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
16693 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
16694 if test "${ac_cv_prog_cc_c89+set}" = set; then
16695 echo $ECHO_N "(cached) $ECHO_C" >&6
16697 ac_cv_prog_cc_c89=no
16699 cat >conftest.$ac_ext <<_ACEOF
16702 cat confdefs.h >>conftest.$ac_ext
16703 cat >>conftest.$ac_ext <<_ACEOF
16704 /* end confdefs.h. */
16705 #include <stdarg.h>
16707 #include <sys/types.h>
16708 #include <sys/stat.h>
16709 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16710 struct buf { int x; };
16711 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16712 static char *e (p, i)
16718 static char *f (char * (*g) (char **, int), char **p, ...)
16723 s = g (p, va_arg (v,int));
16728 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16729 function prototypes and stuff, but not '\xHH' hex character constants.
16730 These don't provoke an error unfortunately, instead are silently treated
16731 as 'x'. The following induces an error, until -std is added to get
16732 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16733 array size at least. It's necessary to write '\x00'==0 to get something
16734 that's true only with -std. */
16735 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16737 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16738 inside strings and character constants. */
16740 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16742 int test (int i, double x);
16743 struct s1 {int (*f) (int a);};
16744 struct s2 {int (*f) (double a);};
16745 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16751 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16756 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16757 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16759 CC="$ac_save_CC $ac_arg"
16760 rm -f conftest.$ac_objext
16761 if { (ac_try="$ac_compile"
16762 case "(($ac_try" in
16763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16764 *) ac_try_echo=$ac_try;;
16766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16767 (eval "$ac_compile") 2>conftest.er1
16769 grep -v '^ *+' conftest.er1 >conftest.err
16771 cat conftest.err >&5
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); } && {
16774 test -z "$ac_c_werror_flag" ||
16775 test ! -s conftest.err
16776 } && test -s conftest.$ac_objext; then
16777 ac_cv_prog_cc_c89=$ac_arg
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.$ac_ext >&5
16785 rm -f core conftest.err conftest.$ac_objext
16786 test "x$ac_cv_prog_cc_c89" != "xno" && break
16788 rm -f conftest.$ac_ext
16793 case "x$ac_cv_prog_cc_c89" in
16795 { echo "$as_me:$LINENO: result: none needed" >&5
16796 echo "${ECHO_T}none needed" >&6; } ;;
16798 { echo "$as_me:$LINENO: result: unsupported" >&5
16799 echo "${ECHO_T}unsupported" >&6; } ;;
16801 CC="$CC $ac_cv_prog_cc_c89"
16802 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16803 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16808 ac_cpp='$CPP $CPPFLAGS'
16809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16817 ac_cpp='$CPP $CPPFLAGS'
16818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16822 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16823 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16824 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16825 echo $ECHO_N "(cached) $ECHO_C" >&6
16827 cat >conftest.$ac_ext <<_ACEOF
16830 cat confdefs.h >>conftest.$ac_ext
16831 cat >>conftest.$ac_ext <<_ACEOF
16832 /* end confdefs.h. */
16838 #ifndef __INTEL_COMPILER
16846 rm -f conftest.$ac_objext
16847 if { (ac_try="$ac_compile"
16848 case "(($ac_try" in
16849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16850 *) ac_try_echo=$ac_try;;
16852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16853 (eval "$ac_compile") 2>conftest.er1
16855 grep -v '^ *+' conftest.er1 >conftest.err
16857 cat conftest.err >&5
16858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16859 (exit $ac_status); } && {
16860 test -z "$ac_c_werror_flag" ||
16861 test ! -s conftest.err
16862 } && test -s conftest.$ac_objext; then
16863 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16865 echo "$as_me: failed program was:" >&5
16866 sed 's/^/| /' conftest.$ac_ext >&5
16868 bakefile_cv_c_compiler___INTEL_COMPILER=no
16872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16876 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16877 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16878 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16884 ac_cpp='$CPP $CPPFLAGS'
16885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16892 if test "x$GCC" != "xyes"; then
16893 if test "xCC" = "xC"; then
16894 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16895 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16896 if test "${bakefile_cv_c_exto+set}" = set; then
16897 echo $ECHO_N "(cached) $ECHO_C" >&6
16899 cat >conftest.$ac_ext <<_ACEOF
16902 cat confdefs.h >>conftest.$ac_ext
16903 cat >>conftest.$ac_ext <<_ACEOF
16904 /* end confdefs.h. */
16914 rm -f conftest.$ac_objext conftest.$ac_ext.o
16915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16916 (eval $ac_compile) 2>&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); }; then
16920 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16922 conftest.$ac_ext.o)
16923 bakefile_cv_c_exto="-ext o"
16930 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16931 See \`config.log' for more details." >&5
16932 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16933 See \`config.log' for more details." >&2;}
16934 { (exit 1); exit 1; }; }
16938 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16941 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16942 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16943 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16944 if test "c" = "c"; then
16945 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16947 if test "c" = "cxx"; then
16948 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16952 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16953 unset ac_cv_prog_cc_g
16954 ac_test_CFLAGS=${CFLAGS+set}
16955 ac_save_CFLAGS=$CFLAGS
16956 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16957 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16958 if test "${ac_cv_prog_cc_g+set}" = set; then
16959 echo $ECHO_N "(cached) $ECHO_C" >&6
16961 ac_save_c_werror_flag=$ac_c_werror_flag
16962 ac_c_werror_flag=yes
16965 cat >conftest.$ac_ext <<_ACEOF
16968 cat confdefs.h >>conftest.$ac_ext
16969 cat >>conftest.$ac_ext <<_ACEOF
16970 /* end confdefs.h. */
16980 rm -f conftest.$ac_objext
16981 if { (ac_try="$ac_compile"
16982 case "(($ac_try" in
16983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16984 *) ac_try_echo=$ac_try;;
16986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16987 (eval "$ac_compile") 2>conftest.er1
16989 grep -v '^ *+' conftest.er1 >conftest.err
16991 cat conftest.err >&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); } && {
16994 test -z "$ac_c_werror_flag" ||
16995 test ! -s conftest.err
16996 } && test -s conftest.$ac_objext; then
16997 ac_cv_prog_cc_g=yes
16999 echo "$as_me: failed program was:" >&5
17000 sed 's/^/| /' conftest.$ac_ext >&5
17003 cat >conftest.$ac_ext <<_ACEOF
17006 cat confdefs.h >>conftest.$ac_ext
17007 cat >>conftest.$ac_ext <<_ACEOF
17008 /* end confdefs.h. */
17018 rm -f conftest.$ac_objext
17019 if { (ac_try="$ac_compile"
17020 case "(($ac_try" in
17021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17022 *) ac_try_echo=$ac_try;;
17024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17025 (eval "$ac_compile") 2>conftest.er1
17027 grep -v '^ *+' conftest.er1 >conftest.err
17029 cat conftest.err >&5
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); } && {
17032 test -z "$ac_c_werror_flag" ||
17033 test ! -s conftest.err
17034 } && test -s conftest.$ac_objext; then
17037 echo "$as_me: failed program was:" >&5
17038 sed 's/^/| /' conftest.$ac_ext >&5
17040 ac_c_werror_flag=$ac_save_c_werror_flag
17042 cat >conftest.$ac_ext <<_ACEOF
17045 cat confdefs.h >>conftest.$ac_ext
17046 cat >>conftest.$ac_ext <<_ACEOF
17047 /* end confdefs.h. */
17057 rm -f conftest.$ac_objext
17058 if { (ac_try="$ac_compile"
17059 case "(($ac_try" in
17060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17061 *) ac_try_echo=$ac_try;;
17063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17064 (eval "$ac_compile") 2>conftest.er1
17066 grep -v '^ *+' conftest.er1 >conftest.err
17068 cat conftest.err >&5
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); } && {
17071 test -z "$ac_c_werror_flag" ||
17072 test ! -s conftest.err
17073 } && test -s conftest.$ac_objext; then
17074 ac_cv_prog_cc_g=yes
17076 echo "$as_me: failed program was:" >&5
17077 sed 's/^/| /' conftest.$ac_ext >&5
17082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17089 ac_c_werror_flag=$ac_save_c_werror_flag
17091 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17092 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17093 if test "$ac_test_CFLAGS" = set; then
17094 CFLAGS=$ac_save_CFLAGS
17095 elif test $ac_cv_prog_cc_g = yes; then
17096 if test "$GCC" = yes; then
17102 if test "$GCC" = yes; then
17116 ac_cpp='$CPP $CPPFLAGS'
17117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17121 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17122 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17123 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17124 echo $ECHO_N "(cached) $ECHO_C" >&6
17126 cat >conftest.$ac_ext <<_ACEOF
17129 cat confdefs.h >>conftest.$ac_ext
17130 cat >>conftest.$ac_ext <<_ACEOF
17131 /* end confdefs.h. */
17145 rm -f conftest.$ac_objext
17146 if { (ac_try="$ac_compile"
17147 case "(($ac_try" in
17148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17149 *) ac_try_echo=$ac_try;;
17151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17152 (eval "$ac_compile") 2>conftest.er1
17154 grep -v '^ *+' conftest.er1 >conftest.err
17156 cat conftest.err >&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); } && {
17159 test -z "$ac_c_werror_flag" ||
17160 test ! -s conftest.err
17161 } && test -s conftest.$ac_objext; then
17162 bakefile_cv_c_compiler___xlC__=yes
17164 echo "$as_me: failed program was:" >&5
17165 sed 's/^/| /' conftest.$ac_ext >&5
17167 bakefile_cv_c_compiler___xlC__=no
17171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17175 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17176 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17177 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17183 ac_cpp='$CPP $CPPFLAGS'
17184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17196 ac_cpp='$CPP $CPPFLAGS'
17197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17201 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17202 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17203 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17206 cat >conftest.$ac_ext <<_ACEOF
17209 cat confdefs.h >>conftest.$ac_ext
17210 cat >>conftest.$ac_ext <<_ACEOF
17211 /* end confdefs.h. */
17225 rm -f conftest.$ac_objext
17226 if { (ac_try="$ac_compile"
17227 case "(($ac_try" in
17228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17229 *) ac_try_echo=$ac_try;;
17231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17232 (eval "$ac_compile") 2>conftest.er1
17234 grep -v '^ *+' conftest.er1 >conftest.err
17236 cat conftest.err >&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); } && {
17239 test -z "$ac_c_werror_flag" ||
17240 test ! -s conftest.err
17241 } && test -s conftest.$ac_objext; then
17242 bakefile_cv_c_compiler___MWERKS__=yes
17244 echo "$as_me: failed program was:" >&5
17245 sed 's/^/| /' conftest.$ac_ext >&5
17247 bakefile_cv_c_compiler___MWERKS__=no
17251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17255 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17256 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17257 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17263 ac_cpp='$CPP $CPPFLAGS'
17264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17273 ac_cpp='$CPP $CPPFLAGS'
17274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17278 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17279 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17280 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17281 echo $ECHO_N "(cached) $ECHO_C" >&6
17283 cat >conftest.$ac_ext <<_ACEOF
17286 cat confdefs.h >>conftest.$ac_ext
17287 cat >>conftest.$ac_ext <<_ACEOF
17288 /* end confdefs.h. */
17302 rm -f conftest.$ac_objext
17303 if { (ac_try="$ac_compile"
17304 case "(($ac_try" in
17305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17306 *) ac_try_echo=$ac_try;;
17308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17309 (eval "$ac_compile") 2>conftest.er1
17311 grep -v '^ *+' conftest.er1 >conftest.err
17313 cat conftest.err >&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } && {
17316 test -z "$ac_c_werror_flag" ||
17317 test ! -s conftest.err
17318 } && test -s conftest.$ac_objext; then
17319 bakefile_cv_c_compiler___xlC__=yes
17321 echo "$as_me: failed program was:" >&5
17322 sed 's/^/| /' conftest.$ac_ext >&5
17324 bakefile_cv_c_compiler___xlC__=no
17328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17332 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17333 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17334 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17340 ac_cpp='$CPP $CPPFLAGS'
17341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17353 ac_cpp='$CPP $CPPFLAGS'
17354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17358 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17359 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17360 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17361 echo $ECHO_N "(cached) $ECHO_C" >&6
17363 cat >conftest.$ac_ext <<_ACEOF
17366 cat confdefs.h >>conftest.$ac_ext
17367 cat >>conftest.$ac_ext <<_ACEOF
17368 /* end confdefs.h. */
17374 #ifndef _SGI_COMPILER_VERSION
17382 rm -f conftest.$ac_objext
17383 if { (ac_try="$ac_compile"
17384 case "(($ac_try" in
17385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17386 *) ac_try_echo=$ac_try;;
17388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17389 (eval "$ac_compile") 2>conftest.er1
17391 grep -v '^ *+' conftest.er1 >conftest.err
17393 cat conftest.err >&5
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); } && {
17396 test -z "$ac_c_werror_flag" ||
17397 test ! -s conftest.err
17398 } && test -s conftest.$ac_objext; then
17399 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17401 echo "$as_me: failed program was:" >&5
17402 sed 's/^/| /' conftest.$ac_ext >&5
17404 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17412 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17413 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17414 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17420 ac_cpp='$CPP $CPPFLAGS'
17421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17433 ac_cpp='$CPP $CPPFLAGS'
17434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17438 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17439 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17440 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17441 echo $ECHO_N "(cached) $ECHO_C" >&6
17443 cat >conftest.$ac_ext <<_ACEOF
17446 cat confdefs.h >>conftest.$ac_ext
17447 cat >>conftest.$ac_ext <<_ACEOF
17448 /* end confdefs.h. */
17462 rm -f conftest.$ac_objext
17463 if { (ac_try="$ac_compile"
17464 case "(($ac_try" in
17465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17466 *) ac_try_echo=$ac_try;;
17468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17469 (eval "$ac_compile") 2>conftest.er1
17471 grep -v '^ *+' conftest.er1 >conftest.err
17473 cat conftest.err >&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); } && {
17476 test -z "$ac_c_werror_flag" ||
17477 test ! -s conftest.err
17478 } && test -s conftest.$ac_objext; then
17479 bakefile_cv_c_compiler___SUNPRO_C=yes
17481 echo "$as_me: failed program was:" >&5
17482 sed 's/^/| /' conftest.$ac_ext >&5
17484 bakefile_cv_c_compiler___SUNPRO_C=no
17488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17492 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17493 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17494 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17500 ac_cpp='$CPP $CPPFLAGS'
17501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17513 ac_cpp='$CPP $CPPFLAGS'
17514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17518 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17519 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17520 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17521 echo $ECHO_N "(cached) $ECHO_C" >&6
17523 cat >conftest.$ac_ext <<_ACEOF
17526 cat confdefs.h >>conftest.$ac_ext
17527 cat >>conftest.$ac_ext <<_ACEOF
17528 /* end confdefs.h. */
17542 rm -f conftest.$ac_objext
17543 if { (ac_try="$ac_compile"
17544 case "(($ac_try" in
17545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17546 *) ac_try_echo=$ac_try;;
17548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17549 (eval "$ac_compile") 2>conftest.er1
17551 grep -v '^ *+' conftest.er1 >conftest.err
17553 cat conftest.err >&5
17554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17555 (exit $ac_status); } && {
17556 test -z "$ac_c_werror_flag" ||
17557 test ! -s conftest.err
17558 } && test -s conftest.$ac_objext; then
17559 bakefile_cv_c_compiler___HP_cc=yes
17561 echo "$as_me: failed program was:" >&5
17562 sed 's/^/| /' conftest.$ac_ext >&5
17564 bakefile_cv_c_compiler___HP_cc=no
17568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17572 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17573 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17574 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17580 ac_cpp='$CPP $CPPFLAGS'
17581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17593 ac_cpp='$CPP $CPPFLAGS'
17594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17598 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17599 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17600 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17601 echo $ECHO_N "(cached) $ECHO_C" >&6
17603 cat >conftest.$ac_ext <<_ACEOF
17606 cat confdefs.h >>conftest.$ac_ext
17607 cat >>conftest.$ac_ext <<_ACEOF
17608 /* end confdefs.h. */
17622 rm -f conftest.$ac_objext
17623 if { (ac_try="$ac_compile"
17624 case "(($ac_try" in
17625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17626 *) ac_try_echo=$ac_try;;
17628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17629 (eval "$ac_compile") 2>conftest.er1
17631 grep -v '^ *+' conftest.er1 >conftest.err
17633 cat conftest.err >&5
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 (exit $ac_status); } && {
17636 test -z "$ac_c_werror_flag" ||
17637 test ! -s conftest.err
17638 } && test -s conftest.$ac_objext; then
17639 bakefile_cv_c_compiler___DECC=yes
17641 echo "$as_me: failed program was:" >&5
17642 sed 's/^/| /' conftest.$ac_ext >&5
17644 bakefile_cv_c_compiler___DECC=no
17648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17652 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17653 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17654 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17660 ac_cpp='$CPP $CPPFLAGS'
17661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17673 ac_cpp='$CPP $CPPFLAGS'
17674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17678 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17679 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17680 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17681 echo $ECHO_N "(cached) $ECHO_C" >&6
17683 cat >conftest.$ac_ext <<_ACEOF
17686 cat confdefs.h >>conftest.$ac_ext
17687 cat >>conftest.$ac_ext <<_ACEOF
17688 /* end confdefs.h. */
17702 rm -f conftest.$ac_objext
17703 if { (ac_try="$ac_compile"
17704 case "(($ac_try" in
17705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17706 *) ac_try_echo=$ac_try;;
17708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17709 (eval "$ac_compile") 2>conftest.er1
17711 grep -v '^ *+' conftest.er1 >conftest.err
17713 cat conftest.err >&5
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); } && {
17716 test -z "$ac_c_werror_flag" ||
17717 test ! -s conftest.err
17718 } && test -s conftest.$ac_objext; then
17719 bakefile_cv_c_compiler___SUNPRO_C=yes
17721 echo "$as_me: failed program was:" >&5
17722 sed 's/^/| /' conftest.$ac_ext >&5
17724 bakefile_cv_c_compiler___SUNPRO_C=no
17728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17732 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17733 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17734 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17740 ac_cpp='$CPP $CPPFLAGS'
17741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17754 ac_cpp='$CPP $CPPFLAGS'
17755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17758 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17759 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17760 # On Suns, sometimes $CPP names a directory.
17761 if test -n "$CPP" && test -d "$CPP"; then
17764 if test -z "$CPP"; then
17765 if test "${ac_cv_prog_CPP+set}" = set; then
17766 echo $ECHO_N "(cached) $ECHO_C" >&6
17768 # Double quotes because CPP needs to be expanded
17769 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17771 ac_preproc_ok=false
17772 for ac_c_preproc_warn_flag in '' yes
17774 # Use a header file that comes with gcc, so configuring glibc
17775 # with a fresh cross-compiler works.
17776 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17777 # <limits.h> exists even on freestanding compilers.
17778 # On the NeXT, cc -E runs the code through the compiler's parser,
17779 # not just through cpp. "Syntax error" is here to catch this case.
17780 cat >conftest.$ac_ext <<_ACEOF
17783 cat confdefs.h >>conftest.$ac_ext
17784 cat >>conftest.$ac_ext <<_ACEOF
17785 /* end confdefs.h. */
17787 # include <limits.h>
17789 # include <assert.h>
17793 if { (ac_try="$ac_cpp conftest.$ac_ext"
17794 case "(($ac_try" in
17795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17796 *) ac_try_echo=$ac_try;;
17798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17799 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17801 grep -v '^ *+' conftest.er1 >conftest.err
17803 cat conftest.err >&5
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); } >/dev/null && {
17806 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17807 test ! -s conftest.err
17811 echo "$as_me: failed program was:" >&5
17812 sed 's/^/| /' conftest.$ac_ext >&5
17814 # Broken: fails on valid input.
17818 rm -f conftest.err conftest.$ac_ext
17820 # OK, works on sane cases. Now check whether nonexistent headers
17821 # can be detected and how.
17822 cat >conftest.$ac_ext <<_ACEOF
17825 cat confdefs.h >>conftest.$ac_ext
17826 cat >>conftest.$ac_ext <<_ACEOF
17827 /* end confdefs.h. */
17828 #include <ac_nonexistent.h>
17830 if { (ac_try="$ac_cpp conftest.$ac_ext"
17831 case "(($ac_try" in
17832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17833 *) ac_try_echo=$ac_try;;
17835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17836 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17838 grep -v '^ *+' conftest.er1 >conftest.err
17840 cat conftest.err >&5
17841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17842 (exit $ac_status); } >/dev/null && {
17843 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17844 test ! -s conftest.err
17846 # Broken: success on invalid input.
17849 echo "$as_me: failed program was:" >&5
17850 sed 's/^/| /' conftest.$ac_ext >&5
17852 # Passes both tests.
17857 rm -f conftest.err conftest.$ac_ext
17860 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17861 rm -f conftest.err conftest.$ac_ext
17862 if $ac_preproc_ok; then
17867 ac_cv_prog_CPP=$CPP
17870 CPP=$ac_cv_prog_CPP
17872 ac_cv_prog_CPP=$CPP
17874 { echo "$as_me:$LINENO: result: $CPP" >&5
17875 echo "${ECHO_T}$CPP" >&6; }
17876 ac_preproc_ok=false
17877 for ac_c_preproc_warn_flag in '' yes
17879 # Use a header file that comes with gcc, so configuring glibc
17880 # with a fresh cross-compiler works.
17881 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17882 # <limits.h> exists even on freestanding compilers.
17883 # On the NeXT, cc -E runs the code through the compiler's parser,
17884 # not just through cpp. "Syntax error" is here to catch this case.
17885 cat >conftest.$ac_ext <<_ACEOF
17888 cat confdefs.h >>conftest.$ac_ext
17889 cat >>conftest.$ac_ext <<_ACEOF
17890 /* end confdefs.h. */
17892 # include <limits.h>
17894 # include <assert.h>
17898 if { (ac_try="$ac_cpp conftest.$ac_ext"
17899 case "(($ac_try" in
17900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17901 *) ac_try_echo=$ac_try;;
17903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17904 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17906 grep -v '^ *+' conftest.er1 >conftest.err
17908 cat conftest.err >&5
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); } >/dev/null && {
17911 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17912 test ! -s conftest.err
17916 echo "$as_me: failed program was:" >&5
17917 sed 's/^/| /' conftest.$ac_ext >&5
17919 # Broken: fails on valid input.
17923 rm -f conftest.err conftest.$ac_ext
17925 # OK, works on sane cases. Now check whether nonexistent headers
17926 # can be detected and how.
17927 cat >conftest.$ac_ext <<_ACEOF
17930 cat confdefs.h >>conftest.$ac_ext
17931 cat >>conftest.$ac_ext <<_ACEOF
17932 /* end confdefs.h. */
17933 #include <ac_nonexistent.h>
17935 if { (ac_try="$ac_cpp conftest.$ac_ext"
17936 case "(($ac_try" in
17937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17938 *) ac_try_echo=$ac_try;;
17940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17941 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17943 grep -v '^ *+' conftest.er1 >conftest.err
17945 cat conftest.err >&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); } >/dev/null && {
17948 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17949 test ! -s conftest.err
17951 # Broken: success on invalid input.
17954 echo "$as_me: failed program was:" >&5
17955 sed 's/^/| /' conftest.$ac_ext >&5
17957 # Passes both tests.
17962 rm -f conftest.err conftest.$ac_ext
17965 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17966 rm -f conftest.err conftest.$ac_ext
17967 if $ac_preproc_ok; then
17970 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17971 See \`config.log' for more details." >&5
17972 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17973 See \`config.log' for more details." >&2;}
17974 { (exit 1); exit 1; }; }
17978 ac_cpp='$CPP $CPPFLAGS'
17979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17984 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17985 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17986 if test "${ac_cv_path_GREP+set}" = set; then
17987 echo $ECHO_N "(cached) $ECHO_C" >&6
17989 # Extract the first word of "grep ggrep" to use in msg output
17990 if test -z "$GREP"; then
17991 set dummy grep ggrep; ac_prog_name=$2
17992 if test "${ac_cv_path_GREP+set}" = set; then
17993 echo $ECHO_N "(cached) $ECHO_C" >&6
17995 ac_path_GREP_found=false
17996 # Loop through the user's path and test for each of PROGNAME-LIST
17997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17998 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18001 test -z "$as_dir" && as_dir=.
18002 for ac_prog in grep ggrep; do
18003 for ac_exec_ext in '' $ac_executable_extensions; do
18004 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18005 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18006 # Check for GNU ac_path_GREP and select it if it is found.
18007 # Check for GNU $ac_path_GREP
18008 case `"$ac_path_GREP" --version 2>&1` in
18010 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18013 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18016 cat "conftest.in" "conftest.in" >"conftest.tmp"
18017 mv "conftest.tmp" "conftest.in"
18018 cp "conftest.in" "conftest.nl"
18019 echo 'GREP' >> "conftest.nl"
18020 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18021 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18022 ac_count=`expr $ac_count + 1`
18023 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18024 # Best one so far, save it but keep looking for a better one
18025 ac_cv_path_GREP="$ac_path_GREP"
18026 ac_path_GREP_max=$ac_count
18028 # 10*(2^10) chars as input seems more than enough
18029 test $ac_count -gt 10 && break
18031 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18035 $ac_path_GREP_found && break 3
18045 GREP="$ac_cv_path_GREP"
18046 if test -z "$GREP"; then
18047 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18048 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18049 { (exit 1); exit 1; }; }
18053 ac_cv_path_GREP=$GREP
18058 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18059 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18060 GREP="$ac_cv_path_GREP"
18063 { echo "$as_me:$LINENO: checking for egrep" >&5
18064 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18065 if test "${ac_cv_path_EGREP+set}" = set; then
18066 echo $ECHO_N "(cached) $ECHO_C" >&6
18068 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18069 then ac_cv_path_EGREP="$GREP -E"
18071 # Extract the first word of "egrep" to use in msg output
18072 if test -z "$EGREP"; then
18073 set dummy egrep; ac_prog_name=$2
18074 if test "${ac_cv_path_EGREP+set}" = set; then
18075 echo $ECHO_N "(cached) $ECHO_C" >&6
18077 ac_path_EGREP_found=false
18078 # Loop through the user's path and test for each of PROGNAME-LIST
18079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18080 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18083 test -z "$as_dir" && as_dir=.
18084 for ac_prog in egrep; do
18085 for ac_exec_ext in '' $ac_executable_extensions; do
18086 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18087 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18088 # Check for GNU ac_path_EGREP and select it if it is found.
18089 # Check for GNU $ac_path_EGREP
18090 case `"$ac_path_EGREP" --version 2>&1` in
18092 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18095 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18098 cat "conftest.in" "conftest.in" >"conftest.tmp"
18099 mv "conftest.tmp" "conftest.in"
18100 cp "conftest.in" "conftest.nl"
18101 echo 'EGREP' >> "conftest.nl"
18102 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18103 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18104 ac_count=`expr $ac_count + 1`
18105 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18106 # Best one so far, save it but keep looking for a better one
18107 ac_cv_path_EGREP="$ac_path_EGREP"
18108 ac_path_EGREP_max=$ac_count
18110 # 10*(2^10) chars as input seems more than enough
18111 test $ac_count -gt 10 && break
18113 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18117 $ac_path_EGREP_found && break 3
18127 EGREP="$ac_cv_path_EGREP"
18128 if test -z "$EGREP"; then
18129 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18130 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18131 { (exit 1); exit 1; }; }
18135 ac_cv_path_EGREP=$EGREP
18141 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18142 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18143 EGREP="$ac_cv_path_EGREP"
18146 if test $ac_cv_c_compiler_gnu = yes; then
18147 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18148 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18149 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18150 echo $ECHO_N "(cached) $ECHO_C" >&6
18152 ac_pattern="Autoconf.*'x'"
18153 cat >conftest.$ac_ext <<_ACEOF
18156 cat confdefs.h >>conftest.$ac_ext
18157 cat >>conftest.$ac_ext <<_ACEOF
18158 /* end confdefs.h. */
18162 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18163 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18164 ac_cv_prog_gcc_traditional=yes
18166 ac_cv_prog_gcc_traditional=no
18171 if test $ac_cv_prog_gcc_traditional = no; then
18172 cat >conftest.$ac_ext <<_ACEOF
18175 cat confdefs.h >>conftest.$ac_ext
18176 cat >>conftest.$ac_ext <<_ACEOF
18177 /* end confdefs.h. */
18178 #include <termio.h>
18181 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18182 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18183 ac_cv_prog_gcc_traditional=yes
18189 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18190 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18191 if test $ac_cv_prog_gcc_traditional = yes; then
18192 CC="$CC -traditional"
18197 CXXFLAGS=${CXXFLAGS:=}
18202 ac_cpp='$CXXCPP $CPPFLAGS'
18203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18206 if test -z "$CXX"; then
18207 if test -n "$CCC"; then
18210 if test -n "$ac_tool_prefix"; then
18211 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18213 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18214 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18217 if test "${ac_cv_prog_CXX+set}" = set; then
18218 echo $ECHO_N "(cached) $ECHO_C" >&6
18220 if test -n "$CXX"; then
18221 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18224 for as_dir in $PATH
18227 test -z "$as_dir" && as_dir=.
18228 for ac_exec_ext in '' $ac_executable_extensions; do
18229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18230 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18240 CXX=$ac_cv_prog_CXX
18241 if test -n "$CXX"; then
18242 { echo "$as_me:$LINENO: result: $CXX" >&5
18243 echo "${ECHO_T}$CXX" >&6; }
18245 { echo "$as_me:$LINENO: result: no" >&5
18246 echo "${ECHO_T}no" >&6; }
18250 test -n "$CXX" && break
18253 if test -z "$CXX"; then
18255 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18257 # Extract the first word of "$ac_prog", so it can be a program name with args.
18258 set dummy $ac_prog; ac_word=$2
18259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18261 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18262 echo $ECHO_N "(cached) $ECHO_C" >&6
18264 if test -n "$ac_ct_CXX"; then
18265 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18268 for as_dir in $PATH
18271 test -z "$as_dir" && as_dir=.
18272 for ac_exec_ext in '' $ac_executable_extensions; do
18273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18274 ac_cv_prog_ac_ct_CXX="$ac_prog"
18275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18284 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18285 if test -n "$ac_ct_CXX"; then
18286 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18287 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18289 { echo "$as_me:$LINENO: result: no" >&5
18290 echo "${ECHO_T}no" >&6; }
18294 test -n "$ac_ct_CXX" && break
18297 if test "x$ac_ct_CXX" = x; then
18300 case $cross_compiling:$ac_tool_warned in
18302 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18303 whose name does not start with the host triplet. If you think this
18304 configuration is useful to you, please write to autoconf@gnu.org." >&5
18305 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18306 whose name does not start with the host triplet. If you think this
18307 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18308 ac_tool_warned=yes ;;
18316 # Provide some information about the compiler.
18317 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
18318 ac_compiler=`set X $ac_compile; echo $2`
18319 { (ac_try="$ac_compiler --version >&5"
18320 case "(($ac_try" in
18321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18322 *) ac_try_echo=$ac_try;;
18324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18325 (eval "$ac_compiler --version >&5") 2>&5
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); }
18329 { (ac_try="$ac_compiler -v >&5"
18330 case "(($ac_try" in
18331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18332 *) ac_try_echo=$ac_try;;
18334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18335 (eval "$ac_compiler -v >&5") 2>&5
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); }
18339 { (ac_try="$ac_compiler -V >&5"
18340 case "(($ac_try" in
18341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18342 *) ac_try_echo=$ac_try;;
18344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18345 (eval "$ac_compiler -V >&5") 2>&5
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); }
18350 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18351 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18352 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18353 echo $ECHO_N "(cached) $ECHO_C" >&6
18355 cat >conftest.$ac_ext <<_ACEOF
18358 cat confdefs.h >>conftest.$ac_ext
18359 cat >>conftest.$ac_ext <<_ACEOF
18360 /* end confdefs.h. */
18373 rm -f conftest.$ac_objext
18374 if { (ac_try="$ac_compile"
18375 case "(($ac_try" in
18376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18377 *) ac_try_echo=$ac_try;;
18379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18380 (eval "$ac_compile") 2>conftest.er1
18382 grep -v '^ *+' conftest.er1 >conftest.err
18384 cat conftest.err >&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); } && {
18387 test -z "$ac_cxx_werror_flag" ||
18388 test ! -s conftest.err
18389 } && test -s conftest.$ac_objext; then
18390 ac_compiler_gnu=yes
18392 echo "$as_me: failed program was:" >&5
18393 sed 's/^/| /' conftest.$ac_ext >&5
18398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18399 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18402 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18403 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18404 GXX=`test $ac_compiler_gnu = yes && echo yes`
18405 ac_test_CXXFLAGS=${CXXFLAGS+set}
18406 ac_save_CXXFLAGS=$CXXFLAGS
18407 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18408 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18409 if test "${ac_cv_prog_cxx_g+set}" = set; then
18410 echo $ECHO_N "(cached) $ECHO_C" >&6
18412 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18413 ac_cxx_werror_flag=yes
18414 ac_cv_prog_cxx_g=no
18416 cat >conftest.$ac_ext <<_ACEOF
18419 cat confdefs.h >>conftest.$ac_ext
18420 cat >>conftest.$ac_ext <<_ACEOF
18421 /* end confdefs.h. */
18431 rm -f conftest.$ac_objext
18432 if { (ac_try="$ac_compile"
18433 case "(($ac_try" in
18434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18435 *) ac_try_echo=$ac_try;;
18437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18438 (eval "$ac_compile") 2>conftest.er1
18440 grep -v '^ *+' conftest.er1 >conftest.err
18442 cat conftest.err >&5
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); } && {
18445 test -z "$ac_cxx_werror_flag" ||
18446 test ! -s conftest.err
18447 } && test -s conftest.$ac_objext; then
18448 ac_cv_prog_cxx_g=yes
18450 echo "$as_me: failed program was:" >&5
18451 sed 's/^/| /' conftest.$ac_ext >&5
18454 cat >conftest.$ac_ext <<_ACEOF
18457 cat confdefs.h >>conftest.$ac_ext
18458 cat >>conftest.$ac_ext <<_ACEOF
18459 /* end confdefs.h. */
18469 rm -f conftest.$ac_objext
18470 if { (ac_try="$ac_compile"
18471 case "(($ac_try" in
18472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18473 *) ac_try_echo=$ac_try;;
18475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18476 (eval "$ac_compile") 2>conftest.er1
18478 grep -v '^ *+' conftest.er1 >conftest.err
18480 cat conftest.err >&5
18481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18482 (exit $ac_status); } && {
18483 test -z "$ac_cxx_werror_flag" ||
18484 test ! -s conftest.err
18485 } && test -s conftest.$ac_objext; then
18488 echo "$as_me: failed program was:" >&5
18489 sed 's/^/| /' conftest.$ac_ext >&5
18491 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18493 cat >conftest.$ac_ext <<_ACEOF
18496 cat confdefs.h >>conftest.$ac_ext
18497 cat >>conftest.$ac_ext <<_ACEOF
18498 /* end confdefs.h. */
18508 rm -f conftest.$ac_objext
18509 if { (ac_try="$ac_compile"
18510 case "(($ac_try" in
18511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18512 *) ac_try_echo=$ac_try;;
18514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18515 (eval "$ac_compile") 2>conftest.er1
18517 grep -v '^ *+' conftest.er1 >conftest.err
18519 cat conftest.err >&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); } && {
18522 test -z "$ac_cxx_werror_flag" ||
18523 test ! -s conftest.err
18524 } && test -s conftest.$ac_objext; then
18525 ac_cv_prog_cxx_g=yes
18527 echo "$as_me: failed program was:" >&5
18528 sed 's/^/| /' conftest.$ac_ext >&5
18533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18540 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18542 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18543 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18544 if test "$ac_test_CXXFLAGS" = set; then
18545 CXXFLAGS=$ac_save_CXXFLAGS
18546 elif test $ac_cv_prog_cxx_g = yes; then
18547 if test "$GXX" = yes; then
18553 if test "$GXX" = yes; then
18560 ac_cpp='$CPP $CPPFLAGS'
18561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18569 ac_cpp='$CXXCPP $CPPFLAGS'
18570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18574 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18575 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18576 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18577 echo $ECHO_N "(cached) $ECHO_C" >&6
18579 cat >conftest.$ac_ext <<_ACEOF
18582 cat confdefs.h >>conftest.$ac_ext
18583 cat >>conftest.$ac_ext <<_ACEOF
18584 /* end confdefs.h. */
18590 #ifndef __INTEL_COMPILER
18598 rm -f conftest.$ac_objext
18599 if { (ac_try="$ac_compile"
18600 case "(($ac_try" in
18601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18602 *) ac_try_echo=$ac_try;;
18604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18605 (eval "$ac_compile") 2>conftest.er1
18607 grep -v '^ *+' conftest.er1 >conftest.err
18609 cat conftest.err >&5
18610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18611 (exit $ac_status); } && {
18612 test -z "$ac_cxx_werror_flag" ||
18613 test ! -s conftest.err
18614 } && test -s conftest.$ac_objext; then
18615 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18617 echo "$as_me: failed program was:" >&5
18618 sed 's/^/| /' conftest.$ac_ext >&5
18620 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18628 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18629 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18630 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18636 ac_cpp='$CPP $CPPFLAGS'
18637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18644 if test "x$GCXX" != "xyes"; then
18645 if test "xCXX" = "xC"; then
18646 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18647 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18648 if test "${bakefile_cv_c_exto+set}" = set; then
18649 echo $ECHO_N "(cached) $ECHO_C" >&6
18651 cat >conftest.$ac_ext <<_ACEOF
18654 cat confdefs.h >>conftest.$ac_ext
18655 cat >>conftest.$ac_ext <<_ACEOF
18656 /* end confdefs.h. */
18666 rm -f conftest.$ac_objext conftest.$ac_ext.o
18667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18668 (eval $ac_compile) 2>&5
18670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18671 (exit $ac_status); }; then
18672 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18674 conftest.$ac_ext.o)
18675 bakefile_cv_c_exto="-ext o"
18682 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18683 See \`config.log' for more details." >&5
18684 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18685 See \`config.log' for more details." >&2;}
18686 { (exit 1); exit 1; }; }
18690 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18693 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18694 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18695 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18696 if test "c" = "c"; then
18697 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18699 if test "c" = "cxx"; then
18700 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18704 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18705 unset ac_cv_prog_cc_g
18706 ac_test_CFLAGS=${CFLAGS+set}
18707 ac_save_CFLAGS=$CFLAGS
18708 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18709 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18710 if test "${ac_cv_prog_cc_g+set}" = set; then
18711 echo $ECHO_N "(cached) $ECHO_C" >&6
18713 ac_save_c_werror_flag=$ac_c_werror_flag
18714 ac_c_werror_flag=yes
18717 cat >conftest.$ac_ext <<_ACEOF
18720 cat confdefs.h >>conftest.$ac_ext
18721 cat >>conftest.$ac_ext <<_ACEOF
18722 /* end confdefs.h. */
18732 rm -f conftest.$ac_objext
18733 if { (ac_try="$ac_compile"
18734 case "(($ac_try" in
18735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18736 *) ac_try_echo=$ac_try;;
18738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18739 (eval "$ac_compile") 2>conftest.er1
18741 grep -v '^ *+' conftest.er1 >conftest.err
18743 cat conftest.err >&5
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); } && {
18746 test -z "$ac_c_werror_flag" ||
18747 test ! -s conftest.err
18748 } && test -s conftest.$ac_objext; then
18749 ac_cv_prog_cc_g=yes
18751 echo "$as_me: failed program was:" >&5
18752 sed 's/^/| /' conftest.$ac_ext >&5
18755 cat >conftest.$ac_ext <<_ACEOF
18758 cat confdefs.h >>conftest.$ac_ext
18759 cat >>conftest.$ac_ext <<_ACEOF
18760 /* end confdefs.h. */
18770 rm -f conftest.$ac_objext
18771 if { (ac_try="$ac_compile"
18772 case "(($ac_try" in
18773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18774 *) ac_try_echo=$ac_try;;
18776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18777 (eval "$ac_compile") 2>conftest.er1
18779 grep -v '^ *+' conftest.er1 >conftest.err
18781 cat conftest.err >&5
18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783 (exit $ac_status); } && {
18784 test -z "$ac_c_werror_flag" ||
18785 test ! -s conftest.err
18786 } && test -s conftest.$ac_objext; then
18789 echo "$as_me: failed program was:" >&5
18790 sed 's/^/| /' conftest.$ac_ext >&5
18792 ac_c_werror_flag=$ac_save_c_werror_flag
18794 cat >conftest.$ac_ext <<_ACEOF
18797 cat confdefs.h >>conftest.$ac_ext
18798 cat >>conftest.$ac_ext <<_ACEOF
18799 /* end confdefs.h. */
18809 rm -f conftest.$ac_objext
18810 if { (ac_try="$ac_compile"
18811 case "(($ac_try" in
18812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18813 *) ac_try_echo=$ac_try;;
18815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18816 (eval "$ac_compile") 2>conftest.er1
18818 grep -v '^ *+' conftest.er1 >conftest.err
18820 cat conftest.err >&5
18821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18822 (exit $ac_status); } && {
18823 test -z "$ac_c_werror_flag" ||
18824 test ! -s conftest.err
18825 } && test -s conftest.$ac_objext; then
18826 ac_cv_prog_cc_g=yes
18828 echo "$as_me: failed program was:" >&5
18829 sed 's/^/| /' conftest.$ac_ext >&5
18834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18841 ac_c_werror_flag=$ac_save_c_werror_flag
18843 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18844 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18845 if test "$ac_test_CFLAGS" = set; then
18846 CFLAGS=$ac_save_CFLAGS
18847 elif test $ac_cv_prog_cc_g = yes; then
18848 if test "$GCC" = yes; then
18854 if test "$GCC" = yes; then
18868 ac_cpp='$CXXCPP $CPPFLAGS'
18869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18873 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18874 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18875 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18876 echo $ECHO_N "(cached) $ECHO_C" >&6
18878 cat >conftest.$ac_ext <<_ACEOF
18881 cat confdefs.h >>conftest.$ac_ext
18882 cat >>conftest.$ac_ext <<_ACEOF
18883 /* end confdefs.h. */
18897 rm -f conftest.$ac_objext
18898 if { (ac_try="$ac_compile"
18899 case "(($ac_try" in
18900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18901 *) ac_try_echo=$ac_try;;
18903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18904 (eval "$ac_compile") 2>conftest.er1
18906 grep -v '^ *+' conftest.er1 >conftest.err
18908 cat conftest.err >&5
18909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18910 (exit $ac_status); } && {
18911 test -z "$ac_cxx_werror_flag" ||
18912 test ! -s conftest.err
18913 } && test -s conftest.$ac_objext; then
18914 bakefile_cv_cxx_compiler___xlC__=yes
18916 echo "$as_me: failed program was:" >&5
18917 sed 's/^/| /' conftest.$ac_ext >&5
18919 bakefile_cv_cxx_compiler___xlC__=no
18923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18927 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18928 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18929 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18935 ac_cpp='$CPP $CPPFLAGS'
18936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18948 ac_cpp='$CXXCPP $CPPFLAGS'
18949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18953 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18954 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18955 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18956 echo $ECHO_N "(cached) $ECHO_C" >&6
18958 cat >conftest.$ac_ext <<_ACEOF
18961 cat confdefs.h >>conftest.$ac_ext
18962 cat >>conftest.$ac_ext <<_ACEOF
18963 /* end confdefs.h. */
18977 rm -f conftest.$ac_objext
18978 if { (ac_try="$ac_compile"
18979 case "(($ac_try" in
18980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18981 *) ac_try_echo=$ac_try;;
18983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18984 (eval "$ac_compile") 2>conftest.er1
18986 grep -v '^ *+' conftest.er1 >conftest.err
18988 cat conftest.err >&5
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); } && {
18991 test -z "$ac_cxx_werror_flag" ||
18992 test ! -s conftest.err
18993 } && test -s conftest.$ac_objext; then
18994 bakefile_cv_cxx_compiler___MWERKS__=yes
18996 echo "$as_me: failed program was:" >&5
18997 sed 's/^/| /' conftest.$ac_ext >&5
18999 bakefile_cv_cxx_compiler___MWERKS__=no
19003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19007 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19008 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19009 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19015 ac_cpp='$CPP $CPPFLAGS'
19016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19025 ac_cpp='$CXXCPP $CPPFLAGS'
19026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19030 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19031 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19032 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19033 echo $ECHO_N "(cached) $ECHO_C" >&6
19035 cat >conftest.$ac_ext <<_ACEOF
19038 cat confdefs.h >>conftest.$ac_ext
19039 cat >>conftest.$ac_ext <<_ACEOF
19040 /* end confdefs.h. */
19054 rm -f conftest.$ac_objext
19055 if { (ac_try="$ac_compile"
19056 case "(($ac_try" in
19057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19058 *) ac_try_echo=$ac_try;;
19060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19061 (eval "$ac_compile") 2>conftest.er1
19063 grep -v '^ *+' conftest.er1 >conftest.err
19065 cat conftest.err >&5
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); } && {
19068 test -z "$ac_cxx_werror_flag" ||
19069 test ! -s conftest.err
19070 } && test -s conftest.$ac_objext; then
19071 bakefile_cv_cxx_compiler___xlC__=yes
19073 echo "$as_me: failed program was:" >&5
19074 sed 's/^/| /' conftest.$ac_ext >&5
19076 bakefile_cv_cxx_compiler___xlC__=no
19080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19084 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19085 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19086 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19092 ac_cpp='$CPP $CPPFLAGS'
19093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19105 ac_cpp='$CXXCPP $CPPFLAGS'
19106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19110 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19111 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19112 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19113 echo $ECHO_N "(cached) $ECHO_C" >&6
19115 cat >conftest.$ac_ext <<_ACEOF
19118 cat confdefs.h >>conftest.$ac_ext
19119 cat >>conftest.$ac_ext <<_ACEOF
19120 /* end confdefs.h. */
19126 #ifndef _SGI_COMPILER_VERSION
19134 rm -f conftest.$ac_objext
19135 if { (ac_try="$ac_compile"
19136 case "(($ac_try" in
19137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19138 *) ac_try_echo=$ac_try;;
19140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19141 (eval "$ac_compile") 2>conftest.er1
19143 grep -v '^ *+' conftest.er1 >conftest.err
19145 cat conftest.err >&5
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); } && {
19148 test -z "$ac_cxx_werror_flag" ||
19149 test ! -s conftest.err
19150 } && test -s conftest.$ac_objext; then
19151 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19153 echo "$as_me: failed program was:" >&5
19154 sed 's/^/| /' conftest.$ac_ext >&5
19156 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19164 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19165 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19166 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19172 ac_cpp='$CPP $CPPFLAGS'
19173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19185 ac_cpp='$CXXCPP $CPPFLAGS'
19186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19190 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19191 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19192 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19193 echo $ECHO_N "(cached) $ECHO_C" >&6
19195 cat >conftest.$ac_ext <<_ACEOF
19198 cat confdefs.h >>conftest.$ac_ext
19199 cat >>conftest.$ac_ext <<_ACEOF
19200 /* end confdefs.h. */
19206 #ifndef __SUNPRO_CC
19214 rm -f conftest.$ac_objext
19215 if { (ac_try="$ac_compile"
19216 case "(($ac_try" in
19217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19218 *) ac_try_echo=$ac_try;;
19220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19221 (eval "$ac_compile") 2>conftest.er1
19223 grep -v '^ *+' conftest.er1 >conftest.err
19225 cat conftest.err >&5
19226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227 (exit $ac_status); } && {
19228 test -z "$ac_cxx_werror_flag" ||
19229 test ! -s conftest.err
19230 } && test -s conftest.$ac_objext; then
19231 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19233 echo "$as_me: failed program was:" >&5
19234 sed 's/^/| /' conftest.$ac_ext >&5
19236 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19244 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19245 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19246 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19252 ac_cpp='$CPP $CPPFLAGS'
19253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19265 ac_cpp='$CXXCPP $CPPFLAGS'
19266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19270 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19271 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19272 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19273 echo $ECHO_N "(cached) $ECHO_C" >&6
19275 cat >conftest.$ac_ext <<_ACEOF
19278 cat confdefs.h >>conftest.$ac_ext
19279 cat >>conftest.$ac_ext <<_ACEOF
19280 /* end confdefs.h. */
19294 rm -f conftest.$ac_objext
19295 if { (ac_try="$ac_compile"
19296 case "(($ac_try" in
19297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19298 *) ac_try_echo=$ac_try;;
19300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19301 (eval "$ac_compile") 2>conftest.er1
19303 grep -v '^ *+' conftest.er1 >conftest.err
19305 cat conftest.err >&5
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); } && {
19308 test -z "$ac_cxx_werror_flag" ||
19309 test ! -s conftest.err
19310 } && test -s conftest.$ac_objext; then
19311 bakefile_cv_cxx_compiler___HP_aCC=yes
19313 echo "$as_me: failed program was:" >&5
19314 sed 's/^/| /' conftest.$ac_ext >&5
19316 bakefile_cv_cxx_compiler___HP_aCC=no
19320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19324 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19325 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19326 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19332 ac_cpp='$CPP $CPPFLAGS'
19333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19345 ac_cpp='$CXXCPP $CPPFLAGS'
19346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19350 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19351 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19352 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19353 echo $ECHO_N "(cached) $ECHO_C" >&6
19355 cat >conftest.$ac_ext <<_ACEOF
19358 cat confdefs.h >>conftest.$ac_ext
19359 cat >>conftest.$ac_ext <<_ACEOF
19360 /* end confdefs.h. */
19374 rm -f conftest.$ac_objext
19375 if { (ac_try="$ac_compile"
19376 case "(($ac_try" in
19377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19378 *) ac_try_echo=$ac_try;;
19380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19381 (eval "$ac_compile") 2>conftest.er1
19383 grep -v '^ *+' conftest.er1 >conftest.err
19385 cat conftest.err >&5
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); } && {
19388 test -z "$ac_cxx_werror_flag" ||
19389 test ! -s conftest.err
19390 } && test -s conftest.$ac_objext; then
19391 bakefile_cv_cxx_compiler___DECCXX=yes
19393 echo "$as_me: failed program was:" >&5
19394 sed 's/^/| /' conftest.$ac_ext >&5
19396 bakefile_cv_cxx_compiler___DECCXX=no
19400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19404 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19405 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19406 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19412 ac_cpp='$CPP $CPPFLAGS'
19413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19425 ac_cpp='$CXXCPP $CPPFLAGS'
19426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19430 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19431 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19432 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19433 echo $ECHO_N "(cached) $ECHO_C" >&6
19435 cat >conftest.$ac_ext <<_ACEOF
19438 cat confdefs.h >>conftest.$ac_ext
19439 cat >>conftest.$ac_ext <<_ACEOF
19440 /* end confdefs.h. */
19446 #ifndef __SUNPRO_CC
19454 rm -f conftest.$ac_objext
19455 if { (ac_try="$ac_compile"
19456 case "(($ac_try" in
19457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19458 *) ac_try_echo=$ac_try;;
19460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19461 (eval "$ac_compile") 2>conftest.er1
19463 grep -v '^ *+' conftest.er1 >conftest.err
19465 cat conftest.err >&5
19466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19467 (exit $ac_status); } && {
19468 test -z "$ac_cxx_werror_flag" ||
19469 test ! -s conftest.err
19470 } && test -s conftest.$ac_objext; then
19471 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19473 echo "$as_me: failed program was:" >&5
19474 sed 's/^/| /' conftest.$ac_ext >&5
19476 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19484 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19485 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19486 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19492 ac_cpp='$CPP $CPPFLAGS'
19493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19505 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19506 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19507 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19508 { (exit 1); exit 1; }; }
19511 if test -n "$ac_tool_prefix"; then
19512 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19513 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19514 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19516 if test "${ac_cv_prog_RANLIB+set}" = set; then
19517 echo $ECHO_N "(cached) $ECHO_C" >&6
19519 if test -n "$RANLIB"; then
19520 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19523 for as_dir in $PATH
19526 test -z "$as_dir" && as_dir=.
19527 for ac_exec_ext in '' $ac_executable_extensions; do
19528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19529 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19539 RANLIB=$ac_cv_prog_RANLIB
19540 if test -n "$RANLIB"; then
19541 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19542 echo "${ECHO_T}$RANLIB" >&6; }
19544 { echo "$as_me:$LINENO: result: no" >&5
19545 echo "${ECHO_T}no" >&6; }
19550 if test -z "$ac_cv_prog_RANLIB"; then
19551 ac_ct_RANLIB=$RANLIB
19552 # Extract the first word of "ranlib", so it can be a program name with args.
19553 set dummy ranlib; ac_word=$2
19554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19556 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19557 echo $ECHO_N "(cached) $ECHO_C" >&6
19559 if test -n "$ac_ct_RANLIB"; then
19560 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19563 for as_dir in $PATH
19566 test -z "$as_dir" && as_dir=.
19567 for ac_exec_ext in '' $ac_executable_extensions; do
19568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19569 ac_cv_prog_ac_ct_RANLIB="ranlib"
19570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19579 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19580 if test -n "$ac_ct_RANLIB"; then
19581 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19582 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
19584 { echo "$as_me:$LINENO: result: no" >&5
19585 echo "${ECHO_T}no" >&6; }
19588 if test "x$ac_ct_RANLIB" = x; then
19591 case $cross_compiling:$ac_tool_warned in
19593 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19594 whose name does not start with the host triplet. If you think this
19595 configuration is useful to you, please write to autoconf@gnu.org." >&5
19596 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19597 whose name does not start with the host triplet. If you think this
19598 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19599 ac_tool_warned=yes ;;
19601 RANLIB=$ac_ct_RANLIB
19604 RANLIB="$ac_cv_prog_RANLIB"
19608 if test "x$SUNCXX" != xyes; then
19609 if test -n "$ac_tool_prefix"; then
19610 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19611 set dummy ${ac_tool_prefix}ar; ac_word=$2
19612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19614 if test "${ac_cv_prog_AR+set}" = set; then
19615 echo $ECHO_N "(cached) $ECHO_C" >&6
19617 if test -n "$AR"; then
19618 ac_cv_prog_AR="$AR" # Let the user override the test.
19620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19621 for as_dir in $PATH
19624 test -z "$as_dir" && as_dir=.
19625 for ac_exec_ext in '' $ac_executable_extensions; do
19626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19627 ac_cv_prog_AR="${ac_tool_prefix}ar"
19628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19638 if test -n "$AR"; then
19639 { echo "$as_me:$LINENO: result: $AR" >&5
19640 echo "${ECHO_T}$AR" >&6; }
19642 { echo "$as_me:$LINENO: result: no" >&5
19643 echo "${ECHO_T}no" >&6; }
19648 if test -z "$ac_cv_prog_AR"; then
19650 # Extract the first word of "ar", so it can be a program name with args.
19651 set dummy ar; ac_word=$2
19652 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19654 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19655 echo $ECHO_N "(cached) $ECHO_C" >&6
19657 if test -n "$ac_ct_AR"; then
19658 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19661 for as_dir in $PATH
19664 test -z "$as_dir" && as_dir=.
19665 for ac_exec_ext in '' $ac_executable_extensions; do
19666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19667 ac_cv_prog_ac_ct_AR="ar"
19668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19677 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19678 if test -n "$ac_ct_AR"; then
19679 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19680 echo "${ECHO_T}$ac_ct_AR" >&6; }
19682 { echo "$as_me:$LINENO: result: no" >&5
19683 echo "${ECHO_T}no" >&6; }
19686 if test "x$ac_ct_AR" = x; then
19689 case $cross_compiling:$ac_tool_warned in
19691 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19692 whose name does not start with the host triplet. If you think this
19693 configuration is useful to you, please write to autoconf@gnu.org." >&5
19694 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19695 whose name does not start with the host triplet. If you think this
19696 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19697 ac_tool_warned=yes ;;
19702 AR="$ac_cv_prog_AR"
19705 if test "x$AR" = "x" ; then
19706 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19707 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19708 { (exit 1); exit 1; }; }
19712 # Find a good install program. We prefer a C program (faster),
19713 # so one script is as good as another. But avoid the broken or
19714 # incompatible versions:
19715 # SysV /etc/install, /usr/sbin/install
19716 # SunOS /usr/etc/install
19717 # IRIX /sbin/install
19719 # AmigaOS /C/install, which installs bootblocks on floppy discs
19720 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19721 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19722 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19723 # OS/2's system install, which has a completely different semantic
19724 # ./install, which can be erroneously created by make from ./install.sh.
19725 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19726 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19727 if test -z "$INSTALL"; then
19728 if test "${ac_cv_path_install+set}" = set; then
19729 echo $ECHO_N "(cached) $ECHO_C" >&6
19731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19732 for as_dir in $PATH
19735 test -z "$as_dir" && as_dir=.
19736 # Account for people who put trailing slashes in PATH elements.
19738 ./ | .// | /cC/* | \
19739 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19740 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19743 # OSF1 and SCO ODT 3.0 have their own names for install.
19744 # Don't use installbsd from OSF since it installs stuff as root
19746 for ac_prog in ginstall scoinst install; do
19747 for ac_exec_ext in '' $ac_executable_extensions; do
19748 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19749 if test $ac_prog = install &&
19750 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19751 # AIX install. It has an incompatible calling convention.
19753 elif test $ac_prog = install &&
19754 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19755 # program-specific install script used by HP pwplus--don't use.
19758 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19771 if test "${ac_cv_path_install+set}" = set; then
19772 INSTALL=$ac_cv_path_install
19774 # As a last resort, use the slow shell script. Don't cache a
19775 # value for INSTALL within a source directory, because that will
19776 # break other packages using the cache if that directory is
19777 # removed, or if the value is a relative name.
19778 INSTALL=$ac_install_sh
19781 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19782 echo "${ECHO_T}$INSTALL" >&6; }
19784 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19785 # It thinks the first close brace ends the variable substitution.
19786 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19788 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19790 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19796 ?:* ) # Drive letter, considered as absolute.
19799 INSTALL=`pwd`/${INSTALL} ;;
19806 INSTALL_PROGRAM="cp -fp"
19807 INSTALL_DATA="cp -fp"
19813 if test -n "$ac_tool_prefix"; then
19814 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19815 set dummy ${ac_tool_prefix}strip; ac_word=$2
19816 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19818 if test "${ac_cv_prog_STRIP+set}" = set; then
19819 echo $ECHO_N "(cached) $ECHO_C" >&6
19821 if test -n "$STRIP"; then
19822 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19825 for as_dir in $PATH
19828 test -z "$as_dir" && as_dir=.
19829 for ac_exec_ext in '' $ac_executable_extensions; do
19830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19831 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19841 STRIP=$ac_cv_prog_STRIP
19842 if test -n "$STRIP"; then
19843 { echo "$as_me:$LINENO: result: $STRIP" >&5
19844 echo "${ECHO_T}$STRIP" >&6; }
19846 { echo "$as_me:$LINENO: result: no" >&5
19847 echo "${ECHO_T}no" >&6; }
19852 if test -z "$ac_cv_prog_STRIP"; then
19854 # Extract the first word of "strip", so it can be a program name with args.
19855 set dummy strip; ac_word=$2
19856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19858 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19859 echo $ECHO_N "(cached) $ECHO_C" >&6
19861 if test -n "$ac_ct_STRIP"; then
19862 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19865 for as_dir in $PATH
19868 test -z "$as_dir" && as_dir=.
19869 for ac_exec_ext in '' $ac_executable_extensions; do
19870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19871 ac_cv_prog_ac_ct_STRIP="strip"
19872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19881 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19882 if test -n "$ac_ct_STRIP"; then
19883 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19884 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
19886 { echo "$as_me:$LINENO: result: no" >&5
19887 echo "${ECHO_T}no" >&6; }
19890 if test "x$ac_ct_STRIP" = x; then
19893 case $cross_compiling:$ac_tool_warned in
19895 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19896 whose name does not start with the host triplet. If you think this
19897 configuration is useful to you, please write to autoconf@gnu.org." >&5
19898 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19899 whose name does not start with the host triplet. If you think this
19900 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19901 ac_tool_warned=yes ;;
19906 STRIP="$ac_cv_prog_STRIP"
19910 if test "$wxUSE_WINE" = "yes"; then
19911 if test -n "$ac_tool_prefix"; then
19912 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
19913 set dummy ${ac_tool_prefix}wrc; ac_word=$2
19914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19916 if test "${ac_cv_prog_WINDRES+set}" = set; then
19917 echo $ECHO_N "(cached) $ECHO_C" >&6
19919 if test -n "$WINDRES"; then
19920 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19923 for as_dir in $PATH
19926 test -z "$as_dir" && as_dir=.
19927 for ac_exec_ext in '' $ac_executable_extensions; do
19928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19929 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
19930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19939 WINDRES=$ac_cv_prog_WINDRES
19940 if test -n "$WINDRES"; then
19941 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19942 echo "${ECHO_T}$WINDRES" >&6; }
19944 { echo "$as_me:$LINENO: result: no" >&5
19945 echo "${ECHO_T}no" >&6; }
19950 if test -z "$ac_cv_prog_WINDRES"; then
19951 ac_ct_WINDRES=$WINDRES
19952 # Extract the first word of "wrc", so it can be a program name with args.
19953 set dummy wrc; ac_word=$2
19954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19956 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19957 echo $ECHO_N "(cached) $ECHO_C" >&6
19959 if test -n "$ac_ct_WINDRES"; then
19960 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19963 for as_dir in $PATH
19966 test -z "$as_dir" && as_dir=.
19967 for ac_exec_ext in '' $ac_executable_extensions; do
19968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19969 ac_cv_prog_ac_ct_WINDRES="wrc"
19970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19979 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19980 if test -n "$ac_ct_WINDRES"; then
19981 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19982 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19984 { echo "$as_me:$LINENO: result: no" >&5
19985 echo "${ECHO_T}no" >&6; }
19988 if test "x$ac_ct_WINDRES" = x; then
19991 case $cross_compiling:$ac_tool_warned in
19993 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19994 whose name does not start with the host triplet. If you think this
19995 configuration is useful to you, please write to autoconf@gnu.org." >&5
19996 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19997 whose name does not start with the host triplet. If you think this
19998 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19999 ac_tool_warned=yes ;;
20001 WINDRES=$ac_ct_WINDRES
20004 WINDRES="$ac_cv_prog_WINDRES"
20010 *-*-cygwin* | *-*-mingw32* )
20011 if test -n "$ac_tool_prefix"; then
20012 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
20013 set dummy ${ac_tool_prefix}windres; ac_word=$2
20014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20016 if test "${ac_cv_prog_WINDRES+set}" = set; then
20017 echo $ECHO_N "(cached) $ECHO_C" >&6
20019 if test -n "$WINDRES"; then
20020 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
20022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20023 for as_dir in $PATH
20026 test -z "$as_dir" && as_dir=.
20027 for ac_exec_ext in '' $ac_executable_extensions; do
20028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20029 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
20030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20039 WINDRES=$ac_cv_prog_WINDRES
20040 if test -n "$WINDRES"; then
20041 { echo "$as_me:$LINENO: result: $WINDRES" >&5
20042 echo "${ECHO_T}$WINDRES" >&6; }
20044 { echo "$as_me:$LINENO: result: no" >&5
20045 echo "${ECHO_T}no" >&6; }
20050 if test -z "$ac_cv_prog_WINDRES"; then
20051 ac_ct_WINDRES=$WINDRES
20052 # Extract the first word of "windres", so it can be a program name with args.
20053 set dummy windres; ac_word=$2
20054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20056 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
20057 echo $ECHO_N "(cached) $ECHO_C" >&6
20059 if test -n "$ac_ct_WINDRES"; then
20060 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
20062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20063 for as_dir in $PATH
20066 test -z "$as_dir" && as_dir=.
20067 for ac_exec_ext in '' $ac_executable_extensions; do
20068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20069 ac_cv_prog_ac_ct_WINDRES="windres"
20070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20079 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
20080 if test -n "$ac_ct_WINDRES"; then
20081 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
20082 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
20084 { echo "$as_me:$LINENO: result: no" >&5
20085 echo "${ECHO_T}no" >&6; }
20088 if test "x$ac_ct_WINDRES" = x; then
20091 case $cross_compiling:$ac_tool_warned in
20093 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20094 whose name does not start with the host triplet. If you think this
20095 configuration is useful to you, please write to autoconf@gnu.org." >&5
20096 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20097 whose name does not start with the host triplet. If you think this
20098 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20099 ac_tool_warned=yes ;;
20101 WINDRES=$ac_ct_WINDRES
20104 WINDRES="$ac_cv_prog_WINDRES"
20108 if test -n "$ac_tool_prefix"; then
20109 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
20110 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
20111 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20113 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
20114 echo $ECHO_N "(cached) $ECHO_C" >&6
20116 if test -n "$DLLTOOL"; then
20117 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
20119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20120 for as_dir in $PATH
20123 test -z "$as_dir" && as_dir=.
20124 for ac_exec_ext in '' $ac_executable_extensions; do
20125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20126 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
20127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20136 DLLTOOL=$ac_cv_prog_DLLTOOL
20137 if test -n "$DLLTOOL"; then
20138 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
20139 echo "${ECHO_T}$DLLTOOL" >&6; }
20141 { echo "$as_me:$LINENO: result: no" >&5
20142 echo "${ECHO_T}no" >&6; }
20147 if test -z "$ac_cv_prog_DLLTOOL"; then
20148 ac_ct_DLLTOOL=$DLLTOOL
20149 # Extract the first word of "dlltool", so it can be a program name with args.
20150 set dummy dlltool; ac_word=$2
20151 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20153 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
20154 echo $ECHO_N "(cached) $ECHO_C" >&6
20156 if test -n "$ac_ct_DLLTOOL"; then
20157 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
20159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20160 for as_dir in $PATH
20163 test -z "$as_dir" && as_dir=.
20164 for ac_exec_ext in '' $ac_executable_extensions; do
20165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20166 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
20167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20176 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
20177 if test -n "$ac_ct_DLLTOOL"; then
20178 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
20179 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
20181 { echo "$as_me:$LINENO: result: no" >&5
20182 echo "${ECHO_T}no" >&6; }
20185 if test "x$ac_ct_DLLTOOL" = x; then
20188 case $cross_compiling:$ac_tool_warned in
20190 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20191 whose name does not start with the host triplet. If you think this
20192 configuration is useful to you, please write to autoconf@gnu.org." >&5
20193 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20194 whose name does not start with the host triplet. If you think this
20195 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20196 ac_tool_warned=yes ;;
20198 DLLTOOL=$ac_ct_DLLTOOL
20201 DLLTOOL="$ac_cv_prog_DLLTOOL"
20208 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
20209 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
20210 if test "${wx_cv_prog_makeisgnu+set}" = set; then
20211 echo $ECHO_N "(cached) $ECHO_C" >&6
20214 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
20215 $EGREP -s GNU > /dev/null); then
20216 wx_cv_prog_makeisgnu="yes"
20218 wx_cv_prog_makeisgnu="no"
20222 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
20223 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
20225 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
20233 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
20234 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
20235 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
20236 if test "${wx_cv_prog_makevpath+set}" = set; then
20237 echo $ECHO_N "(cached) $ECHO_C" >&6
20240 cat - << EOF > confMake
20246 if test ! -d sub ; then
20249 echo dummy > sub/file
20250 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
20252 rm -f sub/file check final_file confMake
20254 if test "$RESULT" = 0; then
20255 wx_cv_prog_makevpath="yes"
20257 wx_cv_prog_makevpath="no"
20261 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
20262 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
20264 if test "x$wx_cv_prog_makevpath" != "xyes"; then
20265 { { echo "$as_me:$LINENO: error:
20266 You need a make-utility that is able to use the variable
20268 If your version of make does not support VPATH correctly,
20269 please install GNU-make (possibly as gmake), and start
20270 configure with the following command:
20271 export MAKE=gmake; ./configure for sh-type shells
20272 setenv MAKE gmake; ./configure for csh-type shells
20273 Also please do remember to use gmake in this case every time
20274 you are trying to compile.
20276 echo "$as_me: error:
20277 You need a make-utility that is able to use the variable
20279 If your version of make does not support VPATH correctly,
20280 please install GNU-make (possibly as gmake), and start
20281 configure with the following command:
20282 export MAKE=gmake; ./configure for sh-type shells
20283 setenv MAKE gmake; ./configure for csh-type shells
20284 Also please do remember to use gmake in this case every time
20285 you are trying to compile.
20287 { (exit 1); exit 1; }; }
20289 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
20290 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
20292 if test "$LN_S" = "ln -s"; then
20293 { echo "$as_me:$LINENO: result: yes" >&5
20294 echo "${ECHO_T}yes" >&6; }
20296 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20297 echo "${ECHO_T}no, using $LN_S" >&6; }
20303 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20304 CXXFLAGS="-qunique $CXXFLAGS"
20308 powerpc-*-darwin* )
20309 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20310 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20311 cat >conftest.$ac_ext <<_ACEOF
20314 cat confdefs.h >>conftest.$ac_ext
20315 cat >>conftest.$ac_ext <<_ACEOF
20316 /* end confdefs.h. */
20321 #ifndef __POWERPC__
20322 choke me for lack of PowerPC
20329 rm -f conftest.$ac_objext
20330 if { (ac_try="$ac_compile"
20331 case "(($ac_try" in
20332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20333 *) ac_try_echo=$ac_try;;
20335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20336 (eval "$ac_compile") 2>conftest.er1
20338 grep -v '^ *+' conftest.er1 >conftest.err
20340 cat conftest.err >&5
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); } && {
20343 test -z "$ac_c_werror_flag" ||
20344 test ! -s conftest.err
20345 } && test -s conftest.$ac_objext; then
20346 { echo "$as_me:$LINENO: result: yes" >&5
20347 echo "${ECHO_T}yes" >&6; }
20349 echo "$as_me: failed program was:" >&5
20350 sed 's/^/| /' conftest.$ac_ext >&5
20352 { echo "$as_me:$LINENO: result: no" >&5
20353 echo "${ECHO_T}no" >&6; }
20354 cat >>confdefs.h <<\_ACEOF
20355 #define __POWERPC__ 1
20361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20367 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20368 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20369 cat >conftest.$ac_ext <<_ACEOF
20372 cat confdefs.h >>conftest.$ac_ext
20373 cat >>conftest.$ac_ext <<_ACEOF
20374 /* end confdefs.h. */
20375 #include <CoreFoundation/CFBase.h>
20385 rm -f conftest.$ac_objext
20386 if { (ac_try="$ac_compile"
20387 case "(($ac_try" in
20388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20389 *) ac_try_echo=$ac_try;;
20391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20392 (eval "$ac_compile") 2>conftest.er1
20394 grep -v '^ *+' conftest.er1 >conftest.err
20396 cat conftest.err >&5
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); } && {
20399 test -z "$ac_c_werror_flag" ||
20400 test ! -s conftest.err
20401 } && test -s conftest.$ac_objext; then
20402 { echo "$as_me:$LINENO: result: yes" >&5
20403 echo "${ECHO_T}yes" >&6; }
20405 echo "$as_me: failed program was:" >&5
20406 sed 's/^/| /' conftest.$ac_ext >&5
20408 { echo "$as_me:$LINENO: result: no" >&5
20409 echo "${ECHO_T}no" >&6; }
20410 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20411 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20412 cat >conftest.$ac_ext <<_ACEOF
20415 cat confdefs.h >>conftest.$ac_ext
20416 cat >>conftest.$ac_ext <<_ACEOF
20417 /* end confdefs.h. */
20418 #define __CF_USE_FRAMEWORK_INCLUDES__
20419 #include <CoreFoundation/CFBase.h>
20429 rm -f conftest.$ac_objext
20430 if { (ac_try="$ac_compile"
20431 case "(($ac_try" in
20432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20433 *) ac_try_echo=$ac_try;;
20435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20436 (eval "$ac_compile") 2>conftest.er1
20438 grep -v '^ *+' conftest.er1 >conftest.err
20440 cat conftest.err >&5
20441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20442 (exit $ac_status); } && {
20443 test -z "$ac_c_werror_flag" ||
20444 test ! -s conftest.err
20445 } && test -s conftest.$ac_objext; then
20446 { echo "$as_me:$LINENO: result: yes" >&5
20447 echo "${ECHO_T}yes" >&6; }
20448 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20450 echo "$as_me: failed program was:" >&5
20451 sed 's/^/| /' conftest.$ac_ext >&5
20453 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20454 See \`config.log' for more details." >&5
20455 echo "$as_me: error: no. CoreFoundation not available.
20456 See \`config.log' for more details." >&2;}
20457 { (exit 1); exit 1; }; }
20461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20471 doesnt_want_win32=0
20474 if test "$wxUSE_MSW" = 1 ; then
20477 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20478 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20479 if test "${wx_cv_nocygwin+set}" = set; then
20480 echo $ECHO_N "(cached) $ECHO_C" >&6
20483 cat >conftest.$ac_ext <<_ACEOF
20486 cat confdefs.h >>conftest.$ac_ext
20487 cat >>conftest.$ac_ext <<_ACEOF
20488 /* end confdefs.h. */
20502 rm -f conftest.$ac_objext
20503 if { (ac_try="$ac_compile"
20504 case "(($ac_try" in
20505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20506 *) ac_try_echo=$ac_try;;
20508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20509 (eval "$ac_compile") 2>conftest.er1
20511 grep -v '^ *+' conftest.er1 >conftest.err
20513 cat conftest.err >&5
20514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20515 (exit $ac_status); } && {
20516 test -z "$ac_c_werror_flag" ||
20517 test ! -s conftest.err
20518 } && test -s conftest.$ac_objext; then
20521 echo "$as_me: failed program was:" >&5
20522 sed 's/^/| /' conftest.$ac_ext >&5
20528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20532 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20533 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20535 if test "$wx_cv_nocygwin" = "yes"; then
20538 doesnt_want_win32=1
20541 if test "$wants_win32" = 1 ; then
20542 BAKEFILE_FORCE_PLATFORM=win32
20550 if test "$wxUSE_WINE" = "yes"; then
20552 LDFLAGS_GUI="-mwindows"
20555 if test "$wants_win32" = 1 ; then
20558 cat >>confdefs.h <<\_ACEOF
20559 #define __WIN32__ 1
20562 cat >>confdefs.h <<\_ACEOF
20563 #define __WIN95__ 1
20566 cat >>confdefs.h <<\_ACEOF
20567 #define __WINDOWS__ 1
20570 cat >>confdefs.h <<\_ACEOF
20571 #define __GNUWIN32__ 1
20574 cat >>confdefs.h <<\_ACEOF
20579 if test "$doesnt_want_win32" = 1 ; then
20584 if test "$USE_UNIX" = 1 ; then
20586 cat >>confdefs.h <<\_ACEOF
20593 *-pc-os2_emx | *-pc-os2-emx )
20594 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20595 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20596 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20597 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20598 echo $ECHO_N "(cached) $ECHO_C" >&6
20600 ac_check_lib_save_LIBS=$LIBS
20601 LIBS="-lcExt $LIBS"
20602 cat >conftest.$ac_ext <<_ACEOF
20605 cat confdefs.h >>conftest.$ac_ext
20606 cat >>conftest.$ac_ext <<_ACEOF
20607 /* end confdefs.h. */
20609 /* Override any GCC internal prototype to avoid an error.
20610 Use char because int might match the return type of a GCC
20611 builtin and then its argument prototype would still apply. */
20624 rm -f conftest.$ac_objext conftest$ac_exeext
20625 if { (ac_try="$ac_link"
20626 case "(($ac_try" in
20627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20628 *) ac_try_echo=$ac_try;;
20630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20631 (eval "$ac_link") 2>conftest.er1
20633 grep -v '^ *+' conftest.er1 >conftest.err
20635 cat conftest.err >&5
20636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637 (exit $ac_status); } && {
20638 test -z "$ac_c_werror_flag" ||
20639 test ! -s conftest.err
20640 } && test -s conftest$ac_exeext &&
20641 $as_test_x conftest$ac_exeext; then
20642 ac_cv_lib_cExt_drand48=yes
20644 echo "$as_me: failed program was:" >&5
20645 sed 's/^/| /' conftest.$ac_ext >&5
20647 ac_cv_lib_cExt_drand48=no
20650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20651 conftest$ac_exeext conftest.$ac_ext
20652 LIBS=$ac_check_lib_save_LIBS
20654 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20655 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20656 if test $ac_cv_lib_cExt_drand48 = yes; then
20657 LIBS="$LIBS -lcExt"
20661 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20663 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20664 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20665 if test "${wx_cv_gccversion+set}" = set; then
20666 echo $ECHO_N "(cached) $ECHO_C" >&6
20669 if test "$cross_compiling" = yes; then
20670 wx_cv_gccversion="EMX2"
20673 cat >conftest.$ac_ext <<_ACEOF
20676 cat confdefs.h >>conftest.$ac_ext
20677 cat >>conftest.$ac_ext <<_ACEOF
20678 /* end confdefs.h. */
20684 FILE *f=fopen("conftestval", "w");
20689 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20691 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20701 rm -f conftest$ac_exeext
20702 if { (ac_try="$ac_link"
20703 case "(($ac_try" in
20704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20705 *) ac_try_echo=$ac_try;;
20707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20708 (eval "$ac_link") 2>&5
20710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20711 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20712 { (case "(($ac_try" in
20713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20714 *) ac_try_echo=$ac_try;;
20716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20717 (eval "$ac_try") 2>&5
20719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720 (exit $ac_status); }; }; then
20721 wx_cv_gccversion=`cat conftestval`
20723 echo "$as_me: program exited with status $ac_status" >&5
20724 echo "$as_me: failed program was:" >&5
20725 sed 's/^/| /' conftest.$ac_ext >&5
20727 ( exit $ac_status )
20728 wx_cv_gccversion="EMX2"
20730 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20736 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20737 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20738 if test "$wx_cv_gccversion" = "EMX2"; then
20739 LIBS="$LIBS -lstdcpp"
20740 LDFLAGS="$LDFLAGS -Zsysv-signals"
20742 if test "$wx_cv_gccversion" = "EMX3"; then
20743 LIBS="$LIBS -lstdcxx -lgcc"
20744 LDFLAGS="$LDFLAGS -Zsysv-signals"
20746 LIBS="$LIBS -lstdc++"
20749 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20750 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20751 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20758 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20759 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20760 if test "${ac_cv_string_strcasecmp+set}" = set; then
20761 echo $ECHO_N "(cached) $ECHO_C" >&6
20764 cat >conftest.$ac_ext <<_ACEOF
20767 cat confdefs.h >>conftest.$ac_ext
20768 cat >>conftest.$ac_ext <<_ACEOF
20769 /* end confdefs.h. */
20771 #include <string.h>
20777 strcasecmp("foo", "bar");
20783 rm -f conftest.$ac_objext conftest$ac_exeext
20784 if { (ac_try="$ac_link"
20785 case "(($ac_try" in
20786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20787 *) ac_try_echo=$ac_try;;
20789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20790 (eval "$ac_link") 2>conftest.er1
20792 grep -v '^ *+' conftest.er1 >conftest.err
20794 cat conftest.err >&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); } && {
20797 test -z "$ac_c_werror_flag" ||
20798 test ! -s conftest.err
20799 } && test -s conftest$ac_exeext &&
20800 $as_test_x conftest$ac_exeext; then
20801 ac_cv_string_strcasecmp=yes
20803 echo "$as_me: failed program was:" >&5
20804 sed 's/^/| /' conftest.$ac_ext >&5
20806 ac_cv_string_strcasecmp=no
20810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20811 conftest$ac_exeext conftest.$ac_ext
20814 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20815 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20817 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20818 cat >>confdefs.h <<\_ACEOF
20819 #define HAVE_STRCASECMP_IN_STRING_H 1
20823 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20824 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20825 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20826 echo $ECHO_N "(cached) $ECHO_C" >&6
20829 cat >conftest.$ac_ext <<_ACEOF
20832 cat confdefs.h >>conftest.$ac_ext
20833 cat >>conftest.$ac_ext <<_ACEOF
20834 /* end confdefs.h. */
20836 #include <strings.h>
20842 strcasecmp("foo", "bar");
20848 rm -f conftest.$ac_objext conftest$ac_exeext
20849 if { (ac_try="$ac_link"
20850 case "(($ac_try" in
20851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20852 *) ac_try_echo=$ac_try;;
20854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20855 (eval "$ac_link") 2>conftest.er1
20857 grep -v '^ *+' conftest.er1 >conftest.err
20859 cat conftest.err >&5
20860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20861 (exit $ac_status); } && {
20862 test -z "$ac_c_werror_flag" ||
20863 test ! -s conftest.err
20864 } && test -s conftest$ac_exeext &&
20865 $as_test_x conftest$ac_exeext; then
20866 ac_cv_strings_strcasecmp=yes
20868 echo "$as_me: failed program was:" >&5
20869 sed 's/^/| /' conftest.$ac_ext >&5
20871 ac_cv_strings_strcasecmp=no
20875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20876 conftest$ac_exeext conftest.$ac_ext
20879 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20880 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20882 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20883 cat >>confdefs.h <<\_ACEOF
20884 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20888 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20889 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20890 { (exit 1); exit 1; }; }
20898 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20899 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20900 if test "${ac_cv_header_stdc+set}" = set; then
20901 echo $ECHO_N "(cached) $ECHO_C" >&6
20903 cat >conftest.$ac_ext <<_ACEOF
20906 cat confdefs.h >>conftest.$ac_ext
20907 cat >>conftest.$ac_ext <<_ACEOF
20908 /* end confdefs.h. */
20909 #include <stdlib.h>
20910 #include <stdarg.h>
20911 #include <string.h>
20922 rm -f conftest.$ac_objext
20923 if { (ac_try="$ac_compile"
20924 case "(($ac_try" in
20925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20926 *) ac_try_echo=$ac_try;;
20928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20929 (eval "$ac_compile") 2>conftest.er1
20931 grep -v '^ *+' conftest.er1 >conftest.err
20933 cat conftest.err >&5
20934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20935 (exit $ac_status); } && {
20936 test -z "$ac_c_werror_flag" ||
20937 test ! -s conftest.err
20938 } && test -s conftest.$ac_objext; then
20939 ac_cv_header_stdc=yes
20941 echo "$as_me: failed program was:" >&5
20942 sed 's/^/| /' conftest.$ac_ext >&5
20944 ac_cv_header_stdc=no
20947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20949 if test $ac_cv_header_stdc = yes; then
20950 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20951 cat >conftest.$ac_ext <<_ACEOF
20954 cat confdefs.h >>conftest.$ac_ext
20955 cat >>conftest.$ac_ext <<_ACEOF
20956 /* end confdefs.h. */
20957 #include <string.h>
20960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20961 $EGREP "memchr" >/dev/null 2>&1; then
20964 ac_cv_header_stdc=no
20970 if test $ac_cv_header_stdc = yes; then
20971 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20972 cat >conftest.$ac_ext <<_ACEOF
20975 cat confdefs.h >>conftest.$ac_ext
20976 cat >>conftest.$ac_ext <<_ACEOF
20977 /* end confdefs.h. */
20978 #include <stdlib.h>
20981 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20982 $EGREP "free" >/dev/null 2>&1; then
20985 ac_cv_header_stdc=no
20991 if test $ac_cv_header_stdc = yes; then
20992 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20993 if test "$cross_compiling" = yes; then
20996 cat >conftest.$ac_ext <<_ACEOF
20999 cat confdefs.h >>conftest.$ac_ext
21000 cat >>conftest.$ac_ext <<_ACEOF
21001 /* end confdefs.h. */
21003 #include <stdlib.h>
21004 #if ((' ' & 0x0FF) == 0x020)
21005 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21006 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21008 # define ISLOWER(c) \
21009 (('a' <= (c) && (c) <= 'i') \
21010 || ('j' <= (c) && (c) <= 'r') \
21011 || ('s' <= (c) && (c) <= 'z'))
21012 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21015 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21020 for (i = 0; i < 256; i++)
21021 if (XOR (islower (i), ISLOWER (i))
21022 || toupper (i) != TOUPPER (i))
21027 rm -f conftest$ac_exeext
21028 if { (ac_try="$ac_link"
21029 case "(($ac_try" in
21030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21031 *) ac_try_echo=$ac_try;;
21033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21034 (eval "$ac_link") 2>&5
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21038 { (case "(($ac_try" in
21039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21040 *) ac_try_echo=$ac_try;;
21042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21043 (eval "$ac_try") 2>&5
21045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21046 (exit $ac_status); }; }; then
21049 echo "$as_me: program exited with status $ac_status" >&5
21050 echo "$as_me: failed program was:" >&5
21051 sed 's/^/| /' conftest.$ac_ext >&5
21053 ( exit $ac_status )
21054 ac_cv_header_stdc=no
21056 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21062 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21063 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21064 if test $ac_cv_header_stdc = yes; then
21066 cat >>confdefs.h <<\_ACEOF
21067 #define STDC_HEADERS 1
21072 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21082 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21083 inttypes.h stdint.h unistd.h
21085 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21086 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21088 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21089 echo $ECHO_N "(cached) $ECHO_C" >&6
21091 cat >conftest.$ac_ext <<_ACEOF
21094 cat confdefs.h >>conftest.$ac_ext
21095 cat >>conftest.$ac_ext <<_ACEOF
21096 /* end confdefs.h. */
21097 $ac_includes_default
21099 #include <$ac_header>
21101 rm -f conftest.$ac_objext
21102 if { (ac_try="$ac_compile"
21103 case "(($ac_try" in
21104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21105 *) ac_try_echo=$ac_try;;
21107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21108 (eval "$ac_compile") 2>conftest.er1
21110 grep -v '^ *+' conftest.er1 >conftest.err
21112 cat conftest.err >&5
21113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114 (exit $ac_status); } && {
21115 test -z "$ac_c_werror_flag" ||
21116 test ! -s conftest.err
21117 } && test -s conftest.$ac_objext; then
21118 eval "$as_ac_Header=yes"
21120 echo "$as_me: failed program was:" >&5
21121 sed 's/^/| /' conftest.$ac_ext >&5
21123 eval "$as_ac_Header=no"
21126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21128 ac_res=`eval echo '${'$as_ac_Header'}'`
21129 { echo "$as_me:$LINENO: result: $ac_res" >&5
21130 echo "${ECHO_T}$ac_res" >&6; }
21131 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21132 cat >>confdefs.h <<_ACEOF
21133 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21147 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
21149 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21150 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21152 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21153 echo $ECHO_N "(cached) $ECHO_C" >&6
21155 cat >conftest.$ac_ext <<_ACEOF
21158 cat confdefs.h >>conftest.$ac_ext
21159 cat >>conftest.$ac_ext <<_ACEOF
21160 /* end confdefs.h. */
21161 $ac_includes_default
21163 #include <$ac_header>
21165 rm -f conftest.$ac_objext
21166 if { (ac_try="$ac_compile"
21167 case "(($ac_try" in
21168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21169 *) ac_try_echo=$ac_try;;
21171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21172 (eval "$ac_compile") 2>conftest.er1
21174 grep -v '^ *+' conftest.er1 >conftest.err
21176 cat conftest.err >&5
21177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178 (exit $ac_status); } && {
21179 test -z "$ac_c_werror_flag" ||
21180 test ! -s conftest.err
21181 } && test -s conftest.$ac_objext; then
21182 eval "$as_ac_Header=yes"
21184 echo "$as_me: failed program was:" >&5
21185 sed 's/^/| /' conftest.$ac_ext >&5
21187 eval "$as_ac_Header=no"
21190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21192 ac_res=`eval echo '${'$as_ac_Header'}'`
21193 { echo "$as_me:$LINENO: result: $ac_res" >&5
21194 echo "${ECHO_T}$ac_res" >&6; }
21195 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21196 cat >>confdefs.h <<_ACEOF
21197 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21205 if test "$ac_cv_header_wchar_h" != "yes"; then
21207 for ac_header in wcstr.h
21209 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21210 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21212 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21213 echo $ECHO_N "(cached) $ECHO_C" >&6
21215 cat >conftest.$ac_ext <<_ACEOF
21218 cat confdefs.h >>conftest.$ac_ext
21219 cat >>conftest.$ac_ext <<_ACEOF
21220 /* end confdefs.h. */
21221 $ac_includes_default
21223 #include <$ac_header>
21225 rm -f conftest.$ac_objext
21226 if { (ac_try="$ac_compile"
21227 case "(($ac_try" in
21228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21229 *) ac_try_echo=$ac_try;;
21231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21232 (eval "$ac_compile") 2>conftest.er1
21234 grep -v '^ *+' conftest.er1 >conftest.err
21236 cat conftest.err >&5
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); } && {
21239 test -z "$ac_c_werror_flag" ||
21240 test ! -s conftest.err
21241 } && test -s conftest.$ac_objext; then
21242 eval "$as_ac_Header=yes"
21244 echo "$as_me: failed program was:" >&5
21245 sed 's/^/| /' conftest.$ac_ext >&5
21247 eval "$as_ac_Header=no"
21250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21252 ac_res=`eval echo '${'$as_ac_Header'}'`
21253 { echo "$as_me:$LINENO: result: $ac_res" >&5
21254 echo "${ECHO_T}$ac_res" >&6; }
21255 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21256 cat >>confdefs.h <<_ACEOF
21257 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21267 *-pc-os2_emx | *-pc-os2-emx )
21268 if test $ac_cv_header_langinfo_h = "yes" \
21269 -a \( "$wx_cv_gccversion" = "EMX2" \
21270 -o "$wx_cv_gccversion" = "EMX3" \
21271 -o "$wx_cv_gccversion" = "Innotek5" \); then
21272 LIBS="$LIBS -lintl"
21277 if test "$USE_UNIX" = 1 ; then
21279 for ac_header in sys/select.h
21281 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21282 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21284 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21285 echo $ECHO_N "(cached) $ECHO_C" >&6
21287 cat >conftest.$ac_ext <<_ACEOF
21290 cat confdefs.h >>conftest.$ac_ext
21291 cat >>conftest.$ac_ext <<_ACEOF
21292 /* end confdefs.h. */
21293 $ac_includes_default
21295 #include <$ac_header>
21297 rm -f conftest.$ac_objext
21298 if { (ac_try="$ac_compile"
21299 case "(($ac_try" in
21300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21301 *) ac_try_echo=$ac_try;;
21303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21304 (eval "$ac_compile") 2>conftest.er1
21306 grep -v '^ *+' conftest.er1 >conftest.err
21308 cat conftest.err >&5
21309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310 (exit $ac_status); } && {
21311 test -z "$ac_c_werror_flag" ||
21312 test ! -s conftest.err
21313 } && test -s conftest.$ac_objext; then
21314 eval "$as_ac_Header=yes"
21316 echo "$as_me: failed program was:" >&5
21317 sed 's/^/| /' conftest.$ac_ext >&5
21319 eval "$as_ac_Header=no"
21322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21324 ac_res=`eval echo '${'$as_ac_Header'}'`
21325 { echo "$as_me:$LINENO: result: $ac_res" >&5
21326 echo "${ECHO_T}$ac_res" >&6; }
21327 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21328 cat >>confdefs.h <<_ACEOF
21329 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21339 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21340 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21341 if test "${ac_cv_c_const+set}" = set; then
21342 echo $ECHO_N "(cached) $ECHO_C" >&6
21344 cat >conftest.$ac_ext <<_ACEOF
21347 cat confdefs.h >>conftest.$ac_ext
21348 cat >>conftest.$ac_ext <<_ACEOF
21349 /* end confdefs.h. */
21354 /* FIXME: Include the comments suggested by Paul. */
21355 #ifndef __cplusplus
21356 /* Ultrix mips cc rejects this. */
21357 typedef int charset[2];
21359 /* SunOS 4.1.1 cc rejects this. */
21360 char const *const *pcpcc;
21362 /* NEC SVR4.0.2 mips cc rejects this. */
21363 struct point {int x, y;};
21364 static struct point const zero = {0,0};
21365 /* AIX XL C 1.02.0.0 rejects this.
21366 It does not let you subtract one const X* pointer from another in
21367 an arm of an if-expression whose if-part is not a constant
21369 const char *g = "string";
21370 pcpcc = &g + (g ? g-g : 0);
21371 /* HPUX 7.0 cc rejects these. */
21373 ppc = (char**) pcpcc;
21374 pcpcc = (char const *const *) ppc;
21375 { /* SCO 3.2v4 cc rejects this. */
21377 char const *s = 0 ? (char *) 0 : (char const *) 0;
21382 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21383 int x[] = {25, 17};
21384 const int *foo = &x[0];
21387 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21388 typedef const int *iptr;
21392 { /* AIX XL C 1.02.0.0 rejects this saying
21393 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21394 struct s { int j; const int *ap[3]; };
21395 struct s *b; b->j = 5;
21397 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21398 const int foo = 10;
21399 if (!foo) return 0;
21401 return !cs[0] && !zero.x;
21408 rm -f conftest.$ac_objext
21409 if { (ac_try="$ac_compile"
21410 case "(($ac_try" in
21411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21412 *) ac_try_echo=$ac_try;;
21414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21415 (eval "$ac_compile") 2>conftest.er1
21417 grep -v '^ *+' conftest.er1 >conftest.err
21419 cat conftest.err >&5
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); } && {
21422 test -z "$ac_c_werror_flag" ||
21423 test ! -s conftest.err
21424 } && test -s conftest.$ac_objext; then
21427 echo "$as_me: failed program was:" >&5
21428 sed 's/^/| /' conftest.$ac_ext >&5
21433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21435 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21436 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21437 if test $ac_cv_c_const = no; then
21439 cat >>confdefs.h <<\_ACEOF
21445 { echo "$as_me:$LINENO: checking for inline" >&5
21446 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21447 if test "${ac_cv_c_inline+set}" = set; then
21448 echo $ECHO_N "(cached) $ECHO_C" >&6
21451 for ac_kw in inline __inline__ __inline; do
21452 cat >conftest.$ac_ext <<_ACEOF
21455 cat confdefs.h >>conftest.$ac_ext
21456 cat >>conftest.$ac_ext <<_ACEOF
21457 /* end confdefs.h. */
21458 #ifndef __cplusplus
21460 static $ac_kw foo_t static_foo () {return 0; }
21461 $ac_kw foo_t foo () {return 0; }
21465 rm -f conftest.$ac_objext
21466 if { (ac_try="$ac_compile"
21467 case "(($ac_try" in
21468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21469 *) ac_try_echo=$ac_try;;
21471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21472 (eval "$ac_compile") 2>conftest.er1
21474 grep -v '^ *+' conftest.er1 >conftest.err
21476 cat conftest.err >&5
21477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21478 (exit $ac_status); } && {
21479 test -z "$ac_c_werror_flag" ||
21480 test ! -s conftest.err
21481 } && test -s conftest.$ac_objext; then
21482 ac_cv_c_inline=$ac_kw
21484 echo "$as_me: failed program was:" >&5
21485 sed 's/^/| /' conftest.$ac_ext >&5
21490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21491 test "$ac_cv_c_inline" != no && break
21495 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21496 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21499 case $ac_cv_c_inline in
21502 case $ac_cv_c_inline in
21504 *) ac_val=$ac_cv_c_inline;;
21506 cat >>confdefs.h <<_ACEOF
21507 #ifndef __cplusplus
21508 #define inline $ac_val
21515 { echo "$as_me:$LINENO: checking for short" >&5
21516 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21517 if test "${ac_cv_type_short+set}" = set; then
21518 echo $ECHO_N "(cached) $ECHO_C" >&6
21520 cat >conftest.$ac_ext <<_ACEOF
21523 cat confdefs.h >>conftest.$ac_ext
21524 cat >>conftest.$ac_ext <<_ACEOF
21525 /* end confdefs.h. */
21526 $ac_includes_default
21527 typedef short ac__type_new_;
21531 if ((ac__type_new_ *) 0)
21533 if (sizeof (ac__type_new_))
21539 rm -f conftest.$ac_objext
21540 if { (ac_try="$ac_compile"
21541 case "(($ac_try" in
21542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21543 *) ac_try_echo=$ac_try;;
21545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21546 (eval "$ac_compile") 2>conftest.er1
21548 grep -v '^ *+' conftest.er1 >conftest.err
21550 cat conftest.err >&5
21551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552 (exit $ac_status); } && {
21553 test -z "$ac_c_werror_flag" ||
21554 test ! -s conftest.err
21555 } && test -s conftest.$ac_objext; then
21556 ac_cv_type_short=yes
21558 echo "$as_me: failed program was:" >&5
21559 sed 's/^/| /' conftest.$ac_ext >&5
21561 ac_cv_type_short=no
21564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21566 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21567 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21569 # The cast to long int works around a bug in the HP C Compiler
21570 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21571 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21572 # This bug is HP SR number 8606223364.
21573 { echo "$as_me:$LINENO: checking size of short" >&5
21574 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21575 if test "${ac_cv_sizeof_short+set}" = set; then
21576 echo $ECHO_N "(cached) $ECHO_C" >&6
21578 if test "$cross_compiling" = yes; then
21579 # Depending upon the size, compute the lo and hi bounds.
21580 cat >conftest.$ac_ext <<_ACEOF
21583 cat confdefs.h >>conftest.$ac_ext
21584 cat >>conftest.$ac_ext <<_ACEOF
21585 /* end confdefs.h. */
21586 $ac_includes_default
21587 typedef short ac__type_sizeof_;
21591 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21598 rm -f conftest.$ac_objext
21599 if { (ac_try="$ac_compile"
21600 case "(($ac_try" in
21601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21602 *) ac_try_echo=$ac_try;;
21604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21605 (eval "$ac_compile") 2>conftest.er1
21607 grep -v '^ *+' conftest.er1 >conftest.err
21609 cat conftest.err >&5
21610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21611 (exit $ac_status); } && {
21612 test -z "$ac_c_werror_flag" ||
21613 test ! -s conftest.err
21614 } && test -s conftest.$ac_objext; then
21617 cat >conftest.$ac_ext <<_ACEOF
21620 cat confdefs.h >>conftest.$ac_ext
21621 cat >>conftest.$ac_ext <<_ACEOF
21622 /* end confdefs.h. */
21623 $ac_includes_default
21624 typedef short ac__type_sizeof_;
21628 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21635 rm -f conftest.$ac_objext
21636 if { (ac_try="$ac_compile"
21637 case "(($ac_try" in
21638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21639 *) ac_try_echo=$ac_try;;
21641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21642 (eval "$ac_compile") 2>conftest.er1
21644 grep -v '^ *+' conftest.er1 >conftest.err
21646 cat conftest.err >&5
21647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648 (exit $ac_status); } && {
21649 test -z "$ac_c_werror_flag" ||
21650 test ! -s conftest.err
21651 } && test -s conftest.$ac_objext; then
21652 ac_hi=$ac_mid; break
21654 echo "$as_me: failed program was:" >&5
21655 sed 's/^/| /' conftest.$ac_ext >&5
21657 ac_lo=`expr $ac_mid + 1`
21658 if test $ac_lo -le $ac_mid; then
21662 ac_mid=`expr 2 '*' $ac_mid + 1`
21665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21668 echo "$as_me: failed program was:" >&5
21669 sed 's/^/| /' conftest.$ac_ext >&5
21671 cat >conftest.$ac_ext <<_ACEOF
21674 cat confdefs.h >>conftest.$ac_ext
21675 cat >>conftest.$ac_ext <<_ACEOF
21676 /* end confdefs.h. */
21677 $ac_includes_default
21678 typedef short ac__type_sizeof_;
21682 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
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
21708 cat >conftest.$ac_ext <<_ACEOF
21711 cat confdefs.h >>conftest.$ac_ext
21712 cat >>conftest.$ac_ext <<_ACEOF
21713 /* end confdefs.h. */
21714 $ac_includes_default
21715 typedef short ac__type_sizeof_;
21719 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21726 rm -f conftest.$ac_objext
21727 if { (ac_try="$ac_compile"
21728 case "(($ac_try" in
21729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21730 *) ac_try_echo=$ac_try;;
21732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21733 (eval "$ac_compile") 2>conftest.er1
21735 grep -v '^ *+' conftest.er1 >conftest.err
21737 cat conftest.err >&5
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); } && {
21740 test -z "$ac_c_werror_flag" ||
21741 test ! -s conftest.err
21742 } && test -s conftest.$ac_objext; then
21743 ac_lo=$ac_mid; break
21745 echo "$as_me: failed program was:" >&5
21746 sed 's/^/| /' conftest.$ac_ext >&5
21748 ac_hi=`expr '(' $ac_mid ')' - 1`
21749 if test $ac_mid -le $ac_hi; then
21753 ac_mid=`expr 2 '*' $ac_mid`
21756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21759 echo "$as_me: failed program was:" >&5
21760 sed 's/^/| /' conftest.$ac_ext >&5
21765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21769 # Binary search between lo and hi bounds.
21770 while test "x$ac_lo" != "x$ac_hi"; do
21771 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21772 cat >conftest.$ac_ext <<_ACEOF
21775 cat confdefs.h >>conftest.$ac_ext
21776 cat >>conftest.$ac_ext <<_ACEOF
21777 /* end confdefs.h. */
21778 $ac_includes_default
21779 typedef short ac__type_sizeof_;
21783 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21790 rm -f conftest.$ac_objext
21791 if { (ac_try="$ac_compile"
21792 case "(($ac_try" in
21793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21794 *) ac_try_echo=$ac_try;;
21796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21797 (eval "$ac_compile") 2>conftest.er1
21799 grep -v '^ *+' conftest.er1 >conftest.err
21801 cat conftest.err >&5
21802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21803 (exit $ac_status); } && {
21804 test -z "$ac_c_werror_flag" ||
21805 test ! -s conftest.err
21806 } && test -s conftest.$ac_objext; then
21809 echo "$as_me: failed program was:" >&5
21810 sed 's/^/| /' conftest.$ac_ext >&5
21812 ac_lo=`expr '(' $ac_mid ')' + 1`
21815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21818 ?*) ac_cv_sizeof_short=$ac_lo;;
21819 '') if test "$ac_cv_type_short" = yes; then
21820 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21821 See \`config.log' for more details." >&5
21822 echo "$as_me: error: cannot compute sizeof (short)
21823 See \`config.log' for more details." >&2;}
21824 { (exit 77); exit 77; }; }
21826 ac_cv_sizeof_short=0
21830 cat >conftest.$ac_ext <<_ACEOF
21833 cat confdefs.h >>conftest.$ac_ext
21834 cat >>conftest.$ac_ext <<_ACEOF
21835 /* end confdefs.h. */
21836 $ac_includes_default
21837 typedef short ac__type_sizeof_;
21838 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21839 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21841 #include <stdlib.h>
21846 FILE *f = fopen ("conftest.val", "w");
21849 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21851 long int i = longval ();
21852 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21854 fprintf (f, "%ld\n", i);
21858 unsigned long int i = ulongval ();
21859 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21861 fprintf (f, "%lu\n", i);
21863 return ferror (f) || fclose (f) != 0;
21869 rm -f conftest$ac_exeext
21870 if { (ac_try="$ac_link"
21871 case "(($ac_try" in
21872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21873 *) ac_try_echo=$ac_try;;
21875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21876 (eval "$ac_link") 2>&5
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21880 { (case "(($ac_try" in
21881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21882 *) ac_try_echo=$ac_try;;
21884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21885 (eval "$ac_try") 2>&5
21887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21888 (exit $ac_status); }; }; then
21889 ac_cv_sizeof_short=`cat conftest.val`
21891 echo "$as_me: program exited with status $ac_status" >&5
21892 echo "$as_me: failed program was:" >&5
21893 sed 's/^/| /' conftest.$ac_ext >&5
21895 ( exit $ac_status )
21896 if test "$ac_cv_type_short" = yes; then
21897 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21898 See \`config.log' for more details." >&5
21899 echo "$as_me: error: cannot compute sizeof (short)
21900 See \`config.log' for more details." >&2;}
21901 { (exit 77); exit 77; }; }
21903 ac_cv_sizeof_short=0
21906 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21910 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21911 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21915 cat >>confdefs.h <<_ACEOF
21916 #define SIZEOF_SHORT $ac_cv_sizeof_short
21920 { echo "$as_me:$LINENO: checking for void *" >&5
21921 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21922 if test "${ac_cv_type_void_p+set}" = set; then
21923 echo $ECHO_N "(cached) $ECHO_C" >&6
21925 cat >conftest.$ac_ext <<_ACEOF
21928 cat confdefs.h >>conftest.$ac_ext
21929 cat >>conftest.$ac_ext <<_ACEOF
21930 /* end confdefs.h. */
21931 $ac_includes_default
21932 typedef void * ac__type_new_;
21936 if ((ac__type_new_ *) 0)
21938 if (sizeof (ac__type_new_))
21944 rm -f conftest.$ac_objext
21945 if { (ac_try="$ac_compile"
21946 case "(($ac_try" in
21947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21948 *) ac_try_echo=$ac_try;;
21950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21951 (eval "$ac_compile") 2>conftest.er1
21953 grep -v '^ *+' conftest.er1 >conftest.err
21955 cat conftest.err >&5
21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957 (exit $ac_status); } && {
21958 test -z "$ac_c_werror_flag" ||
21959 test ! -s conftest.err
21960 } && test -s conftest.$ac_objext; then
21961 ac_cv_type_void_p=yes
21963 echo "$as_me: failed program was:" >&5
21964 sed 's/^/| /' conftest.$ac_ext >&5
21966 ac_cv_type_void_p=no
21969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21971 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21972 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21974 # The cast to long int works around a bug in the HP C Compiler
21975 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21976 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21977 # This bug is HP SR number 8606223364.
21978 { echo "$as_me:$LINENO: checking size of void *" >&5
21979 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21980 if test "${ac_cv_sizeof_void_p+set}" = set; then
21981 echo $ECHO_N "(cached) $ECHO_C" >&6
21983 if test "$cross_compiling" = yes; then
21984 # Depending upon the size, compute the lo and hi bounds.
21985 cat >conftest.$ac_ext <<_ACEOF
21988 cat confdefs.h >>conftest.$ac_ext
21989 cat >>conftest.$ac_ext <<_ACEOF
21990 /* end confdefs.h. */
21991 $ac_includes_default
21992 typedef void * ac__type_sizeof_;
21996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22003 rm -f conftest.$ac_objext
22004 if { (ac_try="$ac_compile"
22005 case "(($ac_try" in
22006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22007 *) ac_try_echo=$ac_try;;
22009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22010 (eval "$ac_compile") 2>conftest.er1
22012 grep -v '^ *+' conftest.er1 >conftest.err
22014 cat conftest.err >&5
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); } && {
22017 test -z "$ac_c_werror_flag" ||
22018 test ! -s conftest.err
22019 } && test -s conftest.$ac_objext; then
22022 cat >conftest.$ac_ext <<_ACEOF
22025 cat confdefs.h >>conftest.$ac_ext
22026 cat >>conftest.$ac_ext <<_ACEOF
22027 /* end confdefs.h. */
22028 $ac_includes_default
22029 typedef void * ac__type_sizeof_;
22033 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22040 rm -f conftest.$ac_objext
22041 if { (ac_try="$ac_compile"
22042 case "(($ac_try" in
22043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22044 *) ac_try_echo=$ac_try;;
22046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22047 (eval "$ac_compile") 2>conftest.er1
22049 grep -v '^ *+' conftest.er1 >conftest.err
22051 cat conftest.err >&5
22052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053 (exit $ac_status); } && {
22054 test -z "$ac_c_werror_flag" ||
22055 test ! -s conftest.err
22056 } && test -s conftest.$ac_objext; then
22057 ac_hi=$ac_mid; break
22059 echo "$as_me: failed program was:" >&5
22060 sed 's/^/| /' conftest.$ac_ext >&5
22062 ac_lo=`expr $ac_mid + 1`
22063 if test $ac_lo -le $ac_mid; then
22067 ac_mid=`expr 2 '*' $ac_mid + 1`
22070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22073 echo "$as_me: failed program was:" >&5
22074 sed 's/^/| /' conftest.$ac_ext >&5
22076 cat >conftest.$ac_ext <<_ACEOF
22079 cat confdefs.h >>conftest.$ac_ext
22080 cat >>conftest.$ac_ext <<_ACEOF
22081 /* end confdefs.h. */
22082 $ac_includes_default
22083 typedef void * ac__type_sizeof_;
22087 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22094 rm -f conftest.$ac_objext
22095 if { (ac_try="$ac_compile"
22096 case "(($ac_try" in
22097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22098 *) ac_try_echo=$ac_try;;
22100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22101 (eval "$ac_compile") 2>conftest.er1
22103 grep -v '^ *+' conftest.er1 >conftest.err
22105 cat conftest.err >&5
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); } && {
22108 test -z "$ac_c_werror_flag" ||
22109 test ! -s conftest.err
22110 } && test -s conftest.$ac_objext; then
22113 cat >conftest.$ac_ext <<_ACEOF
22116 cat confdefs.h >>conftest.$ac_ext
22117 cat >>conftest.$ac_ext <<_ACEOF
22118 /* end confdefs.h. */
22119 $ac_includes_default
22120 typedef void * ac__type_sizeof_;
22124 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22131 rm -f conftest.$ac_objext
22132 if { (ac_try="$ac_compile"
22133 case "(($ac_try" in
22134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22135 *) ac_try_echo=$ac_try;;
22137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22138 (eval "$ac_compile") 2>conftest.er1
22140 grep -v '^ *+' conftest.er1 >conftest.err
22142 cat conftest.err >&5
22143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22144 (exit $ac_status); } && {
22145 test -z "$ac_c_werror_flag" ||
22146 test ! -s conftest.err
22147 } && test -s conftest.$ac_objext; then
22148 ac_lo=$ac_mid; break
22150 echo "$as_me: failed program was:" >&5
22151 sed 's/^/| /' conftest.$ac_ext >&5
22153 ac_hi=`expr '(' $ac_mid ')' - 1`
22154 if test $ac_mid -le $ac_hi; then
22158 ac_mid=`expr 2 '*' $ac_mid`
22161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22164 echo "$as_me: failed program was:" >&5
22165 sed 's/^/| /' conftest.$ac_ext >&5
22170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22174 # Binary search between lo and hi bounds.
22175 while test "x$ac_lo" != "x$ac_hi"; do
22176 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22177 cat >conftest.$ac_ext <<_ACEOF
22180 cat confdefs.h >>conftest.$ac_ext
22181 cat >>conftest.$ac_ext <<_ACEOF
22182 /* end confdefs.h. */
22183 $ac_includes_default
22184 typedef void * ac__type_sizeof_;
22188 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22195 rm -f conftest.$ac_objext
22196 if { (ac_try="$ac_compile"
22197 case "(($ac_try" in
22198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22199 *) ac_try_echo=$ac_try;;
22201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22202 (eval "$ac_compile") 2>conftest.er1
22204 grep -v '^ *+' conftest.er1 >conftest.err
22206 cat conftest.err >&5
22207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22208 (exit $ac_status); } && {
22209 test -z "$ac_c_werror_flag" ||
22210 test ! -s conftest.err
22211 } && test -s conftest.$ac_objext; then
22214 echo "$as_me: failed program was:" >&5
22215 sed 's/^/| /' conftest.$ac_ext >&5
22217 ac_lo=`expr '(' $ac_mid ')' + 1`
22220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22223 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22224 '') if test "$ac_cv_type_void_p" = yes; then
22225 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22226 See \`config.log' for more details." >&5
22227 echo "$as_me: error: cannot compute sizeof (void *)
22228 See \`config.log' for more details." >&2;}
22229 { (exit 77); exit 77; }; }
22231 ac_cv_sizeof_void_p=0
22235 cat >conftest.$ac_ext <<_ACEOF
22238 cat confdefs.h >>conftest.$ac_ext
22239 cat >>conftest.$ac_ext <<_ACEOF
22240 /* end confdefs.h. */
22241 $ac_includes_default
22242 typedef void * ac__type_sizeof_;
22243 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22244 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22246 #include <stdlib.h>
22251 FILE *f = fopen ("conftest.val", "w");
22254 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22256 long int i = longval ();
22257 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22259 fprintf (f, "%ld\n", i);
22263 unsigned long int i = ulongval ();
22264 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22266 fprintf (f, "%lu\n", i);
22268 return ferror (f) || fclose (f) != 0;
22274 rm -f conftest$ac_exeext
22275 if { (ac_try="$ac_link"
22276 case "(($ac_try" in
22277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22278 *) ac_try_echo=$ac_try;;
22280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22281 (eval "$ac_link") 2>&5
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22285 { (case "(($ac_try" in
22286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22287 *) ac_try_echo=$ac_try;;
22289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22290 (eval "$ac_try") 2>&5
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); }; }; then
22294 ac_cv_sizeof_void_p=`cat conftest.val`
22296 echo "$as_me: program exited with status $ac_status" >&5
22297 echo "$as_me: failed program was:" >&5
22298 sed 's/^/| /' conftest.$ac_ext >&5
22300 ( exit $ac_status )
22301 if test "$ac_cv_type_void_p" = yes; then
22302 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22303 See \`config.log' for more details." >&5
22304 echo "$as_me: error: cannot compute sizeof (void *)
22305 See \`config.log' for more details." >&2;}
22306 { (exit 77); exit 77; }; }
22308 ac_cv_sizeof_void_p=0
22311 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22315 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22316 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22320 cat >>confdefs.h <<_ACEOF
22321 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22325 { echo "$as_me:$LINENO: checking for int" >&5
22326 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22327 if test "${ac_cv_type_int+set}" = set; then
22328 echo $ECHO_N "(cached) $ECHO_C" >&6
22330 cat >conftest.$ac_ext <<_ACEOF
22333 cat confdefs.h >>conftest.$ac_ext
22334 cat >>conftest.$ac_ext <<_ACEOF
22335 /* end confdefs.h. */
22336 $ac_includes_default
22337 typedef int ac__type_new_;
22341 if ((ac__type_new_ *) 0)
22343 if (sizeof (ac__type_new_))
22349 rm -f conftest.$ac_objext
22350 if { (ac_try="$ac_compile"
22351 case "(($ac_try" in
22352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22353 *) ac_try_echo=$ac_try;;
22355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22356 (eval "$ac_compile") 2>conftest.er1
22358 grep -v '^ *+' conftest.er1 >conftest.err
22360 cat conftest.err >&5
22361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362 (exit $ac_status); } && {
22363 test -z "$ac_c_werror_flag" ||
22364 test ! -s conftest.err
22365 } && test -s conftest.$ac_objext; then
22368 echo "$as_me: failed program was:" >&5
22369 sed 's/^/| /' conftest.$ac_ext >&5
22374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22376 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22377 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22379 # The cast to long int works around a bug in the HP C Compiler
22380 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22381 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22382 # This bug is HP SR number 8606223364.
22383 { echo "$as_me:$LINENO: checking size of int" >&5
22384 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22385 if test "${ac_cv_sizeof_int+set}" = set; then
22386 echo $ECHO_N "(cached) $ECHO_C" >&6
22388 if test "$cross_compiling" = yes; then
22389 # Depending upon the size, compute the lo and hi bounds.
22390 cat >conftest.$ac_ext <<_ACEOF
22393 cat confdefs.h >>conftest.$ac_ext
22394 cat >>conftest.$ac_ext <<_ACEOF
22395 /* end confdefs.h. */
22396 $ac_includes_default
22397 typedef int ac__type_sizeof_;
22401 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22408 rm -f conftest.$ac_objext
22409 if { (ac_try="$ac_compile"
22410 case "(($ac_try" in
22411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22412 *) ac_try_echo=$ac_try;;
22414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22415 (eval "$ac_compile") 2>conftest.er1
22417 grep -v '^ *+' conftest.er1 >conftest.err
22419 cat conftest.err >&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } && {
22422 test -z "$ac_c_werror_flag" ||
22423 test ! -s conftest.err
22424 } && test -s conftest.$ac_objext; then
22427 cat >conftest.$ac_ext <<_ACEOF
22430 cat confdefs.h >>conftest.$ac_ext
22431 cat >>conftest.$ac_ext <<_ACEOF
22432 /* end confdefs.h. */
22433 $ac_includes_default
22434 typedef int ac__type_sizeof_;
22438 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22445 rm -f conftest.$ac_objext
22446 if { (ac_try="$ac_compile"
22447 case "(($ac_try" in
22448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22449 *) ac_try_echo=$ac_try;;
22451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22452 (eval "$ac_compile") 2>conftest.er1
22454 grep -v '^ *+' conftest.er1 >conftest.err
22456 cat conftest.err >&5
22457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22458 (exit $ac_status); } && {
22459 test -z "$ac_c_werror_flag" ||
22460 test ! -s conftest.err
22461 } && test -s conftest.$ac_objext; then
22462 ac_hi=$ac_mid; break
22464 echo "$as_me: failed program was:" >&5
22465 sed 's/^/| /' conftest.$ac_ext >&5
22467 ac_lo=`expr $ac_mid + 1`
22468 if test $ac_lo -le $ac_mid; then
22472 ac_mid=`expr 2 '*' $ac_mid + 1`
22475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22478 echo "$as_me: failed program was:" >&5
22479 sed 's/^/| /' conftest.$ac_ext >&5
22481 cat >conftest.$ac_ext <<_ACEOF
22484 cat confdefs.h >>conftest.$ac_ext
22485 cat >>conftest.$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22487 $ac_includes_default
22488 typedef int ac__type_sizeof_;
22492 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22499 rm -f conftest.$ac_objext
22500 if { (ac_try="$ac_compile"
22501 case "(($ac_try" in
22502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22503 *) ac_try_echo=$ac_try;;
22505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22506 (eval "$ac_compile") 2>conftest.er1
22508 grep -v '^ *+' conftest.er1 >conftest.err
22510 cat conftest.err >&5
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); } && {
22513 test -z "$ac_c_werror_flag" ||
22514 test ! -s conftest.err
22515 } && test -s conftest.$ac_objext; then
22518 cat >conftest.$ac_ext <<_ACEOF
22521 cat confdefs.h >>conftest.$ac_ext
22522 cat >>conftest.$ac_ext <<_ACEOF
22523 /* end confdefs.h. */
22524 $ac_includes_default
22525 typedef int ac__type_sizeof_;
22529 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22536 rm -f conftest.$ac_objext
22537 if { (ac_try="$ac_compile"
22538 case "(($ac_try" in
22539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22540 *) ac_try_echo=$ac_try;;
22542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22543 (eval "$ac_compile") 2>conftest.er1
22545 grep -v '^ *+' conftest.er1 >conftest.err
22547 cat conftest.err >&5
22548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22549 (exit $ac_status); } && {
22550 test -z "$ac_c_werror_flag" ||
22551 test ! -s conftest.err
22552 } && test -s conftest.$ac_objext; then
22553 ac_lo=$ac_mid; break
22555 echo "$as_me: failed program was:" >&5
22556 sed 's/^/| /' conftest.$ac_ext >&5
22558 ac_hi=`expr '(' $ac_mid ')' - 1`
22559 if test $ac_mid -le $ac_hi; then
22563 ac_mid=`expr 2 '*' $ac_mid`
22566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22569 echo "$as_me: failed program was:" >&5
22570 sed 's/^/| /' conftest.$ac_ext >&5
22575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22579 # Binary search between lo and hi bounds.
22580 while test "x$ac_lo" != "x$ac_hi"; do
22581 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22582 cat >conftest.$ac_ext <<_ACEOF
22585 cat confdefs.h >>conftest.$ac_ext
22586 cat >>conftest.$ac_ext <<_ACEOF
22587 /* end confdefs.h. */
22588 $ac_includes_default
22589 typedef int ac__type_sizeof_;
22593 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22600 rm -f conftest.$ac_objext
22601 if { (ac_try="$ac_compile"
22602 case "(($ac_try" in
22603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22604 *) ac_try_echo=$ac_try;;
22606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22607 (eval "$ac_compile") 2>conftest.er1
22609 grep -v '^ *+' conftest.er1 >conftest.err
22611 cat conftest.err >&5
22612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613 (exit $ac_status); } && {
22614 test -z "$ac_c_werror_flag" ||
22615 test ! -s conftest.err
22616 } && test -s conftest.$ac_objext; then
22619 echo "$as_me: failed program was:" >&5
22620 sed 's/^/| /' conftest.$ac_ext >&5
22622 ac_lo=`expr '(' $ac_mid ')' + 1`
22625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22628 ?*) ac_cv_sizeof_int=$ac_lo;;
22629 '') if test "$ac_cv_type_int" = yes; then
22630 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22631 See \`config.log' for more details." >&5
22632 echo "$as_me: error: cannot compute sizeof (int)
22633 See \`config.log' for more details." >&2;}
22634 { (exit 77); exit 77; }; }
22640 cat >conftest.$ac_ext <<_ACEOF
22643 cat confdefs.h >>conftest.$ac_ext
22644 cat >>conftest.$ac_ext <<_ACEOF
22645 /* end confdefs.h. */
22646 $ac_includes_default
22647 typedef int ac__type_sizeof_;
22648 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22649 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22651 #include <stdlib.h>
22656 FILE *f = fopen ("conftest.val", "w");
22659 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22661 long int i = longval ();
22662 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22664 fprintf (f, "%ld\n", i);
22668 unsigned long int i = ulongval ();
22669 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22671 fprintf (f, "%lu\n", i);
22673 return ferror (f) || fclose (f) != 0;
22679 rm -f conftest$ac_exeext
22680 if { (ac_try="$ac_link"
22681 case "(($ac_try" in
22682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22683 *) ac_try_echo=$ac_try;;
22685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22686 (eval "$ac_link") 2>&5
22688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22689 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22690 { (case "(($ac_try" in
22691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22692 *) ac_try_echo=$ac_try;;
22694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22695 (eval "$ac_try") 2>&5
22697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22698 (exit $ac_status); }; }; then
22699 ac_cv_sizeof_int=`cat conftest.val`
22701 echo "$as_me: program exited with status $ac_status" >&5
22702 echo "$as_me: failed program was:" >&5
22703 sed 's/^/| /' conftest.$ac_ext >&5
22705 ( exit $ac_status )
22706 if test "$ac_cv_type_int" = yes; then
22707 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22708 See \`config.log' for more details." >&5
22709 echo "$as_me: error: cannot compute sizeof (int)
22710 See \`config.log' for more details." >&2;}
22711 { (exit 77); exit 77; }; }
22716 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22720 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22721 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22725 cat >>confdefs.h <<_ACEOF
22726 #define SIZEOF_INT $ac_cv_sizeof_int
22730 { echo "$as_me:$LINENO: checking for long" >&5
22731 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22732 if test "${ac_cv_type_long+set}" = set; then
22733 echo $ECHO_N "(cached) $ECHO_C" >&6
22735 cat >conftest.$ac_ext <<_ACEOF
22738 cat confdefs.h >>conftest.$ac_ext
22739 cat >>conftest.$ac_ext <<_ACEOF
22740 /* end confdefs.h. */
22741 $ac_includes_default
22742 typedef long ac__type_new_;
22746 if ((ac__type_new_ *) 0)
22748 if (sizeof (ac__type_new_))
22754 rm -f conftest.$ac_objext
22755 if { (ac_try="$ac_compile"
22756 case "(($ac_try" in
22757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22758 *) ac_try_echo=$ac_try;;
22760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22761 (eval "$ac_compile") 2>conftest.er1
22763 grep -v '^ *+' conftest.er1 >conftest.err
22765 cat conftest.err >&5
22766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22767 (exit $ac_status); } && {
22768 test -z "$ac_c_werror_flag" ||
22769 test ! -s conftest.err
22770 } && test -s conftest.$ac_objext; then
22771 ac_cv_type_long=yes
22773 echo "$as_me: failed program was:" >&5
22774 sed 's/^/| /' conftest.$ac_ext >&5
22779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22781 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22782 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22784 # The cast to long int works around a bug in the HP C Compiler
22785 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22786 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22787 # This bug is HP SR number 8606223364.
22788 { echo "$as_me:$LINENO: checking size of long" >&5
22789 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22790 if test "${ac_cv_sizeof_long+set}" = set; then
22791 echo $ECHO_N "(cached) $ECHO_C" >&6
22793 if test "$cross_compiling" = yes; then
22794 # Depending upon the size, compute the lo and hi bounds.
22795 cat >conftest.$ac_ext <<_ACEOF
22798 cat confdefs.h >>conftest.$ac_ext
22799 cat >>conftest.$ac_ext <<_ACEOF
22800 /* end confdefs.h. */
22801 $ac_includes_default
22802 typedef long ac__type_sizeof_;
22806 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22813 rm -f conftest.$ac_objext
22814 if { (ac_try="$ac_compile"
22815 case "(($ac_try" in
22816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22817 *) ac_try_echo=$ac_try;;
22819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22820 (eval "$ac_compile") 2>conftest.er1
22822 grep -v '^ *+' conftest.er1 >conftest.err
22824 cat conftest.err >&5
22825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826 (exit $ac_status); } && {
22827 test -z "$ac_c_werror_flag" ||
22828 test ! -s conftest.err
22829 } && test -s conftest.$ac_objext; then
22832 cat >conftest.$ac_ext <<_ACEOF
22835 cat confdefs.h >>conftest.$ac_ext
22836 cat >>conftest.$ac_ext <<_ACEOF
22837 /* end confdefs.h. */
22838 $ac_includes_default
22839 typedef long ac__type_sizeof_;
22843 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22850 rm -f conftest.$ac_objext
22851 if { (ac_try="$ac_compile"
22852 case "(($ac_try" in
22853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22854 *) ac_try_echo=$ac_try;;
22856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22857 (eval "$ac_compile") 2>conftest.er1
22859 grep -v '^ *+' conftest.er1 >conftest.err
22861 cat conftest.err >&5
22862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22863 (exit $ac_status); } && {
22864 test -z "$ac_c_werror_flag" ||
22865 test ! -s conftest.err
22866 } && test -s conftest.$ac_objext; then
22867 ac_hi=$ac_mid; break
22869 echo "$as_me: failed program was:" >&5
22870 sed 's/^/| /' conftest.$ac_ext >&5
22872 ac_lo=`expr $ac_mid + 1`
22873 if test $ac_lo -le $ac_mid; then
22877 ac_mid=`expr 2 '*' $ac_mid + 1`
22880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22883 echo "$as_me: failed program was:" >&5
22884 sed 's/^/| /' conftest.$ac_ext >&5
22886 cat >conftest.$ac_ext <<_ACEOF
22889 cat confdefs.h >>conftest.$ac_ext
22890 cat >>conftest.$ac_ext <<_ACEOF
22891 /* end confdefs.h. */
22892 $ac_includes_default
22893 typedef long ac__type_sizeof_;
22897 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22904 rm -f conftest.$ac_objext
22905 if { (ac_try="$ac_compile"
22906 case "(($ac_try" in
22907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22908 *) ac_try_echo=$ac_try;;
22910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22911 (eval "$ac_compile") 2>conftest.er1
22913 grep -v '^ *+' conftest.er1 >conftest.err
22915 cat conftest.err >&5
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); } && {
22918 test -z "$ac_c_werror_flag" ||
22919 test ! -s conftest.err
22920 } && test -s conftest.$ac_objext; then
22923 cat >conftest.$ac_ext <<_ACEOF
22926 cat confdefs.h >>conftest.$ac_ext
22927 cat >>conftest.$ac_ext <<_ACEOF
22928 /* end confdefs.h. */
22929 $ac_includes_default
22930 typedef long ac__type_sizeof_;
22934 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22941 rm -f conftest.$ac_objext
22942 if { (ac_try="$ac_compile"
22943 case "(($ac_try" in
22944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22945 *) ac_try_echo=$ac_try;;
22947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22948 (eval "$ac_compile") 2>conftest.er1
22950 grep -v '^ *+' conftest.er1 >conftest.err
22952 cat conftest.err >&5
22953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22954 (exit $ac_status); } && {
22955 test -z "$ac_c_werror_flag" ||
22956 test ! -s conftest.err
22957 } && test -s conftest.$ac_objext; then
22958 ac_lo=$ac_mid; break
22960 echo "$as_me: failed program was:" >&5
22961 sed 's/^/| /' conftest.$ac_ext >&5
22963 ac_hi=`expr '(' $ac_mid ')' - 1`
22964 if test $ac_mid -le $ac_hi; then
22968 ac_mid=`expr 2 '*' $ac_mid`
22971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22974 echo "$as_me: failed program was:" >&5
22975 sed 's/^/| /' conftest.$ac_ext >&5
22980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22984 # Binary search between lo and hi bounds.
22985 while test "x$ac_lo" != "x$ac_hi"; do
22986 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22987 cat >conftest.$ac_ext <<_ACEOF
22990 cat confdefs.h >>conftest.$ac_ext
22991 cat >>conftest.$ac_ext <<_ACEOF
22992 /* end confdefs.h. */
22993 $ac_includes_default
22994 typedef long ac__type_sizeof_;
22998 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23005 rm -f conftest.$ac_objext
23006 if { (ac_try="$ac_compile"
23007 case "(($ac_try" in
23008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23009 *) ac_try_echo=$ac_try;;
23011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23012 (eval "$ac_compile") 2>conftest.er1
23014 grep -v '^ *+' conftest.er1 >conftest.err
23016 cat conftest.err >&5
23017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23018 (exit $ac_status); } && {
23019 test -z "$ac_c_werror_flag" ||
23020 test ! -s conftest.err
23021 } && test -s conftest.$ac_objext; then
23024 echo "$as_me: failed program was:" >&5
23025 sed 's/^/| /' conftest.$ac_ext >&5
23027 ac_lo=`expr '(' $ac_mid ')' + 1`
23030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23033 ?*) ac_cv_sizeof_long=$ac_lo;;
23034 '') if test "$ac_cv_type_long" = yes; then
23035 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23036 See \`config.log' for more details." >&5
23037 echo "$as_me: error: cannot compute sizeof (long)
23038 See \`config.log' for more details." >&2;}
23039 { (exit 77); exit 77; }; }
23041 ac_cv_sizeof_long=0
23045 cat >conftest.$ac_ext <<_ACEOF
23048 cat confdefs.h >>conftest.$ac_ext
23049 cat >>conftest.$ac_ext <<_ACEOF
23050 /* end confdefs.h. */
23051 $ac_includes_default
23052 typedef long ac__type_sizeof_;
23053 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23054 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23056 #include <stdlib.h>
23061 FILE *f = fopen ("conftest.val", "w");
23064 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23066 long int i = longval ();
23067 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23069 fprintf (f, "%ld\n", i);
23073 unsigned long int i = ulongval ();
23074 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23076 fprintf (f, "%lu\n", i);
23078 return ferror (f) || fclose (f) != 0;
23084 rm -f conftest$ac_exeext
23085 if { (ac_try="$ac_link"
23086 case "(($ac_try" in
23087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23088 *) ac_try_echo=$ac_try;;
23090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23091 (eval "$ac_link") 2>&5
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23095 { (case "(($ac_try" in
23096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23097 *) ac_try_echo=$ac_try;;
23099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23100 (eval "$ac_try") 2>&5
23102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23103 (exit $ac_status); }; }; then
23104 ac_cv_sizeof_long=`cat conftest.val`
23106 echo "$as_me: program exited with status $ac_status" >&5
23107 echo "$as_me: failed program was:" >&5
23108 sed 's/^/| /' conftest.$ac_ext >&5
23110 ( exit $ac_status )
23111 if test "$ac_cv_type_long" = yes; then
23112 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23113 See \`config.log' for more details." >&5
23114 echo "$as_me: error: cannot compute sizeof (long)
23115 See \`config.log' for more details." >&2;}
23116 { (exit 77); exit 77; }; }
23118 ac_cv_sizeof_long=0
23121 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23125 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23126 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23130 cat >>confdefs.h <<_ACEOF
23131 #define SIZEOF_LONG $ac_cv_sizeof_long
23135 { echo "$as_me:$LINENO: checking for size_t" >&5
23136 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23137 if test "${ac_cv_type_size_t+set}" = set; then
23138 echo $ECHO_N "(cached) $ECHO_C" >&6
23140 cat >conftest.$ac_ext <<_ACEOF
23143 cat confdefs.h >>conftest.$ac_ext
23144 cat >>conftest.$ac_ext <<_ACEOF
23145 /* end confdefs.h. */
23146 $ac_includes_default
23147 typedef size_t ac__type_new_;
23151 if ((ac__type_new_ *) 0)
23153 if (sizeof (ac__type_new_))
23159 rm -f conftest.$ac_objext
23160 if { (ac_try="$ac_compile"
23161 case "(($ac_try" in
23162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23163 *) ac_try_echo=$ac_try;;
23165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23166 (eval "$ac_compile") 2>conftest.er1
23168 grep -v '^ *+' conftest.er1 >conftest.err
23170 cat conftest.err >&5
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); } && {
23173 test -z "$ac_c_werror_flag" ||
23174 test ! -s conftest.err
23175 } && test -s conftest.$ac_objext; then
23176 ac_cv_type_size_t=yes
23178 echo "$as_me: failed program was:" >&5
23179 sed 's/^/| /' conftest.$ac_ext >&5
23181 ac_cv_type_size_t=no
23184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23186 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23187 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23189 # The cast to long int works around a bug in the HP C Compiler
23190 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23191 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23192 # This bug is HP SR number 8606223364.
23193 { echo "$as_me:$LINENO: checking size of size_t" >&5
23194 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23195 if test "${ac_cv_sizeof_size_t+set}" = set; then
23196 echo $ECHO_N "(cached) $ECHO_C" >&6
23198 if test "$cross_compiling" = yes; then
23199 # Depending upon the size, compute the lo and hi bounds.
23200 cat >conftest.$ac_ext <<_ACEOF
23203 cat confdefs.h >>conftest.$ac_ext
23204 cat >>conftest.$ac_ext <<_ACEOF
23205 /* end confdefs.h. */
23206 $ac_includes_default
23207 typedef size_t ac__type_sizeof_;
23211 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23218 rm -f conftest.$ac_objext
23219 if { (ac_try="$ac_compile"
23220 case "(($ac_try" in
23221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23222 *) ac_try_echo=$ac_try;;
23224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23225 (eval "$ac_compile") 2>conftest.er1
23227 grep -v '^ *+' conftest.er1 >conftest.err
23229 cat conftest.err >&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); } && {
23232 test -z "$ac_c_werror_flag" ||
23233 test ! -s conftest.err
23234 } && test -s conftest.$ac_objext; then
23237 cat >conftest.$ac_ext <<_ACEOF
23240 cat confdefs.h >>conftest.$ac_ext
23241 cat >>conftest.$ac_ext <<_ACEOF
23242 /* end confdefs.h. */
23243 $ac_includes_default
23244 typedef size_t ac__type_sizeof_;
23248 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23255 rm -f conftest.$ac_objext
23256 if { (ac_try="$ac_compile"
23257 case "(($ac_try" in
23258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23259 *) ac_try_echo=$ac_try;;
23261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23262 (eval "$ac_compile") 2>conftest.er1
23264 grep -v '^ *+' conftest.er1 >conftest.err
23266 cat conftest.err >&5
23267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23268 (exit $ac_status); } && {
23269 test -z "$ac_c_werror_flag" ||
23270 test ! -s conftest.err
23271 } && test -s conftest.$ac_objext; then
23272 ac_hi=$ac_mid; break
23274 echo "$as_me: failed program was:" >&5
23275 sed 's/^/| /' conftest.$ac_ext >&5
23277 ac_lo=`expr $ac_mid + 1`
23278 if test $ac_lo -le $ac_mid; then
23282 ac_mid=`expr 2 '*' $ac_mid + 1`
23285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23288 echo "$as_me: failed program was:" >&5
23289 sed 's/^/| /' conftest.$ac_ext >&5
23291 cat >conftest.$ac_ext <<_ACEOF
23294 cat confdefs.h >>conftest.$ac_ext
23295 cat >>conftest.$ac_ext <<_ACEOF
23296 /* end confdefs.h. */
23297 $ac_includes_default
23298 typedef size_t ac__type_sizeof_;
23302 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23309 rm -f conftest.$ac_objext
23310 if { (ac_try="$ac_compile"
23311 case "(($ac_try" in
23312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23313 *) ac_try_echo=$ac_try;;
23315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23316 (eval "$ac_compile") 2>conftest.er1
23318 grep -v '^ *+' conftest.er1 >conftest.err
23320 cat conftest.err >&5
23321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322 (exit $ac_status); } && {
23323 test -z "$ac_c_werror_flag" ||
23324 test ! -s conftest.err
23325 } && test -s conftest.$ac_objext; then
23328 cat >conftest.$ac_ext <<_ACEOF
23331 cat confdefs.h >>conftest.$ac_ext
23332 cat >>conftest.$ac_ext <<_ACEOF
23333 /* end confdefs.h. */
23334 $ac_includes_default
23335 typedef size_t ac__type_sizeof_;
23339 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23346 rm -f conftest.$ac_objext
23347 if { (ac_try="$ac_compile"
23348 case "(($ac_try" in
23349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23350 *) ac_try_echo=$ac_try;;
23352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23353 (eval "$ac_compile") 2>conftest.er1
23355 grep -v '^ *+' conftest.er1 >conftest.err
23357 cat conftest.err >&5
23358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23359 (exit $ac_status); } && {
23360 test -z "$ac_c_werror_flag" ||
23361 test ! -s conftest.err
23362 } && test -s conftest.$ac_objext; then
23363 ac_lo=$ac_mid; break
23365 echo "$as_me: failed program was:" >&5
23366 sed 's/^/| /' conftest.$ac_ext >&5
23368 ac_hi=`expr '(' $ac_mid ')' - 1`
23369 if test $ac_mid -le $ac_hi; then
23373 ac_mid=`expr 2 '*' $ac_mid`
23376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23379 echo "$as_me: failed program was:" >&5
23380 sed 's/^/| /' conftest.$ac_ext >&5
23385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23389 # Binary search between lo and hi bounds.
23390 while test "x$ac_lo" != "x$ac_hi"; do
23391 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23392 cat >conftest.$ac_ext <<_ACEOF
23395 cat confdefs.h >>conftest.$ac_ext
23396 cat >>conftest.$ac_ext <<_ACEOF
23397 /* end confdefs.h. */
23398 $ac_includes_default
23399 typedef size_t ac__type_sizeof_;
23403 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23410 rm -f conftest.$ac_objext
23411 if { (ac_try="$ac_compile"
23412 case "(($ac_try" in
23413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23414 *) ac_try_echo=$ac_try;;
23416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23417 (eval "$ac_compile") 2>conftest.er1
23419 grep -v '^ *+' conftest.er1 >conftest.err
23421 cat conftest.err >&5
23422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23423 (exit $ac_status); } && {
23424 test -z "$ac_c_werror_flag" ||
23425 test ! -s conftest.err
23426 } && test -s conftest.$ac_objext; then
23429 echo "$as_me: failed program was:" >&5
23430 sed 's/^/| /' conftest.$ac_ext >&5
23432 ac_lo=`expr '(' $ac_mid ')' + 1`
23435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23438 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23439 '') if test "$ac_cv_type_size_t" = yes; then
23440 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23441 See \`config.log' for more details." >&5
23442 echo "$as_me: error: cannot compute sizeof (size_t)
23443 See \`config.log' for more details." >&2;}
23444 { (exit 77); exit 77; }; }
23446 ac_cv_sizeof_size_t=0
23450 cat >conftest.$ac_ext <<_ACEOF
23453 cat confdefs.h >>conftest.$ac_ext
23454 cat >>conftest.$ac_ext <<_ACEOF
23455 /* end confdefs.h. */
23456 $ac_includes_default
23457 typedef size_t ac__type_sizeof_;
23458 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23459 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23461 #include <stdlib.h>
23466 FILE *f = fopen ("conftest.val", "w");
23469 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23471 long int i = longval ();
23472 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23474 fprintf (f, "%ld\n", i);
23478 unsigned long int i = ulongval ();
23479 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23481 fprintf (f, "%lu\n", i);
23483 return ferror (f) || fclose (f) != 0;
23489 rm -f conftest$ac_exeext
23490 if { (ac_try="$ac_link"
23491 case "(($ac_try" in
23492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23493 *) ac_try_echo=$ac_try;;
23495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23496 (eval "$ac_link") 2>&5
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23500 { (case "(($ac_try" in
23501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23502 *) ac_try_echo=$ac_try;;
23504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23505 (eval "$ac_try") 2>&5
23507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508 (exit $ac_status); }; }; then
23509 ac_cv_sizeof_size_t=`cat conftest.val`
23511 echo "$as_me: program exited with status $ac_status" >&5
23512 echo "$as_me: failed program was:" >&5
23513 sed 's/^/| /' conftest.$ac_ext >&5
23515 ( exit $ac_status )
23516 if test "$ac_cv_type_size_t" = yes; then
23517 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23518 See \`config.log' for more details." >&5
23519 echo "$as_me: error: cannot compute sizeof (size_t)
23520 See \`config.log' for more details." >&2;}
23521 { (exit 77); exit 77; }; }
23523 ac_cv_sizeof_size_t=0
23526 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23530 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23531 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23535 cat >>confdefs.h <<_ACEOF
23536 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23543 { echo "$as_me:$LINENO: checking for long long" >&5
23544 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23545 if test "${ac_cv_type_long_long+set}" = set; then
23546 echo $ECHO_N "(cached) $ECHO_C" >&6
23548 cat >conftest.$ac_ext <<_ACEOF
23551 cat confdefs.h >>conftest.$ac_ext
23552 cat >>conftest.$ac_ext <<_ACEOF
23553 /* end confdefs.h. */
23554 $ac_includes_default
23555 typedef long long ac__type_new_;
23559 if ((ac__type_new_ *) 0)
23561 if (sizeof (ac__type_new_))
23567 rm -f conftest.$ac_objext
23568 if { (ac_try="$ac_compile"
23569 case "(($ac_try" in
23570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23571 *) ac_try_echo=$ac_try;;
23573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23574 (eval "$ac_compile") 2>conftest.er1
23576 grep -v '^ *+' conftest.er1 >conftest.err
23578 cat conftest.err >&5
23579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23580 (exit $ac_status); } && {
23581 test -z "$ac_c_werror_flag" ||
23582 test ! -s conftest.err
23583 } && test -s conftest.$ac_objext; then
23584 ac_cv_type_long_long=yes
23586 echo "$as_me: failed program was:" >&5
23587 sed 's/^/| /' conftest.$ac_ext >&5
23589 ac_cv_type_long_long=no
23592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23594 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23595 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23597 # The cast to long int works around a bug in the HP C Compiler
23598 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23599 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23600 # This bug is HP SR number 8606223364.
23601 { echo "$as_me:$LINENO: checking size of long long" >&5
23602 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23603 if test "${ac_cv_sizeof_long_long+set}" = set; then
23604 echo $ECHO_N "(cached) $ECHO_C" >&6
23606 if test "$cross_compiling" = yes; then
23607 # Depending upon the size, compute the lo and hi bounds.
23608 cat >conftest.$ac_ext <<_ACEOF
23611 cat confdefs.h >>conftest.$ac_ext
23612 cat >>conftest.$ac_ext <<_ACEOF
23613 /* end confdefs.h. */
23614 $ac_includes_default
23615 typedef long long ac__type_sizeof_;
23619 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23626 rm -f conftest.$ac_objext
23627 if { (ac_try="$ac_compile"
23628 case "(($ac_try" in
23629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23630 *) ac_try_echo=$ac_try;;
23632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23633 (eval "$ac_compile") 2>conftest.er1
23635 grep -v '^ *+' conftest.er1 >conftest.err
23637 cat conftest.err >&5
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); } && {
23640 test -z "$ac_c_werror_flag" ||
23641 test ! -s conftest.err
23642 } && test -s conftest.$ac_objext; then
23645 cat >conftest.$ac_ext <<_ACEOF
23648 cat confdefs.h >>conftest.$ac_ext
23649 cat >>conftest.$ac_ext <<_ACEOF
23650 /* end confdefs.h. */
23651 $ac_includes_default
23652 typedef long long ac__type_sizeof_;
23656 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23663 rm -f conftest.$ac_objext
23664 if { (ac_try="$ac_compile"
23665 case "(($ac_try" in
23666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23667 *) ac_try_echo=$ac_try;;
23669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23670 (eval "$ac_compile") 2>conftest.er1
23672 grep -v '^ *+' conftest.er1 >conftest.err
23674 cat conftest.err >&5
23675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676 (exit $ac_status); } && {
23677 test -z "$ac_c_werror_flag" ||
23678 test ! -s conftest.err
23679 } && test -s conftest.$ac_objext; then
23680 ac_hi=$ac_mid; break
23682 echo "$as_me: failed program was:" >&5
23683 sed 's/^/| /' conftest.$ac_ext >&5
23685 ac_lo=`expr $ac_mid + 1`
23686 if test $ac_lo -le $ac_mid; then
23690 ac_mid=`expr 2 '*' $ac_mid + 1`
23693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23696 echo "$as_me: failed program was:" >&5
23697 sed 's/^/| /' conftest.$ac_ext >&5
23699 cat >conftest.$ac_ext <<_ACEOF
23702 cat confdefs.h >>conftest.$ac_ext
23703 cat >>conftest.$ac_ext <<_ACEOF
23704 /* end confdefs.h. */
23705 $ac_includes_default
23706 typedef long long ac__type_sizeof_;
23710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23717 rm -f conftest.$ac_objext
23718 if { (ac_try="$ac_compile"
23719 case "(($ac_try" in
23720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23721 *) ac_try_echo=$ac_try;;
23723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23724 (eval "$ac_compile") 2>conftest.er1
23726 grep -v '^ *+' conftest.er1 >conftest.err
23728 cat conftest.err >&5
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); } && {
23731 test -z "$ac_c_werror_flag" ||
23732 test ! -s conftest.err
23733 } && test -s conftest.$ac_objext; then
23736 cat >conftest.$ac_ext <<_ACEOF
23739 cat confdefs.h >>conftest.$ac_ext
23740 cat >>conftest.$ac_ext <<_ACEOF
23741 /* end confdefs.h. */
23742 $ac_includes_default
23743 typedef long long ac__type_sizeof_;
23747 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23754 rm -f conftest.$ac_objext
23755 if { (ac_try="$ac_compile"
23756 case "(($ac_try" in
23757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23758 *) ac_try_echo=$ac_try;;
23760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23761 (eval "$ac_compile") 2>conftest.er1
23763 grep -v '^ *+' conftest.er1 >conftest.err
23765 cat conftest.err >&5
23766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23767 (exit $ac_status); } && {
23768 test -z "$ac_c_werror_flag" ||
23769 test ! -s conftest.err
23770 } && test -s conftest.$ac_objext; then
23771 ac_lo=$ac_mid; break
23773 echo "$as_me: failed program was:" >&5
23774 sed 's/^/| /' conftest.$ac_ext >&5
23776 ac_hi=`expr '(' $ac_mid ')' - 1`
23777 if test $ac_mid -le $ac_hi; then
23781 ac_mid=`expr 2 '*' $ac_mid`
23784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23787 echo "$as_me: failed program was:" >&5
23788 sed 's/^/| /' conftest.$ac_ext >&5
23793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23797 # Binary search between lo and hi bounds.
23798 while test "x$ac_lo" != "x$ac_hi"; do
23799 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23800 cat >conftest.$ac_ext <<_ACEOF
23803 cat confdefs.h >>conftest.$ac_ext
23804 cat >>conftest.$ac_ext <<_ACEOF
23805 /* end confdefs.h. */
23806 $ac_includes_default
23807 typedef long long ac__type_sizeof_;
23811 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23818 rm -f conftest.$ac_objext
23819 if { (ac_try="$ac_compile"
23820 case "(($ac_try" in
23821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23822 *) ac_try_echo=$ac_try;;
23824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23825 (eval "$ac_compile") 2>conftest.er1
23827 grep -v '^ *+' conftest.er1 >conftest.err
23829 cat conftest.err >&5
23830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23831 (exit $ac_status); } && {
23832 test -z "$ac_c_werror_flag" ||
23833 test ! -s conftest.err
23834 } && test -s conftest.$ac_objext; then
23837 echo "$as_me: failed program was:" >&5
23838 sed 's/^/| /' conftest.$ac_ext >&5
23840 ac_lo=`expr '(' $ac_mid ')' + 1`
23843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23846 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23847 '') if test "$ac_cv_type_long_long" = yes; then
23848 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23849 See \`config.log' for more details." >&5
23850 echo "$as_me: error: cannot compute sizeof (long long)
23851 See \`config.log' for more details." >&2;}
23852 { (exit 77); exit 77; }; }
23854 ac_cv_sizeof_long_long=0
23858 cat >conftest.$ac_ext <<_ACEOF
23861 cat confdefs.h >>conftest.$ac_ext
23862 cat >>conftest.$ac_ext <<_ACEOF
23863 /* end confdefs.h. */
23864 $ac_includes_default
23865 typedef long long ac__type_sizeof_;
23866 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23867 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23869 #include <stdlib.h>
23874 FILE *f = fopen ("conftest.val", "w");
23877 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23879 long int i = longval ();
23880 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23882 fprintf (f, "%ld\n", i);
23886 unsigned long int i = ulongval ();
23887 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23889 fprintf (f, "%lu\n", i);
23891 return ferror (f) || fclose (f) != 0;
23897 rm -f conftest$ac_exeext
23898 if { (ac_try="$ac_link"
23899 case "(($ac_try" in
23900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23901 *) ac_try_echo=$ac_try;;
23903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23904 (eval "$ac_link") 2>&5
23906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23907 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23908 { (case "(($ac_try" in
23909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23910 *) ac_try_echo=$ac_try;;
23912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23913 (eval "$ac_try") 2>&5
23915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916 (exit $ac_status); }; }; then
23917 ac_cv_sizeof_long_long=`cat conftest.val`
23919 echo "$as_me: program exited with status $ac_status" >&5
23920 echo "$as_me: failed program was:" >&5
23921 sed 's/^/| /' conftest.$ac_ext >&5
23923 ( exit $ac_status )
23924 if test "$ac_cv_type_long_long" = yes; then
23925 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23926 See \`config.log' for more details." >&5
23927 echo "$as_me: error: cannot compute sizeof (long long)
23928 See \`config.log' for more details." >&2;}
23929 { (exit 77); exit 77; }; }
23931 ac_cv_sizeof_long_long=0
23934 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23938 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23939 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23943 cat >>confdefs.h <<_ACEOF
23944 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23950 { echo "$as_me:$LINENO: checking for long long" >&5
23951 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23952 if test "${ac_cv_type_long_long+set}" = set; then
23953 echo $ECHO_N "(cached) $ECHO_C" >&6
23955 cat >conftest.$ac_ext <<_ACEOF
23958 cat confdefs.h >>conftest.$ac_ext
23959 cat >>conftest.$ac_ext <<_ACEOF
23960 /* end confdefs.h. */
23961 $ac_includes_default
23962 typedef long long ac__type_new_;
23966 if ((ac__type_new_ *) 0)
23968 if (sizeof (ac__type_new_))
23974 rm -f conftest.$ac_objext
23975 if { (ac_try="$ac_compile"
23976 case "(($ac_try" in
23977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23978 *) ac_try_echo=$ac_try;;
23980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23981 (eval "$ac_compile") 2>conftest.er1
23983 grep -v '^ *+' conftest.er1 >conftest.err
23985 cat conftest.err >&5
23986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23987 (exit $ac_status); } && {
23988 test -z "$ac_c_werror_flag" ||
23989 test ! -s conftest.err
23990 } && test -s conftest.$ac_objext; then
23991 ac_cv_type_long_long=yes
23993 echo "$as_me: failed program was:" >&5
23994 sed 's/^/| /' conftest.$ac_ext >&5
23996 ac_cv_type_long_long=no
23999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24001 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24002 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24004 # The cast to long int works around a bug in the HP C Compiler
24005 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24006 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24007 # This bug is HP SR number 8606223364.
24008 { echo "$as_me:$LINENO: checking size of long long" >&5
24009 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24010 if test "${ac_cv_sizeof_long_long+set}" = set; then
24011 echo $ECHO_N "(cached) $ECHO_C" >&6
24013 if test "$cross_compiling" = yes; then
24014 # Depending upon the size, compute the lo and hi bounds.
24015 cat >conftest.$ac_ext <<_ACEOF
24018 cat confdefs.h >>conftest.$ac_ext
24019 cat >>conftest.$ac_ext <<_ACEOF
24020 /* end confdefs.h. */
24021 $ac_includes_default
24022 typedef long long ac__type_sizeof_;
24026 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24033 rm -f conftest.$ac_objext
24034 if { (ac_try="$ac_compile"
24035 case "(($ac_try" in
24036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24037 *) ac_try_echo=$ac_try;;
24039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24040 (eval "$ac_compile") 2>conftest.er1
24042 grep -v '^ *+' conftest.er1 >conftest.err
24044 cat conftest.err >&5
24045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24046 (exit $ac_status); } && {
24047 test -z "$ac_c_werror_flag" ||
24048 test ! -s conftest.err
24049 } && test -s conftest.$ac_objext; then
24052 cat >conftest.$ac_ext <<_ACEOF
24055 cat confdefs.h >>conftest.$ac_ext
24056 cat >>conftest.$ac_ext <<_ACEOF
24057 /* end confdefs.h. */
24058 $ac_includes_default
24059 typedef long long ac__type_sizeof_;
24063 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24070 rm -f conftest.$ac_objext
24071 if { (ac_try="$ac_compile"
24072 case "(($ac_try" in
24073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24074 *) ac_try_echo=$ac_try;;
24076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24077 (eval "$ac_compile") 2>conftest.er1
24079 grep -v '^ *+' conftest.er1 >conftest.err
24081 cat conftest.err >&5
24082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24083 (exit $ac_status); } && {
24084 test -z "$ac_c_werror_flag" ||
24085 test ! -s conftest.err
24086 } && test -s conftest.$ac_objext; then
24087 ac_hi=$ac_mid; break
24089 echo "$as_me: failed program was:" >&5
24090 sed 's/^/| /' conftest.$ac_ext >&5
24092 ac_lo=`expr $ac_mid + 1`
24093 if test $ac_lo -le $ac_mid; then
24097 ac_mid=`expr 2 '*' $ac_mid + 1`
24100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24103 echo "$as_me: failed program was:" >&5
24104 sed 's/^/| /' conftest.$ac_ext >&5
24106 cat >conftest.$ac_ext <<_ACEOF
24109 cat confdefs.h >>conftest.$ac_ext
24110 cat >>conftest.$ac_ext <<_ACEOF
24111 /* end confdefs.h. */
24112 $ac_includes_default
24113 typedef long long ac__type_sizeof_;
24117 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24124 rm -f conftest.$ac_objext
24125 if { (ac_try="$ac_compile"
24126 case "(($ac_try" in
24127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24128 *) ac_try_echo=$ac_try;;
24130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24131 (eval "$ac_compile") 2>conftest.er1
24133 grep -v '^ *+' conftest.er1 >conftest.err
24135 cat conftest.err >&5
24136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137 (exit $ac_status); } && {
24138 test -z "$ac_c_werror_flag" ||
24139 test ! -s conftest.err
24140 } && test -s conftest.$ac_objext; then
24143 cat >conftest.$ac_ext <<_ACEOF
24146 cat confdefs.h >>conftest.$ac_ext
24147 cat >>conftest.$ac_ext <<_ACEOF
24148 /* end confdefs.h. */
24149 $ac_includes_default
24150 typedef long long ac__type_sizeof_;
24154 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24161 rm -f conftest.$ac_objext
24162 if { (ac_try="$ac_compile"
24163 case "(($ac_try" in
24164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24165 *) ac_try_echo=$ac_try;;
24167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24168 (eval "$ac_compile") 2>conftest.er1
24170 grep -v '^ *+' conftest.er1 >conftest.err
24172 cat conftest.err >&5
24173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24174 (exit $ac_status); } && {
24175 test -z "$ac_c_werror_flag" ||
24176 test ! -s conftest.err
24177 } && test -s conftest.$ac_objext; then
24178 ac_lo=$ac_mid; break
24180 echo "$as_me: failed program was:" >&5
24181 sed 's/^/| /' conftest.$ac_ext >&5
24183 ac_hi=`expr '(' $ac_mid ')' - 1`
24184 if test $ac_mid -le $ac_hi; then
24188 ac_mid=`expr 2 '*' $ac_mid`
24191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24194 echo "$as_me: failed program was:" >&5
24195 sed 's/^/| /' conftest.$ac_ext >&5
24200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24204 # Binary search between lo and hi bounds.
24205 while test "x$ac_lo" != "x$ac_hi"; do
24206 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24207 cat >conftest.$ac_ext <<_ACEOF
24210 cat confdefs.h >>conftest.$ac_ext
24211 cat >>conftest.$ac_ext <<_ACEOF
24212 /* end confdefs.h. */
24213 $ac_includes_default
24214 typedef long long ac__type_sizeof_;
24218 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24225 rm -f conftest.$ac_objext
24226 if { (ac_try="$ac_compile"
24227 case "(($ac_try" in
24228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24229 *) ac_try_echo=$ac_try;;
24231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24232 (eval "$ac_compile") 2>conftest.er1
24234 grep -v '^ *+' conftest.er1 >conftest.err
24236 cat conftest.err >&5
24237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24238 (exit $ac_status); } && {
24239 test -z "$ac_c_werror_flag" ||
24240 test ! -s conftest.err
24241 } && test -s conftest.$ac_objext; then
24244 echo "$as_me: failed program was:" >&5
24245 sed 's/^/| /' conftest.$ac_ext >&5
24247 ac_lo=`expr '(' $ac_mid ')' + 1`
24250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24253 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24254 '') if test "$ac_cv_type_long_long" = yes; then
24255 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24256 See \`config.log' for more details." >&5
24257 echo "$as_me: error: cannot compute sizeof (long long)
24258 See \`config.log' for more details." >&2;}
24259 { (exit 77); exit 77; }; }
24261 ac_cv_sizeof_long_long=0
24265 cat >conftest.$ac_ext <<_ACEOF
24268 cat confdefs.h >>conftest.$ac_ext
24269 cat >>conftest.$ac_ext <<_ACEOF
24270 /* end confdefs.h. */
24271 $ac_includes_default
24272 typedef long long ac__type_sizeof_;
24273 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24274 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24276 #include <stdlib.h>
24281 FILE *f = fopen ("conftest.val", "w");
24284 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24286 long int i = longval ();
24287 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24289 fprintf (f, "%ld\n", i);
24293 unsigned long int i = ulongval ();
24294 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24296 fprintf (f, "%lu\n", i);
24298 return ferror (f) || fclose (f) != 0;
24304 rm -f conftest$ac_exeext
24305 if { (ac_try="$ac_link"
24306 case "(($ac_try" in
24307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24308 *) ac_try_echo=$ac_try;;
24310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24311 (eval "$ac_link") 2>&5
24313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24314 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24315 { (case "(($ac_try" in
24316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24317 *) ac_try_echo=$ac_try;;
24319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24320 (eval "$ac_try") 2>&5
24322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24323 (exit $ac_status); }; }; then
24324 ac_cv_sizeof_long_long=`cat conftest.val`
24326 echo "$as_me: program exited with status $ac_status" >&5
24327 echo "$as_me: failed program was:" >&5
24328 sed 's/^/| /' conftest.$ac_ext >&5
24330 ( exit $ac_status )
24331 if test "$ac_cv_type_long_long" = yes; then
24332 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24333 See \`config.log' for more details." >&5
24334 echo "$as_me: error: cannot compute sizeof (long long)
24335 See \`config.log' for more details." >&2;}
24336 { (exit 77); exit 77; }; }
24338 ac_cv_sizeof_long_long=0
24341 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24345 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24346 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24350 cat >>confdefs.h <<_ACEOF
24351 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24355 if test "$ac_cv_sizeof_long_long" != "0"; then
24356 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24360 { echo "$as_me:$LINENO: checking for long long" >&5
24361 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24362 if test "${ac_cv_type_long_long+set}" = set; then
24363 echo $ECHO_N "(cached) $ECHO_C" >&6
24365 cat >conftest.$ac_ext <<_ACEOF
24368 cat confdefs.h >>conftest.$ac_ext
24369 cat >>conftest.$ac_ext <<_ACEOF
24370 /* end confdefs.h. */
24371 $ac_includes_default
24372 typedef long long ac__type_new_;
24376 if ((ac__type_new_ *) 0)
24378 if (sizeof (ac__type_new_))
24384 rm -f conftest.$ac_objext
24385 if { (ac_try="$ac_compile"
24386 case "(($ac_try" in
24387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24388 *) ac_try_echo=$ac_try;;
24390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24391 (eval "$ac_compile") 2>conftest.er1
24393 grep -v '^ *+' conftest.er1 >conftest.err
24395 cat conftest.err >&5
24396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24397 (exit $ac_status); } && {
24398 test -z "$ac_c_werror_flag" ||
24399 test ! -s conftest.err
24400 } && test -s conftest.$ac_objext; then
24401 ac_cv_type_long_long=yes
24403 echo "$as_me: failed program was:" >&5
24404 sed 's/^/| /' conftest.$ac_ext >&5
24406 ac_cv_type_long_long=no
24409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24411 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24412 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24414 # The cast to long int works around a bug in the HP C Compiler
24415 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24416 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24417 # This bug is HP SR number 8606223364.
24418 { echo "$as_me:$LINENO: checking size of long long" >&5
24419 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24420 if test "${ac_cv_sizeof_long_long+set}" = set; then
24421 echo $ECHO_N "(cached) $ECHO_C" >&6
24423 if test "$cross_compiling" = yes; then
24424 # Depending upon the size, compute the lo and hi bounds.
24425 cat >conftest.$ac_ext <<_ACEOF
24428 cat confdefs.h >>conftest.$ac_ext
24429 cat >>conftest.$ac_ext <<_ACEOF
24430 /* end confdefs.h. */
24431 $ac_includes_default
24432 typedef long long ac__type_sizeof_;
24436 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24443 rm -f conftest.$ac_objext
24444 if { (ac_try="$ac_compile"
24445 case "(($ac_try" in
24446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24447 *) ac_try_echo=$ac_try;;
24449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24450 (eval "$ac_compile") 2>conftest.er1
24452 grep -v '^ *+' conftest.er1 >conftest.err
24454 cat conftest.err >&5
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); } && {
24457 test -z "$ac_c_werror_flag" ||
24458 test ! -s conftest.err
24459 } && test -s conftest.$ac_objext; then
24462 cat >conftest.$ac_ext <<_ACEOF
24465 cat confdefs.h >>conftest.$ac_ext
24466 cat >>conftest.$ac_ext <<_ACEOF
24467 /* end confdefs.h. */
24468 $ac_includes_default
24469 typedef long long ac__type_sizeof_;
24473 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24480 rm -f conftest.$ac_objext
24481 if { (ac_try="$ac_compile"
24482 case "(($ac_try" in
24483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24484 *) ac_try_echo=$ac_try;;
24486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24487 (eval "$ac_compile") 2>conftest.er1
24489 grep -v '^ *+' conftest.er1 >conftest.err
24491 cat conftest.err >&5
24492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24493 (exit $ac_status); } && {
24494 test -z "$ac_c_werror_flag" ||
24495 test ! -s conftest.err
24496 } && test -s conftest.$ac_objext; then
24497 ac_hi=$ac_mid; break
24499 echo "$as_me: failed program was:" >&5
24500 sed 's/^/| /' conftest.$ac_ext >&5
24502 ac_lo=`expr $ac_mid + 1`
24503 if test $ac_lo -le $ac_mid; then
24507 ac_mid=`expr 2 '*' $ac_mid + 1`
24510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24513 echo "$as_me: failed program was:" >&5
24514 sed 's/^/| /' conftest.$ac_ext >&5
24516 cat >conftest.$ac_ext <<_ACEOF
24519 cat confdefs.h >>conftest.$ac_ext
24520 cat >>conftest.$ac_ext <<_ACEOF
24521 /* end confdefs.h. */
24522 $ac_includes_default
24523 typedef long long ac__type_sizeof_;
24527 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24534 rm -f conftest.$ac_objext
24535 if { (ac_try="$ac_compile"
24536 case "(($ac_try" in
24537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24538 *) ac_try_echo=$ac_try;;
24540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24541 (eval "$ac_compile") 2>conftest.er1
24543 grep -v '^ *+' conftest.er1 >conftest.err
24545 cat conftest.err >&5
24546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24547 (exit $ac_status); } && {
24548 test -z "$ac_c_werror_flag" ||
24549 test ! -s conftest.err
24550 } && test -s conftest.$ac_objext; then
24553 cat >conftest.$ac_ext <<_ACEOF
24556 cat confdefs.h >>conftest.$ac_ext
24557 cat >>conftest.$ac_ext <<_ACEOF
24558 /* end confdefs.h. */
24559 $ac_includes_default
24560 typedef long long ac__type_sizeof_;
24564 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24571 rm -f conftest.$ac_objext
24572 if { (ac_try="$ac_compile"
24573 case "(($ac_try" in
24574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24575 *) ac_try_echo=$ac_try;;
24577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24578 (eval "$ac_compile") 2>conftest.er1
24580 grep -v '^ *+' conftest.er1 >conftest.err
24582 cat conftest.err >&5
24583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24584 (exit $ac_status); } && {
24585 test -z "$ac_c_werror_flag" ||
24586 test ! -s conftest.err
24587 } && test -s conftest.$ac_objext; then
24588 ac_lo=$ac_mid; break
24590 echo "$as_me: failed program was:" >&5
24591 sed 's/^/| /' conftest.$ac_ext >&5
24593 ac_hi=`expr '(' $ac_mid ')' - 1`
24594 if test $ac_mid -le $ac_hi; then
24598 ac_mid=`expr 2 '*' $ac_mid`
24601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24604 echo "$as_me: failed program was:" >&5
24605 sed 's/^/| /' conftest.$ac_ext >&5
24610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24614 # Binary search between lo and hi bounds.
24615 while test "x$ac_lo" != "x$ac_hi"; do
24616 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24617 cat >conftest.$ac_ext <<_ACEOF
24620 cat confdefs.h >>conftest.$ac_ext
24621 cat >>conftest.$ac_ext <<_ACEOF
24622 /* end confdefs.h. */
24623 $ac_includes_default
24624 typedef long long ac__type_sizeof_;
24628 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24635 rm -f conftest.$ac_objext
24636 if { (ac_try="$ac_compile"
24637 case "(($ac_try" in
24638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24639 *) ac_try_echo=$ac_try;;
24641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24642 (eval "$ac_compile") 2>conftest.er1
24644 grep -v '^ *+' conftest.er1 >conftest.err
24646 cat conftest.err >&5
24647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24648 (exit $ac_status); } && {
24649 test -z "$ac_c_werror_flag" ||
24650 test ! -s conftest.err
24651 } && test -s conftest.$ac_objext; then
24654 echo "$as_me: failed program was:" >&5
24655 sed 's/^/| /' conftest.$ac_ext >&5
24657 ac_lo=`expr '(' $ac_mid ')' + 1`
24660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24663 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24664 '') if test "$ac_cv_type_long_long" = yes; then
24665 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24666 See \`config.log' for more details." >&5
24667 echo "$as_me: error: cannot compute sizeof (long long)
24668 See \`config.log' for more details." >&2;}
24669 { (exit 77); exit 77; }; }
24671 ac_cv_sizeof_long_long=0
24675 cat >conftest.$ac_ext <<_ACEOF
24678 cat confdefs.h >>conftest.$ac_ext
24679 cat >>conftest.$ac_ext <<_ACEOF
24680 /* end confdefs.h. */
24681 $ac_includes_default
24682 typedef long long ac__type_sizeof_;
24683 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24684 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24686 #include <stdlib.h>
24691 FILE *f = fopen ("conftest.val", "w");
24694 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24696 long int i = longval ();
24697 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24699 fprintf (f, "%ld\n", i);
24703 unsigned long int i = ulongval ();
24704 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24706 fprintf (f, "%lu\n", i);
24708 return ferror (f) || fclose (f) != 0;
24714 rm -f conftest$ac_exeext
24715 if { (ac_try="$ac_link"
24716 case "(($ac_try" in
24717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24718 *) ac_try_echo=$ac_try;;
24720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24721 (eval "$ac_link") 2>&5
24723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24724 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24725 { (case "(($ac_try" in
24726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24727 *) ac_try_echo=$ac_try;;
24729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24730 (eval "$ac_try") 2>&5
24732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24733 (exit $ac_status); }; }; then
24734 ac_cv_sizeof_long_long=`cat conftest.val`
24736 echo "$as_me: program exited with status $ac_status" >&5
24737 echo "$as_me: failed program was:" >&5
24738 sed 's/^/| /' conftest.$ac_ext >&5
24740 ( exit $ac_status )
24741 if test "$ac_cv_type_long_long" = yes; then
24742 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24743 See \`config.log' for more details." >&5
24744 echo "$as_me: error: cannot compute sizeof (long long)
24745 See \`config.log' for more details." >&2;}
24746 { (exit 77); exit 77; }; }
24748 ac_cv_sizeof_long_long=0
24751 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24755 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24756 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24760 cat >>confdefs.h <<_ACEOF
24761 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24767 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24768 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24769 if test "${ac_cv_type_wchar_t+set}" = set; then
24770 echo $ECHO_N "(cached) $ECHO_C" >&6
24772 cat >conftest.$ac_ext <<_ACEOF
24775 cat confdefs.h >>conftest.$ac_ext
24776 cat >>conftest.$ac_ext <<_ACEOF
24777 /* end confdefs.h. */
24779 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24780 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24781 # error "fake wchar_t"
24783 #ifdef HAVE_WCHAR_H
24785 # include <stddef.h>
24787 # include <wchar.h>
24789 #ifdef HAVE_STDLIB_H
24790 # include <stdlib.h>
24796 typedef wchar_t ac__type_new_;
24800 if ((ac__type_new_ *) 0)
24802 if (sizeof (ac__type_new_))
24808 rm -f conftest.$ac_objext
24809 if { (ac_try="$ac_compile"
24810 case "(($ac_try" in
24811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24812 *) ac_try_echo=$ac_try;;
24814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24815 (eval "$ac_compile") 2>conftest.er1
24817 grep -v '^ *+' conftest.er1 >conftest.err
24819 cat conftest.err >&5
24820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24821 (exit $ac_status); } && {
24822 test -z "$ac_c_werror_flag" ||
24823 test ! -s conftest.err
24824 } && test -s conftest.$ac_objext; then
24825 ac_cv_type_wchar_t=yes
24827 echo "$as_me: failed program was:" >&5
24828 sed 's/^/| /' conftest.$ac_ext >&5
24830 ac_cv_type_wchar_t=no
24833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24835 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24836 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24838 # The cast to long int works around a bug in the HP C Compiler
24839 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24840 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24841 # This bug is HP SR number 8606223364.
24842 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24843 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24844 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24845 echo $ECHO_N "(cached) $ECHO_C" >&6
24847 if test "$cross_compiling" = yes; then
24848 # Depending upon the size, compute the lo and hi bounds.
24849 cat >conftest.$ac_ext <<_ACEOF
24852 cat confdefs.h >>conftest.$ac_ext
24853 cat >>conftest.$ac_ext <<_ACEOF
24854 /* end confdefs.h. */
24856 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24857 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24858 # error "fake wchar_t"
24860 #ifdef HAVE_WCHAR_H
24862 # include <stddef.h>
24864 # include <wchar.h>
24866 #ifdef HAVE_STDLIB_H
24867 # include <stdlib.h>
24873 typedef wchar_t ac__type_sizeof_;
24877 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24884 rm -f conftest.$ac_objext
24885 if { (ac_try="$ac_compile"
24886 case "(($ac_try" in
24887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24888 *) ac_try_echo=$ac_try;;
24890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24891 (eval "$ac_compile") 2>conftest.er1
24893 grep -v '^ *+' conftest.er1 >conftest.err
24895 cat conftest.err >&5
24896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24897 (exit $ac_status); } && {
24898 test -z "$ac_c_werror_flag" ||
24899 test ! -s conftest.err
24900 } && test -s conftest.$ac_objext; then
24903 cat >conftest.$ac_ext <<_ACEOF
24906 cat confdefs.h >>conftest.$ac_ext
24907 cat >>conftest.$ac_ext <<_ACEOF
24908 /* end confdefs.h. */
24910 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24911 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24912 # error "fake wchar_t"
24914 #ifdef HAVE_WCHAR_H
24916 # include <stddef.h>
24918 # include <wchar.h>
24920 #ifdef HAVE_STDLIB_H
24921 # include <stdlib.h>
24927 typedef wchar_t ac__type_sizeof_;
24931 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24938 rm -f conftest.$ac_objext
24939 if { (ac_try="$ac_compile"
24940 case "(($ac_try" in
24941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24942 *) ac_try_echo=$ac_try;;
24944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24945 (eval "$ac_compile") 2>conftest.er1
24947 grep -v '^ *+' conftest.er1 >conftest.err
24949 cat conftest.err >&5
24950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24951 (exit $ac_status); } && {
24952 test -z "$ac_c_werror_flag" ||
24953 test ! -s conftest.err
24954 } && test -s conftest.$ac_objext; then
24955 ac_hi=$ac_mid; break
24957 echo "$as_me: failed program was:" >&5
24958 sed 's/^/| /' conftest.$ac_ext >&5
24960 ac_lo=`expr $ac_mid + 1`
24961 if test $ac_lo -le $ac_mid; then
24965 ac_mid=`expr 2 '*' $ac_mid + 1`
24968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24971 echo "$as_me: failed program was:" >&5
24972 sed 's/^/| /' conftest.$ac_ext >&5
24974 cat >conftest.$ac_ext <<_ACEOF
24977 cat confdefs.h >>conftest.$ac_ext
24978 cat >>conftest.$ac_ext <<_ACEOF
24979 /* end confdefs.h. */
24981 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24982 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24983 # error "fake wchar_t"
24985 #ifdef HAVE_WCHAR_H
24987 # include <stddef.h>
24989 # include <wchar.h>
24991 #ifdef HAVE_STDLIB_H
24992 # include <stdlib.h>
24998 typedef wchar_t ac__type_sizeof_;
25002 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25009 rm -f conftest.$ac_objext
25010 if { (ac_try="$ac_compile"
25011 case "(($ac_try" in
25012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25013 *) ac_try_echo=$ac_try;;
25015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25016 (eval "$ac_compile") 2>conftest.er1
25018 grep -v '^ *+' conftest.er1 >conftest.err
25020 cat conftest.err >&5
25021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25022 (exit $ac_status); } && {
25023 test -z "$ac_c_werror_flag" ||
25024 test ! -s conftest.err
25025 } && test -s conftest.$ac_objext; then
25028 cat >conftest.$ac_ext <<_ACEOF
25031 cat confdefs.h >>conftest.$ac_ext
25032 cat >>conftest.$ac_ext <<_ACEOF
25033 /* end confdefs.h. */
25035 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25036 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25037 # error "fake wchar_t"
25039 #ifdef HAVE_WCHAR_H
25041 # include <stddef.h>
25043 # include <wchar.h>
25045 #ifdef HAVE_STDLIB_H
25046 # include <stdlib.h>
25052 typedef wchar_t ac__type_sizeof_;
25056 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25063 rm -f conftest.$ac_objext
25064 if { (ac_try="$ac_compile"
25065 case "(($ac_try" in
25066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25067 *) ac_try_echo=$ac_try;;
25069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25070 (eval "$ac_compile") 2>conftest.er1
25072 grep -v '^ *+' conftest.er1 >conftest.err
25074 cat conftest.err >&5
25075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25076 (exit $ac_status); } && {
25077 test -z "$ac_c_werror_flag" ||
25078 test ! -s conftest.err
25079 } && test -s conftest.$ac_objext; then
25080 ac_lo=$ac_mid; break
25082 echo "$as_me: failed program was:" >&5
25083 sed 's/^/| /' conftest.$ac_ext >&5
25085 ac_hi=`expr '(' $ac_mid ')' - 1`
25086 if test $ac_mid -le $ac_hi; then
25090 ac_mid=`expr 2 '*' $ac_mid`
25093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25096 echo "$as_me: failed program was:" >&5
25097 sed 's/^/| /' conftest.$ac_ext >&5
25102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25106 # Binary search between lo and hi bounds.
25107 while test "x$ac_lo" != "x$ac_hi"; do
25108 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25109 cat >conftest.$ac_ext <<_ACEOF
25112 cat confdefs.h >>conftest.$ac_ext
25113 cat >>conftest.$ac_ext <<_ACEOF
25114 /* end confdefs.h. */
25116 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25117 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25118 # error "fake wchar_t"
25120 #ifdef HAVE_WCHAR_H
25122 # include <stddef.h>
25124 # include <wchar.h>
25126 #ifdef HAVE_STDLIB_H
25127 # include <stdlib.h>
25133 typedef wchar_t ac__type_sizeof_;
25137 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25144 rm -f conftest.$ac_objext
25145 if { (ac_try="$ac_compile"
25146 case "(($ac_try" in
25147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25148 *) ac_try_echo=$ac_try;;
25150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25151 (eval "$ac_compile") 2>conftest.er1
25153 grep -v '^ *+' conftest.er1 >conftest.err
25155 cat conftest.err >&5
25156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25157 (exit $ac_status); } && {
25158 test -z "$ac_c_werror_flag" ||
25159 test ! -s conftest.err
25160 } && test -s conftest.$ac_objext; then
25163 echo "$as_me: failed program was:" >&5
25164 sed 's/^/| /' conftest.$ac_ext >&5
25166 ac_lo=`expr '(' $ac_mid ')' + 1`
25169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25172 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25173 '') if test "$ac_cv_type_wchar_t" = yes; then
25174 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25175 See \`config.log' for more details." >&5
25176 echo "$as_me: error: cannot compute sizeof (wchar_t)
25177 See \`config.log' for more details." >&2;}
25178 { (exit 77); exit 77; }; }
25180 ac_cv_sizeof_wchar_t=0
25184 cat >conftest.$ac_ext <<_ACEOF
25187 cat confdefs.h >>conftest.$ac_ext
25188 cat >>conftest.$ac_ext <<_ACEOF
25189 /* end confdefs.h. */
25191 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25192 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25193 # error "fake wchar_t"
25195 #ifdef HAVE_WCHAR_H
25197 # include <stddef.h>
25199 # include <wchar.h>
25201 #ifdef HAVE_STDLIB_H
25202 # include <stdlib.h>
25208 typedef wchar_t ac__type_sizeof_;
25209 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25210 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25212 #include <stdlib.h>
25217 FILE *f = fopen ("conftest.val", "w");
25220 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25222 long int i = longval ();
25223 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25225 fprintf (f, "%ld\n", i);
25229 unsigned long int i = ulongval ();
25230 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25232 fprintf (f, "%lu\n", i);
25234 return ferror (f) || fclose (f) != 0;
25240 rm -f conftest$ac_exeext
25241 if { (ac_try="$ac_link"
25242 case "(($ac_try" in
25243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25244 *) ac_try_echo=$ac_try;;
25246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25247 (eval "$ac_link") 2>&5
25249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25250 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25251 { (case "(($ac_try" in
25252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25253 *) ac_try_echo=$ac_try;;
25255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25256 (eval "$ac_try") 2>&5
25258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25259 (exit $ac_status); }; }; then
25260 ac_cv_sizeof_wchar_t=`cat conftest.val`
25262 echo "$as_me: program exited with status $ac_status" >&5
25263 echo "$as_me: failed program was:" >&5
25264 sed 's/^/| /' conftest.$ac_ext >&5
25266 ( exit $ac_status )
25267 if test "$ac_cv_type_wchar_t" = yes; then
25268 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25269 See \`config.log' for more details." >&5
25270 echo "$as_me: error: cannot compute sizeof (wchar_t)
25271 See \`config.log' for more details." >&2;}
25272 { (exit 77); exit 77; }; }
25274 ac_cv_sizeof_wchar_t=0
25277 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25281 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25282 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25286 cat >>confdefs.h <<_ACEOF
25287 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25291 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25297 { echo "$as_me:$LINENO: checking for va_copy" >&5
25298 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25299 if test "${wx_cv_func_va_copy+set}" = set; then
25300 echo $ECHO_N "(cached) $ECHO_C" >&6
25304 ac_cpp='$CXXCPP $CPPFLAGS'
25305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25309 cat >conftest.$ac_ext <<_ACEOF
25311 #include <stdarg.h>
25312 void foo(char *f, ...)
25326 rm -f conftest.$ac_objext conftest$ac_exeext
25327 if { (ac_try="$ac_link"
25328 case "(($ac_try" in
25329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25330 *) ac_try_echo=$ac_try;;
25332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25333 (eval "$ac_link") 2>conftest.er1
25335 grep -v '^ *+' conftest.er1 >conftest.err
25337 cat conftest.err >&5
25338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25339 (exit $ac_status); } && {
25340 test -z "$ac_cxx_werror_flag" ||
25341 test ! -s conftest.err
25342 } && test -s conftest$ac_exeext &&
25343 $as_test_x conftest$ac_exeext; then
25344 wx_cv_func_va_copy=yes
25346 echo "$as_me: failed program was:" >&5
25347 sed 's/^/| /' conftest.$ac_ext >&5
25349 wx_cv_func_va_copy=no
25353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25354 conftest$ac_exeext conftest.$ac_ext
25356 ac_cpp='$CPP $CPPFLAGS'
25357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25364 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25365 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25367 if test $wx_cv_func_va_copy = "yes"; then
25368 cat >>confdefs.h <<\_ACEOF
25369 #define HAVE_VA_COPY 1
25373 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25374 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25375 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25376 echo $ECHO_N "(cached) $ECHO_C" >&6
25379 if test "$cross_compiling" = yes; then
25380 wx_cv_type_va_list_lvalue=yes
25383 cat >conftest.$ac_ext <<_ACEOF
25385 #include <stdarg.h>
25386 int foo(char *f, ...)
25391 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25399 return foo("hi", 17);
25402 rm -f conftest$ac_exeext
25403 if { (ac_try="$ac_link"
25404 case "(($ac_try" in
25405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25406 *) ac_try_echo=$ac_try;;
25408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25409 (eval "$ac_link") 2>&5
25411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25412 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25413 { (case "(($ac_try" in
25414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25415 *) ac_try_echo=$ac_try;;
25417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25418 (eval "$ac_try") 2>&5
25420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421 (exit $ac_status); }; }; then
25422 wx_cv_type_va_list_lvalue=yes
25424 echo "$as_me: program exited with status $ac_status" >&5
25425 echo "$as_me: failed program was:" >&5
25426 sed 's/^/| /' conftest.$ac_ext >&5
25428 ( exit $ac_status )
25429 wx_cv_type_va_list_lvalue=no
25431 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25438 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25439 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25441 if test $wx_cv_type_va_list_lvalue != "yes"; then
25442 cat >>confdefs.h <<\_ACEOF
25443 #define VA_LIST_IS_ARRAY 1
25449 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25451 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25452 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25453 if test "${wx_cv_have_variadic_macros+set}" = set; then
25454 echo $ECHO_N "(cached) $ECHO_C" >&6
25458 ac_cpp='$CXXCPP $CPPFLAGS'
25459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25463 cat >conftest.$ac_ext <<_ACEOF
25466 cat confdefs.h >>conftest.$ac_ext
25467 cat >>conftest.$ac_ext <<_ACEOF
25468 /* end confdefs.h. */
25471 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25477 test("%s %d %p", "test", 1, 0);
25484 rm -f conftest.$ac_objext
25485 if { (ac_try="$ac_compile"
25486 case "(($ac_try" in
25487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25488 *) ac_try_echo=$ac_try;;
25490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25491 (eval "$ac_compile") 2>conftest.er1
25493 grep -v '^ *+' conftest.er1 >conftest.err
25495 cat conftest.err >&5
25496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25497 (exit $ac_status); } && {
25498 test -z "$ac_cxx_werror_flag" ||
25499 test ! -s conftest.err
25500 } && test -s conftest.$ac_objext; then
25501 wx_cv_have_variadic_macros=yes
25503 echo "$as_me: failed program was:" >&5
25504 sed 's/^/| /' conftest.$ac_ext >&5
25506 wx_cv_have_variadic_macros=no
25510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25512 ac_cpp='$CPP $CPPFLAGS'
25513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25520 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25521 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25523 if test $wx_cv_have_variadic_macros = "yes"; then
25524 cat >>confdefs.h <<\_ACEOF
25525 #define HAVE_VARIADIC_MACROS 1
25531 # Check whether --enable-largefile was given.
25532 if test "${enable_largefile+set}" = set; then
25533 enableval=$enable_largefile;
25536 if test "$enable_largefile" != no; then
25539 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25540 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25541 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25542 echo $ECHO_N "(cached) $ECHO_C" >&6
25545 cat >conftest.$ac_ext <<_ACEOF
25548 cat confdefs.h >>conftest.$ac_ext
25549 cat >>conftest.$ac_ext <<_ACEOF
25550 /* end confdefs.h. */
25551 #define _FILE_OFFSET_BITS 64
25552 #include <sys/types.h>
25557 unsigned int field: sizeof(off_t) == 8;
25564 rm -f conftest.$ac_objext
25565 if { (ac_try="$ac_compile"
25566 case "(($ac_try" in
25567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25568 *) ac_try_echo=$ac_try;;
25570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25571 (eval "$ac_compile") 2>conftest.er1
25573 grep -v '^ *+' conftest.er1 >conftest.err
25575 cat conftest.err >&5
25576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25577 (exit $ac_status); } && {
25578 test -z "$ac_c_werror_flag" ||
25579 test ! -s conftest.err
25580 } && test -s conftest.$ac_objext; then
25581 ac_cv_sys_file_offset_bits=64
25583 echo "$as_me: failed program was:" >&5
25584 sed 's/^/| /' conftest.$ac_ext >&5
25586 ac_cv_sys_file_offset_bits=no
25589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25593 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25594 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25596 if test "$ac_cv_sys_file_offset_bits" != no; then
25598 cat >>confdefs.h <<_ACEOF
25599 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25604 if test "x$wx_largefile" != "xyes"; then
25606 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25607 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25608 if test "${ac_cv_sys_large_files+set}" = set; then
25609 echo $ECHO_N "(cached) $ECHO_C" >&6
25612 cat >conftest.$ac_ext <<_ACEOF
25615 cat confdefs.h >>conftest.$ac_ext
25616 cat >>conftest.$ac_ext <<_ACEOF
25617 /* end confdefs.h. */
25618 #define _LARGE_FILES 1
25619 #include <sys/types.h>
25624 unsigned int field: sizeof(off_t) == 8;
25631 rm -f conftest.$ac_objext
25632 if { (ac_try="$ac_compile"
25633 case "(($ac_try" in
25634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25635 *) ac_try_echo=$ac_try;;
25637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25638 (eval "$ac_compile") 2>conftest.er1
25640 grep -v '^ *+' conftest.er1 >conftest.err
25642 cat conftest.err >&5
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); } && {
25645 test -z "$ac_c_werror_flag" ||
25646 test ! -s conftest.err
25647 } && test -s conftest.$ac_objext; then
25648 ac_cv_sys_large_files=1
25650 echo "$as_me: failed program was:" >&5
25651 sed 's/^/| /' conftest.$ac_ext >&5
25653 ac_cv_sys_large_files=no
25656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25660 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25661 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25663 if test "$ac_cv_sys_large_files" != no; then
25665 cat >>confdefs.h <<_ACEOF
25666 #define _LARGE_FILES $ac_cv_sys_large_files
25673 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25674 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25675 if test "x$wx_largefile" = "xyes"; then
25676 cat >>confdefs.h <<\_ACEOF
25677 #define HAVE_LARGEFILE_SUPPORT 1
25681 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25682 echo "${ECHO_T}$wx_largefile" >&6; }
25686 if test "x$wx_largefile" = "xyes"; then
25687 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25688 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25690 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25691 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25692 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25693 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25694 echo $ECHO_N "(cached) $ECHO_C" >&6
25698 ac_cpp='$CXXCPP $CPPFLAGS'
25699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25703 cat >conftest.$ac_ext <<_ACEOF
25706 cat confdefs.h >>conftest.$ac_ext
25707 cat >>conftest.$ac_ext <<_ACEOF
25708 /* end confdefs.h. */
25714 #ifndef __STDC_EXT__
25722 rm -f conftest.$ac_objext
25723 if { (ac_try="$ac_compile"
25724 case "(($ac_try" in
25725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25726 *) ac_try_echo=$ac_try;;
25728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25729 (eval "$ac_compile") 2>conftest.er1
25731 grep -v '^ *+' conftest.er1 >conftest.err
25733 cat conftest.err >&5
25734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25735 (exit $ac_status); } && {
25736 test -z "$ac_cxx_werror_flag" ||
25737 test ! -s conftest.err
25738 } && test -s conftest.$ac_objext; then
25739 wx_cv_STDC_EXT_required=no
25741 echo "$as_me: failed program was:" >&5
25742 sed 's/^/| /' conftest.$ac_ext >&5
25744 wx_cv_STDC_EXT_required=yes
25748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25750 ac_cpp='$CPP $CPPFLAGS'
25751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25758 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25759 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25760 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25761 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25765 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25767 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25768 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25769 if test "${ac_cv_sys_largefile_source+set}" = set; then
25770 echo $ECHO_N "(cached) $ECHO_C" >&6
25773 cat >conftest.$ac_ext <<_ACEOF
25776 cat confdefs.h >>conftest.$ac_ext
25777 cat >>conftest.$ac_ext <<_ACEOF
25778 /* end confdefs.h. */
25783 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
25788 rm -f conftest.$ac_objext conftest$ac_exeext
25789 if { (ac_try="$ac_link"
25790 case "(($ac_try" in
25791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25792 *) ac_try_echo=$ac_try;;
25794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25795 (eval "$ac_link") 2>conftest.er1
25797 grep -v '^ *+' conftest.er1 >conftest.err
25799 cat conftest.err >&5
25800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25801 (exit $ac_status); } && {
25802 test -z "$ac_c_werror_flag" ||
25803 test ! -s conftest.err
25804 } && test -s conftest$ac_exeext &&
25805 $as_test_x conftest$ac_exeext; then
25806 ac_cv_sys_largefile_source=no; break
25808 echo "$as_me: failed program was:" >&5
25809 sed 's/^/| /' conftest.$ac_ext >&5
25814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25815 conftest$ac_exeext conftest.$ac_ext
25816 cat >conftest.$ac_ext <<_ACEOF
25819 cat confdefs.h >>conftest.$ac_ext
25820 cat >>conftest.$ac_ext <<_ACEOF
25821 /* end confdefs.h. */
25822 #define _LARGEFILE_SOURCE 1
25827 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
25832 rm -f conftest.$ac_objext conftest$ac_exeext
25833 if { (ac_try="$ac_link"
25834 case "(($ac_try" in
25835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25836 *) ac_try_echo=$ac_try;;
25838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25839 (eval "$ac_link") 2>conftest.er1
25841 grep -v '^ *+' conftest.er1 >conftest.err
25843 cat conftest.err >&5
25844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25845 (exit $ac_status); } && {
25846 test -z "$ac_c_werror_flag" ||
25847 test ! -s conftest.err
25848 } && test -s conftest$ac_exeext &&
25849 $as_test_x conftest$ac_exeext; then
25850 ac_cv_sys_largefile_source=1; break
25852 echo "$as_me: failed program was:" >&5
25853 sed 's/^/| /' conftest.$ac_ext >&5
25858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25859 conftest$ac_exeext conftest.$ac_ext
25860 ac_cv_sys_largefile_source=unknown
25864 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25865 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25866 case $ac_cv_sys_largefile_source in #(
25869 cat >>confdefs.h <<_ACEOF
25870 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25876 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25877 # in glibc 2.1.3, but that breaks too many other things.
25878 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25879 if test $ac_cv_sys_largefile_source != unknown; then
25881 cat >>confdefs.h <<\_ACEOF
25882 #define HAVE_FSEEKO 1
25887 if test "$ac_cv_sys_largefile_source" != no; then
25888 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25892 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25893 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25894 if test "${ac_cv_c_bigendian+set}" = set; then
25895 echo $ECHO_N "(cached) $ECHO_C" >&6
25897 ac_cv_c_bigendian=unknown
25898 # See if sys/param.h defines the BYTE_ORDER macro.
25899 cat >conftest.$ac_ext <<_ACEOF
25902 cat confdefs.h >>conftest.$ac_ext
25903 cat >>conftest.$ac_ext <<_ACEOF
25904 /* end confdefs.h. */
25905 #include <sys/types.h>
25906 #include <sys/param.h>
25911 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25912 bogus endian macros
25918 rm -f conftest.$ac_objext
25919 if { (ac_try="$ac_compile"
25920 case "(($ac_try" in
25921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25922 *) ac_try_echo=$ac_try;;
25924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25925 (eval "$ac_compile") 2>conftest.er1
25927 grep -v '^ *+' conftest.er1 >conftest.err
25929 cat conftest.err >&5
25930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931 (exit $ac_status); } && {
25932 test -z "$ac_c_werror_flag" ||
25933 test ! -s conftest.err
25934 } && test -s conftest.$ac_objext; then
25935 # It does; now see whether it defined to BIG_ENDIAN or not.
25936 cat >conftest.$ac_ext <<_ACEOF
25939 cat confdefs.h >>conftest.$ac_ext
25940 cat >>conftest.$ac_ext <<_ACEOF
25941 /* end confdefs.h. */
25942 #include <sys/types.h>
25943 #include <sys/param.h>
25948 #if BYTE_ORDER != BIG_ENDIAN
25955 rm -f conftest.$ac_objext
25956 if { (ac_try="$ac_compile"
25957 case "(($ac_try" in
25958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25959 *) ac_try_echo=$ac_try;;
25961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25962 (eval "$ac_compile") 2>conftest.er1
25964 grep -v '^ *+' conftest.er1 >conftest.err
25966 cat conftest.err >&5
25967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25968 (exit $ac_status); } && {
25969 test -z "$ac_c_werror_flag" ||
25970 test ! -s conftest.err
25971 } && test -s conftest.$ac_objext; then
25972 ac_cv_c_bigendian=yes
25974 echo "$as_me: failed program was:" >&5
25975 sed 's/^/| /' conftest.$ac_ext >&5
25977 ac_cv_c_bigendian=no
25980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25982 echo "$as_me: failed program was:" >&5
25983 sed 's/^/| /' conftest.$ac_ext >&5
25988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25989 if test $ac_cv_c_bigendian = unknown; then
25990 if test "$cross_compiling" = yes; then
25991 ac_cv_c_bigendian=unknown
25993 cat >conftest.$ac_ext <<_ACEOF
25996 cat confdefs.h >>conftest.$ac_ext
25997 cat >>conftest.$ac_ext <<_ACEOF
25998 /* end confdefs.h. */
26000 /* Are we little or big endian? From Harbison&Steele. */
26004 char c[sizeof (long)];
26007 exit (u.c[sizeof (long) - 1] == 1);
26010 rm -f conftest$ac_exeext
26011 if { (ac_try="$ac_link"
26012 case "(($ac_try" in
26013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26014 *) ac_try_echo=$ac_try;;
26016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26017 (eval "$ac_link") 2>&5
26019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26020 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26021 { (case "(($ac_try" in
26022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26023 *) ac_try_echo=$ac_try;;
26025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26026 (eval "$ac_try") 2>&5
26028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26029 (exit $ac_status); }; }; then
26030 ac_cv_c_bigendian=no
26032 echo "$as_me: program exited with status $ac_status" >&5
26033 echo "$as_me: failed program was:" >&5
26034 sed 's/^/| /' conftest.$ac_ext >&5
26036 ( exit $ac_status )
26037 ac_cv_c_bigendian=yes
26039 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26045 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26046 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26047 if test $ac_cv_c_bigendian = unknown; then
26048 { 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
26049 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;}
26051 if test $ac_cv_c_bigendian = yes; then
26052 cat >>confdefs.h <<\_ACEOF
26053 #define WORDS_BIGENDIAN 1
26062 ac_cpp='$CXXCPP $CPPFLAGS'
26063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26069 for ac_header in iostream
26071 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26072 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26074 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26075 echo $ECHO_N "(cached) $ECHO_C" >&6
26077 cat >conftest.$ac_ext <<_ACEOF
26080 cat confdefs.h >>conftest.$ac_ext
26081 cat >>conftest.$ac_ext <<_ACEOF
26082 /* end confdefs.h. */
26085 #include <$ac_header>
26087 rm -f conftest.$ac_objext
26088 if { (ac_try="$ac_compile"
26089 case "(($ac_try" in
26090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26091 *) ac_try_echo=$ac_try;;
26093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26094 (eval "$ac_compile") 2>conftest.er1
26096 grep -v '^ *+' conftest.er1 >conftest.err
26098 cat conftest.err >&5
26099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26100 (exit $ac_status); } && {
26101 test -z "$ac_cxx_werror_flag" ||
26102 test ! -s conftest.err
26103 } && test -s conftest.$ac_objext; then
26104 eval "$as_ac_Header=yes"
26106 echo "$as_me: failed program was:" >&5
26107 sed 's/^/| /' conftest.$ac_ext >&5
26109 eval "$as_ac_Header=no"
26112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26114 ac_res=`eval echo '${'$as_ac_Header'}'`
26115 { echo "$as_me:$LINENO: result: $ac_res" >&5
26116 echo "${ECHO_T}$ac_res" >&6; }
26117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26118 cat >>confdefs.h <<_ACEOF
26119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26127 if test "$ac_cv_header_iostream" = "yes" ; then
26130 cat >>confdefs.h <<\_ACEOF
26131 #define wxUSE_IOSTREAMH 1
26137 ac_cpp='$CPP $CPPFLAGS'
26138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26145 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26146 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26147 if test "${wx_cv_cpp_bool+set}" = set; then
26148 echo $ECHO_N "(cached) $ECHO_C" >&6
26153 ac_cpp='$CXXCPP $CPPFLAGS'
26154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26159 cat >conftest.$ac_ext <<_ACEOF
26162 cat confdefs.h >>conftest.$ac_ext
26163 cat >>conftest.$ac_ext <<_ACEOF
26164 /* end confdefs.h. */
26179 rm -f conftest.$ac_objext
26180 if { (ac_try="$ac_compile"
26181 case "(($ac_try" in
26182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26183 *) ac_try_echo=$ac_try;;
26185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26186 (eval "$ac_compile") 2>conftest.er1
26188 grep -v '^ *+' conftest.er1 >conftest.err
26190 cat conftest.err >&5
26191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26192 (exit $ac_status); } && {
26193 test -z "$ac_cxx_werror_flag" ||
26194 test ! -s conftest.err
26195 } && test -s conftest.$ac_objext; then
26200 echo "$as_me: failed program was:" >&5
26201 sed 's/^/| /' conftest.$ac_ext >&5
26209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26212 ac_cpp='$CPP $CPPFLAGS'
26213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26219 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26220 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26222 if test "$wx_cv_cpp_bool" = "yes"; then
26223 cat >>confdefs.h <<\_ACEOF
26224 #define HAVE_BOOL 1
26231 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26232 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26233 if test "${wx_cv_explicit+set}" = set; then
26234 echo $ECHO_N "(cached) $ECHO_C" >&6
26239 ac_cpp='$CXXCPP $CPPFLAGS'
26240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26245 cat >conftest.$ac_ext <<_ACEOF
26248 cat confdefs.h >>conftest.$ac_ext
26249 cat >>conftest.$ac_ext <<_ACEOF
26250 /* end confdefs.h. */
26252 class Foo { public: explicit Foo(int) {} };
26264 rm -f conftest.$ac_objext
26265 if { (ac_try="$ac_compile"
26266 case "(($ac_try" in
26267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26268 *) ac_try_echo=$ac_try;;
26270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26271 (eval "$ac_compile") 2>conftest.er1
26273 grep -v '^ *+' conftest.er1 >conftest.err
26275 cat conftest.err >&5
26276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26277 (exit $ac_status); } && {
26278 test -z "$ac_cxx_werror_flag" ||
26279 test ! -s conftest.err
26280 } && test -s conftest.$ac_objext; then
26282 cat >conftest.$ac_ext <<_ACEOF
26285 cat confdefs.h >>conftest.$ac_ext
26286 cat >>conftest.$ac_ext <<_ACEOF
26287 /* end confdefs.h. */
26289 class Foo { public: explicit Foo(int) {} };
26290 static void TakeFoo(const Foo& foo) { }
26303 rm -f conftest.$ac_objext
26304 if { (ac_try="$ac_compile"
26305 case "(($ac_try" in
26306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26307 *) ac_try_echo=$ac_try;;
26309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26310 (eval "$ac_compile") 2>conftest.er1
26312 grep -v '^ *+' conftest.er1 >conftest.err
26314 cat conftest.err >&5
26315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26316 (exit $ac_status); } && {
26317 test -z "$ac_cxx_werror_flag" ||
26318 test ! -s conftest.err
26319 } && test -s conftest.$ac_objext; then
26322 echo "$as_me: failed program was:" >&5
26323 sed 's/^/| /' conftest.$ac_ext >&5
26329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26332 echo "$as_me: failed program was:" >&5
26333 sed 's/^/| /' conftest.$ac_ext >&5
26339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26342 ac_cpp='$CPP $CPPFLAGS'
26343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26349 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26350 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26352 if test "$wx_cv_explicit" = "yes"; then
26353 cat >>confdefs.h <<\_ACEOF
26354 #define HAVE_EXPLICIT 1
26360 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26361 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26362 if test "${ac_cv_cxx_const_cast+set}" = set; then
26363 echo $ECHO_N "(cached) $ECHO_C" >&6
26367 ac_cpp='$CXXCPP $CPPFLAGS'
26368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26372 cat >conftest.$ac_ext <<_ACEOF
26375 cat confdefs.h >>conftest.$ac_ext
26376 cat >>conftest.$ac_ext <<_ACEOF
26377 /* end confdefs.h. */
26382 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26387 rm -f conftest.$ac_objext
26388 if { (ac_try="$ac_compile"
26389 case "(($ac_try" in
26390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26391 *) ac_try_echo=$ac_try;;
26393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26394 (eval "$ac_compile") 2>conftest.er1
26396 grep -v '^ *+' conftest.er1 >conftest.err
26398 cat conftest.err >&5
26399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26400 (exit $ac_status); } && {
26401 test -z "$ac_cxx_werror_flag" ||
26402 test ! -s conftest.err
26403 } && test -s conftest.$ac_objext; then
26404 ac_cv_cxx_const_cast=yes
26406 echo "$as_me: failed program was:" >&5
26407 sed 's/^/| /' conftest.$ac_ext >&5
26409 ac_cv_cxx_const_cast=no
26412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26414 ac_cpp='$CPP $CPPFLAGS'
26415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26421 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26422 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26423 if test "$ac_cv_cxx_const_cast" = yes; then
26425 cat >>confdefs.h <<\_ACEOF
26426 #define HAVE_CONST_CAST
26431 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26432 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26433 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26434 echo $ECHO_N "(cached) $ECHO_C" >&6
26438 ac_cpp='$CXXCPP $CPPFLAGS'
26439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26443 cat >conftest.$ac_ext <<_ACEOF
26446 cat confdefs.h >>conftest.$ac_ext
26447 cat >>conftest.$ac_ext <<_ACEOF
26448 /* end confdefs.h. */
26449 #include <typeinfo>
26450 class Base { public : Base () {} virtual void f () = 0;};
26451 class Derived : public Base { public : Derived () {} virtual void f () {} };
26452 class Unrelated { public : Unrelated () {} };
26453 int g (Unrelated&) { return 0; }
26458 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26463 rm -f conftest.$ac_objext
26464 if { (ac_try="$ac_compile"
26465 case "(($ac_try" in
26466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26467 *) ac_try_echo=$ac_try;;
26469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26470 (eval "$ac_compile") 2>conftest.er1
26472 grep -v '^ *+' conftest.er1 >conftest.err
26474 cat conftest.err >&5
26475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476 (exit $ac_status); } && {
26477 test -z "$ac_cxx_werror_flag" ||
26478 test ! -s conftest.err
26479 } && test -s conftest.$ac_objext; then
26480 ac_cv_cxx_reinterpret_cast=yes
26482 echo "$as_me: failed program was:" >&5
26483 sed 's/^/| /' conftest.$ac_ext >&5
26485 ac_cv_cxx_reinterpret_cast=no
26488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26490 ac_cpp='$CPP $CPPFLAGS'
26491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26497 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26498 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26499 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26501 cat >>confdefs.h <<\_ACEOF
26502 #define HAVE_REINTERPRET_CAST
26507 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26508 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26509 if test "${ac_cv_cxx_static_cast+set}" = set; then
26510 echo $ECHO_N "(cached) $ECHO_C" >&6
26514 ac_cpp='$CXXCPP $CPPFLAGS'
26515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26519 cat >conftest.$ac_ext <<_ACEOF
26522 cat confdefs.h >>conftest.$ac_ext
26523 cat >>conftest.$ac_ext <<_ACEOF
26524 /* end confdefs.h. */
26525 #include <typeinfo>
26526 class Base { public : Base () {} virtual void f () = 0; };
26527 class Derived : public Base { public : Derived () {} virtual void f () {} };
26528 int g (Derived&) { return 0; }
26533 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26538 rm -f conftest.$ac_objext
26539 if { (ac_try="$ac_compile"
26540 case "(($ac_try" in
26541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26542 *) ac_try_echo=$ac_try;;
26544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26545 (eval "$ac_compile") 2>conftest.er1
26547 grep -v '^ *+' conftest.er1 >conftest.err
26549 cat conftest.err >&5
26550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26551 (exit $ac_status); } && {
26552 test -z "$ac_cxx_werror_flag" ||
26553 test ! -s conftest.err
26554 } && test -s conftest.$ac_objext; then
26555 ac_cv_cxx_static_cast=yes
26557 echo "$as_me: failed program was:" >&5
26558 sed 's/^/| /' conftest.$ac_ext >&5
26560 ac_cv_cxx_static_cast=no
26563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26565 ac_cpp='$CPP $CPPFLAGS'
26566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26572 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26573 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26574 if test "$ac_cv_cxx_static_cast" = yes; then
26576 cat >>confdefs.h <<\_ACEOF
26577 #define HAVE_STATIC_CAST
26583 if test "x$SUNCXX" = xyes; then
26584 CXXFLAGS="-features=tmplife $CXXFLAGS"
26587 if test "x$SUNCC" = xyes; then
26588 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26591 if test "x$SGICC" = "xyes"; then
26592 CFLAGS="-woff 3970 $CFLAGS"
26594 if test "x$SGICXX" = "xyes"; then
26595 CXXFLAGS="-woff 3970 $CXXFLAGS"
26598 if test "x$HPCC" = "xyes"; then
26599 CFLAGS="+W 2011,2450 $CFLAGS"
26601 if test "x$HPCXX" = "xyes"; then
26602 CXXFLAGS="+W 2340 $CXXFLAGS"
26605 if test "x$COMPAQCXX" = "xyes"; then
26606 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26610 ac_cpp='$CXXCPP $CPPFLAGS'
26611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26616 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26617 if test "$wxUSE_UNICODE" = "yes"; then
26618 std_string="std::wstring"
26619 char_type="wchar_t"
26621 std_string="std::string"
26625 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26626 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26627 if test "${wx_cv_class_stdstring+set}" = set; then
26628 echo $ECHO_N "(cached) $ECHO_C" >&6
26631 cat >conftest.$ac_ext <<_ACEOF
26634 cat confdefs.h >>conftest.$ac_ext
26635 cat >>conftest.$ac_ext <<_ACEOF
26636 /* end confdefs.h. */
26646 rm -f conftest.$ac_objext
26647 if { (ac_try="$ac_compile"
26648 case "(($ac_try" in
26649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26650 *) ac_try_echo=$ac_try;;
26652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26653 (eval "$ac_compile") 2>conftest.er1
26655 grep -v '^ *+' conftest.er1 >conftest.err
26657 cat conftest.err >&5
26658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659 (exit $ac_status); } && {
26660 test -z "$ac_cxx_werror_flag" ||
26661 test ! -s conftest.err
26662 } && test -s conftest.$ac_objext; then
26663 wx_cv_class_stdstring=yes
26665 echo "$as_me: failed program was:" >&5
26666 sed 's/^/| /' conftest.$ac_ext >&5
26668 wx_cv_class_stdstring=no
26672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26676 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26677 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26679 if test "$wx_cv_class_stdstring" = yes; then
26680 if test "$wxUSE_UNICODE" = "yes"; then
26681 cat >>confdefs.h <<\_ACEOF
26682 #define HAVE_STD_WSTRING 1
26687 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26688 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26689 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26690 echo $ECHO_N "(cached) $ECHO_C" >&6
26693 cat >conftest.$ac_ext <<_ACEOF
26696 cat confdefs.h >>conftest.$ac_ext
26697 cat >>conftest.$ac_ext <<_ACEOF
26698 /* end confdefs.h. */
26700 #ifdef HAVE_WCHAR_H
26702 # include <stddef.h>
26704 # include <wchar.h>
26706 #ifdef HAVE_STDLIB_H
26707 # include <stdlib.h>
26715 std::basic_string<$char_type> foo;
26716 const $char_type* dummy = foo.c_str();
26721 rm -f conftest.$ac_objext
26722 if { (ac_try="$ac_compile"
26723 case "(($ac_try" in
26724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26725 *) ac_try_echo=$ac_try;;
26727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26728 (eval "$ac_compile") 2>conftest.er1
26730 grep -v '^ *+' conftest.er1 >conftest.err
26732 cat conftest.err >&5
26733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734 (exit $ac_status); } && {
26735 test -z "$ac_cxx_werror_flag" ||
26736 test ! -s conftest.err
26737 } && test -s conftest.$ac_objext; then
26738 wx_cv_class_stdbasicstring=yes
26740 echo "$as_me: failed program was:" >&5
26741 sed 's/^/| /' conftest.$ac_ext >&5
26743 wx_cv_class_stdbasicstring=no
26747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26751 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26752 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26754 if test "$wx_cv_class_stdbasicstring" != yes; then
26755 if test "$wxUSE_STL" = "yes"; then
26756 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26757 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26758 { (exit 1); exit 1; }; }
26759 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26760 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26761 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26762 { (exit 1); exit 1; }; }
26764 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26765 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26766 wxUSE_STD_STRING=no
26772 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26773 { echo "$as_me:$LINENO: checking for std::istream" >&5
26774 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26775 if test "${ac_cv_type_std__istream+set}" = set; then
26776 echo $ECHO_N "(cached) $ECHO_C" >&6
26778 cat >conftest.$ac_ext <<_ACEOF
26781 cat confdefs.h >>conftest.$ac_ext
26782 cat >>conftest.$ac_ext <<_ACEOF
26783 /* end confdefs.h. */
26784 #include <iostream>
26786 typedef std::istream ac__type_new_;
26790 if ((ac__type_new_ *) 0)
26792 if (sizeof (ac__type_new_))
26798 rm -f conftest.$ac_objext
26799 if { (ac_try="$ac_compile"
26800 case "(($ac_try" in
26801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26802 *) ac_try_echo=$ac_try;;
26804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26805 (eval "$ac_compile") 2>conftest.er1
26807 grep -v '^ *+' conftest.er1 >conftest.err
26809 cat conftest.err >&5
26810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26811 (exit $ac_status); } && {
26812 test -z "$ac_cxx_werror_flag" ||
26813 test ! -s conftest.err
26814 } && test -s conftest.$ac_objext; then
26815 ac_cv_type_std__istream=yes
26817 echo "$as_me: failed program was:" >&5
26818 sed 's/^/| /' conftest.$ac_ext >&5
26820 ac_cv_type_std__istream=no
26823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26825 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26826 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26827 if test $ac_cv_type_std__istream = yes; then
26829 cat >>confdefs.h <<_ACEOF
26830 #define HAVE_STD__ISTREAM 1
26835 wxUSE_STD_IOSTREAM=no
26837 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26838 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26839 if test "${ac_cv_type_std__ostream+set}" = set; then
26840 echo $ECHO_N "(cached) $ECHO_C" >&6
26842 cat >conftest.$ac_ext <<_ACEOF
26845 cat confdefs.h >>conftest.$ac_ext
26846 cat >>conftest.$ac_ext <<_ACEOF
26847 /* end confdefs.h. */
26848 #include <iostream>
26850 typedef std::ostream ac__type_new_;
26854 if ((ac__type_new_ *) 0)
26856 if (sizeof (ac__type_new_))
26862 rm -f conftest.$ac_objext
26863 if { (ac_try="$ac_compile"
26864 case "(($ac_try" in
26865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26866 *) ac_try_echo=$ac_try;;
26868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26869 (eval "$ac_compile") 2>conftest.er1
26871 grep -v '^ *+' conftest.er1 >conftest.err
26873 cat conftest.err >&5
26874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26875 (exit $ac_status); } && {
26876 test -z "$ac_cxx_werror_flag" ||
26877 test ! -s conftest.err
26878 } && test -s conftest.$ac_objext; then
26879 ac_cv_type_std__ostream=yes
26881 echo "$as_me: failed program was:" >&5
26882 sed 's/^/| /' conftest.$ac_ext >&5
26884 ac_cv_type_std__ostream=no
26887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26889 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26890 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26891 if test $ac_cv_type_std__ostream = yes; then
26893 cat >>confdefs.h <<_ACEOF
26894 #define HAVE_STD__OSTREAM 1
26899 wxUSE_STD_IOSTREAM=no
26903 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26904 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
26905 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26906 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26907 { (exit 1); exit 1; }; }
26909 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26910 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26915 if test "$wxUSE_STL" = "yes"; then
26916 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26917 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26918 if test "${wx_cv_lib_stl+set}" = set; then
26919 echo $ECHO_N "(cached) $ECHO_C" >&6
26921 cat >conftest.$ac_ext <<_ACEOF
26924 cat confdefs.h >>conftest.$ac_ext
26925 cat >>conftest.$ac_ext <<_ACEOF
26926 /* end confdefs.h. */
26928 #include <functional>
26929 #include <algorithm>
26935 std::vector<int> moo;
26936 std::list<int> foo;
26937 std::vector<int>::iterator it =
26938 std::find_if(moo.begin(), moo.end(),
26939 std::bind2nd(std::less<int>(), 3));
26944 rm -f conftest.$ac_objext
26945 if { (ac_try="$ac_compile"
26946 case "(($ac_try" in
26947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26948 *) ac_try_echo=$ac_try;;
26950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26951 (eval "$ac_compile") 2>conftest.er1
26953 grep -v '^ *+' conftest.er1 >conftest.err
26955 cat conftest.err >&5
26956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26957 (exit $ac_status); } && {
26958 test -z "$ac_cxx_werror_flag" ||
26959 test ! -s conftest.err
26960 } && test -s conftest.$ac_objext; then
26963 echo "$as_me: failed program was:" >&5
26964 sed 's/^/| /' conftest.$ac_ext >&5
26970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26973 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26974 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26976 if test "$wx_cv_lib_stl" != yes; then
26977 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26978 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26979 { (exit 1); exit 1; }; }
26982 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26983 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26984 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26985 echo $ECHO_N "(cached) $ECHO_C" >&6
26987 cat >conftest.$ac_ext <<_ACEOF
26990 cat confdefs.h >>conftest.$ac_ext
26991 cat >>conftest.$ac_ext <<_ACEOF
26992 /* end confdefs.h. */
26997 std::string foo, bar;
26999 foo.compare(1, 1, bar);
27000 foo.compare(1, 1, bar, 1, 1);
27002 foo.compare(1, 1, "");
27003 foo.compare(1, 1, "", 2);
27008 rm -f conftest.$ac_objext
27009 if { (ac_try="$ac_compile"
27010 case "(($ac_try" in
27011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27012 *) ac_try_echo=$ac_try;;
27014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27015 (eval "$ac_compile") 2>conftest.er1
27017 grep -v '^ *+' conftest.er1 >conftest.err
27019 cat conftest.err >&5
27020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27021 (exit $ac_status); } && {
27022 test -z "$ac_cxx_werror_flag" ||
27023 test ! -s conftest.err
27024 } && test -s conftest.$ac_objext; then
27025 wx_cv_func_stdstring_compare=yes
27027 echo "$as_me: failed program was:" >&5
27028 sed 's/^/| /' conftest.$ac_ext >&5
27030 wx_cv_func_stdstring_compare=no
27034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27037 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27038 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27040 if test "$wx_cv_func_stdstring_compare" = yes; then
27041 cat >>confdefs.h <<\_ACEOF
27042 #define HAVE_STD_STRING_COMPARE 1
27047 { echo "$as_me:$LINENO: checking for hash_map" >&5
27048 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27049 if test "${ac_cv_header_hash_map+set}" = set; then
27050 echo $ECHO_N "(cached) $ECHO_C" >&6
27052 cat >conftest.$ac_ext <<_ACEOF
27055 cat confdefs.h >>conftest.$ac_ext
27056 cat >>conftest.$ac_ext <<_ACEOF
27057 /* end confdefs.h. */
27061 #include <hash_map>
27063 rm -f conftest.$ac_objext
27064 if { (ac_try="$ac_compile"
27065 case "(($ac_try" in
27066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27067 *) ac_try_echo=$ac_try;;
27069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27070 (eval "$ac_compile") 2>conftest.er1
27072 grep -v '^ *+' conftest.er1 >conftest.err
27074 cat conftest.err >&5
27075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076 (exit $ac_status); } && {
27077 test -z "$ac_cxx_werror_flag" ||
27078 test ! -s conftest.err
27079 } && test -s conftest.$ac_objext; then
27080 ac_cv_header_hash_map=yes
27082 echo "$as_me: failed program was:" >&5
27083 sed 's/^/| /' conftest.$ac_ext >&5
27085 ac_cv_header_hash_map=no
27088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27090 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27091 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27092 if test $ac_cv_header_hash_map = yes; then
27093 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27094 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27095 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27096 echo $ECHO_N "(cached) $ECHO_C" >&6
27098 cat >conftest.$ac_ext <<_ACEOF
27101 cat confdefs.h >>conftest.$ac_ext
27102 cat >>conftest.$ac_ext <<_ACEOF
27103 /* end confdefs.h. */
27104 #include <hash_map>
27105 #include <hash_set>
27109 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27110 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27115 rm -f conftest.$ac_objext
27116 if { (ac_try="$ac_compile"
27117 case "(($ac_try" in
27118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27119 *) ac_try_echo=$ac_try;;
27121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27122 (eval "$ac_compile") 2>conftest.er1
27124 grep -v '^ *+' conftest.er1 >conftest.err
27126 cat conftest.err >&5
27127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27128 (exit $ac_status); } && {
27129 test -z "$ac_cxx_werror_flag" ||
27130 test ! -s conftest.err
27131 } && test -s conftest.$ac_objext; then
27132 wx_cv_class_stdhashmapset=yes
27134 echo "$as_me: failed program was:" >&5
27135 sed 's/^/| /' conftest.$ac_ext >&5
27137 wx_cv_class_stdhashmapset=no
27140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27144 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27145 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27150 if test "$wx_cv_class_stdhashmapset" = yes; then
27151 cat >>confdefs.h <<\_ACEOF
27152 #define HAVE_HASH_MAP 1
27155 cat >>confdefs.h <<\_ACEOF
27156 #define HAVE_STD_HASH_MAP 1
27161 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27162 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27163 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27164 echo $ECHO_N "(cached) $ECHO_C" >&6
27166 cat >conftest.$ac_ext <<_ACEOF
27169 cat confdefs.h >>conftest.$ac_ext
27170 cat >>conftest.$ac_ext <<_ACEOF
27171 /* end confdefs.h. */
27175 #include <ext/hash_map>
27177 rm -f conftest.$ac_objext
27178 if { (ac_try="$ac_compile"
27179 case "(($ac_try" in
27180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27181 *) ac_try_echo=$ac_try;;
27183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27184 (eval "$ac_compile") 2>conftest.er1
27186 grep -v '^ *+' conftest.er1 >conftest.err
27188 cat conftest.err >&5
27189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27190 (exit $ac_status); } && {
27191 test -z "$ac_cxx_werror_flag" ||
27192 test ! -s conftest.err
27193 } && test -s conftest.$ac_objext; then
27194 ac_cv_header_ext_hash_map=yes
27196 echo "$as_me: failed program was:" >&5
27197 sed 's/^/| /' conftest.$ac_ext >&5
27199 ac_cv_header_ext_hash_map=no
27202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27204 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27205 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27206 if test $ac_cv_header_ext_hash_map = yes; then
27207 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27208 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27209 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27210 echo $ECHO_N "(cached) $ECHO_C" >&6
27212 cat >conftest.$ac_ext <<_ACEOF
27215 cat confdefs.h >>conftest.$ac_ext
27216 cat >>conftest.$ac_ext <<_ACEOF
27217 /* end confdefs.h. */
27218 #include <ext/hash_map>
27219 #include <ext/hash_set>
27223 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27224 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27229 rm -f conftest.$ac_objext
27230 if { (ac_try="$ac_compile"
27231 case "(($ac_try" in
27232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27233 *) ac_try_echo=$ac_try;;
27235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27236 (eval "$ac_compile") 2>conftest.er1
27238 grep -v '^ *+' conftest.er1 >conftest.err
27240 cat conftest.err >&5
27241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27242 (exit $ac_status); } && {
27243 test -z "$ac_cxx_werror_flag" ||
27244 test ! -s conftest.err
27245 } && test -s conftest.$ac_objext; then
27246 wx_cv_class_gnuhashmapset=yes
27248 echo "$as_me: failed program was:" >&5
27249 sed 's/^/| /' conftest.$ac_ext >&5
27251 wx_cv_class_gnuhashmapset=no
27254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27258 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27259 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27264 if test "$wx_cv_class_gnuhashmapset" = yes; then
27265 cat >>confdefs.h <<\_ACEOF
27266 #define HAVE_EXT_HASH_MAP 1
27269 cat >>confdefs.h <<\_ACEOF
27270 #define HAVE_GNU_CXX_HASH_MAP 1
27277 ac_cpp='$CPP $CPPFLAGS'
27278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27285 /usr/local/include \
27287 /usr/Motif-2.1/include \
27288 /usr/Motif-1.2/include \
27289 /usr/include/Motif1.2 \
27292 /usr/openwin/include \
27296 /usr/X11R6/include \
27297 /usr/X11R6.4/include \
27298 /usr/X11R5/include \
27299 /usr/X11R4/include \
27301 /usr/include/X11R6 \
27302 /usr/include/X11R5 \
27303 /usr/include/X11R4 \
27305 /usr/local/X11R6/include \
27306 /usr/local/X11R5/include \
27307 /usr/local/X11R4/include \
27309 /usr/local/include/X11R6 \
27310 /usr/local/include/X11R5 \
27311 /usr/local/include/X11R4 \
27315 /usr/local/X11/include \
27316 /usr/local/include/X11 \
27318 /usr/XFree86/include/X11 \
27321 /usr/openwin/share/include"
27323 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27324 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27328 if test "${wx_cv_std_libpath+set}" = set; then
27329 echo $ECHO_N "(cached) $ECHO_C" >&6
27332 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27333 for e in a so sl dylib dll.a; do
27335 if test -f $libc; then
27338 cat >conftest.$ac_ext <<_ACEOF
27339 int main() { return 0; }
27341 rm -f conftest.$ac_objext conftest$ac_exeext
27342 if { (ac_try="$ac_link"
27343 case "(($ac_try" in
27344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27345 *) ac_try_echo=$ac_try;;
27347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27348 (eval "$ac_link") 2>conftest.er1
27350 grep -v '^ *+' conftest.er1 >conftest.err
27352 cat conftest.err >&5
27353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354 (exit $ac_status); } && {
27355 test -z "$ac_c_werror_flag" ||
27356 test ! -s conftest.err
27357 } && test -s conftest$ac_exeext &&
27358 $as_test_x conftest$ac_exeext; then
27359 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27361 echo "$as_me: failed program was:" >&5
27362 sed 's/^/| /' conftest.$ac_ext >&5
27367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27368 conftest$ac_exeext conftest.$ac_ext
27370 if test "x$wx_cv_std_libpath" != "x"; then
27376 if test "x$wx_cv_std_libpath" = "x"; then
27377 wx_cv_std_libpath="lib"
27386 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27387 wx_cv_std_libpath="lib/64"
27389 wx_cv_std_libpath="lib"
27394 if test "$ac_cv_sizeof_void_p" = 8 -a \
27395 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27396 wx_cv_std_libpath="lib64"
27398 wx_cv_std_libpath="lib"
27403 wx_cv_std_libpath="lib";
27407 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27408 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27410 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27412 if test "$build" != "$host" -a "$GCC" = yes; then
27413 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27414 cross_root=`dirname $cross_root`
27415 cross_root=`dirname $cross_root`
27417 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27418 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27419 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27421 if test -z "$PKG_CONFIG_PATH"; then
27422 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27423 export PKG_CONFIG_PATH
27426 if test -z "$x_includes" -o "$x_includes" = NONE; then
27429 for ac_dir in $SEARCH_INCLUDE /usr/include;
27431 if test -f "$ac_dir/X11/Intrinsic.h"; then
27432 ac_find_includes=$ac_dir
27437 x_includes=$ac_find_includes
27439 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27442 for ac_dir in $SEARCH_LIB;
27444 for ac_extension in a so sl dylib dll.a; do
27445 if test -f "$ac_dir/libXt.$ac_extension"; then
27446 ac_find_libraries=$ac_dir
27452 x_libraries=$ac_find_libraries
27458 cat >confcache <<\_ACEOF
27459 # This file is a shell script that caches the results of configure
27460 # tests run on this system so they can be shared between configure
27461 # scripts and configure runs, see configure's option --config-cache.
27462 # It is not useful on other systems. If it contains results you don't
27463 # want to keep, you may remove or edit it.
27465 # config.status only pays attention to the cache file if you give it
27466 # the --recheck option to rerun configure.
27468 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27469 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27470 # following values.
27474 # The following way of writing the cache mishandles newlines in values,
27475 # but we know of no workaround that is simple, portable, and efficient.
27476 # So, we kill variables containing newlines.
27477 # Ultrix sh set writes to stderr and can't be redirected directly,
27478 # and sets the high bit in the cache file unless we assign to the vars.
27480 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27481 eval ac_val=\$$ac_var
27485 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27486 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27489 _ | IFS | as_nl) ;; #(
27490 *) $as_unset $ac_var ;;
27496 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27497 *${as_nl}ac_space=\ *)
27498 # `set' does not quote correctly, so add quotes (double-quote
27499 # substitution turns \\\\ into \\, and sed turns \\ into \).
27502 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27505 # `set' quotes correctly as required by POSIX, so do not add quotes.
27506 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27515 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27517 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27519 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27520 if test -w "$cache_file"; then
27521 test "x$cache_file" != "x/dev/null" &&
27522 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27523 echo "$as_me: updating cache $cache_file" >&6;}
27524 cat confcache >$cache_file
27526 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27527 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27532 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27533 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27534 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27535 if test "${wx_cv_lib_glibc21+set}" = set; then
27536 echo $ECHO_N "(cached) $ECHO_C" >&6
27539 cat >conftest.$ac_ext <<_ACEOF
27542 cat confdefs.h >>conftest.$ac_ext
27543 cat >>conftest.$ac_ext <<_ACEOF
27544 /* end confdefs.h. */
27545 #include <features.h>
27550 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27558 rm -f conftest.$ac_objext
27559 if { (ac_try="$ac_compile"
27560 case "(($ac_try" in
27561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27562 *) ac_try_echo=$ac_try;;
27564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27565 (eval "$ac_compile") 2>conftest.er1
27567 grep -v '^ *+' conftest.er1 >conftest.err
27569 cat conftest.err >&5
27570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27571 (exit $ac_status); } && {
27572 test -z "$ac_c_werror_flag" ||
27573 test ! -s conftest.err
27574 } && test -s conftest.$ac_objext; then
27576 wx_cv_lib_glibc21=yes
27579 echo "$as_me: failed program was:" >&5
27580 sed 's/^/| /' conftest.$ac_ext >&5
27583 wx_cv_lib_glibc21=no
27588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27591 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27592 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27593 if test "$wx_cv_lib_glibc21" = "yes"; then
27594 cat >>confdefs.h <<\_ACEOF
27595 #define wxHAVE_GLIBC2 1
27601 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27602 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27603 cat >>confdefs.h <<\_ACEOF
27604 #define _GNU_SOURCE 1
27615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27616 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27618 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27619 echo $ECHO_N "(cached) $ECHO_C" >&6
27621 cat >conftest.$ac_ext <<_ACEOF
27624 cat confdefs.h >>conftest.$ac_ext
27625 cat >>conftest.$ac_ext <<_ACEOF
27626 /* end confdefs.h. */
27627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27629 #define $ac_func innocuous_$ac_func
27631 /* System header to define __stub macros and hopefully few prototypes,
27632 which can conflict with char $ac_func (); below.
27633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27634 <limits.h> exists even on freestanding compilers. */
27637 # include <limits.h>
27639 # include <assert.h>
27644 /* Override any GCC internal prototype to avoid an error.
27645 Use char because int might match the return type of a GCC
27646 builtin and then its argument prototype would still apply. */
27651 /* The GNU C library defines this for functions which it implements
27652 to always fail with ENOSYS. Some functions are actually named
27653 something starting with __ and the normal name is an alias. */
27654 #if defined __stub_$ac_func || defined __stub___$ac_func
27661 return $ac_func ();
27666 rm -f conftest.$ac_objext conftest$ac_exeext
27667 if { (ac_try="$ac_link"
27668 case "(($ac_try" in
27669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27670 *) ac_try_echo=$ac_try;;
27672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27673 (eval "$ac_link") 2>conftest.er1
27675 grep -v '^ *+' conftest.er1 >conftest.err
27677 cat conftest.err >&5
27678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27679 (exit $ac_status); } && {
27680 test -z "$ac_c_werror_flag" ||
27681 test ! -s conftest.err
27682 } && test -s conftest$ac_exeext &&
27683 $as_test_x conftest$ac_exeext; then
27684 eval "$as_ac_var=yes"
27686 echo "$as_me: failed program was:" >&5
27687 sed 's/^/| /' conftest.$ac_ext >&5
27689 eval "$as_ac_var=no"
27692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27693 conftest$ac_exeext conftest.$ac_ext
27695 ac_res=`eval echo '${'$as_ac_var'}'`
27696 { echo "$as_me:$LINENO: result: $ac_res" >&5
27697 echo "${ECHO_T}$ac_res" >&6; }
27698 if test `eval echo '${'$as_ac_var'}'` = yes; then
27699 cat >>confdefs.h <<_ACEOF
27700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27707 for ac_func in floor
27709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27710 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27712 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27713 echo $ECHO_N "(cached) $ECHO_C" >&6
27715 cat >conftest.$ac_ext <<_ACEOF
27718 cat confdefs.h >>conftest.$ac_ext
27719 cat >>conftest.$ac_ext <<_ACEOF
27720 /* end confdefs.h. */
27721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27723 #define $ac_func innocuous_$ac_func
27725 /* System header to define __stub macros and hopefully few prototypes,
27726 which can conflict with char $ac_func (); below.
27727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27728 <limits.h> exists even on freestanding compilers. */
27731 # include <limits.h>
27733 # include <assert.h>
27738 /* Override any GCC internal prototype to avoid an error.
27739 Use char because int might match the return type of a GCC
27740 builtin and then its argument prototype would still apply. */
27745 /* The GNU C library defines this for functions which it implements
27746 to always fail with ENOSYS. Some functions are actually named
27747 something starting with __ and the normal name is an alias. */
27748 #if defined __stub_$ac_func || defined __stub___$ac_func
27755 return $ac_func ();
27760 rm -f conftest.$ac_objext conftest$ac_exeext
27761 if { (ac_try="$ac_link"
27762 case "(($ac_try" in
27763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27764 *) ac_try_echo=$ac_try;;
27766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27767 (eval "$ac_link") 2>conftest.er1
27769 grep -v '^ *+' conftest.er1 >conftest.err
27771 cat conftest.err >&5
27772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27773 (exit $ac_status); } && {
27774 test -z "$ac_c_werror_flag" ||
27775 test ! -s conftest.err
27776 } && test -s conftest$ac_exeext &&
27777 $as_test_x conftest$ac_exeext; then
27778 eval "$as_ac_var=yes"
27780 echo "$as_me: failed program was:" >&5
27781 sed 's/^/| /' conftest.$ac_ext >&5
27783 eval "$as_ac_var=no"
27786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27787 conftest$ac_exeext conftest.$ac_ext
27789 ac_res=`eval echo '${'$as_ac_var'}'`
27790 { echo "$as_me:$LINENO: result: $ac_res" >&5
27791 echo "${ECHO_T}$ac_res" >&6; }
27792 if test `eval echo '${'$as_ac_var'}'` = yes; then
27793 cat >>confdefs.h <<_ACEOF
27794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27800 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27801 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27802 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27803 { echo "$as_me:$LINENO: result: yes" >&5
27804 echo "${ECHO_T}yes" >&6; }
27806 { echo "$as_me:$LINENO: result: no" >&5
27807 echo "${ECHO_T}no" >&6; }
27809 # use different functions to avoid configure caching
27815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27816 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27818 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27819 echo $ECHO_N "(cached) $ECHO_C" >&6
27821 cat >conftest.$ac_ext <<_ACEOF
27824 cat confdefs.h >>conftest.$ac_ext
27825 cat >>conftest.$ac_ext <<_ACEOF
27826 /* end confdefs.h. */
27827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27829 #define $ac_func innocuous_$ac_func
27831 /* System header to define __stub macros and hopefully few prototypes,
27832 which can conflict with char $ac_func (); below.
27833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27834 <limits.h> exists even on freestanding compilers. */
27837 # include <limits.h>
27839 # include <assert.h>
27844 /* Override any GCC internal prototype to avoid an error.
27845 Use char because int might match the return type of a GCC
27846 builtin and then its argument prototype would still apply. */
27851 /* The GNU C library defines this for functions which it implements
27852 to always fail with ENOSYS. Some functions are actually named
27853 something starting with __ and the normal name is an alias. */
27854 #if defined __stub_$ac_func || defined __stub___$ac_func
27861 return $ac_func ();
27866 rm -f conftest.$ac_objext conftest$ac_exeext
27867 if { (ac_try="$ac_link"
27868 case "(($ac_try" in
27869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27870 *) ac_try_echo=$ac_try;;
27872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27873 (eval "$ac_link") 2>conftest.er1
27875 grep -v '^ *+' conftest.er1 >conftest.err
27877 cat conftest.err >&5
27878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27879 (exit $ac_status); } && {
27880 test -z "$ac_c_werror_flag" ||
27881 test ! -s conftest.err
27882 } && test -s conftest$ac_exeext &&
27883 $as_test_x conftest$ac_exeext; then
27884 eval "$as_ac_var=yes"
27886 echo "$as_me: failed program was:" >&5
27887 sed 's/^/| /' conftest.$ac_ext >&5
27889 eval "$as_ac_var=no"
27892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27893 conftest$ac_exeext conftest.$ac_ext
27895 ac_res=`eval echo '${'$as_ac_var'}'`
27896 { echo "$as_me:$LINENO: result: $ac_res" >&5
27897 echo "${ECHO_T}$ac_res" >&6; }
27898 if test `eval echo '${'$as_ac_var'}'` = yes; then
27899 cat >>confdefs.h <<_ACEOF
27900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27907 for ac_func in ceil
27909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27910 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27912 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27913 echo $ECHO_N "(cached) $ECHO_C" >&6
27915 cat >conftest.$ac_ext <<_ACEOF
27918 cat confdefs.h >>conftest.$ac_ext
27919 cat >>conftest.$ac_ext <<_ACEOF
27920 /* end confdefs.h. */
27921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27923 #define $ac_func innocuous_$ac_func
27925 /* System header to define __stub macros and hopefully few prototypes,
27926 which can conflict with char $ac_func (); below.
27927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27928 <limits.h> exists even on freestanding compilers. */
27931 # include <limits.h>
27933 # include <assert.h>
27938 /* Override any GCC internal prototype to avoid an error.
27939 Use char because int might match the return type of a GCC
27940 builtin and then its argument prototype would still apply. */
27945 /* The GNU C library defines this for functions which it implements
27946 to always fail with ENOSYS. Some functions are actually named
27947 something starting with __ and the normal name is an alias. */
27948 #if defined __stub_$ac_func || defined __stub___$ac_func
27955 return $ac_func ();
27960 rm -f conftest.$ac_objext conftest$ac_exeext
27961 if { (ac_try="$ac_link"
27962 case "(($ac_try" in
27963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27964 *) ac_try_echo=$ac_try;;
27966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27967 (eval "$ac_link") 2>conftest.er1
27969 grep -v '^ *+' conftest.er1 >conftest.err
27971 cat conftest.err >&5
27972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973 (exit $ac_status); } && {
27974 test -z "$ac_c_werror_flag" ||
27975 test ! -s conftest.err
27976 } && test -s conftest$ac_exeext &&
27977 $as_test_x conftest$ac_exeext; then
27978 eval "$as_ac_var=yes"
27980 echo "$as_me: failed program was:" >&5
27981 sed 's/^/| /' conftest.$ac_ext >&5
27983 eval "$as_ac_var=no"
27986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27987 conftest$ac_exeext conftest.$ac_ext
27989 ac_res=`eval echo '${'$as_ac_var'}'`
27990 { echo "$as_me:$LINENO: result: $ac_res" >&5
27991 echo "${ECHO_T}$ac_res" >&6; }
27992 if test `eval echo '${'$as_ac_var'}'` = yes; then
27993 cat >>confdefs.h <<_ACEOF
27994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28000 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28001 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28002 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28003 { echo "$as_me:$LINENO: result: yes" >&5
28004 echo "${ECHO_T}yes" >&6; }
28006 { echo "$as_me:$LINENO: result: no" >&5
28007 echo "${ECHO_T}no" >&6; }
28008 # not sure we should warn the user, crash, etc.
28013 ac_cpp='$CXXCPP $CPPFLAGS'
28014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28018 if test "wxUSE_UNICODE" = "yes"; then
28020 for wx_func in wcstoull
28022 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28023 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28024 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28025 echo $ECHO_N "(cached) $ECHO_C" >&6
28028 cat >conftest.$ac_ext <<_ACEOF
28032 cat confdefs.h >>conftest.$ac_ext
28033 cat >>conftest.$ac_ext <<_ACEOF
28034 /* end confdefs.h. */
28037 $ac_includes_default
28053 rm -f conftest.$ac_objext conftest$ac_exeext
28054 if { (ac_try="$ac_link"
28055 case "(($ac_try" in
28056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28057 *) ac_try_echo=$ac_try;;
28059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28060 (eval "$ac_link") 2>conftest.er1
28062 grep -v '^ *+' conftest.er1 >conftest.err
28064 cat conftest.err >&5
28065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28066 (exit $ac_status); } && {
28067 test -z "$ac_cxx_werror_flag" ||
28068 test ! -s conftest.err
28069 } && test -s conftest$ac_exeext &&
28070 $as_test_x conftest$ac_exeext; then
28071 eval wx_cv_func_$wx_func=yes
28073 echo "$as_me: failed program was:" >&5
28074 sed 's/^/| /' conftest.$ac_ext >&5
28076 eval wx_cv_func_$wx_func=no
28079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28080 conftest$ac_exeext conftest.$ac_ext
28083 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28084 { echo "$as_me:$LINENO: result: $ac_res" >&5
28085 echo "${ECHO_T}$ac_res" >&6; }
28087 if eval test \$wx_cv_func_$wx_func = yes
28089 cat >>confdefs.h <<_ACEOF
28090 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28102 for wx_func in strtoull
28104 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28105 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28106 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28107 echo $ECHO_N "(cached) $ECHO_C" >&6
28110 cat >conftest.$ac_ext <<_ACEOF
28114 cat confdefs.h >>conftest.$ac_ext
28115 cat >>conftest.$ac_ext <<_ACEOF
28116 /* end confdefs.h. */
28119 $ac_includes_default
28135 rm -f conftest.$ac_objext conftest$ac_exeext
28136 if { (ac_try="$ac_link"
28137 case "(($ac_try" in
28138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28139 *) ac_try_echo=$ac_try;;
28141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28142 (eval "$ac_link") 2>conftest.er1
28144 grep -v '^ *+' conftest.er1 >conftest.err
28146 cat conftest.err >&5
28147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28148 (exit $ac_status); } && {
28149 test -z "$ac_cxx_werror_flag" ||
28150 test ! -s conftest.err
28151 } && test -s conftest$ac_exeext &&
28152 $as_test_x conftest$ac_exeext; then
28153 eval wx_cv_func_$wx_func=yes
28155 echo "$as_me: failed program was:" >&5
28156 sed 's/^/| /' conftest.$ac_ext >&5
28158 eval wx_cv_func_$wx_func=no
28161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28162 conftest$ac_exeext conftest.$ac_ext
28165 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28166 { echo "$as_me:$LINENO: result: $ac_res" >&5
28167 echo "${ECHO_T}$ac_res" >&6; }
28169 if eval test \$wx_cv_func_$wx_func = yes
28171 cat >>confdefs.h <<_ACEOF
28172 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28184 ac_cpp='$CPP $CPPFLAGS'
28185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28192 if test "$wxUSE_REGEX" != "no"; then
28193 cat >>confdefs.h <<\_ACEOF
28194 #define wxUSE_REGEX 1
28198 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28199 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28200 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28201 wxUSE_REGEX=builtin
28204 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28205 { echo "$as_me:$LINENO: checking for regex.h" >&5
28206 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28207 if test "${ac_cv_header_regex_h+set}" = set; then
28208 echo $ECHO_N "(cached) $ECHO_C" >&6
28210 cat >conftest.$ac_ext <<_ACEOF
28213 cat confdefs.h >>conftest.$ac_ext
28214 cat >>conftest.$ac_ext <<_ACEOF
28215 /* end confdefs.h. */
28220 rm -f conftest.$ac_objext
28221 if { (ac_try="$ac_compile"
28222 case "(($ac_try" in
28223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28224 *) ac_try_echo=$ac_try;;
28226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28227 (eval "$ac_compile") 2>conftest.er1
28229 grep -v '^ *+' conftest.er1 >conftest.err
28231 cat conftest.err >&5
28232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28233 (exit $ac_status); } && {
28234 test -z "$ac_c_werror_flag" ||
28235 test ! -s conftest.err
28236 } && test -s conftest.$ac_objext; then
28237 ac_cv_header_regex_h=yes
28239 echo "$as_me: failed program was:" >&5
28240 sed 's/^/| /' conftest.$ac_ext >&5
28242 ac_cv_header_regex_h=no
28245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28247 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28248 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28249 if test $ac_cv_header_regex_h = yes; then
28252 for ac_func in regcomp re_search
28254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28255 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28257 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28258 echo $ECHO_N "(cached) $ECHO_C" >&6
28260 cat >conftest.$ac_ext <<_ACEOF
28263 cat confdefs.h >>conftest.$ac_ext
28264 cat >>conftest.$ac_ext <<_ACEOF
28265 /* end confdefs.h. */
28266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28268 #define $ac_func innocuous_$ac_func
28270 /* System header to define __stub macros and hopefully few prototypes,
28271 which can conflict with char $ac_func (); below.
28272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28273 <limits.h> exists even on freestanding compilers. */
28276 # include <limits.h>
28278 # include <assert.h>
28283 /* Override any GCC internal prototype to avoid an error.
28284 Use char because int might match the return type of a GCC
28285 builtin and then its argument prototype would still apply. */
28290 /* The GNU C library defines this for functions which it implements
28291 to always fail with ENOSYS. Some functions are actually named
28292 something starting with __ and the normal name is an alias. */
28293 #if defined __stub_$ac_func || defined __stub___$ac_func
28300 return $ac_func ();
28305 rm -f conftest.$ac_objext conftest$ac_exeext
28306 if { (ac_try="$ac_link"
28307 case "(($ac_try" in
28308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28309 *) ac_try_echo=$ac_try;;
28311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28312 (eval "$ac_link") 2>conftest.er1
28314 grep -v '^ *+' conftest.er1 >conftest.err
28316 cat conftest.err >&5
28317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28318 (exit $ac_status); } && {
28319 test -z "$ac_c_werror_flag" ||
28320 test ! -s conftest.err
28321 } && test -s conftest$ac_exeext &&
28322 $as_test_x conftest$ac_exeext; then
28323 eval "$as_ac_var=yes"
28325 echo "$as_me: failed program was:" >&5
28326 sed 's/^/| /' conftest.$ac_ext >&5
28328 eval "$as_ac_var=no"
28331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28332 conftest$ac_exeext conftest.$ac_ext
28334 ac_res=`eval echo '${'$as_ac_var'}'`
28335 { echo "$as_me:$LINENO: result: $ac_res" >&5
28336 echo "${ECHO_T}$ac_res" >&6; }
28337 if test `eval echo '${'$as_ac_var'}'` = yes; then
28338 cat >>confdefs.h <<_ACEOF
28339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28349 if test "x$ac_cv_func_regcomp" != "xyes"; then
28350 if test "$wxUSE_REGEX" = "sys" ; then
28351 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28352 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28353 { (exit 1); exit 1; }; }
28355 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28356 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28357 wxUSE_REGEX=builtin
28361 cat >>confdefs.h <<\_ACEOF
28362 #define WX_NO_REGEX_ADVANCED 1
28371 if test "$wxUSE_ZLIB" != "no" ; then
28372 cat >>confdefs.h <<\_ACEOF
28373 #define wxUSE_ZLIB 1
28377 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28378 if test "$USE_DARWIN" = 1; then
28379 system_zlib_h_ok="yes"
28381 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28382 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28383 if test "${ac_cv_header_zlib_h+set}" = set; then
28384 echo $ECHO_N "(cached) $ECHO_C" >&6
28386 if test "$cross_compiling" = yes; then
28387 unset ac_cv_header_zlib_h
28390 cat >conftest.$ac_ext <<_ACEOF
28393 cat confdefs.h >>conftest.$ac_ext
28394 cat >>conftest.$ac_ext <<_ACEOF
28395 /* end confdefs.h. */
28402 FILE *f=fopen("conftestval", "w");
28405 ZLIB_VERSION[0] == '1' &&
28406 (ZLIB_VERSION[2] > '1' ||
28407 (ZLIB_VERSION[2] == '1' &&
28408 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28413 rm -f conftest$ac_exeext
28414 if { (ac_try="$ac_link"
28415 case "(($ac_try" in
28416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28417 *) ac_try_echo=$ac_try;;
28419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28420 (eval "$ac_link") 2>&5
28422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28423 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28424 { (case "(($ac_try" in
28425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28426 *) ac_try_echo=$ac_try;;
28428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28429 (eval "$ac_try") 2>&5
28431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28432 (exit $ac_status); }; }; then
28433 ac_cv_header_zlib_h=`cat conftestval`
28435 echo "$as_me: program exited with status $ac_status" >&5
28436 echo "$as_me: failed program was:" >&5
28437 sed 's/^/| /' conftest.$ac_ext >&5
28439 ( exit $ac_status )
28440 ac_cv_header_zlib_h=no
28442 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28448 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28449 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28450 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28451 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28452 if test "${ac_cv_header_zlib_h+set}" = set; then
28453 echo $ECHO_N "(cached) $ECHO_C" >&6
28455 cat >conftest.$ac_ext <<_ACEOF
28458 cat confdefs.h >>conftest.$ac_ext
28459 cat >>conftest.$ac_ext <<_ACEOF
28460 /* end confdefs.h. */
28465 rm -f conftest.$ac_objext
28466 if { (ac_try="$ac_compile"
28467 case "(($ac_try" in
28468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28469 *) ac_try_echo=$ac_try;;
28471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28472 (eval "$ac_compile") 2>conftest.er1
28474 grep -v '^ *+' conftest.er1 >conftest.err
28476 cat conftest.err >&5
28477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28478 (exit $ac_status); } && {
28479 test -z "$ac_c_werror_flag" ||
28480 test ! -s conftest.err
28481 } && test -s conftest.$ac_objext; then
28482 ac_cv_header_zlib_h=yes
28484 echo "$as_me: failed program was:" >&5
28485 sed 's/^/| /' conftest.$ac_ext >&5
28487 ac_cv_header_zlib_h=no
28490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28492 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28493 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28497 system_zlib_h_ok=$ac_cv_header_zlib_h
28500 if test "$system_zlib_h_ok" = "yes"; then
28501 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28502 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28503 if test "${ac_cv_lib_z_deflate+set}" = set; then
28504 echo $ECHO_N "(cached) $ECHO_C" >&6
28506 ac_check_lib_save_LIBS=$LIBS
28508 cat >conftest.$ac_ext <<_ACEOF
28511 cat confdefs.h >>conftest.$ac_ext
28512 cat >>conftest.$ac_ext <<_ACEOF
28513 /* end confdefs.h. */
28515 /* Override any GCC internal prototype to avoid an error.
28516 Use char because int might match the return type of a GCC
28517 builtin and then its argument prototype would still apply. */
28530 rm -f conftest.$ac_objext conftest$ac_exeext
28531 if { (ac_try="$ac_link"
28532 case "(($ac_try" in
28533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28534 *) ac_try_echo=$ac_try;;
28536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28537 (eval "$ac_link") 2>conftest.er1
28539 grep -v '^ *+' conftest.er1 >conftest.err
28541 cat conftest.err >&5
28542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28543 (exit $ac_status); } && {
28544 test -z "$ac_c_werror_flag" ||
28545 test ! -s conftest.err
28546 } && test -s conftest$ac_exeext &&
28547 $as_test_x conftest$ac_exeext; then
28548 ac_cv_lib_z_deflate=yes
28550 echo "$as_me: failed program was:" >&5
28551 sed 's/^/| /' conftest.$ac_ext >&5
28553 ac_cv_lib_z_deflate=no
28556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28557 conftest$ac_exeext conftest.$ac_ext
28558 LIBS=$ac_check_lib_save_LIBS
28560 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28561 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28562 if test $ac_cv_lib_z_deflate = yes; then
28568 if test "x$ZLIB_LINK" = "x" ; then
28569 if test "$wxUSE_ZLIB" = "sys" ; then
28570 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28571 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28572 { (exit 1); exit 1; }; }
28574 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28575 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28586 if test "$wxUSE_LIBPNG" != "no" ; then
28587 cat >>confdefs.h <<\_ACEOF
28588 #define wxUSE_LIBPNG 1
28592 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28593 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28594 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28598 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28599 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28600 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28601 wxUSE_LIBPNG=builtin
28604 if test "$wxUSE_MGL" != 1 ; then
28605 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28606 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28607 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28608 if test "${ac_cv_header_png_h+set}" = set; then
28609 echo $ECHO_N "(cached) $ECHO_C" >&6
28611 if test "$cross_compiling" = yes; then
28612 unset ac_cv_header_png_h
28615 cat >conftest.$ac_ext <<_ACEOF
28618 cat confdefs.h >>conftest.$ac_ext
28619 cat >>conftest.$ac_ext <<_ACEOF
28620 /* end confdefs.h. */
28627 FILE *f=fopen("conftestval", "w");
28630 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28635 rm -f conftest$ac_exeext
28636 if { (ac_try="$ac_link"
28637 case "(($ac_try" in
28638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28639 *) ac_try_echo=$ac_try;;
28641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28642 (eval "$ac_link") 2>&5
28644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28645 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28646 { (case "(($ac_try" in
28647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28648 *) ac_try_echo=$ac_try;;
28650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28651 (eval "$ac_try") 2>&5
28653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28654 (exit $ac_status); }; }; then
28655 ac_cv_header_png_h=`cat conftestval`
28657 echo "$as_me: program exited with status $ac_status" >&5
28658 echo "$as_me: failed program was:" >&5
28659 sed 's/^/| /' conftest.$ac_ext >&5
28661 ( exit $ac_status )
28662 ac_cv_header_png_h=no
28664 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28670 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28671 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28672 { echo "$as_me:$LINENO: checking for png.h" >&5
28673 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28674 if test "${ac_cv_header_png_h+set}" = set; then
28675 echo $ECHO_N "(cached) $ECHO_C" >&6
28677 cat >conftest.$ac_ext <<_ACEOF
28680 cat confdefs.h >>conftest.$ac_ext
28681 cat >>conftest.$ac_ext <<_ACEOF
28682 /* end confdefs.h. */
28687 rm -f conftest.$ac_objext
28688 if { (ac_try="$ac_compile"
28689 case "(($ac_try" in
28690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28691 *) ac_try_echo=$ac_try;;
28693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28694 (eval "$ac_compile") 2>conftest.er1
28696 grep -v '^ *+' conftest.er1 >conftest.err
28698 cat conftest.err >&5
28699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28700 (exit $ac_status); } && {
28701 test -z "$ac_c_werror_flag" ||
28702 test ! -s conftest.err
28703 } && test -s conftest.$ac_objext; then
28704 ac_cv_header_png_h=yes
28706 echo "$as_me: failed program was:" >&5
28707 sed 's/^/| /' conftest.$ac_ext >&5
28709 ac_cv_header_png_h=no
28712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28714 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28715 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28719 if test "$ac_cv_header_png_h" = "yes"; then
28720 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28721 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28722 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28723 echo $ECHO_N "(cached) $ECHO_C" >&6
28725 ac_check_lib_save_LIBS=$LIBS
28726 LIBS="-lpng -lz -lm $LIBS"
28727 cat >conftest.$ac_ext <<_ACEOF
28730 cat confdefs.h >>conftest.$ac_ext
28731 cat >>conftest.$ac_ext <<_ACEOF
28732 /* end confdefs.h. */
28734 /* Override any GCC internal prototype to avoid an error.
28735 Use char because int might match the return type of a GCC
28736 builtin and then its argument prototype would still apply. */
28740 char png_check_sig ();
28744 return png_check_sig ();
28749 rm -f conftest.$ac_objext conftest$ac_exeext
28750 if { (ac_try="$ac_link"
28751 case "(($ac_try" in
28752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28753 *) ac_try_echo=$ac_try;;
28755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28756 (eval "$ac_link") 2>conftest.er1
28758 grep -v '^ *+' conftest.er1 >conftest.err
28760 cat conftest.err >&5
28761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28762 (exit $ac_status); } && {
28763 test -z "$ac_c_werror_flag" ||
28764 test ! -s conftest.err
28765 } && test -s conftest$ac_exeext &&
28766 $as_test_x conftest$ac_exeext; then
28767 ac_cv_lib_png_png_check_sig=yes
28769 echo "$as_me: failed program was:" >&5
28770 sed 's/^/| /' conftest.$ac_ext >&5
28772 ac_cv_lib_png_png_check_sig=no
28775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28776 conftest$ac_exeext conftest.$ac_ext
28777 LIBS=$ac_check_lib_save_LIBS
28779 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28780 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
28781 if test $ac_cv_lib_png_png_check_sig = yes; then
28782 PNG_LINK=" -lpng -lz"
28787 if test "x$PNG_LINK" = "x" ; then
28788 if test "$wxUSE_LIBPNG" = "sys" ; then
28789 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28790 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28791 { (exit 1); exit 1; }; }
28793 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28794 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28795 wxUSE_LIBPNG=builtin
28803 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
28808 if test "$wxUSE_LIBJPEG" != "no" ; then
28809 cat >>confdefs.h <<\_ACEOF
28810 #define wxUSE_LIBJPEG 1
28814 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28815 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28816 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28820 if test "$wxUSE_MGL" != 1 ; then
28821 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28822 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28823 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28824 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28825 echo $ECHO_N "(cached) $ECHO_C" >&6
28827 cat >conftest.$ac_ext <<_ACEOF
28830 cat confdefs.h >>conftest.$ac_ext
28831 cat >>conftest.$ac_ext <<_ACEOF
28832 /* end confdefs.h. */
28834 #undef HAVE_STDLIB_H
28836 #include <jpeglib.h>
28847 rm -f conftest.$ac_objext
28848 if { (ac_try="$ac_compile"
28849 case "(($ac_try" in
28850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28851 *) ac_try_echo=$ac_try;;
28853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28854 (eval "$ac_compile") 2>conftest.er1
28856 grep -v '^ *+' conftest.er1 >conftest.err
28858 cat conftest.err >&5
28859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28860 (exit $ac_status); } && {
28861 test -z "$ac_c_werror_flag" ||
28862 test ! -s conftest.err
28863 } && test -s conftest.$ac_objext; then
28864 ac_cv_header_jpeglib_h=yes
28866 echo "$as_me: failed program was:" >&5
28867 sed 's/^/| /' conftest.$ac_ext >&5
28869 ac_cv_header_jpeglib_h=no
28873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28877 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28878 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28880 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28881 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28882 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28883 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28884 echo $ECHO_N "(cached) $ECHO_C" >&6
28886 ac_check_lib_save_LIBS=$LIBS
28887 LIBS="-ljpeg $LIBS"
28888 cat >conftest.$ac_ext <<_ACEOF
28891 cat confdefs.h >>conftest.$ac_ext
28892 cat >>conftest.$ac_ext <<_ACEOF
28893 /* end confdefs.h. */
28895 /* Override any GCC internal prototype to avoid an error.
28896 Use char because int might match the return type of a GCC
28897 builtin and then its argument prototype would still apply. */
28901 char jpeg_read_header ();
28905 return jpeg_read_header ();
28910 rm -f conftest.$ac_objext conftest$ac_exeext
28911 if { (ac_try="$ac_link"
28912 case "(($ac_try" in
28913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28914 *) ac_try_echo=$ac_try;;
28916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28917 (eval "$ac_link") 2>conftest.er1
28919 grep -v '^ *+' conftest.er1 >conftest.err
28921 cat conftest.err >&5
28922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28923 (exit $ac_status); } && {
28924 test -z "$ac_c_werror_flag" ||
28925 test ! -s conftest.err
28926 } && test -s conftest$ac_exeext &&
28927 $as_test_x conftest$ac_exeext; then
28928 ac_cv_lib_jpeg_jpeg_read_header=yes
28930 echo "$as_me: failed program was:" >&5
28931 sed 's/^/| /' conftest.$ac_ext >&5
28933 ac_cv_lib_jpeg_jpeg_read_header=no
28936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28937 conftest$ac_exeext conftest.$ac_ext
28938 LIBS=$ac_check_lib_save_LIBS
28940 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28941 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28942 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28943 JPEG_LINK=" -ljpeg"
28948 if test "x$JPEG_LINK" = "x" ; then
28949 if test "$wxUSE_LIBJPEG" = "sys" ; then
28950 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28951 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28952 { (exit 1); exit 1; }; }
28954 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28955 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28956 wxUSE_LIBJPEG=builtin
28961 if test "$wxUSE_MSW" = 1; then
28962 { echo "$as_me:$LINENO: checking for boolean" >&5
28963 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28964 if test "${ac_cv_type_boolean+set}" = set; then
28965 echo $ECHO_N "(cached) $ECHO_C" >&6
28967 cat >conftest.$ac_ext <<_ACEOF
28970 cat confdefs.h >>conftest.$ac_ext
28971 cat >>conftest.$ac_ext <<_ACEOF
28972 /* end confdefs.h. */
28973 #include <windows.h>
28975 typedef boolean ac__type_new_;
28979 if ((ac__type_new_ *) 0)
28981 if (sizeof (ac__type_new_))
28987 rm -f conftest.$ac_objext
28988 if { (ac_try="$ac_compile"
28989 case "(($ac_try" in
28990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28991 *) ac_try_echo=$ac_try;;
28993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28994 (eval "$ac_compile") 2>conftest.er1
28996 grep -v '^ *+' conftest.er1 >conftest.err
28998 cat conftest.err >&5
28999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29000 (exit $ac_status); } && {
29001 test -z "$ac_c_werror_flag" ||
29002 test ! -s conftest.err
29003 } && test -s conftest.$ac_objext; then
29004 ac_cv_type_boolean=yes
29006 echo "$as_me: failed program was:" >&5
29007 sed 's/^/| /' conftest.$ac_ext >&5
29009 ac_cv_type_boolean=no
29012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29014 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29015 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29016 if test $ac_cv_type_boolean = yes; then
29018 cat >>confdefs.h <<_ACEOF
29019 #define HAVE_BOOLEAN 1
29023 { echo "$as_me:$LINENO: checking for boolean" >&5
29024 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29025 if test "${ac_cv_type_boolean+set}" = set; then
29026 echo $ECHO_N "(cached) $ECHO_C" >&6
29028 cat >conftest.$ac_ext <<_ACEOF
29031 cat confdefs.h >>conftest.$ac_ext
29032 cat >>conftest.$ac_ext <<_ACEOF
29033 /* end confdefs.h. */
29035 #undef HAVE_BOOLEAN
29037 #include <jpeglib.h>
29040 typedef boolean ac__type_new_;
29044 if ((ac__type_new_ *) 0)
29046 if (sizeof (ac__type_new_))
29052 rm -f conftest.$ac_objext
29053 if { (ac_try="$ac_compile"
29054 case "(($ac_try" in
29055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29056 *) ac_try_echo=$ac_try;;
29058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29059 (eval "$ac_compile") 2>conftest.er1
29061 grep -v '^ *+' conftest.er1 >conftest.err
29063 cat conftest.err >&5
29064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29065 (exit $ac_status); } && {
29066 test -z "$ac_c_werror_flag" ||
29067 test ! -s conftest.err
29068 } && test -s conftest.$ac_objext; then
29069 ac_cv_type_boolean=yes
29071 echo "$as_me: failed program was:" >&5
29072 sed 's/^/| /' conftest.$ac_ext >&5
29074 ac_cv_type_boolean=no
29077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29079 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29080 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29082 # The cast to long int works around a bug in the HP C Compiler
29083 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29084 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29085 # This bug is HP SR number 8606223364.
29086 { echo "$as_me:$LINENO: checking size of boolean" >&5
29087 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29088 if test "${ac_cv_sizeof_boolean+set}" = set; then
29089 echo $ECHO_N "(cached) $ECHO_C" >&6
29091 if test "$cross_compiling" = yes; then
29092 # Depending upon the size, compute the lo and hi bounds.
29093 cat >conftest.$ac_ext <<_ACEOF
29096 cat confdefs.h >>conftest.$ac_ext
29097 cat >>conftest.$ac_ext <<_ACEOF
29098 /* end confdefs.h. */
29100 #undef HAVE_BOOLEAN
29102 #include <jpeglib.h>
29105 typedef boolean ac__type_sizeof_;
29109 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29116 rm -f conftest.$ac_objext
29117 if { (ac_try="$ac_compile"
29118 case "(($ac_try" in
29119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29120 *) ac_try_echo=$ac_try;;
29122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29123 (eval "$ac_compile") 2>conftest.er1
29125 grep -v '^ *+' conftest.er1 >conftest.err
29127 cat conftest.err >&5
29128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29129 (exit $ac_status); } && {
29130 test -z "$ac_c_werror_flag" ||
29131 test ! -s conftest.err
29132 } && test -s conftest.$ac_objext; then
29135 cat >conftest.$ac_ext <<_ACEOF
29138 cat confdefs.h >>conftest.$ac_ext
29139 cat >>conftest.$ac_ext <<_ACEOF
29140 /* end confdefs.h. */
29142 #undef HAVE_BOOLEAN
29144 #include <jpeglib.h>
29147 typedef boolean ac__type_sizeof_;
29151 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29158 rm -f conftest.$ac_objext
29159 if { (ac_try="$ac_compile"
29160 case "(($ac_try" in
29161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29162 *) ac_try_echo=$ac_try;;
29164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29165 (eval "$ac_compile") 2>conftest.er1
29167 grep -v '^ *+' conftest.er1 >conftest.err
29169 cat conftest.err >&5
29170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29171 (exit $ac_status); } && {
29172 test -z "$ac_c_werror_flag" ||
29173 test ! -s conftest.err
29174 } && test -s conftest.$ac_objext; then
29175 ac_hi=$ac_mid; break
29177 echo "$as_me: failed program was:" >&5
29178 sed 's/^/| /' conftest.$ac_ext >&5
29180 ac_lo=`expr $ac_mid + 1`
29181 if test $ac_lo -le $ac_mid; then
29185 ac_mid=`expr 2 '*' $ac_mid + 1`
29188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29191 echo "$as_me: failed program was:" >&5
29192 sed 's/^/| /' conftest.$ac_ext >&5
29194 cat >conftest.$ac_ext <<_ACEOF
29197 cat confdefs.h >>conftest.$ac_ext
29198 cat >>conftest.$ac_ext <<_ACEOF
29199 /* end confdefs.h. */
29201 #undef HAVE_BOOLEAN
29203 #include <jpeglib.h>
29206 typedef boolean ac__type_sizeof_;
29210 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29217 rm -f conftest.$ac_objext
29218 if { (ac_try="$ac_compile"
29219 case "(($ac_try" in
29220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29221 *) ac_try_echo=$ac_try;;
29223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29224 (eval "$ac_compile") 2>conftest.er1
29226 grep -v '^ *+' conftest.er1 >conftest.err
29228 cat conftest.err >&5
29229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29230 (exit $ac_status); } && {
29231 test -z "$ac_c_werror_flag" ||
29232 test ! -s conftest.err
29233 } && test -s conftest.$ac_objext; then
29236 cat >conftest.$ac_ext <<_ACEOF
29239 cat confdefs.h >>conftest.$ac_ext
29240 cat >>conftest.$ac_ext <<_ACEOF
29241 /* end confdefs.h. */
29243 #undef HAVE_BOOLEAN
29245 #include <jpeglib.h>
29248 typedef boolean ac__type_sizeof_;
29252 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29259 rm -f conftest.$ac_objext
29260 if { (ac_try="$ac_compile"
29261 case "(($ac_try" in
29262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29263 *) ac_try_echo=$ac_try;;
29265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29266 (eval "$ac_compile") 2>conftest.er1
29268 grep -v '^ *+' conftest.er1 >conftest.err
29270 cat conftest.err >&5
29271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29272 (exit $ac_status); } && {
29273 test -z "$ac_c_werror_flag" ||
29274 test ! -s conftest.err
29275 } && test -s conftest.$ac_objext; then
29276 ac_lo=$ac_mid; break
29278 echo "$as_me: failed program was:" >&5
29279 sed 's/^/| /' conftest.$ac_ext >&5
29281 ac_hi=`expr '(' $ac_mid ')' - 1`
29282 if test $ac_mid -le $ac_hi; then
29286 ac_mid=`expr 2 '*' $ac_mid`
29289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29292 echo "$as_me: failed program was:" >&5
29293 sed 's/^/| /' conftest.$ac_ext >&5
29298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29302 # Binary search between lo and hi bounds.
29303 while test "x$ac_lo" != "x$ac_hi"; do
29304 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29305 cat >conftest.$ac_ext <<_ACEOF
29308 cat confdefs.h >>conftest.$ac_ext
29309 cat >>conftest.$ac_ext <<_ACEOF
29310 /* end confdefs.h. */
29312 #undef HAVE_BOOLEAN
29314 #include <jpeglib.h>
29317 typedef boolean ac__type_sizeof_;
29321 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29328 rm -f conftest.$ac_objext
29329 if { (ac_try="$ac_compile"
29330 case "(($ac_try" in
29331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29332 *) ac_try_echo=$ac_try;;
29334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29335 (eval "$ac_compile") 2>conftest.er1
29337 grep -v '^ *+' conftest.er1 >conftest.err
29339 cat conftest.err >&5
29340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29341 (exit $ac_status); } && {
29342 test -z "$ac_c_werror_flag" ||
29343 test ! -s conftest.err
29344 } && test -s conftest.$ac_objext; then
29347 echo "$as_me: failed program was:" >&5
29348 sed 's/^/| /' conftest.$ac_ext >&5
29350 ac_lo=`expr '(' $ac_mid ')' + 1`
29353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29356 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29357 '') if test "$ac_cv_type_boolean" = yes; then
29358 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29359 See \`config.log' for more details." >&5
29360 echo "$as_me: error: cannot compute sizeof (boolean)
29361 See \`config.log' for more details." >&2;}
29362 { (exit 77); exit 77; }; }
29364 ac_cv_sizeof_boolean=0
29368 cat >conftest.$ac_ext <<_ACEOF
29371 cat confdefs.h >>conftest.$ac_ext
29372 cat >>conftest.$ac_ext <<_ACEOF
29373 /* end confdefs.h. */
29375 #undef HAVE_BOOLEAN
29377 #include <jpeglib.h>
29380 typedef boolean ac__type_sizeof_;
29381 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29382 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29384 #include <stdlib.h>
29389 FILE *f = fopen ("conftest.val", "w");
29392 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29394 long int i = longval ();
29395 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29397 fprintf (f, "%ld\n", i);
29401 unsigned long int i = ulongval ();
29402 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29404 fprintf (f, "%lu\n", i);
29406 return ferror (f) || fclose (f) != 0;
29412 rm -f conftest$ac_exeext
29413 if { (ac_try="$ac_link"
29414 case "(($ac_try" in
29415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29416 *) ac_try_echo=$ac_try;;
29418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29419 (eval "$ac_link") 2>&5
29421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29422 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29423 { (case "(($ac_try" in
29424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29425 *) ac_try_echo=$ac_try;;
29427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29428 (eval "$ac_try") 2>&5
29430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29431 (exit $ac_status); }; }; then
29432 ac_cv_sizeof_boolean=`cat conftest.val`
29434 echo "$as_me: program exited with status $ac_status" >&5
29435 echo "$as_me: failed program was:" >&5
29436 sed 's/^/| /' conftest.$ac_ext >&5
29438 ( exit $ac_status )
29439 if test "$ac_cv_type_boolean" = yes; then
29440 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29441 See \`config.log' for more details." >&5
29442 echo "$as_me: error: cannot compute sizeof (boolean)
29443 See \`config.log' for more details." >&2;}
29444 { (exit 77); exit 77; }; }
29446 ac_cv_sizeof_boolean=0
29449 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29453 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29454 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29458 cat >>confdefs.h <<_ACEOF
29459 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29463 cat >>confdefs.h <<_ACEOF
29464 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29478 TIFF_PREREQ_LINKS=-lm
29479 if test "$wxUSE_LIBTIFF" != "no" ; then
29480 cat >>confdefs.h <<\_ACEOF
29481 #define wxUSE_LIBTIFF 1
29485 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29486 if test "$wxUSE_LIBJPEG" = "sys"; then
29487 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29489 if test "$wxUSE_ZLIB" = "sys"; then
29490 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29492 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29493 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29494 if test "${ac_cv_header_tiffio_h+set}" = set; then
29495 echo $ECHO_N "(cached) $ECHO_C" >&6
29497 cat >conftest.$ac_ext <<_ACEOF
29500 cat confdefs.h >>conftest.$ac_ext
29501 cat >>conftest.$ac_ext <<_ACEOF
29502 /* end confdefs.h. */
29506 #include <tiffio.h>
29508 rm -f conftest.$ac_objext
29509 if { (ac_try="$ac_compile"
29510 case "(($ac_try" in
29511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29512 *) ac_try_echo=$ac_try;;
29514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29515 (eval "$ac_compile") 2>conftest.er1
29517 grep -v '^ *+' conftest.er1 >conftest.err
29519 cat conftest.err >&5
29520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29521 (exit $ac_status); } && {
29522 test -z "$ac_c_werror_flag" ||
29523 test ! -s conftest.err
29524 } && test -s conftest.$ac_objext; then
29525 ac_cv_header_tiffio_h=yes
29527 echo "$as_me: failed program was:" >&5
29528 sed 's/^/| /' conftest.$ac_ext >&5
29530 ac_cv_header_tiffio_h=no
29533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29535 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29536 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29537 if test $ac_cv_header_tiffio_h = yes; then
29539 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29540 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29541 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29542 echo $ECHO_N "(cached) $ECHO_C" >&6
29544 ac_check_lib_save_LIBS=$LIBS
29545 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29546 cat >conftest.$ac_ext <<_ACEOF
29549 cat confdefs.h >>conftest.$ac_ext
29550 cat >>conftest.$ac_ext <<_ACEOF
29551 /* end confdefs.h. */
29553 /* Override any GCC internal prototype to avoid an error.
29554 Use char because int might match the return type of a GCC
29555 builtin and then its argument prototype would still apply. */
29563 return TIFFError ();
29568 rm -f conftest.$ac_objext conftest$ac_exeext
29569 if { (ac_try="$ac_link"
29570 case "(($ac_try" in
29571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29572 *) ac_try_echo=$ac_try;;
29574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29575 (eval "$ac_link") 2>conftest.er1
29577 grep -v '^ *+' conftest.er1 >conftest.err
29579 cat conftest.err >&5
29580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29581 (exit $ac_status); } && {
29582 test -z "$ac_c_werror_flag" ||
29583 test ! -s conftest.err
29584 } && test -s conftest$ac_exeext &&
29585 $as_test_x conftest$ac_exeext; then
29586 ac_cv_lib_tiff_TIFFError=yes
29588 echo "$as_me: failed program was:" >&5
29589 sed 's/^/| /' conftest.$ac_ext >&5
29591 ac_cv_lib_tiff_TIFFError=no
29594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29595 conftest$ac_exeext conftest.$ac_ext
29596 LIBS=$ac_check_lib_save_LIBS
29598 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29599 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29600 if test $ac_cv_lib_tiff_TIFFError = yes; then
29601 TIFF_LINK=" -ltiff"
29609 if test "x$TIFF_LINK" = "x" ; then
29610 if test "$wxUSE_LIBTIFF" = "sys" ; then
29611 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29612 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29613 { (exit 1); exit 1; }; }
29615 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29616 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29617 wxUSE_LIBTIFF=builtin
29626 if test "$wxUSE_WCHAR_T" != "yes"; then
29627 if test "$wxUSE_EXPAT" != "no"; then
29628 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29629 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29632 if test "$wxUSE_XML" != "no"; then
29633 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29634 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29639 if test "$wxUSE_EXPAT" != "no"; then
29641 cat >>confdefs.h <<\_ACEOF
29642 #define wxUSE_EXPAT 1
29645 cat >>confdefs.h <<\_ACEOF
29646 #define wxUSE_XML 1
29650 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29651 { echo "$as_me:$LINENO: checking for expat.h" >&5
29652 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29653 if test "${ac_cv_header_expat_h+set}" = set; then
29654 echo $ECHO_N "(cached) $ECHO_C" >&6
29656 cat >conftest.$ac_ext <<_ACEOF
29659 cat confdefs.h >>conftest.$ac_ext
29660 cat >>conftest.$ac_ext <<_ACEOF
29661 /* end confdefs.h. */
29666 rm -f conftest.$ac_objext
29667 if { (ac_try="$ac_compile"
29668 case "(($ac_try" in
29669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29670 *) ac_try_echo=$ac_try;;
29672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29673 (eval "$ac_compile") 2>conftest.er1
29675 grep -v '^ *+' conftest.er1 >conftest.err
29677 cat conftest.err >&5
29678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29679 (exit $ac_status); } && {
29680 test -z "$ac_c_werror_flag" ||
29681 test ! -s conftest.err
29682 } && test -s conftest.$ac_objext; then
29683 ac_cv_header_expat_h=yes
29685 echo "$as_me: failed program was:" >&5
29686 sed 's/^/| /' conftest.$ac_ext >&5
29688 ac_cv_header_expat_h=no
29691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29693 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29694 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29695 if test $ac_cv_header_expat_h = yes; then
29700 if test "x$found_expat_h" = "x1"; then
29701 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29702 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29703 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29704 echo $ECHO_N "(cached) $ECHO_C" >&6
29708 ac_cpp='$CXXCPP $CPPFLAGS'
29709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29713 cat >conftest.$ac_ext <<_ACEOF
29716 cat confdefs.h >>conftest.$ac_ext
29717 cat >>conftest.$ac_ext <<_ACEOF
29718 /* end confdefs.h. */
29728 rm -f conftest.$ac_objext
29729 if { (ac_try="$ac_compile"
29730 case "(($ac_try" in
29731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29732 *) ac_try_echo=$ac_try;;
29734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29735 (eval "$ac_compile") 2>conftest.er1
29737 grep -v '^ *+' conftest.er1 >conftest.err
29739 cat conftest.err >&5
29740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29741 (exit $ac_status); } && {
29742 test -z "$ac_cxx_werror_flag" ||
29743 test ! -s conftest.err
29744 } && test -s conftest.$ac_objext; then
29745 wx_cv_expat_is_not_broken=yes
29747 echo "$as_me: failed program was:" >&5
29748 sed 's/^/| /' conftest.$ac_ext >&5
29750 wx_cv_expat_is_not_broken=no
29754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29756 ac_cpp='$CPP $CPPFLAGS'
29757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29764 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29765 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29766 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29767 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29768 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29769 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29770 echo $ECHO_N "(cached) $ECHO_C" >&6
29772 ac_check_lib_save_LIBS=$LIBS
29773 LIBS="-lexpat $LIBS"
29774 cat >conftest.$ac_ext <<_ACEOF
29777 cat confdefs.h >>conftest.$ac_ext
29778 cat >>conftest.$ac_ext <<_ACEOF
29779 /* end confdefs.h. */
29781 /* Override any GCC internal prototype to avoid an error.
29782 Use char because int might match the return type of a GCC
29783 builtin and then its argument prototype would still apply. */
29787 char XML_ParserCreate ();
29791 return XML_ParserCreate ();
29796 rm -f conftest.$ac_objext conftest$ac_exeext
29797 if { (ac_try="$ac_link"
29798 case "(($ac_try" in
29799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29800 *) ac_try_echo=$ac_try;;
29802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29803 (eval "$ac_link") 2>conftest.er1
29805 grep -v '^ *+' conftest.er1 >conftest.err
29807 cat conftest.err >&5
29808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29809 (exit $ac_status); } && {
29810 test -z "$ac_c_werror_flag" ||
29811 test ! -s conftest.err
29812 } && test -s conftest$ac_exeext &&
29813 $as_test_x conftest$ac_exeext; then
29814 ac_cv_lib_expat_XML_ParserCreate=yes
29816 echo "$as_me: failed program was:" >&5
29817 sed 's/^/| /' conftest.$ac_ext >&5
29819 ac_cv_lib_expat_XML_ParserCreate=no
29822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29823 conftest$ac_exeext conftest.$ac_ext
29824 LIBS=$ac_check_lib_save_LIBS
29826 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29827 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29828 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29829 EXPAT_LINK=" -lexpat"
29834 if test "x$EXPAT_LINK" = "x" ; then
29835 if test "$wxUSE_EXPAT" = "sys" ; then
29836 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29837 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29838 { (exit 1); exit 1; }; }
29840 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29841 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29842 wxUSE_EXPAT=builtin
29848 if test "$wxUSE_EXPAT" = "builtin" ; then
29849 subdirs="$subdirs src/expat"
29856 if test "$wxUSE_LIBMSPACK" != "no"; then
29857 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29858 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29859 if test "${ac_cv_header_mspack_h+set}" = set; then
29860 echo $ECHO_N "(cached) $ECHO_C" >&6
29862 cat >conftest.$ac_ext <<_ACEOF
29865 cat confdefs.h >>conftest.$ac_ext
29866 cat >>conftest.$ac_ext <<_ACEOF
29867 /* end confdefs.h. */
29870 #include <mspack.h>
29872 rm -f conftest.$ac_objext
29873 if { (ac_try="$ac_compile"
29874 case "(($ac_try" in
29875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29876 *) ac_try_echo=$ac_try;;
29878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29879 (eval "$ac_compile") 2>conftest.er1
29881 grep -v '^ *+' conftest.er1 >conftest.err
29883 cat conftest.err >&5
29884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29885 (exit $ac_status); } && {
29886 test -z "$ac_c_werror_flag" ||
29887 test ! -s conftest.err
29888 } && test -s conftest.$ac_objext; then
29889 ac_cv_header_mspack_h=yes
29891 echo "$as_me: failed program was:" >&5
29892 sed 's/^/| /' conftest.$ac_ext >&5
29894 ac_cv_header_mspack_h=no
29897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29899 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29900 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29901 if test $ac_cv_header_mspack_h = yes; then
29906 if test "x$found_mspack_h" = "x1"; then
29907 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29908 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29909 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29910 echo $ECHO_N "(cached) $ECHO_C" >&6
29912 ac_check_lib_save_LIBS=$LIBS
29913 LIBS="-lmspack $LIBS"
29914 cat >conftest.$ac_ext <<_ACEOF
29917 cat confdefs.h >>conftest.$ac_ext
29918 cat >>conftest.$ac_ext <<_ACEOF
29919 /* end confdefs.h. */
29921 /* Override any GCC internal prototype to avoid an error.
29922 Use char because int might match the return type of a GCC
29923 builtin and then its argument prototype would still apply. */
29927 char mspack_create_chm_decompressor ();
29931 return mspack_create_chm_decompressor ();
29936 rm -f conftest.$ac_objext conftest$ac_exeext
29937 if { (ac_try="$ac_link"
29938 case "(($ac_try" in
29939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29940 *) ac_try_echo=$ac_try;;
29942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29943 (eval "$ac_link") 2>conftest.er1
29945 grep -v '^ *+' conftest.er1 >conftest.err
29947 cat conftest.err >&5
29948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29949 (exit $ac_status); } && {
29950 test -z "$ac_c_werror_flag" ||
29951 test ! -s conftest.err
29952 } && test -s conftest$ac_exeext &&
29953 $as_test_x conftest$ac_exeext; then
29954 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29956 echo "$as_me: failed program was:" >&5
29957 sed 's/^/| /' conftest.$ac_ext >&5
29959 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29963 conftest$ac_exeext conftest.$ac_ext
29964 LIBS=$ac_check_lib_save_LIBS
29966 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29967 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29968 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29969 MSPACK_LINK=" -lmspack"
29973 if test "x$MSPACK_LINK" = "x" ; then
29978 if test "$wxUSE_LIBMSPACK" != "no"; then
29979 cat >>confdefs.h <<\_ACEOF
29980 #define wxUSE_LIBMSPACK 1
29994 if test "$USE_WIN32" = 1 ; then
29996 for ac_header in w32api.h
29998 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29999 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30001 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30002 echo $ECHO_N "(cached) $ECHO_C" >&6
30004 cat >conftest.$ac_ext <<_ACEOF
30007 cat confdefs.h >>conftest.$ac_ext
30008 cat >>conftest.$ac_ext <<_ACEOF
30009 /* end confdefs.h. */
30012 #include <$ac_header>
30014 rm -f conftest.$ac_objext
30015 if { (ac_try="$ac_compile"
30016 case "(($ac_try" in
30017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30018 *) ac_try_echo=$ac_try;;
30020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30021 (eval "$ac_compile") 2>conftest.er1
30023 grep -v '^ *+' conftest.er1 >conftest.err
30025 cat conftest.err >&5
30026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30027 (exit $ac_status); } && {
30028 test -z "$ac_c_werror_flag" ||
30029 test ! -s conftest.err
30030 } && test -s conftest.$ac_objext; then
30031 eval "$as_ac_Header=yes"
30033 echo "$as_me: failed program was:" >&5
30034 sed 's/^/| /' conftest.$ac_ext >&5
30036 eval "$as_ac_Header=no"
30039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30041 ac_res=`eval echo '${'$as_ac_Header'}'`
30042 { echo "$as_me:$LINENO: result: $ac_res" >&5
30043 echo "${ECHO_T}$ac_res" >&6; }
30044 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30045 cat >>confdefs.h <<_ACEOF
30046 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30053 { echo "$as_me:$LINENO: checking for windows.h" >&5
30054 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30055 if test "${ac_cv_header_windows_h+set}" = set; then
30056 echo $ECHO_N "(cached) $ECHO_C" >&6
30058 cat >conftest.$ac_ext <<_ACEOF
30061 cat confdefs.h >>conftest.$ac_ext
30062 cat >>conftest.$ac_ext <<_ACEOF
30063 /* end confdefs.h. */
30066 #include <windows.h>
30068 rm -f conftest.$ac_objext
30069 if { (ac_try="$ac_compile"
30070 case "(($ac_try" in
30071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30072 *) ac_try_echo=$ac_try;;
30074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30075 (eval "$ac_compile") 2>conftest.er1
30077 grep -v '^ *+' conftest.er1 >conftest.err
30079 cat conftest.err >&5
30080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30081 (exit $ac_status); } && {
30082 test -z "$ac_c_werror_flag" ||
30083 test ! -s conftest.err
30084 } && test -s conftest.$ac_objext; then
30085 ac_cv_header_windows_h=yes
30087 echo "$as_me: failed program was:" >&5
30088 sed 's/^/| /' conftest.$ac_ext >&5
30090 ac_cv_header_windows_h=no
30093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30095 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30096 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30097 if test $ac_cv_header_windows_h = yes; then
30101 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30102 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30103 { (exit 1); exit 1; }; }
30109 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30111 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30112 LIBS="$LIBS -loleacc"
30117 LIBS="$LIBS -lkernel32 -luser32"
30120 if test "$wxUSE_ODBC" = "sys" ; then
30123 if test "$wxUSE_ODBC" = "yes" ; then
30124 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30125 cat >>confdefs.h <<\_ACEOF
30126 #define wxUSE_ODBC 1
30131 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30132 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30134 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30136 WIN32INSTALL=win32install
30138 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30139 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30140 if test "${ac_cv_header_pbt_h+set}" = set; then
30141 echo $ECHO_N "(cached) $ECHO_C" >&6
30143 cat >conftest.$ac_ext <<_ACEOF
30146 cat confdefs.h >>conftest.$ac_ext
30147 cat >>conftest.$ac_ext <<_ACEOF
30148 /* end confdefs.h. */
30153 rm -f conftest.$ac_objext
30154 if { (ac_try="$ac_compile"
30155 case "(($ac_try" in
30156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30157 *) ac_try_echo=$ac_try;;
30159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30160 (eval "$ac_compile") 2>conftest.er1
30162 grep -v '^ *+' conftest.er1 >conftest.err
30164 cat conftest.err >&5
30165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30166 (exit $ac_status); } && {
30167 test -z "$ac_c_werror_flag" ||
30168 test ! -s conftest.err
30169 } && test -s conftest.$ac_objext; then
30170 ac_cv_header_pbt_h=yes
30172 echo "$as_me: failed program was:" >&5
30173 sed 's/^/| /' conftest.$ac_ext >&5
30175 ac_cv_header_pbt_h=no
30178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30180 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30181 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30182 if test $ac_cv_header_pbt_h = yes; then
30185 cat >>confdefs.h <<\_ACEOF
30186 #define NEED_PBT_H 1
30194 if test "$wxUSE_GUI" = "yes"; then
30204 if test "$wxUSE_COCOA" = 1 ; then
30205 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30206 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30207 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30208 wxUSE_PRINTING_ARCHITECTURE=no
30210 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30211 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30212 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30213 wxUSE_DRAG_AND_DROP=no
30215 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30216 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30217 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30222 if test "$wxUSE_MSW" = 1 ; then
30228 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30232 if test "$wxUSE_GTK" = 1; then
30233 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30234 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30236 gtk_version_cached=1
30237 if test "${wx_cv_lib_gtk+set}" = set; then
30238 echo $ECHO_N "(cached) $ECHO_C" >&6
30241 gtk_version_cached=0
30242 { echo "$as_me:$LINENO: result: " >&5
30243 echo "${ECHO_T}" >&6; }
30246 if test "$wxUSE_THREADS" = "yes"; then
30247 GTK_MODULES=gthread
30251 if test "x$wxGTK_VERSION" != "x1"
30255 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30260 # Check whether --enable-gtktest was given.
30261 if test "${enable_gtktest+set}" = set; then
30262 enableval=$enable_gtktest;
30268 pkg_config_args=gtk+-2.0
30269 for module in . $GTK_MODULES
30273 pkg_config_args="$pkg_config_args gthread-2.0"
30280 # Extract the first word of "pkg-config", so it can be a program name with args.
30281 set dummy pkg-config; ac_word=$2
30282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30284 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30285 echo $ECHO_N "(cached) $ECHO_C" >&6
30287 case $PKG_CONFIG in
30289 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30293 for as_dir in $PATH
30296 test -z "$as_dir" && as_dir=.
30297 for ac_exec_ext in '' $ac_executable_extensions; do
30298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30299 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30307 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30311 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30312 if test -n "$PKG_CONFIG"; then
30313 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30314 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30316 { echo "$as_me:$LINENO: result: no" >&5
30317 echo "${ECHO_T}no" >&6; }
30322 if test x$PKG_CONFIG != xno ; then
30323 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30326 echo "*** pkg-config too old; version 0.7 or better required."
30334 min_gtk_version=2.0.0
30335 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30336 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30338 if test x$PKG_CONFIG != xno ; then
30339 ## don't try to run the test against uninstalled libtool libs
30340 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30341 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30345 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30352 if test x"$no_gtk" = x ; then
30353 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30354 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30355 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30356 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30357 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30358 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30359 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30360 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30361 if test "x$enable_gtktest" = "xyes" ; then
30362 ac_save_CFLAGS="$CFLAGS"
30363 ac_save_LIBS="$LIBS"
30364 CFLAGS="$CFLAGS $GTK_CFLAGS"
30365 LIBS="$GTK_LIBS $LIBS"
30367 if test "$cross_compiling" = yes; then
30368 echo $ac_n "cross compiling; assumed OK... $ac_c"
30370 cat >conftest.$ac_ext <<_ACEOF
30373 cat confdefs.h >>conftest.$ac_ext
30374 cat >>conftest.$ac_ext <<_ACEOF
30375 /* end confdefs.h. */
30377 #include <gtk/gtk.h>
30379 #include <stdlib.h>
30384 int major, minor, micro;
30387 system ("touch conf.gtktest");
30389 /* HP/UX 9 (%@#!) writes to sscanf strings */
30390 tmp_version = g_strdup("$min_gtk_version");
30391 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30392 printf("%s, bad version string\n", "$min_gtk_version");
30396 if ((gtk_major_version != $gtk_config_major_version) ||
30397 (gtk_minor_version != $gtk_config_minor_version) ||
30398 (gtk_micro_version != $gtk_config_micro_version))
30400 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30401 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30402 gtk_major_version, gtk_minor_version, gtk_micro_version);
30403 printf ("*** was found! If pkg-config was correct, then it is best\n");
30404 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30405 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30406 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30407 printf("*** required on your system.\n");
30408 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30409 printf("*** to point to the correct configuration files\n");
30411 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30412 (gtk_minor_version != GTK_MINOR_VERSION) ||
30413 (gtk_micro_version != GTK_MICRO_VERSION))
30415 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30416 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30417 printf("*** library (version %d.%d.%d)\n",
30418 gtk_major_version, gtk_minor_version, gtk_micro_version);
30422 if ((gtk_major_version > major) ||
30423 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30424 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30430 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30431 gtk_major_version, gtk_minor_version, gtk_micro_version);
30432 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30433 major, minor, micro);
30434 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30436 printf("*** If you have already installed a sufficiently new version, this error\n");
30437 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30438 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30439 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30440 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30441 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30442 printf("*** so that the correct libraries are found at run-time))\n");
30449 rm -f conftest$ac_exeext
30450 if { (ac_try="$ac_link"
30451 case "(($ac_try" in
30452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30453 *) ac_try_echo=$ac_try;;
30455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30456 (eval "$ac_link") 2>&5
30458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30459 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30460 { (case "(($ac_try" in
30461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30462 *) ac_try_echo=$ac_try;;
30464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30465 (eval "$ac_try") 2>&5
30467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30468 (exit $ac_status); }; }; then
30471 echo "$as_me: program exited with status $ac_status" >&5
30472 echo "$as_me: failed program was:" >&5
30473 sed 's/^/| /' conftest.$ac_ext >&5
30475 ( exit $ac_status )
30478 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30482 CFLAGS="$ac_save_CFLAGS"
30483 LIBS="$ac_save_LIBS"
30486 if test "x$no_gtk" = x ; then
30487 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30488 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30491 { echo "$as_me:$LINENO: result: no" >&5
30492 echo "${ECHO_T}no" >&6; }
30493 if test "$PKG_CONFIG" = "no" ; then
30494 echo "*** A new enough version of pkg-config was not found."
30495 echo "*** See http://pkgconfig.sourceforge.net"
30497 if test -f conf.gtktest ; then
30500 echo "*** Could not run GTK+ test program, checking why..."
30501 ac_save_CFLAGS="$CFLAGS"
30502 ac_save_LIBS="$LIBS"
30503 CFLAGS="$CFLAGS $GTK_CFLAGS"
30504 LIBS="$LIBS $GTK_LIBS"
30505 cat >conftest.$ac_ext <<_ACEOF
30508 cat confdefs.h >>conftest.$ac_ext
30509 cat >>conftest.$ac_ext <<_ACEOF
30510 /* end confdefs.h. */
30512 #include <gtk/gtk.h>
30518 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30523 rm -f conftest.$ac_objext conftest$ac_exeext
30524 if { (ac_try="$ac_link"
30525 case "(($ac_try" in
30526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30527 *) ac_try_echo=$ac_try;;
30529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30530 (eval "$ac_link") 2>conftest.er1
30532 grep -v '^ *+' conftest.er1 >conftest.err
30534 cat conftest.err >&5
30535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30536 (exit $ac_status); } && {
30537 test -z "$ac_c_werror_flag" ||
30538 test ! -s conftest.err
30539 } && test -s conftest$ac_exeext &&
30540 $as_test_x conftest$ac_exeext; then
30541 echo "*** The test program compiled, but did not run. This usually means"
30542 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30543 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30544 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30545 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30546 echo "*** is required on your system"
30548 echo "*** If you have an old version installed, it is best to remove it, although"
30549 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30551 echo "$as_me: failed program was:" >&5
30552 sed 's/^/| /' conftest.$ac_ext >&5
30554 echo "*** The test program failed to compile or link. See the file config.log for the"
30555 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30559 conftest$ac_exeext conftest.$ac_ext
30560 CFLAGS="$ac_save_CFLAGS"
30561 LIBS="$ac_save_LIBS"
30575 if test "$wxUSE_SHARED" != "yes"; then
30576 GTK_LIBS="$GTK_LIBS -lX11"
30581 if test -z "$wx_cv_lib_gtk"; then
30582 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30584 # Check whether --with-gtk-prefix was given.
30585 if test "${with_gtk_prefix+set}" = set; then
30586 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30588 gtk_config_prefix=""
30592 # Check whether --with-gtk-exec-prefix was given.
30593 if test "${with_gtk_exec_prefix+set}" = set; then
30594 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30596 gtk_config_exec_prefix=""
30599 # Check whether --enable-gtktest was given.
30600 if test "${enable_gtktest+set}" = set; then
30601 enableval=$enable_gtktest;
30607 for module in . $GTK_MODULES
30611 gtk_config_args="$gtk_config_args gthread"
30616 if test x$gtk_config_exec_prefix != x ; then
30617 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30618 if test x${GTK_CONFIG+set} != xset ; then
30619 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30622 if test x$gtk_config_prefix != x ; then
30623 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30624 if test x${GTK_CONFIG+set} != xset ; then
30625 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30629 # Extract the first word of "gtk-config", so it can be a program name with args.
30630 set dummy gtk-config; ac_word=$2
30631 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30633 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30634 echo $ECHO_N "(cached) $ECHO_C" >&6
30636 case $GTK_CONFIG in
30638 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30642 for as_dir in $PATH
30645 test -z "$as_dir" && as_dir=.
30646 for ac_exec_ext in '' $ac_executable_extensions; do
30647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30648 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30656 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30660 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30661 if test -n "$GTK_CONFIG"; then
30662 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30663 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30665 { echo "$as_me:$LINENO: result: no" >&5
30666 echo "${ECHO_T}no" >&6; }
30670 min_gtk_version=1.2.7
30671 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30672 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30674 if test "$GTK_CONFIG" = "no" ; then
30677 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30678 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30679 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30680 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30681 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30682 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30683 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30684 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30685 if test "x$enable_gtktest" = "xyes" ; then
30686 ac_save_CFLAGS="$CFLAGS"
30687 ac_save_LIBS="$LIBS"
30688 CFLAGS="$CFLAGS $GTK_CFLAGS"
30689 LIBS="$GTK_LIBS $LIBS"
30691 if test "$cross_compiling" = yes; then
30692 echo $ac_n "cross compiling; assumed OK... $ac_c"
30694 cat >conftest.$ac_ext <<_ACEOF
30697 cat confdefs.h >>conftest.$ac_ext
30698 cat >>conftest.$ac_ext <<_ACEOF
30699 /* end confdefs.h. */
30701 #include <gtk/gtk.h>
30703 #include <stdlib.h>
30708 int major, minor, micro;
30711 system ("touch conf.gtktest");
30713 /* HP/UX 9 (%@#!) writes to sscanf strings */
30714 tmp_version = g_strdup("$min_gtk_version");
30715 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30716 printf("%s, bad version string\n", "$min_gtk_version");
30720 if ((gtk_major_version != $gtk_config_major_version) ||
30721 (gtk_minor_version != $gtk_config_minor_version) ||
30722 (gtk_micro_version != $gtk_config_micro_version))
30724 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30725 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30726 gtk_major_version, gtk_minor_version, gtk_micro_version);
30727 printf ("*** was found! If gtk-config was correct, then it is best\n");
30728 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30729 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30730 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30731 printf("*** required on your system.\n");
30732 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30733 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30734 printf("*** before re-running configure\n");
30736 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30737 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30738 (gtk_minor_version != GTK_MINOR_VERSION) ||
30739 (gtk_micro_version != GTK_MICRO_VERSION))
30741 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30742 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30743 printf("*** library (version %d.%d.%d)\n",
30744 gtk_major_version, gtk_minor_version, gtk_micro_version);
30746 #endif /* defined (GTK_MAJOR_VERSION) ... */
30749 if ((gtk_major_version > major) ||
30750 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30751 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30757 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30758 gtk_major_version, gtk_minor_version, gtk_micro_version);
30759 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30760 major, minor, micro);
30761 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30763 printf("*** If you have already installed a sufficiently new version, this error\n");
30764 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30765 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30766 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30767 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30768 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30769 printf("*** so that the correct libraries are found at run-time))\n");
30776 rm -f conftest$ac_exeext
30777 if { (ac_try="$ac_link"
30778 case "(($ac_try" in
30779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30780 *) ac_try_echo=$ac_try;;
30782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30783 (eval "$ac_link") 2>&5
30785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30786 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30787 { (case "(($ac_try" in
30788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30789 *) ac_try_echo=$ac_try;;
30791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30792 (eval "$ac_try") 2>&5
30794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30795 (exit $ac_status); }; }; then
30798 echo "$as_me: program exited with status $ac_status" >&5
30799 echo "$as_me: failed program was:" >&5
30800 sed 's/^/| /' conftest.$ac_ext >&5
30802 ( exit $ac_status )
30805 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30809 CFLAGS="$ac_save_CFLAGS"
30810 LIBS="$ac_save_LIBS"
30813 if test "x$no_gtk" = x ; then
30814 { echo "$as_me:$LINENO: result: yes" >&5
30815 echo "${ECHO_T}yes" >&6; }
30816 wx_cv_lib_gtk=1.2.7
30818 { echo "$as_me:$LINENO: result: no" >&5
30819 echo "${ECHO_T}no" >&6; }
30820 if test "$GTK_CONFIG" = "no" ; then
30821 echo "*** The gtk-config script installed by GTK could not be found"
30822 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30823 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30824 echo "*** full path to gtk-config."
30826 if test -f conf.gtktest ; then
30829 echo "*** Could not run GTK test program, checking why..."
30830 CFLAGS="$CFLAGS $GTK_CFLAGS"
30831 LIBS="$LIBS $GTK_LIBS"
30832 cat >conftest.$ac_ext <<_ACEOF
30835 cat confdefs.h >>conftest.$ac_ext
30836 cat >>conftest.$ac_ext <<_ACEOF
30837 /* end confdefs.h. */
30839 #include <gtk/gtk.h>
30845 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30850 rm -f conftest.$ac_objext conftest$ac_exeext
30851 if { (ac_try="$ac_link"
30852 case "(($ac_try" in
30853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30854 *) ac_try_echo=$ac_try;;
30856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30857 (eval "$ac_link") 2>conftest.er1
30859 grep -v '^ *+' conftest.er1 >conftest.err
30861 cat conftest.err >&5
30862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30863 (exit $ac_status); } && {
30864 test -z "$ac_c_werror_flag" ||
30865 test ! -s conftest.err
30866 } && test -s conftest$ac_exeext &&
30867 $as_test_x conftest$ac_exeext; then
30868 echo "*** The test program compiled, but did not run. This usually means"
30869 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30870 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30871 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30872 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30873 echo "*** is required on your system"
30875 echo "*** If you have an old version installed, it is best to remove it, although"
30876 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30878 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30879 echo "*** came with the system with the command"
30881 echo "*** rpm --erase --nodeps gtk gtk-devel"
30883 echo "$as_me: failed program was:" >&5
30884 sed 's/^/| /' conftest.$ac_ext >&5
30886 echo "*** The test program failed to compile or link. See the file config.log for the"
30887 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30888 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30889 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30893 conftest$ac_exeext conftest.$ac_ext
30894 CFLAGS="$ac_save_CFLAGS"
30895 LIBS="$ac_save_LIBS"
30907 if test -z "$wx_cv_lib_gtk"; then
30909 # Check whether --with-gtk-prefix was given.
30910 if test "${with_gtk_prefix+set}" = set; then
30911 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30913 gtk_config_prefix=""
30917 # Check whether --with-gtk-exec-prefix was given.
30918 if test "${with_gtk_exec_prefix+set}" = set; then
30919 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30921 gtk_config_exec_prefix=""
30924 # Check whether --enable-gtktest was given.
30925 if test "${enable_gtktest+set}" = set; then
30926 enableval=$enable_gtktest;
30932 for module in . $GTK_MODULES
30936 gtk_config_args="$gtk_config_args gthread"
30941 if test x$gtk_config_exec_prefix != x ; then
30942 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30943 if test x${GTK_CONFIG+set} != xset ; then
30944 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30947 if test x$gtk_config_prefix != x ; then
30948 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30949 if test x${GTK_CONFIG+set} != xset ; then
30950 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30954 # Extract the first word of "gtk-config", so it can be a program name with args.
30955 set dummy gtk-config; ac_word=$2
30956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30958 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30959 echo $ECHO_N "(cached) $ECHO_C" >&6
30961 case $GTK_CONFIG in
30963 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30967 for as_dir in $PATH
30970 test -z "$as_dir" && as_dir=.
30971 for ac_exec_ext in '' $ac_executable_extensions; do
30972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30973 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30981 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30985 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30986 if test -n "$GTK_CONFIG"; then
30987 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30988 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30990 { echo "$as_me:$LINENO: result: no" >&5
30991 echo "${ECHO_T}no" >&6; }
30995 min_gtk_version=1.2.3
30996 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30997 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30999 if test "$GTK_CONFIG" = "no" ; then
31002 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31003 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31004 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31005 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31006 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31007 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31008 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31009 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31010 if test "x$enable_gtktest" = "xyes" ; then
31011 ac_save_CFLAGS="$CFLAGS"
31012 ac_save_LIBS="$LIBS"
31013 CFLAGS="$CFLAGS $GTK_CFLAGS"
31014 LIBS="$GTK_LIBS $LIBS"
31016 if test "$cross_compiling" = yes; then
31017 echo $ac_n "cross compiling; assumed OK... $ac_c"
31019 cat >conftest.$ac_ext <<_ACEOF
31022 cat confdefs.h >>conftest.$ac_ext
31023 cat >>conftest.$ac_ext <<_ACEOF
31024 /* end confdefs.h. */
31026 #include <gtk/gtk.h>
31028 #include <stdlib.h>
31033 int major, minor, micro;
31036 system ("touch conf.gtktest");
31038 /* HP/UX 9 (%@#!) writes to sscanf strings */
31039 tmp_version = g_strdup("$min_gtk_version");
31040 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31041 printf("%s, bad version string\n", "$min_gtk_version");
31045 if ((gtk_major_version != $gtk_config_major_version) ||
31046 (gtk_minor_version != $gtk_config_minor_version) ||
31047 (gtk_micro_version != $gtk_config_micro_version))
31049 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31050 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31051 gtk_major_version, gtk_minor_version, gtk_micro_version);
31052 printf ("*** was found! If gtk-config was correct, then it is best\n");
31053 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31054 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31055 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31056 printf("*** required on your system.\n");
31057 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31058 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31059 printf("*** before re-running configure\n");
31061 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31062 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31063 (gtk_minor_version != GTK_MINOR_VERSION) ||
31064 (gtk_micro_version != GTK_MICRO_VERSION))
31066 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31067 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31068 printf("*** library (version %d.%d.%d)\n",
31069 gtk_major_version, gtk_minor_version, gtk_micro_version);
31071 #endif /* defined (GTK_MAJOR_VERSION) ... */
31074 if ((gtk_major_version > major) ||
31075 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31076 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31082 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31083 gtk_major_version, gtk_minor_version, gtk_micro_version);
31084 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31085 major, minor, micro);
31086 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31088 printf("*** If you have already installed a sufficiently new version, this error\n");
31089 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31090 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31091 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31092 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31093 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31094 printf("*** so that the correct libraries are found at run-time))\n");
31101 rm -f conftest$ac_exeext
31102 if { (ac_try="$ac_link"
31103 case "(($ac_try" in
31104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31105 *) ac_try_echo=$ac_try;;
31107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31108 (eval "$ac_link") 2>&5
31110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31111 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31112 { (case "(($ac_try" in
31113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31114 *) ac_try_echo=$ac_try;;
31116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31117 (eval "$ac_try") 2>&5
31119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31120 (exit $ac_status); }; }; then
31123 echo "$as_me: program exited with status $ac_status" >&5
31124 echo "$as_me: failed program was:" >&5
31125 sed 's/^/| /' conftest.$ac_ext >&5
31127 ( exit $ac_status )
31130 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31134 CFLAGS="$ac_save_CFLAGS"
31135 LIBS="$ac_save_LIBS"
31138 if test "x$no_gtk" = x ; then
31139 { echo "$as_me:$LINENO: result: yes" >&5
31140 echo "${ECHO_T}yes" >&6; }
31141 wx_cv_lib_gtk=1.2.3
31143 { echo "$as_me:$LINENO: result: no" >&5
31144 echo "${ECHO_T}no" >&6; }
31145 if test "$GTK_CONFIG" = "no" ; then
31146 echo "*** The gtk-config script installed by GTK could not be found"
31147 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31148 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31149 echo "*** full path to gtk-config."
31151 if test -f conf.gtktest ; then
31154 echo "*** Could not run GTK test program, checking why..."
31155 CFLAGS="$CFLAGS $GTK_CFLAGS"
31156 LIBS="$LIBS $GTK_LIBS"
31157 cat >conftest.$ac_ext <<_ACEOF
31160 cat confdefs.h >>conftest.$ac_ext
31161 cat >>conftest.$ac_ext <<_ACEOF
31162 /* end confdefs.h. */
31164 #include <gtk/gtk.h>
31170 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31175 rm -f conftest.$ac_objext conftest$ac_exeext
31176 if { (ac_try="$ac_link"
31177 case "(($ac_try" in
31178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31179 *) ac_try_echo=$ac_try;;
31181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31182 (eval "$ac_link") 2>conftest.er1
31184 grep -v '^ *+' conftest.er1 >conftest.err
31186 cat conftest.err >&5
31187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31188 (exit $ac_status); } && {
31189 test -z "$ac_c_werror_flag" ||
31190 test ! -s conftest.err
31191 } && test -s conftest$ac_exeext &&
31192 $as_test_x conftest$ac_exeext; then
31193 echo "*** The test program compiled, but did not run. This usually means"
31194 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31195 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31196 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31197 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31198 echo "*** is required on your system"
31200 echo "*** If you have an old version installed, it is best to remove it, although"
31201 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31203 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31204 echo "*** came with the system with the command"
31206 echo "*** rpm --erase --nodeps gtk gtk-devel"
31208 echo "$as_me: failed program was:" >&5
31209 sed 's/^/| /' conftest.$ac_ext >&5
31211 echo "*** The test program failed to compile or link. See the file config.log for the"
31212 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31213 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31214 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31218 conftest$ac_exeext conftest.$ac_ext
31219 CFLAGS="$ac_save_CFLAGS"
31220 LIBS="$ac_save_LIBS"
31235 if test -z "$wx_cv_lib_gtk"; then
31238 wx_cv_cflags_gtk=$GTK_CFLAGS
31239 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31246 if test "$gtk_version_cached" = 1; then
31247 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31248 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31251 case "$wx_cv_lib_gtk" in
31260 *) { { echo "$as_me:$LINENO: error:
31261 The development files for GTK+ were not found. For GTK+ 2, please
31262 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31263 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31264 and that the version is 1.2.3 or above. Also check that the
31265 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31266 --libs' are in the LD_LIBRARY_PATH or equivalent.
31268 echo "$as_me: error:
31269 The development files for GTK+ were not found. For GTK+ 2, please
31270 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31271 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31272 and that the version is 1.2.3 or above. Also check that the
31273 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31274 --libs' are in the LD_LIBRARY_PATH or equivalent.
31276 { (exit 1); exit 1; }; }
31280 if test "$WXGTK20" = 1; then
31281 save_CFLAGS="$CFLAGS"
31283 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31284 LIBS="$LIBS $wx_cv_libs_gtk"
31286 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31287 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31288 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31289 echo $ECHO_N "(cached) $ECHO_C" >&6
31291 cat >conftest.$ac_ext <<_ACEOF
31294 cat confdefs.h >>conftest.$ac_ext
31295 cat >>conftest.$ac_ext <<_ACEOF
31296 /* end confdefs.h. */
31297 #include <gtk/gtk.h>
31302 #ifndef gtk_icon_size_lookup
31303 (void) gtk_icon_size_lookup;
31310 rm -f conftest.$ac_objext
31311 if { (ac_try="$ac_compile"
31312 case "(($ac_try" in
31313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31314 *) ac_try_echo=$ac_try;;
31316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31317 (eval "$ac_compile") 2>conftest.er1
31319 grep -v '^ *+' conftest.er1 >conftest.err
31321 cat conftest.err >&5
31322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31323 (exit $ac_status); } && {
31324 test -z "$ac_c_werror_flag" ||
31325 test ! -s conftest.err
31326 } && test -s conftest.$ac_objext; then
31327 ac_cv_have_decl_gtk_icon_size_lookup=yes
31329 echo "$as_me: failed program was:" >&5
31330 sed 's/^/| /' conftest.$ac_ext >&5
31332 ac_cv_have_decl_gtk_icon_size_lookup=no
31335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31337 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31338 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31339 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31341 cat >>confdefs.h <<_ACEOF
31342 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31347 cat >>confdefs.h <<_ACEOF
31348 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31351 cat >>confdefs.h <<\_ACEOF
31352 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31360 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31361 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31362 cat >conftest.$ac_ext <<_ACEOF
31365 cat confdefs.h >>conftest.$ac_ext
31366 cat >>conftest.$ac_ext <<_ACEOF
31367 /* end confdefs.h. */
31369 #include <gtk/gtk.h>
31375 #if !GTK_CHECK_VERSION(2,10,0)
31383 rm -f conftest.$ac_objext
31384 if { (ac_try="$ac_compile"
31385 case "(($ac_try" in
31386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31387 *) ac_try_echo=$ac_try;;
31389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31390 (eval "$ac_compile") 2>conftest.er1
31392 grep -v '^ *+' conftest.er1 >conftest.err
31394 cat conftest.err >&5
31395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31396 (exit $ac_status); } && {
31397 test -z "$ac_c_werror_flag" ||
31398 test ! -s conftest.err
31399 } && test -s conftest.$ac_objext; then
31401 cat >>confdefs.h <<\_ACEOF
31402 #define __WXGTK210__ 1
31405 cat >>confdefs.h <<\_ACEOF
31406 #define __WXGTK26__ 1
31409 cat >>confdefs.h <<\_ACEOF
31410 #define __WXGTK24__ 1
31413 { echo "$as_me:$LINENO: result: yes" >&5
31414 echo "${ECHO_T}yes" >&6; }
31418 echo "$as_me: failed program was:" >&5
31419 sed 's/^/| /' conftest.$ac_ext >&5
31422 { echo "$as_me:$LINENO: result: no" >&5
31423 echo "${ECHO_T}no" >&6; }
31428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31430 if test "$ac_wxgtk210" = 0; then
31431 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31432 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31433 cat >conftest.$ac_ext <<_ACEOF
31436 cat confdefs.h >>conftest.$ac_ext
31437 cat >>conftest.$ac_ext <<_ACEOF
31438 /* end confdefs.h. */
31440 #include <gtk/gtk.h>
31446 #if !GTK_CHECK_VERSION(2,6,0)
31454 rm -f conftest.$ac_objext
31455 if { (ac_try="$ac_compile"
31456 case "(($ac_try" in
31457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31458 *) ac_try_echo=$ac_try;;
31460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31461 (eval "$ac_compile") 2>conftest.er1
31463 grep -v '^ *+' conftest.er1 >conftest.err
31465 cat conftest.err >&5
31466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31467 (exit $ac_status); } && {
31468 test -z "$ac_c_werror_flag" ||
31469 test ! -s conftest.err
31470 } && test -s conftest.$ac_objext; then
31472 cat >>confdefs.h <<\_ACEOF
31473 #define __WXGTK26__ 1
31476 cat >>confdefs.h <<\_ACEOF
31477 #define __WXGTK24__ 1
31480 { echo "$as_me:$LINENO: result: yes" >&5
31481 echo "${ECHO_T}yes" >&6; }
31485 echo "$as_me: failed program was:" >&5
31486 sed 's/^/| /' conftest.$ac_ext >&5
31489 { echo "$as_me:$LINENO: result: no" >&5
31490 echo "${ECHO_T}no" >&6; }
31495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31498 if test "$ac_wxgtk26" = 0; then
31499 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31500 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31501 cat >conftest.$ac_ext <<_ACEOF
31504 cat confdefs.h >>conftest.$ac_ext
31505 cat >>conftest.$ac_ext <<_ACEOF
31506 /* end confdefs.h. */
31508 #include <gtk/gtk.h>
31514 #if !GTK_CHECK_VERSION(2,4,0)
31522 rm -f conftest.$ac_objext
31523 if { (ac_try="$ac_compile"
31524 case "(($ac_try" in
31525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31526 *) ac_try_echo=$ac_try;;
31528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31529 (eval "$ac_compile") 2>conftest.er1
31531 grep -v '^ *+' conftest.er1 >conftest.err
31533 cat conftest.err >&5
31534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31535 (exit $ac_status); } && {
31536 test -z "$ac_c_werror_flag" ||
31537 test ! -s conftest.err
31538 } && test -s conftest.$ac_objext; then
31540 cat >>confdefs.h <<\_ACEOF
31541 #define __WXGTK24__ 1
31544 { echo "$as_me:$LINENO: result: yes" >&5
31545 echo "${ECHO_T}yes" >&6; }
31548 echo "$as_me: failed program was:" >&5
31549 sed 's/^/| /' conftest.$ac_ext >&5
31552 { echo "$as_me:$LINENO: result: no" >&5
31553 echo "${ECHO_T}no" >&6; }
31557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31560 CFLAGS="$save_CFLAGS"
31563 if test "$wxUSE_UNICODE" = "yes"; then
31564 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31565 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31569 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31570 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31571 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31572 echo $ECHO_N "(cached) $ECHO_C" >&6
31574 ac_check_lib_save_LIBS=$LIBS
31576 cat >conftest.$ac_ext <<_ACEOF
31579 cat confdefs.h >>conftest.$ac_ext
31580 cat >>conftest.$ac_ext <<_ACEOF
31581 /* end confdefs.h. */
31583 /* Override any GCC internal prototype to avoid an error.
31584 Use char because int might match the return type of a GCC
31585 builtin and then its argument prototype would still apply. */
31589 char gdk_im_open ();
31593 return gdk_im_open ();
31598 rm -f conftest.$ac_objext conftest$ac_exeext
31599 if { (ac_try="$ac_link"
31600 case "(($ac_try" in
31601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31602 *) ac_try_echo=$ac_try;;
31604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31605 (eval "$ac_link") 2>conftest.er1
31607 grep -v '^ *+' conftest.er1 >conftest.err
31609 cat conftest.err >&5
31610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31611 (exit $ac_status); } && {
31612 test -z "$ac_c_werror_flag" ||
31613 test ! -s conftest.err
31614 } && test -s conftest$ac_exeext &&
31615 $as_test_x conftest$ac_exeext; then
31616 ac_cv_lib_gdk_gdk_im_open=yes
31618 echo "$as_me: failed program was:" >&5
31619 sed 's/^/| /' conftest.$ac_ext >&5
31621 ac_cv_lib_gdk_gdk_im_open=no
31624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31625 conftest$ac_exeext conftest.$ac_ext
31626 LIBS=$ac_check_lib_save_LIBS
31628 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31629 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31630 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31631 cat >>confdefs.h <<\_ACEOF
31638 if test "$USE_DARWIN" != 1; then
31640 for ac_func in poll
31642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31643 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31645 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31646 echo $ECHO_N "(cached) $ECHO_C" >&6
31648 cat >conftest.$ac_ext <<_ACEOF
31651 cat confdefs.h >>conftest.$ac_ext
31652 cat >>conftest.$ac_ext <<_ACEOF
31653 /* end confdefs.h. */
31654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31656 #define $ac_func innocuous_$ac_func
31658 /* System header to define __stub macros and hopefully few prototypes,
31659 which can conflict with char $ac_func (); below.
31660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31661 <limits.h> exists even on freestanding compilers. */
31664 # include <limits.h>
31666 # include <assert.h>
31671 /* Override any GCC internal prototype to avoid an error.
31672 Use char because int might match the return type of a GCC
31673 builtin and then its argument prototype would still apply. */
31678 /* The GNU C library defines this for functions which it implements
31679 to always fail with ENOSYS. Some functions are actually named
31680 something starting with __ and the normal name is an alias. */
31681 #if defined __stub_$ac_func || defined __stub___$ac_func
31688 return $ac_func ();
31693 rm -f conftest.$ac_objext conftest$ac_exeext
31694 if { (ac_try="$ac_link"
31695 case "(($ac_try" in
31696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31697 *) ac_try_echo=$ac_try;;
31699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31700 (eval "$ac_link") 2>conftest.er1
31702 grep -v '^ *+' conftest.er1 >conftest.err
31704 cat conftest.err >&5
31705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31706 (exit $ac_status); } && {
31707 test -z "$ac_c_werror_flag" ||
31708 test ! -s conftest.err
31709 } && test -s conftest$ac_exeext &&
31710 $as_test_x conftest$ac_exeext; then
31711 eval "$as_ac_var=yes"
31713 echo "$as_me: failed program was:" >&5
31714 sed 's/^/| /' conftest.$ac_ext >&5
31716 eval "$as_ac_var=no"
31719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31720 conftest$ac_exeext conftest.$ac_ext
31722 ac_res=`eval echo '${'$as_ac_var'}'`
31723 { echo "$as_me:$LINENO: result: $ac_res" >&5
31724 echo "${ECHO_T}$ac_res" >&6; }
31725 if test `eval echo '${'$as_ac_var'}'` = yes; then
31726 cat >>confdefs.h <<_ACEOF
31727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31736 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31737 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31739 AFMINSTALL=afminstall
31743 if test "$wxUSE_GPE" = "yes"; then
31744 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31745 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31748 for ac_dir in $SEARCH_LIB;
31750 for ac_extension in a so sl dylib dll.a; do
31751 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31752 ac_find_libraries=$ac_dir
31758 if test "$ac_find_libraries" != "" ; then
31760 if test "$ac_find_libraries" = "default location"; then
31763 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31765 if test $result = 0; then
31768 ac_path_to_link=" -L$ac_find_libraries"
31772 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31774 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31775 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31777 { echo "$as_me:$LINENO: result: not found" >&5
31778 echo "${ECHO_T}not found" >&6; }
31784 if test "$wxUSE_MGL" = 1; then
31785 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31786 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31787 if test "x$MGL_ROOT" = x ; then
31788 { echo "$as_me:$LINENO: result: not found" >&5
31789 echo "${ECHO_T}not found" >&6; }
31790 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31791 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31792 { (exit 1); exit 1; }; }
31794 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31795 echo "${ECHO_T}$MGL_ROOT" >&6; }
31798 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31799 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31802 if test "x$wxUSE_SHARED" = xyes ; then
31803 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31805 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31809 mgl_os_candidates="dos32/dj2"
31812 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31813 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31814 { (exit 1); exit 1; }; }
31820 for mgl_os_i in $mgl_os_candidates ; do
31821 if test "x$mgl_os" = x ; then
31822 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31823 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31824 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31829 if test "x$mgl_lib_type" = x ; then
31830 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31831 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31832 mgl_lib_type=release
31839 if test "x$mgl_os" = x ; then
31840 { echo "$as_me:$LINENO: result: not found" >&5
31841 echo "${ECHO_T}not found" >&6; }
31842 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31843 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31844 { (exit 1); exit 1; }; }
31846 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31847 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31849 wxUSE_UNIVERSAL="yes"
31851 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31852 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31854 AFMINSTALL=afminstall
31859 if test "$wxUSE_DFB" = 1; then
31862 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31863 if test -n "$ac_tool_prefix"; then
31864 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31865 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31866 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31868 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31869 echo $ECHO_N "(cached) $ECHO_C" >&6
31871 case $PKG_CONFIG in
31873 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31877 for as_dir in $PATH
31880 test -z "$as_dir" && as_dir=.
31881 for ac_exec_ext in '' $ac_executable_extensions; do
31882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31883 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31894 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31895 if test -n "$PKG_CONFIG"; then
31896 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31897 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31899 { echo "$as_me:$LINENO: result: no" >&5
31900 echo "${ECHO_T}no" >&6; }
31905 if test -z "$ac_cv_path_PKG_CONFIG"; then
31906 ac_pt_PKG_CONFIG=$PKG_CONFIG
31907 # Extract the first word of "pkg-config", so it can be a program name with args.
31908 set dummy pkg-config; ac_word=$2
31909 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31911 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31912 echo $ECHO_N "(cached) $ECHO_C" >&6
31914 case $ac_pt_PKG_CONFIG in
31916 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31920 for as_dir in $PATH
31923 test -z "$as_dir" && as_dir=.
31924 for ac_exec_ext in '' $ac_executable_extensions; do
31925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31926 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31937 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31938 if test -n "$ac_pt_PKG_CONFIG"; then
31939 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31940 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31942 { echo "$as_me:$LINENO: result: no" >&5
31943 echo "${ECHO_T}no" >&6; }
31946 if test "x$ac_pt_PKG_CONFIG" = x; then
31949 case $cross_compiling:$ac_tool_warned in
31951 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31952 whose name does not start with the host triplet. If you think this
31953 configuration is useful to you, please write to autoconf@gnu.org." >&5
31954 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31955 whose name does not start with the host triplet. If you think this
31956 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31957 ac_tool_warned=yes ;;
31959 PKG_CONFIG=$ac_pt_PKG_CONFIG
31962 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31966 if test -n "$PKG_CONFIG"; then
31967 _pkg_min_version=0.9.0
31968 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31969 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31970 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31971 { echo "$as_me:$LINENO: result: yes" >&5
31972 echo "${ECHO_T}yes" >&6; }
31974 { echo "$as_me:$LINENO: result: no" >&5
31975 echo "${ECHO_T}no" >&6; }
31983 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31984 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31986 if test -n "$PKG_CONFIG"; then
31987 if test -n "$DIRECTFB_CFLAGS"; then
31988 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31990 if test -n "$PKG_CONFIG" && \
31991 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31992 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31995 (exit $ac_status); }; then
31996 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32004 if test -n "$PKG_CONFIG"; then
32005 if test -n "$DIRECTFB_LIBS"; then
32006 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32008 if test -n "$PKG_CONFIG" && \
32009 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32010 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32013 (exit $ac_status); }; then
32014 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32025 if test $pkg_failed = yes; then
32027 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32028 _pkg_short_errors_supported=yes
32030 _pkg_short_errors_supported=no
32032 if test $_pkg_short_errors_supported = yes; then
32033 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32035 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32037 # Put the nasty error message in config.log where it belongs
32038 echo "$DIRECTFB_PKG_ERRORS" >&5
32041 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32042 echo "$as_me: error: DirectFB not found." >&2;}
32043 { (exit 1); exit 1; }; }
32046 elif test $pkg_failed = untried; then
32048 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32049 echo "$as_me: error: DirectFB not found." >&2;}
32050 { (exit 1); exit 1; }; }
32054 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32055 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32056 { echo "$as_me:$LINENO: result: yes" >&5
32057 echo "${ECHO_T}yes" >&6; }
32059 wxUSE_UNIVERSAL="yes"
32060 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32061 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32068 if test "$wxUSE_MICROWIN" = 1; then
32069 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32070 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32071 if test "x$MICROWINDOWS" = x ; then
32072 { echo "$as_me:$LINENO: result: not found" >&5
32073 echo "${ECHO_T}not found" >&6; }
32074 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32075 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32076 { (exit 1); exit 1; }; }
32078 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32079 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32082 if test -f $MICROWINDOWS/lib/libmwin.a; then
32083 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32084 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32086 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32087 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32088 { (exit 1); exit 1; }; }
32091 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32092 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32094 wxUSE_UNIVERSAL="yes"
32096 AFMINSTALL=afminstall
32098 GUIDIST=MICROWIN_DIST
32100 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32103 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32104 { echo "$as_me:$LINENO: checking for X" >&5
32105 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32108 # Check whether --with-x was given.
32109 if test "${with_x+set}" = set; then
32113 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32114 if test "x$with_x" = xno; then
32115 # The user explicitly disabled X.
32118 case $x_includes,$x_libraries in #(
32119 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32120 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32121 { (exit 1); exit 1; }; };; #(
32122 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32123 echo $ECHO_N "(cached) $ECHO_C" >&6
32125 # One or both of the vars are not set, and there is no cached value.
32126 ac_x_includes=no ac_x_libraries=no
32127 rm -f -r conftest.dir
32128 if mkdir conftest.dir; then
32130 cat >Imakefile <<'_ACEOF'
32132 @echo incroot='${INCROOT}'
32134 @echo usrlibdir='${USRLIBDIR}'
32136 @echo libdir='${LIBDIR}'
32138 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32139 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32140 for ac_var in incroot usrlibdir libdir; do
32141 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32143 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32144 for ac_extension in a so sl; do
32145 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32146 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32147 ac_im_usrlibdir=$ac_im_libdir; break
32150 # Screen out bogus values from the imake configuration. They are
32151 # bogus both because they are the default anyway, and because
32152 # using them would break gcc on systems where it needs fixed includes.
32153 case $ac_im_incroot in
32154 /usr/include) ac_x_includes= ;;
32155 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32157 case $ac_im_usrlibdir in
32158 /usr/lib | /lib) ;;
32159 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32163 rm -f -r conftest.dir
32166 # Standard set of common directories for X headers.
32167 # Check X11 before X11Rn because it is often a symlink to the current release.
32179 /usr/local/X11/include
32180 /usr/local/X11R6/include
32181 /usr/local/X11R5/include
32182 /usr/local/X11R4/include
32184 /usr/local/include/X11
32185 /usr/local/include/X11R6
32186 /usr/local/include/X11R5
32187 /usr/local/include/X11R4
32191 /usr/XFree86/include/X11
32195 /usr/unsupported/include
32196 /usr/athena/include
32197 /usr/local/x11r5/include
32198 /usr/lpp/Xamples/include
32200 /usr/openwin/include
32201 /usr/openwin/share/include'
32203 if test "$ac_x_includes" = no; then
32204 # Guess where to find include files, by looking for Xlib.h.
32205 # First, try using that file with no special directory specified.
32206 cat >conftest.$ac_ext <<_ACEOF
32209 cat confdefs.h >>conftest.$ac_ext
32210 cat >>conftest.$ac_ext <<_ACEOF
32211 /* end confdefs.h. */
32212 #include <X11/Xlib.h>
32214 if { (ac_try="$ac_cpp conftest.$ac_ext"
32215 case "(($ac_try" in
32216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32217 *) ac_try_echo=$ac_try;;
32219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32220 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32222 grep -v '^ *+' conftest.er1 >conftest.err
32224 cat conftest.err >&5
32225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32226 (exit $ac_status); } >/dev/null && {
32227 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32228 test ! -s conftest.err
32230 # We can compile using X headers with no special include directory.
32233 echo "$as_me: failed program was:" >&5
32234 sed 's/^/| /' conftest.$ac_ext >&5
32236 for ac_dir in $ac_x_header_dirs; do
32237 if test -r "$ac_dir/X11/Xlib.h"; then
32238 ac_x_includes=$ac_dir
32244 rm -f conftest.err conftest.$ac_ext
32245 fi # $ac_x_includes = no
32247 if test "$ac_x_libraries" = no; then
32248 # Check for the libraries.
32249 # See if we find them without any special options.
32250 # Don't add to $LIBS permanently.
32253 cat >conftest.$ac_ext <<_ACEOF
32256 cat confdefs.h >>conftest.$ac_ext
32257 cat >>conftest.$ac_ext <<_ACEOF
32258 /* end confdefs.h. */
32259 #include <X11/Xlib.h>
32268 rm -f conftest.$ac_objext conftest$ac_exeext
32269 if { (ac_try="$ac_link"
32270 case "(($ac_try" in
32271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32272 *) ac_try_echo=$ac_try;;
32274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32275 (eval "$ac_link") 2>conftest.er1
32277 grep -v '^ *+' conftest.er1 >conftest.err
32279 cat conftest.err >&5
32280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32281 (exit $ac_status); } && {
32282 test -z "$ac_c_werror_flag" ||
32283 test ! -s conftest.err
32284 } && test -s conftest$ac_exeext &&
32285 $as_test_x conftest$ac_exeext; then
32287 # We can link X programs with no special library path.
32290 echo "$as_me: failed program was:" >&5
32291 sed 's/^/| /' conftest.$ac_ext >&5
32294 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32296 # Don't even attempt the hair of trying to link an X program!
32297 for ac_extension in a so sl; do
32298 if test -r "$ac_dir/libX11.$ac_extension"; then
32299 ac_x_libraries=$ac_dir
32306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32307 conftest$ac_exeext conftest.$ac_ext
32308 fi # $ac_x_libraries = no
32310 case $ac_x_includes,$ac_x_libraries in #(
32311 no,* | *,no | *\'*)
32312 # Didn't find X, or a directory has "'" in its name.
32313 ac_cv_have_x="have_x=no";; #(
32315 # Record where we found X for the cache.
32316 ac_cv_have_x="have_x=yes\
32317 ac_x_includes='$ac_x_includes'\
32318 ac_x_libraries='$ac_x_libraries'"
32324 eval "$ac_cv_have_x"
32327 if test "$have_x" != yes; then
32328 { echo "$as_me:$LINENO: result: $have_x" >&5
32329 echo "${ECHO_T}$have_x" >&6; }
32332 # If each of the values was on the command line, it overrides each guess.
32333 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32334 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32335 # Update the cache value to reflect the command line values.
32336 ac_cv_have_x="have_x=yes\
32337 ac_x_includes='$x_includes'\
32338 ac_x_libraries='$x_libraries'"
32339 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32340 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32343 if test "$no_x" = yes; then
32344 # Not all programs may use this symbol, but it does not hurt to define it.
32346 cat >>confdefs.h <<\_ACEOF
32347 #define X_DISPLAY_MISSING 1
32350 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32352 if test -n "$x_includes"; then
32353 X_CFLAGS="$X_CFLAGS -I$x_includes"
32356 # It would also be nice to do this for all -L options, not just this one.
32357 if test -n "$x_libraries"; then
32358 X_LIBS="$X_LIBS -L$x_libraries"
32359 # For Solaris; some versions of Sun CC require a space after -R and
32360 # others require no space. Words are not sufficient . . . .
32361 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32362 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32363 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32364 ac_xsave_c_werror_flag=$ac_c_werror_flag
32365 ac_c_werror_flag=yes
32366 cat >conftest.$ac_ext <<_ACEOF
32369 cat confdefs.h >>conftest.$ac_ext
32370 cat >>conftest.$ac_ext <<_ACEOF
32371 /* end confdefs.h. */
32381 rm -f conftest.$ac_objext conftest$ac_exeext
32382 if { (ac_try="$ac_link"
32383 case "(($ac_try" in
32384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32385 *) ac_try_echo=$ac_try;;
32387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32388 (eval "$ac_link") 2>conftest.er1
32390 grep -v '^ *+' conftest.er1 >conftest.err
32392 cat conftest.err >&5
32393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32394 (exit $ac_status); } && {
32395 test -z "$ac_c_werror_flag" ||
32396 test ! -s conftest.err
32397 } && test -s conftest$ac_exeext &&
32398 $as_test_x conftest$ac_exeext; then
32399 { echo "$as_me:$LINENO: result: no" >&5
32400 echo "${ECHO_T}no" >&6; }
32401 X_LIBS="$X_LIBS -R$x_libraries"
32403 echo "$as_me: failed program was:" >&5
32404 sed 's/^/| /' conftest.$ac_ext >&5
32406 LIBS="$ac_xsave_LIBS -R $x_libraries"
32407 cat >conftest.$ac_ext <<_ACEOF
32410 cat confdefs.h >>conftest.$ac_ext
32411 cat >>conftest.$ac_ext <<_ACEOF
32412 /* end confdefs.h. */
32422 rm -f conftest.$ac_objext conftest$ac_exeext
32423 if { (ac_try="$ac_link"
32424 case "(($ac_try" in
32425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32426 *) ac_try_echo=$ac_try;;
32428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32429 (eval "$ac_link") 2>conftest.er1
32431 grep -v '^ *+' conftest.er1 >conftest.err
32433 cat conftest.err >&5
32434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32435 (exit $ac_status); } && {
32436 test -z "$ac_c_werror_flag" ||
32437 test ! -s conftest.err
32438 } && test -s conftest$ac_exeext &&
32439 $as_test_x conftest$ac_exeext; then
32440 { echo "$as_me:$LINENO: result: yes" >&5
32441 echo "${ECHO_T}yes" >&6; }
32442 X_LIBS="$X_LIBS -R $x_libraries"
32444 echo "$as_me: failed program was:" >&5
32445 sed 's/^/| /' conftest.$ac_ext >&5
32447 { echo "$as_me:$LINENO: result: neither works" >&5
32448 echo "${ECHO_T}neither works" >&6; }
32451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32452 conftest$ac_exeext conftest.$ac_ext
32455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32456 conftest$ac_exeext conftest.$ac_ext
32457 ac_c_werror_flag=$ac_xsave_c_werror_flag
32458 LIBS=$ac_xsave_LIBS
32461 # Check for system-dependent libraries X programs must link with.
32462 # Do this before checking for the system-independent R6 libraries
32463 # (-lICE), since we may need -lsocket or whatever for X linking.
32465 if test "$ISC" = yes; then
32466 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32468 # Martyn Johnson says this is needed for Ultrix, if the X
32469 # libraries were built with DECnet support. And Karl Berry says
32470 # the Alpha needs dnet_stub (dnet does not exist).
32471 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32472 cat >conftest.$ac_ext <<_ACEOF
32475 cat confdefs.h >>conftest.$ac_ext
32476 cat >>conftest.$ac_ext <<_ACEOF
32477 /* end confdefs.h. */
32479 /* Override any GCC internal prototype to avoid an error.
32480 Use char because int might match the return type of a GCC
32481 builtin and then its argument prototype would still apply. */
32485 char XOpenDisplay ();
32489 return XOpenDisplay ();
32494 rm -f conftest.$ac_objext conftest$ac_exeext
32495 if { (ac_try="$ac_link"
32496 case "(($ac_try" in
32497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32498 *) ac_try_echo=$ac_try;;
32500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32501 (eval "$ac_link") 2>conftest.er1
32503 grep -v '^ *+' conftest.er1 >conftest.err
32505 cat conftest.err >&5
32506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507 (exit $ac_status); } && {
32508 test -z "$ac_c_werror_flag" ||
32509 test ! -s conftest.err
32510 } && test -s conftest$ac_exeext &&
32511 $as_test_x conftest$ac_exeext; then
32514 echo "$as_me: failed program was:" >&5
32515 sed 's/^/| /' conftest.$ac_ext >&5
32517 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32518 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32519 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32520 echo $ECHO_N "(cached) $ECHO_C" >&6
32522 ac_check_lib_save_LIBS=$LIBS
32523 LIBS="-ldnet $LIBS"
32524 cat >conftest.$ac_ext <<_ACEOF
32527 cat confdefs.h >>conftest.$ac_ext
32528 cat >>conftest.$ac_ext <<_ACEOF
32529 /* end confdefs.h. */
32531 /* Override any GCC internal prototype to avoid an error.
32532 Use char because int might match the return type of a GCC
32533 builtin and then its argument prototype would still apply. */
32541 return dnet_ntoa ();
32546 rm -f conftest.$ac_objext conftest$ac_exeext
32547 if { (ac_try="$ac_link"
32548 case "(($ac_try" in
32549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32550 *) ac_try_echo=$ac_try;;
32552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32553 (eval "$ac_link") 2>conftest.er1
32555 grep -v '^ *+' conftest.er1 >conftest.err
32557 cat conftest.err >&5
32558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32559 (exit $ac_status); } && {
32560 test -z "$ac_c_werror_flag" ||
32561 test ! -s conftest.err
32562 } && test -s conftest$ac_exeext &&
32563 $as_test_x conftest$ac_exeext; then
32564 ac_cv_lib_dnet_dnet_ntoa=yes
32566 echo "$as_me: failed program was:" >&5
32567 sed 's/^/| /' conftest.$ac_ext >&5
32569 ac_cv_lib_dnet_dnet_ntoa=no
32572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32573 conftest$ac_exeext conftest.$ac_ext
32574 LIBS=$ac_check_lib_save_LIBS
32576 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32577 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32578 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32579 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32582 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32583 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32584 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32585 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32586 echo $ECHO_N "(cached) $ECHO_C" >&6
32588 ac_check_lib_save_LIBS=$LIBS
32589 LIBS="-ldnet_stub $LIBS"
32590 cat >conftest.$ac_ext <<_ACEOF
32593 cat confdefs.h >>conftest.$ac_ext
32594 cat >>conftest.$ac_ext <<_ACEOF
32595 /* end confdefs.h. */
32597 /* Override any GCC internal prototype to avoid an error.
32598 Use char because int might match the return type of a GCC
32599 builtin and then its argument prototype would still apply. */
32607 return dnet_ntoa ();
32612 rm -f conftest.$ac_objext conftest$ac_exeext
32613 if { (ac_try="$ac_link"
32614 case "(($ac_try" in
32615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32616 *) ac_try_echo=$ac_try;;
32618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32619 (eval "$ac_link") 2>conftest.er1
32621 grep -v '^ *+' conftest.er1 >conftest.err
32623 cat conftest.err >&5
32624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32625 (exit $ac_status); } && {
32626 test -z "$ac_c_werror_flag" ||
32627 test ! -s conftest.err
32628 } && test -s conftest$ac_exeext &&
32629 $as_test_x conftest$ac_exeext; then
32630 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32632 echo "$as_me: failed program was:" >&5
32633 sed 's/^/| /' conftest.$ac_ext >&5
32635 ac_cv_lib_dnet_stub_dnet_ntoa=no
32638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32639 conftest$ac_exeext conftest.$ac_ext
32640 LIBS=$ac_check_lib_save_LIBS
32642 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32643 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32644 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32645 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32652 conftest$ac_exeext conftest.$ac_ext
32653 LIBS="$ac_xsave_LIBS"
32655 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32656 # to get the SysV transport functions.
32657 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32659 # The nsl library prevents programs from opening the X display
32660 # on Irix 5.2, according to T.E. Dickey.
32661 # The functions gethostbyname, getservbyname, and inet_addr are
32662 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32663 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32664 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32665 if test "${ac_cv_func_gethostbyname+set}" = set; then
32666 echo $ECHO_N "(cached) $ECHO_C" >&6
32668 cat >conftest.$ac_ext <<_ACEOF
32671 cat confdefs.h >>conftest.$ac_ext
32672 cat >>conftest.$ac_ext <<_ACEOF
32673 /* end confdefs.h. */
32674 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32676 #define gethostbyname innocuous_gethostbyname
32678 /* System header to define __stub macros and hopefully few prototypes,
32679 which can conflict with char gethostbyname (); below.
32680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32681 <limits.h> exists even on freestanding compilers. */
32684 # include <limits.h>
32686 # include <assert.h>
32689 #undef gethostbyname
32691 /* Override any GCC internal prototype to avoid an error.
32692 Use char because int might match the return type of a GCC
32693 builtin and then its argument prototype would still apply. */
32697 char gethostbyname ();
32698 /* The GNU C library defines this for functions which it implements
32699 to always fail with ENOSYS. Some functions are actually named
32700 something starting with __ and the normal name is an alias. */
32701 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32708 return gethostbyname ();
32713 rm -f conftest.$ac_objext conftest$ac_exeext
32714 if { (ac_try="$ac_link"
32715 case "(($ac_try" in
32716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32717 *) ac_try_echo=$ac_try;;
32719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32720 (eval "$ac_link") 2>conftest.er1
32722 grep -v '^ *+' conftest.er1 >conftest.err
32724 cat conftest.err >&5
32725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32726 (exit $ac_status); } && {
32727 test -z "$ac_c_werror_flag" ||
32728 test ! -s conftest.err
32729 } && test -s conftest$ac_exeext &&
32730 $as_test_x conftest$ac_exeext; then
32731 ac_cv_func_gethostbyname=yes
32733 echo "$as_me: failed program was:" >&5
32734 sed 's/^/| /' conftest.$ac_ext >&5
32736 ac_cv_func_gethostbyname=no
32739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32740 conftest$ac_exeext conftest.$ac_ext
32742 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32743 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32745 if test $ac_cv_func_gethostbyname = no; then
32746 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32747 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32748 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32749 echo $ECHO_N "(cached) $ECHO_C" >&6
32751 ac_check_lib_save_LIBS=$LIBS
32753 cat >conftest.$ac_ext <<_ACEOF
32756 cat confdefs.h >>conftest.$ac_ext
32757 cat >>conftest.$ac_ext <<_ACEOF
32758 /* end confdefs.h. */
32760 /* Override any GCC internal prototype to avoid an error.
32761 Use char because int might match the return type of a GCC
32762 builtin and then its argument prototype would still apply. */
32766 char gethostbyname ();
32770 return gethostbyname ();
32775 rm -f conftest.$ac_objext conftest$ac_exeext
32776 if { (ac_try="$ac_link"
32777 case "(($ac_try" in
32778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32779 *) ac_try_echo=$ac_try;;
32781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32782 (eval "$ac_link") 2>conftest.er1
32784 grep -v '^ *+' conftest.er1 >conftest.err
32786 cat conftest.err >&5
32787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32788 (exit $ac_status); } && {
32789 test -z "$ac_c_werror_flag" ||
32790 test ! -s conftest.err
32791 } && test -s conftest$ac_exeext &&
32792 $as_test_x conftest$ac_exeext; then
32793 ac_cv_lib_nsl_gethostbyname=yes
32795 echo "$as_me: failed program was:" >&5
32796 sed 's/^/| /' conftest.$ac_ext >&5
32798 ac_cv_lib_nsl_gethostbyname=no
32801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32802 conftest$ac_exeext conftest.$ac_ext
32803 LIBS=$ac_check_lib_save_LIBS
32805 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32806 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32807 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32808 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32811 if test $ac_cv_lib_nsl_gethostbyname = no; then
32812 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32813 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32814 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32815 echo $ECHO_N "(cached) $ECHO_C" >&6
32817 ac_check_lib_save_LIBS=$LIBS
32819 cat >conftest.$ac_ext <<_ACEOF
32822 cat confdefs.h >>conftest.$ac_ext
32823 cat >>conftest.$ac_ext <<_ACEOF
32824 /* end confdefs.h. */
32826 /* Override any GCC internal prototype to avoid an error.
32827 Use char because int might match the return type of a GCC
32828 builtin and then its argument prototype would still apply. */
32832 char gethostbyname ();
32836 return gethostbyname ();
32841 rm -f conftest.$ac_objext conftest$ac_exeext
32842 if { (ac_try="$ac_link"
32843 case "(($ac_try" in
32844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32845 *) ac_try_echo=$ac_try;;
32847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32848 (eval "$ac_link") 2>conftest.er1
32850 grep -v '^ *+' conftest.er1 >conftest.err
32852 cat conftest.err >&5
32853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32854 (exit $ac_status); } && {
32855 test -z "$ac_c_werror_flag" ||
32856 test ! -s conftest.err
32857 } && test -s conftest$ac_exeext &&
32858 $as_test_x conftest$ac_exeext; then
32859 ac_cv_lib_bsd_gethostbyname=yes
32861 echo "$as_me: failed program was:" >&5
32862 sed 's/^/| /' conftest.$ac_ext >&5
32864 ac_cv_lib_bsd_gethostbyname=no
32867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32868 conftest$ac_exeext conftest.$ac_ext
32869 LIBS=$ac_check_lib_save_LIBS
32871 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32872 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32873 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32874 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32880 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32881 # socket/setsockopt and other routines are undefined under SCO ODT
32882 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32883 # on later versions), says Simon Leinen: it contains gethostby*
32884 # variants that don't use the name server (or something). -lsocket
32885 # must be given before -lnsl if both are needed. We assume that
32886 # if connect needs -lnsl, so does gethostbyname.
32887 { echo "$as_me:$LINENO: checking for connect" >&5
32888 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32889 if test "${ac_cv_func_connect+set}" = set; then
32890 echo $ECHO_N "(cached) $ECHO_C" >&6
32892 cat >conftest.$ac_ext <<_ACEOF
32895 cat confdefs.h >>conftest.$ac_ext
32896 cat >>conftest.$ac_ext <<_ACEOF
32897 /* end confdefs.h. */
32898 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32900 #define connect innocuous_connect
32902 /* System header to define __stub macros and hopefully few prototypes,
32903 which can conflict with char connect (); below.
32904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32905 <limits.h> exists even on freestanding compilers. */
32908 # include <limits.h>
32910 # include <assert.h>
32915 /* Override any GCC internal prototype to avoid an error.
32916 Use char because int might match the return type of a GCC
32917 builtin and then its argument prototype would still apply. */
32922 /* The GNU C library defines this for functions which it implements
32923 to always fail with ENOSYS. Some functions are actually named
32924 something starting with __ and the normal name is an alias. */
32925 #if defined __stub_connect || defined __stub___connect
32937 rm -f conftest.$ac_objext conftest$ac_exeext
32938 if { (ac_try="$ac_link"
32939 case "(($ac_try" in
32940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32941 *) ac_try_echo=$ac_try;;
32943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32944 (eval "$ac_link") 2>conftest.er1
32946 grep -v '^ *+' conftest.er1 >conftest.err
32948 cat conftest.err >&5
32949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32950 (exit $ac_status); } && {
32951 test -z "$ac_c_werror_flag" ||
32952 test ! -s conftest.err
32953 } && test -s conftest$ac_exeext &&
32954 $as_test_x conftest$ac_exeext; then
32955 ac_cv_func_connect=yes
32957 echo "$as_me: failed program was:" >&5
32958 sed 's/^/| /' conftest.$ac_ext >&5
32960 ac_cv_func_connect=no
32963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32964 conftest$ac_exeext conftest.$ac_ext
32966 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32967 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32969 if test $ac_cv_func_connect = no; then
32970 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32971 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32972 if test "${ac_cv_lib_socket_connect+set}" = set; then
32973 echo $ECHO_N "(cached) $ECHO_C" >&6
32975 ac_check_lib_save_LIBS=$LIBS
32976 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32977 cat >conftest.$ac_ext <<_ACEOF
32980 cat confdefs.h >>conftest.$ac_ext
32981 cat >>conftest.$ac_ext <<_ACEOF
32982 /* end confdefs.h. */
32984 /* Override any GCC internal prototype to avoid an error.
32985 Use char because int might match the return type of a GCC
32986 builtin and then its argument prototype would still apply. */
32999 rm -f conftest.$ac_objext conftest$ac_exeext
33000 if { (ac_try="$ac_link"
33001 case "(($ac_try" in
33002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33003 *) ac_try_echo=$ac_try;;
33005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33006 (eval "$ac_link") 2>conftest.er1
33008 grep -v '^ *+' conftest.er1 >conftest.err
33010 cat conftest.err >&5
33011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33012 (exit $ac_status); } && {
33013 test -z "$ac_c_werror_flag" ||
33014 test ! -s conftest.err
33015 } && test -s conftest$ac_exeext &&
33016 $as_test_x conftest$ac_exeext; then
33017 ac_cv_lib_socket_connect=yes
33019 echo "$as_me: failed program was:" >&5
33020 sed 's/^/| /' conftest.$ac_ext >&5
33022 ac_cv_lib_socket_connect=no
33025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33026 conftest$ac_exeext conftest.$ac_ext
33027 LIBS=$ac_check_lib_save_LIBS
33029 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33030 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33031 if test $ac_cv_lib_socket_connect = yes; then
33032 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33037 # Guillermo Gomez says -lposix is necessary on A/UX.
33038 { echo "$as_me:$LINENO: checking for remove" >&5
33039 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33040 if test "${ac_cv_func_remove+set}" = set; then
33041 echo $ECHO_N "(cached) $ECHO_C" >&6
33043 cat >conftest.$ac_ext <<_ACEOF
33046 cat confdefs.h >>conftest.$ac_ext
33047 cat >>conftest.$ac_ext <<_ACEOF
33048 /* end confdefs.h. */
33049 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33051 #define remove innocuous_remove
33053 /* System header to define __stub macros and hopefully few prototypes,
33054 which can conflict with char remove (); below.
33055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33056 <limits.h> exists even on freestanding compilers. */
33059 # include <limits.h>
33061 # include <assert.h>
33066 /* Override any GCC internal prototype to avoid an error.
33067 Use char because int might match the return type of a GCC
33068 builtin and then its argument prototype would still apply. */
33073 /* The GNU C library defines this for functions which it implements
33074 to always fail with ENOSYS. Some functions are actually named
33075 something starting with __ and the normal name is an alias. */
33076 #if defined __stub_remove || defined __stub___remove
33088 rm -f conftest.$ac_objext conftest$ac_exeext
33089 if { (ac_try="$ac_link"
33090 case "(($ac_try" in
33091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33092 *) ac_try_echo=$ac_try;;
33094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33095 (eval "$ac_link") 2>conftest.er1
33097 grep -v '^ *+' conftest.er1 >conftest.err
33099 cat conftest.err >&5
33100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33101 (exit $ac_status); } && {
33102 test -z "$ac_c_werror_flag" ||
33103 test ! -s conftest.err
33104 } && test -s conftest$ac_exeext &&
33105 $as_test_x conftest$ac_exeext; then
33106 ac_cv_func_remove=yes
33108 echo "$as_me: failed program was:" >&5
33109 sed 's/^/| /' conftest.$ac_ext >&5
33111 ac_cv_func_remove=no
33114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33115 conftest$ac_exeext conftest.$ac_ext
33117 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33118 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33120 if test $ac_cv_func_remove = no; then
33121 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33122 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33123 if test "${ac_cv_lib_posix_remove+set}" = set; then
33124 echo $ECHO_N "(cached) $ECHO_C" >&6
33126 ac_check_lib_save_LIBS=$LIBS
33127 LIBS="-lposix $LIBS"
33128 cat >conftest.$ac_ext <<_ACEOF
33131 cat confdefs.h >>conftest.$ac_ext
33132 cat >>conftest.$ac_ext <<_ACEOF
33133 /* end confdefs.h. */
33135 /* Override any GCC internal prototype to avoid an error.
33136 Use char because int might match the return type of a GCC
33137 builtin and then its argument prototype would still apply. */
33150 rm -f conftest.$ac_objext conftest$ac_exeext
33151 if { (ac_try="$ac_link"
33152 case "(($ac_try" in
33153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33154 *) ac_try_echo=$ac_try;;
33156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33157 (eval "$ac_link") 2>conftest.er1
33159 grep -v '^ *+' conftest.er1 >conftest.err
33161 cat conftest.err >&5
33162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33163 (exit $ac_status); } && {
33164 test -z "$ac_c_werror_flag" ||
33165 test ! -s conftest.err
33166 } && test -s conftest$ac_exeext &&
33167 $as_test_x conftest$ac_exeext; then
33168 ac_cv_lib_posix_remove=yes
33170 echo "$as_me: failed program was:" >&5
33171 sed 's/^/| /' conftest.$ac_ext >&5
33173 ac_cv_lib_posix_remove=no
33176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33177 conftest$ac_exeext conftest.$ac_ext
33178 LIBS=$ac_check_lib_save_LIBS
33180 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33181 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33182 if test $ac_cv_lib_posix_remove = yes; then
33183 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33188 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33189 { echo "$as_me:$LINENO: checking for shmat" >&5
33190 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33191 if test "${ac_cv_func_shmat+set}" = set; then
33192 echo $ECHO_N "(cached) $ECHO_C" >&6
33194 cat >conftest.$ac_ext <<_ACEOF
33197 cat confdefs.h >>conftest.$ac_ext
33198 cat >>conftest.$ac_ext <<_ACEOF
33199 /* end confdefs.h. */
33200 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33202 #define shmat innocuous_shmat
33204 /* System header to define __stub macros and hopefully few prototypes,
33205 which can conflict with char shmat (); below.
33206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33207 <limits.h> exists even on freestanding compilers. */
33210 # include <limits.h>
33212 # include <assert.h>
33217 /* Override any GCC internal prototype to avoid an error.
33218 Use char because int might match the return type of a GCC
33219 builtin and then its argument prototype would still apply. */
33224 /* The GNU C library defines this for functions which it implements
33225 to always fail with ENOSYS. Some functions are actually named
33226 something starting with __ and the normal name is an alias. */
33227 #if defined __stub_shmat || defined __stub___shmat
33239 rm -f conftest.$ac_objext conftest$ac_exeext
33240 if { (ac_try="$ac_link"
33241 case "(($ac_try" in
33242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33243 *) ac_try_echo=$ac_try;;
33245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33246 (eval "$ac_link") 2>conftest.er1
33248 grep -v '^ *+' conftest.er1 >conftest.err
33250 cat conftest.err >&5
33251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33252 (exit $ac_status); } && {
33253 test -z "$ac_c_werror_flag" ||
33254 test ! -s conftest.err
33255 } && test -s conftest$ac_exeext &&
33256 $as_test_x conftest$ac_exeext; then
33257 ac_cv_func_shmat=yes
33259 echo "$as_me: failed program was:" >&5
33260 sed 's/^/| /' conftest.$ac_ext >&5
33262 ac_cv_func_shmat=no
33265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33266 conftest$ac_exeext conftest.$ac_ext
33268 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33269 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33271 if test $ac_cv_func_shmat = no; then
33272 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33273 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33274 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33275 echo $ECHO_N "(cached) $ECHO_C" >&6
33277 ac_check_lib_save_LIBS=$LIBS
33279 cat >conftest.$ac_ext <<_ACEOF
33282 cat confdefs.h >>conftest.$ac_ext
33283 cat >>conftest.$ac_ext <<_ACEOF
33284 /* end confdefs.h. */
33286 /* Override any GCC internal prototype to avoid an error.
33287 Use char because int might match the return type of a GCC
33288 builtin and then its argument prototype would still apply. */
33301 rm -f conftest.$ac_objext conftest$ac_exeext
33302 if { (ac_try="$ac_link"
33303 case "(($ac_try" in
33304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33305 *) ac_try_echo=$ac_try;;
33307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33308 (eval "$ac_link") 2>conftest.er1
33310 grep -v '^ *+' conftest.er1 >conftest.err
33312 cat conftest.err >&5
33313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33314 (exit $ac_status); } && {
33315 test -z "$ac_c_werror_flag" ||
33316 test ! -s conftest.err
33317 } && test -s conftest$ac_exeext &&
33318 $as_test_x conftest$ac_exeext; then
33319 ac_cv_lib_ipc_shmat=yes
33321 echo "$as_me: failed program was:" >&5
33322 sed 's/^/| /' conftest.$ac_ext >&5
33324 ac_cv_lib_ipc_shmat=no
33327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33328 conftest$ac_exeext conftest.$ac_ext
33329 LIBS=$ac_check_lib_save_LIBS
33331 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33332 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33333 if test $ac_cv_lib_ipc_shmat = yes; then
33334 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33340 # Check for libraries that X11R6 Xt/Xaw programs need.
33341 ac_save_LDFLAGS=$LDFLAGS
33342 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33343 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33344 # check for ICE first), but we must link in the order -lSM -lICE or
33345 # we get undefined symbols. So assume we have SM if we have ICE.
33346 # These have to be linked with before -lX11, unlike the other
33347 # libraries we check for below, so use a different variable.
33348 # John Interrante, Karl Berry
33349 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33350 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33351 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33352 echo $ECHO_N "(cached) $ECHO_C" >&6
33354 ac_check_lib_save_LIBS=$LIBS
33355 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33356 cat >conftest.$ac_ext <<_ACEOF
33359 cat confdefs.h >>conftest.$ac_ext
33360 cat >>conftest.$ac_ext <<_ACEOF
33361 /* end confdefs.h. */
33363 /* Override any GCC internal prototype to avoid an error.
33364 Use char because int might match the return type of a GCC
33365 builtin and then its argument prototype would still apply. */
33369 char IceConnectionNumber ();
33373 return IceConnectionNumber ();
33378 rm -f conftest.$ac_objext conftest$ac_exeext
33379 if { (ac_try="$ac_link"
33380 case "(($ac_try" in
33381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33382 *) ac_try_echo=$ac_try;;
33384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33385 (eval "$ac_link") 2>conftest.er1
33387 grep -v '^ *+' conftest.er1 >conftest.err
33389 cat conftest.err >&5
33390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33391 (exit $ac_status); } && {
33392 test -z "$ac_c_werror_flag" ||
33393 test ! -s conftest.err
33394 } && test -s conftest$ac_exeext &&
33395 $as_test_x conftest$ac_exeext; then
33396 ac_cv_lib_ICE_IceConnectionNumber=yes
33398 echo "$as_me: failed program was:" >&5
33399 sed 's/^/| /' conftest.$ac_ext >&5
33401 ac_cv_lib_ICE_IceConnectionNumber=no
33404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33405 conftest$ac_exeext conftest.$ac_ext
33406 LIBS=$ac_check_lib_save_LIBS
33408 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33409 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33410 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33411 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33414 LDFLAGS=$ac_save_LDFLAGS
33419 if test "$no_x" = "yes"; then
33420 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33421 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33422 { (exit 1); exit 1; }; }
33425 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33426 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33427 AFMINSTALL=afminstall
33428 COMPILED_X_PROGRAM=0
33432 if test "$wxUSE_X11" = 1; then
33433 if test "$wxUSE_NANOX" = "yes"; then
33434 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33435 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33436 if test "x$MICROWIN" = x ; then
33437 { echo "$as_me:$LINENO: result: not found" >&5
33438 echo "${ECHO_T}not found" >&6; }
33439 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33440 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33441 { (exit 1); exit 1; }; }
33443 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33444 echo "${ECHO_T}$MICROWIN" >&6; }
33445 cat >>confdefs.h <<\_ACEOF
33446 #define wxUSE_NANOX 1
33452 if test "$wxUSE_UNICODE" = "yes"; then
33455 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33456 if test -n "$ac_tool_prefix"; then
33457 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33458 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33459 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33461 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33462 echo $ECHO_N "(cached) $ECHO_C" >&6
33464 case $PKG_CONFIG in
33466 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33470 for as_dir in $PATH
33473 test -z "$as_dir" && as_dir=.
33474 for ac_exec_ext in '' $ac_executable_extensions; do
33475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33476 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33487 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33488 if test -n "$PKG_CONFIG"; then
33489 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33490 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33492 { echo "$as_me:$LINENO: result: no" >&5
33493 echo "${ECHO_T}no" >&6; }
33498 if test -z "$ac_cv_path_PKG_CONFIG"; then
33499 ac_pt_PKG_CONFIG=$PKG_CONFIG
33500 # Extract the first word of "pkg-config", so it can be a program name with args.
33501 set dummy pkg-config; ac_word=$2
33502 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33504 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33505 echo $ECHO_N "(cached) $ECHO_C" >&6
33507 case $ac_pt_PKG_CONFIG in
33509 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33513 for as_dir in $PATH
33516 test -z "$as_dir" && as_dir=.
33517 for ac_exec_ext in '' $ac_executable_extensions; do
33518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33519 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33530 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33531 if test -n "$ac_pt_PKG_CONFIG"; then
33532 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33533 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33535 { echo "$as_me:$LINENO: result: no" >&5
33536 echo "${ECHO_T}no" >&6; }
33539 if test "x$ac_pt_PKG_CONFIG" = x; then
33542 case $cross_compiling:$ac_tool_warned in
33544 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33545 whose name does not start with the host triplet. If you think this
33546 configuration is useful to you, please write to autoconf@gnu.org." >&5
33547 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33548 whose name does not start with the host triplet. If you think this
33549 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33550 ac_tool_warned=yes ;;
33552 PKG_CONFIG=$ac_pt_PKG_CONFIG
33555 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33559 if test -n "$PKG_CONFIG"; then
33560 _pkg_min_version=0.9.0
33561 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33562 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33563 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33564 { echo "$as_me:$LINENO: result: yes" >&5
33565 echo "${ECHO_T}yes" >&6; }
33567 { echo "$as_me:$LINENO: result: no" >&5
33568 echo "${ECHO_T}no" >&6; }
33576 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33577 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33579 if test -n "$PKG_CONFIG"; then
33580 if test -n "$PANGOX_CFLAGS"; then
33581 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33583 if test -n "$PKG_CONFIG" && \
33584 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33585 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33588 (exit $ac_status); }; then
33589 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33597 if test -n "$PKG_CONFIG"; then
33598 if test -n "$PANGOX_LIBS"; then
33599 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33601 if test -n "$PKG_CONFIG" && \
33602 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33603 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33606 (exit $ac_status); }; then
33607 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33618 if test $pkg_failed = yes; then
33620 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33621 _pkg_short_errors_supported=yes
33623 _pkg_short_errors_supported=no
33625 if test $_pkg_short_errors_supported = yes; then
33626 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33628 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33630 # Put the nasty error message in config.log where it belongs
33631 echo "$PANGOX_PKG_ERRORS" >&5
33634 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33635 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33636 { (exit 1); exit 1; }; }
33639 elif test $pkg_failed = untried; then
33641 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33642 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33643 { (exit 1); exit 1; }; }
33647 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33648 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33649 { echo "$as_me:$LINENO: result: yes" >&5
33650 echo "${ECHO_T}yes" >&6; }
33652 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33653 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33654 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33659 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33660 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33662 if test -n "$PKG_CONFIG"; then
33663 if test -n "$PANGOFT2_CFLAGS"; then
33664 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33666 if test -n "$PKG_CONFIG" && \
33667 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33668 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33671 (exit $ac_status); }; then
33672 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33680 if test -n "$PKG_CONFIG"; then
33681 if test -n "$PANGOFT2_LIBS"; then
33682 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33684 if test -n "$PKG_CONFIG" && \
33685 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33686 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33689 (exit $ac_status); }; then
33690 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33701 if test $pkg_failed = yes; then
33703 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33704 _pkg_short_errors_supported=yes
33706 _pkg_short_errors_supported=no
33708 if test $_pkg_short_errors_supported = yes; then
33709 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33711 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33713 # Put the nasty error message in config.log where it belongs
33714 echo "$PANGOFT2_PKG_ERRORS" >&5
33717 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33718 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33719 wxUSE_PRINTING_ARCHITECTURE="no"
33722 elif test $pkg_failed = untried; then
33724 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33725 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33726 wxUSE_PRINTING_ARCHITECTURE="no"
33730 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33731 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33732 { echo "$as_me:$LINENO: result: yes" >&5
33733 echo "${ECHO_T}yes" >&6; }
33735 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33736 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33737 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33742 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33743 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33745 if test -n "$PKG_CONFIG"; then
33746 if test -n "$PANGOXFT_CFLAGS"; then
33747 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33749 if test -n "$PKG_CONFIG" && \
33750 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33751 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33754 (exit $ac_status); }; then
33755 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33763 if test -n "$PKG_CONFIG"; then
33764 if test -n "$PANGOXFT_LIBS"; then
33765 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33767 if test -n "$PKG_CONFIG" && \
33768 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33769 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33772 (exit $ac_status); }; then
33773 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33784 if test $pkg_failed = yes; then
33786 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33787 _pkg_short_errors_supported=yes
33789 _pkg_short_errors_supported=no
33791 if test $_pkg_short_errors_supported = yes; then
33792 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33794 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33796 # Put the nasty error message in config.log where it belongs
33797 echo "$PANGOXFT_PKG_ERRORS" >&5
33800 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33801 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33804 elif test $pkg_failed = untried; then
33806 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33807 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33811 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33812 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33813 { echo "$as_me:$LINENO: result: yes" >&5
33814 echo "${ECHO_T}yes" >&6; }
33816 cat >>confdefs.h <<\_ACEOF
33817 #define HAVE_PANGO_XFT 1
33820 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33821 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33822 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33826 LIBS="$LIBS $PANGOX_LIBS"
33828 for ac_func in pango_font_family_is_monospace
33830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33831 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33833 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33834 echo $ECHO_N "(cached) $ECHO_C" >&6
33836 cat >conftest.$ac_ext <<_ACEOF
33839 cat confdefs.h >>conftest.$ac_ext
33840 cat >>conftest.$ac_ext <<_ACEOF
33841 /* end confdefs.h. */
33842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33844 #define $ac_func innocuous_$ac_func
33846 /* System header to define __stub macros and hopefully few prototypes,
33847 which can conflict with char $ac_func (); below.
33848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33849 <limits.h> exists even on freestanding compilers. */
33852 # include <limits.h>
33854 # include <assert.h>
33859 /* Override any GCC internal prototype to avoid an error.
33860 Use char because int might match the return type of a GCC
33861 builtin and then its argument prototype would still apply. */
33866 /* The GNU C library defines this for functions which it implements
33867 to always fail with ENOSYS. Some functions are actually named
33868 something starting with __ and the normal name is an alias. */
33869 #if defined __stub_$ac_func || defined __stub___$ac_func
33876 return $ac_func ();
33881 rm -f conftest.$ac_objext conftest$ac_exeext
33882 if { (ac_try="$ac_link"
33883 case "(($ac_try" in
33884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33885 *) ac_try_echo=$ac_try;;
33887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33888 (eval "$ac_link") 2>conftest.er1
33890 grep -v '^ *+' conftest.er1 >conftest.err
33892 cat conftest.err >&5
33893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33894 (exit $ac_status); } && {
33895 test -z "$ac_c_werror_flag" ||
33896 test ! -s conftest.err
33897 } && test -s conftest$ac_exeext &&
33898 $as_test_x conftest$ac_exeext; then
33899 eval "$as_ac_var=yes"
33901 echo "$as_me: failed program was:" >&5
33902 sed 's/^/| /' conftest.$ac_ext >&5
33904 eval "$as_ac_var=no"
33907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33908 conftest$ac_exeext conftest.$ac_ext
33910 ac_res=`eval echo '${'$as_ac_var'}'`
33911 { echo "$as_me:$LINENO: result: $ac_res" >&5
33912 echo "${ECHO_T}$ac_res" >&6; }
33913 if test `eval echo '${'$as_ac_var'}'` = yes; then
33914 cat >>confdefs.h <<_ACEOF
33915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33924 wxUSE_UNIVERSAL="yes"
33926 if test "$wxUSE_NANOX" = "yes"; then
33927 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33928 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"
33929 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33931 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33938 if test "$wxUSE_MOTIF" = 1; then
33939 if test "$wxUSE_UNICODE" = "yes"; then
33940 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
33941 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
33942 { (exit 1); exit 1; }; }
33945 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33946 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33949 for ac_dir in $SEARCH_INCLUDE /usr/include;
33951 if test -f "$ac_dir/Xm/Xm.h"; then
33952 ac_find_includes=$ac_dir
33957 if test "$ac_find_includes" != "" ; then
33958 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33959 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33961 if test "x$ac_find_includes" = "x/usr/include"; then
33962 ac_path_to_include=""
33964 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33966 if test $result = 0; then
33967 ac_path_to_include=""
33969 ac_path_to_include=" -I$ac_find_includes"
33973 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33975 save_CFLAGS=$CFLAGS
33976 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33978 cat >conftest.$ac_ext <<_ACEOF
33981 cat confdefs.h >>conftest.$ac_ext
33982 cat >>conftest.$ac_ext <<_ACEOF
33983 /* end confdefs.h. */
33992 version = xmUseVersion;
33998 rm -f conftest.$ac_objext
33999 if { (ac_try="$ac_compile"
34000 case "(($ac_try" in
34001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34002 *) ac_try_echo=$ac_try;;
34004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34005 (eval "$ac_compile") 2>conftest.er1
34007 grep -v '^ *+' conftest.er1 >conftest.err
34009 cat conftest.err >&5
34010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34011 (exit $ac_status); } && {
34012 test -z "$ac_c_werror_flag" ||
34013 test ! -s conftest.err
34014 } && test -s conftest.$ac_objext; then
34016 { echo "$as_me:$LINENO: result: found in default search path" >&5
34017 echo "${ECHO_T}found in default search path" >&6; }
34018 COMPILED_X_PROGRAM=1
34021 echo "$as_me: failed program was:" >&5
34022 sed 's/^/| /' conftest.$ac_ext >&5
34025 { echo "$as_me:$LINENO: result: no" >&5
34026 echo "${ECHO_T}no" >&6; }
34027 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34028 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34029 { (exit 1); exit 1; }; }
34034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34036 CFLAGS=$save_CFLAGS
34040 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34041 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34044 for ac_dir in $SEARCH_LIB;
34046 for ac_extension in a so sl dylib dll.a; do
34047 if test -f "$ac_dir/libXm.$ac_extension"; then
34048 ac_find_libraries=$ac_dir
34055 if test "x$ac_find_libraries" != "x" ; then
34056 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34057 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34060 if test "$ac_find_libraries" = "default location"; then
34063 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34065 if test $result = 0; then
34068 ac_path_to_link=" -L$ac_find_libraries"
34072 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34074 save_CFLAGS=$CFLAGS
34075 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34077 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34079 cat >conftest.$ac_ext <<_ACEOF
34082 cat confdefs.h >>conftest.$ac_ext
34083 cat >>conftest.$ac_ext <<_ACEOF
34084 /* end confdefs.h. */
34093 version = xmUseVersion;
34099 rm -f conftest.$ac_objext conftest$ac_exeext
34100 if { (ac_try="$ac_link"
34101 case "(($ac_try" in
34102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34103 *) ac_try_echo=$ac_try;;
34105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34106 (eval "$ac_link") 2>conftest.er1
34108 grep -v '^ *+' conftest.er1 >conftest.err
34110 cat conftest.err >&5
34111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34112 (exit $ac_status); } && {
34113 test -z "$ac_c_werror_flag" ||
34114 test ! -s conftest.err
34115 } && test -s conftest$ac_exeext &&
34116 $as_test_x conftest$ac_exeext; then
34118 { echo "$as_me:$LINENO: result: found in default search path" >&5
34119 echo "${ECHO_T}found in default search path" >&6; }
34120 COMPILED_X_PROGRAM=1
34123 echo "$as_me: failed program was:" >&5
34124 sed 's/^/| /' conftest.$ac_ext >&5
34127 { echo "$as_me:$LINENO: result: no" >&5
34128 echo "${ECHO_T}no" >&6; }
34129 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34130 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34131 { (exit 1); exit 1; }; }
34136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34137 conftest$ac_exeext conftest.$ac_ext
34139 CFLAGS=$save_CFLAGS
34143 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34144 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34148 for libp in "" " -lXp"; do
34149 if test "$libs_found" = "0"; then
34150 for libsm_ice in "" " -lSM -lICE"; do
34151 if test "$libs_found" = "0"; then
34153 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34154 save_CFLAGS=$CFLAGS
34155 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34157 cat >conftest.$ac_ext <<_ACEOF
34160 cat confdefs.h >>conftest.$ac_ext
34161 cat >>conftest.$ac_ext <<_ACEOF
34162 /* end confdefs.h. */
34165 #include <Xm/List.h>
34171 XmString string = NULL;
34174 XmListAddItem(w, string, position);
34180 rm -f conftest.$ac_objext conftest$ac_exeext
34181 if { (ac_try="$ac_link"
34182 case "(($ac_try" in
34183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34184 *) ac_try_echo=$ac_try;;
34186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34187 (eval "$ac_link") 2>conftest.er1
34189 grep -v '^ *+' conftest.er1 >conftest.err
34191 cat conftest.err >&5
34192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34193 (exit $ac_status); } && {
34194 test -z "$ac_c_werror_flag" ||
34195 test ! -s conftest.err
34196 } && test -s conftest$ac_exeext &&
34197 $as_test_x conftest$ac_exeext; then
34200 libsm_ice_link="$libsm_ice"
34201 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34202 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34206 echo "$as_me: failed program was:" >&5
34207 sed 's/^/| /' conftest.$ac_ext >&5
34213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34214 conftest$ac_exeext conftest.$ac_ext
34217 CFLAGS=$save_CFLAGS
34223 if test "$libs_found" = "0"; then
34224 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34225 echo "${ECHO_T}can't find the right libraries" >&6; }
34226 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34227 echo "$as_me: error: can't link a simple motif program" >&2;}
34228 { (exit 1); exit 1; }; }
34231 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34232 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34233 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34234 echo $ECHO_N "(cached) $ECHO_C" >&6
34236 ac_check_lib_save_LIBS=$LIBS
34238 cat >conftest.$ac_ext <<_ACEOF
34241 cat confdefs.h >>conftest.$ac_ext
34242 cat >>conftest.$ac_ext <<_ACEOF
34243 /* end confdefs.h. */
34245 /* Override any GCC internal prototype to avoid an error.
34246 Use char because int might match the return type of a GCC
34247 builtin and then its argument prototype would still apply. */
34251 char SgCreateList ();
34255 return SgCreateList ();
34260 rm -f conftest.$ac_objext conftest$ac_exeext
34261 if { (ac_try="$ac_link"
34262 case "(($ac_try" in
34263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34264 *) ac_try_echo=$ac_try;;
34266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34267 (eval "$ac_link") 2>conftest.er1
34269 grep -v '^ *+' conftest.er1 >conftest.err
34271 cat conftest.err >&5
34272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34273 (exit $ac_status); } && {
34274 test -z "$ac_c_werror_flag" ||
34275 test ! -s conftest.err
34276 } && test -s conftest$ac_exeext &&
34277 $as_test_x conftest$ac_exeext; then
34278 ac_cv_lib_Sgm_SgCreateList=yes
34280 echo "$as_me: failed program was:" >&5
34281 sed 's/^/| /' conftest.$ac_ext >&5
34283 ac_cv_lib_Sgm_SgCreateList=no
34286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34287 conftest$ac_exeext conftest.$ac_ext
34288 LIBS=$ac_check_lib_save_LIBS
34290 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34291 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34292 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34293 libsgm_link=" -lSgm"
34297 save_CFLAGS=$CFLAGS
34298 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34300 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34301 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34302 if test "${wx_cv_lib_motif2+set}" = set; then
34303 echo $ECHO_N "(cached) $ECHO_C" >&6
34305 cat >conftest.$ac_ext <<_ACEOF
34308 cat confdefs.h >>conftest.$ac_ext
34309 cat >>conftest.$ac_ext <<_ACEOF
34310 /* end confdefs.h. */
34318 #if XmVersion < 2000
34326 rm -f conftest.$ac_objext
34327 if { (ac_try="$ac_compile"
34328 case "(($ac_try" in
34329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34330 *) ac_try_echo=$ac_try;;
34332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34333 (eval "$ac_compile") 2>conftest.er1
34335 grep -v '^ *+' conftest.er1 >conftest.err
34337 cat conftest.err >&5
34338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34339 (exit $ac_status); } && {
34340 test -z "$ac_c_werror_flag" ||
34341 test ! -s conftest.err
34342 } && test -s conftest.$ac_objext; then
34343 wx_cv_lib_motif2="yes"
34345 echo "$as_me: failed program was:" >&5
34346 sed 's/^/| /' conftest.$ac_ext >&5
34348 wx_cv_lib_motif2="no"
34351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34353 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34354 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34355 if test "$wx_cv_lib_motif2" = "yes"; then
34356 cat >>confdefs.h <<\_ACEOF
34357 #define __WXMOTIF20__ 1
34361 cat >>confdefs.h <<\_ACEOF
34362 #define __WXMOTIF20__ 0
34367 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34368 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34369 if test "${wx_cv_lib_lesstif+set}" = set; then
34370 echo $ECHO_N "(cached) $ECHO_C" >&6
34372 cat >conftest.$ac_ext <<_ACEOF
34375 cat confdefs.h >>conftest.$ac_ext
34376 cat >>conftest.$ac_ext <<_ACEOF
34377 /* end confdefs.h. */
34385 #if !defined(LesstifVersion) || LesstifVersion <= 0
34393 rm -f conftest.$ac_objext
34394 if { (ac_try="$ac_compile"
34395 case "(($ac_try" in
34396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34397 *) ac_try_echo=$ac_try;;
34399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34400 (eval "$ac_compile") 2>conftest.er1
34402 grep -v '^ *+' conftest.er1 >conftest.err
34404 cat conftest.err >&5
34405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34406 (exit $ac_status); } && {
34407 test -z "$ac_c_werror_flag" ||
34408 test ! -s conftest.err
34409 } && test -s conftest.$ac_objext; then
34410 wx_cv_lib_lesstif="yes"
34412 echo "$as_me: failed program was:" >&5
34413 sed 's/^/| /' conftest.$ac_ext >&5
34415 wx_cv_lib_lesstif="no"
34418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34421 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34422 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34423 if test "$wx_cv_lib_lesstif" = "yes"; then
34424 cat >>confdefs.h <<\_ACEOF
34425 #define __WXLESSTIF__ 1
34429 cat >>confdefs.h <<\_ACEOF
34430 #define __WXLESSTIF__ 0
34435 CFLAGS=$save_CFLAGS
34437 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34442 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34443 if test "$wxUSE_LIBXPM" = "sys"; then
34444 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34445 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34448 for ac_dir in $SEARCH_LIB;
34450 for ac_extension in a so sl dylib dll.a; do
34451 if test -f "$ac_dir/libXpm.$ac_extension"; then
34452 ac_find_libraries=$ac_dir
34458 if test "$ac_find_libraries" != "" ; then
34460 if test "$ac_find_libraries" = "default location"; then
34463 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34465 if test $result = 0; then
34468 ac_path_to_link=" -L$ac_find_libraries"
34472 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34473 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34474 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34476 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34477 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34478 if test "${wx_cv_x11_xpm_h+set}" = set; then
34479 echo $ECHO_N "(cached) $ECHO_C" >&6
34482 save_CFLAGS=$CFLAGS
34483 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34485 cat >conftest.$ac_ext <<_ACEOF
34488 cat confdefs.h >>conftest.$ac_ext
34489 cat >>conftest.$ac_ext <<_ACEOF
34490 /* end confdefs.h. */
34492 #include <X11/xpm.h>
34499 version = XpmLibraryVersion();
34505 rm -f conftest.$ac_objext
34506 if { (ac_try="$ac_compile"
34507 case "(($ac_try" in
34508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34509 *) ac_try_echo=$ac_try;;
34511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34512 (eval "$ac_compile") 2>conftest.er1
34514 grep -v '^ *+' conftest.er1 >conftest.err
34516 cat conftest.err >&5
34517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34518 (exit $ac_status); } && {
34519 test -z "$ac_c_werror_flag" ||
34520 test ! -s conftest.err
34521 } && test -s conftest.$ac_objext; then
34522 wx_cv_x11_xpm_h=yes
34524 echo "$as_me: failed program was:" >&5
34525 sed 's/^/| /' conftest.$ac_ext >&5
34531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34533 CFLAGS=$save_CFLAGS
34537 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34538 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34540 if test $wx_cv_x11_xpm_h = "yes"; then
34541 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34542 cat >>confdefs.h <<\_ACEOF
34543 #define wxHAVE_LIB_XPM 1
34547 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34548 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34554 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34555 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34556 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34557 echo $ECHO_N "(cached) $ECHO_C" >&6
34559 ac_check_lib_save_LIBS=$LIBS
34560 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34561 cat >conftest.$ac_ext <<_ACEOF
34564 cat confdefs.h >>conftest.$ac_ext
34565 cat >>conftest.$ac_ext <<_ACEOF
34566 /* end confdefs.h. */
34568 /* Override any GCC internal prototype to avoid an error.
34569 Use char because int might match the return type of a GCC
34570 builtin and then its argument prototype would still apply. */
34574 char XShapeQueryExtension ();
34578 return XShapeQueryExtension ();
34583 rm -f conftest.$ac_objext conftest$ac_exeext
34584 if { (ac_try="$ac_link"
34585 case "(($ac_try" in
34586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34587 *) ac_try_echo=$ac_try;;
34589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34590 (eval "$ac_link") 2>conftest.er1
34592 grep -v '^ *+' conftest.er1 >conftest.err
34594 cat conftest.err >&5
34595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34596 (exit $ac_status); } && {
34597 test -z "$ac_c_werror_flag" ||
34598 test ! -s conftest.err
34599 } && test -s conftest$ac_exeext &&
34600 $as_test_x conftest$ac_exeext; then
34601 ac_cv_lib_Xext_XShapeQueryExtension=yes
34603 echo "$as_me: failed program was:" >&5
34604 sed 's/^/| /' conftest.$ac_ext >&5
34606 ac_cv_lib_Xext_XShapeQueryExtension=no
34609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34610 conftest$ac_exeext conftest.$ac_ext
34611 LIBS=$ac_check_lib_save_LIBS
34613 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34614 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34615 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34617 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34623 if test "$wxHAVE_XEXT_LIB" = 1; then
34624 save_CFLAGS="$CFLAGS"
34625 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34627 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34628 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34629 cat >conftest.$ac_ext <<_ACEOF
34632 cat confdefs.h >>conftest.$ac_ext
34633 cat >>conftest.$ac_ext <<_ACEOF
34634 /* end confdefs.h. */
34636 #include <X11/Xlib.h>
34637 #include <X11/extensions/shape.h>
34643 int dummy1, dummy2;
34644 XShapeQueryExtension((Display*)NULL,
34645 (int*)NULL, (int*)NULL);
34651 rm -f conftest.$ac_objext
34652 if { (ac_try="$ac_compile"
34653 case "(($ac_try" in
34654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34655 *) ac_try_echo=$ac_try;;
34657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34658 (eval "$ac_compile") 2>conftest.er1
34660 grep -v '^ *+' conftest.er1 >conftest.err
34662 cat conftest.err >&5
34663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34664 (exit $ac_status); } && {
34665 test -z "$ac_c_werror_flag" ||
34666 test ! -s conftest.err
34667 } && test -s conftest.$ac_objext; then
34669 cat >>confdefs.h <<\_ACEOF
34670 #define HAVE_XSHAPE 1
34673 { echo "$as_me:$LINENO: result: found" >&5
34674 echo "${ECHO_T}found" >&6; }
34677 echo "$as_me: failed program was:" >&5
34678 sed 's/^/| /' conftest.$ac_ext >&5
34681 { echo "$as_me:$LINENO: result: not found" >&5
34682 echo "${ECHO_T}not found" >&6; }
34686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34687 CFLAGS="$save_CFLAGS"
34692 if test "$wxUSE_MAC" = 1; then
34693 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34694 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34695 if test "$GCC" = yes; then
34696 { echo "$as_me:$LINENO: result: gcc" >&5
34697 echo "${ECHO_T}gcc" >&6; }
34698 CPPFLAGS_PASCAL="-fpascal-strings"
34699 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34700 { echo "$as_me:$LINENO: result: xlc" >&5
34701 echo "${ECHO_T}xlc" >&6; }
34702 CPPFLAGS_PASCAL="-qmacpstr"
34704 { echo "$as_me:$LINENO: result: none" >&5
34705 echo "${ECHO_T}none" >&6; }
34708 if test "x$wxUSE_UNIX" = "xyes"; then
34709 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34711 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34716 WXBASEPORT="_carbon"
34719 if test "$wxUSE_COCOA" = 1; then
34724 if test "$wxUSE_PM" = 1; then
34727 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34728 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34729 if test "${wx_cv_spbcdata+set}" = set; then
34730 echo $ECHO_N "(cached) $ECHO_C" >&6
34733 cat >conftest.$ac_ext <<_ACEOF
34736 cat confdefs.h >>conftest.$ac_ext
34737 cat >>conftest.$ac_ext <<_ACEOF
34738 /* end confdefs.h. */
34753 rm -f conftest.$ac_objext
34754 if { (ac_try="$ac_compile"
34755 case "(($ac_try" in
34756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34757 *) ac_try_echo=$ac_try;;
34759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34760 (eval "$ac_compile") 2>conftest.er1
34762 grep -v '^ *+' conftest.er1 >conftest.err
34764 cat conftest.err >&5
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); } && {
34767 test -z "$ac_c_werror_flag" ||
34768 test ! -s conftest.err
34769 } && test -s conftest.$ac_objext; then
34772 echo "$as_me: failed program was:" >&5
34773 sed 's/^/| /' conftest.$ac_ext >&5
34779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34783 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34784 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34786 if test $wx_cv_spbcdata = "yes"; then
34787 cat >>confdefs.h <<\_ACEOF
34788 #define HAVE_SPBCDATA 1
34794 if test "$TOOLKIT" = "PM" ; then
34797 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34800 if test "$wxUSE_UNIVERSAL" = "yes"; then
34801 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34805 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34806 DISTDIR="wx\$(TOOLKIT)"
34812 if test "$USE_WIN32" = 1 ; then
34816 GUIDIST="BASE_DIST"
34822 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34823 if test "$TOOLKIT" = "DFB" ; then
34824 wxUSE_UNICODE_UTF8=yes
34825 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
34826 wxUSE_UNICODE_UTF8=yes
34827 elif test "$USE_OS2" = "1" ; then
34828 wxUSE_UNICODE_UTF8=yes
34830 wxUSE_UNICODE_UTF8=no
34835 if test "$wxUSE_GUI" = "yes"; then
34836 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34838 for ac_header in X11/Xlib.h
34840 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34841 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34843 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34844 echo $ECHO_N "(cached) $ECHO_C" >&6
34846 cat >conftest.$ac_ext <<_ACEOF
34849 cat confdefs.h >>conftest.$ac_ext
34850 cat >>conftest.$ac_ext <<_ACEOF
34851 /* end confdefs.h. */
34854 #include <$ac_header>
34856 rm -f conftest.$ac_objext
34857 if { (ac_try="$ac_compile"
34858 case "(($ac_try" in
34859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34860 *) ac_try_echo=$ac_try;;
34862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34863 (eval "$ac_compile") 2>conftest.er1
34865 grep -v '^ *+' conftest.er1 >conftest.err
34867 cat conftest.err >&5
34868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869 (exit $ac_status); } && {
34870 test -z "$ac_c_werror_flag" ||
34871 test ! -s conftest.err
34872 } && test -s conftest.$ac_objext; then
34873 eval "$as_ac_Header=yes"
34875 echo "$as_me: failed program was:" >&5
34876 sed 's/^/| /' conftest.$ac_ext >&5
34878 eval "$as_ac_Header=no"
34881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34883 ac_res=`eval echo '${'$as_ac_Header'}'`
34884 { echo "$as_me:$LINENO: result: $ac_res" >&5
34885 echo "${ECHO_T}$ac_res" >&6; }
34886 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34887 cat >>confdefs.h <<_ACEOF
34888 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34896 for ac_header in X11/XKBlib.h
34898 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34899 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34901 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34902 echo $ECHO_N "(cached) $ECHO_C" >&6
34904 cat >conftest.$ac_ext <<_ACEOF
34907 cat confdefs.h >>conftest.$ac_ext
34908 cat >>conftest.$ac_ext <<_ACEOF
34909 /* end confdefs.h. */
34911 #if HAVE_X11_XLIB_H
34912 #include <X11/Xlib.h>
34916 #include <$ac_header>
34918 rm -f conftest.$ac_objext
34919 if { (ac_try="$ac_compile"
34920 case "(($ac_try" in
34921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34922 *) ac_try_echo=$ac_try;;
34924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34925 (eval "$ac_compile") 2>conftest.er1
34927 grep -v '^ *+' conftest.er1 >conftest.err
34929 cat conftest.err >&5
34930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34931 (exit $ac_status); } && {
34932 test -z "$ac_c_werror_flag" ||
34933 test ! -s conftest.err
34934 } && test -s conftest.$ac_objext; then
34935 eval "$as_ac_Header=yes"
34937 echo "$as_me: failed program was:" >&5
34938 sed 's/^/| /' conftest.$ac_ext >&5
34940 eval "$as_ac_Header=no"
34943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34945 ac_res=`eval echo '${'$as_ac_Header'}'`
34946 { echo "$as_me:$LINENO: result: $ac_res" >&5
34947 echo "${ECHO_T}$ac_res" >&6; }
34948 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34949 cat >>confdefs.h <<_ACEOF
34950 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34965 if test "$TOOLKIT" != "MSW" ; then
34967 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
34969 { echo "$as_me:$LINENO: checking for sql.h" >&5
34970 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
34971 if test "${ac_cv_header_sql_h+set}" = set; then
34972 echo $ECHO_N "(cached) $ECHO_C" >&6
34974 cat >conftest.$ac_ext <<_ACEOF
34977 cat confdefs.h >>conftest.$ac_ext
34978 cat >>conftest.$ac_ext <<_ACEOF
34979 /* end confdefs.h. */
34984 rm -f conftest.$ac_objext
34985 if { (ac_try="$ac_compile"
34986 case "(($ac_try" in
34987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34988 *) ac_try_echo=$ac_try;;
34990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34991 (eval "$ac_compile") 2>conftest.er1
34993 grep -v '^ *+' conftest.er1 >conftest.err
34995 cat conftest.err >&5
34996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997 (exit $ac_status); } && {
34998 test -z "$ac_c_werror_flag" ||
34999 test ! -s conftest.err
35000 } && test -s conftest.$ac_objext; then
35001 ac_cv_header_sql_h=yes
35003 echo "$as_me: failed program was:" >&5
35004 sed 's/^/| /' conftest.$ac_ext >&5
35006 ac_cv_header_sql_h=no
35009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35011 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35012 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35013 if test $ac_cv_header_sql_h = yes; then
35018 if test "x$found_sql_h" = "x1" ; then
35019 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35020 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35021 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35022 echo $ECHO_N "(cached) $ECHO_C" >&6
35024 ac_check_lib_save_LIBS=$LIBS
35025 LIBS="-liodbc $LIBS"
35026 cat >conftest.$ac_ext <<_ACEOF
35029 cat confdefs.h >>conftest.$ac_ext
35030 cat >>conftest.$ac_ext <<_ACEOF
35031 /* end confdefs.h. */
35033 /* Override any GCC internal prototype to avoid an error.
35034 Use char because int might match the return type of a GCC
35035 builtin and then its argument prototype would still apply. */
35039 char SQLAllocEnv ();
35043 return SQLAllocEnv ();
35048 rm -f conftest.$ac_objext conftest$ac_exeext
35049 if { (ac_try="$ac_link"
35050 case "(($ac_try" in
35051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35052 *) ac_try_echo=$ac_try;;
35054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35055 (eval "$ac_link") 2>conftest.er1
35057 grep -v '^ *+' conftest.er1 >conftest.err
35059 cat conftest.err >&5
35060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35061 (exit $ac_status); } && {
35062 test -z "$ac_c_werror_flag" ||
35063 test ! -s conftest.err
35064 } && test -s conftest$ac_exeext &&
35065 $as_test_x conftest$ac_exeext; then
35066 ac_cv_lib_iodbc_SQLAllocEnv=yes
35068 echo "$as_me: failed program was:" >&5
35069 sed 's/^/| /' conftest.$ac_ext >&5
35071 ac_cv_lib_iodbc_SQLAllocEnv=no
35074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35075 conftest$ac_exeext conftest.$ac_ext
35076 LIBS=$ac_check_lib_save_LIBS
35078 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35079 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35080 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35081 ODBC_LINK=" -liodbc"
35084 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35085 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35086 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35087 echo $ECHO_N "(cached) $ECHO_C" >&6
35089 ac_check_lib_save_LIBS=$LIBS
35090 LIBS="-lunixodbc $LIBS"
35091 cat >conftest.$ac_ext <<_ACEOF
35094 cat confdefs.h >>conftest.$ac_ext
35095 cat >>conftest.$ac_ext <<_ACEOF
35096 /* end confdefs.h. */
35098 /* Override any GCC internal prototype to avoid an error.
35099 Use char because int might match the return type of a GCC
35100 builtin and then its argument prototype would still apply. */
35104 char SQLAllocEnv ();
35108 return SQLAllocEnv ();
35113 rm -f conftest.$ac_objext conftest$ac_exeext
35114 if { (ac_try="$ac_link"
35115 case "(($ac_try" in
35116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35117 *) ac_try_echo=$ac_try;;
35119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35120 (eval "$ac_link") 2>conftest.er1
35122 grep -v '^ *+' conftest.er1 >conftest.err
35124 cat conftest.err >&5
35125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35126 (exit $ac_status); } && {
35127 test -z "$ac_c_werror_flag" ||
35128 test ! -s conftest.err
35129 } && test -s conftest$ac_exeext &&
35130 $as_test_x conftest$ac_exeext; then
35131 ac_cv_lib_unixodbc_SQLAllocEnv=yes
35133 echo "$as_me: failed program was:" >&5
35134 sed 's/^/| /' conftest.$ac_ext >&5
35136 ac_cv_lib_unixodbc_SQLAllocEnv=no
35139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35140 conftest$ac_exeext conftest.$ac_ext
35141 LIBS=$ac_check_lib_save_LIBS
35143 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35144 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35145 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35146 ODBC_LINK=" -lunixodbc"
35149 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35150 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35151 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35152 echo $ECHO_N "(cached) $ECHO_C" >&6
35154 ac_check_lib_save_LIBS=$LIBS
35155 LIBS="-lodbc $LIBS"
35156 cat >conftest.$ac_ext <<_ACEOF
35159 cat confdefs.h >>conftest.$ac_ext
35160 cat >>conftest.$ac_ext <<_ACEOF
35161 /* end confdefs.h. */
35163 /* Override any GCC internal prototype to avoid an error.
35164 Use char because int might match the return type of a GCC
35165 builtin and then its argument prototype would still apply. */
35169 char SQLAllocEnv ();
35173 return SQLAllocEnv ();
35178 rm -f conftest.$ac_objext conftest$ac_exeext
35179 if { (ac_try="$ac_link"
35180 case "(($ac_try" in
35181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35182 *) ac_try_echo=$ac_try;;
35184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35185 (eval "$ac_link") 2>conftest.er1
35187 grep -v '^ *+' conftest.er1 >conftest.err
35189 cat conftest.err >&5
35190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35191 (exit $ac_status); } && {
35192 test -z "$ac_c_werror_flag" ||
35193 test ! -s conftest.err
35194 } && test -s conftest$ac_exeext &&
35195 $as_test_x conftest$ac_exeext; then
35196 ac_cv_lib_odbc_SQLAllocEnv=yes
35198 echo "$as_me: failed program was:" >&5
35199 sed 's/^/| /' conftest.$ac_ext >&5
35201 ac_cv_lib_odbc_SQLAllocEnv=no
35204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35205 conftest$ac_exeext conftest.$ac_ext
35206 LIBS=$ac_check_lib_save_LIBS
35208 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35209 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35210 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35211 ODBC_LINK=" -lodbc"
35221 if test "x$ODBC_LINK" = "x" ; then
35222 if test "$wxUSE_ODBC" = "sys" ; then
35223 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35224 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35225 { (exit 1); exit 1; }; }
35227 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35228 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35236 if test "$wxUSE_ODBC" = "builtin" ; then
35237 cat >>confdefs.h <<\_ACEOF
35238 #define wxUSE_BUILTIN_IODBC 1
35244 if test "$wxUSE_ODBC" != "no" ; then
35245 cat >>confdefs.h <<\_ACEOF
35246 #define wxUSE_ODBC 1
35249 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35251 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35255 if test "$wxUSE_DISPLAY" = "yes"; then
35256 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35257 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35258 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35261 for ac_dir in $SEARCH_LIB;
35263 for ac_extension in a so sl dylib dll.a; do
35264 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35265 ac_find_libraries=$ac_dir
35271 if test "$ac_find_libraries" != "" ; then
35273 if test "$ac_find_libraries" = "default location"; then
35276 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35278 if test $result = 0; then
35281 ac_path_to_link=" -L$ac_find_libraries"
35285 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35286 LDFLAGS="$LDFLAGS $ac_path_to_link"
35288 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35289 { echo "$as_me:$LINENO: result: yes" >&5
35290 echo "${ECHO_T}yes" >&6; }
35292 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35293 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35296 for ac_dir in $SEARCH_LIB;
35298 for ac_extension in a so sl dylib dll.a; do
35299 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35300 ac_find_libraries=$ac_dir
35306 if test "$ac_find_libraries" != "" ; then
35307 { echo "$as_me:$LINENO: result: yes" >&5
35308 echo "${ECHO_T}yes" >&6; }
35310 for ac_header in X11/extensions/xf86vmode.h
35312 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35313 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35315 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35316 echo $ECHO_N "(cached) $ECHO_C" >&6
35318 cat >conftest.$ac_ext <<_ACEOF
35321 cat confdefs.h >>conftest.$ac_ext
35322 cat >>conftest.$ac_ext <<_ACEOF
35323 /* end confdefs.h. */
35325 #if HAVE_X11_XLIB_H
35326 #include <X11/Xlib.h>
35330 #include <$ac_header>
35332 rm -f conftest.$ac_objext
35333 if { (ac_try="$ac_compile"
35334 case "(($ac_try" in
35335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35336 *) ac_try_echo=$ac_try;;
35338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35339 (eval "$ac_compile") 2>conftest.er1
35341 grep -v '^ *+' conftest.er1 >conftest.err
35343 cat conftest.err >&5
35344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35345 (exit $ac_status); } && {
35346 test -z "$ac_c_werror_flag" ||
35347 test ! -s conftest.err
35348 } && test -s conftest.$ac_objext; then
35349 eval "$as_ac_Header=yes"
35351 echo "$as_me: failed program was:" >&5
35352 sed 's/^/| /' conftest.$ac_ext >&5
35354 eval "$as_ac_Header=no"
35357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35359 ac_res=`eval echo '${'$as_ac_Header'}'`
35360 { echo "$as_me:$LINENO: result: $ac_res" >&5
35361 echo "${ECHO_T}$ac_res" >&6; }
35362 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35363 cat >>confdefs.h <<_ACEOF
35364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35367 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35374 { echo "$as_me:$LINENO: result: no" >&5
35375 echo "${ECHO_T}no" >&6; }
35379 { echo "$as_me:$LINENO: result: no" >&5
35380 echo "${ECHO_T}no" >&6; }
35381 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35382 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35385 elif test "$wxUSE_MSW" = 1; then
35386 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35387 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35388 if test "${ac_cv_header_ddraw_h+set}" = set; then
35389 echo $ECHO_N "(cached) $ECHO_C" >&6
35391 cat >conftest.$ac_ext <<_ACEOF
35394 cat confdefs.h >>conftest.$ac_ext
35395 cat >>conftest.$ac_ext <<_ACEOF
35396 /* end confdefs.h. */
35397 #include <windows.h>
35401 rm -f conftest.$ac_objext
35402 if { (ac_try="$ac_compile"
35403 case "(($ac_try" in
35404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35405 *) ac_try_echo=$ac_try;;
35407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35408 (eval "$ac_compile") 2>conftest.er1
35410 grep -v '^ *+' conftest.er1 >conftest.err
35412 cat conftest.err >&5
35413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35414 (exit $ac_status); } && {
35415 test -z "$ac_c_werror_flag" ||
35416 test ! -s conftest.err
35417 } && test -s conftest.$ac_objext; then
35418 ac_cv_header_ddraw_h=yes
35420 echo "$as_me: failed program was:" >&5
35421 sed 's/^/| /' conftest.$ac_ext >&5
35423 ac_cv_header_ddraw_h=no
35426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35428 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35429 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35435 if test "$wxUSE_DETECT_SM" = "yes"; then
35436 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35437 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35438 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35441 for ac_dir in $SEARCH_LIB;
35443 for ac_extension in a so sl dylib dll.a; do
35444 if test -f "$ac_dir/libSM.$ac_extension"; then
35445 ac_find_libraries=$ac_dir
35451 if test "$ac_find_libraries" != "" ; then
35453 if test "$ac_find_libraries" = "default location"; then
35456 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35458 if test $result = 0; then
35461 ac_path_to_link=" -L$ac_find_libraries"
35465 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35466 LDFLAGS="$LDFLAGS $ac_path_to_link"
35468 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35469 { echo "$as_me:$LINENO: result: yes" >&5
35470 echo "${ECHO_T}yes" >&6; }
35472 { echo "$as_me:$LINENO: result: no" >&5
35473 echo "${ECHO_T}no" >&6; }
35474 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35475 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35476 wxUSE_DETECT_SM="no"
35479 wxUSE_DETECT_SM="no"
35486 if test "$wxUSE_OPENGL" = "yes"; then
35487 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35488 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35489 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35491 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35492 OPENGL_LIBS="-framework OpenGL -framework AGL"
35493 elif test "$wxUSE_MSW" = 1; then
35494 OPENGL_LIBS="-lopengl32 -lglu32"
35496 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35497 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35500 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35502 if test -f "$ac_dir/GL/gl.h"; then
35503 ac_find_includes=$ac_dir
35508 if test "$ac_find_includes" != "" ; then
35509 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35510 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35512 if test "x$ac_find_includes" = "x/usr/include"; then
35513 ac_path_to_include=""
35515 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35517 if test $result = 0; then
35518 ac_path_to_include=""
35520 ac_path_to_include=" -I$ac_find_includes"
35524 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35526 { echo "$as_me:$LINENO: result: not found" >&5
35527 echo "${ECHO_T}not found" >&6; }
35530 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35531 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35532 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35533 echo $ECHO_N "(cached) $ECHO_C" >&6
35535 cat >conftest.$ac_ext <<_ACEOF
35538 cat confdefs.h >>conftest.$ac_ext
35539 cat >>conftest.$ac_ext <<_ACEOF
35540 /* end confdefs.h. */
35545 rm -f conftest.$ac_objext
35546 if { (ac_try="$ac_compile"
35547 case "(($ac_try" in
35548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35549 *) ac_try_echo=$ac_try;;
35551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35552 (eval "$ac_compile") 2>conftest.er1
35554 grep -v '^ *+' conftest.er1 >conftest.err
35556 cat conftest.err >&5
35557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35558 (exit $ac_status); } && {
35559 test -z "$ac_c_werror_flag" ||
35560 test ! -s conftest.err
35561 } && test -s conftest.$ac_objext; then
35562 ac_cv_header_GL_gl_h=yes
35564 echo "$as_me: failed program was:" >&5
35565 sed 's/^/| /' conftest.$ac_ext >&5
35567 ac_cv_header_GL_gl_h=no
35570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35572 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35573 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35574 if test $ac_cv_header_GL_gl_h = yes; then
35576 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35577 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35578 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35579 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35580 echo $ECHO_N "(cached) $ECHO_C" >&6
35582 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35583 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35585 # Is the header compilable?
35586 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35587 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35588 cat >conftest.$ac_ext <<_ACEOF
35591 cat confdefs.h >>conftest.$ac_ext
35592 cat >>conftest.$ac_ext <<_ACEOF
35593 /* end confdefs.h. */
35594 $ac_includes_default
35595 #include <GL/glu.h>
35597 rm -f conftest.$ac_objext
35598 if { (ac_try="$ac_compile"
35599 case "(($ac_try" in
35600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35601 *) ac_try_echo=$ac_try;;
35603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35604 (eval "$ac_compile") 2>conftest.er1
35606 grep -v '^ *+' conftest.er1 >conftest.err
35608 cat conftest.err >&5
35609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35610 (exit $ac_status); } && {
35611 test -z "$ac_c_werror_flag" ||
35612 test ! -s conftest.err
35613 } && test -s conftest.$ac_objext; then
35614 ac_header_compiler=yes
35616 echo "$as_me: failed program was:" >&5
35617 sed 's/^/| /' conftest.$ac_ext >&5
35619 ac_header_compiler=no
35622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35623 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35624 echo "${ECHO_T}$ac_header_compiler" >&6; }
35626 # Is the header present?
35627 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35628 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35629 cat >conftest.$ac_ext <<_ACEOF
35632 cat confdefs.h >>conftest.$ac_ext
35633 cat >>conftest.$ac_ext <<_ACEOF
35634 /* end confdefs.h. */
35635 #include <GL/glu.h>
35637 if { (ac_try="$ac_cpp conftest.$ac_ext"
35638 case "(($ac_try" in
35639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35640 *) ac_try_echo=$ac_try;;
35642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35643 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35645 grep -v '^ *+' conftest.er1 >conftest.err
35647 cat conftest.err >&5
35648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35649 (exit $ac_status); } >/dev/null && {
35650 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35651 test ! -s conftest.err
35653 ac_header_preproc=yes
35655 echo "$as_me: failed program was:" >&5
35656 sed 's/^/| /' conftest.$ac_ext >&5
35658 ac_header_preproc=no
35661 rm -f conftest.err conftest.$ac_ext
35662 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35663 echo "${ECHO_T}$ac_header_preproc" >&6; }
35665 # So? What about this header?
35666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35668 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35669 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35670 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35671 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35672 ac_header_preproc=yes
35675 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35676 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35677 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35678 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35679 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35680 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35681 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35682 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35683 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35684 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35685 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35686 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35688 ## ----------------------------------------- ##
35689 ## Report this to wx-dev@lists.wxwidgets.org ##
35690 ## ----------------------------------------- ##
35692 ) | sed "s/^/$as_me: WARNING: /" >&2
35695 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35696 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35697 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35698 echo $ECHO_N "(cached) $ECHO_C" >&6
35700 ac_cv_header_GL_glu_h=$ac_header_preproc
35702 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35703 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35706 if test $ac_cv_header_GL_glu_h = yes; then
35710 { echo "$as_me:$LINENO: checking for -lGL" >&5
35711 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35714 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35716 for ac_extension in a so sl dylib dll.a; do
35717 if test -f "$ac_dir/libGL.$ac_extension"; then
35718 ac_find_libraries=$ac_dir
35724 if test "$ac_find_libraries" != "" ; then
35725 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35726 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35729 if test "$ac_find_libraries" = "default location"; then
35732 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35734 if test $result = 0; then
35737 ac_path_to_link=" -L$ac_find_libraries"
35741 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35742 LDFLAGS_GL="$ac_path_to_link"
35745 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35746 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35749 for ac_dir in $SEARCH_LIB;
35751 for ac_extension in a so sl dylib dll.a; do
35752 if test -f "$ac_dir/libGLU.$ac_extension"; then
35753 ac_find_libraries=$ac_dir
35759 if test "$ac_find_libraries" != "" ; then
35761 if test "$ac_find_libraries" = "default location"; then
35764 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35766 if test $result = 0; then
35769 ac_path_to_link=" -L$ac_find_libraries"
35773 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35774 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35775 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35779 OPENGL_LIBS="-lGL -lGLU"
35780 { echo "$as_me:$LINENO: result: yes" >&5
35781 echo "${ECHO_T}yes" >&6; }
35783 { echo "$as_me:$LINENO: result: no" >&5
35784 echo "${ECHO_T}no" >&6; }
35787 { echo "$as_me:$LINENO: result: no" >&5
35788 echo "${ECHO_T}no" >&6; }
35791 if test "$found_gl" != 1; then
35792 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35793 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35796 for ac_dir in $SEARCH_LIB;
35798 for ac_extension in a so sl dylib dll.a; do
35799 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35800 ac_find_libraries=$ac_dir
35806 if test "$ac_find_libraries" != "" ; then
35808 if test "$ac_find_libraries" = "default location"; then
35811 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35813 if test $result = 0; then
35816 ac_path_to_link=" -L$ac_find_libraries"
35820 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35821 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35822 { echo "$as_me:$LINENO: result: yes" >&5
35823 echo "${ECHO_T}yes" >&6; }
35825 { echo "$as_me:$LINENO: result: no" >&5
35826 echo "${ECHO_T}no" >&6; }
35838 if test "x$OPENGL_LIBS" = "x"; then
35839 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35840 echo "$as_me: error: OpenGL libraries not available" >&2;}
35841 { (exit 1); exit 1; }; }
35845 if test "$wxUSE_OPENGL" = "yes"; then
35847 cat >>confdefs.h <<\_ACEOF
35848 #define wxUSE_OPENGL 1
35851 cat >>confdefs.h <<\_ACEOF
35852 #define wxUSE_GLCANVAS 1
35855 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35860 if test -n "$TOOLKIT" ; then
35861 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35866 if test "$wxUSE_SHARED" = "yes"; then
35870 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35871 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35876 if test "$wxUSE_SHARED" = "yes"; then
35880 *-*-cygwin* | *-*-mingw* )
35881 wx_cv_version_script=no
35885 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35886 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35887 if test "${wx_cv_version_script+set}" = set; then
35888 echo $ECHO_N "(cached) $ECHO_C" >&6
35891 echo "VER_1 { *; };" >conftest.sym
35892 echo "int main() { return 0; }" >conftest.cpp
35895 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35896 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35898 (eval $ac_try) 2>&5
35900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35901 (exit $ac_status); }; } ; then
35902 if test -s conftest.stderr ; then
35903 wx_cv_version_script=no
35905 wx_cv_version_script=yes
35908 wx_cv_version_script=no
35911 if test $wx_cv_version_script = yes
35913 echo "struct B { virtual ~B() { } }; \
35914 struct D : public B { }; \
35915 void F() { D d; }" > conftest.cpp
35918 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35919 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35921 (eval $ac_try) 2>&5
35923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35924 (exit $ac_status); }; } &&
35926 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35927 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35929 (eval $ac_try) 2>&5
35931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35932 (exit $ac_status); }; }
35935 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35936 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35938 (eval $ac_try) 2>&5
35940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35941 (exit $ac_status); }; }
35943 wx_cv_version_script=yes
35945 wx_cv_version_script=no
35950 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35951 rm -f conftest1.output conftest2.output conftest3.output
35954 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35955 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35957 if test $wx_cv_version_script = yes ; then
35958 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35964 if test "$wxUSE_VISIBILITY" != "no"; then
35967 if test -n "$GCC"; then
35968 CFLAGS_VISIBILITY="-fvisibility=hidden"
35969 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35970 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35971 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35972 if test "${wx_cv_cc_visibility+set}" = set; then
35973 echo $ECHO_N "(cached) $ECHO_C" >&6
35976 wx_save_CXXFLAGS="$CXXFLAGS"
35977 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35979 ac_cpp='$CXXCPP $CPPFLAGS'
35980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35984 cat >conftest.$ac_ext <<_ACEOF
35987 cat confdefs.h >>conftest.$ac_ext
35988 cat >>conftest.$ac_ext <<_ACEOF
35989 /* end confdefs.h. */
35991 /* we need gcc >= 4.0, older versions with visibility support
35992 didn't have class visibility: */
35993 #if defined(__GNUC__) && __GNUC__ < 4
35994 error this gcc is too old;
35997 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35998 extern __attribute__((__visibility__("default"))) int exportedvar;
35999 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36000 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36001 class __attribute__((__visibility__("default"))) Foo {
36013 rm -f conftest.$ac_objext
36014 if { (ac_try="$ac_compile"
36015 case "(($ac_try" in
36016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36017 *) ac_try_echo=$ac_try;;
36019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36020 (eval "$ac_compile") 2>conftest.er1
36022 grep -v '^ *+' conftest.er1 >conftest.err
36024 cat conftest.err >&5
36025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36026 (exit $ac_status); } && {
36027 test -z "$ac_cxx_werror_flag" ||
36028 test ! -s conftest.err
36029 } && test -s conftest.$ac_objext; then
36030 wx_cv_cc_visibility=yes
36032 echo "$as_me: failed program was:" >&5
36033 sed 's/^/| /' conftest.$ac_ext >&5
36035 wx_cv_cc_visibility=no
36038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36040 ac_cpp='$CPP $CPPFLAGS'
36041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36045 CXXFLAGS="$wx_save_CXXFLAGS"
36048 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36049 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36050 if test $wx_cv_cc_visibility = yes; then
36051 cat >>confdefs.h <<\_ACEOF
36052 #define HAVE_VISIBILITY 1
36056 CFLAGS_VISIBILITY=""
36057 CXXFLAGS_VISIBILITY=""
36065 if test "x$SUNCXX" = xyes; then
36066 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36067 WXCONFIG_RPATH="-R\$libdir"
36070 *-*-linux* | *-*-gnu* )
36071 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36072 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36077 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36079 saveLdflags="$LDFLAGS"
36080 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36081 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36082 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36083 cat >conftest.$ac_ext <<_ACEOF
36086 cat confdefs.h >>conftest.$ac_ext
36087 cat >>conftest.$ac_ext <<_ACEOF
36088 /* end confdefs.h. */
36098 rm -f conftest.$ac_objext conftest$ac_exeext
36099 if { (ac_try="$ac_link"
36100 case "(($ac_try" in
36101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36102 *) ac_try_echo=$ac_try;;
36104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36105 (eval "$ac_link") 2>conftest.er1
36107 grep -v '^ *+' conftest.er1 >conftest.err
36109 cat conftest.err >&5
36110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36111 (exit $ac_status); } && {
36112 test -z "$ac_c_werror_flag" ||
36113 test ! -s conftest.err
36114 } && test -s conftest$ac_exeext &&
36115 $as_test_x conftest$ac_exeext; then
36117 { echo "$as_me:$LINENO: result: yes" >&5
36118 echo "${ECHO_T}yes" >&6; }
36119 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36120 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36123 echo "$as_me: failed program was:" >&5
36124 sed 's/^/| /' conftest.$ac_ext >&5
36127 { echo "$as_me:$LINENO: result: no" >&5
36128 echo "${ECHO_T}no" >&6; }
36129 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36130 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36131 LDFLAGS="$saveLdflags -Wl,-R,/"
36132 cat >conftest.$ac_ext <<_ACEOF
36135 cat confdefs.h >>conftest.$ac_ext
36136 cat >>conftest.$ac_ext <<_ACEOF
36137 /* end confdefs.h. */
36147 rm -f conftest.$ac_objext conftest$ac_exeext
36148 if { (ac_try="$ac_link"
36149 case "(($ac_try" in
36150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36151 *) ac_try_echo=$ac_try;;
36153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36154 (eval "$ac_link") 2>conftest.er1
36156 grep -v '^ *+' conftest.er1 >conftest.err
36158 cat conftest.err >&5
36159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36160 (exit $ac_status); } && {
36161 test -z "$ac_c_werror_flag" ||
36162 test ! -s conftest.err
36163 } && test -s conftest$ac_exeext &&
36164 $as_test_x conftest$ac_exeext; then
36166 { echo "$as_me:$LINENO: result: yes" >&5
36167 echo "${ECHO_T}yes" >&6; }
36168 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36169 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36172 echo "$as_me: failed program was:" >&5
36173 sed 's/^/| /' conftest.$ac_ext >&5
36176 { echo "$as_me:$LINENO: result: no" >&5
36177 echo "${ECHO_T}no" >&6; }
36181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36182 conftest$ac_exeext conftest.$ac_ext
36186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36187 conftest$ac_exeext conftest.$ac_ext
36188 LDFLAGS="$saveLdflags"
36192 install_name_tool=`which install_name_tool`
36193 if test "$install_name_tool" -a -x "$install_name_tool"; then
36194 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36195 cat <<EOF >change-install-names
36197 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36198 inst_cmd="install_name_tool "
36199 for i in \${libnames} ; do
36200 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36204 chmod +x change-install-names
36208 *-*-cygwin* | *-*-mingw32* )
36209 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36213 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36214 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36220 if test $wxUSE_RPATH = "no"; then
36221 SAMPLES_RPATH_FLAG=''
36222 SAMPLES_RPATH_POSTLINK=''
36230 config_linkage_component="-static"
36237 lib_unicode_suffix=
36239 if test "$wxUSE_UNICODE" = "yes"; then
36240 lib_unicode_suffix=u
36241 WX_CHARTYPE="unicode"
36246 WX_DEBUGTYPE="release"
36248 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36250 WX_DEBUGTYPE="debug"
36254 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36255 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36258 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36262 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36264 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36266 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36268 if test "$cross_compiling" = "yes"; then
36269 HOST_SUFFIX="-$host_alias"
36270 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36271 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36274 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36275 if test "${TOOLKIT_DIR}" = "os2"; then
36276 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36278 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36283 if test "$wxUSE_COCOA" = 1; then
36286 ac_cpp='$CPP $CPPFLAGS'
36287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36293 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36294 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36295 cat >conftest.$ac_ext <<_ACEOF
36298 cat confdefs.h >>conftest.$ac_ext
36299 cat >>conftest.$ac_ext <<_ACEOF
36300 /* end confdefs.h. */
36301 #include <AppKit/NSEvent.h>
36302 #include <CoreFoundation/CoreFoundation.h>
36312 rm -f conftest.$ac_objext
36313 if { (ac_try="$ac_compile"
36314 case "(($ac_try" in
36315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36316 *) ac_try_echo=$ac_try;;
36318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36319 (eval "$ac_compile") 2>conftest.er1
36321 grep -v '^ *+' conftest.er1 >conftest.err
36323 cat conftest.err >&5
36324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36325 (exit $ac_status); } && {
36326 test -z "$ac_c_werror_flag" ||
36327 test ! -s conftest.err
36328 } && test -s conftest.$ac_objext; then
36329 { echo "$as_me:$LINENO: result: no" >&5
36330 echo "${ECHO_T}no" >&6; }
36332 echo "$as_me: failed program was:" >&5
36333 sed 's/^/| /' conftest.$ac_ext >&5
36335 { echo "$as_me:$LINENO: result: yes" >&5
36336 echo "${ECHO_T}yes" >&6; }
36337 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36338 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36339 cat >conftest.$ac_ext <<_ACEOF
36342 cat confdefs.h >>conftest.$ac_ext
36343 cat >>conftest.$ac_ext <<_ACEOF
36344 /* end confdefs.h. */
36345 #define __Point__ 1
36346 #include <AppKit/NSEvent.h>
36347 #include <CoreFoundation/CoreFoundation.h>
36357 rm -f conftest.$ac_objext
36358 if { (ac_try="$ac_compile"
36359 case "(($ac_try" in
36360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36361 *) ac_try_echo=$ac_try;;
36363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36364 (eval "$ac_compile") 2>conftest.er1
36366 grep -v '^ *+' conftest.er1 >conftest.err
36368 cat conftest.err >&5
36369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36370 (exit $ac_status); } && {
36371 test -z "$ac_c_werror_flag" ||
36372 test ! -s conftest.err
36373 } && test -s conftest.$ac_objext; then
36374 { echo "$as_me:$LINENO: result: yes" >&5
36375 echo "${ECHO_T}yes" >&6; }
36376 cat >>confdefs.h <<\_ACEOF
36377 #define __Point__ 1
36382 echo "$as_me: failed program was:" >&5
36383 sed 's/^/| /' conftest.$ac_ext >&5
36385 { { echo "$as_me:$LINENO: error: no
36386 See \`config.log' for more details." >&5
36387 echo "$as_me: error: no
36388 See \`config.log' for more details." >&2;}
36389 { (exit 1); exit 1; }; }
36393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36399 ac_cpp='$CPP $CPPFLAGS'
36400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36406 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36407 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36408 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36410 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36412 # Extract the first word of "Rez", so it can be a program name with args.
36413 set dummy Rez; ac_word=$2
36414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36416 if test "${ac_cv_prog_REZ+set}" = set; then
36417 echo $ECHO_N "(cached) $ECHO_C" >&6
36419 if test -n "$REZ"; then
36420 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36423 for as_dir in $PATH
36426 test -z "$as_dir" && as_dir=.
36427 for ac_exec_ext in '' $ac_executable_extensions; do
36428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36429 ac_cv_prog_REZ="Rez"
36430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36437 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
36440 REZ=$ac_cv_prog_REZ
36441 if test -n "$REZ"; then
36442 { echo "$as_me:$LINENO: result: $REZ" >&5
36443 echo "${ECHO_T}$REZ" >&6; }
36445 { echo "$as_me:$LINENO: result: no" >&5
36446 echo "${ECHO_T}no" >&6; }
36450 # Extract the first word of "DeRez", so it can be a program name with args.
36451 set dummy DeRez; ac_word=$2
36452 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36454 if test "${ac_cv_prog_DEREZ+set}" = set; then
36455 echo $ECHO_N "(cached) $ECHO_C" >&6
36457 if test -n "$DEREZ"; then
36458 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36461 for as_dir in $PATH
36464 test -z "$as_dir" && as_dir=.
36465 for ac_exec_ext in '' $ac_executable_extensions; do
36466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36467 ac_cv_prog_DEREZ="DeRez"
36468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36475 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
36478 DEREZ=$ac_cv_prog_DEREZ
36479 if test -n "$DEREZ"; then
36480 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36481 echo "${ECHO_T}$DEREZ" >&6; }
36483 { echo "$as_me:$LINENO: result: no" >&5
36484 echo "${ECHO_T}no" >&6; }
36488 # Extract the first word of "SetFile", so it can be a program name with args.
36489 set dummy SetFile; ac_word=$2
36490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36492 if test "${ac_cv_prog_SETFILE+set}" = set; then
36493 echo $ECHO_N "(cached) $ECHO_C" >&6
36495 if test -n "$SETFILE"; then
36496 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36499 for as_dir in $PATH
36502 test -z "$as_dir" && as_dir=.
36503 for ac_exec_ext in '' $ac_executable_extensions; do
36504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36505 ac_cv_prog_SETFILE="SetFile"
36506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36513 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36516 SETFILE=$ac_cv_prog_SETFILE
36517 if test -n "$SETFILE"; then
36518 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36519 echo "${ECHO_T}$SETFILE" >&6; }
36521 { echo "$as_me:$LINENO: result: no" >&5
36522 echo "${ECHO_T}no" >&6; }
36527 MACSETFILE="\$(SETFILE)"
36529 if test "$wxUSE_MAC" = 1; then
36530 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
36532 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
36534 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
36535 RESCOMP="echo -n \| $REZ"
36536 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
36542 if test "$wxUSE_PM" = 1; then
36544 WXCONFIG_RESFLAGS="-ep"
36546 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36548 POSTLINK_COMMAND="@true"
36555 { echo "$as_me:$LINENO: checking for mode_t" >&5
36556 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36557 if test "${ac_cv_type_mode_t+set}" = set; then
36558 echo $ECHO_N "(cached) $ECHO_C" >&6
36560 cat >conftest.$ac_ext <<_ACEOF
36563 cat confdefs.h >>conftest.$ac_ext
36564 cat >>conftest.$ac_ext <<_ACEOF
36565 /* end confdefs.h. */
36566 $ac_includes_default
36567 typedef mode_t ac__type_new_;
36571 if ((ac__type_new_ *) 0)
36573 if (sizeof (ac__type_new_))
36579 rm -f conftest.$ac_objext
36580 if { (ac_try="$ac_compile"
36581 case "(($ac_try" in
36582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36583 *) ac_try_echo=$ac_try;;
36585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36586 (eval "$ac_compile") 2>conftest.er1
36588 grep -v '^ *+' conftest.er1 >conftest.err
36590 cat conftest.err >&5
36591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36592 (exit $ac_status); } && {
36593 test -z "$ac_c_werror_flag" ||
36594 test ! -s conftest.err
36595 } && test -s conftest.$ac_objext; then
36596 ac_cv_type_mode_t=yes
36598 echo "$as_me: failed program was:" >&5
36599 sed 's/^/| /' conftest.$ac_ext >&5
36601 ac_cv_type_mode_t=no
36604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36606 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36607 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36608 if test $ac_cv_type_mode_t = yes; then
36612 cat >>confdefs.h <<_ACEOF
36618 { echo "$as_me:$LINENO: checking for off_t" >&5
36619 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36620 if test "${ac_cv_type_off_t+set}" = set; then
36621 echo $ECHO_N "(cached) $ECHO_C" >&6
36623 cat >conftest.$ac_ext <<_ACEOF
36626 cat confdefs.h >>conftest.$ac_ext
36627 cat >>conftest.$ac_ext <<_ACEOF
36628 /* end confdefs.h. */
36629 $ac_includes_default
36630 typedef off_t ac__type_new_;
36634 if ((ac__type_new_ *) 0)
36636 if (sizeof (ac__type_new_))
36642 rm -f conftest.$ac_objext
36643 if { (ac_try="$ac_compile"
36644 case "(($ac_try" in
36645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36646 *) ac_try_echo=$ac_try;;
36648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36649 (eval "$ac_compile") 2>conftest.er1
36651 grep -v '^ *+' conftest.er1 >conftest.err
36653 cat conftest.err >&5
36654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36655 (exit $ac_status); } && {
36656 test -z "$ac_c_werror_flag" ||
36657 test ! -s conftest.err
36658 } && test -s conftest.$ac_objext; then
36659 ac_cv_type_off_t=yes
36661 echo "$as_me: failed program was:" >&5
36662 sed 's/^/| /' conftest.$ac_ext >&5
36664 ac_cv_type_off_t=no
36667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36669 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36670 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36671 if test $ac_cv_type_off_t = yes; then
36675 cat >>confdefs.h <<_ACEOF
36676 #define off_t long int
36681 { echo "$as_me:$LINENO: checking for pid_t" >&5
36682 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36683 if test "${ac_cv_type_pid_t+set}" = set; then
36684 echo $ECHO_N "(cached) $ECHO_C" >&6
36686 cat >conftest.$ac_ext <<_ACEOF
36689 cat confdefs.h >>conftest.$ac_ext
36690 cat >>conftest.$ac_ext <<_ACEOF
36691 /* end confdefs.h. */
36692 $ac_includes_default
36693 typedef pid_t ac__type_new_;
36697 if ((ac__type_new_ *) 0)
36699 if (sizeof (ac__type_new_))
36705 rm -f conftest.$ac_objext
36706 if { (ac_try="$ac_compile"
36707 case "(($ac_try" in
36708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36709 *) ac_try_echo=$ac_try;;
36711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36712 (eval "$ac_compile") 2>conftest.er1
36714 grep -v '^ *+' conftest.er1 >conftest.err
36716 cat conftest.err >&5
36717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36718 (exit $ac_status); } && {
36719 test -z "$ac_c_werror_flag" ||
36720 test ! -s conftest.err
36721 } && test -s conftest.$ac_objext; then
36722 ac_cv_type_pid_t=yes
36724 echo "$as_me: failed program was:" >&5
36725 sed 's/^/| /' conftest.$ac_ext >&5
36727 ac_cv_type_pid_t=no
36730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36732 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36733 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36734 if test $ac_cv_type_pid_t = yes; then
36738 cat >>confdefs.h <<_ACEOF
36744 { echo "$as_me:$LINENO: checking for size_t" >&5
36745 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36746 if test "${ac_cv_type_size_t+set}" = set; then
36747 echo $ECHO_N "(cached) $ECHO_C" >&6
36749 cat >conftest.$ac_ext <<_ACEOF
36752 cat confdefs.h >>conftest.$ac_ext
36753 cat >>conftest.$ac_ext <<_ACEOF
36754 /* end confdefs.h. */
36755 $ac_includes_default
36756 typedef size_t ac__type_new_;
36760 if ((ac__type_new_ *) 0)
36762 if (sizeof (ac__type_new_))
36768 rm -f conftest.$ac_objext
36769 if { (ac_try="$ac_compile"
36770 case "(($ac_try" in
36771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36772 *) ac_try_echo=$ac_try;;
36774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36775 (eval "$ac_compile") 2>conftest.er1
36777 grep -v '^ *+' conftest.er1 >conftest.err
36779 cat conftest.err >&5
36780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36781 (exit $ac_status); } && {
36782 test -z "$ac_c_werror_flag" ||
36783 test ! -s conftest.err
36784 } && test -s conftest.$ac_objext; then
36785 ac_cv_type_size_t=yes
36787 echo "$as_me: failed program was:" >&5
36788 sed 's/^/| /' conftest.$ac_ext >&5
36790 ac_cv_type_size_t=no
36793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36795 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36796 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36797 if test $ac_cv_type_size_t = yes; then
36801 cat >>confdefs.h <<_ACEOF
36802 #define size_t unsigned int
36807 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36808 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36809 if test "${ac_cv_type_uid_t+set}" = set; then
36810 echo $ECHO_N "(cached) $ECHO_C" >&6
36812 cat >conftest.$ac_ext <<_ACEOF
36815 cat confdefs.h >>conftest.$ac_ext
36816 cat >>conftest.$ac_ext <<_ACEOF
36817 /* end confdefs.h. */
36818 #include <sys/types.h>
36821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36822 $EGREP "uid_t" >/dev/null 2>&1; then
36823 ac_cv_type_uid_t=yes
36825 ac_cv_type_uid_t=no
36830 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36831 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36832 if test $ac_cv_type_uid_t = no; then
36834 cat >>confdefs.h <<\_ACEOF
36839 cat >>confdefs.h <<\_ACEOF
36846 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36847 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36848 if test "${ac_cv_type_ssize_t+set}" = set; then
36849 echo $ECHO_N "(cached) $ECHO_C" >&6
36851 cat >conftest.$ac_ext <<_ACEOF
36854 cat confdefs.h >>conftest.$ac_ext
36855 cat >>conftest.$ac_ext <<_ACEOF
36856 /* end confdefs.h. */
36857 $ac_includes_default
36858 typedef ssize_t ac__type_new_;
36862 if ((ac__type_new_ *) 0)
36864 if (sizeof (ac__type_new_))
36870 rm -f conftest.$ac_objext
36871 if { (ac_try="$ac_compile"
36872 case "(($ac_try" in
36873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36874 *) ac_try_echo=$ac_try;;
36876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36877 (eval "$ac_compile") 2>conftest.er1
36879 grep -v '^ *+' conftest.er1 >conftest.err
36881 cat conftest.err >&5
36882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36883 (exit $ac_status); } && {
36884 test -z "$ac_c_werror_flag" ||
36885 test ! -s conftest.err
36886 } && test -s conftest.$ac_objext; then
36887 ac_cv_type_ssize_t=yes
36889 echo "$as_me: failed program was:" >&5
36890 sed 's/^/| /' conftest.$ac_ext >&5
36892 ac_cv_type_ssize_t=no
36895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36897 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36898 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36899 if test $ac_cv_type_ssize_t = yes; then
36901 cat >>confdefs.h <<_ACEOF
36902 #define HAVE_SSIZE_T 1
36910 ac_cpp='$CXXCPP $CPPFLAGS'
36911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36914 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36915 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36916 if test "${wx_cv_size_t_is_uint+set}" = set; then
36917 echo $ECHO_N "(cached) $ECHO_C" >&6
36920 cat >conftest.$ac_ext <<_ACEOF
36923 cat confdefs.h >>conftest.$ac_ext
36924 cat >>conftest.$ac_ext <<_ACEOF
36925 /* end confdefs.h. */
36926 #include <stddef.h>
36933 struct Foo { void foo(size_t); void foo(unsigned int); };
36941 rm -f conftest.$ac_objext
36942 if { (ac_try="$ac_compile"
36943 case "(($ac_try" in
36944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36945 *) ac_try_echo=$ac_try;;
36947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36948 (eval "$ac_compile") 2>conftest.er1
36950 grep -v '^ *+' conftest.er1 >conftest.err
36952 cat conftest.err >&5
36953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36954 (exit $ac_status); } && {
36955 test -z "$ac_cxx_werror_flag" ||
36956 test ! -s conftest.err
36957 } && test -s conftest.$ac_objext; then
36958 wx_cv_size_t_is_uint=no
36960 echo "$as_me: failed program was:" >&5
36961 sed 's/^/| /' conftest.$ac_ext >&5
36963 wx_cv_size_t_is_uint=yes
36967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36971 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36972 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36974 if test "$wx_cv_size_t_is_uint" = "yes"; then
36975 cat >>confdefs.h <<\_ACEOF
36976 #define wxSIZE_T_IS_UINT 1
36980 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36981 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36982 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36983 echo $ECHO_N "(cached) $ECHO_C" >&6
36985 cat >conftest.$ac_ext <<_ACEOF
36988 cat confdefs.h >>conftest.$ac_ext
36989 cat >>conftest.$ac_ext <<_ACEOF
36990 /* end confdefs.h. */
36991 #include <stddef.h>
36998 struct Foo { void foo(size_t); void foo(unsigned long); };
37006 rm -f conftest.$ac_objext
37007 if { (ac_try="$ac_compile"
37008 case "(($ac_try" in
37009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37010 *) ac_try_echo=$ac_try;;
37012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37013 (eval "$ac_compile") 2>conftest.er1
37015 grep -v '^ *+' conftest.er1 >conftest.err
37017 cat conftest.err >&5
37018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37019 (exit $ac_status); } && {
37020 test -z "$ac_cxx_werror_flag" ||
37021 test ! -s conftest.err
37022 } && test -s conftest.$ac_objext; then
37023 wx_cv_size_t_is_ulong=no
37025 echo "$as_me: failed program was:" >&5
37026 sed 's/^/| /' conftest.$ac_ext >&5
37028 wx_cv_size_t_is_ulong=yes
37032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37035 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37036 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37038 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37039 cat >>confdefs.h <<\_ACEOF
37040 #define wxSIZE_T_IS_ULONG 1
37046 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37047 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37048 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37049 echo $ECHO_N "(cached) $ECHO_C" >&6
37051 cat >conftest.$ac_ext <<_ACEOF
37054 cat confdefs.h >>conftest.$ac_ext
37055 cat >>conftest.$ac_ext <<_ACEOF
37056 /* end confdefs.h. */
37064 struct Foo { void foo(wchar_t);
37065 void foo(unsigned short);
37066 void foo(unsigned int);
37067 void foo(unsigned long); };
37075 rm -f conftest.$ac_objext
37076 if { (ac_try="$ac_compile"
37077 case "(($ac_try" in
37078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37079 *) ac_try_echo=$ac_try;;
37081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37082 (eval "$ac_compile") 2>conftest.er1
37084 grep -v '^ *+' conftest.er1 >conftest.err
37086 cat conftest.err >&5
37087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37088 (exit $ac_status); } && {
37089 test -z "$ac_cxx_werror_flag" ||
37090 test ! -s conftest.err
37091 } && test -s conftest.$ac_objext; then
37092 wx_cv_wchar_t_is_separate_type=yes
37094 echo "$as_me: failed program was:" >&5
37095 sed 's/^/| /' conftest.$ac_ext >&5
37097 wx_cv_wchar_t_is_separate_type=no
37101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37104 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37105 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37107 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37108 cat >>confdefs.h <<\_ACEOF
37109 #define wxWCHAR_T_IS_REAL_TYPE 1
37113 cat >>confdefs.h <<\_ACEOF
37114 #define wxWCHAR_T_IS_REAL_TYPE 0
37120 ac_cpp='$CPP $CPPFLAGS'
37121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37126 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37127 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37128 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37129 echo $ECHO_N "(cached) $ECHO_C" >&6
37132 cat >conftest.$ac_ext <<_ACEOF
37135 cat confdefs.h >>conftest.$ac_ext
37136 cat >>conftest.$ac_ext <<_ACEOF
37137 /* end confdefs.h. */
37151 rm -f conftest.$ac_objext
37152 if { (ac_try="$ac_compile"
37153 case "(($ac_try" in
37154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37155 *) ac_try_echo=$ac_try;;
37157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37158 (eval "$ac_compile") 2>conftest.er1
37160 grep -v '^ *+' conftest.er1 >conftest.err
37162 cat conftest.err >&5
37163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37164 (exit $ac_status); } && {
37165 test -z "$ac_c_werror_flag" ||
37166 test ! -s conftest.err
37167 } && test -s conftest.$ac_objext; then
37169 wx_cv_struct_pw_gecos=yes
37172 echo "$as_me: failed program was:" >&5
37173 sed 's/^/| /' conftest.$ac_ext >&5
37176 wx_cv_struct_pw_gecos=no
37181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37185 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37186 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37188 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37189 cat >>confdefs.h <<\_ACEOF
37190 #define HAVE_PW_GECOS 1
37196 if test "$wxUSE_WCHAR_T" = "yes"; then
37197 cat >>confdefs.h <<\_ACEOF
37198 #define wxUSE_WCHAR_T 1
37205 for ac_func in wcslen
37207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37208 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37210 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37211 echo $ECHO_N "(cached) $ECHO_C" >&6
37213 cat >conftest.$ac_ext <<_ACEOF
37216 cat confdefs.h >>conftest.$ac_ext
37217 cat >>conftest.$ac_ext <<_ACEOF
37218 /* end confdefs.h. */
37219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37221 #define $ac_func innocuous_$ac_func
37223 /* System header to define __stub macros and hopefully few prototypes,
37224 which can conflict with char $ac_func (); below.
37225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37226 <limits.h> exists even on freestanding compilers. */
37229 # include <limits.h>
37231 # include <assert.h>
37236 /* Override any GCC internal prototype to avoid an error.
37237 Use char because int might match the return type of a GCC
37238 builtin and then its argument prototype would still apply. */
37243 /* The GNU C library defines this for functions which it implements
37244 to always fail with ENOSYS. Some functions are actually named
37245 something starting with __ and the normal name is an alias. */
37246 #if defined __stub_$ac_func || defined __stub___$ac_func
37253 return $ac_func ();
37258 rm -f conftest.$ac_objext conftest$ac_exeext
37259 if { (ac_try="$ac_link"
37260 case "(($ac_try" in
37261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37262 *) ac_try_echo=$ac_try;;
37264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37265 (eval "$ac_link") 2>conftest.er1
37267 grep -v '^ *+' conftest.er1 >conftest.err
37269 cat conftest.err >&5
37270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37271 (exit $ac_status); } && {
37272 test -z "$ac_c_werror_flag" ||
37273 test ! -s conftest.err
37274 } && test -s conftest$ac_exeext &&
37275 $as_test_x conftest$ac_exeext; then
37276 eval "$as_ac_var=yes"
37278 echo "$as_me: failed program was:" >&5
37279 sed 's/^/| /' conftest.$ac_ext >&5
37281 eval "$as_ac_var=no"
37284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37285 conftest$ac_exeext conftest.$ac_ext
37287 ac_res=`eval echo '${'$as_ac_var'}'`
37288 { echo "$as_me:$LINENO: result: $ac_res" >&5
37289 echo "${ECHO_T}$ac_res" >&6; }
37290 if test `eval echo '${'$as_ac_var'}'` = yes; then
37291 cat >>confdefs.h <<_ACEOF
37292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37299 if test "$WCSLEN_FOUND" = 0; then
37300 if test "$TOOLKIT" = "MSW"; then
37301 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37302 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37303 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37304 echo $ECHO_N "(cached) $ECHO_C" >&6
37306 ac_check_lib_save_LIBS=$LIBS
37307 LIBS="-lmsvcrt $LIBS"
37308 cat >conftest.$ac_ext <<_ACEOF
37311 cat confdefs.h >>conftest.$ac_ext
37312 cat >>conftest.$ac_ext <<_ACEOF
37313 /* end confdefs.h. */
37315 /* Override any GCC internal prototype to avoid an error.
37316 Use char because int might match the return type of a GCC
37317 builtin and then its argument prototype would still apply. */
37330 rm -f conftest.$ac_objext conftest$ac_exeext
37331 if { (ac_try="$ac_link"
37332 case "(($ac_try" in
37333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37334 *) ac_try_echo=$ac_try;;
37336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37337 (eval "$ac_link") 2>conftest.er1
37339 grep -v '^ *+' conftest.er1 >conftest.err
37341 cat conftest.err >&5
37342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37343 (exit $ac_status); } && {
37344 test -z "$ac_c_werror_flag" ||
37345 test ! -s conftest.err
37346 } && test -s conftest$ac_exeext &&
37347 $as_test_x conftest$ac_exeext; then
37348 ac_cv_lib_msvcrt_wcslen=yes
37350 echo "$as_me: failed program was:" >&5
37351 sed 's/^/| /' conftest.$ac_ext >&5
37353 ac_cv_lib_msvcrt_wcslen=no
37356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37357 conftest$ac_exeext conftest.$ac_ext
37358 LIBS=$ac_check_lib_save_LIBS
37360 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37361 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37362 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37367 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37368 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37369 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37370 echo $ECHO_N "(cached) $ECHO_C" >&6
37372 ac_check_lib_save_LIBS=$LIBS
37374 cat >conftest.$ac_ext <<_ACEOF
37377 cat confdefs.h >>conftest.$ac_ext
37378 cat >>conftest.$ac_ext <<_ACEOF
37379 /* end confdefs.h. */
37381 /* Override any GCC internal prototype to avoid an error.
37382 Use char because int might match the return type of a GCC
37383 builtin and then its argument prototype would still apply. */
37396 rm -f conftest.$ac_objext conftest$ac_exeext
37397 if { (ac_try="$ac_link"
37398 case "(($ac_try" in
37399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37400 *) ac_try_echo=$ac_try;;
37402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37403 (eval "$ac_link") 2>conftest.er1
37405 grep -v '^ *+' conftest.er1 >conftest.err
37407 cat conftest.err >&5
37408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37409 (exit $ac_status); } && {
37410 test -z "$ac_c_werror_flag" ||
37411 test ! -s conftest.err
37412 } && test -s conftest$ac_exeext &&
37413 $as_test_x conftest$ac_exeext; then
37414 ac_cv_lib_w_wcslen=yes
37416 echo "$as_me: failed program was:" >&5
37417 sed 's/^/| /' conftest.$ac_ext >&5
37419 ac_cv_lib_w_wcslen=no
37422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37423 conftest$ac_exeext conftest.$ac_ext
37424 LIBS=$ac_check_lib_save_LIBS
37426 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37427 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37428 if test $ac_cv_lib_w_wcslen = yes; then
37438 if test "$WCSLEN_FOUND" = 1; then
37439 cat >>confdefs.h <<\_ACEOF
37440 #define HAVE_WCSLEN 1
37446 for ac_func in wcsdup
37448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37449 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37451 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37452 echo $ECHO_N "(cached) $ECHO_C" >&6
37454 cat >conftest.$ac_ext <<_ACEOF
37457 cat confdefs.h >>conftest.$ac_ext
37458 cat >>conftest.$ac_ext <<_ACEOF
37459 /* end confdefs.h. */
37460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37462 #define $ac_func innocuous_$ac_func
37464 /* System header to define __stub macros and hopefully few prototypes,
37465 which can conflict with char $ac_func (); below.
37466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37467 <limits.h> exists even on freestanding compilers. */
37470 # include <limits.h>
37472 # include <assert.h>
37477 /* Override any GCC internal prototype to avoid an error.
37478 Use char because int might match the return type of a GCC
37479 builtin and then its argument prototype would still apply. */
37484 /* The GNU C library defines this for functions which it implements
37485 to always fail with ENOSYS. Some functions are actually named
37486 something starting with __ and the normal name is an alias. */
37487 #if defined __stub_$ac_func || defined __stub___$ac_func
37494 return $ac_func ();
37499 rm -f conftest.$ac_objext conftest$ac_exeext
37500 if { (ac_try="$ac_link"
37501 case "(($ac_try" in
37502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37503 *) ac_try_echo=$ac_try;;
37505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37506 (eval "$ac_link") 2>conftest.er1
37508 grep -v '^ *+' conftest.er1 >conftest.err
37510 cat conftest.err >&5
37511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37512 (exit $ac_status); } && {
37513 test -z "$ac_c_werror_flag" ||
37514 test ! -s conftest.err
37515 } && test -s conftest$ac_exeext &&
37516 $as_test_x conftest$ac_exeext; then
37517 eval "$as_ac_var=yes"
37519 echo "$as_me: failed program was:" >&5
37520 sed 's/^/| /' conftest.$ac_ext >&5
37522 eval "$as_ac_var=no"
37525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37526 conftest$ac_exeext conftest.$ac_ext
37528 ac_res=`eval echo '${'$as_ac_var'}'`
37529 { echo "$as_me:$LINENO: result: $ac_res" >&5
37530 echo "${ECHO_T}$ac_res" >&6; }
37531 if test `eval echo '${'$as_ac_var'}'` = yes; then
37532 cat >>confdefs.h <<_ACEOF
37533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37540 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37541 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37544 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37545 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37546 if test "${ac_cv_type_mbstate_t+set}" = set; then
37547 echo $ECHO_N "(cached) $ECHO_C" >&6
37549 cat >conftest.$ac_ext <<_ACEOF
37552 cat confdefs.h >>conftest.$ac_ext
37553 cat >>conftest.$ac_ext <<_ACEOF
37554 /* end confdefs.h. */
37557 typedef mbstate_t ac__type_new_;
37561 if ((ac__type_new_ *) 0)
37563 if (sizeof (ac__type_new_))
37569 rm -f conftest.$ac_objext
37570 if { (ac_try="$ac_compile"
37571 case "(($ac_try" in
37572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37573 *) ac_try_echo=$ac_try;;
37575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37576 (eval "$ac_compile") 2>conftest.er1
37578 grep -v '^ *+' conftest.er1 >conftest.err
37580 cat conftest.err >&5
37581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37582 (exit $ac_status); } && {
37583 test -z "$ac_c_werror_flag" ||
37584 test ! -s conftest.err
37585 } && test -s conftest.$ac_objext; then
37586 ac_cv_type_mbstate_t=yes
37588 echo "$as_me: failed program was:" >&5
37589 sed 's/^/| /' conftest.$ac_ext >&5
37591 ac_cv_type_mbstate_t=no
37594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37596 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37597 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37598 if test $ac_cv_type_mbstate_t = yes; then
37600 cat >>confdefs.h <<_ACEOF
37601 #define HAVE_MBSTATE_T 1
37605 for ac_func in wcsrtombs
37607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37608 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37610 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37611 echo $ECHO_N "(cached) $ECHO_C" >&6
37613 cat >conftest.$ac_ext <<_ACEOF
37616 cat confdefs.h >>conftest.$ac_ext
37617 cat >>conftest.$ac_ext <<_ACEOF
37618 /* end confdefs.h. */
37619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37621 #define $ac_func innocuous_$ac_func
37623 /* System header to define __stub macros and hopefully few prototypes,
37624 which can conflict with char $ac_func (); below.
37625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37626 <limits.h> exists even on freestanding compilers. */
37629 # include <limits.h>
37631 # include <assert.h>
37636 /* Override any GCC internal prototype to avoid an error.
37637 Use char because int might match the return type of a GCC
37638 builtin and then its argument prototype would still apply. */
37643 /* The GNU C library defines this for functions which it implements
37644 to always fail with ENOSYS. Some functions are actually named
37645 something starting with __ and the normal name is an alias. */
37646 #if defined __stub_$ac_func || defined __stub___$ac_func
37653 return $ac_func ();
37658 rm -f conftest.$ac_objext conftest$ac_exeext
37659 if { (ac_try="$ac_link"
37660 case "(($ac_try" in
37661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37662 *) ac_try_echo=$ac_try;;
37664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37665 (eval "$ac_link") 2>conftest.er1
37667 grep -v '^ *+' conftest.er1 >conftest.err
37669 cat conftest.err >&5
37670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37671 (exit $ac_status); } && {
37672 test -z "$ac_c_werror_flag" ||
37673 test ! -s conftest.err
37674 } && test -s conftest$ac_exeext &&
37675 $as_test_x conftest$ac_exeext; then
37676 eval "$as_ac_var=yes"
37678 echo "$as_me: failed program was:" >&5
37679 sed 's/^/| /' conftest.$ac_ext >&5
37681 eval "$as_ac_var=no"
37684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37685 conftest$ac_exeext conftest.$ac_ext
37687 ac_res=`eval echo '${'$as_ac_var'}'`
37688 { echo "$as_me:$LINENO: result: $ac_res" >&5
37689 echo "${ECHO_T}$ac_res" >&6; }
37690 if test `eval echo '${'$as_ac_var'}'` = yes; then
37691 cat >>confdefs.h <<_ACEOF
37692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37701 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37702 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37707 for ac_func in snprintf vsnprintf
37709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37710 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37712 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37713 echo $ECHO_N "(cached) $ECHO_C" >&6
37715 cat >conftest.$ac_ext <<_ACEOF
37718 cat confdefs.h >>conftest.$ac_ext
37719 cat >>conftest.$ac_ext <<_ACEOF
37720 /* end confdefs.h. */
37721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37723 #define $ac_func innocuous_$ac_func
37725 /* System header to define __stub macros and hopefully few prototypes,
37726 which can conflict with char $ac_func (); below.
37727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37728 <limits.h> exists even on freestanding compilers. */
37731 # include <limits.h>
37733 # include <assert.h>
37738 /* Override any GCC internal prototype to avoid an error.
37739 Use char because int might match the return type of a GCC
37740 builtin and then its argument prototype would still apply. */
37745 /* The GNU C library defines this for functions which it implements
37746 to always fail with ENOSYS. Some functions are actually named
37747 something starting with __ and the normal name is an alias. */
37748 #if defined __stub_$ac_func || defined __stub___$ac_func
37755 return $ac_func ();
37760 rm -f conftest.$ac_objext conftest$ac_exeext
37761 if { (ac_try="$ac_link"
37762 case "(($ac_try" in
37763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37764 *) ac_try_echo=$ac_try;;
37766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37767 (eval "$ac_link") 2>conftest.er1
37769 grep -v '^ *+' conftest.er1 >conftest.err
37771 cat conftest.err >&5
37772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37773 (exit $ac_status); } && {
37774 test -z "$ac_c_werror_flag" ||
37775 test ! -s conftest.err
37776 } && test -s conftest$ac_exeext &&
37777 $as_test_x conftest$ac_exeext; then
37778 eval "$as_ac_var=yes"
37780 echo "$as_me: failed program was:" >&5
37781 sed 's/^/| /' conftest.$ac_ext >&5
37783 eval "$as_ac_var=no"
37786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37787 conftest$ac_exeext conftest.$ac_ext
37789 ac_res=`eval echo '${'$as_ac_var'}'`
37790 { echo "$as_me:$LINENO: result: $ac_res" >&5
37791 echo "${ECHO_T}$ac_res" >&6; }
37792 if test `eval echo '${'$as_ac_var'}'` = yes; then
37793 cat >>confdefs.h <<_ACEOF
37794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37801 if test "$ac_cv_func_vsnprintf" = "yes"; then
37802 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37803 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37804 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37805 echo $ECHO_N "(cached) $ECHO_C" >&6
37808 cat >conftest.$ac_ext <<_ACEOF
37811 cat confdefs.h >>conftest.$ac_ext
37812 cat >>conftest.$ac_ext <<_ACEOF
37813 /* end confdefs.h. */
37816 #include <stdarg.h>
37818 #if __MSL__ >= 0x6000
37820 using namespace std;
37830 vsnprintf(buf, 10u, "%s", ap);
37836 rm -f conftest.$ac_objext
37837 if { (ac_try="$ac_compile"
37838 case "(($ac_try" in
37839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37840 *) ac_try_echo=$ac_try;;
37842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37843 (eval "$ac_compile") 2>conftest.er1
37845 grep -v '^ *+' conftest.er1 >conftest.err
37847 cat conftest.err >&5
37848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37849 (exit $ac_status); } && {
37850 test -z "$ac_c_werror_flag" ||
37851 test ! -s conftest.err
37852 } && test -s conftest.$ac_objext; then
37853 wx_cv_func_vsnprintf_decl=yes
37855 echo "$as_me: failed program was:" >&5
37856 sed 's/^/| /' conftest.$ac_ext >&5
37858 wx_cv_func_vsnprintf_decl=no
37862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37866 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37867 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37869 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37870 cat >>confdefs.h <<\_ACEOF
37871 #define HAVE_VSNPRINTF_DECL 1
37875 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37876 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37877 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37878 echo $ECHO_N "(cached) $ECHO_C" >&6
37881 cat >conftest.$ac_ext <<_ACEOF
37884 cat confdefs.h >>conftest.$ac_ext
37885 cat >>conftest.$ac_ext <<_ACEOF
37886 /* end confdefs.h. */
37889 #include <stdarg.h>
37891 #if __MSL__ >= 0x6000
37893 using namespace std;
37903 const char *fmt = "%s";
37904 vsnprintf(buf, 10u, fmt, ap);
37910 rm -f conftest.$ac_objext
37911 if { (ac_try="$ac_compile"
37912 case "(($ac_try" in
37913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37914 *) ac_try_echo=$ac_try;;
37916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37917 (eval "$ac_compile") 2>conftest.er1
37919 grep -v '^ *+' conftest.er1 >conftest.err
37921 cat conftest.err >&5
37922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37923 (exit $ac_status); } && {
37924 test -z "$ac_c_werror_flag" ||
37925 test ! -s conftest.err
37926 } && test -s conftest.$ac_objext; then
37927 wx_cv_func_broken_vsnprintf_decl=no
37929 echo "$as_me: failed program was:" >&5
37930 sed 's/^/| /' conftest.$ac_ext >&5
37932 wx_cv_func_broken_vsnprintf_decl=yes
37936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37940 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37941 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37943 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37944 cat >>confdefs.h <<\_ACEOF
37945 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37952 if test "$ac_cv_func_snprintf" = "yes"; then
37953 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37954 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37955 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37956 echo $ECHO_N "(cached) $ECHO_C" >&6
37959 cat >conftest.$ac_ext <<_ACEOF
37962 cat confdefs.h >>conftest.$ac_ext
37963 cat >>conftest.$ac_ext <<_ACEOF
37964 /* end confdefs.h. */
37967 #include <stdarg.h>
37969 #if __MSL__ >= 0x6000
37971 using namespace std;
37980 snprintf(buf, 10u, "%s", "wx");
37986 rm -f conftest.$ac_objext
37987 if { (ac_try="$ac_compile"
37988 case "(($ac_try" in
37989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37990 *) ac_try_echo=$ac_try;;
37992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37993 (eval "$ac_compile") 2>conftest.er1
37995 grep -v '^ *+' conftest.er1 >conftest.err
37997 cat conftest.err >&5
37998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37999 (exit $ac_status); } && {
38000 test -z "$ac_c_werror_flag" ||
38001 test ! -s conftest.err
38002 } && test -s conftest.$ac_objext; then
38003 wx_cv_func_snprintf_decl=yes
38005 echo "$as_me: failed program was:" >&5
38006 sed 's/^/| /' conftest.$ac_ext >&5
38008 wx_cv_func_snprintf_decl=no
38012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38016 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38017 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38019 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38020 cat >>confdefs.h <<\_ACEOF
38021 #define HAVE_SNPRINTF_DECL 1
38025 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
38026 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
38027 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
38028 echo $ECHO_N "(cached) $ECHO_C" >&6
38031 cat >conftest.$ac_ext <<_ACEOF
38034 cat confdefs.h >>conftest.$ac_ext
38035 cat >>conftest.$ac_ext <<_ACEOF
38036 /* end confdefs.h. */
38039 #include <stdarg.h>
38041 #if __MSL__ >= 0x6000
38043 using namespace std;
38052 const char *fmt = "%s";
38053 snprintf(buf, 10u, fmt, "wx");
38059 rm -f conftest.$ac_objext
38060 if { (ac_try="$ac_compile"
38061 case "(($ac_try" in
38062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38063 *) ac_try_echo=$ac_try;;
38065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38066 (eval "$ac_compile") 2>conftest.er1
38068 grep -v '^ *+' conftest.er1 >conftest.err
38070 cat conftest.err >&5
38071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38072 (exit $ac_status); } && {
38073 test -z "$ac_c_werror_flag" ||
38074 test ! -s conftest.err
38075 } && test -s conftest.$ac_objext; then
38076 wx_cv_func_broken_snprintf_decl=no
38078 echo "$as_me: failed program was:" >&5
38079 sed 's/^/| /' conftest.$ac_ext >&5
38081 wx_cv_func_broken_snprintf_decl=yes
38085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38089 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
38090 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
38092 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
38093 cat >>confdefs.h <<\_ACEOF
38094 #define HAVE_BROKEN_SNPRINTF_DECL 1
38100 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38102 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38103 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38104 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38105 echo $ECHO_N "(cached) $ECHO_C" >&6
38108 if test "$cross_compiling" = yes; then
38110 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38111 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38112 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38113 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38114 wx_cv_func_snprintf_pos_params=no
38118 cat >conftest.$ac_ext <<_ACEOF
38121 cat confdefs.h >>conftest.$ac_ext
38122 cat >>conftest.$ac_ext <<_ACEOF
38123 /* end confdefs.h. */
38130 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38131 if (strcmp ("2 3 1", buffer) == 0)
38137 rm -f conftest$ac_exeext
38138 if { (ac_try="$ac_link"
38139 case "(($ac_try" in
38140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38141 *) ac_try_echo=$ac_try;;
38143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38144 (eval "$ac_link") 2>&5
38146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38147 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38148 { (case "(($ac_try" in
38149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38150 *) ac_try_echo=$ac_try;;
38152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38153 (eval "$ac_try") 2>&5
38155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38156 (exit $ac_status); }; }; then
38157 wx_cv_func_snprintf_pos_params=no
38159 echo "$as_me: program exited with status $ac_status" >&5
38160 echo "$as_me: failed program was:" >&5
38161 sed 's/^/| /' conftest.$ac_ext >&5
38163 ( exit $ac_status )
38164 wx_cv_func_snprintf_pos_params=yes
38166 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38173 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38174 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38176 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38177 cat >>confdefs.h <<\_ACEOF
38178 #define HAVE_UNIX98_PRINTF 1
38185 if test "$wxUSE_UNICODE" = yes; then
38188 for ac_func in swprintf
38190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38191 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38193 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38194 echo $ECHO_N "(cached) $ECHO_C" >&6
38196 cat >conftest.$ac_ext <<_ACEOF
38199 cat confdefs.h >>conftest.$ac_ext
38200 cat >>conftest.$ac_ext <<_ACEOF
38201 /* end confdefs.h. */
38202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38204 #define $ac_func innocuous_$ac_func
38206 /* System header to define __stub macros and hopefully few prototypes,
38207 which can conflict with char $ac_func (); below.
38208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38209 <limits.h> exists even on freestanding compilers. */
38212 # include <limits.h>
38214 # include <assert.h>
38219 /* Override any GCC internal prototype to avoid an error.
38220 Use char because int might match the return type of a GCC
38221 builtin and then its argument prototype would still apply. */
38226 /* The GNU C library defines this for functions which it implements
38227 to always fail with ENOSYS. Some functions are actually named
38228 something starting with __ and the normal name is an alias. */
38229 #if defined __stub_$ac_func || defined __stub___$ac_func
38236 return $ac_func ();
38241 rm -f conftest.$ac_objext conftest$ac_exeext
38242 if { (ac_try="$ac_link"
38243 case "(($ac_try" in
38244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38245 *) ac_try_echo=$ac_try;;
38247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38248 (eval "$ac_link") 2>conftest.er1
38250 grep -v '^ *+' conftest.er1 >conftest.err
38252 cat conftest.err >&5
38253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38254 (exit $ac_status); } && {
38255 test -z "$ac_c_werror_flag" ||
38256 test ! -s conftest.err
38257 } && test -s conftest$ac_exeext &&
38258 $as_test_x conftest$ac_exeext; then
38259 eval "$as_ac_var=yes"
38261 echo "$as_me: failed program was:" >&5
38262 sed 's/^/| /' conftest.$ac_ext >&5
38264 eval "$as_ac_var=no"
38267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38268 conftest$ac_exeext conftest.$ac_ext
38270 ac_res=`eval echo '${'$as_ac_var'}'`
38271 { echo "$as_me:$LINENO: result: $ac_res" >&5
38272 echo "${ECHO_T}$ac_res" >&6; }
38273 if test `eval echo '${'$as_ac_var'}'` = yes; then
38274 cat >>confdefs.h <<_ACEOF
38275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38282 if test "$ac_cv_func_swprintf" = "yes"; then
38283 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38284 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38285 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38286 echo $ECHO_N "(cached) $ECHO_C" >&6
38289 cat >conftest.$ac_ext <<_ACEOF
38292 cat confdefs.h >>conftest.$ac_ext
38293 cat >>conftest.$ac_ext <<_ACEOF
38294 /* end confdefs.h. */
38297 #include <stdarg.h>
38305 const wchar_t *fmt = L"test";
38306 swprintf(buf, 10u, fmt);
38312 rm -f conftest.$ac_objext
38313 if { (ac_try="$ac_compile"
38314 case "(($ac_try" in
38315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38316 *) ac_try_echo=$ac_try;;
38318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38319 (eval "$ac_compile") 2>conftest.er1
38321 grep -v '^ *+' conftest.er1 >conftest.err
38323 cat conftest.err >&5
38324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38325 (exit $ac_status); } && {
38326 test -z "$ac_c_werror_flag" ||
38327 test ! -s conftest.err
38328 } && test -s conftest.$ac_objext; then
38329 wx_cv_func_broken_swprintf_decl=no
38331 echo "$as_me: failed program was:" >&5
38332 sed 's/^/| /' conftest.$ac_ext >&5
38334 wx_cv_func_broken_swprintf_decl=yes
38338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38342 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38343 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38345 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38346 cat >>confdefs.h <<\_ACEOF
38347 #define HAVE_BROKEN_SWPRINTF_DECL 1
38353 wchar_headers="#include <stdio.h>
38354 #include <wchar.h>"
38358 for ac_header in widec.h
38360 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38361 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38364 echo $ECHO_N "(cached) $ECHO_C" >&6
38366 cat >conftest.$ac_ext <<_ACEOF
38369 cat confdefs.h >>conftest.$ac_ext
38370 cat >>conftest.$ac_ext <<_ACEOF
38371 /* end confdefs.h. */
38372 $ac_includes_default
38374 #include <$ac_header>
38376 rm -f conftest.$ac_objext
38377 if { (ac_try="$ac_compile"
38378 case "(($ac_try" in
38379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38380 *) ac_try_echo=$ac_try;;
38382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38383 (eval "$ac_compile") 2>conftest.er1
38385 grep -v '^ *+' conftest.er1 >conftest.err
38387 cat conftest.err >&5
38388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38389 (exit $ac_status); } && {
38390 test -z "$ac_c_werror_flag" ||
38391 test ! -s conftest.err
38392 } && test -s conftest.$ac_objext; then
38393 eval "$as_ac_Header=yes"
38395 echo "$as_me: failed program was:" >&5
38396 sed 's/^/| /' conftest.$ac_ext >&5
38398 eval "$as_ac_Header=no"
38401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38403 ac_res=`eval echo '${'$as_ac_Header'}'`
38404 { echo "$as_me:$LINENO: result: $ac_res" >&5
38405 echo "${ECHO_T}$ac_res" >&6; }
38406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38407 cat >>confdefs.h <<_ACEOF
38408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38415 if test "$ac_cv_header_widec_h" = "yes"; then
38416 wchar_headers="$wchar_headers
38417 #include <widec.h>"
38422 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38424 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38425 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38426 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38427 echo $ECHO_N "(cached) $ECHO_C" >&6
38430 cat >conftest.$ac_ext <<_ACEOF
38434 cat confdefs.h >>conftest.$ac_ext
38435 cat >>conftest.$ac_ext <<_ACEOF
38436 /* end confdefs.h. */
38439 $ac_includes_default
38455 rm -f conftest.$ac_objext conftest$ac_exeext
38456 if { (ac_try="$ac_link"
38457 case "(($ac_try" in
38458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38459 *) ac_try_echo=$ac_try;;
38461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38462 (eval "$ac_link") 2>conftest.er1
38464 grep -v '^ *+' conftest.er1 >conftest.err
38466 cat conftest.err >&5
38467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38468 (exit $ac_status); } && {
38469 test -z "$ac_c_werror_flag" ||
38470 test ! -s conftest.err
38471 } && test -s conftest$ac_exeext &&
38472 $as_test_x conftest$ac_exeext; then
38473 eval wx_cv_func_$wx_func=yes
38475 echo "$as_me: failed program was:" >&5
38476 sed 's/^/| /' conftest.$ac_ext >&5
38478 eval wx_cv_func_$wx_func=no
38481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38482 conftest$ac_exeext conftest.$ac_ext
38485 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38486 { echo "$as_me:$LINENO: result: $ac_res" >&5
38487 echo "${ECHO_T}$ac_res" >&6; }
38489 if eval test \$wx_cv_func_$wx_func = yes
38491 cat >>confdefs.h <<_ACEOF
38492 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38503 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38504 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38505 cat >conftest.$ac_ext <<_ACEOF
38508 cat confdefs.h >>conftest.$ac_ext
38509 cat >>conftest.$ac_ext <<_ACEOF
38510 /* end confdefs.h. */
38520 rm -f conftest.$ac_objext
38521 if { (ac_try="$ac_compile"
38522 case "(($ac_try" in
38523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38524 *) ac_try_echo=$ac_try;;
38526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38527 (eval "$ac_compile") 2>conftest.er1
38529 grep -v '^ *+' conftest.er1 >conftest.err
38531 cat conftest.err >&5
38532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38533 (exit $ac_status); } && {
38534 test -z "$ac_c_werror_flag" ||
38535 test ! -s conftest.err
38536 } && test -s conftest.$ac_objext; then
38537 { echo "$as_me:$LINENO: result: yes" >&5
38538 echo "${ECHO_T}yes" >&6; }
38539 cat >>confdefs.h <<\_ACEOF
38540 #define HAVE__VSNWPRINTF 1
38544 echo "$as_me: failed program was:" >&5
38545 sed 's/^/| /' conftest.$ac_ext >&5
38547 { echo "$as_me:$LINENO: result: no" >&5
38548 echo "${ECHO_T}no" >&6; }
38551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38554 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38556 for wx_func in fnmatch
38558 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38559 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38560 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38561 echo $ECHO_N "(cached) $ECHO_C" >&6
38564 cat >conftest.$ac_ext <<_ACEOF
38568 cat confdefs.h >>conftest.$ac_ext
38569 cat >>conftest.$ac_ext <<_ACEOF
38570 /* end confdefs.h. */
38572 #include <fnmatch.h>
38573 $ac_includes_default
38589 rm -f conftest.$ac_objext conftest$ac_exeext
38590 if { (ac_try="$ac_link"
38591 case "(($ac_try" in
38592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38593 *) ac_try_echo=$ac_try;;
38595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38596 (eval "$ac_link") 2>conftest.er1
38598 grep -v '^ *+' conftest.er1 >conftest.err
38600 cat conftest.err >&5
38601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38602 (exit $ac_status); } && {
38603 test -z "$ac_c_werror_flag" ||
38604 test ! -s conftest.err
38605 } && test -s conftest$ac_exeext &&
38606 $as_test_x conftest$ac_exeext; then
38607 eval wx_cv_func_$wx_func=yes
38609 echo "$as_me: failed program was:" >&5
38610 sed 's/^/| /' conftest.$ac_ext >&5
38612 eval wx_cv_func_$wx_func=no
38615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38616 conftest$ac_exeext conftest.$ac_ext
38619 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38620 { echo "$as_me:$LINENO: result: $ac_res" >&5
38621 echo "${ECHO_T}$ac_res" >&6; }
38623 if eval test \$wx_cv_func_$wx_func = yes
38625 cat >>confdefs.h <<_ACEOF
38626 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38638 if test "$wxUSE_FILE" = "yes"; then
38640 for wx_func in fsync
38642 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38643 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38644 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38645 echo $ECHO_N "(cached) $ECHO_C" >&6
38648 cat >conftest.$ac_ext <<_ACEOF
38652 cat confdefs.h >>conftest.$ac_ext
38653 cat >>conftest.$ac_ext <<_ACEOF
38654 /* end confdefs.h. */
38657 $ac_includes_default
38673 rm -f conftest.$ac_objext conftest$ac_exeext
38674 if { (ac_try="$ac_link"
38675 case "(($ac_try" in
38676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38677 *) ac_try_echo=$ac_try;;
38679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38680 (eval "$ac_link") 2>conftest.er1
38682 grep -v '^ *+' conftest.er1 >conftest.err
38684 cat conftest.err >&5
38685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38686 (exit $ac_status); } && {
38687 test -z "$ac_c_werror_flag" ||
38688 test ! -s conftest.err
38689 } && test -s conftest$ac_exeext &&
38690 $as_test_x conftest$ac_exeext; then
38691 eval wx_cv_func_$wx_func=yes
38693 echo "$as_me: failed program was:" >&5
38694 sed 's/^/| /' conftest.$ac_ext >&5
38696 eval wx_cv_func_$wx_func=no
38699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38700 conftest$ac_exeext conftest.$ac_ext
38703 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38704 { echo "$as_me:$LINENO: result: $ac_res" >&5
38705 echo "${ECHO_T}$ac_res" >&6; }
38707 if eval test \$wx_cv_func_$wx_func = yes
38709 cat >>confdefs.h <<_ACEOF
38710 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38723 ac_cpp='$CXXCPP $CPPFLAGS'
38724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38729 for wx_func in round
38731 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38732 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38733 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38734 echo $ECHO_N "(cached) $ECHO_C" >&6
38737 cat >conftest.$ac_ext <<_ACEOF
38741 cat confdefs.h >>conftest.$ac_ext
38742 cat >>conftest.$ac_ext <<_ACEOF
38743 /* end confdefs.h. */
38746 $ac_includes_default
38762 rm -f conftest.$ac_objext conftest$ac_exeext
38763 if { (ac_try="$ac_link"
38764 case "(($ac_try" in
38765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38766 *) ac_try_echo=$ac_try;;
38768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38769 (eval "$ac_link") 2>conftest.er1
38771 grep -v '^ *+' conftest.er1 >conftest.err
38773 cat conftest.err >&5
38774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38775 (exit $ac_status); } && {
38776 test -z "$ac_cxx_werror_flag" ||
38777 test ! -s conftest.err
38778 } && test -s conftest$ac_exeext &&
38779 $as_test_x conftest$ac_exeext; then
38780 eval wx_cv_func_$wx_func=yes
38782 echo "$as_me: failed program was:" >&5
38783 sed 's/^/| /' conftest.$ac_ext >&5
38785 eval wx_cv_func_$wx_func=no
38788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38789 conftest$ac_exeext conftest.$ac_ext
38792 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38793 { echo "$as_me:$LINENO: result: $ac_res" >&5
38794 echo "${ECHO_T}$ac_res" >&6; }
38796 if eval test \$wx_cv_func_$wx_func = yes
38798 cat >>confdefs.h <<_ACEOF
38799 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38810 ac_cpp='$CPP $CPPFLAGS'
38811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38816 if test "$TOOLKIT" != "MSW"; then
38822 # Check whether --with-libiconv-prefix was given.
38823 if test "${with_libiconv_prefix+set}" = set; then
38824 withval=$with_libiconv_prefix;
38825 for dir in `echo "$withval" | tr : ' '`; do
38826 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38827 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38833 { echo "$as_me:$LINENO: checking for iconv" >&5
38834 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38835 if test "${am_cv_func_iconv+set}" = set; then
38836 echo $ECHO_N "(cached) $ECHO_C" >&6
38839 am_cv_func_iconv="no, consider installing GNU libiconv"
38841 cat >conftest.$ac_ext <<_ACEOF
38844 cat confdefs.h >>conftest.$ac_ext
38845 cat >>conftest.$ac_ext <<_ACEOF
38846 /* end confdefs.h. */
38847 #include <stdlib.h>
38852 iconv_t cd = iconv_open("","");
38853 iconv(cd,NULL,NULL,NULL,NULL);
38859 rm -f conftest.$ac_objext conftest$ac_exeext
38860 if { (ac_try="$ac_link"
38861 case "(($ac_try" in
38862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38863 *) ac_try_echo=$ac_try;;
38865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38866 (eval "$ac_link") 2>conftest.er1
38868 grep -v '^ *+' conftest.er1 >conftest.err
38870 cat conftest.err >&5
38871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38872 (exit $ac_status); } && {
38873 test -z "$ac_c_werror_flag" ||
38874 test ! -s conftest.err
38875 } && test -s conftest$ac_exeext &&
38876 $as_test_x conftest$ac_exeext; then
38877 am_cv_func_iconv=yes
38879 echo "$as_me: failed program was:" >&5
38880 sed 's/^/| /' conftest.$ac_ext >&5
38885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38886 conftest$ac_exeext conftest.$ac_ext
38887 if test "$am_cv_func_iconv" != yes; then
38888 am_save_LIBS="$LIBS"
38889 LIBS="$LIBS -liconv"
38890 cat >conftest.$ac_ext <<_ACEOF
38893 cat confdefs.h >>conftest.$ac_ext
38894 cat >>conftest.$ac_ext <<_ACEOF
38895 /* end confdefs.h. */
38896 #include <stdlib.h>
38901 iconv_t cd = iconv_open("","");
38902 iconv(cd,NULL,NULL,NULL,NULL);
38908 rm -f conftest.$ac_objext conftest$ac_exeext
38909 if { (ac_try="$ac_link"
38910 case "(($ac_try" in
38911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38912 *) ac_try_echo=$ac_try;;
38914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38915 (eval "$ac_link") 2>conftest.er1
38917 grep -v '^ *+' conftest.er1 >conftest.err
38919 cat conftest.err >&5
38920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38921 (exit $ac_status); } && {
38922 test -z "$ac_c_werror_flag" ||
38923 test ! -s conftest.err
38924 } && test -s conftest$ac_exeext &&
38925 $as_test_x conftest$ac_exeext; then
38926 am_cv_lib_iconv=yes
38927 am_cv_func_iconv=yes
38929 echo "$as_me: failed program was:" >&5
38930 sed 's/^/| /' conftest.$ac_ext >&5
38935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38936 conftest$ac_exeext conftest.$ac_ext
38937 LIBS="$am_save_LIBS"
38941 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38942 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38943 if test "$am_cv_func_iconv" = yes; then
38945 cat >>confdefs.h <<\_ACEOF
38946 #define HAVE_ICONV 1
38949 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38950 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38951 if test "${wx_cv_func_iconv_const+set}" = set; then
38952 echo $ECHO_N "(cached) $ECHO_C" >&6
38954 cat >conftest.$ac_ext <<_ACEOF
38957 cat confdefs.h >>conftest.$ac_ext
38958 cat >>conftest.$ac_ext <<_ACEOF
38959 /* end confdefs.h. */
38961 #include <stdlib.h>
38967 #if defined(__STDC__) || defined(__cplusplus)
38968 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38981 rm -f conftest.$ac_objext
38982 if { (ac_try="$ac_compile"
38983 case "(($ac_try" in
38984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38985 *) ac_try_echo=$ac_try;;
38987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38988 (eval "$ac_compile") 2>conftest.er1
38990 grep -v '^ *+' conftest.er1 >conftest.err
38992 cat conftest.err >&5
38993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38994 (exit $ac_status); } && {
38995 test -z "$ac_c_werror_flag" ||
38996 test ! -s conftest.err
38997 } && test -s conftest.$ac_objext; then
38998 wx_cv_func_iconv_const="no"
39000 echo "$as_me: failed program was:" >&5
39001 sed 's/^/| /' conftest.$ac_ext >&5
39003 wx_cv_func_iconv_const="yes"
39007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39010 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
39011 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
39014 if test "x$wx_cv_func_iconv_const" = "xyes"; then
39015 iconv_const="const"
39019 cat >>confdefs.h <<_ACEOF
39020 #define ICONV_CONST $iconv_const
39025 if test "$am_cv_lib_iconv" = yes; then
39030 LIBS="$LIBICONV $LIBS"
39032 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39034 for ac_func in sigaction
39036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39037 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39039 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39040 echo $ECHO_N "(cached) $ECHO_C" >&6
39042 cat >conftest.$ac_ext <<_ACEOF
39045 cat confdefs.h >>conftest.$ac_ext
39046 cat >>conftest.$ac_ext <<_ACEOF
39047 /* end confdefs.h. */
39048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39050 #define $ac_func innocuous_$ac_func
39052 /* System header to define __stub macros and hopefully few prototypes,
39053 which can conflict with char $ac_func (); below.
39054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39055 <limits.h> exists even on freestanding compilers. */
39058 # include <limits.h>
39060 # include <assert.h>
39065 /* Override any GCC internal prototype to avoid an error.
39066 Use char because int might match the return type of a GCC
39067 builtin and then its argument prototype would still apply. */
39072 /* The GNU C library defines this for functions which it implements
39073 to always fail with ENOSYS. Some functions are actually named
39074 something starting with __ and the normal name is an alias. */
39075 #if defined __stub_$ac_func || defined __stub___$ac_func
39082 return $ac_func ();
39087 rm -f conftest.$ac_objext conftest$ac_exeext
39088 if { (ac_try="$ac_link"
39089 case "(($ac_try" in
39090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39091 *) ac_try_echo=$ac_try;;
39093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39094 (eval "$ac_link") 2>conftest.er1
39096 grep -v '^ *+' conftest.er1 >conftest.err
39098 cat conftest.err >&5
39099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39100 (exit $ac_status); } && {
39101 test -z "$ac_c_werror_flag" ||
39102 test ! -s conftest.err
39103 } && test -s conftest$ac_exeext &&
39104 $as_test_x conftest$ac_exeext; then
39105 eval "$as_ac_var=yes"
39107 echo "$as_me: failed program was:" >&5
39108 sed 's/^/| /' conftest.$ac_ext >&5
39110 eval "$as_ac_var=no"
39113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39114 conftest$ac_exeext conftest.$ac_ext
39116 ac_res=`eval echo '${'$as_ac_var'}'`
39117 { echo "$as_me:$LINENO: result: $ac_res" >&5
39118 echo "${ECHO_T}$ac_res" >&6; }
39119 if test `eval echo '${'$as_ac_var'}'` = yes; then
39120 cat >>confdefs.h <<_ACEOF
39121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39128 if test "$ac_cv_func_sigaction" = "no"; then
39129 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39130 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39131 wxUSE_ON_FATAL_EXCEPTION=no
39134 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39135 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39136 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39137 if test "${wx_cv_type_sa_handler+set}" = set; then
39138 echo $ECHO_N "(cached) $ECHO_C" >&6
39142 ac_cpp='$CXXCPP $CPPFLAGS'
39143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39147 cat >conftest.$ac_ext <<_ACEOF
39150 cat confdefs.h >>conftest.$ac_ext
39151 cat >>conftest.$ac_ext <<_ACEOF
39152 /* end confdefs.h. */
39153 #include <signal.h>
39158 extern void testSigHandler(int);
39160 struct sigaction sa;
39161 sa.sa_handler = testSigHandler;
39167 rm -f conftest.$ac_objext
39168 if { (ac_try="$ac_compile"
39169 case "(($ac_try" in
39170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39171 *) ac_try_echo=$ac_try;;
39173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39174 (eval "$ac_compile") 2>conftest.er1
39176 grep -v '^ *+' conftest.er1 >conftest.err
39178 cat conftest.err >&5
39179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39180 (exit $ac_status); } && {
39181 test -z "$ac_cxx_werror_flag" ||
39182 test ! -s conftest.err
39183 } && test -s conftest.$ac_objext; then
39185 wx_cv_type_sa_handler=int
39188 echo "$as_me: failed program was:" >&5
39189 sed 's/^/| /' conftest.$ac_ext >&5
39192 wx_cv_type_sa_handler=void
39196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39198 ac_cpp='$CPP $CPPFLAGS'
39199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39205 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39206 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39208 cat >>confdefs.h <<_ACEOF
39209 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39215 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39216 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39217 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39218 if test "${wx_cv_func_backtrace+set}" = set; then
39219 echo $ECHO_N "(cached) $ECHO_C" >&6
39223 ac_cpp='$CXXCPP $CPPFLAGS'
39224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39228 cat >conftest.$ac_ext <<_ACEOF
39231 cat confdefs.h >>conftest.$ac_ext
39232 cat >>conftest.$ac_ext <<_ACEOF
39233 /* end confdefs.h. */
39234 #include <execinfo.h>
39242 backtrace(trace, 1);
39243 messages = backtrace_symbols(trace, 1);
39249 rm -f conftest.$ac_objext
39250 if { (ac_try="$ac_compile"
39251 case "(($ac_try" in
39252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39253 *) ac_try_echo=$ac_try;;
39255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39256 (eval "$ac_compile") 2>conftest.er1
39258 grep -v '^ *+' conftest.er1 >conftest.err
39260 cat conftest.err >&5
39261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39262 (exit $ac_status); } && {
39263 test -z "$ac_cxx_werror_flag" ||
39264 test ! -s conftest.err
39265 } && test -s conftest.$ac_objext; then
39266 wx_cv_func_backtrace=yes
39268 echo "$as_me: failed program was:" >&5
39269 sed 's/^/| /' conftest.$ac_ext >&5
39271 wx_cv_func_backtrace=no
39275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39277 ac_cpp='$CPP $CPPFLAGS'
39278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39285 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39286 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39289 if test "$wx_cv_func_backtrace" = "no"; then
39290 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39291 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39292 wxUSE_STACKWALKER=no
39294 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39295 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39296 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39297 echo $ECHO_N "(cached) $ECHO_C" >&6
39301 ac_cpp='$CXXCPP $CPPFLAGS'
39302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39306 cat >conftest.$ac_ext <<_ACEOF
39309 cat confdefs.h >>conftest.$ac_ext
39310 cat >>conftest.$ac_ext <<_ACEOF
39311 /* end confdefs.h. */
39312 #include <cxxabi.h>
39318 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39324 rm -f conftest.$ac_objext conftest$ac_exeext
39325 if { (ac_try="$ac_link"
39326 case "(($ac_try" in
39327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39328 *) ac_try_echo=$ac_try;;
39330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39331 (eval "$ac_link") 2>conftest.er1
39333 grep -v '^ *+' conftest.er1 >conftest.err
39335 cat conftest.err >&5
39336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39337 (exit $ac_status); } && {
39338 test -z "$ac_cxx_werror_flag" ||
39339 test ! -s conftest.err
39340 } && test -s conftest$ac_exeext &&
39341 $as_test_x conftest$ac_exeext; then
39342 wx_cv_func_cxa_demangle=yes
39344 echo "$as_me: failed program was:" >&5
39345 sed 's/^/| /' conftest.$ac_ext >&5
39347 wx_cv_func_cxa_demangle=no
39351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39352 conftest$ac_exeext conftest.$ac_ext
39354 ac_cpp='$CPP $CPPFLAGS'
39355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39362 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39363 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39365 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39366 cat >>confdefs.h <<\_ACEOF
39367 #define HAVE_CXA_DEMANGLE 1
39374 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39375 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39376 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39377 wxUSE_STACKWALKER=no
39383 for ac_func in mkstemp mktemp
39385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39386 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39388 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39389 echo $ECHO_N "(cached) $ECHO_C" >&6
39391 cat >conftest.$ac_ext <<_ACEOF
39394 cat confdefs.h >>conftest.$ac_ext
39395 cat >>conftest.$ac_ext <<_ACEOF
39396 /* end confdefs.h. */
39397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39399 #define $ac_func innocuous_$ac_func
39401 /* System header to define __stub macros and hopefully few prototypes,
39402 which can conflict with char $ac_func (); below.
39403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39404 <limits.h> exists even on freestanding compilers. */
39407 # include <limits.h>
39409 # include <assert.h>
39414 /* Override any GCC internal prototype to avoid an error.
39415 Use char because int might match the return type of a GCC
39416 builtin and then its argument prototype would still apply. */
39421 /* The GNU C library defines this for functions which it implements
39422 to always fail with ENOSYS. Some functions are actually named
39423 something starting with __ and the normal name is an alias. */
39424 #if defined __stub_$ac_func || defined __stub___$ac_func
39431 return $ac_func ();
39436 rm -f conftest.$ac_objext conftest$ac_exeext
39437 if { (ac_try="$ac_link"
39438 case "(($ac_try" in
39439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39440 *) ac_try_echo=$ac_try;;
39442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39443 (eval "$ac_link") 2>conftest.er1
39445 grep -v '^ *+' conftest.er1 >conftest.err
39447 cat conftest.err >&5
39448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39449 (exit $ac_status); } && {
39450 test -z "$ac_c_werror_flag" ||
39451 test ! -s conftest.err
39452 } && test -s conftest$ac_exeext &&
39453 $as_test_x conftest$ac_exeext; then
39454 eval "$as_ac_var=yes"
39456 echo "$as_me: failed program was:" >&5
39457 sed 's/^/| /' conftest.$ac_ext >&5
39459 eval "$as_ac_var=no"
39462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39463 conftest$ac_exeext conftest.$ac_ext
39465 ac_res=`eval echo '${'$as_ac_var'}'`
39466 { echo "$as_me:$LINENO: result: $ac_res" >&5
39467 echo "${ECHO_T}$ac_res" >&6; }
39468 if test `eval echo '${'$as_ac_var'}'` = yes; then
39469 cat >>confdefs.h <<_ACEOF
39470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39477 { echo "$as_me:$LINENO: checking for statfs" >&5
39478 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39479 if test "${wx_cv_func_statfs+set}" = set; then
39480 echo $ECHO_N "(cached) $ECHO_C" >&6
39482 cat >conftest.$ac_ext <<_ACEOF
39485 cat confdefs.h >>conftest.$ac_ext
39486 cat >>conftest.$ac_ext <<_ACEOF
39487 /* end confdefs.h. */
39489 #if defined(__BSD__)
39490 #include <sys/param.h>
39491 #include <sys/mount.h>
39493 #include <sys/vfs.h>
39511 rm -f conftest.$ac_objext
39512 if { (ac_try="$ac_compile"
39513 case "(($ac_try" in
39514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39515 *) ac_try_echo=$ac_try;;
39517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39518 (eval "$ac_compile") 2>conftest.er1
39520 grep -v '^ *+' conftest.er1 >conftest.err
39522 cat conftest.err >&5
39523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39524 (exit $ac_status); } && {
39525 test -z "$ac_c_werror_flag" ||
39526 test ! -s conftest.err
39527 } && test -s conftest.$ac_objext; then
39528 wx_cv_func_statfs=yes
39530 echo "$as_me: failed program was:" >&5
39531 sed 's/^/| /' conftest.$ac_ext >&5
39533 wx_cv_func_statfs=no
39537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39540 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39541 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39543 if test "$wx_cv_func_statfs" = "yes"; then
39544 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39545 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39546 if test "${wx_cv_func_statfs_decl+set}" = set; then
39547 echo $ECHO_N "(cached) $ECHO_C" >&6
39550 ac_cpp='$CXXCPP $CPPFLAGS'
39551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39555 cat >conftest.$ac_ext <<_ACEOF
39558 cat confdefs.h >>conftest.$ac_ext
39559 cat >>conftest.$ac_ext <<_ACEOF
39560 /* end confdefs.h. */
39562 #if defined(__BSD__)
39563 #include <sys/param.h>
39564 #include <sys/mount.h>
39566 #include <sys/vfs.h>
39580 rm -f conftest.$ac_objext
39581 if { (ac_try="$ac_compile"
39582 case "(($ac_try" in
39583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39584 *) ac_try_echo=$ac_try;;
39586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39587 (eval "$ac_compile") 2>conftest.er1
39589 grep -v '^ *+' conftest.er1 >conftest.err
39591 cat conftest.err >&5
39592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39593 (exit $ac_status); } && {
39594 test -z "$ac_cxx_werror_flag" ||
39595 test ! -s conftest.err
39596 } && test -s conftest.$ac_objext; then
39597 wx_cv_func_statfs_decl=yes
39599 echo "$as_me: failed program was:" >&5
39600 sed 's/^/| /' conftest.$ac_ext >&5
39602 wx_cv_func_statfs_decl=no
39606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39608 ac_cpp='$CPP $CPPFLAGS'
39609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39615 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39616 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39618 if test "$wx_cv_func_statfs_decl" = "yes"; then
39619 cat >>confdefs.h <<\_ACEOF
39620 #define HAVE_STATFS_DECL 1
39625 wx_cv_type_statvfs_t="struct statfs"
39626 cat >>confdefs.h <<\_ACEOF
39627 #define HAVE_STATFS 1
39631 { echo "$as_me:$LINENO: checking for statvfs" >&5
39632 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39633 if test "${wx_cv_func_statvfs+set}" = set; then
39634 echo $ECHO_N "(cached) $ECHO_C" >&6
39636 cat >conftest.$ac_ext <<_ACEOF
39639 cat confdefs.h >>conftest.$ac_ext
39640 cat >>conftest.$ac_ext <<_ACEOF
39641 /* end confdefs.h. */
39643 #include <stddef.h>
39644 #include <sys/statvfs.h>
39650 statvfs("/", NULL);
39656 rm -f conftest.$ac_objext
39657 if { (ac_try="$ac_compile"
39658 case "(($ac_try" in
39659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39660 *) ac_try_echo=$ac_try;;
39662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39663 (eval "$ac_compile") 2>conftest.er1
39665 grep -v '^ *+' conftest.er1 >conftest.err
39667 cat conftest.err >&5
39668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39669 (exit $ac_status); } && {
39670 test -z "$ac_c_werror_flag" ||
39671 test ! -s conftest.err
39672 } && test -s conftest.$ac_objext; then
39673 wx_cv_func_statvfs=yes
39675 echo "$as_me: failed program was:" >&5
39676 sed 's/^/| /' conftest.$ac_ext >&5
39678 wx_cv_func_statvfs=no
39682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39685 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39686 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39688 if test "$wx_cv_func_statvfs" = "yes"; then
39689 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39690 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39691 if test "${wx_cv_type_statvfs_t+set}" = set; then
39692 echo $ECHO_N "(cached) $ECHO_C" >&6
39695 ac_cpp='$CXXCPP $CPPFLAGS'
39696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39700 cat >conftest.$ac_ext <<_ACEOF
39703 cat confdefs.h >>conftest.$ac_ext
39704 cat >>conftest.$ac_ext <<_ACEOF
39705 /* end confdefs.h. */
39707 #include <sys/statvfs.h>
39724 rm -f conftest.$ac_objext
39725 if { (ac_try="$ac_compile"
39726 case "(($ac_try" in
39727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39728 *) ac_try_echo=$ac_try;;
39730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39731 (eval "$ac_compile") 2>conftest.er1
39733 grep -v '^ *+' conftest.er1 >conftest.err
39735 cat conftest.err >&5
39736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39737 (exit $ac_status); } && {
39738 test -z "$ac_cxx_werror_flag" ||
39739 test ! -s conftest.err
39740 } && test -s conftest.$ac_objext; then
39741 wx_cv_type_statvfs_t=statvfs_t
39743 echo "$as_me: failed program was:" >&5
39744 sed 's/^/| /' conftest.$ac_ext >&5
39747 cat >conftest.$ac_ext <<_ACEOF
39750 cat confdefs.h >>conftest.$ac_ext
39751 cat >>conftest.$ac_ext <<_ACEOF
39752 /* end confdefs.h. */
39754 #include <sys/statvfs.h>
39771 rm -f conftest.$ac_objext
39772 if { (ac_try="$ac_compile"
39773 case "(($ac_try" in
39774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39775 *) ac_try_echo=$ac_try;;
39777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39778 (eval "$ac_compile") 2>conftest.er1
39780 grep -v '^ *+' conftest.er1 >conftest.err
39782 cat conftest.err >&5
39783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39784 (exit $ac_status); } && {
39785 test -z "$ac_cxx_werror_flag" ||
39786 test ! -s conftest.err
39787 } && test -s conftest.$ac_objext; then
39788 wx_cv_type_statvfs_t="struct statvfs"
39790 echo "$as_me: failed program was:" >&5
39791 sed 's/^/| /' conftest.$ac_ext >&5
39793 wx_cv_type_statvfs_t="unknown"
39797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39804 ac_cpp='$CPP $CPPFLAGS'
39805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39811 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39812 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39814 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39815 cat >>confdefs.h <<\_ACEOF
39816 #define HAVE_STATVFS 1
39821 wx_cv_type_statvfs_t="unknown"
39825 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39826 cat >>confdefs.h <<_ACEOF
39827 #define WX_STATFS_T $wx_cv_type_statvfs_t
39831 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39832 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39835 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39838 for ac_func in fcntl flock
39840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39841 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39843 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39844 echo $ECHO_N "(cached) $ECHO_C" >&6
39846 cat >conftest.$ac_ext <<_ACEOF
39849 cat confdefs.h >>conftest.$ac_ext
39850 cat >>conftest.$ac_ext <<_ACEOF
39851 /* end confdefs.h. */
39852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39854 #define $ac_func innocuous_$ac_func
39856 /* System header to define __stub macros and hopefully few prototypes,
39857 which can conflict with char $ac_func (); below.
39858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39859 <limits.h> exists even on freestanding compilers. */
39862 # include <limits.h>
39864 # include <assert.h>
39869 /* Override any GCC internal prototype to avoid an error.
39870 Use char because int might match the return type of a GCC
39871 builtin and then its argument prototype would still apply. */
39876 /* The GNU C library defines this for functions which it implements
39877 to always fail with ENOSYS. Some functions are actually named
39878 something starting with __ and the normal name is an alias. */
39879 #if defined __stub_$ac_func || defined __stub___$ac_func
39886 return $ac_func ();
39891 rm -f conftest.$ac_objext conftest$ac_exeext
39892 if { (ac_try="$ac_link"
39893 case "(($ac_try" in
39894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39895 *) ac_try_echo=$ac_try;;
39897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39898 (eval "$ac_link") 2>conftest.er1
39900 grep -v '^ *+' conftest.er1 >conftest.err
39902 cat conftest.err >&5
39903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39904 (exit $ac_status); } && {
39905 test -z "$ac_c_werror_flag" ||
39906 test ! -s conftest.err
39907 } && test -s conftest$ac_exeext &&
39908 $as_test_x conftest$ac_exeext; then
39909 eval "$as_ac_var=yes"
39911 echo "$as_me: failed program was:" >&5
39912 sed 's/^/| /' conftest.$ac_ext >&5
39914 eval "$as_ac_var=no"
39917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39918 conftest$ac_exeext conftest.$ac_ext
39920 ac_res=`eval echo '${'$as_ac_var'}'`
39921 { echo "$as_me:$LINENO: result: $ac_res" >&5
39922 echo "${ECHO_T}$ac_res" >&6; }
39923 if test `eval echo '${'$as_ac_var'}'` = yes; then
39924 cat >>confdefs.h <<_ACEOF
39925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39932 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39933 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39934 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39935 wxUSE_SNGLINST_CHECKER=no
39940 for ac_func in timegm
39942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39943 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39945 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39946 echo $ECHO_N "(cached) $ECHO_C" >&6
39948 cat >conftest.$ac_ext <<_ACEOF
39951 cat confdefs.h >>conftest.$ac_ext
39952 cat >>conftest.$ac_ext <<_ACEOF
39953 /* end confdefs.h. */
39954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39956 #define $ac_func innocuous_$ac_func
39958 /* System header to define __stub macros and hopefully few prototypes,
39959 which can conflict with char $ac_func (); below.
39960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39961 <limits.h> exists even on freestanding compilers. */
39964 # include <limits.h>
39966 # include <assert.h>
39971 /* Override any GCC internal prototype to avoid an error.
39972 Use char because int might match the return type of a GCC
39973 builtin and then its argument prototype would still apply. */
39978 /* The GNU C library defines this for functions which it implements
39979 to always fail with ENOSYS. Some functions are actually named
39980 something starting with __ and the normal name is an alias. */
39981 #if defined __stub_$ac_func || defined __stub___$ac_func
39988 return $ac_func ();
39993 rm -f conftest.$ac_objext conftest$ac_exeext
39994 if { (ac_try="$ac_link"
39995 case "(($ac_try" in
39996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39997 *) ac_try_echo=$ac_try;;
39999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40000 (eval "$ac_link") 2>conftest.er1
40002 grep -v '^ *+' conftest.er1 >conftest.err
40004 cat conftest.err >&5
40005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40006 (exit $ac_status); } && {
40007 test -z "$ac_c_werror_flag" ||
40008 test ! -s conftest.err
40009 } && test -s conftest$ac_exeext &&
40010 $as_test_x conftest$ac_exeext; then
40011 eval "$as_ac_var=yes"
40013 echo "$as_me: failed program was:" >&5
40014 sed 's/^/| /' conftest.$ac_ext >&5
40016 eval "$as_ac_var=no"
40019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40020 conftest$ac_exeext conftest.$ac_ext
40022 ac_res=`eval echo '${'$as_ac_var'}'`
40023 { echo "$as_me:$LINENO: result: $ac_res" >&5
40024 echo "${ECHO_T}$ac_res" >&6; }
40025 if test `eval echo '${'$as_ac_var'}'` = yes; then
40026 cat >>confdefs.h <<_ACEOF
40027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40036 for ac_func in setenv putenv
40038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40039 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40041 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40042 echo $ECHO_N "(cached) $ECHO_C" >&6
40044 cat >conftest.$ac_ext <<_ACEOF
40047 cat confdefs.h >>conftest.$ac_ext
40048 cat >>conftest.$ac_ext <<_ACEOF
40049 /* end confdefs.h. */
40050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40052 #define $ac_func innocuous_$ac_func
40054 /* System header to define __stub macros and hopefully few prototypes,
40055 which can conflict with char $ac_func (); below.
40056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40057 <limits.h> exists even on freestanding compilers. */
40060 # include <limits.h>
40062 # include <assert.h>
40067 /* Override any GCC internal prototype to avoid an error.
40068 Use char because int might match the return type of a GCC
40069 builtin and then its argument prototype would still apply. */
40074 /* The GNU C library defines this for functions which it implements
40075 to always fail with ENOSYS. Some functions are actually named
40076 something starting with __ and the normal name is an alias. */
40077 #if defined __stub_$ac_func || defined __stub___$ac_func
40084 return $ac_func ();
40089 rm -f conftest.$ac_objext conftest$ac_exeext
40090 if { (ac_try="$ac_link"
40091 case "(($ac_try" in
40092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40093 *) ac_try_echo=$ac_try;;
40095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40096 (eval "$ac_link") 2>conftest.er1
40098 grep -v '^ *+' conftest.er1 >conftest.err
40100 cat conftest.err >&5
40101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40102 (exit $ac_status); } && {
40103 test -z "$ac_c_werror_flag" ||
40104 test ! -s conftest.err
40105 } && test -s conftest$ac_exeext &&
40106 $as_test_x conftest$ac_exeext; then
40107 eval "$as_ac_var=yes"
40109 echo "$as_me: failed program was:" >&5
40110 sed 's/^/| /' conftest.$ac_ext >&5
40112 eval "$as_ac_var=no"
40115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40116 conftest$ac_exeext conftest.$ac_ext
40118 ac_res=`eval echo '${'$as_ac_var'}'`
40119 { echo "$as_me:$LINENO: result: $ac_res" >&5
40120 echo "${ECHO_T}$ac_res" >&6; }
40121 if test `eval echo '${'$as_ac_var'}'` = yes; then
40122 cat >>confdefs.h <<_ACEOF
40123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40130 HAVE_SOME_SLEEP_FUNC=0
40131 if test "$USE_BEOS" = 1; then
40132 cat >>confdefs.h <<\_ACEOF
40133 #define HAVE_SLEEP 1
40136 HAVE_SOME_SLEEP_FUNC=1
40139 if test "$USE_DARWIN" = 1; then
40140 cat >>confdefs.h <<\_ACEOF
40141 #define HAVE_USLEEP 1
40144 HAVE_SOME_SLEEP_FUNC=1
40147 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40150 for ac_func in nanosleep
40152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40153 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40155 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40156 echo $ECHO_N "(cached) $ECHO_C" >&6
40158 cat >conftest.$ac_ext <<_ACEOF
40161 cat confdefs.h >>conftest.$ac_ext
40162 cat >>conftest.$ac_ext <<_ACEOF
40163 /* end confdefs.h. */
40164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40166 #define $ac_func innocuous_$ac_func
40168 /* System header to define __stub macros and hopefully few prototypes,
40169 which can conflict with char $ac_func (); below.
40170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40171 <limits.h> exists even on freestanding compilers. */
40174 # include <limits.h>
40176 # include <assert.h>
40181 /* Override any GCC internal prototype to avoid an error.
40182 Use char because int might match the return type of a GCC
40183 builtin and then its argument prototype would still apply. */
40188 /* The GNU C library defines this for functions which it implements
40189 to always fail with ENOSYS. Some functions are actually named
40190 something starting with __ and the normal name is an alias. */
40191 #if defined __stub_$ac_func || defined __stub___$ac_func
40198 return $ac_func ();
40203 rm -f conftest.$ac_objext conftest$ac_exeext
40204 if { (ac_try="$ac_link"
40205 case "(($ac_try" in
40206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40207 *) ac_try_echo=$ac_try;;
40209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40210 (eval "$ac_link") 2>conftest.er1
40212 grep -v '^ *+' conftest.er1 >conftest.err
40214 cat conftest.err >&5
40215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40216 (exit $ac_status); } && {
40217 test -z "$ac_c_werror_flag" ||
40218 test ! -s conftest.err
40219 } && test -s conftest$ac_exeext &&
40220 $as_test_x conftest$ac_exeext; then
40221 eval "$as_ac_var=yes"
40223 echo "$as_me: failed program was:" >&5
40224 sed 's/^/| /' conftest.$ac_ext >&5
40226 eval "$as_ac_var=no"
40229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40230 conftest$ac_exeext conftest.$ac_ext
40232 ac_res=`eval echo '${'$as_ac_var'}'`
40233 { echo "$as_me:$LINENO: result: $ac_res" >&5
40234 echo "${ECHO_T}$ac_res" >&6; }
40235 if test `eval echo '${'$as_ac_var'}'` = yes; then
40236 cat >>confdefs.h <<_ACEOF
40237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40239 cat >>confdefs.h <<\_ACEOF
40240 #define HAVE_NANOSLEEP 1
40245 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40246 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40247 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40248 echo $ECHO_N "(cached) $ECHO_C" >&6
40250 ac_check_lib_save_LIBS=$LIBS
40251 LIBS="-lposix4 $LIBS"
40252 cat >conftest.$ac_ext <<_ACEOF
40255 cat confdefs.h >>conftest.$ac_ext
40256 cat >>conftest.$ac_ext <<_ACEOF
40257 /* end confdefs.h. */
40259 /* Override any GCC internal prototype to avoid an error.
40260 Use char because int might match the return type of a GCC
40261 builtin and then its argument prototype would still apply. */
40269 return nanosleep ();
40274 rm -f conftest.$ac_objext conftest$ac_exeext
40275 if { (ac_try="$ac_link"
40276 case "(($ac_try" in
40277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40278 *) ac_try_echo=$ac_try;;
40280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40281 (eval "$ac_link") 2>conftest.er1
40283 grep -v '^ *+' conftest.er1 >conftest.err
40285 cat conftest.err >&5
40286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40287 (exit $ac_status); } && {
40288 test -z "$ac_c_werror_flag" ||
40289 test ! -s conftest.err
40290 } && test -s conftest$ac_exeext &&
40291 $as_test_x conftest$ac_exeext; then
40292 ac_cv_lib_posix4_nanosleep=yes
40294 echo "$as_me: failed program was:" >&5
40295 sed 's/^/| /' conftest.$ac_ext >&5
40297 ac_cv_lib_posix4_nanosleep=no
40300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40301 conftest$ac_exeext conftest.$ac_ext
40302 LIBS=$ac_check_lib_save_LIBS
40304 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40305 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40306 if test $ac_cv_lib_posix4_nanosleep = yes; then
40308 cat >>confdefs.h <<\_ACEOF
40309 #define HAVE_NANOSLEEP 1
40312 POSIX4_LINK=" -lposix4"
40317 for wx_func in usleep
40319 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40320 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40321 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40322 echo $ECHO_N "(cached) $ECHO_C" >&6
40325 cat >conftest.$ac_ext <<_ACEOF
40329 cat confdefs.h >>conftest.$ac_ext
40330 cat >>conftest.$ac_ext <<_ACEOF
40331 /* end confdefs.h. */
40334 $ac_includes_default
40350 rm -f conftest.$ac_objext conftest$ac_exeext
40351 if { (ac_try="$ac_link"
40352 case "(($ac_try" in
40353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40354 *) ac_try_echo=$ac_try;;
40356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40357 (eval "$ac_link") 2>conftest.er1
40359 grep -v '^ *+' conftest.er1 >conftest.err
40361 cat conftest.err >&5
40362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40363 (exit $ac_status); } && {
40364 test -z "$ac_c_werror_flag" ||
40365 test ! -s conftest.err
40366 } && test -s conftest$ac_exeext &&
40367 $as_test_x conftest$ac_exeext; then
40368 eval wx_cv_func_$wx_func=yes
40370 echo "$as_me: failed program was:" >&5
40371 sed 's/^/| /' conftest.$ac_ext >&5
40373 eval wx_cv_func_$wx_func=no
40376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40377 conftest$ac_exeext conftest.$ac_ext
40380 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40381 { echo "$as_me:$LINENO: result: $ac_res" >&5
40382 echo "${ECHO_T}$ac_res" >&6; }
40384 if eval test \$wx_cv_func_$wx_func = yes
40386 cat >>confdefs.h <<_ACEOF
40387 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40393 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40394 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40411 for wx_func in uname
40413 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40414 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40415 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40416 echo $ECHO_N "(cached) $ECHO_C" >&6
40419 cat >conftest.$ac_ext <<_ACEOF
40423 cat confdefs.h >>conftest.$ac_ext
40424 cat >>conftest.$ac_ext <<_ACEOF
40425 /* end confdefs.h. */
40427 #include <sys/utsname.h>
40428 $ac_includes_default
40444 rm -f conftest.$ac_objext conftest$ac_exeext
40445 if { (ac_try="$ac_link"
40446 case "(($ac_try" in
40447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40448 *) ac_try_echo=$ac_try;;
40450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40451 (eval "$ac_link") 2>conftest.er1
40453 grep -v '^ *+' conftest.er1 >conftest.err
40455 cat conftest.err >&5
40456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40457 (exit $ac_status); } && {
40458 test -z "$ac_c_werror_flag" ||
40459 test ! -s conftest.err
40460 } && test -s conftest$ac_exeext &&
40461 $as_test_x conftest$ac_exeext; then
40462 eval wx_cv_func_$wx_func=yes
40464 echo "$as_me: failed program was:" >&5
40465 sed 's/^/| /' conftest.$ac_ext >&5
40467 eval wx_cv_func_$wx_func=no
40470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40471 conftest$ac_exeext conftest.$ac_ext
40474 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40475 { echo "$as_me:$LINENO: result: $ac_res" >&5
40476 echo "${ECHO_T}$ac_res" >&6; }
40478 if eval test \$wx_cv_func_$wx_func = yes
40480 cat >>confdefs.h <<_ACEOF
40481 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40491 if test "$wx_cv_func_uname" != yes; then
40493 for wx_func in gethostname
40495 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40496 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40497 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40498 echo $ECHO_N "(cached) $ECHO_C" >&6
40501 cat >conftest.$ac_ext <<_ACEOF
40505 cat confdefs.h >>conftest.$ac_ext
40506 cat >>conftest.$ac_ext <<_ACEOF
40507 /* end confdefs.h. */
40510 $ac_includes_default
40526 rm -f conftest.$ac_objext conftest$ac_exeext
40527 if { (ac_try="$ac_link"
40528 case "(($ac_try" in
40529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40530 *) ac_try_echo=$ac_try;;
40532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40533 (eval "$ac_link") 2>conftest.er1
40535 grep -v '^ *+' conftest.er1 >conftest.err
40537 cat conftest.err >&5
40538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40539 (exit $ac_status); } && {
40540 test -z "$ac_c_werror_flag" ||
40541 test ! -s conftest.err
40542 } && test -s conftest$ac_exeext &&
40543 $as_test_x conftest$ac_exeext; then
40544 eval wx_cv_func_$wx_func=yes
40546 echo "$as_me: failed program was:" >&5
40547 sed 's/^/| /' conftest.$ac_ext >&5
40549 eval wx_cv_func_$wx_func=no
40552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40553 conftest$ac_exeext conftest.$ac_ext
40556 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40557 { echo "$as_me:$LINENO: result: $ac_res" >&5
40558 echo "${ECHO_T}$ac_res" >&6; }
40560 if eval test \$wx_cv_func_$wx_func = yes
40562 cat >>confdefs.h <<_ACEOF
40563 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40576 for wx_func in strtok_r
40578 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40579 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40580 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40581 echo $ECHO_N "(cached) $ECHO_C" >&6
40584 cat >conftest.$ac_ext <<_ACEOF
40588 cat confdefs.h >>conftest.$ac_ext
40589 cat >>conftest.$ac_ext <<_ACEOF
40590 /* end confdefs.h. */
40593 $ac_includes_default
40609 rm -f conftest.$ac_objext conftest$ac_exeext
40610 if { (ac_try="$ac_link"
40611 case "(($ac_try" in
40612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40613 *) ac_try_echo=$ac_try;;
40615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40616 (eval "$ac_link") 2>conftest.er1
40618 grep -v '^ *+' conftest.er1 >conftest.err
40620 cat conftest.err >&5
40621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40622 (exit $ac_status); } && {
40623 test -z "$ac_c_werror_flag" ||
40624 test ! -s conftest.err
40625 } && test -s conftest$ac_exeext &&
40626 $as_test_x conftest$ac_exeext; then
40627 eval wx_cv_func_$wx_func=yes
40629 echo "$as_me: failed program was:" >&5
40630 sed 's/^/| /' conftest.$ac_ext >&5
40632 eval wx_cv_func_$wx_func=no
40635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40636 conftest$ac_exeext conftest.$ac_ext
40639 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40640 { echo "$as_me:$LINENO: result: $ac_res" >&5
40641 echo "${ECHO_T}$ac_res" >&6; }
40643 if eval test \$wx_cv_func_$wx_func = yes
40645 cat >>confdefs.h <<_ACEOF
40646 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40659 for ac_func in inet_addr
40661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40662 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40664 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40665 echo $ECHO_N "(cached) $ECHO_C" >&6
40667 cat >conftest.$ac_ext <<_ACEOF
40670 cat confdefs.h >>conftest.$ac_ext
40671 cat >>conftest.$ac_ext <<_ACEOF
40672 /* end confdefs.h. */
40673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40675 #define $ac_func innocuous_$ac_func
40677 /* System header to define __stub macros and hopefully few prototypes,
40678 which can conflict with char $ac_func (); below.
40679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40680 <limits.h> exists even on freestanding compilers. */
40683 # include <limits.h>
40685 # include <assert.h>
40690 /* Override any GCC internal prototype to avoid an error.
40691 Use char because int might match the return type of a GCC
40692 builtin and then its argument prototype would still apply. */
40697 /* The GNU C library defines this for functions which it implements
40698 to always fail with ENOSYS. Some functions are actually named
40699 something starting with __ and the normal name is an alias. */
40700 #if defined __stub_$ac_func || defined __stub___$ac_func
40707 return $ac_func ();
40712 rm -f conftest.$ac_objext conftest$ac_exeext
40713 if { (ac_try="$ac_link"
40714 case "(($ac_try" in
40715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40716 *) ac_try_echo=$ac_try;;
40718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40719 (eval "$ac_link") 2>conftest.er1
40721 grep -v '^ *+' conftest.er1 >conftest.err
40723 cat conftest.err >&5
40724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40725 (exit $ac_status); } && {
40726 test -z "$ac_c_werror_flag" ||
40727 test ! -s conftest.err
40728 } && test -s conftest$ac_exeext &&
40729 $as_test_x conftest$ac_exeext; then
40730 eval "$as_ac_var=yes"
40732 echo "$as_me: failed program was:" >&5
40733 sed 's/^/| /' conftest.$ac_ext >&5
40735 eval "$as_ac_var=no"
40738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40739 conftest$ac_exeext conftest.$ac_ext
40741 ac_res=`eval echo '${'$as_ac_var'}'`
40742 { echo "$as_me:$LINENO: result: $ac_res" >&5
40743 echo "${ECHO_T}$ac_res" >&6; }
40744 if test `eval echo '${'$as_ac_var'}'` = yes; then
40745 cat >>confdefs.h <<_ACEOF
40746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40748 cat >>confdefs.h <<\_ACEOF
40749 #define HAVE_INET_ADDR 1
40754 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40755 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40756 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40757 echo $ECHO_N "(cached) $ECHO_C" >&6
40759 ac_check_lib_save_LIBS=$LIBS
40761 cat >conftest.$ac_ext <<_ACEOF
40764 cat confdefs.h >>conftest.$ac_ext
40765 cat >>conftest.$ac_ext <<_ACEOF
40766 /* end confdefs.h. */
40768 /* Override any GCC internal prototype to avoid an error.
40769 Use char because int might match the return type of a GCC
40770 builtin and then its argument prototype would still apply. */
40778 return inet_addr ();
40783 rm -f conftest.$ac_objext conftest$ac_exeext
40784 if { (ac_try="$ac_link"
40785 case "(($ac_try" in
40786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40787 *) ac_try_echo=$ac_try;;
40789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40790 (eval "$ac_link") 2>conftest.er1
40792 grep -v '^ *+' conftest.er1 >conftest.err
40794 cat conftest.err >&5
40795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40796 (exit $ac_status); } && {
40797 test -z "$ac_c_werror_flag" ||
40798 test ! -s conftest.err
40799 } && test -s conftest$ac_exeext &&
40800 $as_test_x conftest$ac_exeext; then
40801 ac_cv_lib_nsl_inet_addr=yes
40803 echo "$as_me: failed program was:" >&5
40804 sed 's/^/| /' conftest.$ac_ext >&5
40806 ac_cv_lib_nsl_inet_addr=no
40809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40810 conftest$ac_exeext conftest.$ac_ext
40811 LIBS=$ac_check_lib_save_LIBS
40813 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40814 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40815 if test $ac_cv_lib_nsl_inet_addr = yes; then
40819 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40820 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40821 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40822 echo $ECHO_N "(cached) $ECHO_C" >&6
40824 ac_check_lib_save_LIBS=$LIBS
40825 LIBS="-lresolv $LIBS"
40826 cat >conftest.$ac_ext <<_ACEOF
40829 cat confdefs.h >>conftest.$ac_ext
40830 cat >>conftest.$ac_ext <<_ACEOF
40831 /* end confdefs.h. */
40833 /* Override any GCC internal prototype to avoid an error.
40834 Use char because int might match the return type of a GCC
40835 builtin and then its argument prototype would still apply. */
40843 return inet_addr ();
40848 rm -f conftest.$ac_objext conftest$ac_exeext
40849 if { (ac_try="$ac_link"
40850 case "(($ac_try" in
40851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40852 *) ac_try_echo=$ac_try;;
40854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40855 (eval "$ac_link") 2>conftest.er1
40857 grep -v '^ *+' conftest.er1 >conftest.err
40859 cat conftest.err >&5
40860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40861 (exit $ac_status); } && {
40862 test -z "$ac_c_werror_flag" ||
40863 test ! -s conftest.err
40864 } && test -s conftest$ac_exeext &&
40865 $as_test_x conftest$ac_exeext; then
40866 ac_cv_lib_resolv_inet_addr=yes
40868 echo "$as_me: failed program was:" >&5
40869 sed 's/^/| /' conftest.$ac_ext >&5
40871 ac_cv_lib_resolv_inet_addr=no
40874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40875 conftest$ac_exeext conftest.$ac_ext
40876 LIBS=$ac_check_lib_save_LIBS
40878 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40879 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40880 if test $ac_cv_lib_resolv_inet_addr = yes; then
40884 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40885 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40886 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40887 echo $ECHO_N "(cached) $ECHO_C" >&6
40889 ac_check_lib_save_LIBS=$LIBS
40890 LIBS="-lsocket $LIBS"
40891 cat >conftest.$ac_ext <<_ACEOF
40894 cat confdefs.h >>conftest.$ac_ext
40895 cat >>conftest.$ac_ext <<_ACEOF
40896 /* end confdefs.h. */
40898 /* Override any GCC internal prototype to avoid an error.
40899 Use char because int might match the return type of a GCC
40900 builtin and then its argument prototype would still apply. */
40908 return inet_addr ();
40913 rm -f conftest.$ac_objext conftest$ac_exeext
40914 if { (ac_try="$ac_link"
40915 case "(($ac_try" in
40916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40917 *) ac_try_echo=$ac_try;;
40919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40920 (eval "$ac_link") 2>conftest.er1
40922 grep -v '^ *+' conftest.er1 >conftest.err
40924 cat conftest.err >&5
40925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40926 (exit $ac_status); } && {
40927 test -z "$ac_c_werror_flag" ||
40928 test ! -s conftest.err
40929 } && test -s conftest$ac_exeext &&
40930 $as_test_x conftest$ac_exeext; then
40931 ac_cv_lib_socket_inet_addr=yes
40933 echo "$as_me: failed program was:" >&5
40934 sed 's/^/| /' conftest.$ac_ext >&5
40936 ac_cv_lib_socket_inet_addr=no
40939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40940 conftest$ac_exeext conftest.$ac_ext
40941 LIBS=$ac_check_lib_save_LIBS
40943 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40944 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40945 if test $ac_cv_lib_socket_inet_addr = yes; then
40965 for ac_func in inet_aton
40967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40968 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40970 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40971 echo $ECHO_N "(cached) $ECHO_C" >&6
40973 cat >conftest.$ac_ext <<_ACEOF
40976 cat confdefs.h >>conftest.$ac_ext
40977 cat >>conftest.$ac_ext <<_ACEOF
40978 /* end confdefs.h. */
40979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40981 #define $ac_func innocuous_$ac_func
40983 /* System header to define __stub macros and hopefully few prototypes,
40984 which can conflict with char $ac_func (); below.
40985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40986 <limits.h> exists even on freestanding compilers. */
40989 # include <limits.h>
40991 # include <assert.h>
40996 /* Override any GCC internal prototype to avoid an error.
40997 Use char because int might match the return type of a GCC
40998 builtin and then its argument prototype would still apply. */
41003 /* The GNU C library defines this for functions which it implements
41004 to always fail with ENOSYS. Some functions are actually named
41005 something starting with __ and the normal name is an alias. */
41006 #if defined __stub_$ac_func || defined __stub___$ac_func
41013 return $ac_func ();
41018 rm -f conftest.$ac_objext conftest$ac_exeext
41019 if { (ac_try="$ac_link"
41020 case "(($ac_try" in
41021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41022 *) ac_try_echo=$ac_try;;
41024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41025 (eval "$ac_link") 2>conftest.er1
41027 grep -v '^ *+' conftest.er1 >conftest.err
41029 cat conftest.err >&5
41030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41031 (exit $ac_status); } && {
41032 test -z "$ac_c_werror_flag" ||
41033 test ! -s conftest.err
41034 } && test -s conftest$ac_exeext &&
41035 $as_test_x conftest$ac_exeext; then
41036 eval "$as_ac_var=yes"
41038 echo "$as_me: failed program was:" >&5
41039 sed 's/^/| /' conftest.$ac_ext >&5
41041 eval "$as_ac_var=no"
41044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41045 conftest$ac_exeext conftest.$ac_ext
41047 ac_res=`eval echo '${'$as_ac_var'}'`
41048 { echo "$as_me:$LINENO: result: $ac_res" >&5
41049 echo "${ECHO_T}$ac_res" >&6; }
41050 if test `eval echo '${'$as_ac_var'}'` = yes; then
41051 cat >>confdefs.h <<_ACEOF
41052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41054 cat >>confdefs.h <<\_ACEOF
41055 #define HAVE_INET_ATON 1
41060 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41061 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41062 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41063 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41064 echo $ECHO_N "(cached) $ECHO_C" >&6
41066 ac_check_lib_save_LIBS=$LIBS
41067 LIBS="-l$INET_LINK $LIBS"
41068 cat >conftest.$ac_ext <<_ACEOF
41071 cat confdefs.h >>conftest.$ac_ext
41072 cat >>conftest.$ac_ext <<_ACEOF
41073 /* end confdefs.h. */
41075 /* Override any GCC internal prototype to avoid an error.
41076 Use char because int might match the return type of a GCC
41077 builtin and then its argument prototype would still apply. */
41085 return inet_aton ();
41090 rm -f conftest.$ac_objext conftest$ac_exeext
41091 if { (ac_try="$ac_link"
41092 case "(($ac_try" in
41093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41094 *) ac_try_echo=$ac_try;;
41096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41097 (eval "$ac_link") 2>conftest.er1
41099 grep -v '^ *+' conftest.er1 >conftest.err
41101 cat conftest.err >&5
41102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41103 (exit $ac_status); } && {
41104 test -z "$ac_c_werror_flag" ||
41105 test ! -s conftest.err
41106 } && test -s conftest$ac_exeext &&
41107 $as_test_x conftest$ac_exeext; then
41108 eval "$as_ac_Lib=yes"
41110 echo "$as_me: failed program was:" >&5
41111 sed 's/^/| /' conftest.$ac_ext >&5
41113 eval "$as_ac_Lib=no"
41116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41117 conftest$ac_exeext conftest.$ac_ext
41118 LIBS=$ac_check_lib_save_LIBS
41120 ac_res=`eval echo '${'$as_ac_Lib'}'`
41121 { echo "$as_me:$LINENO: result: $ac_res" >&5
41122 echo "${ECHO_T}$ac_res" >&6; }
41123 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41124 cat >>confdefs.h <<\_ACEOF
41125 #define HAVE_INET_ATON 1
41135 if test "x$INET_LINK" != "x"; then
41136 cat >>confdefs.h <<\_ACEOF
41137 #define HAVE_INET_ADDR 1
41140 INET_LINK=" -l$INET_LINK"
41144 for wx_func in fdopen
41146 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41147 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41148 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41149 echo $ECHO_N "(cached) $ECHO_C" >&6
41152 cat >conftest.$ac_ext <<_ACEOF
41156 cat confdefs.h >>conftest.$ac_ext
41157 cat >>conftest.$ac_ext <<_ACEOF
41158 /* end confdefs.h. */
41161 $ac_includes_default
41177 rm -f conftest.$ac_objext conftest$ac_exeext
41178 if { (ac_try="$ac_link"
41179 case "(($ac_try" in
41180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41181 *) ac_try_echo=$ac_try;;
41183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41184 (eval "$ac_link") 2>conftest.er1
41186 grep -v '^ *+' conftest.er1 >conftest.err
41188 cat conftest.err >&5
41189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41190 (exit $ac_status); } && {
41191 test -z "$ac_c_werror_flag" ||
41192 test ! -s conftest.err
41193 } && test -s conftest$ac_exeext &&
41194 $as_test_x conftest$ac_exeext; then
41195 eval wx_cv_func_$wx_func=yes
41197 echo "$as_me: failed program was:" >&5
41198 sed 's/^/| /' conftest.$ac_ext >&5
41200 eval wx_cv_func_$wx_func=no
41203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41204 conftest$ac_exeext conftest.$ac_ext
41207 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41208 { echo "$as_me:$LINENO: result: $ac_res" >&5
41209 echo "${ECHO_T}$ac_res" >&6; }
41211 if eval test \$wx_cv_func_$wx_func = yes
41213 cat >>confdefs.h <<_ACEOF
41214 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41229 cat >confcache <<\_ACEOF
41230 # This file is a shell script that caches the results of configure
41231 # tests run on this system so they can be shared between configure
41232 # scripts and configure runs, see configure's option --config-cache.
41233 # It is not useful on other systems. If it contains results you don't
41234 # want to keep, you may remove or edit it.
41236 # config.status only pays attention to the cache file if you give it
41237 # the --recheck option to rerun configure.
41239 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41240 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41241 # following values.
41245 # The following way of writing the cache mishandles newlines in values,
41246 # but we know of no workaround that is simple, portable, and efficient.
41247 # So, we kill variables containing newlines.
41248 # Ultrix sh set writes to stderr and can't be redirected directly,
41249 # and sets the high bit in the cache file unless we assign to the vars.
41251 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41252 eval ac_val=\$$ac_var
41256 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41257 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41260 _ | IFS | as_nl) ;; #(
41261 *) $as_unset $ac_var ;;
41267 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41268 *${as_nl}ac_space=\ *)
41269 # `set' does not quote correctly, so add quotes (double-quote
41270 # substitution turns \\\\ into \\, and sed turns \\ into \).
41273 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41276 # `set' quotes correctly as required by POSIX, so do not add quotes.
41277 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41286 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41288 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41290 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41291 if test -w "$cache_file"; then
41292 test "x$cache_file" != "x/dev/null" &&
41293 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41294 echo "$as_me: updating cache $cache_file" >&6;}
41295 cat confcache >$cache_file
41297 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41298 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41304 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41310 if test "$wxUSE_THREADS" = "yes" ; then
41311 if test "$USE_BEOS" = 1; then
41312 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41313 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41318 if test "$wxUSE_THREADS" = "yes" ; then
41321 THREAD_OPTS="-pthread"
41322 if test "x$SUNCXX" = xyes; then
41323 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41327 *-*-solaris2* | *-*-sunos4* )
41328 if test "x$GCC" = "xyes"; then
41329 THREAD_OPTS="-pthreads $THREAD_OPTS"
41333 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41335 *-*-darwin* | *-*-cygwin* )
41339 THREAD_OPTS="pthreads"
41342 if test "x$GCC" = "xyes"; then
41343 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41351 if test "x$GCC" = "xyes"; then
41357 if test "x$GCC" != "xyes"; then
41358 THREAD_OPTS="-Ethread"
41363 THREAD_OPTS="$THREAD_OPTS pthread none"
41366 for flag in $THREAD_OPTS; do
41369 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41370 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41374 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41375 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41376 THREADS_CFLAGS="$flag"
41380 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41381 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41382 THREADS_LINK="-l$flag"
41387 save_CFLAGS="$CFLAGS"
41388 LIBS="$THREADS_LINK $LIBS"
41389 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41391 cat >conftest.$ac_ext <<_ACEOF
41394 cat confdefs.h >>conftest.$ac_ext
41395 cat >>conftest.$ac_ext <<_ACEOF
41396 /* end confdefs.h. */
41397 #include <pthread.h>
41401 pthread_create(0,0,0,0);
41406 rm -f conftest.$ac_objext conftest$ac_exeext
41407 if { (ac_try="$ac_link"
41408 case "(($ac_try" in
41409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41410 *) ac_try_echo=$ac_try;;
41412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41413 (eval "$ac_link") 2>conftest.er1
41415 grep -v '^ *+' conftest.er1 >conftest.err
41417 cat conftest.err >&5
41418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41419 (exit $ac_status); } && {
41420 test -z "$ac_c_werror_flag" ||
41421 test ! -s conftest.err
41422 } && test -s conftest$ac_exeext &&
41423 $as_test_x conftest$ac_exeext; then
41426 echo "$as_me: failed program was:" >&5
41427 sed 's/^/| /' conftest.$ac_ext >&5
41432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41433 conftest$ac_exeext conftest.$ac_ext
41436 CFLAGS="$save_CFLAGS"
41438 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41439 echo "${ECHO_T}$THREADS_OK" >&6; }
41440 if test "x$THREADS_OK" = "xyes"; then
41448 if test "x$THREADS_OK" != "xyes"; then
41450 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41451 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41453 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41454 LIBS="$THREADS_LINK $LIBS"
41456 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41457 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41461 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41462 flag="-D_THREAD_SAFE"
41465 flag="-D_THREAD_SAFE"
41468 flag="-D_REENTRANT"
41469 if test "x$GCC" != "xyes"; then
41470 flag="$flag -D_RWSTD_MULTI_THREAD"
41473 *solaris* | alpha*-osf*)
41474 flag="-D_REENTRANT"
41477 { echo "$as_me:$LINENO: result: ${flag}" >&5
41478 echo "${ECHO_T}${flag}" >&6; }
41479 if test "x$flag" != xno; then
41480 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41483 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41487 if test "$wxUSE_THREADS" = "yes" ; then
41489 for ac_func in thr_setconcurrency
41491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41492 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41494 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41495 echo $ECHO_N "(cached) $ECHO_C" >&6
41497 cat >conftest.$ac_ext <<_ACEOF
41500 cat confdefs.h >>conftest.$ac_ext
41501 cat >>conftest.$ac_ext <<_ACEOF
41502 /* end confdefs.h. */
41503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41505 #define $ac_func innocuous_$ac_func
41507 /* System header to define __stub macros and hopefully few prototypes,
41508 which can conflict with char $ac_func (); below.
41509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41510 <limits.h> exists even on freestanding compilers. */
41513 # include <limits.h>
41515 # include <assert.h>
41520 /* Override any GCC internal prototype to avoid an error.
41521 Use char because int might match the return type of a GCC
41522 builtin and then its argument prototype would still apply. */
41527 /* The GNU C library defines this for functions which it implements
41528 to always fail with ENOSYS. Some functions are actually named
41529 something starting with __ and the normal name is an alias. */
41530 #if defined __stub_$ac_func || defined __stub___$ac_func
41537 return $ac_func ();
41542 rm -f conftest.$ac_objext conftest$ac_exeext
41543 if { (ac_try="$ac_link"
41544 case "(($ac_try" in
41545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41546 *) ac_try_echo=$ac_try;;
41548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41549 (eval "$ac_link") 2>conftest.er1
41551 grep -v '^ *+' conftest.er1 >conftest.err
41553 cat conftest.err >&5
41554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41555 (exit $ac_status); } && {
41556 test -z "$ac_c_werror_flag" ||
41557 test ! -s conftest.err
41558 } && test -s conftest$ac_exeext &&
41559 $as_test_x conftest$ac_exeext; then
41560 eval "$as_ac_var=yes"
41562 echo "$as_me: failed program was:" >&5
41563 sed 's/^/| /' conftest.$ac_ext >&5
41565 eval "$as_ac_var=no"
41568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41569 conftest$ac_exeext conftest.$ac_ext
41571 ac_res=`eval echo '${'$as_ac_var'}'`
41572 { echo "$as_me:$LINENO: result: $ac_res" >&5
41573 echo "${ECHO_T}$ac_res" >&6; }
41574 if test `eval echo '${'$as_ac_var'}'` = yes; then
41575 cat >>confdefs.h <<_ACEOF
41576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41583 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41584 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41585 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41586 echo $ECHO_N "(cached) $ECHO_C" >&6
41590 ac_cpp='$CXXCPP $CPPFLAGS'
41591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41595 cat >conftest.$ac_ext <<_ACEOF
41598 cat confdefs.h >>conftest.$ac_ext
41599 cat >>conftest.$ac_ext <<_ACEOF
41600 /* end confdefs.h. */
41601 #include <pthread.h>
41602 void ThreadCleanupFunc(void *p);
41609 pthread_cleanup_push(ThreadCleanupFunc, p);
41610 pthread_cleanup_pop(0);
41616 rm -f conftest.$ac_objext
41617 if { (ac_try="$ac_compile"
41618 case "(($ac_try" in
41619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41620 *) ac_try_echo=$ac_try;;
41622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41623 (eval "$ac_compile") 2>conftest.er1
41625 grep -v '^ *+' conftest.er1 >conftest.err
41627 cat conftest.err >&5
41628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41629 (exit $ac_status); } && {
41630 test -z "$ac_cxx_werror_flag" ||
41631 test ! -s conftest.err
41632 } && test -s conftest.$ac_objext; then
41634 wx_cv_func_pthread_cleanup=yes
41637 echo "$as_me: failed program was:" >&5
41638 sed 's/^/| /' conftest.$ac_ext >&5
41641 wx_cv_func_pthread_cleanup=no
41646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41648 ac_cpp='$CPP $CPPFLAGS'
41649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41655 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41656 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41657 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41658 cat >>confdefs.h <<\_ACEOF
41659 #define wxHAVE_PTHREAD_CLEANUP 1
41665 for ac_header in sched.h
41667 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41668 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41670 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41671 echo $ECHO_N "(cached) $ECHO_C" >&6
41673 cat >conftest.$ac_ext <<_ACEOF
41676 cat confdefs.h >>conftest.$ac_ext
41677 cat >>conftest.$ac_ext <<_ACEOF
41678 /* end confdefs.h. */
41679 $ac_includes_default
41681 #include <$ac_header>
41683 rm -f conftest.$ac_objext
41684 if { (ac_try="$ac_compile"
41685 case "(($ac_try" in
41686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41687 *) ac_try_echo=$ac_try;;
41689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41690 (eval "$ac_compile") 2>conftest.er1
41692 grep -v '^ *+' conftest.er1 >conftest.err
41694 cat conftest.err >&5
41695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41696 (exit $ac_status); } && {
41697 test -z "$ac_c_werror_flag" ||
41698 test ! -s conftest.err
41699 } && test -s conftest.$ac_objext; then
41700 eval "$as_ac_Header=yes"
41702 echo "$as_me: failed program was:" >&5
41703 sed 's/^/| /' conftest.$ac_ext >&5
41705 eval "$as_ac_Header=no"
41708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41710 ac_res=`eval echo '${'$as_ac_Header'}'`
41711 { echo "$as_me:$LINENO: result: $ac_res" >&5
41712 echo "${ECHO_T}$ac_res" >&6; }
41713 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41714 cat >>confdefs.h <<_ACEOF
41715 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41722 if test "$ac_cv_header_sched_h" = "yes"; then
41723 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41724 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41725 if test "${ac_cv_func_sched_yield+set}" = set; then
41726 echo $ECHO_N "(cached) $ECHO_C" >&6
41728 cat >conftest.$ac_ext <<_ACEOF
41731 cat confdefs.h >>conftest.$ac_ext
41732 cat >>conftest.$ac_ext <<_ACEOF
41733 /* end confdefs.h. */
41734 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41736 #define sched_yield innocuous_sched_yield
41738 /* System header to define __stub macros and hopefully few prototypes,
41739 which can conflict with char sched_yield (); below.
41740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41741 <limits.h> exists even on freestanding compilers. */
41744 # include <limits.h>
41746 # include <assert.h>
41751 /* Override any GCC internal prototype to avoid an error.
41752 Use char because int might match the return type of a GCC
41753 builtin and then its argument prototype would still apply. */
41757 char sched_yield ();
41758 /* The GNU C library defines this for functions which it implements
41759 to always fail with ENOSYS. Some functions are actually named
41760 something starting with __ and the normal name is an alias. */
41761 #if defined __stub_sched_yield || defined __stub___sched_yield
41768 return sched_yield ();
41773 rm -f conftest.$ac_objext conftest$ac_exeext
41774 if { (ac_try="$ac_link"
41775 case "(($ac_try" in
41776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41777 *) ac_try_echo=$ac_try;;
41779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41780 (eval "$ac_link") 2>conftest.er1
41782 grep -v '^ *+' conftest.er1 >conftest.err
41784 cat conftest.err >&5
41785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41786 (exit $ac_status); } && {
41787 test -z "$ac_c_werror_flag" ||
41788 test ! -s conftest.err
41789 } && test -s conftest$ac_exeext &&
41790 $as_test_x conftest$ac_exeext; then
41791 ac_cv_func_sched_yield=yes
41793 echo "$as_me: failed program was:" >&5
41794 sed 's/^/| /' conftest.$ac_ext >&5
41796 ac_cv_func_sched_yield=no
41799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41800 conftest$ac_exeext conftest.$ac_ext
41802 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41803 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41804 if test $ac_cv_func_sched_yield = yes; then
41805 cat >>confdefs.h <<\_ACEOF
41806 #define HAVE_SCHED_YIELD 1
41811 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41812 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41813 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41814 echo $ECHO_N "(cached) $ECHO_C" >&6
41816 ac_check_lib_save_LIBS=$LIBS
41817 LIBS="-lposix4 $LIBS"
41818 cat >conftest.$ac_ext <<_ACEOF
41821 cat confdefs.h >>conftest.$ac_ext
41822 cat >>conftest.$ac_ext <<_ACEOF
41823 /* end confdefs.h. */
41825 /* Override any GCC internal prototype to avoid an error.
41826 Use char because int might match the return type of a GCC
41827 builtin and then its argument prototype would still apply. */
41831 char sched_yield ();
41835 return sched_yield ();
41840 rm -f conftest.$ac_objext conftest$ac_exeext
41841 if { (ac_try="$ac_link"
41842 case "(($ac_try" in
41843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41844 *) ac_try_echo=$ac_try;;
41846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41847 (eval "$ac_link") 2>conftest.er1
41849 grep -v '^ *+' conftest.er1 >conftest.err
41851 cat conftest.err >&5
41852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41853 (exit $ac_status); } && {
41854 test -z "$ac_c_werror_flag" ||
41855 test ! -s conftest.err
41856 } && test -s conftest$ac_exeext &&
41857 $as_test_x conftest$ac_exeext; then
41858 ac_cv_lib_posix4_sched_yield=yes
41860 echo "$as_me: failed program was:" >&5
41861 sed 's/^/| /' conftest.$ac_ext >&5
41863 ac_cv_lib_posix4_sched_yield=no
41866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41867 conftest$ac_exeext conftest.$ac_ext
41868 LIBS=$ac_check_lib_save_LIBS
41870 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41871 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41872 if test $ac_cv_lib_posix4_sched_yield = yes; then
41873 cat >>confdefs.h <<\_ACEOF
41874 #define HAVE_SCHED_YIELD 1
41876 POSIX4_LINK=" -lposix4"
41878 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41879 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41890 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41891 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41892 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41893 echo $ECHO_N "(cached) $ECHO_C" >&6
41895 cat >conftest.$ac_ext <<_ACEOF
41898 cat confdefs.h >>conftest.$ac_ext
41899 cat >>conftest.$ac_ext <<_ACEOF
41900 /* end confdefs.h. */
41901 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41903 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41905 /* System header to define __stub macros and hopefully few prototypes,
41906 which can conflict with char pthread_attr_getschedpolicy (); below.
41907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41908 <limits.h> exists even on freestanding compilers. */
41911 # include <limits.h>
41913 # include <assert.h>
41916 #undef pthread_attr_getschedpolicy
41918 /* Override any GCC internal prototype to avoid an error.
41919 Use char because int might match the return type of a GCC
41920 builtin and then its argument prototype would still apply. */
41924 char pthread_attr_getschedpolicy ();
41925 /* The GNU C library defines this for functions which it implements
41926 to always fail with ENOSYS. Some functions are actually named
41927 something starting with __ and the normal name is an alias. */
41928 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41935 return pthread_attr_getschedpolicy ();
41940 rm -f conftest.$ac_objext conftest$ac_exeext
41941 if { (ac_try="$ac_link"
41942 case "(($ac_try" in
41943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41944 *) ac_try_echo=$ac_try;;
41946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41947 (eval "$ac_link") 2>conftest.er1
41949 grep -v '^ *+' conftest.er1 >conftest.err
41951 cat conftest.err >&5
41952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41953 (exit $ac_status); } && {
41954 test -z "$ac_c_werror_flag" ||
41955 test ! -s conftest.err
41956 } && test -s conftest$ac_exeext &&
41957 $as_test_x conftest$ac_exeext; then
41958 ac_cv_func_pthread_attr_getschedpolicy=yes
41960 echo "$as_me: failed program was:" >&5
41961 sed 's/^/| /' conftest.$ac_ext >&5
41963 ac_cv_func_pthread_attr_getschedpolicy=no
41966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41967 conftest$ac_exeext conftest.$ac_ext
41969 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41970 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41971 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41972 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41973 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41974 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41975 echo $ECHO_N "(cached) $ECHO_C" >&6
41977 cat >conftest.$ac_ext <<_ACEOF
41980 cat confdefs.h >>conftest.$ac_ext
41981 cat >>conftest.$ac_ext <<_ACEOF
41982 /* end confdefs.h. */
41983 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41985 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41987 /* System header to define __stub macros and hopefully few prototypes,
41988 which can conflict with char pthread_attr_setschedparam (); below.
41989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41990 <limits.h> exists even on freestanding compilers. */
41993 # include <limits.h>
41995 # include <assert.h>
41998 #undef pthread_attr_setschedparam
42000 /* Override any GCC internal prototype to avoid an error.
42001 Use char because int might match the return type of a GCC
42002 builtin and then its argument prototype would still apply. */
42006 char pthread_attr_setschedparam ();
42007 /* The GNU C library defines this for functions which it implements
42008 to always fail with ENOSYS. Some functions are actually named
42009 something starting with __ and the normal name is an alias. */
42010 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
42017 return pthread_attr_setschedparam ();
42022 rm -f conftest.$ac_objext conftest$ac_exeext
42023 if { (ac_try="$ac_link"
42024 case "(($ac_try" in
42025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42026 *) ac_try_echo=$ac_try;;
42028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42029 (eval "$ac_link") 2>conftest.er1
42031 grep -v '^ *+' conftest.er1 >conftest.err
42033 cat conftest.err >&5
42034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42035 (exit $ac_status); } && {
42036 test -z "$ac_c_werror_flag" ||
42037 test ! -s conftest.err
42038 } && test -s conftest$ac_exeext &&
42039 $as_test_x conftest$ac_exeext; then
42040 ac_cv_func_pthread_attr_setschedparam=yes
42042 echo "$as_me: failed program was:" >&5
42043 sed 's/^/| /' conftest.$ac_ext >&5
42045 ac_cv_func_pthread_attr_setschedparam=no
42048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42049 conftest$ac_exeext conftest.$ac_ext
42051 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42052 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42053 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42054 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42055 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42056 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42057 echo $ECHO_N "(cached) $ECHO_C" >&6
42059 cat >conftest.$ac_ext <<_ACEOF
42062 cat confdefs.h >>conftest.$ac_ext
42063 cat >>conftest.$ac_ext <<_ACEOF
42064 /* end confdefs.h. */
42065 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42067 #define sched_get_priority_max innocuous_sched_get_priority_max
42069 /* System header to define __stub macros and hopefully few prototypes,
42070 which can conflict with char sched_get_priority_max (); below.
42071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42072 <limits.h> exists even on freestanding compilers. */
42075 # include <limits.h>
42077 # include <assert.h>
42080 #undef sched_get_priority_max
42082 /* Override any GCC internal prototype to avoid an error.
42083 Use char because int might match the return type of a GCC
42084 builtin and then its argument prototype would still apply. */
42088 char sched_get_priority_max ();
42089 /* The GNU C library defines this for functions which it implements
42090 to always fail with ENOSYS. Some functions are actually named
42091 something starting with __ and the normal name is an alias. */
42092 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42099 return sched_get_priority_max ();
42104 rm -f conftest.$ac_objext conftest$ac_exeext
42105 if { (ac_try="$ac_link"
42106 case "(($ac_try" in
42107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42108 *) ac_try_echo=$ac_try;;
42110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42111 (eval "$ac_link") 2>conftest.er1
42113 grep -v '^ *+' conftest.er1 >conftest.err
42115 cat conftest.err >&5
42116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42117 (exit $ac_status); } && {
42118 test -z "$ac_c_werror_flag" ||
42119 test ! -s conftest.err
42120 } && test -s conftest$ac_exeext &&
42121 $as_test_x conftest$ac_exeext; then
42122 ac_cv_func_sched_get_priority_max=yes
42124 echo "$as_me: failed program was:" >&5
42125 sed 's/^/| /' conftest.$ac_ext >&5
42127 ac_cv_func_sched_get_priority_max=no
42130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42131 conftest$ac_exeext conftest.$ac_ext
42133 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42134 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42135 if test $ac_cv_func_sched_get_priority_max = yes; then
42138 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42139 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42140 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42141 echo $ECHO_N "(cached) $ECHO_C" >&6
42143 ac_check_lib_save_LIBS=$LIBS
42144 LIBS="-lposix4 $LIBS"
42145 cat >conftest.$ac_ext <<_ACEOF
42148 cat confdefs.h >>conftest.$ac_ext
42149 cat >>conftest.$ac_ext <<_ACEOF
42150 /* end confdefs.h. */
42152 /* Override any GCC internal prototype to avoid an error.
42153 Use char because int might match the return type of a GCC
42154 builtin and then its argument prototype would still apply. */
42158 char sched_get_priority_max ();
42162 return sched_get_priority_max ();
42167 rm -f conftest.$ac_objext conftest$ac_exeext
42168 if { (ac_try="$ac_link"
42169 case "(($ac_try" in
42170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42171 *) ac_try_echo=$ac_try;;
42173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42174 (eval "$ac_link") 2>conftest.er1
42176 grep -v '^ *+' conftest.er1 >conftest.err
42178 cat conftest.err >&5
42179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42180 (exit $ac_status); } && {
42181 test -z "$ac_c_werror_flag" ||
42182 test ! -s conftest.err
42183 } && test -s conftest$ac_exeext &&
42184 $as_test_x conftest$ac_exeext; then
42185 ac_cv_lib_posix4_sched_get_priority_max=yes
42187 echo "$as_me: failed program was:" >&5
42188 sed 's/^/| /' conftest.$ac_ext >&5
42190 ac_cv_lib_posix4_sched_get_priority_max=no
42193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42194 conftest$ac_exeext conftest.$ac_ext
42195 LIBS=$ac_check_lib_save_LIBS
42197 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42198 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42199 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42202 POSIX4_LINK=" -lposix4"
42216 if test "$HAVE_PRIOR_FUNCS" = 1; then
42217 cat >>confdefs.h <<\_ACEOF
42218 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42222 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42223 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42226 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42227 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42228 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42229 echo $ECHO_N "(cached) $ECHO_C" >&6
42231 cat >conftest.$ac_ext <<_ACEOF
42234 cat confdefs.h >>conftest.$ac_ext
42235 cat >>conftest.$ac_ext <<_ACEOF
42236 /* end confdefs.h. */
42237 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42239 #define pthread_cancel innocuous_pthread_cancel
42241 /* System header to define __stub macros and hopefully few prototypes,
42242 which can conflict with char pthread_cancel (); below.
42243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42244 <limits.h> exists even on freestanding compilers. */
42247 # include <limits.h>
42249 # include <assert.h>
42252 #undef pthread_cancel
42254 /* Override any GCC internal prototype to avoid an error.
42255 Use char because int might match the return type of a GCC
42256 builtin and then its argument prototype would still apply. */
42260 char pthread_cancel ();
42261 /* The GNU C library defines this for functions which it implements
42262 to always fail with ENOSYS. Some functions are actually named
42263 something starting with __ and the normal name is an alias. */
42264 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42271 return pthread_cancel ();
42276 rm -f conftest.$ac_objext conftest$ac_exeext
42277 if { (ac_try="$ac_link"
42278 case "(($ac_try" in
42279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42280 *) ac_try_echo=$ac_try;;
42282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42283 (eval "$ac_link") 2>conftest.er1
42285 grep -v '^ *+' conftest.er1 >conftest.err
42287 cat conftest.err >&5
42288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42289 (exit $ac_status); } && {
42290 test -z "$ac_c_werror_flag" ||
42291 test ! -s conftest.err
42292 } && test -s conftest$ac_exeext &&
42293 $as_test_x conftest$ac_exeext; then
42294 ac_cv_func_pthread_cancel=yes
42296 echo "$as_me: failed program was:" >&5
42297 sed 's/^/| /' conftest.$ac_ext >&5
42299 ac_cv_func_pthread_cancel=no
42302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42303 conftest$ac_exeext conftest.$ac_ext
42305 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42306 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42307 if test $ac_cv_func_pthread_cancel = yes; then
42308 cat >>confdefs.h <<\_ACEOF
42309 #define HAVE_PTHREAD_CANCEL 1
42313 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42314 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42318 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42319 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42320 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42321 echo $ECHO_N "(cached) $ECHO_C" >&6
42323 cat >conftest.$ac_ext <<_ACEOF
42326 cat confdefs.h >>conftest.$ac_ext
42327 cat >>conftest.$ac_ext <<_ACEOF
42328 /* end confdefs.h. */
42329 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42331 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42333 /* System header to define __stub macros and hopefully few prototypes,
42334 which can conflict with char pthread_mutex_timedlock (); below.
42335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42336 <limits.h> exists even on freestanding compilers. */
42339 # include <limits.h>
42341 # include <assert.h>
42344 #undef pthread_mutex_timedlock
42346 /* Override any GCC internal prototype to avoid an error.
42347 Use char because int might match the return type of a GCC
42348 builtin and then its argument prototype would still apply. */
42352 char pthread_mutex_timedlock ();
42353 /* The GNU C library defines this for functions which it implements
42354 to always fail with ENOSYS. Some functions are actually named
42355 something starting with __ and the normal name is an alias. */
42356 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42363 return pthread_mutex_timedlock ();
42368 rm -f conftest.$ac_objext conftest$ac_exeext
42369 if { (ac_try="$ac_link"
42370 case "(($ac_try" in
42371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42372 *) ac_try_echo=$ac_try;;
42374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42375 (eval "$ac_link") 2>conftest.er1
42377 grep -v '^ *+' conftest.er1 >conftest.err
42379 cat conftest.err >&5
42380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42381 (exit $ac_status); } && {
42382 test -z "$ac_c_werror_flag" ||
42383 test ! -s conftest.err
42384 } && test -s conftest$ac_exeext &&
42385 $as_test_x conftest$ac_exeext; then
42386 ac_cv_func_pthread_mutex_timedlock=yes
42388 echo "$as_me: failed program was:" >&5
42389 sed 's/^/| /' conftest.$ac_ext >&5
42391 ac_cv_func_pthread_mutex_timedlock=no
42394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42395 conftest$ac_exeext conftest.$ac_ext
42397 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42398 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42399 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42400 cat >>confdefs.h <<\_ACEOF
42401 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42405 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42406 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42410 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42411 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42412 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42413 echo $ECHO_N "(cached) $ECHO_C" >&6
42415 cat >conftest.$ac_ext <<_ACEOF
42418 cat confdefs.h >>conftest.$ac_ext
42419 cat >>conftest.$ac_ext <<_ACEOF
42420 /* end confdefs.h. */
42421 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42423 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42425 /* System header to define __stub macros and hopefully few prototypes,
42426 which can conflict with char pthread_attr_setstacksize (); below.
42427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42428 <limits.h> exists even on freestanding compilers. */
42431 # include <limits.h>
42433 # include <assert.h>
42436 #undef pthread_attr_setstacksize
42438 /* Override any GCC internal prototype to avoid an error.
42439 Use char because int might match the return type of a GCC
42440 builtin and then its argument prototype would still apply. */
42444 char pthread_attr_setstacksize ();
42445 /* The GNU C library defines this for functions which it implements
42446 to always fail with ENOSYS. Some functions are actually named
42447 something starting with __ and the normal name is an alias. */
42448 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42455 return pthread_attr_setstacksize ();
42460 rm -f conftest.$ac_objext conftest$ac_exeext
42461 if { (ac_try="$ac_link"
42462 case "(($ac_try" in
42463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42464 *) ac_try_echo=$ac_try;;
42466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42467 (eval "$ac_link") 2>conftest.er1
42469 grep -v '^ *+' conftest.er1 >conftest.err
42471 cat conftest.err >&5
42472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42473 (exit $ac_status); } && {
42474 test -z "$ac_c_werror_flag" ||
42475 test ! -s conftest.err
42476 } && test -s conftest$ac_exeext &&
42477 $as_test_x conftest$ac_exeext; then
42478 ac_cv_func_pthread_attr_setstacksize=yes
42480 echo "$as_me: failed program was:" >&5
42481 sed 's/^/| /' conftest.$ac_ext >&5
42483 ac_cv_func_pthread_attr_setstacksize=no
42486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42487 conftest$ac_exeext conftest.$ac_ext
42489 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42490 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42491 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42492 cat >>confdefs.h <<\_ACEOF
42493 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42500 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42501 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42502 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42503 echo $ECHO_N "(cached) $ECHO_C" >&6
42506 cat >conftest.$ac_ext <<_ACEOF
42509 cat confdefs.h >>conftest.$ac_ext
42510 cat >>conftest.$ac_ext <<_ACEOF
42511 /* end confdefs.h. */
42512 #include <pthread.h>
42517 pthread_mutexattr_t attr;
42518 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42524 rm -f conftest.$ac_objext
42525 if { (ac_try="$ac_compile"
42526 case "(($ac_try" in
42527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42528 *) ac_try_echo=$ac_try;;
42530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42531 (eval "$ac_compile") 2>conftest.er1
42533 grep -v '^ *+' conftest.er1 >conftest.err
42535 cat conftest.err >&5
42536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42537 (exit $ac_status); } && {
42538 test -z "$ac_c_werror_flag" ||
42539 test ! -s conftest.err
42540 } && test -s conftest.$ac_objext; then
42541 wx_cv_type_pthread_mutexattr_t=yes
42543 echo "$as_me: failed program was:" >&5
42544 sed 's/^/| /' conftest.$ac_ext >&5
42546 wx_cv_type_pthread_mutexattr_t=no
42550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42553 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42554 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42556 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42557 cat >>confdefs.h <<\_ACEOF
42558 #define HAVE_PTHREAD_MUTEXATTR_T 1
42562 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42563 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42564 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42565 echo $ECHO_N "(cached) $ECHO_C" >&6
42568 cat >conftest.$ac_ext <<_ACEOF
42571 cat confdefs.h >>conftest.$ac_ext
42572 cat >>conftest.$ac_ext <<_ACEOF
42573 /* end confdefs.h. */
42574 #include <pthread.h>
42579 pthread_mutexattr_t attr;
42580 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42586 rm -f conftest.$ac_objext
42587 if { (ac_try="$ac_compile"
42588 case "(($ac_try" in
42589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42590 *) ac_try_echo=$ac_try;;
42592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42593 (eval "$ac_compile") 2>conftest.er1
42595 grep -v '^ *+' conftest.er1 >conftest.err
42597 cat conftest.err >&5
42598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42599 (exit $ac_status); } && {
42600 test -z "$ac_c_werror_flag" ||
42601 test ! -s conftest.err
42602 } && test -s conftest.$ac_objext; then
42603 wx_cv_func_pthread_mutexattr_settype_decl=yes
42605 echo "$as_me: failed program was:" >&5
42606 sed 's/^/| /' conftest.$ac_ext >&5
42608 wx_cv_func_pthread_mutexattr_settype_decl=no
42612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42615 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42616 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42617 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42618 cat >>confdefs.h <<\_ACEOF
42619 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42624 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42625 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42626 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42627 echo $ECHO_N "(cached) $ECHO_C" >&6
42630 cat >conftest.$ac_ext <<_ACEOF
42633 cat confdefs.h >>conftest.$ac_ext
42634 cat >>conftest.$ac_ext <<_ACEOF
42635 /* end confdefs.h. */
42636 #include <pthread.h>
42641 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42647 rm -f conftest.$ac_objext
42648 if { (ac_try="$ac_compile"
42649 case "(($ac_try" in
42650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42651 *) ac_try_echo=$ac_try;;
42653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42654 (eval "$ac_compile") 2>conftest.er1
42656 grep -v '^ *+' conftest.er1 >conftest.err
42658 cat conftest.err >&5
42659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42660 (exit $ac_status); } && {
42661 test -z "$ac_c_werror_flag" ||
42662 test ! -s conftest.err
42663 } && test -s conftest.$ac_objext; then
42665 wx_cv_type_pthread_rec_mutex_init=yes
42668 echo "$as_me: failed program was:" >&5
42669 sed 's/^/| /' conftest.$ac_ext >&5
42672 wx_cv_type_pthread_rec_mutex_init=no
42677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42680 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42681 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42682 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42683 cat >>confdefs.h <<\_ACEOF
42684 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42688 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42689 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42695 if test "$wxUSE_THREADS" = "yes" ; then
42698 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42699 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42700 if test "${wx_cv_cflags_mthread+set}" = set; then
42701 echo $ECHO_N "(cached) $ECHO_C" >&6
42704 CFLAGS_OLD="$CFLAGS"
42705 CFLAGS="-mthreads $CFLAGS"
42706 cat >conftest.$ac_ext <<_ACEOF
42709 cat confdefs.h >>conftest.$ac_ext
42710 cat >>conftest.$ac_ext <<_ACEOF
42711 /* end confdefs.h. */
42721 rm -f conftest.$ac_objext
42722 if { (ac_try="$ac_compile"
42723 case "(($ac_try" in
42724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42725 *) ac_try_echo=$ac_try;;
42727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42728 (eval "$ac_compile") 2>conftest.er1
42730 grep -v '^ *+' conftest.er1 >conftest.err
42732 cat conftest.err >&5
42733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42734 (exit $ac_status); } && {
42735 test -z "$ac_c_werror_flag" ||
42736 test ! -s conftest.err
42737 } && test -s conftest.$ac_objext; then
42738 wx_cv_cflags_mthread=yes
42740 echo "$as_me: failed program was:" >&5
42741 sed 's/^/| /' conftest.$ac_ext >&5
42743 wx_cv_cflags_mthread=no
42747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42751 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42752 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42754 if test "$wx_cv_cflags_mthread" = "yes"; then
42755 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42756 LDFLAGS="$LDFLAGS -mthreads"
42758 CFLAGS="$CFLAGS_OLD"
42762 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42763 LDFLAGS="$LDFLAGS -Zmt"
42769 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42770 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42771 if test "${ac_cv_func_localtime_r+set}" = set; then
42772 echo $ECHO_N "(cached) $ECHO_C" >&6
42774 cat >conftest.$ac_ext <<_ACEOF
42777 cat confdefs.h >>conftest.$ac_ext
42778 cat >>conftest.$ac_ext <<_ACEOF
42779 /* end confdefs.h. */
42780 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42782 #define localtime_r innocuous_localtime_r
42784 /* System header to define __stub macros and hopefully few prototypes,
42785 which can conflict with char localtime_r (); below.
42786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42787 <limits.h> exists even on freestanding compilers. */
42790 # include <limits.h>
42792 # include <assert.h>
42797 /* Override any GCC internal prototype to avoid an error.
42798 Use char because int might match the return type of a GCC
42799 builtin and then its argument prototype would still apply. */
42803 char localtime_r ();
42804 /* The GNU C library defines this for functions which it implements
42805 to always fail with ENOSYS. Some functions are actually named
42806 something starting with __ and the normal name is an alias. */
42807 #if defined __stub_localtime_r || defined __stub___localtime_r
42814 return localtime_r ();
42819 rm -f conftest.$ac_objext conftest$ac_exeext
42820 if { (ac_try="$ac_link"
42821 case "(($ac_try" in
42822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42823 *) ac_try_echo=$ac_try;;
42825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42826 (eval "$ac_link") 2>conftest.er1
42828 grep -v '^ *+' conftest.er1 >conftest.err
42830 cat conftest.err >&5
42831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42832 (exit $ac_status); } && {
42833 test -z "$ac_c_werror_flag" ||
42834 test ! -s conftest.err
42835 } && test -s conftest$ac_exeext &&
42836 $as_test_x conftest$ac_exeext; then
42837 ac_cv_func_localtime_r=yes
42839 echo "$as_me: failed program was:" >&5
42840 sed 's/^/| /' conftest.$ac_ext >&5
42842 ac_cv_func_localtime_r=no
42845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42846 conftest$ac_exeext conftest.$ac_ext
42848 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42849 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42850 if test $ac_cv_func_localtime_r = yes; then
42851 cat >>confdefs.h <<\_ACEOF
42852 #define HAVE_LOCALTIME_R 1
42857 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42858 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42859 if test "${ac_cv_func_gmtime_r+set}" = set; then
42860 echo $ECHO_N "(cached) $ECHO_C" >&6
42862 cat >conftest.$ac_ext <<_ACEOF
42865 cat confdefs.h >>conftest.$ac_ext
42866 cat >>conftest.$ac_ext <<_ACEOF
42867 /* end confdefs.h. */
42868 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42870 #define gmtime_r innocuous_gmtime_r
42872 /* System header to define __stub macros and hopefully few prototypes,
42873 which can conflict with char gmtime_r (); below.
42874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42875 <limits.h> exists even on freestanding compilers. */
42878 # include <limits.h>
42880 # include <assert.h>
42885 /* Override any GCC internal prototype to avoid an error.
42886 Use char because int might match the return type of a GCC
42887 builtin and then its argument prototype would still apply. */
42892 /* The GNU C library defines this for functions which it implements
42893 to always fail with ENOSYS. Some functions are actually named
42894 something starting with __ and the normal name is an alias. */
42895 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42902 return gmtime_r ();
42907 rm -f conftest.$ac_objext conftest$ac_exeext
42908 if { (ac_try="$ac_link"
42909 case "(($ac_try" in
42910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42911 *) ac_try_echo=$ac_try;;
42913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42914 (eval "$ac_link") 2>conftest.er1
42916 grep -v '^ *+' conftest.er1 >conftest.err
42918 cat conftest.err >&5
42919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42920 (exit $ac_status); } && {
42921 test -z "$ac_c_werror_flag" ||
42922 test ! -s conftest.err
42923 } && test -s conftest$ac_exeext &&
42924 $as_test_x conftest$ac_exeext; then
42925 ac_cv_func_gmtime_r=yes
42927 echo "$as_me: failed program was:" >&5
42928 sed 's/^/| /' conftest.$ac_ext >&5
42930 ac_cv_func_gmtime_r=no
42933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42934 conftest$ac_exeext conftest.$ac_ext
42936 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42937 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42938 if test $ac_cv_func_gmtime_r = yes; then
42939 cat >>confdefs.h <<\_ACEOF
42940 #define HAVE_GMTIME_R 1
42945 { echo "$as_me:$LINENO: checking for readdir_r" >&5
42946 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
42947 if test "${ac_cv_func_readdir_r+set}" = set; then
42948 echo $ECHO_N "(cached) $ECHO_C" >&6
42950 cat >conftest.$ac_ext <<_ACEOF
42953 cat confdefs.h >>conftest.$ac_ext
42954 cat >>conftest.$ac_ext <<_ACEOF
42955 /* end confdefs.h. */
42956 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
42957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42958 #define readdir_r innocuous_readdir_r
42960 /* System header to define __stub macros and hopefully few prototypes,
42961 which can conflict with char readdir_r (); below.
42962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42963 <limits.h> exists even on freestanding compilers. */
42966 # include <limits.h>
42968 # include <assert.h>
42973 /* Override any GCC internal prototype to avoid an error.
42974 Use char because int might match the return type of a GCC
42975 builtin and then its argument prototype would still apply. */
42980 /* The GNU C library defines this for functions which it implements
42981 to always fail with ENOSYS. Some functions are actually named
42982 something starting with __ and the normal name is an alias. */
42983 #if defined __stub_readdir_r || defined __stub___readdir_r
42990 return readdir_r ();
42995 rm -f conftest.$ac_objext conftest$ac_exeext
42996 if { (ac_try="$ac_link"
42997 case "(($ac_try" in
42998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42999 *) ac_try_echo=$ac_try;;
43001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43002 (eval "$ac_link") 2>conftest.er1
43004 grep -v '^ *+' conftest.er1 >conftest.err
43006 cat conftest.err >&5
43007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43008 (exit $ac_status); } && {
43009 test -z "$ac_c_werror_flag" ||
43010 test ! -s conftest.err
43011 } && test -s conftest$ac_exeext &&
43012 $as_test_x conftest$ac_exeext; then
43013 ac_cv_func_readdir_r=yes
43015 echo "$as_me: failed program was:" >&5
43016 sed 's/^/| /' conftest.$ac_ext >&5
43018 ac_cv_func_readdir_r=no
43021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43022 conftest$ac_exeext conftest.$ac_ext
43024 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
43025 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
43026 if test $ac_cv_func_readdir_r = yes; then
43027 cat >>confdefs.h <<\_ACEOF
43028 #define HAVE_READDIR_R 1
43037 ac_cpp='$CPP $CPPFLAGS'
43038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43042 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43043 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
43045 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
43046 echo $ECHO_N "(cached) $ECHO_C" >&6
43050 ################################################################
43052 ac_cv_func_which_gethostbyname_r=unknown
43055 # ONE ARGUMENT (sanity check)
43058 # This should fail, as there is no variant of gethostbyname_r() that takes
43059 # a single argument. If it actually compiles, then we can assume that
43060 # netdb.h is not declaring the function, and the compiler is thereby
43061 # assuming an implicit prototype. In which case, we're out of luck.
43063 cat >conftest.$ac_ext <<_ACEOF
43066 cat confdefs.h >>conftest.$ac_ext
43067 cat >>conftest.$ac_ext <<_ACEOF
43068 /* end confdefs.h. */
43074 char *name = "www.gnu.org";
43075 (void)gethostbyname_r(name) /* ; */
43081 rm -f conftest.$ac_objext
43082 if { (ac_try="$ac_compile"
43083 case "(($ac_try" in
43084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43085 *) ac_try_echo=$ac_try;;
43087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43088 (eval "$ac_compile") 2>conftest.er1
43090 grep -v '^ *+' conftest.er1 >conftest.err
43092 cat conftest.err >&5
43093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43094 (exit $ac_status); } && {
43095 test -z "$ac_c_werror_flag" ||
43096 test ! -s conftest.err
43097 } && test -s conftest.$ac_objext; then
43098 ac_cv_func_which_gethostbyname_r=no
43100 echo "$as_me: failed program was:" >&5
43101 sed 's/^/| /' conftest.$ac_ext >&5
43106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43113 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43115 cat >conftest.$ac_ext <<_ACEOF
43118 cat confdefs.h >>conftest.$ac_ext
43119 cat >>conftest.$ac_ext <<_ACEOF
43120 /* end confdefs.h. */
43126 char *name = "www.gnu.org";
43127 struct hostent ret, *retp;
43131 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43137 rm -f conftest.$ac_objext
43138 if { (ac_try="$ac_compile"
43139 case "(($ac_try" in
43140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43141 *) ac_try_echo=$ac_try;;
43143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43144 (eval "$ac_compile") 2>conftest.er1
43146 grep -v '^ *+' conftest.er1 >conftest.err
43148 cat conftest.err >&5
43149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43150 (exit $ac_status); } && {
43151 test -z "$ac_c_werror_flag" ||
43152 test ! -s conftest.err
43153 } && test -s conftest.$ac_objext; then
43154 ac_cv_func_which_gethostbyname_r=six
43156 echo "$as_me: failed program was:" >&5
43157 sed 's/^/| /' conftest.$ac_ext >&5
43162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43171 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43173 cat >conftest.$ac_ext <<_ACEOF
43176 cat confdefs.h >>conftest.$ac_ext
43177 cat >>conftest.$ac_ext <<_ACEOF
43178 /* end confdefs.h. */
43184 char *name = "www.gnu.org";
43185 struct hostent ret;
43189 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43195 rm -f conftest.$ac_objext
43196 if { (ac_try="$ac_compile"
43197 case "(($ac_try" in
43198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43199 *) ac_try_echo=$ac_try;;
43201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43202 (eval "$ac_compile") 2>conftest.er1
43204 grep -v '^ *+' conftest.er1 >conftest.err
43206 cat conftest.err >&5
43207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43208 (exit $ac_status); } && {
43209 test -z "$ac_c_werror_flag" ||
43210 test ! -s conftest.err
43211 } && test -s conftest.$ac_objext; then
43212 ac_cv_func_which_gethostbyname_r=five
43214 echo "$as_me: failed program was:" >&5
43215 sed 's/^/| /' conftest.$ac_ext >&5
43220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43226 # (e.g. AIX, HP-UX, Tru64)
43229 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43231 cat >conftest.$ac_ext <<_ACEOF
43234 cat confdefs.h >>conftest.$ac_ext
43235 cat >>conftest.$ac_ext <<_ACEOF
43236 /* end confdefs.h. */
43242 char *name = "www.gnu.org";
43243 struct hostent ret;
43244 struct hostent_data data;
43245 (void)gethostbyname_r(name, &ret, &data) /* ; */
43251 rm -f conftest.$ac_objext
43252 if { (ac_try="$ac_compile"
43253 case "(($ac_try" in
43254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43255 *) ac_try_echo=$ac_try;;
43257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43258 (eval "$ac_compile") 2>conftest.er1
43260 grep -v '^ *+' conftest.er1 >conftest.err
43262 cat conftest.err >&5
43263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43264 (exit $ac_status); } && {
43265 test -z "$ac_c_werror_flag" ||
43266 test ! -s conftest.err
43267 } && test -s conftest.$ac_objext; then
43268 ac_cv_func_which_gethostbyname_r=three
43270 echo "$as_me: failed program was:" >&5
43271 sed 's/^/| /' conftest.$ac_ext >&5
43276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43280 ################################################################
43285 case "$ac_cv_func_which_gethostbyname_r" in
43287 { echo "$as_me:$LINENO: result: three" >&5
43288 echo "${ECHO_T}three" >&6; }
43289 cat >>confdefs.h <<\_ACEOF
43290 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43296 { echo "$as_me:$LINENO: result: five" >&5
43297 echo "${ECHO_T}five" >&6; }
43298 cat >>confdefs.h <<\_ACEOF
43299 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43305 { echo "$as_me:$LINENO: result: six" >&5
43306 echo "${ECHO_T}six" >&6; }
43307 cat >>confdefs.h <<\_ACEOF
43308 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43314 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43315 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43319 { echo "$as_me:$LINENO: result: can't tell" >&5
43320 echo "${ECHO_T}can't tell" >&6; }
43324 { { echo "$as_me:$LINENO: error: internal error" >&5
43325 echo "$as_me: error: internal error" >&2;}
43326 { (exit 1); exit 1; }; }
43331 ac_cpp='$CPP $CPPFLAGS'
43332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43338 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43339 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43340 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43341 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43342 if test "${ac_cv_func_gethostbyname+set}" = set; then
43343 echo $ECHO_N "(cached) $ECHO_C" >&6
43345 cat >conftest.$ac_ext <<_ACEOF
43348 cat confdefs.h >>conftest.$ac_ext
43349 cat >>conftest.$ac_ext <<_ACEOF
43350 /* end confdefs.h. */
43351 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43353 #define gethostbyname innocuous_gethostbyname
43355 /* System header to define __stub macros and hopefully few prototypes,
43356 which can conflict with char gethostbyname (); below.
43357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43358 <limits.h> exists even on freestanding compilers. */
43361 # include <limits.h>
43363 # include <assert.h>
43366 #undef gethostbyname
43368 /* Override any GCC internal prototype to avoid an error.
43369 Use char because int might match the return type of a GCC
43370 builtin and then its argument prototype would still apply. */
43374 char gethostbyname ();
43375 /* The GNU C library defines this for functions which it implements
43376 to always fail with ENOSYS. Some functions are actually named
43377 something starting with __ and the normal name is an alias. */
43378 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43385 return gethostbyname ();
43390 rm -f conftest.$ac_objext conftest$ac_exeext
43391 if { (ac_try="$ac_link"
43392 case "(($ac_try" in
43393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43394 *) ac_try_echo=$ac_try;;
43396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43397 (eval "$ac_link") 2>conftest.er1
43399 grep -v '^ *+' conftest.er1 >conftest.err
43401 cat conftest.err >&5
43402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43403 (exit $ac_status); } && {
43404 test -z "$ac_c_werror_flag" ||
43405 test ! -s conftest.err
43406 } && test -s conftest$ac_exeext &&
43407 $as_test_x conftest$ac_exeext; then
43408 ac_cv_func_gethostbyname=yes
43410 echo "$as_me: failed program was:" >&5
43411 sed 's/^/| /' conftest.$ac_ext >&5
43413 ac_cv_func_gethostbyname=no
43416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43417 conftest$ac_exeext conftest.$ac_ext
43419 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43420 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43421 if test $ac_cv_func_gethostbyname = yes; then
43422 cat >>confdefs.h <<\_ACEOF
43423 #define HAVE_GETHOSTBYNAME 1
43430 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43431 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43432 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43433 echo $ECHO_N "(cached) $ECHO_C" >&6
43437 ac_cpp='$CXXCPP $CPPFLAGS'
43438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43443 cat >conftest.$ac_ext <<_ACEOF
43446 cat confdefs.h >>conftest.$ac_ext
43447 cat >>conftest.$ac_ext <<_ACEOF
43448 /* end confdefs.h. */
43456 struct servent *se, *res;
43459 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43465 rm -f conftest.$ac_objext
43466 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
43480 test ! -s conftest.err
43481 } && test -s conftest.$ac_objext; then
43482 ac_cv_func_which_getservbyname_r=six
43484 echo "$as_me: failed program was:" >&5
43485 sed 's/^/| /' conftest.$ac_ext >&5
43488 cat >conftest.$ac_ext <<_ACEOF
43491 cat confdefs.h >>conftest.$ac_ext
43492 cat >>conftest.$ac_ext <<_ACEOF
43493 /* end confdefs.h. */
43501 struct servent *se;
43504 (void) getservbyname_r(name, proto, se, buffer, buflen)
43510 rm -f conftest.$ac_objext
43511 if { (ac_try="$ac_compile"
43512 case "(($ac_try" in
43513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43514 *) ac_try_echo=$ac_try;;
43516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43517 (eval "$ac_compile") 2>conftest.er1
43519 grep -v '^ *+' conftest.er1 >conftest.err
43521 cat conftest.err >&5
43522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43523 (exit $ac_status); } && {
43524 test -z "$ac_cxx_werror_flag" ||
43525 test ! -s conftest.err
43526 } && test -s conftest.$ac_objext; then
43527 ac_cv_func_which_getservbyname_r=five
43529 echo "$as_me: failed program was:" >&5
43530 sed 's/^/| /' conftest.$ac_ext >&5
43533 cat >conftest.$ac_ext <<_ACEOF
43536 cat confdefs.h >>conftest.$ac_ext
43537 cat >>conftest.$ac_ext <<_ACEOF
43538 /* end confdefs.h. */
43546 struct servent *se;
43547 struct servent_data data;
43548 (void) getservbyname_r(name, proto, se, &data);
43554 rm -f conftest.$ac_objext
43555 if { (ac_try="$ac_compile"
43556 case "(($ac_try" in
43557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43558 *) ac_try_echo=$ac_try;;
43560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43561 (eval "$ac_compile") 2>conftest.er1
43563 grep -v '^ *+' conftest.er1 >conftest.err
43565 cat conftest.err >&5
43566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43567 (exit $ac_status); } && {
43568 test -z "$ac_cxx_werror_flag" ||
43569 test ! -s conftest.err
43570 } && test -s conftest.$ac_objext; then
43571 ac_cv_func_which_getservbyname_r=four
43573 echo "$as_me: failed program was:" >&5
43574 sed 's/^/| /' conftest.$ac_ext >&5
43576 ac_cv_func_which_getservbyname_r=no
43580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43592 ac_cpp='$CPP $CPPFLAGS'
43593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43600 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43601 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43603 if test $ac_cv_func_which_getservbyname_r = six; then
43604 cat >>confdefs.h <<\_ACEOF
43605 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43608 elif test $ac_cv_func_which_getservbyname_r = five; then
43609 cat >>confdefs.h <<\_ACEOF
43610 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43613 elif test $ac_cv_func_which_getservbyname_r = four; then
43614 cat >>confdefs.h <<\_ACEOF
43615 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43621 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43622 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43624 for ac_func in getservbyname
43626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43627 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43629 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43630 echo $ECHO_N "(cached) $ECHO_C" >&6
43632 cat >conftest.$ac_ext <<_ACEOF
43635 cat confdefs.h >>conftest.$ac_ext
43636 cat >>conftest.$ac_ext <<_ACEOF
43637 /* end confdefs.h. */
43638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43640 #define $ac_func innocuous_$ac_func
43642 /* System header to define __stub macros and hopefully few prototypes,
43643 which can conflict with char $ac_func (); below.
43644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43645 <limits.h> exists even on freestanding compilers. */
43648 # include <limits.h>
43650 # include <assert.h>
43655 /* Override any GCC internal prototype to avoid an error.
43656 Use char because int might match the return type of a GCC
43657 builtin and then its argument prototype would still apply. */
43662 /* The GNU C library defines this for functions which it implements
43663 to always fail with ENOSYS. Some functions are actually named
43664 something starting with __ and the normal name is an alias. */
43665 #if defined __stub_$ac_func || defined __stub___$ac_func
43672 return $ac_func ();
43677 rm -f conftest.$ac_objext conftest$ac_exeext
43678 if { (ac_try="$ac_link"
43679 case "(($ac_try" in
43680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43681 *) ac_try_echo=$ac_try;;
43683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43684 (eval "$ac_link") 2>conftest.er1
43686 grep -v '^ *+' conftest.er1 >conftest.err
43688 cat conftest.err >&5
43689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43690 (exit $ac_status); } && {
43691 test -z "$ac_c_werror_flag" ||
43692 test ! -s conftest.err
43693 } && test -s conftest$ac_exeext &&
43694 $as_test_x conftest$ac_exeext; then
43695 eval "$as_ac_var=yes"
43697 echo "$as_me: failed program was:" >&5
43698 sed 's/^/| /' conftest.$ac_ext >&5
43700 eval "$as_ac_var=no"
43703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43704 conftest$ac_exeext conftest.$ac_ext
43706 ac_res=`eval echo '${'$as_ac_var'}'`
43707 { echo "$as_me:$LINENO: result: $ac_res" >&5
43708 echo "${ECHO_T}$ac_res" >&6; }
43709 if test `eval echo '${'$as_ac_var'}'` = yes; then
43710 cat >>confdefs.h <<_ACEOF
43711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43713 cat >>confdefs.h <<\_ACEOF
43714 #define HAVE_GETSERVBYNAME 1
43722 if test "$wxUSE_THREADS" = "yes"; then
43723 cat >>confdefs.h <<\_ACEOF
43724 #define wxUSE_THREADS 1
43728 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43730 if test "$wx_cv_func_strtok_r" = "yes"; then
43731 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43732 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43733 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43734 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43735 { echo "$as_me:$LINENO: result: yes" >&5
43736 echo "${ECHO_T}yes" >&6; }
43738 { echo "$as_me:$LINENO: result: no" >&5
43739 echo "${ECHO_T}no" >&6; }
43744 if test "$WXGTK20" = 1 ; then
43745 cat >>confdefs.h <<_ACEOF
43746 #define __WXGTK20__ $WXGTK20
43752 if test "$WXGTK12" = 1 ; then
43753 cat >>confdefs.h <<_ACEOF
43754 #define __WXGTK12__ $WXGTK12
43759 if test "$WXGTK127" = 1 ; then
43760 cat >>confdefs.h <<_ACEOF
43761 #define __WXGTK127__ $WXGTK127
43766 if test "$WXGPE" = 1 ; then
43767 cat >>confdefs.h <<_ACEOF
43768 #define __WXGPE__ $WXGPE
43774 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43779 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43780 wxUSE_DEBUG_INFO=yes
43781 if test "$GCC" = yes; then
43782 DEBUG_CFLAGS="-ggdb"
43786 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43787 cat >>confdefs.h <<\_ACEOF
43791 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43793 if test "$wxUSE_GTK" = 1 ; then
43794 if test "x$wxGTK_VERSION" = "x1" ; then
43795 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43800 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43801 cat >>confdefs.h <<\_ACEOF
43802 #define wxUSE_MEMORY_TRACING 1
43805 cat >>confdefs.h <<\_ACEOF
43806 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43809 cat >>confdefs.h <<\_ACEOF
43810 #define wxUSE_DEBUG_NEW_ALWAYS 1
43813 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43816 if test "$wxUSE_DMALLOC" = "yes" ; then
43817 DMALLOC_LIBS="-ldmallocthcxx"
43821 if test "$wxUSE_PROFILE" = "yes" ; then
43822 PROFILE_FLAGS=" -pg"
43825 if test "$GCC" = "yes" ; then
43826 if test "$wxUSE_NO_RTTI" = "yes" ; then
43827 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43829 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43830 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43832 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43833 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43838 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43841 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43847 if test "$wxUSE_OPTIMISE" = "no" ; then
43848 if test "$GCC" = yes ; then
43849 OPTIMISE_CFLAGS="-O0"
43852 if test "$GCC" = yes ; then
43854 *-pc-os2_emx | *-pc-os2-emx )
43855 OPTIMISE_CFLAGS="-O2"
43858 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43862 OPTIMISE_CFLAGS="-O"
43867 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43868 cat >>confdefs.h <<\_ACEOF
43869 #define WXWIN_COMPATIBILITY_2_6 1
43873 WXWIN_COMPATIBILITY_2_8="yes"
43876 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43877 cat >>confdefs.h <<\_ACEOF
43878 #define WXWIN_COMPATIBILITY_2_8 1
43884 if test "$wxUSE_GUI" = "yes"; then
43885 cat >>confdefs.h <<\_ACEOF
43886 #define wxUSE_GUI 1
43893 if test "$wxUSE_UNIX" = "yes"; then
43894 cat >>confdefs.h <<\_ACEOF
43895 #define wxUSE_UNIX 1
43901 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43905 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43906 if test "$USE_DARWIN" = 1; then
43908 elif test "$USE_DOS" = 1; then
43912 for ac_func in dlopen
43914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43915 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43917 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43918 echo $ECHO_N "(cached) $ECHO_C" >&6
43920 cat >conftest.$ac_ext <<_ACEOF
43923 cat confdefs.h >>conftest.$ac_ext
43924 cat >>conftest.$ac_ext <<_ACEOF
43925 /* end confdefs.h. */
43926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43928 #define $ac_func innocuous_$ac_func
43930 /* System header to define __stub macros and hopefully few prototypes,
43931 which can conflict with char $ac_func (); below.
43932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43933 <limits.h> exists even on freestanding compilers. */
43936 # include <limits.h>
43938 # include <assert.h>
43943 /* Override any GCC internal prototype to avoid an error.
43944 Use char because int might match the return type of a GCC
43945 builtin and then its argument prototype would still apply. */
43950 /* The GNU C library defines this for functions which it implements
43951 to always fail with ENOSYS. Some functions are actually named
43952 something starting with __ and the normal name is an alias. */
43953 #if defined __stub_$ac_func || defined __stub___$ac_func
43960 return $ac_func ();
43965 rm -f conftest.$ac_objext conftest$ac_exeext
43966 if { (ac_try="$ac_link"
43967 case "(($ac_try" in
43968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43969 *) ac_try_echo=$ac_try;;
43971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43972 (eval "$ac_link") 2>conftest.er1
43974 grep -v '^ *+' conftest.er1 >conftest.err
43976 cat conftest.err >&5
43977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43978 (exit $ac_status); } && {
43979 test -z "$ac_c_werror_flag" ||
43980 test ! -s conftest.err
43981 } && test -s conftest$ac_exeext &&
43982 $as_test_x conftest$ac_exeext; then
43983 eval "$as_ac_var=yes"
43985 echo "$as_me: failed program was:" >&5
43986 sed 's/^/| /' conftest.$ac_ext >&5
43988 eval "$as_ac_var=no"
43991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43992 conftest$ac_exeext conftest.$ac_ext
43994 ac_res=`eval echo '${'$as_ac_var'}'`
43995 { echo "$as_me:$LINENO: result: $ac_res" >&5
43996 echo "${ECHO_T}$ac_res" >&6; }
43997 if test `eval echo '${'$as_ac_var'}'` = yes; then
43998 cat >>confdefs.h <<_ACEOF
43999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44002 cat >>confdefs.h <<\_ACEOF
44003 #define HAVE_DLOPEN 1
44010 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
44011 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
44012 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
44013 echo $ECHO_N "(cached) $ECHO_C" >&6
44015 ac_check_lib_save_LIBS=$LIBS
44017 cat >conftest.$ac_ext <<_ACEOF
44020 cat confdefs.h >>conftest.$ac_ext
44021 cat >>conftest.$ac_ext <<_ACEOF
44022 /* end confdefs.h. */
44024 /* Override any GCC internal prototype to avoid an error.
44025 Use char because int might match the return type of a GCC
44026 builtin and then its argument prototype would still apply. */
44039 rm -f conftest.$ac_objext conftest$ac_exeext
44040 if { (ac_try="$ac_link"
44041 case "(($ac_try" in
44042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44043 *) ac_try_echo=$ac_try;;
44045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44046 (eval "$ac_link") 2>conftest.er1
44048 grep -v '^ *+' conftest.er1 >conftest.err
44050 cat conftest.err >&5
44051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44052 (exit $ac_status); } && {
44053 test -z "$ac_c_werror_flag" ||
44054 test ! -s conftest.err
44055 } && test -s conftest$ac_exeext &&
44056 $as_test_x conftest$ac_exeext; then
44057 ac_cv_lib_dl_dlopen=yes
44059 echo "$as_me: failed program was:" >&5
44060 sed 's/^/| /' conftest.$ac_ext >&5
44062 ac_cv_lib_dl_dlopen=no
44065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44066 conftest$ac_exeext conftest.$ac_ext
44067 LIBS=$ac_check_lib_save_LIBS
44069 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
44070 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
44071 if test $ac_cv_lib_dl_dlopen = yes; then
44073 cat >>confdefs.h <<\_ACEOF
44074 #define HAVE_DLOPEN 1
44078 DL_LINK=" -ldl$DL_LINK"
44083 for ac_func in shl_load
44085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44086 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44088 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44089 echo $ECHO_N "(cached) $ECHO_C" >&6
44091 cat >conftest.$ac_ext <<_ACEOF
44094 cat confdefs.h >>conftest.$ac_ext
44095 cat >>conftest.$ac_ext <<_ACEOF
44096 /* end confdefs.h. */
44097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44099 #define $ac_func innocuous_$ac_func
44101 /* System header to define __stub macros and hopefully few prototypes,
44102 which can conflict with char $ac_func (); below.
44103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44104 <limits.h> exists even on freestanding compilers. */
44107 # include <limits.h>
44109 # include <assert.h>
44114 /* Override any GCC internal prototype to avoid an error.
44115 Use char because int might match the return type of a GCC
44116 builtin and then its argument prototype would still apply. */
44121 /* The GNU C library defines this for functions which it implements
44122 to always fail with ENOSYS. Some functions are actually named
44123 something starting with __ and the normal name is an alias. */
44124 #if defined __stub_$ac_func || defined __stub___$ac_func
44131 return $ac_func ();
44136 rm -f conftest.$ac_objext conftest$ac_exeext
44137 if { (ac_try="$ac_link"
44138 case "(($ac_try" in
44139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44140 *) ac_try_echo=$ac_try;;
44142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44143 (eval "$ac_link") 2>conftest.er1
44145 grep -v '^ *+' conftest.er1 >conftest.err
44147 cat conftest.err >&5
44148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44149 (exit $ac_status); } && {
44150 test -z "$ac_c_werror_flag" ||
44151 test ! -s conftest.err
44152 } && test -s conftest$ac_exeext &&
44153 $as_test_x conftest$ac_exeext; then
44154 eval "$as_ac_var=yes"
44156 echo "$as_me: failed program was:" >&5
44157 sed 's/^/| /' conftest.$ac_ext >&5
44159 eval "$as_ac_var=no"
44162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44163 conftest$ac_exeext conftest.$ac_ext
44165 ac_res=`eval echo '${'$as_ac_var'}'`
44166 { echo "$as_me:$LINENO: result: $ac_res" >&5
44167 echo "${ECHO_T}$ac_res" >&6; }
44168 if test `eval echo '${'$as_ac_var'}'` = yes; then
44169 cat >>confdefs.h <<_ACEOF
44170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44173 cat >>confdefs.h <<\_ACEOF
44174 #define HAVE_SHL_LOAD 1
44181 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44182 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44183 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44184 echo $ECHO_N "(cached) $ECHO_C" >&6
44186 ac_check_lib_save_LIBS=$LIBS
44187 LIBS="-lshl_load $LIBS"
44188 cat >conftest.$ac_ext <<_ACEOF
44191 cat confdefs.h >>conftest.$ac_ext
44192 cat >>conftest.$ac_ext <<_ACEOF
44193 /* end confdefs.h. */
44195 /* Override any GCC internal prototype to avoid an error.
44196 Use char because int might match the return type of a GCC
44197 builtin and then its argument prototype would still apply. */
44210 rm -f conftest.$ac_objext conftest$ac_exeext
44211 if { (ac_try="$ac_link"
44212 case "(($ac_try" in
44213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44214 *) ac_try_echo=$ac_try;;
44216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44217 (eval "$ac_link") 2>conftest.er1
44219 grep -v '^ *+' conftest.er1 >conftest.err
44221 cat conftest.err >&5
44222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44223 (exit $ac_status); } && {
44224 test -z "$ac_c_werror_flag" ||
44225 test ! -s conftest.err
44226 } && test -s conftest$ac_exeext &&
44227 $as_test_x conftest$ac_exeext; then
44228 ac_cv_lib_shl_load_dld=yes
44230 echo "$as_me: failed program was:" >&5
44231 sed 's/^/| /' conftest.$ac_ext >&5
44233 ac_cv_lib_shl_load_dld=no
44236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44237 conftest$ac_exeext conftest.$ac_ext
44238 LIBS=$ac_check_lib_save_LIBS
44240 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44241 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44242 if test $ac_cv_lib_shl_load_dld = yes; then
44245 DL_LINK=" -ldld$DL_LINK"
44261 if test "$HAVE_DL_FUNCS" = 1; then
44263 for ac_func in dlerror
44265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44266 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44268 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44269 echo $ECHO_N "(cached) $ECHO_C" >&6
44271 cat >conftest.$ac_ext <<_ACEOF
44274 cat confdefs.h >>conftest.$ac_ext
44275 cat >>conftest.$ac_ext <<_ACEOF
44276 /* end confdefs.h. */
44277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44279 #define $ac_func innocuous_$ac_func
44281 /* System header to define __stub macros and hopefully few prototypes,
44282 which can conflict with char $ac_func (); below.
44283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44284 <limits.h> exists even on freestanding compilers. */
44287 # include <limits.h>
44289 # include <assert.h>
44294 /* Override any GCC internal prototype to avoid an error.
44295 Use char because int might match the return type of a GCC
44296 builtin and then its argument prototype would still apply. */
44301 /* The GNU C library defines this for functions which it implements
44302 to always fail with ENOSYS. Some functions are actually named
44303 something starting with __ and the normal name is an alias. */
44304 #if defined __stub_$ac_func || defined __stub___$ac_func
44311 return $ac_func ();
44316 rm -f conftest.$ac_objext conftest$ac_exeext
44317 if { (ac_try="$ac_link"
44318 case "(($ac_try" in
44319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44320 *) ac_try_echo=$ac_try;;
44322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44323 (eval "$ac_link") 2>conftest.er1
44325 grep -v '^ *+' conftest.er1 >conftest.err
44327 cat conftest.err >&5
44328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44329 (exit $ac_status); } && {
44330 test -z "$ac_c_werror_flag" ||
44331 test ! -s conftest.err
44332 } && test -s conftest$ac_exeext &&
44333 $as_test_x conftest$ac_exeext; then
44334 eval "$as_ac_var=yes"
44336 echo "$as_me: failed program was:" >&5
44337 sed 's/^/| /' conftest.$ac_ext >&5
44339 eval "$as_ac_var=no"
44342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44343 conftest$ac_exeext conftest.$ac_ext
44345 ac_res=`eval echo '${'$as_ac_var'}'`
44346 { echo "$as_me:$LINENO: result: $ac_res" >&5
44347 echo "${ECHO_T}$ac_res" >&6; }
44348 if test `eval echo '${'$as_ac_var'}'` = yes; then
44349 cat >>confdefs.h <<_ACEOF
44350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44352 cat >>confdefs.h <<\_ACEOF
44353 #define HAVE_DLERROR 1
44358 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44359 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44360 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44361 echo $ECHO_N "(cached) $ECHO_C" >&6
44363 ac_check_lib_save_LIBS=$LIBS
44365 cat >conftest.$ac_ext <<_ACEOF
44368 cat confdefs.h >>conftest.$ac_ext
44369 cat >>conftest.$ac_ext <<_ACEOF
44370 /* end confdefs.h. */
44372 /* Override any GCC internal prototype to avoid an error.
44373 Use char because int might match the return type of a GCC
44374 builtin and then its argument prototype would still apply. */
44387 rm -f conftest.$ac_objext conftest$ac_exeext
44388 if { (ac_try="$ac_link"
44389 case "(($ac_try" in
44390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44391 *) ac_try_echo=$ac_try;;
44393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44394 (eval "$ac_link") 2>conftest.er1
44396 grep -v '^ *+' conftest.er1 >conftest.err
44398 cat conftest.err >&5
44399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44400 (exit $ac_status); } && {
44401 test -z "$ac_c_werror_flag" ||
44402 test ! -s conftest.err
44403 } && test -s conftest$ac_exeext &&
44404 $as_test_x conftest$ac_exeext; then
44405 ac_cv_lib_dl_dlerror=yes
44407 echo "$as_me: failed program was:" >&5
44408 sed 's/^/| /' conftest.$ac_ext >&5
44410 ac_cv_lib_dl_dlerror=no
44413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44414 conftest$ac_exeext conftest.$ac_ext
44415 LIBS=$ac_check_lib_save_LIBS
44417 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44418 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44419 if test $ac_cv_lib_dl_dlerror = yes; then
44420 cat >>confdefs.h <<\_ACEOF
44421 #define HAVE_DLERROR 1
44434 if test "$HAVE_DL_FUNCS" = 0; then
44435 if test "$HAVE_SHL_FUNCS" = 0; then
44436 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44437 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44438 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44439 wxUSE_DYNAMIC_LOADER=no
44440 wxUSE_DYNLIB_CLASS=no
44442 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44443 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44450 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44451 cat >>confdefs.h <<\_ACEOF
44452 #define wxUSE_DYNAMIC_LOADER 1
44456 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44457 cat >>confdefs.h <<\_ACEOF
44458 #define wxUSE_DYNLIB_CLASS 1
44465 if test "$wxUSE_PLUGINS" = "yes" ; then
44466 if test "$wxUSE_SHARED" = "no" ; then
44467 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44468 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44471 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44472 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44473 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44476 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44477 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44478 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44481 if test "$wxUSE_PLUGINS" = "yes" ; then
44482 cat >>confdefs.h <<\_ACEOF
44483 #define wxUSE_PLUGINS 1
44490 if test "$wxUSE_STL" = "yes"; then
44491 cat >>confdefs.h <<\_ACEOF
44492 #define wxUSE_STL 1
44497 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44498 cat >>confdefs.h <<\_ACEOF
44499 #define wxUSE_EXTENDED_RTTI 1
44504 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44505 cat >>confdefs.h <<\_ACEOF
44506 #define wxUSE_APPLE_IEEE 1
44511 if test "$wxUSE_TIMER" = "yes"; then
44512 cat >>confdefs.h <<\_ACEOF
44513 #define wxUSE_TIMER 1
44518 if test "$USE_UNIX" = "1" ; then
44519 if test "$wxUSE_MGL" != 1; then
44520 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44521 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44522 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44523 echo $ECHO_N "(cached) $ECHO_C" >&6
44526 cat >conftest.$ac_ext <<_ACEOF
44529 cat confdefs.h >>conftest.$ac_ext
44530 cat >>conftest.$ac_ext <<_ACEOF
44531 /* end confdefs.h. */
44533 #include <sys/ioctl.h>
44534 #include <sys/soundcard.h>
44540 ioctl(0, SNDCTL_DSP_SPEED, 0);
44546 rm -f conftest.$ac_objext conftest$ac_exeext
44547 if { (ac_try="$ac_link"
44548 case "(($ac_try" in
44549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44550 *) ac_try_echo=$ac_try;;
44552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44553 (eval "$ac_link") 2>conftest.er1
44555 grep -v '^ *+' conftest.er1 >conftest.err
44557 cat conftest.err >&5
44558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44559 (exit $ac_status); } && {
44560 test -z "$ac_c_werror_flag" ||
44561 test ! -s conftest.err
44562 } && test -s conftest$ac_exeext &&
44563 $as_test_x conftest$ac_exeext; then
44564 ac_cv_header_sys_soundcard=yes
44566 echo "$as_me: failed program was:" >&5
44567 sed 's/^/| /' conftest.$ac_ext >&5
44571 LIBS="$saveLibs -lossaudio"
44572 cat >conftest.$ac_ext <<_ACEOF
44575 cat confdefs.h >>conftest.$ac_ext
44576 cat >>conftest.$ac_ext <<_ACEOF
44577 /* end confdefs.h. */
44579 #include <sys/ioctl.h>
44580 #include <sys/soundcard.h>
44586 ioctl(0, SNDCTL_DSP_SPEED, 0);
44592 rm -f conftest.$ac_objext conftest$ac_exeext
44593 if { (ac_try="$ac_link"
44594 case "(($ac_try" in
44595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44596 *) ac_try_echo=$ac_try;;
44598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44599 (eval "$ac_link") 2>conftest.er1
44601 grep -v '^ *+' conftest.er1 >conftest.err
44603 cat conftest.err >&5
44604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44605 (exit $ac_status); } && {
44606 test -z "$ac_c_werror_flag" ||
44607 test ! -s conftest.err
44608 } && test -s conftest$ac_exeext &&
44609 $as_test_x conftest$ac_exeext; then
44610 ac_cv_header_sys_soundcard=yes
44612 echo "$as_me: failed program was:" >&5
44613 sed 's/^/| /' conftest.$ac_ext >&5
44617 ac_cv_header_sys_soundcard=no
44622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44623 conftest$ac_exeext conftest.$ac_ext
44628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44629 conftest$ac_exeext conftest.$ac_ext
44632 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44633 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44636 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44637 cat >>confdefs.h <<\_ACEOF
44638 #define HAVE_SYS_SOUNDCARD_H 1
44645 if test "$wxUSE_SOUND" = "yes"; then
44646 if test "$USE_UNIX" = "1" ; then
44647 if test "$wxUSE_LIBSDL" != "no"; then
44649 # Check whether --with-sdl-prefix was given.
44650 if test "${with_sdl_prefix+set}" = set; then
44651 withval=$with_sdl_prefix; sdl_prefix="$withval"
44657 # Check whether --with-sdl-exec-prefix was given.
44658 if test "${with_sdl_exec_prefix+set}" = set; then
44659 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44664 # Check whether --enable-sdltest was given.
44665 if test "${enable_sdltest+set}" = set; then
44666 enableval=$enable_sdltest;
44672 if test x$sdl_exec_prefix != x ; then
44673 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44674 if test x${SDL_CONFIG+set} != xset ; then
44675 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44678 if test x$sdl_prefix != x ; then
44679 sdl_args="$sdl_args --prefix=$sdl_prefix"
44680 if test x${SDL_CONFIG+set} != xset ; then
44681 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44685 if test "x$prefix" != xNONE; then
44686 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44688 # Extract the first word of "sdl-config", so it can be a program name with args.
44689 set dummy sdl-config; ac_word=$2
44690 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44692 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44693 echo $ECHO_N "(cached) $ECHO_C" >&6
44695 case $SDL_CONFIG in
44697 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44701 for as_dir in $PATH
44704 test -z "$as_dir" && as_dir=.
44705 for ac_exec_ext in '' $ac_executable_extensions; do
44706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44707 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44715 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44719 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44720 if test -n "$SDL_CONFIG"; then
44721 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44722 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44724 { echo "$as_me:$LINENO: result: no" >&5
44725 echo "${ECHO_T}no" >&6; }
44729 min_sdl_version=1.2.0
44730 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44731 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44733 if test "$SDL_CONFIG" = "no" ; then
44736 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44737 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44739 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44740 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44741 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44742 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44743 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44744 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44745 if test "x$enable_sdltest" = "xyes" ; then
44746 ac_save_CFLAGS="$CFLAGS"
44747 ac_save_CXXFLAGS="$CXXFLAGS"
44748 ac_save_LIBS="$LIBS"
44749 CFLAGS="$CFLAGS $SDL_CFLAGS"
44750 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44751 LIBS="$LIBS $SDL_LIBS"
44753 if test "$cross_compiling" = yes; then
44754 echo $ac_n "cross compiling; assumed OK... $ac_c"
44756 cat >conftest.$ac_ext <<_ACEOF
44759 cat confdefs.h >>conftest.$ac_ext
44760 cat >>conftest.$ac_ext <<_ACEOF
44761 /* end confdefs.h. */
44764 #include <stdlib.h>
44765 #include <string.h>
44769 my_strdup (char *str)
44775 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44776 strcpy (new_str, str);
44784 int main (int argc, char *argv[])
44786 int major, minor, micro;
44789 /* This hangs on some systems (?)
44790 system ("touch conf.sdltest");
44792 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44794 /* HP/UX 9 (%@#!) writes to sscanf strings */
44795 tmp_version = my_strdup("$min_sdl_version");
44796 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44797 printf("%s, bad version string\n", "$min_sdl_version");
44801 if (($sdl_major_version > major) ||
44802 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44803 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44809 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44810 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44811 printf("*** best to upgrade to the required version.\n");
44812 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44813 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44814 printf("*** config.cache before re-running configure\n");
44821 rm -f conftest$ac_exeext
44822 if { (ac_try="$ac_link"
44823 case "(($ac_try" in
44824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44825 *) ac_try_echo=$ac_try;;
44827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44828 (eval "$ac_link") 2>&5
44830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44831 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44832 { (case "(($ac_try" in
44833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44834 *) ac_try_echo=$ac_try;;
44836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44837 (eval "$ac_try") 2>&5
44839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44840 (exit $ac_status); }; }; then
44843 echo "$as_me: program exited with status $ac_status" >&5
44844 echo "$as_me: failed program was:" >&5
44845 sed 's/^/| /' conftest.$ac_ext >&5
44847 ( exit $ac_status )
44850 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44854 CFLAGS="$ac_save_CFLAGS"
44855 CXXFLAGS="$ac_save_CXXFLAGS"
44856 LIBS="$ac_save_LIBS"
44859 if test "x$no_sdl" = x ; then
44860 { echo "$as_me:$LINENO: result: yes" >&5
44861 echo "${ECHO_T}yes" >&6; }
44863 EXTRALIBS_SDL="$SDL_LIBS"
44864 CFLAGS="$SDL_CFLAGS $CFLAGS"
44865 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44866 cat >>confdefs.h <<\_ACEOF
44867 #define wxUSE_LIBSDL 1
44872 { echo "$as_me:$LINENO: result: no" >&5
44873 echo "${ECHO_T}no" >&6; }
44874 if test "$SDL_CONFIG" = "no" ; then
44875 echo "*** The sdl-config script installed by SDL could not be found"
44876 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44877 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44878 echo "*** full path to sdl-config."
44880 if test -f conf.sdltest ; then
44883 echo "*** Could not run SDL test program, checking why..."
44884 CFLAGS="$CFLAGS $SDL_CFLAGS"
44885 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44886 LIBS="$LIBS $SDL_LIBS"
44887 cat >conftest.$ac_ext <<_ACEOF
44890 cat confdefs.h >>conftest.$ac_ext
44891 cat >>conftest.$ac_ext <<_ACEOF
44892 /* end confdefs.h. */
44897 int main(int argc, char *argv[])
44900 #define main K_and_R_C_main
44910 rm -f conftest.$ac_objext conftest$ac_exeext
44911 if { (ac_try="$ac_link"
44912 case "(($ac_try" in
44913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44914 *) ac_try_echo=$ac_try;;
44916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44917 (eval "$ac_link") 2>conftest.er1
44919 grep -v '^ *+' conftest.er1 >conftest.err
44921 cat conftest.err >&5
44922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44923 (exit $ac_status); } && {
44924 test -z "$ac_c_werror_flag" ||
44925 test ! -s conftest.err
44926 } && test -s conftest$ac_exeext &&
44927 $as_test_x conftest$ac_exeext; then
44928 echo "*** The test program compiled, but did not run. This usually means"
44929 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44930 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44931 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44932 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44933 echo "*** is required on your system"
44935 echo "*** If you have an old version installed, it is best to remove it, although"
44936 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44938 echo "$as_me: failed program was:" >&5
44939 sed 's/^/| /' conftest.$ac_ext >&5
44941 echo "*** The test program failed to compile or link. See the file config.log for the"
44942 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44943 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44944 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44948 conftest$ac_exeext conftest.$ac_ext
44949 CFLAGS="$ac_save_CFLAGS"
44950 CXXFLAGS="$ac_save_CXXFLAGS"
44951 LIBS="$ac_save_LIBS"
44962 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44967 if test "$wxUSE_MGL" = 1; then
44968 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44969 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44975 if test "$wxUSE_SOUND" = "yes"; then
44976 cat >>confdefs.h <<\_ACEOF
44977 #define wxUSE_SOUND 1
44980 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44983 if test "$WXGTK20" = 1; then
44986 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44987 if test -n "$ac_tool_prefix"; then
44988 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44989 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44992 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44993 echo $ECHO_N "(cached) $ECHO_C" >&6
44995 case $PKG_CONFIG in
44997 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45001 for as_dir in $PATH
45004 test -z "$as_dir" && as_dir=.
45005 for ac_exec_ext in '' $ac_executable_extensions; do
45006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45007 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45018 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45019 if test -n "$PKG_CONFIG"; then
45020 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45021 echo "${ECHO_T}$PKG_CONFIG" >&6; }
45023 { echo "$as_me:$LINENO: result: no" >&5
45024 echo "${ECHO_T}no" >&6; }
45029 if test -z "$ac_cv_path_PKG_CONFIG"; then
45030 ac_pt_PKG_CONFIG=$PKG_CONFIG
45031 # Extract the first word of "pkg-config", so it can be a program name with args.
45032 set dummy pkg-config; ac_word=$2
45033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45035 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
45036 echo $ECHO_N "(cached) $ECHO_C" >&6
45038 case $ac_pt_PKG_CONFIG in
45040 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45044 for as_dir in $PATH
45047 test -z "$as_dir" && as_dir=.
45048 for ac_exec_ext in '' $ac_executable_extensions; do
45049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45050 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45061 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
45062 if test -n "$ac_pt_PKG_CONFIG"; then
45063 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
45064 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
45066 { echo "$as_me:$LINENO: result: no" >&5
45067 echo "${ECHO_T}no" >&6; }
45070 if test "x$ac_pt_PKG_CONFIG" = x; then
45073 case $cross_compiling:$ac_tool_warned in
45075 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45076 whose name does not start with the host triplet. If you think this
45077 configuration is useful to you, please write to autoconf@gnu.org." >&5
45078 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45079 whose name does not start with the host triplet. If you think this
45080 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45081 ac_tool_warned=yes ;;
45083 PKG_CONFIG=$ac_pt_PKG_CONFIG
45086 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
45090 if test -n "$PKG_CONFIG"; then
45091 _pkg_min_version=0.9.0
45092 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
45093 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
45094 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45095 { echo "$as_me:$LINENO: result: yes" >&5
45096 echo "${ECHO_T}yes" >&6; }
45098 { echo "$as_me:$LINENO: result: no" >&5
45099 echo "${ECHO_T}no" >&6; }
45105 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45106 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45110 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45111 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45113 if test -n "$PKG_CONFIG"; then
45114 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45115 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45117 if test -n "$PKG_CONFIG" && \
45118 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45119 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45122 (exit $ac_status); }; then
45123 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45131 if test -n "$PKG_CONFIG"; then
45132 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45133 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45135 if test -n "$PKG_CONFIG" && \
45136 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45137 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45140 (exit $ac_status); }; then
45141 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45152 if test $pkg_failed = yes; then
45154 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45155 _pkg_short_errors_supported=yes
45157 _pkg_short_errors_supported=no
45159 if test $_pkg_short_errors_supported = yes; then
45160 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45162 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45164 # Put the nasty error message in config.log where it belongs
45165 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45168 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45169 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45170 wxUSE_LIBGNOMEPRINT="no"
45173 elif test $pkg_failed = untried; then
45175 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45176 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45177 wxUSE_LIBGNOMEPRINT="no"
45181 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45182 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45183 { echo "$as_me:$LINENO: result: yes" >&5
45184 echo "${ECHO_T}yes" >&6; }
45186 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45187 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45188 cat >>confdefs.h <<\_ACEOF
45189 #define wxUSE_LIBGNOMEPRINT 1
45197 if test "$wxUSE_MIMETYPE" = "yes" ; then
45198 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45202 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45203 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45205 if test -n "$PKG_CONFIG"; then
45206 if test -n "$GNOMEVFS_CFLAGS"; then
45207 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45209 if test -n "$PKG_CONFIG" && \
45210 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45211 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45214 (exit $ac_status); }; then
45215 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45223 if test -n "$PKG_CONFIG"; then
45224 if test -n "$GNOMEVFS_LIBS"; then
45225 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45227 if test -n "$PKG_CONFIG" && \
45228 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45229 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45232 (exit $ac_status); }; then
45233 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45244 if test $pkg_failed = yes; then
45246 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45247 _pkg_short_errors_supported=yes
45249 _pkg_short_errors_supported=no
45251 if test $_pkg_short_errors_supported = yes; then
45252 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45254 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45256 # Put the nasty error message in config.log where it belongs
45257 echo "$GNOMEVFS_PKG_ERRORS" >&5
45260 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45261 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45262 wxUSE_LIBGNOMEVFS="no"
45265 elif test $pkg_failed = untried; then
45267 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45268 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45269 wxUSE_LIBGNOMEVFS="no"
45273 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45274 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45275 { echo "$as_me:$LINENO: result: yes" >&5
45276 echo "${ECHO_T}yes" >&6; }
45278 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45279 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45280 cat >>confdefs.h <<\_ACEOF
45281 #define wxUSE_LIBGNOMEVFS 1
45289 if test "$wxUSE_LIBHILDON" = "yes" ; then
45292 { echo "$as_me:$LINENO: checking for HILDON" >&5
45293 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45295 if test -n "$PKG_CONFIG"; then
45296 if test -n "$HILDON_CFLAGS"; then
45297 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45299 if test -n "$PKG_CONFIG" && \
45300 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45301 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45304 (exit $ac_status); }; then
45305 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45313 if test -n "$PKG_CONFIG"; then
45314 if test -n "$HILDON_LIBS"; then
45315 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45317 if test -n "$PKG_CONFIG" && \
45318 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45319 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45322 (exit $ac_status); }; then
45323 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45334 if test $pkg_failed = yes; then
45336 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45337 _pkg_short_errors_supported=yes
45339 _pkg_short_errors_supported=no
45341 if test $_pkg_short_errors_supported = yes; then
45342 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45344 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45346 # Put the nasty error message in config.log where it belongs
45347 echo "$HILDON_PKG_ERRORS" >&5
45350 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45351 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45352 wxUSE_LIBHILDON="no"
45355 elif test $pkg_failed = untried; then
45357 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45358 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45359 wxUSE_LIBHILDON="no"
45363 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45364 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45365 { echo "$as_me:$LINENO: result: yes" >&5
45366 echo "${ECHO_T}yes" >&6; }
45368 EXTRALIBS_HILDON="$HILDON_LIBS"
45369 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45370 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45371 cat >>confdefs.h <<\_ACEOF
45372 #define wxUSE_LIBHILDON 1
45380 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45381 cat >>confdefs.h <<\_ACEOF
45382 #define wxUSE_CMDLINE_PARSER 1
45387 if test "$wxUSE_STOPWATCH" = "yes"; then
45388 cat >>confdefs.h <<\_ACEOF
45389 #define wxUSE_STOPWATCH 1
45394 if test "$wxUSE_DATETIME" = "yes"; then
45395 cat >>confdefs.h <<\_ACEOF
45396 #define wxUSE_DATETIME 1
45401 if test "$wxUSE_FILE" = "yes"; then
45402 cat >>confdefs.h <<\_ACEOF
45403 #define wxUSE_FILE 1
45408 if test "$wxUSE_FFILE" = "yes"; then
45409 cat >>confdefs.h <<\_ACEOF
45410 #define wxUSE_FFILE 1
45415 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45416 if test "$wxUSE_STREAMS" != yes; then
45417 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45418 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45419 wxUSE_ARCHIVE_STREAMS=no
45421 cat >>confdefs.h <<\_ACEOF
45422 #define wxUSE_ARCHIVE_STREAMS 1
45428 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45429 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45430 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45431 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45432 elif test "$wxUSE_ZLIB" = "no"; then
45433 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45434 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45436 cat >>confdefs.h <<\_ACEOF
45437 #define wxUSE_ZIPSTREAM 1
45443 if test "$wxUSE_TARSTREAM" = "yes"; then
45444 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45445 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45446 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45448 cat >>confdefs.h <<\_ACEOF
45449 #define wxUSE_TARSTREAM 1
45455 if test "$wxUSE_FILESYSTEM" = "yes"; then
45456 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45457 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45458 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45459 wxUSE_FILESYSTEM=no
45461 cat >>confdefs.h <<\_ACEOF
45462 #define wxUSE_FILESYSTEM 1
45468 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45469 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45470 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45471 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45473 cat >>confdefs.h <<\_ACEOF
45474 #define wxUSE_FS_ARCHIVE 1
45480 if test "$wxUSE_FS_ZIP" = "yes"; then
45481 if test "$wxUSE_FS_ARCHIVE" != yes; then
45482 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45483 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45485 cat >>confdefs.h <<\_ACEOF
45486 #define wxUSE_FS_ZIP 1
45492 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45493 if test "$USE_UNIX" != 1; then
45494 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45495 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45496 wxUSE_ON_FATAL_EXCEPTION=no
45498 cat >>confdefs.h <<\_ACEOF
45499 #define wxUSE_ON_FATAL_EXCEPTION 1
45505 if test "$wxUSE_STACKWALKER" = "yes"; then
45506 cat >>confdefs.h <<\_ACEOF
45507 #define wxUSE_STACKWALKER 1
45512 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45513 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45514 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45515 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45516 wxUSE_DEBUGREPORT=no
45518 cat >>confdefs.h <<\_ACEOF
45519 #define wxUSE_DEBUGREPORT 1
45522 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45523 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45528 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45529 cat >>confdefs.h <<\_ACEOF
45530 #define wxUSE_SNGLINST_CHECKER 1
45535 if test "$wxUSE_BUSYINFO" = "yes"; then
45536 cat >>confdefs.h <<\_ACEOF
45537 #define wxUSE_BUSYINFO 1
45542 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45543 cat >>confdefs.h <<\_ACEOF
45544 #define wxUSE_STD_IOSTREAM 1
45549 if test "$wxUSE_STD_STRING" = "yes"; then
45550 cat >>confdefs.h <<\_ACEOF
45551 #define wxUSE_STD_STRING 1
45556 if test "$wxUSE_STDPATHS" = "yes"; then
45557 cat >>confdefs.h <<\_ACEOF
45558 #define wxUSE_STDPATHS 1
45563 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45564 cat >>confdefs.h <<\_ACEOF
45565 #define wxUSE_TEXTBUFFER 1
45570 if test "$wxUSE_TEXTFILE" = "yes"; then
45571 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45572 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45573 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45575 cat >>confdefs.h <<\_ACEOF
45576 #define wxUSE_TEXTFILE 1
45582 if test "$wxUSE_CONFIG" = "yes" ; then
45583 if test "$wxUSE_TEXTFILE" != "yes"; then
45584 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45585 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45587 cat >>confdefs.h <<\_ACEOF
45588 #define wxUSE_CONFIG 1
45591 cat >>confdefs.h <<\_ACEOF
45592 #define wxUSE_CONFIG_NATIVE 1
45595 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45599 if test "$wxUSE_INTL" = "yes" ; then
45600 if test "$wxUSE_FILE" != "yes"; then
45601 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45602 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45604 cat >>confdefs.h <<\_ACEOF
45605 #define wxUSE_INTL 1
45608 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45609 GUIDIST="$GUIDIST INTL_DIST"
45613 if test "$wxUSE_LOG" = "yes"; then
45614 cat >>confdefs.h <<\_ACEOF
45615 #define wxUSE_LOG 1
45619 if test "$wxUSE_LOGGUI" = "yes"; then
45620 cat >>confdefs.h <<\_ACEOF
45621 #define wxUSE_LOGGUI 1
45626 if test "$wxUSE_LOGWINDOW" = "yes"; then
45627 cat >>confdefs.h <<\_ACEOF
45628 #define wxUSE_LOGWINDOW 1
45633 if test "$wxUSE_LOGDIALOG" = "yes"; then
45634 cat >>confdefs.h <<\_ACEOF
45635 #define wxUSE_LOG_DIALOG 1
45640 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45643 if test "$wxUSE_LONGLONG" = "yes"; then
45644 cat >>confdefs.h <<\_ACEOF
45645 #define wxUSE_LONGLONG 1
45650 if test "$wxUSE_GEOMETRY" = "yes"; then
45651 cat >>confdefs.h <<\_ACEOF
45652 #define wxUSE_GEOMETRY 1
45657 if test "$wxUSE_BASE64" = "yes"; then
45658 cat >>confdefs.h <<\_ACEOF
45659 #define wxUSE_BASE64 1
45664 if test "$wxUSE_STREAMS" = "yes" ; then
45665 cat >>confdefs.h <<\_ACEOF
45666 #define wxUSE_STREAMS 1
45671 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45672 cat >>confdefs.h <<\_ACEOF
45673 #define wxUSE_PRINTF_POS_PARAMS 1
45678 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45679 cat >>confdefs.h <<\_ACEOF
45680 #define wxUSE_OBJC_UNIQUIFYING 1
45686 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45687 cat >>confdefs.h <<\_ACEOF
45688 #define wxUSE_CONSOLE_EVENTLOOP 1
45692 if test "$wxUSE_UNIX" = "yes"; then
45693 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45694 cat >>confdefs.h <<\_ACEOF
45695 #define wxUSE_SELECT_DISPATCHER 1
45700 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45702 for ac_header in sys/epoll.h
45704 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45705 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45706 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45708 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45709 echo $ECHO_N "(cached) $ECHO_C" >&6
45711 ac_res=`eval echo '${'$as_ac_Header'}'`
45712 { echo "$as_me:$LINENO: result: $ac_res" >&5
45713 echo "${ECHO_T}$ac_res" >&6; }
45715 # Is the header compilable?
45716 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
45717 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
45718 cat >conftest.$ac_ext <<_ACEOF
45721 cat confdefs.h >>conftest.$ac_ext
45722 cat >>conftest.$ac_ext <<_ACEOF
45723 /* end confdefs.h. */
45724 $ac_includes_default
45725 #include <$ac_header>
45727 rm -f conftest.$ac_objext
45728 if { (ac_try="$ac_compile"
45729 case "(($ac_try" in
45730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45731 *) ac_try_echo=$ac_try;;
45733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45734 (eval "$ac_compile") 2>conftest.er1
45736 grep -v '^ *+' conftest.er1 >conftest.err
45738 cat conftest.err >&5
45739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45740 (exit $ac_status); } && {
45741 test -z "$ac_c_werror_flag" ||
45742 test ! -s conftest.err
45743 } && test -s conftest.$ac_objext; then
45744 ac_header_compiler=yes
45746 echo "$as_me: failed program was:" >&5
45747 sed 's/^/| /' conftest.$ac_ext >&5
45749 ac_header_compiler=no
45752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45753 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45754 echo "${ECHO_T}$ac_header_compiler" >&6; }
45756 # Is the header present?
45757 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
45758 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
45759 cat >conftest.$ac_ext <<_ACEOF
45762 cat confdefs.h >>conftest.$ac_ext
45763 cat >>conftest.$ac_ext <<_ACEOF
45764 /* end confdefs.h. */
45765 #include <$ac_header>
45767 if { (ac_try="$ac_cpp conftest.$ac_ext"
45768 case "(($ac_try" in
45769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45770 *) ac_try_echo=$ac_try;;
45772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45773 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
45775 grep -v '^ *+' conftest.er1 >conftest.err
45777 cat conftest.err >&5
45778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45779 (exit $ac_status); } >/dev/null && {
45780 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
45781 test ! -s conftest.err
45783 ac_header_preproc=yes
45785 echo "$as_me: failed program was:" >&5
45786 sed 's/^/| /' conftest.$ac_ext >&5
45788 ac_header_preproc=no
45791 rm -f conftest.err conftest.$ac_ext
45792 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45793 echo "${ECHO_T}$ac_header_preproc" >&6; }
45795 # So? What about this header?
45796 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45798 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45799 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45800 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45801 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45802 ac_header_preproc=yes
45805 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45806 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45807 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45808 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45809 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45810 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45811 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45812 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45813 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45814 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45815 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45816 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45818 ## ----------------------------------------- ##
45819 ## Report this to wx-dev@lists.wxwidgets.org ##
45820 ## ----------------------------------------- ##
45822 ) | sed "s/^/$as_me: WARNING: /" >&2
45825 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45827 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45828 echo $ECHO_N "(cached) $ECHO_C" >&6
45830 eval "$as_ac_Header=\$ac_header_preproc"
45832 ac_res=`eval echo '${'$as_ac_Header'}'`
45833 { echo "$as_me:$LINENO: result: $ac_res" >&5
45834 echo "${ECHO_T}$ac_res" >&6; }
45837 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45838 cat >>confdefs.h <<_ACEOF
45839 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45846 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45847 cat >>confdefs.h <<\_ACEOF
45848 #define wxUSE_EPOLL_DISPATCHER 1
45852 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45853 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45862 for ac_func in gettimeofday ftime
45864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45865 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45867 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45868 echo $ECHO_N "(cached) $ECHO_C" >&6
45870 cat >conftest.$ac_ext <<_ACEOF
45873 cat confdefs.h >>conftest.$ac_ext
45874 cat >>conftest.$ac_ext <<_ACEOF
45875 /* end confdefs.h. */
45876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45878 #define $ac_func innocuous_$ac_func
45880 /* System header to define __stub macros and hopefully few prototypes,
45881 which can conflict with char $ac_func (); below.
45882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45883 <limits.h> exists even on freestanding compilers. */
45886 # include <limits.h>
45888 # include <assert.h>
45893 /* Override any GCC internal prototype to avoid an error.
45894 Use char because int might match the return type of a GCC
45895 builtin and then its argument prototype would still apply. */
45900 /* The GNU C library defines this for functions which it implements
45901 to always fail with ENOSYS. Some functions are actually named
45902 something starting with __ and the normal name is an alias. */
45903 #if defined __stub_$ac_func || defined __stub___$ac_func
45910 return $ac_func ();
45915 rm -f conftest.$ac_objext conftest$ac_exeext
45916 if { (ac_try="$ac_link"
45917 case "(($ac_try" in
45918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45919 *) ac_try_echo=$ac_try;;
45921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45922 (eval "$ac_link") 2>conftest.er1
45924 grep -v '^ *+' conftest.er1 >conftest.err
45926 cat conftest.err >&5
45927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45928 (exit $ac_status); } && {
45929 test -z "$ac_c_werror_flag" ||
45930 test ! -s conftest.err
45931 } && test -s conftest$ac_exeext &&
45932 $as_test_x conftest$ac_exeext; then
45933 eval "$as_ac_var=yes"
45935 echo "$as_me: failed program was:" >&5
45936 sed 's/^/| /' conftest.$ac_ext >&5
45938 eval "$as_ac_var=no"
45941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45942 conftest$ac_exeext conftest.$ac_ext
45944 ac_res=`eval echo '${'$as_ac_var'}'`
45945 { echo "$as_me:$LINENO: result: $ac_res" >&5
45946 echo "${ECHO_T}$ac_res" >&6; }
45947 if test `eval echo '${'$as_ac_var'}'` = yes; then
45948 cat >>confdefs.h <<_ACEOF
45949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45956 if test "$ac_cv_func_gettimeofday" = "yes"; then
45957 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45958 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45959 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45960 echo $ECHO_N "(cached) $ECHO_C" >&6
45963 cat >conftest.$ac_ext <<_ACEOF
45966 cat confdefs.h >>conftest.$ac_ext
45967 cat >>conftest.$ac_ext <<_ACEOF
45968 /* end confdefs.h. */
45970 #include <sys/time.h>
45971 #include <unistd.h>
45978 gettimeofday(&tv, NULL);
45984 rm -f conftest.$ac_objext
45985 if { (ac_try="$ac_compile"
45986 case "(($ac_try" in
45987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45988 *) ac_try_echo=$ac_try;;
45990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45991 (eval "$ac_compile") 2>conftest.er1
45993 grep -v '^ *+' conftest.er1 >conftest.err
45995 cat conftest.err >&5
45996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45997 (exit $ac_status); } && {
45998 test -z "$ac_c_werror_flag" ||
45999 test ! -s conftest.err
46000 } && test -s conftest.$ac_objext; then
46001 wx_cv_func_gettimeofday_has_2_args=yes
46003 echo "$as_me: failed program was:" >&5
46004 sed 's/^/| /' conftest.$ac_ext >&5
46006 cat >conftest.$ac_ext <<_ACEOF
46009 cat confdefs.h >>conftest.$ac_ext
46010 cat >>conftest.$ac_ext <<_ACEOF
46011 /* end confdefs.h. */
46013 #include <sys/time.h>
46014 #include <unistd.h>
46027 rm -f conftest.$ac_objext
46028 if { (ac_try="$ac_compile"
46029 case "(($ac_try" in
46030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46031 *) ac_try_echo=$ac_try;;
46033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46034 (eval "$ac_compile") 2>conftest.er1
46036 grep -v '^ *+' conftest.er1 >conftest.err
46038 cat conftest.err >&5
46039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46040 (exit $ac_status); } && {
46041 test -z "$ac_c_werror_flag" ||
46042 test ! -s conftest.err
46043 } && test -s conftest.$ac_objext; then
46044 wx_cv_func_gettimeofday_has_2_args=no
46046 echo "$as_me: failed program was:" >&5
46047 sed 's/^/| /' conftest.$ac_ext >&5
46050 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46051 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46052 wx_cv_func_gettimeofday_has_2_args=unknown
46057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46064 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46065 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46067 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46068 cat >>confdefs.h <<\_ACEOF
46069 #define WX_GETTIMEOFDAY_NO_TZ 1
46075 if test "$wxUSE_DATETIME" = "yes"; then
46076 { echo "$as_me:$LINENO: checking for strptime" >&5
46077 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
46078 if test "${ac_cv_func_strptime+set}" = set; then
46079 echo $ECHO_N "(cached) $ECHO_C" >&6
46081 cat >conftest.$ac_ext <<_ACEOF
46084 cat confdefs.h >>conftest.$ac_ext
46085 cat >>conftest.$ac_ext <<_ACEOF
46086 /* end confdefs.h. */
46087 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
46088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46089 #define strptime innocuous_strptime
46091 /* System header to define __stub macros and hopefully few prototypes,
46092 which can conflict with char strptime (); below.
46093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46094 <limits.h> exists even on freestanding compilers. */
46097 # include <limits.h>
46099 # include <assert.h>
46104 /* Override any GCC internal prototype to avoid an error.
46105 Use char because int might match the return type of a GCC
46106 builtin and then its argument prototype would still apply. */
46111 /* The GNU C library defines this for functions which it implements
46112 to always fail with ENOSYS. Some functions are actually named
46113 something starting with __ and the normal name is an alias. */
46114 #if defined __stub_strptime || defined __stub___strptime
46121 return strptime ();
46126 rm -f conftest.$ac_objext conftest$ac_exeext
46127 if { (ac_try="$ac_link"
46128 case "(($ac_try" in
46129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46130 *) ac_try_echo=$ac_try;;
46132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46133 (eval "$ac_link") 2>conftest.er1
46135 grep -v '^ *+' conftest.er1 >conftest.err
46137 cat conftest.err >&5
46138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46139 (exit $ac_status); } && {
46140 test -z "$ac_c_werror_flag" ||
46141 test ! -s conftest.err
46142 } && test -s conftest$ac_exeext &&
46143 $as_test_x conftest$ac_exeext; then
46144 ac_cv_func_strptime=yes
46146 echo "$as_me: failed program was:" >&5
46147 sed 's/^/| /' conftest.$ac_ext >&5
46149 ac_cv_func_strptime=no
46152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46153 conftest$ac_exeext conftest.$ac_ext
46155 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46156 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46158 if test "$ac_cv_func_strptime" = "yes"; then
46159 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46160 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46161 if test "${wx_cv_func_strptime_decl+set}" = set; then
46162 echo $ECHO_N "(cached) $ECHO_C" >&6
46166 ac_cpp='$CXXCPP $CPPFLAGS'
46167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46171 cat >conftest.$ac_ext <<_ACEOF
46174 cat confdefs.h >>conftest.$ac_ext
46175 cat >>conftest.$ac_ext <<_ACEOF
46176 /* end confdefs.h. */
46185 strptime("foo", "bar", &t);
46191 rm -f conftest.$ac_objext
46192 if { (ac_try="$ac_compile"
46193 case "(($ac_try" in
46194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46195 *) ac_try_echo=$ac_try;;
46197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46198 (eval "$ac_compile") 2>conftest.er1
46200 grep -v '^ *+' conftest.er1 >conftest.err
46202 cat conftest.err >&5
46203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46204 (exit $ac_status); } && {
46205 test -z "$ac_cxx_werror_flag" ||
46206 test ! -s conftest.err
46207 } && test -s conftest.$ac_objext; then
46208 wx_cv_func_strptime_decl=yes
46210 echo "$as_me: failed program was:" >&5
46211 sed 's/^/| /' conftest.$ac_ext >&5
46213 wx_cv_func_strptime_decl=no
46217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46219 ac_cpp='$CPP $CPPFLAGS'
46220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46227 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46228 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46230 if test "$wx_cv_func_strptime_decl" = "yes"; then
46231 cat >>confdefs.h <<\_ACEOF
46232 #define HAVE_STRPTIME_DECL 1
46236 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46238 if test "$ac_cv_func_strptime" = "yes"; then
46239 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46240 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46241 if test "${wx_cv_func_strptime_ok+set}" = set; then
46242 echo $ECHO_N "(cached) $ECHO_C" >&6
46244 if test "$cross_compiling" = yes; then
46245 wx_cv_func_strptime_ok=no
46248 cat >conftest.$ac_ext <<_ACEOF
46250 #include <stdlib.h>
46252 #include "confdefs.h"
46259 return !!strptime("", "%x", &t);
46263 rm -f conftest$ac_exeext
46264 if { (ac_try="$ac_link"
46265 case "(($ac_try" in
46266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46267 *) ac_try_echo=$ac_try;;
46269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46270 (eval "$ac_link") 2>&5
46272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46273 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46274 { (case "(($ac_try" in
46275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46276 *) ac_try_echo=$ac_try;;
46278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46279 (eval "$ac_try") 2>&5
46281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46282 (exit $ac_status); }; }; then
46283 wx_cv_func_strptime_ok=yes
46285 echo "$as_me: program exited with status $ac_status" >&5
46286 echo "$as_me: failed program was:" >&5
46287 sed 's/^/| /' conftest.$ac_ext >&5
46289 ( exit $ac_status )
46290 wx_cv_func_strptime_ok=no
46292 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46298 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46299 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46301 if test "$wx_cv_func_strptime_ok" = "yes"; then
46302 cat >>confdefs.h <<\_ACEOF
46303 #define HAVE_STRPTIME 1
46309 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46310 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46311 if test "${wx_cv_var_timezone+set}" = set; then
46312 echo $ECHO_N "(cached) $ECHO_C" >&6
46316 ac_cpp='$CXXCPP $CPPFLAGS'
46317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46321 cat >conftest.$ac_ext <<_ACEOF
46324 cat confdefs.h >>conftest.$ac_ext
46325 cat >>conftest.$ac_ext <<_ACEOF
46326 /* end confdefs.h. */
46341 rm -f conftest.$ac_objext
46342 if { (ac_try="$ac_compile"
46343 case "(($ac_try" in
46344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46345 *) ac_try_echo=$ac_try;;
46347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46348 (eval "$ac_compile") 2>conftest.er1
46350 grep -v '^ *+' conftest.er1 >conftest.err
46352 cat conftest.err >&5
46353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46354 (exit $ac_status); } && {
46355 test -z "$ac_cxx_werror_flag" ||
46356 test ! -s conftest.err
46357 } && test -s conftest.$ac_objext; then
46359 wx_cv_var_timezone=timezone
46362 echo "$as_me: failed program was:" >&5
46363 sed 's/^/| /' conftest.$ac_ext >&5
46366 cat >conftest.$ac_ext <<_ACEOF
46369 cat confdefs.h >>conftest.$ac_ext
46370 cat >>conftest.$ac_ext <<_ACEOF
46371 /* end confdefs.h. */
46386 rm -f conftest.$ac_objext
46387 if { (ac_try="$ac_compile"
46388 case "(($ac_try" in
46389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46390 *) ac_try_echo=$ac_try;;
46392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46393 (eval "$ac_compile") 2>conftest.er1
46395 grep -v '^ *+' conftest.er1 >conftest.err
46397 cat conftest.err >&5
46398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46399 (exit $ac_status); } && {
46400 test -z "$ac_cxx_werror_flag" ||
46401 test ! -s conftest.err
46402 } && test -s conftest.$ac_objext; then
46404 wx_cv_var_timezone=_timezone
46407 echo "$as_me: failed program was:" >&5
46408 sed 's/^/| /' conftest.$ac_ext >&5
46411 cat >conftest.$ac_ext <<_ACEOF
46414 cat confdefs.h >>conftest.$ac_ext
46415 cat >>conftest.$ac_ext <<_ACEOF
46416 /* end confdefs.h. */
46431 rm -f conftest.$ac_objext
46432 if { (ac_try="$ac_compile"
46433 case "(($ac_try" in
46434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46435 *) ac_try_echo=$ac_try;;
46437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46438 (eval "$ac_compile") 2>conftest.er1
46440 grep -v '^ *+' conftest.er1 >conftest.err
46442 cat conftest.err >&5
46443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46444 (exit $ac_status); } && {
46445 test -z "$ac_cxx_werror_flag" ||
46446 test ! -s conftest.err
46447 } && test -s conftest.$ac_objext; then
46449 wx_cv_var_timezone=__timezone
46452 echo "$as_me: failed program was:" >&5
46453 sed 's/^/| /' conftest.$ac_ext >&5
46456 if test "$USE_DOS" = 0 ; then
46457 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46458 echo "$as_me: WARNING: no timezone variable" >&2;}
46464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46476 ac_cpp='$CPP $CPPFLAGS'
46477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46484 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46485 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46487 if test "x$wx_cv_var_timezone" != x ; then
46488 cat >>confdefs.h <<_ACEOF
46489 #define WX_TIMEZONE $wx_cv_var_timezone
46495 for ac_func in localtime
46497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46498 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46500 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46501 echo $ECHO_N "(cached) $ECHO_C" >&6
46503 cat >conftest.$ac_ext <<_ACEOF
46506 cat confdefs.h >>conftest.$ac_ext
46507 cat >>conftest.$ac_ext <<_ACEOF
46508 /* end confdefs.h. */
46509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46511 #define $ac_func innocuous_$ac_func
46513 /* System header to define __stub macros and hopefully few prototypes,
46514 which can conflict with char $ac_func (); below.
46515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46516 <limits.h> exists even on freestanding compilers. */
46519 # include <limits.h>
46521 # include <assert.h>
46526 /* Override any GCC internal prototype to avoid an error.
46527 Use char because int might match the return type of a GCC
46528 builtin and then its argument prototype would still apply. */
46533 /* The GNU C library defines this for functions which it implements
46534 to always fail with ENOSYS. Some functions are actually named
46535 something starting with __ and the normal name is an alias. */
46536 #if defined __stub_$ac_func || defined __stub___$ac_func
46543 return $ac_func ();
46548 rm -f conftest.$ac_objext conftest$ac_exeext
46549 if { (ac_try="$ac_link"
46550 case "(($ac_try" in
46551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46552 *) ac_try_echo=$ac_try;;
46554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46555 (eval "$ac_link") 2>conftest.er1
46557 grep -v '^ *+' conftest.er1 >conftest.err
46559 cat conftest.err >&5
46560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46561 (exit $ac_status); } && {
46562 test -z "$ac_c_werror_flag" ||
46563 test ! -s conftest.err
46564 } && test -s conftest$ac_exeext &&
46565 $as_test_x conftest$ac_exeext; then
46566 eval "$as_ac_var=yes"
46568 echo "$as_me: failed program was:" >&5
46569 sed 's/^/| /' conftest.$ac_ext >&5
46571 eval "$as_ac_var=no"
46574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46575 conftest$ac_exeext conftest.$ac_ext
46577 ac_res=`eval echo '${'$as_ac_var'}'`
46578 { echo "$as_me:$LINENO: result: $ac_res" >&5
46579 echo "${ECHO_T}$ac_res" >&6; }
46580 if test `eval echo '${'$as_ac_var'}'` = yes; then
46581 cat >>confdefs.h <<_ACEOF
46582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46589 if test "$ac_cv_func_localtime" = "yes"; then
46590 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46591 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46592 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46593 echo $ECHO_N "(cached) $ECHO_C" >&6
46596 cat >conftest.$ac_ext <<_ACEOF
46599 cat confdefs.h >>conftest.$ac_ext
46600 cat >>conftest.$ac_ext <<_ACEOF
46601 /* end confdefs.h. */
46616 rm -f conftest.$ac_objext
46617 if { (ac_try="$ac_compile"
46618 case "(($ac_try" in
46619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46620 *) ac_try_echo=$ac_try;;
46622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46623 (eval "$ac_compile") 2>conftest.er1
46625 grep -v '^ *+' conftest.er1 >conftest.err
46627 cat conftest.err >&5
46628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46629 (exit $ac_status); } && {
46630 test -z "$ac_c_werror_flag" ||
46631 test ! -s conftest.err
46632 } && test -s conftest.$ac_objext; then
46634 wx_cv_struct_tm_has_gmtoff=yes
46637 echo "$as_me: failed program was:" >&5
46638 sed 's/^/| /' conftest.$ac_ext >&5
46640 wx_cv_struct_tm_has_gmtoff=no
46644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46647 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46648 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46651 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46652 cat >>confdefs.h <<\_ACEOF
46653 #define WX_GMTOFF_IN_TM 1
46658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46662 if test "$wxUSE_SOCKETS" = "yes"; then
46663 if test "$wxUSE_MGL" = "1"; then
46664 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46665 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46670 if test "$wxUSE_SOCKETS" = "yes"; then
46671 if test "$TOOLKIT" != "MSW"; then
46672 { echo "$as_me:$LINENO: checking for socket" >&5
46673 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46674 if test "${ac_cv_func_socket+set}" = set; then
46675 echo $ECHO_N "(cached) $ECHO_C" >&6
46677 cat >conftest.$ac_ext <<_ACEOF
46680 cat confdefs.h >>conftest.$ac_ext
46681 cat >>conftest.$ac_ext <<_ACEOF
46682 /* end confdefs.h. */
46683 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46685 #define socket innocuous_socket
46687 /* System header to define __stub macros and hopefully few prototypes,
46688 which can conflict with char socket (); below.
46689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46690 <limits.h> exists even on freestanding compilers. */
46693 # include <limits.h>
46695 # include <assert.h>
46700 /* Override any GCC internal prototype to avoid an error.
46701 Use char because int might match the return type of a GCC
46702 builtin and then its argument prototype would still apply. */
46707 /* The GNU C library defines this for functions which it implements
46708 to always fail with ENOSYS. Some functions are actually named
46709 something starting with __ and the normal name is an alias. */
46710 #if defined __stub_socket || defined __stub___socket
46722 rm -f conftest.$ac_objext conftest$ac_exeext
46723 if { (ac_try="$ac_link"
46724 case "(($ac_try" in
46725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46726 *) ac_try_echo=$ac_try;;
46728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46729 (eval "$ac_link") 2>conftest.er1
46731 grep -v '^ *+' conftest.er1 >conftest.err
46733 cat conftest.err >&5
46734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46735 (exit $ac_status); } && {
46736 test -z "$ac_c_werror_flag" ||
46737 test ! -s conftest.err
46738 } && test -s conftest$ac_exeext &&
46739 $as_test_x conftest$ac_exeext; then
46740 ac_cv_func_socket=yes
46742 echo "$as_me: failed program was:" >&5
46743 sed 's/^/| /' conftest.$ac_ext >&5
46745 ac_cv_func_socket=no
46748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46749 conftest$ac_exeext conftest.$ac_ext
46751 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46752 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46753 if test $ac_cv_func_socket = yes; then
46757 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46758 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46759 if test "${ac_cv_lib_socket_socket+set}" = set; then
46760 echo $ECHO_N "(cached) $ECHO_C" >&6
46762 ac_check_lib_save_LIBS=$LIBS
46763 LIBS="-lsocket $LIBS"
46764 cat >conftest.$ac_ext <<_ACEOF
46767 cat confdefs.h >>conftest.$ac_ext
46768 cat >>conftest.$ac_ext <<_ACEOF
46769 /* end confdefs.h. */
46771 /* Override any GCC internal prototype to avoid an error.
46772 Use char because int might match the return type of a GCC
46773 builtin and then its argument prototype would still apply. */
46786 rm -f conftest.$ac_objext conftest$ac_exeext
46787 if { (ac_try="$ac_link"
46788 case "(($ac_try" in
46789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46790 *) ac_try_echo=$ac_try;;
46792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46793 (eval "$ac_link") 2>conftest.er1
46795 grep -v '^ *+' conftest.er1 >conftest.err
46797 cat conftest.err >&5
46798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46799 (exit $ac_status); } && {
46800 test -z "$ac_c_werror_flag" ||
46801 test ! -s conftest.err
46802 } && test -s conftest$ac_exeext &&
46803 $as_test_x conftest$ac_exeext; then
46804 ac_cv_lib_socket_socket=yes
46806 echo "$as_me: failed program was:" >&5
46807 sed 's/^/| /' conftest.$ac_ext >&5
46809 ac_cv_lib_socket_socket=no
46812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46813 conftest$ac_exeext conftest.$ac_ext
46814 LIBS=$ac_check_lib_save_LIBS
46816 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46817 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46818 if test $ac_cv_lib_socket_socket = yes; then
46819 if test "$INET_LINK" != " -lsocket"; then
46820 INET_LINK="$INET_LINK -lsocket"
46824 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46825 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46838 if test "$wxUSE_SOCKETS" = "yes" ; then
46839 if test "$TOOLKIT" != "MSW"; then
46840 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46841 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46842 if test "${wx_cv_type_getsockname3+set}" = set; then
46843 echo $ECHO_N "(cached) $ECHO_C" >&6
46847 ac_cpp='$CXXCPP $CPPFLAGS'
46848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46852 cat >conftest.$ac_ext <<_ACEOF
46855 cat confdefs.h >>conftest.$ac_ext
46856 cat >>conftest.$ac_ext <<_ACEOF
46857 /* end confdefs.h. */
46859 #include <sys/types.h>
46860 #include <sys/socket.h>
46867 getsockname(0, 0, &len);
46873 rm -f conftest.$ac_objext
46874 if { (ac_try="$ac_compile"
46875 case "(($ac_try" in
46876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46877 *) ac_try_echo=$ac_try;;
46879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46880 (eval "$ac_compile") 2>conftest.er1
46882 grep -v '^ *+' conftest.er1 >conftest.err
46884 cat conftest.err >&5
46885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46886 (exit $ac_status); } && {
46887 test -z "$ac_cxx_werror_flag" ||
46888 test ! -s conftest.err
46889 } && test -s conftest.$ac_objext; then
46890 wx_cv_type_getsockname3=socklen_t
46892 echo "$as_me: failed program was:" >&5
46893 sed 's/^/| /' conftest.$ac_ext >&5
46896 CFLAGS_OLD="$CFLAGS"
46897 if test "$GCC" = yes ; then
46898 CFLAGS="-Werror $CFLAGS"
46901 cat >conftest.$ac_ext <<_ACEOF
46904 cat confdefs.h >>conftest.$ac_ext
46905 cat >>conftest.$ac_ext <<_ACEOF
46906 /* end confdefs.h. */
46908 #include <sys/types.h>
46909 #include <sys/socket.h>
46916 getsockname(0, 0, &len);
46922 rm -f conftest.$ac_objext
46923 if { (ac_try="$ac_compile"
46924 case "(($ac_try" in
46925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46926 *) ac_try_echo=$ac_try;;
46928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46929 (eval "$ac_compile") 2>conftest.er1
46931 grep -v '^ *+' conftest.er1 >conftest.err
46933 cat conftest.err >&5
46934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46935 (exit $ac_status); } && {
46936 test -z "$ac_cxx_werror_flag" ||
46937 test ! -s conftest.err
46938 } && test -s conftest.$ac_objext; then
46939 wx_cv_type_getsockname3=size_t
46941 echo "$as_me: failed program was:" >&5
46942 sed 's/^/| /' conftest.$ac_ext >&5
46944 cat >conftest.$ac_ext <<_ACEOF
46947 cat confdefs.h >>conftest.$ac_ext
46948 cat >>conftest.$ac_ext <<_ACEOF
46949 /* end confdefs.h. */
46951 #include <sys/types.h>
46952 #include <sys/socket.h>
46959 getsockname(0, 0, &len);
46965 rm -f conftest.$ac_objext
46966 if { (ac_try="$ac_compile"
46967 case "(($ac_try" in
46968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46969 *) ac_try_echo=$ac_try;;
46971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46972 (eval "$ac_compile") 2>conftest.er1
46974 grep -v '^ *+' conftest.er1 >conftest.err
46976 cat conftest.err >&5
46977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46978 (exit $ac_status); } && {
46979 test -z "$ac_cxx_werror_flag" ||
46980 test ! -s conftest.err
46981 } && test -s conftest.$ac_objext; then
46982 wx_cv_type_getsockname3=int
46984 echo "$as_me: failed program was:" >&5
46985 sed 's/^/| /' conftest.$ac_ext >&5
46987 wx_cv_type_getsockname3=unknown
46991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46997 CFLAGS="$CFLAGS_OLD"
47002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47004 ac_cpp='$CPP $CPPFLAGS'
47005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47011 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
47012 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
47014 if test "$wx_cv_type_getsockname3" = "unknown"; then
47016 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47017 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47019 cat >>confdefs.h <<_ACEOF
47020 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
47024 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
47025 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
47026 if test "${wx_cv_type_getsockopt5+set}" = set; then
47027 echo $ECHO_N "(cached) $ECHO_C" >&6
47031 ac_cpp='$CXXCPP $CPPFLAGS'
47032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47036 cat >conftest.$ac_ext <<_ACEOF
47039 cat confdefs.h >>conftest.$ac_ext
47040 cat >>conftest.$ac_ext <<_ACEOF
47041 /* end confdefs.h. */
47043 #include <sys/types.h>
47044 #include <sys/socket.h>
47051 getsockopt(0, 0, 0, 0, &len);
47057 rm -f conftest.$ac_objext
47058 if { (ac_try="$ac_compile"
47059 case "(($ac_try" in
47060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47061 *) ac_try_echo=$ac_try;;
47063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47064 (eval "$ac_compile") 2>conftest.er1
47066 grep -v '^ *+' conftest.er1 >conftest.err
47068 cat conftest.err >&5
47069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47070 (exit $ac_status); } && {
47071 test -z "$ac_cxx_werror_flag" ||
47072 test ! -s conftest.err
47073 } && test -s conftest.$ac_objext; then
47074 wx_cv_type_getsockopt5=socklen_t
47076 echo "$as_me: failed program was:" >&5
47077 sed 's/^/| /' conftest.$ac_ext >&5
47080 cat >conftest.$ac_ext <<_ACEOF
47083 cat confdefs.h >>conftest.$ac_ext
47084 cat >>conftest.$ac_ext <<_ACEOF
47085 /* end confdefs.h. */
47087 #include <sys/types.h>
47088 #include <sys/socket.h>
47095 getsockopt(0, 0, 0, 0, &len);
47101 rm -f conftest.$ac_objext
47102 if { (ac_try="$ac_compile"
47103 case "(($ac_try" in
47104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47105 *) ac_try_echo=$ac_try;;
47107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47108 (eval "$ac_compile") 2>conftest.er1
47110 grep -v '^ *+' conftest.er1 >conftest.err
47112 cat conftest.err >&5
47113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47114 (exit $ac_status); } && {
47115 test -z "$ac_cxx_werror_flag" ||
47116 test ! -s conftest.err
47117 } && test -s conftest.$ac_objext; then
47118 wx_cv_type_getsockopt5=size_t
47120 echo "$as_me: failed program was:" >&5
47121 sed 's/^/| /' conftest.$ac_ext >&5
47123 cat >conftest.$ac_ext <<_ACEOF
47126 cat confdefs.h >>conftest.$ac_ext
47127 cat >>conftest.$ac_ext <<_ACEOF
47128 /* end confdefs.h. */
47130 #include <sys/types.h>
47131 #include <sys/socket.h>
47138 getsockopt(0, 0, 0, 0, &len);
47144 rm -f conftest.$ac_objext
47145 if { (ac_try="$ac_compile"
47146 case "(($ac_try" in
47147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47148 *) ac_try_echo=$ac_try;;
47150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47151 (eval "$ac_compile") 2>conftest.er1
47153 grep -v '^ *+' conftest.er1 >conftest.err
47155 cat conftest.err >&5
47156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47157 (exit $ac_status); } && {
47158 test -z "$ac_cxx_werror_flag" ||
47159 test ! -s conftest.err
47160 } && test -s conftest.$ac_objext; then
47161 wx_cv_type_getsockopt5=int
47163 echo "$as_me: failed program was:" >&5
47164 sed 's/^/| /' conftest.$ac_ext >&5
47166 wx_cv_type_getsockopt5=unknown
47170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47181 ac_cpp='$CPP $CPPFLAGS'
47182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47188 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47189 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47191 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47193 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47194 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47196 cat >>confdefs.h <<_ACEOF
47197 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47204 if test "$wxUSE_SOCKETS" = "yes" ; then
47205 cat >>confdefs.h <<\_ACEOF
47206 #define wxUSE_SOCKETS 1
47209 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47212 if test "$wxUSE_PROTOCOL" = "yes"; then
47213 if test "$wxUSE_SOCKETS" != "yes"; then
47214 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47215 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47220 if test "$wxUSE_PROTOCOL" = "yes"; then
47221 cat >>confdefs.h <<\_ACEOF
47222 #define wxUSE_PROTOCOL 1
47226 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47227 cat >>confdefs.h <<\_ACEOF
47228 #define wxUSE_PROTOCOL_HTTP 1
47232 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47233 cat >>confdefs.h <<\_ACEOF
47234 #define wxUSE_PROTOCOL_FTP 1
47238 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47239 cat >>confdefs.h <<\_ACEOF
47240 #define wxUSE_PROTOCOL_FILE 1
47245 if test "$wxUSE_FS_INET" = "yes"; then
47246 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47247 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47252 if test "$wxUSE_URL" = "yes"; then
47253 if test "$wxUSE_PROTOCOL" != "yes"; then
47254 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47255 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47258 if test "$wxUSE_URL" = "yes"; then
47259 cat >>confdefs.h <<\_ACEOF
47260 #define wxUSE_URL 1
47266 if test "$wxUSE_VARIANT" = "yes"; then
47267 cat >>confdefs.h <<\_ACEOF
47268 #define wxUSE_VARIANT 1
47273 if test "$wxUSE_FS_INET" = "yes"; then
47274 cat >>confdefs.h <<\_ACEOF
47275 #define wxUSE_FS_INET 1
47281 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47284 if test "$TOOLKIT" = "MSW"; then
47287 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47288 if test "$USE_DARWIN" = 1; then
47289 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47290 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47292 ac_cpp='$CXXCPP $CPPFLAGS'
47293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47297 cat >conftest.$ac_ext <<_ACEOF
47300 cat confdefs.h >>conftest.$ac_ext
47301 cat >>conftest.$ac_ext <<_ACEOF
47302 /* end confdefs.h. */
47303 #include <IOKit/hid/IOHIDLib.h>
47307 IOHIDQueueInterface *qi = NULL;
47308 IOHIDCallbackFunction cb = NULL;
47309 qi->setEventCallout(NULL, cb, NULL, NULL);
47314 rm -f conftest.$ac_objext
47315 if { (ac_try="$ac_compile"
47316 case "(($ac_try" in
47317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47318 *) ac_try_echo=$ac_try;;
47320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47321 (eval "$ac_compile") 2>conftest.er1
47323 grep -v '^ *+' conftest.er1 >conftest.err
47325 cat conftest.err >&5
47326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47327 (exit $ac_status); } && {
47328 test -z "$ac_cxx_werror_flag" ||
47329 test ! -s conftest.err
47330 } && test -s conftest.$ac_objext; then
47334 echo "$as_me: failed program was:" >&5
47335 sed 's/^/| /' conftest.$ac_ext >&5
47340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47342 ac_cpp='$CPP $CPPFLAGS'
47343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47347 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47348 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47352 if test "$wxUSE_MGL" != "1"; then
47354 for ac_header in linux/joystick.h
47356 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47357 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47359 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47360 echo $ECHO_N "(cached) $ECHO_C" >&6
47362 cat >conftest.$ac_ext <<_ACEOF
47365 cat confdefs.h >>conftest.$ac_ext
47366 cat >>conftest.$ac_ext <<_ACEOF
47367 /* end confdefs.h. */
47368 $ac_includes_default
47370 #include <$ac_header>
47372 rm -f conftest.$ac_objext
47373 if { (ac_try="$ac_compile"
47374 case "(($ac_try" in
47375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47376 *) ac_try_echo=$ac_try;;
47378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47379 (eval "$ac_compile") 2>conftest.er1
47381 grep -v '^ *+' conftest.er1 >conftest.err
47383 cat conftest.err >&5
47384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47385 (exit $ac_status); } && {
47386 test -z "$ac_c_werror_flag" ||
47387 test ! -s conftest.err
47388 } && test -s conftest.$ac_objext; then
47389 eval "$as_ac_Header=yes"
47391 echo "$as_me: failed program was:" >&5
47392 sed 's/^/| /' conftest.$ac_ext >&5
47394 eval "$as_ac_Header=no"
47397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47399 ac_res=`eval echo '${'$as_ac_Header'}'`
47400 { echo "$as_me:$LINENO: result: $ac_res" >&5
47401 echo "${ECHO_T}$ac_res" >&6; }
47402 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47403 cat >>confdefs.h <<_ACEOF
47404 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47414 if test "$wxUSE_JOYSTICK" = "yes"; then
47415 cat >>confdefs.h <<\_ACEOF
47416 #define wxUSE_JOYSTICK 1
47419 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47421 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47422 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47428 if test "$wxUSE_FONTMAP" = "yes" ; then
47429 cat >>confdefs.h <<\_ACEOF
47430 #define wxUSE_FONTMAP 1
47435 if test "$wxUSE_UNICODE" = "yes" ; then
47436 cat >>confdefs.h <<\_ACEOF
47437 #define wxUSE_UNICODE 1
47441 if test "$USE_WIN32" != 1; then
47442 wxUSE_UNICODE_MSLU=no
47445 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47446 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47447 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47448 if test "${ac_cv_lib_unicows_main+set}" = set; then
47449 echo $ECHO_N "(cached) $ECHO_C" >&6
47451 ac_check_lib_save_LIBS=$LIBS
47452 LIBS="-lunicows $LIBS"
47453 cat >conftest.$ac_ext <<_ACEOF
47456 cat confdefs.h >>conftest.$ac_ext
47457 cat >>conftest.$ac_ext <<_ACEOF
47458 /* end confdefs.h. */
47469 rm -f conftest.$ac_objext conftest$ac_exeext
47470 if { (ac_try="$ac_link"
47471 case "(($ac_try" in
47472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47473 *) ac_try_echo=$ac_try;;
47475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47476 (eval "$ac_link") 2>conftest.er1
47478 grep -v '^ *+' conftest.er1 >conftest.err
47480 cat conftest.err >&5
47481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47482 (exit $ac_status); } && {
47483 test -z "$ac_c_werror_flag" ||
47484 test ! -s conftest.err
47485 } && test -s conftest$ac_exeext &&
47486 $as_test_x conftest$ac_exeext; then
47487 ac_cv_lib_unicows_main=yes
47489 echo "$as_me: failed program was:" >&5
47490 sed 's/^/| /' conftest.$ac_ext >&5
47492 ac_cv_lib_unicows_main=no
47495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47496 conftest$ac_exeext conftest.$ac_ext
47497 LIBS=$ac_check_lib_save_LIBS
47499 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47500 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47501 if test $ac_cv_lib_unicows_main = yes; then
47503 cat >>confdefs.h <<\_ACEOF
47504 #define wxUSE_UNICODE_MSLU 1
47510 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47511 Applications will only run on Windows NT/2000/XP!" >&5
47512 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47513 Applications will only run on Windows NT/2000/XP!" >&2;}
47514 wxUSE_UNICODE_MSLU=no
47521 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47522 cat >>confdefs.h <<\_ACEOF
47523 #define wxUSE_UNICODE_UTF8 1
47527 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47528 cat >>confdefs.h <<\_ACEOF
47529 #define wxUSE_UTF8_LOCALE_ONLY 1
47535 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
47536 cat >>confdefs.h <<\_ACEOF
47537 #define wxUSE_EXPERIMENTAL_PRINTF 1
47543 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47544 cat >>confdefs.h <<\_ACEOF
47545 #define wxUSE_CONSTRAINTS 1
47548 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47551 if test "$wxUSE_MDI" = "yes"; then
47552 cat >>confdefs.h <<\_ACEOF
47553 #define wxUSE_MDI 1
47557 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47558 cat >>confdefs.h <<\_ACEOF
47559 #define wxUSE_MDI_ARCHITECTURE 1
47562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47566 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47567 cat >>confdefs.h <<\_ACEOF
47568 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47571 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47572 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47573 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47577 if test "$wxUSE_HELP" = "yes"; then
47578 cat >>confdefs.h <<\_ACEOF
47579 #define wxUSE_HELP 1
47582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47584 if test "$wxUSE_MSW" = 1; then
47585 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47586 cat >>confdefs.h <<\_ACEOF
47587 #define wxUSE_MS_HTML_HELP 1
47593 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47594 if test "$wxUSE_HTML" = "yes"; then
47595 cat >>confdefs.h <<\_ACEOF
47596 #define wxUSE_WXHTML_HELP 1
47600 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47601 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47602 wxUSE_WXHTML_HELP=no
47607 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47608 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47609 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47610 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47612 cat >>confdefs.h <<\_ACEOF
47613 #define wxUSE_PRINTING_ARCHITECTURE 1
47617 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47620 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47621 cat >>confdefs.h <<\_ACEOF
47622 #define wxUSE_POSTSCRIPT 1
47627 cat >>confdefs.h <<\_ACEOF
47628 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47632 cat >>confdefs.h <<\_ACEOF
47633 #define wxUSE_NORMALIZED_PS_FONTS 1
47637 if test "$wxUSE_SVG" = "yes"; then
47638 cat >>confdefs.h <<\_ACEOF
47639 #define wxUSE_SVG 1
47645 if test "$wxUSE_METAFILE" = "yes"; then
47646 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47647 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47648 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47654 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47655 -o "$wxUSE_CLIPBOARD" = "yes" \
47656 -o "$wxUSE_OLE" = "yes" \
47657 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47658 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47659 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47660 if test "${ac_cv_header_ole2_h+set}" = set; then
47661 echo $ECHO_N "(cached) $ECHO_C" >&6
47663 cat >conftest.$ac_ext <<_ACEOF
47666 cat confdefs.h >>conftest.$ac_ext
47667 cat >>conftest.$ac_ext <<_ACEOF
47668 /* end confdefs.h. */
47673 rm -f conftest.$ac_objext
47674 if { (ac_try="$ac_compile"
47675 case "(($ac_try" in
47676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47677 *) ac_try_echo=$ac_try;;
47679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47680 (eval "$ac_compile") 2>conftest.er1
47682 grep -v '^ *+' conftest.er1 >conftest.err
47684 cat conftest.err >&5
47685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47686 (exit $ac_status); } && {
47687 test -z "$ac_c_werror_flag" ||
47688 test ! -s conftest.err
47689 } && test -s conftest.$ac_objext; then
47690 ac_cv_header_ole2_h=yes
47692 echo "$as_me: failed program was:" >&5
47693 sed 's/^/| /' conftest.$ac_ext >&5
47695 ac_cv_header_ole2_h=no
47698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47700 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47701 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47705 if test "$ac_cv_header_ole2_h" = "yes" ; then
47706 if test "$GCC" = yes ; then
47707 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47708 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47709 cat >conftest.$ac_ext <<_ACEOF
47712 cat confdefs.h >>conftest.$ac_ext
47713 cat >>conftest.$ac_ext <<_ACEOF
47714 /* end confdefs.h. */
47715 #include <windows.h>
47725 rm -f conftest.$ac_objext
47726 if { (ac_try="$ac_compile"
47727 case "(($ac_try" in
47728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47729 *) ac_try_echo=$ac_try;;
47731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47732 (eval "$ac_compile") 2>conftest.er1
47734 grep -v '^ *+' conftest.er1 >conftest.err
47736 cat conftest.err >&5
47737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47738 (exit $ac_status); } && {
47739 test -z "$ac_c_werror_flag" ||
47740 test ! -s conftest.err
47741 } && test -s conftest.$ac_objext; then
47742 { echo "$as_me:$LINENO: result: no" >&5
47743 echo "${ECHO_T}no" >&6; }
47745 echo "$as_me: failed program was:" >&5
47746 sed 's/^/| /' conftest.$ac_ext >&5
47748 { echo "$as_me:$LINENO: result: yes" >&5
47749 echo "${ECHO_T}yes" >&6; }
47750 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47754 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47755 if test "$wxUSE_OLE" = "yes" ; then
47756 cat >>confdefs.h <<\_ACEOF
47757 #define wxUSE_OLE 1
47760 cat >>confdefs.h <<\_ACEOF
47761 #define wxUSE_OLE_AUTOMATION 1
47764 cat >>confdefs.h <<\_ACEOF
47765 #define wxUSE_ACTIVEX 1
47768 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47772 if test "$wxUSE_DATAOBJ" = "yes" ; then
47773 cat >>confdefs.h <<\_ACEOF
47774 #define wxUSE_DATAOBJ 1
47779 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47780 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47783 wxUSE_DRAG_AND_DROP=no
47788 if test "$wxUSE_METAFILE" = "yes"; then
47789 cat >>confdefs.h <<\_ACEOF
47790 #define wxUSE_METAFILE 1
47794 cat >>confdefs.h <<\_ACEOF
47795 #define wxUSE_ENH_METAFILE 1
47801 if test "$wxUSE_IPC" = "yes"; then
47802 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47803 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47804 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47808 if test "$wxUSE_IPC" = "yes"; then
47809 cat >>confdefs.h <<\_ACEOF
47810 #define wxUSE_IPC 1
47813 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47817 if test "$wxUSE_DATAOBJ" = "yes"; then
47818 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47819 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47820 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47823 cat >>confdefs.h <<\_ACEOF
47824 #define wxUSE_DATAOBJ 1
47829 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47830 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47832 wxUSE_DRAG_AND_DROP=no
47835 if test "$wxUSE_CLIPBOARD" = "yes"; then
47836 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47837 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47838 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47842 if test "$wxUSE_CLIPBOARD" = "yes"; then
47843 cat >>confdefs.h <<\_ACEOF
47844 #define wxUSE_CLIPBOARD 1
47850 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47851 if test "$wxUSE_GTK" = 1; then
47852 if test "$WXGTK12" != 1; then
47853 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47854 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47855 wxUSE_DRAG_AND_DROP=no
47859 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47860 "$wxUSE_DFB" = 1; then
47861 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47862 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47863 wxUSE_DRAG_AND_DROP=no
47866 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47867 cat >>confdefs.h <<\_ACEOF
47868 #define wxUSE_DRAG_AND_DROP 1
47875 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47876 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47879 if test "$wxUSE_SPLINES" = "yes" ; then
47880 cat >>confdefs.h <<\_ACEOF
47881 #define wxUSE_SPLINES 1
47886 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47887 cat >>confdefs.h <<\_ACEOF
47888 #define wxUSE_MOUSEWHEEL 1
47895 if test "$wxUSE_CONTROLS" = "yes"; then
47899 if test "$wxUSE_ACCEL" = "yes"; then
47900 cat >>confdefs.h <<\_ACEOF
47901 #define wxUSE_ACCEL 1
47907 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47908 cat >>confdefs.h <<\_ACEOF
47909 #define wxUSE_ANIMATIONCTRL 1
47913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47916 if test "$wxUSE_BUTTON" = "yes"; then
47917 cat >>confdefs.h <<\_ACEOF
47918 #define wxUSE_BUTTON 1
47924 if test "$wxUSE_BMPBUTTON" = "yes"; then
47925 cat >>confdefs.h <<\_ACEOF
47926 #define wxUSE_BMPBUTTON 1
47932 if test "$wxUSE_CALCTRL" = "yes"; then
47933 cat >>confdefs.h <<\_ACEOF
47934 #define wxUSE_CALENDARCTRL 1
47938 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47941 if test "$wxUSE_CARET" = "yes"; then
47942 cat >>confdefs.h <<\_ACEOF
47943 #define wxUSE_CARET 1
47947 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47950 if test "$wxUSE_COLLPANE" = "yes"; then
47951 cat >>confdefs.h <<\_ACEOF
47952 #define wxUSE_COLLPANE 1
47956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47959 if test "$wxUSE_COMBOBOX" = "yes"; then
47960 cat >>confdefs.h <<\_ACEOF
47961 #define wxUSE_COMBOBOX 1
47967 if test "$wxUSE_COMBOCTRL" = "yes"; then
47968 cat >>confdefs.h <<\_ACEOF
47969 #define wxUSE_COMBOCTRL 1
47975 if test "$wxUSE_CHOICE" = "yes"; then
47976 cat >>confdefs.h <<\_ACEOF
47977 #define wxUSE_CHOICE 1
47983 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47984 cat >>confdefs.h <<\_ACEOF
47985 #define wxUSE_CHOICEBOOK 1
47991 if test "$wxUSE_CHECKBOX" = "yes"; then
47992 cat >>confdefs.h <<\_ACEOF
47993 #define wxUSE_CHECKBOX 1
47999 if test "$wxUSE_CHECKLST" = "yes"; then
48000 cat >>confdefs.h <<\_ACEOF
48001 #define wxUSE_CHECKLISTBOX 1
48005 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
48008 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
48009 cat >>confdefs.h <<\_ACEOF
48010 #define wxUSE_COLOURPICKERCTRL 1
48016 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
48017 cat >>confdefs.h <<\_ACEOF
48018 #define wxUSE_DATEPICKCTRL 1
48024 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
48025 cat >>confdefs.h <<\_ACEOF
48026 #define wxUSE_DIRPICKERCTRL 1
48032 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
48033 cat >>confdefs.h <<\_ACEOF
48034 #define wxUSE_FILEPICKERCTRL 1
48040 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
48041 cat >>confdefs.h <<\_ACEOF
48042 #define wxUSE_FONTPICKERCTRL 1
48048 if test "$wxUSE_DISPLAY" = "yes"; then
48049 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
48050 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
48051 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
48054 cat >>confdefs.h <<\_ACEOF
48055 #define wxUSE_DISPLAY 1
48058 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
48062 if test "$wxUSE_DETECT_SM" = "yes"; then
48063 cat >>confdefs.h <<\_ACEOF
48064 #define wxUSE_DETECT_SM 1
48069 if test "$wxUSE_GAUGE" = "yes"; then
48070 cat >>confdefs.h <<\_ACEOF
48071 #define wxUSE_GAUGE 1
48077 if test "$wxUSE_GRID" = "yes"; then
48078 cat >>confdefs.h <<\_ACEOF
48079 #define wxUSE_GRID 1
48083 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
48086 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
48087 cat >>confdefs.h <<\_ACEOF
48088 #define wxUSE_HYPERLINKCTRL 1
48094 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48095 cat >>confdefs.h <<\_ACEOF
48096 #define wxUSE_BITMAPCOMBOBOX 1
48102 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48103 cat >>confdefs.h <<\_ACEOF
48104 #define wxUSE_DATAVIEWCTRL 1
48108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
48111 if test "$wxUSE_IMAGLIST" = "yes"; then
48112 cat >>confdefs.h <<\_ACEOF
48113 #define wxUSE_IMAGLIST 1
48118 if test "$wxUSE_LISTBOOK" = "yes"; then
48119 cat >>confdefs.h <<\_ACEOF
48120 #define wxUSE_LISTBOOK 1
48126 if test "$wxUSE_LISTBOX" = "yes"; then
48127 cat >>confdefs.h <<\_ACEOF
48128 #define wxUSE_LISTBOX 1
48132 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
48135 if test "$wxUSE_LISTCTRL" = "yes"; then
48136 if test "$wxUSE_IMAGLIST" = "yes"; then
48137 cat >>confdefs.h <<\_ACEOF
48138 #define wxUSE_LISTCTRL 1
48142 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48144 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48145 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48149 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48150 cat >>confdefs.h <<\_ACEOF
48151 #define wxUSE_EDITABLELISTBOX 1
48155 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48158 if test "$wxUSE_NOTEBOOK" = "yes"; then
48159 cat >>confdefs.h <<\_ACEOF
48160 #define wxUSE_NOTEBOOK 1
48164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48167 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48168 cat >>confdefs.h <<\_ACEOF
48169 #define wxUSE_ODCOMBOBOX 1
48173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48177 if test "$wxUSE_RADIOBOX" = "yes"; then
48178 cat >>confdefs.h <<\_ACEOF
48179 #define wxUSE_RADIOBOX 1
48185 if test "$wxUSE_RADIOBTN" = "yes"; then
48186 cat >>confdefs.h <<\_ACEOF
48187 #define wxUSE_RADIOBTN 1
48193 if test "$wxUSE_SASH" = "yes"; then
48194 cat >>confdefs.h <<\_ACEOF
48195 #define wxUSE_SASH 1
48198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48201 if test "$wxUSE_SCROLLBAR" = "yes"; then
48202 cat >>confdefs.h <<\_ACEOF
48203 #define wxUSE_SCROLLBAR 1
48207 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48210 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48211 cat >>confdefs.h <<\_ACEOF
48212 #define wxUSE_SEARCHCTRL 1
48218 if test "$wxUSE_SLIDER" = "yes"; then
48219 cat >>confdefs.h <<\_ACEOF
48220 #define wxUSE_SLIDER 1
48226 if test "$wxUSE_SPINBTN" = "yes"; then
48227 cat >>confdefs.h <<\_ACEOF
48228 #define wxUSE_SPINBTN 1
48234 if test "$wxUSE_SPINCTRL" = "yes"; then
48235 cat >>confdefs.h <<\_ACEOF
48236 #define wxUSE_SPINCTRL 1
48242 if test "$wxUSE_SPLITTER" = "yes"; then
48243 cat >>confdefs.h <<\_ACEOF
48244 #define wxUSE_SPLITTER 1
48247 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48250 if test "$wxUSE_STATBMP" = "yes"; then
48251 cat >>confdefs.h <<\_ACEOF
48252 #define wxUSE_STATBMP 1
48258 if test "$wxUSE_STATBOX" = "yes"; then
48259 cat >>confdefs.h <<\_ACEOF
48260 #define wxUSE_STATBOX 1
48266 if test "$wxUSE_STATTEXT" = "yes"; then
48267 cat >>confdefs.h <<\_ACEOF
48268 #define wxUSE_STATTEXT 1
48274 if test "$wxUSE_STATLINE" = "yes"; then
48275 cat >>confdefs.h <<\_ACEOF
48276 #define wxUSE_STATLINE 1
48282 if test "$wxUSE_STATUSBAR" = "yes"; then
48283 cat >>confdefs.h <<\_ACEOF
48284 #define wxUSE_NATIVE_STATUSBAR 1
48287 cat >>confdefs.h <<\_ACEOF
48288 #define wxUSE_STATUSBAR 1
48293 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48296 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48297 cat >>confdefs.h <<\_ACEOF
48298 #define wxUSE_TAB_DIALOG 1
48303 if test "$wxUSE_TEXTCTRL" = "yes"; then
48304 cat >>confdefs.h <<\_ACEOF
48305 #define wxUSE_TEXTCTRL 1
48309 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48312 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48313 if test "$wxUSE_COCOA" = 1 ; then
48314 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48315 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48319 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48320 cat >>confdefs.h <<\_ACEOF
48321 #define wxUSE_TOGGLEBTN 1
48328 if test "$wxUSE_TOOLBAR" = "yes"; then
48329 cat >>confdefs.h <<\_ACEOF
48330 #define wxUSE_TOOLBAR 1
48335 if test "$wxUSE_UNIVERSAL" = "yes"; then
48336 wxUSE_TOOLBAR_NATIVE="no"
48338 wxUSE_TOOLBAR_NATIVE="yes"
48339 cat >>confdefs.h <<\_ACEOF
48340 #define wxUSE_TOOLBAR_NATIVE 1
48345 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48348 if test "$wxUSE_TOOLTIPS" = "yes"; then
48349 if test "$wxUSE_MOTIF" = 1; then
48350 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48351 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48353 if test "$wxUSE_UNIVERSAL" = "yes"; then
48354 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48355 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48357 cat >>confdefs.h <<\_ACEOF
48358 #define wxUSE_TOOLTIPS 1
48365 if test "$wxUSE_TREEBOOK" = "yes"; then
48366 cat >>confdefs.h <<\_ACEOF
48367 #define wxUSE_TREEBOOK 1
48373 if test "$wxUSE_TOOLBOOK" = "yes"; then
48374 cat >>confdefs.h <<\_ACEOF
48375 #define wxUSE_TOOLBOOK 1
48381 if test "$wxUSE_TREECTRL" = "yes"; then
48382 if test "$wxUSE_IMAGLIST" = "yes"; then
48383 cat >>confdefs.h <<\_ACEOF
48384 #define wxUSE_TREECTRL 1
48388 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48390 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48391 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48395 if test "$wxUSE_POPUPWIN" = "yes"; then
48396 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48397 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48398 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48400 if test "$wxUSE_PM" = 1; then
48401 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48402 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48404 cat >>confdefs.h <<\_ACEOF
48405 #define wxUSE_POPUPWIN 1
48408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48415 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48416 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48417 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48418 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48420 cat >>confdefs.h <<\_ACEOF
48421 #define wxUSE_DIALUP_MANAGER 1
48424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48428 if test "$wxUSE_TIPWINDOW" = "yes"; then
48429 if test "$wxUSE_PM" = 1; then
48430 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48431 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48433 cat >>confdefs.h <<\_ACEOF
48434 #define wxUSE_TIPWINDOW 1
48440 if test "$USES_CONTROLS" = 1; then
48441 cat >>confdefs.h <<\_ACEOF
48442 #define wxUSE_CONTROLS 1
48448 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48449 cat >>confdefs.h <<\_ACEOF
48450 #define wxUSE_ACCESSIBILITY 1
48453 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48456 if test "$wxUSE_DC_CACHEING" = "yes"; then
48457 cat >>confdefs.h <<\_ACEOF
48458 #define wxUSE_DC_CACHEING 1
48463 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48464 cat >>confdefs.h <<\_ACEOF
48465 #define wxUSE_DRAGIMAGE 1
48468 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48471 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48472 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48473 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48474 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48476 cat >>confdefs.h <<\_ACEOF
48477 #define wxUSE_EXCEPTIONS 1
48480 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48485 if test "$wxUSE_HTML" = "yes"; then
48486 cat >>confdefs.h <<\_ACEOF
48487 #define wxUSE_HTML 1
48491 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48492 if test "$wxUSE_MAC" = 1; then
48493 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48496 if test "$wxUSE_WEBKIT" = "yes"; then
48497 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48498 old_CPPFLAGS="$CPPFLAGS"
48499 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48500 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48501 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48502 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48503 echo $ECHO_N "(cached) $ECHO_C" >&6
48505 cat >conftest.$ac_ext <<_ACEOF
48508 cat confdefs.h >>conftest.$ac_ext
48509 cat >>conftest.$ac_ext <<_ACEOF
48510 /* end confdefs.h. */
48512 #include <Carbon/Carbon.h>
48513 #include <WebKit/WebKit.h>
48516 #include <WebKit/HIWebView.h>
48518 rm -f conftest.$ac_objext
48519 if { (ac_try="$ac_compile"
48520 case "(($ac_try" in
48521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48522 *) ac_try_echo=$ac_try;;
48524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48525 (eval "$ac_compile") 2>conftest.er1
48527 grep -v '^ *+' conftest.er1 >conftest.err
48529 cat conftest.err >&5
48530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48531 (exit $ac_status); } && {
48532 test -z "$ac_c_werror_flag" ||
48533 test ! -s conftest.err
48534 } && test -s conftest.$ac_objext; then
48535 ac_cv_header_WebKit_HIWebView_h=yes
48537 echo "$as_me: failed program was:" >&5
48538 sed 's/^/| /' conftest.$ac_ext >&5
48540 ac_cv_header_WebKit_HIWebView_h=no
48543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48545 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48546 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48547 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48549 cat >>confdefs.h <<\_ACEOF
48550 #define wxUSE_WEBKIT 1
48553 WEBKIT_LINK="-framework WebKit"
48557 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48558 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48564 CPPFLAGS="$old_CPPFLAGS"
48565 elif test "$wxUSE_COCOA" = 1; then
48566 cat >>confdefs.h <<\_ACEOF
48567 #define wxUSE_WEBKIT 1
48576 if test "$wxUSE_XRC" = "yes"; then
48577 if test "$wxUSE_XML" != "yes"; then
48578 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48579 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48582 cat >>confdefs.h <<\_ACEOF
48583 #define wxUSE_XRC 1
48587 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48592 if test "$wxUSE_AUI" = "yes"; then
48593 cat >>confdefs.h <<\_ACEOF
48594 #define wxUSE_AUI 1
48598 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48602 if test "$wxUSE_STC" = "yes"; then
48603 cat >>confdefs.h <<\_ACEOF
48604 #define wxUSE_STC 1
48608 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48611 if test "$wxUSE_MENUS" = "yes"; then
48612 cat >>confdefs.h <<\_ACEOF
48613 #define wxUSE_MENUS 1
48616 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48619 if test "$wxUSE_METAFILE" = "yes"; then
48620 cat >>confdefs.h <<\_ACEOF
48621 #define wxUSE_METAFILE 1
48626 if test "$wxUSE_MIMETYPE" = "yes"; then
48627 cat >>confdefs.h <<\_ACEOF
48628 #define wxUSE_MIMETYPE 1
48633 if test "$wxUSE_MINIFRAME" = "yes"; then
48634 cat >>confdefs.h <<\_ACEOF
48635 #define wxUSE_MINIFRAME 1
48638 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
48641 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48642 cat >>confdefs.h <<\_ACEOF
48643 #define wxUSE_SYSTEM_OPTIONS 1
48648 if test "$wxUSE_TASKBARICON" = "yes"; then
48649 cat >>confdefs.h <<\_ACEOF
48650 #define wxUSE_TASKBARICON 1
48653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48657 if test "$wxUSE_VALIDATORS" = "yes"; then
48658 cat >>confdefs.h <<\_ACEOF
48659 #define wxUSE_VALIDATORS 1
48662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48665 if test "$wxUSE_PALETTE" = "yes" ; then
48666 if test "$wxUSE_DFB" = 1; then
48667 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48668 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48671 cat >>confdefs.h <<\_ACEOF
48672 #define wxUSE_PALETTE 1
48678 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48679 LIBS=" -lunicows $LIBS"
48683 if test "$wxUSE_RICHTEXT" = "yes"; then
48684 cat >>confdefs.h <<\_ACEOF
48685 #define wxUSE_RICHTEXT 1
48689 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48693 if test "$wxUSE_IMAGE" = "yes" ; then
48694 cat >>confdefs.h <<\_ACEOF
48695 #define wxUSE_IMAGE 1
48699 if test "$wxUSE_GIF" = "yes" ; then
48700 cat >>confdefs.h <<\_ACEOF
48701 #define wxUSE_GIF 1
48706 if test "$wxUSE_PCX" = "yes" ; then
48707 cat >>confdefs.h <<\_ACEOF
48708 #define wxUSE_PCX 1
48713 if test "$wxUSE_TGA" = "yes" ; then
48714 cat >>confdefs.h <<\_ACEOF
48715 #define wxUSE_TGA 1
48720 if test "$wxUSE_IFF" = "yes" ; then
48721 cat >>confdefs.h <<\_ACEOF
48722 #define wxUSE_IFF 1
48727 if test "$wxUSE_PNM" = "yes" ; then
48728 cat >>confdefs.h <<\_ACEOF
48729 #define wxUSE_PNM 1
48734 if test "$wxUSE_XPM" = "yes" ; then
48735 cat >>confdefs.h <<\_ACEOF
48736 #define wxUSE_XPM 1
48741 if test "$wxUSE_ICO_CUR" = "yes" ; then
48742 cat >>confdefs.h <<\_ACEOF
48743 #define wxUSE_ICO_CUR 1
48750 if test "$wxUSE_ABOUTDLG" = "yes"; then
48751 cat >>confdefs.h <<\_ACEOF
48752 #define wxUSE_ABOUTDLG 1
48757 if test "$wxUSE_CHOICEDLG" = "yes"; then
48758 cat >>confdefs.h <<\_ACEOF
48759 #define wxUSE_CHOICEDLG 1
48764 if test "$wxUSE_COLOURDLG" = "yes"; then
48765 cat >>confdefs.h <<\_ACEOF
48766 #define wxUSE_COLOURDLG 1
48771 if test "$wxUSE_FILEDLG" = "yes"; then
48772 cat >>confdefs.h <<\_ACEOF
48773 #define wxUSE_FILEDLG 1
48778 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48779 cat >>confdefs.h <<\_ACEOF
48780 #define wxUSE_FINDREPLDLG 1
48785 if test "$wxUSE_FONTDLG" = "yes"; then
48786 cat >>confdefs.h <<\_ACEOF
48787 #define wxUSE_FONTDLG 1
48792 if test "$wxUSE_DIRDLG" = "yes"; then
48793 if test "$wxUSE_TREECTRL" != "yes"; then
48794 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48795 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48797 cat >>confdefs.h <<\_ACEOF
48798 #define wxUSE_DIRDLG 1
48804 if test "$wxUSE_MSGDLG" = "yes"; then
48805 cat >>confdefs.h <<\_ACEOF
48806 #define wxUSE_MSGDLG 1
48811 if test "$wxUSE_NUMBERDLG" = "yes"; then
48812 cat >>confdefs.h <<\_ACEOF
48813 #define wxUSE_NUMBERDLG 1
48818 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48819 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48820 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48821 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48823 cat >>confdefs.h <<\_ACEOF
48824 #define wxUSE_PROGRESSDLG 1
48830 if test "$wxUSE_SPLASH" = "yes"; then
48831 cat >>confdefs.h <<\_ACEOF
48832 #define wxUSE_SPLASH 1
48835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48838 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48839 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48840 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48841 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48843 cat >>confdefs.h <<\_ACEOF
48844 #define wxUSE_STARTUP_TIPS 1
48850 if test "$wxUSE_TEXTDLG" = "yes"; then
48851 cat >>confdefs.h <<\_ACEOF
48852 #define wxUSE_TEXTDLG 1
48857 if test "$wxUSE_WIZARDDLG" = "yes"; then
48858 cat >>confdefs.h <<\_ACEOF
48859 #define wxUSE_WIZARDDLG 1
48862 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48866 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48867 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48868 cat >>confdefs.h <<\_ACEOF
48869 #define wxUSE_GRAPHICS_CONTEXT 1
48872 elif test "$wxUSE_GTK" != 1; then
48873 cat >>confdefs.h <<\_ACEOF
48874 #define wxUSE_GRAPHICS_CONTEXT 1
48880 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48881 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48883 if test -n "$PKG_CONFIG"; then
48884 if test -n "$CAIRO_CFLAGS"; then
48885 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48887 if test -n "$PKG_CONFIG" && \
48888 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48889 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48892 (exit $ac_status); }; then
48893 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48901 if test -n "$PKG_CONFIG"; then
48902 if test -n "$CAIRO_LIBS"; then
48903 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48905 if test -n "$PKG_CONFIG" && \
48906 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48907 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48910 (exit $ac_status); }; then
48911 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48922 if test $pkg_failed = yes; then
48924 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48925 _pkg_short_errors_supported=yes
48927 _pkg_short_errors_supported=no
48929 if test $_pkg_short_errors_supported = yes; then
48930 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48932 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48934 # Put the nasty error message in config.log where it belongs
48935 echo "$CAIRO_PKG_ERRORS" >&5
48937 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48938 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48940 elif test $pkg_failed = untried; then
48941 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48942 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48945 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48946 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48947 { echo "$as_me:$LINENO: result: yes" >&5
48948 echo "${ECHO_T}yes" >&6; }
48949 cat >>confdefs.h <<\_ACEOF
48950 #define wxUSE_GRAPHICS_CONTEXT 1
48960 if test "$wxUSE_MEDIACTRL" = "yes"; then
48963 if test "$wxUSE_GTK" = 1; then
48964 wxUSE_GSTREAMER="no"
48966 GST_VERSION_MAJOR=0
48967 GST_VERSION_MINOR=10
48968 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48970 if test "$wxUSE_GSTREAMER8" = "no"; then
48973 { echo "$as_me:$LINENO: checking for GST" >&5
48974 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48976 if test -n "$PKG_CONFIG"; then
48977 if test -n "$GST_CFLAGS"; then
48978 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48980 if test -n "$PKG_CONFIG" && \
48981 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48982 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48985 (exit $ac_status); }; then
48986 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48994 if test -n "$PKG_CONFIG"; then
48995 if test -n "$GST_LIBS"; then
48996 pkg_cv_GST_LIBS="$GST_LIBS"
48998 if test -n "$PKG_CONFIG" && \
48999 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49000 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49003 (exit $ac_status); }; then
49004 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49015 if test $pkg_failed = yes; then
49017 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49018 _pkg_short_errors_supported=yes
49020 _pkg_short_errors_supported=no
49022 if test $_pkg_short_errors_supported = yes; then
49023 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49025 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49027 # Put the nasty error message in config.log where it belongs
49028 echo "$GST_PKG_ERRORS" >&5
49031 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49032 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49033 GST_VERSION_MINOR=8
49036 elif test $pkg_failed = untried; then
49038 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49039 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49040 GST_VERSION_MINOR=8
49044 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49045 GST_LIBS=$pkg_cv_GST_LIBS
49046 { echo "$as_me:$LINENO: result: yes" >&5
49047 echo "${ECHO_T}yes" >&6; }
49049 wxUSE_GSTREAMER="yes"
49050 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49054 GST_VERSION_MINOR=8
49057 if test $GST_VERSION_MINOR = "8"; then
49058 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49061 { echo "$as_me:$LINENO: checking for GST" >&5
49062 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49064 if test -n "$PKG_CONFIG"; then
49065 if test -n "$GST_CFLAGS"; then
49066 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49068 if test -n "$PKG_CONFIG" && \
49069 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49070 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49073 (exit $ac_status); }; then
49074 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49082 if test -n "$PKG_CONFIG"; then
49083 if test -n "$GST_LIBS"; then
49084 pkg_cv_GST_LIBS="$GST_LIBS"
49086 if test -n "$PKG_CONFIG" && \
49087 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49088 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49091 (exit $ac_status); }; then
49092 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49103 if test $pkg_failed = yes; then
49105 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49106 _pkg_short_errors_supported=yes
49108 _pkg_short_errors_supported=no
49110 if test $_pkg_short_errors_supported = yes; then
49111 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49113 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49115 # Put the nasty error message in config.log where it belongs
49116 echo "$GST_PKG_ERRORS" >&5
49119 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49120 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49122 elif test $pkg_failed = untried; then
49124 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49125 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49128 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49129 GST_LIBS=$pkg_cv_GST_LIBS
49130 { echo "$as_me:$LINENO: result: yes" >&5
49131 echo "${ECHO_T}yes" >&6; }
49132 wxUSE_GSTREAMER="yes"
49137 if test "$wxUSE_GSTREAMER" = "yes"; then
49138 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49139 LIBS="$GST_LIBS $LIBS"
49141 cat >>confdefs.h <<\_ACEOF
49142 #define wxUSE_GSTREAMER 1
49150 if test $USE_MEDIA = 1; then
49151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49152 cat >>confdefs.h <<\_ACEOF
49153 #define wxUSE_MEDIACTRL 1
49160 if test "$cross_compiling" = "yes"; then
49163 OSINFO=`uname -s -r -m`
49164 OSINFO="\"$OSINFO\""
49167 cat >>confdefs.h <<_ACEOF
49168 #define WXWIN_OS_DESCRIPTION $OSINFO
49173 if test "x$prefix" != "xNONE"; then
49176 wxPREFIX=$ac_default_prefix
49179 cat >>confdefs.h <<_ACEOF
49180 #define wxINSTALL_PREFIX "$wxPREFIX"
49186 STD_BASE_LIBS="base"
49188 BUILT_WX_LIBS="base"
49189 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49191 if test "$wxUSE_SOCKETS" = "yes" ; then
49192 STD_BASE_LIBS="net $STD_BASE_LIBS"
49193 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49195 if test "$wxUSE_ODBC" != "no" ; then
49196 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49198 if test "$wxUSE_XML" = "yes" ; then
49199 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49200 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49203 if test "$wxUSE_GUI" = "yes"; then
49204 STD_GUI_LIBS="adv core"
49205 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49207 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49208 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49209 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49211 if test "$wxUSE_ODBC" != "no" ; then
49212 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49214 if test "$wxUSE_HTML" = "yes" ; then
49215 STD_GUI_LIBS="html $STD_GUI_LIBS"
49216 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49218 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49219 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49221 if test "$wxUSE_OPENGL" = "yes" ; then
49222 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49224 if test "$wxUSE_AUI" = "yes" ; then
49225 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49227 if test "$wxUSE_STC" = "yes" ; then
49228 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49230 if test "$wxUSE_XRC" = "yes" ; then
49231 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49232 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49243 if test "$wxUSE_MAC" = 1 ; then
49244 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49245 if test "$USE_DARWIN" = 1; then
49246 LDFLAGS="$LDFLAGS -framework QuickTime"
49248 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49251 if test "$USE_DARWIN" = 1; then
49252 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49254 LDFLAGS="$LDFLAGS -lCarbonLib"
49257 if test "$wxUSE_COCOA" = 1 ; then
49258 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49259 if test "$wxUSE_MEDIACTRL" = "yes"; then
49260 LDFLAGS="$LDFLAGS -framework QuickTime"
49263 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49264 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49267 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49269 if test "$wxUSE_GUI" = "yes"; then
49272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49273 dynamic erase event exec font image minimal mobile \
49274 mobile/wxedit mobile/styles propsize render \
49275 rotate shaped svg taborder vscroll widgets"
49277 if test "$wxUSE_MONOLITHIC" != "yes"; then
49278 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49280 if test "$TOOLKIT" = "MSW"; then
49281 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49282 if test "$wxUSE_UNIVERSAL" != "yes"; then
49283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49286 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49290 SAMPLES_SUBDIRS="console"
49294 if test "x$INTELCC" = "xyes" ; then
49295 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49296 elif test "$GCC" = yes ; then
49297 CWARNINGS="-Wall -Wundef"
49300 if test "x$INTELCXX" = "xyes" ; then
49301 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49302 elif test "$GXX" = yes ; then
49303 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49307 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49308 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49311 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49312 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49313 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49316 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49317 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49318 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49320 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49323 if test "x$MWCC" = "xyes"; then
49325 CC="$CC -cwd source -I-"
49326 CXX="$CXX -cwd source -I-"
49331 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49332 EXTRALIBS_XML="$EXPAT_LINK"
49333 EXTRALIBS_HTML="$MSPACK_LINK"
49334 EXTRALIBS_ODBC="$ODBC_LINK"
49335 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49336 if test "$wxUSE_GUI" = "yes"; then
49337 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49339 if test "$wxUSE_OPENGL" = "yes"; then
49340 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49343 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49345 WXCONFIG_LIBS="$LIBS"
49347 if test "$wxUSE_REGEX" = "builtin" ; then
49348 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49350 if test "$wxUSE_EXPAT" = "builtin" ; then
49351 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49353 if test "$wxUSE_ODBC" = "builtin" ; then
49354 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49356 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49357 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49359 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49360 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49362 if test "$wxUSE_LIBPNG" = "builtin" ; then
49363 wxconfig_3rdparty="png $wxconfig_3rdparty"
49365 if test "$wxUSE_ZLIB" = "builtin" ; then
49366 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49369 for i in $wxconfig_3rdparty ; do
49370 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49374 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49377 case "$wxUNIV_THEMES" in
49379 cat >>confdefs.h <<\_ACEOF
49380 #define wxUSE_ALL_THEMES 1
49386 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49387 cat >>confdefs.h <<_ACEOF
49388 #define wxUSE_THEME_$t 1
49405 if test $wxUSE_MONOLITHIC = "yes" ; then
49411 if test $wxUSE_PLUGINS = "yes" ; then
49417 if test $wxUSE_ODBC != "no" ; then
49423 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49429 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49460 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49471 TOOLKIT_DESC="GTK+"
49472 if test "$WXGTK20" = 1; then
49473 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49474 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49475 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49477 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49478 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49480 if test "$wxUSE_LIBHILDON" = "yes"; then
49481 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49484 if test "$TOOLKIT_EXTRA" != ""; then
49485 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49491 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49495 TOOLKIT_DESC="base only"
49499 if test "$wxUSE_WINE" = "yes"; then
49500 BAKEFILE_FORCE_PLATFORM=win32
49503 if test "$wxUSE_MAC" = 1 ; then
49504 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
49505 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
49506 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
49508 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
49510 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
49511 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
49512 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
49513 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
49516 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
49517 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
49520 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49522 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49523 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49524 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49525 echo $ECHO_N "(cached) $ECHO_C" >&6
49528 echo '#include <stdio.h>
49529 const wchar_t test_var[] = L"awidetest";' > conftest.h
49531 echo '#include "conftest.h"
49534 printf("%ls", test_var);
49538 wx_cv_gcc_pch_bug="pch not supported"
49540 if $CXX conftest.h >/dev/null 2>&1
49544 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49546 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49547 grep awidetest >/dev/null
49549 wx_cv_gcc_pch_bug=no
49551 wx_cv_gcc_pch_bug=yes
49556 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49559 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49560 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49562 if test "$wx_cv_gcc_pch_bug" = yes; then
49570 if test "x$BAKEFILE_HOST" = "x"; then
49571 if test "x${host}" = "x" ; then
49572 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49573 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49574 { (exit 1); exit 1; }; }
49577 BAKEFILE_HOST="${host}"
49580 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49582 if test -n "$ac_tool_prefix"; then
49583 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49584 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49587 if test "${ac_cv_prog_RANLIB+set}" = set; then
49588 echo $ECHO_N "(cached) $ECHO_C" >&6
49590 if test -n "$RANLIB"; then
49591 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49594 for as_dir in $PATH
49597 test -z "$as_dir" && as_dir=.
49598 for ac_exec_ext in '' $ac_executable_extensions; do
49599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49600 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49610 RANLIB=$ac_cv_prog_RANLIB
49611 if test -n "$RANLIB"; then
49612 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49613 echo "${ECHO_T}$RANLIB" >&6; }
49615 { echo "$as_me:$LINENO: result: no" >&5
49616 echo "${ECHO_T}no" >&6; }
49621 if test -z "$ac_cv_prog_RANLIB"; then
49622 ac_ct_RANLIB=$RANLIB
49623 # Extract the first word of "ranlib", so it can be a program name with args.
49624 set dummy ranlib; ac_word=$2
49625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49627 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49628 echo $ECHO_N "(cached) $ECHO_C" >&6
49630 if test -n "$ac_ct_RANLIB"; then
49631 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49634 for as_dir in $PATH
49637 test -z "$as_dir" && as_dir=.
49638 for ac_exec_ext in '' $ac_executable_extensions; do
49639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49640 ac_cv_prog_ac_ct_RANLIB="ranlib"
49641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49650 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49651 if test -n "$ac_ct_RANLIB"; then
49652 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49653 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49655 { echo "$as_me:$LINENO: result: no" >&5
49656 echo "${ECHO_T}no" >&6; }
49659 if test "x$ac_ct_RANLIB" = x; then
49662 case $cross_compiling:$ac_tool_warned in
49664 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49665 whose name does not start with the host triplet. If you think this
49666 configuration is useful to you, please write to autoconf@gnu.org." >&5
49667 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49668 whose name does not start with the host triplet. If you think this
49669 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49670 ac_tool_warned=yes ;;
49672 RANLIB=$ac_ct_RANLIB
49675 RANLIB="$ac_cv_prog_RANLIB"
49678 # Find a good install program. We prefer a C program (faster),
49679 # so one script is as good as another. But avoid the broken or
49680 # incompatible versions:
49681 # SysV /etc/install, /usr/sbin/install
49682 # SunOS /usr/etc/install
49683 # IRIX /sbin/install
49685 # AmigaOS /C/install, which installs bootblocks on floppy discs
49686 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49687 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49688 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49689 # OS/2's system install, which has a completely different semantic
49690 # ./install, which can be erroneously created by make from ./install.sh.
49691 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49692 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49693 if test -z "$INSTALL"; then
49694 if test "${ac_cv_path_install+set}" = set; then
49695 echo $ECHO_N "(cached) $ECHO_C" >&6
49697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49698 for as_dir in $PATH
49701 test -z "$as_dir" && as_dir=.
49702 # Account for people who put trailing slashes in PATH elements.
49704 ./ | .// | /cC/* | \
49705 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49706 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49709 # OSF1 and SCO ODT 3.0 have their own names for install.
49710 # Don't use installbsd from OSF since it installs stuff as root
49712 for ac_prog in ginstall scoinst install; do
49713 for ac_exec_ext in '' $ac_executable_extensions; do
49714 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49715 if test $ac_prog = install &&
49716 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49717 # AIX install. It has an incompatible calling convention.
49719 elif test $ac_prog = install &&
49720 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49721 # program-specific install script used by HP pwplus--don't use.
49724 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49737 if test "${ac_cv_path_install+set}" = set; then
49738 INSTALL=$ac_cv_path_install
49740 # As a last resort, use the slow shell script. Don't cache a
49741 # value for INSTALL within a source directory, because that will
49742 # break other packages using the cache if that directory is
49743 # removed, or if the value is a relative name.
49744 INSTALL=$ac_install_sh
49747 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49748 echo "${ECHO_T}$INSTALL" >&6; }
49750 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49751 # It thinks the first close brace ends the variable substitution.
49752 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49754 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49756 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49758 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49759 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49761 if test "$LN_S" = "ln -s"; then
49762 { echo "$as_me:$LINENO: result: yes" >&5
49763 echo "${ECHO_T}yes" >&6; }
49765 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49766 echo "${ECHO_T}no, using $LN_S" >&6; }
49770 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49771 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49772 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49773 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49774 echo $ECHO_N "(cached) $ECHO_C" >&6
49776 cat >conftest.make <<\_ACEOF
49779 @echo '@@@%%%=$(MAKE)=@@@%%%'
49781 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49782 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49783 *@@@%%%=?*=@@@%%%*)
49784 eval ac_cv_prog_make_${ac_make}_set=yes;;
49786 eval ac_cv_prog_make_${ac_make}_set=no;;
49788 rm -f conftest.make
49790 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49791 { echo "$as_me:$LINENO: result: yes" >&5
49792 echo "${ECHO_T}yes" >&6; }
49795 { echo "$as_me:$LINENO: result: no" >&5
49796 echo "${ECHO_T}no" >&6; }
49797 SET_MAKE="MAKE=${MAKE-make}"
49802 if test "x$SUNCXX" = "xyes"; then
49804 AROPTIONS="-xar -o"
49806 elif test "x$SGICC" = "xyes"; then
49811 if test -n "$ac_tool_prefix"; then
49812 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49813 set dummy ${ac_tool_prefix}ar; ac_word=$2
49814 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49816 if test "${ac_cv_prog_AR+set}" = set; then
49817 echo $ECHO_N "(cached) $ECHO_C" >&6
49819 if test -n "$AR"; then
49820 ac_cv_prog_AR="$AR" # Let the user override the test.
49822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49823 for as_dir in $PATH
49826 test -z "$as_dir" && as_dir=.
49827 for ac_exec_ext in '' $ac_executable_extensions; do
49828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49829 ac_cv_prog_AR="${ac_tool_prefix}ar"
49830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49840 if test -n "$AR"; then
49841 { echo "$as_me:$LINENO: result: $AR" >&5
49842 echo "${ECHO_T}$AR" >&6; }
49844 { echo "$as_me:$LINENO: result: no" >&5
49845 echo "${ECHO_T}no" >&6; }
49850 if test -z "$ac_cv_prog_AR"; then
49852 # Extract the first word of "ar", so it can be a program name with args.
49853 set dummy ar; ac_word=$2
49854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49856 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49857 echo $ECHO_N "(cached) $ECHO_C" >&6
49859 if test -n "$ac_ct_AR"; then
49860 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49863 for as_dir in $PATH
49866 test -z "$as_dir" && as_dir=.
49867 for ac_exec_ext in '' $ac_executable_extensions; do
49868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49869 ac_cv_prog_ac_ct_AR="ar"
49870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49879 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49880 if test -n "$ac_ct_AR"; then
49881 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49882 echo "${ECHO_T}$ac_ct_AR" >&6; }
49884 { echo "$as_me:$LINENO: result: no" >&5
49885 echo "${ECHO_T}no" >&6; }
49888 if test "x$ac_ct_AR" = x; then
49891 case $cross_compiling:$ac_tool_warned in
49893 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49894 whose name does not start with the host triplet. If you think this
49895 configuration is useful to you, please write to autoconf@gnu.org." >&5
49896 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49897 whose name does not start with the host triplet. If you think this
49898 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49899 ac_tool_warned=yes ;;
49904 AR="$ac_cv_prog_AR"
49911 if test -n "$ac_tool_prefix"; then
49912 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49913 set dummy ${ac_tool_prefix}strip; ac_word=$2
49914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49916 if test "${ac_cv_prog_STRIP+set}" = set; then
49917 echo $ECHO_N "(cached) $ECHO_C" >&6
49919 if test -n "$STRIP"; then
49920 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49923 for as_dir in $PATH
49926 test -z "$as_dir" && as_dir=.
49927 for ac_exec_ext in '' $ac_executable_extensions; do
49928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49929 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49939 STRIP=$ac_cv_prog_STRIP
49940 if test -n "$STRIP"; then
49941 { echo "$as_me:$LINENO: result: $STRIP" >&5
49942 echo "${ECHO_T}$STRIP" >&6; }
49944 { echo "$as_me:$LINENO: result: no" >&5
49945 echo "${ECHO_T}no" >&6; }
49950 if test -z "$ac_cv_prog_STRIP"; then
49952 # Extract the first word of "strip", so it can be a program name with args.
49953 set dummy strip; ac_word=$2
49954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49956 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49957 echo $ECHO_N "(cached) $ECHO_C" >&6
49959 if test -n "$ac_ct_STRIP"; then
49960 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49963 for as_dir in $PATH
49966 test -z "$as_dir" && as_dir=.
49967 for ac_exec_ext in '' $ac_executable_extensions; do
49968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49969 ac_cv_prog_ac_ct_STRIP="strip"
49970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49979 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49980 if test -n "$ac_ct_STRIP"; then
49981 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49982 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49984 { echo "$as_me:$LINENO: result: no" >&5
49985 echo "${ECHO_T}no" >&6; }
49988 if test "x$ac_ct_STRIP" = x; then
49991 case $cross_compiling:$ac_tool_warned in
49993 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49994 whose name does not start with the host triplet. If you think this
49995 configuration is useful to you, please write to autoconf@gnu.org." >&5
49996 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49997 whose name does not start with the host triplet. If you think this
49998 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49999 ac_tool_warned=yes ;;
50004 STRIP="$ac_cv_prog_STRIP"
50007 if test -n "$ac_tool_prefix"; then
50008 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50009 set dummy ${ac_tool_prefix}nm; ac_word=$2
50010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50012 if test "${ac_cv_prog_NM+set}" = set; then
50013 echo $ECHO_N "(cached) $ECHO_C" >&6
50015 if test -n "$NM"; then
50016 ac_cv_prog_NM="$NM" # Let the user override the test.
50018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50019 for as_dir in $PATH
50022 test -z "$as_dir" && as_dir=.
50023 for ac_exec_ext in '' $ac_executable_extensions; do
50024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50025 ac_cv_prog_NM="${ac_tool_prefix}nm"
50026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50036 if test -n "$NM"; then
50037 { echo "$as_me:$LINENO: result: $NM" >&5
50038 echo "${ECHO_T}$NM" >&6; }
50040 { echo "$as_me:$LINENO: result: no" >&5
50041 echo "${ECHO_T}no" >&6; }
50046 if test -z "$ac_cv_prog_NM"; then
50048 # Extract the first word of "nm", so it can be a program name with args.
50049 set dummy nm; ac_word=$2
50050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50052 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50053 echo $ECHO_N "(cached) $ECHO_C" >&6
50055 if test -n "$ac_ct_NM"; then
50056 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50059 for as_dir in $PATH
50062 test -z "$as_dir" && as_dir=.
50063 for ac_exec_ext in '' $ac_executable_extensions; do
50064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50065 ac_cv_prog_ac_ct_NM="nm"
50066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50075 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50076 if test -n "$ac_ct_NM"; then
50077 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50078 echo "${ECHO_T}$ac_ct_NM" >&6; }
50080 { echo "$as_me:$LINENO: result: no" >&5
50081 echo "${ECHO_T}no" >&6; }
50084 if test "x$ac_ct_NM" = x; then
50087 case $cross_compiling:$ac_tool_warned in
50089 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50090 whose name does not start with the host triplet. If you think this
50091 configuration is useful to you, please write to autoconf@gnu.org." >&5
50092 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50093 whose name does not start with the host triplet. If you think this
50094 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50095 ac_tool_warned=yes ;;
50100 NM="$ac_cv_prog_NM"
50104 case ${BAKEFILE_HOST} in
50106 INSTALL_DIR="mkdir -p"
50109 INSTALL_DIR='$(INSTALL) -d'
50115 case ${BAKEFILE_HOST} in
50116 *-*-cygwin* | *-*-mingw32* )
50117 LDFLAGS_GUI="-mwindows"
50123 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50124 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50125 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50126 echo $ECHO_N "(cached) $ECHO_C" >&6
50129 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50130 egrep -s GNU > /dev/null); then
50131 bakefile_cv_prog_makeisgnu="yes"
50133 bakefile_cv_prog_makeisgnu="no"
50137 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50138 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50140 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50157 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50158 case "${BAKEFILE_HOST}" in
50165 *-pc-os2_emx | *-pc-os2-emx )
50175 powerpc-apple-macos* )
50184 case "$BAKEFILE_FORCE_PLATFORM" in
50219 # Check whether --enable-omf was given.
50220 if test "${enable_omf+set}" = set; then
50221 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50225 case "${BAKEFILE_HOST}" in
50227 if test "x$GCC" = "xyes"; then
50228 CFLAGS="$CFLAGS -fno-common"
50229 CXXFLAGS="$CXXFLAGS -fno-common"
50231 if test "x$XLCC" = "xyes"; then
50232 CFLAGS="$CFLAGS -qnocommon"
50233 CXXFLAGS="$CXXFLAGS -qnocommon"
50237 *-pc-os2_emx | *-pc-os2-emx )
50238 if test "x$bk_os2_use_omf" = "xyes" ; then
50241 LDFLAGS="-Zomf $LDFLAGS"
50242 CFLAGS="-Zomf $CFLAGS"
50243 CXXFLAGS="-Zomf $CXXFLAGS"
50251 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50257 SO_SUFFIX_MODULE="so"
50262 DLLPREFIX_MODULE=""
50266 case "${BAKEFILE_HOST}" in
50269 SO_SUFFIX_MODULE="sl"
50273 SO_SUFFIX_MODULE="a"
50277 SO_SUFFIX_MODULE="dll"
50278 DLLIMP_SUFFIX="dll.a"
50285 SO_SUFFIX_MODULE="dll"
50286 DLLIMP_SUFFIX="dll.a"
50296 *-pc-os2_emx | *-pc-os2-emx )
50298 SO_SUFFIX_MODULE="dll"
50299 DLLIMP_SUFFIX=$OS2_LIBEXT
50303 LIBEXT=".$OS2_LIBEXT"
50308 SO_SUFFIX_MODULE="bundle"
50312 if test "x$DLLIMP_SUFFIX" = "x" ; then
50313 DLLIMP_SUFFIX="$SO_SUFFIX"
50328 if test "x$GCC" = "xyes"; then
50332 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50333 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50336 case "${BAKEFILE_HOST}" in
50338 if test "x$GCC" != "xyes"; then
50339 LDFLAGS="$LDFLAGS -L/usr/lib"
50341 SHARED_LD_CC="${CC} -b -o"
50342 SHARED_LD_CXX="${CXX} -b -o"
50348 if test "$INTELCC" = "yes"; then
50350 elif test "x$SUNCXX" = "xyes"; then
50351 SHARED_LD_CC="${CC} -G -o"
50352 SHARED_LD_CXX="${CXX} -G -o"
50358 if test "x$SUNCXX" = xyes ; then
50359 SHARED_LD_CC="${CC} -G -o"
50360 SHARED_LD_CXX="${CXX} -G -o"
50368 cat <<EOF >shared-ld-sh
50370 #-----------------------------------------------------------------------------
50371 #-- Name: distrib/mac/shared-ld-sh
50372 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50373 #-- Author: Gilles Depeyrot
50374 #-- Copyright: (c) 2002 Gilles Depeyrot
50375 #-- Licence: any use permitted
50376 #-----------------------------------------------------------------------------
50381 linking_flag="-dynamiclib"
50382 ldargs="-r -keep_private_externs -nostdlib"
50384 while test ${D}# -gt 0; do
50391 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50392 # collect these options and values
50393 args="${D}{args} ${D}1 ${D}2"
50398 # collect these load args
50399 ldargs="${D}{ldargs} ${D}1"
50402 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50403 # collect these options
50404 args="${D}{args} ${D}1"
50407 -dynamiclib|-bundle)
50408 linking_flag="${D}1"
50412 echo "shared-ld: unhandled option '${D}1'"
50416 *.o | *.a | *.dylib)
50417 # collect object files
50418 objects="${D}{objects} ${D}1"
50422 echo "shared-ld: unhandled argument '${D}1'"
50433 # Link one module containing all the others
50435 if test ${D}{verbose} = 1; then
50436 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50438 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50442 # Link the shared library from the single module created, but only if the
50443 # previous command didn't fail:
50445 if test ${D}{status} = 0; then
50446 if test ${D}{verbose} = 1; then
50447 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50449 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50454 # Remove intermediate module
50456 rm -f master.${D}${D}.o
50461 chmod +x shared-ld-sh
50463 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50464 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50467 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50468 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50469 if test "${bakefile_cv_gcc31+set}" = set; then
50470 echo $ECHO_N "(cached) $ECHO_C" >&6
50473 cat >conftest.$ac_ext <<_ACEOF
50476 cat confdefs.h >>conftest.$ac_ext
50477 cat >>conftest.$ac_ext <<_ACEOF
50478 /* end confdefs.h. */
50484 #if (__GNUC__ < 3) || \
50485 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50493 rm -f conftest.$ac_objext
50494 if { (ac_try="$ac_compile"
50495 case "(($ac_try" in
50496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50497 *) ac_try_echo=$ac_try;;
50499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50500 (eval "$ac_compile") 2>conftest.er1
50502 grep -v '^ *+' conftest.er1 >conftest.err
50504 cat conftest.err >&5
50505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50506 (exit $ac_status); } && {
50507 test -z "$ac_c_werror_flag" ||
50508 test ! -s conftest.err
50509 } && test -s conftest.$ac_objext; then
50511 bakefile_cv_gcc31=yes
50514 echo "$as_me: failed program was:" >&5
50515 sed 's/^/| /' conftest.$ac_ext >&5
50518 bakefile_cv_gcc31=no
50523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50526 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50527 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50528 if test "$bakefile_cv_gcc31" = "no"; then
50529 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50530 SHARED_LD_CXX="$SHARED_LD_CC"
50532 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50533 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50536 if test "x$GCC" == "xyes"; then
50537 PIC_FLAG="-dynamic -fPIC"
50539 if test "x$XLCC" = "xyes"; then
50540 PIC_FLAG="-dynamic -DPIC"
50545 if test "x$GCC" = "xyes"; then
50548 case "${BAKEFILE_HOST}" in
50550 LD_EXPFULL="-Wl,-bexpfull"
50554 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50555 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50557 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50558 set dummy makeC++SharedLib; ac_word=$2
50559 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50561 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50562 echo $ECHO_N "(cached) $ECHO_C" >&6
50564 if test -n "$AIX_CXX_LD"; then
50565 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50568 for as_dir in $PATH
50571 test -z "$as_dir" && as_dir=.
50572 for ac_exec_ext in '' $ac_executable_extensions; do
50573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50574 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50582 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50585 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50586 if test -n "$AIX_CXX_LD"; then
50587 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50588 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50590 { echo "$as_me:$LINENO: result: no" >&5
50591 echo "${ECHO_T}no" >&6; }
50595 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50596 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50601 SHARED_LD_CC="${LD} -nostart -o"
50602 SHARED_LD_CXX="${LD} -nostart -o"
50606 if test "x$GCC" != "xyes"; then
50611 *-*-cygwin* | *-*-mingw32* )
50613 SHARED_LD_CC="\$(CC) -shared -o"
50614 SHARED_LD_CXX="\$(CXX) -shared -o"
50618 *-pc-os2_emx | *-pc-os2-emx )
50619 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50620 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50624 cat <<EOF >dllar.sh
50627 # dllar - a tool to build both a .dll and an .a file
50628 # from a set of object (.o) files for EMX/OS2.
50630 # Written by Andrew Zabolotny, bit@freya.etu.ru
50631 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50633 # This script will accept a set of files on the command line.
50634 # All the public symbols from the .o files will be exported into
50635 # a .DEF file, then linker will be run (through gcc) against them to
50636 # build a shared library consisting of all given .o files. All libraries
50637 # (.a) will be first decompressed into component .o files then act as
50638 # described above. You can optionally give a description (-d "description")
50639 # which will be put into .DLL. To see the list of accepted options (as well
50640 # as command-line format) simply run this program without options. The .DLL
50641 # is built to be imported by name (there is no guarantee that new versions
50642 # of the library you build will have same ordinals for same symbols).
50644 # dllar is free software; you can redistribute it and/or modify
50645 # it under the terms of the GNU General Public License as published by
50646 # the Free Software Foundation; either version 2, or (at your option)
50647 # any later version.
50649 # dllar is distributed in the hope that it will be useful,
50650 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50651 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50652 # GNU General Public License for more details.
50654 # You should have received a copy of the GNU General Public License
50655 # along with dllar; see the file COPYING. If not, write to the Free
50656 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50659 # To successfuly run this program you will need:
50660 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50661 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50663 # (used to build the .dll)
50665 # (used to create .def file from .o files)
50667 # (used to create .a file from .def file)
50668 # - GNU text utilites (cat, sort, uniq)
50669 # used to process emxexp output
50670 # - GNU file utilities (mv, rm)
50672 # - lxlite (optional, see flag below)
50673 # (used for general .dll cleanup)
50680 # basnam, variant of basename, which does _not_ remove the path, _iff_
50681 # second argument (suffix to remove) is given
50685 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50688 echo ${D}1 | sed 's/'${D}2'${D}//'
50691 echo "error in basnam ${D}*"
50697 # Cleanup temporary files and output
50700 for i in ${D}inputFiles ; do
50703 rm -rf \`basnam ${D}i !\`
50710 # Kill result in case of failure as there is just to many stupid make/nmake
50711 # things out there which doesn't do this.
50712 if [ ${D}# -eq 0 ]; then
50713 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50717 # Print usage and exit script with rc=1.
50719 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50720 echo ' [-name-mangler-script script.sh]'
50721 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50722 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50723 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50724 echo ' [*.o] [*.a]'
50725 echo '*> "output_file" should have no extension.'
50726 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50727 echo ' The import library name is derived from this and is set to "name".a,'
50728 echo ' unless overridden by -import'
50729 echo '*> "importlib_name" should have no extension.'
50730 echo ' If it has the .o, or .a extension, it is automatically removed.'
50731 echo ' This name is used as the import library name and may be longer and'
50732 echo ' more descriptive than the DLL name which has to follow the old '
50733 echo ' 8.3 convention of FAT.'
50734 echo '*> "script.sh may be given to override the output_file name by a'
50735 echo ' different name. It is mainly useful if the regular make process'
50736 echo ' of some package does not take into account OS/2 restriction of'
50737 echo ' DLL name lengths. It takes the importlib name as input and is'
50738 echo ' supposed to procude a shorter name as output. The script should'
50739 echo ' expect to get importlib_name without extension and should produce'
50740 echo ' a (max.) 8 letter name without extension.'
50741 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50742 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50743 echo ' These flags will be put at the start of GCC command line.'
50744 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50745 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50746 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50747 echo ' If the last character of a symbol is "*", all symbols beginning'
50748 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50749 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50750 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50751 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50752 echo ' C runtime DLLs.'
50753 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50754 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50755 echo ' unchanged to GCC at the end of command line.'
50756 echo '*> If you create a DLL from a library and you do not specify -o,'
50757 echo ' the basename for DLL and import library will be set to library name,'
50758 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50759 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50760 echo ' library will be renamed into gcc_s.a.'
50763 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50764 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50769 # Execute a command.
50770 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50771 # @Uses Whatever CleanUp() uses.
50777 if [ ${D}rcCmd -ne 0 ]; then
50778 echo "command failed, exit code="${D}rcCmd
50793 CFLAGS="-s -Zcrtdll"
50795 EXPORT_BY_ORDINALS=0
50800 case ${D}curDirS in
50804 curDirS=${D}{curDirS}"/"
50807 # Parse commandline
50810 while [ ${D}1 ]; do
50813 EXPORT_BY_ORDINALS=1;
50823 -name-mangler-script)
50844 exclude_symbols=${D}{exclude_symbols}${D}1" "
50848 library_flags=${D}{library_flags}${D}1" "
50867 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50870 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50871 if [ ${D}omfLinking -eq 1 ]; then
50872 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50874 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50879 if [ ${D}libsToLink -ne 0 ]; then
50880 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50882 for file in ${D}1 ; do
50883 if [ -f ${D}file ]; then
50884 inputFiles="${D}{inputFiles} ${D}file"
50888 if [ ${D}found -eq 0 ]; then
50889 echo "ERROR: No file(s) found: "${D}1
50896 done # iterate cmdline words
50899 if [ -z "${D}inputFiles" ]; then
50900 echo "dllar: no input files"
50904 # Now extract all .o files from .a files
50906 for file in ${D}inputFiles ; do
50917 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50922 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50924 if [ ${D}? -ne 0 ]; then
50925 echo "Failed to create subdirectory ./${D}dirname"
50929 # Append '!' to indicate archive
50930 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50931 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50934 for subfile in ${D}dirname/*.o* ; do
50935 if [ -f ${D}subfile ]; then
50937 if [ -s ${D}subfile ]; then
50938 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50939 newInputFiles="${D}newInputFiles ${D}subfile"
50943 if [ ${D}found -eq 0 ]; then
50944 echo "WARNING: there are no files in archive \\'${D}file\\'"
50948 newInputFiles="${D}{newInputFiles} ${D}file"
50952 inputFiles="${D}newInputFiles"
50954 # Output filename(s).
50956 if [ -z ${D}outFile ]; then
50958 set outFile ${D}inputFiles; outFile=${D}2
50961 # If it is an archive, remove the '!' and the '_%' suffixes
50962 case ${D}outFile in
50964 outFile=\`basnam ${D}outFile _%!\`
50969 case ${D}outFile in
50971 outFile=\`basnam ${D}outFile .dll\`
50974 outFile=\`basnam ${D}outFile .DLL\`
50977 outFile=\`basnam ${D}outFile .o\`
50980 outFile=\`basnam ${D}outFile .obj\`
50983 outFile=\`basnam ${D}outFile .a\`
50986 outFile=\`basnam ${D}outFile .lib\`
50991 case ${D}outimpFile in
50993 outimpFile=\`basnam ${D}outimpFile .a\`
50996 outimpFile=\`basnam ${D}outimpFile .lib\`
51001 if [ -z ${D}outimpFile ]; then
51002 outimpFile=${D}outFile
51004 defFile="${D}{outFile}.def"
51005 arcFile="${D}{outimpFile}.a"
51006 arcFile2="${D}{outimpFile}.lib"
51008 #create ${D}dllFile as something matching 8.3 restrictions,
51009 if [ -z ${D}renameScript ] ; then
51010 dllFile="${D}outFile"
51012 dllFile=\`${D}renameScript ${D}outimpFile\`
51015 if [ ${D}do_backup -ne 0 ] ; then
51016 if [ -f ${D}arcFile ] ; then
51017 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51019 if [ -f ${D}arcFile2 ] ; then
51020 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51024 # Extract public symbols from all the object files.
51025 tmpdefFile=${D}{defFile}_%
51026 rm -f ${D}tmpdefFile
51027 for file in ${D}inputFiles ; do
51032 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51037 # Create the def file.
51039 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51040 dllFile="${D}{dllFile}.dll"
51041 if [ ! -z ${D}description ]; then
51042 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51044 echo "EXPORTS" >> ${D}defFile
51046 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51047 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51049 # Checks if the export is ok or not.
51050 for word in ${D}exclude_symbols; do
51051 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51052 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51056 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51057 sed "=" < ${D}tmpdefFile | \\
51061 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51063 ' > ${D}{tmpdefFile}%
51064 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51066 rm -f ${D}{tmpdefFile}%
51068 cat ${D}tmpdefFile >> ${D}defFile
51069 rm -f ${D}tmpdefFile
51071 # Do linking, create implib, and apply lxlite.
51073 for file in ${D}inputFiles ; do
51078 gccCmdl="${D}gccCmdl ${D}file"
51082 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51083 touch "${D}{outFile}.dll"
51085 doCommand "emximp -o ${D}arcFile ${D}defFile"
51086 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51088 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51091 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51093 doCommand "emxomf -s -l ${D}arcFile"
51103 powerpc-apple-macos* | \
51104 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51114 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51115 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51116 { (exit 1); exit 1; }; }
51119 if test "x$PIC_FLAG" != "x" ; then
51120 PIC_FLAG="$PIC_FLAG -DPIC"
51123 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51124 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51126 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51127 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51146 case "${BAKEFILE_HOST}" in
51147 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51148 if test "x$SUNCXX" = "xyes"; then
51151 SONAME_FLAG="-Wl,-soname,"
51186 # Check whether --enable-dependency-tracking was given.
51187 if test "${enable_dependency_tracking+set}" = set; then
51188 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51192 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51193 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51196 if test "x$bk_use_trackdeps" = "xno" ; then
51198 { echo "$as_me:$LINENO: result: disabled" >&5
51199 echo "${ECHO_T}disabled" >&6; }
51203 if test "x$GCC" = "xyes"; then
51205 case "${BAKEFILE_HOST}" in
51207 DEPSFLAG="-no-cpp-precomp -MMD"
51213 { echo "$as_me:$LINENO: result: gcc" >&5
51214 echo "${ECHO_T}gcc" >&6; }
51215 elif test "x$MWCC" = "xyes"; then
51218 { echo "$as_me:$LINENO: result: mwcc" >&5
51219 echo "${ECHO_T}mwcc" >&6; }
51220 elif test "x$SUNCC" = "xyes"; then
51223 { echo "$as_me:$LINENO: result: Sun cc" >&5
51224 echo "${ECHO_T}Sun cc" >&6; }
51225 elif test "x$SGICC" = "xyes"; then
51228 { echo "$as_me:$LINENO: result: SGI cc" >&5
51229 echo "${ECHO_T}SGI cc" >&6; }
51230 elif test "x$HPCC" = "xyes"; then
51233 { echo "$as_me:$LINENO: result: HP cc" >&5
51234 echo "${ECHO_T}HP cc" >&6; }
51235 elif test "x$COMPAQCC" = "xyes"; then
51238 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51239 echo "${ECHO_T}Compaq cc" >&6; }
51242 { echo "$as_me:$LINENO: result: none" >&5
51243 echo "${ECHO_T}none" >&6; }
51246 if test $DEPS_TRACKING = 1 ; then
51252 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51253 # script. It is used to track C/C++ files dependencies in portable way.
51255 # Permission is given to use this file in any way.
51257 DEPSMODE=${DEPSMODE}
51259 DEPSFLAG="${DEPSFLAG}"
51261 mkdir -p ${D}DEPSDIR
51263 if test ${D}DEPSMODE = gcc ; then
51264 ${D}* ${D}{DEPSFLAG}
51266 if test ${D}{status} != 0 ; then
51269 # move created file to the location we want it in:
51270 while test ${D}# -gt 0; do
51284 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51285 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51286 if test -f ${D}depfile ; then
51287 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51290 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51291 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51292 if test ! -f ${D}depfile ; then
51293 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51294 depfile="${D}objfile.d"
51296 if test -f ${D}depfile ; then
51297 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51302 elif test ${D}DEPSMODE = mwcc ; then
51303 ${D}* || exit ${D}?
51304 # Run mwcc again with -MM and redirect into the dep file we want
51305 # NOTE: We can't use shift here because we need ${D}* to be valid
51307 for arg in ${D}* ; do
51308 if test "${D}prevarg" = "-o"; then
51321 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51323 elif test ${D}DEPSMODE = unixcc; then
51324 ${D}* || exit ${D}?
51325 # Run compiler again with deps flag and redirect into the dep file.
51326 # It doesn't work if the '-o FILE' option is used, but without it the
51327 # dependency file will contain the wrong name for the object. So it is
51328 # removed from the command line, and the dep file is fixed with sed.
51330 while test ${D}# -gt 0; do
51337 eval arg${D}#=\\${D}1
51338 cmd="${D}cmd \\${D}arg${D}#"
51343 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51352 BK_DEPS="`pwd`/bk-deps"
51360 case ${BAKEFILE_HOST} in
51361 *-*-cygwin* | *-*-mingw32* )
51362 if test -n "$ac_tool_prefix"; then
51363 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51364 set dummy ${ac_tool_prefix}windres; ac_word=$2
51365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51367 if test "${ac_cv_prog_WINDRES+set}" = set; then
51368 echo $ECHO_N "(cached) $ECHO_C" >&6
51370 if test -n "$WINDRES"; then
51371 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51374 for as_dir in $PATH
51377 test -z "$as_dir" && as_dir=.
51378 for ac_exec_ext in '' $ac_executable_extensions; do
51379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51380 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51390 WINDRES=$ac_cv_prog_WINDRES
51391 if test -n "$WINDRES"; then
51392 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51393 echo "${ECHO_T}$WINDRES" >&6; }
51395 { echo "$as_me:$LINENO: result: no" >&5
51396 echo "${ECHO_T}no" >&6; }
51401 if test -z "$ac_cv_prog_WINDRES"; then
51402 ac_ct_WINDRES=$WINDRES
51403 # Extract the first word of "windres", so it can be a program name with args.
51404 set dummy windres; ac_word=$2
51405 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51407 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51408 echo $ECHO_N "(cached) $ECHO_C" >&6
51410 if test -n "$ac_ct_WINDRES"; then
51411 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51414 for as_dir in $PATH
51417 test -z "$as_dir" && as_dir=.
51418 for ac_exec_ext in '' $ac_executable_extensions; do
51419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51420 ac_cv_prog_ac_ct_WINDRES="windres"
51421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51430 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51431 if test -n "$ac_ct_WINDRES"; then
51432 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51433 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51435 { echo "$as_me:$LINENO: result: no" >&5
51436 echo "${ECHO_T}no" >&6; }
51439 if test "x$ac_ct_WINDRES" = x; then
51442 case $cross_compiling:$ac_tool_warned in
51444 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51445 whose name does not start with the host triplet. If you think this
51446 configuration is useful to you, please write to autoconf@gnu.org." >&5
51447 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51448 whose name does not start with the host triplet. If you think this
51449 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51450 ac_tool_warned=yes ;;
51452 WINDRES=$ac_ct_WINDRES
51455 WINDRES="$ac_cv_prog_WINDRES"
51460 *-*-darwin* | powerpc-apple-macos* )
51461 # Extract the first word of "Rez", so it can be a program name with args.
51462 set dummy Rez; ac_word=$2
51463 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51465 if test "${ac_cv_prog_REZ+set}" = set; then
51466 echo $ECHO_N "(cached) $ECHO_C" >&6
51468 if test -n "$REZ"; then
51469 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51472 for as_dir in $PATH
51475 test -z "$as_dir" && as_dir=.
51476 for ac_exec_ext in '' $ac_executable_extensions; do
51477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51478 ac_cv_prog_REZ="Rez"
51479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51486 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51489 REZ=$ac_cv_prog_REZ
51490 if test -n "$REZ"; then
51491 { echo "$as_me:$LINENO: result: $REZ" >&5
51492 echo "${ECHO_T}$REZ" >&6; }
51494 { echo "$as_me:$LINENO: result: no" >&5
51495 echo "${ECHO_T}no" >&6; }
51499 # Extract the first word of "SetFile", so it can be a program name with args.
51500 set dummy SetFile; ac_word=$2
51501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51503 if test "${ac_cv_prog_SETFILE+set}" = set; then
51504 echo $ECHO_N "(cached) $ECHO_C" >&6
51506 if test -n "$SETFILE"; then
51507 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51510 for as_dir in $PATH
51513 test -z "$as_dir" && as_dir=.
51514 for ac_exec_ext in '' $ac_executable_extensions; do
51515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51516 ac_cv_prog_SETFILE="SetFile"
51517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51524 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51527 SETFILE=$ac_cv_prog_SETFILE
51528 if test -n "$SETFILE"; then
51529 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51530 echo "${ECHO_T}$SETFILE" >&6; }
51532 { echo "$as_me:$LINENO: result: no" >&5
51533 echo "${ECHO_T}no" >&6; }
51545 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51548 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51552 # Check whether --enable-precomp-headers was given.
51553 if test "${enable_precomp_headers+set}" = set; then
51554 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51563 case ${BAKEFILE_HOST} in
51569 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51570 if test "x$GCC" = "xyes"; then
51571 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51572 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51573 cat >conftest.$ac_ext <<_ACEOF
51576 cat confdefs.h >>conftest.$ac_ext
51577 cat >>conftest.$ac_ext <<_ACEOF
51578 /* end confdefs.h. */
51584 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51585 There is no PCH support
51588 There is no PCH support
51590 #if (__GNUC__ == 3) && \
51591 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51592 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51593 ( defined(__INTEL_COMPILER) )
51594 There is no PCH support
51601 rm -f conftest.$ac_objext
51602 if { (ac_try="$ac_compile"
51603 case "(($ac_try" in
51604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51605 *) ac_try_echo=$ac_try;;
51607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51608 (eval "$ac_compile") 2>conftest.er1
51610 grep -v '^ *+' conftest.er1 >conftest.err
51612 cat conftest.err >&5
51613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51614 (exit $ac_status); } && {
51615 test -z "$ac_c_werror_flag" ||
51616 test ! -s conftest.err
51617 } && test -s conftest.$ac_objext; then
51619 { echo "$as_me:$LINENO: result: yes" >&5
51620 echo "${ECHO_T}yes" >&6; }
51624 echo "$as_me: failed program was:" >&5
51625 sed 's/^/| /' conftest.$ac_ext >&5
51628 cat >conftest.$ac_ext <<_ACEOF
51631 cat confdefs.h >>conftest.$ac_ext
51632 cat >>conftest.$ac_ext <<_ACEOF
51633 /* end confdefs.h. */
51639 #if !defined(__INTEL_COMPILER) || \
51640 (__INTEL_COMPILER < 800)
51641 There is no PCH support
51648 rm -f conftest.$ac_objext
51649 if { (ac_try="$ac_compile"
51650 case "(($ac_try" in
51651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51652 *) ac_try_echo=$ac_try;;
51654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51655 (eval "$ac_compile") 2>conftest.er1
51657 grep -v '^ *+' conftest.er1 >conftest.err
51659 cat conftest.err >&5
51660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51661 (exit $ac_status); } && {
51662 test -z "$ac_c_werror_flag" ||
51663 test ! -s conftest.err
51664 } && test -s conftest.$ac_objext; then
51666 { echo "$as_me:$LINENO: result: yes" >&5
51667 echo "${ECHO_T}yes" >&6; }
51671 echo "$as_me: failed program was:" >&5
51672 sed 's/^/| /' conftest.$ac_ext >&5
51675 { echo "$as_me:$LINENO: result: no" >&5
51676 echo "${ECHO_T}no" >&6; }
51680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51685 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51689 cat <<EOF >bk-make-pch
51692 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51693 # script. It is used to generated precompiled headers.
51695 # Permission is given to use this file in any way.
51705 while test ${D}{#} -gt 0; do
51709 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51710 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51711 headerfile="${D}{incdir}/${D}{header}"
51714 -use-pch|-use_pch )
51719 if test ${D}add_to_cmdline = 1 ; then
51720 compiler="${D}{compiler} ${D}{1}"
51725 if test "x${D}{headerfile}" = "x" ; then
51726 echo "error: can't find header ${D}{header} in include paths" >&2
51728 if test -f ${D}{outfile} ; then
51729 rm -f ${D}{outfile}
51731 mkdir -p \`dirname ${D}{outfile}\`
51733 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51735 if test "x${GCC_PCH}" = "x1" ; then
51736 # can do this because gcc is >= 3.4:
51737 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51738 elif test "x${ICC_PCH}" = "x1" ; then
51739 filename=pch_gen-${D}${D}
51740 file=${D}{filename}.c
51741 dfile=${D}{filename}.d
51742 cat > ${D}file <<EOT
51743 #include "${D}header"
51745 # using -MF icc complains about differing command lines in creation/use
51746 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51747 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51748 rm -f ${D}file ${D}dfile ${D}{filename}.o
51754 chmod +x bk-make-pch
51755 BK_MAKE_PCH="`pwd`/bk-make-pch"
51764 COND_BUILD_DEBUG="#"
51765 if test "x$BUILD" = "xdebug" ; then
51766 COND_BUILD_DEBUG=""
51769 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51770 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51771 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51774 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51775 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51776 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51779 COND_BUILD_DEBUG_UNICODE_0="#"
51780 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51781 COND_BUILD_DEBUG_UNICODE_0=""
51784 COND_BUILD_DEBUG_UNICODE_1="#"
51785 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51786 COND_BUILD_DEBUG_UNICODE_1=""
51789 COND_BUILD_RELEASE="#"
51790 if test "x$BUILD" = "xrelease" ; then
51791 COND_BUILD_RELEASE=""
51794 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51795 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51796 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51799 COND_BUILD_RELEASE_UNICODE_0="#"
51800 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51801 COND_BUILD_RELEASE_UNICODE_0=""
51804 COND_BUILD_RELEASE_UNICODE_1="#"
51805 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51806 COND_BUILD_RELEASE_UNICODE_1=""
51809 COND_DEBUG_FLAG_1="#"
51810 if test "x$DEBUG_FLAG" = "x1" ; then
51811 COND_DEBUG_FLAG_1=""
51814 COND_DEBUG_INFO_0="#"
51815 if test "x$DEBUG_INFO" = "x0" ; then
51816 COND_DEBUG_INFO_0=""
51819 COND_DEBUG_INFO_1="#"
51820 if test "x$DEBUG_INFO" = "x1" ; then
51821 COND_DEBUG_INFO_1=""
51824 COND_DEPS_TRACKING_0="#"
51825 if test "x$DEPS_TRACKING" = "x0" ; then
51826 COND_DEPS_TRACKING_0=""
51829 COND_DEPS_TRACKING_1="#"
51830 if test "x$DEPS_TRACKING" = "x1" ; then
51831 COND_DEPS_TRACKING_1=""
51835 if test "x$GCC_PCH" = "x1" ; then
51840 if test "x$ICC_PCH" = "x1" ; then
51844 COND_MONOLITHIC_0="#"
51845 if test "x$MONOLITHIC" = "x0" ; then
51846 COND_MONOLITHIC_0=""
51849 COND_MONOLITHIC_0_SHARED_0="#"
51850 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51851 COND_MONOLITHIC_0_SHARED_0=""
51854 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51855 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51856 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51859 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51860 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51861 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51864 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51865 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51866 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51869 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51870 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51871 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51874 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51875 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51876 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51879 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51880 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51881 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51884 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51885 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51886 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51889 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51890 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51891 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51894 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51895 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51896 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51899 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51900 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51901 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51904 COND_MONOLITHIC_0_SHARED_1="#"
51905 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51906 COND_MONOLITHIC_0_SHARED_1=""
51909 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51910 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51911 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51914 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51915 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51916 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51919 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51920 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51921 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51924 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51925 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51926 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51929 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51930 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51931 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51934 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51935 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51936 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51939 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51940 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51941 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51944 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51945 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51946 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51949 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51950 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51951 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51954 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51955 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51956 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51959 COND_MONOLITHIC_0_USE_AUI_1="#"
51960 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51961 COND_MONOLITHIC_0_USE_AUI_1=""
51964 COND_MONOLITHIC_0_USE_GUI_1="#"
51965 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51966 COND_MONOLITHIC_0_USE_GUI_1=""
51969 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51970 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51971 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51974 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51975 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51976 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51979 COND_MONOLITHIC_0_USE_HTML_1="#"
51980 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51981 COND_MONOLITHIC_0_USE_HTML_1=""
51984 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51985 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51986 COND_MONOLITHIC_0_USE_MEDIA_1=""
51989 COND_MONOLITHIC_0_USE_ODBC_1="#"
51990 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51991 COND_MONOLITHIC_0_USE_ODBC_1=""
51994 COND_MONOLITHIC_0_USE_QA_1="#"
51995 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51996 COND_MONOLITHIC_0_USE_QA_1=""
51999 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52000 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52001 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52004 COND_MONOLITHIC_0_USE_STC_1="#"
52005 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52006 COND_MONOLITHIC_0_USE_STC_1=""
52009 COND_MONOLITHIC_0_USE_XRC_1="#"
52010 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52011 COND_MONOLITHIC_0_USE_XRC_1=""
52014 COND_MONOLITHIC_1="#"
52015 if test "x$MONOLITHIC" = "x1" ; then
52016 COND_MONOLITHIC_1=""
52019 COND_MONOLITHIC_1_SHARED_0="#"
52020 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52021 COND_MONOLITHIC_1_SHARED_0=""
52024 COND_MONOLITHIC_1_SHARED_1="#"
52025 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52026 COND_MONOLITHIC_1_SHARED_1=""
52029 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52030 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52031 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52034 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52035 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52036 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52039 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52040 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52041 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52044 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52045 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52046 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52049 COND_PLATFORM_MACOSX_1="#"
52050 if test "x$PLATFORM_MACOSX" = "x1" ; then
52051 COND_PLATFORM_MACOSX_1=""
52054 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
52055 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
52056 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
52059 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
52060 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
52061 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
52064 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
52065 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
52066 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
52069 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
52070 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
52071 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
52074 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
52075 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52076 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
52079 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
52080 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
52081 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
52084 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
52085 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52086 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
52089 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52090 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52091 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52094 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52095 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52096 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52099 COND_PLATFORM_MACOS_1="#"
52100 if test "x$PLATFORM_MACOS" = "x1" ; then
52101 COND_PLATFORM_MACOS_1=""
52104 COND_PLATFORM_MAC_1="#"
52105 if test "x$PLATFORM_MAC" = "x1" ; then
52106 COND_PLATFORM_MAC_1=""
52109 COND_PLATFORM_MSDOS_0="#"
52110 if test "x$PLATFORM_MSDOS" = "x0" ; then
52111 COND_PLATFORM_MSDOS_0=""
52114 COND_PLATFORM_MSDOS_1="#"
52115 if test "x$PLATFORM_MSDOS" = "x1" ; then
52116 COND_PLATFORM_MSDOS_1=""
52119 COND_PLATFORM_OS2_1="#"
52120 if test "x$PLATFORM_OS2" = "x1" ; then
52121 COND_PLATFORM_OS2_1=""
52124 COND_PLATFORM_UNIX_0="#"
52125 if test "x$PLATFORM_UNIX" = "x0" ; then
52126 COND_PLATFORM_UNIX_0=""
52129 COND_PLATFORM_UNIX_1="#"
52130 if test "x$PLATFORM_UNIX" = "x1" ; then
52131 COND_PLATFORM_UNIX_1=""
52134 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52135 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52136 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52139 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52140 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52141 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52144 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52145 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52146 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52149 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52150 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52151 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52154 COND_PLATFORM_WIN32_0="#"
52155 if test "x$PLATFORM_WIN32" = "x0" ; then
52156 COND_PLATFORM_WIN32_0=""
52159 COND_PLATFORM_WIN32_1="#"
52160 if test "x$PLATFORM_WIN32" = "x1" ; then
52161 COND_PLATFORM_WIN32_1=""
52165 if test "x$SHARED" = "x0" ; then
52169 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52170 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52171 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52174 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52175 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52176 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52179 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52180 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52181 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52184 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52185 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52186 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52189 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52190 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52191 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52194 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52195 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52196 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52199 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52200 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52201 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52204 COND_SHARED_0_USE_STC_1="#"
52205 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52206 COND_SHARED_0_USE_STC_1=""
52209 COND_SHARED_0_USE_XRC_1="#"
52210 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52211 COND_SHARED_0_USE_XRC_1=""
52214 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52215 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52216 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52219 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52220 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52221 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52224 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52225 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52226 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52229 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52230 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52231 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52235 if test "x$SHARED" = "x1" ; then
52239 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52240 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52241 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52244 COND_SHARED_1_USE_XRC_1="#"
52245 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52246 COND_SHARED_1_USE_XRC_1=""
52250 if test "x$TOOLKIT" = "x" ; then
52254 COND_TOOLKIT_COCOA="#"
52255 if test "x$TOOLKIT" = "xCOCOA" ; then
52256 COND_TOOLKIT_COCOA=""
52259 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52260 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52261 COND_TOOLKIT_COCOA_USE_GUI_1=""
52264 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52265 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52266 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52269 COND_TOOLKIT_DFB="#"
52270 if test "x$TOOLKIT" = "xDFB" ; then
52271 COND_TOOLKIT_DFB=""
52274 COND_TOOLKIT_DFB_USE_GUI_1="#"
52275 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52276 COND_TOOLKIT_DFB_USE_GUI_1=""
52279 COND_TOOLKIT_GTK="#"
52280 if test "x$TOOLKIT" = "xGTK" ; then
52281 COND_TOOLKIT_GTK=""
52284 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52285 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52286 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52289 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52290 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52291 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52294 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52295 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52296 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52299 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52300 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52301 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52304 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52305 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52306 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52309 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52310 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52311 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52314 COND_TOOLKIT_GTK_USE_GUI_1="#"
52315 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52316 COND_TOOLKIT_GTK_USE_GUI_1=""
52319 COND_TOOLKIT_MAC="#"
52320 if test "x$TOOLKIT" = "xMAC" ; then
52321 COND_TOOLKIT_MAC=""
52324 COND_TOOLKIT_MAC_USE_GUI_1="#"
52325 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52326 COND_TOOLKIT_MAC_USE_GUI_1=""
52329 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52330 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52331 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52334 COND_TOOLKIT_MGL="#"
52335 if test "x$TOOLKIT" = "xMGL" ; then
52336 COND_TOOLKIT_MGL=""
52339 COND_TOOLKIT_MGL_USE_GUI_1="#"
52340 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52341 COND_TOOLKIT_MGL_USE_GUI_1=""
52344 COND_TOOLKIT_MOTIF="#"
52345 if test "x$TOOLKIT" = "xMOTIF" ; then
52346 COND_TOOLKIT_MOTIF=""
52349 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52350 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52351 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52354 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52355 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52356 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52359 COND_TOOLKIT_MSW="#"
52360 if test "x$TOOLKIT" = "xMSW" ; then
52361 COND_TOOLKIT_MSW=""
52364 COND_TOOLKIT_MSW_USE_GUI_1="#"
52365 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52366 COND_TOOLKIT_MSW_USE_GUI_1=""
52369 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52370 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52371 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52374 COND_TOOLKIT_MSW_WXUNIV_0="#"
52375 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52376 COND_TOOLKIT_MSW_WXUNIV_0=""
52379 COND_TOOLKIT_PM="#"
52380 if test "x$TOOLKIT" = "xPM" ; then
52384 COND_TOOLKIT_PM_USE_GUI_1="#"
52385 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52386 COND_TOOLKIT_PM_USE_GUI_1=""
52389 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52390 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52391 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52394 COND_TOOLKIT_WINCE="#"
52395 if test "x$TOOLKIT" = "xWINCE" ; then
52396 COND_TOOLKIT_WINCE=""
52399 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52400 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52401 COND_TOOLKIT_WINCE_USE_GUI_1=""
52404 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52405 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52406 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52409 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52410 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52411 COND_TOOLKIT_WINCE_WXUNIV_0=""
52414 COND_TOOLKIT_X11="#"
52415 if test "x$TOOLKIT" = "xX11" ; then
52416 COND_TOOLKIT_X11=""
52419 COND_TOOLKIT_X11_USE_GUI_1="#"
52420 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52421 COND_TOOLKIT_X11_USE_GUI_1=""
52425 if test "x$UNICODE" = "x1" ; then
52429 COND_USE_EXCEPTIONS_0="#"
52430 if test "x$USE_EXCEPTIONS" = "x0" ; then
52431 COND_USE_EXCEPTIONS_0=""
52434 COND_USE_EXCEPTIONS_1="#"
52435 if test "x$USE_EXCEPTIONS" = "x1" ; then
52436 COND_USE_EXCEPTIONS_1=""
52440 if test "x$USE_GUI" = "x0" ; then
52445 if test "x$USE_GUI" = "x1" ; then
52449 COND_USE_GUI_1_USE_OPENGL_1="#"
52450 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52451 COND_USE_GUI_1_USE_OPENGL_1=""
52454 COND_USE_GUI_1_WXUNIV_0="#"
52455 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52456 COND_USE_GUI_1_WXUNIV_0=""
52459 COND_USE_GUI_1_WXUNIV_1="#"
52460 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52461 COND_USE_GUI_1_WXUNIV_1=""
52464 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52465 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52466 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52469 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52470 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52471 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52474 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52475 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52476 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52479 COND_USE_ODBC_1="#"
52480 if test "x$USE_ODBC" = "x1" ; then
52484 COND_USE_OPENGL_1="#"
52485 if test "x$USE_OPENGL" = "x1" ; then
52486 COND_USE_OPENGL_1=""
52490 if test "x$USE_PCH" = "x1" ; then
52494 COND_USE_PLUGINS_0="#"
52495 if test "x$USE_PLUGINS" = "x0" ; then
52496 COND_USE_PLUGINS_0=""
52499 COND_USE_RTTI_0="#"
52500 if test "x$USE_RTTI" = "x0" ; then
52504 COND_USE_RTTI_1="#"
52505 if test "x$USE_RTTI" = "x1" ; then
52509 COND_USE_SOSYMLINKS_1="#"
52510 if test "x$USE_SOSYMLINKS" = "x1" ; then
52511 COND_USE_SOSYMLINKS_1=""
52514 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52515 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52516 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52519 COND_USE_SOVERLINUX_1="#"
52520 if test "x$USE_SOVERLINUX" = "x1" ; then
52521 COND_USE_SOVERLINUX_1=""
52524 COND_USE_SOVERSION_0="#"
52525 if test "x$USE_SOVERSION" = "x0" ; then
52526 COND_USE_SOVERSION_0=""
52529 COND_USE_SOVERSOLARIS_1="#"
52530 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52531 COND_USE_SOVERSOLARIS_1=""
52535 if test "x$USE_STC" = "x1" ; then
52539 COND_USE_THREADS_0="#"
52540 if test "x$USE_THREADS" = "x0" ; then
52541 COND_USE_THREADS_0=""
52544 COND_USE_THREADS_1="#"
52545 if test "x$USE_THREADS" = "x1" ; then
52546 COND_USE_THREADS_1=""
52550 if test "x$USE_XRC" = "x1" ; then
52554 COND_WINDOWS_IMPLIB_1="#"
52555 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52556 COND_WINDOWS_IMPLIB_1=""
52559 COND_WITH_PLUGIN_SDL_1="#"
52560 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52561 COND_WITH_PLUGIN_SDL_1=""
52565 if test "x$WXUNIV" = "x0" ; then
52570 if test "x$WXUNIV" = "x1" ; then
52574 COND_WXUSE_EXPAT_BUILTIN="#"
52575 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52576 COND_WXUSE_EXPAT_BUILTIN=""
52579 COND_WXUSE_LIBJPEG_BUILTIN="#"
52580 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52581 COND_WXUSE_LIBJPEG_BUILTIN=""
52584 COND_WXUSE_LIBPNG_BUILTIN="#"
52585 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52586 COND_WXUSE_LIBPNG_BUILTIN=""
52589 COND_WXUSE_LIBTIFF_BUILTIN="#"
52590 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52591 COND_WXUSE_LIBTIFF_BUILTIN=""
52594 COND_WXUSE_ODBC_BUILTIN="#"
52595 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52596 COND_WXUSE_ODBC_BUILTIN=""
52599 COND_WXUSE_REGEX_BUILTIN="#"
52600 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52601 COND_WXUSE_REGEX_BUILTIN=""
52604 COND_WXUSE_ZLIB_BUILTIN="#"
52605 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52606 COND_WXUSE_ZLIB_BUILTIN=""
52611 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52612 { { 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
52613 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;}
52614 { (exit 1); exit 1; }; }
52617 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52618 { { 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
52619 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;}
52620 { (exit 1); exit 1; }; }
52624 if test $GCC_PCH = 1
52626 if test "$wx_cv_gcc_pch_bug" = yes; then
52627 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52628 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52629 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52630 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52631 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52632 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52635 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52639 if test "$wxUSE_MAC" = 1 ; then
52640 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52641 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52647 if test "$wxUSE_SHARED" = "yes"; then
52649 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52650 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52653 *-pc-os2_emx | *-pc-os2-emx )
52654 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52655 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52656 cp -p ${srcdir}/src/os2/dllnames.sh .
52657 cp -p ${srcdir}/src/os2/dllar.sh .
52662 EXE_LINKER="$CXX -o"
52665 if test "$wxUSE_OMF" = "yes"; then
52667 *-pc-os2_emx | *-pc-os2-emx )
52668 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52669 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52670 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52675 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52680 if "$GCC" = yes; then
52681 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52682 LIBS=`echo $LIBS | sed 's/-mt//'`
52683 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52688 if test "x$SUNCXX" = xyes; then
52689 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52690 LIBS=`echo $LIBS | sed 's/-pthread//'`
52691 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52696 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52697 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52699 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52761 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52762 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52763 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52764 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52765 echo $ECHO_N "(cached) $ECHO_C" >&6
52767 cat >conftest.make <<\_ACEOF
52770 @echo '@@@%%%=$(MAKE)=@@@%%%'
52772 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52773 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52774 *@@@%%%=?*=@@@%%%*)
52775 eval ac_cv_prog_make_${ac_make}_set=yes;;
52777 eval ac_cv_prog_make_${ac_make}_set=no;;
52779 rm -f conftest.make
52781 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52782 { echo "$as_me:$LINENO: result: yes" >&5
52783 echo "${ECHO_T}yes" >&6; }
52786 { echo "$as_me:$LINENO: result: no" >&5
52787 echo "${ECHO_T}no" >&6; }
52788 SET_MAKE="MAKE=${MAKE-make}"
52793 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52796 if test "$USE_WIN32" = 1; then
52797 ac_config_commands="$ac_config_commands
52803 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52806 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52809 if test "$wx_cv_version_script" = "yes"; then
52810 ac_config_files="$ac_config_files version-script"
52813 ac_config_files="$ac_config_files Makefile"
52816 ac_config_commands="$ac_config_commands wx-config"
52820 if test "$wxWITH_SUBDIRS" != "no"; then
52821 if test "$wxUSE_GUI" = "yes"; then
52822 SUBDIRS="samples demos utils"
52823 else SUBDIRS="samples utils"
52828 # Check whether --with-cppunit-prefix was given.
52829 if test "${with_cppunit_prefix+set}" = set; then
52830 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52832 cppunit_config_prefix=""
52836 # Check whether --with-cppunit-exec-prefix was given.
52837 if test "${with_cppunit_exec_prefix+set}" = set; then
52838 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52840 cppunit_config_exec_prefix=""
52844 if test x$cppunit_config_exec_prefix != x ; then
52845 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52846 if test x${CPPUNIT_CONFIG+set} != xset ; then
52847 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52850 if test x$cppunit_config_prefix != x ; then
52851 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52852 if test x${CPPUNIT_CONFIG+set} != xset ; then
52853 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52857 # Extract the first word of "cppunit-config", so it can be a program name with args.
52858 set dummy cppunit-config; ac_word=$2
52859 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52861 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52862 echo $ECHO_N "(cached) $ECHO_C" >&6
52864 case $CPPUNIT_CONFIG in
52866 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52870 for as_dir in $PATH
52873 test -z "$as_dir" && as_dir=.
52874 for ac_exec_ext in '' $ac_executable_extensions; do
52875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52876 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52884 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52888 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52889 if test -n "$CPPUNIT_CONFIG"; then
52890 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52891 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52893 { echo "$as_me:$LINENO: result: no" >&5
52894 echo "${ECHO_T}no" >&6; }
52898 cppunit_version_min=1.8.0
52900 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52901 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52903 if test "$CPPUNIT_CONFIG" = "no" ; then
52904 { echo "$as_me:$LINENO: result: no" >&5
52905 echo "${ECHO_T}no" >&6; }
52908 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52909 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52910 cppunit_version=`$CPPUNIT_CONFIG --version`
52912 cppunit_major_version=`echo $cppunit_version | \
52913 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52914 cppunit_minor_version=`echo $cppunit_version | \
52915 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52916 cppunit_micro_version=`echo $cppunit_version | \
52917 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52919 cppunit_major_min=`echo $cppunit_version_min | \
52920 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52921 cppunit_minor_min=`echo $cppunit_version_min | \
52922 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52923 cppunit_micro_min=`echo $cppunit_version_min | \
52924 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52926 cppunit_version_proper=`expr \
52927 $cppunit_major_version \> $cppunit_major_min \| \
52928 $cppunit_major_version \= $cppunit_major_min \& \
52929 $cppunit_minor_version \> $cppunit_minor_min \| \
52930 $cppunit_major_version \= $cppunit_major_min \& \
52931 $cppunit_minor_version \= $cppunit_minor_min \& \
52932 $cppunit_micro_version \>= $cppunit_micro_min `
52934 if test "$cppunit_version_proper" = "1" ; then
52935 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52936 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52938 { echo "$as_me:$LINENO: result: no" >&5
52939 echo "${ECHO_T}no" >&6; }
52944 if test "x$no_cppunit" = x ; then
52945 SUBDIRS="$SUBDIRS tests"
52956 for subdir in `echo $SUBDIRS`; do
52957 if test -d ${srcdir}/${subdir} ; then
52958 if test "$wxUSE_GUI" = "yes"; then
52959 if test ${subdir} = "samples"; then
52960 makefiles="samples/Makefile.in $makefiles"
52961 for sample in `echo $SAMPLES_SUBDIRS`; do
52962 if test -d $srcdir/samples/$sample; then
52963 makefiles="samples/$sample/Makefile.in $makefiles"
52967 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
52968 eval "disabled=\$$disabled_var"
52969 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52970 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52972 else if test ${subdir} = "samples"; then
52973 makefiles="samples/Makefile.in samples/console/Makefile.in"
52974 elif test ${subdir} = "utils"; then
52976 for util in HelpGen tex2rtf ; do
52977 if test -d $srcdir/utils/$util ; then
52978 makefiles="utils/$util/Makefile.in \
52979 utils/$util/src/Makefile.in \
52983 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52987 for mkin in $makefiles ; do
52988 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52989 ac_config_files="$ac_config_files $mk"
52995 cat >confcache <<\_ACEOF
52996 # This file is a shell script that caches the results of configure
52997 # tests run on this system so they can be shared between configure
52998 # scripts and configure runs, see configure's option --config-cache.
52999 # It is not useful on other systems. If it contains results you don't
53000 # want to keep, you may remove or edit it.
53002 # config.status only pays attention to the cache file if you give it
53003 # the --recheck option to rerun configure.
53005 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53006 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53007 # following values.
53011 # The following way of writing the cache mishandles newlines in values,
53012 # but we know of no workaround that is simple, portable, and efficient.
53013 # So, we kill variables containing newlines.
53014 # Ultrix sh set writes to stderr and can't be redirected directly,
53015 # and sets the high bit in the cache file unless we assign to the vars.
53017 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53018 eval ac_val=\$$ac_var
53022 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53023 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53026 _ | IFS | as_nl) ;; #(
53027 *) $as_unset $ac_var ;;
53033 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53034 *${as_nl}ac_space=\ *)
53035 # `set' does not quote correctly, so add quotes (double-quote
53036 # substitution turns \\\\ into \\, and sed turns \\ into \).
53039 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53042 # `set' quotes correctly as required by POSIX, so do not add quotes.
53043 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53052 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53054 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53056 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53057 if test -w "$cache_file"; then
53058 test "x$cache_file" != "x/dev/null" &&
53059 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53060 echo "$as_me: updating cache $cache_file" >&6;}
53061 cat confcache >$cache_file
53063 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53064 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53069 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53070 # Let make expand exec_prefix.
53071 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53073 DEFS=-DHAVE_CONFIG_H
53077 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53078 # 1. Remove the extension, and $U if already installed.
53079 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53080 ac_i=`echo "$ac_i" | sed "$ac_script"`
53081 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53082 # will be set to the directory where LIBOBJS objects are built.
53083 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53084 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53086 LIBOBJS=$ac_libobjs
53088 LTLIBOBJS=$ac_ltlibobjs
53092 : ${CONFIG_STATUS=./config.status}
53093 ac_clean_files_save=$ac_clean_files
53094 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53095 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53096 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53097 cat >$CONFIG_STATUS <<_ACEOF
53099 # Generated by $as_me.
53100 # Run this file to recreate the current configuration.
53101 # Compiler output produced by configure, useful for debugging
53102 # configure, is in config.log if it exists.
53105 ac_cs_recheck=false
53107 SHELL=\${CONFIG_SHELL-$SHELL}
53110 cat >>$CONFIG_STATUS <<\_ACEOF
53111 ## --------------------- ##
53112 ## M4sh Initialization. ##
53113 ## --------------------- ##
53115 # Be more Bourne compatible
53116 DUALCASE=1; export DUALCASE # for MKS sh
53117 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53120 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53121 # is contrary to our usage. Disable this feature.
53122 alias -g '${1+"$@"}'='"$@"'
53123 setopt NO_GLOB_SUBST
53125 case `(set -o) 2>/dev/null` in
53126 *posix*) set -o posix ;;
53135 # Avoid depending upon Character Ranges.
53136 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53137 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53138 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53139 as_cr_digits='0123456789'
53140 as_cr_alnum=$as_cr_Letters$as_cr_digits
53142 # The user is always right.
53143 if test "${PATH_SEPARATOR+set}" != set; then
53144 echo "#! /bin/sh" >conf$$.sh
53145 echo "exit 0" >>conf$$.sh
53147 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53155 # Support unset when possible.
53156 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53164 # We need space, tab and new line, in precisely that order. Quoting is
53165 # there to prevent editors from complaining about space-tab.
53166 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53167 # splitting by setting IFS to empty value.)
53172 # Find who we are. Look in the path if we contain no directory separator.
53174 *[\\/]* ) as_myself=$0 ;;
53175 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53176 for as_dir in $PATH
53179 test -z "$as_dir" && as_dir=.
53180 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53186 # We did not find ourselves, most probably we were run as `sh COMMAND'
53187 # in which case we are not to be found in the path.
53188 if test "x$as_myself" = x; then
53191 if test ! -f "$as_myself"; then
53192 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53193 { (exit 1); exit 1; }
53196 # Work around bugs in pre-3.0 UWIN ksh.
53197 for as_var in ENV MAIL MAILPATH
53198 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53206 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53207 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53208 LC_TELEPHONE LC_TIME
53210 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53211 eval $as_var=C; export $as_var
53213 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53217 # Required to use basename.
53218 if expr a : '\(a\)' >/dev/null 2>&1 &&
53219 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53225 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53226 as_basename=basename
53232 # Name of the executable.
53233 as_me=`$as_basename -- "$0" ||
53234 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53235 X"$0" : 'X\(//\)$' \| \
53236 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53238 sed '/^.*\/\([^/][^/]*\)\/*$/{
53257 as_lineno_1=$LINENO
53258 as_lineno_2=$LINENO
53259 test "x$as_lineno_1" != "x$as_lineno_2" &&
53260 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53262 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53263 # uniformly replaced by the line number. The first 'sed' inserts a
53264 # line-number line after each line using $LINENO; the second 'sed'
53265 # does the real work. The second script uses 'N' to pair each
53266 # line-number line with the line containing $LINENO, and appends
53267 # trailing '-' during substitution so that $LINENO is not a special
53268 # case at line end.
53269 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53270 # scripts with optimization help from Paolo Bonzini. Blame Lee
53271 # E. McMahon (1931-1989) for sed's syntax. :-)
53283 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53286 ' >$as_me.lineno &&
53287 chmod +x "$as_me.lineno" ||
53288 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53289 { (exit 1); exit 1; }; }
53291 # Don't try to exec as it changes $[0], causing all sort of problems
53292 # (the dirname of $[0] is not the place where we might find the
53293 # original and so on. Autoconf is especially sensitive to this).
53294 . "./$as_me.lineno"
53295 # Exit status is that of the last command.
53300 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53306 ECHO_C= ECHO_N= ECHO_T=
53307 case `echo -n x` in
53309 case `echo 'x\c'` in
53310 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53317 if expr a : '\(a\)' >/dev/null 2>&1 &&
53318 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53324 rm -f conf$$ conf$$.exe conf$$.file
53325 if test -d conf$$.dir; then
53326 rm -f conf$$.dir/conf$$.file
53332 if ln -s conf$$.file conf$$ 2>/dev/null; then
53334 # ... but there are two gotchas:
53335 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53336 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53337 # In both cases, we have to default to `cp -p'.
53338 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53340 elif ln conf$$.file conf$$ 2>/dev/null; then
53345 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53346 rmdir conf$$.dir 2>/dev/null
53348 if mkdir -p . 2>/dev/null; then
53351 test -d ./-p && rmdir ./-p
53355 if test -x / >/dev/null 2>&1; then
53356 as_test_x='test -x'
53358 if ls -dL / >/dev/null 2>&1; then
53365 if test -d "$1"; then
53371 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53372 ???[sx]*):;;*)false;;esac;fi
53376 as_executable_p=$as_test_x
53378 # Sed expression to map a string onto a valid CPP name.
53379 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53381 # Sed expression to map a string onto a valid variable name.
53382 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53387 # Save the log message, to keep $[0] and so on meaningful, and to
53388 # report actual input values of CONFIG_FILES etc. instead of their
53389 # values after options handling.
53391 This file was extended by wxWidgets $as_me 2.9.0, which was
53392 generated by GNU Autoconf 2.61. Invocation command line was
53394 CONFIG_FILES = $CONFIG_FILES
53395 CONFIG_HEADERS = $CONFIG_HEADERS
53396 CONFIG_LINKS = $CONFIG_LINKS
53397 CONFIG_COMMANDS = $CONFIG_COMMANDS
53400 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53405 cat >>$CONFIG_STATUS <<_ACEOF
53406 # Files that config.status was made for.
53407 config_files="$ac_config_files"
53408 config_headers="$ac_config_headers"
53409 config_commands="$ac_config_commands"
53413 cat >>$CONFIG_STATUS <<\_ACEOF
53415 \`$as_me' instantiates files from templates according to the
53416 current configuration.
53418 Usage: $0 [OPTIONS] [FILE]...
53420 -h, --help print this help, then exit
53421 -V, --version print version number and configuration settings, then exit
53422 -q, --quiet do not print progress messages
53423 -d, --debug don't remove temporary files
53424 --recheck update $as_me by reconfiguring in the same conditions
53425 --file=FILE[:TEMPLATE]
53426 instantiate the configuration file FILE
53427 --header=FILE[:TEMPLATE]
53428 instantiate the configuration header FILE
53430 Configuration files:
53433 Configuration headers:
53436 Configuration commands:
53439 Report bugs to <bug-autoconf@gnu.org>."
53442 cat >>$CONFIG_STATUS <<_ACEOF
53444 wxWidgets config.status 2.9.0
53445 configured by $0, generated by GNU Autoconf 2.61,
53446 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53448 Copyright (C) 2006 Free Software Foundation, Inc.
53449 This config.status script is free software; the Free Software Foundation
53450 gives unlimited permission to copy, distribute and modify it."
53457 cat >>$CONFIG_STATUS <<\_ACEOF
53458 # If no file are specified by the user, then we need to provide default
53459 # value. By we need to know if files were specified by the user.
53465 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53466 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53477 # Handling of the options.
53478 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53480 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53481 echo "$ac_cs_version"; exit ;;
53482 --debug | --debu | --deb | --de | --d | -d )
53484 --file | --fil | --fi | --f )
53486 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53487 ac_need_defaults=false;;
53488 --header | --heade | --head | --hea )
53490 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53491 ac_need_defaults=false;;
53493 # Conflict between --help and --header
53494 { echo "$as_me: error: ambiguous option: $1
53495 Try \`$0 --help' for more information." >&2
53496 { (exit 1); exit 1; }; };;
53497 --help | --hel | -h )
53498 echo "$ac_cs_usage"; exit ;;
53499 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53500 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53503 # This is an error.
53504 -*) { echo "$as_me: error: unrecognized option: $1
53505 Try \`$0 --help' for more information." >&2
53506 { (exit 1); exit 1; }; } ;;
53508 *) ac_config_targets="$ac_config_targets $1"
53509 ac_need_defaults=false ;;
53515 ac_configure_extra_args=
53517 if $ac_cs_silent; then
53519 ac_configure_extra_args="$ac_configure_extra_args --silent"
53523 cat >>$CONFIG_STATUS <<_ACEOF
53524 if \$ac_cs_recheck; then
53525 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53526 CONFIG_SHELL=$SHELL
53527 export CONFIG_SHELL
53528 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53532 cat >>$CONFIG_STATUS <<\_ACEOF
53536 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53537 ## Running $as_me. ##
53543 cat >>$CONFIG_STATUS <<_ACEOF
53549 infile="$srcdir/include/wx/msw/genrcdefs.h"
53550 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53553 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53554 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53555 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53561 cat >>$CONFIG_STATUS <<\_ACEOF
53563 # Handling of arguments.
53564 for ac_config_target in $ac_config_targets
53566 case $ac_config_target in
53567 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53568 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53569 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53570 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53571 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53572 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53573 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53574 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53576 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53577 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53578 { (exit 1); exit 1; }; };;
53583 # If the user did not use the arguments to specify the items to instantiate,
53584 # then the envvar interface is used. Set only those that are not.
53585 # We use the long form for the default assignment because of an extremely
53586 # bizarre bug on SunOS 4.1.3.
53587 if $ac_need_defaults; then
53588 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53589 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53590 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53593 # Have a temporary directory for convenience. Make it in the build tree
53594 # simply because there is no reason against having it here, and in addition,
53595 # creating and moving files from /tmp can sometimes cause problems.
53596 # Hook for its removal unless debugging.
53597 # Note that there is a small window in which the directory will not be cleaned:
53598 # after its creation but before its name has been assigned to `$tmp'.
53602 trap 'exit_status=$?
53603 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53605 trap '{ (exit 1); exit 1; }' 1 2 13 15
53607 # Create a (secure) tmp directory for tmp files.
53610 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53611 test -n "$tmp" && test -d "$tmp"
53614 tmp=./conf$$-$RANDOM
53615 (umask 077 && mkdir "$tmp")
53618 echo "$me: cannot create a temporary directory in ." >&2
53619 { (exit 1); exit 1; }
53623 # Set up the sed scripts for CONFIG_FILES section.
53626 # No need to generate the scripts if there are no CONFIG_FILES.
53627 # This happens for instance when ./config.status config.h
53628 if test -n "$CONFIG_FILES"; then
53635 for ac_last_try in false false false false false :; do
53636 cat >conf$$subs.sed <<_ACEOF
53637 SHELL!$SHELL$ac_delim
53638 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53639 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53640 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53641 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53642 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53643 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53644 exec_prefix!$exec_prefix$ac_delim
53645 prefix!$prefix$ac_delim
53646 program_transform_name!$program_transform_name$ac_delim
53647 bindir!$bindir$ac_delim
53648 sbindir!$sbindir$ac_delim
53649 libexecdir!$libexecdir$ac_delim
53650 datarootdir!$datarootdir$ac_delim
53651 datadir!$datadir$ac_delim
53652 sysconfdir!$sysconfdir$ac_delim
53653 sharedstatedir!$sharedstatedir$ac_delim
53654 localstatedir!$localstatedir$ac_delim
53655 includedir!$includedir$ac_delim
53656 oldincludedir!$oldincludedir$ac_delim
53657 docdir!$docdir$ac_delim
53658 infodir!$infodir$ac_delim
53659 htmldir!$htmldir$ac_delim
53660 dvidir!$dvidir$ac_delim
53661 pdfdir!$pdfdir$ac_delim
53662 psdir!$psdir$ac_delim
53663 libdir!$libdir$ac_delim
53664 localedir!$localedir$ac_delim
53665 mandir!$mandir$ac_delim
53666 DEFS!$DEFS$ac_delim
53667 ECHO_C!$ECHO_C$ac_delim
53668 ECHO_N!$ECHO_N$ac_delim
53669 ECHO_T!$ECHO_T$ac_delim
53670 LIBS!$LIBS$ac_delim
53671 build_alias!$build_alias$ac_delim
53672 host_alias!$host_alias$ac_delim
53673 target_alias!$target_alias$ac_delim
53674 build!$build$ac_delim
53675 build_cpu!$build_cpu$ac_delim
53676 build_vendor!$build_vendor$ac_delim
53677 build_os!$build_os$ac_delim
53678 host!$host$ac_delim
53679 host_cpu!$host_cpu$ac_delim
53680 host_vendor!$host_vendor$ac_delim
53681 host_os!$host_os$ac_delim
53682 target!$target$ac_delim
53683 target_cpu!$target_cpu$ac_delim
53684 target_vendor!$target_vendor$ac_delim
53685 target_os!$target_os$ac_delim
53686 wx_top_builddir!$wx_top_builddir$ac_delim
53688 CFLAGS!$CFLAGS$ac_delim
53689 LDFLAGS!$LDFLAGS$ac_delim
53690 CPPFLAGS!$CPPFLAGS$ac_delim
53691 ac_ct_CC!$ac_ct_CC$ac_delim
53692 EXEEXT!$EXEEXT$ac_delim
53693 OBJEXT!$OBJEXT$ac_delim
53695 GREP!$GREP$ac_delim
53696 EGREP!$EGREP$ac_delim
53698 CXXFLAGS!$CXXFLAGS$ac_delim
53699 ac_ct_CXX!$ac_ct_CXX$ac_delim
53700 RANLIB!$RANLIB$ac_delim
53702 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53703 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53704 INSTALL_DATA!$INSTALL_DATA$ac_delim
53705 STRIP!$STRIP$ac_delim
53706 WINDRES!$WINDRES$ac_delim
53707 DLLTOOL!$DLLTOOL$ac_delim
53708 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53709 LN_S!$LN_S$ac_delim
53710 subdirs!$subdirs$ac_delim
53711 PKG_CONFIG!$PKG_CONFIG$ac_delim
53712 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53713 GTK_LIBS!$GTK_LIBS$ac_delim
53714 GTK_CONFIG!$GTK_CONFIG$ac_delim
53715 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53716 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53717 XMKMF!$XMKMF$ac_delim
53718 X_CFLAGS!$X_CFLAGS$ac_delim
53719 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53720 X_LIBS!$X_LIBS$ac_delim
53721 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53722 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53723 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53724 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53725 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53726 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53727 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53728 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53729 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53731 DEREZ!$DEREZ$ac_delim
53732 SETFILE!$SETFILE$ac_delim
53733 LIBICONV!$LIBICONV$ac_delim
53736 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53738 elif $ac_last_try; then
53739 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53740 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53741 { (exit 1); exit 1; }; }
53743 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53747 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53748 if test -n "$ac_eof"; then
53749 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53750 ac_eof=`expr $ac_eof + 1`
53753 cat >>$CONFIG_STATUS <<_ACEOF
53754 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53755 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53758 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53759 s/^/s,@/; s/!/@,|#_!!_#|/
53762 s/'"$ac_delim"'$/,g/; t
53764 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53765 ' >>$CONFIG_STATUS <conf$$subs.sed
53766 rm -f conf$$subs.sed
53767 cat >>$CONFIG_STATUS <<_ACEOF
53773 for ac_last_try in false false false false false :; do
53774 cat >conf$$subs.sed <<_ACEOF
53775 SDL_CONFIG!$SDL_CONFIG$ac_delim
53776 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53777 SDL_LIBS!$SDL_LIBS$ac_delim
53778 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53779 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53780 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53781 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53782 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53783 HILDON_LIBS!$HILDON_LIBS$ac_delim
53784 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53785 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53786 GST_CFLAGS!$GST_CFLAGS$ac_delim
53787 GST_LIBS!$GST_LIBS$ac_delim
53788 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53789 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53790 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53791 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53792 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53793 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53794 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53795 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53796 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53797 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53798 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53799 VENDOR!$VENDOR$ac_delim
53800 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53801 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53802 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53803 WXUNIV!$WXUNIV$ac_delim
53804 MONOLITHIC!$MONOLITHIC$ac_delim
53805 USE_PLUGINS!$USE_PLUGINS$ac_delim
53806 CXXWARNINGS!$CXXWARNINGS$ac_delim
53807 EXTRALIBS!$EXTRALIBS$ac_delim
53808 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53809 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53810 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53811 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53812 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53813 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53814 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53815 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53816 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53817 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53818 UNICODE!$UNICODE$ac_delim
53819 BUILD!$BUILD$ac_delim
53820 DEBUG_INFO!$DEBUG_INFO$ac_delim
53821 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53822 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53823 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53824 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53825 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53826 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53827 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53828 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53829 SET_MAKE!$SET_MAKE$ac_delim
53830 MAKE_SET!$MAKE_SET$ac_delim
53831 AROPTIONS!$AROPTIONS$ac_delim
53833 INSTALL_DIR!$INSTALL_DIR$ac_delim
53834 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53835 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53836 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53837 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53838 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53839 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53840 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53841 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53842 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53843 SO_SUFFIX!$SO_SUFFIX$ac_delim
53844 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53845 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53846 LIBPREFIX!$LIBPREFIX$ac_delim
53847 LIBEXT!$LIBEXT$ac_delim
53848 DLLPREFIX!$DLLPREFIX$ac_delim
53849 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53850 dlldir!$dlldir$ac_delim
53851 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53852 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53853 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53854 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53855 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53856 PIC_FLAG!$PIC_FLAG$ac_delim
53857 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53858 USE_SOVERSION!$USE_SOVERSION$ac_delim
53859 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53860 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53861 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53862 USE_MACVERSION!$USE_MACVERSION$ac_delim
53863 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53864 SONAME_FLAG!$SONAME_FLAG$ac_delim
53865 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53866 BK_DEPS!$BK_DEPS$ac_delim
53867 GCC_PCH!$GCC_PCH$ac_delim
53868 ICC_PCH!$ICC_PCH$ac_delim
53869 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53870 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53871 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53874 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53876 elif $ac_last_try; then
53877 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53878 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53879 { (exit 1); exit 1; }; }
53881 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53885 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53886 if test -n "$ac_eof"; then
53887 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53888 ac_eof=`expr $ac_eof + 1`
53891 cat >>$CONFIG_STATUS <<_ACEOF
53892 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53893 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53896 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53897 s/^/s,@/; s/!/@,|#_!!_#|/
53900 s/'"$ac_delim"'$/,g/; t
53902 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53903 ' >>$CONFIG_STATUS <conf$$subs.sed
53904 rm -f conf$$subs.sed
53905 cat >>$CONFIG_STATUS <<_ACEOF
53911 for ac_last_try in false false false false false :; do
53912 cat >conf$$subs.sed <<_ACEOF
53913 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53914 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53915 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53916 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53917 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53918 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53919 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53920 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53921 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53922 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53923 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53924 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53925 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53926 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53927 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53928 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53929 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53930 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53931 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53932 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53933 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53934 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53935 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53936 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53937 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53938 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53939 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53940 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53941 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53942 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53943 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53944 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53945 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53946 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53947 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53948 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53949 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53950 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53951 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53952 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53953 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53954 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53955 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53956 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53957 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53958 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53959 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53960 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53961 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53962 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53963 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53964 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53965 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53966 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53967 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53968 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53969 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53970 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53971 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53972 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53973 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53974 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53975 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53976 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53977 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53978 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53979 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53980 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53981 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53982 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53983 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53984 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53985 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53986 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53987 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53988 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53989 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53990 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53991 COND_SHARED_0!$COND_SHARED_0$ac_delim
53992 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53993 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53994 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53995 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53996 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53997 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53998 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53999 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54000 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
54001 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
54002 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
54003 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
54004 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
54005 COND_SHARED_1!$COND_SHARED_1$ac_delim
54006 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54007 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
54008 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54009 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54012 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54014 elif $ac_last_try; then
54015 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54016 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54017 { (exit 1); exit 1; }; }
54019 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54023 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54024 if test -n "$ac_eof"; then
54025 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54026 ac_eof=`expr $ac_eof + 1`
54029 cat >>$CONFIG_STATUS <<_ACEOF
54030 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54031 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54034 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54035 s/^/s,@/; s/!/@,|#_!!_#|/
54038 s/'"$ac_delim"'$/,g/; t
54040 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54041 ' >>$CONFIG_STATUS <conf$$subs.sed
54042 rm -f conf$$subs.sed
54043 cat >>$CONFIG_STATUS <<_ACEOF
54049 for ac_last_try in false false false false false :; do
54050 cat >conf$$subs.sed <<_ACEOF
54051 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54052 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54053 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54054 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54055 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54056 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54057 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54058 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54059 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54060 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54061 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54062 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54063 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54064 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54065 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54066 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54067 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54068 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54069 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54070 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54071 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54072 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54073 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54074 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54075 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54076 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54077 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54078 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54079 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54080 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54081 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54082 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54083 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54084 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54085 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54086 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54087 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54088 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54089 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54090 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54091 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54092 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54093 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54094 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54095 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54096 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54097 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54098 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54099 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54100 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54101 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54102 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54103 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54104 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54105 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54106 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54107 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54108 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54109 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54110 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54111 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54112 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54113 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54114 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54115 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54116 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54117 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54118 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54119 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54120 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54121 SHARED!$SHARED$ac_delim
54122 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54123 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54124 USE_GUI!$USE_GUI$ac_delim
54125 AFMINSTALL!$AFMINSTALL$ac_delim
54126 WIN32INSTALL!$WIN32INSTALL$ac_delim
54127 TOOLKIT!$TOOLKIT$ac_delim
54128 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54129 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54130 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54131 cross_compiling!$cross_compiling$ac_delim
54132 WIDGET_SET!$WIDGET_SET$ac_delim
54133 WX_RELEASE!$WX_RELEASE$ac_delim
54134 WX_VERSION!$WX_VERSION$ac_delim
54135 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54136 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54137 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54138 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54139 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54140 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54141 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54142 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54143 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54144 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54145 EXE_LINKER!$EXE_LINKER$ac_delim
54146 GUIDIST!$GUIDIST$ac_delim
54147 DISTDIR!$DISTDIR$ac_delim
54150 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54152 elif $ac_last_try; then
54153 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54154 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54155 { (exit 1); exit 1; }; }
54157 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54161 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54162 if test -n "$ac_eof"; then
54163 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54164 ac_eof=`expr $ac_eof + 1`
54167 cat >>$CONFIG_STATUS <<_ACEOF
54168 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54169 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54172 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54173 s/^/s,@/; s/!/@,|#_!!_#|/
54176 s/'"$ac_delim"'$/,g/; t
54178 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54179 ' >>$CONFIG_STATUS <conf$$subs.sed
54180 rm -f conf$$subs.sed
54181 cat >>$CONFIG_STATUS <<_ACEOF
54187 for ac_last_try in false false false false false :; do
54188 cat >conf$$subs.sed <<_ACEOF
54189 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54190 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54191 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54192 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54193 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54194 RESCOMP!$RESCOMP$ac_delim
54195 RESFLAGS!$RESFLAGS$ac_delim
54196 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54197 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54198 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54199 LIBWXMACRES!$LIBWXMACRES$ac_delim
54200 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54201 MACSETFILE!$MACSETFILE$ac_delim
54203 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54204 LIBOBJS!$LIBOBJS$ac_delim
54205 LTLIBOBJS!$LTLIBOBJS$ac_delim
54208 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54210 elif $ac_last_try; then
54211 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54212 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54213 { (exit 1); exit 1; }; }
54215 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54219 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54220 if test -n "$ac_eof"; then
54221 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54222 ac_eof=`expr $ac_eof + 1`
54225 cat >>$CONFIG_STATUS <<_ACEOF
54226 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54227 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54230 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54231 s/^/s,@/; s/!/@,|#_!!_#|/
54234 s/'"$ac_delim"'$/,g/; t
54236 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54237 ' >>$CONFIG_STATUS <conf$$subs.sed
54238 rm -f conf$$subs.sed
54239 cat >>$CONFIG_STATUS <<_ACEOF
54246 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54247 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54248 # trailing colons and then remove the whole line if VPATH becomes empty
54249 # (actually we leave an empty line to preserve line numbers).
54250 if test "x$srcdir" = x.; then
54251 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54252 s/:*\$(srcdir):*/:/
54253 s/:*\${srcdir}:*/:/
54255 s/^\([^=]*=[ ]*\):*/\1/
54261 cat >>$CONFIG_STATUS <<\_ACEOF
54262 fi # test -n "$CONFIG_FILES"
54265 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54268 :[FHLC]) ac_mode=$ac_tag; continue;;
54270 case $ac_mode$ac_tag in
54272 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54273 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54274 { (exit 1); exit 1; }; };;
54275 :[FH]-) ac_tag=-:-;;
54276 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54293 -) ac_f="$tmp/stdin";;
54294 *) # Look for the file first in the build tree, then in the source tree
54295 # (if the path is not absolute). The absolute path cannot be DOS-style,
54296 # because $ac_f cannot contain `:'.
54300 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54302 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54303 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54304 { (exit 1); exit 1; }; };;
54306 ac_file_inputs="$ac_file_inputs $ac_f"
54309 # Let's still pretend it is `configure' which instantiates (i.e., don't
54310 # use $as_me), people would be surprised to read:
54311 # /* config.h. Generated by config.status. */
54312 configure_input="Generated from "`IFS=:
54313 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54314 if test x"$ac_file" != x-; then
54315 configure_input="$ac_file. $configure_input"
54316 { echo "$as_me:$LINENO: creating $ac_file" >&5
54317 echo "$as_me: creating $ac_file" >&6;}
54321 *:-:* | *:-) cat >"$tmp/stdin";;
54326 ac_dir=`$as_dirname -- "$ac_file" ||
54327 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54328 X"$ac_file" : 'X\(//\)[^/]' \| \
54329 X"$ac_file" : 'X\(//\)$' \| \
54330 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54332 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54336 /^X\(\/\/\)[^/].*/{
54351 -*) as_dir=./$as_dir;;
54353 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54357 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54358 *) as_qdir=$as_dir;;
54360 as_dirs="'$as_qdir' $as_dirs"
54361 as_dir=`$as_dirname -- "$as_dir" ||
54362 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54363 X"$as_dir" : 'X\(//\)[^/]' \| \
54364 X"$as_dir" : 'X\(//\)$' \| \
54365 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54371 /^X\(\/\/\)[^/].*/{
54384 test -d "$as_dir" && break
54386 test -z "$as_dirs" || eval "mkdir $as_dirs"
54387 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54388 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54389 { (exit 1); exit 1; }; }; }
54393 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54395 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54396 # A ".." for each directory in $ac_dir_suffix.
54397 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54398 case $ac_top_builddir_sub in
54399 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54400 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54403 ac_abs_top_builddir=$ac_pwd
54404 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54405 # for backward compatibility:
54406 ac_top_builddir=$ac_top_build_prefix
54409 .) # We are building in place.
54411 ac_top_srcdir=$ac_top_builddir_sub
54412 ac_abs_top_srcdir=$ac_pwd ;;
54413 [\\/]* | ?:[\\/]* ) # Absolute name.
54414 ac_srcdir=$srcdir$ac_dir_suffix;
54415 ac_top_srcdir=$srcdir
54416 ac_abs_top_srcdir=$srcdir ;;
54417 *) # Relative name.
54418 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54419 ac_top_srcdir=$ac_top_build_prefix$srcdir
54420 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54422 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54432 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54433 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54437 cat >>$CONFIG_STATUS <<\_ACEOF
54438 # If the template does not know about datarootdir, expand it.
54439 # FIXME: This hack should be removed a few years after 2.60.
54440 ac_datarootdir_hack=; ac_datarootdir_seen=
54442 case `sed -n '/datarootdir/ {
54451 ' $ac_file_inputs` in
54452 *datarootdir*) ac_datarootdir_seen=yes;;
54453 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54454 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54455 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54457 cat >>$CONFIG_STATUS <<_ACEOF
54458 ac_datarootdir_hack='
54459 s&@datadir@&$datadir&g
54460 s&@docdir@&$docdir&g
54461 s&@infodir@&$infodir&g
54462 s&@localedir@&$localedir&g
54463 s&@mandir@&$mandir&g
54464 s&\\\${datarootdir}&$datarootdir&g' ;;
54468 # Neutralize VPATH when `$srcdir' = `.'.
54469 # Shell code in configure.ac might set extrasub.
54470 # FIXME: do we really want to maintain this feature?
54471 cat >>$CONFIG_STATUS <<_ACEOF
54475 cat >>$CONFIG_STATUS <<\_ACEOF
54477 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54478 s&@configure_input@&$configure_input&;t t
54479 s&@top_builddir@&$ac_top_builddir_sub&;t t
54480 s&@srcdir@&$ac_srcdir&;t t
54481 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54482 s&@top_srcdir@&$ac_top_srcdir&;t t
54483 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54484 s&@builddir@&$ac_builddir&;t t
54485 s&@abs_builddir@&$ac_abs_builddir&;t t
54486 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54487 s&@INSTALL@&$ac_INSTALL&;t t
54488 $ac_datarootdir_hack
54489 " $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
54491 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54492 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54493 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54494 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54495 which seems to be undefined. Please make sure it is defined." >&5
54496 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54497 which seems to be undefined. Please make sure it is defined." >&2;}
54501 -) cat "$tmp/out"; rm -f "$tmp/out";;
54502 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54511 # Transform confdefs.h into a sed script `conftest.defines', that
54512 # substitutes the proper values into config.h.in to produce config.h.
54513 rm -f conftest.defines conftest.tail
54514 # First, append a space to every undef/define line, to ease matching.
54515 echo 's/$/ /' >conftest.defines
54516 # Then, protect against being on the right side of a sed subst, or in
54517 # an unquoted here document, in config.status. If some macros were
54518 # called several times there might be several #defines for the same
54519 # symbol, which is useless. But do not sort them, since the last
54520 # AC_DEFINE must be honored.
54521 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54522 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54523 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54524 # PARAMS is the parameter list in the macro definition--in most cases, it's
54525 # just an empty string.
54526 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54527 ac_dB='\\)[ (].*,\\1define\\2'
54535 s/^[ ]*#[ ]*define[ ][ ]*//
54540 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54541 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54542 ' >>conftest.defines
54544 # Remove the space that was appended to ease matching.
54545 # Then replace #undef with comments. This is necessary, for
54546 # example, in the case of _POSIX_SOURCE, which is predefined and required
54547 # on some systems where configure will not decide to define it.
54548 # (The regexp can be short, since the line contains either #define or #undef.)
54550 s,^[ #]*u.*,/* & */,' >>conftest.defines
54552 # Break up conftest.defines:
54553 ac_max_sed_lines=50
54555 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54556 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54557 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54559 ac_in='$ac_file_inputs'
54560 ac_out='"$tmp/out1"'
54561 ac_nxt='"$tmp/out2"'
54565 # Write a here document:
54566 cat >>$CONFIG_STATUS <<_ACEOF
54567 # First, check the format of the line:
54568 cat >"\$tmp/defines.sed" <<\\CEOF
54569 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54570 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54574 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54576 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54577 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54578 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54579 grep . conftest.tail >/dev/null || break
54580 rm -f conftest.defines
54581 mv conftest.tail conftest.defines
54583 rm -f conftest.defines conftest.tail
54585 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54586 cat >>$CONFIG_STATUS <<\_ACEOF
54587 if test x"$ac_file" != x-; then
54588 echo "/* $configure_input */" >"$tmp/config.h"
54589 cat "$ac_result" >>"$tmp/config.h"
54590 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54591 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54592 echo "$as_me: $ac_file is unchanged" >&6;}
54595 mv "$tmp/config.h" $ac_file
54598 echo "/* $configure_input */"
54604 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54605 echo "$as_me: executing $ac_file commands" >&6;}
54610 case $ac_file$ac_mode in
54612 mkdir -p $outdir &&
54613 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54615 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54616 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54617 "wx-config":C) rm -f wx-config
54618 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54625 { (exit 0); exit 0; }
54627 chmod +x $CONFIG_STATUS
54628 ac_clean_files=$ac_clean_files_save
54631 # configure is writing to config.log, and then calls config.status.
54632 # config.status does its own redirection, appending to config.log.
54633 # Unfortunately, on DOS this fails, as config.log is still kept open
54634 # by configure, so config.status won't be able to write to it; its
54635 # output is simply discarded. So we exec the FD to /dev/null,
54636 # effectively closing config.log, so it can be properly (re)opened and
54637 # appended to by config.status. When coming back to configure, we
54638 # need to make the FD available again.
54639 if test "$no_create" != yes; then
54641 ac_config_status_args=
54642 test "$silent" = yes &&
54643 ac_config_status_args="$ac_config_status_args --quiet"
54645 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54647 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54648 # would make configure fail if this is the last instruction.
54649 $ac_cs_success || { (exit 1); exit 1; }
54653 # CONFIG_SUBDIRS section.
54655 if test "$no_recursion" != yes; then
54657 # Remove --cache-file and --srcdir arguments so they do not pile up.
54658 ac_sub_configure_args=
54660 eval "set x $ac_configure_args"
54664 if test -n "$ac_prev"; then
54669 -cache-file | --cache-file | --cache-fil | --cache-fi \
54670 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54671 ac_prev=cache_file ;;
54672 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54673 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54676 --config-cache | -C)
54678 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54680 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54682 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54684 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54688 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54690 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54694 # Always prepend --prefix to ensure using the same prefix
54695 # in subdir configurations.
54696 ac_arg="--prefix=$prefix"
54698 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54700 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54703 if test "$silent" = yes; then
54704 ac_sub_configure_args="--silent $ac_sub_configure_args"
54708 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54710 # Do not complain, so a configure script can configure whichever
54711 # parts of a large source tree are present.
54712 test -d "$srcdir/$ac_dir" || continue
54714 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54715 echo "$as_me:$LINENO: $ac_msg" >&5
54719 -*) as_dir=./$as_dir;;
54721 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54725 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54726 *) as_qdir=$as_dir;;
54728 as_dirs="'$as_qdir' $as_dirs"
54729 as_dir=`$as_dirname -- "$as_dir" ||
54730 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54731 X"$as_dir" : 'X\(//\)[^/]' \| \
54732 X"$as_dir" : 'X\(//\)$' \| \
54733 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54739 /^X\(\/\/\)[^/].*/{
54752 test -d "$as_dir" && break
54754 test -z "$as_dirs" || eval "mkdir $as_dirs"
54755 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54756 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54757 { (exit 1); exit 1; }; }; }
54761 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54763 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54764 # A ".." for each directory in $ac_dir_suffix.
54765 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54766 case $ac_top_builddir_sub in
54767 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54768 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54771 ac_abs_top_builddir=$ac_pwd
54772 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54773 # for backward compatibility:
54774 ac_top_builddir=$ac_top_build_prefix
54777 .) # We are building in place.
54779 ac_top_srcdir=$ac_top_builddir_sub
54780 ac_abs_top_srcdir=$ac_pwd ;;
54781 [\\/]* | ?:[\\/]* ) # Absolute name.
54782 ac_srcdir=$srcdir$ac_dir_suffix;
54783 ac_top_srcdir=$srcdir
54784 ac_abs_top_srcdir=$srcdir ;;
54785 *) # Relative name.
54786 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54787 ac_top_srcdir=$ac_top_build_prefix$srcdir
54788 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54790 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54795 # Check for guested configure; otherwise get Cygnus style configure.
54796 if test -f "$ac_srcdir/configure.gnu"; then
54797 ac_sub_configure=$ac_srcdir/configure.gnu
54798 elif test -f "$ac_srcdir/configure"; then
54799 ac_sub_configure=$ac_srcdir/configure
54800 elif test -f "$ac_srcdir/configure.in"; then
54801 # This should be Cygnus configure.
54802 ac_sub_configure=$ac_aux_dir/configure
54804 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54805 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54809 # The recursion is here.
54810 if test -n "$ac_sub_configure"; then
54811 # Make the cache file name correct relative to the subdirectory.
54812 case $cache_file in
54813 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54814 *) # Relative name.
54815 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54818 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54819 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54820 # The eval makes quoting arguments work.
54821 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54822 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54823 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54824 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54825 { (exit 1); exit 1; }; }
54834 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54836 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54837 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54839 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54840 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54841 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
54842 if test "$wxUSE_UNICODE" = "yes"; then
54843 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54844 echo " (using UTF-8)"
54846 echo " (using wchar_t)"
54852 echo " What level of wxWidgets compatibility should be enabled?"
54853 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54854 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54856 echo " Which libraries should wxWidgets use?"
54857 echo " jpeg ${wxUSE_LIBJPEG-none}"
54858 echo " png ${wxUSE_LIBPNG-none}"
54859 echo " regex ${wxUSE_REGEX}"
54860 echo " tiff ${wxUSE_LIBTIFF-none}"
54861 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54862 echo " xpm ${wxUSE_LIBXPM-none}"
54864 echo " zlib ${wxUSE_ZLIB}"
54865 echo " odbc ${wxUSE_ODBC}"
54866 echo " expat ${wxUSE_EXPAT}"
54867 echo " libmspack ${wxUSE_LIBMSPACK}"
54868 echo " sdl ${wxUSE_LIBSDL}"