2 # From configure.in Id: configure.in 50303 2007-11-28 06:46:25Z PC .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir=.
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
261 CONFIG_SHELL=$as_shell
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
289 as_func_ret_success () {
292 as_func_ret_failure () {
297 if as_func_success; then
301 echo as_func_success failed.
304 if as_func_failure; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure; then
318 echo as_func_ret_failure succeeded.
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
475 ECHO_C= ECHO_N= ECHO_T=
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
509 elif ln conf$$.file conf$$ 2>/dev/null; then
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
517 if mkdir -p . 2>/dev/null; then
520 test -d ./-p && rmdir ./-p
524 if test -x / >/dev/null 2>&1; then
527 if ls -dL / >/dev/null 2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev/null 6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix=/usr/local
567 ac_config_libobj_dir=.
573 SHELL=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
709 LIBGNOMEPRINTUI_CFLAGS
756 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_QA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
835 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
837 COND_MONOLITHIC_0_SHARED_1
838 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
843 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
844 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
846 COND_MONOLITHIC_0_USE_AUI_1
847 COND_MONOLITHIC_0_USE_GUI_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_USE_HTML_1
850 COND_MONOLITHIC_0_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_QA_1
852 COND_MONOLITHIC_0_USE_RICHTEXT_1
853 COND_MONOLITHIC_0_USE_STC_1
854 COND_MONOLITHIC_0_USE_XRC_1
856 COND_MONOLITHIC_1_SHARED_0
857 COND_MONOLITHIC_1_SHARED_1
858 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
859 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
860 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_1
863 COND_PLATFORM_MACOSX_1_TOOLKIT_
864 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
865 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
866 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
869 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
870 COND_PLATFORM_MACOSX_1_USE_GUI_1
871 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
872 COND_PLATFORM_MACOS_1
874 COND_PLATFORM_MSDOS_1
878 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
879 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
880 COND_PLATFORM_UNIX_1_USE_GUI_1
881 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
882 COND_PLATFORM_WIN32_0
883 COND_PLATFORM_WIN32_1
885 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
886 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
887 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
888 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
889 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
890 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
892 COND_SHARED_0_USE_STC_1
893 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
894 COND_SHARED_0_WXUSE_REGEX_BUILTIN
895 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
897 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
900 COND_TOOLKIT_COCOA_USE_GUI_1
901 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
903 COND_TOOLKIT_DFB_USE_GUI_1
905 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
906 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_GTK_USE_GUI_1
914 COND_TOOLKIT_MAC_USE_GUI_1
915 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_MGL_USE_GUI_1
919 COND_TOOLKIT_MOTIF_USE_GUI_1
920 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_MSW_USE_GUI_1
923 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_MSW_WXUNIV_0
926 COND_TOOLKIT_PM_USE_GUI_1
927 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_WINCE_USE_GUI_1
930 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_WINCE_WXUNIV_0
933 COND_TOOLKIT_X11_USE_GUI_1
935 COND_USE_EXCEPTIONS_0
936 COND_USE_EXCEPTIONS_1
939 COND_USE_GUI_1_USE_OPENGL_1
940 COND_USE_GUI_1_WXUNIV_0
941 COND_USE_GUI_1_WXUNIV_1
942 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
943 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
944 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
949 COND_USE_SOSYMLINKS_1
950 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
951 COND_USE_SOVERLINUX_1
953 COND_USE_SOVERSOLARIS_1
958 COND_WINDOWS_IMPLIB_1
959 COND_WITH_PLUGIN_SDL_1
962 COND_WXUSE_EXPAT_BUILTIN
963 COND_WXUSE_LIBJPEG_BUILTIN
964 COND_WXUSE_LIBPNG_BUILTIN
965 COND_WXUSE_LIBTIFF_BUILTIN
966 COND_WXUSE_REGEX_BUILTIN
967 COND_WXUSE_ZLIB_BUILTIN
970 WX_LIBRARY_BASENAME_NOGUI
971 WX_LIBRARY_BASENAME_GUI
1003 WX_RESOURCES_MACOSX_ASCII
1004 WX_RESOURCES_MACOSX_DATA
1014 ac_precious_vars='build_alias
1038 LIBGNOMEPRINTUI_CFLAGS
1039 LIBGNOMEPRINTUI_LIBS
1048 ac_subdirs_all='src/tiff
1051 # Initialize some variables set by options.
1053 ac_init_version=false
1054 # The variables have the same names as the options, with
1055 # dashes changed to underlines.
1056 cache_file=/dev/null
1063 program_transform_name=s,x,x,
1071 # Installation directory options.
1072 # These are left unexpanded so users can "make install exec_prefix=/foo"
1073 # and all the variables that are supposed to be based on exec_prefix
1074 # by default will actually change.
1075 # Use braces instead of parens because sh, perl, etc. also accept them.
1076 # (The list follows the same order as the GNU Coding Standards.)
1077 bindir='${exec_prefix}/bin'
1078 sbindir='${exec_prefix}/sbin'
1079 libexecdir='${exec_prefix}/libexec'
1080 datarootdir='${prefix}/share'
1081 datadir='${datarootdir}'
1082 sysconfdir='${prefix}/etc'
1083 sharedstatedir='${prefix}/com'
1084 localstatedir='${prefix}/var'
1085 includedir='${prefix}/include'
1086 oldincludedir='/usr/include'
1087 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1088 infodir='${datarootdir}/info'
1093 libdir='${exec_prefix}/lib'
1094 localedir='${datarootdir}/locale'
1095 mandir='${datarootdir}/man'
1101 # If the previous option needs an argument, assign it.
1102 if test -n "$ac_prev"; then
1103 eval $ac_prev=\$ac_option
1109 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1113 # Accept the important Cygnus configure options, so we can diagnose typos.
1115 case $ac_dashdash$ac_option in
1119 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1121 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1122 bindir=$ac_optarg ;;
1124 -build | --build | --buil | --bui | --bu)
1125 ac_prev=build_alias ;;
1126 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1127 build_alias=$ac_optarg ;;
1129 -cache-file | --cache-file | --cache-fil | --cache-fi \
1130 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1131 ac_prev=cache_file ;;
1132 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1133 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1134 cache_file=$ac_optarg ;;
1136 --config-cache | -C)
1137 cache_file=config.cache ;;
1139 -datadir | --datadir | --datadi | --datad)
1141 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1142 datadir=$ac_optarg ;;
1144 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1145 | --dataroo | --dataro | --datar)
1146 ac_prev=datarootdir ;;
1147 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1148 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1149 datarootdir=$ac_optarg ;;
1151 -disable-* | --disable-*)
1152 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1155 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1156 { (exit 1); exit 1; }; }
1157 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1158 eval enable_$ac_feature=no ;;
1160 -docdir | --docdir | --docdi | --doc | --do)
1162 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1163 docdir=$ac_optarg ;;
1165 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1167 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1168 dvidir=$ac_optarg ;;
1170 -enable-* | --enable-*)
1171 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1174 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1175 { (exit 1); exit 1; }; }
1176 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1177 eval enable_$ac_feature=\$ac_optarg ;;
1179 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1180 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1181 | --exec | --exe | --ex)
1182 ac_prev=exec_prefix ;;
1183 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1184 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1185 | --exec=* | --exe=* | --ex=*)
1186 exec_prefix=$ac_optarg ;;
1188 -gas | --gas | --ga | --g)
1189 # Obsolete; use --with-gas.
1192 -help | --help | --hel | --he | -h)
1193 ac_init_help=long ;;
1194 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1195 ac_init_help=recursive ;;
1196 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1197 ac_init_help=short ;;
1199 -host | --host | --hos | --ho)
1200 ac_prev=host_alias ;;
1201 -host=* | --host=* | --hos=* | --ho=*)
1202 host_alias=$ac_optarg ;;
1204 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1206 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1208 htmldir=$ac_optarg ;;
1210 -includedir | --includedir | --includedi | --included | --include \
1211 | --includ | --inclu | --incl | --inc)
1212 ac_prev=includedir ;;
1213 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1214 | --includ=* | --inclu=* | --incl=* | --inc=*)
1215 includedir=$ac_optarg ;;
1217 -infodir | --infodir | --infodi | --infod | --info | --inf)
1219 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1220 infodir=$ac_optarg ;;
1222 -libdir | --libdir | --libdi | --libd)
1224 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1225 libdir=$ac_optarg ;;
1227 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1228 | --libexe | --libex | --libe)
1229 ac_prev=libexecdir ;;
1230 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1231 | --libexe=* | --libex=* | --libe=*)
1232 libexecdir=$ac_optarg ;;
1234 -localedir | --localedir | --localedi | --localed | --locale)
1235 ac_prev=localedir ;;
1236 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1237 localedir=$ac_optarg ;;
1239 -localstatedir | --localstatedir | --localstatedi | --localstated \
1240 | --localstate | --localstat | --localsta | --localst | --locals)
1241 ac_prev=localstatedir ;;
1242 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1243 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1244 localstatedir=$ac_optarg ;;
1246 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1248 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1249 mandir=$ac_optarg ;;
1251 -nfp | --nfp | --nf)
1252 # Obsolete; use --without-fp.
1255 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1256 | --no-cr | --no-c | -n)
1259 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1260 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1263 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1264 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1265 | --oldin | --oldi | --old | --ol | --o)
1266 ac_prev=oldincludedir ;;
1267 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1268 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1269 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1270 oldincludedir=$ac_optarg ;;
1272 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1274 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1275 prefix=$ac_optarg ;;
1277 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1278 | --program-pre | --program-pr | --program-p)
1279 ac_prev=program_prefix ;;
1280 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1281 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1282 program_prefix=$ac_optarg ;;
1284 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1285 | --program-suf | --program-su | --program-s)
1286 ac_prev=program_suffix ;;
1287 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1288 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1289 program_suffix=$ac_optarg ;;
1291 -program-transform-name | --program-transform-name \
1292 | --program-transform-nam | --program-transform-na \
1293 | --program-transform-n | --program-transform- \
1294 | --program-transform | --program-transfor \
1295 | --program-transfo | --program-transf \
1296 | --program-trans | --program-tran \
1297 | --progr-tra | --program-tr | --program-t)
1298 ac_prev=program_transform_name ;;
1299 -program-transform-name=* | --program-transform-name=* \
1300 | --program-transform-nam=* | --program-transform-na=* \
1301 | --program-transform-n=* | --program-transform-=* \
1302 | --program-transform=* | --program-transfor=* \
1303 | --program-transfo=* | --program-transf=* \
1304 | --program-trans=* | --program-tran=* \
1305 | --progr-tra=* | --program-tr=* | --program-t=*)
1306 program_transform_name=$ac_optarg ;;
1308 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1310 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1311 pdfdir=$ac_optarg ;;
1313 -psdir | --psdir | --psdi | --psd | --ps)
1315 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1318 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1319 | -silent | --silent | --silen | --sile | --sil)
1322 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1324 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1326 sbindir=$ac_optarg ;;
1328 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1329 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1330 | --sharedst | --shareds | --shared | --share | --shar \
1332 ac_prev=sharedstatedir ;;
1333 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1334 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1335 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1337 sharedstatedir=$ac_optarg ;;
1339 -site | --site | --sit)
1341 -site=* | --site=* | --sit=*)
1344 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1346 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1347 srcdir=$ac_optarg ;;
1349 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1350 | --syscon | --sysco | --sysc | --sys | --sy)
1351 ac_prev=sysconfdir ;;
1352 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1353 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1354 sysconfdir=$ac_optarg ;;
1356 -target | --target | --targe | --targ | --tar | --ta | --t)
1357 ac_prev=target_alias ;;
1358 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1359 target_alias=$ac_optarg ;;
1361 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1364 -version | --version | --versio | --versi | --vers | -V)
1365 ac_init_version=: ;;
1368 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1369 # Reject names that are not valid shell variable names.
1370 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1371 { echo "$as_me: error: invalid package name: $ac_package" >&2
1372 { (exit 1); exit 1; }; }
1373 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1374 eval with_$ac_package=\$ac_optarg ;;
1376 -without-* | --without-*)
1377 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1378 # Reject names that are not valid shell variable names.
1379 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1380 { echo "$as_me: error: invalid package name: $ac_package" >&2
1381 { (exit 1); exit 1; }; }
1382 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1383 eval with_$ac_package=no ;;
1386 # Obsolete; use --with-x.
1389 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1390 | --x-incl | --x-inc | --x-in | --x-i)
1391 ac_prev=x_includes ;;
1392 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1393 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1394 x_includes=$ac_optarg ;;
1396 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1397 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1398 ac_prev=x_libraries ;;
1399 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1400 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1401 x_libraries=$ac_optarg ;;
1403 -*) { echo "$as_me: error: unrecognized option: $ac_option
1404 Try \`$0 --help' for more information." >&2
1405 { (exit 1); exit 1; }; }
1409 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1410 # Reject names that are not valid shell variable names.
1411 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1412 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1413 { (exit 1); exit 1; }; }
1414 eval $ac_envvar=\$ac_optarg
1415 export $ac_envvar ;;
1418 # FIXME: should be removed in autoconf 3.0.
1419 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1420 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1421 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1422 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1428 if test -n "$ac_prev"; then
1429 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1430 { echo "$as_me: error: missing argument to $ac_option" >&2
1431 { (exit 1); exit 1; }; }
1434 # Be sure to have absolute directory names.
1435 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1436 datadir sysconfdir sharedstatedir localstatedir includedir \
1437 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1438 libdir localedir mandir
1440 eval ac_val=\$$ac_var
1442 [\\/$]* | ?:[\\/]* ) continue;;
1443 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1445 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1446 { (exit 1); exit 1; }; }
1449 # There might be people who depend on the old broken behavior: `$host'
1450 # used to hold the argument of --host etc.
1451 # FIXME: To remove some day.
1454 target=$target_alias
1456 # FIXME: To remove some day.
1457 if test "x$host_alias" != x; then
1458 if test "x$build_alias" = x; then
1459 cross_compiling=maybe
1460 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1461 If a cross compiler is detected then cross compile mode will be used." >&2
1462 elif test "x$build_alias" != "x$host_alias"; then
1468 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1470 test "$silent" = yes && exec 6>/dev/null
1473 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1474 ac_ls_di=`ls -di .` &&
1475 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1476 { echo "$as_me: error: Working directory cannot be determined" >&2
1477 { (exit 1); exit 1; }; }
1478 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1479 { echo "$as_me: error: pwd does not report name of working directory" >&2
1480 { (exit 1); exit 1; }; }
1483 # Find the source files, if location was not specified.
1484 if test -z "$srcdir"; then
1485 ac_srcdir_defaulted=yes
1486 # Try the directory containing this script, then the parent directory.
1487 ac_confdir=`$as_dirname -- "$0" ||
1488 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1489 X"$0" : 'X\(//\)[^/]' \| \
1490 X"$0" : 'X\(//\)$' \| \
1491 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1511 if test ! -r "$srcdir/$ac_unique_file"; then
1515 ac_srcdir_defaulted=no
1517 if test ! -r "$srcdir/$ac_unique_file"; then
1518 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1519 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1520 { (exit 1); exit 1; }; }
1522 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1524 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1525 { (exit 1); exit 1; }; }
1527 # When building in place, set srcdir=.
1528 if test "$ac_abs_confdir" = "$ac_pwd"; then
1531 # Remove unnecessary trailing slashes from srcdir.
1532 # Double slashes in file names in object file debugging info
1533 # mess up M-x gdb in Emacs.
1535 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1537 for ac_var in $ac_precious_vars; do
1538 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1539 eval ac_env_${ac_var}_value=\$${ac_var}
1540 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1541 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1545 # Report the --help message.
1547 if test "$ac_init_help" = "long"; then
1548 # Omit some internal or obsolete options to make the list less imposing.
1549 # This message is too long to be a string in the A/UX 3.1 sh.
1551 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1553 Usage: $0 [OPTION]... [VAR=VALUE]...
1555 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1556 VAR=VALUE. See below for descriptions of some of the useful variables.
1558 Defaults for the options are specified in brackets.
1561 -h, --help display this help and exit
1562 --help=short display options specific to this package
1563 --help=recursive display the short help of all the included packages
1564 -V, --version display version information and exit
1565 -q, --quiet, --silent do not print \`checking...' messages
1566 --cache-file=FILE cache test results in FILE [disabled]
1567 -C, --config-cache alias for \`--cache-file=config.cache'
1568 -n, --no-create do not create output files
1569 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1571 Installation directories:
1572 --prefix=PREFIX install architecture-independent files in PREFIX
1573 [$ac_default_prefix]
1574 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1577 By default, \`make install' will install all the files in
1578 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1579 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1580 for instance \`--prefix=\$HOME'.
1582 For better control, use the options below.
1584 Fine tuning of the installation directories:
1585 --bindir=DIR user executables [EPREFIX/bin]
1586 --sbindir=DIR system admin executables [EPREFIX/sbin]
1587 --libexecdir=DIR program executables [EPREFIX/libexec]
1588 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1589 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1590 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1591 --libdir=DIR object code libraries [EPREFIX/lib]
1592 --includedir=DIR C header files [PREFIX/include]
1593 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1594 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1595 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1596 --infodir=DIR info documentation [DATAROOTDIR/info]
1597 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1598 --mandir=DIR man documentation [DATAROOTDIR/man]
1599 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1600 --htmldir=DIR html documentation [DOCDIR]
1601 --dvidir=DIR dvi documentation [DOCDIR]
1602 --pdfdir=DIR pdf documentation [DOCDIR]
1603 --psdir=DIR ps documentation [DOCDIR]
1609 --x-includes=DIR X include files are in DIR
1610 --x-libraries=DIR X library files are in DIR
1613 --build=BUILD configure for building on BUILD [guessed]
1614 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1615 --target=TARGET configure for building compilers for TARGET [HOST]
1619 if test -n "$ac_init_help"; then
1620 case $ac_init_help in
1621 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1626 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1627 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1628 --disable-gui don't build GUI parts of the library
1629 --enable-monolithic build wxWidgets as single library
1630 --enable-plugins build parts of wxWidgets as loadable components
1631 --enable-official_build official build of wxWidgets (win32 DLL only)
1632 --enable-vendor=VENDOR vendor name (win32 DLL only)
1633 --disable-all-features disable all optional features to build minimal library
1634 --enable-universal use wxWidgets GUI controls instead of native ones
1635 --enable-nanox use NanoX
1636 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1637 --enable-gpe use GNOME PDA Environment features if possible
1638 --disable-shared create static library instead of shared
1639 --disable-optimise create optimised code
1640 --enable-debug same as debug_flag and debug_info
1641 --enable-stl use STL for containers
1642 --enable-std_iostreams use standard C++ stream classes
1643 --enable-std_string use standard C++ string classes
1644 --disable-unicode compile without Unicode support
1645 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1646 --enable-utf8 use UTF-8 representation for strings (Unix only)
1647 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1648 --enable-extended_rtti use extended RTTI (XTI)
1649 --enable-omf use OMF object format
1650 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1651 --enable-debug_info create code with debugging information
1652 --enable-debug_gdb create code with extra GDB debugging information
1653 --enable-debug_cntxt use wxDebugContext
1654 --enable-mem_tracing create code with memory tracing
1655 --enable-profile create code with profiling information
1656 --enable-no_rtti create code without RTTI information
1657 --enable-no_exceptions create code without C++ exceptions handling
1658 --enable-permissive compile code disregarding strict ANSI
1659 --enable-no_deps create code without dependency information
1660 --disable-vararg_macros don't use vararg macros, even if they are supported
1661 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1662 --enable-compat26 enable wxWidgets 2.6 compatibility
1663 --disable-compat28 disable wxWidgets 2.8 compatibility
1664 --disable-rpath disable use of rpath for uninstalled builds
1665 --enable-objc_uniquifying enable Objective-C class name uniquifying
1666 --disable-visibility disable use of ELF symbols visibility even if supported
1667 --enable-intl use internationalization system
1668 --enable-config use wxConfig (and derived) classes
1669 --enable-protocols use wxProtocol and derived classes
1670 --enable-ftp use wxFTP (requires wxProtocol
1671 --enable-http use wxHTTP (requires wxProtocol
1672 --enable-fileproto use wxFileProto class (requires wxProtocol
1673 --enable-sockets use socket/network classes
1674 --enable-ipv6 enable IPv6 support in wxSocket
1675 --enable-ole use OLE classes (Win32 only)
1676 --enable-dataobj use data object classes
1677 --enable-ipc use interprocess communication (wxSocket etc.)
1678 --enable-baseevtloop use event loop in console programs too
1679 --enable-epollloop use wxEpollDispatcher class (Linux only)
1680 --enable-selectloop use wxSelectDispatcher class
1681 --enable-apple_ieee use the Apple IEEE codec
1682 --enable-arcstream use wxArchive streams
1683 --enable-base64 use base64 encoding/decoding functions
1684 --enable-backtrace use wxStackWalker class for getting backtraces
1685 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1686 --enable-cmdline use wxCmdLineParser class
1687 --enable-datetime use wxDateTime class
1688 --enable-debugreport use wxDebugReport class
1689 --enable-dialupman use dialup network classes
1690 --enable-dynlib use wxLibrary class for DLL loading
1691 --enable-dynamicloader use (new) wxDynamicLibrary class
1692 --enable-exceptions build exception-safe library
1693 --enable-ffile use wxFFile class
1694 --enable-file use wxFile class
1695 --enable-filesystem use virtual file systems classes
1696 --enable-fontenum use wxFontEnumerator class
1697 --enable-fontmap use font encodings conversion classes
1698 --enable-fs_archive use virtual archive filesystems
1699 --enable-fs_inet use virtual HTTP/FTP filesystems
1700 --enable-fs_zip now replaced by fs_archive
1701 --enable-geometry use geometry class
1702 --enable-log use logging system
1703 --enable-longlong use wxLongLong class
1704 --enable-mimetype use wxMimeTypesManager
1705 --enable-snglinst use wxSingleInstanceChecker class
1706 --enable-stdpaths use wxStandardPaths class
1707 --enable-stopwatch use wxStopWatch class
1708 --enable-streams use wxStream etc classes
1709 --enable-sysoptions use wxSystemOptions
1710 --enable-tarstream use wxTar streams
1711 --enable-textbuf use wxTextBuffer class
1712 --enable-textfile use wxTextFile class
1713 --enable-timer use wxTimer class
1714 --enable-sound use wxSound class
1715 --enable-mediactrl use wxMediaCtrl class
1716 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1717 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1718 --enable-zipstream use wxZip streams
1719 --enable-url use wxURL class
1720 --enable-variant use wxVariant class
1721 --enable-protocol use wxProtocol class
1722 --enable-protocol-http HTTP support in wxProtocol
1723 --enable-protocol-ftp FTP support in wxProtocol
1724 --enable-protocol-file FILE support in wxProtocol
1725 --enable-threads use threads
1726 --enable-iniconf use wxIniConfig (Win32 only)
1727 --enable-regkey use wxRegKey class (Win32 only)
1728 --enable-docview use document view architecture
1729 --enable-help use help subsystem
1730 --enable-mshtmlhelp use MS HTML Help (win32)
1731 --enable-html use wxHTML sub-library
1732 --enable-htmlhelp use wxHTML-based help
1733 --enable-xrc use XRC resources sub-library
1734 --enable-aui use AUI docking library
1735 --enable-stc use wxStyledTextCtrl library
1736 --enable-constraints use layout-constraints system
1737 --enable-printarch use printing architecture
1738 --enable-mdi use multiple document interface architecture
1739 --enable-mdidoc use docview architecture with MDI
1740 --enable-loggui use standard GUI logger
1741 --enable-logwin use wxLogWindow
1742 --enable-logdialog use wxLogDialog
1743 --enable-webkit use wxWebKitCtrl (Mac)
1744 --enable-richtext use wxRichTextCtrl
1745 --enable-graphics_ctx use graphics context 2D drawing API
1746 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1747 --enable-svg use wxSVGFileDC device context
1748 --enable-clipboard use wxClipboard class
1749 --enable-dnd use Drag'n'Drop classes
1750 --enable-metafile use win32 metafiles
1751 --disable-controls disable compilation of all standard controls
1752 --enable-accel use accelerators
1753 --enable-animatectrl use wxAnimationCtrl class
1754 --enable-button use wxButton class
1755 --enable-bmpbutton use wxBitmapButton class
1756 --enable-bmpcombobox use wxBitmapComboBox class
1757 --enable-calendar use wxCalendarCtrl class
1758 --enable-caret use wxCaret class
1759 --enable-checkbox use wxCheckBox class
1760 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1761 --enable-choice use wxChoice class
1762 --enable-choicebook use wxChoicebook class
1763 --enable-collpane use wxCollapsiblePane class
1764 --enable-colourpicker use wxColourPickerCtrl class
1765 --enable-combobox use wxComboBox class
1766 --enable-comboctrl use wxComboCtrl class
1767 --enable-datepick use wxDatePickerCtrl class
1768 --enable-dirpicker use wxDirPickerCtrl class
1769 --enable-display use wxDisplay class
1770 --enable-detect_sm use code to detect X11 session manager
1771 --enable-editablebox use wxEditableListBox class
1772 --enable-filepicker use wxFilePickerCtrl class
1773 --enable-filectrl use wxFileCtrl class
1774 --enable-fontpicker use wxFontPickerCtrl class
1775 --enable-gauge use wxGauge class
1776 --enable-grid use wxGrid class
1777 --enable-dataviewctrl use wxDataViewCtrl class
1778 --enable-hyperlink use wxHyperlinkCtrl class
1779 --enable-imaglist use wxImageList class
1780 --enable-listbook use wxListbook class
1781 --enable-listbox use wxListBox class
1782 --enable-listctrl use wxListCtrl class
1783 --enable-notebook use wxNotebook class
1784 --enable-notifmsg use wxNotificationMessage class
1785 --enable-odcombobox use wxOwnerDrawnComboBox class
1786 --enable-radiobox use wxRadioBox class
1787 --enable-radiobtn use wxRadioButton class
1788 --enable-sash use wxSashWindow class
1789 --enable-scrollbar use wxScrollBar class and scrollable windows
1790 --enable-searchctrl use wxSearchCtrl class
1791 --enable-slider use wxSlider class
1792 --enable-spinbtn use wxSpinButton class
1793 --enable-spinctrl use wxSpinCtrl class
1794 --enable-splitter use wxSplitterWindow class
1795 --enable-statbmp use wxStaticBitmap class
1796 --enable-statbox use wxStaticBox class
1797 --enable-statline use wxStaticLine class
1798 --enable-stattext use wxStaticText class
1799 --enable-statusbar use wxStatusBar class
1800 --enable-tabdialog use wxTabControl class
1801 --enable-taskbaricon use wxTaskBarIcon class
1802 --enable-textctrl use wxTextCtrl class
1803 --enable-togglebtn use wxToggleButton class
1804 --enable-toolbar use wxToolBar class
1805 --enable-tbarnative use native wxToolBar class
1806 --enable-treebook use wxTreebook class
1807 --enable-toolbook use wxToolbook class
1808 --enable-treectrl use wxTreeCtrl class
1809 --enable-tipwindow use wxTipWindow class
1810 --enable-popupwin use wxPopUpWindow class
1811 --enable-commondlg use all common dialogs
1812 --enable-aboutdlg use wxAboutBox
1813 --enable-choicedlg use wxChoiceDialog
1814 --enable-coldlg use wxColourDialog
1815 --enable-filedlg use wxFileDialog
1816 --enable-finddlg use wxFindReplaceDialog
1817 --enable-fontdlg use wxFontDialog
1818 --enable-dirdlg use wxDirDialog
1819 --enable-msgdlg use wxMessageDialog
1820 --enable-numberdlg use wxNumberEntryDialog
1821 --enable-splash use wxSplashScreen
1822 --enable-textdlg use wxTextDialog
1823 --enable-tipdlg use startup tips
1824 --enable-progressdlg use wxProgressDialog
1825 --enable-wizarddlg use wxWizard
1826 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1827 --enable-miniframe use wxMiniFrame class
1828 --enable-tooltips use wxToolTip class
1829 --enable-splines use spline drawing code
1830 --enable-mousewheel use mousewheel
1831 --enable-validators use wxValidator and derived classes
1832 --enable-busyinfo use wxBusyInfo
1833 --enable-joystick use wxJoystick
1834 --enable-metafiles use wxMetaFile (Win32 only)
1835 --enable-dragimage use wxDragImage
1836 --enable-accessibility enable accessibility support
1837 --enable-palette use wxPalette class
1838 --enable-image use wxImage class
1839 --enable-gif use gif images (GIF file format)
1840 --enable-pcx use pcx images (PCX file format)
1841 --enable-tga use tga images (TGA file format)
1842 --enable-iff use iff images (IFF file format)
1843 --enable-pnm use pnm images (PNM file format)
1844 --enable-xpm use xpm images (XPM file format)
1845 --enable-icocur use Windows ICO and CUR formats
1846 --enable-dccache cache temporary wxDC objects (Win32 only)
1847 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1848 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1849 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1850 --enable-wxdib use wxDIB class (Win32 only)
1851 --disable-largefile omit support for large files
1852 --disable-gtktest do not try to compile and run a test GTK+ program
1853 --disable-gtktest Do not try to compile and run a test GTK program
1854 --disable-sdltest Do not try to compile and run a test SDL program
1855 --enable-omf use OMF object format (OS/2)
1856 --disable-dependency-tracking
1857 don't use dependency tracking even if the compiler
1859 --disable-precomp-headers
1860 don't use precompiled headers even if compiler can
1863 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1864 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1865 --without-subdirs don't generate makefiles for samples/demos/...
1866 --with-flavour=NAME specify a name to identify this build
1867 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1868 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1869 --with-motif use Motif/Lesstif
1870 --with-mac use Mac OS X
1871 --with-cocoa use Cocoa
1872 --with-wine use Wine
1873 --with-msw use MS-Windows
1874 --with-pm use OS/2 Presentation Manager
1875 --with-mgl use SciTech MGL
1876 --with-directfb use DirectFB
1877 --with-microwin use MicroWindows
1879 --with-libpng use libpng (PNG image format)
1880 --with-libjpeg use libjpeg (JPEG file format)
1881 --with-libtiff use libtiff (TIFF file format)
1882 --with-libxpm use libxpm (XPM file format)
1883 --with-libmspack use libmspack (CHM help files loading)
1884 --without-gtkprint don't use GTK printing support
1885 --without-gnomeprint don't use GNOME printing libraries
1886 --with-gnomevfs use GNOME VFS for associating MIME types
1887 --with-hildon use Hildon framework for Nokia 770
1888 --with-opengl use OpenGL (or Mesa)
1889 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1890 --with-sdl use SDL for audio on Unix
1891 --with-regex enable support for wxRegEx class
1892 --with-zlib use zlib for LZW compression
1893 --with-expat enable XML support using expat parser
1894 --with-macosx-sdk=PATH use an OS X SDK at PATH
1895 --with-macosx-version-min=VER build binaries which require at least this OS X version
1896 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1897 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1898 --with-x use the X Window System
1899 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1900 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1901 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1902 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1903 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1905 Some influential environment variables:
1906 CC C compiler command
1907 CFLAGS C compiler flags
1908 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1909 nonstandard directory <lib dir>
1910 LIBS libraries to pass to the linker, e.g. -l<library>
1911 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1912 you have headers in a nonstandard directory <include dir>
1914 CXX C++ compiler command
1915 CXXFLAGS C++ compiler flags
1916 PKG_CONFIG path to pkg-config utility
1918 C compiler flags for DIRECTFB, overriding pkg-config
1920 linker flags for DIRECTFB, overriding pkg-config
1921 XMKMF Path to xmkmf, Makefile generator for X Window System
1923 C compiler flags for PANGOX, overriding pkg-config
1924 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1926 C compiler flags for PANGOFT2, overriding pkg-config
1928 linker flags for PANGOFT2, overriding pkg-config
1930 C compiler flags for PANGOXFT, overriding pkg-config
1932 linker flags for PANGOXFT, overriding pkg-config
1934 C compiler flags for GTKPRINT, overriding pkg-config
1936 linker flags for GTKPRINT, overriding pkg-config
1937 LIBGNOMEPRINTUI_CFLAGS
1938 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1939 LIBGNOMEPRINTUI_LIBS
1940 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1942 C compiler flags for GNOMEVFS, overriding pkg-config
1944 linker flags for GNOMEVFS, overriding pkg-config
1946 C compiler flags for HILDON, overriding pkg-config
1947 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1949 C compiler flags for CAIRO, overriding pkg-config
1950 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1951 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1952 GST_LIBS linker flags for GST, overriding pkg-config
1954 Use these variables to override the choices made by `configure' or to help
1955 it to find libraries and programs with nonstandard names/locations.
1957 Report bugs to <wx-dev@lists.wxwidgets.org>.
1962 if test "$ac_init_help" = "recursive"; then
1963 # If there are subdirs, report their specific --help.
1964 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1965 test -d "$ac_dir" || continue
1969 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1971 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1972 # A ".." for each directory in $ac_dir_suffix.
1973 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1974 case $ac_top_builddir_sub in
1975 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1976 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1979 ac_abs_top_builddir=$ac_pwd
1980 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1981 # for backward compatibility:
1982 ac_top_builddir=$ac_top_build_prefix
1985 .) # We are building in place.
1987 ac_top_srcdir=$ac_top_builddir_sub
1988 ac_abs_top_srcdir=$ac_pwd ;;
1989 [\\/]* | ?:[\\/]* ) # Absolute name.
1990 ac_srcdir=$srcdir$ac_dir_suffix;
1991 ac_top_srcdir=$srcdir
1992 ac_abs_top_srcdir=$srcdir ;;
1994 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1995 ac_top_srcdir=$ac_top_build_prefix$srcdir
1996 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1998 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2000 cd "$ac_dir" || { ac_status=$?; continue; }
2001 # Check for guested configure.
2002 if test -f "$ac_srcdir/configure.gnu"; then
2004 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2005 elif test -f "$ac_srcdir/configure"; then
2007 $SHELL "$ac_srcdir/configure" --help=recursive
2009 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2011 cd "$ac_pwd" || { ac_status=$?; break; }
2015 test -n "$ac_init_help" && exit $ac_status
2016 if $ac_init_version; then
2018 wxWidgets configure 2.9.0
2019 generated by GNU Autoconf 2.61
2021 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2022 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2023 This configure script is free software; the Free Software Foundation
2024 gives unlimited permission to copy, distribute and modify it.
2028 cat >config.log <<_ACEOF
2029 This file contains any messages produced by compilers while
2030 running configure, to aid debugging if configure makes a mistake.
2032 It was created by wxWidgets $as_me 2.9.0, which was
2033 generated by GNU Autoconf 2.61. Invocation command line was
2045 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2046 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2047 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2048 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2049 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2051 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2052 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2054 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2055 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2056 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2057 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2058 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2059 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2060 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2068 test -z "$as_dir" && as_dir=.
2069 echo "PATH: $as_dir"
2085 # Keep a trace of the command line.
2086 # Strip out --no-create and --no-recursion so they do not pile up.
2087 # Strip out --silent because we don't want to record it for future runs.
2088 # Also quote any args containing shell meta-characters.
2089 # Make two passes to allow for proper duplicate-argument suppression.
2093 ac_must_keep_next=false
2099 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2100 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2101 | -silent | --silent | --silen | --sile | --sil)
2104 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2107 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2109 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2110 if test $ac_must_keep_next = true; then
2111 ac_must_keep_next=false # Got value, back to normal.
2114 *=* | --config-cache | -C | -disable-* | --disable-* \
2115 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2116 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2117 | -with-* | --with-* | -without-* | --without-* | --x)
2118 case "$ac_configure_args0 " in
2119 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2122 -* ) ac_must_keep_next=true ;;
2125 ac_configure_args="$ac_configure_args '$ac_arg'"
2130 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2131 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2133 # When interrupted or exit'd, cleanup temporary files, and complete
2134 # config.log. We remove comments because anyway the quotes in there
2135 # would cause problems or look ugly.
2136 # WARNING: Use '\'' to represent an apostrophe within the trap.
2137 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2138 trap 'exit_status=$?
2139 # Save into config.log some information that might help in debugging.
2144 ## ---------------- ##
2145 ## Cache variables. ##
2146 ## ---------------- ##
2149 # The following way of writing the cache mishandles newlines in values,
2151 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2152 eval ac_val=\$$ac_var
2156 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2157 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2160 _ | IFS | as_nl) ;; #(
2161 *) $as_unset $ac_var ;;
2166 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2167 *${as_nl}ac_space=\ *)
2169 "s/'\''/'\''\\\\'\'''\''/g;
2170 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2173 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2181 ## ----------------- ##
2182 ## Output variables. ##
2183 ## ----------------- ##
2186 for ac_var in $ac_subst_vars
2188 eval ac_val=\$$ac_var
2190 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2192 echo "$ac_var='\''$ac_val'\''"
2196 if test -n "$ac_subst_files"; then
2198 ## ------------------- ##
2199 ## File substitutions. ##
2200 ## ------------------- ##
2203 for ac_var in $ac_subst_files
2205 eval ac_val=\$$ac_var
2207 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2209 echo "$ac_var='\''$ac_val'\''"
2214 if test -s confdefs.h; then
2224 test "$ac_signal" != 0 &&
2225 echo "$as_me: caught signal $ac_signal"
2226 echo "$as_me: exit $exit_status"
2228 rm -f core *.core core.conftest.* &&
2229 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2232 for ac_signal in 1 2 13 15; do
2233 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2237 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2238 rm -f -r conftest* confdefs.h
2240 # Predefined preprocessor variables.
2242 cat >>confdefs.h <<_ACEOF
2243 #define PACKAGE_NAME "$PACKAGE_NAME"
2247 cat >>confdefs.h <<_ACEOF
2248 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2252 cat >>confdefs.h <<_ACEOF
2253 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2257 cat >>confdefs.h <<_ACEOF
2258 #define PACKAGE_STRING "$PACKAGE_STRING"
2262 cat >>confdefs.h <<_ACEOF
2263 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2267 # Let the site file select an alternate cache file if it wants to.
2268 # Prefer explicitly selected file to automatically selected ones.
2269 if test -n "$CONFIG_SITE"; then
2270 set x "$CONFIG_SITE"
2271 elif test "x$prefix" != xNONE; then
2272 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2274 set x "$ac_default_prefix/share/config.site" \
2275 "$ac_default_prefix/etc/config.site"
2280 if test -r "$ac_site_file"; then
2281 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2282 echo "$as_me: loading site script $ac_site_file" >&6;}
2283 sed 's/^/| /' "$ac_site_file" >&5
2288 if test -r "$cache_file"; then
2289 # Some versions of bash will fail to source /dev/null (special
2290 # files actually), so we avoid doing that.
2291 if test -f "$cache_file"; then
2292 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2293 echo "$as_me: loading cache $cache_file" >&6;}
2295 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2296 *) . "./$cache_file";;
2300 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2301 echo "$as_me: creating cache $cache_file" >&6;}
2305 # Check that the precious variables saved in the cache have kept the same
2307 ac_cache_corrupted=false
2308 for ac_var in $ac_precious_vars; do
2309 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2310 eval ac_new_set=\$ac_env_${ac_var}_set
2311 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2312 eval ac_new_val=\$ac_env_${ac_var}_value
2313 case $ac_old_set,$ac_new_set in
2315 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2316 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2317 ac_cache_corrupted=: ;;
2319 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2320 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2321 ac_cache_corrupted=: ;;
2324 if test "x$ac_old_val" != "x$ac_new_val"; then
2325 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2326 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2327 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2328 echo "$as_me: former value: $ac_old_val" >&2;}
2329 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2330 echo "$as_me: current value: $ac_new_val" >&2;}
2331 ac_cache_corrupted=:
2334 # Pass precious variables to config.status.
2335 if test "$ac_new_set" = set; then
2337 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2338 *) ac_arg=$ac_var=$ac_new_val ;;
2340 case " $ac_configure_args " in
2341 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2342 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2346 if $ac_cache_corrupted; then
2347 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2348 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2349 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2350 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2351 { (exit 1); exit 1; }; }
2379 ac_cpp='$CPP $CPPFLAGS'
2380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2389 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2390 if test -f "$ac_dir/install-sh"; then
2392 ac_install_sh="$ac_aux_dir/install-sh -c"
2394 elif test -f "$ac_dir/install.sh"; then
2396 ac_install_sh="$ac_aux_dir/install.sh -c"
2398 elif test -f "$ac_dir/shtool"; then
2400 ac_install_sh="$ac_aux_dir/shtool install -c"
2404 if test -z "$ac_aux_dir"; then
2405 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2406 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2407 { (exit 1); exit 1; }; }
2410 # These three variables are undocumented and unsupported,
2411 # and are intended to be withdrawn in a future Autoconf release.
2412 # They can cause serious problems if a builder's source tree is in a directory
2413 # whose full name contains unusual characters.
2414 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2415 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2416 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2419 # Make sure we can run config.sub.
2420 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2421 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2422 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2423 { (exit 1); exit 1; }; }
2425 { echo "$as_me:$LINENO: checking build system type" >&5
2426 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2427 if test "${ac_cv_build+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6
2430 ac_build_alias=$build_alias
2431 test "x$ac_build_alias" = x &&
2432 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2433 test "x$ac_build_alias" = x &&
2434 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2435 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2436 { (exit 1); exit 1; }; }
2437 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2438 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2439 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2440 { (exit 1); exit 1; }; }
2443 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2444 echo "${ECHO_T}$ac_cv_build" >&6; }
2445 case $ac_cv_build in
2447 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2448 echo "$as_me: error: invalid value of canonical build" >&2;}
2449 { (exit 1); exit 1; }; };;
2452 ac_save_IFS=$IFS; IFS='-'
2458 # Remember, the first character of IFS is used to create $*,
2459 # except with old shells:
2462 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2465 { echo "$as_me:$LINENO: checking host system type" >&5
2466 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2467 if test "${ac_cv_host+set}" = set; then
2468 echo $ECHO_N "(cached) $ECHO_C" >&6
2470 if test "x$host_alias" = x; then
2471 ac_cv_host=$ac_cv_build
2473 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2474 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2475 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2476 { (exit 1); exit 1; }; }
2480 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2481 echo "${ECHO_T}$ac_cv_host" >&6; }
2484 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2485 echo "$as_me: error: invalid value of canonical host" >&2;}
2486 { (exit 1); exit 1; }; };;
2489 ac_save_IFS=$IFS; IFS='-'
2495 # Remember, the first character of IFS is used to create $*,
2496 # except with old shells:
2499 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2502 { echo "$as_me:$LINENO: checking target system type" >&5
2503 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2504 if test "${ac_cv_target+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 if test "x$target_alias" = x; then
2508 ac_cv_target=$ac_cv_host
2510 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2511 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2512 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2513 { (exit 1); exit 1; }; }
2517 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2518 echo "${ECHO_T}$ac_cv_target" >&6; }
2519 case $ac_cv_target in
2521 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2522 echo "$as_me: error: invalid value of canonical target" >&2;}
2523 { (exit 1); exit 1; }; };;
2525 target=$ac_cv_target
2526 ac_save_IFS=$IFS; IFS='-'
2532 # Remember, the first character of IFS is used to create $*,
2533 # except with old shells:
2536 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2539 # The aliases save the names the user supplied, while $host etc.
2540 # will get canonicalized.
2541 test -n "$target_alias" &&
2542 test "$program_prefix$program_suffix$program_transform_name" = \
2544 program_prefix=${target_alias}-
2548 wx_major_version_number=2
2549 wx_minor_version_number=9
2551 wx_subrelease_number=0
2553 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2554 WX_VERSION=$WX_RELEASE.$wx_release_number
2555 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2557 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2560 wx_top_builddir="`pwd`"
2573 USE_BSD= USE_DARWIN= USE_FREEBSD=
2579 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2585 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2587 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2589 DEFAULT_wxUSE_COCOA=0
2593 DEFAULT_wxUSE_MICROWIN=0
2594 DEFAULT_wxUSE_MOTIF=0
2600 DEFAULT_DEFAULT_wxUSE_COCOA=0
2601 DEFAULT_DEFAULT_wxUSE_GTK=0
2602 DEFAULT_DEFAULT_wxUSE_MAC=0
2603 DEFAULT_DEFAULT_wxUSE_MGL=0
2604 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2605 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2606 DEFAULT_DEFAULT_wxUSE_MSW=0
2607 DEFAULT_DEFAULT_wxUSE_PM=0
2608 DEFAULT_DEFAULT_wxUSE_X11=0
2609 DEFAULT_DEFAULT_wxUSE_DFB=0
2614 SAMPLES_RPATH_POSTLINK=
2616 DEFAULT_STD_FLAG=yes
2621 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2622 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2624 cat >>confdefs.h <<\_ACEOF
2629 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2633 cat >>confdefs.h <<\_ACEOF
2638 if test "x$TMP" = "xalpha"; then
2640 cat >>confdefs.h <<\_ACEOF
2645 DEFAULT_DEFAULT_wxUSE_GTK=1
2647 *-*-gnu* | *-*-k*bsd*-gnu )
2650 if test "x$TMP" = "xalpha"; then
2652 cat >>confdefs.h <<\_ACEOF
2657 DEFAULT_DEFAULT_wxUSE_GTK=1
2659 *-*-irix5* | *-*-irix6* )
2662 cat >>confdefs.h <<\_ACEOF
2666 cat >>confdefs.h <<\_ACEOF
2670 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2676 cat >>confdefs.h <<\_ACEOF
2680 cat >>confdefs.h <<\_ACEOF
2681 #define __SOLARIS__ 1
2684 cat >>confdefs.h <<\_ACEOF
2688 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2689 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2695 cat >>confdefs.h <<\_ACEOF
2699 cat >>confdefs.h <<\_ACEOF
2703 cat >>confdefs.h <<\_ACEOF
2707 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2712 cat >>confdefs.h <<\_ACEOF
2713 #define __FREEBSD__ 1
2716 cat >>confdefs.h <<\_ACEOF
2720 DEFAULT_DEFAULT_wxUSE_GTK=1
2722 *-*-openbsd*|*-*-mirbsd*)
2725 cat >>confdefs.h <<\_ACEOF
2726 #define __OPENBSD__ 1
2729 cat >>confdefs.h <<\_ACEOF
2733 DEFAULT_DEFAULT_wxUSE_GTK=1
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __NETBSD__ 1
2742 cat >>confdefs.h <<\_ACEOF
2746 DEFAULT_DEFAULT_wxUSE_GTK=1
2747 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2749 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2754 cat >>confdefs.h <<\_ACEOF
2758 cat >>confdefs.h <<\_ACEOF
2762 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2763 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2768 cat >>confdefs.h <<\_ACEOF
2772 cat >>confdefs.h <<\_ACEOF
2776 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2781 cat >>confdefs.h <<\_ACEOF
2785 cat >>confdefs.h <<\_ACEOF
2789 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2796 cat >>confdefs.h <<\_ACEOF
2800 cat >>confdefs.h <<\_ACEOF
2804 cat >>confdefs.h <<\_ACEOF
2808 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2815 cat >>confdefs.h <<\_ACEOF
2816 #define __UNIXWARE__ 1
2821 *-*-cygwin* | *-*-mingw32* )
2824 DEFAULT_DEFAULT_wxUSE_MSW=1
2830 cat >>confdefs.h <<\_ACEOF
2835 DEFAULT_DEFAULT_wxUSE_MGL=1
2838 *-pc-os2_emx | *-pc-os2-emx )
2839 cat >>confdefs.h <<\_ACEOF
2844 cat >>confdefs.h <<\_ACEOF
2849 DEFAULT_DEFAULT_wxUSE_PM=1
2851 LDFLAGS="$LDFLAGS -Zcrtdll"
2852 ac_executable_extensions=".exe"
2853 export ac_executable_extensions
2857 for ac_dir in $PATH; do
2859 if test -z "$ac_TEMP_PATH"; then
2860 ac_TEMP_PATH="$ac_dir"
2862 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2865 export PATH="$ac_TEMP_PATH"
2874 cat >>confdefs.h <<\_ACEOF
2878 cat >>confdefs.h <<\_ACEOF
2879 #define __DARWIN__ 1
2882 cat >>confdefs.h <<\_ACEOF
2883 #define TARGET_CARBON 1
2886 DEFAULT_DEFAULT_wxUSE_MAC=1
2889 powerpc-apple-macos* )
2891 ac_cv_c_bigendian=yes
2893 DEFAULT_DEFAULT_wxUSE_MAC=1
2899 cat >>confdefs.h <<\_ACEOF
2906 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2907 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2908 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2909 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2911 DEFAULT_DEFAULT_wxUSE_X11=1
2912 DEFAULT_wxUSE_SHARED=no
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_OPENGL=no
2929 DEFAULT_wxUSE_ACCESSIBILITY=no
2930 DEFAULT_wxUSE_DATAVIEWCTRL=no
2931 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2932 DEFAULT_wxUSE_IPV6=no
2933 DEFAULT_wxUSE_MEDIACTRL=no
2934 DEFAULT_wxUSE_TAB_DIALOG=no
2935 DEFAULT_wxUSE_GSTREAMER8=no
2937 DEFAULT_wxUSE_UNICODE_UTF8=auto
2938 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2940 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2942 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2944 DEFAULT_wxUSE_GTK2=yes
2946 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2952 enablestring=disable
2954 if test -z "$defaultval"; then
2955 if test x"$enablestring" = xdisable; then
2962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2963 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2964 # Check whether --enable-gui was given.
2965 if test "${enable_gui+set}" = set; then
2966 enableval=$enable_gui;
2967 if test "$enableval" = yes; then
2968 wx_cv_use_gui='wxUSE_GUI=yes'
2970 wx_cv_use_gui='wxUSE_GUI=no'
2975 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2980 eval "$wx_cv_use_gui"
2982 if test x"$enablestring" = xdisable; then
2983 if test $wxUSE_GUI = yes; then
2992 { echo "$as_me:$LINENO: result: $result" >&5
2993 echo "${ECHO_T}$result" >&6; }
2998 if test -z "$defaultval"; then
2999 if test x"$enablestring" = xdisable; then
3006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3007 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3008 # Check whether --enable-monolithic was given.
3009 if test "${enable_monolithic+set}" = set; then
3010 enableval=$enable_monolithic;
3011 if test "$enableval" = yes; then
3012 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3014 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3019 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3024 eval "$wx_cv_use_monolithic"
3026 if test x"$enablestring" = xdisable; then
3027 if test $wxUSE_MONOLITHIC = yes; then
3033 result=$wxUSE_MONOLITHIC
3036 { echo "$as_me:$LINENO: result: $result" >&5
3037 echo "${ECHO_T}$result" >&6; }
3042 if test -z "$defaultval"; then
3043 if test x"$enablestring" = xdisable; then
3050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3051 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3052 # Check whether --enable-plugins was given.
3053 if test "${enable_plugins+set}" = set; then
3054 enableval=$enable_plugins;
3055 if test "$enableval" = yes; then
3056 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3058 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3063 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3068 eval "$wx_cv_use_plugins"
3070 if test x"$enablestring" = xdisable; then
3071 if test $wxUSE_PLUGINS = yes; then
3077 result=$wxUSE_PLUGINS
3080 { echo "$as_me:$LINENO: result: $result" >&5
3081 echo "${ECHO_T}$result" >&6; }
3085 defaultval=$wxUSE_ALL_FEATURES
3086 if test -z "$defaultval"; then
3087 if test x"$withstring" = xwithout; then
3093 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3094 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3096 # Check whether --with-subdirs was given.
3097 if test "${with_subdirs+set}" = set; then
3098 withval=$with_subdirs;
3099 if test "$withval" = yes; then
3100 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3102 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3107 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3112 eval "$wx_cv_use_subdirs"
3114 if test x"$withstring" = xwithout; then
3115 if test $wxWITH_SUBDIRS = yes; then
3121 result=$wxWITH_SUBDIRS
3124 { echo "$as_me:$LINENO: result: $result" >&5
3125 echo "${ECHO_T}$result" >&6; }
3128 # Check whether --with-flavour was given.
3129 if test "${with_flavour+set}" = set; then
3130 withval=$with_flavour; WX_FLAVOUR="$withval"
3136 if test -z "$defaultval"; then
3137 if test x"$enablestring" = xdisable; then
3144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3145 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3146 # Check whether --enable-official_build was given.
3147 if test "${enable_official_build+set}" = set; then
3148 enableval=$enable_official_build;
3149 if test "$enableval" = yes; then
3150 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3152 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3157 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3162 eval "$wx_cv_use_official_build"
3164 if test x"$enablestring" = xdisable; then
3165 if test $wxUSE_OFFICIAL_BUILD = yes; then
3171 result=$wxUSE_OFFICIAL_BUILD
3174 { echo "$as_me:$LINENO: result: $result" >&5
3175 echo "${ECHO_T}$result" >&6; }
3177 # Check whether --enable-vendor was given.
3178 if test "${enable_vendor+set}" = set; then
3179 enableval=$enable_vendor; VENDOR="$enableval"
3182 if test "x$VENDOR" = "x"; then
3187 enablestring=disable
3189 if test -z "$defaultval"; then
3190 if test x"$enablestring" = xdisable; then
3197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3198 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3199 # Check whether --enable-all-features was given.
3200 if test "${enable_all_features+set}" = set; then
3201 enableval=$enable_all_features;
3202 if test "$enableval" = yes; then
3203 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3205 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3210 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3215 eval "$wx_cv_use_all_features"
3217 if test x"$enablestring" = xdisable; then
3218 if test $wxUSE_ALL_FEATURES = yes; then
3224 result=$wxUSE_ALL_FEATURES
3227 { echo "$as_me:$LINENO: result: $result" >&5
3228 echo "${ECHO_T}$result" >&6; }
3232 if test "$wxUSE_GUI" = "yes"; then
3237 if test -z "$defaultval"; then
3238 if test x"$enablestring" = xdisable; then
3245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3246 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3247 # Check whether --enable-universal was given.
3248 if test "${enable_universal+set}" = set; then
3249 enableval=$enable_universal;
3250 if test "$enableval" = yes; then
3251 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3253 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3258 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3263 eval "$wx_cv_use_universal"
3265 if test x"$enablestring" = xdisable; then
3266 if test $wxUSE_UNIVERSAL = yes; then
3272 result=$wxUSE_UNIVERSAL
3275 { echo "$as_me:$LINENO: result: $result" >&5
3276 echo "${ECHO_T}$result" >&6; }
3278 if test "$wxUSE_UNIVERSAL" = "yes"; then
3280 # Check whether --with-themes was given.
3281 if test "${with_themes+set}" = set; then
3282 withval=$with_themes; wxUNIV_THEMES="$withval"
3288 # Check whether --with-gtk was given.
3289 if test "${with_gtk+set}" = set; then
3290 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3294 # Check whether --with-motif was given.
3295 if test "${with_motif+set}" = set; then
3296 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3300 # Check whether --with-mac was given.
3301 if test "${with_mac+set}" = set; then
3302 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3306 # Check whether --with-cocoa was given.
3307 if test "${with_cocoa+set}" = set; then
3308 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3312 # Check whether --with-wine was given.
3313 if test "${with_wine+set}" = set; then
3314 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3318 # Check whether --with-msw was given.
3319 if test "${with_msw+set}" = set; then
3320 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3324 # Check whether --with-pm was given.
3325 if test "${with_pm+set}" = set; then
3326 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3330 # Check whether --with-mgl was given.
3331 if test "${with_mgl+set}" = set; then
3332 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3336 # Check whether --with-directfb was given.
3337 if test "${with_directfb+set}" = set; then
3338 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3342 # Check whether --with-microwin was given.
3343 if test "${with_microwin+set}" = set; then
3344 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3348 # Check whether --with-x11 was given.
3349 if test "${with_x11+set}" = set; then
3350 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3356 if test -z "$defaultval"; then
3357 if test x"$enablestring" = xdisable; then
3364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3365 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3366 # Check whether --enable-nanox was given.
3367 if test "${enable_nanox+set}" = set; then
3368 enableval=$enable_nanox;
3369 if test "$enableval" = yes; then
3370 wx_cv_use_nanox='wxUSE_NANOX=yes'
3372 wx_cv_use_nanox='wxUSE_NANOX=no'
3377 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3382 eval "$wx_cv_use_nanox"
3384 if test x"$enablestring" = xdisable; then
3385 if test $wxUSE_NANOX = yes; then
3394 { echo "$as_me:$LINENO: result: $result" >&5
3395 echo "${ECHO_T}$result" >&6; }
3398 # Check whether --enable-gtk2 was given.
3399 if test "${enable_gtk2+set}" = set; then
3400 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3406 if test -z "$defaultval"; then
3407 if test x"$enablestring" = xdisable; then
3414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3415 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3416 # Check whether --enable-gpe was given.
3417 if test "${enable_gpe+set}" = set; then
3418 enableval=$enable_gpe;
3419 if test "$enableval" = yes; then
3420 wx_cv_use_gpe='wxUSE_GPE=yes'
3422 wx_cv_use_gpe='wxUSE_GPE=no'
3427 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3432 eval "$wx_cv_use_gpe"
3434 if test x"$enablestring" = xdisable; then
3435 if test $wxUSE_GPE = yes; then
3444 { echo "$as_me:$LINENO: result: $result" >&5
3445 echo "${ECHO_T}$result" >&6; }
3450 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3451 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3453 # Check whether --with-libpng was given.
3454 if test "${with_libpng+set}" = set; then
3455 withval=$with_libpng;
3456 if test "$withval" = yes; then
3457 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3458 elif test "$withval" = no; then
3459 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3460 elif test "$withval" = sys; then
3461 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3462 elif test "$withval" = builtin; then
3463 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3465 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3466 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3467 { (exit 1); exit 1; }; }
3472 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3477 eval "$wx_cv_use_libpng"
3479 if test "$wxUSE_LIBPNG" = yes; then
3480 { echo "$as_me:$LINENO: result: yes" >&5
3481 echo "${ECHO_T}yes" >&6; }
3482 elif test "$wxUSE_LIBPNG" = no; then
3483 { echo "$as_me:$LINENO: result: no" >&5
3484 echo "${ECHO_T}no" >&6; }
3485 elif test "$wxUSE_LIBPNG" = sys; then
3486 { echo "$as_me:$LINENO: result: system version" >&5
3487 echo "${ECHO_T}system version" >&6; }
3488 elif test "$wxUSE_LIBPNG" = builtin; then
3489 { echo "$as_me:$LINENO: result: builtin version" >&5
3490 echo "${ECHO_T}builtin version" >&6; }
3492 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3493 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3494 { (exit 1); exit 1; }; }
3498 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3499 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3501 # Check whether --with-libjpeg was given.
3502 if test "${with_libjpeg+set}" = set; then
3503 withval=$with_libjpeg;
3504 if test "$withval" = yes; then
3505 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3506 elif test "$withval" = no; then
3507 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3508 elif test "$withval" = sys; then
3509 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3510 elif test "$withval" = builtin; then
3511 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3513 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3514 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3515 { (exit 1); exit 1; }; }
3520 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3525 eval "$wx_cv_use_libjpeg"
3527 if test "$wxUSE_LIBJPEG" = yes; then
3528 { echo "$as_me:$LINENO: result: yes" >&5
3529 echo "${ECHO_T}yes" >&6; }
3530 elif test "$wxUSE_LIBJPEG" = no; then
3531 { echo "$as_me:$LINENO: result: no" >&5
3532 echo "${ECHO_T}no" >&6; }
3533 elif test "$wxUSE_LIBJPEG" = sys; then
3534 { echo "$as_me:$LINENO: result: system version" >&5
3535 echo "${ECHO_T}system version" >&6; }
3536 elif test "$wxUSE_LIBJPEG" = builtin; then
3537 { echo "$as_me:$LINENO: result: builtin version" >&5
3538 echo "${ECHO_T}builtin version" >&6; }
3540 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3541 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3542 { (exit 1); exit 1; }; }
3546 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3547 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3549 # Check whether --with-libtiff was given.
3550 if test "${with_libtiff+set}" = set; then
3551 withval=$with_libtiff;
3552 if test "$withval" = yes; then
3553 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3554 elif test "$withval" = no; then
3555 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3556 elif test "$withval" = sys; then
3557 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3558 elif test "$withval" = builtin; then
3559 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3561 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3562 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3563 { (exit 1); exit 1; }; }
3568 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3573 eval "$wx_cv_use_libtiff"
3575 if test "$wxUSE_LIBTIFF" = yes; then
3576 { echo "$as_me:$LINENO: result: yes" >&5
3577 echo "${ECHO_T}yes" >&6; }
3578 elif test "$wxUSE_LIBTIFF" = no; then
3579 { echo "$as_me:$LINENO: result: no" >&5
3580 echo "${ECHO_T}no" >&6; }
3581 elif test "$wxUSE_LIBTIFF" = sys; then
3582 { echo "$as_me:$LINENO: result: system version" >&5
3583 echo "${ECHO_T}system version" >&6; }
3584 elif test "$wxUSE_LIBTIFF" = builtin; then
3585 { echo "$as_me:$LINENO: result: builtin version" >&5
3586 echo "${ECHO_T}builtin version" >&6; }
3588 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3589 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3590 { (exit 1); exit 1; }; }
3594 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3595 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3597 # Check whether --with-libxpm was given.
3598 if test "${with_libxpm+set}" = set; then
3599 withval=$with_libxpm;
3600 if test "$withval" = yes; then
3601 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3602 elif test "$withval" = no; then
3603 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3604 elif test "$withval" = sys; then
3605 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3606 elif test "$withval" = builtin; then
3607 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3609 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3610 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3611 { (exit 1); exit 1; }; }
3616 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3621 eval "$wx_cv_use_libxpm"
3623 if test "$wxUSE_LIBXPM" = yes; then
3624 { echo "$as_me:$LINENO: result: yes" >&5
3625 echo "${ECHO_T}yes" >&6; }
3626 elif test "$wxUSE_LIBXPM" = no; then
3627 { echo "$as_me:$LINENO: result: no" >&5
3628 echo "${ECHO_T}no" >&6; }
3629 elif test "$wxUSE_LIBXPM" = sys; then
3630 { echo "$as_me:$LINENO: result: system version" >&5
3631 echo "${ECHO_T}system version" >&6; }
3632 elif test "$wxUSE_LIBXPM" = builtin; then
3633 { echo "$as_me:$LINENO: result: builtin version" >&5
3634 echo "${ECHO_T}builtin version" >&6; }
3636 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3637 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3638 { (exit 1); exit 1; }; }
3643 defaultval=$wxUSE_ALL_FEATURES
3644 if test -z "$defaultval"; then
3645 if test x"$withstring" = xwithout; then
3651 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3652 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3654 # Check whether --with-libmspack was given.
3655 if test "${with_libmspack+set}" = set; then
3656 withval=$with_libmspack;
3657 if test "$withval" = yes; then
3658 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3660 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3665 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3670 eval "$wx_cv_use_libmspack"
3672 if test x"$withstring" = xwithout; then
3673 if test $wxUSE_LIBMSPACK = yes; then
3679 result=$wxUSE_LIBMSPACK
3682 { echo "$as_me:$LINENO: result: $result" >&5
3683 echo "${ECHO_T}$result" >&6; }
3687 defaultval=$wxUSE_ALL_FEATURES
3688 if test -z "$defaultval"; then
3689 if test x"$withstring" = xwithout; then
3695 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3696 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3698 # Check whether --with-gtkprint was given.
3699 if test "${with_gtkprint+set}" = set; then
3700 withval=$with_gtkprint;
3701 if test "$withval" = yes; then
3702 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3704 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3709 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3714 eval "$wx_cv_use_gtkprint"
3716 if test x"$withstring" = xwithout; then
3717 if test $wxUSE_GTKPRINT = yes; then
3723 result=$wxUSE_GTKPRINT
3726 { echo "$as_me:$LINENO: result: $result" >&5
3727 echo "${ECHO_T}$result" >&6; }
3731 defaultval=$wxUSE_ALL_FEATURES
3732 if test -z "$defaultval"; then
3733 if test x"$withstring" = xwithout; then
3739 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3740 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3742 # Check whether --with-gnomeprint was given.
3743 if test "${with_gnomeprint+set}" = set; then
3744 withval=$with_gnomeprint;
3745 if test "$withval" = yes; then
3746 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3748 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3753 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3758 eval "$wx_cv_use_gnomeprint"
3760 if test x"$withstring" = xwithout; then
3761 if test $wxUSE_LIBGNOMEPRINT = yes; then
3767 result=$wxUSE_LIBGNOMEPRINT
3770 { echo "$as_me:$LINENO: result: $result" >&5
3771 echo "${ECHO_T}$result" >&6; }
3775 defaultval=$wxUSE_ALL_FEATURES
3776 if test -z "$defaultval"; then
3777 if test x"$withstring" = xwithout; then
3783 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3784 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3786 # Check whether --with-gnomevfs was given.
3787 if test "${with_gnomevfs+set}" = set; then
3788 withval=$with_gnomevfs;
3789 if test "$withval" = yes; then
3790 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3792 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3797 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3802 eval "$wx_cv_use_gnomevfs"
3804 if test x"$withstring" = xwithout; then
3805 if test $wxUSE_LIBGNOMEVFS = yes; then
3811 result=$wxUSE_LIBGNOMEVFS
3814 { echo "$as_me:$LINENO: result: $result" >&5
3815 echo "${ECHO_T}$result" >&6; }
3819 defaultval=$wxUSE_ALL_FEATURES
3820 if test -z "$defaultval"; then
3821 if test x"$withstring" = xwithout; then
3827 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3828 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3830 # Check whether --with-hildon was given.
3831 if test "${with_hildon+set}" = set; then
3832 withval=$with_hildon;
3833 if test "$withval" = yes; then
3834 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3836 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3841 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3846 eval "$wx_cv_use_hildon"
3848 if test x"$withstring" = xwithout; then
3849 if test $wxUSE_LIBHILDON = yes; then
3855 result=$wxUSE_LIBHILDON
3858 { echo "$as_me:$LINENO: result: $result" >&5
3859 echo "${ECHO_T}$result" >&6; }
3863 defaultval=$wxUSE_ALL_FEATURES
3864 if test -z "$defaultval"; then
3865 if test x"$withstring" = xwithout; then
3871 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3872 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3874 # Check whether --with-opengl was given.
3875 if test "${with_opengl+set}" = set; then
3876 withval=$with_opengl;
3877 if test "$withval" = yes; then
3878 wx_cv_use_opengl='wxUSE_OPENGL=yes'
3880 wx_cv_use_opengl='wxUSE_OPENGL=no'
3885 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
3890 eval "$wx_cv_use_opengl"
3892 if test x"$withstring" = xwithout; then
3893 if test $wxUSE_OPENGL = yes; then
3899 result=$wxUSE_OPENGL
3902 { echo "$as_me:$LINENO: result: $result" >&5
3903 echo "${ECHO_T}$result" >&6; }
3910 defaultval=$wxUSE_ALL_FEATURES
3911 if test -z "$defaultval"; then
3912 if test x"$withstring" = xwithout; then
3918 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3919 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
3921 # Check whether --with-dmalloc was given.
3922 if test "${with_dmalloc+set}" = set; then
3923 withval=$with_dmalloc;
3924 if test "$withval" = yes; then
3925 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3927 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
3932 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
3937 eval "$wx_cv_use_dmalloc"
3939 if test x"$withstring" = xwithout; then
3940 if test $wxUSE_DMALLOC = yes; then
3946 result=$wxUSE_DMALLOC
3949 { echo "$as_me:$LINENO: result: $result" >&5
3950 echo "${ECHO_T}$result" >&6; }
3954 defaultval=$wxUSE_ALL_FEATURES
3955 if test -z "$defaultval"; then
3956 if test x"$withstring" = xwithout; then
3962 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3963 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
3965 # Check whether --with-sdl was given.
3966 if test "${with_sdl+set}" = set; then
3968 if test "$withval" = yes; then
3969 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
3971 wx_cv_use_sdl='wxUSE_LIBSDL=no'
3976 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
3981 eval "$wx_cv_use_sdl"
3983 if test x"$withstring" = xwithout; then
3984 if test $wxUSE_LIBSDL = yes; then
3990 result=$wxUSE_LIBSDL
3993 { echo "$as_me:$LINENO: result: $result" >&5
3994 echo "${ECHO_T}$result" >&6; }
3997 { echo "$as_me:$LINENO: checking for --with-regex" >&5
3998 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4000 # Check whether --with-regex was given.
4001 if test "${with_regex+set}" = set; then
4002 withval=$with_regex;
4003 if test "$withval" = yes; then
4004 wx_cv_use_regex='wxUSE_REGEX=yes'
4005 elif test "$withval" = no; then
4006 wx_cv_use_regex='wxUSE_REGEX=no'
4007 elif test "$withval" = sys; then
4008 wx_cv_use_regex='wxUSE_REGEX=sys'
4009 elif test "$withval" = builtin; then
4010 wx_cv_use_regex='wxUSE_REGEX=builtin'
4012 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4013 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4014 { (exit 1); exit 1; }; }
4019 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4024 eval "$wx_cv_use_regex"
4026 if test "$wxUSE_REGEX" = yes; then
4027 { echo "$as_me:$LINENO: result: yes" >&5
4028 echo "${ECHO_T}yes" >&6; }
4029 elif test "$wxUSE_REGEX" = no; then
4030 { echo "$as_me:$LINENO: result: no" >&5
4031 echo "${ECHO_T}no" >&6; }
4032 elif test "$wxUSE_REGEX" = sys; then
4033 { echo "$as_me:$LINENO: result: system version" >&5
4034 echo "${ECHO_T}system version" >&6; }
4035 elif test "$wxUSE_REGEX" = builtin; then
4036 { echo "$as_me:$LINENO: result: builtin version" >&5
4037 echo "${ECHO_T}builtin version" >&6; }
4039 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4040 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4041 { (exit 1); exit 1; }; }
4045 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4046 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4048 # Check whether --with-zlib was given.
4049 if test "${with_zlib+set}" = set; then
4051 if test "$withval" = yes; then
4052 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4053 elif test "$withval" = no; then
4054 wx_cv_use_zlib='wxUSE_ZLIB=no'
4055 elif test "$withval" = sys; then
4056 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4057 elif test "$withval" = builtin; then
4058 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4060 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4061 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4062 { (exit 1); exit 1; }; }
4067 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4072 eval "$wx_cv_use_zlib"
4074 if test "$wxUSE_ZLIB" = yes; then
4075 { echo "$as_me:$LINENO: result: yes" >&5
4076 echo "${ECHO_T}yes" >&6; }
4077 elif test "$wxUSE_ZLIB" = no; then
4078 { echo "$as_me:$LINENO: result: no" >&5
4079 echo "${ECHO_T}no" >&6; }
4080 elif test "$wxUSE_ZLIB" = sys; then
4081 { echo "$as_me:$LINENO: result: system version" >&5
4082 echo "${ECHO_T}system version" >&6; }
4083 elif test "$wxUSE_ZLIB" = builtin; then
4084 { echo "$as_me:$LINENO: result: builtin version" >&5
4085 echo "${ECHO_T}builtin version" >&6; }
4087 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4088 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4089 { (exit 1); exit 1; }; }
4093 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4094 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4096 # Check whether --with-expat was given.
4097 if test "${with_expat+set}" = set; then
4098 withval=$with_expat;
4099 if test "$withval" = yes; then
4100 wx_cv_use_expat='wxUSE_EXPAT=yes'
4101 elif test "$withval" = no; then
4102 wx_cv_use_expat='wxUSE_EXPAT=no'
4103 elif test "$withval" = sys; then
4104 wx_cv_use_expat='wxUSE_EXPAT=sys'
4105 elif test "$withval" = builtin; then
4106 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4108 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4109 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4110 { (exit 1); exit 1; }; }
4115 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4120 eval "$wx_cv_use_expat"
4122 if test "$wxUSE_EXPAT" = yes; then
4123 { echo "$as_me:$LINENO: result: yes" >&5
4124 echo "${ECHO_T}yes" >&6; }
4125 elif test "$wxUSE_EXPAT" = no; then
4126 { echo "$as_me:$LINENO: result: no" >&5
4127 echo "${ECHO_T}no" >&6; }
4128 elif test "$wxUSE_EXPAT" = sys; then
4129 { echo "$as_me:$LINENO: result: system version" >&5
4130 echo "${ECHO_T}system version" >&6; }
4131 elif test "$wxUSE_EXPAT" = builtin; then
4132 { echo "$as_me:$LINENO: result: builtin version" >&5
4133 echo "${ECHO_T}builtin version" >&6; }
4135 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4136 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4137 { (exit 1); exit 1; }; }
4141 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4142 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4144 # Check whether --with-macosx-sdk was given.
4145 if test "${with_macosx_sdk+set}" = set; then
4146 withval=$with_macosx_sdk;
4147 wxUSE_MACOSX_SDK=$withval
4148 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4152 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4153 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4155 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4156 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4158 # Check whether --with-macosx-version-min was given.
4159 if test "${with_macosx_version_min+set}" = set; then
4160 withval=$with_macosx_version_min;
4161 wxUSE_MACOSX_VERSION_MIN=$withval
4162 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4166 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4167 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4171 enablestring=disable
4173 if test -z "$defaultval"; then
4174 if test x"$enablestring" = xdisable; then
4181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4182 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4183 # Check whether --enable-shared was given.
4184 if test "${enable_shared+set}" = set; then
4185 enableval=$enable_shared;
4186 if test "$enableval" = yes; then
4187 wx_cv_use_shared='wxUSE_SHARED=yes'
4189 wx_cv_use_shared='wxUSE_SHARED=no'
4194 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4199 eval "$wx_cv_use_shared"
4201 if test x"$enablestring" = xdisable; then
4202 if test $wxUSE_SHARED = yes; then
4208 result=$wxUSE_SHARED
4211 { echo "$as_me:$LINENO: result: $result" >&5
4212 echo "${ECHO_T}$result" >&6; }
4215 enablestring=disable
4217 if test -z "$defaultval"; then
4218 if test x"$enablestring" = xdisable; then
4225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4226 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4227 # Check whether --enable-optimise was given.
4228 if test "${enable_optimise+set}" = set; then
4229 enableval=$enable_optimise;
4230 if test "$enableval" = yes; then
4231 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4233 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4238 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4243 eval "$wx_cv_use_optimise"
4245 if test x"$enablestring" = xdisable; then
4246 if test $wxUSE_OPTIMISE = yes; then
4252 result=$wxUSE_OPTIMISE
4255 { echo "$as_me:$LINENO: result: $result" >&5
4256 echo "${ECHO_T}$result" >&6; }
4261 if test -z "$defaultval"; then
4262 if test x"$enablestring" = xdisable; then
4269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4270 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4271 # Check whether --enable-debug was given.
4272 if test "${enable_debug+set}" = set; then
4273 enableval=$enable_debug;
4274 if test "$enableval" = yes; then
4275 wx_cv_use_debug='wxUSE_DEBUG=yes'
4277 wx_cv_use_debug='wxUSE_DEBUG=no'
4282 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4287 eval "$wx_cv_use_debug"
4289 if test x"$enablestring" = xdisable; then
4290 if test $wxUSE_DEBUG = yes; then
4299 { echo "$as_me:$LINENO: result: $result" >&5
4300 echo "${ECHO_T}$result" >&6; }
4305 if test -z "$defaultval"; then
4306 if test x"$enablestring" = xdisable; then
4313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4314 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4315 # Check whether --enable-stl was given.
4316 if test "${enable_stl+set}" = set; then
4317 enableval=$enable_stl;
4318 if test "$enableval" = yes; then
4319 wx_cv_use_stl='wxUSE_STL=yes'
4321 wx_cv_use_stl='wxUSE_STL=no'
4326 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4331 eval "$wx_cv_use_stl"
4333 if test x"$enablestring" = xdisable; then
4334 if test $wxUSE_STL = yes; then
4343 { echo "$as_me:$LINENO: result: $result" >&5
4344 echo "${ECHO_T}$result" >&6; }
4349 if test -z "$defaultval"; then
4350 if test x"$enablestring" = xdisable; then
4357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4358 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4359 # Check whether --enable-std_iostreams was given.
4360 if test "${enable_std_iostreams+set}" = set; then
4361 enableval=$enable_std_iostreams;
4362 if test "$enableval" = yes; then
4363 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4365 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4370 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4375 eval "$wx_cv_use_std_iostreams"
4377 if test x"$enablestring" = xdisable; then
4378 if test $wxUSE_STD_IOSTREAM = yes; then
4384 result=$wxUSE_STD_IOSTREAM
4387 { echo "$as_me:$LINENO: result: $result" >&5
4388 echo "${ECHO_T}$result" >&6; }
4393 if test -z "$defaultval"; then
4394 if test x"$enablestring" = xdisable; then
4401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4402 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4403 # Check whether --enable-std_string was given.
4404 if test "${enable_std_string+set}" = set; then
4405 enableval=$enable_std_string;
4406 if test "$enableval" = yes; then
4407 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4409 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4414 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4419 eval "$wx_cv_use_std_string"
4421 if test x"$enablestring" = xdisable; then
4422 if test $wxUSE_STD_STRING = yes; then
4428 result=$wxUSE_STD_STRING
4431 { echo "$as_me:$LINENO: result: $result" >&5
4432 echo "${ECHO_T}$result" >&6; }
4435 enablestring=disable
4437 if test -z "$defaultval"; then
4438 if test x"$enablestring" = xdisable; then
4445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4446 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4447 # Check whether --enable-unicode was given.
4448 if test "${enable_unicode+set}" = set; then
4449 enableval=$enable_unicode;
4450 if test "$enableval" = yes; then
4451 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4453 wx_cv_use_unicode='wxUSE_UNICODE=no'
4458 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4463 eval "$wx_cv_use_unicode"
4465 if test x"$enablestring" = xdisable; then
4466 if test $wxUSE_UNICODE = yes; then
4472 result=$wxUSE_UNICODE
4475 { echo "$as_me:$LINENO: result: $result" >&5
4476 echo "${ECHO_T}$result" >&6; }
4481 if test -z "$defaultval"; then
4482 if test x"$enablestring" = xdisable; then
4489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4490 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4491 # Check whether --enable-mslu was given.
4492 if test "${enable_mslu+set}" = set; then
4493 enableval=$enable_mslu;
4494 if test "$enableval" = yes; then
4495 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4497 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4502 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4507 eval "$wx_cv_use_mslu"
4509 if test x"$enablestring" = xdisable; then
4510 if test $wxUSE_UNICODE_MSLU = yes; then
4516 result=$wxUSE_UNICODE_MSLU
4519 { echo "$as_me:$LINENO: result: $result" >&5
4520 echo "${ECHO_T}$result" >&6; }
4524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4525 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4526 # Check whether --enable-utf8 was given.
4527 if test "${enable_utf8+set}" = set; then
4528 enableval=$enable_utf8;
4529 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4533 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4538 eval "$wx_cv_use_utf8"
4540 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4541 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4546 if test -z "$defaultval"; then
4547 if test x"$enablestring" = xdisable; then
4554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4555 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4556 # Check whether --enable-utf8only was given.
4557 if test "${enable_utf8only+set}" = set; then
4558 enableval=$enable_utf8only;
4559 if test "$enableval" = yes; then
4560 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4562 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4567 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4572 eval "$wx_cv_use_utf8only"
4574 if test x"$enablestring" = xdisable; then
4575 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4581 result=$wxUSE_UNICODE_UTF8_LOCALE
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}-extended_rtti" >&5
4599 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4600 # Check whether --enable-extended_rtti was given.
4601 if test "${enable_extended_rtti+set}" = set; then
4602 enableval=$enable_extended_rtti;
4603 if test "$enableval" = yes; then
4604 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4606 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4611 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4616 eval "$wx_cv_use_extended_rtti"
4618 if test x"$enablestring" = xdisable; then
4619 if test $wxUSE_EXTENDED_RTTI = yes; then
4625 result=$wxUSE_EXTENDED_RTTI
4628 { echo "$as_me:$LINENO: result: $result" >&5
4629 echo "${ECHO_T}$result" >&6; }
4631 if test "$USE_OS2" = 1; then
4632 DEFAULT_wxUSE_OMF=no
4636 if test -z "$defaultval"; then
4637 if test x"$enablestring" = xdisable; then
4644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4645 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4646 # Check whether --enable-omf was given.
4647 if test "${enable_omf+set}" = set; then
4648 enableval=$enable_omf;
4649 if test "$enableval" = yes; then
4650 wx_cv_use_omf='wxUSE_OMF=yes'
4652 wx_cv_use_omf='wxUSE_OMF=no'
4657 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4662 eval "$wx_cv_use_omf"
4664 if test x"$enablestring" = xdisable; then
4665 if test $wxUSE_OMF = yes; then
4674 { echo "$as_me:$LINENO: result: $result" >&5
4675 echo "${ECHO_T}$result" >&6; }
4679 if test "$wxUSE_DEBUG" = "yes"; then
4680 DEFAULT_wxUSE_DEBUG_FLAG=yes
4681 DEFAULT_wxUSE_DEBUG_INFO=yes
4683 elif test "$wxUSE_DEBUG" = "no"; then
4684 DEFAULT_wxUSE_DEBUG_FLAG=no
4685 DEFAULT_wxUSE_DEBUG_INFO=no
4692 if test -z "$defaultval"; then
4693 if test x"$enablestring" = xdisable; then
4700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4701 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4702 # Check whether --enable-debug_flag was given.
4703 if test "${enable_debug_flag+set}" = set; then
4704 enableval=$enable_debug_flag;
4705 if test "$enableval" = yes; then
4706 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4708 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4713 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4718 eval "$wx_cv_use_debug_flag"
4720 if test x"$enablestring" = xdisable; then
4721 if test $wxUSE_DEBUG_FLAG = yes; then
4727 result=$wxUSE_DEBUG_FLAG
4730 { echo "$as_me:$LINENO: result: $result" >&5
4731 echo "${ECHO_T}$result" >&6; }
4736 if test -z "$defaultval"; then
4737 if test x"$enablestring" = xdisable; then
4744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4745 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4746 # Check whether --enable-debug_info was given.
4747 if test "${enable_debug_info+set}" = set; then
4748 enableval=$enable_debug_info;
4749 if test "$enableval" = yes; then
4750 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4752 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4757 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4762 eval "$wx_cv_use_debug_info"
4764 if test x"$enablestring" = xdisable; then
4765 if test $wxUSE_DEBUG_INFO = yes; then
4771 result=$wxUSE_DEBUG_INFO
4774 { echo "$as_me:$LINENO: result: $result" >&5
4775 echo "${ECHO_T}$result" >&6; }
4780 if test -z "$defaultval"; then
4781 if test x"$enablestring" = xdisable; then
4788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4789 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4790 # Check whether --enable-debug_gdb was given.
4791 if test "${enable_debug_gdb+set}" = set; then
4792 enableval=$enable_debug_gdb;
4793 if test "$enableval" = yes; then
4794 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4796 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4801 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4806 eval "$wx_cv_use_debug_gdb"
4808 if test x"$enablestring" = xdisable; then
4809 if test $wxUSE_DEBUG_GDB = yes; then
4815 result=$wxUSE_DEBUG_GDB
4818 { echo "$as_me:$LINENO: result: $result" >&5
4819 echo "${ECHO_T}$result" >&6; }
4824 if test -z "$defaultval"; then
4825 if test x"$enablestring" = xdisable; then
4832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4833 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4834 # Check whether --enable-debug_cntxt was given.
4835 if test "${enable_debug_cntxt+set}" = set; then
4836 enableval=$enable_debug_cntxt;
4837 if test "$enableval" = yes; then
4838 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4840 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4845 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4850 eval "$wx_cv_use_debug_cntxt"
4852 if test x"$enablestring" = xdisable; then
4853 if test $wxUSE_DEBUG_CONTEXT = yes; then
4859 result=$wxUSE_DEBUG_CONTEXT
4862 { echo "$as_me:$LINENO: result: $result" >&5
4863 echo "${ECHO_T}$result" >&6; }
4868 if test -z "$defaultval"; then
4869 if test x"$enablestring" = xdisable; then
4876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4877 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4878 # Check whether --enable-mem_tracing was given.
4879 if test "${enable_mem_tracing+set}" = set; then
4880 enableval=$enable_mem_tracing;
4881 if test "$enableval" = yes; then
4882 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4884 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4889 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4894 eval "$wx_cv_use_mem_tracing"
4896 if test x"$enablestring" = xdisable; then
4897 if test $wxUSE_MEM_TRACING = yes; then
4903 result=$wxUSE_MEM_TRACING
4906 { echo "$as_me:$LINENO: result: $result" >&5
4907 echo "${ECHO_T}$result" >&6; }
4912 if test -z "$defaultval"; then
4913 if test x"$enablestring" = xdisable; then
4920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4921 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4922 # Check whether --enable-profile was given.
4923 if test "${enable_profile+set}" = set; then
4924 enableval=$enable_profile;
4925 if test "$enableval" = yes; then
4926 wx_cv_use_profile='wxUSE_PROFILE=yes'
4928 wx_cv_use_profile='wxUSE_PROFILE=no'
4933 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
4938 eval "$wx_cv_use_profile"
4940 if test x"$enablestring" = xdisable; then
4941 if test $wxUSE_PROFILE = yes; then
4947 result=$wxUSE_PROFILE
4950 { echo "$as_me:$LINENO: result: $result" >&5
4951 echo "${ECHO_T}$result" >&6; }
4956 if test -z "$defaultval"; then
4957 if test x"$enablestring" = xdisable; then
4964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4965 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4966 # Check whether --enable-no_rtti was given.
4967 if test "${enable_no_rtti+set}" = set; then
4968 enableval=$enable_no_rtti;
4969 if test "$enableval" = yes; then
4970 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4972 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4977 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
4982 eval "$wx_cv_use_no_rtti"
4984 if test x"$enablestring" = xdisable; then
4985 if test $wxUSE_NO_RTTI = yes; then
4991 result=$wxUSE_NO_RTTI
4994 { echo "$as_me:$LINENO: result: $result" >&5
4995 echo "${ECHO_T}$result" >&6; }
5000 if test -z "$defaultval"; then
5001 if test x"$enablestring" = xdisable; then
5008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5009 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5010 # Check whether --enable-no_exceptions was given.
5011 if test "${enable_no_exceptions+set}" = set; then
5012 enableval=$enable_no_exceptions;
5013 if test "$enableval" = yes; then
5014 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5016 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5021 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5026 eval "$wx_cv_use_no_exceptions"
5028 if test x"$enablestring" = xdisable; then
5029 if test $wxUSE_NO_EXCEPTIONS = yes; then
5035 result=$wxUSE_NO_EXCEPTIONS
5038 { echo "$as_me:$LINENO: result: $result" >&5
5039 echo "${ECHO_T}$result" >&6; }
5044 if test -z "$defaultval"; then
5045 if test x"$enablestring" = xdisable; then
5052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5053 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5054 # Check whether --enable-permissive was given.
5055 if test "${enable_permissive+set}" = set; then
5056 enableval=$enable_permissive;
5057 if test "$enableval" = yes; then
5058 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5060 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5065 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5070 eval "$wx_cv_use_permissive"
5072 if test x"$enablestring" = xdisable; then
5073 if test $wxUSE_PERMISSIVE = yes; then
5079 result=$wxUSE_PERMISSIVE
5082 { echo "$as_me:$LINENO: result: $result" >&5
5083 echo "${ECHO_T}$result" >&6; }
5088 if test -z "$defaultval"; then
5089 if test x"$enablestring" = xdisable; then
5096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5097 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5098 # Check whether --enable-no_deps was given.
5099 if test "${enable_no_deps+set}" = set; then
5100 enableval=$enable_no_deps;
5101 if test "$enableval" = yes; then
5102 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5104 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5109 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5114 eval "$wx_cv_use_no_deps"
5116 if test x"$enablestring" = xdisable; then
5117 if test $wxUSE_NO_DEPS = yes; then
5123 result=$wxUSE_NO_DEPS
5126 { echo "$as_me:$LINENO: result: $result" >&5
5127 echo "${ECHO_T}$result" >&6; }
5130 enablestring=disable
5132 if test -z "$defaultval"; then
5133 if test x"$enablestring" = xdisable; then
5140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5141 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5142 # Check whether --enable-vararg_macros was given.
5143 if test "${enable_vararg_macros+set}" = set; then
5144 enableval=$enable_vararg_macros;
5145 if test "$enableval" = yes; then
5146 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5148 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5153 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5158 eval "$wx_cv_use_vararg_macros"
5160 if test x"$enablestring" = xdisable; then
5161 if test $wxUSE_VARARG_MACROS = yes; then
5167 result=$wxUSE_VARARG_MACROS
5170 { echo "$as_me:$LINENO: result: $result" >&5
5171 echo "${ECHO_T}$result" >&6; }
5175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5176 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5177 # Check whether --enable-universal_binary was given.
5178 if test "${enable_universal_binary+set}" = set; then
5179 enableval=$enable_universal_binary;
5180 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5184 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5189 eval "$wx_cv_use_universal_binary"
5191 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5192 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5198 if test -z "$defaultval"; then
5199 if test x"$enablestring" = xdisable; then
5206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5207 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5208 # Check whether --enable-compat26 was given.
5209 if test "${enable_compat26+set}" = set; then
5210 enableval=$enable_compat26;
5211 if test "$enableval" = yes; then
5212 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5214 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5219 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5224 eval "$wx_cv_use_compat26"
5226 if test x"$enablestring" = xdisable; then
5227 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5233 result=$WXWIN_COMPATIBILITY_2_6
5236 { echo "$as_me:$LINENO: result: $result" >&5
5237 echo "${ECHO_T}$result" >&6; }
5240 enablestring=disable
5242 if test -z "$defaultval"; then
5243 if test x"$enablestring" = xdisable; then
5250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5251 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5252 # Check whether --enable-compat28 was given.
5253 if test "${enable_compat28+set}" = set; then
5254 enableval=$enable_compat28;
5255 if test "$enableval" = yes; then
5256 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5258 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5263 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5268 eval "$wx_cv_use_compat28"
5270 if test x"$enablestring" = xdisable; then
5271 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5277 result=$WXWIN_COMPATIBILITY_2_8
5280 { echo "$as_me:$LINENO: result: $result" >&5
5281 echo "${ECHO_T}$result" >&6; }
5285 enablestring=disable
5287 if test -z "$defaultval"; then
5288 if test x"$enablestring" = xdisable; then
5295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5296 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5297 # Check whether --enable-rpath was given.
5298 if test "${enable_rpath+set}" = set; then
5299 enableval=$enable_rpath;
5300 if test "$enableval" = yes; then
5301 wx_cv_use_rpath='wxUSE_RPATH=yes'
5303 wx_cv_use_rpath='wxUSE_RPATH=no'
5308 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5313 eval "$wx_cv_use_rpath"
5315 if test x"$enablestring" = xdisable; then
5316 if test $wxUSE_RPATH = yes; then
5325 { echo "$as_me:$LINENO: result: $result" >&5
5326 echo "${ECHO_T}$result" >&6; }
5332 if test -z "$defaultval"; then
5333 if test x"$enablestring" = xdisable; then
5340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5341 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5342 # Check whether --enable-objc_uniquifying was given.
5343 if test "${enable_objc_uniquifying+set}" = set; then
5344 enableval=$enable_objc_uniquifying;
5345 if test "$enableval" = yes; then
5346 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5348 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5353 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5358 eval "$wx_cv_use_objc_uniquifying"
5360 if test x"$enablestring" = xdisable; then
5361 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5367 result=$wxUSE_OBJC_UNIQUIFYING
5370 { echo "$as_me:$LINENO: result: $result" >&5
5371 echo "${ECHO_T}$result" >&6; }
5375 enablestring=disable
5377 if test -z "$defaultval"; then
5378 if test x"$enablestring" = xdisable; then
5385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5386 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5387 # Check whether --enable-visibility was given.
5388 if test "${enable_visibility+set}" = set; then
5389 enableval=$enable_visibility;
5390 if test "$enableval" = yes; then
5391 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5393 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5398 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5403 eval "$wx_cv_use_visibility"
5405 if test x"$enablestring" = xdisable; then
5406 if test $wxUSE_VISIBILITY = yes; then
5412 result=$wxUSE_VISIBILITY
5415 { echo "$as_me:$LINENO: result: $result" >&5
5416 echo "${ECHO_T}$result" >&6; }
5422 defaultval=$wxUSE_ALL_FEATURES
5423 if test -z "$defaultval"; then
5424 if test x"$enablestring" = xdisable; then
5431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5432 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5433 # Check whether --enable-intl was given.
5434 if test "${enable_intl+set}" = set; then
5435 enableval=$enable_intl;
5436 if test "$enableval" = yes; then
5437 wx_cv_use_intl='wxUSE_INTL=yes'
5439 wx_cv_use_intl='wxUSE_INTL=no'
5444 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5449 eval "$wx_cv_use_intl"
5451 if test x"$enablestring" = xdisable; then
5452 if test $wxUSE_INTL = yes; then
5461 { echo "$as_me:$LINENO: result: $result" >&5
5462 echo "${ECHO_T}$result" >&6; }
5466 defaultval=$wxUSE_ALL_FEATURES
5467 if test -z "$defaultval"; then
5468 if test x"$enablestring" = xdisable; then
5475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5476 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5477 # Check whether --enable-config was given.
5478 if test "${enable_config+set}" = set; then
5479 enableval=$enable_config;
5480 if test "$enableval" = yes; then
5481 wx_cv_use_config='wxUSE_CONFIG=yes'
5483 wx_cv_use_config='wxUSE_CONFIG=no'
5488 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5493 eval "$wx_cv_use_config"
5495 if test x"$enablestring" = xdisable; then
5496 if test $wxUSE_CONFIG = yes; then
5502 result=$wxUSE_CONFIG
5505 { echo "$as_me:$LINENO: result: $result" >&5
5506 echo "${ECHO_T}$result" >&6; }
5511 defaultval=$wxUSE_ALL_FEATURES
5512 if test -z "$defaultval"; then
5513 if test x"$enablestring" = xdisable; then
5520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5521 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5522 # Check whether --enable-protocols was given.
5523 if test "${enable_protocols+set}" = set; then
5524 enableval=$enable_protocols;
5525 if test "$enableval" = yes; then
5526 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5528 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5533 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5538 eval "$wx_cv_use_protocols"
5540 if test x"$enablestring" = xdisable; then
5541 if test $wxUSE_PROTOCOL = yes; then
5547 result=$wxUSE_PROTOCOL
5550 { echo "$as_me:$LINENO: result: $result" >&5
5551 echo "${ECHO_T}$result" >&6; }
5555 defaultval=$wxUSE_ALL_FEATURES
5556 if test -z "$defaultval"; then
5557 if test x"$enablestring" = xdisable; then
5564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5565 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5566 # Check whether --enable-ftp was given.
5567 if test "${enable_ftp+set}" = set; then
5568 enableval=$enable_ftp;
5569 if test "$enableval" = yes; then
5570 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5572 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5577 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5582 eval "$wx_cv_use_ftp"
5584 if test x"$enablestring" = xdisable; then
5585 if test $wxUSE_PROTOCOL_FTP = yes; then
5591 result=$wxUSE_PROTOCOL_FTP
5594 { echo "$as_me:$LINENO: result: $result" >&5
5595 echo "${ECHO_T}$result" >&6; }
5599 defaultval=$wxUSE_ALL_FEATURES
5600 if test -z "$defaultval"; then
5601 if test x"$enablestring" = xdisable; then
5608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5609 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5610 # Check whether --enable-http was given.
5611 if test "${enable_http+set}" = set; then
5612 enableval=$enable_http;
5613 if test "$enableval" = yes; then
5614 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5616 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5621 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5626 eval "$wx_cv_use_http"
5628 if test x"$enablestring" = xdisable; then
5629 if test $wxUSE_PROTOCOL_HTTP = yes; then
5635 result=$wxUSE_PROTOCOL_HTTP
5638 { echo "$as_me:$LINENO: result: $result" >&5
5639 echo "${ECHO_T}$result" >&6; }
5643 defaultval=$wxUSE_ALL_FEATURES
5644 if test -z "$defaultval"; then
5645 if test x"$enablestring" = xdisable; then
5652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5653 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5654 # Check whether --enable-fileproto was given.
5655 if test "${enable_fileproto+set}" = set; then
5656 enableval=$enable_fileproto;
5657 if test "$enableval" = yes; then
5658 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5660 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5665 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5670 eval "$wx_cv_use_fileproto"
5672 if test x"$enablestring" = xdisable; then
5673 if test $wxUSE_PROTOCOL_FILE = yes; then
5679 result=$wxUSE_PROTOCOL_FILE
5682 { echo "$as_me:$LINENO: result: $result" >&5
5683 echo "${ECHO_T}$result" >&6; }
5687 defaultval=$wxUSE_ALL_FEATURES
5688 if test -z "$defaultval"; then
5689 if test x"$enablestring" = xdisable; then
5696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5697 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5698 # Check whether --enable-sockets was given.
5699 if test "${enable_sockets+set}" = set; then
5700 enableval=$enable_sockets;
5701 if test "$enableval" = yes; then
5702 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5704 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5709 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5714 eval "$wx_cv_use_sockets"
5716 if test x"$enablestring" = xdisable; then
5717 if test $wxUSE_SOCKETS = yes; then
5723 result=$wxUSE_SOCKETS
5726 { echo "$as_me:$LINENO: result: $result" >&5
5727 echo "${ECHO_T}$result" >&6; }
5731 defaultval=$wxUSE_ALL_FEATURES
5732 if test -z "$defaultval"; then
5733 if test x"$enablestring" = xdisable; then
5740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5741 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5742 # Check whether --enable-ipv6 was given.
5743 if test "${enable_ipv6+set}" = set; then
5744 enableval=$enable_ipv6;
5745 if test "$enableval" = yes; then
5746 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5748 wx_cv_use_ipv6='wxUSE_IPV6=no'
5753 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5758 eval "$wx_cv_use_ipv6"
5760 if test x"$enablestring" = xdisable; then
5761 if test $wxUSE_IPV6 = yes; then
5770 { echo "$as_me:$LINENO: result: $result" >&5
5771 echo "${ECHO_T}$result" >&6; }
5775 defaultval=$wxUSE_ALL_FEATURES
5776 if test -z "$defaultval"; then
5777 if test x"$enablestring" = xdisable; then
5784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5785 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5786 # Check whether --enable-ole was given.
5787 if test "${enable_ole+set}" = set; then
5788 enableval=$enable_ole;
5789 if test "$enableval" = yes; then
5790 wx_cv_use_ole='wxUSE_OLE=yes'
5792 wx_cv_use_ole='wxUSE_OLE=no'
5797 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5802 eval "$wx_cv_use_ole"
5804 if test x"$enablestring" = xdisable; then
5805 if test $wxUSE_OLE = yes; then
5814 { echo "$as_me:$LINENO: result: $result" >&5
5815 echo "${ECHO_T}$result" >&6; }
5819 defaultval=$wxUSE_ALL_FEATURES
5820 if test -z "$defaultval"; then
5821 if test x"$enablestring" = xdisable; then
5828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5829 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5830 # Check whether --enable-dataobj was given.
5831 if test "${enable_dataobj+set}" = set; then
5832 enableval=$enable_dataobj;
5833 if test "$enableval" = yes; then
5834 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5836 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
5841 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5846 eval "$wx_cv_use_dataobj"
5848 if test x"$enablestring" = xdisable; then
5849 if test $wxUSE_DATAOBJ = yes; then
5855 result=$wxUSE_DATAOBJ
5858 { echo "$as_me:$LINENO: result: $result" >&5
5859 echo "${ECHO_T}$result" >&6; }
5864 defaultval=$wxUSE_ALL_FEATURES
5865 if test -z "$defaultval"; then
5866 if test x"$enablestring" = xdisable; then
5873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5874 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5875 # Check whether --enable-ipc was given.
5876 if test "${enable_ipc+set}" = set; then
5877 enableval=$enable_ipc;
5878 if test "$enableval" = yes; then
5879 wx_cv_use_ipc='wxUSE_IPC=yes'
5881 wx_cv_use_ipc='wxUSE_IPC=no'
5886 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
5891 eval "$wx_cv_use_ipc"
5893 if test x"$enablestring" = xdisable; then
5894 if test $wxUSE_IPC = yes; then
5903 { echo "$as_me:$LINENO: result: $result" >&5
5904 echo "${ECHO_T}$result" >&6; }
5909 defaultval=$wxUSE_ALL_FEATURES
5910 if test -z "$defaultval"; then
5911 if test x"$enablestring" = xdisable; then
5918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
5919 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
5920 # Check whether --enable-baseevtloop was given.
5921 if test "${enable_baseevtloop+set}" = set; then
5922 enableval=$enable_baseevtloop;
5923 if test "$enableval" = yes; then
5924 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
5926 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
5931 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
5936 eval "$wx_cv_use_baseevtloop"
5938 if test x"$enablestring" = xdisable; then
5939 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
5945 result=$wxUSE_CONSOLE_EVENTLOOP
5948 { echo "$as_me:$LINENO: result: $result" >&5
5949 echo "${ECHO_T}$result" >&6; }
5953 defaultval=$wxUSE_ALL_FEATURES
5954 if test -z "$defaultval"; then
5955 if test x"$enablestring" = xdisable; then
5962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
5963 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
5964 # Check whether --enable-epollloop was given.
5965 if test "${enable_epollloop+set}" = set; then
5966 enableval=$enable_epollloop;
5967 if test "$enableval" = yes; then
5968 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
5970 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
5975 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
5980 eval "$wx_cv_use_epollloop"
5982 if test x"$enablestring" = xdisable; then
5983 if test $wxUSE_EPOLL_DISPATCHER = yes; then
5989 result=$wxUSE_EPOLL_DISPATCHER
5992 { echo "$as_me:$LINENO: result: $result" >&5
5993 echo "${ECHO_T}$result" >&6; }
5997 defaultval=$wxUSE_ALL_FEATURES
5998 if test -z "$defaultval"; then
5999 if test x"$enablestring" = xdisable; then
6006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6007 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6008 # Check whether --enable-selectloop was given.
6009 if test "${enable_selectloop+set}" = set; then
6010 enableval=$enable_selectloop;
6011 if test "$enableval" = yes; then
6012 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6014 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6019 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6024 eval "$wx_cv_use_selectloop"
6026 if test x"$enablestring" = xdisable; then
6027 if test $wxUSE_SELECT_DISPATCHER = yes; then
6033 result=$wxUSE_SELECT_DISPATCHER
6036 { echo "$as_me:$LINENO: result: $result" >&5
6037 echo "${ECHO_T}$result" >&6; }
6042 defaultval=$wxUSE_ALL_FEATURES
6043 if test -z "$defaultval"; then
6044 if test x"$enablestring" = xdisable; then
6051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6052 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6053 # Check whether --enable-apple_ieee was given.
6054 if test "${enable_apple_ieee+set}" = set; then
6055 enableval=$enable_apple_ieee;
6056 if test "$enableval" = yes; then
6057 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6059 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6064 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6069 eval "$wx_cv_use_apple_ieee"
6071 if test x"$enablestring" = xdisable; then
6072 if test $wxUSE_APPLE_IEEE = yes; then
6078 result=$wxUSE_APPLE_IEEE
6081 { echo "$as_me:$LINENO: result: $result" >&5
6082 echo "${ECHO_T}$result" >&6; }
6086 defaultval=$wxUSE_ALL_FEATURES
6087 if test -z "$defaultval"; then
6088 if test x"$enablestring" = xdisable; then
6095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6096 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6097 # Check whether --enable-arcstream was given.
6098 if test "${enable_arcstream+set}" = set; then
6099 enableval=$enable_arcstream;
6100 if test "$enableval" = yes; then
6101 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6103 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6108 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6113 eval "$wx_cv_use_arcstream"
6115 if test x"$enablestring" = xdisable; then
6116 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6122 result=$wxUSE_ARCHIVE_STREAMS
6125 { echo "$as_me:$LINENO: result: $result" >&5
6126 echo "${ECHO_T}$result" >&6; }
6130 defaultval=$wxUSE_ALL_FEATURES
6131 if test -z "$defaultval"; then
6132 if test x"$enablestring" = xdisable; then
6139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6140 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6141 # Check whether --enable-base64 was given.
6142 if test "${enable_base64+set}" = set; then
6143 enableval=$enable_base64;
6144 if test "$enableval" = yes; then
6145 wx_cv_use_base64='wxUSE_BASE64=yes'
6147 wx_cv_use_base64='wxUSE_BASE64=no'
6152 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6157 eval "$wx_cv_use_base64"
6159 if test x"$enablestring" = xdisable; then
6160 if test $wxUSE_BASE64 = yes; then
6166 result=$wxUSE_BASE64
6169 { echo "$as_me:$LINENO: result: $result" >&5
6170 echo "${ECHO_T}$result" >&6; }
6174 defaultval=$wxUSE_ALL_FEATURES
6175 if test -z "$defaultval"; then
6176 if test x"$enablestring" = xdisable; then
6183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6184 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6185 # Check whether --enable-backtrace was given.
6186 if test "${enable_backtrace+set}" = set; then
6187 enableval=$enable_backtrace;
6188 if test "$enableval" = yes; then
6189 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6191 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6196 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6201 eval "$wx_cv_use_backtrace"
6203 if test x"$enablestring" = xdisable; then
6204 if test $wxUSE_STACKWALKER = yes; then
6210 result=$wxUSE_STACKWALKER
6213 { echo "$as_me:$LINENO: result: $result" >&5
6214 echo "${ECHO_T}$result" >&6; }
6218 defaultval=$wxUSE_ALL_FEATURES
6219 if test -z "$defaultval"; then
6220 if test x"$enablestring" = xdisable; then
6227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6228 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6229 # Check whether --enable-catch_segvs was given.
6230 if test "${enable_catch_segvs+set}" = set; then
6231 enableval=$enable_catch_segvs;
6232 if test "$enableval" = yes; then
6233 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6235 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6240 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6245 eval "$wx_cv_use_catch_segvs"
6247 if test x"$enablestring" = xdisable; then
6248 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6254 result=$wxUSE_ON_FATAL_EXCEPTION
6257 { echo "$as_me:$LINENO: result: $result" >&5
6258 echo "${ECHO_T}$result" >&6; }
6262 defaultval=$wxUSE_ALL_FEATURES
6263 if test -z "$defaultval"; then
6264 if test x"$enablestring" = xdisable; then
6271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6272 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6273 # Check whether --enable-cmdline was given.
6274 if test "${enable_cmdline+set}" = set; then
6275 enableval=$enable_cmdline;
6276 if test "$enableval" = yes; then
6277 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6279 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6284 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6289 eval "$wx_cv_use_cmdline"
6291 if test x"$enablestring" = xdisable; then
6292 if test $wxUSE_CMDLINE_PARSER = yes; then
6298 result=$wxUSE_CMDLINE_PARSER
6301 { echo "$as_me:$LINENO: result: $result" >&5
6302 echo "${ECHO_T}$result" >&6; }
6306 defaultval=$wxUSE_ALL_FEATURES
6307 if test -z "$defaultval"; then
6308 if test x"$enablestring" = xdisable; then
6315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6316 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6317 # Check whether --enable-datetime was given.
6318 if test "${enable_datetime+set}" = set; then
6319 enableval=$enable_datetime;
6320 if test "$enableval" = yes; then
6321 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6323 wx_cv_use_datetime='wxUSE_DATETIME=no'
6328 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6333 eval "$wx_cv_use_datetime"
6335 if test x"$enablestring" = xdisable; then
6336 if test $wxUSE_DATETIME = yes; then
6342 result=$wxUSE_DATETIME
6345 { echo "$as_me:$LINENO: result: $result" >&5
6346 echo "${ECHO_T}$result" >&6; }
6350 defaultval=$wxUSE_ALL_FEATURES
6351 if test -z "$defaultval"; then
6352 if test x"$enablestring" = xdisable; then
6359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6360 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6361 # Check whether --enable-debugreport was given.
6362 if test "${enable_debugreport+set}" = set; then
6363 enableval=$enable_debugreport;
6364 if test "$enableval" = yes; then
6365 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6367 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6372 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6377 eval "$wx_cv_use_debugreport"
6379 if test x"$enablestring" = xdisable; then
6380 if test $wxUSE_DEBUGREPORT = yes; then
6386 result=$wxUSE_DEBUGREPORT
6389 { echo "$as_me:$LINENO: result: $result" >&5
6390 echo "${ECHO_T}$result" >&6; }
6394 defaultval=$wxUSE_ALL_FEATURES
6395 if test -z "$defaultval"; then
6396 if test x"$enablestring" = xdisable; then
6403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6404 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6405 # Check whether --enable-dialupman was given.
6406 if test "${enable_dialupman+set}" = set; then
6407 enableval=$enable_dialupman;
6408 if test "$enableval" = yes; then
6409 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6411 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6416 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6421 eval "$wx_cv_use_dialupman"
6423 if test x"$enablestring" = xdisable; then
6424 if test $wxUSE_DIALUP_MANAGER = yes; then
6430 result=$wxUSE_DIALUP_MANAGER
6433 { echo "$as_me:$LINENO: result: $result" >&5
6434 echo "${ECHO_T}$result" >&6; }
6438 defaultval=$wxUSE_ALL_FEATURES
6439 if test -z "$defaultval"; then
6440 if test x"$enablestring" = xdisable; then
6447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6448 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6449 # Check whether --enable-dynlib was given.
6450 if test "${enable_dynlib+set}" = set; then
6451 enableval=$enable_dynlib;
6452 if test "$enableval" = yes; then
6453 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6455 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6460 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6465 eval "$wx_cv_use_dynlib"
6467 if test x"$enablestring" = xdisable; then
6468 if test $wxUSE_DYNLIB_CLASS = yes; then
6474 result=$wxUSE_DYNLIB_CLASS
6477 { echo "$as_me:$LINENO: result: $result" >&5
6478 echo "${ECHO_T}$result" >&6; }
6482 defaultval=$wxUSE_ALL_FEATURES
6483 if test -z "$defaultval"; then
6484 if test x"$enablestring" = xdisable; then
6491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6492 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6493 # Check whether --enable-dynamicloader was given.
6494 if test "${enable_dynamicloader+set}" = set; then
6495 enableval=$enable_dynamicloader;
6496 if test "$enableval" = yes; then
6497 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6499 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6504 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6509 eval "$wx_cv_use_dynamicloader"
6511 if test x"$enablestring" = xdisable; then
6512 if test $wxUSE_DYNAMIC_LOADER = yes; then
6518 result=$wxUSE_DYNAMIC_LOADER
6521 { echo "$as_me:$LINENO: result: $result" >&5
6522 echo "${ECHO_T}$result" >&6; }
6526 defaultval=$wxUSE_ALL_FEATURES
6527 if test -z "$defaultval"; then
6528 if test x"$enablestring" = xdisable; then
6535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6536 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6537 # Check whether --enable-exceptions was given.
6538 if test "${enable_exceptions+set}" = set; then
6539 enableval=$enable_exceptions;
6540 if test "$enableval" = yes; then
6541 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6543 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6548 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6553 eval "$wx_cv_use_exceptions"
6555 if test x"$enablestring" = xdisable; then
6556 if test $wxUSE_EXCEPTIONS = yes; then
6562 result=$wxUSE_EXCEPTIONS
6565 { echo "$as_me:$LINENO: result: $result" >&5
6566 echo "${ECHO_T}$result" >&6; }
6570 defaultval=$wxUSE_ALL_FEATURES
6571 if test -z "$defaultval"; then
6572 if test x"$enablestring" = xdisable; then
6579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6580 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6581 # Check whether --enable-ffile was given.
6582 if test "${enable_ffile+set}" = set; then
6583 enableval=$enable_ffile;
6584 if test "$enableval" = yes; then
6585 wx_cv_use_ffile='wxUSE_FFILE=yes'
6587 wx_cv_use_ffile='wxUSE_FFILE=no'
6592 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6597 eval "$wx_cv_use_ffile"
6599 if test x"$enablestring" = xdisable; then
6600 if test $wxUSE_FFILE = yes; then
6609 { echo "$as_me:$LINENO: result: $result" >&5
6610 echo "${ECHO_T}$result" >&6; }
6614 defaultval=$wxUSE_ALL_FEATURES
6615 if test -z "$defaultval"; then
6616 if test x"$enablestring" = xdisable; then
6623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6624 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6625 # Check whether --enable-file was given.
6626 if test "${enable_file+set}" = set; then
6627 enableval=$enable_file;
6628 if test "$enableval" = yes; then
6629 wx_cv_use_file='wxUSE_FILE=yes'
6631 wx_cv_use_file='wxUSE_FILE=no'
6636 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6641 eval "$wx_cv_use_file"
6643 if test x"$enablestring" = xdisable; then
6644 if test $wxUSE_FILE = yes; then
6653 { echo "$as_me:$LINENO: result: $result" >&5
6654 echo "${ECHO_T}$result" >&6; }
6658 defaultval=$wxUSE_ALL_FEATURES
6659 if test -z "$defaultval"; then
6660 if test x"$enablestring" = xdisable; then
6667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6668 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6669 # Check whether --enable-filesystem was given.
6670 if test "${enable_filesystem+set}" = set; then
6671 enableval=$enable_filesystem;
6672 if test "$enableval" = yes; then
6673 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6675 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6680 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6685 eval "$wx_cv_use_filesystem"
6687 if test x"$enablestring" = xdisable; then
6688 if test $wxUSE_FILESYSTEM = yes; then
6694 result=$wxUSE_FILESYSTEM
6697 { echo "$as_me:$LINENO: result: $result" >&5
6698 echo "${ECHO_T}$result" >&6; }
6702 defaultval=$wxUSE_ALL_FEATURES
6703 if test -z "$defaultval"; then
6704 if test x"$enablestring" = xdisable; then
6711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6712 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6713 # Check whether --enable-fontenum was given.
6714 if test "${enable_fontenum+set}" = set; then
6715 enableval=$enable_fontenum;
6716 if test "$enableval" = yes; then
6717 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6719 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6724 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6729 eval "$wx_cv_use_fontenum"
6731 if test x"$enablestring" = xdisable; then
6732 if test $wxUSE_FONTENUM = yes; then
6738 result=$wxUSE_FONTENUM
6741 { echo "$as_me:$LINENO: result: $result" >&5
6742 echo "${ECHO_T}$result" >&6; }
6746 defaultval=$wxUSE_ALL_FEATURES
6747 if test -z "$defaultval"; then
6748 if test x"$enablestring" = xdisable; then
6755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6756 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6757 # Check whether --enable-fontmap was given.
6758 if test "${enable_fontmap+set}" = set; then
6759 enableval=$enable_fontmap;
6760 if test "$enableval" = yes; then
6761 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6763 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6768 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6773 eval "$wx_cv_use_fontmap"
6775 if test x"$enablestring" = xdisable; then
6776 if test $wxUSE_FONTMAP = yes; then
6782 result=$wxUSE_FONTMAP
6785 { echo "$as_me:$LINENO: result: $result" >&5
6786 echo "${ECHO_T}$result" >&6; }
6790 defaultval=$wxUSE_ALL_FEATURES
6791 if test -z "$defaultval"; then
6792 if test x"$enablestring" = xdisable; then
6799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6800 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6801 # Check whether --enable-fs_archive was given.
6802 if test "${enable_fs_archive+set}" = set; then
6803 enableval=$enable_fs_archive;
6804 if test "$enableval" = yes; then
6805 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6807 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6812 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6817 eval "$wx_cv_use_fs_archive"
6819 if test x"$enablestring" = xdisable; then
6820 if test $wxUSE_FS_ARCHIVE = yes; then
6826 result=$wxUSE_FS_ARCHIVE
6829 { echo "$as_me:$LINENO: result: $result" >&5
6830 echo "${ECHO_T}$result" >&6; }
6834 defaultval=$wxUSE_ALL_FEATURES
6835 if test -z "$defaultval"; then
6836 if test x"$enablestring" = xdisable; then
6843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6844 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6845 # Check whether --enable-fs_inet was given.
6846 if test "${enable_fs_inet+set}" = set; then
6847 enableval=$enable_fs_inet;
6848 if test "$enableval" = yes; then
6849 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
6851 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
6856 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
6861 eval "$wx_cv_use_fs_inet"
6863 if test x"$enablestring" = xdisable; then
6864 if test $wxUSE_FS_INET = yes; then
6870 result=$wxUSE_FS_INET
6873 { echo "$as_me:$LINENO: result: $result" >&5
6874 echo "${ECHO_T}$result" >&6; }
6878 defaultval=$wxUSE_ALL_FEATURES
6879 if test -z "$defaultval"; then
6880 if test x"$enablestring" = xdisable; then
6887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6888 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6889 # Check whether --enable-fs_zip was given.
6890 if test "${enable_fs_zip+set}" = set; then
6891 enableval=$enable_fs_zip;
6892 if test "$enableval" = yes; then
6893 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6895 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6900 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
6905 eval "$wx_cv_use_fs_zip"
6907 if test x"$enablestring" = xdisable; then
6908 if test $wxUSE_FS_ZIP = yes; then
6914 result=$wxUSE_FS_ZIP
6917 { echo "$as_me:$LINENO: result: $result" >&5
6918 echo "${ECHO_T}$result" >&6; }
6922 defaultval=$wxUSE_ALL_FEATURES
6923 if test -z "$defaultval"; then
6924 if test x"$enablestring" = xdisable; then
6931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6932 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6933 # Check whether --enable-geometry was given.
6934 if test "${enable_geometry+set}" = set; then
6935 enableval=$enable_geometry;
6936 if test "$enableval" = yes; then
6937 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
6939 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
6944 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
6949 eval "$wx_cv_use_geometry"
6951 if test x"$enablestring" = xdisable; then
6952 if test $wxUSE_GEOMETRY = yes; then
6958 result=$wxUSE_GEOMETRY
6961 { echo "$as_me:$LINENO: result: $result" >&5
6962 echo "${ECHO_T}$result" >&6; }
6966 defaultval=$wxUSE_ALL_FEATURES
6967 if test -z "$defaultval"; then
6968 if test x"$enablestring" = xdisable; then
6975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6976 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6977 # Check whether --enable-log was given.
6978 if test "${enable_log+set}" = set; then
6979 enableval=$enable_log;
6980 if test "$enableval" = yes; then
6981 wx_cv_use_log='wxUSE_LOG=yes'
6983 wx_cv_use_log='wxUSE_LOG=no'
6988 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
6993 eval "$wx_cv_use_log"
6995 if test x"$enablestring" = xdisable; then
6996 if test $wxUSE_LOG = yes; then
7005 { echo "$as_me:$LINENO: result: $result" >&5
7006 echo "${ECHO_T}$result" >&6; }
7010 defaultval=$wxUSE_ALL_FEATURES
7011 if test -z "$defaultval"; then
7012 if test x"$enablestring" = xdisable; then
7019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7020 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7021 # Check whether --enable-longlong was given.
7022 if test "${enable_longlong+set}" = set; then
7023 enableval=$enable_longlong;
7024 if test "$enableval" = yes; then
7025 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7027 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7032 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7037 eval "$wx_cv_use_longlong"
7039 if test x"$enablestring" = xdisable; then
7040 if test $wxUSE_LONGLONG = yes; then
7046 result=$wxUSE_LONGLONG
7049 { echo "$as_me:$LINENO: result: $result" >&5
7050 echo "${ECHO_T}$result" >&6; }
7054 defaultval=$wxUSE_ALL_FEATURES
7055 if test -z "$defaultval"; then
7056 if test x"$enablestring" = xdisable; then
7063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7064 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7065 # Check whether --enable-mimetype was given.
7066 if test "${enable_mimetype+set}" = set; then
7067 enableval=$enable_mimetype;
7068 if test "$enableval" = yes; then
7069 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7071 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7076 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7081 eval "$wx_cv_use_mimetype"
7083 if test x"$enablestring" = xdisable; then
7084 if test $wxUSE_MIMETYPE = yes; then
7090 result=$wxUSE_MIMETYPE
7093 { echo "$as_me:$LINENO: result: $result" >&5
7094 echo "${ECHO_T}$result" >&6; }
7098 defaultval=$wxUSE_ALL_FEATURES
7099 if test -z "$defaultval"; then
7100 if test x"$enablestring" = xdisable; then
7107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7108 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7109 # Check whether --enable-snglinst was given.
7110 if test "${enable_snglinst+set}" = set; then
7111 enableval=$enable_snglinst;
7112 if test "$enableval" = yes; then
7113 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7115 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7120 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7125 eval "$wx_cv_use_snglinst"
7127 if test x"$enablestring" = xdisable; then
7128 if test $wxUSE_SNGLINST_CHECKER = yes; then
7134 result=$wxUSE_SNGLINST_CHECKER
7137 { echo "$as_me:$LINENO: result: $result" >&5
7138 echo "${ECHO_T}$result" >&6; }
7142 defaultval=$wxUSE_ALL_FEATURES
7143 if test -z "$defaultval"; then
7144 if test x"$enablestring" = xdisable; then
7151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7152 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7153 # Check whether --enable-stdpaths was given.
7154 if test "${enable_stdpaths+set}" = set; then
7155 enableval=$enable_stdpaths;
7156 if test "$enableval" = yes; then
7157 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7159 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7164 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7169 eval "$wx_cv_use_stdpaths"
7171 if test x"$enablestring" = xdisable; then
7172 if test $wxUSE_STDPATHS = yes; then
7178 result=$wxUSE_STDPATHS
7181 { echo "$as_me:$LINENO: result: $result" >&5
7182 echo "${ECHO_T}$result" >&6; }
7186 defaultval=$wxUSE_ALL_FEATURES
7187 if test -z "$defaultval"; then
7188 if test x"$enablestring" = xdisable; then
7195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7196 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7197 # Check whether --enable-stopwatch was given.
7198 if test "${enable_stopwatch+set}" = set; then
7199 enableval=$enable_stopwatch;
7200 if test "$enableval" = yes; then
7201 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7203 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7208 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7213 eval "$wx_cv_use_stopwatch"
7215 if test x"$enablestring" = xdisable; then
7216 if test $wxUSE_STOPWATCH = yes; then
7222 result=$wxUSE_STOPWATCH
7225 { echo "$as_me:$LINENO: result: $result" >&5
7226 echo "${ECHO_T}$result" >&6; }
7230 defaultval=$wxUSE_ALL_FEATURES
7231 if test -z "$defaultval"; then
7232 if test x"$enablestring" = xdisable; then
7239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7240 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7241 # Check whether --enable-streams was given.
7242 if test "${enable_streams+set}" = set; then
7243 enableval=$enable_streams;
7244 if test "$enableval" = yes; then
7245 wx_cv_use_streams='wxUSE_STREAMS=yes'
7247 wx_cv_use_streams='wxUSE_STREAMS=no'
7252 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7257 eval "$wx_cv_use_streams"
7259 if test x"$enablestring" = xdisable; then
7260 if test $wxUSE_STREAMS = yes; then
7266 result=$wxUSE_STREAMS
7269 { echo "$as_me:$LINENO: result: $result" >&5
7270 echo "${ECHO_T}$result" >&6; }
7274 defaultval=$wxUSE_ALL_FEATURES
7275 if test -z "$defaultval"; then
7276 if test x"$enablestring" = xdisable; then
7283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7284 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7285 # Check whether --enable-system_options was given.
7286 if test "${enable_system_options+set}" = set; then
7287 enableval=$enable_system_options;
7288 if test "$enableval" = yes; then
7289 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7291 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7296 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7301 eval "$wx_cv_use_system_options"
7303 if test x"$enablestring" = xdisable; then
7304 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7310 result=$wxUSE_SYSTEM_OPTIONS
7313 { echo "$as_me:$LINENO: result: $result" >&5
7314 echo "${ECHO_T}$result" >&6; }
7318 defaultval=$wxUSE_ALL_FEATURES
7319 if test -z "$defaultval"; then
7320 if test x"$enablestring" = xdisable; then
7327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7328 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7329 # Check whether --enable-tarstream was given.
7330 if test "${enable_tarstream+set}" = set; then
7331 enableval=$enable_tarstream;
7332 if test "$enableval" = yes; then
7333 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7335 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7340 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7345 eval "$wx_cv_use_tarstream"
7347 if test x"$enablestring" = xdisable; then
7348 if test $wxUSE_TARSTREAM = yes; then
7354 result=$wxUSE_TARSTREAM
7357 { echo "$as_me:$LINENO: result: $result" >&5
7358 echo "${ECHO_T}$result" >&6; }
7362 defaultval=$wxUSE_ALL_FEATURES
7363 if test -z "$defaultval"; then
7364 if test x"$enablestring" = xdisable; then
7371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7372 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7373 # Check whether --enable-textbuf was given.
7374 if test "${enable_textbuf+set}" = set; then
7375 enableval=$enable_textbuf;
7376 if test "$enableval" = yes; then
7377 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7379 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7384 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7389 eval "$wx_cv_use_textbuf"
7391 if test x"$enablestring" = xdisable; then
7392 if test $wxUSE_TEXTBUFFER = yes; then
7398 result=$wxUSE_TEXTBUFFER
7401 { echo "$as_me:$LINENO: result: $result" >&5
7402 echo "${ECHO_T}$result" >&6; }
7406 defaultval=$wxUSE_ALL_FEATURES
7407 if test -z "$defaultval"; then
7408 if test x"$enablestring" = xdisable; then
7415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7416 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7417 # Check whether --enable-textfile was given.
7418 if test "${enable_textfile+set}" = set; then
7419 enableval=$enable_textfile;
7420 if test "$enableval" = yes; then
7421 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7423 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7428 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7433 eval "$wx_cv_use_textfile"
7435 if test x"$enablestring" = xdisable; then
7436 if test $wxUSE_TEXTFILE = yes; then
7442 result=$wxUSE_TEXTFILE
7445 { echo "$as_me:$LINENO: result: $result" >&5
7446 echo "${ECHO_T}$result" >&6; }
7450 defaultval=$wxUSE_ALL_FEATURES
7451 if test -z "$defaultval"; then
7452 if test x"$enablestring" = xdisable; then
7459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7460 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7461 # Check whether --enable-timer was given.
7462 if test "${enable_timer+set}" = set; then
7463 enableval=$enable_timer;
7464 if test "$enableval" = yes; then
7465 wx_cv_use_timer='wxUSE_TIMER=yes'
7467 wx_cv_use_timer='wxUSE_TIMER=no'
7472 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7477 eval "$wx_cv_use_timer"
7479 if test x"$enablestring" = xdisable; then
7480 if test $wxUSE_TIMER = yes; then
7489 { echo "$as_me:$LINENO: result: $result" >&5
7490 echo "${ECHO_T}$result" >&6; }
7494 defaultval=$wxUSE_ALL_FEATURES
7495 if test -z "$defaultval"; then
7496 if test x"$enablestring" = xdisable; then
7503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7504 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7505 # Check whether --enable-sound was given.
7506 if test "${enable_sound+set}" = set; then
7507 enableval=$enable_sound;
7508 if test "$enableval" = yes; then
7509 wx_cv_use_sound='wxUSE_SOUND=yes'
7511 wx_cv_use_sound='wxUSE_SOUND=no'
7516 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7521 eval "$wx_cv_use_sound"
7523 if test x"$enablestring" = xdisable; then
7524 if test $wxUSE_SOUND = yes; then
7533 { echo "$as_me:$LINENO: result: $result" >&5
7534 echo "${ECHO_T}$result" >&6; }
7538 defaultval=$wxUSE_ALL_FEATURES
7539 if test -z "$defaultval"; then
7540 if test x"$enablestring" = xdisable; then
7547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7548 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7549 # Check whether --enable-mediactrl was given.
7550 if test "${enable_mediactrl+set}" = set; then
7551 enableval=$enable_mediactrl;
7552 if test "$enableval" = yes; then
7553 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7555 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7560 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7565 eval "$wx_cv_use_mediactrl"
7567 if test x"$enablestring" = xdisable; then
7568 if test $wxUSE_MEDIACTRL = yes; then
7574 result=$wxUSE_MEDIACTRL
7577 { echo "$as_me:$LINENO: result: $result" >&5
7578 echo "${ECHO_T}$result" >&6; }
7582 defaultval=$wxUSE_ALL_FEATURES
7583 if test -z "$defaultval"; then
7584 if test x"$enablestring" = xdisable; then
7591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7592 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7593 # Check whether --enable-gstreamer8 was given.
7594 if test "${enable_gstreamer8+set}" = set; then
7595 enableval=$enable_gstreamer8;
7596 if test "$enableval" = yes; then
7597 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7599 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7604 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7609 eval "$wx_cv_use_gstreamer8"
7611 if test x"$enablestring" = xdisable; then
7612 if test $wxUSE_GSTREAMER8 = yes; then
7618 result=$wxUSE_GSTREAMER8
7621 { echo "$as_me:$LINENO: result: $result" >&5
7622 echo "${ECHO_T}$result" >&6; }
7626 defaultval=$wxUSE_ALL_FEATURES
7627 if test -z "$defaultval"; then
7628 if test x"$enablestring" = xdisable; then
7635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7636 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7637 # Check whether --enable-printfposparam was given.
7638 if test "${enable_printfposparam+set}" = set; then
7639 enableval=$enable_printfposparam;
7640 if test "$enableval" = yes; then
7641 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7643 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7648 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7653 eval "$wx_cv_use_printfposparam"
7655 if test x"$enablestring" = xdisable; then
7656 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7662 result=$wxUSE_PRINTF_POS_PARAMS
7665 { echo "$as_me:$LINENO: result: $result" >&5
7666 echo "${ECHO_T}$result" >&6; }
7670 defaultval=$wxUSE_ALL_FEATURES
7671 if test -z "$defaultval"; then
7672 if test x"$enablestring" = xdisable; then
7679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7680 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7681 # Check whether --enable-zipstream was given.
7682 if test "${enable_zipstream+set}" = set; then
7683 enableval=$enable_zipstream;
7684 if test "$enableval" = yes; then
7685 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7687 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7692 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7697 eval "$wx_cv_use_zipstream"
7699 if test x"$enablestring" = xdisable; then
7700 if test $wxUSE_ZIPSTREAM = yes; then
7706 result=$wxUSE_ZIPSTREAM
7709 { echo "$as_me:$LINENO: result: $result" >&5
7710 echo "${ECHO_T}$result" >&6; }
7715 defaultval=$wxUSE_ALL_FEATURES
7716 if test -z "$defaultval"; then
7717 if test x"$enablestring" = xdisable; then
7724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7725 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7726 # Check whether --enable-url was given.
7727 if test "${enable_url+set}" = set; then
7728 enableval=$enable_url;
7729 if test "$enableval" = yes; then
7730 wx_cv_use_url='wxUSE_URL=yes'
7732 wx_cv_use_url='wxUSE_URL=no'
7737 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7742 eval "$wx_cv_use_url"
7744 if test x"$enablestring" = xdisable; then
7745 if test $wxUSE_URL = yes; then
7754 { echo "$as_me:$LINENO: result: $result" >&5
7755 echo "${ECHO_T}$result" >&6; }
7759 defaultval=$wxUSE_ALL_FEATURES
7760 if test -z "$defaultval"; then
7761 if test x"$enablestring" = xdisable; then
7768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7769 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7770 # Check whether --enable-variant was given.
7771 if test "${enable_variant+set}" = set; then
7772 enableval=$enable_variant;
7773 if test "$enableval" = yes; then
7774 wx_cv_use_variant='wxUSE_VARIANT=yes'
7776 wx_cv_use_variant='wxUSE_VARIANT=no'
7781 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7786 eval "$wx_cv_use_variant"
7788 if test x"$enablestring" = xdisable; then
7789 if test $wxUSE_VARIANT = yes; then
7795 result=$wxUSE_VARIANT
7798 { echo "$as_me:$LINENO: result: $result" >&5
7799 echo "${ECHO_T}$result" >&6; }
7803 defaultval=$wxUSE_ALL_FEATURES
7804 if test -z "$defaultval"; then
7805 if test x"$enablestring" = xdisable; then
7812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7813 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7814 # Check whether --enable-protocol was given.
7815 if test "${enable_protocol+set}" = set; then
7816 enableval=$enable_protocol;
7817 if test "$enableval" = yes; then
7818 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7820 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7825 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7830 eval "$wx_cv_use_protocol"
7832 if test x"$enablestring" = xdisable; then
7833 if test $wxUSE_PROTOCOL = yes; then
7839 result=$wxUSE_PROTOCOL
7842 { echo "$as_me:$LINENO: result: $result" >&5
7843 echo "${ECHO_T}$result" >&6; }
7847 defaultval=$wxUSE_ALL_FEATURES
7848 if test -z "$defaultval"; then
7849 if test x"$enablestring" = xdisable; then
7856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7857 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7858 # Check whether --enable-protocol_http was given.
7859 if test "${enable_protocol_http+set}" = set; then
7860 enableval=$enable_protocol_http;
7861 if test "$enableval" = yes; then
7862 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7864 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7869 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7874 eval "$wx_cv_use_protocol_http"
7876 if test x"$enablestring" = xdisable; then
7877 if test $wxUSE_PROTOCOL_HTTP = yes; then
7883 result=$wxUSE_PROTOCOL_HTTP
7886 { echo "$as_me:$LINENO: result: $result" >&5
7887 echo "${ECHO_T}$result" >&6; }
7891 defaultval=$wxUSE_ALL_FEATURES
7892 if test -z "$defaultval"; then
7893 if test x"$enablestring" = xdisable; then
7900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7901 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7902 # Check whether --enable-protocol_ftp was given.
7903 if test "${enable_protocol_ftp+set}" = set; then
7904 enableval=$enable_protocol_ftp;
7905 if test "$enableval" = yes; then
7906 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7908 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7913 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7918 eval "$wx_cv_use_protocol_ftp"
7920 if test x"$enablestring" = xdisable; then
7921 if test $wxUSE_PROTOCOL_FTP = yes; then
7927 result=$wxUSE_PROTOCOL_FTP
7930 { echo "$as_me:$LINENO: result: $result" >&5
7931 echo "${ECHO_T}$result" >&6; }
7935 defaultval=$wxUSE_ALL_FEATURES
7936 if test -z "$defaultval"; then
7937 if test x"$enablestring" = xdisable; then
7944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7945 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7946 # Check whether --enable-protocol_file was given.
7947 if test "${enable_protocol_file+set}" = set; then
7948 enableval=$enable_protocol_file;
7949 if test "$enableval" = yes; then
7950 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7952 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7957 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7962 eval "$wx_cv_use_protocol_file"
7964 if test x"$enablestring" = xdisable; then
7965 if test $wxUSE_PROTOCOL_FILE = yes; then
7971 result=$wxUSE_PROTOCOL_FILE
7974 { echo "$as_me:$LINENO: result: $result" >&5
7975 echo "${ECHO_T}$result" >&6; }
7980 defaultval=$wxUSE_ALL_FEATURES
7981 if test -z "$defaultval"; then
7982 if test x"$enablestring" = xdisable; then
7989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7990 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7991 # Check whether --enable-threads was given.
7992 if test "${enable_threads+set}" = set; then
7993 enableval=$enable_threads;
7994 if test "$enableval" = yes; then
7995 wx_cv_use_threads='wxUSE_THREADS=yes'
7997 wx_cv_use_threads='wxUSE_THREADS=no'
8002 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8007 eval "$wx_cv_use_threads"
8009 if test x"$enablestring" = xdisable; then
8010 if test $wxUSE_THREADS = yes; then
8016 result=$wxUSE_THREADS
8019 { echo "$as_me:$LINENO: result: $result" >&5
8020 echo "${ECHO_T}$result" >&6; }
8026 if test -z "$defaultval"; then
8027 if test x"$enablestring" = xdisable; then
8034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8035 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8036 # Check whether --enable-iniconf was given.
8037 if test "${enable_iniconf+set}" = set; then
8038 enableval=$enable_iniconf;
8039 if test "$enableval" = yes; then
8040 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8042 wx_cv_use_iniconf='wxUSE_INICONF=no'
8047 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8052 eval "$wx_cv_use_iniconf"
8054 if test x"$enablestring" = xdisable; then
8055 if test $wxUSE_INICONF = yes; then
8061 result=$wxUSE_INICONF
8064 { echo "$as_me:$LINENO: result: $result" >&5
8065 echo "${ECHO_T}$result" >&6; }
8069 defaultval=$wxUSE_ALL_FEATURES
8070 if test -z "$defaultval"; then
8071 if test x"$enablestring" = xdisable; then
8078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8079 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8080 # Check whether --enable-regkey was given.
8081 if test "${enable_regkey+set}" = set; then
8082 enableval=$enable_regkey;
8083 if test "$enableval" = yes; then
8084 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8086 wx_cv_use_regkey='wxUSE_REGKEY=no'
8091 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8096 eval "$wx_cv_use_regkey"
8098 if test x"$enablestring" = xdisable; then
8099 if test $wxUSE_REGKEY = yes; then
8105 result=$wxUSE_REGKEY
8108 { echo "$as_me:$LINENO: result: $result" >&5
8109 echo "${ECHO_T}$result" >&6; }
8112 if test "$wxUSE_GUI" = "yes"; then
8117 defaultval=$wxUSE_ALL_FEATURES
8118 if test -z "$defaultval"; then
8119 if test x"$enablestring" = xdisable; then
8126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8127 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8128 # Check whether --enable-docview was given.
8129 if test "${enable_docview+set}" = set; then
8130 enableval=$enable_docview;
8131 if test "$enableval" = yes; then
8132 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8134 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8139 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8144 eval "$wx_cv_use_docview"
8146 if test x"$enablestring" = xdisable; then
8147 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8153 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8156 { echo "$as_me:$LINENO: result: $result" >&5
8157 echo "${ECHO_T}$result" >&6; }
8161 defaultval=$wxUSE_ALL_FEATURES
8162 if test -z "$defaultval"; then
8163 if test x"$enablestring" = xdisable; then
8170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8171 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8172 # Check whether --enable-help was given.
8173 if test "${enable_help+set}" = set; then
8174 enableval=$enable_help;
8175 if test "$enableval" = yes; then
8176 wx_cv_use_help='wxUSE_HELP=yes'
8178 wx_cv_use_help='wxUSE_HELP=no'
8183 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8188 eval "$wx_cv_use_help"
8190 if test x"$enablestring" = xdisable; then
8191 if test $wxUSE_HELP = yes; then
8200 { echo "$as_me:$LINENO: result: $result" >&5
8201 echo "${ECHO_T}$result" >&6; }
8205 defaultval=$wxUSE_ALL_FEATURES
8206 if test -z "$defaultval"; then
8207 if test x"$enablestring" = xdisable; then
8214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8215 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8216 # Check whether --enable-mshtmlhelp was given.
8217 if test "${enable_mshtmlhelp+set}" = set; then
8218 enableval=$enable_mshtmlhelp;
8219 if test "$enableval" = yes; then
8220 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8222 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8227 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8232 eval "$wx_cv_use_mshtmlhelp"
8234 if test x"$enablestring" = xdisable; then
8235 if test $wxUSE_MS_HTML_HELP = yes; then
8241 result=$wxUSE_MS_HTML_HELP
8244 { echo "$as_me:$LINENO: result: $result" >&5
8245 echo "${ECHO_T}$result" >&6; }
8249 defaultval=$wxUSE_ALL_FEATURES
8250 if test -z "$defaultval"; then
8251 if test x"$enablestring" = xdisable; then
8258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8259 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8260 # Check whether --enable-html was given.
8261 if test "${enable_html+set}" = set; then
8262 enableval=$enable_html;
8263 if test "$enableval" = yes; then
8264 wx_cv_use_html='wxUSE_HTML=yes'
8266 wx_cv_use_html='wxUSE_HTML=no'
8271 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8276 eval "$wx_cv_use_html"
8278 if test x"$enablestring" = xdisable; then
8279 if test $wxUSE_HTML = yes; then
8288 { echo "$as_me:$LINENO: result: $result" >&5
8289 echo "${ECHO_T}$result" >&6; }
8293 defaultval=$wxUSE_ALL_FEATURES
8294 if test -z "$defaultval"; then
8295 if test x"$enablestring" = xdisable; then
8302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8303 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8304 # Check whether --enable-htmlhelp was given.
8305 if test "${enable_htmlhelp+set}" = set; then
8306 enableval=$enable_htmlhelp;
8307 if test "$enableval" = yes; then
8308 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8310 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8315 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8320 eval "$wx_cv_use_htmlhelp"
8322 if test x"$enablestring" = xdisable; then
8323 if test $wxUSE_WXHTML_HELP = yes; then
8329 result=$wxUSE_WXHTML_HELP
8332 { echo "$as_me:$LINENO: result: $result" >&5
8333 echo "${ECHO_T}$result" >&6; }
8337 defaultval=$wxUSE_ALL_FEATURES
8338 if test -z "$defaultval"; then
8339 if test x"$enablestring" = xdisable; then
8346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8347 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8348 # Check whether --enable-xrc was given.
8349 if test "${enable_xrc+set}" = set; then
8350 enableval=$enable_xrc;
8351 if test "$enableval" = yes; then
8352 wx_cv_use_xrc='wxUSE_XRC=yes'
8354 wx_cv_use_xrc='wxUSE_XRC=no'
8359 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8364 eval "$wx_cv_use_xrc"
8366 if test x"$enablestring" = xdisable; then
8367 if test $wxUSE_XRC = yes; then
8376 { echo "$as_me:$LINENO: result: $result" >&5
8377 echo "${ECHO_T}$result" >&6; }
8381 defaultval=$wxUSE_ALL_FEATURES
8382 if test -z "$defaultval"; then
8383 if test x"$enablestring" = xdisable; then
8390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8391 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8392 # Check whether --enable-aui was given.
8393 if test "${enable_aui+set}" = set; then
8394 enableval=$enable_aui;
8395 if test "$enableval" = yes; then
8396 wx_cv_use_aui='wxUSE_AUI=yes'
8398 wx_cv_use_aui='wxUSE_AUI=no'
8403 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8408 eval "$wx_cv_use_aui"
8410 if test x"$enablestring" = xdisable; then
8411 if test $wxUSE_AUI = yes; then
8420 { echo "$as_me:$LINENO: result: $result" >&5
8421 echo "${ECHO_T}$result" >&6; }
8425 defaultval=$wxUSE_ALL_FEATURES
8426 if test -z "$defaultval"; then
8427 if test x"$enablestring" = xdisable; then
8434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8435 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8436 # Check whether --enable-stc was given.
8437 if test "${enable_stc+set}" = set; then
8438 enableval=$enable_stc;
8439 if test "$enableval" = yes; then
8440 wx_cv_use_stc='wxUSE_STC=yes'
8442 wx_cv_use_stc='wxUSE_STC=no'
8447 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8452 eval "$wx_cv_use_stc"
8454 if test x"$enablestring" = xdisable; then
8455 if test $wxUSE_STC = yes; then
8464 { echo "$as_me:$LINENO: result: $result" >&5
8465 echo "${ECHO_T}$result" >&6; }
8469 defaultval=$wxUSE_ALL_FEATURES
8470 if test -z "$defaultval"; then
8471 if test x"$enablestring" = xdisable; then
8478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8479 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8480 # Check whether --enable-constraints was given.
8481 if test "${enable_constraints+set}" = set; then
8482 enableval=$enable_constraints;
8483 if test "$enableval" = yes; then
8484 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8486 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8491 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8496 eval "$wx_cv_use_constraints"
8498 if test x"$enablestring" = xdisable; then
8499 if test $wxUSE_CONSTRAINTS = yes; then
8505 result=$wxUSE_CONSTRAINTS
8508 { echo "$as_me:$LINENO: result: $result" >&5
8509 echo "${ECHO_T}$result" >&6; }
8513 defaultval=$wxUSE_ALL_FEATURES
8514 if test -z "$defaultval"; then
8515 if test x"$enablestring" = xdisable; then
8522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8523 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8524 # Check whether --enable-printarch was given.
8525 if test "${enable_printarch+set}" = set; then
8526 enableval=$enable_printarch;
8527 if test "$enableval" = yes; then
8528 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8530 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8535 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8540 eval "$wx_cv_use_printarch"
8542 if test x"$enablestring" = xdisable; then
8543 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8549 result=$wxUSE_PRINTING_ARCHITECTURE
8552 { echo "$as_me:$LINENO: result: $result" >&5
8553 echo "${ECHO_T}$result" >&6; }
8557 defaultval=$wxUSE_ALL_FEATURES
8558 if test -z "$defaultval"; then
8559 if test x"$enablestring" = xdisable; then
8566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8567 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8568 # Check whether --enable-mdi was given.
8569 if test "${enable_mdi+set}" = set; then
8570 enableval=$enable_mdi;
8571 if test "$enableval" = yes; then
8572 wx_cv_use_mdi='wxUSE_MDI=yes'
8574 wx_cv_use_mdi='wxUSE_MDI=no'
8579 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8584 eval "$wx_cv_use_mdi"
8586 if test x"$enablestring" = xdisable; then
8587 if test $wxUSE_MDI = yes; then
8596 { echo "$as_me:$LINENO: result: $result" >&5
8597 echo "${ECHO_T}$result" >&6; }
8601 defaultval=$wxUSE_ALL_FEATURES
8602 if test -z "$defaultval"; then
8603 if test x"$enablestring" = xdisable; then
8610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8611 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8612 # Check whether --enable-mdidoc was given.
8613 if test "${enable_mdidoc+set}" = set; then
8614 enableval=$enable_mdidoc;
8615 if test "$enableval" = yes; then
8616 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8618 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8623 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8628 eval "$wx_cv_use_mdidoc"
8630 if test x"$enablestring" = xdisable; then
8631 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8637 result=$wxUSE_MDI_ARCHITECTURE
8640 { echo "$as_me:$LINENO: result: $result" >&5
8641 echo "${ECHO_T}$result" >&6; }
8645 defaultval=$wxUSE_ALL_FEATURES
8646 if test -z "$defaultval"; then
8647 if test x"$enablestring" = xdisable; then
8654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8655 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8656 # Check whether --enable-loggui was given.
8657 if test "${enable_loggui+set}" = set; then
8658 enableval=$enable_loggui;
8659 if test "$enableval" = yes; then
8660 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8662 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8667 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8672 eval "$wx_cv_use_loggui"
8674 if test x"$enablestring" = xdisable; then
8675 if test $wxUSE_LOGGUI = yes; then
8681 result=$wxUSE_LOGGUI
8684 { echo "$as_me:$LINENO: result: $result" >&5
8685 echo "${ECHO_T}$result" >&6; }
8689 defaultval=$wxUSE_ALL_FEATURES
8690 if test -z "$defaultval"; then
8691 if test x"$enablestring" = xdisable; then
8698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8699 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8700 # Check whether --enable-logwin was given.
8701 if test "${enable_logwin+set}" = set; then
8702 enableval=$enable_logwin;
8703 if test "$enableval" = yes; then
8704 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8706 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8711 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8716 eval "$wx_cv_use_logwin"
8718 if test x"$enablestring" = xdisable; then
8719 if test $wxUSE_LOGWINDOW = yes; then
8725 result=$wxUSE_LOGWINDOW
8728 { echo "$as_me:$LINENO: result: $result" >&5
8729 echo "${ECHO_T}$result" >&6; }
8733 defaultval=$wxUSE_ALL_FEATURES
8734 if test -z "$defaultval"; then
8735 if test x"$enablestring" = xdisable; then
8742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8743 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8744 # Check whether --enable-logdialog was given.
8745 if test "${enable_logdialog+set}" = set; then
8746 enableval=$enable_logdialog;
8747 if test "$enableval" = yes; then
8748 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8750 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8755 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8760 eval "$wx_cv_use_logdialog"
8762 if test x"$enablestring" = xdisable; then
8763 if test $wxUSE_LOGDIALOG = yes; then
8769 result=$wxUSE_LOGDIALOG
8772 { echo "$as_me:$LINENO: result: $result" >&5
8773 echo "${ECHO_T}$result" >&6; }
8777 defaultval=$wxUSE_ALL_FEATURES
8778 if test -z "$defaultval"; then
8779 if test x"$enablestring" = xdisable; then
8786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8787 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8788 # Check whether --enable-webkit was given.
8789 if test "${enable_webkit+set}" = set; then
8790 enableval=$enable_webkit;
8791 if test "$enableval" = yes; then
8792 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8794 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8799 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8804 eval "$wx_cv_use_webkit"
8806 if test x"$enablestring" = xdisable; then
8807 if test $wxUSE_WEBKIT = yes; then
8813 result=$wxUSE_WEBKIT
8816 { echo "$as_me:$LINENO: result: $result" >&5
8817 echo "${ECHO_T}$result" >&6; }
8821 defaultval=$wxUSE_ALL_FEATURES
8822 if test -z "$defaultval"; then
8823 if test x"$enablestring" = xdisable; then
8830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8831 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8832 # Check whether --enable-richtext was given.
8833 if test "${enable_richtext+set}" = set; then
8834 enableval=$enable_richtext;
8835 if test "$enableval" = yes; then
8836 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8838 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8843 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8848 eval "$wx_cv_use_richtext"
8850 if test x"$enablestring" = xdisable; then
8851 if test $wxUSE_RICHTEXT = yes; then
8857 result=$wxUSE_RICHTEXT
8860 { echo "$as_me:$LINENO: result: $result" >&5
8861 echo "${ECHO_T}$result" >&6; }
8865 defaultval=$wxUSE_ALL_FEATURES
8866 if test -z "$defaultval"; then
8867 if test x"$enablestring" = xdisable; then
8874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8875 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8876 # Check whether --enable-graphics_ctx was given.
8877 if test "${enable_graphics_ctx+set}" = set; then
8878 enableval=$enable_graphics_ctx;
8879 if test "$enableval" = yes; then
8880 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8882 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8887 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
8892 eval "$wx_cv_use_graphics_ctx"
8894 if test x"$enablestring" = xdisable; then
8895 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
8901 result=$wxUSE_GRAPHICS_CONTEXT
8904 { echo "$as_me:$LINENO: result: $result" >&5
8905 echo "${ECHO_T}$result" >&6; }
8909 defaultval=$wxUSE_ALL_FEATURES
8910 if test -z "$defaultval"; then
8911 if test x"$enablestring" = xdisable; then
8918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8919 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8920 # Check whether --enable-postscript was given.
8921 if test "${enable_postscript+set}" = set; then
8922 enableval=$enable_postscript;
8923 if test "$enableval" = yes; then
8924 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8926 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8931 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
8936 eval "$wx_cv_use_postscript"
8938 if test x"$enablestring" = xdisable; then
8939 if test $wxUSE_POSTSCRIPT = yes; then
8945 result=$wxUSE_POSTSCRIPT
8948 { echo "$as_me:$LINENO: result: $result" >&5
8949 echo "${ECHO_T}$result" >&6; }
8953 defaultval=$wxUSE_ALL_FEATURES
8954 if test -z "$defaultval"; then
8955 if test x"$enablestring" = xdisable; then
8962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
8963 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
8964 # Check whether --enable-svg was given.
8965 if test "${enable_svg+set}" = set; then
8966 enableval=$enable_svg;
8967 if test "$enableval" = yes; then
8968 wx_cv_use_svg='wxUSE_SVG=yes'
8970 wx_cv_use_svg='wxUSE_SVG=no'
8975 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
8980 eval "$wx_cv_use_svg"
8982 if test x"$enablestring" = xdisable; then
8983 if test $wxUSE_SVG = yes; then
8992 { echo "$as_me:$LINENO: result: $result" >&5
8993 echo "${ECHO_T}$result" >&6; }
8999 defaultval=$wxUSE_ALL_FEATURES
9000 if test -z "$defaultval"; then
9001 if test x"$enablestring" = xdisable; then
9008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9009 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9010 # Check whether --enable-clipboard was given.
9011 if test "${enable_clipboard+set}" = set; then
9012 enableval=$enable_clipboard;
9013 if test "$enableval" = yes; then
9014 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9016 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9021 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9026 eval "$wx_cv_use_clipboard"
9028 if test x"$enablestring" = xdisable; then
9029 if test $wxUSE_CLIPBOARD = yes; then
9035 result=$wxUSE_CLIPBOARD
9038 { echo "$as_me:$LINENO: result: $result" >&5
9039 echo "${ECHO_T}$result" >&6; }
9043 defaultval=$wxUSE_ALL_FEATURES
9044 if test -z "$defaultval"; then
9045 if test x"$enablestring" = xdisable; then
9052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9053 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9054 # Check whether --enable-dnd was given.
9055 if test "${enable_dnd+set}" = set; then
9056 enableval=$enable_dnd;
9057 if test "$enableval" = yes; then
9058 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9060 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9065 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9070 eval "$wx_cv_use_dnd"
9072 if test x"$enablestring" = xdisable; then
9073 if test $wxUSE_DRAG_AND_DROP = yes; then
9079 result=$wxUSE_DRAG_AND_DROP
9082 { echo "$as_me:$LINENO: result: $result" >&5
9083 echo "${ECHO_T}$result" >&6; }
9087 defaultval=$wxUSE_ALL_FEATURES
9088 if test -z "$defaultval"; then
9089 if test x"$enablestring" = xdisable; then
9096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9097 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9098 # Check whether --enable-metafile was given.
9099 if test "${enable_metafile+set}" = set; then
9100 enableval=$enable_metafile;
9101 if test "$enableval" = yes; then
9102 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9104 wx_cv_use_metafile='wxUSE_METAFILE=no'
9109 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9114 eval "$wx_cv_use_metafile"
9116 if test x"$enablestring" = xdisable; then
9117 if test $wxUSE_METAFILE = yes; then
9123 result=$wxUSE_METAFILE
9126 { echo "$as_me:$LINENO: result: $result" >&5
9127 echo "${ECHO_T}$result" >&6; }
9131 DEFAULT_wxUSE_CONTROLS=none
9133 enablestring=disable
9135 if test -z "$defaultval"; then
9136 if test x"$enablestring" = xdisable; then
9143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9144 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9145 # Check whether --enable-controls was given.
9146 if test "${enable_controls+set}" = set; then
9147 enableval=$enable_controls;
9148 if test "$enableval" = yes; then
9149 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9151 wx_cv_use_controls='wxUSE_CONTROLS=no'
9156 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9161 eval "$wx_cv_use_controls"
9163 if test x"$enablestring" = xdisable; then
9164 if test $wxUSE_CONTROLS = yes; then
9170 result=$wxUSE_CONTROLS
9173 { echo "$as_me:$LINENO: result: $result" >&5
9174 echo "${ECHO_T}$result" >&6; }
9177 if test "$wxUSE_CONTROLS" = "yes"; then
9178 DEFAULT_wxUSE_ACCEL=yes
9179 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9180 DEFAULT_wxUSE_BMPBUTTON=yes
9181 DEFAULT_wxUSE_BUTTON=yes
9182 DEFAULT_wxUSE_CALCTRL=yes
9183 DEFAULT_wxUSE_CARET=yes
9184 DEFAULT_wxUSE_COMBOBOX=yes
9185 DEFAULT_wxUSE_CHECKBOX=yes
9186 DEFAULT_wxUSE_CHECKLISTBOX=yes
9187 DEFAULT_wxUSE_CHOICE=yes
9188 DEFAULT_wxUSE_CHOICEBOOK=yes
9189 DEFAULT_wxUSE_COLLPANE=yes
9190 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9191 DEFAULT_wxUSE_COMBOBOX=yes
9192 DEFAULT_wxUSE_DATEPICKCTRL=yes
9193 DEFAULT_wxUSE_DISPLAY=yes
9194 DEFAULT_wxUSE_DETECT_SM=yes
9195 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9196 DEFAULT_wxUSE_FILECTRL=yes
9197 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9198 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9199 DEFAULT_wxUSE_GAUGE=yes
9200 DEFAULT_wxUSE_GRID=yes
9201 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9202 DEFAULT_wxUSE_DATAVIEWCTRL=no
9203 DEFAULT_wxUSE_IMAGLIST=yes
9204 DEFAULT_wxUSE_LISTBOOK=yes
9205 DEFAULT_wxUSE_LISTBOX=yes
9206 DEFAULT_wxUSE_LISTCTRL=yes
9207 DEFAULT_wxUSE_NOTEBOOK=yes
9208 DEFAULT_wxUSE_RADIOBOX=yes
9209 DEFAULT_wxUSE_RADIOBTN=yes
9210 DEFAULT_wxUSE_SASH=yes
9211 DEFAULT_wxUSE_SCROLLBAR=yes
9212 DEFAULT_wxUSE_SEARCHCTRL=yes
9213 DEFAULT_wxUSE_SLIDER=yes
9214 DEFAULT_wxUSE_SPINBTN=yes
9215 DEFAULT_wxUSE_SPINCTRL=yes
9216 DEFAULT_wxUSE_SPLITTER=yes
9217 DEFAULT_wxUSE_STATBMP=yes
9218 DEFAULT_wxUSE_STATBOX=yes
9219 DEFAULT_wxUSE_STATLINE=yes
9220 DEFAULT_wxUSE_STATUSBAR=yes
9221 DEFAULT_wxUSE_TAB_DIALOG=yes
9222 DEFAULT_wxUSE_TOGGLEBTN=yes
9223 DEFAULT_wxUSE_TOOLBAR=yes
9224 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9225 DEFAULT_wxUSE_TOOLTIPS=yes
9226 DEFAULT_wxUSE_TREEBOOK=yes
9227 DEFAULT_wxUSE_TOOLBOOK=yes
9228 DEFAULT_wxUSE_TREECTRL=yes
9229 DEFAULT_wxUSE_POPUPWIN=yes
9230 DEFAULT_wxUSE_TIPWINDOW=yes
9231 elif test "$wxUSE_CONTROLS" = "no"; then
9232 DEFAULT_wxUSE_ACCEL=no
9233 DEFAULT_wxUSE_ANIMATIONCTRL=no
9234 DEFAULT_wxUSE_BMPBUTTON=no
9235 DEFAULT_wxUSE_BUTTON=no
9236 DEFAULT_wxUSE_CALCTRL=no
9237 DEFAULT_wxUSE_CARET=no
9238 DEFAULT_wxUSE_COLLPANE=no
9239 DEFAULT_wxUSE_COMBOBOX=no
9240 DEFAULT_wxUSE_CHECKBOX=no
9241 DEFAULT_wxUSE_CHECKLISTBOX=no
9242 DEFAULT_wxUSE_CHOICE=no
9243 DEFAULT_wxUSE_CHOICEBOOK=no
9244 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9245 DEFAULT_wxUSE_COMBOBOX=no
9246 DEFAULT_wxUSE_DATEPICKCTRL=no
9247 DEFAULT_wxUSE_DISPLAY=no
9248 DEFAULT_wxUSE_DETECT_SM=no
9249 DEFAULT_wxUSE_DIRPICKERCTRL=no
9250 DEFAULT_wxUSE_FILECTRL=no
9251 DEFAULT_wxUSE_FILEPICKERCTRL=no
9252 DEFAULT_wxUSE_FONTPICKERCTRL=no
9253 DEFAULT_wxUSE_GAUGE=no
9254 DEFAULT_wxUSE_GRID=no
9255 DEFAULT_wxUSE_HYPERLINKCTRL=no
9256 DEFAULT_wxUSE_DATAVIEWCTRL=no
9257 DEFAULT_wxUSE_IMAGLIST=no
9258 DEFAULT_wxUSE_LISTBOOK=no
9259 DEFAULT_wxUSE_LISTBOX=no
9260 DEFAULT_wxUSE_LISTCTRL=no
9261 DEFAULT_wxUSE_NOTEBOOK=no
9262 DEFAULT_wxUSE_RADIOBOX=no
9263 DEFAULT_wxUSE_RADIOBTN=no
9264 DEFAULT_wxUSE_SASH=no
9265 DEFAULT_wxUSE_SCROLLBAR=no
9266 DEFAULT_wxUSE_SEARCHCTRL=no
9267 DEFAULT_wxUSE_SLIDER=no
9268 DEFAULT_wxUSE_SPINBTN=no
9269 DEFAULT_wxUSE_SPINCTRL=no
9270 DEFAULT_wxUSE_SPLITTER=no
9271 DEFAULT_wxUSE_STATBMP=no
9272 DEFAULT_wxUSE_STATBOX=no
9273 DEFAULT_wxUSE_STATLINE=no
9274 DEFAULT_wxUSE_STATUSBAR=no
9275 DEFAULT_wxUSE_TAB_DIALOG=no
9276 DEFAULT_wxUSE_TOGGLEBTN=no
9277 DEFAULT_wxUSE_TOOLBAR=no
9278 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9279 DEFAULT_wxUSE_TOOLTIPS=no
9280 DEFAULT_wxUSE_TREEBOOK=no
9281 DEFAULT_wxUSE_TOOLBOOK=no
9282 DEFAULT_wxUSE_TREECTRL=no
9283 DEFAULT_wxUSE_POPUPWIN=no
9284 DEFAULT_wxUSE_TIPWINDOW=no
9289 defaultval=$wxUSE_ALL_FEATURES
9290 if test -z "$defaultval"; then
9291 if test x"$enablestring" = xdisable; then
9298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9299 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9300 # Check whether --enable-accel was given.
9301 if test "${enable_accel+set}" = set; then
9302 enableval=$enable_accel;
9303 if test "$enableval" = yes; then
9304 wx_cv_use_accel='wxUSE_ACCEL=yes'
9306 wx_cv_use_accel='wxUSE_ACCEL=no'
9311 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9316 eval "$wx_cv_use_accel"
9318 if test x"$enablestring" = xdisable; then
9319 if test $wxUSE_ACCEL = yes; then
9328 { echo "$as_me:$LINENO: result: $result" >&5
9329 echo "${ECHO_T}$result" >&6; }
9333 defaultval=$wxUSE_ALL_FEATURES
9334 if test -z "$defaultval"; then
9335 if test x"$enablestring" = xdisable; then
9342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9343 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9344 # Check whether --enable-animatectrl was given.
9345 if test "${enable_animatectrl+set}" = set; then
9346 enableval=$enable_animatectrl;
9347 if test "$enableval" = yes; then
9348 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9350 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9355 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9360 eval "$wx_cv_use_animatectrl"
9362 if test x"$enablestring" = xdisable; then
9363 if test $wxUSE_ANIMATIONCTRL = yes; then
9369 result=$wxUSE_ANIMATIONCTRL
9372 { echo "$as_me:$LINENO: result: $result" >&5
9373 echo "${ECHO_T}$result" >&6; }
9377 defaultval=$wxUSE_ALL_FEATURES
9378 if test -z "$defaultval"; then
9379 if test x"$enablestring" = xdisable; then
9386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9388 # Check whether --enable-button was given.
9389 if test "${enable_button+set}" = set; then
9390 enableval=$enable_button;
9391 if test "$enableval" = yes; then
9392 wx_cv_use_button='wxUSE_BUTTON=yes'
9394 wx_cv_use_button='wxUSE_BUTTON=no'
9399 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9404 eval "$wx_cv_use_button"
9406 if test x"$enablestring" = xdisable; then
9407 if test $wxUSE_BUTTON = yes; then
9413 result=$wxUSE_BUTTON
9416 { echo "$as_me:$LINENO: result: $result" >&5
9417 echo "${ECHO_T}$result" >&6; }
9421 defaultval=$wxUSE_ALL_FEATURES
9422 if test -z "$defaultval"; then
9423 if test x"$enablestring" = xdisable; then
9430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9431 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9432 # Check whether --enable-bmpbutton was given.
9433 if test "${enable_bmpbutton+set}" = set; then
9434 enableval=$enable_bmpbutton;
9435 if test "$enableval" = yes; then
9436 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9438 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9443 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9448 eval "$wx_cv_use_bmpbutton"
9450 if test x"$enablestring" = xdisable; then
9451 if test $wxUSE_BMPBUTTON = yes; then
9457 result=$wxUSE_BMPBUTTON
9460 { echo "$as_me:$LINENO: result: $result" >&5
9461 echo "${ECHO_T}$result" >&6; }
9465 defaultval=$wxUSE_ALL_FEATURES
9466 if test -z "$defaultval"; then
9467 if test x"$enablestring" = xdisable; then
9474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9475 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9476 # Check whether --enable-bmpcombobox was given.
9477 if test "${enable_bmpcombobox+set}" = set; then
9478 enableval=$enable_bmpcombobox;
9479 if test "$enableval" = yes; then
9480 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9482 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9487 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9492 eval "$wx_cv_use_bmpcombobox"
9494 if test x"$enablestring" = xdisable; then
9495 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9501 result=$wxUSE_BITMAPCOMBOBOX
9504 { echo "$as_me:$LINENO: result: $result" >&5
9505 echo "${ECHO_T}$result" >&6; }
9509 defaultval=$wxUSE_ALL_FEATURES
9510 if test -z "$defaultval"; then
9511 if test x"$enablestring" = xdisable; then
9518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9519 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9520 # Check whether --enable-calendar was given.
9521 if test "${enable_calendar+set}" = set; then
9522 enableval=$enable_calendar;
9523 if test "$enableval" = yes; then
9524 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9526 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9531 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9536 eval "$wx_cv_use_calendar"
9538 if test x"$enablestring" = xdisable; then
9539 if test $wxUSE_CALCTRL = yes; then
9545 result=$wxUSE_CALCTRL
9548 { echo "$as_me:$LINENO: result: $result" >&5
9549 echo "${ECHO_T}$result" >&6; }
9553 defaultval=$wxUSE_ALL_FEATURES
9554 if test -z "$defaultval"; then
9555 if test x"$enablestring" = xdisable; then
9562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9563 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9564 # Check whether --enable-caret was given.
9565 if test "${enable_caret+set}" = set; then
9566 enableval=$enable_caret;
9567 if test "$enableval" = yes; then
9568 wx_cv_use_caret='wxUSE_CARET=yes'
9570 wx_cv_use_caret='wxUSE_CARET=no'
9575 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9580 eval "$wx_cv_use_caret"
9582 if test x"$enablestring" = xdisable; then
9583 if test $wxUSE_CARET = yes; then
9592 { echo "$as_me:$LINENO: result: $result" >&5
9593 echo "${ECHO_T}$result" >&6; }
9597 defaultval=$wxUSE_ALL_FEATURES
9598 if test -z "$defaultval"; then
9599 if test x"$enablestring" = xdisable; then
9606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9607 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9608 # Check whether --enable-checkbox was given.
9609 if test "${enable_checkbox+set}" = set; then
9610 enableval=$enable_checkbox;
9611 if test "$enableval" = yes; then
9612 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9614 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9619 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9624 eval "$wx_cv_use_checkbox"
9626 if test x"$enablestring" = xdisable; then
9627 if test $wxUSE_CHECKBOX = yes; then
9633 result=$wxUSE_CHECKBOX
9636 { echo "$as_me:$LINENO: result: $result" >&5
9637 echo "${ECHO_T}$result" >&6; }
9641 defaultval=$wxUSE_ALL_FEATURES
9642 if test -z "$defaultval"; then
9643 if test x"$enablestring" = xdisable; then
9650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9651 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9652 # Check whether --enable-checklst was given.
9653 if test "${enable_checklst+set}" = set; then
9654 enableval=$enable_checklst;
9655 if test "$enableval" = yes; then
9656 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9658 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9663 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9668 eval "$wx_cv_use_checklst"
9670 if test x"$enablestring" = xdisable; then
9671 if test $wxUSE_CHECKLST = yes; then
9677 result=$wxUSE_CHECKLST
9680 { echo "$as_me:$LINENO: result: $result" >&5
9681 echo "${ECHO_T}$result" >&6; }
9685 defaultval=$wxUSE_ALL_FEATURES
9686 if test -z "$defaultval"; then
9687 if test x"$enablestring" = xdisable; then
9694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9695 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9696 # Check whether --enable-choice was given.
9697 if test "${enable_choice+set}" = set; then
9698 enableval=$enable_choice;
9699 if test "$enableval" = yes; then
9700 wx_cv_use_choice='wxUSE_CHOICE=yes'
9702 wx_cv_use_choice='wxUSE_CHOICE=no'
9707 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9712 eval "$wx_cv_use_choice"
9714 if test x"$enablestring" = xdisable; then
9715 if test $wxUSE_CHOICE = yes; then
9721 result=$wxUSE_CHOICE
9724 { echo "$as_me:$LINENO: result: $result" >&5
9725 echo "${ECHO_T}$result" >&6; }
9729 defaultval=$wxUSE_ALL_FEATURES
9730 if test -z "$defaultval"; then
9731 if test x"$enablestring" = xdisable; then
9738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9739 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9740 # Check whether --enable-choicebook was given.
9741 if test "${enable_choicebook+set}" = set; then
9742 enableval=$enable_choicebook;
9743 if test "$enableval" = yes; then
9744 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9746 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9751 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9756 eval "$wx_cv_use_choicebook"
9758 if test x"$enablestring" = xdisable; then
9759 if test $wxUSE_CHOICEBOOK = yes; then
9765 result=$wxUSE_CHOICEBOOK
9768 { echo "$as_me:$LINENO: result: $result" >&5
9769 echo "${ECHO_T}$result" >&6; }
9773 defaultval=$wxUSE_ALL_FEATURES
9774 if test -z "$defaultval"; then
9775 if test x"$enablestring" = xdisable; then
9782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9783 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9784 # Check whether --enable-collpane was given.
9785 if test "${enable_collpane+set}" = set; then
9786 enableval=$enable_collpane;
9787 if test "$enableval" = yes; then
9788 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9790 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9795 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9800 eval "$wx_cv_use_collpane"
9802 if test x"$enablestring" = xdisable; then
9803 if test $wxUSE_COLLPANE = yes; then
9809 result=$wxUSE_COLLPANE
9812 { echo "$as_me:$LINENO: result: $result" >&5
9813 echo "${ECHO_T}$result" >&6; }
9817 defaultval=$wxUSE_ALL_FEATURES
9818 if test -z "$defaultval"; then
9819 if test x"$enablestring" = xdisable; then
9826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9827 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9828 # Check whether --enable-colourpicker was given.
9829 if test "${enable_colourpicker+set}" = set; then
9830 enableval=$enable_colourpicker;
9831 if test "$enableval" = yes; then
9832 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9834 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9839 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
9844 eval "$wx_cv_use_colourpicker"
9846 if test x"$enablestring" = xdisable; then
9847 if test $wxUSE_COLOURPICKERCTRL = yes; then
9853 result=$wxUSE_COLOURPICKERCTRL
9856 { echo "$as_me:$LINENO: result: $result" >&5
9857 echo "${ECHO_T}$result" >&6; }
9861 defaultval=$wxUSE_ALL_FEATURES
9862 if test -z "$defaultval"; then
9863 if test x"$enablestring" = xdisable; then
9870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9871 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9872 # Check whether --enable-combobox was given.
9873 if test "${enable_combobox+set}" = set; then
9874 enableval=$enable_combobox;
9875 if test "$enableval" = yes; then
9876 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
9878 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
9883 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
9888 eval "$wx_cv_use_combobox"
9890 if test x"$enablestring" = xdisable; then
9891 if test $wxUSE_COMBOBOX = yes; then
9897 result=$wxUSE_COMBOBOX
9900 { echo "$as_me:$LINENO: result: $result" >&5
9901 echo "${ECHO_T}$result" >&6; }
9905 defaultval=$wxUSE_ALL_FEATURES
9906 if test -z "$defaultval"; then
9907 if test x"$enablestring" = xdisable; then
9914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9915 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9916 # Check whether --enable-comboctrl was given.
9917 if test "${enable_comboctrl+set}" = set; then
9918 enableval=$enable_comboctrl;
9919 if test "$enableval" = yes; then
9920 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9922 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9927 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
9932 eval "$wx_cv_use_comboctrl"
9934 if test x"$enablestring" = xdisable; then
9935 if test $wxUSE_COMBOCTRL = yes; then
9941 result=$wxUSE_COMBOCTRL
9944 { echo "$as_me:$LINENO: result: $result" >&5
9945 echo "${ECHO_T}$result" >&6; }
9949 defaultval=$wxUSE_ALL_FEATURES
9950 if test -z "$defaultval"; then
9951 if test x"$enablestring" = xdisable; then
9958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9959 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9960 # Check whether --enable-datepick was given.
9961 if test "${enable_datepick+set}" = set; then
9962 enableval=$enable_datepick;
9963 if test "$enableval" = yes; then
9964 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9966 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9971 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
9976 eval "$wx_cv_use_datepick"
9978 if test x"$enablestring" = xdisable; then
9979 if test $wxUSE_DATEPICKCTRL = yes; then
9985 result=$wxUSE_DATEPICKCTRL
9988 { echo "$as_me:$LINENO: result: $result" >&5
9989 echo "${ECHO_T}$result" >&6; }
9993 defaultval=$wxUSE_ALL_FEATURES
9994 if test -z "$defaultval"; then
9995 if test x"$enablestring" = xdisable; then
10002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10003 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10004 # Check whether --enable-dirpicker was given.
10005 if test "${enable_dirpicker+set}" = set; then
10006 enableval=$enable_dirpicker;
10007 if test "$enableval" = yes; then
10008 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10010 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10015 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10020 eval "$wx_cv_use_dirpicker"
10022 if test x"$enablestring" = xdisable; then
10023 if test $wxUSE_DIRPICKERCTRL = yes; then
10029 result=$wxUSE_DIRPICKERCTRL
10032 { echo "$as_me:$LINENO: result: $result" >&5
10033 echo "${ECHO_T}$result" >&6; }
10037 defaultval=$wxUSE_ALL_FEATURES
10038 if test -z "$defaultval"; then
10039 if test x"$enablestring" = xdisable; then
10046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10047 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10048 # Check whether --enable-display was given.
10049 if test "${enable_display+set}" = set; then
10050 enableval=$enable_display;
10051 if test "$enableval" = yes; then
10052 wx_cv_use_display='wxUSE_DISPLAY=yes'
10054 wx_cv_use_display='wxUSE_DISPLAY=no'
10059 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10064 eval "$wx_cv_use_display"
10066 if test x"$enablestring" = xdisable; then
10067 if test $wxUSE_DISPLAY = yes; then
10073 result=$wxUSE_DISPLAY
10076 { echo "$as_me:$LINENO: result: $result" >&5
10077 echo "${ECHO_T}$result" >&6; }
10081 defaultval=$wxUSE_ALL_FEATURES
10082 if test -z "$defaultval"; then
10083 if test x"$enablestring" = xdisable; then
10090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10091 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10092 # Check whether --enable-detect_sm was given.
10093 if test "${enable_detect_sm+set}" = set; then
10094 enableval=$enable_detect_sm;
10095 if test "$enableval" = yes; then
10096 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10098 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10103 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10108 eval "$wx_cv_use_detect_sm"
10110 if test x"$enablestring" = xdisable; then
10111 if test $wxUSE_DETECT_SM = yes; then
10117 result=$wxUSE_DETECT_SM
10120 { echo "$as_me:$LINENO: result: $result" >&5
10121 echo "${ECHO_T}$result" >&6; }
10125 defaultval=$wxUSE_ALL_FEATURES
10126 if test -z "$defaultval"; then
10127 if test x"$enablestring" = xdisable; then
10134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10135 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10136 # Check whether --enable-editablebox was given.
10137 if test "${enable_editablebox+set}" = set; then
10138 enableval=$enable_editablebox;
10139 if test "$enableval" = yes; then
10140 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10142 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10147 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10152 eval "$wx_cv_use_editablebox"
10154 if test x"$enablestring" = xdisable; then
10155 if test $wxUSE_EDITABLELISTBOX = yes; then
10161 result=$wxUSE_EDITABLELISTBOX
10164 { echo "$as_me:$LINENO: result: $result" >&5
10165 echo "${ECHO_T}$result" >&6; }
10169 defaultval=$wxUSE_ALL_FEATURES
10170 if test -z "$defaultval"; then
10171 if test x"$enablestring" = xdisable; then
10178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10179 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10180 # Check whether --enable-filepicker was given.
10181 if test "${enable_filepicker+set}" = set; then
10182 enableval=$enable_filepicker;
10183 if test "$enableval" = yes; then
10184 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10186 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10191 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10196 eval "$wx_cv_use_filepicker"
10198 if test x"$enablestring" = xdisable; then
10199 if test $wxUSE_FILEPICKERCTRL = yes; then
10205 result=$wxUSE_FILEPICKERCTRL
10208 { echo "$as_me:$LINENO: result: $result" >&5
10209 echo "${ECHO_T}$result" >&6; }
10213 defaultval=$wxUSE_ALL_FEATURES
10214 if test -z "$defaultval"; then
10215 if test x"$enablestring" = xdisable; then
10222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10223 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10224 # Check whether --enable-filectrl was given.
10225 if test "${enable_filectrl+set}" = set; then
10226 enableval=$enable_filectrl;
10227 if test "$enableval" = yes; then
10228 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10230 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10235 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10240 eval "$wx_cv_use_filectrl"
10242 if test x"$enablestring" = xdisable; then
10243 if test $wxUSE_FILECTRL = yes; then
10249 result=$wxUSE_FILECTRL
10252 { echo "$as_me:$LINENO: result: $result" >&5
10253 echo "${ECHO_T}$result" >&6; }
10257 defaultval=$wxUSE_ALL_FEATURES
10258 if test -z "$defaultval"; then
10259 if test x"$enablestring" = xdisable; then
10266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10267 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10268 # Check whether --enable-fontpicker was given.
10269 if test "${enable_fontpicker+set}" = set; then
10270 enableval=$enable_fontpicker;
10271 if test "$enableval" = yes; then
10272 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10274 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10279 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10284 eval "$wx_cv_use_fontpicker"
10286 if test x"$enablestring" = xdisable; then
10287 if test $wxUSE_FONTPICKERCTRL = yes; then
10293 result=$wxUSE_FONTPICKERCTRL
10296 { echo "$as_me:$LINENO: result: $result" >&5
10297 echo "${ECHO_T}$result" >&6; }
10301 defaultval=$wxUSE_ALL_FEATURES
10302 if test -z "$defaultval"; then
10303 if test x"$enablestring" = xdisable; then
10310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10311 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10312 # Check whether --enable-gauge was given.
10313 if test "${enable_gauge+set}" = set; then
10314 enableval=$enable_gauge;
10315 if test "$enableval" = yes; then
10316 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10318 wx_cv_use_gauge='wxUSE_GAUGE=no'
10323 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10328 eval "$wx_cv_use_gauge"
10330 if test x"$enablestring" = xdisable; then
10331 if test $wxUSE_GAUGE = yes; then
10337 result=$wxUSE_GAUGE
10340 { echo "$as_me:$LINENO: result: $result" >&5
10341 echo "${ECHO_T}$result" >&6; }
10345 defaultval=$wxUSE_ALL_FEATURES
10346 if test -z "$defaultval"; then
10347 if test x"$enablestring" = xdisable; then
10354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10355 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10356 # Check whether --enable-grid was given.
10357 if test "${enable_grid+set}" = set; then
10358 enableval=$enable_grid;
10359 if test "$enableval" = yes; then
10360 wx_cv_use_grid='wxUSE_GRID=yes'
10362 wx_cv_use_grid='wxUSE_GRID=no'
10367 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10372 eval "$wx_cv_use_grid"
10374 if test x"$enablestring" = xdisable; then
10375 if test $wxUSE_GRID = yes; then
10384 { echo "$as_me:$LINENO: result: $result" >&5
10385 echo "${ECHO_T}$result" >&6; }
10389 defaultval=$wxUSE_ALL_FEATURES
10390 if test -z "$defaultval"; then
10391 if test x"$enablestring" = xdisable; then
10398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10399 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10400 # Check whether --enable-dataviewctrl was given.
10401 if test "${enable_dataviewctrl+set}" = set; then
10402 enableval=$enable_dataviewctrl;
10403 if test "$enableval" = yes; then
10404 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10406 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10411 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10416 eval "$wx_cv_use_dataviewctrl"
10418 if test x"$enablestring" = xdisable; then
10419 if test $wxUSE_DATAVIEWCTRL = yes; then
10425 result=$wxUSE_DATAVIEWCTRL
10428 { echo "$as_me:$LINENO: result: $result" >&5
10429 echo "${ECHO_T}$result" >&6; }
10433 defaultval=$wxUSE_ALL_FEATURES
10434 if test -z "$defaultval"; then
10435 if test x"$enablestring" = xdisable; then
10442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10443 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10444 # Check whether --enable-hyperlink was given.
10445 if test "${enable_hyperlink+set}" = set; then
10446 enableval=$enable_hyperlink;
10447 if test "$enableval" = yes; then
10448 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10450 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10455 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10460 eval "$wx_cv_use_hyperlink"
10462 if test x"$enablestring" = xdisable; then
10463 if test $wxUSE_HYPERLINKCTRL = yes; then
10469 result=$wxUSE_HYPERLINKCTRL
10472 { echo "$as_me:$LINENO: result: $result" >&5
10473 echo "${ECHO_T}$result" >&6; }
10477 defaultval=$wxUSE_ALL_FEATURES
10478 if test -z "$defaultval"; then
10479 if test x"$enablestring" = xdisable; then
10486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10487 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10488 # Check whether --enable-imaglist was given.
10489 if test "${enable_imaglist+set}" = set; then
10490 enableval=$enable_imaglist;
10491 if test "$enableval" = yes; then
10492 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10494 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10499 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10504 eval "$wx_cv_use_imaglist"
10506 if test x"$enablestring" = xdisable; then
10507 if test $wxUSE_IMAGLIST = yes; then
10513 result=$wxUSE_IMAGLIST
10516 { echo "$as_me:$LINENO: result: $result" >&5
10517 echo "${ECHO_T}$result" >&6; }
10521 defaultval=$wxUSE_ALL_FEATURES
10522 if test -z "$defaultval"; then
10523 if test x"$enablestring" = xdisable; then
10530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10531 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10532 # Check whether --enable-listbook was given.
10533 if test "${enable_listbook+set}" = set; then
10534 enableval=$enable_listbook;
10535 if test "$enableval" = yes; then
10536 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10538 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10543 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10548 eval "$wx_cv_use_listbook"
10550 if test x"$enablestring" = xdisable; then
10551 if test $wxUSE_LISTBOOK = yes; then
10557 result=$wxUSE_LISTBOOK
10560 { echo "$as_me:$LINENO: result: $result" >&5
10561 echo "${ECHO_T}$result" >&6; }
10565 defaultval=$wxUSE_ALL_FEATURES
10566 if test -z "$defaultval"; then
10567 if test x"$enablestring" = xdisable; then
10574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10575 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10576 # Check whether --enable-listbox was given.
10577 if test "${enable_listbox+set}" = set; then
10578 enableval=$enable_listbox;
10579 if test "$enableval" = yes; then
10580 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10582 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10587 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10592 eval "$wx_cv_use_listbox"
10594 if test x"$enablestring" = xdisable; then
10595 if test $wxUSE_LISTBOX = yes; then
10601 result=$wxUSE_LISTBOX
10604 { echo "$as_me:$LINENO: result: $result" >&5
10605 echo "${ECHO_T}$result" >&6; }
10609 defaultval=$wxUSE_ALL_FEATURES
10610 if test -z "$defaultval"; then
10611 if test x"$enablestring" = xdisable; then
10618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10619 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10620 # Check whether --enable-listctrl was given.
10621 if test "${enable_listctrl+set}" = set; then
10622 enableval=$enable_listctrl;
10623 if test "$enableval" = yes; then
10624 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10626 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10631 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10636 eval "$wx_cv_use_listctrl"
10638 if test x"$enablestring" = xdisable; then
10639 if test $wxUSE_LISTCTRL = yes; then
10645 result=$wxUSE_LISTCTRL
10648 { echo "$as_me:$LINENO: result: $result" >&5
10649 echo "${ECHO_T}$result" >&6; }
10653 defaultval=$wxUSE_ALL_FEATURES
10654 if test -z "$defaultval"; then
10655 if test x"$enablestring" = xdisable; then
10662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10663 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10664 # Check whether --enable-notebook was given.
10665 if test "${enable_notebook+set}" = set; then
10666 enableval=$enable_notebook;
10667 if test "$enableval" = yes; then
10668 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10670 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10675 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10680 eval "$wx_cv_use_notebook"
10682 if test x"$enablestring" = xdisable; then
10683 if test $wxUSE_NOTEBOOK = yes; then
10689 result=$wxUSE_NOTEBOOK
10692 { echo "$as_me:$LINENO: result: $result" >&5
10693 echo "${ECHO_T}$result" >&6; }
10697 defaultval=$wxUSE_ALL_FEATURES
10698 if test -z "$defaultval"; then
10699 if test x"$enablestring" = xdisable; then
10706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10707 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10708 # Check whether --enable-notifmsg was given.
10709 if test "${enable_notifmsg+set}" = set; then
10710 enableval=$enable_notifmsg;
10711 if test "$enableval" = yes; then
10712 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10714 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10719 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10724 eval "$wx_cv_use_notifmsg"
10726 if test x"$enablestring" = xdisable; then
10727 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10733 result=$wxUSE_NOTIFICATION_MESSAGE
10736 { echo "$as_me:$LINENO: result: $result" >&5
10737 echo "${ECHO_T}$result" >&6; }
10741 defaultval=$wxUSE_ALL_FEATURES
10742 if test -z "$defaultval"; then
10743 if test x"$enablestring" = xdisable; then
10750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10751 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10752 # Check whether --enable-odcombobox was given.
10753 if test "${enable_odcombobox+set}" = set; then
10754 enableval=$enable_odcombobox;
10755 if test "$enableval" = yes; then
10756 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10758 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10763 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10768 eval "$wx_cv_use_odcombobox"
10770 if test x"$enablestring" = xdisable; then
10771 if test $wxUSE_ODCOMBOBOX = yes; then
10777 result=$wxUSE_ODCOMBOBOX
10780 { echo "$as_me:$LINENO: result: $result" >&5
10781 echo "${ECHO_T}$result" >&6; }
10785 defaultval=$wxUSE_ALL_FEATURES
10786 if test -z "$defaultval"; then
10787 if test x"$enablestring" = xdisable; then
10794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10795 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10796 # Check whether --enable-radiobox was given.
10797 if test "${enable_radiobox+set}" = set; then
10798 enableval=$enable_radiobox;
10799 if test "$enableval" = yes; then
10800 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10802 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
10807 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
10812 eval "$wx_cv_use_radiobox"
10814 if test x"$enablestring" = xdisable; then
10815 if test $wxUSE_RADIOBOX = yes; then
10821 result=$wxUSE_RADIOBOX
10824 { echo "$as_me:$LINENO: result: $result" >&5
10825 echo "${ECHO_T}$result" >&6; }
10829 defaultval=$wxUSE_ALL_FEATURES
10830 if test -z "$defaultval"; then
10831 if test x"$enablestring" = xdisable; then
10838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10839 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10840 # Check whether --enable-radiobtn was given.
10841 if test "${enable_radiobtn+set}" = set; then
10842 enableval=$enable_radiobtn;
10843 if test "$enableval" = yes; then
10844 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10846 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10851 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
10856 eval "$wx_cv_use_radiobtn"
10858 if test x"$enablestring" = xdisable; then
10859 if test $wxUSE_RADIOBTN = yes; then
10865 result=$wxUSE_RADIOBTN
10868 { echo "$as_me:$LINENO: result: $result" >&5
10869 echo "${ECHO_T}$result" >&6; }
10873 defaultval=$wxUSE_ALL_FEATURES
10874 if test -z "$defaultval"; then
10875 if test x"$enablestring" = xdisable; then
10882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10883 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10884 # Check whether --enable-sash was given.
10885 if test "${enable_sash+set}" = set; then
10886 enableval=$enable_sash;
10887 if test "$enableval" = yes; then
10888 wx_cv_use_sash='wxUSE_SASH=yes'
10890 wx_cv_use_sash='wxUSE_SASH=no'
10895 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
10900 eval "$wx_cv_use_sash"
10902 if test x"$enablestring" = xdisable; then
10903 if test $wxUSE_SASH = yes; then
10912 { echo "$as_me:$LINENO: result: $result" >&5
10913 echo "${ECHO_T}$result" >&6; }
10917 defaultval=$wxUSE_ALL_FEATURES
10918 if test -z "$defaultval"; then
10919 if test x"$enablestring" = xdisable; then
10926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10927 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10928 # Check whether --enable-scrollbar was given.
10929 if test "${enable_scrollbar+set}" = set; then
10930 enableval=$enable_scrollbar;
10931 if test "$enableval" = yes; then
10932 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10934 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10939 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
10944 eval "$wx_cv_use_scrollbar"
10946 if test x"$enablestring" = xdisable; then
10947 if test $wxUSE_SCROLLBAR = yes; then
10953 result=$wxUSE_SCROLLBAR
10956 { echo "$as_me:$LINENO: result: $result" >&5
10957 echo "${ECHO_T}$result" >&6; }
10961 defaultval=$wxUSE_ALL_FEATURES
10962 if test -z "$defaultval"; then
10963 if test x"$enablestring" = xdisable; then
10970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10971 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10972 # Check whether --enable-searchctrl was given.
10973 if test "${enable_searchctrl+set}" = set; then
10974 enableval=$enable_searchctrl;
10975 if test "$enableval" = yes; then
10976 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10978 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10983 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
10988 eval "$wx_cv_use_searchctrl"
10990 if test x"$enablestring" = xdisable; then
10991 if test $wxUSE_SEARCHCTRL = yes; then
10997 result=$wxUSE_SEARCHCTRL
11000 { echo "$as_me:$LINENO: result: $result" >&5
11001 echo "${ECHO_T}$result" >&6; }
11005 defaultval=$wxUSE_ALL_FEATURES
11006 if test -z "$defaultval"; then
11007 if test x"$enablestring" = xdisable; then
11014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11015 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11016 # Check whether --enable-slider was given.
11017 if test "${enable_slider+set}" = set; then
11018 enableval=$enable_slider;
11019 if test "$enableval" = yes; then
11020 wx_cv_use_slider='wxUSE_SLIDER=yes'
11022 wx_cv_use_slider='wxUSE_SLIDER=no'
11027 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11032 eval "$wx_cv_use_slider"
11034 if test x"$enablestring" = xdisable; then
11035 if test $wxUSE_SLIDER = yes; then
11041 result=$wxUSE_SLIDER
11044 { echo "$as_me:$LINENO: result: $result" >&5
11045 echo "${ECHO_T}$result" >&6; }
11049 defaultval=$wxUSE_ALL_FEATURES
11050 if test -z "$defaultval"; then
11051 if test x"$enablestring" = xdisable; then
11058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11059 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11060 # Check whether --enable-spinbtn was given.
11061 if test "${enable_spinbtn+set}" = set; then
11062 enableval=$enable_spinbtn;
11063 if test "$enableval" = yes; then
11064 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11066 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11071 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11076 eval "$wx_cv_use_spinbtn"
11078 if test x"$enablestring" = xdisable; then
11079 if test $wxUSE_SPINBTN = yes; then
11085 result=$wxUSE_SPINBTN
11088 { echo "$as_me:$LINENO: result: $result" >&5
11089 echo "${ECHO_T}$result" >&6; }
11093 defaultval=$wxUSE_ALL_FEATURES
11094 if test -z "$defaultval"; then
11095 if test x"$enablestring" = xdisable; then
11102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11103 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11104 # Check whether --enable-spinctrl was given.
11105 if test "${enable_spinctrl+set}" = set; then
11106 enableval=$enable_spinctrl;
11107 if test "$enableval" = yes; then
11108 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11110 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11115 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11120 eval "$wx_cv_use_spinctrl"
11122 if test x"$enablestring" = xdisable; then
11123 if test $wxUSE_SPINCTRL = yes; then
11129 result=$wxUSE_SPINCTRL
11132 { echo "$as_me:$LINENO: result: $result" >&5
11133 echo "${ECHO_T}$result" >&6; }
11137 defaultval=$wxUSE_ALL_FEATURES
11138 if test -z "$defaultval"; then
11139 if test x"$enablestring" = xdisable; then
11146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11147 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11148 # Check whether --enable-splitter was given.
11149 if test "${enable_splitter+set}" = set; then
11150 enableval=$enable_splitter;
11151 if test "$enableval" = yes; then
11152 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11154 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11159 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11164 eval "$wx_cv_use_splitter"
11166 if test x"$enablestring" = xdisable; then
11167 if test $wxUSE_SPLITTER = yes; then
11173 result=$wxUSE_SPLITTER
11176 { echo "$as_me:$LINENO: result: $result" >&5
11177 echo "${ECHO_T}$result" >&6; }
11181 defaultval=$wxUSE_ALL_FEATURES
11182 if test -z "$defaultval"; then
11183 if test x"$enablestring" = xdisable; then
11190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11191 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11192 # Check whether --enable-statbmp was given.
11193 if test "${enable_statbmp+set}" = set; then
11194 enableval=$enable_statbmp;
11195 if test "$enableval" = yes; then
11196 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11198 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11203 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11208 eval "$wx_cv_use_statbmp"
11210 if test x"$enablestring" = xdisable; then
11211 if test $wxUSE_STATBMP = yes; then
11217 result=$wxUSE_STATBMP
11220 { echo "$as_me:$LINENO: result: $result" >&5
11221 echo "${ECHO_T}$result" >&6; }
11225 defaultval=$wxUSE_ALL_FEATURES
11226 if test -z "$defaultval"; then
11227 if test x"$enablestring" = xdisable; then
11234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11235 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11236 # Check whether --enable-statbox was given.
11237 if test "${enable_statbox+set}" = set; then
11238 enableval=$enable_statbox;
11239 if test "$enableval" = yes; then
11240 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11242 wx_cv_use_statbox='wxUSE_STATBOX=no'
11247 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11252 eval "$wx_cv_use_statbox"
11254 if test x"$enablestring" = xdisable; then
11255 if test $wxUSE_STATBOX = yes; then
11261 result=$wxUSE_STATBOX
11264 { echo "$as_me:$LINENO: result: $result" >&5
11265 echo "${ECHO_T}$result" >&6; }
11269 defaultval=$wxUSE_ALL_FEATURES
11270 if test -z "$defaultval"; then
11271 if test x"$enablestring" = xdisable; then
11278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11279 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11280 # Check whether --enable-statline was given.
11281 if test "${enable_statline+set}" = set; then
11282 enableval=$enable_statline;
11283 if test "$enableval" = yes; then
11284 wx_cv_use_statline='wxUSE_STATLINE=yes'
11286 wx_cv_use_statline='wxUSE_STATLINE=no'
11291 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11296 eval "$wx_cv_use_statline"
11298 if test x"$enablestring" = xdisable; then
11299 if test $wxUSE_STATLINE = yes; then
11305 result=$wxUSE_STATLINE
11308 { echo "$as_me:$LINENO: result: $result" >&5
11309 echo "${ECHO_T}$result" >&6; }
11313 defaultval=$wxUSE_ALL_FEATURES
11314 if test -z "$defaultval"; then
11315 if test x"$enablestring" = xdisable; then
11322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11323 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11324 # Check whether --enable-stattext was given.
11325 if test "${enable_stattext+set}" = set; then
11326 enableval=$enable_stattext;
11327 if test "$enableval" = yes; then
11328 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11330 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11335 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11340 eval "$wx_cv_use_stattext"
11342 if test x"$enablestring" = xdisable; then
11343 if test $wxUSE_STATTEXT = yes; then
11349 result=$wxUSE_STATTEXT
11352 { echo "$as_me:$LINENO: result: $result" >&5
11353 echo "${ECHO_T}$result" >&6; }
11357 defaultval=$wxUSE_ALL_FEATURES
11358 if test -z "$defaultval"; then
11359 if test x"$enablestring" = xdisable; then
11366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11367 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11368 # Check whether --enable-statusbar was given.
11369 if test "${enable_statusbar+set}" = set; then
11370 enableval=$enable_statusbar;
11371 if test "$enableval" = yes; then
11372 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11374 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11379 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11384 eval "$wx_cv_use_statusbar"
11386 if test x"$enablestring" = xdisable; then
11387 if test $wxUSE_STATUSBAR = yes; then
11393 result=$wxUSE_STATUSBAR
11396 { echo "$as_me:$LINENO: result: $result" >&5
11397 echo "${ECHO_T}$result" >&6; }
11401 defaultval=$wxUSE_ALL_FEATURES
11402 if test -z "$defaultval"; then
11403 if test x"$enablestring" = xdisable; then
11410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11411 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11412 # Check whether --enable-tabdialog was given.
11413 if test "${enable_tabdialog+set}" = set; then
11414 enableval=$enable_tabdialog;
11415 if test "$enableval" = yes; then
11416 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11418 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11423 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11428 eval "$wx_cv_use_tabdialog"
11430 if test x"$enablestring" = xdisable; then
11431 if test $wxUSE_TAB_DIALOG = yes; then
11437 result=$wxUSE_TAB_DIALOG
11440 { echo "$as_me:$LINENO: result: $result" >&5
11441 echo "${ECHO_T}$result" >&6; }
11445 defaultval=$wxUSE_ALL_FEATURES
11446 if test -z "$defaultval"; then
11447 if test x"$enablestring" = xdisable; then
11454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11455 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11456 # Check whether --enable-taskbaricon was given.
11457 if test "${enable_taskbaricon+set}" = set; then
11458 enableval=$enable_taskbaricon;
11459 if test "$enableval" = yes; then
11460 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11462 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11467 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11472 eval "$wx_cv_use_taskbaricon"
11474 if test x"$enablestring" = xdisable; then
11475 if test $wxUSE_TASKBARICON = yes; then
11481 result=$wxUSE_TASKBARICON
11484 { echo "$as_me:$LINENO: result: $result" >&5
11485 echo "${ECHO_T}$result" >&6; }
11489 defaultval=$wxUSE_ALL_FEATURES
11490 if test -z "$defaultval"; then
11491 if test x"$enablestring" = xdisable; then
11498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11499 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11500 # Check whether --enable-textctrl was given.
11501 if test "${enable_textctrl+set}" = set; then
11502 enableval=$enable_textctrl;
11503 if test "$enableval" = yes; then
11504 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11506 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11511 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11516 eval "$wx_cv_use_textctrl"
11518 if test x"$enablestring" = xdisable; then
11519 if test $wxUSE_TEXTCTRL = yes; then
11525 result=$wxUSE_TEXTCTRL
11528 { echo "$as_me:$LINENO: result: $result" >&5
11529 echo "${ECHO_T}$result" >&6; }
11533 defaultval=$wxUSE_ALL_FEATURES
11534 if test -z "$defaultval"; then
11535 if test x"$enablestring" = xdisable; then
11542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11543 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11544 # Check whether --enable-togglebtn was given.
11545 if test "${enable_togglebtn+set}" = set; then
11546 enableval=$enable_togglebtn;
11547 if test "$enableval" = yes; then
11548 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11550 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11555 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11560 eval "$wx_cv_use_togglebtn"
11562 if test x"$enablestring" = xdisable; then
11563 if test $wxUSE_TOGGLEBTN = yes; then
11569 result=$wxUSE_TOGGLEBTN
11572 { echo "$as_me:$LINENO: result: $result" >&5
11573 echo "${ECHO_T}$result" >&6; }
11577 defaultval=$wxUSE_ALL_FEATURES
11578 if test -z "$defaultval"; then
11579 if test x"$enablestring" = xdisable; then
11586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11587 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11588 # Check whether --enable-toolbar was given.
11589 if test "${enable_toolbar+set}" = set; then
11590 enableval=$enable_toolbar;
11591 if test "$enableval" = yes; then
11592 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11594 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11599 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11604 eval "$wx_cv_use_toolbar"
11606 if test x"$enablestring" = xdisable; then
11607 if test $wxUSE_TOOLBAR = yes; then
11613 result=$wxUSE_TOOLBAR
11616 { echo "$as_me:$LINENO: result: $result" >&5
11617 echo "${ECHO_T}$result" >&6; }
11621 defaultval=$wxUSE_ALL_FEATURES
11622 if test -z "$defaultval"; then
11623 if test x"$enablestring" = xdisable; then
11630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11631 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11632 # Check whether --enable-tbarnative was given.
11633 if test "${enable_tbarnative+set}" = set; then
11634 enableval=$enable_tbarnative;
11635 if test "$enableval" = yes; then
11636 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11638 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11643 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11648 eval "$wx_cv_use_tbarnative"
11650 if test x"$enablestring" = xdisable; then
11651 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11657 result=$wxUSE_TOOLBAR_NATIVE
11660 { echo "$as_me:$LINENO: result: $result" >&5
11661 echo "${ECHO_T}$result" >&6; }
11665 defaultval=$wxUSE_ALL_FEATURES
11666 if test -z "$defaultval"; then
11667 if test x"$enablestring" = xdisable; then
11674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11675 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11676 # Check whether --enable-treebook was given.
11677 if test "${enable_treebook+set}" = set; then
11678 enableval=$enable_treebook;
11679 if test "$enableval" = yes; then
11680 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11682 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11687 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11692 eval "$wx_cv_use_treebook"
11694 if test x"$enablestring" = xdisable; then
11695 if test $wxUSE_TREEBOOK = yes; then
11701 result=$wxUSE_TREEBOOK
11704 { echo "$as_me:$LINENO: result: $result" >&5
11705 echo "${ECHO_T}$result" >&6; }
11709 defaultval=$wxUSE_ALL_FEATURES
11710 if test -z "$defaultval"; then
11711 if test x"$enablestring" = xdisable; then
11718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11719 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11720 # Check whether --enable-toolbook was given.
11721 if test "${enable_toolbook+set}" = set; then
11722 enableval=$enable_toolbook;
11723 if test "$enableval" = yes; then
11724 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11726 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11731 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11736 eval "$wx_cv_use_toolbook"
11738 if test x"$enablestring" = xdisable; then
11739 if test $wxUSE_TOOLBOOK = yes; then
11745 result=$wxUSE_TOOLBOOK
11748 { echo "$as_me:$LINENO: result: $result" >&5
11749 echo "${ECHO_T}$result" >&6; }
11753 defaultval=$wxUSE_ALL_FEATURES
11754 if test -z "$defaultval"; then
11755 if test x"$enablestring" = xdisable; then
11762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11763 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11764 # Check whether --enable-treectrl was given.
11765 if test "${enable_treectrl+set}" = set; then
11766 enableval=$enable_treectrl;
11767 if test "$enableval" = yes; then
11768 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11770 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11775 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11780 eval "$wx_cv_use_treectrl"
11782 if test x"$enablestring" = xdisable; then
11783 if test $wxUSE_TREECTRL = yes; then
11789 result=$wxUSE_TREECTRL
11792 { echo "$as_me:$LINENO: result: $result" >&5
11793 echo "${ECHO_T}$result" >&6; }
11797 defaultval=$wxUSE_ALL_FEATURES
11798 if test -z "$defaultval"; then
11799 if test x"$enablestring" = xdisable; then
11806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11807 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11808 # Check whether --enable-tipwindow was given.
11809 if test "${enable_tipwindow+set}" = set; then
11810 enableval=$enable_tipwindow;
11811 if test "$enableval" = yes; then
11812 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11814 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11819 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11824 eval "$wx_cv_use_tipwindow"
11826 if test x"$enablestring" = xdisable; then
11827 if test $wxUSE_TIPWINDOW = yes; then
11833 result=$wxUSE_TIPWINDOW
11836 { echo "$as_me:$LINENO: result: $result" >&5
11837 echo "${ECHO_T}$result" >&6; }
11841 defaultval=$wxUSE_ALL_FEATURES
11842 if test -z "$defaultval"; then
11843 if test x"$enablestring" = xdisable; then
11850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11851 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11852 # Check whether --enable-popupwin was given.
11853 if test "${enable_popupwin+set}" = set; then
11854 enableval=$enable_popupwin;
11855 if test "$enableval" = yes; then
11856 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11858 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11863 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11868 eval "$wx_cv_use_popupwin"
11870 if test x"$enablestring" = xdisable; then
11871 if test $wxUSE_POPUPWIN = yes; then
11877 result=$wxUSE_POPUPWIN
11880 { echo "$as_me:$LINENO: result: $result" >&5
11881 echo "${ECHO_T}$result" >&6; }
11887 defaultval=$wxUSE_ALL_FEATURES
11888 if test -z "$defaultval"; then
11889 if test x"$enablestring" = xdisable; then
11896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11897 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11898 # Check whether --enable-commondlg was given.
11899 if test "${enable_commondlg+set}" = set; then
11900 enableval=$enable_commondlg;
11901 if test "$enableval" = yes; then
11902 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11904 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11909 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
11914 eval "$wx_cv_use_commondlg"
11916 if test x"$enablestring" = xdisable; then
11917 if test $wxUSE_COMMONDLGS = yes; then
11923 result=$wxUSE_COMMONDLGS
11926 { echo "$as_me:$LINENO: result: $result" >&5
11927 echo "${ECHO_T}$result" >&6; }
11931 defaultval=$wxUSE_ALL_FEATURES
11932 if test -z "$defaultval"; then
11933 if test x"$enablestring" = xdisable; then
11940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11941 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11942 # Check whether --enable-aboutdlg was given.
11943 if test "${enable_aboutdlg+set}" = set; then
11944 enableval=$enable_aboutdlg;
11945 if test "$enableval" = yes; then
11946 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11948 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11953 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
11958 eval "$wx_cv_use_aboutdlg"
11960 if test x"$enablestring" = xdisable; then
11961 if test $wxUSE_ABOUTDLG = yes; then
11967 result=$wxUSE_ABOUTDLG
11970 { echo "$as_me:$LINENO: result: $result" >&5
11971 echo "${ECHO_T}$result" >&6; }
11975 defaultval=$wxUSE_ALL_FEATURES
11976 if test -z "$defaultval"; then
11977 if test x"$enablestring" = xdisable; then
11984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11985 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11986 # Check whether --enable-choicedlg was given.
11987 if test "${enable_choicedlg+set}" = set; then
11988 enableval=$enable_choicedlg;
11989 if test "$enableval" = yes; then
11990 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11992 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11997 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12002 eval "$wx_cv_use_choicedlg"
12004 if test x"$enablestring" = xdisable; then
12005 if test $wxUSE_CHOICEDLG = yes; then
12011 result=$wxUSE_CHOICEDLG
12014 { echo "$as_me:$LINENO: result: $result" >&5
12015 echo "${ECHO_T}$result" >&6; }
12019 defaultval=$wxUSE_ALL_FEATURES
12020 if test -z "$defaultval"; then
12021 if test x"$enablestring" = xdisable; then
12028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12029 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12030 # Check whether --enable-coldlg was given.
12031 if test "${enable_coldlg+set}" = set; then
12032 enableval=$enable_coldlg;
12033 if test "$enableval" = yes; then
12034 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12036 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12041 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12046 eval "$wx_cv_use_coldlg"
12048 if test x"$enablestring" = xdisable; then
12049 if test $wxUSE_COLOURDLG = yes; then
12055 result=$wxUSE_COLOURDLG
12058 { echo "$as_me:$LINENO: result: $result" >&5
12059 echo "${ECHO_T}$result" >&6; }
12063 defaultval=$wxUSE_ALL_FEATURES
12064 if test -z "$defaultval"; then
12065 if test x"$enablestring" = xdisable; then
12072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12073 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12074 # Check whether --enable-filedlg was given.
12075 if test "${enable_filedlg+set}" = set; then
12076 enableval=$enable_filedlg;
12077 if test "$enableval" = yes; then
12078 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12080 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12085 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12090 eval "$wx_cv_use_filedlg"
12092 if test x"$enablestring" = xdisable; then
12093 if test $wxUSE_FILEDLG = yes; then
12099 result=$wxUSE_FILEDLG
12102 { echo "$as_me:$LINENO: result: $result" >&5
12103 echo "${ECHO_T}$result" >&6; }
12107 defaultval=$wxUSE_ALL_FEATURES
12108 if test -z "$defaultval"; then
12109 if test x"$enablestring" = xdisable; then
12116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12117 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12118 # Check whether --enable-finddlg was given.
12119 if test "${enable_finddlg+set}" = set; then
12120 enableval=$enable_finddlg;
12121 if test "$enableval" = yes; then
12122 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12124 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12129 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12134 eval "$wx_cv_use_finddlg"
12136 if test x"$enablestring" = xdisable; then
12137 if test $wxUSE_FINDREPLDLG = yes; then
12143 result=$wxUSE_FINDREPLDLG
12146 { echo "$as_me:$LINENO: result: $result" >&5
12147 echo "${ECHO_T}$result" >&6; }
12151 defaultval=$wxUSE_ALL_FEATURES
12152 if test -z "$defaultval"; then
12153 if test x"$enablestring" = xdisable; then
12160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12161 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12162 # Check whether --enable-fontdlg was given.
12163 if test "${enable_fontdlg+set}" = set; then
12164 enableval=$enable_fontdlg;
12165 if test "$enableval" = yes; then
12166 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12168 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12173 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12178 eval "$wx_cv_use_fontdlg"
12180 if test x"$enablestring" = xdisable; then
12181 if test $wxUSE_FONTDLG = yes; then
12187 result=$wxUSE_FONTDLG
12190 { echo "$as_me:$LINENO: result: $result" >&5
12191 echo "${ECHO_T}$result" >&6; }
12195 defaultval=$wxUSE_ALL_FEATURES
12196 if test -z "$defaultval"; then
12197 if test x"$enablestring" = xdisable; then
12204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12205 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12206 # Check whether --enable-dirdlg was given.
12207 if test "${enable_dirdlg+set}" = set; then
12208 enableval=$enable_dirdlg;
12209 if test "$enableval" = yes; then
12210 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12212 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12217 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12222 eval "$wx_cv_use_dirdlg"
12224 if test x"$enablestring" = xdisable; then
12225 if test $wxUSE_DIRDLG = yes; then
12231 result=$wxUSE_DIRDLG
12234 { echo "$as_me:$LINENO: result: $result" >&5
12235 echo "${ECHO_T}$result" >&6; }
12239 defaultval=$wxUSE_ALL_FEATURES
12240 if test -z "$defaultval"; then
12241 if test x"$enablestring" = xdisable; then
12248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12249 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12250 # Check whether --enable-msgdlg was given.
12251 if test "${enable_msgdlg+set}" = set; then
12252 enableval=$enable_msgdlg;
12253 if test "$enableval" = yes; then
12254 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12256 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12261 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12266 eval "$wx_cv_use_msgdlg"
12268 if test x"$enablestring" = xdisable; then
12269 if test $wxUSE_MSGDLG = yes; then
12275 result=$wxUSE_MSGDLG
12278 { echo "$as_me:$LINENO: result: $result" >&5
12279 echo "${ECHO_T}$result" >&6; }
12283 defaultval=$wxUSE_ALL_FEATURES
12284 if test -z "$defaultval"; then
12285 if test x"$enablestring" = xdisable; then
12292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12293 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12294 # Check whether --enable-numberdlg was given.
12295 if test "${enable_numberdlg+set}" = set; then
12296 enableval=$enable_numberdlg;
12297 if test "$enableval" = yes; then
12298 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12300 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12305 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12310 eval "$wx_cv_use_numberdlg"
12312 if test x"$enablestring" = xdisable; then
12313 if test $wxUSE_NUMBERDLG = yes; then
12319 result=$wxUSE_NUMBERDLG
12322 { echo "$as_me:$LINENO: result: $result" >&5
12323 echo "${ECHO_T}$result" >&6; }
12327 defaultval=$wxUSE_ALL_FEATURES
12328 if test -z "$defaultval"; then
12329 if test x"$enablestring" = xdisable; then
12336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12337 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12338 # Check whether --enable-splash was given.
12339 if test "${enable_splash+set}" = set; then
12340 enableval=$enable_splash;
12341 if test "$enableval" = yes; then
12342 wx_cv_use_splash='wxUSE_SPLASH=yes'
12344 wx_cv_use_splash='wxUSE_SPLASH=no'
12349 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12354 eval "$wx_cv_use_splash"
12356 if test x"$enablestring" = xdisable; then
12357 if test $wxUSE_SPLASH = yes; then
12363 result=$wxUSE_SPLASH
12366 { echo "$as_me:$LINENO: result: $result" >&5
12367 echo "${ECHO_T}$result" >&6; }
12371 defaultval=$wxUSE_ALL_FEATURES
12372 if test -z "$defaultval"; then
12373 if test x"$enablestring" = xdisable; then
12380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12381 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12382 # Check whether --enable-textdlg was given.
12383 if test "${enable_textdlg+set}" = set; then
12384 enableval=$enable_textdlg;
12385 if test "$enableval" = yes; then
12386 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12388 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12393 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12398 eval "$wx_cv_use_textdlg"
12400 if test x"$enablestring" = xdisable; then
12401 if test $wxUSE_TEXTDLG = yes; then
12407 result=$wxUSE_TEXTDLG
12410 { echo "$as_me:$LINENO: result: $result" >&5
12411 echo "${ECHO_T}$result" >&6; }
12415 defaultval=$wxUSE_ALL_FEATURES
12416 if test -z "$defaultval"; then
12417 if test x"$enablestring" = xdisable; then
12424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12425 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12426 # Check whether --enable-tipdlg was given.
12427 if test "${enable_tipdlg+set}" = set; then
12428 enableval=$enable_tipdlg;
12429 if test "$enableval" = yes; then
12430 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12432 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12437 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12442 eval "$wx_cv_use_tipdlg"
12444 if test x"$enablestring" = xdisable; then
12445 if test $wxUSE_STARTUP_TIPS = yes; then
12451 result=$wxUSE_STARTUP_TIPS
12454 { echo "$as_me:$LINENO: result: $result" >&5
12455 echo "${ECHO_T}$result" >&6; }
12459 defaultval=$wxUSE_ALL_FEATURES
12460 if test -z "$defaultval"; then
12461 if test x"$enablestring" = xdisable; then
12468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12469 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12470 # Check whether --enable-progressdlg was given.
12471 if test "${enable_progressdlg+set}" = set; then
12472 enableval=$enable_progressdlg;
12473 if test "$enableval" = yes; then
12474 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12476 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12481 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12486 eval "$wx_cv_use_progressdlg"
12488 if test x"$enablestring" = xdisable; then
12489 if test $wxUSE_PROGRESSDLG = yes; then
12495 result=$wxUSE_PROGRESSDLG
12498 { echo "$as_me:$LINENO: result: $result" >&5
12499 echo "${ECHO_T}$result" >&6; }
12503 defaultval=$wxUSE_ALL_FEATURES
12504 if test -z "$defaultval"; then
12505 if test x"$enablestring" = xdisable; then
12512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12513 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12514 # Check whether --enable-wizarddlg was given.
12515 if test "${enable_wizarddlg+set}" = set; then
12516 enableval=$enable_wizarddlg;
12517 if test "$enableval" = yes; then
12518 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12520 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12525 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12530 eval "$wx_cv_use_wizarddlg"
12532 if test x"$enablestring" = xdisable; then
12533 if test $wxUSE_WIZARDDLG = yes; then
12539 result=$wxUSE_WIZARDDLG
12542 { echo "$as_me:$LINENO: result: $result" >&5
12543 echo "${ECHO_T}$result" >&6; }
12549 defaultval=$wxUSE_ALL_FEATURES
12550 if test -z "$defaultval"; then
12551 if test x"$enablestring" = xdisable; then
12558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12559 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12560 # Check whether --enable-menus was given.
12561 if test "${enable_menus+set}" = set; then
12562 enableval=$enable_menus;
12563 if test "$enableval" = yes; then
12564 wx_cv_use_menus='wxUSE_MENUS=yes'
12566 wx_cv_use_menus='wxUSE_MENUS=no'
12571 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12576 eval "$wx_cv_use_menus"
12578 if test x"$enablestring" = xdisable; then
12579 if test $wxUSE_MENUS = yes; then
12585 result=$wxUSE_MENUS
12588 { echo "$as_me:$LINENO: result: $result" >&5
12589 echo "${ECHO_T}$result" >&6; }
12593 defaultval=$wxUSE_ALL_FEATURES
12594 if test -z "$defaultval"; then
12595 if test x"$enablestring" = xdisable; then
12602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12603 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12604 # Check whether --enable-miniframe was given.
12605 if test "${enable_miniframe+set}" = set; then
12606 enableval=$enable_miniframe;
12607 if test "$enableval" = yes; then
12608 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12610 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12615 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12620 eval "$wx_cv_use_miniframe"
12622 if test x"$enablestring" = xdisable; then
12623 if test $wxUSE_MINIFRAME = yes; then
12629 result=$wxUSE_MINIFRAME
12632 { echo "$as_me:$LINENO: result: $result" >&5
12633 echo "${ECHO_T}$result" >&6; }
12637 defaultval=$wxUSE_ALL_FEATURES
12638 if test -z "$defaultval"; then
12639 if test x"$enablestring" = xdisable; then
12646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12647 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12648 # Check whether --enable-tooltips was given.
12649 if test "${enable_tooltips+set}" = set; then
12650 enableval=$enable_tooltips;
12651 if test "$enableval" = yes; then
12652 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12654 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12659 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12664 eval "$wx_cv_use_tooltips"
12666 if test x"$enablestring" = xdisable; then
12667 if test $wxUSE_TOOLTIPS = yes; then
12673 result=$wxUSE_TOOLTIPS
12676 { echo "$as_me:$LINENO: result: $result" >&5
12677 echo "${ECHO_T}$result" >&6; }
12681 defaultval=$wxUSE_ALL_FEATURES
12682 if test -z "$defaultval"; then
12683 if test x"$enablestring" = xdisable; then
12690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12691 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12692 # Check whether --enable-splines was given.
12693 if test "${enable_splines+set}" = set; then
12694 enableval=$enable_splines;
12695 if test "$enableval" = yes; then
12696 wx_cv_use_splines='wxUSE_SPLINES=yes'
12698 wx_cv_use_splines='wxUSE_SPLINES=no'
12703 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12708 eval "$wx_cv_use_splines"
12710 if test x"$enablestring" = xdisable; then
12711 if test $wxUSE_SPLINES = yes; then
12717 result=$wxUSE_SPLINES
12720 { echo "$as_me:$LINENO: result: $result" >&5
12721 echo "${ECHO_T}$result" >&6; }
12725 defaultval=$wxUSE_ALL_FEATURES
12726 if test -z "$defaultval"; then
12727 if test x"$enablestring" = xdisable; then
12734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12735 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12736 # Check whether --enable-mousewheel was given.
12737 if test "${enable_mousewheel+set}" = set; then
12738 enableval=$enable_mousewheel;
12739 if test "$enableval" = yes; then
12740 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12742 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12747 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12752 eval "$wx_cv_use_mousewheel"
12754 if test x"$enablestring" = xdisable; then
12755 if test $wxUSE_MOUSEWHEEL = yes; then
12761 result=$wxUSE_MOUSEWHEEL
12764 { echo "$as_me:$LINENO: result: $result" >&5
12765 echo "${ECHO_T}$result" >&6; }
12769 defaultval=$wxUSE_ALL_FEATURES
12770 if test -z "$defaultval"; then
12771 if test x"$enablestring" = xdisable; then
12778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12779 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12780 # Check whether --enable-validators was given.
12781 if test "${enable_validators+set}" = set; then
12782 enableval=$enable_validators;
12783 if test "$enableval" = yes; then
12784 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12786 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12791 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12796 eval "$wx_cv_use_validators"
12798 if test x"$enablestring" = xdisable; then
12799 if test $wxUSE_VALIDATORS = yes; then
12805 result=$wxUSE_VALIDATORS
12808 { echo "$as_me:$LINENO: result: $result" >&5
12809 echo "${ECHO_T}$result" >&6; }
12813 defaultval=$wxUSE_ALL_FEATURES
12814 if test -z "$defaultval"; then
12815 if test x"$enablestring" = xdisable; then
12822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12823 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12824 # Check whether --enable-busyinfo was given.
12825 if test "${enable_busyinfo+set}" = set; then
12826 enableval=$enable_busyinfo;
12827 if test "$enableval" = yes; then
12828 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12830 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12835 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
12840 eval "$wx_cv_use_busyinfo"
12842 if test x"$enablestring" = xdisable; then
12843 if test $wxUSE_BUSYINFO = yes; then
12849 result=$wxUSE_BUSYINFO
12852 { echo "$as_me:$LINENO: result: $result" >&5
12853 echo "${ECHO_T}$result" >&6; }
12857 defaultval=$wxUSE_ALL_FEATURES
12858 if test -z "$defaultval"; then
12859 if test x"$enablestring" = xdisable; then
12866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12867 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12868 # Check whether --enable-joystick was given.
12869 if test "${enable_joystick+set}" = set; then
12870 enableval=$enable_joystick;
12871 if test "$enableval" = yes; then
12872 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
12874 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
12879 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
12884 eval "$wx_cv_use_joystick"
12886 if test x"$enablestring" = xdisable; then
12887 if test $wxUSE_JOYSTICK = yes; then
12893 result=$wxUSE_JOYSTICK
12896 { echo "$as_me:$LINENO: result: $result" >&5
12897 echo "${ECHO_T}$result" >&6; }
12901 defaultval=$wxUSE_ALL_FEATURES
12902 if test -z "$defaultval"; then
12903 if test x"$enablestring" = xdisable; then
12910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12911 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12912 # Check whether --enable-metafile was given.
12913 if test "${enable_metafile+set}" = set; then
12914 enableval=$enable_metafile;
12915 if test "$enableval" = yes; then
12916 wx_cv_use_metafile='wxUSE_METAFILE=yes'
12918 wx_cv_use_metafile='wxUSE_METAFILE=no'
12923 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
12928 eval "$wx_cv_use_metafile"
12930 if test x"$enablestring" = xdisable; then
12931 if test $wxUSE_METAFILE = yes; then
12937 result=$wxUSE_METAFILE
12940 { echo "$as_me:$LINENO: result: $result" >&5
12941 echo "${ECHO_T}$result" >&6; }
12945 defaultval=$wxUSE_ALL_FEATURES
12946 if test -z "$defaultval"; then
12947 if test x"$enablestring" = xdisable; then
12954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12955 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12956 # Check whether --enable-dragimage was given.
12957 if test "${enable_dragimage+set}" = set; then
12958 enableval=$enable_dragimage;
12959 if test "$enableval" = yes; then
12960 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12962 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12967 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
12972 eval "$wx_cv_use_dragimage"
12974 if test x"$enablestring" = xdisable; then
12975 if test $wxUSE_DRAGIMAGE = yes; then
12981 result=$wxUSE_DRAGIMAGE
12984 { echo "$as_me:$LINENO: result: $result" >&5
12985 echo "${ECHO_T}$result" >&6; }
12989 defaultval=$wxUSE_ALL_FEATURES
12990 if test -z "$defaultval"; then
12991 if test x"$enablestring" = xdisable; then
12998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12999 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13000 # Check whether --enable-accessibility was given.
13001 if test "${enable_accessibility+set}" = set; then
13002 enableval=$enable_accessibility;
13003 if test "$enableval" = yes; then
13004 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13006 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13011 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13016 eval "$wx_cv_use_accessibility"
13018 if test x"$enablestring" = xdisable; then
13019 if test $wxUSE_ACCESSIBILITY = yes; then
13025 result=$wxUSE_ACCESSIBILITY
13028 { echo "$as_me:$LINENO: result: $result" >&5
13029 echo "${ECHO_T}$result" >&6; }
13035 defaultval=$wxUSE_ALL_FEATURES
13036 if test -z "$defaultval"; then
13037 if test x"$enablestring" = xdisable; then
13044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13045 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13046 # Check whether --enable-palette was given.
13047 if test "${enable_palette+set}" = set; then
13048 enableval=$enable_palette;
13049 if test "$enableval" = yes; then
13050 wx_cv_use_palette='wxUSE_PALETTE=yes'
13052 wx_cv_use_palette='wxUSE_PALETTE=no'
13057 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13062 eval "$wx_cv_use_palette"
13064 if test x"$enablestring" = xdisable; then
13065 if test $wxUSE_PALETTE = yes; then
13071 result=$wxUSE_PALETTE
13074 { echo "$as_me:$LINENO: result: $result" >&5
13075 echo "${ECHO_T}$result" >&6; }
13079 defaultval=$wxUSE_ALL_FEATURES
13080 if test -z "$defaultval"; then
13081 if test x"$enablestring" = xdisable; then
13088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13089 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13090 # Check whether --enable-image was given.
13091 if test "${enable_image+set}" = set; then
13092 enableval=$enable_image;
13093 if test "$enableval" = yes; then
13094 wx_cv_use_image='wxUSE_IMAGE=yes'
13096 wx_cv_use_image='wxUSE_IMAGE=no'
13101 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13106 eval "$wx_cv_use_image"
13108 if test x"$enablestring" = xdisable; then
13109 if test $wxUSE_IMAGE = yes; then
13115 result=$wxUSE_IMAGE
13118 { echo "$as_me:$LINENO: result: $result" >&5
13119 echo "${ECHO_T}$result" >&6; }
13123 defaultval=$wxUSE_ALL_FEATURES
13124 if test -z "$defaultval"; then
13125 if test x"$enablestring" = xdisable; then
13132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13133 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13134 # Check whether --enable-gif was given.
13135 if test "${enable_gif+set}" = set; then
13136 enableval=$enable_gif;
13137 if test "$enableval" = yes; then
13138 wx_cv_use_gif='wxUSE_GIF=yes'
13140 wx_cv_use_gif='wxUSE_GIF=no'
13145 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13150 eval "$wx_cv_use_gif"
13152 if test x"$enablestring" = xdisable; then
13153 if test $wxUSE_GIF = yes; then
13162 { echo "$as_me:$LINENO: result: $result" >&5
13163 echo "${ECHO_T}$result" >&6; }
13167 defaultval=$wxUSE_ALL_FEATURES
13168 if test -z "$defaultval"; then
13169 if test x"$enablestring" = xdisable; then
13176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13177 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13178 # Check whether --enable-pcx was given.
13179 if test "${enable_pcx+set}" = set; then
13180 enableval=$enable_pcx;
13181 if test "$enableval" = yes; then
13182 wx_cv_use_pcx='wxUSE_PCX=yes'
13184 wx_cv_use_pcx='wxUSE_PCX=no'
13189 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13194 eval "$wx_cv_use_pcx"
13196 if test x"$enablestring" = xdisable; then
13197 if test $wxUSE_PCX = yes; then
13206 { echo "$as_me:$LINENO: result: $result" >&5
13207 echo "${ECHO_T}$result" >&6; }
13211 defaultval=$wxUSE_ALL_FEATURES
13212 if test -z "$defaultval"; then
13213 if test x"$enablestring" = xdisable; then
13220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13221 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13222 # Check whether --enable-tga was given.
13223 if test "${enable_tga+set}" = set; then
13224 enableval=$enable_tga;
13225 if test "$enableval" = yes; then
13226 wx_cv_use_tga='wxUSE_TGA=yes'
13228 wx_cv_use_tga='wxUSE_TGA=no'
13233 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13238 eval "$wx_cv_use_tga"
13240 if test x"$enablestring" = xdisable; then
13241 if test $wxUSE_TGA = yes; then
13250 { echo "$as_me:$LINENO: result: $result" >&5
13251 echo "${ECHO_T}$result" >&6; }
13255 defaultval=$wxUSE_ALL_FEATURES
13256 if test -z "$defaultval"; then
13257 if test x"$enablestring" = xdisable; then
13264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13265 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13266 # Check whether --enable-iff was given.
13267 if test "${enable_iff+set}" = set; then
13268 enableval=$enable_iff;
13269 if test "$enableval" = yes; then
13270 wx_cv_use_iff='wxUSE_IFF=yes'
13272 wx_cv_use_iff='wxUSE_IFF=no'
13277 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13282 eval "$wx_cv_use_iff"
13284 if test x"$enablestring" = xdisable; then
13285 if test $wxUSE_IFF = yes; then
13294 { echo "$as_me:$LINENO: result: $result" >&5
13295 echo "${ECHO_T}$result" >&6; }
13299 defaultval=$wxUSE_ALL_FEATURES
13300 if test -z "$defaultval"; then
13301 if test x"$enablestring" = xdisable; then
13308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13309 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13310 # Check whether --enable-pnm was given.
13311 if test "${enable_pnm+set}" = set; then
13312 enableval=$enable_pnm;
13313 if test "$enableval" = yes; then
13314 wx_cv_use_pnm='wxUSE_PNM=yes'
13316 wx_cv_use_pnm='wxUSE_PNM=no'
13321 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13326 eval "$wx_cv_use_pnm"
13328 if test x"$enablestring" = xdisable; then
13329 if test $wxUSE_PNM = yes; then
13338 { echo "$as_me:$LINENO: result: $result" >&5
13339 echo "${ECHO_T}$result" >&6; }
13343 defaultval=$wxUSE_ALL_FEATURES
13344 if test -z "$defaultval"; then
13345 if test x"$enablestring" = xdisable; then
13352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13353 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13354 # Check whether --enable-xpm was given.
13355 if test "${enable_xpm+set}" = set; then
13356 enableval=$enable_xpm;
13357 if test "$enableval" = yes; then
13358 wx_cv_use_xpm='wxUSE_XPM=yes'
13360 wx_cv_use_xpm='wxUSE_XPM=no'
13365 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13370 eval "$wx_cv_use_xpm"
13372 if test x"$enablestring" = xdisable; then
13373 if test $wxUSE_XPM = yes; then
13382 { echo "$as_me:$LINENO: result: $result" >&5
13383 echo "${ECHO_T}$result" >&6; }
13387 defaultval=$wxUSE_ALL_FEATURES
13388 if test -z "$defaultval"; then
13389 if test x"$enablestring" = xdisable; then
13396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13397 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13398 # Check whether --enable-ico_cur was given.
13399 if test "${enable_ico_cur+set}" = set; then
13400 enableval=$enable_ico_cur;
13401 if test "$enableval" = yes; then
13402 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13404 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13409 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13414 eval "$wx_cv_use_ico_cur"
13416 if test x"$enablestring" = xdisable; then
13417 if test $wxUSE_ICO_CUR = yes; then
13423 result=$wxUSE_ICO_CUR
13426 { echo "$as_me:$LINENO: result: $result" >&5
13427 echo "${ECHO_T}$result" >&6; }
13433 defaultval=$wxUSE_ALL_FEATURES
13434 if test -z "$defaultval"; then
13435 if test x"$enablestring" = xdisable; then
13442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13443 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13444 # Check whether --enable-dccache was given.
13445 if test "${enable_dccache+set}" = set; then
13446 enableval=$enable_dccache;
13447 if test "$enableval" = yes; then
13448 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13450 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13455 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13460 eval "$wx_cv_use_dccache"
13462 if test x"$enablestring" = xdisable; then
13463 if test $wxUSE_DC_CACHEING = yes; then
13469 result=$wxUSE_DC_CACHEING
13472 { echo "$as_me:$LINENO: result: $result" >&5
13473 echo "${ECHO_T}$result" >&6; }
13477 defaultval=$wxUSE_ALL_FEATURES
13478 if test -z "$defaultval"; then
13479 if test x"$enablestring" = xdisable; then
13486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13487 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13488 # Check whether --enable-ps-in-msw was given.
13489 if test "${enable_ps_in_msw+set}" = set; then
13490 enableval=$enable_ps_in_msw;
13491 if test "$enableval" = yes; then
13492 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13494 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13499 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13504 eval "$wx_cv_use_ps_in_msw"
13506 if test x"$enablestring" = xdisable; then
13507 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13513 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13516 { echo "$as_me:$LINENO: result: $result" >&5
13517 echo "${ECHO_T}$result" >&6; }
13521 defaultval=$wxUSE_ALL_FEATURES
13522 if test -z "$defaultval"; then
13523 if test x"$enablestring" = xdisable; then
13530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13531 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13532 # Check whether --enable-ownerdrawn was given.
13533 if test "${enable_ownerdrawn+set}" = set; then
13534 enableval=$enable_ownerdrawn;
13535 if test "$enableval" = yes; then
13536 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13538 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13543 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13548 eval "$wx_cv_use_ownerdrawn"
13550 if test x"$enablestring" = xdisable; then
13551 if test $wxUSE_OWNER_DRAWN = yes; then
13557 result=$wxUSE_OWNER_DRAWN
13560 { echo "$as_me:$LINENO: result: $result" >&5
13561 echo "${ECHO_T}$result" >&6; }
13565 defaultval=$wxUSE_ALL_FEATURES
13566 if test -z "$defaultval"; then
13567 if test x"$enablestring" = xdisable; then
13574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13575 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13576 # Check whether --enable-uxtheme was given.
13577 if test "${enable_uxtheme+set}" = set; then
13578 enableval=$enable_uxtheme;
13579 if test "$enableval" = yes; then
13580 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13582 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13587 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13592 eval "$wx_cv_use_uxtheme"
13594 if test x"$enablestring" = xdisable; then
13595 if test $wxUSE_UXTHEME = yes; then
13601 result=$wxUSE_UXTHEME
13604 { echo "$as_me:$LINENO: result: $result" >&5
13605 echo "${ECHO_T}$result" >&6; }
13609 defaultval=$wxUSE_ALL_FEATURES
13610 if test -z "$defaultval"; then
13611 if test x"$enablestring" = xdisable; then
13618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13619 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13620 # Check whether --enable-wxdib was given.
13621 if test "${enable_wxdib+set}" = set; then
13622 enableval=$enable_wxdib;
13623 if test "$enableval" = yes; then
13624 wx_cv_use_wxdib='wxUSE_DIB=yes'
13626 wx_cv_use_wxdib='wxUSE_DIB=no'
13631 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13636 eval "$wx_cv_use_wxdib"
13638 if test x"$enablestring" = xdisable; then
13639 if test $wxUSE_DIB = yes; then
13648 { echo "$as_me:$LINENO: result: $result" >&5
13649 echo "${ECHO_T}$result" >&6; }
13655 { echo "$as_me:$LINENO: checking for toolkit" >&5
13656 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
13658 # In Wine, we need to default to MSW, not GTK or MOTIF
13659 if test "$wxUSE_WINE" = "yes"; then
13660 DEFAULT_DEFAULT_wxUSE_GTK=0
13661 DEFAULT_DEFAULT_wxUSE_MOTIF=0
13662 DEFAULT_DEFAULT_wxUSE_MSW=1
13665 CXX=${CXX:-wineg++}
13669 if test "$wxUSE_GUI" = "yes"; then
13671 if test "$USE_BEOS" = 1; then
13672 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
13673 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
13674 { (exit 1); exit 1; }; }
13677 if test "$TOOLKIT_GIVEN" = 1; then
13678 for toolkit in $ALL_TOOLKITS; do
13680 eval "value=\$${var}"
13681 if test "x$value" = "xno"; then
13683 elif test "x$value" != "x"; then
13687 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
13688 eval "wx${toolkit}_VERSION=$value"
13692 for toolkit in $ALL_TOOLKITS; do
13693 var=DEFAULT_DEFAULT_wxUSE_$toolkit
13694 eval "wxUSE_$toolkit=\$${var}"
13698 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
13699 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
13700 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
13703 *-pc-os2_emx | *-pc-os2-emx )
13704 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
13707 case "$NUM_TOOLKITS" in
13711 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
13712 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
13713 { (exit 1); exit 1; }; }
13716 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
13717 echo "$as_me: error: Please specify at most one toolkit" >&2;}
13718 { (exit 1); exit 1; }; }
13721 # to be removed when --disable-gtk2 isn't needed
13722 if test "x$wxUSE_GTK2" = "xyes"; then
13724 elif test "x$wxUSE_GTK2" = "xno"; then
13728 for toolkit in $ALL_TOOLKITS; do
13730 eval "value=\$${var}"
13731 if test "$value" = 1; then
13732 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
13733 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
13734 echo "${ECHO_T}$toolkit_echo" >&6; }
13738 if test "x$host_alias" != "x"; then
13739 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
13740 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
13742 { echo "$as_me:$LINENO: result: base only" >&5
13743 echo "${ECHO_T}base only" >&6; }
13748 cat >confcache <<\_ACEOF
13749 # This file is a shell script that caches the results of configure
13750 # tests run on this system so they can be shared between configure
13751 # scripts and configure runs, see configure's option --config-cache.
13752 # It is not useful on other systems. If it contains results you don't
13753 # want to keep, you may remove or edit it.
13755 # config.status only pays attention to the cache file if you give it
13756 # the --recheck option to rerun configure.
13758 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13759 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13760 # following values.
13764 # The following way of writing the cache mishandles newlines in values,
13765 # but we know of no workaround that is simple, portable, and efficient.
13766 # So, we kill variables containing newlines.
13767 # Ultrix sh set writes to stderr and can't be redirected directly,
13768 # and sets the high bit in the cache file unless we assign to the vars.
13770 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13771 eval ac_val=\$$ac_var
13775 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13776 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13779 _ | IFS | as_nl) ;; #(
13780 *) $as_unset $ac_var ;;
13786 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13787 *${as_nl}ac_space=\ *)
13788 # `set' does not quote correctly, so add quotes (double-quote
13789 # substitution turns \\\\ into \\, and sed turns \\ into \).
13792 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13795 # `set' quotes correctly as required by POSIX, so do not add quotes.
13796 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13805 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13807 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13809 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13810 if test -w "$cache_file"; then
13811 test "x$cache_file" != "x/dev/null" &&
13812 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13813 echo "$as_me: updating cache $cache_file" >&6;}
13814 cat confcache >$cache_file
13816 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13817 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13827 ac_cpp='$CPP $CPPFLAGS'
13828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13831 if test -n "$ac_tool_prefix"; then
13832 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13833 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13836 if test "${ac_cv_prog_CC+set}" = set; then
13837 echo $ECHO_N "(cached) $ECHO_C" >&6
13839 if test -n "$CC"; then
13840 ac_cv_prog_CC="$CC" # Let the user override the test.
13842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13843 for as_dir in $PATH
13846 test -z "$as_dir" && as_dir=.
13847 for ac_exec_ext in '' $ac_executable_extensions; do
13848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13849 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13860 if test -n "$CC"; then
13861 { echo "$as_me:$LINENO: result: $CC" >&5
13862 echo "${ECHO_T}$CC" >&6; }
13864 { echo "$as_me:$LINENO: result: no" >&5
13865 echo "${ECHO_T}no" >&6; }
13870 if test -z "$ac_cv_prog_CC"; then
13872 # Extract the first word of "gcc", so it can be a program name with args.
13873 set dummy gcc; ac_word=$2
13874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13876 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13877 echo $ECHO_N "(cached) $ECHO_C" >&6
13879 if test -n "$ac_ct_CC"; then
13880 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13883 for as_dir in $PATH
13886 test -z "$as_dir" && as_dir=.
13887 for ac_exec_ext in '' $ac_executable_extensions; do
13888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13889 ac_cv_prog_ac_ct_CC="gcc"
13890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13899 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13900 if test -n "$ac_ct_CC"; then
13901 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13902 echo "${ECHO_T}$ac_ct_CC" >&6; }
13904 { echo "$as_me:$LINENO: result: no" >&5
13905 echo "${ECHO_T}no" >&6; }
13908 if test "x$ac_ct_CC" = x; then
13911 case $cross_compiling:$ac_tool_warned in
13913 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13914 whose name does not start with the host triplet. If you think this
13915 configuration is useful to you, please write to autoconf@gnu.org." >&5
13916 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13917 whose name does not start with the host triplet. If you think this
13918 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13919 ac_tool_warned=yes ;;
13924 CC="$ac_cv_prog_CC"
13927 if test -z "$CC"; then
13928 if test -n "$ac_tool_prefix"; then
13929 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13930 set dummy ${ac_tool_prefix}cc; ac_word=$2
13931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13933 if test "${ac_cv_prog_CC+set}" = set; then
13934 echo $ECHO_N "(cached) $ECHO_C" >&6
13936 if test -n "$CC"; then
13937 ac_cv_prog_CC="$CC" # Let the user override the test.
13939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13940 for as_dir in $PATH
13943 test -z "$as_dir" && as_dir=.
13944 for ac_exec_ext in '' $ac_executable_extensions; do
13945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13946 ac_cv_prog_CC="${ac_tool_prefix}cc"
13947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13957 if test -n "$CC"; then
13958 { echo "$as_me:$LINENO: result: $CC" >&5
13959 echo "${ECHO_T}$CC" >&6; }
13961 { echo "$as_me:$LINENO: result: no" >&5
13962 echo "${ECHO_T}no" >&6; }
13968 if test -z "$CC"; then
13969 # Extract the first word of "cc", so it can be a program name with args.
13970 set dummy cc; ac_word=$2
13971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13973 if test "${ac_cv_prog_CC+set}" = set; then
13974 echo $ECHO_N "(cached) $ECHO_C" >&6
13976 if test -n "$CC"; then
13977 ac_cv_prog_CC="$CC" # Let the user override the test.
13979 ac_prog_rejected=no
13980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13981 for as_dir in $PATH
13984 test -z "$as_dir" && as_dir=.
13985 for ac_exec_ext in '' $ac_executable_extensions; do
13986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13987 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13988 ac_prog_rejected=yes
13992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13999 if test $ac_prog_rejected = yes; then
14000 # We found a bogon in the path, so make sure we never use it.
14001 set dummy $ac_cv_prog_CC
14003 if test $# != 0; then
14004 # We chose a different compiler from the bogus one.
14005 # However, it has the same basename, so the bogon will be chosen
14006 # first if we set CC to just the basename; use the full file name.
14008 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14014 if test -n "$CC"; then
14015 { echo "$as_me:$LINENO: result: $CC" >&5
14016 echo "${ECHO_T}$CC" >&6; }
14018 { echo "$as_me:$LINENO: result: no" >&5
14019 echo "${ECHO_T}no" >&6; }
14024 if test -z "$CC"; then
14025 if test -n "$ac_tool_prefix"; then
14026 for ac_prog in cl.exe
14028 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14029 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14032 if test "${ac_cv_prog_CC+set}" = set; then
14033 echo $ECHO_N "(cached) $ECHO_C" >&6
14035 if test -n "$CC"; then
14036 ac_cv_prog_CC="$CC" # Let the user override the test.
14038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14039 for as_dir in $PATH
14042 test -z "$as_dir" && as_dir=.
14043 for ac_exec_ext in '' $ac_executable_extensions; do
14044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14045 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14056 if test -n "$CC"; then
14057 { echo "$as_me:$LINENO: result: $CC" >&5
14058 echo "${ECHO_T}$CC" >&6; }
14060 { echo "$as_me:$LINENO: result: no" >&5
14061 echo "${ECHO_T}no" >&6; }
14065 test -n "$CC" && break
14068 if test -z "$CC"; then
14070 for ac_prog in cl.exe
14072 # Extract the first word of "$ac_prog", so it can be a program name with args.
14073 set dummy $ac_prog; ac_word=$2
14074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14076 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14077 echo $ECHO_N "(cached) $ECHO_C" >&6
14079 if test -n "$ac_ct_CC"; then
14080 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14083 for as_dir in $PATH
14086 test -z "$as_dir" && as_dir=.
14087 for ac_exec_ext in '' $ac_executable_extensions; do
14088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14089 ac_cv_prog_ac_ct_CC="$ac_prog"
14090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14099 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14100 if test -n "$ac_ct_CC"; then
14101 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14102 echo "${ECHO_T}$ac_ct_CC" >&6; }
14104 { echo "$as_me:$LINENO: result: no" >&5
14105 echo "${ECHO_T}no" >&6; }
14109 test -n "$ac_ct_CC" && break
14112 if test "x$ac_ct_CC" = x; then
14115 case $cross_compiling:$ac_tool_warned in
14117 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14118 whose name does not start with the host triplet. If you think this
14119 configuration is useful to you, please write to autoconf@gnu.org." >&5
14120 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14121 whose name does not start with the host triplet. If you think this
14122 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14123 ac_tool_warned=yes ;;
14132 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14133 See \`config.log' for more details." >&5
14134 echo "$as_me: error: no acceptable C compiler found in \$PATH
14135 See \`config.log' for more details." >&2;}
14136 { (exit 1); exit 1; }; }
14138 # Provide some information about the compiler.
14139 echo "$as_me:$LINENO: checking for C compiler version" >&5
14140 ac_compiler=`set X $ac_compile; echo $2`
14141 { (ac_try="$ac_compiler --version >&5"
14142 case "(($ac_try" in
14143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14144 *) ac_try_echo=$ac_try;;
14146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14147 (eval "$ac_compiler --version >&5") 2>&5
14149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14150 (exit $ac_status); }
14151 { (ac_try="$ac_compiler -v >&5"
14152 case "(($ac_try" in
14153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14154 *) ac_try_echo=$ac_try;;
14156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14157 (eval "$ac_compiler -v >&5") 2>&5
14159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160 (exit $ac_status); }
14161 { (ac_try="$ac_compiler -V >&5"
14162 case "(($ac_try" in
14163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14164 *) ac_try_echo=$ac_try;;
14166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14167 (eval "$ac_compiler -V >&5") 2>&5
14169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170 (exit $ac_status); }
14172 cat >conftest.$ac_ext <<_ACEOF
14175 cat confdefs.h >>conftest.$ac_ext
14176 cat >>conftest.$ac_ext <<_ACEOF
14177 /* end confdefs.h. */
14187 ac_clean_files_save=$ac_clean_files
14188 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14189 # Try to create an executable without -o first, disregard a.out.
14190 # It will help us diagnose broken compilers, and finding out an intuition
14192 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14193 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14194 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14196 # List of possible output files, starting from the most likely.
14197 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14198 # only as a last resort. b.out is created by i960 compilers.
14199 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14201 # The IRIX 6 linker writes into existing files which may not be
14202 # executable, retaining their permissions. Remove them first so a
14203 # subsequent execution test works.
14205 for ac_file in $ac_files
14208 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14209 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14214 if { (ac_try="$ac_link_default"
14215 case "(($ac_try" in
14216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14217 *) ac_try_echo=$ac_try;;
14219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14220 (eval "$ac_link_default") 2>&5
14222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223 (exit $ac_status); }; then
14224 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14225 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14226 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14227 # so that the user can short-circuit this test for compilers unknown to
14229 for ac_file in $ac_files ''
14231 test -f "$ac_file" || continue
14233 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14236 # We found the default executable, but exeext='' is most
14240 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14242 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14244 # We set ac_cv_exeext here because the later test for it is not
14245 # safe: cross compilers may not add the suffix if given an `-o'
14246 # argument, so we may need to know it at that point already.
14247 # Even if this section looks crufty: it has the advantage of
14248 # actually working.
14254 test "$ac_cv_exeext" = no && ac_cv_exeext=
14260 { echo "$as_me:$LINENO: result: $ac_file" >&5
14261 echo "${ECHO_T}$ac_file" >&6; }
14262 if test -z "$ac_file"; then
14263 echo "$as_me: failed program was:" >&5
14264 sed 's/^/| /' conftest.$ac_ext >&5
14266 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14267 See \`config.log' for more details." >&5
14268 echo "$as_me: error: C compiler cannot create executables
14269 See \`config.log' for more details." >&2;}
14270 { (exit 77); exit 77; }; }
14273 ac_exeext=$ac_cv_exeext
14275 # Check that the compiler produces executables we can run. If not, either
14276 # the compiler is broken, or we cross compile.
14277 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14278 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14279 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14280 # If not cross compiling, check that we can run a simple program.
14281 if test "$cross_compiling" != yes; then
14282 if { ac_try='./$ac_file'
14283 { (case "(($ac_try" in
14284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14285 *) ac_try_echo=$ac_try;;
14287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14288 (eval "$ac_try") 2>&5
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); }; }; then
14294 if test "$cross_compiling" = maybe; then
14295 cross_compiling=yes
14297 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14298 If you meant to cross compile, use \`--host'.
14299 See \`config.log' for more details." >&5
14300 echo "$as_me: error: cannot run C compiled programs.
14301 If you meant to cross compile, use \`--host'.
14302 See \`config.log' for more details." >&2;}
14303 { (exit 1); exit 1; }; }
14307 { echo "$as_me:$LINENO: result: yes" >&5
14308 echo "${ECHO_T}yes" >&6; }
14310 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14311 ac_clean_files=$ac_clean_files_save
14312 # Check that the compiler produces executables we can run. If not, either
14313 # the compiler is broken, or we cross compile.
14314 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14315 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14316 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14317 echo "${ECHO_T}$cross_compiling" >&6; }
14319 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14320 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14321 if { (ac_try="$ac_link"
14322 case "(($ac_try" in
14323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14324 *) ac_try_echo=$ac_try;;
14326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14327 (eval "$ac_link") 2>&5
14329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); }; then
14331 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14332 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14333 # work properly (i.e., refer to `conftest.exe'), while it won't with
14335 for ac_file in conftest.exe conftest conftest.*; do
14336 test -f "$ac_file" || continue
14338 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14339 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14345 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14346 See \`config.log' for more details." >&5
14347 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14348 See \`config.log' for more details." >&2;}
14349 { (exit 1); exit 1; }; }
14352 rm -f conftest$ac_cv_exeext
14353 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14354 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14356 rm -f conftest.$ac_ext
14357 EXEEXT=$ac_cv_exeext
14359 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14360 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14361 if test "${ac_cv_objext+set}" = set; then
14362 echo $ECHO_N "(cached) $ECHO_C" >&6
14364 cat >conftest.$ac_ext <<_ACEOF
14367 cat confdefs.h >>conftest.$ac_ext
14368 cat >>conftest.$ac_ext <<_ACEOF
14369 /* end confdefs.h. */
14379 rm -f conftest.o conftest.obj
14380 if { (ac_try="$ac_compile"
14381 case "(($ac_try" in
14382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14383 *) ac_try_echo=$ac_try;;
14385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14386 (eval "$ac_compile") 2>&5
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); }; then
14390 for ac_file in conftest.o conftest.obj conftest.*; do
14391 test -f "$ac_file" || continue;
14393 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14394 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14399 echo "$as_me: failed program was:" >&5
14400 sed 's/^/| /' conftest.$ac_ext >&5
14402 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14403 See \`config.log' for more details." >&5
14404 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14405 See \`config.log' for more details." >&2;}
14406 { (exit 1); exit 1; }; }
14409 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14411 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14412 echo "${ECHO_T}$ac_cv_objext" >&6; }
14413 OBJEXT=$ac_cv_objext
14415 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14416 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14417 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14418 echo $ECHO_N "(cached) $ECHO_C" >&6
14420 cat >conftest.$ac_ext <<_ACEOF
14423 cat confdefs.h >>conftest.$ac_ext
14424 cat >>conftest.$ac_ext <<_ACEOF
14425 /* end confdefs.h. */
14438 rm -f conftest.$ac_objext
14439 if { (ac_try="$ac_compile"
14440 case "(($ac_try" in
14441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14442 *) ac_try_echo=$ac_try;;
14444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14445 (eval "$ac_compile") 2>conftest.er1
14447 grep -v '^ *+' conftest.er1 >conftest.err
14449 cat conftest.err >&5
14450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14451 (exit $ac_status); } && {
14452 test -z "$ac_c_werror_flag" ||
14453 test ! -s conftest.err
14454 } && test -s conftest.$ac_objext; then
14455 ac_compiler_gnu=yes
14457 echo "$as_me: failed program was:" >&5
14458 sed 's/^/| /' conftest.$ac_ext >&5
14463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14464 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14467 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14468 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14469 GCC=`test $ac_compiler_gnu = yes && echo yes`
14470 ac_test_CFLAGS=${CFLAGS+set}
14471 ac_save_CFLAGS=$CFLAGS
14472 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14473 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14474 if test "${ac_cv_prog_cc_g+set}" = set; then
14475 echo $ECHO_N "(cached) $ECHO_C" >&6
14477 ac_save_c_werror_flag=$ac_c_werror_flag
14478 ac_c_werror_flag=yes
14481 cat >conftest.$ac_ext <<_ACEOF
14484 cat confdefs.h >>conftest.$ac_ext
14485 cat >>conftest.$ac_ext <<_ACEOF
14486 /* end confdefs.h. */
14496 rm -f conftest.$ac_objext
14497 if { (ac_try="$ac_compile"
14498 case "(($ac_try" in
14499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14500 *) ac_try_echo=$ac_try;;
14502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14503 (eval "$ac_compile") 2>conftest.er1
14505 grep -v '^ *+' conftest.er1 >conftest.err
14507 cat conftest.err >&5
14508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14509 (exit $ac_status); } && {
14510 test -z "$ac_c_werror_flag" ||
14511 test ! -s conftest.err
14512 } && test -s conftest.$ac_objext; then
14513 ac_cv_prog_cc_g=yes
14515 echo "$as_me: failed program was:" >&5
14516 sed 's/^/| /' conftest.$ac_ext >&5
14519 cat >conftest.$ac_ext <<_ACEOF
14522 cat confdefs.h >>conftest.$ac_ext
14523 cat >>conftest.$ac_ext <<_ACEOF
14524 /* end confdefs.h. */
14534 rm -f conftest.$ac_objext
14535 if { (ac_try="$ac_compile"
14536 case "(($ac_try" in
14537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14538 *) ac_try_echo=$ac_try;;
14540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14541 (eval "$ac_compile") 2>conftest.er1
14543 grep -v '^ *+' conftest.er1 >conftest.err
14545 cat conftest.err >&5
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); } && {
14548 test -z "$ac_c_werror_flag" ||
14549 test ! -s conftest.err
14550 } && test -s conftest.$ac_objext; then
14553 echo "$as_me: failed program was:" >&5
14554 sed 's/^/| /' conftest.$ac_ext >&5
14556 ac_c_werror_flag=$ac_save_c_werror_flag
14558 cat >conftest.$ac_ext <<_ACEOF
14561 cat confdefs.h >>conftest.$ac_ext
14562 cat >>conftest.$ac_ext <<_ACEOF
14563 /* end confdefs.h. */
14573 rm -f conftest.$ac_objext
14574 if { (ac_try="$ac_compile"
14575 case "(($ac_try" in
14576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14577 *) ac_try_echo=$ac_try;;
14579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14580 (eval "$ac_compile") 2>conftest.er1
14582 grep -v '^ *+' conftest.er1 >conftest.err
14584 cat conftest.err >&5
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 (exit $ac_status); } && {
14587 test -z "$ac_c_werror_flag" ||
14588 test ! -s conftest.err
14589 } && test -s conftest.$ac_objext; then
14590 ac_cv_prog_cc_g=yes
14592 echo "$as_me: failed program was:" >&5
14593 sed 's/^/| /' conftest.$ac_ext >&5
14598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14605 ac_c_werror_flag=$ac_save_c_werror_flag
14607 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14608 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14609 if test "$ac_test_CFLAGS" = set; then
14610 CFLAGS=$ac_save_CFLAGS
14611 elif test $ac_cv_prog_cc_g = yes; then
14612 if test "$GCC" = yes; then
14618 if test "$GCC" = yes; then
14624 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14625 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14626 if test "${ac_cv_prog_cc_c89+set}" = set; then
14627 echo $ECHO_N "(cached) $ECHO_C" >&6
14629 ac_cv_prog_cc_c89=no
14631 cat >conftest.$ac_ext <<_ACEOF
14634 cat confdefs.h >>conftest.$ac_ext
14635 cat >>conftest.$ac_ext <<_ACEOF
14636 /* end confdefs.h. */
14637 #include <stdarg.h>
14639 #include <sys/types.h>
14640 #include <sys/stat.h>
14641 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14642 struct buf { int x; };
14643 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14644 static char *e (p, i)
14650 static char *f (char * (*g) (char **, int), char **p, ...)
14655 s = g (p, va_arg (v,int));
14660 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14661 function prototypes and stuff, but not '\xHH' hex character constants.
14662 These don't provoke an error unfortunately, instead are silently treated
14663 as 'x'. The following induces an error, until -std is added to get
14664 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14665 array size at least. It's necessary to write '\x00'==0 to get something
14666 that's true only with -std. */
14667 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14669 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14670 inside strings and character constants. */
14672 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14674 int test (int i, double x);
14675 struct s1 {int (*f) (int a);};
14676 struct s2 {int (*f) (double a);};
14677 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14683 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14688 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14689 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14691 CC="$ac_save_CC $ac_arg"
14692 rm -f conftest.$ac_objext
14693 if { (ac_try="$ac_compile"
14694 case "(($ac_try" in
14695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14696 *) ac_try_echo=$ac_try;;
14698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14699 (eval "$ac_compile") 2>conftest.er1
14701 grep -v '^ *+' conftest.er1 >conftest.err
14703 cat conftest.err >&5
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); } && {
14706 test -z "$ac_c_werror_flag" ||
14707 test ! -s conftest.err
14708 } && test -s conftest.$ac_objext; then
14709 ac_cv_prog_cc_c89=$ac_arg
14711 echo "$as_me: failed program was:" >&5
14712 sed 's/^/| /' conftest.$ac_ext >&5
14717 rm -f core conftest.err conftest.$ac_objext
14718 test "x$ac_cv_prog_cc_c89" != "xno" && break
14720 rm -f conftest.$ac_ext
14725 case "x$ac_cv_prog_cc_c89" in
14727 { echo "$as_me:$LINENO: result: none needed" >&5
14728 echo "${ECHO_T}none needed" >&6; } ;;
14730 { echo "$as_me:$LINENO: result: unsupported" >&5
14731 echo "${ECHO_T}unsupported" >&6; } ;;
14733 CC="$CC $ac_cv_prog_cc_c89"
14734 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14735 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14740 ac_cpp='$CPP $CPPFLAGS'
14741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14749 ac_cpp='$CPP $CPPFLAGS'
14750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14754 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14755 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14756 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14757 echo $ECHO_N "(cached) $ECHO_C" >&6
14759 cat >conftest.$ac_ext <<_ACEOF
14762 cat confdefs.h >>conftest.$ac_ext
14763 cat >>conftest.$ac_ext <<_ACEOF
14764 /* end confdefs.h. */
14770 #ifndef __INTEL_COMPILER
14778 rm -f conftest.$ac_objext
14779 if { (ac_try="$ac_compile"
14780 case "(($ac_try" in
14781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14782 *) ac_try_echo=$ac_try;;
14784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14785 (eval "$ac_compile") 2>conftest.er1
14787 grep -v '^ *+' conftest.er1 >conftest.err
14789 cat conftest.err >&5
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); } && {
14792 test -z "$ac_c_werror_flag" ||
14793 test ! -s conftest.err
14794 } && test -s conftest.$ac_objext; then
14795 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14797 echo "$as_me: failed program was:" >&5
14798 sed 's/^/| /' conftest.$ac_ext >&5
14800 bakefile_cv_c_compiler___INTEL_COMPILER=no
14804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14808 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14809 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14810 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14816 ac_cpp='$CPP $CPPFLAGS'
14817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14824 if test "x$GCC" != "xyes"; then
14825 if test "xCC" = "xC"; then
14826 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14827 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
14828 if test "${bakefile_cv_c_exto+set}" = set; then
14829 echo $ECHO_N "(cached) $ECHO_C" >&6
14831 cat >conftest.$ac_ext <<_ACEOF
14834 cat confdefs.h >>conftest.$ac_ext
14835 cat >>conftest.$ac_ext <<_ACEOF
14836 /* end confdefs.h. */
14846 rm -f conftest.$ac_objext conftest.$ac_ext.o
14847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14848 (eval $ac_compile) 2>&5
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); }; then
14852 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14854 conftest.$ac_ext.o)
14855 bakefile_cv_c_exto="-ext o"
14862 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14863 See \`config.log' for more details." >&5
14864 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14865 See \`config.log' for more details." >&2;}
14866 { (exit 1); exit 1; }; }
14870 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14873 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14874 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14875 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14876 if test "c" = "c"; then
14877 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14879 if test "c" = "cxx"; then
14880 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14884 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14885 unset ac_cv_prog_cc_g
14886 ac_test_CFLAGS=${CFLAGS+set}
14887 ac_save_CFLAGS=$CFLAGS
14888 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14889 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14890 if test "${ac_cv_prog_cc_g+set}" = set; then
14891 echo $ECHO_N "(cached) $ECHO_C" >&6
14893 ac_save_c_werror_flag=$ac_c_werror_flag
14894 ac_c_werror_flag=yes
14897 cat >conftest.$ac_ext <<_ACEOF
14900 cat confdefs.h >>conftest.$ac_ext
14901 cat >>conftest.$ac_ext <<_ACEOF
14902 /* end confdefs.h. */
14912 rm -f conftest.$ac_objext
14913 if { (ac_try="$ac_compile"
14914 case "(($ac_try" in
14915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14916 *) ac_try_echo=$ac_try;;
14918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14919 (eval "$ac_compile") 2>conftest.er1
14921 grep -v '^ *+' conftest.er1 >conftest.err
14923 cat conftest.err >&5
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); } && {
14926 test -z "$ac_c_werror_flag" ||
14927 test ! -s conftest.err
14928 } && test -s conftest.$ac_objext; then
14929 ac_cv_prog_cc_g=yes
14931 echo "$as_me: failed program was:" >&5
14932 sed 's/^/| /' conftest.$ac_ext >&5
14935 cat >conftest.$ac_ext <<_ACEOF
14938 cat confdefs.h >>conftest.$ac_ext
14939 cat >>conftest.$ac_ext <<_ACEOF
14940 /* end confdefs.h. */
14950 rm -f conftest.$ac_objext
14951 if { (ac_try="$ac_compile"
14952 case "(($ac_try" in
14953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14954 *) ac_try_echo=$ac_try;;
14956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14957 (eval "$ac_compile") 2>conftest.er1
14959 grep -v '^ *+' conftest.er1 >conftest.err
14961 cat conftest.err >&5
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); } && {
14964 test -z "$ac_c_werror_flag" ||
14965 test ! -s conftest.err
14966 } && test -s conftest.$ac_objext; then
14969 echo "$as_me: failed program was:" >&5
14970 sed 's/^/| /' conftest.$ac_ext >&5
14972 ac_c_werror_flag=$ac_save_c_werror_flag
14974 cat >conftest.$ac_ext <<_ACEOF
14977 cat confdefs.h >>conftest.$ac_ext
14978 cat >>conftest.$ac_ext <<_ACEOF
14979 /* end confdefs.h. */
14989 rm -f conftest.$ac_objext
14990 if { (ac_try="$ac_compile"
14991 case "(($ac_try" in
14992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14993 *) ac_try_echo=$ac_try;;
14995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14996 (eval "$ac_compile") 2>conftest.er1
14998 grep -v '^ *+' conftest.er1 >conftest.err
15000 cat conftest.err >&5
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); } && {
15003 test -z "$ac_c_werror_flag" ||
15004 test ! -s conftest.err
15005 } && test -s conftest.$ac_objext; then
15006 ac_cv_prog_cc_g=yes
15008 echo "$as_me: failed program was:" >&5
15009 sed 's/^/| /' conftest.$ac_ext >&5
15014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15021 ac_c_werror_flag=$ac_save_c_werror_flag
15023 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15024 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15025 if test "$ac_test_CFLAGS" = set; then
15026 CFLAGS=$ac_save_CFLAGS
15027 elif test $ac_cv_prog_cc_g = yes; then
15028 if test "$GCC" = yes; then
15034 if test "$GCC" = yes; then
15048 ac_cpp='$CPP $CPPFLAGS'
15049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15053 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15054 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15055 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15056 echo $ECHO_N "(cached) $ECHO_C" >&6
15058 cat >conftest.$ac_ext <<_ACEOF
15061 cat confdefs.h >>conftest.$ac_ext
15062 cat >>conftest.$ac_ext <<_ACEOF
15063 /* end confdefs.h. */
15077 rm -f conftest.$ac_objext
15078 if { (ac_try="$ac_compile"
15079 case "(($ac_try" in
15080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15081 *) ac_try_echo=$ac_try;;
15083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15084 (eval "$ac_compile") 2>conftest.er1
15086 grep -v '^ *+' conftest.er1 >conftest.err
15088 cat conftest.err >&5
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); } && {
15091 test -z "$ac_c_werror_flag" ||
15092 test ! -s conftest.err
15093 } && test -s conftest.$ac_objext; then
15094 bakefile_cv_c_compiler___xlC__=yes
15096 echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.$ac_ext >&5
15099 bakefile_cv_c_compiler___xlC__=no
15103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15107 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15108 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15109 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15115 ac_cpp='$CPP $CPPFLAGS'
15116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15128 ac_cpp='$CPP $CPPFLAGS'
15129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15133 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15134 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15135 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15136 echo $ECHO_N "(cached) $ECHO_C" >&6
15138 cat >conftest.$ac_ext <<_ACEOF
15141 cat confdefs.h >>conftest.$ac_ext
15142 cat >>conftest.$ac_ext <<_ACEOF
15143 /* end confdefs.h. */
15157 rm -f conftest.$ac_objext
15158 if { (ac_try="$ac_compile"
15159 case "(($ac_try" in
15160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15161 *) ac_try_echo=$ac_try;;
15163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15164 (eval "$ac_compile") 2>conftest.er1
15166 grep -v '^ *+' conftest.er1 >conftest.err
15168 cat conftest.err >&5
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); } && {
15171 test -z "$ac_c_werror_flag" ||
15172 test ! -s conftest.err
15173 } && test -s conftest.$ac_objext; then
15174 bakefile_cv_c_compiler___MWERKS__=yes
15176 echo "$as_me: failed program was:" >&5
15177 sed 's/^/| /' conftest.$ac_ext >&5
15179 bakefile_cv_c_compiler___MWERKS__=no
15183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15187 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15188 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15189 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15195 ac_cpp='$CPP $CPPFLAGS'
15196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15205 ac_cpp='$CPP $CPPFLAGS'
15206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15210 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15211 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15212 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15215 cat >conftest.$ac_ext <<_ACEOF
15218 cat confdefs.h >>conftest.$ac_ext
15219 cat >>conftest.$ac_ext <<_ACEOF
15220 /* end confdefs.h. */
15234 rm -f conftest.$ac_objext
15235 if { (ac_try="$ac_compile"
15236 case "(($ac_try" in
15237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15238 *) ac_try_echo=$ac_try;;
15240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15241 (eval "$ac_compile") 2>conftest.er1
15243 grep -v '^ *+' conftest.er1 >conftest.err
15245 cat conftest.err >&5
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); } && {
15248 test -z "$ac_c_werror_flag" ||
15249 test ! -s conftest.err
15250 } && test -s conftest.$ac_objext; then
15251 bakefile_cv_c_compiler___xlC__=yes
15253 echo "$as_me: failed program was:" >&5
15254 sed 's/^/| /' conftest.$ac_ext >&5
15256 bakefile_cv_c_compiler___xlC__=no
15260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15264 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15265 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15266 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15272 ac_cpp='$CPP $CPPFLAGS'
15273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15285 ac_cpp='$CPP $CPPFLAGS'
15286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15290 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15291 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15292 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15293 echo $ECHO_N "(cached) $ECHO_C" >&6
15295 cat >conftest.$ac_ext <<_ACEOF
15298 cat confdefs.h >>conftest.$ac_ext
15299 cat >>conftest.$ac_ext <<_ACEOF
15300 /* end confdefs.h. */
15306 #ifndef _SGI_COMPILER_VERSION
15314 rm -f conftest.$ac_objext
15315 if { (ac_try="$ac_compile"
15316 case "(($ac_try" in
15317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15318 *) ac_try_echo=$ac_try;;
15320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15321 (eval "$ac_compile") 2>conftest.er1
15323 grep -v '^ *+' conftest.er1 >conftest.err
15325 cat conftest.err >&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); } && {
15328 test -z "$ac_c_werror_flag" ||
15329 test ! -s conftest.err
15330 } && test -s conftest.$ac_objext; then
15331 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15333 echo "$as_me: failed program was:" >&5
15334 sed 's/^/| /' conftest.$ac_ext >&5
15336 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15344 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15345 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15346 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15352 ac_cpp='$CPP $CPPFLAGS'
15353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15365 ac_cpp='$CPP $CPPFLAGS'
15366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15370 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15371 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15372 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15373 echo $ECHO_N "(cached) $ECHO_C" >&6
15375 cat >conftest.$ac_ext <<_ACEOF
15378 cat confdefs.h >>conftest.$ac_ext
15379 cat >>conftest.$ac_ext <<_ACEOF
15380 /* end confdefs.h. */
15394 rm -f conftest.$ac_objext
15395 if { (ac_try="$ac_compile"
15396 case "(($ac_try" in
15397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15398 *) ac_try_echo=$ac_try;;
15400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15401 (eval "$ac_compile") 2>conftest.er1
15403 grep -v '^ *+' conftest.er1 >conftest.err
15405 cat conftest.err >&5
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); } && {
15408 test -z "$ac_c_werror_flag" ||
15409 test ! -s conftest.err
15410 } && test -s conftest.$ac_objext; then
15411 bakefile_cv_c_compiler___SUNPRO_C=yes
15413 echo "$as_me: failed program was:" >&5
15414 sed 's/^/| /' conftest.$ac_ext >&5
15416 bakefile_cv_c_compiler___SUNPRO_C=no
15420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15424 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15425 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15426 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15432 ac_cpp='$CPP $CPPFLAGS'
15433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15445 ac_cpp='$CPP $CPPFLAGS'
15446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15450 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15451 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15452 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15453 echo $ECHO_N "(cached) $ECHO_C" >&6
15455 cat >conftest.$ac_ext <<_ACEOF
15458 cat confdefs.h >>conftest.$ac_ext
15459 cat >>conftest.$ac_ext <<_ACEOF
15460 /* end confdefs.h. */
15474 rm -f conftest.$ac_objext
15475 if { (ac_try="$ac_compile"
15476 case "(($ac_try" in
15477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15478 *) ac_try_echo=$ac_try;;
15480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15481 (eval "$ac_compile") 2>conftest.er1
15483 grep -v '^ *+' conftest.er1 >conftest.err
15485 cat conftest.err >&5
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); } && {
15488 test -z "$ac_c_werror_flag" ||
15489 test ! -s conftest.err
15490 } && test -s conftest.$ac_objext; then
15491 bakefile_cv_c_compiler___HP_cc=yes
15493 echo "$as_me: failed program was:" >&5
15494 sed 's/^/| /' conftest.$ac_ext >&5
15496 bakefile_cv_c_compiler___HP_cc=no
15500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15504 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15505 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15506 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15512 ac_cpp='$CPP $CPPFLAGS'
15513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15525 ac_cpp='$CPP $CPPFLAGS'
15526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15530 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15531 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15532 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15533 echo $ECHO_N "(cached) $ECHO_C" >&6
15535 cat >conftest.$ac_ext <<_ACEOF
15538 cat confdefs.h >>conftest.$ac_ext
15539 cat >>conftest.$ac_ext <<_ACEOF
15540 /* end confdefs.h. */
15554 rm -f conftest.$ac_objext
15555 if { (ac_try="$ac_compile"
15556 case "(($ac_try" in
15557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15558 *) ac_try_echo=$ac_try;;
15560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15561 (eval "$ac_compile") 2>conftest.er1
15563 grep -v '^ *+' conftest.er1 >conftest.err
15565 cat conftest.err >&5
15566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567 (exit $ac_status); } && {
15568 test -z "$ac_c_werror_flag" ||
15569 test ! -s conftest.err
15570 } && test -s conftest.$ac_objext; then
15571 bakefile_cv_c_compiler___DECC=yes
15573 echo "$as_me: failed program was:" >&5
15574 sed 's/^/| /' conftest.$ac_ext >&5
15576 bakefile_cv_c_compiler___DECC=no
15580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15584 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15585 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15586 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15592 ac_cpp='$CPP $CPPFLAGS'
15593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15605 ac_cpp='$CPP $CPPFLAGS'
15606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15610 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15611 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15612 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15613 echo $ECHO_N "(cached) $ECHO_C" >&6
15615 cat >conftest.$ac_ext <<_ACEOF
15618 cat confdefs.h >>conftest.$ac_ext
15619 cat >>conftest.$ac_ext <<_ACEOF
15620 /* end confdefs.h. */
15634 rm -f conftest.$ac_objext
15635 if { (ac_try="$ac_compile"
15636 case "(($ac_try" in
15637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15638 *) ac_try_echo=$ac_try;;
15640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15641 (eval "$ac_compile") 2>conftest.er1
15643 grep -v '^ *+' conftest.er1 >conftest.err
15645 cat conftest.err >&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); } && {
15648 test -z "$ac_c_werror_flag" ||
15649 test ! -s conftest.err
15650 } && test -s conftest.$ac_objext; then
15651 bakefile_cv_c_compiler___SUNPRO_C=yes
15653 echo "$as_me: failed program was:" >&5
15654 sed 's/^/| /' conftest.$ac_ext >&5
15656 bakefile_cv_c_compiler___SUNPRO_C=no
15660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15664 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15665 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15666 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15672 ac_cpp='$CPP $CPPFLAGS'
15673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15686 ac_cpp='$CPP $CPPFLAGS'
15687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15690 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15691 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15692 # On Suns, sometimes $CPP names a directory.
15693 if test -n "$CPP" && test -d "$CPP"; then
15696 if test -z "$CPP"; then
15697 if test "${ac_cv_prog_CPP+set}" = set; then
15698 echo $ECHO_N "(cached) $ECHO_C" >&6
15700 # Double quotes because CPP needs to be expanded
15701 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15703 ac_preproc_ok=false
15704 for ac_c_preproc_warn_flag in '' yes
15706 # Use a header file that comes with gcc, so configuring glibc
15707 # with a fresh cross-compiler works.
15708 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15709 # <limits.h> exists even on freestanding compilers.
15710 # On the NeXT, cc -E runs the code through the compiler's parser,
15711 # not just through cpp. "Syntax error" is here to catch this case.
15712 cat >conftest.$ac_ext <<_ACEOF
15715 cat confdefs.h >>conftest.$ac_ext
15716 cat >>conftest.$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15719 # include <limits.h>
15721 # include <assert.h>
15725 if { (ac_try="$ac_cpp conftest.$ac_ext"
15726 case "(($ac_try" in
15727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15728 *) ac_try_echo=$ac_try;;
15730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15731 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15733 grep -v '^ *+' conftest.er1 >conftest.err
15735 cat conftest.err >&5
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); } >/dev/null && {
15738 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15739 test ! -s conftest.err
15743 echo "$as_me: failed program was:" >&5
15744 sed 's/^/| /' conftest.$ac_ext >&5
15746 # Broken: fails on valid input.
15750 rm -f conftest.err conftest.$ac_ext
15752 # OK, works on sane cases. Now check whether nonexistent headers
15753 # can be detected and how.
15754 cat >conftest.$ac_ext <<_ACEOF
15757 cat confdefs.h >>conftest.$ac_ext
15758 cat >>conftest.$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15760 #include <ac_nonexistent.h>
15762 if { (ac_try="$ac_cpp conftest.$ac_ext"
15763 case "(($ac_try" in
15764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15765 *) ac_try_echo=$ac_try;;
15767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15768 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15770 grep -v '^ *+' conftest.er1 >conftest.err
15772 cat conftest.err >&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); } >/dev/null && {
15775 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15776 test ! -s conftest.err
15778 # Broken: success on invalid input.
15781 echo "$as_me: failed program was:" >&5
15782 sed 's/^/| /' conftest.$ac_ext >&5
15784 # Passes both tests.
15789 rm -f conftest.err conftest.$ac_ext
15792 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15793 rm -f conftest.err conftest.$ac_ext
15794 if $ac_preproc_ok; then
15799 ac_cv_prog_CPP=$CPP
15802 CPP=$ac_cv_prog_CPP
15804 ac_cv_prog_CPP=$CPP
15806 { echo "$as_me:$LINENO: result: $CPP" >&5
15807 echo "${ECHO_T}$CPP" >&6; }
15808 ac_preproc_ok=false
15809 for ac_c_preproc_warn_flag in '' yes
15811 # Use a header file that comes with gcc, so configuring glibc
15812 # with a fresh cross-compiler works.
15813 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15814 # <limits.h> exists even on freestanding compilers.
15815 # On the NeXT, cc -E runs the code through the compiler's parser,
15816 # not just through cpp. "Syntax error" is here to catch this case.
15817 cat >conftest.$ac_ext <<_ACEOF
15820 cat confdefs.h >>conftest.$ac_ext
15821 cat >>conftest.$ac_ext <<_ACEOF
15822 /* end confdefs.h. */
15824 # include <limits.h>
15826 # include <assert.h>
15830 if { (ac_try="$ac_cpp conftest.$ac_ext"
15831 case "(($ac_try" in
15832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15833 *) ac_try_echo=$ac_try;;
15835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15836 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15838 grep -v '^ *+' conftest.er1 >conftest.err
15840 cat conftest.err >&5
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); } >/dev/null && {
15843 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15844 test ! -s conftest.err
15848 echo "$as_me: failed program was:" >&5
15849 sed 's/^/| /' conftest.$ac_ext >&5
15851 # Broken: fails on valid input.
15855 rm -f conftest.err conftest.$ac_ext
15857 # OK, works on sane cases. Now check whether nonexistent headers
15858 # can be detected and how.
15859 cat >conftest.$ac_ext <<_ACEOF
15862 cat confdefs.h >>conftest.$ac_ext
15863 cat >>conftest.$ac_ext <<_ACEOF
15864 /* end confdefs.h. */
15865 #include <ac_nonexistent.h>
15867 if { (ac_try="$ac_cpp conftest.$ac_ext"
15868 case "(($ac_try" in
15869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15870 *) ac_try_echo=$ac_try;;
15872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15875 grep -v '^ *+' conftest.er1 >conftest.err
15877 cat conftest.err >&5
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); } >/dev/null && {
15880 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15881 test ! -s conftest.err
15883 # Broken: success on invalid input.
15886 echo "$as_me: failed program was:" >&5
15887 sed 's/^/| /' conftest.$ac_ext >&5
15889 # Passes both tests.
15894 rm -f conftest.err conftest.$ac_ext
15897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15898 rm -f conftest.err conftest.$ac_ext
15899 if $ac_preproc_ok; then
15902 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15903 See \`config.log' for more details." >&5
15904 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15905 See \`config.log' for more details." >&2;}
15906 { (exit 1); exit 1; }; }
15910 ac_cpp='$CPP $CPPFLAGS'
15911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15916 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15917 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15918 if test "${ac_cv_path_GREP+set}" = set; then
15919 echo $ECHO_N "(cached) $ECHO_C" >&6
15921 # Extract the first word of "grep ggrep" to use in msg output
15922 if test -z "$GREP"; then
15923 set dummy grep ggrep; ac_prog_name=$2
15924 if test "${ac_cv_path_GREP+set}" = set; then
15925 echo $ECHO_N "(cached) $ECHO_C" >&6
15927 ac_path_GREP_found=false
15928 # Loop through the user's path and test for each of PROGNAME-LIST
15929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15930 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15933 test -z "$as_dir" && as_dir=.
15934 for ac_prog in grep ggrep; do
15935 for ac_exec_ext in '' $ac_executable_extensions; do
15936 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
15937 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
15938 # Check for GNU ac_path_GREP and select it if it is found.
15939 # Check for GNU $ac_path_GREP
15940 case `"$ac_path_GREP" --version 2>&1` in
15942 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
15945 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15948 cat "conftest.in" "conftest.in" >"conftest.tmp"
15949 mv "conftest.tmp" "conftest.in"
15950 cp "conftest.in" "conftest.nl"
15951 echo 'GREP' >> "conftest.nl"
15952 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15953 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15954 ac_count=`expr $ac_count + 1`
15955 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15956 # Best one so far, save it but keep looking for a better one
15957 ac_cv_path_GREP="$ac_path_GREP"
15958 ac_path_GREP_max=$ac_count
15960 # 10*(2^10) chars as input seems more than enough
15961 test $ac_count -gt 10 && break
15963 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15967 $ac_path_GREP_found && break 3
15977 GREP="$ac_cv_path_GREP"
15978 if test -z "$GREP"; then
15979 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15980 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15981 { (exit 1); exit 1; }; }
15985 ac_cv_path_GREP=$GREP
15990 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15991 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15992 GREP="$ac_cv_path_GREP"
15995 { echo "$as_me:$LINENO: checking for egrep" >&5
15996 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
15997 if test "${ac_cv_path_EGREP+set}" = set; then
15998 echo $ECHO_N "(cached) $ECHO_C" >&6
16000 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16001 then ac_cv_path_EGREP="$GREP -E"
16003 # Extract the first word of "egrep" to use in msg output
16004 if test -z "$EGREP"; then
16005 set dummy egrep; ac_prog_name=$2
16006 if test "${ac_cv_path_EGREP+set}" = set; then
16007 echo $ECHO_N "(cached) $ECHO_C" >&6
16009 ac_path_EGREP_found=false
16010 # Loop through the user's path and test for each of PROGNAME-LIST
16011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16012 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16015 test -z "$as_dir" && as_dir=.
16016 for ac_prog in egrep; do
16017 for ac_exec_ext in '' $ac_executable_extensions; do
16018 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16019 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16020 # Check for GNU ac_path_EGREP and select it if it is found.
16021 # Check for GNU $ac_path_EGREP
16022 case `"$ac_path_EGREP" --version 2>&1` in
16024 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16027 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16030 cat "conftest.in" "conftest.in" >"conftest.tmp"
16031 mv "conftest.tmp" "conftest.in"
16032 cp "conftest.in" "conftest.nl"
16033 echo 'EGREP' >> "conftest.nl"
16034 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16035 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16036 ac_count=`expr $ac_count + 1`
16037 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16038 # Best one so far, save it but keep looking for a better one
16039 ac_cv_path_EGREP="$ac_path_EGREP"
16040 ac_path_EGREP_max=$ac_count
16042 # 10*(2^10) chars as input seems more than enough
16043 test $ac_count -gt 10 && break
16045 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16049 $ac_path_EGREP_found && break 3
16059 EGREP="$ac_cv_path_EGREP"
16060 if test -z "$EGREP"; then
16061 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16062 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16063 { (exit 1); exit 1; }; }
16067 ac_cv_path_EGREP=$EGREP
16073 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16074 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16075 EGREP="$ac_cv_path_EGREP"
16078 if test $ac_cv_c_compiler_gnu = yes; then
16079 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16080 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16081 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16082 echo $ECHO_N "(cached) $ECHO_C" >&6
16084 ac_pattern="Autoconf.*'x'"
16085 cat >conftest.$ac_ext <<_ACEOF
16088 cat confdefs.h >>conftest.$ac_ext
16089 cat >>conftest.$ac_ext <<_ACEOF
16090 /* end confdefs.h. */
16094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16095 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16096 ac_cv_prog_gcc_traditional=yes
16098 ac_cv_prog_gcc_traditional=no
16103 if test $ac_cv_prog_gcc_traditional = no; then
16104 cat >conftest.$ac_ext <<_ACEOF
16107 cat confdefs.h >>conftest.$ac_ext
16108 cat >>conftest.$ac_ext <<_ACEOF
16109 /* end confdefs.h. */
16110 #include <termio.h>
16113 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16114 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16115 ac_cv_prog_gcc_traditional=yes
16121 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16122 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16123 if test $ac_cv_prog_gcc_traditional = yes; then
16124 CC="$CC -traditional"
16129 CXXFLAGS=${CXXFLAGS:=}
16134 ac_cpp='$CXXCPP $CPPFLAGS'
16135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16138 if test -z "$CXX"; then
16139 if test -n "$CCC"; then
16142 if test -n "$ac_tool_prefix"; then
16143 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16145 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16146 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16149 if test "${ac_cv_prog_CXX+set}" = set; then
16150 echo $ECHO_N "(cached) $ECHO_C" >&6
16152 if test -n "$CXX"; then
16153 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16156 for as_dir in $PATH
16159 test -z "$as_dir" && as_dir=.
16160 for ac_exec_ext in '' $ac_executable_extensions; do
16161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16162 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16172 CXX=$ac_cv_prog_CXX
16173 if test -n "$CXX"; then
16174 { echo "$as_me:$LINENO: result: $CXX" >&5
16175 echo "${ECHO_T}$CXX" >&6; }
16177 { echo "$as_me:$LINENO: result: no" >&5
16178 echo "${ECHO_T}no" >&6; }
16182 test -n "$CXX" && break
16185 if test -z "$CXX"; then
16187 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16189 # Extract the first word of "$ac_prog", so it can be a program name with args.
16190 set dummy $ac_prog; ac_word=$2
16191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16193 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16194 echo $ECHO_N "(cached) $ECHO_C" >&6
16196 if test -n "$ac_ct_CXX"; then
16197 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16200 for as_dir in $PATH
16203 test -z "$as_dir" && as_dir=.
16204 for ac_exec_ext in '' $ac_executable_extensions; do
16205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16206 ac_cv_prog_ac_ct_CXX="$ac_prog"
16207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16216 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16217 if test -n "$ac_ct_CXX"; then
16218 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16219 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16221 { echo "$as_me:$LINENO: result: no" >&5
16222 echo "${ECHO_T}no" >&6; }
16226 test -n "$ac_ct_CXX" && break
16229 if test "x$ac_ct_CXX" = x; then
16232 case $cross_compiling:$ac_tool_warned in
16234 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16235 whose name does not start with the host triplet. If you think this
16236 configuration is useful to you, please write to autoconf@gnu.org." >&5
16237 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16238 whose name does not start with the host triplet. If you think this
16239 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16240 ac_tool_warned=yes ;;
16248 # Provide some information about the compiler.
16249 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16250 ac_compiler=`set X $ac_compile; echo $2`
16251 { (ac_try="$ac_compiler --version >&5"
16252 case "(($ac_try" in
16253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16254 *) ac_try_echo=$ac_try;;
16256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16257 (eval "$ac_compiler --version >&5") 2>&5
16259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16260 (exit $ac_status); }
16261 { (ac_try="$ac_compiler -v >&5"
16262 case "(($ac_try" in
16263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16264 *) ac_try_echo=$ac_try;;
16266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16267 (eval "$ac_compiler -v >&5") 2>&5
16269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16270 (exit $ac_status); }
16271 { (ac_try="$ac_compiler -V >&5"
16272 case "(($ac_try" in
16273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16274 *) ac_try_echo=$ac_try;;
16276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16277 (eval "$ac_compiler -V >&5") 2>&5
16279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16280 (exit $ac_status); }
16282 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16283 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16284 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16285 echo $ECHO_N "(cached) $ECHO_C" >&6
16287 cat >conftest.$ac_ext <<_ACEOF
16290 cat confdefs.h >>conftest.$ac_ext
16291 cat >>conftest.$ac_ext <<_ACEOF
16292 /* end confdefs.h. */
16305 rm -f conftest.$ac_objext
16306 if { (ac_try="$ac_compile"
16307 case "(($ac_try" in
16308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16309 *) ac_try_echo=$ac_try;;
16311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16312 (eval "$ac_compile") 2>conftest.er1
16314 grep -v '^ *+' conftest.er1 >conftest.err
16316 cat conftest.err >&5
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); } && {
16319 test -z "$ac_cxx_werror_flag" ||
16320 test ! -s conftest.err
16321 } && test -s conftest.$ac_objext; then
16322 ac_compiler_gnu=yes
16324 echo "$as_me: failed program was:" >&5
16325 sed 's/^/| /' conftest.$ac_ext >&5
16330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16331 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16334 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16335 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16336 GXX=`test $ac_compiler_gnu = yes && echo yes`
16337 ac_test_CXXFLAGS=${CXXFLAGS+set}
16338 ac_save_CXXFLAGS=$CXXFLAGS
16339 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16340 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16341 if test "${ac_cv_prog_cxx_g+set}" = set; then
16342 echo $ECHO_N "(cached) $ECHO_C" >&6
16344 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16345 ac_cxx_werror_flag=yes
16346 ac_cv_prog_cxx_g=no
16348 cat >conftest.$ac_ext <<_ACEOF
16351 cat confdefs.h >>conftest.$ac_ext
16352 cat >>conftest.$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16363 rm -f conftest.$ac_objext
16364 if { (ac_try="$ac_compile"
16365 case "(($ac_try" in
16366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16367 *) ac_try_echo=$ac_try;;
16369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16370 (eval "$ac_compile") 2>conftest.er1
16372 grep -v '^ *+' conftest.er1 >conftest.err
16374 cat conftest.err >&5
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); } && {
16377 test -z "$ac_cxx_werror_flag" ||
16378 test ! -s conftest.err
16379 } && test -s conftest.$ac_objext; then
16380 ac_cv_prog_cxx_g=yes
16382 echo "$as_me: failed program was:" >&5
16383 sed 's/^/| /' conftest.$ac_ext >&5
16386 cat >conftest.$ac_ext <<_ACEOF
16389 cat confdefs.h >>conftest.$ac_ext
16390 cat >>conftest.$ac_ext <<_ACEOF
16391 /* end confdefs.h. */
16401 rm -f conftest.$ac_objext
16402 if { (ac_try="$ac_compile"
16403 case "(($ac_try" in
16404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16405 *) ac_try_echo=$ac_try;;
16407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16408 (eval "$ac_compile") 2>conftest.er1
16410 grep -v '^ *+' conftest.er1 >conftest.err
16412 cat conftest.err >&5
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); } && {
16415 test -z "$ac_cxx_werror_flag" ||
16416 test ! -s conftest.err
16417 } && test -s conftest.$ac_objext; then
16420 echo "$as_me: failed program was:" >&5
16421 sed 's/^/| /' conftest.$ac_ext >&5
16423 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16425 cat >conftest.$ac_ext <<_ACEOF
16428 cat confdefs.h >>conftest.$ac_ext
16429 cat >>conftest.$ac_ext <<_ACEOF
16430 /* end confdefs.h. */
16440 rm -f conftest.$ac_objext
16441 if { (ac_try="$ac_compile"
16442 case "(($ac_try" in
16443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16444 *) ac_try_echo=$ac_try;;
16446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16447 (eval "$ac_compile") 2>conftest.er1
16449 grep -v '^ *+' conftest.er1 >conftest.err
16451 cat conftest.err >&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); } && {
16454 test -z "$ac_cxx_werror_flag" ||
16455 test ! -s conftest.err
16456 } && test -s conftest.$ac_objext; then
16457 ac_cv_prog_cxx_g=yes
16459 echo "$as_me: failed program was:" >&5
16460 sed 's/^/| /' conftest.$ac_ext >&5
16465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16472 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16474 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16475 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16476 if test "$ac_test_CXXFLAGS" = set; then
16477 CXXFLAGS=$ac_save_CXXFLAGS
16478 elif test $ac_cv_prog_cxx_g = yes; then
16479 if test "$GXX" = yes; then
16485 if test "$GXX" = yes; then
16492 ac_cpp='$CPP $CPPFLAGS'
16493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16501 ac_cpp='$CXXCPP $CPPFLAGS'
16502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16506 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16507 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16508 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16509 echo $ECHO_N "(cached) $ECHO_C" >&6
16511 cat >conftest.$ac_ext <<_ACEOF
16514 cat confdefs.h >>conftest.$ac_ext
16515 cat >>conftest.$ac_ext <<_ACEOF
16516 /* end confdefs.h. */
16522 #ifndef __INTEL_COMPILER
16530 rm -f conftest.$ac_objext
16531 if { (ac_try="$ac_compile"
16532 case "(($ac_try" in
16533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16534 *) ac_try_echo=$ac_try;;
16536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16537 (eval "$ac_compile") 2>conftest.er1
16539 grep -v '^ *+' conftest.er1 >conftest.err
16541 cat conftest.err >&5
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); } && {
16544 test -z "$ac_cxx_werror_flag" ||
16545 test ! -s conftest.err
16546 } && test -s conftest.$ac_objext; then
16547 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16549 echo "$as_me: failed program was:" >&5
16550 sed 's/^/| /' conftest.$ac_ext >&5
16552 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16560 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16561 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16562 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16568 ac_cpp='$CPP $CPPFLAGS'
16569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16576 if test "x$GCXX" != "xyes"; then
16577 if test "xCXX" = "xC"; then
16578 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16579 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16580 if test "${bakefile_cv_c_exto+set}" = set; then
16581 echo $ECHO_N "(cached) $ECHO_C" >&6
16583 cat >conftest.$ac_ext <<_ACEOF
16586 cat confdefs.h >>conftest.$ac_ext
16587 cat >>conftest.$ac_ext <<_ACEOF
16588 /* end confdefs.h. */
16598 rm -f conftest.$ac_objext conftest.$ac_ext.o
16599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16600 (eval $ac_compile) 2>&5
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); }; then
16604 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16606 conftest.$ac_ext.o)
16607 bakefile_cv_c_exto="-ext o"
16614 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16615 See \`config.log' for more details." >&5
16616 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16617 See \`config.log' for more details." >&2;}
16618 { (exit 1); exit 1; }; }
16622 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16625 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16626 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16627 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16628 if test "c" = "c"; then
16629 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16631 if test "c" = "cxx"; then
16632 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16636 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16637 unset ac_cv_prog_cc_g
16638 ac_test_CFLAGS=${CFLAGS+set}
16639 ac_save_CFLAGS=$CFLAGS
16640 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16641 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16642 if test "${ac_cv_prog_cc_g+set}" = set; then
16643 echo $ECHO_N "(cached) $ECHO_C" >&6
16645 ac_save_c_werror_flag=$ac_c_werror_flag
16646 ac_c_werror_flag=yes
16649 cat >conftest.$ac_ext <<_ACEOF
16652 cat confdefs.h >>conftest.$ac_ext
16653 cat >>conftest.$ac_ext <<_ACEOF
16654 /* end confdefs.h. */
16664 rm -f conftest.$ac_objext
16665 if { (ac_try="$ac_compile"
16666 case "(($ac_try" in
16667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16668 *) ac_try_echo=$ac_try;;
16670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16671 (eval "$ac_compile") 2>conftest.er1
16673 grep -v '^ *+' conftest.er1 >conftest.err
16675 cat conftest.err >&5
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); } && {
16678 test -z "$ac_c_werror_flag" ||
16679 test ! -s conftest.err
16680 } && test -s conftest.$ac_objext; then
16681 ac_cv_prog_cc_g=yes
16683 echo "$as_me: failed program was:" >&5
16684 sed 's/^/| /' conftest.$ac_ext >&5
16687 cat >conftest.$ac_ext <<_ACEOF
16690 cat confdefs.h >>conftest.$ac_ext
16691 cat >>conftest.$ac_ext <<_ACEOF
16692 /* end confdefs.h. */
16702 rm -f conftest.$ac_objext
16703 if { (ac_try="$ac_compile"
16704 case "(($ac_try" in
16705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16706 *) ac_try_echo=$ac_try;;
16708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16709 (eval "$ac_compile") 2>conftest.er1
16711 grep -v '^ *+' conftest.er1 >conftest.err
16713 cat conftest.err >&5
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); } && {
16716 test -z "$ac_c_werror_flag" ||
16717 test ! -s conftest.err
16718 } && test -s conftest.$ac_objext; then
16721 echo "$as_me: failed program was:" >&5
16722 sed 's/^/| /' conftest.$ac_ext >&5
16724 ac_c_werror_flag=$ac_save_c_werror_flag
16726 cat >conftest.$ac_ext <<_ACEOF
16729 cat confdefs.h >>conftest.$ac_ext
16730 cat >>conftest.$ac_ext <<_ACEOF
16731 /* end confdefs.h. */
16741 rm -f conftest.$ac_objext
16742 if { (ac_try="$ac_compile"
16743 case "(($ac_try" in
16744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16745 *) ac_try_echo=$ac_try;;
16747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16748 (eval "$ac_compile") 2>conftest.er1
16750 grep -v '^ *+' conftest.er1 >conftest.err
16752 cat conftest.err >&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); } && {
16755 test -z "$ac_c_werror_flag" ||
16756 test ! -s conftest.err
16757 } && test -s conftest.$ac_objext; then
16758 ac_cv_prog_cc_g=yes
16760 echo "$as_me: failed program was:" >&5
16761 sed 's/^/| /' conftest.$ac_ext >&5
16766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16773 ac_c_werror_flag=$ac_save_c_werror_flag
16775 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16776 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16777 if test "$ac_test_CFLAGS" = set; then
16778 CFLAGS=$ac_save_CFLAGS
16779 elif test $ac_cv_prog_cc_g = yes; then
16780 if test "$GCC" = yes; then
16786 if test "$GCC" = yes; then
16800 ac_cpp='$CXXCPP $CPPFLAGS'
16801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16805 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16806 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16807 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16808 echo $ECHO_N "(cached) $ECHO_C" >&6
16810 cat >conftest.$ac_ext <<_ACEOF
16813 cat confdefs.h >>conftest.$ac_ext
16814 cat >>conftest.$ac_ext <<_ACEOF
16815 /* end confdefs.h. */
16829 rm -f conftest.$ac_objext
16830 if { (ac_try="$ac_compile"
16831 case "(($ac_try" in
16832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16833 *) ac_try_echo=$ac_try;;
16835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16836 (eval "$ac_compile") 2>conftest.er1
16838 grep -v '^ *+' conftest.er1 >conftest.err
16840 cat conftest.err >&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); } && {
16843 test -z "$ac_cxx_werror_flag" ||
16844 test ! -s conftest.err
16845 } && test -s conftest.$ac_objext; then
16846 bakefile_cv_cxx_compiler___xlC__=yes
16848 echo "$as_me: failed program was:" >&5
16849 sed 's/^/| /' conftest.$ac_ext >&5
16851 bakefile_cv_cxx_compiler___xlC__=no
16855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16859 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16860 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16861 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16867 ac_cpp='$CPP $CPPFLAGS'
16868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16880 ac_cpp='$CXXCPP $CPPFLAGS'
16881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16885 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16886 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16887 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16888 echo $ECHO_N "(cached) $ECHO_C" >&6
16890 cat >conftest.$ac_ext <<_ACEOF
16893 cat confdefs.h >>conftest.$ac_ext
16894 cat >>conftest.$ac_ext <<_ACEOF
16895 /* end confdefs.h. */
16909 rm -f conftest.$ac_objext
16910 if { (ac_try="$ac_compile"
16911 case "(($ac_try" in
16912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16913 *) ac_try_echo=$ac_try;;
16915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16916 (eval "$ac_compile") 2>conftest.er1
16918 grep -v '^ *+' conftest.er1 >conftest.err
16920 cat conftest.err >&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); } && {
16923 test -z "$ac_cxx_werror_flag" ||
16924 test ! -s conftest.err
16925 } && test -s conftest.$ac_objext; then
16926 bakefile_cv_cxx_compiler___MWERKS__=yes
16928 echo "$as_me: failed program was:" >&5
16929 sed 's/^/| /' conftest.$ac_ext >&5
16931 bakefile_cv_cxx_compiler___MWERKS__=no
16935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16939 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
16940 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
16941 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
16947 ac_cpp='$CPP $CPPFLAGS'
16948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16957 ac_cpp='$CXXCPP $CPPFLAGS'
16958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16962 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16963 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16964 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16965 echo $ECHO_N "(cached) $ECHO_C" >&6
16967 cat >conftest.$ac_ext <<_ACEOF
16970 cat confdefs.h >>conftest.$ac_ext
16971 cat >>conftest.$ac_ext <<_ACEOF
16972 /* end confdefs.h. */
16986 rm -f conftest.$ac_objext
16987 if { (ac_try="$ac_compile"
16988 case "(($ac_try" in
16989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16990 *) ac_try_echo=$ac_try;;
16992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16993 (eval "$ac_compile") 2>conftest.er1
16995 grep -v '^ *+' conftest.er1 >conftest.err
16997 cat conftest.err >&5
16998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999 (exit $ac_status); } && {
17000 test -z "$ac_cxx_werror_flag" ||
17001 test ! -s conftest.err
17002 } && test -s conftest.$ac_objext; then
17003 bakefile_cv_cxx_compiler___xlC__=yes
17005 echo "$as_me: failed program was:" >&5
17006 sed 's/^/| /' conftest.$ac_ext >&5
17008 bakefile_cv_cxx_compiler___xlC__=no
17012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17016 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17017 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17018 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17024 ac_cpp='$CPP $CPPFLAGS'
17025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17037 ac_cpp='$CXXCPP $CPPFLAGS'
17038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17042 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17043 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17044 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17045 echo $ECHO_N "(cached) $ECHO_C" >&6
17047 cat >conftest.$ac_ext <<_ACEOF
17050 cat confdefs.h >>conftest.$ac_ext
17051 cat >>conftest.$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17058 #ifndef _SGI_COMPILER_VERSION
17066 rm -f conftest.$ac_objext
17067 if { (ac_try="$ac_compile"
17068 case "(($ac_try" in
17069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17070 *) ac_try_echo=$ac_try;;
17072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17073 (eval "$ac_compile") 2>conftest.er1
17075 grep -v '^ *+' conftest.er1 >conftest.err
17077 cat conftest.err >&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } && {
17080 test -z "$ac_cxx_werror_flag" ||
17081 test ! -s conftest.err
17082 } && test -s conftest.$ac_objext; then
17083 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17085 echo "$as_me: failed program was:" >&5
17086 sed 's/^/| /' conftest.$ac_ext >&5
17088 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17096 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17097 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17098 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17104 ac_cpp='$CPP $CPPFLAGS'
17105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17117 ac_cpp='$CXXCPP $CPPFLAGS'
17118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17122 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17123 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17124 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17125 echo $ECHO_N "(cached) $ECHO_C" >&6
17127 cat >conftest.$ac_ext <<_ACEOF
17130 cat confdefs.h >>conftest.$ac_ext
17131 cat >>conftest.$ac_ext <<_ACEOF
17132 /* end confdefs.h. */
17138 #ifndef __SUNPRO_CC
17146 rm -f conftest.$ac_objext
17147 if { (ac_try="$ac_compile"
17148 case "(($ac_try" in
17149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17150 *) ac_try_echo=$ac_try;;
17152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17153 (eval "$ac_compile") 2>conftest.er1
17155 grep -v '^ *+' conftest.er1 >conftest.err
17157 cat conftest.err >&5
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); } && {
17160 test -z "$ac_cxx_werror_flag" ||
17161 test ! -s conftest.err
17162 } && test -s conftest.$ac_objext; then
17163 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17165 echo "$as_me: failed program was:" >&5
17166 sed 's/^/| /' conftest.$ac_ext >&5
17168 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17176 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17177 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17178 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17184 ac_cpp='$CPP $CPPFLAGS'
17185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17197 ac_cpp='$CXXCPP $CPPFLAGS'
17198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17202 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17203 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17204 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17205 echo $ECHO_N "(cached) $ECHO_C" >&6
17207 cat >conftest.$ac_ext <<_ACEOF
17210 cat confdefs.h >>conftest.$ac_ext
17211 cat >>conftest.$ac_ext <<_ACEOF
17212 /* end confdefs.h. */
17226 rm -f conftest.$ac_objext
17227 if { (ac_try="$ac_compile"
17228 case "(($ac_try" in
17229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17230 *) ac_try_echo=$ac_try;;
17232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17233 (eval "$ac_compile") 2>conftest.er1
17235 grep -v '^ *+' conftest.er1 >conftest.err
17237 cat conftest.err >&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); } && {
17240 test -z "$ac_cxx_werror_flag" ||
17241 test ! -s conftest.err
17242 } && test -s conftest.$ac_objext; then
17243 bakefile_cv_cxx_compiler___HP_aCC=yes
17245 echo "$as_me: failed program was:" >&5
17246 sed 's/^/| /' conftest.$ac_ext >&5
17248 bakefile_cv_cxx_compiler___HP_aCC=no
17252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17256 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17257 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17258 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17264 ac_cpp='$CPP $CPPFLAGS'
17265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17277 ac_cpp='$CXXCPP $CPPFLAGS'
17278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17282 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17283 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17284 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17285 echo $ECHO_N "(cached) $ECHO_C" >&6
17287 cat >conftest.$ac_ext <<_ACEOF
17290 cat confdefs.h >>conftest.$ac_ext
17291 cat >>conftest.$ac_ext <<_ACEOF
17292 /* end confdefs.h. */
17306 rm -f conftest.$ac_objext
17307 if { (ac_try="$ac_compile"
17308 case "(($ac_try" in
17309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17310 *) ac_try_echo=$ac_try;;
17312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17313 (eval "$ac_compile") 2>conftest.er1
17315 grep -v '^ *+' conftest.er1 >conftest.err
17317 cat conftest.err >&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } && {
17320 test -z "$ac_cxx_werror_flag" ||
17321 test ! -s conftest.err
17322 } && test -s conftest.$ac_objext; then
17323 bakefile_cv_cxx_compiler___DECCXX=yes
17325 echo "$as_me: failed program was:" >&5
17326 sed 's/^/| /' conftest.$ac_ext >&5
17328 bakefile_cv_cxx_compiler___DECCXX=no
17332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17336 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17337 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17338 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17344 ac_cpp='$CPP $CPPFLAGS'
17345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17357 ac_cpp='$CXXCPP $CPPFLAGS'
17358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17362 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17363 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17364 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17365 echo $ECHO_N "(cached) $ECHO_C" >&6
17367 cat >conftest.$ac_ext <<_ACEOF
17370 cat confdefs.h >>conftest.$ac_ext
17371 cat >>conftest.$ac_ext <<_ACEOF
17372 /* end confdefs.h. */
17378 #ifndef __SUNPRO_CC
17386 rm -f conftest.$ac_objext
17387 if { (ac_try="$ac_compile"
17388 case "(($ac_try" in
17389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17390 *) ac_try_echo=$ac_try;;
17392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17393 (eval "$ac_compile") 2>conftest.er1
17395 grep -v '^ *+' conftest.er1 >conftest.err
17397 cat conftest.err >&5
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); } && {
17400 test -z "$ac_cxx_werror_flag" ||
17401 test ! -s conftest.err
17402 } && test -s conftest.$ac_objext; then
17403 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17405 echo "$as_me: failed program was:" >&5
17406 sed 's/^/| /' conftest.$ac_ext >&5
17408 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17416 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17417 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17418 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17424 ac_cpp='$CPP $CPPFLAGS'
17425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17437 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17438 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17439 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17440 { (exit 1); exit 1; }; }
17443 if test "x$SUNCXX" != xyes; then
17444 if test -n "$ac_tool_prefix"; then
17445 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17446 set dummy ${ac_tool_prefix}ar; ac_word=$2
17447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17449 if test "${ac_cv_prog_AR+set}" = set; then
17450 echo $ECHO_N "(cached) $ECHO_C" >&6
17452 if test -n "$AR"; then
17453 ac_cv_prog_AR="$AR" # Let the user override the test.
17455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17456 for as_dir in $PATH
17459 test -z "$as_dir" && as_dir=.
17460 for ac_exec_ext in '' $ac_executable_extensions; do
17461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17462 ac_cv_prog_AR="${ac_tool_prefix}ar"
17463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17473 if test -n "$AR"; then
17474 { echo "$as_me:$LINENO: result: $AR" >&5
17475 echo "${ECHO_T}$AR" >&6; }
17477 { echo "$as_me:$LINENO: result: no" >&5
17478 echo "${ECHO_T}no" >&6; }
17483 if test -z "$ac_cv_prog_AR"; then
17485 # Extract the first word of "ar", so it can be a program name with args.
17486 set dummy ar; ac_word=$2
17487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17489 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17490 echo $ECHO_N "(cached) $ECHO_C" >&6
17492 if test -n "$ac_ct_AR"; then
17493 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17496 for as_dir in $PATH
17499 test -z "$as_dir" && as_dir=.
17500 for ac_exec_ext in '' $ac_executable_extensions; do
17501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17502 ac_cv_prog_ac_ct_AR="ar"
17503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17512 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17513 if test -n "$ac_ct_AR"; then
17514 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17515 echo "${ECHO_T}$ac_ct_AR" >&6; }
17517 { echo "$as_me:$LINENO: result: no" >&5
17518 echo "${ECHO_T}no" >&6; }
17521 if test "x$ac_ct_AR" = x; then
17524 case $cross_compiling:$ac_tool_warned in
17526 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17527 whose name does not start with the host triplet. If you think this
17528 configuration is useful to you, please write to autoconf@gnu.org." >&5
17529 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17530 whose name does not start with the host triplet. If you think this
17531 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17532 ac_tool_warned=yes ;;
17537 AR="$ac_cv_prog_AR"
17540 if test "x$AR" = "x" ; then
17541 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17542 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17543 { (exit 1); exit 1; }; }
17547 retest_macosx_linking=no
17549 #if test "$wxUSE_MAC" = 1; then
17550 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17551 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17552 # Implicitly turn on the new --with-macosx-sdk using the default
17553 # SDK which provides the behavior this option has always had.
17554 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17555 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17556 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17557 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17558 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17559 wxUSE_MACOSX_SDK=yes
17562 # Complain to user if he specified an argument to --enable-universal_binary
17563 # and also 1) specified --with-macosx-sdk using the default (yes) or
17564 # 2) specified --with-macosx-sdk using a path or 3) specified
17565 # --without-macosx-sdk (no).
17566 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17567 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17568 See \`config.log' for more details." >&5
17569 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17570 See \`config.log' for more details." >&2;}
17571 { (exit 1); exit 1; }; }
17573 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17574 # special-case the empty string because the below test simply
17575 # converts "no" to the empty string anyway.
17576 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17577 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17578 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17581 OSX_UNIV_OPTS="-arch ppc -arch i386"
17582 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17583 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17584 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17585 retest_macosx_linking=yes
17587 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17588 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17593 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17595 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17596 # TODO: Search for most recent SDK and use it.
17597 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17601 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17602 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17603 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17604 if ! test -d "$wxUSE_MACOSX_SDK"; then
17605 { { echo "$as_me:$LINENO: error: not found
17606 See \`config.log' for more details." >&5
17607 echo "$as_me: error: not found
17608 See \`config.log' for more details." >&2;}
17609 { (exit 1); exit 1; }; }
17611 { echo "$as_me:$LINENO: result: exists" >&5
17612 echo "${ECHO_T}exists" >&6; }
17614 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17615 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17616 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17617 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17618 retest_macosx_linking=yes
17621 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17622 wxUSE_MACOSX_VERSION_MIN=
17623 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17624 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17625 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17626 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17628 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
17630 # If that failed, try again with the new key
17631 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17633 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
17637 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17638 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17639 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17640 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17642 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17643 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17644 wxUSE_MACOSX_VERSION_MIN=
17647 wxUSE_MACOSX_VERSION_MIN=
17651 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17652 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17653 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17654 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17655 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17656 retest_macosx_linking=yes
17659 if test "x$retest_macosx_linking" = "xyes"; then
17661 ac_cpp='$CPP $CPPFLAGS'
17662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17666 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17667 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17668 cat >conftest.$ac_ext <<_ACEOF
17671 cat confdefs.h >>conftest.$ac_ext
17672 cat >>conftest.$ac_ext <<_ACEOF
17673 /* end confdefs.h. */
17683 rm -f conftest.$ac_objext conftest$ac_exeext
17684 if { (ac_try="$ac_link"
17685 case "(($ac_try" in
17686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17687 *) ac_try_echo=$ac_try;;
17689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17690 (eval "$ac_link") 2>conftest.er1
17692 grep -v '^ *+' conftest.er1 >conftest.err
17694 cat conftest.err >&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); } && {
17697 test -z "$ac_c_werror_flag" ||
17698 test ! -s conftest.err
17699 } && test -s conftest$ac_exeext &&
17700 $as_test_x conftest$ac_exeext; then
17701 { echo "$as_me:$LINENO: result: yes" >&5
17702 echo "${ECHO_T}yes" >&6; }
17704 echo "$as_me: failed program was:" >&5
17705 sed 's/^/| /' conftest.$ac_ext >&5
17707 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17708 See \`config.log' for more details." >&5
17709 echo "$as_me: error: no. Try a different SDK
17710 See \`config.log' for more details." >&2;}
17711 { (exit 1); exit 1; }; }; exit 1
17714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17715 conftest$ac_exeext conftest.$ac_ext
17717 ac_cpp='$CPP $CPPFLAGS'
17718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17724 ac_cpp='$CXXCPP $CPPFLAGS'
17725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17729 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17730 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17731 cat >conftest.$ac_ext <<_ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17746 rm -f conftest.$ac_objext conftest$ac_exeext
17747 if { (ac_try="$ac_link"
17748 case "(($ac_try" in
17749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17750 *) ac_try_echo=$ac_try;;
17752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17753 (eval "$ac_link") 2>conftest.er1
17755 grep -v '^ *+' conftest.er1 >conftest.err
17757 cat conftest.err >&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } && {
17760 test -z "$ac_cxx_werror_flag" ||
17761 test ! -s conftest.err
17762 } && test -s conftest$ac_exeext &&
17763 $as_test_x conftest$ac_exeext; then
17764 { echo "$as_me:$LINENO: result: yes" >&5
17765 echo "${ECHO_T}yes" >&6; }
17767 echo "$as_me: failed program was:" >&5
17768 sed 's/^/| /' conftest.$ac_ext >&5
17770 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17771 See \`config.log' for more details." >&5
17772 echo "$as_me: error: no. Try a different SDK
17773 See \`config.log' for more details." >&2;}
17774 { (exit 1); exit 1; }; }; exit 1
17777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17778 conftest$ac_exeext conftest.$ac_ext
17780 ac_cpp='$CPP $CPPFLAGS'
17781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17791 INSTALL_PROGRAM="cp -fp"
17792 INSTALL_DATA="cp -fp"
17799 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17800 CXXFLAGS="-qunique $CXXFLAGS"
17804 powerpc-*-darwin* )
17805 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17806 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17807 cat >conftest.$ac_ext <<_ACEOF
17810 cat confdefs.h >>conftest.$ac_ext
17811 cat >>conftest.$ac_ext <<_ACEOF
17812 /* end confdefs.h. */
17817 #ifndef __POWERPC__
17818 choke me for lack of PowerPC
17825 rm -f conftest.$ac_objext
17826 if { (ac_try="$ac_compile"
17827 case "(($ac_try" in
17828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17829 *) ac_try_echo=$ac_try;;
17831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17832 (eval "$ac_compile") 2>conftest.er1
17834 grep -v '^ *+' conftest.er1 >conftest.err
17836 cat conftest.err >&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); } && {
17839 test -z "$ac_c_werror_flag" ||
17840 test ! -s conftest.err
17841 } && test -s conftest.$ac_objext; then
17842 { echo "$as_me:$LINENO: result: yes" >&5
17843 echo "${ECHO_T}yes" >&6; }
17845 echo "$as_me: failed program was:" >&5
17846 sed 's/^/| /' conftest.$ac_ext >&5
17848 { echo "$as_me:$LINENO: result: no" >&5
17849 echo "${ECHO_T}no" >&6; }
17850 cat >>confdefs.h <<\_ACEOF
17851 #define __POWERPC__ 1
17857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17863 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17864 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17865 cat >conftest.$ac_ext <<_ACEOF
17868 cat confdefs.h >>conftest.$ac_ext
17869 cat >>conftest.$ac_ext <<_ACEOF
17870 /* end confdefs.h. */
17871 #include <CoreFoundation/CFBase.h>
17881 rm -f conftest.$ac_objext
17882 if { (ac_try="$ac_compile"
17883 case "(($ac_try" in
17884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17885 *) ac_try_echo=$ac_try;;
17887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17888 (eval "$ac_compile") 2>conftest.er1
17890 grep -v '^ *+' conftest.er1 >conftest.err
17892 cat conftest.err >&5
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); } && {
17895 test -z "$ac_c_werror_flag" ||
17896 test ! -s conftest.err
17897 } && test -s conftest.$ac_objext; then
17898 { echo "$as_me:$LINENO: result: yes" >&5
17899 echo "${ECHO_T}yes" >&6; }
17901 echo "$as_me: failed program was:" >&5
17902 sed 's/^/| /' conftest.$ac_ext >&5
17904 { echo "$as_me:$LINENO: result: no" >&5
17905 echo "${ECHO_T}no" >&6; }
17906 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17907 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17908 cat >conftest.$ac_ext <<_ACEOF
17911 cat confdefs.h >>conftest.$ac_ext
17912 cat >>conftest.$ac_ext <<_ACEOF
17913 /* end confdefs.h. */
17914 #define __CF_USE_FRAMEWORK_INCLUDES__
17915 #include <CoreFoundation/CFBase.h>
17925 rm -f conftest.$ac_objext
17926 if { (ac_try="$ac_compile"
17927 case "(($ac_try" in
17928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17929 *) ac_try_echo=$ac_try;;
17931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17932 (eval "$ac_compile") 2>conftest.er1
17934 grep -v '^ *+' conftest.er1 >conftest.err
17936 cat conftest.err >&5
17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938 (exit $ac_status); } && {
17939 test -z "$ac_c_werror_flag" ||
17940 test ! -s conftest.err
17941 } && test -s conftest.$ac_objext; then
17942 { echo "$as_me:$LINENO: result: yes" >&5
17943 echo "${ECHO_T}yes" >&6; }
17944 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17946 echo "$as_me: failed program was:" >&5
17947 sed 's/^/| /' conftest.$ac_ext >&5
17949 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17950 See \`config.log' for more details." >&5
17951 echo "$as_me: error: no. CoreFoundation not available.
17952 See \`config.log' for more details." >&2;}
17953 { (exit 1); exit 1; }; }
17957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17967 doesnt_want_win32=0
17970 if test "$wxUSE_MSW" = 1 ; then
17973 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17974 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17975 if test "${wx_cv_nocygwin+set}" = set; then
17976 echo $ECHO_N "(cached) $ECHO_C" >&6
17979 cat >conftest.$ac_ext <<_ACEOF
17982 cat confdefs.h >>conftest.$ac_ext
17983 cat >>conftest.$ac_ext <<_ACEOF
17984 /* end confdefs.h. */
17998 rm -f conftest.$ac_objext
17999 if { (ac_try="$ac_compile"
18000 case "(($ac_try" in
18001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18002 *) ac_try_echo=$ac_try;;
18004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18005 (eval "$ac_compile") 2>conftest.er1
18007 grep -v '^ *+' conftest.er1 >conftest.err
18009 cat conftest.err >&5
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); } && {
18012 test -z "$ac_c_werror_flag" ||
18013 test ! -s conftest.err
18014 } && test -s conftest.$ac_objext; then
18017 echo "$as_me: failed program was:" >&5
18018 sed 's/^/| /' conftest.$ac_ext >&5
18024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18028 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18029 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18031 if test "$wx_cv_nocygwin" = "yes"; then
18034 doesnt_want_win32=1
18037 if test "$wants_win32" = 1 ; then
18038 BAKEFILE_FORCE_PLATFORM=win32
18046 if test "$wxUSE_WINE" = "yes"; then
18048 LDFLAGS_GUI="-mwindows"
18051 if test "$wants_win32" = 1 ; then
18054 cat >>confdefs.h <<\_ACEOF
18055 #define __WIN32__ 1
18058 cat >>confdefs.h <<\_ACEOF
18059 #define __WIN95__ 1
18062 cat >>confdefs.h <<\_ACEOF
18063 #define __WINDOWS__ 1
18066 cat >>confdefs.h <<\_ACEOF
18067 #define __GNUWIN32__ 1
18070 cat >>confdefs.h <<\_ACEOF
18075 if test "$doesnt_want_win32" = 1 ; then
18080 if test "$USE_UNIX" = 1 ; then
18082 cat >>confdefs.h <<\_ACEOF
18089 *-pc-os2_emx | *-pc-os2-emx )
18090 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18091 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18092 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18093 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18094 echo $ECHO_N "(cached) $ECHO_C" >&6
18096 ac_check_lib_save_LIBS=$LIBS
18097 LIBS="-lcExt $LIBS"
18098 cat >conftest.$ac_ext <<_ACEOF
18101 cat confdefs.h >>conftest.$ac_ext
18102 cat >>conftest.$ac_ext <<_ACEOF
18103 /* end confdefs.h. */
18105 /* Override any GCC internal prototype to avoid an error.
18106 Use char because int might match the return type of a GCC
18107 builtin and then its argument prototype would still apply. */
18120 rm -f conftest.$ac_objext conftest$ac_exeext
18121 if { (ac_try="$ac_link"
18122 case "(($ac_try" in
18123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18124 *) ac_try_echo=$ac_try;;
18126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18127 (eval "$ac_link") 2>conftest.er1
18129 grep -v '^ *+' conftest.er1 >conftest.err
18131 cat conftest.err >&5
18132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18133 (exit $ac_status); } && {
18134 test -z "$ac_c_werror_flag" ||
18135 test ! -s conftest.err
18136 } && test -s conftest$ac_exeext &&
18137 $as_test_x conftest$ac_exeext; then
18138 ac_cv_lib_cExt_drand48=yes
18140 echo "$as_me: failed program was:" >&5
18141 sed 's/^/| /' conftest.$ac_ext >&5
18143 ac_cv_lib_cExt_drand48=no
18146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18147 conftest$ac_exeext conftest.$ac_ext
18148 LIBS=$ac_check_lib_save_LIBS
18150 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18151 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18152 if test $ac_cv_lib_cExt_drand48 = yes; then
18153 LIBS="$LIBS -lcExt"
18157 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18159 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18160 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18161 if test "${wx_cv_gccversion+set}" = set; then
18162 echo $ECHO_N "(cached) $ECHO_C" >&6
18165 if test "$cross_compiling" = yes; then
18166 wx_cv_gccversion="EMX2"
18169 cat >conftest.$ac_ext <<_ACEOF
18172 cat confdefs.h >>conftest.$ac_ext
18173 cat >>conftest.$ac_ext <<_ACEOF
18174 /* end confdefs.h. */
18180 FILE *f=fopen("conftestval", "w");
18185 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18187 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18197 rm -f conftest$ac_exeext
18198 if { (ac_try="$ac_link"
18199 case "(($ac_try" in
18200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18201 *) ac_try_echo=$ac_try;;
18203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18204 (eval "$ac_link") 2>&5
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18208 { (case "(($ac_try" in
18209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18210 *) ac_try_echo=$ac_try;;
18212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18213 (eval "$ac_try") 2>&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); }; }; then
18217 wx_cv_gccversion=`cat conftestval`
18219 echo "$as_me: program exited with status $ac_status" >&5
18220 echo "$as_me: failed program was:" >&5
18221 sed 's/^/| /' conftest.$ac_ext >&5
18223 ( exit $ac_status )
18224 wx_cv_gccversion="EMX2"
18226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18232 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18233 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18234 if test "$wx_cv_gccversion" = "EMX2"; then
18235 LIBS="$LIBS -lstdcpp"
18236 LDFLAGS="$LDFLAGS -Zsysv-signals"
18238 if test "$wx_cv_gccversion" = "EMX3"; then
18239 LIBS="$LIBS -lstdcxx -lgcc"
18240 LDFLAGS="$LDFLAGS -Zsysv-signals"
18242 LIBS="$LIBS -lstdc++"
18245 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18246 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18247 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18254 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18255 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18256 if test "${ac_cv_string_strcasecmp+set}" = set; then
18257 echo $ECHO_N "(cached) $ECHO_C" >&6
18260 cat >conftest.$ac_ext <<_ACEOF
18263 cat confdefs.h >>conftest.$ac_ext
18264 cat >>conftest.$ac_ext <<_ACEOF
18265 /* end confdefs.h. */
18267 #include <string.h>
18273 strcasecmp("foo", "bar");
18279 rm -f conftest.$ac_objext conftest$ac_exeext
18280 if { (ac_try="$ac_link"
18281 case "(($ac_try" in
18282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18283 *) ac_try_echo=$ac_try;;
18285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18286 (eval "$ac_link") 2>conftest.er1
18288 grep -v '^ *+' conftest.er1 >conftest.err
18290 cat conftest.err >&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); } && {
18293 test -z "$ac_c_werror_flag" ||
18294 test ! -s conftest.err
18295 } && test -s conftest$ac_exeext &&
18296 $as_test_x conftest$ac_exeext; then
18297 ac_cv_string_strcasecmp=yes
18299 echo "$as_me: failed program was:" >&5
18300 sed 's/^/| /' conftest.$ac_ext >&5
18302 ac_cv_string_strcasecmp=no
18306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18307 conftest$ac_exeext conftest.$ac_ext
18310 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18311 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18313 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18314 cat >>confdefs.h <<\_ACEOF
18315 #define HAVE_STRCASECMP_IN_STRING_H 1
18319 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18320 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18321 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18322 echo $ECHO_N "(cached) $ECHO_C" >&6
18325 cat >conftest.$ac_ext <<_ACEOF
18328 cat confdefs.h >>conftest.$ac_ext
18329 cat >>conftest.$ac_ext <<_ACEOF
18330 /* end confdefs.h. */
18332 #include <strings.h>
18338 strcasecmp("foo", "bar");
18344 rm -f conftest.$ac_objext conftest$ac_exeext
18345 if { (ac_try="$ac_link"
18346 case "(($ac_try" in
18347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18348 *) ac_try_echo=$ac_try;;
18350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18351 (eval "$ac_link") 2>conftest.er1
18353 grep -v '^ *+' conftest.er1 >conftest.err
18355 cat conftest.err >&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); } && {
18358 test -z "$ac_c_werror_flag" ||
18359 test ! -s conftest.err
18360 } && test -s conftest$ac_exeext &&
18361 $as_test_x conftest$ac_exeext; then
18362 ac_cv_strings_strcasecmp=yes
18364 echo "$as_me: failed program was:" >&5
18365 sed 's/^/| /' conftest.$ac_ext >&5
18367 ac_cv_strings_strcasecmp=no
18371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18372 conftest$ac_exeext conftest.$ac_ext
18375 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18376 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18378 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18379 cat >>confdefs.h <<\_ACEOF
18380 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18384 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18385 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18386 { (exit 1); exit 1; }; }
18394 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18395 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18396 if test "${ac_cv_header_stdc+set}" = set; then
18397 echo $ECHO_N "(cached) $ECHO_C" >&6
18399 cat >conftest.$ac_ext <<_ACEOF
18402 cat confdefs.h >>conftest.$ac_ext
18403 cat >>conftest.$ac_ext <<_ACEOF
18404 /* end confdefs.h. */
18405 #include <stdlib.h>
18406 #include <stdarg.h>
18407 #include <string.h>
18418 rm -f conftest.$ac_objext
18419 if { (ac_try="$ac_compile"
18420 case "(($ac_try" in
18421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18422 *) ac_try_echo=$ac_try;;
18424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18425 (eval "$ac_compile") 2>conftest.er1
18427 grep -v '^ *+' conftest.er1 >conftest.err
18429 cat conftest.err >&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); } && {
18432 test -z "$ac_c_werror_flag" ||
18433 test ! -s conftest.err
18434 } && test -s conftest.$ac_objext; then
18435 ac_cv_header_stdc=yes
18437 echo "$as_me: failed program was:" >&5
18438 sed 's/^/| /' conftest.$ac_ext >&5
18440 ac_cv_header_stdc=no
18443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18445 if test $ac_cv_header_stdc = yes; then
18446 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18447 cat >conftest.$ac_ext <<_ACEOF
18450 cat confdefs.h >>conftest.$ac_ext
18451 cat >>conftest.$ac_ext <<_ACEOF
18452 /* end confdefs.h. */
18453 #include <string.h>
18456 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18457 $EGREP "memchr" >/dev/null 2>&1; then
18460 ac_cv_header_stdc=no
18466 if test $ac_cv_header_stdc = yes; then
18467 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18468 cat >conftest.$ac_ext <<_ACEOF
18471 cat confdefs.h >>conftest.$ac_ext
18472 cat >>conftest.$ac_ext <<_ACEOF
18473 /* end confdefs.h. */
18474 #include <stdlib.h>
18477 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18478 $EGREP "free" >/dev/null 2>&1; then
18481 ac_cv_header_stdc=no
18487 if test $ac_cv_header_stdc = yes; then
18488 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18489 if test "$cross_compiling" = yes; then
18492 cat >conftest.$ac_ext <<_ACEOF
18495 cat confdefs.h >>conftest.$ac_ext
18496 cat >>conftest.$ac_ext <<_ACEOF
18497 /* end confdefs.h. */
18499 #include <stdlib.h>
18500 #if ((' ' & 0x0FF) == 0x020)
18501 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18502 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18504 # define ISLOWER(c) \
18505 (('a' <= (c) && (c) <= 'i') \
18506 || ('j' <= (c) && (c) <= 'r') \
18507 || ('s' <= (c) && (c) <= 'z'))
18508 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18511 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18516 for (i = 0; i < 256; i++)
18517 if (XOR (islower (i), ISLOWER (i))
18518 || toupper (i) != TOUPPER (i))
18523 rm -f conftest$ac_exeext
18524 if { (ac_try="$ac_link"
18525 case "(($ac_try" in
18526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18527 *) ac_try_echo=$ac_try;;
18529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18530 (eval "$ac_link") 2>&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18534 { (case "(($ac_try" in
18535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18536 *) ac_try_echo=$ac_try;;
18538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18539 (eval "$ac_try") 2>&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); }; }; then
18545 echo "$as_me: program exited with status $ac_status" >&5
18546 echo "$as_me: failed program was:" >&5
18547 sed 's/^/| /' conftest.$ac_ext >&5
18549 ( exit $ac_status )
18550 ac_cv_header_stdc=no
18552 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18558 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18559 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18560 if test $ac_cv_header_stdc = yes; then
18562 cat >>confdefs.h <<\_ACEOF
18563 #define STDC_HEADERS 1
18568 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18578 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18579 inttypes.h stdint.h unistd.h
18581 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18582 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18584 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18585 echo $ECHO_N "(cached) $ECHO_C" >&6
18587 cat >conftest.$ac_ext <<_ACEOF
18590 cat confdefs.h >>conftest.$ac_ext
18591 cat >>conftest.$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18593 $ac_includes_default
18595 #include <$ac_header>
18597 rm -f conftest.$ac_objext
18598 if { (ac_try="$ac_compile"
18599 case "(($ac_try" in
18600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18601 *) ac_try_echo=$ac_try;;
18603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18604 (eval "$ac_compile") 2>conftest.er1
18606 grep -v '^ *+' conftest.er1 >conftest.err
18608 cat conftest.err >&5
18609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18610 (exit $ac_status); } && {
18611 test -z "$ac_c_werror_flag" ||
18612 test ! -s conftest.err
18613 } && test -s conftest.$ac_objext; then
18614 eval "$as_ac_Header=yes"
18616 echo "$as_me: failed program was:" >&5
18617 sed 's/^/| /' conftest.$ac_ext >&5
18619 eval "$as_ac_Header=no"
18622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18624 ac_res=`eval echo '${'$as_ac_Header'}'`
18625 { echo "$as_me:$LINENO: result: $ac_res" >&5
18626 echo "${ECHO_T}$ac_res" >&6; }
18627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18628 cat >>confdefs.h <<_ACEOF
18629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18639 for ac_header in langinfo.h wchar.h
18641 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18642 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18644 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18645 echo $ECHO_N "(cached) $ECHO_C" >&6
18647 cat >conftest.$ac_ext <<_ACEOF
18650 cat confdefs.h >>conftest.$ac_ext
18651 cat >>conftest.$ac_ext <<_ACEOF
18652 /* end confdefs.h. */
18653 $ac_includes_default
18655 #include <$ac_header>
18657 rm -f conftest.$ac_objext
18658 if { (ac_try="$ac_compile"
18659 case "(($ac_try" in
18660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18661 *) ac_try_echo=$ac_try;;
18663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18664 (eval "$ac_compile") 2>conftest.er1
18666 grep -v '^ *+' conftest.er1 >conftest.err
18668 cat conftest.err >&5
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); } && {
18671 test -z "$ac_c_werror_flag" ||
18672 test ! -s conftest.err
18673 } && test -s conftest.$ac_objext; then
18674 eval "$as_ac_Header=yes"
18676 echo "$as_me: failed program was:" >&5
18677 sed 's/^/| /' conftest.$ac_ext >&5
18679 eval "$as_ac_Header=no"
18682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18684 ac_res=`eval echo '${'$as_ac_Header'}'`
18685 { echo "$as_me:$LINENO: result: $ac_res" >&5
18686 echo "${ECHO_T}$ac_res" >&6; }
18687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18688 cat >>confdefs.h <<_ACEOF
18689 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18697 if test "$ac_cv_header_wchar_h" != "yes"; then
18699 for ac_header in wcstr.h
18701 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18702 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18703 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18704 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18705 echo $ECHO_N "(cached) $ECHO_C" >&6
18707 cat >conftest.$ac_ext <<_ACEOF
18710 cat confdefs.h >>conftest.$ac_ext
18711 cat >>conftest.$ac_ext <<_ACEOF
18712 /* end confdefs.h. */
18713 $ac_includes_default
18715 #include <$ac_header>
18717 rm -f conftest.$ac_objext
18718 if { (ac_try="$ac_compile"
18719 case "(($ac_try" in
18720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18721 *) ac_try_echo=$ac_try;;
18723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18724 (eval "$ac_compile") 2>conftest.er1
18726 grep -v '^ *+' conftest.er1 >conftest.err
18728 cat conftest.err >&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); } && {
18731 test -z "$ac_c_werror_flag" ||
18732 test ! -s conftest.err
18733 } && test -s conftest.$ac_objext; then
18734 eval "$as_ac_Header=yes"
18736 echo "$as_me: failed program was:" >&5
18737 sed 's/^/| /' conftest.$ac_ext >&5
18739 eval "$as_ac_Header=no"
18742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18744 ac_res=`eval echo '${'$as_ac_Header'}'`
18745 { echo "$as_me:$LINENO: result: $ac_res" >&5
18746 echo "${ECHO_T}$ac_res" >&6; }
18747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18748 cat >>confdefs.h <<_ACEOF
18749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18759 *-pc-os2_emx | *-pc-os2-emx )
18760 if test $ac_cv_header_langinfo_h = "yes" \
18761 -a \( "$wx_cv_gccversion" = "EMX2" \
18762 -o "$wx_cv_gccversion" = "EMX3" \
18763 -o "$wx_cv_gccversion" = "Innotek5" \); then
18764 LIBS="$LIBS -lintl"
18769 if test "$USE_UNIX" = 1 ; then
18771 for ac_header in sys/select.h
18773 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18774 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18776 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18777 echo $ECHO_N "(cached) $ECHO_C" >&6
18779 cat >conftest.$ac_ext <<_ACEOF
18782 cat confdefs.h >>conftest.$ac_ext
18783 cat >>conftest.$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18785 $ac_includes_default
18787 #include <$ac_header>
18789 rm -f conftest.$ac_objext
18790 if { (ac_try="$ac_compile"
18791 case "(($ac_try" in
18792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18793 *) ac_try_echo=$ac_try;;
18795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18796 (eval "$ac_compile") 2>conftest.er1
18798 grep -v '^ *+' conftest.er1 >conftest.err
18800 cat conftest.err >&5
18801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18802 (exit $ac_status); } && {
18803 test -z "$ac_c_werror_flag" ||
18804 test ! -s conftest.err
18805 } && test -s conftest.$ac_objext; then
18806 eval "$as_ac_Header=yes"
18808 echo "$as_me: failed program was:" >&5
18809 sed 's/^/| /' conftest.$ac_ext >&5
18811 eval "$as_ac_Header=no"
18814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18816 ac_res=`eval echo '${'$as_ac_Header'}'`
18817 { echo "$as_me:$LINENO: result: $ac_res" >&5
18818 echo "${ECHO_T}$ac_res" >&6; }
18819 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18820 cat >>confdefs.h <<_ACEOF
18821 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18831 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18832 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18833 if test "${ac_cv_c_const+set}" = set; then
18834 echo $ECHO_N "(cached) $ECHO_C" >&6
18836 cat >conftest.$ac_ext <<_ACEOF
18839 cat confdefs.h >>conftest.$ac_ext
18840 cat >>conftest.$ac_ext <<_ACEOF
18841 /* end confdefs.h. */
18846 /* FIXME: Include the comments suggested by Paul. */
18847 #ifndef __cplusplus
18848 /* Ultrix mips cc rejects this. */
18849 typedef int charset[2];
18851 /* SunOS 4.1.1 cc rejects this. */
18852 char const *const *pcpcc;
18854 /* NEC SVR4.0.2 mips cc rejects this. */
18855 struct point {int x, y;};
18856 static struct point const zero = {0,0};
18857 /* AIX XL C 1.02.0.0 rejects this.
18858 It does not let you subtract one const X* pointer from another in
18859 an arm of an if-expression whose if-part is not a constant
18861 const char *g = "string";
18862 pcpcc = &g + (g ? g-g : 0);
18863 /* HPUX 7.0 cc rejects these. */
18865 ppc = (char**) pcpcc;
18866 pcpcc = (char const *const *) ppc;
18867 { /* SCO 3.2v4 cc rejects this. */
18869 char const *s = 0 ? (char *) 0 : (char const *) 0;
18874 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18875 int x[] = {25, 17};
18876 const int *foo = &x[0];
18879 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18880 typedef const int *iptr;
18884 { /* AIX XL C 1.02.0.0 rejects this saying
18885 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18886 struct s { int j; const int *ap[3]; };
18887 struct s *b; b->j = 5;
18889 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18890 const int foo = 10;
18891 if (!foo) return 0;
18893 return !cs[0] && !zero.x;
18900 rm -f conftest.$ac_objext
18901 if { (ac_try="$ac_compile"
18902 case "(($ac_try" in
18903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18904 *) ac_try_echo=$ac_try;;
18906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18907 (eval "$ac_compile") 2>conftest.er1
18909 grep -v '^ *+' conftest.er1 >conftest.err
18911 cat conftest.err >&5
18912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18913 (exit $ac_status); } && {
18914 test -z "$ac_c_werror_flag" ||
18915 test ! -s conftest.err
18916 } && test -s conftest.$ac_objext; then
18919 echo "$as_me: failed program was:" >&5
18920 sed 's/^/| /' conftest.$ac_ext >&5
18925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18927 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18928 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18929 if test $ac_cv_c_const = no; then
18931 cat >>confdefs.h <<\_ACEOF
18937 { echo "$as_me:$LINENO: checking for inline" >&5
18938 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18939 if test "${ac_cv_c_inline+set}" = set; then
18940 echo $ECHO_N "(cached) $ECHO_C" >&6
18943 for ac_kw in inline __inline__ __inline; do
18944 cat >conftest.$ac_ext <<_ACEOF
18947 cat confdefs.h >>conftest.$ac_ext
18948 cat >>conftest.$ac_ext <<_ACEOF
18949 /* end confdefs.h. */
18950 #ifndef __cplusplus
18952 static $ac_kw foo_t static_foo () {return 0; }
18953 $ac_kw foo_t foo () {return 0; }
18957 rm -f conftest.$ac_objext
18958 if { (ac_try="$ac_compile"
18959 case "(($ac_try" in
18960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18961 *) ac_try_echo=$ac_try;;
18963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18964 (eval "$ac_compile") 2>conftest.er1
18966 grep -v '^ *+' conftest.er1 >conftest.err
18968 cat conftest.err >&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); } && {
18971 test -z "$ac_c_werror_flag" ||
18972 test ! -s conftest.err
18973 } && test -s conftest.$ac_objext; then
18974 ac_cv_c_inline=$ac_kw
18976 echo "$as_me: failed program was:" >&5
18977 sed 's/^/| /' conftest.$ac_ext >&5
18982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18983 test "$ac_cv_c_inline" != no && break
18987 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18988 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18991 case $ac_cv_c_inline in
18994 case $ac_cv_c_inline in
18996 *) ac_val=$ac_cv_c_inline;;
18998 cat >>confdefs.h <<_ACEOF
18999 #ifndef __cplusplus
19000 #define inline $ac_val
19007 { echo "$as_me:$LINENO: checking for short" >&5
19008 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19009 if test "${ac_cv_type_short+set}" = set; then
19010 echo $ECHO_N "(cached) $ECHO_C" >&6
19012 cat >conftest.$ac_ext <<_ACEOF
19015 cat confdefs.h >>conftest.$ac_ext
19016 cat >>conftest.$ac_ext <<_ACEOF
19017 /* end confdefs.h. */
19018 $ac_includes_default
19019 typedef short ac__type_new_;
19023 if ((ac__type_new_ *) 0)
19025 if (sizeof (ac__type_new_))
19031 rm -f conftest.$ac_objext
19032 if { (ac_try="$ac_compile"
19033 case "(($ac_try" in
19034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19035 *) ac_try_echo=$ac_try;;
19037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19038 (eval "$ac_compile") 2>conftest.er1
19040 grep -v '^ *+' conftest.er1 >conftest.err
19042 cat conftest.err >&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); } && {
19045 test -z "$ac_c_werror_flag" ||
19046 test ! -s conftest.err
19047 } && test -s conftest.$ac_objext; then
19048 ac_cv_type_short=yes
19050 echo "$as_me: failed program was:" >&5
19051 sed 's/^/| /' conftest.$ac_ext >&5
19053 ac_cv_type_short=no
19056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19058 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19059 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19061 # The cast to long int works around a bug in the HP C Compiler
19062 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19063 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19064 # This bug is HP SR number 8606223364.
19065 { echo "$as_me:$LINENO: checking size of short" >&5
19066 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19067 if test "${ac_cv_sizeof_short+set}" = set; then
19068 echo $ECHO_N "(cached) $ECHO_C" >&6
19070 if test "$cross_compiling" = yes; then
19071 # Depending upon the size, compute the lo and hi bounds.
19072 cat >conftest.$ac_ext <<_ACEOF
19075 cat confdefs.h >>conftest.$ac_ext
19076 cat >>conftest.$ac_ext <<_ACEOF
19077 /* end confdefs.h. */
19078 $ac_includes_default
19079 typedef short ac__type_sizeof_;
19083 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19090 rm -f conftest.$ac_objext
19091 if { (ac_try="$ac_compile"
19092 case "(($ac_try" in
19093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19094 *) ac_try_echo=$ac_try;;
19096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19097 (eval "$ac_compile") 2>conftest.er1
19099 grep -v '^ *+' conftest.er1 >conftest.err
19101 cat conftest.err >&5
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); } && {
19104 test -z "$ac_c_werror_flag" ||
19105 test ! -s conftest.err
19106 } && test -s conftest.$ac_objext; then
19109 cat >conftest.$ac_ext <<_ACEOF
19112 cat confdefs.h >>conftest.$ac_ext
19113 cat >>conftest.$ac_ext <<_ACEOF
19114 /* end confdefs.h. */
19115 $ac_includes_default
19116 typedef short ac__type_sizeof_;
19120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19127 rm -f conftest.$ac_objext
19128 if { (ac_try="$ac_compile"
19129 case "(($ac_try" in
19130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19131 *) ac_try_echo=$ac_try;;
19133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19134 (eval "$ac_compile") 2>conftest.er1
19136 grep -v '^ *+' conftest.er1 >conftest.err
19138 cat conftest.err >&5
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); } && {
19141 test -z "$ac_c_werror_flag" ||
19142 test ! -s conftest.err
19143 } && test -s conftest.$ac_objext; then
19144 ac_hi=$ac_mid; break
19146 echo "$as_me: failed program was:" >&5
19147 sed 's/^/| /' conftest.$ac_ext >&5
19149 ac_lo=`expr $ac_mid + 1`
19150 if test $ac_lo -le $ac_mid; then
19154 ac_mid=`expr 2 '*' $ac_mid + 1`
19157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19160 echo "$as_me: failed program was:" >&5
19161 sed 's/^/| /' conftest.$ac_ext >&5
19163 cat >conftest.$ac_ext <<_ACEOF
19166 cat confdefs.h >>conftest.$ac_ext
19167 cat >>conftest.$ac_ext <<_ACEOF
19168 /* end confdefs.h. */
19169 $ac_includes_default
19170 typedef short ac__type_sizeof_;
19174 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19181 rm -f conftest.$ac_objext
19182 if { (ac_try="$ac_compile"
19183 case "(($ac_try" in
19184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19185 *) ac_try_echo=$ac_try;;
19187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19188 (eval "$ac_compile") 2>conftest.er1
19190 grep -v '^ *+' conftest.er1 >conftest.err
19192 cat conftest.err >&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); } && {
19195 test -z "$ac_c_werror_flag" ||
19196 test ! -s conftest.err
19197 } && test -s conftest.$ac_objext; then
19200 cat >conftest.$ac_ext <<_ACEOF
19203 cat confdefs.h >>conftest.$ac_ext
19204 cat >>conftest.$ac_ext <<_ACEOF
19205 /* end confdefs.h. */
19206 $ac_includes_default
19207 typedef short ac__type_sizeof_;
19211 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19218 rm -f conftest.$ac_objext
19219 if { (ac_try="$ac_compile"
19220 case "(($ac_try" in
19221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19222 *) ac_try_echo=$ac_try;;
19224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19225 (eval "$ac_compile") 2>conftest.er1
19227 grep -v '^ *+' conftest.er1 >conftest.err
19229 cat conftest.err >&5
19230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231 (exit $ac_status); } && {
19232 test -z "$ac_c_werror_flag" ||
19233 test ! -s conftest.err
19234 } && test -s conftest.$ac_objext; then
19235 ac_lo=$ac_mid; break
19237 echo "$as_me: failed program was:" >&5
19238 sed 's/^/| /' conftest.$ac_ext >&5
19240 ac_hi=`expr '(' $ac_mid ')' - 1`
19241 if test $ac_mid -le $ac_hi; then
19245 ac_mid=`expr 2 '*' $ac_mid`
19248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19251 echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.$ac_ext >&5
19257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19261 # Binary search between lo and hi bounds.
19262 while test "x$ac_lo" != "x$ac_hi"; do
19263 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19264 cat >conftest.$ac_ext <<_ACEOF
19267 cat confdefs.h >>conftest.$ac_ext
19268 cat >>conftest.$ac_ext <<_ACEOF
19269 /* end confdefs.h. */
19270 $ac_includes_default
19271 typedef short ac__type_sizeof_;
19275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19282 rm -f conftest.$ac_objext
19283 if { (ac_try="$ac_compile"
19284 case "(($ac_try" in
19285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19286 *) ac_try_echo=$ac_try;;
19288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19289 (eval "$ac_compile") 2>conftest.er1
19291 grep -v '^ *+' conftest.er1 >conftest.err
19293 cat conftest.err >&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); } && {
19296 test -z "$ac_c_werror_flag" ||
19297 test ! -s conftest.err
19298 } && test -s conftest.$ac_objext; then
19301 echo "$as_me: failed program was:" >&5
19302 sed 's/^/| /' conftest.$ac_ext >&5
19304 ac_lo=`expr '(' $ac_mid ')' + 1`
19307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19310 ?*) ac_cv_sizeof_short=$ac_lo;;
19311 '') if test "$ac_cv_type_short" = yes; then
19312 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19313 See \`config.log' for more details." >&5
19314 echo "$as_me: error: cannot compute sizeof (short)
19315 See \`config.log' for more details." >&2;}
19316 { (exit 77); exit 77; }; }
19318 ac_cv_sizeof_short=0
19322 cat >conftest.$ac_ext <<_ACEOF
19325 cat confdefs.h >>conftest.$ac_ext
19326 cat >>conftest.$ac_ext <<_ACEOF
19327 /* end confdefs.h. */
19328 $ac_includes_default
19329 typedef short ac__type_sizeof_;
19330 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19331 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19333 #include <stdlib.h>
19338 FILE *f = fopen ("conftest.val", "w");
19341 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19343 long int i = longval ();
19344 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19346 fprintf (f, "%ld\n", i);
19350 unsigned long int i = ulongval ();
19351 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19353 fprintf (f, "%lu\n", i);
19355 return ferror (f) || fclose (f) != 0;
19361 rm -f conftest$ac_exeext
19362 if { (ac_try="$ac_link"
19363 case "(($ac_try" in
19364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19365 *) ac_try_echo=$ac_try;;
19367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19368 (eval "$ac_link") 2>&5
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19372 { (case "(($ac_try" in
19373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19374 *) ac_try_echo=$ac_try;;
19376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19377 (eval "$ac_try") 2>&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); }; }; then
19381 ac_cv_sizeof_short=`cat conftest.val`
19383 echo "$as_me: program exited with status $ac_status" >&5
19384 echo "$as_me: failed program was:" >&5
19385 sed 's/^/| /' conftest.$ac_ext >&5
19387 ( exit $ac_status )
19388 if test "$ac_cv_type_short" = yes; then
19389 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19390 See \`config.log' for more details." >&5
19391 echo "$as_me: error: cannot compute sizeof (short)
19392 See \`config.log' for more details." >&2;}
19393 { (exit 77); exit 77; }; }
19395 ac_cv_sizeof_short=0
19398 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19402 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19403 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19407 cat >>confdefs.h <<_ACEOF
19408 #define SIZEOF_SHORT $ac_cv_sizeof_short
19412 { echo "$as_me:$LINENO: checking for void *" >&5
19413 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19414 if test "${ac_cv_type_void_p+set}" = set; then
19415 echo $ECHO_N "(cached) $ECHO_C" >&6
19417 cat >conftest.$ac_ext <<_ACEOF
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423 $ac_includes_default
19424 typedef void * ac__type_new_;
19428 if ((ac__type_new_ *) 0)
19430 if (sizeof (ac__type_new_))
19436 rm -f conftest.$ac_objext
19437 if { (ac_try="$ac_compile"
19438 case "(($ac_try" in
19439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19440 *) ac_try_echo=$ac_try;;
19442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19443 (eval "$ac_compile") 2>conftest.er1
19445 grep -v '^ *+' conftest.er1 >conftest.err
19447 cat conftest.err >&5
19448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19449 (exit $ac_status); } && {
19450 test -z "$ac_c_werror_flag" ||
19451 test ! -s conftest.err
19452 } && test -s conftest.$ac_objext; then
19453 ac_cv_type_void_p=yes
19455 echo "$as_me: failed program was:" >&5
19456 sed 's/^/| /' conftest.$ac_ext >&5
19458 ac_cv_type_void_p=no
19461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19463 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19464 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19466 # The cast to long int works around a bug in the HP C Compiler
19467 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19468 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19469 # This bug is HP SR number 8606223364.
19470 { echo "$as_me:$LINENO: checking size of void *" >&5
19471 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19472 if test "${ac_cv_sizeof_void_p+set}" = set; then
19473 echo $ECHO_N "(cached) $ECHO_C" >&6
19475 if test "$cross_compiling" = yes; then
19476 # Depending upon the size, compute the lo and hi bounds.
19477 cat >conftest.$ac_ext <<_ACEOF
19480 cat confdefs.h >>conftest.$ac_ext
19481 cat >>conftest.$ac_ext <<_ACEOF
19482 /* end confdefs.h. */
19483 $ac_includes_default
19484 typedef void * ac__type_sizeof_;
19488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19495 rm -f conftest.$ac_objext
19496 if { (ac_try="$ac_compile"
19497 case "(($ac_try" in
19498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19499 *) ac_try_echo=$ac_try;;
19501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19502 (eval "$ac_compile") 2>conftest.er1
19504 grep -v '^ *+' conftest.er1 >conftest.err
19506 cat conftest.err >&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); } && {
19509 test -z "$ac_c_werror_flag" ||
19510 test ! -s conftest.err
19511 } && test -s conftest.$ac_objext; then
19514 cat >conftest.$ac_ext <<_ACEOF
19517 cat confdefs.h >>conftest.$ac_ext
19518 cat >>conftest.$ac_ext <<_ACEOF
19519 /* end confdefs.h. */
19520 $ac_includes_default
19521 typedef void * ac__type_sizeof_;
19525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19532 rm -f conftest.$ac_objext
19533 if { (ac_try="$ac_compile"
19534 case "(($ac_try" in
19535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19536 *) ac_try_echo=$ac_try;;
19538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19539 (eval "$ac_compile") 2>conftest.er1
19541 grep -v '^ *+' conftest.er1 >conftest.err
19543 cat conftest.err >&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); } && {
19546 test -z "$ac_c_werror_flag" ||
19547 test ! -s conftest.err
19548 } && test -s conftest.$ac_objext; then
19549 ac_hi=$ac_mid; break
19551 echo "$as_me: failed program was:" >&5
19552 sed 's/^/| /' conftest.$ac_ext >&5
19554 ac_lo=`expr $ac_mid + 1`
19555 if test $ac_lo -le $ac_mid; then
19559 ac_mid=`expr 2 '*' $ac_mid + 1`
19562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19565 echo "$as_me: failed program was:" >&5
19566 sed 's/^/| /' conftest.$ac_ext >&5
19568 cat >conftest.$ac_ext <<_ACEOF
19571 cat confdefs.h >>conftest.$ac_ext
19572 cat >>conftest.$ac_ext <<_ACEOF
19573 /* end confdefs.h. */
19574 $ac_includes_default
19575 typedef void * ac__type_sizeof_;
19579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19586 rm -f conftest.$ac_objext
19587 if { (ac_try="$ac_compile"
19588 case "(($ac_try" in
19589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19590 *) ac_try_echo=$ac_try;;
19592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19593 (eval "$ac_compile") 2>conftest.er1
19595 grep -v '^ *+' conftest.er1 >conftest.err
19597 cat conftest.err >&5
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); } && {
19600 test -z "$ac_c_werror_flag" ||
19601 test ! -s conftest.err
19602 } && test -s conftest.$ac_objext; then
19605 cat >conftest.$ac_ext <<_ACEOF
19608 cat confdefs.h >>conftest.$ac_ext
19609 cat >>conftest.$ac_ext <<_ACEOF
19610 /* end confdefs.h. */
19611 $ac_includes_default
19612 typedef void * ac__type_sizeof_;
19616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19623 rm -f conftest.$ac_objext
19624 if { (ac_try="$ac_compile"
19625 case "(($ac_try" in
19626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19627 *) ac_try_echo=$ac_try;;
19629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19630 (eval "$ac_compile") 2>conftest.er1
19632 grep -v '^ *+' conftest.er1 >conftest.err
19634 cat conftest.err >&5
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); } && {
19637 test -z "$ac_c_werror_flag" ||
19638 test ! -s conftest.err
19639 } && test -s conftest.$ac_objext; then
19640 ac_lo=$ac_mid; break
19642 echo "$as_me: failed program was:" >&5
19643 sed 's/^/| /' conftest.$ac_ext >&5
19645 ac_hi=`expr '(' $ac_mid ')' - 1`
19646 if test $ac_mid -le $ac_hi; then
19650 ac_mid=`expr 2 '*' $ac_mid`
19653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19656 echo "$as_me: failed program was:" >&5
19657 sed 's/^/| /' conftest.$ac_ext >&5
19662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19666 # Binary search between lo and hi bounds.
19667 while test "x$ac_lo" != "x$ac_hi"; do
19668 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19669 cat >conftest.$ac_ext <<_ACEOF
19672 cat confdefs.h >>conftest.$ac_ext
19673 cat >>conftest.$ac_ext <<_ACEOF
19674 /* end confdefs.h. */
19675 $ac_includes_default
19676 typedef void * ac__type_sizeof_;
19680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19687 rm -f conftest.$ac_objext
19688 if { (ac_try="$ac_compile"
19689 case "(($ac_try" in
19690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19691 *) ac_try_echo=$ac_try;;
19693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19694 (eval "$ac_compile") 2>conftest.er1
19696 grep -v '^ *+' conftest.er1 >conftest.err
19698 cat conftest.err >&5
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); } && {
19701 test -z "$ac_c_werror_flag" ||
19702 test ! -s conftest.err
19703 } && test -s conftest.$ac_objext; then
19706 echo "$as_me: failed program was:" >&5
19707 sed 's/^/| /' conftest.$ac_ext >&5
19709 ac_lo=`expr '(' $ac_mid ')' + 1`
19712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19715 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19716 '') if test "$ac_cv_type_void_p" = yes; then
19717 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19718 See \`config.log' for more details." >&5
19719 echo "$as_me: error: cannot compute sizeof (void *)
19720 See \`config.log' for more details." >&2;}
19721 { (exit 77); exit 77; }; }
19723 ac_cv_sizeof_void_p=0
19727 cat >conftest.$ac_ext <<_ACEOF
19730 cat confdefs.h >>conftest.$ac_ext
19731 cat >>conftest.$ac_ext <<_ACEOF
19732 /* end confdefs.h. */
19733 $ac_includes_default
19734 typedef void * ac__type_sizeof_;
19735 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19736 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19738 #include <stdlib.h>
19743 FILE *f = fopen ("conftest.val", "w");
19746 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19748 long int i = longval ();
19749 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19751 fprintf (f, "%ld\n", i);
19755 unsigned long int i = ulongval ();
19756 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19758 fprintf (f, "%lu\n", i);
19760 return ferror (f) || fclose (f) != 0;
19766 rm -f conftest$ac_exeext
19767 if { (ac_try="$ac_link"
19768 case "(($ac_try" in
19769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19770 *) ac_try_echo=$ac_try;;
19772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19773 (eval "$ac_link") 2>&5
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19777 { (case "(($ac_try" in
19778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19779 *) ac_try_echo=$ac_try;;
19781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19782 (eval "$ac_try") 2>&5
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; }; then
19786 ac_cv_sizeof_void_p=`cat conftest.val`
19788 echo "$as_me: program exited with status $ac_status" >&5
19789 echo "$as_me: failed program was:" >&5
19790 sed 's/^/| /' conftest.$ac_ext >&5
19792 ( exit $ac_status )
19793 if test "$ac_cv_type_void_p" = yes; then
19794 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19795 See \`config.log' for more details." >&5
19796 echo "$as_me: error: cannot compute sizeof (void *)
19797 See \`config.log' for more details." >&2;}
19798 { (exit 77); exit 77; }; }
19800 ac_cv_sizeof_void_p=0
19803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19807 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19808 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19812 cat >>confdefs.h <<_ACEOF
19813 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19817 { echo "$as_me:$LINENO: checking for int" >&5
19818 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19819 if test "${ac_cv_type_int+set}" = set; then
19820 echo $ECHO_N "(cached) $ECHO_C" >&6
19822 cat >conftest.$ac_ext <<_ACEOF
19825 cat confdefs.h >>conftest.$ac_ext
19826 cat >>conftest.$ac_ext <<_ACEOF
19827 /* end confdefs.h. */
19828 $ac_includes_default
19829 typedef int ac__type_new_;
19833 if ((ac__type_new_ *) 0)
19835 if (sizeof (ac__type_new_))
19841 rm -f conftest.$ac_objext
19842 if { (ac_try="$ac_compile"
19843 case "(($ac_try" in
19844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19845 *) ac_try_echo=$ac_try;;
19847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19848 (eval "$ac_compile") 2>conftest.er1
19850 grep -v '^ *+' conftest.er1 >conftest.err
19852 cat conftest.err >&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); } && {
19855 test -z "$ac_c_werror_flag" ||
19856 test ! -s conftest.err
19857 } && test -s conftest.$ac_objext; then
19860 echo "$as_me: failed program was:" >&5
19861 sed 's/^/| /' conftest.$ac_ext >&5
19866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19868 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19869 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19871 # The cast to long int works around a bug in the HP C Compiler
19872 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19873 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19874 # This bug is HP SR number 8606223364.
19875 { echo "$as_me:$LINENO: checking size of int" >&5
19876 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19877 if test "${ac_cv_sizeof_int+set}" = set; then
19878 echo $ECHO_N "(cached) $ECHO_C" >&6
19880 if test "$cross_compiling" = yes; then
19881 # Depending upon the size, compute the lo and hi bounds.
19882 cat >conftest.$ac_ext <<_ACEOF
19885 cat confdefs.h >>conftest.$ac_ext
19886 cat >>conftest.$ac_ext <<_ACEOF
19887 /* end confdefs.h. */
19888 $ac_includes_default
19889 typedef int ac__type_sizeof_;
19893 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19900 rm -f conftest.$ac_objext
19901 if { (ac_try="$ac_compile"
19902 case "(($ac_try" in
19903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19904 *) ac_try_echo=$ac_try;;
19906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19907 (eval "$ac_compile") 2>conftest.er1
19909 grep -v '^ *+' conftest.er1 >conftest.err
19911 cat conftest.err >&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); } && {
19914 test -z "$ac_c_werror_flag" ||
19915 test ! -s conftest.err
19916 } && test -s conftest.$ac_objext; then
19919 cat >conftest.$ac_ext <<_ACEOF
19922 cat confdefs.h >>conftest.$ac_ext
19923 cat >>conftest.$ac_ext <<_ACEOF
19924 /* end confdefs.h. */
19925 $ac_includes_default
19926 typedef int ac__type_sizeof_;
19930 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19937 rm -f conftest.$ac_objext
19938 if { (ac_try="$ac_compile"
19939 case "(($ac_try" in
19940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19941 *) ac_try_echo=$ac_try;;
19943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19944 (eval "$ac_compile") 2>conftest.er1
19946 grep -v '^ *+' conftest.er1 >conftest.err
19948 cat conftest.err >&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); } && {
19951 test -z "$ac_c_werror_flag" ||
19952 test ! -s conftest.err
19953 } && test -s conftest.$ac_objext; then
19954 ac_hi=$ac_mid; break
19956 echo "$as_me: failed program was:" >&5
19957 sed 's/^/| /' conftest.$ac_ext >&5
19959 ac_lo=`expr $ac_mid + 1`
19960 if test $ac_lo -le $ac_mid; then
19964 ac_mid=`expr 2 '*' $ac_mid + 1`
19967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19970 echo "$as_me: failed program was:" >&5
19971 sed 's/^/| /' conftest.$ac_ext >&5
19973 cat >conftest.$ac_ext <<_ACEOF
19976 cat confdefs.h >>conftest.$ac_ext
19977 cat >>conftest.$ac_ext <<_ACEOF
19978 /* end confdefs.h. */
19979 $ac_includes_default
19980 typedef int ac__type_sizeof_;
19984 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19991 rm -f conftest.$ac_objext
19992 if { (ac_try="$ac_compile"
19993 case "(($ac_try" in
19994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19995 *) ac_try_echo=$ac_try;;
19997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19998 (eval "$ac_compile") 2>conftest.er1
20000 grep -v '^ *+' conftest.er1 >conftest.err
20002 cat conftest.err >&5
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); } && {
20005 test -z "$ac_c_werror_flag" ||
20006 test ! -s conftest.err
20007 } && test -s conftest.$ac_objext; then
20010 cat >conftest.$ac_ext <<_ACEOF
20013 cat confdefs.h >>conftest.$ac_ext
20014 cat >>conftest.$ac_ext <<_ACEOF
20015 /* end confdefs.h. */
20016 $ac_includes_default
20017 typedef int ac__type_sizeof_;
20021 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20028 rm -f conftest.$ac_objext
20029 if { (ac_try="$ac_compile"
20030 case "(($ac_try" in
20031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20032 *) ac_try_echo=$ac_try;;
20034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20035 (eval "$ac_compile") 2>conftest.er1
20037 grep -v '^ *+' conftest.er1 >conftest.err
20039 cat conftest.err >&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); } && {
20042 test -z "$ac_c_werror_flag" ||
20043 test ! -s conftest.err
20044 } && test -s conftest.$ac_objext; then
20045 ac_lo=$ac_mid; break
20047 echo "$as_me: failed program was:" >&5
20048 sed 's/^/| /' conftest.$ac_ext >&5
20050 ac_hi=`expr '(' $ac_mid ')' - 1`
20051 if test $ac_mid -le $ac_hi; then
20055 ac_mid=`expr 2 '*' $ac_mid`
20058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20061 echo "$as_me: failed program was:" >&5
20062 sed 's/^/| /' conftest.$ac_ext >&5
20067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20071 # Binary search between lo and hi bounds.
20072 while test "x$ac_lo" != "x$ac_hi"; do
20073 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20074 cat >conftest.$ac_ext <<_ACEOF
20077 cat confdefs.h >>conftest.$ac_ext
20078 cat >>conftest.$ac_ext <<_ACEOF
20079 /* end confdefs.h. */
20080 $ac_includes_default
20081 typedef int ac__type_sizeof_;
20085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20092 rm -f conftest.$ac_objext
20093 if { (ac_try="$ac_compile"
20094 case "(($ac_try" in
20095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20096 *) ac_try_echo=$ac_try;;
20098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20099 (eval "$ac_compile") 2>conftest.er1
20101 grep -v '^ *+' conftest.er1 >conftest.err
20103 cat conftest.err >&5
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); } && {
20106 test -z "$ac_c_werror_flag" ||
20107 test ! -s conftest.err
20108 } && test -s conftest.$ac_objext; then
20111 echo "$as_me: failed program was:" >&5
20112 sed 's/^/| /' conftest.$ac_ext >&5
20114 ac_lo=`expr '(' $ac_mid ')' + 1`
20117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20120 ?*) ac_cv_sizeof_int=$ac_lo;;
20121 '') if test "$ac_cv_type_int" = yes; then
20122 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20123 See \`config.log' for more details." >&5
20124 echo "$as_me: error: cannot compute sizeof (int)
20125 See \`config.log' for more details." >&2;}
20126 { (exit 77); exit 77; }; }
20132 cat >conftest.$ac_ext <<_ACEOF
20135 cat confdefs.h >>conftest.$ac_ext
20136 cat >>conftest.$ac_ext <<_ACEOF
20137 /* end confdefs.h. */
20138 $ac_includes_default
20139 typedef int ac__type_sizeof_;
20140 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20141 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20143 #include <stdlib.h>
20148 FILE *f = fopen ("conftest.val", "w");
20151 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20153 long int i = longval ();
20154 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20156 fprintf (f, "%ld\n", i);
20160 unsigned long int i = ulongval ();
20161 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20163 fprintf (f, "%lu\n", i);
20165 return ferror (f) || fclose (f) != 0;
20171 rm -f conftest$ac_exeext
20172 if { (ac_try="$ac_link"
20173 case "(($ac_try" in
20174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20175 *) ac_try_echo=$ac_try;;
20177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20178 (eval "$ac_link") 2>&5
20180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20182 { (case "(($ac_try" in
20183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20184 *) ac_try_echo=$ac_try;;
20186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20187 (eval "$ac_try") 2>&5
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); }; }; then
20191 ac_cv_sizeof_int=`cat conftest.val`
20193 echo "$as_me: program exited with status $ac_status" >&5
20194 echo "$as_me: failed program was:" >&5
20195 sed 's/^/| /' conftest.$ac_ext >&5
20197 ( exit $ac_status )
20198 if test "$ac_cv_type_int" = yes; then
20199 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20200 See \`config.log' for more details." >&5
20201 echo "$as_me: error: cannot compute sizeof (int)
20202 See \`config.log' for more details." >&2;}
20203 { (exit 77); exit 77; }; }
20208 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20212 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20213 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20217 cat >>confdefs.h <<_ACEOF
20218 #define SIZEOF_INT $ac_cv_sizeof_int
20222 { echo "$as_me:$LINENO: checking for long" >&5
20223 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20224 if test "${ac_cv_type_long+set}" = set; then
20225 echo $ECHO_N "(cached) $ECHO_C" >&6
20227 cat >conftest.$ac_ext <<_ACEOF
20230 cat confdefs.h >>conftest.$ac_ext
20231 cat >>conftest.$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20233 $ac_includes_default
20234 typedef long ac__type_new_;
20238 if ((ac__type_new_ *) 0)
20240 if (sizeof (ac__type_new_))
20246 rm -f conftest.$ac_objext
20247 if { (ac_try="$ac_compile"
20248 case "(($ac_try" in
20249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20250 *) ac_try_echo=$ac_try;;
20252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20253 (eval "$ac_compile") 2>conftest.er1
20255 grep -v '^ *+' conftest.er1 >conftest.err
20257 cat conftest.err >&5
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); } && {
20260 test -z "$ac_c_werror_flag" ||
20261 test ! -s conftest.err
20262 } && test -s conftest.$ac_objext; then
20263 ac_cv_type_long=yes
20265 echo "$as_me: failed program was:" >&5
20266 sed 's/^/| /' conftest.$ac_ext >&5
20271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20273 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20274 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20276 # The cast to long int works around a bug in the HP C Compiler
20277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20279 # This bug is HP SR number 8606223364.
20280 { echo "$as_me:$LINENO: checking size of long" >&5
20281 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20282 if test "${ac_cv_sizeof_long+set}" = set; then
20283 echo $ECHO_N "(cached) $ECHO_C" >&6
20285 if test "$cross_compiling" = yes; then
20286 # Depending upon the size, compute the lo and hi bounds.
20287 cat >conftest.$ac_ext <<_ACEOF
20290 cat confdefs.h >>conftest.$ac_ext
20291 cat >>conftest.$ac_ext <<_ACEOF
20292 /* end confdefs.h. */
20293 $ac_includes_default
20294 typedef long ac__type_sizeof_;
20298 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20305 rm -f conftest.$ac_objext
20306 if { (ac_try="$ac_compile"
20307 case "(($ac_try" in
20308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20309 *) ac_try_echo=$ac_try;;
20311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20312 (eval "$ac_compile") 2>conftest.er1
20314 grep -v '^ *+' conftest.er1 >conftest.err
20316 cat conftest.err >&5
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); } && {
20319 test -z "$ac_c_werror_flag" ||
20320 test ! -s conftest.err
20321 } && test -s conftest.$ac_objext; then
20324 cat >conftest.$ac_ext <<_ACEOF
20327 cat confdefs.h >>conftest.$ac_ext
20328 cat >>conftest.$ac_ext <<_ACEOF
20329 /* end confdefs.h. */
20330 $ac_includes_default
20331 typedef long ac__type_sizeof_;
20335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20342 rm -f conftest.$ac_objext
20343 if { (ac_try="$ac_compile"
20344 case "(($ac_try" in
20345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20346 *) ac_try_echo=$ac_try;;
20348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20349 (eval "$ac_compile") 2>conftest.er1
20351 grep -v '^ *+' conftest.er1 >conftest.err
20353 cat conftest.err >&5
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); } && {
20356 test -z "$ac_c_werror_flag" ||
20357 test ! -s conftest.err
20358 } && test -s conftest.$ac_objext; then
20359 ac_hi=$ac_mid; break
20361 echo "$as_me: failed program was:" >&5
20362 sed 's/^/| /' conftest.$ac_ext >&5
20364 ac_lo=`expr $ac_mid + 1`
20365 if test $ac_lo -le $ac_mid; then
20369 ac_mid=`expr 2 '*' $ac_mid + 1`
20372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20375 echo "$as_me: failed program was:" >&5
20376 sed 's/^/| /' conftest.$ac_ext >&5
20378 cat >conftest.$ac_ext <<_ACEOF
20381 cat confdefs.h >>conftest.$ac_ext
20382 cat >>conftest.$ac_ext <<_ACEOF
20383 /* end confdefs.h. */
20384 $ac_includes_default
20385 typedef long ac__type_sizeof_;
20389 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20396 rm -f conftest.$ac_objext
20397 if { (ac_try="$ac_compile"
20398 case "(($ac_try" in
20399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20400 *) ac_try_echo=$ac_try;;
20402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20403 (eval "$ac_compile") 2>conftest.er1
20405 grep -v '^ *+' conftest.er1 >conftest.err
20407 cat conftest.err >&5
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); } && {
20410 test -z "$ac_c_werror_flag" ||
20411 test ! -s conftest.err
20412 } && test -s conftest.$ac_objext; then
20415 cat >conftest.$ac_ext <<_ACEOF
20418 cat confdefs.h >>conftest.$ac_ext
20419 cat >>conftest.$ac_ext <<_ACEOF
20420 /* end confdefs.h. */
20421 $ac_includes_default
20422 typedef long ac__type_sizeof_;
20426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20433 rm -f conftest.$ac_objext
20434 if { (ac_try="$ac_compile"
20435 case "(($ac_try" in
20436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20437 *) ac_try_echo=$ac_try;;
20439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20440 (eval "$ac_compile") 2>conftest.er1
20442 grep -v '^ *+' conftest.er1 >conftest.err
20444 cat conftest.err >&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); } && {
20447 test -z "$ac_c_werror_flag" ||
20448 test ! -s conftest.err
20449 } && test -s conftest.$ac_objext; then
20450 ac_lo=$ac_mid; break
20452 echo "$as_me: failed program was:" >&5
20453 sed 's/^/| /' conftest.$ac_ext >&5
20455 ac_hi=`expr '(' $ac_mid ')' - 1`
20456 if test $ac_mid -le $ac_hi; then
20460 ac_mid=`expr 2 '*' $ac_mid`
20463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20466 echo "$as_me: failed program was:" >&5
20467 sed 's/^/| /' conftest.$ac_ext >&5
20472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20476 # Binary search between lo and hi bounds.
20477 while test "x$ac_lo" != "x$ac_hi"; do
20478 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20479 cat >conftest.$ac_ext <<_ACEOF
20482 cat confdefs.h >>conftest.$ac_ext
20483 cat >>conftest.$ac_ext <<_ACEOF
20484 /* end confdefs.h. */
20485 $ac_includes_default
20486 typedef long ac__type_sizeof_;
20490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20497 rm -f conftest.$ac_objext
20498 if { (ac_try="$ac_compile"
20499 case "(($ac_try" in
20500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20501 *) ac_try_echo=$ac_try;;
20503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20504 (eval "$ac_compile") 2>conftest.er1
20506 grep -v '^ *+' conftest.er1 >conftest.err
20508 cat conftest.err >&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); } && {
20511 test -z "$ac_c_werror_flag" ||
20512 test ! -s conftest.err
20513 } && test -s conftest.$ac_objext; then
20516 echo "$as_me: failed program was:" >&5
20517 sed 's/^/| /' conftest.$ac_ext >&5
20519 ac_lo=`expr '(' $ac_mid ')' + 1`
20522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20525 ?*) ac_cv_sizeof_long=$ac_lo;;
20526 '') if test "$ac_cv_type_long" = yes; then
20527 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20528 See \`config.log' for more details." >&5
20529 echo "$as_me: error: cannot compute sizeof (long)
20530 See \`config.log' for more details." >&2;}
20531 { (exit 77); exit 77; }; }
20533 ac_cv_sizeof_long=0
20537 cat >conftest.$ac_ext <<_ACEOF
20540 cat confdefs.h >>conftest.$ac_ext
20541 cat >>conftest.$ac_ext <<_ACEOF
20542 /* end confdefs.h. */
20543 $ac_includes_default
20544 typedef long ac__type_sizeof_;
20545 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20546 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20548 #include <stdlib.h>
20553 FILE *f = fopen ("conftest.val", "w");
20556 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20558 long int i = longval ();
20559 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20561 fprintf (f, "%ld\n", i);
20565 unsigned long int i = ulongval ();
20566 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20568 fprintf (f, "%lu\n", i);
20570 return ferror (f) || fclose (f) != 0;
20576 rm -f conftest$ac_exeext
20577 if { (ac_try="$ac_link"
20578 case "(($ac_try" in
20579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20580 *) ac_try_echo=$ac_try;;
20582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20583 (eval "$ac_link") 2>&5
20585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20587 { (case "(($ac_try" in
20588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20589 *) ac_try_echo=$ac_try;;
20591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20592 (eval "$ac_try") 2>&5
20594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20595 (exit $ac_status); }; }; then
20596 ac_cv_sizeof_long=`cat conftest.val`
20598 echo "$as_me: program exited with status $ac_status" >&5
20599 echo "$as_me: failed program was:" >&5
20600 sed 's/^/| /' conftest.$ac_ext >&5
20602 ( exit $ac_status )
20603 if test "$ac_cv_type_long" = yes; then
20604 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20605 See \`config.log' for more details." >&5
20606 echo "$as_me: error: cannot compute sizeof (long)
20607 See \`config.log' for more details." >&2;}
20608 { (exit 77); exit 77; }; }
20610 ac_cv_sizeof_long=0
20613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20617 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20618 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20622 cat >>confdefs.h <<_ACEOF
20623 #define SIZEOF_LONG $ac_cv_sizeof_long
20627 { echo "$as_me:$LINENO: checking for size_t" >&5
20628 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20629 if test "${ac_cv_type_size_t+set}" = set; then
20630 echo $ECHO_N "(cached) $ECHO_C" >&6
20632 cat >conftest.$ac_ext <<_ACEOF
20635 cat confdefs.h >>conftest.$ac_ext
20636 cat >>conftest.$ac_ext <<_ACEOF
20637 /* end confdefs.h. */
20638 $ac_includes_default
20639 typedef size_t ac__type_new_;
20643 if ((ac__type_new_ *) 0)
20645 if (sizeof (ac__type_new_))
20651 rm -f conftest.$ac_objext
20652 if { (ac_try="$ac_compile"
20653 case "(($ac_try" in
20654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20655 *) ac_try_echo=$ac_try;;
20657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20658 (eval "$ac_compile") 2>conftest.er1
20660 grep -v '^ *+' conftest.er1 >conftest.err
20662 cat conftest.err >&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); } && {
20665 test -z "$ac_c_werror_flag" ||
20666 test ! -s conftest.err
20667 } && test -s conftest.$ac_objext; then
20668 ac_cv_type_size_t=yes
20670 echo "$as_me: failed program was:" >&5
20671 sed 's/^/| /' conftest.$ac_ext >&5
20673 ac_cv_type_size_t=no
20676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20678 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20679 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20681 # The cast to long int works around a bug in the HP C Compiler
20682 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20683 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20684 # This bug is HP SR number 8606223364.
20685 { echo "$as_me:$LINENO: checking size of size_t" >&5
20686 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20687 if test "${ac_cv_sizeof_size_t+set}" = set; then
20688 echo $ECHO_N "(cached) $ECHO_C" >&6
20690 if test "$cross_compiling" = yes; then
20691 # Depending upon the size, compute the lo and hi bounds.
20692 cat >conftest.$ac_ext <<_ACEOF
20695 cat confdefs.h >>conftest.$ac_ext
20696 cat >>conftest.$ac_ext <<_ACEOF
20697 /* end confdefs.h. */
20698 $ac_includes_default
20699 typedef size_t ac__type_sizeof_;
20703 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20710 rm -f conftest.$ac_objext
20711 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
20719 grep -v '^ *+' conftest.er1 >conftest.err
20721 cat conftest.err >&5
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); } && {
20724 test -z "$ac_c_werror_flag" ||
20725 test ! -s conftest.err
20726 } && test -s conftest.$ac_objext; then
20729 cat >conftest.$ac_ext <<_ACEOF
20732 cat confdefs.h >>conftest.$ac_ext
20733 cat >>conftest.$ac_ext <<_ACEOF
20734 /* end confdefs.h. */
20735 $ac_includes_default
20736 typedef size_t ac__type_sizeof_;
20740 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20747 rm -f conftest.$ac_objext
20748 if { (ac_try="$ac_compile"
20749 case "(($ac_try" in
20750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20751 *) ac_try_echo=$ac_try;;
20753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20754 (eval "$ac_compile") 2>conftest.er1
20756 grep -v '^ *+' conftest.er1 >conftest.err
20758 cat conftest.err >&5
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); } && {
20761 test -z "$ac_c_werror_flag" ||
20762 test ! -s conftest.err
20763 } && test -s conftest.$ac_objext; then
20764 ac_hi=$ac_mid; break
20766 echo "$as_me: failed program was:" >&5
20767 sed 's/^/| /' conftest.$ac_ext >&5
20769 ac_lo=`expr $ac_mid + 1`
20770 if test $ac_lo -le $ac_mid; then
20774 ac_mid=`expr 2 '*' $ac_mid + 1`
20777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20780 echo "$as_me: failed program was:" >&5
20781 sed 's/^/| /' conftest.$ac_ext >&5
20783 cat >conftest.$ac_ext <<_ACEOF
20786 cat confdefs.h >>conftest.$ac_ext
20787 cat >>conftest.$ac_ext <<_ACEOF
20788 /* end confdefs.h. */
20789 $ac_includes_default
20790 typedef size_t ac__type_sizeof_;
20794 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20801 rm -f conftest.$ac_objext
20802 if { (ac_try="$ac_compile"
20803 case "(($ac_try" in
20804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20805 *) ac_try_echo=$ac_try;;
20807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20808 (eval "$ac_compile") 2>conftest.er1
20810 grep -v '^ *+' conftest.er1 >conftest.err
20812 cat conftest.err >&5
20813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20814 (exit $ac_status); } && {
20815 test -z "$ac_c_werror_flag" ||
20816 test ! -s conftest.err
20817 } && test -s conftest.$ac_objext; then
20820 cat >conftest.$ac_ext <<_ACEOF
20823 cat confdefs.h >>conftest.$ac_ext
20824 cat >>conftest.$ac_ext <<_ACEOF
20825 /* end confdefs.h. */
20826 $ac_includes_default
20827 typedef size_t ac__type_sizeof_;
20831 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20838 rm -f conftest.$ac_objext
20839 if { (ac_try="$ac_compile"
20840 case "(($ac_try" in
20841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20842 *) ac_try_echo=$ac_try;;
20844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20845 (eval "$ac_compile") 2>conftest.er1
20847 grep -v '^ *+' conftest.er1 >conftest.err
20849 cat conftest.err >&5
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); } && {
20852 test -z "$ac_c_werror_flag" ||
20853 test ! -s conftest.err
20854 } && test -s conftest.$ac_objext; then
20855 ac_lo=$ac_mid; break
20857 echo "$as_me: failed program was:" >&5
20858 sed 's/^/| /' conftest.$ac_ext >&5
20860 ac_hi=`expr '(' $ac_mid ')' - 1`
20861 if test $ac_mid -le $ac_hi; then
20865 ac_mid=`expr 2 '*' $ac_mid`
20868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20871 echo "$as_me: failed program was:" >&5
20872 sed 's/^/| /' conftest.$ac_ext >&5
20877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20881 # Binary search between lo and hi bounds.
20882 while test "x$ac_lo" != "x$ac_hi"; do
20883 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20884 cat >conftest.$ac_ext <<_ACEOF
20887 cat confdefs.h >>conftest.$ac_ext
20888 cat >>conftest.$ac_ext <<_ACEOF
20889 /* end confdefs.h. */
20890 $ac_includes_default
20891 typedef size_t ac__type_sizeof_;
20895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20902 rm -f conftest.$ac_objext
20903 if { (ac_try="$ac_compile"
20904 case "(($ac_try" in
20905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20906 *) ac_try_echo=$ac_try;;
20908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20909 (eval "$ac_compile") 2>conftest.er1
20911 grep -v '^ *+' conftest.er1 >conftest.err
20913 cat conftest.err >&5
20914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20915 (exit $ac_status); } && {
20916 test -z "$ac_c_werror_flag" ||
20917 test ! -s conftest.err
20918 } && test -s conftest.$ac_objext; then
20921 echo "$as_me: failed program was:" >&5
20922 sed 's/^/| /' conftest.$ac_ext >&5
20924 ac_lo=`expr '(' $ac_mid ')' + 1`
20927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20930 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20931 '') if test "$ac_cv_type_size_t" = yes; then
20932 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20933 See \`config.log' for more details." >&5
20934 echo "$as_me: error: cannot compute sizeof (size_t)
20935 See \`config.log' for more details." >&2;}
20936 { (exit 77); exit 77; }; }
20938 ac_cv_sizeof_size_t=0
20942 cat >conftest.$ac_ext <<_ACEOF
20945 cat confdefs.h >>conftest.$ac_ext
20946 cat >>conftest.$ac_ext <<_ACEOF
20947 /* end confdefs.h. */
20948 $ac_includes_default
20949 typedef size_t ac__type_sizeof_;
20950 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20951 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20953 #include <stdlib.h>
20958 FILE *f = fopen ("conftest.val", "w");
20961 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20963 long int i = longval ();
20964 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20966 fprintf (f, "%ld\n", i);
20970 unsigned long int i = ulongval ();
20971 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20973 fprintf (f, "%lu\n", i);
20975 return ferror (f) || fclose (f) != 0;
20981 rm -f conftest$ac_exeext
20982 if { (ac_try="$ac_link"
20983 case "(($ac_try" in
20984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20985 *) ac_try_echo=$ac_try;;
20987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20988 (eval "$ac_link") 2>&5
20990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20991 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20992 { (case "(($ac_try" in
20993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20994 *) ac_try_echo=$ac_try;;
20996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20997 (eval "$ac_try") 2>&5
20999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000 (exit $ac_status); }; }; then
21001 ac_cv_sizeof_size_t=`cat conftest.val`
21003 echo "$as_me: program exited with status $ac_status" >&5
21004 echo "$as_me: failed program was:" >&5
21005 sed 's/^/| /' conftest.$ac_ext >&5
21007 ( exit $ac_status )
21008 if test "$ac_cv_type_size_t" = yes; then
21009 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21010 See \`config.log' for more details." >&5
21011 echo "$as_me: error: cannot compute sizeof (size_t)
21012 See \`config.log' for more details." >&2;}
21013 { (exit 77); exit 77; }; }
21015 ac_cv_sizeof_size_t=0
21018 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21022 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21023 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21027 cat >>confdefs.h <<_ACEOF
21028 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21035 { echo "$as_me:$LINENO: checking for long long" >&5
21036 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21037 if test "${ac_cv_type_long_long+set}" = set; then
21038 echo $ECHO_N "(cached) $ECHO_C" >&6
21040 cat >conftest.$ac_ext <<_ACEOF
21043 cat confdefs.h >>conftest.$ac_ext
21044 cat >>conftest.$ac_ext <<_ACEOF
21045 /* end confdefs.h. */
21046 $ac_includes_default
21047 typedef long long ac__type_new_;
21051 if ((ac__type_new_ *) 0)
21053 if (sizeof (ac__type_new_))
21059 rm -f conftest.$ac_objext
21060 if { (ac_try="$ac_compile"
21061 case "(($ac_try" in
21062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21063 *) ac_try_echo=$ac_try;;
21065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21066 (eval "$ac_compile") 2>conftest.er1
21068 grep -v '^ *+' conftest.er1 >conftest.err
21070 cat conftest.err >&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); } && {
21073 test -z "$ac_c_werror_flag" ||
21074 test ! -s conftest.err
21075 } && test -s conftest.$ac_objext; then
21076 ac_cv_type_long_long=yes
21078 echo "$as_me: failed program was:" >&5
21079 sed 's/^/| /' conftest.$ac_ext >&5
21081 ac_cv_type_long_long=no
21084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21086 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21087 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21089 # The cast to long int works around a bug in the HP C Compiler
21090 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21091 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21092 # This bug is HP SR number 8606223364.
21093 { echo "$as_me:$LINENO: checking size of long long" >&5
21094 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21095 if test "${ac_cv_sizeof_long_long+set}" = set; then
21096 echo $ECHO_N "(cached) $ECHO_C" >&6
21098 if test "$cross_compiling" = yes; then
21099 # Depending upon the size, compute the lo and hi bounds.
21100 cat >conftest.$ac_ext <<_ACEOF
21103 cat confdefs.h >>conftest.$ac_ext
21104 cat >>conftest.$ac_ext <<_ACEOF
21105 /* end confdefs.h. */
21106 $ac_includes_default
21107 typedef long long ac__type_sizeof_;
21111 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21118 rm -f conftest.$ac_objext
21119 if { (ac_try="$ac_compile"
21120 case "(($ac_try" in
21121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21122 *) ac_try_echo=$ac_try;;
21124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21125 (eval "$ac_compile") 2>conftest.er1
21127 grep -v '^ *+' conftest.er1 >conftest.err
21129 cat conftest.err >&5
21130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131 (exit $ac_status); } && {
21132 test -z "$ac_c_werror_flag" ||
21133 test ! -s conftest.err
21134 } && test -s conftest.$ac_objext; then
21137 cat >conftest.$ac_ext <<_ACEOF
21140 cat confdefs.h >>conftest.$ac_ext
21141 cat >>conftest.$ac_ext <<_ACEOF
21142 /* end confdefs.h. */
21143 $ac_includes_default
21144 typedef long long ac__type_sizeof_;
21148 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21155 rm -f conftest.$ac_objext
21156 if { (ac_try="$ac_compile"
21157 case "(($ac_try" in
21158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21159 *) ac_try_echo=$ac_try;;
21161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21162 (eval "$ac_compile") 2>conftest.er1
21164 grep -v '^ *+' conftest.er1 >conftest.err
21166 cat conftest.err >&5
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); } && {
21169 test -z "$ac_c_werror_flag" ||
21170 test ! -s conftest.err
21171 } && test -s conftest.$ac_objext; then
21172 ac_hi=$ac_mid; break
21174 echo "$as_me: failed program was:" >&5
21175 sed 's/^/| /' conftest.$ac_ext >&5
21177 ac_lo=`expr $ac_mid + 1`
21178 if test $ac_lo -le $ac_mid; then
21182 ac_mid=`expr 2 '*' $ac_mid + 1`
21185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21188 echo "$as_me: failed program was:" >&5
21189 sed 's/^/| /' conftest.$ac_ext >&5
21191 cat >conftest.$ac_ext <<_ACEOF
21194 cat confdefs.h >>conftest.$ac_ext
21195 cat >>conftest.$ac_ext <<_ACEOF
21196 /* end confdefs.h. */
21197 $ac_includes_default
21198 typedef long long ac__type_sizeof_;
21202 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21209 rm -f conftest.$ac_objext
21210 if { (ac_try="$ac_compile"
21211 case "(($ac_try" in
21212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21213 *) ac_try_echo=$ac_try;;
21215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21216 (eval "$ac_compile") 2>conftest.er1
21218 grep -v '^ *+' conftest.er1 >conftest.err
21220 cat conftest.err >&5
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); } && {
21223 test -z "$ac_c_werror_flag" ||
21224 test ! -s conftest.err
21225 } && test -s conftest.$ac_objext; then
21228 cat >conftest.$ac_ext <<_ACEOF
21231 cat confdefs.h >>conftest.$ac_ext
21232 cat >>conftest.$ac_ext <<_ACEOF
21233 /* end confdefs.h. */
21234 $ac_includes_default
21235 typedef long long ac__type_sizeof_;
21239 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21246 rm -f conftest.$ac_objext
21247 if { (ac_try="$ac_compile"
21248 case "(($ac_try" in
21249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21250 *) ac_try_echo=$ac_try;;
21252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21253 (eval "$ac_compile") 2>conftest.er1
21255 grep -v '^ *+' conftest.er1 >conftest.err
21257 cat conftest.err >&5
21258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 (exit $ac_status); } && {
21260 test -z "$ac_c_werror_flag" ||
21261 test ! -s conftest.err
21262 } && test -s conftest.$ac_objext; then
21263 ac_lo=$ac_mid; break
21265 echo "$as_me: failed program was:" >&5
21266 sed 's/^/| /' conftest.$ac_ext >&5
21268 ac_hi=`expr '(' $ac_mid ')' - 1`
21269 if test $ac_mid -le $ac_hi; then
21273 ac_mid=`expr 2 '*' $ac_mid`
21276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21279 echo "$as_me: failed program was:" >&5
21280 sed 's/^/| /' conftest.$ac_ext >&5
21285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21289 # Binary search between lo and hi bounds.
21290 while test "x$ac_lo" != "x$ac_hi"; do
21291 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21292 cat >conftest.$ac_ext <<_ACEOF
21295 cat confdefs.h >>conftest.$ac_ext
21296 cat >>conftest.$ac_ext <<_ACEOF
21297 /* end confdefs.h. */
21298 $ac_includes_default
21299 typedef long long ac__type_sizeof_;
21303 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21310 rm -f conftest.$ac_objext
21311 if { (ac_try="$ac_compile"
21312 case "(($ac_try" in
21313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21314 *) ac_try_echo=$ac_try;;
21316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21317 (eval "$ac_compile") 2>conftest.er1
21319 grep -v '^ *+' conftest.er1 >conftest.err
21321 cat conftest.err >&5
21322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21323 (exit $ac_status); } && {
21324 test -z "$ac_c_werror_flag" ||
21325 test ! -s conftest.err
21326 } && test -s conftest.$ac_objext; then
21329 echo "$as_me: failed program was:" >&5
21330 sed 's/^/| /' conftest.$ac_ext >&5
21332 ac_lo=`expr '(' $ac_mid ')' + 1`
21335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21338 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21339 '') if test "$ac_cv_type_long_long" = yes; then
21340 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21341 See \`config.log' for more details." >&5
21342 echo "$as_me: error: cannot compute sizeof (long long)
21343 See \`config.log' for more details." >&2;}
21344 { (exit 77); exit 77; }; }
21346 ac_cv_sizeof_long_long=0
21350 cat >conftest.$ac_ext <<_ACEOF
21353 cat confdefs.h >>conftest.$ac_ext
21354 cat >>conftest.$ac_ext <<_ACEOF
21355 /* end confdefs.h. */
21356 $ac_includes_default
21357 typedef long long ac__type_sizeof_;
21358 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21359 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21361 #include <stdlib.h>
21366 FILE *f = fopen ("conftest.val", "w");
21369 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21371 long int i = longval ();
21372 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21374 fprintf (f, "%ld\n", i);
21378 unsigned long int i = ulongval ();
21379 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21381 fprintf (f, "%lu\n", i);
21383 return ferror (f) || fclose (f) != 0;
21389 rm -f conftest$ac_exeext
21390 if { (ac_try="$ac_link"
21391 case "(($ac_try" in
21392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21393 *) ac_try_echo=$ac_try;;
21395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21396 (eval "$ac_link") 2>&5
21398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21400 { (case "(($ac_try" in
21401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21402 *) ac_try_echo=$ac_try;;
21404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21405 (eval "$ac_try") 2>&5
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); }; }; then
21409 ac_cv_sizeof_long_long=`cat conftest.val`
21411 echo "$as_me: program exited with status $ac_status" >&5
21412 echo "$as_me: failed program was:" >&5
21413 sed 's/^/| /' conftest.$ac_ext >&5
21415 ( exit $ac_status )
21416 if test "$ac_cv_type_long_long" = yes; then
21417 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21418 See \`config.log' for more details." >&5
21419 echo "$as_me: error: cannot compute sizeof (long long)
21420 See \`config.log' for more details." >&2;}
21421 { (exit 77); exit 77; }; }
21423 ac_cv_sizeof_long_long=0
21426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21430 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21431 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21435 cat >>confdefs.h <<_ACEOF
21436 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21442 { echo "$as_me:$LINENO: checking for long long" >&5
21443 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21444 if test "${ac_cv_type_long_long+set}" = set; then
21445 echo $ECHO_N "(cached) $ECHO_C" >&6
21447 cat >conftest.$ac_ext <<_ACEOF
21450 cat confdefs.h >>conftest.$ac_ext
21451 cat >>conftest.$ac_ext <<_ACEOF
21452 /* end confdefs.h. */
21453 $ac_includes_default
21454 typedef long long ac__type_new_;
21458 if ((ac__type_new_ *) 0)
21460 if (sizeof (ac__type_new_))
21466 rm -f conftest.$ac_objext
21467 if { (ac_try="$ac_compile"
21468 case "(($ac_try" in
21469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21470 *) ac_try_echo=$ac_try;;
21472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21473 (eval "$ac_compile") 2>conftest.er1
21475 grep -v '^ *+' conftest.er1 >conftest.err
21477 cat conftest.err >&5
21478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479 (exit $ac_status); } && {
21480 test -z "$ac_c_werror_flag" ||
21481 test ! -s conftest.err
21482 } && test -s conftest.$ac_objext; then
21483 ac_cv_type_long_long=yes
21485 echo "$as_me: failed program was:" >&5
21486 sed 's/^/| /' conftest.$ac_ext >&5
21488 ac_cv_type_long_long=no
21491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21493 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21494 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21496 # The cast to long int works around a bug in the HP C Compiler
21497 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21498 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21499 # This bug is HP SR number 8606223364.
21500 { echo "$as_me:$LINENO: checking size of long long" >&5
21501 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21502 if test "${ac_cv_sizeof_long_long+set}" = set; then
21503 echo $ECHO_N "(cached) $ECHO_C" >&6
21505 if test "$cross_compiling" = yes; then
21506 # Depending upon the size, compute the lo and hi bounds.
21507 cat >conftest.$ac_ext <<_ACEOF
21510 cat confdefs.h >>conftest.$ac_ext
21511 cat >>conftest.$ac_ext <<_ACEOF
21512 /* end confdefs.h. */
21513 $ac_includes_default
21514 typedef long long ac__type_sizeof_;
21518 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21525 rm -f conftest.$ac_objext
21526 if { (ac_try="$ac_compile"
21527 case "(($ac_try" in
21528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21529 *) ac_try_echo=$ac_try;;
21531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21532 (eval "$ac_compile") 2>conftest.er1
21534 grep -v '^ *+' conftest.er1 >conftest.err
21536 cat conftest.err >&5
21537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538 (exit $ac_status); } && {
21539 test -z "$ac_c_werror_flag" ||
21540 test ! -s conftest.err
21541 } && test -s conftest.$ac_objext; then
21544 cat >conftest.$ac_ext <<_ACEOF
21547 cat confdefs.h >>conftest.$ac_ext
21548 cat >>conftest.$ac_ext <<_ACEOF
21549 /* end confdefs.h. */
21550 $ac_includes_default
21551 typedef long long ac__type_sizeof_;
21555 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21562 rm -f conftest.$ac_objext
21563 if { (ac_try="$ac_compile"
21564 case "(($ac_try" in
21565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21566 *) ac_try_echo=$ac_try;;
21568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21569 (eval "$ac_compile") 2>conftest.er1
21571 grep -v '^ *+' conftest.er1 >conftest.err
21573 cat conftest.err >&5
21574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21575 (exit $ac_status); } && {
21576 test -z "$ac_c_werror_flag" ||
21577 test ! -s conftest.err
21578 } && test -s conftest.$ac_objext; then
21579 ac_hi=$ac_mid; break
21581 echo "$as_me: failed program was:" >&5
21582 sed 's/^/| /' conftest.$ac_ext >&5
21584 ac_lo=`expr $ac_mid + 1`
21585 if test $ac_lo -le $ac_mid; then
21589 ac_mid=`expr 2 '*' $ac_mid + 1`
21592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21595 echo "$as_me: failed program was:" >&5
21596 sed 's/^/| /' conftest.$ac_ext >&5
21598 cat >conftest.$ac_ext <<_ACEOF
21601 cat confdefs.h >>conftest.$ac_ext
21602 cat >>conftest.$ac_ext <<_ACEOF
21603 /* end confdefs.h. */
21604 $ac_includes_default
21605 typedef long long ac__type_sizeof_;
21609 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21616 rm -f conftest.$ac_objext
21617 if { (ac_try="$ac_compile"
21618 case "(($ac_try" in
21619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21620 *) ac_try_echo=$ac_try;;
21622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21623 (eval "$ac_compile") 2>conftest.er1
21625 grep -v '^ *+' conftest.er1 >conftest.err
21627 cat conftest.err >&5
21628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21629 (exit $ac_status); } && {
21630 test -z "$ac_c_werror_flag" ||
21631 test ! -s conftest.err
21632 } && test -s conftest.$ac_objext; then
21635 cat >conftest.$ac_ext <<_ACEOF
21638 cat confdefs.h >>conftest.$ac_ext
21639 cat >>conftest.$ac_ext <<_ACEOF
21640 /* end confdefs.h. */
21641 $ac_includes_default
21642 typedef long long ac__type_sizeof_;
21646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21653 rm -f conftest.$ac_objext
21654 if { (ac_try="$ac_compile"
21655 case "(($ac_try" in
21656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21657 *) ac_try_echo=$ac_try;;
21659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21660 (eval "$ac_compile") 2>conftest.er1
21662 grep -v '^ *+' conftest.er1 >conftest.err
21664 cat conftest.err >&5
21665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666 (exit $ac_status); } && {
21667 test -z "$ac_c_werror_flag" ||
21668 test ! -s conftest.err
21669 } && test -s conftest.$ac_objext; then
21670 ac_lo=$ac_mid; break
21672 echo "$as_me: failed program was:" >&5
21673 sed 's/^/| /' conftest.$ac_ext >&5
21675 ac_hi=`expr '(' $ac_mid ')' - 1`
21676 if test $ac_mid -le $ac_hi; then
21680 ac_mid=`expr 2 '*' $ac_mid`
21683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21686 echo "$as_me: failed program was:" >&5
21687 sed 's/^/| /' conftest.$ac_ext >&5
21692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21696 # Binary search between lo and hi bounds.
21697 while test "x$ac_lo" != "x$ac_hi"; do
21698 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21699 cat >conftest.$ac_ext <<_ACEOF
21702 cat confdefs.h >>conftest.$ac_ext
21703 cat >>conftest.$ac_ext <<_ACEOF
21704 /* end confdefs.h. */
21705 $ac_includes_default
21706 typedef long long ac__type_sizeof_;
21710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21717 rm -f conftest.$ac_objext
21718 if { (ac_try="$ac_compile"
21719 case "(($ac_try" in
21720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21721 *) ac_try_echo=$ac_try;;
21723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21724 (eval "$ac_compile") 2>conftest.er1
21726 grep -v '^ *+' conftest.er1 >conftest.err
21728 cat conftest.err >&5
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); } && {
21731 test -z "$ac_c_werror_flag" ||
21732 test ! -s conftest.err
21733 } && test -s conftest.$ac_objext; then
21736 echo "$as_me: failed program was:" >&5
21737 sed 's/^/| /' conftest.$ac_ext >&5
21739 ac_lo=`expr '(' $ac_mid ')' + 1`
21742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21745 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21746 '') if test "$ac_cv_type_long_long" = yes; then
21747 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21748 See \`config.log' for more details." >&5
21749 echo "$as_me: error: cannot compute sizeof (long long)
21750 See \`config.log' for more details." >&2;}
21751 { (exit 77); exit 77; }; }
21753 ac_cv_sizeof_long_long=0
21757 cat >conftest.$ac_ext <<_ACEOF
21760 cat confdefs.h >>conftest.$ac_ext
21761 cat >>conftest.$ac_ext <<_ACEOF
21762 /* end confdefs.h. */
21763 $ac_includes_default
21764 typedef long long ac__type_sizeof_;
21765 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21766 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21768 #include <stdlib.h>
21773 FILE *f = fopen ("conftest.val", "w");
21776 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21778 long int i = longval ();
21779 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21781 fprintf (f, "%ld\n", i);
21785 unsigned long int i = ulongval ();
21786 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21788 fprintf (f, "%lu\n", i);
21790 return ferror (f) || fclose (f) != 0;
21796 rm -f conftest$ac_exeext
21797 if { (ac_try="$ac_link"
21798 case "(($ac_try" in
21799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21800 *) ac_try_echo=$ac_try;;
21802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21803 (eval "$ac_link") 2>&5
21805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21807 { (case "(($ac_try" in
21808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21809 *) ac_try_echo=$ac_try;;
21811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21812 (eval "$ac_try") 2>&5
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); }; }; then
21816 ac_cv_sizeof_long_long=`cat conftest.val`
21818 echo "$as_me: program exited with status $ac_status" >&5
21819 echo "$as_me: failed program was:" >&5
21820 sed 's/^/| /' conftest.$ac_ext >&5
21822 ( exit $ac_status )
21823 if test "$ac_cv_type_long_long" = yes; then
21824 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21825 See \`config.log' for more details." >&5
21826 echo "$as_me: error: cannot compute sizeof (long long)
21827 See \`config.log' for more details." >&2;}
21828 { (exit 77); exit 77; }; }
21830 ac_cv_sizeof_long_long=0
21833 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21837 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21838 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21842 cat >>confdefs.h <<_ACEOF
21843 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21847 if test "$ac_cv_sizeof_long_long" != 0; then
21848 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21852 { echo "$as_me:$LINENO: checking for long long" >&5
21853 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21854 if test "${ac_cv_type_long_long+set}" = set; then
21855 echo $ECHO_N "(cached) $ECHO_C" >&6
21857 cat >conftest.$ac_ext <<_ACEOF
21860 cat confdefs.h >>conftest.$ac_ext
21861 cat >>conftest.$ac_ext <<_ACEOF
21862 /* end confdefs.h. */
21863 $ac_includes_default
21864 typedef long long ac__type_new_;
21868 if ((ac__type_new_ *) 0)
21870 if (sizeof (ac__type_new_))
21876 rm -f conftest.$ac_objext
21877 if { (ac_try="$ac_compile"
21878 case "(($ac_try" in
21879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21880 *) ac_try_echo=$ac_try;;
21882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21883 (eval "$ac_compile") 2>conftest.er1
21885 grep -v '^ *+' conftest.er1 >conftest.err
21887 cat conftest.err >&5
21888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21889 (exit $ac_status); } && {
21890 test -z "$ac_c_werror_flag" ||
21891 test ! -s conftest.err
21892 } && test -s conftest.$ac_objext; then
21893 ac_cv_type_long_long=yes
21895 echo "$as_me: failed program was:" >&5
21896 sed 's/^/| /' conftest.$ac_ext >&5
21898 ac_cv_type_long_long=no
21901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21903 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21904 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21906 # The cast to long int works around a bug in the HP C Compiler
21907 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21908 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21909 # This bug is HP SR number 8606223364.
21910 { echo "$as_me:$LINENO: checking size of long long" >&5
21911 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21912 if test "${ac_cv_sizeof_long_long+set}" = set; then
21913 echo $ECHO_N "(cached) $ECHO_C" >&6
21915 if test "$cross_compiling" = yes; then
21916 # Depending upon the size, compute the lo and hi bounds.
21917 cat >conftest.$ac_ext <<_ACEOF
21920 cat confdefs.h >>conftest.$ac_ext
21921 cat >>conftest.$ac_ext <<_ACEOF
21922 /* end confdefs.h. */
21923 $ac_includes_default
21924 typedef long long ac__type_sizeof_;
21928 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21935 rm -f conftest.$ac_objext
21936 if { (ac_try="$ac_compile"
21937 case "(($ac_try" in
21938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21939 *) ac_try_echo=$ac_try;;
21941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21942 (eval "$ac_compile") 2>conftest.er1
21944 grep -v '^ *+' conftest.er1 >conftest.err
21946 cat conftest.err >&5
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); } && {
21949 test -z "$ac_c_werror_flag" ||
21950 test ! -s conftest.err
21951 } && test -s conftest.$ac_objext; then
21954 cat >conftest.$ac_ext <<_ACEOF
21957 cat confdefs.h >>conftest.$ac_ext
21958 cat >>conftest.$ac_ext <<_ACEOF
21959 /* end confdefs.h. */
21960 $ac_includes_default
21961 typedef long long ac__type_sizeof_;
21965 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21972 rm -f conftest.$ac_objext
21973 if { (ac_try="$ac_compile"
21974 case "(($ac_try" in
21975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21976 *) ac_try_echo=$ac_try;;
21978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21979 (eval "$ac_compile") 2>conftest.er1
21981 grep -v '^ *+' conftest.er1 >conftest.err
21983 cat conftest.err >&5
21984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 (exit $ac_status); } && {
21986 test -z "$ac_c_werror_flag" ||
21987 test ! -s conftest.err
21988 } && test -s conftest.$ac_objext; then
21989 ac_hi=$ac_mid; break
21991 echo "$as_me: failed program was:" >&5
21992 sed 's/^/| /' conftest.$ac_ext >&5
21994 ac_lo=`expr $ac_mid + 1`
21995 if test $ac_lo -le $ac_mid; then
21999 ac_mid=`expr 2 '*' $ac_mid + 1`
22002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22005 echo "$as_me: failed program was:" >&5
22006 sed 's/^/| /' conftest.$ac_ext >&5
22008 cat >conftest.$ac_ext <<_ACEOF
22011 cat confdefs.h >>conftest.$ac_ext
22012 cat >>conftest.$ac_ext <<_ACEOF
22013 /* end confdefs.h. */
22014 $ac_includes_default
22015 typedef long long ac__type_sizeof_;
22019 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22026 rm -f conftest.$ac_objext
22027 if { (ac_try="$ac_compile"
22028 case "(($ac_try" in
22029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22030 *) ac_try_echo=$ac_try;;
22032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22033 (eval "$ac_compile") 2>conftest.er1
22035 grep -v '^ *+' conftest.er1 >conftest.err
22037 cat conftest.err >&5
22038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22039 (exit $ac_status); } && {
22040 test -z "$ac_c_werror_flag" ||
22041 test ! -s conftest.err
22042 } && test -s conftest.$ac_objext; then
22045 cat >conftest.$ac_ext <<_ACEOF
22048 cat confdefs.h >>conftest.$ac_ext
22049 cat >>conftest.$ac_ext <<_ACEOF
22050 /* end confdefs.h. */
22051 $ac_includes_default
22052 typedef long long ac__type_sizeof_;
22056 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22063 rm -f conftest.$ac_objext
22064 if { (ac_try="$ac_compile"
22065 case "(($ac_try" in
22066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22067 *) ac_try_echo=$ac_try;;
22069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22070 (eval "$ac_compile") 2>conftest.er1
22072 grep -v '^ *+' conftest.er1 >conftest.err
22074 cat conftest.err >&5
22075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076 (exit $ac_status); } && {
22077 test -z "$ac_c_werror_flag" ||
22078 test ! -s conftest.err
22079 } && test -s conftest.$ac_objext; then
22080 ac_lo=$ac_mid; break
22082 echo "$as_me: failed program was:" >&5
22083 sed 's/^/| /' conftest.$ac_ext >&5
22085 ac_hi=`expr '(' $ac_mid ')' - 1`
22086 if test $ac_mid -le $ac_hi; then
22090 ac_mid=`expr 2 '*' $ac_mid`
22093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22096 echo "$as_me: failed program was:" >&5
22097 sed 's/^/| /' conftest.$ac_ext >&5
22102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22106 # Binary search between lo and hi bounds.
22107 while test "x$ac_lo" != "x$ac_hi"; do
22108 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22109 cat >conftest.$ac_ext <<_ACEOF
22112 cat confdefs.h >>conftest.$ac_ext
22113 cat >>conftest.$ac_ext <<_ACEOF
22114 /* end confdefs.h. */
22115 $ac_includes_default
22116 typedef long long ac__type_sizeof_;
22120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22127 rm -f conftest.$ac_objext
22128 if { (ac_try="$ac_compile"
22129 case "(($ac_try" in
22130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22131 *) ac_try_echo=$ac_try;;
22133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22134 (eval "$ac_compile") 2>conftest.er1
22136 grep -v '^ *+' conftest.er1 >conftest.err
22138 cat conftest.err >&5
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); } && {
22141 test -z "$ac_c_werror_flag" ||
22142 test ! -s conftest.err
22143 } && test -s conftest.$ac_objext; then
22146 echo "$as_me: failed program was:" >&5
22147 sed 's/^/| /' conftest.$ac_ext >&5
22149 ac_lo=`expr '(' $ac_mid ')' + 1`
22152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22155 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22156 '') if test "$ac_cv_type_long_long" = yes; then
22157 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22158 See \`config.log' for more details." >&5
22159 echo "$as_me: error: cannot compute sizeof (long long)
22160 See \`config.log' for more details." >&2;}
22161 { (exit 77); exit 77; }; }
22163 ac_cv_sizeof_long_long=0
22167 cat >conftest.$ac_ext <<_ACEOF
22170 cat confdefs.h >>conftest.$ac_ext
22171 cat >>conftest.$ac_ext <<_ACEOF
22172 /* end confdefs.h. */
22173 $ac_includes_default
22174 typedef long long ac__type_sizeof_;
22175 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22176 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22178 #include <stdlib.h>
22183 FILE *f = fopen ("conftest.val", "w");
22186 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22188 long int i = longval ();
22189 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22191 fprintf (f, "%ld\n", i);
22195 unsigned long int i = ulongval ();
22196 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22198 fprintf (f, "%lu\n", i);
22200 return ferror (f) || fclose (f) != 0;
22206 rm -f conftest$ac_exeext
22207 if { (ac_try="$ac_link"
22208 case "(($ac_try" in
22209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22210 *) ac_try_echo=$ac_try;;
22212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22213 (eval "$ac_link") 2>&5
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22217 { (case "(($ac_try" in
22218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22219 *) ac_try_echo=$ac_try;;
22221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22222 (eval "$ac_try") 2>&5
22224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22225 (exit $ac_status); }; }; then
22226 ac_cv_sizeof_long_long=`cat conftest.val`
22228 echo "$as_me: program exited with status $ac_status" >&5
22229 echo "$as_me: failed program was:" >&5
22230 sed 's/^/| /' conftest.$ac_ext >&5
22232 ( exit $ac_status )
22233 if test "$ac_cv_type_long_long" = yes; then
22234 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22235 See \`config.log' for more details." >&5
22236 echo "$as_me: error: cannot compute sizeof (long long)
22237 See \`config.log' for more details." >&2;}
22238 { (exit 77); exit 77; }; }
22240 ac_cv_sizeof_long_long=0
22243 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22247 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22248 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22252 cat >>confdefs.h <<_ACEOF
22253 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22259 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22260 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22261 if test "${ac_cv_type_wchar_t+set}" = set; then
22262 echo $ECHO_N "(cached) $ECHO_C" >&6
22264 cat >conftest.$ac_ext <<_ACEOF
22267 cat confdefs.h >>conftest.$ac_ext
22268 cat >>conftest.$ac_ext <<_ACEOF
22269 /* end confdefs.h. */
22271 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22272 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22273 # error "fake wchar_t"
22275 #ifdef HAVE_WCHAR_H
22277 # include <stddef.h>
22279 # include <wchar.h>
22281 #ifdef HAVE_STDLIB_H
22282 # include <stdlib.h>
22288 typedef wchar_t ac__type_new_;
22292 if ((ac__type_new_ *) 0)
22294 if (sizeof (ac__type_new_))
22300 rm -f conftest.$ac_objext
22301 if { (ac_try="$ac_compile"
22302 case "(($ac_try" in
22303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22304 *) ac_try_echo=$ac_try;;
22306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22307 (eval "$ac_compile") 2>conftest.er1
22309 grep -v '^ *+' conftest.er1 >conftest.err
22311 cat conftest.err >&5
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); } && {
22314 test -z "$ac_c_werror_flag" ||
22315 test ! -s conftest.err
22316 } && test -s conftest.$ac_objext; then
22317 ac_cv_type_wchar_t=yes
22319 echo "$as_me: failed program was:" >&5
22320 sed 's/^/| /' conftest.$ac_ext >&5
22322 ac_cv_type_wchar_t=no
22325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22327 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22328 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22330 # The cast to long int works around a bug in the HP C Compiler
22331 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22332 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22333 # This bug is HP SR number 8606223364.
22334 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22335 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22336 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22337 echo $ECHO_N "(cached) $ECHO_C" >&6
22339 if test "$cross_compiling" = yes; then
22340 # Depending upon the size, compute the lo and hi bounds.
22341 cat >conftest.$ac_ext <<_ACEOF
22344 cat confdefs.h >>conftest.$ac_ext
22345 cat >>conftest.$ac_ext <<_ACEOF
22346 /* end confdefs.h. */
22348 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22349 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22350 # error "fake wchar_t"
22352 #ifdef HAVE_WCHAR_H
22354 # include <stddef.h>
22356 # include <wchar.h>
22358 #ifdef HAVE_STDLIB_H
22359 # include <stdlib.h>
22365 typedef wchar_t ac__type_sizeof_;
22369 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22376 rm -f conftest.$ac_objext
22377 if { (ac_try="$ac_compile"
22378 case "(($ac_try" in
22379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22380 *) ac_try_echo=$ac_try;;
22382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22383 (eval "$ac_compile") 2>conftest.er1
22385 grep -v '^ *+' conftest.er1 >conftest.err
22387 cat conftest.err >&5
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); } && {
22390 test -z "$ac_c_werror_flag" ||
22391 test ! -s conftest.err
22392 } && test -s conftest.$ac_objext; then
22395 cat >conftest.$ac_ext <<_ACEOF
22398 cat confdefs.h >>conftest.$ac_ext
22399 cat >>conftest.$ac_ext <<_ACEOF
22400 /* end confdefs.h. */
22402 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22403 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22404 # error "fake wchar_t"
22406 #ifdef HAVE_WCHAR_H
22408 # include <stddef.h>
22410 # include <wchar.h>
22412 #ifdef HAVE_STDLIB_H
22413 # include <stdlib.h>
22419 typedef wchar_t ac__type_sizeof_;
22423 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22430 rm -f conftest.$ac_objext
22431 if { (ac_try="$ac_compile"
22432 case "(($ac_try" in
22433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22434 *) ac_try_echo=$ac_try;;
22436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22437 (eval "$ac_compile") 2>conftest.er1
22439 grep -v '^ *+' conftest.er1 >conftest.err
22441 cat conftest.err >&5
22442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22443 (exit $ac_status); } && {
22444 test -z "$ac_c_werror_flag" ||
22445 test ! -s conftest.err
22446 } && test -s conftest.$ac_objext; then
22447 ac_hi=$ac_mid; break
22449 echo "$as_me: failed program was:" >&5
22450 sed 's/^/| /' conftest.$ac_ext >&5
22452 ac_lo=`expr $ac_mid + 1`
22453 if test $ac_lo -le $ac_mid; then
22457 ac_mid=`expr 2 '*' $ac_mid + 1`
22460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22463 echo "$as_me: failed program was:" >&5
22464 sed 's/^/| /' conftest.$ac_ext >&5
22466 cat >conftest.$ac_ext <<_ACEOF
22469 cat confdefs.h >>conftest.$ac_ext
22470 cat >>conftest.$ac_ext <<_ACEOF
22471 /* end confdefs.h. */
22473 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22474 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22475 # error "fake wchar_t"
22477 #ifdef HAVE_WCHAR_H
22479 # include <stddef.h>
22481 # include <wchar.h>
22483 #ifdef HAVE_STDLIB_H
22484 # include <stdlib.h>
22490 typedef wchar_t ac__type_sizeof_;
22494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22501 rm -f conftest.$ac_objext
22502 if { (ac_try="$ac_compile"
22503 case "(($ac_try" in
22504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22505 *) ac_try_echo=$ac_try;;
22507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22508 (eval "$ac_compile") 2>conftest.er1
22510 grep -v '^ *+' conftest.er1 >conftest.err
22512 cat conftest.err >&5
22513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514 (exit $ac_status); } && {
22515 test -z "$ac_c_werror_flag" ||
22516 test ! -s conftest.err
22517 } && test -s conftest.$ac_objext; then
22520 cat >conftest.$ac_ext <<_ACEOF
22523 cat confdefs.h >>conftest.$ac_ext
22524 cat >>conftest.$ac_ext <<_ACEOF
22525 /* end confdefs.h. */
22527 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22528 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22529 # error "fake wchar_t"
22531 #ifdef HAVE_WCHAR_H
22533 # include <stddef.h>
22535 # include <wchar.h>
22537 #ifdef HAVE_STDLIB_H
22538 # include <stdlib.h>
22544 typedef wchar_t ac__type_sizeof_;
22548 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22555 rm -f conftest.$ac_objext
22556 if { (ac_try="$ac_compile"
22557 case "(($ac_try" in
22558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22559 *) ac_try_echo=$ac_try;;
22561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22562 (eval "$ac_compile") 2>conftest.er1
22564 grep -v '^ *+' conftest.er1 >conftest.err
22566 cat conftest.err >&5
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); } && {
22569 test -z "$ac_c_werror_flag" ||
22570 test ! -s conftest.err
22571 } && test -s conftest.$ac_objext; then
22572 ac_lo=$ac_mid; break
22574 echo "$as_me: failed program was:" >&5
22575 sed 's/^/| /' conftest.$ac_ext >&5
22577 ac_hi=`expr '(' $ac_mid ')' - 1`
22578 if test $ac_mid -le $ac_hi; then
22582 ac_mid=`expr 2 '*' $ac_mid`
22585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22588 echo "$as_me: failed program was:" >&5
22589 sed 's/^/| /' conftest.$ac_ext >&5
22594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22598 # Binary search between lo and hi bounds.
22599 while test "x$ac_lo" != "x$ac_hi"; do
22600 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22601 cat >conftest.$ac_ext <<_ACEOF
22604 cat confdefs.h >>conftest.$ac_ext
22605 cat >>conftest.$ac_ext <<_ACEOF
22606 /* end confdefs.h. */
22608 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22609 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22610 # error "fake wchar_t"
22612 #ifdef HAVE_WCHAR_H
22614 # include <stddef.h>
22616 # include <wchar.h>
22618 #ifdef HAVE_STDLIB_H
22619 # include <stdlib.h>
22625 typedef wchar_t ac__type_sizeof_;
22629 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22636 rm -f conftest.$ac_objext
22637 if { (ac_try="$ac_compile"
22638 case "(($ac_try" in
22639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22640 *) ac_try_echo=$ac_try;;
22642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22643 (eval "$ac_compile") 2>conftest.er1
22645 grep -v '^ *+' conftest.er1 >conftest.err
22647 cat conftest.err >&5
22648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649 (exit $ac_status); } && {
22650 test -z "$ac_c_werror_flag" ||
22651 test ! -s conftest.err
22652 } && test -s conftest.$ac_objext; then
22655 echo "$as_me: failed program was:" >&5
22656 sed 's/^/| /' conftest.$ac_ext >&5
22658 ac_lo=`expr '(' $ac_mid ')' + 1`
22661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22664 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22665 '') if test "$ac_cv_type_wchar_t" = yes; then
22666 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22667 See \`config.log' for more details." >&5
22668 echo "$as_me: error: cannot compute sizeof (wchar_t)
22669 See \`config.log' for more details." >&2;}
22670 { (exit 77); exit 77; }; }
22672 ac_cv_sizeof_wchar_t=0
22676 cat >conftest.$ac_ext <<_ACEOF
22679 cat confdefs.h >>conftest.$ac_ext
22680 cat >>conftest.$ac_ext <<_ACEOF
22681 /* end confdefs.h. */
22683 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22684 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22685 # error "fake wchar_t"
22687 #ifdef HAVE_WCHAR_H
22689 # include <stddef.h>
22691 # include <wchar.h>
22693 #ifdef HAVE_STDLIB_H
22694 # include <stdlib.h>
22700 typedef wchar_t ac__type_sizeof_;
22701 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22702 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22704 #include <stdlib.h>
22709 FILE *f = fopen ("conftest.val", "w");
22712 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22714 long int i = longval ();
22715 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22717 fprintf (f, "%ld\n", i);
22721 unsigned long int i = ulongval ();
22722 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22724 fprintf (f, "%lu\n", i);
22726 return ferror (f) || fclose (f) != 0;
22732 rm -f conftest$ac_exeext
22733 if { (ac_try="$ac_link"
22734 case "(($ac_try" in
22735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22736 *) ac_try_echo=$ac_try;;
22738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22739 (eval "$ac_link") 2>&5
22741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22742 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22743 { (case "(($ac_try" in
22744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22745 *) ac_try_echo=$ac_try;;
22747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22748 (eval "$ac_try") 2>&5
22750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22751 (exit $ac_status); }; }; then
22752 ac_cv_sizeof_wchar_t=`cat conftest.val`
22754 echo "$as_me: program exited with status $ac_status" >&5
22755 echo "$as_me: failed program was:" >&5
22756 sed 's/^/| /' conftest.$ac_ext >&5
22758 ( exit $ac_status )
22759 if test "$ac_cv_type_wchar_t" = yes; then
22760 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22761 See \`config.log' for more details." >&5
22762 echo "$as_me: error: cannot compute sizeof (wchar_t)
22763 See \`config.log' for more details." >&2;}
22764 { (exit 77); exit 77; }; }
22766 ac_cv_sizeof_wchar_t=0
22769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22773 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22774 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22778 cat >>confdefs.h <<_ACEOF
22779 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22783 if test "$ac_cv_sizeof_wchar_t" != 0; then
22789 { echo "$as_me:$LINENO: checking for va_copy" >&5
22790 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22791 if test "${wx_cv_func_va_copy+set}" = set; then
22792 echo $ECHO_N "(cached) $ECHO_C" >&6
22796 ac_cpp='$CXXCPP $CPPFLAGS'
22797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22801 cat >conftest.$ac_ext <<_ACEOF
22803 #include <stdarg.h>
22804 void foo(char *f, ...)
22818 rm -f conftest.$ac_objext conftest$ac_exeext
22819 if { (ac_try="$ac_link"
22820 case "(($ac_try" in
22821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22822 *) ac_try_echo=$ac_try;;
22824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22825 (eval "$ac_link") 2>conftest.er1
22827 grep -v '^ *+' conftest.er1 >conftest.err
22829 cat conftest.err >&5
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); } && {
22832 test -z "$ac_cxx_werror_flag" ||
22833 test ! -s conftest.err
22834 } && test -s conftest$ac_exeext &&
22835 $as_test_x conftest$ac_exeext; then
22836 wx_cv_func_va_copy=yes
22838 echo "$as_me: failed program was:" >&5
22839 sed 's/^/| /' conftest.$ac_ext >&5
22841 wx_cv_func_va_copy=no
22845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22846 conftest$ac_exeext conftest.$ac_ext
22848 ac_cpp='$CPP $CPPFLAGS'
22849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22856 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22857 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22859 if test $wx_cv_func_va_copy = "yes"; then
22860 cat >>confdefs.h <<\_ACEOF
22861 #define HAVE_VA_COPY 1
22865 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22866 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22867 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22868 echo $ECHO_N "(cached) $ECHO_C" >&6
22871 if test "$cross_compiling" = yes; then
22872 wx_cv_type_va_list_lvalue=yes
22875 cat >conftest.$ac_ext <<_ACEOF
22877 #include <stdarg.h>
22878 int foo(char *f, ...)
22883 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22891 return foo("hi", 17);
22894 rm -f conftest$ac_exeext
22895 if { (ac_try="$ac_link"
22896 case "(($ac_try" in
22897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22898 *) ac_try_echo=$ac_try;;
22900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22901 (eval "$ac_link") 2>&5
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22905 { (case "(($ac_try" in
22906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22907 *) ac_try_echo=$ac_try;;
22909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22910 (eval "$ac_try") 2>&5
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); }; }; then
22914 wx_cv_type_va_list_lvalue=yes
22916 echo "$as_me: program exited with status $ac_status" >&5
22917 echo "$as_me: failed program was:" >&5
22918 sed 's/^/| /' conftest.$ac_ext >&5
22920 ( exit $ac_status )
22921 wx_cv_type_va_list_lvalue=no
22923 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22930 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22931 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22933 if test $wx_cv_type_va_list_lvalue != "yes"; then
22934 cat >>confdefs.h <<\_ACEOF
22935 #define VA_LIST_IS_ARRAY 1
22941 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22943 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22944 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22945 if test "${wx_cv_have_variadic_macros+set}" = set; then
22946 echo $ECHO_N "(cached) $ECHO_C" >&6
22950 ac_cpp='$CXXCPP $CPPFLAGS'
22951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22955 cat >conftest.$ac_ext <<_ACEOF
22958 cat confdefs.h >>conftest.$ac_ext
22959 cat >>conftest.$ac_ext <<_ACEOF
22960 /* end confdefs.h. */
22963 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22969 test("%s %d %p", "test", 1, 0);
22976 rm -f conftest.$ac_objext
22977 if { (ac_try="$ac_compile"
22978 case "(($ac_try" in
22979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22980 *) ac_try_echo=$ac_try;;
22982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22983 (eval "$ac_compile") 2>conftest.er1
22985 grep -v '^ *+' conftest.er1 >conftest.err
22987 cat conftest.err >&5
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); } && {
22990 test -z "$ac_cxx_werror_flag" ||
22991 test ! -s conftest.err
22992 } && test -s conftest.$ac_objext; then
22993 wx_cv_have_variadic_macros=yes
22995 echo "$as_me: failed program was:" >&5
22996 sed 's/^/| /' conftest.$ac_ext >&5
22998 wx_cv_have_variadic_macros=no
23002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23004 ac_cpp='$CPP $CPPFLAGS'
23005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23012 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23013 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23015 if test $wx_cv_have_variadic_macros = "yes"; then
23016 cat >>confdefs.h <<\_ACEOF
23017 #define HAVE_VARIADIC_MACROS 1
23023 # Check whether --enable-largefile was given.
23024 if test "${enable_largefile+set}" = set; then
23025 enableval=$enable_largefile;
23028 if test "$enable_largefile" != no; then
23031 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23032 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23033 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23034 echo $ECHO_N "(cached) $ECHO_C" >&6
23037 cat >conftest.$ac_ext <<_ACEOF
23040 cat confdefs.h >>conftest.$ac_ext
23041 cat >>conftest.$ac_ext <<_ACEOF
23042 /* end confdefs.h. */
23043 #define _FILE_OFFSET_BITS 64
23044 #include <sys/types.h>
23049 unsigned int field: sizeof(off_t) == 8;
23056 rm -f conftest.$ac_objext
23057 if { (ac_try="$ac_compile"
23058 case "(($ac_try" in
23059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23060 *) ac_try_echo=$ac_try;;
23062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23063 (eval "$ac_compile") 2>conftest.er1
23065 grep -v '^ *+' conftest.er1 >conftest.err
23067 cat conftest.err >&5
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); } && {
23070 test -z "$ac_c_werror_flag" ||
23071 test ! -s conftest.err
23072 } && test -s conftest.$ac_objext; then
23073 ac_cv_sys_file_offset_bits=64
23075 echo "$as_me: failed program was:" >&5
23076 sed 's/^/| /' conftest.$ac_ext >&5
23078 ac_cv_sys_file_offset_bits=no
23081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23085 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23086 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23088 if test "$ac_cv_sys_file_offset_bits" != no; then
23090 cat >>confdefs.h <<_ACEOF
23091 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23096 if test "x$wx_largefile" != "xyes"; then
23098 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23099 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23100 if test "${ac_cv_sys_large_files+set}" = set; then
23101 echo $ECHO_N "(cached) $ECHO_C" >&6
23104 cat >conftest.$ac_ext <<_ACEOF
23107 cat confdefs.h >>conftest.$ac_ext
23108 cat >>conftest.$ac_ext <<_ACEOF
23109 /* end confdefs.h. */
23110 #define _LARGE_FILES 1
23111 #include <sys/types.h>
23116 unsigned int field: sizeof(off_t) == 8;
23123 rm -f conftest.$ac_objext
23124 if { (ac_try="$ac_compile"
23125 case "(($ac_try" in
23126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23127 *) ac_try_echo=$ac_try;;
23129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23130 (eval "$ac_compile") 2>conftest.er1
23132 grep -v '^ *+' conftest.er1 >conftest.err
23134 cat conftest.err >&5
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); } && {
23137 test -z "$ac_c_werror_flag" ||
23138 test ! -s conftest.err
23139 } && test -s conftest.$ac_objext; then
23140 ac_cv_sys_large_files=1
23142 echo "$as_me: failed program was:" >&5
23143 sed 's/^/| /' conftest.$ac_ext >&5
23145 ac_cv_sys_large_files=no
23148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23152 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23153 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23155 if test "$ac_cv_sys_large_files" != no; then
23157 cat >>confdefs.h <<_ACEOF
23158 #define _LARGE_FILES $ac_cv_sys_large_files
23165 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23166 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23167 if test "x$wx_largefile" = "xyes"; then
23168 cat >>confdefs.h <<\_ACEOF
23169 #define HAVE_LARGEFILE_SUPPORT 1
23173 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23174 echo "${ECHO_T}$wx_largefile" >&6; }
23178 if test "x$wx_largefile" = "xyes"; then
23179 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23180 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23182 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23183 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23184 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23185 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23186 echo $ECHO_N "(cached) $ECHO_C" >&6
23190 ac_cpp='$CXXCPP $CPPFLAGS'
23191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23195 cat >conftest.$ac_ext <<_ACEOF
23198 cat confdefs.h >>conftest.$ac_ext
23199 cat >>conftest.$ac_ext <<_ACEOF
23200 /* end confdefs.h. */
23206 #ifndef __STDC_EXT__
23214 rm -f conftest.$ac_objext
23215 if { (ac_try="$ac_compile"
23216 case "(($ac_try" in
23217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23218 *) ac_try_echo=$ac_try;;
23220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23221 (eval "$ac_compile") 2>conftest.er1
23223 grep -v '^ *+' conftest.er1 >conftest.err
23225 cat conftest.err >&5
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); } && {
23228 test -z "$ac_cxx_werror_flag" ||
23229 test ! -s conftest.err
23230 } && test -s conftest.$ac_objext; then
23231 wx_cv_STDC_EXT_required=no
23233 echo "$as_me: failed program was:" >&5
23234 sed 's/^/| /' conftest.$ac_ext >&5
23236 wx_cv_STDC_EXT_required=yes
23240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23242 ac_cpp='$CPP $CPPFLAGS'
23243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23250 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23251 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23252 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23253 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23257 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23259 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23260 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23261 if test "${ac_cv_sys_largefile_source+set}" = set; then
23262 echo $ECHO_N "(cached) $ECHO_C" >&6
23265 cat >conftest.$ac_ext <<_ACEOF
23268 cat confdefs.h >>conftest.$ac_ext
23269 cat >>conftest.$ac_ext <<_ACEOF
23270 /* end confdefs.h. */
23271 #include <sys/types.h> /* for off_t */
23276 int (*fp) (FILE *, off_t, int) = fseeko;
23277 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23282 rm -f conftest.$ac_objext conftest$ac_exeext
23283 if { (ac_try="$ac_link"
23284 case "(($ac_try" in
23285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23286 *) ac_try_echo=$ac_try;;
23288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23289 (eval "$ac_link") 2>conftest.er1
23291 grep -v '^ *+' conftest.er1 >conftest.err
23293 cat conftest.err >&5
23294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295 (exit $ac_status); } && {
23296 test -z "$ac_c_werror_flag" ||
23297 test ! -s conftest.err
23298 } && test -s conftest$ac_exeext &&
23299 $as_test_x conftest$ac_exeext; then
23300 ac_cv_sys_largefile_source=no; break
23302 echo "$as_me: failed program was:" >&5
23303 sed 's/^/| /' conftest.$ac_ext >&5
23308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23309 conftest$ac_exeext conftest.$ac_ext
23310 cat >conftest.$ac_ext <<_ACEOF
23313 cat confdefs.h >>conftest.$ac_ext
23314 cat >>conftest.$ac_ext <<_ACEOF
23315 /* end confdefs.h. */
23316 #define _LARGEFILE_SOURCE 1
23317 #include <sys/types.h> /* for off_t */
23322 int (*fp) (FILE *, off_t, int) = fseeko;
23323 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23328 rm -f conftest.$ac_objext conftest$ac_exeext
23329 if { (ac_try="$ac_link"
23330 case "(($ac_try" in
23331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23332 *) ac_try_echo=$ac_try;;
23334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23335 (eval "$ac_link") 2>conftest.er1
23337 grep -v '^ *+' conftest.er1 >conftest.err
23339 cat conftest.err >&5
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); } && {
23342 test -z "$ac_c_werror_flag" ||
23343 test ! -s conftest.err
23344 } && test -s conftest$ac_exeext &&
23345 $as_test_x conftest$ac_exeext; then
23346 ac_cv_sys_largefile_source=1; break
23348 echo "$as_me: failed program was:" >&5
23349 sed 's/^/| /' conftest.$ac_ext >&5
23354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23355 conftest$ac_exeext conftest.$ac_ext
23356 ac_cv_sys_largefile_source=unknown
23360 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23361 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23362 case $ac_cv_sys_largefile_source in #(
23365 cat >>confdefs.h <<_ACEOF
23366 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23372 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23373 # in glibc 2.1.3, but that breaks too many other things.
23374 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23375 if test $ac_cv_sys_largefile_source != unknown; then
23377 cat >>confdefs.h <<\_ACEOF
23378 #define HAVE_FSEEKO 1
23383 if test "$ac_cv_sys_largefile_source" != no; then
23384 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23388 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23389 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23390 if test "${ac_cv_c_bigendian+set}" = set; then
23391 echo $ECHO_N "(cached) $ECHO_C" >&6
23393 ac_cv_c_bigendian=unknown
23394 # See if sys/param.h defines the BYTE_ORDER macro.
23395 cat >conftest.$ac_ext <<_ACEOF
23398 cat confdefs.h >>conftest.$ac_ext
23399 cat >>conftest.$ac_ext <<_ACEOF
23400 /* end confdefs.h. */
23401 #include <sys/types.h>
23402 #include <sys/param.h>
23407 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23408 bogus endian macros
23414 rm -f conftest.$ac_objext
23415 if { (ac_try="$ac_compile"
23416 case "(($ac_try" in
23417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23418 *) ac_try_echo=$ac_try;;
23420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23421 (eval "$ac_compile") 2>conftest.er1
23423 grep -v '^ *+' conftest.er1 >conftest.err
23425 cat conftest.err >&5
23426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23427 (exit $ac_status); } && {
23428 test -z "$ac_c_werror_flag" ||
23429 test ! -s conftest.err
23430 } && test -s conftest.$ac_objext; then
23431 # It does; now see whether it defined to BIG_ENDIAN or not.
23432 cat >conftest.$ac_ext <<_ACEOF
23435 cat confdefs.h >>conftest.$ac_ext
23436 cat >>conftest.$ac_ext <<_ACEOF
23437 /* end confdefs.h. */
23438 #include <sys/types.h>
23439 #include <sys/param.h>
23444 #if BYTE_ORDER != BIG_ENDIAN
23451 rm -f conftest.$ac_objext
23452 if { (ac_try="$ac_compile"
23453 case "(($ac_try" in
23454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23455 *) ac_try_echo=$ac_try;;
23457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23458 (eval "$ac_compile") 2>conftest.er1
23460 grep -v '^ *+' conftest.er1 >conftest.err
23462 cat conftest.err >&5
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); } && {
23465 test -z "$ac_c_werror_flag" ||
23466 test ! -s conftest.err
23467 } && test -s conftest.$ac_objext; then
23468 ac_cv_c_bigendian=yes
23470 echo "$as_me: failed program was:" >&5
23471 sed 's/^/| /' conftest.$ac_ext >&5
23473 ac_cv_c_bigendian=no
23476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23478 echo "$as_me: failed program was:" >&5
23479 sed 's/^/| /' conftest.$ac_ext >&5
23484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23485 if test $ac_cv_c_bigendian = unknown; then
23486 if test "$cross_compiling" = yes; then
23487 ac_cv_c_bigendian=unknown
23489 cat >conftest.$ac_ext <<_ACEOF
23492 cat confdefs.h >>conftest.$ac_ext
23493 cat >>conftest.$ac_ext <<_ACEOF
23494 /* end confdefs.h. */
23496 /* Are we little or big endian? From Harbison&Steele. */
23500 char c[sizeof (long)];
23503 exit (u.c[sizeof (long) - 1] == 1);
23506 rm -f conftest$ac_exeext
23507 if { (ac_try="$ac_link"
23508 case "(($ac_try" in
23509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23510 *) ac_try_echo=$ac_try;;
23512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23513 (eval "$ac_link") 2>&5
23515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23516 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23517 { (case "(($ac_try" in
23518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23519 *) ac_try_echo=$ac_try;;
23521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23522 (eval "$ac_try") 2>&5
23524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525 (exit $ac_status); }; }; then
23526 ac_cv_c_bigendian=no
23528 echo "$as_me: program exited with status $ac_status" >&5
23529 echo "$as_me: failed program was:" >&5
23530 sed 's/^/| /' conftest.$ac_ext >&5
23532 ( exit $ac_status )
23533 ac_cv_c_bigendian=yes
23535 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23541 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23542 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23543 if test $ac_cv_c_bigendian = unknown; then
23544 { 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
23545 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;}
23547 if test $ac_cv_c_bigendian = yes; then
23548 cat >>confdefs.h <<\_ACEOF
23549 #define WORDS_BIGENDIAN 1
23558 ac_cpp='$CXXCPP $CPPFLAGS'
23559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23565 for ac_header in iostream
23567 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23568 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23570 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23571 echo $ECHO_N "(cached) $ECHO_C" >&6
23573 cat >conftest.$ac_ext <<_ACEOF
23576 cat confdefs.h >>conftest.$ac_ext
23577 cat >>conftest.$ac_ext <<_ACEOF
23578 /* end confdefs.h. */
23581 #include <$ac_header>
23583 rm -f conftest.$ac_objext
23584 if { (ac_try="$ac_compile"
23585 case "(($ac_try" in
23586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23587 *) ac_try_echo=$ac_try;;
23589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23590 (eval "$ac_compile") 2>conftest.er1
23592 grep -v '^ *+' conftest.er1 >conftest.err
23594 cat conftest.err >&5
23595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23596 (exit $ac_status); } && {
23597 test -z "$ac_cxx_werror_flag" ||
23598 test ! -s conftest.err
23599 } && test -s conftest.$ac_objext; then
23600 eval "$as_ac_Header=yes"
23602 echo "$as_me: failed program was:" >&5
23603 sed 's/^/| /' conftest.$ac_ext >&5
23605 eval "$as_ac_Header=no"
23608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23610 ac_res=`eval echo '${'$as_ac_Header'}'`
23611 { echo "$as_me:$LINENO: result: $ac_res" >&5
23612 echo "${ECHO_T}$ac_res" >&6; }
23613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23614 cat >>confdefs.h <<_ACEOF
23615 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23623 if test "$ac_cv_header_iostream" = "yes" ; then
23626 cat >>confdefs.h <<\_ACEOF
23627 #define wxUSE_IOSTREAMH 1
23633 ac_cpp='$CPP $CPPFLAGS'
23634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23641 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23642 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23643 if test "${wx_cv_cpp_bool+set}" = set; then
23644 echo $ECHO_N "(cached) $ECHO_C" >&6
23649 ac_cpp='$CXXCPP $CPPFLAGS'
23650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23655 cat >conftest.$ac_ext <<_ACEOF
23658 cat confdefs.h >>conftest.$ac_ext
23659 cat >>conftest.$ac_ext <<_ACEOF
23660 /* end confdefs.h. */
23675 rm -f conftest.$ac_objext
23676 if { (ac_try="$ac_compile"
23677 case "(($ac_try" in
23678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23679 *) ac_try_echo=$ac_try;;
23681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23682 (eval "$ac_compile") 2>conftest.er1
23684 grep -v '^ *+' conftest.er1 >conftest.err
23686 cat conftest.err >&5
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); } && {
23689 test -z "$ac_cxx_werror_flag" ||
23690 test ! -s conftest.err
23691 } && test -s conftest.$ac_objext; then
23696 echo "$as_me: failed program was:" >&5
23697 sed 's/^/| /' conftest.$ac_ext >&5
23705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23708 ac_cpp='$CPP $CPPFLAGS'
23709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23715 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23716 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23718 if test "$wx_cv_cpp_bool" = "yes"; then
23719 cat >>confdefs.h <<\_ACEOF
23720 #define HAVE_BOOL 1
23727 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23728 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23729 if test "${wx_cv_explicit+set}" = set; then
23730 echo $ECHO_N "(cached) $ECHO_C" >&6
23735 ac_cpp='$CXXCPP $CPPFLAGS'
23736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23741 cat >conftest.$ac_ext <<_ACEOF
23744 cat confdefs.h >>conftest.$ac_ext
23745 cat >>conftest.$ac_ext <<_ACEOF
23746 /* end confdefs.h. */
23748 class Foo { public: explicit Foo(int) {} };
23760 rm -f conftest.$ac_objext
23761 if { (ac_try="$ac_compile"
23762 case "(($ac_try" in
23763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23764 *) ac_try_echo=$ac_try;;
23766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23767 (eval "$ac_compile") 2>conftest.er1
23769 grep -v '^ *+' conftest.er1 >conftest.err
23771 cat conftest.err >&5
23772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23773 (exit $ac_status); } && {
23774 test -z "$ac_cxx_werror_flag" ||
23775 test ! -s conftest.err
23776 } && test -s conftest.$ac_objext; then
23778 cat >conftest.$ac_ext <<_ACEOF
23781 cat confdefs.h >>conftest.$ac_ext
23782 cat >>conftest.$ac_ext <<_ACEOF
23783 /* end confdefs.h. */
23785 class Foo { public: explicit Foo(int) {} };
23786 static void TakeFoo(const Foo& foo) { }
23799 rm -f conftest.$ac_objext
23800 if { (ac_try="$ac_compile"
23801 case "(($ac_try" in
23802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23803 *) ac_try_echo=$ac_try;;
23805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23806 (eval "$ac_compile") 2>conftest.er1
23808 grep -v '^ *+' conftest.er1 >conftest.err
23810 cat conftest.err >&5
23811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23812 (exit $ac_status); } && {
23813 test -z "$ac_cxx_werror_flag" ||
23814 test ! -s conftest.err
23815 } && test -s conftest.$ac_objext; then
23818 echo "$as_me: failed program was:" >&5
23819 sed 's/^/| /' conftest.$ac_ext >&5
23825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23828 echo "$as_me: failed program was:" >&5
23829 sed 's/^/| /' conftest.$ac_ext >&5
23835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23838 ac_cpp='$CPP $CPPFLAGS'
23839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23845 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23846 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23848 if test "$wx_cv_explicit" = "yes"; then
23849 cat >>confdefs.h <<\_ACEOF
23850 #define HAVE_EXPLICIT 1
23856 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23857 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23858 if test "${ac_cv_cxx_const_cast+set}" = set; then
23859 echo $ECHO_N "(cached) $ECHO_C" >&6
23863 ac_cpp='$CXXCPP $CPPFLAGS'
23864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23868 cat >conftest.$ac_ext <<_ACEOF
23871 cat confdefs.h >>conftest.$ac_ext
23872 cat >>conftest.$ac_ext <<_ACEOF
23873 /* end confdefs.h. */
23878 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23883 rm -f conftest.$ac_objext
23884 if { (ac_try="$ac_compile"
23885 case "(($ac_try" in
23886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23887 *) ac_try_echo=$ac_try;;
23889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23890 (eval "$ac_compile") 2>conftest.er1
23892 grep -v '^ *+' conftest.er1 >conftest.err
23894 cat conftest.err >&5
23895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23896 (exit $ac_status); } && {
23897 test -z "$ac_cxx_werror_flag" ||
23898 test ! -s conftest.err
23899 } && test -s conftest.$ac_objext; then
23900 ac_cv_cxx_const_cast=yes
23902 echo "$as_me: failed program was:" >&5
23903 sed 's/^/| /' conftest.$ac_ext >&5
23905 ac_cv_cxx_const_cast=no
23908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23910 ac_cpp='$CPP $CPPFLAGS'
23911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23917 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23918 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23919 if test "$ac_cv_cxx_const_cast" = yes; then
23921 cat >>confdefs.h <<\_ACEOF
23922 #define HAVE_CONST_CAST
23927 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23928 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23929 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23930 echo $ECHO_N "(cached) $ECHO_C" >&6
23934 ac_cpp='$CXXCPP $CPPFLAGS'
23935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23939 cat >conftest.$ac_ext <<_ACEOF
23942 cat confdefs.h >>conftest.$ac_ext
23943 cat >>conftest.$ac_ext <<_ACEOF
23944 /* end confdefs.h. */
23945 #include <typeinfo>
23946 class Base { public : Base () {} virtual void f () = 0;};
23947 class Derived : public Base { public : Derived () {} virtual void f () {} };
23948 class Unrelated { public : Unrelated () {} };
23949 int g (Unrelated&) { return 0; }
23954 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23959 rm -f conftest.$ac_objext
23960 if { (ac_try="$ac_compile"
23961 case "(($ac_try" in
23962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23963 *) ac_try_echo=$ac_try;;
23965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23966 (eval "$ac_compile") 2>conftest.er1
23968 grep -v '^ *+' conftest.er1 >conftest.err
23970 cat conftest.err >&5
23971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972 (exit $ac_status); } && {
23973 test -z "$ac_cxx_werror_flag" ||
23974 test ! -s conftest.err
23975 } && test -s conftest.$ac_objext; then
23976 ac_cv_cxx_reinterpret_cast=yes
23978 echo "$as_me: failed program was:" >&5
23979 sed 's/^/| /' conftest.$ac_ext >&5
23981 ac_cv_cxx_reinterpret_cast=no
23984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23986 ac_cpp='$CPP $CPPFLAGS'
23987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23993 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23994 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23995 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23997 cat >>confdefs.h <<\_ACEOF
23998 #define HAVE_REINTERPRET_CAST
24003 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24004 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24005 if test "${ac_cv_cxx_static_cast+set}" = set; then
24006 echo $ECHO_N "(cached) $ECHO_C" >&6
24010 ac_cpp='$CXXCPP $CPPFLAGS'
24011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24015 cat >conftest.$ac_ext <<_ACEOF
24018 cat confdefs.h >>conftest.$ac_ext
24019 cat >>conftest.$ac_ext <<_ACEOF
24020 /* end confdefs.h. */
24021 #include <typeinfo>
24022 class Base { public : Base () {} virtual void f () = 0; };
24023 class Derived : public Base { public : Derived () {} virtual void f () {} };
24024 int g (Derived&) { return 0; }
24029 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24034 rm -f conftest.$ac_objext
24035 if { (ac_try="$ac_compile"
24036 case "(($ac_try" in
24037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24038 *) ac_try_echo=$ac_try;;
24040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24041 (eval "$ac_compile") 2>conftest.er1
24043 grep -v '^ *+' conftest.er1 >conftest.err
24045 cat conftest.err >&5
24046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24047 (exit $ac_status); } && {
24048 test -z "$ac_cxx_werror_flag" ||
24049 test ! -s conftest.err
24050 } && test -s conftest.$ac_objext; then
24051 ac_cv_cxx_static_cast=yes
24053 echo "$as_me: failed program was:" >&5
24054 sed 's/^/| /' conftest.$ac_ext >&5
24056 ac_cv_cxx_static_cast=no
24059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24061 ac_cpp='$CPP $CPPFLAGS'
24062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24068 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24069 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24070 if test "$ac_cv_cxx_static_cast" = yes; then
24072 cat >>confdefs.h <<\_ACEOF
24073 #define HAVE_STATIC_CAST
24079 if test "x$SUNCXX" = xyes; then
24080 CXXFLAGS="-features=tmplife $CXXFLAGS"
24083 if test "x$SUNCC" = xyes; then
24084 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24087 if test "x$SGICC" = "xyes"; then
24088 CFLAGS="-woff 3970 $CFLAGS"
24090 if test "x$SGICXX" = "xyes"; then
24091 CXXFLAGS="-woff 3970 $CXXFLAGS"
24094 if test "x$HPCC" = "xyes"; then
24095 CFLAGS="+W 2011,2450 $CFLAGS"
24097 if test "x$HPCXX" = "xyes"; then
24098 CXXFLAGS="+W 2340 $CXXFLAGS"
24101 if test "x$COMPAQCXX" = "xyes"; then
24102 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24106 ac_cpp='$CXXCPP $CPPFLAGS'
24107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24112 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24113 if test "$wxUSE_UNICODE" = "yes"; then
24114 std_string="std::wstring"
24115 char_type="wchar_t"
24117 std_string="std::string"
24121 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24122 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24123 if test "${wx_cv_class_stdstring+set}" = set; then
24124 echo $ECHO_N "(cached) $ECHO_C" >&6
24127 cat >conftest.$ac_ext <<_ACEOF
24130 cat confdefs.h >>conftest.$ac_ext
24131 cat >>conftest.$ac_ext <<_ACEOF
24132 /* end confdefs.h. */
24142 rm -f conftest.$ac_objext
24143 if { (ac_try="$ac_compile"
24144 case "(($ac_try" in
24145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24146 *) ac_try_echo=$ac_try;;
24148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24149 (eval "$ac_compile") 2>conftest.er1
24151 grep -v '^ *+' conftest.er1 >conftest.err
24153 cat conftest.err >&5
24154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155 (exit $ac_status); } && {
24156 test -z "$ac_cxx_werror_flag" ||
24157 test ! -s conftest.err
24158 } && test -s conftest.$ac_objext; then
24159 wx_cv_class_stdstring=yes
24161 echo "$as_me: failed program was:" >&5
24162 sed 's/^/| /' conftest.$ac_ext >&5
24164 wx_cv_class_stdstring=no
24168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24172 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24173 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24175 if test "$wx_cv_class_stdstring" = yes; then
24176 if test "$wxUSE_UNICODE" = "yes"; then
24177 cat >>confdefs.h <<\_ACEOF
24178 #define HAVE_STD_WSTRING 1
24183 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24184 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24185 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24186 echo $ECHO_N "(cached) $ECHO_C" >&6
24189 cat >conftest.$ac_ext <<_ACEOF
24192 cat confdefs.h >>conftest.$ac_ext
24193 cat >>conftest.$ac_ext <<_ACEOF
24194 /* end confdefs.h. */
24196 #ifdef HAVE_WCHAR_H
24198 # include <stddef.h>
24200 # include <wchar.h>
24202 #ifdef HAVE_STDLIB_H
24203 # include <stdlib.h>
24211 std::basic_string<$char_type> foo;
24212 const $char_type* dummy = foo.c_str();
24217 rm -f conftest.$ac_objext
24218 if { (ac_try="$ac_compile"
24219 case "(($ac_try" in
24220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24221 *) ac_try_echo=$ac_try;;
24223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24224 (eval "$ac_compile") 2>conftest.er1
24226 grep -v '^ *+' conftest.er1 >conftest.err
24228 cat conftest.err >&5
24229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24230 (exit $ac_status); } && {
24231 test -z "$ac_cxx_werror_flag" ||
24232 test ! -s conftest.err
24233 } && test -s conftest.$ac_objext; then
24234 wx_cv_class_stdbasicstring=yes
24236 echo "$as_me: failed program was:" >&5
24237 sed 's/^/| /' conftest.$ac_ext >&5
24239 wx_cv_class_stdbasicstring=no
24243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24247 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24248 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24250 if test "$wx_cv_class_stdbasicstring" != yes; then
24251 if test "$wxUSE_STL" = "yes"; then
24252 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24253 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24254 { (exit 1); exit 1; }; }
24255 elif test "$wxUSE_STD_STRING" = "yes"; then
24256 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24257 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24258 { (exit 1); exit 1; }; }
24260 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24261 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24262 wxUSE_STD_STRING=no
24268 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24269 { echo "$as_me:$LINENO: checking for std::istream" >&5
24270 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24271 if test "${ac_cv_type_std__istream+set}" = set; then
24272 echo $ECHO_N "(cached) $ECHO_C" >&6
24274 cat >conftest.$ac_ext <<_ACEOF
24277 cat confdefs.h >>conftest.$ac_ext
24278 cat >>conftest.$ac_ext <<_ACEOF
24279 /* end confdefs.h. */
24280 #include <iostream>
24282 typedef std::istream ac__type_new_;
24286 if ((ac__type_new_ *) 0)
24288 if (sizeof (ac__type_new_))
24294 rm -f conftest.$ac_objext
24295 if { (ac_try="$ac_compile"
24296 case "(($ac_try" in
24297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24298 *) ac_try_echo=$ac_try;;
24300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24301 (eval "$ac_compile") 2>conftest.er1
24303 grep -v '^ *+' conftest.er1 >conftest.err
24305 cat conftest.err >&5
24306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24307 (exit $ac_status); } && {
24308 test -z "$ac_cxx_werror_flag" ||
24309 test ! -s conftest.err
24310 } && test -s conftest.$ac_objext; then
24311 ac_cv_type_std__istream=yes
24313 echo "$as_me: failed program was:" >&5
24314 sed 's/^/| /' conftest.$ac_ext >&5
24316 ac_cv_type_std__istream=no
24319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24321 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24322 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24323 if test $ac_cv_type_std__istream = yes; then
24325 cat >>confdefs.h <<_ACEOF
24326 #define HAVE_STD__ISTREAM 1
24331 wxUSE_STD_IOSTREAM=no
24333 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24334 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24335 if test "${ac_cv_type_std__ostream+set}" = set; then
24336 echo $ECHO_N "(cached) $ECHO_C" >&6
24338 cat >conftest.$ac_ext <<_ACEOF
24341 cat confdefs.h >>conftest.$ac_ext
24342 cat >>conftest.$ac_ext <<_ACEOF
24343 /* end confdefs.h. */
24344 #include <iostream>
24346 typedef std::ostream ac__type_new_;
24350 if ((ac__type_new_ *) 0)
24352 if (sizeof (ac__type_new_))
24358 rm -f conftest.$ac_objext
24359 if { (ac_try="$ac_compile"
24360 case "(($ac_try" in
24361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24362 *) ac_try_echo=$ac_try;;
24364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24365 (eval "$ac_compile") 2>conftest.er1
24367 grep -v '^ *+' conftest.er1 >conftest.err
24369 cat conftest.err >&5
24370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24371 (exit $ac_status); } && {
24372 test -z "$ac_cxx_werror_flag" ||
24373 test ! -s conftest.err
24374 } && test -s conftest.$ac_objext; then
24375 ac_cv_type_std__ostream=yes
24377 echo "$as_me: failed program was:" >&5
24378 sed 's/^/| /' conftest.$ac_ext >&5
24380 ac_cv_type_std__ostream=no
24383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24385 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24386 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24387 if test $ac_cv_type_std__ostream = yes; then
24389 cat >>confdefs.h <<_ACEOF
24390 #define HAVE_STD__OSTREAM 1
24395 wxUSE_STD_IOSTREAM=no
24399 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24400 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24401 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24402 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24403 { (exit 1); exit 1; }; }
24405 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24406 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24411 if test "$wxUSE_STL" = "yes"; then
24412 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24413 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24414 if test "${wx_cv_lib_stl+set}" = set; then
24415 echo $ECHO_N "(cached) $ECHO_C" >&6
24417 cat >conftest.$ac_ext <<_ACEOF
24420 cat confdefs.h >>conftest.$ac_ext
24421 cat >>conftest.$ac_ext <<_ACEOF
24422 /* end confdefs.h. */
24424 #include <functional>
24425 #include <algorithm>
24431 std::vector<int> moo;
24432 std::list<int> foo;
24433 std::vector<int>::iterator it =
24434 std::find_if(moo.begin(), moo.end(),
24435 std::bind2nd(std::less<int>(), 3));
24440 rm -f conftest.$ac_objext
24441 if { (ac_try="$ac_compile"
24442 case "(($ac_try" in
24443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24444 *) ac_try_echo=$ac_try;;
24446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24447 (eval "$ac_compile") 2>conftest.er1
24449 grep -v '^ *+' conftest.er1 >conftest.err
24451 cat conftest.err >&5
24452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24453 (exit $ac_status); } && {
24454 test -z "$ac_cxx_werror_flag" ||
24455 test ! -s conftest.err
24456 } && test -s conftest.$ac_objext; then
24459 echo "$as_me: failed program was:" >&5
24460 sed 's/^/| /' conftest.$ac_ext >&5
24466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24469 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24470 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24472 if test "$wx_cv_lib_stl" != yes; then
24473 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24474 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24475 { (exit 1); exit 1; }; }
24478 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24479 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24480 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24481 echo $ECHO_N "(cached) $ECHO_C" >&6
24483 cat >conftest.$ac_ext <<_ACEOF
24486 cat confdefs.h >>conftest.$ac_ext
24487 cat >>conftest.$ac_ext <<_ACEOF
24488 /* end confdefs.h. */
24493 std::string foo, bar;
24495 foo.compare(1, 1, bar);
24496 foo.compare(1, 1, bar, 1, 1);
24498 foo.compare(1, 1, "");
24499 foo.compare(1, 1, "", 2);
24504 rm -f conftest.$ac_objext
24505 if { (ac_try="$ac_compile"
24506 case "(($ac_try" in
24507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24508 *) ac_try_echo=$ac_try;;
24510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24511 (eval "$ac_compile") 2>conftest.er1
24513 grep -v '^ *+' conftest.er1 >conftest.err
24515 cat conftest.err >&5
24516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24517 (exit $ac_status); } && {
24518 test -z "$ac_cxx_werror_flag" ||
24519 test ! -s conftest.err
24520 } && test -s conftest.$ac_objext; then
24521 wx_cv_func_stdstring_compare=yes
24523 echo "$as_me: failed program was:" >&5
24524 sed 's/^/| /' conftest.$ac_ext >&5
24526 wx_cv_func_stdstring_compare=no
24530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24533 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24534 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24536 if test "$wx_cv_func_stdstring_compare" = yes; then
24537 cat >>confdefs.h <<\_ACEOF
24538 #define HAVE_STD_STRING_COMPARE 1
24543 { echo "$as_me:$LINENO: checking for hash_map" >&5
24544 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24545 if test "${ac_cv_header_hash_map+set}" = set; then
24546 echo $ECHO_N "(cached) $ECHO_C" >&6
24548 cat >conftest.$ac_ext <<_ACEOF
24551 cat confdefs.h >>conftest.$ac_ext
24552 cat >>conftest.$ac_ext <<_ACEOF
24553 /* end confdefs.h. */
24557 #include <hash_map>
24559 rm -f conftest.$ac_objext
24560 if { (ac_try="$ac_compile"
24561 case "(($ac_try" in
24562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24563 *) ac_try_echo=$ac_try;;
24565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24566 (eval "$ac_compile") 2>conftest.er1
24568 grep -v '^ *+' conftest.er1 >conftest.err
24570 cat conftest.err >&5
24571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24572 (exit $ac_status); } && {
24573 test -z "$ac_cxx_werror_flag" ||
24574 test ! -s conftest.err
24575 } && test -s conftest.$ac_objext; then
24576 ac_cv_header_hash_map=yes
24578 echo "$as_me: failed program was:" >&5
24579 sed 's/^/| /' conftest.$ac_ext >&5
24581 ac_cv_header_hash_map=no
24584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24586 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24587 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24588 if test $ac_cv_header_hash_map = yes; then
24589 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24590 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24591 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24592 echo $ECHO_N "(cached) $ECHO_C" >&6
24594 cat >conftest.$ac_ext <<_ACEOF
24597 cat confdefs.h >>conftest.$ac_ext
24598 cat >>conftest.$ac_ext <<_ACEOF
24599 /* end confdefs.h. */
24600 #include <hash_map>
24601 #include <hash_set>
24605 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24606 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24611 rm -f conftest.$ac_objext
24612 if { (ac_try="$ac_compile"
24613 case "(($ac_try" in
24614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24615 *) ac_try_echo=$ac_try;;
24617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24618 (eval "$ac_compile") 2>conftest.er1
24620 grep -v '^ *+' conftest.er1 >conftest.err
24622 cat conftest.err >&5
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); } && {
24625 test -z "$ac_cxx_werror_flag" ||
24626 test ! -s conftest.err
24627 } && test -s conftest.$ac_objext; then
24628 wx_cv_class_stdhashmapset=yes
24630 echo "$as_me: failed program was:" >&5
24631 sed 's/^/| /' conftest.$ac_ext >&5
24633 wx_cv_class_stdhashmapset=no
24636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24640 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24641 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24646 if test "$wx_cv_class_stdhashmapset" = yes; then
24647 cat >>confdefs.h <<\_ACEOF
24648 #define HAVE_HASH_MAP 1
24651 cat >>confdefs.h <<\_ACEOF
24652 #define HAVE_STD_HASH_MAP 1
24657 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24658 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24659 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24660 echo $ECHO_N "(cached) $ECHO_C" >&6
24662 cat >conftest.$ac_ext <<_ACEOF
24665 cat confdefs.h >>conftest.$ac_ext
24666 cat >>conftest.$ac_ext <<_ACEOF
24667 /* end confdefs.h. */
24671 #include <ext/hash_map>
24673 rm -f conftest.$ac_objext
24674 if { (ac_try="$ac_compile"
24675 case "(($ac_try" in
24676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24677 *) ac_try_echo=$ac_try;;
24679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24680 (eval "$ac_compile") 2>conftest.er1
24682 grep -v '^ *+' conftest.er1 >conftest.err
24684 cat conftest.err >&5
24685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686 (exit $ac_status); } && {
24687 test -z "$ac_cxx_werror_flag" ||
24688 test ! -s conftest.err
24689 } && test -s conftest.$ac_objext; then
24690 ac_cv_header_ext_hash_map=yes
24692 echo "$as_me: failed program was:" >&5
24693 sed 's/^/| /' conftest.$ac_ext >&5
24695 ac_cv_header_ext_hash_map=no
24698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24700 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24701 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24702 if test $ac_cv_header_ext_hash_map = yes; then
24703 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24704 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24705 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24706 echo $ECHO_N "(cached) $ECHO_C" >&6
24708 cat >conftest.$ac_ext <<_ACEOF
24711 cat confdefs.h >>conftest.$ac_ext
24712 cat >>conftest.$ac_ext <<_ACEOF
24713 /* end confdefs.h. */
24714 #include <ext/hash_map>
24715 #include <ext/hash_set>
24719 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24720 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24725 rm -f conftest.$ac_objext
24726 if { (ac_try="$ac_compile"
24727 case "(($ac_try" in
24728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24729 *) ac_try_echo=$ac_try;;
24731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24732 (eval "$ac_compile") 2>conftest.er1
24734 grep -v '^ *+' conftest.er1 >conftest.err
24736 cat conftest.err >&5
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); } && {
24739 test -z "$ac_cxx_werror_flag" ||
24740 test ! -s conftest.err
24741 } && test -s conftest.$ac_objext; then
24742 wx_cv_class_gnuhashmapset=yes
24744 echo "$as_me: failed program was:" >&5
24745 sed 's/^/| /' conftest.$ac_ext >&5
24747 wx_cv_class_gnuhashmapset=no
24750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24754 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24755 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24760 if test "$wx_cv_class_gnuhashmapset" = yes; then
24761 cat >>confdefs.h <<\_ACEOF
24762 #define HAVE_EXT_HASH_MAP 1
24765 cat >>confdefs.h <<\_ACEOF
24766 #define HAVE_GNU_CXX_HASH_MAP 1
24774 if test -n "$GCC"; then
24775 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
24776 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
24777 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24778 echo $ECHO_N "(cached) $ECHO_C" >&6
24781 cat >conftest.$ac_ext <<_ACEOF
24784 cat confdefs.h >>conftest.$ac_ext
24785 cat >>conftest.$ac_ext <<_ACEOF
24786 /* end confdefs.h. */
24792 unsigned int value=0;
24793 __sync_fetch_and_add(&value, 1);
24794 __sync_sub_and_fetch(&value, 1);
24800 rm -f conftest.$ac_objext conftest$ac_exeext
24801 if { (ac_try="$ac_link"
24802 case "(($ac_try" in
24803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24804 *) ac_try_echo=$ac_try;;
24806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24807 (eval "$ac_link") 2>conftest.er1
24809 grep -v '^ *+' conftest.er1 >conftest.err
24811 cat conftest.err >&5
24812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24813 (exit $ac_status); } && {
24814 test -z "$ac_cxx_werror_flag" ||
24815 test ! -s conftest.err
24816 } && test -s conftest$ac_exeext &&
24817 $as_test_x conftest$ac_exeext; then
24818 wx_cv_cc_gcc_atomic_builtins=yes
24820 echo "$as_me: failed program was:" >&5
24821 sed 's/^/| /' conftest.$ac_ext >&5
24823 wx_cv_cc_gcc_atomic_builtins=no
24826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24827 conftest$ac_exeext conftest.$ac_ext
24831 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24832 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24833 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24834 cat >>confdefs.h <<\_ACEOF
24835 #define HAVE_GCC_ATOMIC_BUILTINS 1
24843 ac_cpp='$CPP $CPPFLAGS'
24844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24851 /usr/local/include \
24853 /usr/Motif-2.1/include \
24854 /usr/Motif-1.2/include \
24855 /usr/include/Motif1.2 \
24858 /usr/openwin/include \
24862 /usr/X11R6/include \
24863 /usr/X11R6.4/include \
24864 /usr/X11R5/include \
24865 /usr/X11R4/include \
24867 /usr/include/X11R6 \
24868 /usr/include/X11R5 \
24869 /usr/include/X11R4 \
24871 /usr/local/X11R6/include \
24872 /usr/local/X11R5/include \
24873 /usr/local/X11R4/include \
24875 /usr/local/include/X11R6 \
24876 /usr/local/include/X11R5 \
24877 /usr/local/include/X11R4 \
24881 /usr/local/X11/include \
24882 /usr/local/include/X11 \
24884 /usr/XFree86/include/X11 \
24887 /usr/openwin/share/include"
24889 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24890 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24894 if test "${wx_cv_std_libpath+set}" = set; then
24895 echo $ECHO_N "(cached) $ECHO_C" >&6
24898 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24899 for e in a so sl dylib dll.a; do
24901 if test -f $libc; then
24904 cat >conftest.$ac_ext <<_ACEOF
24905 int main() { return 0; }
24907 rm -f conftest.$ac_objext conftest$ac_exeext
24908 if { (ac_try="$ac_link"
24909 case "(($ac_try" in
24910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24911 *) ac_try_echo=$ac_try;;
24913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24914 (eval "$ac_link") 2>conftest.er1
24916 grep -v '^ *+' conftest.er1 >conftest.err
24918 cat conftest.err >&5
24919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24920 (exit $ac_status); } && {
24921 test -z "$ac_c_werror_flag" ||
24922 test ! -s conftest.err
24923 } && test -s conftest$ac_exeext &&
24924 $as_test_x conftest$ac_exeext; then
24925 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24927 echo "$as_me: failed program was:" >&5
24928 sed 's/^/| /' conftest.$ac_ext >&5
24933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24934 conftest$ac_exeext conftest.$ac_ext
24936 if test "x$wx_cv_std_libpath" != "x"; then
24942 if test "x$wx_cv_std_libpath" = "x"; then
24943 wx_cv_std_libpath="lib"
24952 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24953 wx_cv_std_libpath="lib/64"
24955 wx_cv_std_libpath="lib"
24960 if test "$ac_cv_sizeof_void_p" = 8 -a \
24961 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24962 wx_cv_std_libpath="lib64"
24964 wx_cv_std_libpath="lib"
24969 wx_cv_std_libpath="lib";
24973 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24974 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24976 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24978 if test "$build" != "$host" -a "$GCC" = yes; then
24979 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24980 cross_root=`dirname $cross_root`
24981 cross_root=`dirname $cross_root`
24983 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24984 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24985 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24987 if test -z "$PKG_CONFIG_PATH"; then
24988 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24989 export PKG_CONFIG_PATH
24992 if test -z "$x_includes" -o "$x_includes" = NONE; then
24995 for ac_dir in $SEARCH_INCLUDE /usr/include;
24997 if test -f "$ac_dir/X11/Intrinsic.h"; then
24998 ac_find_includes=$ac_dir
25003 x_includes=$ac_find_includes
25005 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25008 for ac_dir in $SEARCH_LIB;
25010 for ac_extension in a so sl dylib dll.a; do
25011 if test -f "$ac_dir/libXt.$ac_extension"; then
25012 ac_find_libraries=$ac_dir
25018 x_libraries=$ac_find_libraries
25024 cat >confcache <<\_ACEOF
25025 # This file is a shell script that caches the results of configure
25026 # tests run on this system so they can be shared between configure
25027 # scripts and configure runs, see configure's option --config-cache.
25028 # It is not useful on other systems. If it contains results you don't
25029 # want to keep, you may remove or edit it.
25031 # config.status only pays attention to the cache file if you give it
25032 # the --recheck option to rerun configure.
25034 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25035 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25036 # following values.
25040 # The following way of writing the cache mishandles newlines in values,
25041 # but we know of no workaround that is simple, portable, and efficient.
25042 # So, we kill variables containing newlines.
25043 # Ultrix sh set writes to stderr and can't be redirected directly,
25044 # and sets the high bit in the cache file unless we assign to the vars.
25046 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25047 eval ac_val=\$$ac_var
25051 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25052 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25055 _ | IFS | as_nl) ;; #(
25056 *) $as_unset $ac_var ;;
25062 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25063 *${as_nl}ac_space=\ *)
25064 # `set' does not quote correctly, so add quotes (double-quote
25065 # substitution turns \\\\ into \\, and sed turns \\ into \).
25068 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25071 # `set' quotes correctly as required by POSIX, so do not add quotes.
25072 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25081 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25083 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25085 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25086 if test -w "$cache_file"; then
25087 test "x$cache_file" != "x/dev/null" &&
25088 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25089 echo "$as_me: updating cache $cache_file" >&6;}
25090 cat confcache >$cache_file
25092 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25093 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25098 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25099 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25100 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25101 if test "${wx_cv_lib_glibc21+set}" = set; then
25102 echo $ECHO_N "(cached) $ECHO_C" >&6
25105 cat >conftest.$ac_ext <<_ACEOF
25108 cat confdefs.h >>conftest.$ac_ext
25109 cat >>conftest.$ac_ext <<_ACEOF
25110 /* end confdefs.h. */
25111 #include <features.h>
25116 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25124 rm -f conftest.$ac_objext
25125 if { (ac_try="$ac_compile"
25126 case "(($ac_try" in
25127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25128 *) ac_try_echo=$ac_try;;
25130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25131 (eval "$ac_compile") 2>conftest.er1
25133 grep -v '^ *+' conftest.er1 >conftest.err
25135 cat conftest.err >&5
25136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25137 (exit $ac_status); } && {
25138 test -z "$ac_c_werror_flag" ||
25139 test ! -s conftest.err
25140 } && test -s conftest.$ac_objext; then
25142 wx_cv_lib_glibc21=yes
25145 echo "$as_me: failed program was:" >&5
25146 sed 's/^/| /' conftest.$ac_ext >&5
25149 wx_cv_lib_glibc21=no
25154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25157 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25158 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25159 if test "$wx_cv_lib_glibc21" = "yes"; then
25160 cat >>confdefs.h <<\_ACEOF
25161 #define wxHAVE_GLIBC2 1
25167 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25168 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25169 cat >>confdefs.h <<\_ACEOF
25170 #define _GNU_SOURCE 1
25181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25182 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25184 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25185 echo $ECHO_N "(cached) $ECHO_C" >&6
25187 cat >conftest.$ac_ext <<_ACEOF
25190 cat confdefs.h >>conftest.$ac_ext
25191 cat >>conftest.$ac_ext <<_ACEOF
25192 /* end confdefs.h. */
25193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25195 #define $ac_func innocuous_$ac_func
25197 /* System header to define __stub macros and hopefully few prototypes,
25198 which can conflict with char $ac_func (); below.
25199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25200 <limits.h> exists even on freestanding compilers. */
25203 # include <limits.h>
25205 # include <assert.h>
25210 /* Override any GCC internal prototype to avoid an error.
25211 Use char because int might match the return type of a GCC
25212 builtin and then its argument prototype would still apply. */
25217 /* The GNU C library defines this for functions which it implements
25218 to always fail with ENOSYS. Some functions are actually named
25219 something starting with __ and the normal name is an alias. */
25220 #if defined __stub_$ac_func || defined __stub___$ac_func
25227 return $ac_func ();
25232 rm -f conftest.$ac_objext conftest$ac_exeext
25233 if { (ac_try="$ac_link"
25234 case "(($ac_try" in
25235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25236 *) ac_try_echo=$ac_try;;
25238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25239 (eval "$ac_link") 2>conftest.er1
25241 grep -v '^ *+' conftest.er1 >conftest.err
25243 cat conftest.err >&5
25244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25245 (exit $ac_status); } && {
25246 test -z "$ac_c_werror_flag" ||
25247 test ! -s conftest.err
25248 } && test -s conftest$ac_exeext &&
25249 $as_test_x conftest$ac_exeext; then
25250 eval "$as_ac_var=yes"
25252 echo "$as_me: failed program was:" >&5
25253 sed 's/^/| /' conftest.$ac_ext >&5
25255 eval "$as_ac_var=no"
25258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25259 conftest$ac_exeext conftest.$ac_ext
25261 ac_res=`eval echo '${'$as_ac_var'}'`
25262 { echo "$as_me:$LINENO: result: $ac_res" >&5
25263 echo "${ECHO_T}$ac_res" >&6; }
25264 if test `eval echo '${'$as_ac_var'}'` = yes; then
25265 cat >>confdefs.h <<_ACEOF
25266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25273 for ac_func in floor
25275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25276 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25278 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25279 echo $ECHO_N "(cached) $ECHO_C" >&6
25281 cat >conftest.$ac_ext <<_ACEOF
25284 cat confdefs.h >>conftest.$ac_ext
25285 cat >>conftest.$ac_ext <<_ACEOF
25286 /* end confdefs.h. */
25287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25289 #define $ac_func innocuous_$ac_func
25291 /* System header to define __stub macros and hopefully few prototypes,
25292 which can conflict with char $ac_func (); below.
25293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25294 <limits.h> exists even on freestanding compilers. */
25297 # include <limits.h>
25299 # include <assert.h>
25304 /* Override any GCC internal prototype to avoid an error.
25305 Use char because int might match the return type of a GCC
25306 builtin and then its argument prototype would still apply. */
25311 /* The GNU C library defines this for functions which it implements
25312 to always fail with ENOSYS. Some functions are actually named
25313 something starting with __ and the normal name is an alias. */
25314 #if defined __stub_$ac_func || defined __stub___$ac_func
25321 return $ac_func ();
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_c_werror_flag" ||
25341 test ! -s conftest.err
25342 } && test -s conftest$ac_exeext &&
25343 $as_test_x conftest$ac_exeext; then
25344 eval "$as_ac_var=yes"
25346 echo "$as_me: failed program was:" >&5
25347 sed 's/^/| /' conftest.$ac_ext >&5
25349 eval "$as_ac_var=no"
25352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25353 conftest$ac_exeext conftest.$ac_ext
25355 ac_res=`eval echo '${'$as_ac_var'}'`
25356 { echo "$as_me:$LINENO: result: $ac_res" >&5
25357 echo "${ECHO_T}$ac_res" >&6; }
25358 if test `eval echo '${'$as_ac_var'}'` = yes; then
25359 cat >>confdefs.h <<_ACEOF
25360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25366 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25367 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25368 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25369 { echo "$as_me:$LINENO: result: yes" >&5
25370 echo "${ECHO_T}yes" >&6; }
25372 { echo "$as_me:$LINENO: result: no" >&5
25373 echo "${ECHO_T}no" >&6; }
25375 # use different functions to avoid configure caching
25381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25382 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25384 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25385 echo $ECHO_N "(cached) $ECHO_C" >&6
25387 cat >conftest.$ac_ext <<_ACEOF
25390 cat confdefs.h >>conftest.$ac_ext
25391 cat >>conftest.$ac_ext <<_ACEOF
25392 /* end confdefs.h. */
25393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25395 #define $ac_func innocuous_$ac_func
25397 /* System header to define __stub macros and hopefully few prototypes,
25398 which can conflict with char $ac_func (); below.
25399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25400 <limits.h> exists even on freestanding compilers. */
25403 # include <limits.h>
25405 # include <assert.h>
25410 /* Override any GCC internal prototype to avoid an error.
25411 Use char because int might match the return type of a GCC
25412 builtin and then its argument prototype would still apply. */
25417 /* The GNU C library defines this for functions which it implements
25418 to always fail with ENOSYS. Some functions are actually named
25419 something starting with __ and the normal name is an alias. */
25420 #if defined __stub_$ac_func || defined __stub___$ac_func
25427 return $ac_func ();
25432 rm -f conftest.$ac_objext conftest$ac_exeext
25433 if { (ac_try="$ac_link"
25434 case "(($ac_try" in
25435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25436 *) ac_try_echo=$ac_try;;
25438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25439 (eval "$ac_link") 2>conftest.er1
25441 grep -v '^ *+' conftest.er1 >conftest.err
25443 cat conftest.err >&5
25444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25445 (exit $ac_status); } && {
25446 test -z "$ac_c_werror_flag" ||
25447 test ! -s conftest.err
25448 } && test -s conftest$ac_exeext &&
25449 $as_test_x conftest$ac_exeext; then
25450 eval "$as_ac_var=yes"
25452 echo "$as_me: failed program was:" >&5
25453 sed 's/^/| /' conftest.$ac_ext >&5
25455 eval "$as_ac_var=no"
25458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25459 conftest$ac_exeext conftest.$ac_ext
25461 ac_res=`eval echo '${'$as_ac_var'}'`
25462 { echo "$as_me:$LINENO: result: $ac_res" >&5
25463 echo "${ECHO_T}$ac_res" >&6; }
25464 if test `eval echo '${'$as_ac_var'}'` = yes; then
25465 cat >>confdefs.h <<_ACEOF
25466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25473 for ac_func in ceil
25475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25476 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25478 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25479 echo $ECHO_N "(cached) $ECHO_C" >&6
25481 cat >conftest.$ac_ext <<_ACEOF
25484 cat confdefs.h >>conftest.$ac_ext
25485 cat >>conftest.$ac_ext <<_ACEOF
25486 /* end confdefs.h. */
25487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25489 #define $ac_func innocuous_$ac_func
25491 /* System header to define __stub macros and hopefully few prototypes,
25492 which can conflict with char $ac_func (); below.
25493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25494 <limits.h> exists even on freestanding compilers. */
25497 # include <limits.h>
25499 # include <assert.h>
25504 /* Override any GCC internal prototype to avoid an error.
25505 Use char because int might match the return type of a GCC
25506 builtin and then its argument prototype would still apply. */
25511 /* The GNU C library defines this for functions which it implements
25512 to always fail with ENOSYS. Some functions are actually named
25513 something starting with __ and the normal name is an alias. */
25514 #if defined __stub_$ac_func || defined __stub___$ac_func
25521 return $ac_func ();
25526 rm -f conftest.$ac_objext conftest$ac_exeext
25527 if { (ac_try="$ac_link"
25528 case "(($ac_try" in
25529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25530 *) ac_try_echo=$ac_try;;
25532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25533 (eval "$ac_link") 2>conftest.er1
25535 grep -v '^ *+' conftest.er1 >conftest.err
25537 cat conftest.err >&5
25538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25539 (exit $ac_status); } && {
25540 test -z "$ac_c_werror_flag" ||
25541 test ! -s conftest.err
25542 } && test -s conftest$ac_exeext &&
25543 $as_test_x conftest$ac_exeext; then
25544 eval "$as_ac_var=yes"
25546 echo "$as_me: failed program was:" >&5
25547 sed 's/^/| /' conftest.$ac_ext >&5
25549 eval "$as_ac_var=no"
25552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25553 conftest$ac_exeext conftest.$ac_ext
25555 ac_res=`eval echo '${'$as_ac_var'}'`
25556 { echo "$as_me:$LINENO: result: $ac_res" >&5
25557 echo "${ECHO_T}$ac_res" >&6; }
25558 if test `eval echo '${'$as_ac_var'}'` = yes; then
25559 cat >>confdefs.h <<_ACEOF
25560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25566 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25567 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25568 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25569 { echo "$as_me:$LINENO: result: yes" >&5
25570 echo "${ECHO_T}yes" >&6; }
25572 { echo "$as_me:$LINENO: result: no" >&5
25573 echo "${ECHO_T}no" >&6; }
25574 # not sure we should warn the user, crash, etc.
25579 ac_cpp='$CXXCPP $CPPFLAGS'
25580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25584 if test "wxUSE_UNICODE" = "yes"; then
25586 for wx_func in wcstoull
25588 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25589 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25590 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25591 echo $ECHO_N "(cached) $ECHO_C" >&6
25594 cat >conftest.$ac_ext <<_ACEOF
25598 cat confdefs.h >>conftest.$ac_ext
25599 cat >>conftest.$ac_ext <<_ACEOF
25600 /* end confdefs.h. */
25603 $ac_includes_default
25619 rm -f conftest.$ac_objext conftest$ac_exeext
25620 if { (ac_try="$ac_link"
25621 case "(($ac_try" in
25622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25623 *) ac_try_echo=$ac_try;;
25625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25626 (eval "$ac_link") 2>conftest.er1
25628 grep -v '^ *+' conftest.er1 >conftest.err
25630 cat conftest.err >&5
25631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25632 (exit $ac_status); } && {
25633 test -z "$ac_cxx_werror_flag" ||
25634 test ! -s conftest.err
25635 } && test -s conftest$ac_exeext &&
25636 $as_test_x conftest$ac_exeext; then
25637 eval wx_cv_func_$wx_func=yes
25639 echo "$as_me: failed program was:" >&5
25640 sed 's/^/| /' conftest.$ac_ext >&5
25642 eval wx_cv_func_$wx_func=no
25645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25646 conftest$ac_exeext conftest.$ac_ext
25649 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25650 { echo "$as_me:$LINENO: result: $ac_res" >&5
25651 echo "${ECHO_T}$ac_res" >&6; }
25653 if eval test \$wx_cv_func_$wx_func = yes
25655 cat >>confdefs.h <<_ACEOF
25656 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25668 for wx_func in strtoull
25670 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25671 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25672 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25673 echo $ECHO_N "(cached) $ECHO_C" >&6
25676 cat >conftest.$ac_ext <<_ACEOF
25680 cat confdefs.h >>conftest.$ac_ext
25681 cat >>conftest.$ac_ext <<_ACEOF
25682 /* end confdefs.h. */
25685 $ac_includes_default
25701 rm -f conftest.$ac_objext conftest$ac_exeext
25702 if { (ac_try="$ac_link"
25703 case "(($ac_try" in
25704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25705 *) ac_try_echo=$ac_try;;
25707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25708 (eval "$ac_link") 2>conftest.er1
25710 grep -v '^ *+' conftest.er1 >conftest.err
25712 cat conftest.err >&5
25713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25714 (exit $ac_status); } && {
25715 test -z "$ac_cxx_werror_flag" ||
25716 test ! -s conftest.err
25717 } && test -s conftest$ac_exeext &&
25718 $as_test_x conftest$ac_exeext; then
25719 eval wx_cv_func_$wx_func=yes
25721 echo "$as_me: failed program was:" >&5
25722 sed 's/^/| /' conftest.$ac_ext >&5
25724 eval wx_cv_func_$wx_func=no
25727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25728 conftest$ac_exeext conftest.$ac_ext
25731 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25732 { echo "$as_me:$LINENO: result: $ac_res" >&5
25733 echo "${ECHO_T}$ac_res" >&6; }
25735 if eval test \$wx_cv_func_$wx_func = yes
25737 cat >>confdefs.h <<_ACEOF
25738 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
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 if test "$wxUSE_REGEX" != "no"; then
25759 cat >>confdefs.h <<\_ACEOF
25760 #define wxUSE_REGEX 1
25764 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25765 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25766 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25767 wxUSE_REGEX=builtin
25770 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25771 { echo "$as_me:$LINENO: checking for regex.h" >&5
25772 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25773 if test "${ac_cv_header_regex_h+set}" = set; then
25774 echo $ECHO_N "(cached) $ECHO_C" >&6
25776 cat >conftest.$ac_ext <<_ACEOF
25779 cat confdefs.h >>conftest.$ac_ext
25780 cat >>conftest.$ac_ext <<_ACEOF
25781 /* end confdefs.h. */
25786 rm -f conftest.$ac_objext
25787 if { (ac_try="$ac_compile"
25788 case "(($ac_try" in
25789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25790 *) ac_try_echo=$ac_try;;
25792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25793 (eval "$ac_compile") 2>conftest.er1
25795 grep -v '^ *+' conftest.er1 >conftest.err
25797 cat conftest.err >&5
25798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25799 (exit $ac_status); } && {
25800 test -z "$ac_c_werror_flag" ||
25801 test ! -s conftest.err
25802 } && test -s conftest.$ac_objext; then
25803 ac_cv_header_regex_h=yes
25805 echo "$as_me: failed program was:" >&5
25806 sed 's/^/| /' conftest.$ac_ext >&5
25808 ac_cv_header_regex_h=no
25811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25813 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25814 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25815 if test $ac_cv_header_regex_h = yes; then
25818 for ac_func in regcomp re_search
25820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25821 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25823 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25824 echo $ECHO_N "(cached) $ECHO_C" >&6
25826 cat >conftest.$ac_ext <<_ACEOF
25829 cat confdefs.h >>conftest.$ac_ext
25830 cat >>conftest.$ac_ext <<_ACEOF
25831 /* end confdefs.h. */
25832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25834 #define $ac_func innocuous_$ac_func
25836 /* System header to define __stub macros and hopefully few prototypes,
25837 which can conflict with char $ac_func (); below.
25838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25839 <limits.h> exists even on freestanding compilers. */
25842 # include <limits.h>
25844 # include <assert.h>
25849 /* Override any GCC internal prototype to avoid an error.
25850 Use char because int might match the return type of a GCC
25851 builtin and then its argument prototype would still apply. */
25856 /* The GNU C library defines this for functions which it implements
25857 to always fail with ENOSYS. Some functions are actually named
25858 something starting with __ and the normal name is an alias. */
25859 #if defined __stub_$ac_func || defined __stub___$ac_func
25866 return $ac_func ();
25871 rm -f conftest.$ac_objext conftest$ac_exeext
25872 if { (ac_try="$ac_link"
25873 case "(($ac_try" in
25874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25875 *) ac_try_echo=$ac_try;;
25877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25878 (eval "$ac_link") 2>conftest.er1
25880 grep -v '^ *+' conftest.er1 >conftest.err
25882 cat conftest.err >&5
25883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25884 (exit $ac_status); } && {
25885 test -z "$ac_c_werror_flag" ||
25886 test ! -s conftest.err
25887 } && test -s conftest$ac_exeext &&
25888 $as_test_x conftest$ac_exeext; then
25889 eval "$as_ac_var=yes"
25891 echo "$as_me: failed program was:" >&5
25892 sed 's/^/| /' conftest.$ac_ext >&5
25894 eval "$as_ac_var=no"
25897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25898 conftest$ac_exeext conftest.$ac_ext
25900 ac_res=`eval echo '${'$as_ac_var'}'`
25901 { echo "$as_me:$LINENO: result: $ac_res" >&5
25902 echo "${ECHO_T}$ac_res" >&6; }
25903 if test `eval echo '${'$as_ac_var'}'` = yes; then
25904 cat >>confdefs.h <<_ACEOF
25905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25915 if test "x$ac_cv_func_regcomp" != "xyes"; then
25916 if test "$wxUSE_REGEX" = "sys" ; then
25917 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25918 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25919 { (exit 1); exit 1; }; }
25921 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25922 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25923 wxUSE_REGEX=builtin
25927 cat >>confdefs.h <<\_ACEOF
25928 #define WX_NO_REGEX_ADVANCED 1
25937 if test "$wxUSE_ZLIB" != "no" ; then
25938 cat >>confdefs.h <<\_ACEOF
25939 #define wxUSE_ZLIB 1
25943 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25944 if test "$USE_DARWIN" = 1; then
25945 system_zlib_h_ok="yes"
25947 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25948 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25949 if test "${ac_cv_header_zlib_h+set}" = set; then
25950 echo $ECHO_N "(cached) $ECHO_C" >&6
25952 if test "$cross_compiling" = yes; then
25953 unset ac_cv_header_zlib_h
25956 cat >conftest.$ac_ext <<_ACEOF
25959 cat confdefs.h >>conftest.$ac_ext
25960 cat >>conftest.$ac_ext <<_ACEOF
25961 /* end confdefs.h. */
25968 FILE *f=fopen("conftestval", "w");
25971 ZLIB_VERSION[0] == '1' &&
25972 (ZLIB_VERSION[2] > '1' ||
25973 (ZLIB_VERSION[2] == '1' &&
25974 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25979 rm -f conftest$ac_exeext
25980 if { (ac_try="$ac_link"
25981 case "(($ac_try" in
25982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25983 *) ac_try_echo=$ac_try;;
25985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25986 (eval "$ac_link") 2>&5
25988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25989 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25990 { (case "(($ac_try" in
25991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25992 *) ac_try_echo=$ac_try;;
25994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25995 (eval "$ac_try") 2>&5
25997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25998 (exit $ac_status); }; }; then
25999 ac_cv_header_zlib_h=`cat conftestval`
26001 echo "$as_me: program exited with status $ac_status" >&5
26002 echo "$as_me: failed program was:" >&5
26003 sed 's/^/| /' conftest.$ac_ext >&5
26005 ( exit $ac_status )
26006 ac_cv_header_zlib_h=no
26008 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26014 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26015 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26016 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26017 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26018 if test "${ac_cv_header_zlib_h+set}" = set; then
26019 echo $ECHO_N "(cached) $ECHO_C" >&6
26021 cat >conftest.$ac_ext <<_ACEOF
26024 cat confdefs.h >>conftest.$ac_ext
26025 cat >>conftest.$ac_ext <<_ACEOF
26026 /* end confdefs.h. */
26031 rm -f conftest.$ac_objext
26032 if { (ac_try="$ac_compile"
26033 case "(($ac_try" in
26034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26035 *) ac_try_echo=$ac_try;;
26037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26038 (eval "$ac_compile") 2>conftest.er1
26040 grep -v '^ *+' conftest.er1 >conftest.err
26042 cat conftest.err >&5
26043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26044 (exit $ac_status); } && {
26045 test -z "$ac_c_werror_flag" ||
26046 test ! -s conftest.err
26047 } && test -s conftest.$ac_objext; then
26048 ac_cv_header_zlib_h=yes
26050 echo "$as_me: failed program was:" >&5
26051 sed 's/^/| /' conftest.$ac_ext >&5
26053 ac_cv_header_zlib_h=no
26056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26058 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26059 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26063 system_zlib_h_ok=$ac_cv_header_zlib_h
26066 if test "$system_zlib_h_ok" = "yes"; then
26067 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26068 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26069 if test "${ac_cv_lib_z_deflate+set}" = set; then
26070 echo $ECHO_N "(cached) $ECHO_C" >&6
26072 ac_check_lib_save_LIBS=$LIBS
26074 cat >conftest.$ac_ext <<_ACEOF
26077 cat confdefs.h >>conftest.$ac_ext
26078 cat >>conftest.$ac_ext <<_ACEOF
26079 /* end confdefs.h. */
26081 /* Override any GCC internal prototype to avoid an error.
26082 Use char because int might match the return type of a GCC
26083 builtin and then its argument prototype would still apply. */
26096 rm -f conftest.$ac_objext conftest$ac_exeext
26097 if { (ac_try="$ac_link"
26098 case "(($ac_try" in
26099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26100 *) ac_try_echo=$ac_try;;
26102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26103 (eval "$ac_link") 2>conftest.er1
26105 grep -v '^ *+' conftest.er1 >conftest.err
26107 cat conftest.err >&5
26108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109 (exit $ac_status); } && {
26110 test -z "$ac_c_werror_flag" ||
26111 test ! -s conftest.err
26112 } && test -s conftest$ac_exeext &&
26113 $as_test_x conftest$ac_exeext; then
26114 ac_cv_lib_z_deflate=yes
26116 echo "$as_me: failed program was:" >&5
26117 sed 's/^/| /' conftest.$ac_ext >&5
26119 ac_cv_lib_z_deflate=no
26122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26123 conftest$ac_exeext conftest.$ac_ext
26124 LIBS=$ac_check_lib_save_LIBS
26126 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26127 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26128 if test $ac_cv_lib_z_deflate = yes; then
26134 if test "x$ZLIB_LINK" = "x" ; then
26135 if test "$wxUSE_ZLIB" = "sys" ; then
26136 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26137 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26138 { (exit 1); exit 1; }; }
26140 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26141 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26152 if test "$wxUSE_LIBPNG" != "no" ; then
26153 cat >>confdefs.h <<\_ACEOF
26154 #define wxUSE_LIBPNG 1
26158 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26159 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26160 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26164 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26165 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26166 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26167 wxUSE_LIBPNG=builtin
26170 if test "$wxUSE_MGL" != 1 ; then
26171 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26172 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26173 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26174 if test "${ac_cv_header_png_h+set}" = set; then
26175 echo $ECHO_N "(cached) $ECHO_C" >&6
26177 if test "$cross_compiling" = yes; then
26178 unset ac_cv_header_png_h
26181 cat >conftest.$ac_ext <<_ACEOF
26184 cat confdefs.h >>conftest.$ac_ext
26185 cat >>conftest.$ac_ext <<_ACEOF
26186 /* end confdefs.h. */
26193 FILE *f=fopen("conftestval", "w");
26196 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26201 rm -f conftest$ac_exeext
26202 if { (ac_try="$ac_link"
26203 case "(($ac_try" in
26204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26205 *) ac_try_echo=$ac_try;;
26207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26208 (eval "$ac_link") 2>&5
26210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26211 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26212 { (case "(($ac_try" in
26213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26214 *) ac_try_echo=$ac_try;;
26216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26217 (eval "$ac_try") 2>&5
26219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26220 (exit $ac_status); }; }; then
26221 ac_cv_header_png_h=`cat conftestval`
26223 echo "$as_me: program exited with status $ac_status" >&5
26224 echo "$as_me: failed program was:" >&5
26225 sed 's/^/| /' conftest.$ac_ext >&5
26227 ( exit $ac_status )
26228 ac_cv_header_png_h=no
26230 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26236 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26237 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26238 { echo "$as_me:$LINENO: checking for png.h" >&5
26239 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26240 if test "${ac_cv_header_png_h+set}" = set; then
26241 echo $ECHO_N "(cached) $ECHO_C" >&6
26243 cat >conftest.$ac_ext <<_ACEOF
26246 cat confdefs.h >>conftest.$ac_ext
26247 cat >>conftest.$ac_ext <<_ACEOF
26248 /* end confdefs.h. */
26253 rm -f conftest.$ac_objext
26254 if { (ac_try="$ac_compile"
26255 case "(($ac_try" in
26256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26257 *) ac_try_echo=$ac_try;;
26259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26260 (eval "$ac_compile") 2>conftest.er1
26262 grep -v '^ *+' conftest.er1 >conftest.err
26264 cat conftest.err >&5
26265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26266 (exit $ac_status); } && {
26267 test -z "$ac_c_werror_flag" ||
26268 test ! -s conftest.err
26269 } && test -s conftest.$ac_objext; then
26270 ac_cv_header_png_h=yes
26272 echo "$as_me: failed program was:" >&5
26273 sed 's/^/| /' conftest.$ac_ext >&5
26275 ac_cv_header_png_h=no
26278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26280 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26281 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26285 if test "$ac_cv_header_png_h" = "yes"; then
26286 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26287 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26288 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26289 echo $ECHO_N "(cached) $ECHO_C" >&6
26291 ac_check_lib_save_LIBS=$LIBS
26292 LIBS="-lpng -lz -lm $LIBS"
26293 cat >conftest.$ac_ext <<_ACEOF
26296 cat confdefs.h >>conftest.$ac_ext
26297 cat >>conftest.$ac_ext <<_ACEOF
26298 /* end confdefs.h. */
26300 /* Override any GCC internal prototype to avoid an error.
26301 Use char because int might match the return type of a GCC
26302 builtin and then its argument prototype would still apply. */
26306 char png_check_sig ();
26310 return png_check_sig ();
26315 rm -f conftest.$ac_objext conftest$ac_exeext
26316 if { (ac_try="$ac_link"
26317 case "(($ac_try" in
26318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26319 *) ac_try_echo=$ac_try;;
26321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26322 (eval "$ac_link") 2>conftest.er1
26324 grep -v '^ *+' conftest.er1 >conftest.err
26326 cat conftest.err >&5
26327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26328 (exit $ac_status); } && {
26329 test -z "$ac_c_werror_flag" ||
26330 test ! -s conftest.err
26331 } && test -s conftest$ac_exeext &&
26332 $as_test_x conftest$ac_exeext; then
26333 ac_cv_lib_png_png_check_sig=yes
26335 echo "$as_me: failed program was:" >&5
26336 sed 's/^/| /' conftest.$ac_ext >&5
26338 ac_cv_lib_png_png_check_sig=no
26341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26342 conftest$ac_exeext conftest.$ac_ext
26343 LIBS=$ac_check_lib_save_LIBS
26345 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26346 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26347 if test $ac_cv_lib_png_png_check_sig = yes; then
26348 PNG_LINK=" -lpng -lz"
26353 if test "x$PNG_LINK" = "x" ; then
26354 if test "$wxUSE_LIBPNG" = "sys" ; then
26355 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26356 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26357 { (exit 1); exit 1; }; }
26359 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26360 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26361 wxUSE_LIBPNG=builtin
26372 if test "$wxUSE_LIBJPEG" != "no" ; then
26373 cat >>confdefs.h <<\_ACEOF
26374 #define wxUSE_LIBJPEG 1
26378 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26379 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26380 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26384 if test "$wxUSE_MGL" != 1 ; then
26385 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26386 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26387 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26388 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26389 echo $ECHO_N "(cached) $ECHO_C" >&6
26391 cat >conftest.$ac_ext <<_ACEOF
26394 cat confdefs.h >>conftest.$ac_ext
26395 cat >>conftest.$ac_ext <<_ACEOF
26396 /* end confdefs.h. */
26398 #undef HAVE_STDLIB_H
26400 #include <jpeglib.h>
26411 rm -f conftest.$ac_objext
26412 if { (ac_try="$ac_compile"
26413 case "(($ac_try" in
26414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26415 *) ac_try_echo=$ac_try;;
26417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26418 (eval "$ac_compile") 2>conftest.er1
26420 grep -v '^ *+' conftest.er1 >conftest.err
26422 cat conftest.err >&5
26423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 (exit $ac_status); } && {
26425 test -z "$ac_c_werror_flag" ||
26426 test ! -s conftest.err
26427 } && test -s conftest.$ac_objext; then
26428 ac_cv_header_jpeglib_h=yes
26430 echo "$as_me: failed program was:" >&5
26431 sed 's/^/| /' conftest.$ac_ext >&5
26433 ac_cv_header_jpeglib_h=no
26437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26441 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26442 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26444 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26445 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26446 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26447 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26448 echo $ECHO_N "(cached) $ECHO_C" >&6
26450 ac_check_lib_save_LIBS=$LIBS
26451 LIBS="-ljpeg $LIBS"
26452 cat >conftest.$ac_ext <<_ACEOF
26455 cat confdefs.h >>conftest.$ac_ext
26456 cat >>conftest.$ac_ext <<_ACEOF
26457 /* end confdefs.h. */
26459 /* Override any GCC internal prototype to avoid an error.
26460 Use char because int might match the return type of a GCC
26461 builtin and then its argument prototype would still apply. */
26465 char jpeg_read_header ();
26469 return jpeg_read_header ();
26474 rm -f conftest.$ac_objext conftest$ac_exeext
26475 if { (ac_try="$ac_link"
26476 case "(($ac_try" in
26477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26478 *) ac_try_echo=$ac_try;;
26480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26481 (eval "$ac_link") 2>conftest.er1
26483 grep -v '^ *+' conftest.er1 >conftest.err
26485 cat conftest.err >&5
26486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 (exit $ac_status); } && {
26488 test -z "$ac_c_werror_flag" ||
26489 test ! -s conftest.err
26490 } && test -s conftest$ac_exeext &&
26491 $as_test_x conftest$ac_exeext; then
26492 ac_cv_lib_jpeg_jpeg_read_header=yes
26494 echo "$as_me: failed program was:" >&5
26495 sed 's/^/| /' conftest.$ac_ext >&5
26497 ac_cv_lib_jpeg_jpeg_read_header=no
26500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26501 conftest$ac_exeext conftest.$ac_ext
26502 LIBS=$ac_check_lib_save_LIBS
26504 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26505 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26506 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26507 JPEG_LINK=" -ljpeg"
26512 if test "x$JPEG_LINK" = "x" ; then
26513 if test "$wxUSE_LIBJPEG" = "sys" ; then
26514 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26515 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26516 { (exit 1); exit 1; }; }
26518 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26519 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26520 wxUSE_LIBJPEG=builtin
26525 if test "$wxUSE_MSW" = 1; then
26526 { echo "$as_me:$LINENO: checking for boolean" >&5
26527 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26528 if test "${ac_cv_type_boolean+set}" = set; then
26529 echo $ECHO_N "(cached) $ECHO_C" >&6
26531 cat >conftest.$ac_ext <<_ACEOF
26534 cat confdefs.h >>conftest.$ac_ext
26535 cat >>conftest.$ac_ext <<_ACEOF
26536 /* end confdefs.h. */
26537 #include <windows.h>
26539 typedef boolean ac__type_new_;
26543 if ((ac__type_new_ *) 0)
26545 if (sizeof (ac__type_new_))
26551 rm -f conftest.$ac_objext
26552 if { (ac_try="$ac_compile"
26553 case "(($ac_try" in
26554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26555 *) ac_try_echo=$ac_try;;
26557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26558 (eval "$ac_compile") 2>conftest.er1
26560 grep -v '^ *+' conftest.er1 >conftest.err
26562 cat conftest.err >&5
26563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26564 (exit $ac_status); } && {
26565 test -z "$ac_c_werror_flag" ||
26566 test ! -s conftest.err
26567 } && test -s conftest.$ac_objext; then
26568 ac_cv_type_boolean=yes
26570 echo "$as_me: failed program was:" >&5
26571 sed 's/^/| /' conftest.$ac_ext >&5
26573 ac_cv_type_boolean=no
26576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26578 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26579 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26580 if test $ac_cv_type_boolean = yes; then
26582 cat >>confdefs.h <<_ACEOF
26583 #define HAVE_BOOLEAN 1
26587 { echo "$as_me:$LINENO: checking for boolean" >&5
26588 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26589 if test "${ac_cv_type_boolean+set}" = set; then
26590 echo $ECHO_N "(cached) $ECHO_C" >&6
26592 cat >conftest.$ac_ext <<_ACEOF
26595 cat confdefs.h >>conftest.$ac_ext
26596 cat >>conftest.$ac_ext <<_ACEOF
26597 /* end confdefs.h. */
26599 #undef HAVE_BOOLEAN
26601 #include <jpeglib.h>
26604 typedef boolean ac__type_new_;
26608 if ((ac__type_new_ *) 0)
26610 if (sizeof (ac__type_new_))
26616 rm -f conftest.$ac_objext
26617 if { (ac_try="$ac_compile"
26618 case "(($ac_try" in
26619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26620 *) ac_try_echo=$ac_try;;
26622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26623 (eval "$ac_compile") 2>conftest.er1
26625 grep -v '^ *+' conftest.er1 >conftest.err
26627 cat conftest.err >&5
26628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26629 (exit $ac_status); } && {
26630 test -z "$ac_c_werror_flag" ||
26631 test ! -s conftest.err
26632 } && test -s conftest.$ac_objext; then
26633 ac_cv_type_boolean=yes
26635 echo "$as_me: failed program was:" >&5
26636 sed 's/^/| /' conftest.$ac_ext >&5
26638 ac_cv_type_boolean=no
26641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26643 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26644 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26646 # The cast to long int works around a bug in the HP C Compiler
26647 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26648 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26649 # This bug is HP SR number 8606223364.
26650 { echo "$as_me:$LINENO: checking size of boolean" >&5
26651 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26652 if test "${ac_cv_sizeof_boolean+set}" = set; then
26653 echo $ECHO_N "(cached) $ECHO_C" >&6
26655 if test "$cross_compiling" = yes; then
26656 # Depending upon the size, compute the lo and hi bounds.
26657 cat >conftest.$ac_ext <<_ACEOF
26660 cat confdefs.h >>conftest.$ac_ext
26661 cat >>conftest.$ac_ext <<_ACEOF
26662 /* end confdefs.h. */
26664 #undef HAVE_BOOLEAN
26666 #include <jpeglib.h>
26669 typedef boolean ac__type_sizeof_;
26673 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26680 rm -f conftest.$ac_objext
26681 if { (ac_try="$ac_compile"
26682 case "(($ac_try" in
26683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26684 *) ac_try_echo=$ac_try;;
26686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26687 (eval "$ac_compile") 2>conftest.er1
26689 grep -v '^ *+' conftest.er1 >conftest.err
26691 cat conftest.err >&5
26692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26693 (exit $ac_status); } && {
26694 test -z "$ac_c_werror_flag" ||
26695 test ! -s conftest.err
26696 } && test -s conftest.$ac_objext; then
26699 cat >conftest.$ac_ext <<_ACEOF
26702 cat confdefs.h >>conftest.$ac_ext
26703 cat >>conftest.$ac_ext <<_ACEOF
26704 /* end confdefs.h. */
26706 #undef HAVE_BOOLEAN
26708 #include <jpeglib.h>
26711 typedef boolean ac__type_sizeof_;
26715 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26722 rm -f conftest.$ac_objext
26723 if { (ac_try="$ac_compile"
26724 case "(($ac_try" in
26725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26726 *) ac_try_echo=$ac_try;;
26728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26729 (eval "$ac_compile") 2>conftest.er1
26731 grep -v '^ *+' conftest.er1 >conftest.err
26733 cat conftest.err >&5
26734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735 (exit $ac_status); } && {
26736 test -z "$ac_c_werror_flag" ||
26737 test ! -s conftest.err
26738 } && test -s conftest.$ac_objext; then
26739 ac_hi=$ac_mid; break
26741 echo "$as_me: failed program was:" >&5
26742 sed 's/^/| /' conftest.$ac_ext >&5
26744 ac_lo=`expr $ac_mid + 1`
26745 if test $ac_lo -le $ac_mid; then
26749 ac_mid=`expr 2 '*' $ac_mid + 1`
26752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26755 echo "$as_me: failed program was:" >&5
26756 sed 's/^/| /' conftest.$ac_ext >&5
26758 cat >conftest.$ac_ext <<_ACEOF
26761 cat confdefs.h >>conftest.$ac_ext
26762 cat >>conftest.$ac_ext <<_ACEOF
26763 /* end confdefs.h. */
26765 #undef HAVE_BOOLEAN
26767 #include <jpeglib.h>
26770 typedef boolean ac__type_sizeof_;
26774 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26781 rm -f conftest.$ac_objext
26782 if { (ac_try="$ac_compile"
26783 case "(($ac_try" in
26784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26785 *) ac_try_echo=$ac_try;;
26787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26788 (eval "$ac_compile") 2>conftest.er1
26790 grep -v '^ *+' conftest.er1 >conftest.err
26792 cat conftest.err >&5
26793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26794 (exit $ac_status); } && {
26795 test -z "$ac_c_werror_flag" ||
26796 test ! -s conftest.err
26797 } && test -s conftest.$ac_objext; then
26800 cat >conftest.$ac_ext <<_ACEOF
26803 cat confdefs.h >>conftest.$ac_ext
26804 cat >>conftest.$ac_ext <<_ACEOF
26805 /* end confdefs.h. */
26807 #undef HAVE_BOOLEAN
26809 #include <jpeglib.h>
26812 typedef boolean ac__type_sizeof_;
26816 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26823 rm -f conftest.$ac_objext
26824 if { (ac_try="$ac_compile"
26825 case "(($ac_try" in
26826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26827 *) ac_try_echo=$ac_try;;
26829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26830 (eval "$ac_compile") 2>conftest.er1
26832 grep -v '^ *+' conftest.er1 >conftest.err
26834 cat conftest.err >&5
26835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26836 (exit $ac_status); } && {
26837 test -z "$ac_c_werror_flag" ||
26838 test ! -s conftest.err
26839 } && test -s conftest.$ac_objext; then
26840 ac_lo=$ac_mid; break
26842 echo "$as_me: failed program was:" >&5
26843 sed 's/^/| /' conftest.$ac_ext >&5
26845 ac_hi=`expr '(' $ac_mid ')' - 1`
26846 if test $ac_mid -le $ac_hi; then
26850 ac_mid=`expr 2 '*' $ac_mid`
26853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26856 echo "$as_me: failed program was:" >&5
26857 sed 's/^/| /' conftest.$ac_ext >&5
26862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26866 # Binary search between lo and hi bounds.
26867 while test "x$ac_lo" != "x$ac_hi"; do
26868 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26869 cat >conftest.$ac_ext <<_ACEOF
26872 cat confdefs.h >>conftest.$ac_ext
26873 cat >>conftest.$ac_ext <<_ACEOF
26874 /* end confdefs.h. */
26876 #undef HAVE_BOOLEAN
26878 #include <jpeglib.h>
26881 typedef boolean ac__type_sizeof_;
26885 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26892 rm -f conftest.$ac_objext
26893 if { (ac_try="$ac_compile"
26894 case "(($ac_try" in
26895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26896 *) ac_try_echo=$ac_try;;
26898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26899 (eval "$ac_compile") 2>conftest.er1
26901 grep -v '^ *+' conftest.er1 >conftest.err
26903 cat conftest.err >&5
26904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26905 (exit $ac_status); } && {
26906 test -z "$ac_c_werror_flag" ||
26907 test ! -s conftest.err
26908 } && test -s conftest.$ac_objext; then
26911 echo "$as_me: failed program was:" >&5
26912 sed 's/^/| /' conftest.$ac_ext >&5
26914 ac_lo=`expr '(' $ac_mid ')' + 1`
26917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26920 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26921 '') if test "$ac_cv_type_boolean" = yes; then
26922 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26923 See \`config.log' for more details." >&5
26924 echo "$as_me: error: cannot compute sizeof (boolean)
26925 See \`config.log' for more details." >&2;}
26926 { (exit 77); exit 77; }; }
26928 ac_cv_sizeof_boolean=0
26932 cat >conftest.$ac_ext <<_ACEOF
26935 cat confdefs.h >>conftest.$ac_ext
26936 cat >>conftest.$ac_ext <<_ACEOF
26937 /* end confdefs.h. */
26939 #undef HAVE_BOOLEAN
26941 #include <jpeglib.h>
26944 typedef boolean ac__type_sizeof_;
26945 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26946 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26948 #include <stdlib.h>
26953 FILE *f = fopen ("conftest.val", "w");
26956 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26958 long int i = longval ();
26959 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26961 fprintf (f, "%ld\n", i);
26965 unsigned long int i = ulongval ();
26966 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26968 fprintf (f, "%lu\n", i);
26970 return ferror (f) || fclose (f) != 0;
26976 rm -f conftest$ac_exeext
26977 if { (ac_try="$ac_link"
26978 case "(($ac_try" in
26979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26980 *) ac_try_echo=$ac_try;;
26982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26983 (eval "$ac_link") 2>&5
26985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26986 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26987 { (case "(($ac_try" in
26988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26989 *) ac_try_echo=$ac_try;;
26991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26992 (eval "$ac_try") 2>&5
26994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26995 (exit $ac_status); }; }; then
26996 ac_cv_sizeof_boolean=`cat conftest.val`
26998 echo "$as_me: program exited with status $ac_status" >&5
26999 echo "$as_me: failed program was:" >&5
27000 sed 's/^/| /' conftest.$ac_ext >&5
27002 ( exit $ac_status )
27003 if test "$ac_cv_type_boolean" = yes; then
27004 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27005 See \`config.log' for more details." >&5
27006 echo "$as_me: error: cannot compute sizeof (boolean)
27007 See \`config.log' for more details." >&2;}
27008 { (exit 77); exit 77; }; }
27010 ac_cv_sizeof_boolean=0
27013 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27017 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27018 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27022 cat >>confdefs.h <<_ACEOF
27023 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27027 cat >>confdefs.h <<_ACEOF
27028 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27042 TIFF_PREREQ_LINKS=-lm
27043 if test "$wxUSE_LIBTIFF" != "no" ; then
27044 cat >>confdefs.h <<\_ACEOF
27045 #define wxUSE_LIBTIFF 1
27049 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27050 if test "$wxUSE_LIBJPEG" = "sys"; then
27051 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27053 if test "$wxUSE_ZLIB" = "sys"; then
27054 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27056 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27057 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27058 if test "${ac_cv_header_tiffio_h+set}" = set; then
27059 echo $ECHO_N "(cached) $ECHO_C" >&6
27061 cat >conftest.$ac_ext <<_ACEOF
27064 cat confdefs.h >>conftest.$ac_ext
27065 cat >>conftest.$ac_ext <<_ACEOF
27066 /* end confdefs.h. */
27070 #include <tiffio.h>
27072 rm -f conftest.$ac_objext
27073 if { (ac_try="$ac_compile"
27074 case "(($ac_try" in
27075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27076 *) ac_try_echo=$ac_try;;
27078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27079 (eval "$ac_compile") 2>conftest.er1
27081 grep -v '^ *+' conftest.er1 >conftest.err
27083 cat conftest.err >&5
27084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27085 (exit $ac_status); } && {
27086 test -z "$ac_c_werror_flag" ||
27087 test ! -s conftest.err
27088 } && test -s conftest.$ac_objext; then
27089 ac_cv_header_tiffio_h=yes
27091 echo "$as_me: failed program was:" >&5
27092 sed 's/^/| /' conftest.$ac_ext >&5
27094 ac_cv_header_tiffio_h=no
27097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27099 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27100 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27101 if test $ac_cv_header_tiffio_h = yes; then
27103 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27104 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27105 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27106 echo $ECHO_N "(cached) $ECHO_C" >&6
27108 ac_check_lib_save_LIBS=$LIBS
27109 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27110 cat >conftest.$ac_ext <<_ACEOF
27113 cat confdefs.h >>conftest.$ac_ext
27114 cat >>conftest.$ac_ext <<_ACEOF
27115 /* end confdefs.h. */
27117 /* Override any GCC internal prototype to avoid an error.
27118 Use char because int might match the return type of a GCC
27119 builtin and then its argument prototype would still apply. */
27127 return TIFFError ();
27132 rm -f conftest.$ac_objext conftest$ac_exeext
27133 if { (ac_try="$ac_link"
27134 case "(($ac_try" in
27135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27136 *) ac_try_echo=$ac_try;;
27138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27139 (eval "$ac_link") 2>conftest.er1
27141 grep -v '^ *+' conftest.er1 >conftest.err
27143 cat conftest.err >&5
27144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27145 (exit $ac_status); } && {
27146 test -z "$ac_c_werror_flag" ||
27147 test ! -s conftest.err
27148 } && test -s conftest$ac_exeext &&
27149 $as_test_x conftest$ac_exeext; then
27150 ac_cv_lib_tiff_TIFFError=yes
27152 echo "$as_me: failed program was:" >&5
27153 sed 's/^/| /' conftest.$ac_ext >&5
27155 ac_cv_lib_tiff_TIFFError=no
27158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27159 conftest$ac_exeext conftest.$ac_ext
27160 LIBS=$ac_check_lib_save_LIBS
27162 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27163 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27164 if test $ac_cv_lib_tiff_TIFFError = yes; then
27165 TIFF_LINK=" -ltiff"
27173 if test "x$TIFF_LINK" = "x" ; then
27174 if test "$wxUSE_LIBTIFF" = "sys" ; then
27175 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27176 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27177 { (exit 1); exit 1; }; }
27179 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27180 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27181 wxUSE_LIBTIFF=builtin
27187 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27188 if test "$wxUSE_LIBJPEG" = "no"; then
27189 ac_configure_args="$ac_configure_args --disable-jpeg"
27191 subdirs="$subdirs src/tiff"
27197 if test "$wxUSE_WCHAR_T" != "yes"; then
27198 if test "$wxUSE_EXPAT" != "no"; then
27199 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27200 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27203 if test "$wxUSE_XML" != "no"; then
27204 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27205 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27210 if test "$wxUSE_EXPAT" != "no"; then
27212 cat >>confdefs.h <<\_ACEOF
27213 #define wxUSE_EXPAT 1
27216 cat >>confdefs.h <<\_ACEOF
27217 #define wxUSE_XML 1
27221 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27222 { echo "$as_me:$LINENO: checking for expat.h" >&5
27223 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27224 if test "${ac_cv_header_expat_h+set}" = set; then
27225 echo $ECHO_N "(cached) $ECHO_C" >&6
27227 cat >conftest.$ac_ext <<_ACEOF
27230 cat confdefs.h >>conftest.$ac_ext
27231 cat >>conftest.$ac_ext <<_ACEOF
27232 /* end confdefs.h. */
27237 rm -f conftest.$ac_objext
27238 if { (ac_try="$ac_compile"
27239 case "(($ac_try" in
27240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27241 *) ac_try_echo=$ac_try;;
27243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27244 (eval "$ac_compile") 2>conftest.er1
27246 grep -v '^ *+' conftest.er1 >conftest.err
27248 cat conftest.err >&5
27249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27250 (exit $ac_status); } && {
27251 test -z "$ac_c_werror_flag" ||
27252 test ! -s conftest.err
27253 } && test -s conftest.$ac_objext; then
27254 ac_cv_header_expat_h=yes
27256 echo "$as_me: failed program was:" >&5
27257 sed 's/^/| /' conftest.$ac_ext >&5
27259 ac_cv_header_expat_h=no
27262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27264 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27265 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27266 if test $ac_cv_header_expat_h = yes; then
27271 if test "x$found_expat_h" = "x1"; then
27272 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27273 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27274 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27275 echo $ECHO_N "(cached) $ECHO_C" >&6
27279 ac_cpp='$CXXCPP $CPPFLAGS'
27280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27284 cat >conftest.$ac_ext <<_ACEOF
27287 cat confdefs.h >>conftest.$ac_ext
27288 cat >>conftest.$ac_ext <<_ACEOF
27289 /* end confdefs.h. */
27299 rm -f conftest.$ac_objext
27300 if { (ac_try="$ac_compile"
27301 case "(($ac_try" in
27302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27303 *) ac_try_echo=$ac_try;;
27305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27306 (eval "$ac_compile") 2>conftest.er1
27308 grep -v '^ *+' conftest.er1 >conftest.err
27310 cat conftest.err >&5
27311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27312 (exit $ac_status); } && {
27313 test -z "$ac_cxx_werror_flag" ||
27314 test ! -s conftest.err
27315 } && test -s conftest.$ac_objext; then
27316 wx_cv_expat_is_not_broken=yes
27318 echo "$as_me: failed program was:" >&5
27319 sed 's/^/| /' conftest.$ac_ext >&5
27321 wx_cv_expat_is_not_broken=no
27325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27327 ac_cpp='$CPP $CPPFLAGS'
27328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27335 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27336 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27337 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27338 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27339 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27340 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27341 echo $ECHO_N "(cached) $ECHO_C" >&6
27343 ac_check_lib_save_LIBS=$LIBS
27344 LIBS="-lexpat $LIBS"
27345 cat >conftest.$ac_ext <<_ACEOF
27348 cat confdefs.h >>conftest.$ac_ext
27349 cat >>conftest.$ac_ext <<_ACEOF
27350 /* end confdefs.h. */
27352 /* Override any GCC internal prototype to avoid an error.
27353 Use char because int might match the return type of a GCC
27354 builtin and then its argument prototype would still apply. */
27358 char XML_ParserCreate ();
27362 return XML_ParserCreate ();
27367 rm -f conftest.$ac_objext conftest$ac_exeext
27368 if { (ac_try="$ac_link"
27369 case "(($ac_try" in
27370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27371 *) ac_try_echo=$ac_try;;
27373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27374 (eval "$ac_link") 2>conftest.er1
27376 grep -v '^ *+' conftest.er1 >conftest.err
27378 cat conftest.err >&5
27379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27380 (exit $ac_status); } && {
27381 test -z "$ac_c_werror_flag" ||
27382 test ! -s conftest.err
27383 } && test -s conftest$ac_exeext &&
27384 $as_test_x conftest$ac_exeext; then
27385 ac_cv_lib_expat_XML_ParserCreate=yes
27387 echo "$as_me: failed program was:" >&5
27388 sed 's/^/| /' conftest.$ac_ext >&5
27390 ac_cv_lib_expat_XML_ParserCreate=no
27393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27394 conftest$ac_exeext conftest.$ac_ext
27395 LIBS=$ac_check_lib_save_LIBS
27397 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27398 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27399 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27400 EXPAT_LINK=" -lexpat"
27405 if test "x$EXPAT_LINK" = "x" ; then
27406 if test "$wxUSE_EXPAT" = "sys" ; then
27407 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27408 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27409 { (exit 1); exit 1; }; }
27411 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27412 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27413 wxUSE_EXPAT=builtin
27419 if test "$wxUSE_EXPAT" = "builtin" ; then
27420 subdirs="$subdirs src/expat"
27427 if test "$wxUSE_LIBMSPACK" != "no"; then
27428 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27429 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27430 if test "${ac_cv_header_mspack_h+set}" = set; then
27431 echo $ECHO_N "(cached) $ECHO_C" >&6
27433 cat >conftest.$ac_ext <<_ACEOF
27436 cat confdefs.h >>conftest.$ac_ext
27437 cat >>conftest.$ac_ext <<_ACEOF
27438 /* end confdefs.h. */
27441 #include <mspack.h>
27443 rm -f conftest.$ac_objext
27444 if { (ac_try="$ac_compile"
27445 case "(($ac_try" in
27446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27447 *) ac_try_echo=$ac_try;;
27449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27450 (eval "$ac_compile") 2>conftest.er1
27452 grep -v '^ *+' conftest.er1 >conftest.err
27454 cat conftest.err >&5
27455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27456 (exit $ac_status); } && {
27457 test -z "$ac_c_werror_flag" ||
27458 test ! -s conftest.err
27459 } && test -s conftest.$ac_objext; then
27460 ac_cv_header_mspack_h=yes
27462 echo "$as_me: failed program was:" >&5
27463 sed 's/^/| /' conftest.$ac_ext >&5
27465 ac_cv_header_mspack_h=no
27468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27470 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27471 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27472 if test $ac_cv_header_mspack_h = yes; then
27477 if test "x$found_mspack_h" = "x1"; then
27478 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27479 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27480 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27481 echo $ECHO_N "(cached) $ECHO_C" >&6
27483 ac_check_lib_save_LIBS=$LIBS
27484 LIBS="-lmspack $LIBS"
27485 cat >conftest.$ac_ext <<_ACEOF
27488 cat confdefs.h >>conftest.$ac_ext
27489 cat >>conftest.$ac_ext <<_ACEOF
27490 /* end confdefs.h. */
27492 /* Override any GCC internal prototype to avoid an error.
27493 Use char because int might match the return type of a GCC
27494 builtin and then its argument prototype would still apply. */
27498 char mspack_create_chm_decompressor ();
27502 return mspack_create_chm_decompressor ();
27507 rm -f conftest.$ac_objext conftest$ac_exeext
27508 if { (ac_try="$ac_link"
27509 case "(($ac_try" in
27510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27511 *) ac_try_echo=$ac_try;;
27513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27514 (eval "$ac_link") 2>conftest.er1
27516 grep -v '^ *+' conftest.er1 >conftest.err
27518 cat conftest.err >&5
27519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27520 (exit $ac_status); } && {
27521 test -z "$ac_c_werror_flag" ||
27522 test ! -s conftest.err
27523 } && test -s conftest$ac_exeext &&
27524 $as_test_x conftest$ac_exeext; then
27525 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27527 echo "$as_me: failed program was:" >&5
27528 sed 's/^/| /' conftest.$ac_ext >&5
27530 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27534 conftest$ac_exeext conftest.$ac_ext
27535 LIBS=$ac_check_lib_save_LIBS
27537 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27538 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27539 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27540 MSPACK_LINK=" -lmspack"
27544 if test "x$MSPACK_LINK" = "x" ; then
27549 if test "$wxUSE_LIBMSPACK" != "no"; then
27550 cat >>confdefs.h <<\_ACEOF
27551 #define wxUSE_LIBMSPACK 1
27565 if test "$USE_WIN32" = 1 ; then
27567 for ac_header in w32api.h
27569 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27570 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27572 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27573 echo $ECHO_N "(cached) $ECHO_C" >&6
27575 cat >conftest.$ac_ext <<_ACEOF
27578 cat confdefs.h >>conftest.$ac_ext
27579 cat >>conftest.$ac_ext <<_ACEOF
27580 /* end confdefs.h. */
27583 #include <$ac_header>
27585 rm -f conftest.$ac_objext
27586 if { (ac_try="$ac_compile"
27587 case "(($ac_try" in
27588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27589 *) ac_try_echo=$ac_try;;
27591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27592 (eval "$ac_compile") 2>conftest.er1
27594 grep -v '^ *+' conftest.er1 >conftest.err
27596 cat conftest.err >&5
27597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27598 (exit $ac_status); } && {
27599 test -z "$ac_c_werror_flag" ||
27600 test ! -s conftest.err
27601 } && test -s conftest.$ac_objext; then
27602 eval "$as_ac_Header=yes"
27604 echo "$as_me: failed program was:" >&5
27605 sed 's/^/| /' conftest.$ac_ext >&5
27607 eval "$as_ac_Header=no"
27610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27612 ac_res=`eval echo '${'$as_ac_Header'}'`
27613 { echo "$as_me:$LINENO: result: $ac_res" >&5
27614 echo "${ECHO_T}$ac_res" >&6; }
27615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27616 cat >>confdefs.h <<_ACEOF
27617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27624 { echo "$as_me:$LINENO: checking for windows.h" >&5
27625 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27626 if test "${ac_cv_header_windows_h+set}" = set; then
27627 echo $ECHO_N "(cached) $ECHO_C" >&6
27629 cat >conftest.$ac_ext <<_ACEOF
27632 cat confdefs.h >>conftest.$ac_ext
27633 cat >>conftest.$ac_ext <<_ACEOF
27634 /* end confdefs.h. */
27637 #include <windows.h>
27639 rm -f conftest.$ac_objext
27640 if { (ac_try="$ac_compile"
27641 case "(($ac_try" in
27642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27643 *) ac_try_echo=$ac_try;;
27645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27646 (eval "$ac_compile") 2>conftest.er1
27648 grep -v '^ *+' conftest.er1 >conftest.err
27650 cat conftest.err >&5
27651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27652 (exit $ac_status); } && {
27653 test -z "$ac_c_werror_flag" ||
27654 test ! -s conftest.err
27655 } && test -s conftest.$ac_objext; then
27656 ac_cv_header_windows_h=yes
27658 echo "$as_me: failed program was:" >&5
27659 sed 's/^/| /' conftest.$ac_ext >&5
27661 ac_cv_header_windows_h=no
27664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27666 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27667 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27668 if test $ac_cv_header_windows_h = yes; then
27672 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27673 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27674 { (exit 1); exit 1; }; }
27680 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27682 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27683 LIBS="$LIBS -loleacc"
27688 LIBS="$LIBS -lkernel32 -luser32"
27691 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27692 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27694 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27696 WIN32INSTALL=win32install
27698 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27699 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27700 if test "${ac_cv_header_pbt_h+set}" = set; then
27701 echo $ECHO_N "(cached) $ECHO_C" >&6
27703 cat >conftest.$ac_ext <<_ACEOF
27706 cat confdefs.h >>conftest.$ac_ext
27707 cat >>conftest.$ac_ext <<_ACEOF
27708 /* end confdefs.h. */
27713 rm -f conftest.$ac_objext
27714 if { (ac_try="$ac_compile"
27715 case "(($ac_try" in
27716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27717 *) ac_try_echo=$ac_try;;
27719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27720 (eval "$ac_compile") 2>conftest.er1
27722 grep -v '^ *+' conftest.er1 >conftest.err
27724 cat conftest.err >&5
27725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27726 (exit $ac_status); } && {
27727 test -z "$ac_c_werror_flag" ||
27728 test ! -s conftest.err
27729 } && test -s conftest.$ac_objext; then
27730 ac_cv_header_pbt_h=yes
27732 echo "$as_me: failed program was:" >&5
27733 sed 's/^/| /' conftest.$ac_ext >&5
27735 ac_cv_header_pbt_h=no
27738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27740 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27741 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27742 if test $ac_cv_header_pbt_h = yes; then
27745 cat >>confdefs.h <<\_ACEOF
27746 #define NEED_PBT_H 1
27754 if test "$wxUSE_GUI" = "yes"; then
27764 if test "$wxUSE_COCOA" = 1 ; then
27765 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27766 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27767 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27768 wxUSE_PRINTING_ARCHITECTURE=no
27770 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27771 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27772 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27773 wxUSE_DRAG_AND_DROP=no
27775 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27776 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27777 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27782 if test "$wxUSE_MSW" = 1 ; then
27788 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27792 if test "$wxUSE_GTK" = 1; then
27793 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27794 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27796 gtk_version_cached=1
27797 if test "${wx_cv_lib_gtk+set}" = set; then
27798 echo $ECHO_N "(cached) $ECHO_C" >&6
27801 gtk_version_cached=0
27802 { echo "$as_me:$LINENO: result: " >&5
27803 echo "${ECHO_T}" >&6; }
27806 if test "$wxUSE_THREADS" = "yes"; then
27807 GTK_MODULES=gthread
27811 if test "x$wxGTK_VERSION" != "x1"
27815 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27820 # Check whether --enable-gtktest was given.
27821 if test "${enable_gtktest+set}" = set; then
27822 enableval=$enable_gtktest;
27828 pkg_config_args=gtk+-2.0
27829 for module in . $GTK_MODULES
27833 pkg_config_args="$pkg_config_args gthread-2.0"
27840 # Extract the first word of "pkg-config", so it can be a program name with args.
27841 set dummy pkg-config; ac_word=$2
27842 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27844 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27845 echo $ECHO_N "(cached) $ECHO_C" >&6
27847 case $PKG_CONFIG in
27849 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27853 for as_dir in $PATH
27856 test -z "$as_dir" && as_dir=.
27857 for ac_exec_ext in '' $ac_executable_extensions; do
27858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27859 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27867 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27871 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27872 if test -n "$PKG_CONFIG"; then
27873 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27874 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27876 { echo "$as_me:$LINENO: result: no" >&5
27877 echo "${ECHO_T}no" >&6; }
27882 if test x$PKG_CONFIG != xno ; then
27883 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27886 echo "*** pkg-config too old; version 0.7 or better required."
27894 min_gtk_version=2.4.0
27895 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27896 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27898 if test x$PKG_CONFIG != xno ; then
27899 ## don't try to run the test against uninstalled libtool libs
27900 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27901 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27905 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27912 if test x"$no_gtk" = x ; then
27913 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27914 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27915 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27916 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27917 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27918 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27919 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27920 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27921 if test "x$enable_gtktest" = "xyes" ; then
27922 ac_save_CFLAGS="$CFLAGS"
27923 ac_save_LIBS="$LIBS"
27924 CFLAGS="$CFLAGS $GTK_CFLAGS"
27925 LIBS="$GTK_LIBS $LIBS"
27927 if test "$cross_compiling" = yes; then
27928 echo $ac_n "cross compiling; assumed OK... $ac_c"
27930 cat >conftest.$ac_ext <<_ACEOF
27933 cat confdefs.h >>conftest.$ac_ext
27934 cat >>conftest.$ac_ext <<_ACEOF
27935 /* end confdefs.h. */
27937 #include <gtk/gtk.h>
27939 #include <stdlib.h>
27944 int major, minor, micro;
27947 system ("touch conf.gtktest");
27949 /* HP/UX 9 (%@#!) writes to sscanf strings */
27950 tmp_version = g_strdup("$min_gtk_version");
27951 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27952 printf("%s, bad version string\n", "$min_gtk_version");
27956 if ((gtk_major_version != $gtk_config_major_version) ||
27957 (gtk_minor_version != $gtk_config_minor_version) ||
27958 (gtk_micro_version != $gtk_config_micro_version))
27960 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27961 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27962 gtk_major_version, gtk_minor_version, gtk_micro_version);
27963 printf ("*** was found! If pkg-config was correct, then it is best\n");
27964 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27965 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27966 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27967 printf("*** required on your system.\n");
27968 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27969 printf("*** to point to the correct configuration files\n");
27971 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27972 (gtk_minor_version != GTK_MINOR_VERSION) ||
27973 (gtk_micro_version != GTK_MICRO_VERSION))
27975 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27976 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27977 printf("*** library (version %d.%d.%d)\n",
27978 gtk_major_version, gtk_minor_version, gtk_micro_version);
27982 if ((gtk_major_version > major) ||
27983 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27984 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27990 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27991 gtk_major_version, gtk_minor_version, gtk_micro_version);
27992 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27993 major, minor, micro);
27994 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27996 printf("*** If you have already installed a sufficiently new version, this error\n");
27997 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27998 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27999 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28000 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28001 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28002 printf("*** so that the correct libraries are found at run-time))\n");
28009 rm -f conftest$ac_exeext
28010 if { (ac_try="$ac_link"
28011 case "(($ac_try" in
28012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28013 *) ac_try_echo=$ac_try;;
28015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28016 (eval "$ac_link") 2>&5
28018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28019 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28020 { (case "(($ac_try" in
28021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28022 *) ac_try_echo=$ac_try;;
28024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28025 (eval "$ac_try") 2>&5
28027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28028 (exit $ac_status); }; }; then
28031 echo "$as_me: program exited with status $ac_status" >&5
28032 echo "$as_me: failed program was:" >&5
28033 sed 's/^/| /' conftest.$ac_ext >&5
28035 ( exit $ac_status )
28038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28042 CFLAGS="$ac_save_CFLAGS"
28043 LIBS="$ac_save_LIBS"
28046 if test "x$no_gtk" = x ; then
28047 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28048 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28051 { echo "$as_me:$LINENO: result: no" >&5
28052 echo "${ECHO_T}no" >&6; }
28053 if test "$PKG_CONFIG" = "no" ; then
28054 echo "*** A new enough version of pkg-config was not found."
28055 echo "*** See http://pkgconfig.sourceforge.net"
28057 if test -f conf.gtktest ; then
28060 echo "*** Could not run GTK+ test program, checking why..."
28061 ac_save_CFLAGS="$CFLAGS"
28062 ac_save_LIBS="$LIBS"
28063 CFLAGS="$CFLAGS $GTK_CFLAGS"
28064 LIBS="$LIBS $GTK_LIBS"
28065 cat >conftest.$ac_ext <<_ACEOF
28068 cat confdefs.h >>conftest.$ac_ext
28069 cat >>conftest.$ac_ext <<_ACEOF
28070 /* end confdefs.h. */
28072 #include <gtk/gtk.h>
28078 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28083 rm -f conftest.$ac_objext conftest$ac_exeext
28084 if { (ac_try="$ac_link"
28085 case "(($ac_try" in
28086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28087 *) ac_try_echo=$ac_try;;
28089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28090 (eval "$ac_link") 2>conftest.er1
28092 grep -v '^ *+' conftest.er1 >conftest.err
28094 cat conftest.err >&5
28095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28096 (exit $ac_status); } && {
28097 test -z "$ac_c_werror_flag" ||
28098 test ! -s conftest.err
28099 } && test -s conftest$ac_exeext &&
28100 $as_test_x conftest$ac_exeext; then
28101 echo "*** The test program compiled, but did not run. This usually means"
28102 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28103 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28104 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28105 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28106 echo "*** is required on your system"
28108 echo "*** If you have an old version installed, it is best to remove it, although"
28109 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28111 echo "$as_me: failed program was:" >&5
28112 sed 's/^/| /' conftest.$ac_ext >&5
28114 echo "*** The test program failed to compile or link. See the file config.log for the"
28115 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28119 conftest$ac_exeext conftest.$ac_ext
28120 CFLAGS="$ac_save_CFLAGS"
28121 LIBS="$ac_save_LIBS"
28135 if test "$wxUSE_SHARED" != "yes"; then
28136 GTK_LIBS="$GTK_LIBS -lX11"
28141 if test -z "$wx_cv_lib_gtk"; then
28142 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28144 # Check whether --with-gtk-prefix was given.
28145 if test "${with_gtk_prefix+set}" = set; then
28146 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28148 gtk_config_prefix=""
28152 # Check whether --with-gtk-exec-prefix was given.
28153 if test "${with_gtk_exec_prefix+set}" = set; then
28154 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28156 gtk_config_exec_prefix=""
28159 # Check whether --enable-gtktest was given.
28160 if test "${enable_gtktest+set}" = set; then
28161 enableval=$enable_gtktest;
28167 for module in . $GTK_MODULES
28171 gtk_config_args="$gtk_config_args gthread"
28176 if test x$gtk_config_exec_prefix != x ; then
28177 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28178 if test x${GTK_CONFIG+set} != xset ; then
28179 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28182 if test x$gtk_config_prefix != x ; then
28183 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28184 if test x${GTK_CONFIG+set} != xset ; then
28185 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28189 # Extract the first word of "gtk-config", so it can be a program name with args.
28190 set dummy gtk-config; ac_word=$2
28191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28193 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28194 echo $ECHO_N "(cached) $ECHO_C" >&6
28196 case $GTK_CONFIG in
28198 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28202 for as_dir in $PATH
28205 test -z "$as_dir" && as_dir=.
28206 for ac_exec_ext in '' $ac_executable_extensions; do
28207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28208 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28216 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28220 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28221 if test -n "$GTK_CONFIG"; then
28222 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28223 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28225 { echo "$as_me:$LINENO: result: no" >&5
28226 echo "${ECHO_T}no" >&6; }
28230 min_gtk_version=1.2.7
28231 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28232 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28234 if test "$GTK_CONFIG" = "no" ; then
28237 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28238 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28239 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28240 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28241 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28242 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28243 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28244 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28245 if test "x$enable_gtktest" = "xyes" ; then
28246 ac_save_CFLAGS="$CFLAGS"
28247 ac_save_LIBS="$LIBS"
28248 CFLAGS="$CFLAGS $GTK_CFLAGS"
28249 LIBS="$GTK_LIBS $LIBS"
28251 if test "$cross_compiling" = yes; then
28252 echo $ac_n "cross compiling; assumed OK... $ac_c"
28254 cat >conftest.$ac_ext <<_ACEOF
28257 cat confdefs.h >>conftest.$ac_ext
28258 cat >>conftest.$ac_ext <<_ACEOF
28259 /* end confdefs.h. */
28261 #include <gtk/gtk.h>
28263 #include <stdlib.h>
28268 int major, minor, micro;
28271 system ("touch conf.gtktest");
28273 /* HP/UX 9 (%@#!) writes to sscanf strings */
28274 tmp_version = g_strdup("$min_gtk_version");
28275 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28276 printf("%s, bad version string\n", "$min_gtk_version");
28280 if ((gtk_major_version != $gtk_config_major_version) ||
28281 (gtk_minor_version != $gtk_config_minor_version) ||
28282 (gtk_micro_version != $gtk_config_micro_version))
28284 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28285 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28286 gtk_major_version, gtk_minor_version, gtk_micro_version);
28287 printf ("*** was found! If gtk-config was correct, then it is best\n");
28288 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28289 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28290 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28291 printf("*** required on your system.\n");
28292 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28293 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28294 printf("*** before re-running configure\n");
28296 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28297 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28298 (gtk_minor_version != GTK_MINOR_VERSION) ||
28299 (gtk_micro_version != GTK_MICRO_VERSION))
28301 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28302 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28303 printf("*** library (version %d.%d.%d)\n",
28304 gtk_major_version, gtk_minor_version, gtk_micro_version);
28306 #endif /* defined (GTK_MAJOR_VERSION) ... */
28309 if ((gtk_major_version > major) ||
28310 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28311 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28317 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28318 gtk_major_version, gtk_minor_version, gtk_micro_version);
28319 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28320 major, minor, micro);
28321 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28323 printf("*** If you have already installed a sufficiently new version, this error\n");
28324 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28325 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28326 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28327 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28328 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28329 printf("*** so that the correct libraries are found at run-time))\n");
28336 rm -f conftest$ac_exeext
28337 if { (ac_try="$ac_link"
28338 case "(($ac_try" in
28339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28340 *) ac_try_echo=$ac_try;;
28342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28343 (eval "$ac_link") 2>&5
28345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28346 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28347 { (case "(($ac_try" in
28348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28349 *) ac_try_echo=$ac_try;;
28351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28352 (eval "$ac_try") 2>&5
28354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28355 (exit $ac_status); }; }; then
28358 echo "$as_me: program exited with status $ac_status" >&5
28359 echo "$as_me: failed program was:" >&5
28360 sed 's/^/| /' conftest.$ac_ext >&5
28362 ( exit $ac_status )
28365 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28369 CFLAGS="$ac_save_CFLAGS"
28370 LIBS="$ac_save_LIBS"
28373 if test "x$no_gtk" = x ; then
28374 { echo "$as_me:$LINENO: result: yes" >&5
28375 echo "${ECHO_T}yes" >&6; }
28376 wx_cv_lib_gtk=1.2.7
28378 { echo "$as_me:$LINENO: result: no" >&5
28379 echo "${ECHO_T}no" >&6; }
28380 if test "$GTK_CONFIG" = "no" ; then
28381 echo "*** The gtk-config script installed by GTK could not be found"
28382 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28383 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28384 echo "*** full path to gtk-config."
28386 if test -f conf.gtktest ; then
28389 echo "*** Could not run GTK test program, checking why..."
28390 CFLAGS="$CFLAGS $GTK_CFLAGS"
28391 LIBS="$LIBS $GTK_LIBS"
28392 cat >conftest.$ac_ext <<_ACEOF
28395 cat confdefs.h >>conftest.$ac_ext
28396 cat >>conftest.$ac_ext <<_ACEOF
28397 /* end confdefs.h. */
28399 #include <gtk/gtk.h>
28405 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28410 rm -f conftest.$ac_objext conftest$ac_exeext
28411 if { (ac_try="$ac_link"
28412 case "(($ac_try" in
28413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28414 *) ac_try_echo=$ac_try;;
28416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28417 (eval "$ac_link") 2>conftest.er1
28419 grep -v '^ *+' conftest.er1 >conftest.err
28421 cat conftest.err >&5
28422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28423 (exit $ac_status); } && {
28424 test -z "$ac_c_werror_flag" ||
28425 test ! -s conftest.err
28426 } && test -s conftest$ac_exeext &&
28427 $as_test_x conftest$ac_exeext; then
28428 echo "*** The test program compiled, but did not run. This usually means"
28429 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28430 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28431 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28432 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28433 echo "*** is required on your system"
28435 echo "*** If you have an old version installed, it is best to remove it, although"
28436 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28438 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28439 echo "*** came with the system with the command"
28441 echo "*** rpm --erase --nodeps gtk gtk-devel"
28443 echo "$as_me: failed program was:" >&5
28444 sed 's/^/| /' conftest.$ac_ext >&5
28446 echo "*** The test program failed to compile or link. See the file config.log for the"
28447 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28448 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28449 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28453 conftest$ac_exeext conftest.$ac_ext
28454 CFLAGS="$ac_save_CFLAGS"
28455 LIBS="$ac_save_LIBS"
28467 if test -z "$wx_cv_lib_gtk"; then
28469 # Check whether --with-gtk-prefix was given.
28470 if test "${with_gtk_prefix+set}" = set; then
28471 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28473 gtk_config_prefix=""
28477 # Check whether --with-gtk-exec-prefix was given.
28478 if test "${with_gtk_exec_prefix+set}" = set; then
28479 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28481 gtk_config_exec_prefix=""
28484 # Check whether --enable-gtktest was given.
28485 if test "${enable_gtktest+set}" = set; then
28486 enableval=$enable_gtktest;
28492 for module in . $GTK_MODULES
28496 gtk_config_args="$gtk_config_args gthread"
28501 if test x$gtk_config_exec_prefix != x ; then
28502 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28503 if test x${GTK_CONFIG+set} != xset ; then
28504 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28507 if test x$gtk_config_prefix != x ; then
28508 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28509 if test x${GTK_CONFIG+set} != xset ; then
28510 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28514 # Extract the first word of "gtk-config", so it can be a program name with args.
28515 set dummy gtk-config; ac_word=$2
28516 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28518 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28519 echo $ECHO_N "(cached) $ECHO_C" >&6
28521 case $GTK_CONFIG in
28523 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28527 for as_dir in $PATH
28530 test -z "$as_dir" && as_dir=.
28531 for ac_exec_ext in '' $ac_executable_extensions; do
28532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28533 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28541 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28545 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28546 if test -n "$GTK_CONFIG"; then
28547 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28548 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28550 { echo "$as_me:$LINENO: result: no" >&5
28551 echo "${ECHO_T}no" >&6; }
28555 min_gtk_version=1.2.3
28556 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28557 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28559 if test "$GTK_CONFIG" = "no" ; then
28562 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28563 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28564 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28565 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28566 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28567 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28568 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28569 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28570 if test "x$enable_gtktest" = "xyes" ; then
28571 ac_save_CFLAGS="$CFLAGS"
28572 ac_save_LIBS="$LIBS"
28573 CFLAGS="$CFLAGS $GTK_CFLAGS"
28574 LIBS="$GTK_LIBS $LIBS"
28576 if test "$cross_compiling" = yes; then
28577 echo $ac_n "cross compiling; assumed OK... $ac_c"
28579 cat >conftest.$ac_ext <<_ACEOF
28582 cat confdefs.h >>conftest.$ac_ext
28583 cat >>conftest.$ac_ext <<_ACEOF
28584 /* end confdefs.h. */
28586 #include <gtk/gtk.h>
28588 #include <stdlib.h>
28593 int major, minor, micro;
28596 system ("touch conf.gtktest");
28598 /* HP/UX 9 (%@#!) writes to sscanf strings */
28599 tmp_version = g_strdup("$min_gtk_version");
28600 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28601 printf("%s, bad version string\n", "$min_gtk_version");
28605 if ((gtk_major_version != $gtk_config_major_version) ||
28606 (gtk_minor_version != $gtk_config_minor_version) ||
28607 (gtk_micro_version != $gtk_config_micro_version))
28609 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28610 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28611 gtk_major_version, gtk_minor_version, gtk_micro_version);
28612 printf ("*** was found! If gtk-config was correct, then it is best\n");
28613 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28614 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28615 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28616 printf("*** required on your system.\n");
28617 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28618 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28619 printf("*** before re-running configure\n");
28621 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28622 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28623 (gtk_minor_version != GTK_MINOR_VERSION) ||
28624 (gtk_micro_version != GTK_MICRO_VERSION))
28626 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28627 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28628 printf("*** library (version %d.%d.%d)\n",
28629 gtk_major_version, gtk_minor_version, gtk_micro_version);
28631 #endif /* defined (GTK_MAJOR_VERSION) ... */
28634 if ((gtk_major_version > major) ||
28635 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28636 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28642 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28643 gtk_major_version, gtk_minor_version, gtk_micro_version);
28644 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28645 major, minor, micro);
28646 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28648 printf("*** If you have already installed a sufficiently new version, this error\n");
28649 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28650 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28651 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28652 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28653 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28654 printf("*** so that the correct libraries are found at run-time))\n");
28661 rm -f conftest$ac_exeext
28662 if { (ac_try="$ac_link"
28663 case "(($ac_try" in
28664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28665 *) ac_try_echo=$ac_try;;
28667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28668 (eval "$ac_link") 2>&5
28670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28671 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28672 { (case "(($ac_try" in
28673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28674 *) ac_try_echo=$ac_try;;
28676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28677 (eval "$ac_try") 2>&5
28679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28680 (exit $ac_status); }; }; then
28683 echo "$as_me: program exited with status $ac_status" >&5
28684 echo "$as_me: failed program was:" >&5
28685 sed 's/^/| /' conftest.$ac_ext >&5
28687 ( exit $ac_status )
28690 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28694 CFLAGS="$ac_save_CFLAGS"
28695 LIBS="$ac_save_LIBS"
28698 if test "x$no_gtk" = x ; then
28699 { echo "$as_me:$LINENO: result: yes" >&5
28700 echo "${ECHO_T}yes" >&6; }
28701 wx_cv_lib_gtk=1.2.3
28703 { echo "$as_me:$LINENO: result: no" >&5
28704 echo "${ECHO_T}no" >&6; }
28705 if test "$GTK_CONFIG" = "no" ; then
28706 echo "*** The gtk-config script installed by GTK could not be found"
28707 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28708 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28709 echo "*** full path to gtk-config."
28711 if test -f conf.gtktest ; then
28714 echo "*** Could not run GTK test program, checking why..."
28715 CFLAGS="$CFLAGS $GTK_CFLAGS"
28716 LIBS="$LIBS $GTK_LIBS"
28717 cat >conftest.$ac_ext <<_ACEOF
28720 cat confdefs.h >>conftest.$ac_ext
28721 cat >>conftest.$ac_ext <<_ACEOF
28722 /* end confdefs.h. */
28724 #include <gtk/gtk.h>
28730 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28735 rm -f conftest.$ac_objext conftest$ac_exeext
28736 if { (ac_try="$ac_link"
28737 case "(($ac_try" in
28738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28739 *) ac_try_echo=$ac_try;;
28741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28742 (eval "$ac_link") 2>conftest.er1
28744 grep -v '^ *+' conftest.er1 >conftest.err
28746 cat conftest.err >&5
28747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28748 (exit $ac_status); } && {
28749 test -z "$ac_c_werror_flag" ||
28750 test ! -s conftest.err
28751 } && test -s conftest$ac_exeext &&
28752 $as_test_x conftest$ac_exeext; then
28753 echo "*** The test program compiled, but did not run. This usually means"
28754 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28755 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28756 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28757 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28758 echo "*** is required on your system"
28760 echo "*** If you have an old version installed, it is best to remove it, although"
28761 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28763 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28764 echo "*** came with the system with the command"
28766 echo "*** rpm --erase --nodeps gtk gtk-devel"
28768 echo "$as_me: failed program was:" >&5
28769 sed 's/^/| /' conftest.$ac_ext >&5
28771 echo "*** The test program failed to compile or link. See the file config.log for the"
28772 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28773 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28774 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28778 conftest$ac_exeext conftest.$ac_ext
28779 CFLAGS="$ac_save_CFLAGS"
28780 LIBS="$ac_save_LIBS"
28795 if test -z "$wx_cv_lib_gtk"; then
28798 wx_cv_cflags_gtk=$GTK_CFLAGS
28799 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28806 if test "$gtk_version_cached" = 1; then
28807 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28808 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28811 case "$wx_cv_lib_gtk" in
28820 *) { { echo "$as_me:$LINENO: error:
28821 The development files for GTK+ were not found. For GTK+ 2, please
28822 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28823 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28824 and that the version is 1.2.3 or above. Also check that the
28825 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28826 --libs' are in the LD_LIBRARY_PATH or equivalent.
28828 echo "$as_me: error:
28829 The development files for GTK+ were not found. For GTK+ 2, please
28830 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28831 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28832 and that the version is 1.2.3 or above. Also check that the
28833 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28834 --libs' are in the LD_LIBRARY_PATH or equivalent.
28836 { (exit 1); exit 1; }; }
28840 if test "$WXGTK2" = 1; then
28841 save_CFLAGS="$CFLAGS"
28843 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28844 LIBS="$LIBS $wx_cv_libs_gtk"
28846 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28847 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28848 cat >conftest.$ac_ext <<_ACEOF
28851 cat confdefs.h >>conftest.$ac_ext
28852 cat >>conftest.$ac_ext <<_ACEOF
28853 /* end confdefs.h. */
28855 #include <gtk/gtk.h>
28861 #if !GTK_CHECK_VERSION(2,10,0)
28869 rm -f conftest.$ac_objext
28870 if { (ac_try="$ac_compile"
28871 case "(($ac_try" in
28872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28873 *) ac_try_echo=$ac_try;;
28875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28876 (eval "$ac_compile") 2>conftest.er1
28878 grep -v '^ *+' conftest.er1 >conftest.err
28880 cat conftest.err >&5
28881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28882 (exit $ac_status); } && {
28883 test -z "$ac_c_werror_flag" ||
28884 test ! -s conftest.err
28885 } && test -s conftest.$ac_objext; then
28887 cat >>confdefs.h <<\_ACEOF
28888 #define __WXGTK210__ 1
28891 cat >>confdefs.h <<\_ACEOF
28892 #define __WXGTK26__ 1
28895 { echo "$as_me:$LINENO: result: yes" >&5
28896 echo "${ECHO_T}yes" >&6; }
28900 echo "$as_me: failed program was:" >&5
28901 sed 's/^/| /' conftest.$ac_ext >&5
28904 { echo "$as_me:$LINENO: result: no" >&5
28905 echo "${ECHO_T}no" >&6; }
28910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28912 if test "$ac_wxgtk210" = 0; then
28913 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28914 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28915 cat >conftest.$ac_ext <<_ACEOF
28918 cat confdefs.h >>conftest.$ac_ext
28919 cat >>conftest.$ac_ext <<_ACEOF
28920 /* end confdefs.h. */
28922 #include <gtk/gtk.h>
28928 #if !GTK_CHECK_VERSION(2,6,0)
28936 rm -f conftest.$ac_objext
28937 if { (ac_try="$ac_compile"
28938 case "(($ac_try" in
28939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28940 *) ac_try_echo=$ac_try;;
28942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28943 (eval "$ac_compile") 2>conftest.er1
28945 grep -v '^ *+' conftest.er1 >conftest.err
28947 cat conftest.err >&5
28948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28949 (exit $ac_status); } && {
28950 test -z "$ac_c_werror_flag" ||
28951 test ! -s conftest.err
28952 } && test -s conftest.$ac_objext; then
28954 cat >>confdefs.h <<\_ACEOF
28955 #define __WXGTK26__ 1
28958 { echo "$as_me:$LINENO: result: yes" >&5
28959 echo "${ECHO_T}yes" >&6; }
28963 echo "$as_me: failed program was:" >&5
28964 sed 's/^/| /' conftest.$ac_ext >&5
28967 { echo "$as_me:$LINENO: result: no" >&5
28968 echo "${ECHO_T}no" >&6; }
28973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28976 CFLAGS="$save_CFLAGS"
28979 if test "$wxUSE_UNICODE" = "yes"; then
28980 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28981 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28985 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28986 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28987 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28988 echo $ECHO_N "(cached) $ECHO_C" >&6
28990 ac_check_lib_save_LIBS=$LIBS
28992 cat >conftest.$ac_ext <<_ACEOF
28995 cat confdefs.h >>conftest.$ac_ext
28996 cat >>conftest.$ac_ext <<_ACEOF
28997 /* end confdefs.h. */
28999 /* Override any GCC internal prototype to avoid an error.
29000 Use char because int might match the return type of a GCC
29001 builtin and then its argument prototype would still apply. */
29005 char gdk_im_open ();
29009 return gdk_im_open ();
29014 rm -f conftest.$ac_objext conftest$ac_exeext
29015 if { (ac_try="$ac_link"
29016 case "(($ac_try" in
29017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29018 *) ac_try_echo=$ac_try;;
29020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29021 (eval "$ac_link") 2>conftest.er1
29023 grep -v '^ *+' conftest.er1 >conftest.err
29025 cat conftest.err >&5
29026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29027 (exit $ac_status); } && {
29028 test -z "$ac_c_werror_flag" ||
29029 test ! -s conftest.err
29030 } && test -s conftest$ac_exeext &&
29031 $as_test_x conftest$ac_exeext; then
29032 ac_cv_lib_gdk_gdk_im_open=yes
29034 echo "$as_me: failed program was:" >&5
29035 sed 's/^/| /' conftest.$ac_ext >&5
29037 ac_cv_lib_gdk_gdk_im_open=no
29040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29041 conftest$ac_exeext conftest.$ac_ext
29042 LIBS=$ac_check_lib_save_LIBS
29044 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29045 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29046 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29047 cat >>confdefs.h <<\_ACEOF
29054 if test "$USE_DARWIN" != 1; then
29056 for ac_func in poll
29058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29059 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29061 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29062 echo $ECHO_N "(cached) $ECHO_C" >&6
29064 cat >conftest.$ac_ext <<_ACEOF
29067 cat confdefs.h >>conftest.$ac_ext
29068 cat >>conftest.$ac_ext <<_ACEOF
29069 /* end confdefs.h. */
29070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29072 #define $ac_func innocuous_$ac_func
29074 /* System header to define __stub macros and hopefully few prototypes,
29075 which can conflict with char $ac_func (); below.
29076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29077 <limits.h> exists even on freestanding compilers. */
29080 # include <limits.h>
29082 # include <assert.h>
29087 /* Override any GCC internal prototype to avoid an error.
29088 Use char because int might match the return type of a GCC
29089 builtin and then its argument prototype would still apply. */
29094 /* The GNU C library defines this for functions which it implements
29095 to always fail with ENOSYS. Some functions are actually named
29096 something starting with __ and the normal name is an alias. */
29097 #if defined __stub_$ac_func || defined __stub___$ac_func
29104 return $ac_func ();
29109 rm -f conftest.$ac_objext conftest$ac_exeext
29110 if { (ac_try="$ac_link"
29111 case "(($ac_try" in
29112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29113 *) ac_try_echo=$ac_try;;
29115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29116 (eval "$ac_link") 2>conftest.er1
29118 grep -v '^ *+' conftest.er1 >conftest.err
29120 cat conftest.err >&5
29121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29122 (exit $ac_status); } && {
29123 test -z "$ac_c_werror_flag" ||
29124 test ! -s conftest.err
29125 } && test -s conftest$ac_exeext &&
29126 $as_test_x conftest$ac_exeext; then
29127 eval "$as_ac_var=yes"
29129 echo "$as_me: failed program was:" >&5
29130 sed 's/^/| /' conftest.$ac_ext >&5
29132 eval "$as_ac_var=no"
29135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29136 conftest$ac_exeext conftest.$ac_ext
29138 ac_res=`eval echo '${'$as_ac_var'}'`
29139 { echo "$as_me:$LINENO: result: $ac_res" >&5
29140 echo "${ECHO_T}$ac_res" >&6; }
29141 if test `eval echo '${'$as_ac_var'}'` = yes; then
29142 cat >>confdefs.h <<_ACEOF
29143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29152 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29153 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29155 AFMINSTALL=afminstall
29159 if test "$wxUSE_GPE" = "yes"; then
29160 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29161 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29164 for ac_dir in $SEARCH_LIB;
29166 for ac_extension in a so sl dylib dll.a; do
29167 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29168 ac_find_libraries=$ac_dir
29174 if test "$ac_find_libraries" != "" ; then
29176 if test "$ac_find_libraries" = "default location"; then
29179 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29181 if test $result = 0; then
29184 ac_path_to_link=" -L$ac_find_libraries"
29188 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29190 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29191 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29193 { echo "$as_me:$LINENO: result: not found" >&5
29194 echo "${ECHO_T}not found" >&6; }
29200 if test "$wxUSE_MGL" = 1; then
29201 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29202 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29203 if test "x$MGL_ROOT" = x ; then
29204 { echo "$as_me:$LINENO: result: not found" >&5
29205 echo "${ECHO_T}not found" >&6; }
29206 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29207 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29208 { (exit 1); exit 1; }; }
29210 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29211 echo "${ECHO_T}$MGL_ROOT" >&6; }
29214 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29215 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29218 if test "x$wxUSE_SHARED" = xyes ; then
29219 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29221 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29225 mgl_os_candidates="dos32/dj2"
29228 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29229 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29230 { (exit 1); exit 1; }; }
29236 for mgl_os_i in $mgl_os_candidates ; do
29237 if test "x$mgl_os" = x ; then
29238 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29239 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29240 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29245 if test "x$mgl_lib_type" = x ; then
29246 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29247 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29248 mgl_lib_type=release
29255 if test "x$mgl_os" = x ; then
29256 { echo "$as_me:$LINENO: result: not found" >&5
29257 echo "${ECHO_T}not found" >&6; }
29258 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29259 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29260 { (exit 1); exit 1; }; }
29262 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29263 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29265 wxUSE_UNIVERSAL="yes"
29267 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29268 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29270 AFMINSTALL=afminstall
29275 if test "$wxUSE_DFB" = 1; then
29278 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29279 if test -n "$ac_tool_prefix"; then
29280 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29281 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29284 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29285 echo $ECHO_N "(cached) $ECHO_C" >&6
29287 case $PKG_CONFIG in
29289 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29293 for as_dir in $PATH
29296 test -z "$as_dir" && as_dir=.
29297 for ac_exec_ext in '' $ac_executable_extensions; do
29298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29299 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29310 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29311 if test -n "$PKG_CONFIG"; then
29312 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29313 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29315 { echo "$as_me:$LINENO: result: no" >&5
29316 echo "${ECHO_T}no" >&6; }
29321 if test -z "$ac_cv_path_PKG_CONFIG"; then
29322 ac_pt_PKG_CONFIG=$PKG_CONFIG
29323 # Extract the first word of "pkg-config", so it can be a program name with args.
29324 set dummy pkg-config; ac_word=$2
29325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29327 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29328 echo $ECHO_N "(cached) $ECHO_C" >&6
29330 case $ac_pt_PKG_CONFIG in
29332 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29336 for as_dir in $PATH
29339 test -z "$as_dir" && as_dir=.
29340 for ac_exec_ext in '' $ac_executable_extensions; do
29341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29342 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29353 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29354 if test -n "$ac_pt_PKG_CONFIG"; then
29355 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29356 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29358 { echo "$as_me:$LINENO: result: no" >&5
29359 echo "${ECHO_T}no" >&6; }
29362 if test "x$ac_pt_PKG_CONFIG" = x; then
29365 case $cross_compiling:$ac_tool_warned in
29367 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29368 whose name does not start with the host triplet. If you think this
29369 configuration is useful to you, please write to autoconf@gnu.org." >&5
29370 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29371 whose name does not start with the host triplet. If you think this
29372 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29373 ac_tool_warned=yes ;;
29375 PKG_CONFIG=$ac_pt_PKG_CONFIG
29378 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29382 if test -n "$PKG_CONFIG"; then
29383 _pkg_min_version=0.9.0
29384 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29385 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29386 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29387 { echo "$as_me:$LINENO: result: yes" >&5
29388 echo "${ECHO_T}yes" >&6; }
29390 { echo "$as_me:$LINENO: result: no" >&5
29391 echo "${ECHO_T}no" >&6; }
29399 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29400 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29402 if test -n "$PKG_CONFIG"; then
29403 if test -n "$DIRECTFB_CFLAGS"; then
29404 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29406 if test -n "$PKG_CONFIG" && \
29407 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29408 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29411 (exit $ac_status); }; then
29412 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29420 if test -n "$PKG_CONFIG"; then
29421 if test -n "$DIRECTFB_LIBS"; then
29422 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29424 if test -n "$PKG_CONFIG" && \
29425 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29426 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29429 (exit $ac_status); }; then
29430 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29441 if test $pkg_failed = yes; then
29443 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29444 _pkg_short_errors_supported=yes
29446 _pkg_short_errors_supported=no
29448 if test $_pkg_short_errors_supported = yes; then
29449 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29451 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29453 # Put the nasty error message in config.log where it belongs
29454 echo "$DIRECTFB_PKG_ERRORS" >&5
29457 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29458 echo "$as_me: error: DirectFB not found." >&2;}
29459 { (exit 1); exit 1; }; }
29462 elif test $pkg_failed = untried; then
29464 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29465 echo "$as_me: error: DirectFB not found." >&2;}
29466 { (exit 1); exit 1; }; }
29470 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29471 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29472 { echo "$as_me:$LINENO: result: yes" >&5
29473 echo "${ECHO_T}yes" >&6; }
29475 wxUSE_UNIVERSAL="yes"
29476 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29477 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29484 if test "$wxUSE_MICROWIN" = 1; then
29485 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29486 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29487 if test "x$MICROWINDOWS" = x ; then
29488 { echo "$as_me:$LINENO: result: not found" >&5
29489 echo "${ECHO_T}not found" >&6; }
29490 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29491 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29492 { (exit 1); exit 1; }; }
29494 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29495 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29498 if test -f $MICROWINDOWS/lib/libmwin.a; then
29499 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29500 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29502 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29503 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29504 { (exit 1); exit 1; }; }
29507 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29508 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29510 wxUSE_UNIVERSAL="yes"
29512 AFMINSTALL=afminstall
29514 GUIDIST=MICROWIN_DIST
29516 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29519 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29520 { echo "$as_me:$LINENO: checking for X" >&5
29521 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29524 # Check whether --with-x was given.
29525 if test "${with_x+set}" = set; then
29529 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29530 if test "x$with_x" = xno; then
29531 # The user explicitly disabled X.
29534 case $x_includes,$x_libraries in #(
29535 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29536 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29537 { (exit 1); exit 1; }; };; #(
29538 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29539 echo $ECHO_N "(cached) $ECHO_C" >&6
29541 # One or both of the vars are not set, and there is no cached value.
29542 ac_x_includes=no ac_x_libraries=no
29543 rm -f -r conftest.dir
29544 if mkdir conftest.dir; then
29546 cat >Imakefile <<'_ACEOF'
29548 @echo incroot='${INCROOT}'
29550 @echo usrlibdir='${USRLIBDIR}'
29552 @echo libdir='${LIBDIR}'
29554 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29555 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29556 for ac_var in incroot usrlibdir libdir; do
29557 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29559 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29560 for ac_extension in a so sl; do
29561 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29562 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29563 ac_im_usrlibdir=$ac_im_libdir; break
29566 # Screen out bogus values from the imake configuration. They are
29567 # bogus both because they are the default anyway, and because
29568 # using them would break gcc on systems where it needs fixed includes.
29569 case $ac_im_incroot in
29570 /usr/include) ac_x_includes= ;;
29571 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29573 case $ac_im_usrlibdir in
29574 /usr/lib | /lib) ;;
29575 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29579 rm -f -r conftest.dir
29582 # Standard set of common directories for X headers.
29583 # Check X11 before X11Rn because it is often a symlink to the current release.
29595 /usr/local/X11/include
29596 /usr/local/X11R6/include
29597 /usr/local/X11R5/include
29598 /usr/local/X11R4/include
29600 /usr/local/include/X11
29601 /usr/local/include/X11R6
29602 /usr/local/include/X11R5
29603 /usr/local/include/X11R4
29607 /usr/XFree86/include/X11
29611 /usr/unsupported/include
29612 /usr/athena/include
29613 /usr/local/x11r5/include
29614 /usr/lpp/Xamples/include
29616 /usr/openwin/include
29617 /usr/openwin/share/include'
29619 if test "$ac_x_includes" = no; then
29620 # Guess where to find include files, by looking for Xlib.h.
29621 # First, try using that file with no special directory specified.
29622 cat >conftest.$ac_ext <<_ACEOF
29625 cat confdefs.h >>conftest.$ac_ext
29626 cat >>conftest.$ac_ext <<_ACEOF
29627 /* end confdefs.h. */
29628 #include <X11/Xlib.h>
29630 if { (ac_try="$ac_cpp conftest.$ac_ext"
29631 case "(($ac_try" in
29632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29633 *) ac_try_echo=$ac_try;;
29635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29636 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29638 grep -v '^ *+' conftest.er1 >conftest.err
29640 cat conftest.err >&5
29641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29642 (exit $ac_status); } >/dev/null && {
29643 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29644 test ! -s conftest.err
29646 # We can compile using X headers with no special include directory.
29649 echo "$as_me: failed program was:" >&5
29650 sed 's/^/| /' conftest.$ac_ext >&5
29652 for ac_dir in $ac_x_header_dirs; do
29653 if test -r "$ac_dir/X11/Xlib.h"; then
29654 ac_x_includes=$ac_dir
29660 rm -f conftest.err conftest.$ac_ext
29661 fi # $ac_x_includes = no
29663 if test "$ac_x_libraries" = no; then
29664 # Check for the libraries.
29665 # See if we find them without any special options.
29666 # Don't add to $LIBS permanently.
29669 cat >conftest.$ac_ext <<_ACEOF
29672 cat confdefs.h >>conftest.$ac_ext
29673 cat >>conftest.$ac_ext <<_ACEOF
29674 /* end confdefs.h. */
29675 #include <X11/Xlib.h>
29684 rm -f conftest.$ac_objext conftest$ac_exeext
29685 if { (ac_try="$ac_link"
29686 case "(($ac_try" in
29687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29688 *) ac_try_echo=$ac_try;;
29690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29691 (eval "$ac_link") 2>conftest.er1
29693 grep -v '^ *+' conftest.er1 >conftest.err
29695 cat conftest.err >&5
29696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29697 (exit $ac_status); } && {
29698 test -z "$ac_c_werror_flag" ||
29699 test ! -s conftest.err
29700 } && test -s conftest$ac_exeext &&
29701 $as_test_x conftest$ac_exeext; then
29703 # We can link X programs with no special library path.
29706 echo "$as_me: failed program was:" >&5
29707 sed 's/^/| /' conftest.$ac_ext >&5
29710 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29712 # Don't even attempt the hair of trying to link an X program!
29713 for ac_extension in a so sl; do
29714 if test -r "$ac_dir/libX11.$ac_extension"; then
29715 ac_x_libraries=$ac_dir
29722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29723 conftest$ac_exeext conftest.$ac_ext
29724 fi # $ac_x_libraries = no
29726 case $ac_x_includes,$ac_x_libraries in #(
29727 no,* | *,no | *\'*)
29728 # Didn't find X, or a directory has "'" in its name.
29729 ac_cv_have_x="have_x=no";; #(
29731 # Record where we found X for the cache.
29732 ac_cv_have_x="have_x=yes\
29733 ac_x_includes='$ac_x_includes'\
29734 ac_x_libraries='$ac_x_libraries'"
29740 eval "$ac_cv_have_x"
29743 if test "$have_x" != yes; then
29744 { echo "$as_me:$LINENO: result: $have_x" >&5
29745 echo "${ECHO_T}$have_x" >&6; }
29748 # If each of the values was on the command line, it overrides each guess.
29749 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29750 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29751 # Update the cache value to reflect the command line values.
29752 ac_cv_have_x="have_x=yes\
29753 ac_x_includes='$x_includes'\
29754 ac_x_libraries='$x_libraries'"
29755 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29756 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29759 if test "$no_x" = yes; then
29760 # Not all programs may use this symbol, but it does not hurt to define it.
29762 cat >>confdefs.h <<\_ACEOF
29763 #define X_DISPLAY_MISSING 1
29766 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29768 if test -n "$x_includes"; then
29769 X_CFLAGS="$X_CFLAGS -I$x_includes"
29772 # It would also be nice to do this for all -L options, not just this one.
29773 if test -n "$x_libraries"; then
29774 X_LIBS="$X_LIBS -L$x_libraries"
29775 # For Solaris; some versions of Sun CC require a space after -R and
29776 # others require no space. Words are not sufficient . . . .
29777 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29778 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29779 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29780 ac_xsave_c_werror_flag=$ac_c_werror_flag
29781 ac_c_werror_flag=yes
29782 cat >conftest.$ac_ext <<_ACEOF
29785 cat confdefs.h >>conftest.$ac_ext
29786 cat >>conftest.$ac_ext <<_ACEOF
29787 /* end confdefs.h. */
29797 rm -f conftest.$ac_objext conftest$ac_exeext
29798 if { (ac_try="$ac_link"
29799 case "(($ac_try" in
29800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29801 *) ac_try_echo=$ac_try;;
29803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29804 (eval "$ac_link") 2>conftest.er1
29806 grep -v '^ *+' conftest.er1 >conftest.err
29808 cat conftest.err >&5
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); } && {
29811 test -z "$ac_c_werror_flag" ||
29812 test ! -s conftest.err
29813 } && test -s conftest$ac_exeext &&
29814 $as_test_x conftest$ac_exeext; then
29815 { echo "$as_me:$LINENO: result: no" >&5
29816 echo "${ECHO_T}no" >&6; }
29817 X_LIBS="$X_LIBS -R$x_libraries"
29819 echo "$as_me: failed program was:" >&5
29820 sed 's/^/| /' conftest.$ac_ext >&5
29822 LIBS="$ac_xsave_LIBS -R $x_libraries"
29823 cat >conftest.$ac_ext <<_ACEOF
29826 cat confdefs.h >>conftest.$ac_ext
29827 cat >>conftest.$ac_ext <<_ACEOF
29828 /* end confdefs.h. */
29838 rm -f conftest.$ac_objext conftest$ac_exeext
29839 if { (ac_try="$ac_link"
29840 case "(($ac_try" in
29841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29842 *) ac_try_echo=$ac_try;;
29844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29845 (eval "$ac_link") 2>conftest.er1
29847 grep -v '^ *+' conftest.er1 >conftest.err
29849 cat conftest.err >&5
29850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29851 (exit $ac_status); } && {
29852 test -z "$ac_c_werror_flag" ||
29853 test ! -s conftest.err
29854 } && test -s conftest$ac_exeext &&
29855 $as_test_x conftest$ac_exeext; then
29856 { echo "$as_me:$LINENO: result: yes" >&5
29857 echo "${ECHO_T}yes" >&6; }
29858 X_LIBS="$X_LIBS -R $x_libraries"
29860 echo "$as_me: failed program was:" >&5
29861 sed 's/^/| /' conftest.$ac_ext >&5
29863 { echo "$as_me:$LINENO: result: neither works" >&5
29864 echo "${ECHO_T}neither works" >&6; }
29867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29868 conftest$ac_exeext conftest.$ac_ext
29871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29872 conftest$ac_exeext conftest.$ac_ext
29873 ac_c_werror_flag=$ac_xsave_c_werror_flag
29874 LIBS=$ac_xsave_LIBS
29877 # Check for system-dependent libraries X programs must link with.
29878 # Do this before checking for the system-independent R6 libraries
29879 # (-lICE), since we may need -lsocket or whatever for X linking.
29881 if test "$ISC" = yes; then
29882 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29884 # Martyn Johnson says this is needed for Ultrix, if the X
29885 # libraries were built with DECnet support. And Karl Berry says
29886 # the Alpha needs dnet_stub (dnet does not exist).
29887 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29888 cat >conftest.$ac_ext <<_ACEOF
29891 cat confdefs.h >>conftest.$ac_ext
29892 cat >>conftest.$ac_ext <<_ACEOF
29893 /* end confdefs.h. */
29895 /* Override any GCC internal prototype to avoid an error.
29896 Use char because int might match the return type of a GCC
29897 builtin and then its argument prototype would still apply. */
29901 char XOpenDisplay ();
29905 return XOpenDisplay ();
29910 rm -f conftest.$ac_objext conftest$ac_exeext
29911 if { (ac_try="$ac_link"
29912 case "(($ac_try" in
29913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29914 *) ac_try_echo=$ac_try;;
29916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29917 (eval "$ac_link") 2>conftest.er1
29919 grep -v '^ *+' conftest.er1 >conftest.err
29921 cat conftest.err >&5
29922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29923 (exit $ac_status); } && {
29924 test -z "$ac_c_werror_flag" ||
29925 test ! -s conftest.err
29926 } && test -s conftest$ac_exeext &&
29927 $as_test_x conftest$ac_exeext; then
29930 echo "$as_me: failed program was:" >&5
29931 sed 's/^/| /' conftest.$ac_ext >&5
29933 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29934 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29935 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29936 echo $ECHO_N "(cached) $ECHO_C" >&6
29938 ac_check_lib_save_LIBS=$LIBS
29939 LIBS="-ldnet $LIBS"
29940 cat >conftest.$ac_ext <<_ACEOF
29943 cat confdefs.h >>conftest.$ac_ext
29944 cat >>conftest.$ac_ext <<_ACEOF
29945 /* end confdefs.h. */
29947 /* Override any GCC internal prototype to avoid an error.
29948 Use char because int might match the return type of a GCC
29949 builtin and then its argument prototype would still apply. */
29957 return dnet_ntoa ();
29962 rm -f conftest.$ac_objext conftest$ac_exeext
29963 if { (ac_try="$ac_link"
29964 case "(($ac_try" in
29965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29966 *) ac_try_echo=$ac_try;;
29968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29969 (eval "$ac_link") 2>conftest.er1
29971 grep -v '^ *+' conftest.er1 >conftest.err
29973 cat conftest.err >&5
29974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29975 (exit $ac_status); } && {
29976 test -z "$ac_c_werror_flag" ||
29977 test ! -s conftest.err
29978 } && test -s conftest$ac_exeext &&
29979 $as_test_x conftest$ac_exeext; then
29980 ac_cv_lib_dnet_dnet_ntoa=yes
29982 echo "$as_me: failed program was:" >&5
29983 sed 's/^/| /' conftest.$ac_ext >&5
29985 ac_cv_lib_dnet_dnet_ntoa=no
29988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29989 conftest$ac_exeext conftest.$ac_ext
29990 LIBS=$ac_check_lib_save_LIBS
29992 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29993 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29994 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29995 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29998 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29999 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30000 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30001 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30002 echo $ECHO_N "(cached) $ECHO_C" >&6
30004 ac_check_lib_save_LIBS=$LIBS
30005 LIBS="-ldnet_stub $LIBS"
30006 cat >conftest.$ac_ext <<_ACEOF
30009 cat confdefs.h >>conftest.$ac_ext
30010 cat >>conftest.$ac_ext <<_ACEOF
30011 /* end confdefs.h. */
30013 /* Override any GCC internal prototype to avoid an error.
30014 Use char because int might match the return type of a GCC
30015 builtin and then its argument prototype would still apply. */
30023 return dnet_ntoa ();
30028 rm -f conftest.$ac_objext conftest$ac_exeext
30029 if { (ac_try="$ac_link"
30030 case "(($ac_try" in
30031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30032 *) ac_try_echo=$ac_try;;
30034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30035 (eval "$ac_link") 2>conftest.er1
30037 grep -v '^ *+' conftest.er1 >conftest.err
30039 cat conftest.err >&5
30040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30041 (exit $ac_status); } && {
30042 test -z "$ac_c_werror_flag" ||
30043 test ! -s conftest.err
30044 } && test -s conftest$ac_exeext &&
30045 $as_test_x conftest$ac_exeext; then
30046 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30048 echo "$as_me: failed program was:" >&5
30049 sed 's/^/| /' conftest.$ac_ext >&5
30051 ac_cv_lib_dnet_stub_dnet_ntoa=no
30054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30055 conftest$ac_exeext conftest.$ac_ext
30056 LIBS=$ac_check_lib_save_LIBS
30058 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30059 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30060 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30061 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30068 conftest$ac_exeext conftest.$ac_ext
30069 LIBS="$ac_xsave_LIBS"
30071 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30072 # to get the SysV transport functions.
30073 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30075 # The nsl library prevents programs from opening the X display
30076 # on Irix 5.2, according to T.E. Dickey.
30077 # The functions gethostbyname, getservbyname, and inet_addr are
30078 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30079 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30080 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30081 if test "${ac_cv_func_gethostbyname+set}" = set; then
30082 echo $ECHO_N "(cached) $ECHO_C" >&6
30084 cat >conftest.$ac_ext <<_ACEOF
30087 cat confdefs.h >>conftest.$ac_ext
30088 cat >>conftest.$ac_ext <<_ACEOF
30089 /* end confdefs.h. */
30090 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30092 #define gethostbyname innocuous_gethostbyname
30094 /* System header to define __stub macros and hopefully few prototypes,
30095 which can conflict with char gethostbyname (); below.
30096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30097 <limits.h> exists even on freestanding compilers. */
30100 # include <limits.h>
30102 # include <assert.h>
30105 #undef gethostbyname
30107 /* Override any GCC internal prototype to avoid an error.
30108 Use char because int might match the return type of a GCC
30109 builtin and then its argument prototype would still apply. */
30113 char gethostbyname ();
30114 /* The GNU C library defines this for functions which it implements
30115 to always fail with ENOSYS. Some functions are actually named
30116 something starting with __ and the normal name is an alias. */
30117 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30124 return gethostbyname ();
30129 rm -f conftest.$ac_objext conftest$ac_exeext
30130 if { (ac_try="$ac_link"
30131 case "(($ac_try" in
30132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30133 *) ac_try_echo=$ac_try;;
30135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30136 (eval "$ac_link") 2>conftest.er1
30138 grep -v '^ *+' conftest.er1 >conftest.err
30140 cat conftest.err >&5
30141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30142 (exit $ac_status); } && {
30143 test -z "$ac_c_werror_flag" ||
30144 test ! -s conftest.err
30145 } && test -s conftest$ac_exeext &&
30146 $as_test_x conftest$ac_exeext; then
30147 ac_cv_func_gethostbyname=yes
30149 echo "$as_me: failed program was:" >&5
30150 sed 's/^/| /' conftest.$ac_ext >&5
30152 ac_cv_func_gethostbyname=no
30155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30156 conftest$ac_exeext conftest.$ac_ext
30158 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30159 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30161 if test $ac_cv_func_gethostbyname = no; then
30162 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30163 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30164 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30165 echo $ECHO_N "(cached) $ECHO_C" >&6
30167 ac_check_lib_save_LIBS=$LIBS
30169 cat >conftest.$ac_ext <<_ACEOF
30172 cat confdefs.h >>conftest.$ac_ext
30173 cat >>conftest.$ac_ext <<_ACEOF
30174 /* end confdefs.h. */
30176 /* Override any GCC internal prototype to avoid an error.
30177 Use char because int might match the return type of a GCC
30178 builtin and then its argument prototype would still apply. */
30182 char gethostbyname ();
30186 return gethostbyname ();
30191 rm -f conftest.$ac_objext conftest$ac_exeext
30192 if { (ac_try="$ac_link"
30193 case "(($ac_try" in
30194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30195 *) ac_try_echo=$ac_try;;
30197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30198 (eval "$ac_link") 2>conftest.er1
30200 grep -v '^ *+' conftest.er1 >conftest.err
30202 cat conftest.err >&5
30203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30204 (exit $ac_status); } && {
30205 test -z "$ac_c_werror_flag" ||
30206 test ! -s conftest.err
30207 } && test -s conftest$ac_exeext &&
30208 $as_test_x conftest$ac_exeext; then
30209 ac_cv_lib_nsl_gethostbyname=yes
30211 echo "$as_me: failed program was:" >&5
30212 sed 's/^/| /' conftest.$ac_ext >&5
30214 ac_cv_lib_nsl_gethostbyname=no
30217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30218 conftest$ac_exeext conftest.$ac_ext
30219 LIBS=$ac_check_lib_save_LIBS
30221 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30222 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30223 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30224 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30227 if test $ac_cv_lib_nsl_gethostbyname = no; then
30228 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30229 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30230 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30231 echo $ECHO_N "(cached) $ECHO_C" >&6
30233 ac_check_lib_save_LIBS=$LIBS
30235 cat >conftest.$ac_ext <<_ACEOF
30238 cat confdefs.h >>conftest.$ac_ext
30239 cat >>conftest.$ac_ext <<_ACEOF
30240 /* end confdefs.h. */
30242 /* Override any GCC internal prototype to avoid an error.
30243 Use char because int might match the return type of a GCC
30244 builtin and then its argument prototype would still apply. */
30248 char gethostbyname ();
30252 return gethostbyname ();
30257 rm -f conftest.$ac_objext conftest$ac_exeext
30258 if { (ac_try="$ac_link"
30259 case "(($ac_try" in
30260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30261 *) ac_try_echo=$ac_try;;
30263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30264 (eval "$ac_link") 2>conftest.er1
30266 grep -v '^ *+' conftest.er1 >conftest.err
30268 cat conftest.err >&5
30269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30270 (exit $ac_status); } && {
30271 test -z "$ac_c_werror_flag" ||
30272 test ! -s conftest.err
30273 } && test -s conftest$ac_exeext &&
30274 $as_test_x conftest$ac_exeext; then
30275 ac_cv_lib_bsd_gethostbyname=yes
30277 echo "$as_me: failed program was:" >&5
30278 sed 's/^/| /' conftest.$ac_ext >&5
30280 ac_cv_lib_bsd_gethostbyname=no
30283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30284 conftest$ac_exeext conftest.$ac_ext
30285 LIBS=$ac_check_lib_save_LIBS
30287 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30288 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30289 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30290 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30296 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30297 # socket/setsockopt and other routines are undefined under SCO ODT
30298 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30299 # on later versions), says Simon Leinen: it contains gethostby*
30300 # variants that don't use the name server (or something). -lsocket
30301 # must be given before -lnsl if both are needed. We assume that
30302 # if connect needs -lnsl, so does gethostbyname.
30303 { echo "$as_me:$LINENO: checking for connect" >&5
30304 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30305 if test "${ac_cv_func_connect+set}" = set; then
30306 echo $ECHO_N "(cached) $ECHO_C" >&6
30308 cat >conftest.$ac_ext <<_ACEOF
30311 cat confdefs.h >>conftest.$ac_ext
30312 cat >>conftest.$ac_ext <<_ACEOF
30313 /* end confdefs.h. */
30314 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30316 #define connect innocuous_connect
30318 /* System header to define __stub macros and hopefully few prototypes,
30319 which can conflict with char connect (); below.
30320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30321 <limits.h> exists even on freestanding compilers. */
30324 # include <limits.h>
30326 # include <assert.h>
30331 /* Override any GCC internal prototype to avoid an error.
30332 Use char because int might match the return type of a GCC
30333 builtin and then its argument prototype would still apply. */
30338 /* The GNU C library defines this for functions which it implements
30339 to always fail with ENOSYS. Some functions are actually named
30340 something starting with __ and the normal name is an alias. */
30341 #if defined __stub_connect || defined __stub___connect
30353 rm -f conftest.$ac_objext conftest$ac_exeext
30354 if { (ac_try="$ac_link"
30355 case "(($ac_try" in
30356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30357 *) ac_try_echo=$ac_try;;
30359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30360 (eval "$ac_link") 2>conftest.er1
30362 grep -v '^ *+' conftest.er1 >conftest.err
30364 cat conftest.err >&5
30365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30366 (exit $ac_status); } && {
30367 test -z "$ac_c_werror_flag" ||
30368 test ! -s conftest.err
30369 } && test -s conftest$ac_exeext &&
30370 $as_test_x conftest$ac_exeext; then
30371 ac_cv_func_connect=yes
30373 echo "$as_me: failed program was:" >&5
30374 sed 's/^/| /' conftest.$ac_ext >&5
30376 ac_cv_func_connect=no
30379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30380 conftest$ac_exeext conftest.$ac_ext
30382 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30383 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30385 if test $ac_cv_func_connect = no; then
30386 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30387 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30388 if test "${ac_cv_lib_socket_connect+set}" = set; then
30389 echo $ECHO_N "(cached) $ECHO_C" >&6
30391 ac_check_lib_save_LIBS=$LIBS
30392 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30393 cat >conftest.$ac_ext <<_ACEOF
30396 cat confdefs.h >>conftest.$ac_ext
30397 cat >>conftest.$ac_ext <<_ACEOF
30398 /* end confdefs.h. */
30400 /* Override any GCC internal prototype to avoid an error.
30401 Use char because int might match the return type of a GCC
30402 builtin and then its argument prototype would still apply. */
30415 rm -f conftest.$ac_objext conftest$ac_exeext
30416 if { (ac_try="$ac_link"
30417 case "(($ac_try" in
30418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30419 *) ac_try_echo=$ac_try;;
30421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30422 (eval "$ac_link") 2>conftest.er1
30424 grep -v '^ *+' conftest.er1 >conftest.err
30426 cat conftest.err >&5
30427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30428 (exit $ac_status); } && {
30429 test -z "$ac_c_werror_flag" ||
30430 test ! -s conftest.err
30431 } && test -s conftest$ac_exeext &&
30432 $as_test_x conftest$ac_exeext; then
30433 ac_cv_lib_socket_connect=yes
30435 echo "$as_me: failed program was:" >&5
30436 sed 's/^/| /' conftest.$ac_ext >&5
30438 ac_cv_lib_socket_connect=no
30441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30442 conftest$ac_exeext conftest.$ac_ext
30443 LIBS=$ac_check_lib_save_LIBS
30445 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30446 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30447 if test $ac_cv_lib_socket_connect = yes; then
30448 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30453 # Guillermo Gomez says -lposix is necessary on A/UX.
30454 { echo "$as_me:$LINENO: checking for remove" >&5
30455 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30456 if test "${ac_cv_func_remove+set}" = set; then
30457 echo $ECHO_N "(cached) $ECHO_C" >&6
30459 cat >conftest.$ac_ext <<_ACEOF
30462 cat confdefs.h >>conftest.$ac_ext
30463 cat >>conftest.$ac_ext <<_ACEOF
30464 /* end confdefs.h. */
30465 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30467 #define remove innocuous_remove
30469 /* System header to define __stub macros and hopefully few prototypes,
30470 which can conflict with char remove (); below.
30471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30472 <limits.h> exists even on freestanding compilers. */
30475 # include <limits.h>
30477 # include <assert.h>
30482 /* Override any GCC internal prototype to avoid an error.
30483 Use char because int might match the return type of a GCC
30484 builtin and then its argument prototype would still apply. */
30489 /* The GNU C library defines this for functions which it implements
30490 to always fail with ENOSYS. Some functions are actually named
30491 something starting with __ and the normal name is an alias. */
30492 #if defined __stub_remove || defined __stub___remove
30504 rm -f conftest.$ac_objext conftest$ac_exeext
30505 if { (ac_try="$ac_link"
30506 case "(($ac_try" in
30507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30508 *) ac_try_echo=$ac_try;;
30510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30511 (eval "$ac_link") 2>conftest.er1
30513 grep -v '^ *+' conftest.er1 >conftest.err
30515 cat conftest.err >&5
30516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30517 (exit $ac_status); } && {
30518 test -z "$ac_c_werror_flag" ||
30519 test ! -s conftest.err
30520 } && test -s conftest$ac_exeext &&
30521 $as_test_x conftest$ac_exeext; then
30522 ac_cv_func_remove=yes
30524 echo "$as_me: failed program was:" >&5
30525 sed 's/^/| /' conftest.$ac_ext >&5
30527 ac_cv_func_remove=no
30530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30531 conftest$ac_exeext conftest.$ac_ext
30533 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30534 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30536 if test $ac_cv_func_remove = no; then
30537 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30538 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30539 if test "${ac_cv_lib_posix_remove+set}" = set; then
30540 echo $ECHO_N "(cached) $ECHO_C" >&6
30542 ac_check_lib_save_LIBS=$LIBS
30543 LIBS="-lposix $LIBS"
30544 cat >conftest.$ac_ext <<_ACEOF
30547 cat confdefs.h >>conftest.$ac_ext
30548 cat >>conftest.$ac_ext <<_ACEOF
30549 /* end confdefs.h. */
30551 /* Override any GCC internal prototype to avoid an error.
30552 Use char because int might match the return type of a GCC
30553 builtin and then its argument prototype would still apply. */
30566 rm -f conftest.$ac_objext conftest$ac_exeext
30567 if { (ac_try="$ac_link"
30568 case "(($ac_try" in
30569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30570 *) ac_try_echo=$ac_try;;
30572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30573 (eval "$ac_link") 2>conftest.er1
30575 grep -v '^ *+' conftest.er1 >conftest.err
30577 cat conftest.err >&5
30578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30579 (exit $ac_status); } && {
30580 test -z "$ac_c_werror_flag" ||
30581 test ! -s conftest.err
30582 } && test -s conftest$ac_exeext &&
30583 $as_test_x conftest$ac_exeext; then
30584 ac_cv_lib_posix_remove=yes
30586 echo "$as_me: failed program was:" >&5
30587 sed 's/^/| /' conftest.$ac_ext >&5
30589 ac_cv_lib_posix_remove=no
30592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30593 conftest$ac_exeext conftest.$ac_ext
30594 LIBS=$ac_check_lib_save_LIBS
30596 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30597 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30598 if test $ac_cv_lib_posix_remove = yes; then
30599 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30604 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30605 { echo "$as_me:$LINENO: checking for shmat" >&5
30606 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30607 if test "${ac_cv_func_shmat+set}" = set; then
30608 echo $ECHO_N "(cached) $ECHO_C" >&6
30610 cat >conftest.$ac_ext <<_ACEOF
30613 cat confdefs.h >>conftest.$ac_ext
30614 cat >>conftest.$ac_ext <<_ACEOF
30615 /* end confdefs.h. */
30616 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30618 #define shmat innocuous_shmat
30620 /* System header to define __stub macros and hopefully few prototypes,
30621 which can conflict with char shmat (); below.
30622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30623 <limits.h> exists even on freestanding compilers. */
30626 # include <limits.h>
30628 # include <assert.h>
30633 /* Override any GCC internal prototype to avoid an error.
30634 Use char because int might match the return type of a GCC
30635 builtin and then its argument prototype would still apply. */
30640 /* The GNU C library defines this for functions which it implements
30641 to always fail with ENOSYS. Some functions are actually named
30642 something starting with __ and the normal name is an alias. */
30643 #if defined __stub_shmat || defined __stub___shmat
30655 rm -f conftest.$ac_objext conftest$ac_exeext
30656 if { (ac_try="$ac_link"
30657 case "(($ac_try" in
30658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30659 *) ac_try_echo=$ac_try;;
30661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30662 (eval "$ac_link") 2>conftest.er1
30664 grep -v '^ *+' conftest.er1 >conftest.err
30666 cat conftest.err >&5
30667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30668 (exit $ac_status); } && {
30669 test -z "$ac_c_werror_flag" ||
30670 test ! -s conftest.err
30671 } && test -s conftest$ac_exeext &&
30672 $as_test_x conftest$ac_exeext; then
30673 ac_cv_func_shmat=yes
30675 echo "$as_me: failed program was:" >&5
30676 sed 's/^/| /' conftest.$ac_ext >&5
30678 ac_cv_func_shmat=no
30681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30682 conftest$ac_exeext conftest.$ac_ext
30684 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30685 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30687 if test $ac_cv_func_shmat = no; then
30688 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30689 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30690 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30691 echo $ECHO_N "(cached) $ECHO_C" >&6
30693 ac_check_lib_save_LIBS=$LIBS
30695 cat >conftest.$ac_ext <<_ACEOF
30698 cat confdefs.h >>conftest.$ac_ext
30699 cat >>conftest.$ac_ext <<_ACEOF
30700 /* end confdefs.h. */
30702 /* Override any GCC internal prototype to avoid an error.
30703 Use char because int might match the return type of a GCC
30704 builtin and then its argument prototype would still apply. */
30717 rm -f conftest.$ac_objext conftest$ac_exeext
30718 if { (ac_try="$ac_link"
30719 case "(($ac_try" in
30720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30721 *) ac_try_echo=$ac_try;;
30723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30724 (eval "$ac_link") 2>conftest.er1
30726 grep -v '^ *+' conftest.er1 >conftest.err
30728 cat conftest.err >&5
30729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30730 (exit $ac_status); } && {
30731 test -z "$ac_c_werror_flag" ||
30732 test ! -s conftest.err
30733 } && test -s conftest$ac_exeext &&
30734 $as_test_x conftest$ac_exeext; then
30735 ac_cv_lib_ipc_shmat=yes
30737 echo "$as_me: failed program was:" >&5
30738 sed 's/^/| /' conftest.$ac_ext >&5
30740 ac_cv_lib_ipc_shmat=no
30743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30744 conftest$ac_exeext conftest.$ac_ext
30745 LIBS=$ac_check_lib_save_LIBS
30747 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30748 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30749 if test $ac_cv_lib_ipc_shmat = yes; then
30750 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30756 # Check for libraries that X11R6 Xt/Xaw programs need.
30757 ac_save_LDFLAGS=$LDFLAGS
30758 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30759 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30760 # check for ICE first), but we must link in the order -lSM -lICE or
30761 # we get undefined symbols. So assume we have SM if we have ICE.
30762 # These have to be linked with before -lX11, unlike the other
30763 # libraries we check for below, so use a different variable.
30764 # John Interrante, Karl Berry
30765 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30766 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30767 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30768 echo $ECHO_N "(cached) $ECHO_C" >&6
30770 ac_check_lib_save_LIBS=$LIBS
30771 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30772 cat >conftest.$ac_ext <<_ACEOF
30775 cat confdefs.h >>conftest.$ac_ext
30776 cat >>conftest.$ac_ext <<_ACEOF
30777 /* end confdefs.h. */
30779 /* Override any GCC internal prototype to avoid an error.
30780 Use char because int might match the return type of a GCC
30781 builtin and then its argument prototype would still apply. */
30785 char IceConnectionNumber ();
30789 return IceConnectionNumber ();
30794 rm -f conftest.$ac_objext conftest$ac_exeext
30795 if { (ac_try="$ac_link"
30796 case "(($ac_try" in
30797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30798 *) ac_try_echo=$ac_try;;
30800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30801 (eval "$ac_link") 2>conftest.er1
30803 grep -v '^ *+' conftest.er1 >conftest.err
30805 cat conftest.err >&5
30806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30807 (exit $ac_status); } && {
30808 test -z "$ac_c_werror_flag" ||
30809 test ! -s conftest.err
30810 } && test -s conftest$ac_exeext &&
30811 $as_test_x conftest$ac_exeext; then
30812 ac_cv_lib_ICE_IceConnectionNumber=yes
30814 echo "$as_me: failed program was:" >&5
30815 sed 's/^/| /' conftest.$ac_ext >&5
30817 ac_cv_lib_ICE_IceConnectionNumber=no
30820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30821 conftest$ac_exeext conftest.$ac_ext
30822 LIBS=$ac_check_lib_save_LIBS
30824 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30825 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30826 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30827 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30830 LDFLAGS=$ac_save_LDFLAGS
30835 if test "$no_x" = "yes"; then
30836 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30837 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30838 { (exit 1); exit 1; }; }
30841 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30842 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30843 AFMINSTALL=afminstall
30844 COMPILED_X_PROGRAM=0
30848 if test "$wxUSE_X11" = 1; then
30849 if test "$wxUSE_NANOX" = "yes"; then
30850 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30851 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30852 if test "x$MICROWIN" = x ; then
30853 { echo "$as_me:$LINENO: result: not found" >&5
30854 echo "${ECHO_T}not found" >&6; }
30855 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30856 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30857 { (exit 1); exit 1; }; }
30859 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30860 echo "${ECHO_T}$MICROWIN" >&6; }
30861 cat >>confdefs.h <<\_ACEOF
30862 #define wxUSE_NANOX 1
30868 if test "$wxUSE_UNICODE" = "yes"; then
30871 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30872 if test -n "$ac_tool_prefix"; then
30873 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30874 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30877 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30878 echo $ECHO_N "(cached) $ECHO_C" >&6
30880 case $PKG_CONFIG in
30882 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30886 for as_dir in $PATH
30889 test -z "$as_dir" && as_dir=.
30890 for ac_exec_ext in '' $ac_executable_extensions; do
30891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30892 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30903 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30904 if test -n "$PKG_CONFIG"; then
30905 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30906 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30908 { echo "$as_me:$LINENO: result: no" >&5
30909 echo "${ECHO_T}no" >&6; }
30914 if test -z "$ac_cv_path_PKG_CONFIG"; then
30915 ac_pt_PKG_CONFIG=$PKG_CONFIG
30916 # Extract the first word of "pkg-config", so it can be a program name with args.
30917 set dummy pkg-config; ac_word=$2
30918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30920 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30921 echo $ECHO_N "(cached) $ECHO_C" >&6
30923 case $ac_pt_PKG_CONFIG in
30925 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30929 for as_dir in $PATH
30932 test -z "$as_dir" && as_dir=.
30933 for ac_exec_ext in '' $ac_executable_extensions; do
30934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30935 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30946 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30947 if test -n "$ac_pt_PKG_CONFIG"; then
30948 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30949 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30951 { echo "$as_me:$LINENO: result: no" >&5
30952 echo "${ECHO_T}no" >&6; }
30955 if test "x$ac_pt_PKG_CONFIG" = x; then
30958 case $cross_compiling:$ac_tool_warned in
30960 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30961 whose name does not start with the host triplet. If you think this
30962 configuration is useful to you, please write to autoconf@gnu.org." >&5
30963 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30964 whose name does not start with the host triplet. If you think this
30965 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30966 ac_tool_warned=yes ;;
30968 PKG_CONFIG=$ac_pt_PKG_CONFIG
30971 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30975 if test -n "$PKG_CONFIG"; then
30976 _pkg_min_version=0.9.0
30977 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30978 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30979 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30980 { echo "$as_me:$LINENO: result: yes" >&5
30981 echo "${ECHO_T}yes" >&6; }
30983 { echo "$as_me:$LINENO: result: no" >&5
30984 echo "${ECHO_T}no" >&6; }
30992 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30993 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30995 if test -n "$PKG_CONFIG"; then
30996 if test -n "$PANGOX_CFLAGS"; then
30997 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30999 if test -n "$PKG_CONFIG" && \
31000 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31001 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31004 (exit $ac_status); }; then
31005 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31013 if test -n "$PKG_CONFIG"; then
31014 if test -n "$PANGOX_LIBS"; then
31015 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31017 if test -n "$PKG_CONFIG" && \
31018 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31019 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31022 (exit $ac_status); }; then
31023 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31034 if test $pkg_failed = yes; then
31036 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31037 _pkg_short_errors_supported=yes
31039 _pkg_short_errors_supported=no
31041 if test $_pkg_short_errors_supported = yes; then
31042 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31044 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31046 # Put the nasty error message in config.log where it belongs
31047 echo "$PANGOX_PKG_ERRORS" >&5
31050 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31051 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31052 { (exit 1); exit 1; }; }
31055 elif test $pkg_failed = untried; then
31057 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31058 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31059 { (exit 1); exit 1; }; }
31063 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31064 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31065 { echo "$as_me:$LINENO: result: yes" >&5
31066 echo "${ECHO_T}yes" >&6; }
31068 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31069 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31070 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31075 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31076 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31078 if test -n "$PKG_CONFIG"; then
31079 if test -n "$PANGOFT2_CFLAGS"; then
31080 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31082 if test -n "$PKG_CONFIG" && \
31083 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31084 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); }; then
31088 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31096 if test -n "$PKG_CONFIG"; then
31097 if test -n "$PANGOFT2_LIBS"; then
31098 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31100 if test -n "$PKG_CONFIG" && \
31101 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31102 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105 (exit $ac_status); }; then
31106 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31117 if test $pkg_failed = yes; then
31119 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31120 _pkg_short_errors_supported=yes
31122 _pkg_short_errors_supported=no
31124 if test $_pkg_short_errors_supported = yes; then
31125 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31127 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31129 # Put the nasty error message in config.log where it belongs
31130 echo "$PANGOFT2_PKG_ERRORS" >&5
31133 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31134 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31135 wxUSE_PRINTING_ARCHITECTURE="no"
31138 elif test $pkg_failed = untried; then
31140 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31141 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31142 wxUSE_PRINTING_ARCHITECTURE="no"
31146 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31147 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31148 { echo "$as_me:$LINENO: result: yes" >&5
31149 echo "${ECHO_T}yes" >&6; }
31151 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31152 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31153 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31158 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31159 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31161 if test -n "$PKG_CONFIG"; then
31162 if test -n "$PANGOXFT_CFLAGS"; then
31163 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31165 if test -n "$PKG_CONFIG" && \
31166 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31167 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31170 (exit $ac_status); }; then
31171 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31179 if test -n "$PKG_CONFIG"; then
31180 if test -n "$PANGOXFT_LIBS"; then
31181 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31183 if test -n "$PKG_CONFIG" && \
31184 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31185 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31188 (exit $ac_status); }; then
31189 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31200 if test $pkg_failed = yes; then
31202 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31203 _pkg_short_errors_supported=yes
31205 _pkg_short_errors_supported=no
31207 if test $_pkg_short_errors_supported = yes; then
31208 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31210 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31212 # Put the nasty error message in config.log where it belongs
31213 echo "$PANGOXFT_PKG_ERRORS" >&5
31216 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31217 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31220 elif test $pkg_failed = untried; then
31222 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31223 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31227 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31228 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31229 { echo "$as_me:$LINENO: result: yes" >&5
31230 echo "${ECHO_T}yes" >&6; }
31232 cat >>confdefs.h <<\_ACEOF
31233 #define HAVE_PANGO_XFT 1
31236 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31237 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31238 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31242 LIBS="$LIBS $PANGOX_LIBS"
31244 for ac_func in pango_font_family_is_monospace
31246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31247 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31249 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31250 echo $ECHO_N "(cached) $ECHO_C" >&6
31252 cat >conftest.$ac_ext <<_ACEOF
31255 cat confdefs.h >>conftest.$ac_ext
31256 cat >>conftest.$ac_ext <<_ACEOF
31257 /* end confdefs.h. */
31258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31260 #define $ac_func innocuous_$ac_func
31262 /* System header to define __stub macros and hopefully few prototypes,
31263 which can conflict with char $ac_func (); below.
31264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31265 <limits.h> exists even on freestanding compilers. */
31268 # include <limits.h>
31270 # include <assert.h>
31275 /* Override any GCC internal prototype to avoid an error.
31276 Use char because int might match the return type of a GCC
31277 builtin and then its argument prototype would still apply. */
31282 /* The GNU C library defines this for functions which it implements
31283 to always fail with ENOSYS. Some functions are actually named
31284 something starting with __ and the normal name is an alias. */
31285 #if defined __stub_$ac_func || defined __stub___$ac_func
31292 return $ac_func ();
31297 rm -f conftest.$ac_objext conftest$ac_exeext
31298 if { (ac_try="$ac_link"
31299 case "(($ac_try" in
31300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31301 *) ac_try_echo=$ac_try;;
31303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31304 (eval "$ac_link") 2>conftest.er1
31306 grep -v '^ *+' conftest.er1 >conftest.err
31308 cat conftest.err >&5
31309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31310 (exit $ac_status); } && {
31311 test -z "$ac_c_werror_flag" ||
31312 test ! -s conftest.err
31313 } && test -s conftest$ac_exeext &&
31314 $as_test_x conftest$ac_exeext; then
31315 eval "$as_ac_var=yes"
31317 echo "$as_me: failed program was:" >&5
31318 sed 's/^/| /' conftest.$ac_ext >&5
31320 eval "$as_ac_var=no"
31323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31324 conftest$ac_exeext conftest.$ac_ext
31326 ac_res=`eval echo '${'$as_ac_var'}'`
31327 { echo "$as_me:$LINENO: result: $ac_res" >&5
31328 echo "${ECHO_T}$ac_res" >&6; }
31329 if test `eval echo '${'$as_ac_var'}'` = yes; then
31330 cat >>confdefs.h <<_ACEOF
31331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31340 wxUSE_UNIVERSAL="yes"
31342 if test "$wxUSE_NANOX" = "yes"; then
31343 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31344 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"
31345 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31347 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31354 if test "$wxUSE_MOTIF" = 1; then
31355 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31356 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31359 for ac_dir in $SEARCH_INCLUDE /usr/include;
31361 if test -f "$ac_dir/Xm/Xm.h"; then
31362 ac_find_includes=$ac_dir
31367 if test "$ac_find_includes" != "" ; then
31368 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31369 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31371 if test "x$ac_find_includes" = "x/usr/include"; then
31372 ac_path_to_include=""
31374 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31376 if test $result = 0; then
31377 ac_path_to_include=""
31379 ac_path_to_include=" -I$ac_find_includes"
31383 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31385 save_CFLAGS=$CFLAGS
31386 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31388 cat >conftest.$ac_ext <<_ACEOF
31391 cat confdefs.h >>conftest.$ac_ext
31392 cat >>conftest.$ac_ext <<_ACEOF
31393 /* end confdefs.h. */
31402 version = xmUseVersion;
31408 rm -f conftest.$ac_objext
31409 if { (ac_try="$ac_compile"
31410 case "(($ac_try" in
31411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31412 *) ac_try_echo=$ac_try;;
31414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31415 (eval "$ac_compile") 2>conftest.er1
31417 grep -v '^ *+' conftest.er1 >conftest.err
31419 cat conftest.err >&5
31420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31421 (exit $ac_status); } && {
31422 test -z "$ac_c_werror_flag" ||
31423 test ! -s conftest.err
31424 } && test -s conftest.$ac_objext; then
31426 { echo "$as_me:$LINENO: result: found in default search path" >&5
31427 echo "${ECHO_T}found in default search path" >&6; }
31428 COMPILED_X_PROGRAM=1
31431 echo "$as_me: failed program was:" >&5
31432 sed 's/^/| /' conftest.$ac_ext >&5
31435 { echo "$as_me:$LINENO: result: no" >&5
31436 echo "${ECHO_T}no" >&6; }
31437 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31438 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31439 { (exit 1); exit 1; }; }
31444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31446 CFLAGS=$save_CFLAGS
31450 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31451 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31454 for ac_dir in $SEARCH_LIB;
31456 for ac_extension in a so sl dylib dll.a; do
31457 if test -f "$ac_dir/libXm.$ac_extension"; then
31458 ac_find_libraries=$ac_dir
31465 if test "x$ac_find_libraries" != "x" ; then
31466 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31467 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31470 if test "$ac_find_libraries" = "default location"; then
31473 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31475 if test $result = 0; then
31478 ac_path_to_link=" -L$ac_find_libraries"
31482 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31484 save_CFLAGS=$CFLAGS
31485 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31487 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31489 cat >conftest.$ac_ext <<_ACEOF
31492 cat confdefs.h >>conftest.$ac_ext
31493 cat >>conftest.$ac_ext <<_ACEOF
31494 /* end confdefs.h. */
31503 version = xmUseVersion;
31509 rm -f conftest.$ac_objext conftest$ac_exeext
31510 if { (ac_try="$ac_link"
31511 case "(($ac_try" in
31512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31513 *) ac_try_echo=$ac_try;;
31515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31516 (eval "$ac_link") 2>conftest.er1
31518 grep -v '^ *+' conftest.er1 >conftest.err
31520 cat conftest.err >&5
31521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31522 (exit $ac_status); } && {
31523 test -z "$ac_c_werror_flag" ||
31524 test ! -s conftest.err
31525 } && test -s conftest$ac_exeext &&
31526 $as_test_x conftest$ac_exeext; then
31528 { echo "$as_me:$LINENO: result: found in default search path" >&5
31529 echo "${ECHO_T}found in default search path" >&6; }
31530 COMPILED_X_PROGRAM=1
31533 echo "$as_me: failed program was:" >&5
31534 sed 's/^/| /' conftest.$ac_ext >&5
31537 { echo "$as_me:$LINENO: result: no" >&5
31538 echo "${ECHO_T}no" >&6; }
31539 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31540 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31541 { (exit 1); exit 1; }; }
31546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31547 conftest$ac_exeext conftest.$ac_ext
31549 CFLAGS=$save_CFLAGS
31553 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31554 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31558 for libp in "" " -lXp"; do
31559 if test "$libs_found" = 0; then
31560 for libsm_ice in "" " -lSM -lICE"; do
31561 if test "$libs_found" = 0; then
31563 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31564 save_CFLAGS=$CFLAGS
31565 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31567 cat >conftest.$ac_ext <<_ACEOF
31570 cat confdefs.h >>conftest.$ac_ext
31571 cat >>conftest.$ac_ext <<_ACEOF
31572 /* end confdefs.h. */
31575 #include <Xm/List.h>
31581 XmString string = NULL;
31584 XmListAddItem(w, string, position);
31590 rm -f conftest.$ac_objext conftest$ac_exeext
31591 if { (ac_try="$ac_link"
31592 case "(($ac_try" in
31593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31594 *) ac_try_echo=$ac_try;;
31596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31597 (eval "$ac_link") 2>conftest.er1
31599 grep -v '^ *+' conftest.er1 >conftest.err
31601 cat conftest.err >&5
31602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31603 (exit $ac_status); } && {
31604 test -z "$ac_c_werror_flag" ||
31605 test ! -s conftest.err
31606 } && test -s conftest$ac_exeext &&
31607 $as_test_x conftest$ac_exeext; then
31610 libsm_ice_link="$libsm_ice"
31611 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31612 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31616 echo "$as_me: failed program was:" >&5
31617 sed 's/^/| /' conftest.$ac_ext >&5
31623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31624 conftest$ac_exeext conftest.$ac_ext
31627 CFLAGS=$save_CFLAGS
31633 if test "$libs_found" = 0; then
31634 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31635 echo "${ECHO_T}can't find the right libraries" >&6; }
31636 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31637 echo "$as_me: error: can't link a simple motif program" >&2;}
31638 { (exit 1); exit 1; }; }
31641 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31642 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31643 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31644 echo $ECHO_N "(cached) $ECHO_C" >&6
31646 ac_check_lib_save_LIBS=$LIBS
31648 cat >conftest.$ac_ext <<_ACEOF
31651 cat confdefs.h >>conftest.$ac_ext
31652 cat >>conftest.$ac_ext <<_ACEOF
31653 /* end confdefs.h. */
31655 /* Override any GCC internal prototype to avoid an error.
31656 Use char because int might match the return type of a GCC
31657 builtin and then its argument prototype would still apply. */
31661 char SgCreateList ();
31665 return SgCreateList ();
31670 rm -f conftest.$ac_objext conftest$ac_exeext
31671 if { (ac_try="$ac_link"
31672 case "(($ac_try" in
31673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31674 *) ac_try_echo=$ac_try;;
31676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31677 (eval "$ac_link") 2>conftest.er1
31679 grep -v '^ *+' conftest.er1 >conftest.err
31681 cat conftest.err >&5
31682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31683 (exit $ac_status); } && {
31684 test -z "$ac_c_werror_flag" ||
31685 test ! -s conftest.err
31686 } && test -s conftest$ac_exeext &&
31687 $as_test_x conftest$ac_exeext; then
31688 ac_cv_lib_Sgm_SgCreateList=yes
31690 echo "$as_me: failed program was:" >&5
31691 sed 's/^/| /' conftest.$ac_ext >&5
31693 ac_cv_lib_Sgm_SgCreateList=no
31696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31697 conftest$ac_exeext conftest.$ac_ext
31698 LIBS=$ac_check_lib_save_LIBS
31700 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31701 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31702 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31703 libsgm_link=" -lSgm"
31707 save_CFLAGS=$CFLAGS
31708 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31710 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31711 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31712 if test "${wx_cv_lib_motif2+set}" = set; then
31713 echo $ECHO_N "(cached) $ECHO_C" >&6
31715 cat >conftest.$ac_ext <<_ACEOF
31718 cat confdefs.h >>conftest.$ac_ext
31719 cat >>conftest.$ac_ext <<_ACEOF
31720 /* end confdefs.h. */
31728 #if XmVersion < 2000
31736 rm -f conftest.$ac_objext
31737 if { (ac_try="$ac_compile"
31738 case "(($ac_try" in
31739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31740 *) ac_try_echo=$ac_try;;
31742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31743 (eval "$ac_compile") 2>conftest.er1
31745 grep -v '^ *+' conftest.er1 >conftest.err
31747 cat conftest.err >&5
31748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31749 (exit $ac_status); } && {
31750 test -z "$ac_c_werror_flag" ||
31751 test ! -s conftest.err
31752 } && test -s conftest.$ac_objext; then
31753 wx_cv_lib_motif2="yes"
31755 echo "$as_me: failed program was:" >&5
31756 sed 's/^/| /' conftest.$ac_ext >&5
31758 wx_cv_lib_motif2="no"
31761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31763 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31764 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31765 if test "$wx_cv_lib_motif2" = "yes"; then
31766 cat >>confdefs.h <<\_ACEOF
31767 #define __WXMOTIF20__ 1
31771 cat >>confdefs.h <<\_ACEOF
31772 #define __WXMOTIF20__ 0
31777 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31778 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31779 if test "${wx_cv_lib_lesstif+set}" = set; then
31780 echo $ECHO_N "(cached) $ECHO_C" >&6
31782 cat >conftest.$ac_ext <<_ACEOF
31785 cat confdefs.h >>conftest.$ac_ext
31786 cat >>conftest.$ac_ext <<_ACEOF
31787 /* end confdefs.h. */
31795 #if !defined(LesstifVersion) || LesstifVersion <= 0
31803 rm -f conftest.$ac_objext
31804 if { (ac_try="$ac_compile"
31805 case "(($ac_try" in
31806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31807 *) ac_try_echo=$ac_try;;
31809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31810 (eval "$ac_compile") 2>conftest.er1
31812 grep -v '^ *+' conftest.er1 >conftest.err
31814 cat conftest.err >&5
31815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31816 (exit $ac_status); } && {
31817 test -z "$ac_c_werror_flag" ||
31818 test ! -s conftest.err
31819 } && test -s conftest.$ac_objext; then
31820 wx_cv_lib_lesstif="yes"
31822 echo "$as_me: failed program was:" >&5
31823 sed 's/^/| /' conftest.$ac_ext >&5
31825 wx_cv_lib_lesstif="no"
31828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31831 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31832 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31833 if test "$wx_cv_lib_lesstif" = "yes"; then
31834 cat >>confdefs.h <<\_ACEOF
31835 #define __WXLESSTIF__ 1
31839 cat >>confdefs.h <<\_ACEOF
31840 #define __WXLESSTIF__ 0
31845 CFLAGS=$save_CFLAGS
31847 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31852 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31853 if test "$wxUSE_LIBXPM" = "sys"; then
31854 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31855 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31858 for ac_dir in $SEARCH_LIB;
31860 for ac_extension in a so sl dylib dll.a; do
31861 if test -f "$ac_dir/libXpm.$ac_extension"; then
31862 ac_find_libraries=$ac_dir
31868 if test "$ac_find_libraries" != "" ; then
31870 if test "$ac_find_libraries" = "default location"; then
31873 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31875 if test $result = 0; then
31878 ac_path_to_link=" -L$ac_find_libraries"
31882 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31883 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31884 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31886 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31887 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31888 if test "${wx_cv_x11_xpm_h+set}" = set; then
31889 echo $ECHO_N "(cached) $ECHO_C" >&6
31892 save_CFLAGS=$CFLAGS
31893 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31895 cat >conftest.$ac_ext <<_ACEOF
31898 cat confdefs.h >>conftest.$ac_ext
31899 cat >>conftest.$ac_ext <<_ACEOF
31900 /* end confdefs.h. */
31902 #include <X11/xpm.h>
31909 version = XpmLibraryVersion();
31915 rm -f conftest.$ac_objext
31916 if { (ac_try="$ac_compile"
31917 case "(($ac_try" in
31918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31919 *) ac_try_echo=$ac_try;;
31921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31922 (eval "$ac_compile") 2>conftest.er1
31924 grep -v '^ *+' conftest.er1 >conftest.err
31926 cat conftest.err >&5
31927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31928 (exit $ac_status); } && {
31929 test -z "$ac_c_werror_flag" ||
31930 test ! -s conftest.err
31931 } && test -s conftest.$ac_objext; then
31932 wx_cv_x11_xpm_h=yes
31934 echo "$as_me: failed program was:" >&5
31935 sed 's/^/| /' conftest.$ac_ext >&5
31941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31943 CFLAGS=$save_CFLAGS
31947 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31948 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31950 if test $wx_cv_x11_xpm_h = "yes"; then
31951 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31952 cat >>confdefs.h <<\_ACEOF
31953 #define wxHAVE_LIB_XPM 1
31957 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31958 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31964 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31965 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31966 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31967 echo $ECHO_N "(cached) $ECHO_C" >&6
31969 ac_check_lib_save_LIBS=$LIBS
31970 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31971 cat >conftest.$ac_ext <<_ACEOF
31974 cat confdefs.h >>conftest.$ac_ext
31975 cat >>conftest.$ac_ext <<_ACEOF
31976 /* end confdefs.h. */
31978 /* Override any GCC internal prototype to avoid an error.
31979 Use char because int might match the return type of a GCC
31980 builtin and then its argument prototype would still apply. */
31984 char XShapeQueryExtension ();
31988 return XShapeQueryExtension ();
31993 rm -f conftest.$ac_objext conftest$ac_exeext
31994 if { (ac_try="$ac_link"
31995 case "(($ac_try" in
31996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31997 *) ac_try_echo=$ac_try;;
31999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32000 (eval "$ac_link") 2>conftest.er1
32002 grep -v '^ *+' conftest.er1 >conftest.err
32004 cat conftest.err >&5
32005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32006 (exit $ac_status); } && {
32007 test -z "$ac_c_werror_flag" ||
32008 test ! -s conftest.err
32009 } && test -s conftest$ac_exeext &&
32010 $as_test_x conftest$ac_exeext; then
32011 ac_cv_lib_Xext_XShapeQueryExtension=yes
32013 echo "$as_me: failed program was:" >&5
32014 sed 's/^/| /' conftest.$ac_ext >&5
32016 ac_cv_lib_Xext_XShapeQueryExtension=no
32019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32020 conftest$ac_exeext conftest.$ac_ext
32021 LIBS=$ac_check_lib_save_LIBS
32023 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32024 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32025 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32027 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32033 if test "$wxHAVE_XEXT_LIB" = 1; then
32034 save_CFLAGS="$CFLAGS"
32035 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32037 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32038 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32039 cat >conftest.$ac_ext <<_ACEOF
32042 cat confdefs.h >>conftest.$ac_ext
32043 cat >>conftest.$ac_ext <<_ACEOF
32044 /* end confdefs.h. */
32046 #include <X11/Xlib.h>
32047 #include <X11/extensions/shape.h>
32053 int dummy1, dummy2;
32054 XShapeQueryExtension((Display*)NULL,
32055 (int*)NULL, (int*)NULL);
32061 rm -f conftest.$ac_objext
32062 if { (ac_try="$ac_compile"
32063 case "(($ac_try" in
32064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32065 *) ac_try_echo=$ac_try;;
32067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32068 (eval "$ac_compile") 2>conftest.er1
32070 grep -v '^ *+' conftest.er1 >conftest.err
32072 cat conftest.err >&5
32073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32074 (exit $ac_status); } && {
32075 test -z "$ac_c_werror_flag" ||
32076 test ! -s conftest.err
32077 } && test -s conftest.$ac_objext; then
32079 cat >>confdefs.h <<\_ACEOF
32080 #define HAVE_XSHAPE 1
32083 { echo "$as_me:$LINENO: result: found" >&5
32084 echo "${ECHO_T}found" >&6; }
32087 echo "$as_me: failed program was:" >&5
32088 sed 's/^/| /' conftest.$ac_ext >&5
32091 { echo "$as_me:$LINENO: result: not found" >&5
32092 echo "${ECHO_T}not found" >&6; }
32096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32097 CFLAGS="$save_CFLAGS"
32102 if test "$wxUSE_MAC" = 1; then
32103 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32104 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32105 if test "$GCC" = yes; then
32106 { echo "$as_me:$LINENO: result: gcc" >&5
32107 echo "${ECHO_T}gcc" >&6; }
32108 CPPFLAGS_PASCAL="-fpascal-strings"
32109 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32110 { echo "$as_me:$LINENO: result: xlc" >&5
32111 echo "${ECHO_T}xlc" >&6; }
32112 CPPFLAGS_PASCAL="-qmacpstr"
32114 { echo "$as_me:$LINENO: result: none" >&5
32115 echo "${ECHO_T}none" >&6; }
32118 if test "x$wxUSE_UNIX" = "xyes"; then
32119 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32121 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32126 WXBASEPORT="_carbon"
32129 if test "$wxUSE_COCOA" = 1; then
32134 if test "$wxUSE_PM" = 1; then
32137 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32138 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32139 if test "${wx_cv_spbcdata+set}" = set; then
32140 echo $ECHO_N "(cached) $ECHO_C" >&6
32143 cat >conftest.$ac_ext <<_ACEOF
32146 cat confdefs.h >>conftest.$ac_ext
32147 cat >>conftest.$ac_ext <<_ACEOF
32148 /* end confdefs.h. */
32163 rm -f conftest.$ac_objext
32164 if { (ac_try="$ac_compile"
32165 case "(($ac_try" in
32166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32167 *) ac_try_echo=$ac_try;;
32169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32170 (eval "$ac_compile") 2>conftest.er1
32172 grep -v '^ *+' conftest.er1 >conftest.err
32174 cat conftest.err >&5
32175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32176 (exit $ac_status); } && {
32177 test -z "$ac_c_werror_flag" ||
32178 test ! -s conftest.err
32179 } && test -s conftest.$ac_objext; then
32182 echo "$as_me: failed program was:" >&5
32183 sed 's/^/| /' conftest.$ac_ext >&5
32189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32193 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32194 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32196 if test $wx_cv_spbcdata = "yes"; then
32197 cat >>confdefs.h <<\_ACEOF
32198 #define HAVE_SPBCDATA 1
32204 if test "$TOOLKIT" = "PM" ; then
32207 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32210 if test "$wxUSE_UNIVERSAL" = "yes"; then
32211 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32215 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32216 DISTDIR="wx\$(TOOLKIT)"
32222 if test "$USE_WIN32" = 1 ; then
32226 GUIDIST="BASE_DIST"
32232 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32233 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32234 wxUSE_UNICODE_UTF8=yes
32235 elif test "$USE_OS2" = 1 ; then
32236 wxUSE_UNICODE_UTF8=yes
32238 wxUSE_UNICODE_UTF8=no
32243 if test "$wxUSE_GUI" = "yes"; then
32244 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32246 for ac_header in X11/Xlib.h
32248 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32249 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32251 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32252 echo $ECHO_N "(cached) $ECHO_C" >&6
32254 cat >conftest.$ac_ext <<_ACEOF
32257 cat confdefs.h >>conftest.$ac_ext
32258 cat >>conftest.$ac_ext <<_ACEOF
32259 /* end confdefs.h. */
32262 #include <$ac_header>
32264 rm -f conftest.$ac_objext
32265 if { (ac_try="$ac_compile"
32266 case "(($ac_try" in
32267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32268 *) ac_try_echo=$ac_try;;
32270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32271 (eval "$ac_compile") 2>conftest.er1
32273 grep -v '^ *+' conftest.er1 >conftest.err
32275 cat conftest.err >&5
32276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32277 (exit $ac_status); } && {
32278 test -z "$ac_c_werror_flag" ||
32279 test ! -s conftest.err
32280 } && test -s conftest.$ac_objext; then
32281 eval "$as_ac_Header=yes"
32283 echo "$as_me: failed program was:" >&5
32284 sed 's/^/| /' conftest.$ac_ext >&5
32286 eval "$as_ac_Header=no"
32289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32291 ac_res=`eval echo '${'$as_ac_Header'}'`
32292 { echo "$as_me:$LINENO: result: $ac_res" >&5
32293 echo "${ECHO_T}$ac_res" >&6; }
32294 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32295 cat >>confdefs.h <<_ACEOF
32296 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32304 for ac_header in X11/XKBlib.h
32306 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32307 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32309 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32310 echo $ECHO_N "(cached) $ECHO_C" >&6
32312 cat >conftest.$ac_ext <<_ACEOF
32315 cat confdefs.h >>conftest.$ac_ext
32316 cat >>conftest.$ac_ext <<_ACEOF
32317 /* end confdefs.h. */
32319 #if HAVE_X11_XLIB_H
32320 #include <X11/Xlib.h>
32324 #include <$ac_header>
32326 rm -f conftest.$ac_objext
32327 if { (ac_try="$ac_compile"
32328 case "(($ac_try" in
32329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32330 *) ac_try_echo=$ac_try;;
32332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32333 (eval "$ac_compile") 2>conftest.er1
32335 grep -v '^ *+' conftest.er1 >conftest.err
32337 cat conftest.err >&5
32338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32339 (exit $ac_status); } && {
32340 test -z "$ac_c_werror_flag" ||
32341 test ! -s conftest.err
32342 } && test -s conftest.$ac_objext; then
32343 eval "$as_ac_Header=yes"
32345 echo "$as_me: failed program was:" >&5
32346 sed 's/^/| /' conftest.$ac_ext >&5
32348 eval "$as_ac_Header=no"
32351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32353 ac_res=`eval echo '${'$as_ac_Header'}'`
32354 { echo "$as_me:$LINENO: result: $ac_res" >&5
32355 echo "${ECHO_T}$ac_res" >&6; }
32356 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32357 cat >>confdefs.h <<_ACEOF
32358 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32370 if test "$wxUSE_DISPLAY" = "yes"; then
32371 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32372 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32373 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32376 for ac_dir in $SEARCH_LIB;
32378 for ac_extension in a so sl dylib dll.a; do
32379 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32380 ac_find_libraries=$ac_dir
32386 if test "$ac_find_libraries" != "" ; then
32388 if test "$ac_find_libraries" = "default location"; then
32391 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32393 if test $result = 0; then
32396 ac_path_to_link=" -L$ac_find_libraries"
32400 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32401 LDFLAGS="$LDFLAGS $ac_path_to_link"
32403 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32404 { echo "$as_me:$LINENO: result: yes" >&5
32405 echo "${ECHO_T}yes" >&6; }
32407 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32408 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32411 for ac_dir in $SEARCH_LIB;
32413 for ac_extension in a so sl dylib dll.a; do
32414 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32415 ac_find_libraries=$ac_dir
32421 if test "$ac_find_libraries" != "" ; then
32422 { echo "$as_me:$LINENO: result: yes" >&5
32423 echo "${ECHO_T}yes" >&6; }
32425 for ac_header in X11/extensions/xf86vmode.h
32427 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32428 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32430 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32431 echo $ECHO_N "(cached) $ECHO_C" >&6
32433 cat >conftest.$ac_ext <<_ACEOF
32436 cat confdefs.h >>conftest.$ac_ext
32437 cat >>conftest.$ac_ext <<_ACEOF
32438 /* end confdefs.h. */
32440 #if HAVE_X11_XLIB_H
32441 #include <X11/Xlib.h>
32445 #include <$ac_header>
32447 rm -f conftest.$ac_objext
32448 if { (ac_try="$ac_compile"
32449 case "(($ac_try" in
32450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32451 *) ac_try_echo=$ac_try;;
32453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32454 (eval "$ac_compile") 2>conftest.er1
32456 grep -v '^ *+' conftest.er1 >conftest.err
32458 cat conftest.err >&5
32459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32460 (exit $ac_status); } && {
32461 test -z "$ac_c_werror_flag" ||
32462 test ! -s conftest.err
32463 } && test -s conftest.$ac_objext; then
32464 eval "$as_ac_Header=yes"
32466 echo "$as_me: failed program was:" >&5
32467 sed 's/^/| /' conftest.$ac_ext >&5
32469 eval "$as_ac_Header=no"
32472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32474 ac_res=`eval echo '${'$as_ac_Header'}'`
32475 { echo "$as_me:$LINENO: result: $ac_res" >&5
32476 echo "${ECHO_T}$ac_res" >&6; }
32477 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32478 cat >>confdefs.h <<_ACEOF
32479 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32482 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32489 { echo "$as_me:$LINENO: result: no" >&5
32490 echo "${ECHO_T}no" >&6; }
32494 { echo "$as_me:$LINENO: result: no" >&5
32495 echo "${ECHO_T}no" >&6; }
32496 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32497 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32500 elif test "$wxUSE_MSW" = 1; then
32501 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32502 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32503 if test "${ac_cv_header_ddraw_h+set}" = set; then
32504 echo $ECHO_N "(cached) $ECHO_C" >&6
32506 cat >conftest.$ac_ext <<_ACEOF
32509 cat confdefs.h >>conftest.$ac_ext
32510 cat >>conftest.$ac_ext <<_ACEOF
32511 /* end confdefs.h. */
32512 #include <windows.h>
32516 rm -f conftest.$ac_objext
32517 if { (ac_try="$ac_compile"
32518 case "(($ac_try" in
32519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32520 *) ac_try_echo=$ac_try;;
32522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32523 (eval "$ac_compile") 2>conftest.er1
32525 grep -v '^ *+' conftest.er1 >conftest.err
32527 cat conftest.err >&5
32528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32529 (exit $ac_status); } && {
32530 test -z "$ac_c_werror_flag" ||
32531 test ! -s conftest.err
32532 } && test -s conftest.$ac_objext; then
32533 ac_cv_header_ddraw_h=yes
32535 echo "$as_me: failed program was:" >&5
32536 sed 's/^/| /' conftest.$ac_ext >&5
32538 ac_cv_header_ddraw_h=no
32541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32543 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32544 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32550 if test "$wxUSE_DETECT_SM" = "yes"; then
32551 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32552 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32553 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32556 for ac_dir in $SEARCH_LIB;
32558 for ac_extension in a so sl dylib dll.a; do
32559 if test -f "$ac_dir/libSM.$ac_extension"; then
32560 ac_find_libraries=$ac_dir
32566 if test "$ac_find_libraries" != "" ; then
32568 if test "$ac_find_libraries" = "default location"; then
32571 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32573 if test $result = 0; then
32576 ac_path_to_link=" -L$ac_find_libraries"
32580 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32581 LDFLAGS="$LDFLAGS $ac_path_to_link"
32583 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32584 { echo "$as_me:$LINENO: result: yes" >&5
32585 echo "${ECHO_T}yes" >&6; }
32587 { echo "$as_me:$LINENO: result: no" >&5
32588 echo "${ECHO_T}no" >&6; }
32589 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32590 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32591 wxUSE_DETECT_SM="no"
32594 wxUSE_DETECT_SM="no"
32601 if test "$wxUSE_OPENGL" = "yes"; then
32602 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32603 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32604 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32606 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32607 OPENGL_LIBS="-framework OpenGL -framework AGL"
32608 elif test "$wxUSE_MSW" = 1; then
32609 OPENGL_LIBS="-lopengl32 -lglu32"
32611 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32612 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32615 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32617 if test -f "$ac_dir/GL/gl.h"; then
32618 ac_find_includes=$ac_dir
32623 if test "$ac_find_includes" != "" ; then
32624 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32625 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32627 if test "x$ac_find_includes" = "x/usr/include"; then
32628 ac_path_to_include=""
32630 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32632 if test $result = 0; then
32633 ac_path_to_include=""
32635 ac_path_to_include=" -I$ac_find_includes"
32639 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32641 { echo "$as_me:$LINENO: result: not found" >&5
32642 echo "${ECHO_T}not found" >&6; }
32645 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32646 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32647 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32648 echo $ECHO_N "(cached) $ECHO_C" >&6
32650 cat >conftest.$ac_ext <<_ACEOF
32653 cat confdefs.h >>conftest.$ac_ext
32654 cat >>conftest.$ac_ext <<_ACEOF
32655 /* end confdefs.h. */
32660 rm -f conftest.$ac_objext
32661 if { (ac_try="$ac_compile"
32662 case "(($ac_try" in
32663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32664 *) ac_try_echo=$ac_try;;
32666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32667 (eval "$ac_compile") 2>conftest.er1
32669 grep -v '^ *+' conftest.er1 >conftest.err
32671 cat conftest.err >&5
32672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32673 (exit $ac_status); } && {
32674 test -z "$ac_c_werror_flag" ||
32675 test ! -s conftest.err
32676 } && test -s conftest.$ac_objext; then
32677 ac_cv_header_GL_gl_h=yes
32679 echo "$as_me: failed program was:" >&5
32680 sed 's/^/| /' conftest.$ac_ext >&5
32682 ac_cv_header_GL_gl_h=no
32685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32687 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32688 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32689 if test $ac_cv_header_GL_gl_h = yes; then
32691 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32692 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32693 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32694 echo $ECHO_N "(cached) $ECHO_C" >&6
32696 cat >conftest.$ac_ext <<_ACEOF
32699 cat confdefs.h >>conftest.$ac_ext
32700 cat >>conftest.$ac_ext <<_ACEOF
32701 /* end confdefs.h. */
32704 #include <GL/glu.h>
32706 rm -f conftest.$ac_objext
32707 if { (ac_try="$ac_compile"
32708 case "(($ac_try" in
32709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32710 *) ac_try_echo=$ac_try;;
32712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32713 (eval "$ac_compile") 2>conftest.er1
32715 grep -v '^ *+' conftest.er1 >conftest.err
32717 cat conftest.err >&5
32718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32719 (exit $ac_status); } && {
32720 test -z "$ac_c_werror_flag" ||
32721 test ! -s conftest.err
32722 } && test -s conftest.$ac_objext; then
32723 ac_cv_header_GL_glu_h=yes
32725 echo "$as_me: failed program was:" >&5
32726 sed 's/^/| /' conftest.$ac_ext >&5
32728 ac_cv_header_GL_glu_h=no
32731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32733 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32734 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32735 if test $ac_cv_header_GL_glu_h = yes; then
32739 { echo "$as_me:$LINENO: checking for -lGL" >&5
32740 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32743 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32745 for ac_extension in a so sl dylib dll.a; do
32746 if test -f "$ac_dir/libGL.$ac_extension"; then
32747 ac_find_libraries=$ac_dir
32753 if test "$ac_find_libraries" != "" ; then
32754 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32755 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32758 if test "$ac_find_libraries" = "default location"; then
32761 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32763 if test $result = 0; then
32766 ac_path_to_link=" -L$ac_find_libraries"
32770 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32771 LDFLAGS_GL="$ac_path_to_link"
32774 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32775 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32778 for ac_dir in $SEARCH_LIB;
32780 for ac_extension in a so sl dylib dll.a; do
32781 if test -f "$ac_dir/libGLU.$ac_extension"; then
32782 ac_find_libraries=$ac_dir
32788 if test "$ac_find_libraries" != "" ; then
32790 if test "$ac_find_libraries" = "default location"; then
32793 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32795 if test $result = 0; then
32798 ac_path_to_link=" -L$ac_find_libraries"
32802 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32803 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32804 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32808 OPENGL_LIBS="-lGL -lGLU"
32809 { echo "$as_me:$LINENO: result: yes" >&5
32810 echo "${ECHO_T}yes" >&6; }
32812 { echo "$as_me:$LINENO: result: no" >&5
32813 echo "${ECHO_T}no" >&6; }
32816 { echo "$as_me:$LINENO: result: no" >&5
32817 echo "${ECHO_T}no" >&6; }
32820 if test "$found_gl" != 1; then
32821 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32822 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32825 for ac_dir in $SEARCH_LIB;
32827 for ac_extension in a so sl dylib dll.a; do
32828 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32829 ac_find_libraries=$ac_dir
32835 if test "$ac_find_libraries" != "" ; then
32837 if test "$ac_find_libraries" = "default location"; then
32840 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32842 if test $result = 0; then
32845 ac_path_to_link=" -L$ac_find_libraries"
32849 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32850 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32851 { echo "$as_me:$LINENO: result: yes" >&5
32852 echo "${ECHO_T}yes" >&6; }
32854 { echo "$as_me:$LINENO: result: no" >&5
32855 echo "${ECHO_T}no" >&6; }
32867 if test "x$OPENGL_LIBS" = "x"; then
32868 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32869 echo "$as_me: error: OpenGL libraries not available" >&2;}
32870 { (exit 1); exit 1; }; }
32874 if test "$wxUSE_OPENGL" = "yes"; then
32876 cat >>confdefs.h <<\_ACEOF
32877 #define wxUSE_OPENGL 1
32880 cat >>confdefs.h <<\_ACEOF
32881 #define wxUSE_GLCANVAS 1
32884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32889 if test -n "$TOOLKIT" ; then
32890 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32895 if test "$wxUSE_SHARED" = "yes"; then
32899 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32900 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32905 if test "$wxUSE_SHARED" = "yes"; then
32909 *-*-cygwin* | *-*-mingw* )
32910 wx_cv_version_script=no
32914 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32915 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32916 if test "${wx_cv_version_script+set}" = set; then
32917 echo $ECHO_N "(cached) $ECHO_C" >&6
32920 echo "VER_1 { *; };" >conftest.sym
32921 echo "int main() { return 0; }" >conftest.cpp
32924 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32925 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32927 (eval $ac_try) 2>&5
32929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32930 (exit $ac_status); }; } ; then
32931 if test -s conftest.stderr ; then
32932 wx_cv_version_script=no
32934 wx_cv_version_script=yes
32937 wx_cv_version_script=no
32940 if test $wx_cv_version_script = yes
32942 echo "struct B { virtual ~B() { } }; \
32943 struct D : public B { }; \
32944 void F() { D d; }" > conftest.cpp
32947 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32948 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32950 (eval $ac_try) 2>&5
32952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32953 (exit $ac_status); }; } &&
32955 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32956 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32958 (eval $ac_try) 2>&5
32960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32961 (exit $ac_status); }; }
32964 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32965 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32967 (eval $ac_try) 2>&5
32969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32970 (exit $ac_status); }; }
32972 wx_cv_version_script=yes
32974 wx_cv_version_script=no
32979 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32980 rm -f conftest1.output conftest2.output conftest3.output
32983 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32984 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32986 if test $wx_cv_version_script = yes ; then
32987 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32993 if test "$wxUSE_VISIBILITY" != "no"; then
32996 if test -n "$GCC"; then
32997 CFLAGS_VISIBILITY="-fvisibility=hidden"
32998 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
32999 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33000 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33001 if test "${wx_cv_cc_visibility+set}" = set; then
33002 echo $ECHO_N "(cached) $ECHO_C" >&6
33005 wx_save_CXXFLAGS="$CXXFLAGS"
33006 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33008 ac_cpp='$CXXCPP $CPPFLAGS'
33009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33013 cat >conftest.$ac_ext <<_ACEOF
33016 cat confdefs.h >>conftest.$ac_ext
33017 cat >>conftest.$ac_ext <<_ACEOF
33018 /* end confdefs.h. */
33020 /* we need gcc >= 4.0, older versions with visibility support
33021 didn't have class visibility: */
33022 #if defined(__GNUC__) && __GNUC__ < 4
33023 error this gcc is too old;
33026 /* visibility only makes sense for ELF shared libs: */
33027 #if !defined(__ELF__) && !defined(__APPLE__)
33028 error this platform has no visibility;
33031 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33032 extern __attribute__((__visibility__("default"))) int exportedvar;
33033 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33034 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33035 class __attribute__((__visibility__("default"))) Foo {
33047 rm -f conftest.$ac_objext
33048 if { (ac_try="$ac_compile"
33049 case "(($ac_try" in
33050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33051 *) ac_try_echo=$ac_try;;
33053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33054 (eval "$ac_compile") 2>conftest.er1
33056 grep -v '^ *+' conftest.er1 >conftest.err
33058 cat conftest.err >&5
33059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33060 (exit $ac_status); } && {
33061 test -z "$ac_cxx_werror_flag" ||
33062 test ! -s conftest.err
33063 } && test -s conftest.$ac_objext; then
33064 wx_cv_cc_visibility=yes
33066 echo "$as_me: failed program was:" >&5
33067 sed 's/^/| /' conftest.$ac_ext >&5
33069 wx_cv_cc_visibility=no
33072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33074 ac_cpp='$CPP $CPPFLAGS'
33075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33079 CXXFLAGS="$wx_save_CXXFLAGS"
33082 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33083 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33084 if test $wx_cv_cc_visibility = yes; then
33085 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33086 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33087 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33088 echo $ECHO_N "(cached) $ECHO_C" >&6
33091 wx_save_CXXFLAGS="$CXXFLAGS"
33092 wx_save_LDFLAGS="$LDFLAGS"
33093 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33094 LDFLAGS="$LDFLAGS -shared -fPIC"
33096 ac_cpp='$CXXCPP $CPPFLAGS'
33097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33101 cat >conftest.$ac_ext <<_ACEOF
33104 cat confdefs.h >>conftest.$ac_ext
33105 cat >>conftest.$ac_ext <<_ACEOF
33106 /* end confdefs.h. */
33114 std::string s("hello");
33121 rm -f conftest.$ac_objext conftest$ac_exeext
33122 if { (ac_try="$ac_link"
33123 case "(($ac_try" in
33124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33125 *) ac_try_echo=$ac_try;;
33127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33128 (eval "$ac_link") 2>conftest.er1
33130 grep -v '^ *+' conftest.er1 >conftest.err
33132 cat conftest.err >&5
33133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33134 (exit $ac_status); } && {
33135 test -z "$ac_cxx_werror_flag" ||
33136 test ! -s conftest.err
33137 } && test -s conftest$ac_exeext &&
33138 $as_test_x conftest$ac_exeext; then
33139 wx_cv_cc_broken_libstdcxx_visibility=no
33141 echo "$as_me: failed program was:" >&5
33142 sed 's/^/| /' conftest.$ac_ext >&5
33144 wx_cv_cc_broken_libstdcxx_visibility=yes
33147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33148 conftest$ac_exeext conftest.$ac_ext
33150 ac_cpp='$CPP $CPPFLAGS'
33151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33155 CXXFLAGS="$wx_save_CXXFLAGS"
33156 LDFLAGS="$wx_save_LDFLAGS"
33159 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33160 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33162 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33163 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33164 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33165 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33166 echo $ECHO_N "(cached) $ECHO_C" >&6
33170 ac_cpp='$CXXCPP $CPPFLAGS'
33171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33175 cat >conftest.$ac_ext <<_ACEOF
33178 cat confdefs.h >>conftest.$ac_ext
33179 cat >>conftest.$ac_ext <<_ACEOF
33180 /* end confdefs.h. */
33182 #pragma GCC visibility push(default)
33184 #pragma GCC visibility pop
33190 std::string s("hello");
33197 rm -f conftest.$ac_objext conftest$ac_exeext
33198 if { (ac_try="$ac_link"
33199 case "(($ac_try" in
33200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33201 *) ac_try_echo=$ac_try;;
33203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33204 (eval "$ac_link") 2>conftest.er1
33206 grep -v '^ *+' conftest.er1 >conftest.err
33208 cat conftest.err >&5
33209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33210 (exit $ac_status); } && {
33211 test -z "$ac_cxx_werror_flag" ||
33212 test ! -s conftest.err
33213 } && test -s conftest$ac_exeext &&
33214 $as_test_x conftest$ac_exeext; then
33215 wx_cv_cc_visibility_workaround=no
33217 echo "$as_me: failed program was:" >&5
33218 sed 's/^/| /' conftest.$ac_ext >&5
33220 wx_cv_cc_visibility_workaround=yes
33223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33224 conftest$ac_exeext conftest.$ac_ext
33226 ac_cpp='$CPP $CPPFLAGS'
33227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33234 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33235 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33237 if test $wx_cv_cc_visibility_workaround = no; then
33238 wx_cv_cc_visibility=no
33243 if test $wx_cv_cc_visibility = yes; then
33244 cat >>confdefs.h <<\_ACEOF
33245 #define HAVE_VISIBILITY 1
33248 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33249 cat >>confdefs.h <<\_ACEOF
33250 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33255 CFLAGS_VISIBILITY=""
33256 CXXFLAGS_VISIBILITY=""
33264 if test "x$SUNCXX" = xyes; then
33265 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33266 WXCONFIG_RPATH="-R\$libdir"
33269 *-*-linux* | *-*-gnu* )
33270 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33271 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33276 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33278 saveLdflags="$LDFLAGS"
33279 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33280 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33281 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33282 cat >conftest.$ac_ext <<_ACEOF
33285 cat confdefs.h >>conftest.$ac_ext
33286 cat >>conftest.$ac_ext <<_ACEOF
33287 /* end confdefs.h. */
33297 rm -f conftest.$ac_objext conftest$ac_exeext
33298 if { (ac_try="$ac_link"
33299 case "(($ac_try" in
33300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33301 *) ac_try_echo=$ac_try;;
33303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33304 (eval "$ac_link") 2>conftest.er1
33306 grep -v '^ *+' conftest.er1 >conftest.err
33308 cat conftest.err >&5
33309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33310 (exit $ac_status); } && {
33311 test -z "$ac_c_werror_flag" ||
33312 test ! -s conftest.err
33313 } && test -s conftest$ac_exeext &&
33314 $as_test_x conftest$ac_exeext; then
33316 { echo "$as_me:$LINENO: result: yes" >&5
33317 echo "${ECHO_T}yes" >&6; }
33318 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33319 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33322 echo "$as_me: failed program was:" >&5
33323 sed 's/^/| /' conftest.$ac_ext >&5
33326 { echo "$as_me:$LINENO: result: no" >&5
33327 echo "${ECHO_T}no" >&6; }
33328 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33329 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33330 LDFLAGS="$saveLdflags -Wl,-R,/"
33331 cat >conftest.$ac_ext <<_ACEOF
33334 cat confdefs.h >>conftest.$ac_ext
33335 cat >>conftest.$ac_ext <<_ACEOF
33336 /* end confdefs.h. */
33346 rm -f conftest.$ac_objext conftest$ac_exeext
33347 if { (ac_try="$ac_link"
33348 case "(($ac_try" in
33349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33350 *) ac_try_echo=$ac_try;;
33352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33353 (eval "$ac_link") 2>conftest.er1
33355 grep -v '^ *+' conftest.er1 >conftest.err
33357 cat conftest.err >&5
33358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33359 (exit $ac_status); } && {
33360 test -z "$ac_c_werror_flag" ||
33361 test ! -s conftest.err
33362 } && test -s conftest$ac_exeext &&
33363 $as_test_x conftest$ac_exeext; then
33365 { echo "$as_me:$LINENO: result: yes" >&5
33366 echo "${ECHO_T}yes" >&6; }
33367 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33368 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33371 echo "$as_me: failed program was:" >&5
33372 sed 's/^/| /' conftest.$ac_ext >&5
33375 { echo "$as_me:$LINENO: result: no" >&5
33376 echo "${ECHO_T}no" >&6; }
33380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33381 conftest$ac_exeext conftest.$ac_ext
33385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33386 conftest$ac_exeext conftest.$ac_ext
33387 LDFLAGS="$saveLdflags"
33391 install_name_tool=`which install_name_tool`
33392 if test "$install_name_tool" -a -x "$install_name_tool"; then
33393 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33394 cat <<EOF >change-install-names
33396 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33397 inst_cmd="install_name_tool "
33398 for i in \${libnames} ; do
33399 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33403 chmod +x change-install-names
33407 *-*-cygwin* | *-*-mingw32* )
33411 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33412 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33418 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33420 if test $wxUSE_RPATH = "no"; then
33421 SAMPLES_RPATH_FLAG=''
33422 SAMPLES_RPATH_POSTLINK=''
33430 config_linkage_component="-static"
33437 lib_unicode_suffix=
33439 if test "$wxUSE_UNICODE" = "yes"; then
33440 lib_unicode_suffix=u
33441 WX_CHARTYPE="unicode"
33446 WX_DEBUGTYPE="release"
33448 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33450 WX_DEBUGTYPE="debug"
33454 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33455 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33458 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33462 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33464 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33466 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33468 if test "$cross_compiling" = "yes"; then
33469 HOST_SUFFIX="-$host_alias"
33470 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33471 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33474 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33475 if test "${TOOLKIT_DIR}" = "os2"; then
33476 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33478 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33483 if test "$wxUSE_COCOA" = 1; then
33486 ac_cpp='$CPP $CPPFLAGS'
33487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33493 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33494 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33495 cat >conftest.$ac_ext <<_ACEOF
33498 cat confdefs.h >>conftest.$ac_ext
33499 cat >>conftest.$ac_ext <<_ACEOF
33500 /* end confdefs.h. */
33501 #include <AppKit/NSEvent.h>
33502 #include <CoreFoundation/CoreFoundation.h>
33512 rm -f conftest.$ac_objext
33513 if { (ac_try="$ac_compile"
33514 case "(($ac_try" in
33515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33516 *) ac_try_echo=$ac_try;;
33518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33519 (eval "$ac_compile") 2>conftest.er1
33521 grep -v '^ *+' conftest.er1 >conftest.err
33523 cat conftest.err >&5
33524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33525 (exit $ac_status); } && {
33526 test -z "$ac_c_werror_flag" ||
33527 test ! -s conftest.err
33528 } && test -s conftest.$ac_objext; then
33529 { echo "$as_me:$LINENO: result: no" >&5
33530 echo "${ECHO_T}no" >&6; }
33532 echo "$as_me: failed program was:" >&5
33533 sed 's/^/| /' conftest.$ac_ext >&5
33535 { echo "$as_me:$LINENO: result: yes" >&5
33536 echo "${ECHO_T}yes" >&6; }
33537 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33538 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33539 cat >conftest.$ac_ext <<_ACEOF
33542 cat confdefs.h >>conftest.$ac_ext
33543 cat >>conftest.$ac_ext <<_ACEOF
33544 /* end confdefs.h. */
33545 #define __Point__ 1
33546 #include <AppKit/NSEvent.h>
33547 #include <CoreFoundation/CoreFoundation.h>
33557 rm -f conftest.$ac_objext
33558 if { (ac_try="$ac_compile"
33559 case "(($ac_try" in
33560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33561 *) ac_try_echo=$ac_try;;
33563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33564 (eval "$ac_compile") 2>conftest.er1
33566 grep -v '^ *+' conftest.er1 >conftest.err
33568 cat conftest.err >&5
33569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33570 (exit $ac_status); } && {
33571 test -z "$ac_c_werror_flag" ||
33572 test ! -s conftest.err
33573 } && test -s conftest.$ac_objext; then
33574 { echo "$as_me:$LINENO: result: yes" >&5
33575 echo "${ECHO_T}yes" >&6; }
33576 cat >>confdefs.h <<\_ACEOF
33577 #define __Point__ 1
33582 echo "$as_me: failed program was:" >&5
33583 sed 's/^/| /' conftest.$ac_ext >&5
33585 { { echo "$as_me:$LINENO: error: no
33586 See \`config.log' for more details." >&5
33587 echo "$as_me: error: no
33588 See \`config.log' for more details." >&2;}
33589 { (exit 1); exit 1; }; }
33593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33599 ac_cpp='$CPP $CPPFLAGS'
33600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33607 { echo "$as_me:$LINENO: checking for mode_t" >&5
33608 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33609 if test "${ac_cv_type_mode_t+set}" = set; then
33610 echo $ECHO_N "(cached) $ECHO_C" >&6
33612 cat >conftest.$ac_ext <<_ACEOF
33615 cat confdefs.h >>conftest.$ac_ext
33616 cat >>conftest.$ac_ext <<_ACEOF
33617 /* end confdefs.h. */
33618 $ac_includes_default
33619 typedef mode_t ac__type_new_;
33623 if ((ac__type_new_ *) 0)
33625 if (sizeof (ac__type_new_))
33631 rm -f conftest.$ac_objext
33632 if { (ac_try="$ac_compile"
33633 case "(($ac_try" in
33634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33635 *) ac_try_echo=$ac_try;;
33637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33638 (eval "$ac_compile") 2>conftest.er1
33640 grep -v '^ *+' conftest.er1 >conftest.err
33642 cat conftest.err >&5
33643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33644 (exit $ac_status); } && {
33645 test -z "$ac_c_werror_flag" ||
33646 test ! -s conftest.err
33647 } && test -s conftest.$ac_objext; then
33648 ac_cv_type_mode_t=yes
33650 echo "$as_me: failed program was:" >&5
33651 sed 's/^/| /' conftest.$ac_ext >&5
33653 ac_cv_type_mode_t=no
33656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33658 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33659 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33660 if test $ac_cv_type_mode_t = yes; then
33664 cat >>confdefs.h <<_ACEOF
33670 { echo "$as_me:$LINENO: checking for off_t" >&5
33671 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33672 if test "${ac_cv_type_off_t+set}" = set; then
33673 echo $ECHO_N "(cached) $ECHO_C" >&6
33675 cat >conftest.$ac_ext <<_ACEOF
33678 cat confdefs.h >>conftest.$ac_ext
33679 cat >>conftest.$ac_ext <<_ACEOF
33680 /* end confdefs.h. */
33681 $ac_includes_default
33682 typedef off_t ac__type_new_;
33686 if ((ac__type_new_ *) 0)
33688 if (sizeof (ac__type_new_))
33694 rm -f conftest.$ac_objext
33695 if { (ac_try="$ac_compile"
33696 case "(($ac_try" in
33697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33698 *) ac_try_echo=$ac_try;;
33700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33701 (eval "$ac_compile") 2>conftest.er1
33703 grep -v '^ *+' conftest.er1 >conftest.err
33705 cat conftest.err >&5
33706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33707 (exit $ac_status); } && {
33708 test -z "$ac_c_werror_flag" ||
33709 test ! -s conftest.err
33710 } && test -s conftest.$ac_objext; then
33711 ac_cv_type_off_t=yes
33713 echo "$as_me: failed program was:" >&5
33714 sed 's/^/| /' conftest.$ac_ext >&5
33716 ac_cv_type_off_t=no
33719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33721 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33722 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33723 if test $ac_cv_type_off_t = yes; then
33727 cat >>confdefs.h <<_ACEOF
33728 #define off_t long int
33733 { echo "$as_me:$LINENO: checking for pid_t" >&5
33734 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33735 if test "${ac_cv_type_pid_t+set}" = set; then
33736 echo $ECHO_N "(cached) $ECHO_C" >&6
33738 cat >conftest.$ac_ext <<_ACEOF
33741 cat confdefs.h >>conftest.$ac_ext
33742 cat >>conftest.$ac_ext <<_ACEOF
33743 /* end confdefs.h. */
33744 $ac_includes_default
33745 typedef pid_t ac__type_new_;
33749 if ((ac__type_new_ *) 0)
33751 if (sizeof (ac__type_new_))
33757 rm -f conftest.$ac_objext
33758 if { (ac_try="$ac_compile"
33759 case "(($ac_try" in
33760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33761 *) ac_try_echo=$ac_try;;
33763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33764 (eval "$ac_compile") 2>conftest.er1
33766 grep -v '^ *+' conftest.er1 >conftest.err
33768 cat conftest.err >&5
33769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33770 (exit $ac_status); } && {
33771 test -z "$ac_c_werror_flag" ||
33772 test ! -s conftest.err
33773 } && test -s conftest.$ac_objext; then
33774 ac_cv_type_pid_t=yes
33776 echo "$as_me: failed program was:" >&5
33777 sed 's/^/| /' conftest.$ac_ext >&5
33779 ac_cv_type_pid_t=no
33782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33784 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33785 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33786 if test $ac_cv_type_pid_t = yes; then
33790 cat >>confdefs.h <<_ACEOF
33796 { echo "$as_me:$LINENO: checking for size_t" >&5
33797 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33798 if test "${ac_cv_type_size_t+set}" = set; then
33799 echo $ECHO_N "(cached) $ECHO_C" >&6
33801 cat >conftest.$ac_ext <<_ACEOF
33804 cat confdefs.h >>conftest.$ac_ext
33805 cat >>conftest.$ac_ext <<_ACEOF
33806 /* end confdefs.h. */
33807 $ac_includes_default
33808 typedef size_t ac__type_new_;
33812 if ((ac__type_new_ *) 0)
33814 if (sizeof (ac__type_new_))
33820 rm -f conftest.$ac_objext
33821 if { (ac_try="$ac_compile"
33822 case "(($ac_try" in
33823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33824 *) ac_try_echo=$ac_try;;
33826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33827 (eval "$ac_compile") 2>conftest.er1
33829 grep -v '^ *+' conftest.er1 >conftest.err
33831 cat conftest.err >&5
33832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33833 (exit $ac_status); } && {
33834 test -z "$ac_c_werror_flag" ||
33835 test ! -s conftest.err
33836 } && test -s conftest.$ac_objext; then
33837 ac_cv_type_size_t=yes
33839 echo "$as_me: failed program was:" >&5
33840 sed 's/^/| /' conftest.$ac_ext >&5
33842 ac_cv_type_size_t=no
33845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33847 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33848 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33849 if test $ac_cv_type_size_t = yes; then
33853 cat >>confdefs.h <<_ACEOF
33854 #define size_t unsigned int
33860 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33861 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33862 if test "${ac_cv_type_ssize_t+set}" = set; then
33863 echo $ECHO_N "(cached) $ECHO_C" >&6
33865 cat >conftest.$ac_ext <<_ACEOF
33868 cat confdefs.h >>conftest.$ac_ext
33869 cat >>conftest.$ac_ext <<_ACEOF
33870 /* end confdefs.h. */
33871 $ac_includes_default
33872 typedef ssize_t ac__type_new_;
33876 if ((ac__type_new_ *) 0)
33878 if (sizeof (ac__type_new_))
33884 rm -f conftest.$ac_objext
33885 if { (ac_try="$ac_compile"
33886 case "(($ac_try" in
33887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33888 *) ac_try_echo=$ac_try;;
33890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33891 (eval "$ac_compile") 2>conftest.er1
33893 grep -v '^ *+' conftest.er1 >conftest.err
33895 cat conftest.err >&5
33896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33897 (exit $ac_status); } && {
33898 test -z "$ac_c_werror_flag" ||
33899 test ! -s conftest.err
33900 } && test -s conftest.$ac_objext; then
33901 ac_cv_type_ssize_t=yes
33903 echo "$as_me: failed program was:" >&5
33904 sed 's/^/| /' conftest.$ac_ext >&5
33906 ac_cv_type_ssize_t=no
33909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33911 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33912 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33913 if test $ac_cv_type_ssize_t = yes; then
33915 cat >>confdefs.h <<_ACEOF
33916 #define HAVE_SSIZE_T 1
33924 ac_cpp='$CXXCPP $CPPFLAGS'
33925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33928 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33929 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33930 if test "${wx_cv_size_t_is_uint+set}" = set; then
33931 echo $ECHO_N "(cached) $ECHO_C" >&6
33934 cat >conftest.$ac_ext <<_ACEOF
33937 cat confdefs.h >>conftest.$ac_ext
33938 cat >>conftest.$ac_ext <<_ACEOF
33939 /* end confdefs.h. */
33940 #include <stddef.h>
33947 struct Foo { void foo(size_t); void foo(unsigned int); };
33955 rm -f conftest.$ac_objext
33956 if { (ac_try="$ac_compile"
33957 case "(($ac_try" in
33958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33959 *) ac_try_echo=$ac_try;;
33961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33962 (eval "$ac_compile") 2>conftest.er1
33964 grep -v '^ *+' conftest.er1 >conftest.err
33966 cat conftest.err >&5
33967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33968 (exit $ac_status); } && {
33969 test -z "$ac_cxx_werror_flag" ||
33970 test ! -s conftest.err
33971 } && test -s conftest.$ac_objext; then
33972 wx_cv_size_t_is_uint=no
33974 echo "$as_me: failed program was:" >&5
33975 sed 's/^/| /' conftest.$ac_ext >&5
33977 wx_cv_size_t_is_uint=yes
33981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33985 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33986 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33988 if test "$wx_cv_size_t_is_uint" = "yes"; then
33989 cat >>confdefs.h <<\_ACEOF
33990 #define wxSIZE_T_IS_UINT 1
33994 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33995 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33996 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33997 echo $ECHO_N "(cached) $ECHO_C" >&6
33999 cat >conftest.$ac_ext <<_ACEOF
34002 cat confdefs.h >>conftest.$ac_ext
34003 cat >>conftest.$ac_ext <<_ACEOF
34004 /* end confdefs.h. */
34005 #include <stddef.h>
34012 struct Foo { void foo(size_t); void foo(unsigned long); };
34020 rm -f conftest.$ac_objext
34021 if { (ac_try="$ac_compile"
34022 case "(($ac_try" in
34023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34024 *) ac_try_echo=$ac_try;;
34026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34027 (eval "$ac_compile") 2>conftest.er1
34029 grep -v '^ *+' conftest.er1 >conftest.err
34031 cat conftest.err >&5
34032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34033 (exit $ac_status); } && {
34034 test -z "$ac_cxx_werror_flag" ||
34035 test ! -s conftest.err
34036 } && test -s conftest.$ac_objext; then
34037 wx_cv_size_t_is_ulong=no
34039 echo "$as_me: failed program was:" >&5
34040 sed 's/^/| /' conftest.$ac_ext >&5
34042 wx_cv_size_t_is_ulong=yes
34046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34049 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34050 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34052 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34053 cat >>confdefs.h <<\_ACEOF
34054 #define wxSIZE_T_IS_ULONG 1
34060 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34061 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34062 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34063 echo $ECHO_N "(cached) $ECHO_C" >&6
34065 cat >conftest.$ac_ext <<_ACEOF
34068 cat confdefs.h >>conftest.$ac_ext
34069 cat >>conftest.$ac_ext <<_ACEOF
34070 /* end confdefs.h. */
34078 struct Foo { void foo(wchar_t);
34079 void foo(unsigned short);
34080 void foo(unsigned int);
34081 void foo(unsigned long); };
34089 rm -f conftest.$ac_objext
34090 if { (ac_try="$ac_compile"
34091 case "(($ac_try" in
34092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34093 *) ac_try_echo=$ac_try;;
34095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34096 (eval "$ac_compile") 2>conftest.er1
34098 grep -v '^ *+' conftest.er1 >conftest.err
34100 cat conftest.err >&5
34101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34102 (exit $ac_status); } && {
34103 test -z "$ac_cxx_werror_flag" ||
34104 test ! -s conftest.err
34105 } && test -s conftest.$ac_objext; then
34106 wx_cv_wchar_t_is_separate_type=yes
34108 echo "$as_me: failed program was:" >&5
34109 sed 's/^/| /' conftest.$ac_ext >&5
34111 wx_cv_wchar_t_is_separate_type=no
34115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34118 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34119 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34121 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34122 cat >>confdefs.h <<\_ACEOF
34123 #define wxWCHAR_T_IS_REAL_TYPE 1
34127 cat >>confdefs.h <<\_ACEOF
34128 #define wxWCHAR_T_IS_REAL_TYPE 0
34134 ac_cpp='$CPP $CPPFLAGS'
34135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34140 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34141 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34142 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34143 echo $ECHO_N "(cached) $ECHO_C" >&6
34146 cat >conftest.$ac_ext <<_ACEOF
34149 cat confdefs.h >>conftest.$ac_ext
34150 cat >>conftest.$ac_ext <<_ACEOF
34151 /* end confdefs.h. */
34165 rm -f conftest.$ac_objext
34166 if { (ac_try="$ac_compile"
34167 case "(($ac_try" in
34168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34169 *) ac_try_echo=$ac_try;;
34171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34172 (eval "$ac_compile") 2>conftest.er1
34174 grep -v '^ *+' conftest.er1 >conftest.err
34176 cat conftest.err >&5
34177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34178 (exit $ac_status); } && {
34179 test -z "$ac_c_werror_flag" ||
34180 test ! -s conftest.err
34181 } && test -s conftest.$ac_objext; then
34183 wx_cv_struct_pw_gecos=yes
34186 echo "$as_me: failed program was:" >&5
34187 sed 's/^/| /' conftest.$ac_ext >&5
34190 wx_cv_struct_pw_gecos=no
34195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34199 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34200 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34202 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34203 cat >>confdefs.h <<\_ACEOF
34204 #define HAVE_PW_GECOS 1
34210 if test "$wxUSE_WCHAR_T" = "yes"; then
34211 cat >>confdefs.h <<\_ACEOF
34212 #define wxUSE_WCHAR_T 1
34219 for ac_func in wcslen
34221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34222 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34224 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34225 echo $ECHO_N "(cached) $ECHO_C" >&6
34227 cat >conftest.$ac_ext <<_ACEOF
34230 cat confdefs.h >>conftest.$ac_ext
34231 cat >>conftest.$ac_ext <<_ACEOF
34232 /* end confdefs.h. */
34233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34235 #define $ac_func innocuous_$ac_func
34237 /* System header to define __stub macros and hopefully few prototypes,
34238 which can conflict with char $ac_func (); below.
34239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34240 <limits.h> exists even on freestanding compilers. */
34243 # include <limits.h>
34245 # include <assert.h>
34250 /* Override any GCC internal prototype to avoid an error.
34251 Use char because int might match the return type of a GCC
34252 builtin and then its argument prototype would still apply. */
34257 /* The GNU C library defines this for functions which it implements
34258 to always fail with ENOSYS. Some functions are actually named
34259 something starting with __ and the normal name is an alias. */
34260 #if defined __stub_$ac_func || defined __stub___$ac_func
34267 return $ac_func ();
34272 rm -f conftest.$ac_objext conftest$ac_exeext
34273 if { (ac_try="$ac_link"
34274 case "(($ac_try" in
34275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34276 *) ac_try_echo=$ac_try;;
34278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34279 (eval "$ac_link") 2>conftest.er1
34281 grep -v '^ *+' conftest.er1 >conftest.err
34283 cat conftest.err >&5
34284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34285 (exit $ac_status); } && {
34286 test -z "$ac_c_werror_flag" ||
34287 test ! -s conftest.err
34288 } && test -s conftest$ac_exeext &&
34289 $as_test_x conftest$ac_exeext; then
34290 eval "$as_ac_var=yes"
34292 echo "$as_me: failed program was:" >&5
34293 sed 's/^/| /' conftest.$ac_ext >&5
34295 eval "$as_ac_var=no"
34298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34299 conftest$ac_exeext conftest.$ac_ext
34301 ac_res=`eval echo '${'$as_ac_var'}'`
34302 { echo "$as_me:$LINENO: result: $ac_res" >&5
34303 echo "${ECHO_T}$ac_res" >&6; }
34304 if test `eval echo '${'$as_ac_var'}'` = yes; then
34305 cat >>confdefs.h <<_ACEOF
34306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34313 if test "$WCSLEN_FOUND" = 0; then
34314 if test "$TOOLKIT" = "MSW"; then
34315 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34316 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34317 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34318 echo $ECHO_N "(cached) $ECHO_C" >&6
34320 ac_check_lib_save_LIBS=$LIBS
34321 LIBS="-lmsvcrt $LIBS"
34322 cat >conftest.$ac_ext <<_ACEOF
34325 cat confdefs.h >>conftest.$ac_ext
34326 cat >>conftest.$ac_ext <<_ACEOF
34327 /* end confdefs.h. */
34329 /* Override any GCC internal prototype to avoid an error.
34330 Use char because int might match the return type of a GCC
34331 builtin and then its argument prototype would still apply. */
34344 rm -f conftest.$ac_objext conftest$ac_exeext
34345 if { (ac_try="$ac_link"
34346 case "(($ac_try" in
34347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34348 *) ac_try_echo=$ac_try;;
34350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34351 (eval "$ac_link") 2>conftest.er1
34353 grep -v '^ *+' conftest.er1 >conftest.err
34355 cat conftest.err >&5
34356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34357 (exit $ac_status); } && {
34358 test -z "$ac_c_werror_flag" ||
34359 test ! -s conftest.err
34360 } && test -s conftest$ac_exeext &&
34361 $as_test_x conftest$ac_exeext; then
34362 ac_cv_lib_msvcrt_wcslen=yes
34364 echo "$as_me: failed program was:" >&5
34365 sed 's/^/| /' conftest.$ac_ext >&5
34367 ac_cv_lib_msvcrt_wcslen=no
34370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34371 conftest$ac_exeext conftest.$ac_ext
34372 LIBS=$ac_check_lib_save_LIBS
34374 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34375 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34376 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34381 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34382 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34383 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34384 echo $ECHO_N "(cached) $ECHO_C" >&6
34386 ac_check_lib_save_LIBS=$LIBS
34388 cat >conftest.$ac_ext <<_ACEOF
34391 cat confdefs.h >>conftest.$ac_ext
34392 cat >>conftest.$ac_ext <<_ACEOF
34393 /* end confdefs.h. */
34395 /* Override any GCC internal prototype to avoid an error.
34396 Use char because int might match the return type of a GCC
34397 builtin and then its argument prototype would still apply. */
34410 rm -f conftest.$ac_objext conftest$ac_exeext
34411 if { (ac_try="$ac_link"
34412 case "(($ac_try" in
34413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34414 *) ac_try_echo=$ac_try;;
34416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34417 (eval "$ac_link") 2>conftest.er1
34419 grep -v '^ *+' conftest.er1 >conftest.err
34421 cat conftest.err >&5
34422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34423 (exit $ac_status); } && {
34424 test -z "$ac_c_werror_flag" ||
34425 test ! -s conftest.err
34426 } && test -s conftest$ac_exeext &&
34427 $as_test_x conftest$ac_exeext; then
34428 ac_cv_lib_w_wcslen=yes
34430 echo "$as_me: failed program was:" >&5
34431 sed 's/^/| /' conftest.$ac_ext >&5
34433 ac_cv_lib_w_wcslen=no
34436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34437 conftest$ac_exeext conftest.$ac_ext
34438 LIBS=$ac_check_lib_save_LIBS
34440 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34441 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34442 if test $ac_cv_lib_w_wcslen = yes; then
34452 if test "$WCSLEN_FOUND" = 1; then
34453 cat >>confdefs.h <<\_ACEOF
34454 #define HAVE_WCSLEN 1
34460 for ac_func in wcsdup
34462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34463 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34465 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34466 echo $ECHO_N "(cached) $ECHO_C" >&6
34468 cat >conftest.$ac_ext <<_ACEOF
34471 cat confdefs.h >>conftest.$ac_ext
34472 cat >>conftest.$ac_ext <<_ACEOF
34473 /* end confdefs.h. */
34474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34476 #define $ac_func innocuous_$ac_func
34478 /* System header to define __stub macros and hopefully few prototypes,
34479 which can conflict with char $ac_func (); below.
34480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34481 <limits.h> exists even on freestanding compilers. */
34484 # include <limits.h>
34486 # include <assert.h>
34491 /* Override any GCC internal prototype to avoid an error.
34492 Use char because int might match the return type of a GCC
34493 builtin and then its argument prototype would still apply. */
34498 /* The GNU C library defines this for functions which it implements
34499 to always fail with ENOSYS. Some functions are actually named
34500 something starting with __ and the normal name is an alias. */
34501 #if defined __stub_$ac_func || defined __stub___$ac_func
34508 return $ac_func ();
34513 rm -f conftest.$ac_objext conftest$ac_exeext
34514 if { (ac_try="$ac_link"
34515 case "(($ac_try" in
34516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34517 *) ac_try_echo=$ac_try;;
34519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34520 (eval "$ac_link") 2>conftest.er1
34522 grep -v '^ *+' conftest.er1 >conftest.err
34524 cat conftest.err >&5
34525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34526 (exit $ac_status); } && {
34527 test -z "$ac_c_werror_flag" ||
34528 test ! -s conftest.err
34529 } && test -s conftest$ac_exeext &&
34530 $as_test_x conftest$ac_exeext; then
34531 eval "$as_ac_var=yes"
34533 echo "$as_me: failed program was:" >&5
34534 sed 's/^/| /' conftest.$ac_ext >&5
34536 eval "$as_ac_var=no"
34539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34540 conftest$ac_exeext conftest.$ac_ext
34542 ac_res=`eval echo '${'$as_ac_var'}'`
34543 { echo "$as_me:$LINENO: result: $ac_res" >&5
34544 echo "${ECHO_T}$ac_res" >&6; }
34545 if test `eval echo '${'$as_ac_var'}'` = yes; then
34546 cat >>confdefs.h <<_ACEOF
34547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34554 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34555 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34558 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34559 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34560 if test "${ac_cv_type_mbstate_t+set}" = set; then
34561 echo $ECHO_N "(cached) $ECHO_C" >&6
34563 cat >conftest.$ac_ext <<_ACEOF
34566 cat confdefs.h >>conftest.$ac_ext
34567 cat >>conftest.$ac_ext <<_ACEOF
34568 /* end confdefs.h. */
34571 typedef mbstate_t ac__type_new_;
34575 if ((ac__type_new_ *) 0)
34577 if (sizeof (ac__type_new_))
34583 rm -f conftest.$ac_objext
34584 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
34600 ac_cv_type_mbstate_t=yes
34602 echo "$as_me: failed program was:" >&5
34603 sed 's/^/| /' conftest.$ac_ext >&5
34605 ac_cv_type_mbstate_t=no
34608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34610 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34611 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34612 if test $ac_cv_type_mbstate_t = yes; then
34614 cat >>confdefs.h <<_ACEOF
34615 #define HAVE_MBSTATE_T 1
34619 for ac_func in wcsrtombs
34621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34622 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34624 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34625 echo $ECHO_N "(cached) $ECHO_C" >&6
34627 cat >conftest.$ac_ext <<_ACEOF
34630 cat confdefs.h >>conftest.$ac_ext
34631 cat >>conftest.$ac_ext <<_ACEOF
34632 /* end confdefs.h. */
34633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34635 #define $ac_func innocuous_$ac_func
34637 /* System header to define __stub macros and hopefully few prototypes,
34638 which can conflict with char $ac_func (); below.
34639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34640 <limits.h> exists even on freestanding compilers. */
34643 # include <limits.h>
34645 # include <assert.h>
34650 /* Override any GCC internal prototype to avoid an error.
34651 Use char because int might match the return type of a GCC
34652 builtin and then its argument prototype would still apply. */
34657 /* The GNU C library defines this for functions which it implements
34658 to always fail with ENOSYS. Some functions are actually named
34659 something starting with __ and the normal name is an alias. */
34660 #if defined __stub_$ac_func || defined __stub___$ac_func
34667 return $ac_func ();
34672 rm -f conftest.$ac_objext conftest$ac_exeext
34673 if { (ac_try="$ac_link"
34674 case "(($ac_try" in
34675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34676 *) ac_try_echo=$ac_try;;
34678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34679 (eval "$ac_link") 2>conftest.er1
34681 grep -v '^ *+' conftest.er1 >conftest.err
34683 cat conftest.err >&5
34684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34685 (exit $ac_status); } && {
34686 test -z "$ac_c_werror_flag" ||
34687 test ! -s conftest.err
34688 } && test -s conftest$ac_exeext &&
34689 $as_test_x conftest$ac_exeext; then
34690 eval "$as_ac_var=yes"
34692 echo "$as_me: failed program was:" >&5
34693 sed 's/^/| /' conftest.$ac_ext >&5
34695 eval "$as_ac_var=no"
34698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34699 conftest$ac_exeext conftest.$ac_ext
34701 ac_res=`eval echo '${'$as_ac_var'}'`
34702 { echo "$as_me:$LINENO: result: $ac_res" >&5
34703 echo "${ECHO_T}$ac_res" >&6; }
34704 if test `eval echo '${'$as_ac_var'}'` = yes; then
34705 cat >>confdefs.h <<_ACEOF
34706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34715 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34716 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34721 for ac_func in snprintf vsnprintf
34723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34724 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34726 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34727 echo $ECHO_N "(cached) $ECHO_C" >&6
34729 cat >conftest.$ac_ext <<_ACEOF
34732 cat confdefs.h >>conftest.$ac_ext
34733 cat >>conftest.$ac_ext <<_ACEOF
34734 /* end confdefs.h. */
34735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34737 #define $ac_func innocuous_$ac_func
34739 /* System header to define __stub macros and hopefully few prototypes,
34740 which can conflict with char $ac_func (); below.
34741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34742 <limits.h> exists even on freestanding compilers. */
34745 # include <limits.h>
34747 # include <assert.h>
34752 /* Override any GCC internal prototype to avoid an error.
34753 Use char because int might match the return type of a GCC
34754 builtin and then its argument prototype would still apply. */
34759 /* The GNU C library defines this for functions which it implements
34760 to always fail with ENOSYS. Some functions are actually named
34761 something starting with __ and the normal name is an alias. */
34762 #if defined __stub_$ac_func || defined __stub___$ac_func
34769 return $ac_func ();
34774 rm -f conftest.$ac_objext conftest$ac_exeext
34775 if { (ac_try="$ac_link"
34776 case "(($ac_try" in
34777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34778 *) ac_try_echo=$ac_try;;
34780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34781 (eval "$ac_link") 2>conftest.er1
34783 grep -v '^ *+' conftest.er1 >conftest.err
34785 cat conftest.err >&5
34786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787 (exit $ac_status); } && {
34788 test -z "$ac_c_werror_flag" ||
34789 test ! -s conftest.err
34790 } && test -s conftest$ac_exeext &&
34791 $as_test_x conftest$ac_exeext; then
34792 eval "$as_ac_var=yes"
34794 echo "$as_me: failed program was:" >&5
34795 sed 's/^/| /' conftest.$ac_ext >&5
34797 eval "$as_ac_var=no"
34800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34801 conftest$ac_exeext conftest.$ac_ext
34803 ac_res=`eval echo '${'$as_ac_var'}'`
34804 { echo "$as_me:$LINENO: result: $ac_res" >&5
34805 echo "${ECHO_T}$ac_res" >&6; }
34806 if test `eval echo '${'$as_ac_var'}'` = yes; then
34807 cat >>confdefs.h <<_ACEOF
34808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34815 if test "$ac_cv_func_vsnprintf" = "yes"; then
34816 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34817 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34818 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34819 echo $ECHO_N "(cached) $ECHO_C" >&6
34822 cat >conftest.$ac_ext <<_ACEOF
34825 cat confdefs.h >>conftest.$ac_ext
34826 cat >>conftest.$ac_ext <<_ACEOF
34827 /* end confdefs.h. */
34830 #include <stdarg.h>
34832 #if __MSL__ >= 0x6000
34834 using namespace std;
34844 vsnprintf(buf, 10u, "%s", ap);
34850 rm -f conftest.$ac_objext
34851 if { (ac_try="$ac_compile"
34852 case "(($ac_try" in
34853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34854 *) ac_try_echo=$ac_try;;
34856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34857 (eval "$ac_compile") 2>conftest.er1
34859 grep -v '^ *+' conftest.er1 >conftest.err
34861 cat conftest.err >&5
34862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34863 (exit $ac_status); } && {
34864 test -z "$ac_c_werror_flag" ||
34865 test ! -s conftest.err
34866 } && test -s conftest.$ac_objext; then
34867 wx_cv_func_vsnprintf_decl=yes
34869 echo "$as_me: failed program was:" >&5
34870 sed 's/^/| /' conftest.$ac_ext >&5
34872 wx_cv_func_vsnprintf_decl=no
34876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34880 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34881 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34883 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34884 cat >>confdefs.h <<\_ACEOF
34885 #define HAVE_VSNPRINTF_DECL 1
34889 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34890 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34891 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34892 echo $ECHO_N "(cached) $ECHO_C" >&6
34895 cat >conftest.$ac_ext <<_ACEOF
34898 cat confdefs.h >>conftest.$ac_ext
34899 cat >>conftest.$ac_ext <<_ACEOF
34900 /* end confdefs.h. */
34903 #include <stdarg.h>
34905 #if __MSL__ >= 0x6000
34907 using namespace std;
34917 const char *fmt = "%s";
34918 vsnprintf(buf, 10u, fmt, ap);
34924 rm -f conftest.$ac_objext
34925 if { (ac_try="$ac_compile"
34926 case "(($ac_try" in
34927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34928 *) ac_try_echo=$ac_try;;
34930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34931 (eval "$ac_compile") 2>conftest.er1
34933 grep -v '^ *+' conftest.er1 >conftest.err
34935 cat conftest.err >&5
34936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34937 (exit $ac_status); } && {
34938 test -z "$ac_c_werror_flag" ||
34939 test ! -s conftest.err
34940 } && test -s conftest.$ac_objext; then
34941 wx_cv_func_broken_vsnprintf_decl=no
34943 echo "$as_me: failed program was:" >&5
34944 sed 's/^/| /' conftest.$ac_ext >&5
34946 wx_cv_func_broken_vsnprintf_decl=yes
34950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34954 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34955 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34957 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34958 cat >>confdefs.h <<\_ACEOF
34959 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34966 if test "$ac_cv_func_snprintf" = "yes"; then
34967 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34968 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34969 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34970 echo $ECHO_N "(cached) $ECHO_C" >&6
34973 cat >conftest.$ac_ext <<_ACEOF
34976 cat confdefs.h >>conftest.$ac_ext
34977 cat >>conftest.$ac_ext <<_ACEOF
34978 /* end confdefs.h. */
34981 #include <stdarg.h>
34983 #if __MSL__ >= 0x6000
34985 using namespace std;
34994 snprintf(buf, 10u, "%s", "wx");
35000 rm -f conftest.$ac_objext
35001 if { (ac_try="$ac_compile"
35002 case "(($ac_try" in
35003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35004 *) ac_try_echo=$ac_try;;
35006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35007 (eval "$ac_compile") 2>conftest.er1
35009 grep -v '^ *+' conftest.er1 >conftest.err
35011 cat conftest.err >&5
35012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35013 (exit $ac_status); } && {
35014 test -z "$ac_c_werror_flag" ||
35015 test ! -s conftest.err
35016 } && test -s conftest.$ac_objext; then
35017 wx_cv_func_snprintf_decl=yes
35019 echo "$as_me: failed program was:" >&5
35020 sed 's/^/| /' conftest.$ac_ext >&5
35022 wx_cv_func_snprintf_decl=no
35026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35030 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35031 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35033 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35034 cat >>confdefs.h <<\_ACEOF
35035 #define HAVE_SNPRINTF_DECL 1
35040 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35042 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35043 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35044 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35045 echo $ECHO_N "(cached) $ECHO_C" >&6
35048 if test "$cross_compiling" = yes; then
35050 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35051 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35052 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35053 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35054 wx_cv_func_snprintf_pos_params=no
35058 cat >conftest.$ac_ext <<_ACEOF
35061 cat confdefs.h >>conftest.$ac_ext
35062 cat >>conftest.$ac_ext <<_ACEOF
35063 /* end confdefs.h. */
35070 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35071 if (strcmp ("2 3 1", buffer) == 0)
35077 rm -f conftest$ac_exeext
35078 if { (ac_try="$ac_link"
35079 case "(($ac_try" in
35080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35081 *) ac_try_echo=$ac_try;;
35083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35084 (eval "$ac_link") 2>&5
35086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35087 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35088 { (case "(($ac_try" in
35089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35090 *) ac_try_echo=$ac_try;;
35092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35093 (eval "$ac_try") 2>&5
35095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35096 (exit $ac_status); }; }; then
35097 wx_cv_func_snprintf_pos_params=no
35099 echo "$as_me: program exited with status $ac_status" >&5
35100 echo "$as_me: failed program was:" >&5
35101 sed 's/^/| /' conftest.$ac_ext >&5
35103 ( exit $ac_status )
35104 wx_cv_func_snprintf_pos_params=yes
35106 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35113 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35114 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35116 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35117 cat >>confdefs.h <<\_ACEOF
35118 #define HAVE_UNIX98_PRINTF 1
35125 if test "$wxUSE_UNICODE" = yes; then
35127 wchar_headers="#include <stdio.h>
35128 #include <wchar.h>"
35132 for ac_header in widec.h
35134 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35135 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35137 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35138 echo $ECHO_N "(cached) $ECHO_C" >&6
35140 cat >conftest.$ac_ext <<_ACEOF
35143 cat confdefs.h >>conftest.$ac_ext
35144 cat >>conftest.$ac_ext <<_ACEOF
35145 /* end confdefs.h. */
35146 $ac_includes_default
35148 #include <$ac_header>
35150 rm -f conftest.$ac_objext
35151 if { (ac_try="$ac_compile"
35152 case "(($ac_try" in
35153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35154 *) ac_try_echo=$ac_try;;
35156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35157 (eval "$ac_compile") 2>conftest.er1
35159 grep -v '^ *+' conftest.er1 >conftest.err
35161 cat conftest.err >&5
35162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35163 (exit $ac_status); } && {
35164 test -z "$ac_c_werror_flag" ||
35165 test ! -s conftest.err
35166 } && test -s conftest.$ac_objext; then
35167 eval "$as_ac_Header=yes"
35169 echo "$as_me: failed program was:" >&5
35170 sed 's/^/| /' conftest.$ac_ext >&5
35172 eval "$as_ac_Header=no"
35175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35177 ac_res=`eval echo '${'$as_ac_Header'}'`
35178 { echo "$as_me:$LINENO: result: $ac_res" >&5
35179 echo "${ECHO_T}$ac_res" >&6; }
35180 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35181 cat >>confdefs.h <<_ACEOF
35182 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35189 if test "$ac_cv_header_widec_h" = "yes"; then
35190 wchar_headers="$wchar_headers
35191 #include <widec.h>"
35196 for wx_func in putws fputws wprintf vswprintf
35198 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35199 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35200 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35201 echo $ECHO_N "(cached) $ECHO_C" >&6
35204 cat >conftest.$ac_ext <<_ACEOF
35208 cat confdefs.h >>conftest.$ac_ext
35209 cat >>conftest.$ac_ext <<_ACEOF
35210 /* end confdefs.h. */
35213 $ac_includes_default
35229 rm -f conftest.$ac_objext conftest$ac_exeext
35230 if { (ac_try="$ac_link"
35231 case "(($ac_try" in
35232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35233 *) ac_try_echo=$ac_try;;
35235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35236 (eval "$ac_link") 2>conftest.er1
35238 grep -v '^ *+' conftest.er1 >conftest.err
35240 cat conftest.err >&5
35241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35242 (exit $ac_status); } && {
35243 test -z "$ac_c_werror_flag" ||
35244 test ! -s conftest.err
35245 } && test -s conftest$ac_exeext &&
35246 $as_test_x conftest$ac_exeext; then
35247 eval wx_cv_func_$wx_func=yes
35249 echo "$as_me: failed program was:" >&5
35250 sed 's/^/| /' conftest.$ac_ext >&5
35252 eval wx_cv_func_$wx_func=no
35255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35256 conftest$ac_exeext conftest.$ac_ext
35259 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35260 { echo "$as_me:$LINENO: result: $ac_res" >&5
35261 echo "${ECHO_T}$ac_res" >&6; }
35263 if eval test \$wx_cv_func_$wx_func = yes
35265 cat >>confdefs.h <<_ACEOF
35266 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35277 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35278 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35279 cat >conftest.$ac_ext <<_ACEOF
35282 cat confdefs.h >>conftest.$ac_ext
35283 cat >>conftest.$ac_ext <<_ACEOF
35284 /* end confdefs.h. */
35294 rm -f conftest.$ac_objext
35295 if { (ac_try="$ac_compile"
35296 case "(($ac_try" in
35297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35298 *) ac_try_echo=$ac_try;;
35300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35301 (eval "$ac_compile") 2>conftest.er1
35303 grep -v '^ *+' conftest.er1 >conftest.err
35305 cat conftest.err >&5
35306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35307 (exit $ac_status); } && {
35308 test -z "$ac_c_werror_flag" ||
35309 test ! -s conftest.err
35310 } && test -s conftest.$ac_objext; then
35311 { echo "$as_me:$LINENO: result: yes" >&5
35312 echo "${ECHO_T}yes" >&6; }
35313 cat >>confdefs.h <<\_ACEOF
35314 #define HAVE__VSNWPRINTF 1
35318 echo "$as_me: failed program was:" >&5
35319 sed 's/^/| /' conftest.$ac_ext >&5
35321 { echo "$as_me:$LINENO: result: no" >&5
35322 echo "${ECHO_T}no" >&6; }
35325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35328 if test "$wxUSE_FILE" = "yes"; then
35330 for wx_func in fsync
35332 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35333 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35334 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35335 echo $ECHO_N "(cached) $ECHO_C" >&6
35338 cat >conftest.$ac_ext <<_ACEOF
35342 cat confdefs.h >>conftest.$ac_ext
35343 cat >>conftest.$ac_ext <<_ACEOF
35344 /* end confdefs.h. */
35347 $ac_includes_default
35363 rm -f conftest.$ac_objext conftest$ac_exeext
35364 if { (ac_try="$ac_link"
35365 case "(($ac_try" in
35366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35367 *) ac_try_echo=$ac_try;;
35369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35370 (eval "$ac_link") 2>conftest.er1
35372 grep -v '^ *+' conftest.er1 >conftest.err
35374 cat conftest.err >&5
35375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35376 (exit $ac_status); } && {
35377 test -z "$ac_c_werror_flag" ||
35378 test ! -s conftest.err
35379 } && test -s conftest$ac_exeext &&
35380 $as_test_x conftest$ac_exeext; then
35381 eval wx_cv_func_$wx_func=yes
35383 echo "$as_me: failed program was:" >&5
35384 sed 's/^/| /' conftest.$ac_ext >&5
35386 eval wx_cv_func_$wx_func=no
35389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35390 conftest$ac_exeext conftest.$ac_ext
35393 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35394 { echo "$as_me:$LINENO: result: $ac_res" >&5
35395 echo "${ECHO_T}$ac_res" >&6; }
35397 if eval test \$wx_cv_func_$wx_func = yes
35399 cat >>confdefs.h <<_ACEOF
35400 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35413 ac_cpp='$CXXCPP $CPPFLAGS'
35414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35419 for wx_func in round
35421 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35422 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35423 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35424 echo $ECHO_N "(cached) $ECHO_C" >&6
35427 cat >conftest.$ac_ext <<_ACEOF
35431 cat confdefs.h >>conftest.$ac_ext
35432 cat >>conftest.$ac_ext <<_ACEOF
35433 /* end confdefs.h. */
35436 $ac_includes_default
35452 rm -f conftest.$ac_objext conftest$ac_exeext
35453 if { (ac_try="$ac_link"
35454 case "(($ac_try" in
35455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35456 *) ac_try_echo=$ac_try;;
35458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35459 (eval "$ac_link") 2>conftest.er1
35461 grep -v '^ *+' conftest.er1 >conftest.err
35463 cat conftest.err >&5
35464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35465 (exit $ac_status); } && {
35466 test -z "$ac_cxx_werror_flag" ||
35467 test ! -s conftest.err
35468 } && test -s conftest$ac_exeext &&
35469 $as_test_x conftest$ac_exeext; then
35470 eval wx_cv_func_$wx_func=yes
35472 echo "$as_me: failed program was:" >&5
35473 sed 's/^/| /' conftest.$ac_ext >&5
35475 eval wx_cv_func_$wx_func=no
35478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35479 conftest$ac_exeext conftest.$ac_ext
35482 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35483 { echo "$as_me:$LINENO: result: $ac_res" >&5
35484 echo "${ECHO_T}$ac_res" >&6; }
35486 if eval test \$wx_cv_func_$wx_func = yes
35488 cat >>confdefs.h <<_ACEOF
35489 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35500 ac_cpp='$CPP $CPPFLAGS'
35501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35506 if test "$TOOLKIT" != "MSW"; then
35512 # Check whether --with-libiconv-prefix was given.
35513 if test "${with_libiconv_prefix+set}" = set; then
35514 withval=$with_libiconv_prefix;
35515 for dir in `echo "$withval" | tr : ' '`; do
35516 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35517 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35523 { echo "$as_me:$LINENO: checking for iconv" >&5
35524 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35525 if test "${am_cv_func_iconv+set}" = set; then
35526 echo $ECHO_N "(cached) $ECHO_C" >&6
35529 am_cv_func_iconv="no, consider installing GNU libiconv"
35531 cat >conftest.$ac_ext <<_ACEOF
35534 cat confdefs.h >>conftest.$ac_ext
35535 cat >>conftest.$ac_ext <<_ACEOF
35536 /* end confdefs.h. */
35537 #include <stdlib.h>
35542 iconv_t cd = iconv_open("","");
35543 iconv(cd,NULL,NULL,NULL,NULL);
35549 rm -f conftest.$ac_objext conftest$ac_exeext
35550 if { (ac_try="$ac_link"
35551 case "(($ac_try" in
35552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35553 *) ac_try_echo=$ac_try;;
35555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35556 (eval "$ac_link") 2>conftest.er1
35558 grep -v '^ *+' conftest.er1 >conftest.err
35560 cat conftest.err >&5
35561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35562 (exit $ac_status); } && {
35563 test -z "$ac_c_werror_flag" ||
35564 test ! -s conftest.err
35565 } && test -s conftest$ac_exeext &&
35566 $as_test_x conftest$ac_exeext; then
35567 am_cv_func_iconv=yes
35569 echo "$as_me: failed program was:" >&5
35570 sed 's/^/| /' conftest.$ac_ext >&5
35575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35576 conftest$ac_exeext conftest.$ac_ext
35577 if test "$am_cv_func_iconv" != yes; then
35578 am_save_LIBS="$LIBS"
35579 LIBS="$LIBS -liconv"
35580 cat >conftest.$ac_ext <<_ACEOF
35583 cat confdefs.h >>conftest.$ac_ext
35584 cat >>conftest.$ac_ext <<_ACEOF
35585 /* end confdefs.h. */
35586 #include <stdlib.h>
35591 iconv_t cd = iconv_open("","");
35592 iconv(cd,NULL,NULL,NULL,NULL);
35598 rm -f conftest.$ac_objext conftest$ac_exeext
35599 if { (ac_try="$ac_link"
35600 case "(($ac_try" in
35601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35602 *) ac_try_echo=$ac_try;;
35604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35605 (eval "$ac_link") 2>conftest.er1
35607 grep -v '^ *+' conftest.er1 >conftest.err
35609 cat conftest.err >&5
35610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35611 (exit $ac_status); } && {
35612 test -z "$ac_c_werror_flag" ||
35613 test ! -s conftest.err
35614 } && test -s conftest$ac_exeext &&
35615 $as_test_x conftest$ac_exeext; then
35616 am_cv_lib_iconv=yes
35617 am_cv_func_iconv=yes
35619 echo "$as_me: failed program was:" >&5
35620 sed 's/^/| /' conftest.$ac_ext >&5
35625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35626 conftest$ac_exeext conftest.$ac_ext
35627 LIBS="$am_save_LIBS"
35631 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35632 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35633 if test "$am_cv_func_iconv" = yes; then
35635 cat >>confdefs.h <<\_ACEOF
35636 #define HAVE_ICONV 1
35639 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35640 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35641 if test "${wx_cv_func_iconv_const+set}" = set; then
35642 echo $ECHO_N "(cached) $ECHO_C" >&6
35644 cat >conftest.$ac_ext <<_ACEOF
35647 cat confdefs.h >>conftest.$ac_ext
35648 cat >>conftest.$ac_ext <<_ACEOF
35649 /* end confdefs.h. */
35651 #include <stdlib.h>
35657 #if defined(__STDC__) || defined(__cplusplus)
35658 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35671 rm -f conftest.$ac_objext
35672 if { (ac_try="$ac_compile"
35673 case "(($ac_try" in
35674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35675 *) ac_try_echo=$ac_try;;
35677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35678 (eval "$ac_compile") 2>conftest.er1
35680 grep -v '^ *+' conftest.er1 >conftest.err
35682 cat conftest.err >&5
35683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35684 (exit $ac_status); } && {
35685 test -z "$ac_c_werror_flag" ||
35686 test ! -s conftest.err
35687 } && test -s conftest.$ac_objext; then
35688 wx_cv_func_iconv_const="no"
35690 echo "$as_me: failed program was:" >&5
35691 sed 's/^/| /' conftest.$ac_ext >&5
35693 wx_cv_func_iconv_const="yes"
35697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35700 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35701 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35704 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35705 iconv_const="const"
35709 cat >>confdefs.h <<_ACEOF
35710 #define ICONV_CONST $iconv_const
35715 if test "$am_cv_lib_iconv" = yes; then
35720 LIBS="$LIBICONV $LIBS"
35722 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35724 for ac_func in sigaction
35726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35727 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35729 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35730 echo $ECHO_N "(cached) $ECHO_C" >&6
35732 cat >conftest.$ac_ext <<_ACEOF
35735 cat confdefs.h >>conftest.$ac_ext
35736 cat >>conftest.$ac_ext <<_ACEOF
35737 /* end confdefs.h. */
35738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35740 #define $ac_func innocuous_$ac_func
35742 /* System header to define __stub macros and hopefully few prototypes,
35743 which can conflict with char $ac_func (); below.
35744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35745 <limits.h> exists even on freestanding compilers. */
35748 # include <limits.h>
35750 # include <assert.h>
35755 /* Override any GCC internal prototype to avoid an error.
35756 Use char because int might match the return type of a GCC
35757 builtin and then its argument prototype would still apply. */
35762 /* The GNU C library defines this for functions which it implements
35763 to always fail with ENOSYS. Some functions are actually named
35764 something starting with __ and the normal name is an alias. */
35765 #if defined __stub_$ac_func || defined __stub___$ac_func
35772 return $ac_func ();
35777 rm -f conftest.$ac_objext conftest$ac_exeext
35778 if { (ac_try="$ac_link"
35779 case "(($ac_try" in
35780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35781 *) ac_try_echo=$ac_try;;
35783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35784 (eval "$ac_link") 2>conftest.er1
35786 grep -v '^ *+' conftest.er1 >conftest.err
35788 cat conftest.err >&5
35789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35790 (exit $ac_status); } && {
35791 test -z "$ac_c_werror_flag" ||
35792 test ! -s conftest.err
35793 } && test -s conftest$ac_exeext &&
35794 $as_test_x conftest$ac_exeext; then
35795 eval "$as_ac_var=yes"
35797 echo "$as_me: failed program was:" >&5
35798 sed 's/^/| /' conftest.$ac_ext >&5
35800 eval "$as_ac_var=no"
35803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35804 conftest$ac_exeext conftest.$ac_ext
35806 ac_res=`eval echo '${'$as_ac_var'}'`
35807 { echo "$as_me:$LINENO: result: $ac_res" >&5
35808 echo "${ECHO_T}$ac_res" >&6; }
35809 if test `eval echo '${'$as_ac_var'}'` = yes; then
35810 cat >>confdefs.h <<_ACEOF
35811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35818 if test "$ac_cv_func_sigaction" = "no"; then
35819 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35820 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35821 wxUSE_ON_FATAL_EXCEPTION=no
35824 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35825 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35826 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35827 if test "${wx_cv_type_sa_handler+set}" = set; then
35828 echo $ECHO_N "(cached) $ECHO_C" >&6
35832 ac_cpp='$CXXCPP $CPPFLAGS'
35833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35837 cat >conftest.$ac_ext <<_ACEOF
35840 cat confdefs.h >>conftest.$ac_ext
35841 cat >>conftest.$ac_ext <<_ACEOF
35842 /* end confdefs.h. */
35843 #include <signal.h>
35848 extern void testSigHandler(int);
35850 struct sigaction sa;
35851 sa.sa_handler = testSigHandler;
35857 rm -f conftest.$ac_objext
35858 if { (ac_try="$ac_compile"
35859 case "(($ac_try" in
35860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35861 *) ac_try_echo=$ac_try;;
35863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35864 (eval "$ac_compile") 2>conftest.er1
35866 grep -v '^ *+' conftest.er1 >conftest.err
35868 cat conftest.err >&5
35869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35870 (exit $ac_status); } && {
35871 test -z "$ac_cxx_werror_flag" ||
35872 test ! -s conftest.err
35873 } && test -s conftest.$ac_objext; then
35875 wx_cv_type_sa_handler=int
35878 echo "$as_me: failed program was:" >&5
35879 sed 's/^/| /' conftest.$ac_ext >&5
35882 wx_cv_type_sa_handler=void
35886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35888 ac_cpp='$CPP $CPPFLAGS'
35889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35895 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35896 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35898 cat >>confdefs.h <<_ACEOF
35899 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35905 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35906 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35907 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35908 if test "${wx_cv_func_backtrace+set}" = set; then
35909 echo $ECHO_N "(cached) $ECHO_C" >&6
35913 ac_cpp='$CXXCPP $CPPFLAGS'
35914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35918 cat >conftest.$ac_ext <<_ACEOF
35921 cat confdefs.h >>conftest.$ac_ext
35922 cat >>conftest.$ac_ext <<_ACEOF
35923 /* end confdefs.h. */
35924 #include <execinfo.h>
35932 backtrace(trace, 1);
35933 messages = backtrace_symbols(trace, 1);
35939 rm -f conftest.$ac_objext
35940 if { (ac_try="$ac_compile"
35941 case "(($ac_try" in
35942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35943 *) ac_try_echo=$ac_try;;
35945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35946 (eval "$ac_compile") 2>conftest.er1
35948 grep -v '^ *+' conftest.er1 >conftest.err
35950 cat conftest.err >&5
35951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35952 (exit $ac_status); } && {
35953 test -z "$ac_cxx_werror_flag" ||
35954 test ! -s conftest.err
35955 } && test -s conftest.$ac_objext; then
35956 wx_cv_func_backtrace=yes
35958 echo "$as_me: failed program was:" >&5
35959 sed 's/^/| /' conftest.$ac_ext >&5
35961 wx_cv_func_backtrace=no
35965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35967 ac_cpp='$CPP $CPPFLAGS'
35968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35975 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35976 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35979 if test "$wx_cv_func_backtrace" = "no"; then
35980 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35981 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35982 wxUSE_STACKWALKER=no
35984 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35985 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35986 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35987 echo $ECHO_N "(cached) $ECHO_C" >&6
35991 ac_cpp='$CXXCPP $CPPFLAGS'
35992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35996 cat >conftest.$ac_ext <<_ACEOF
35999 cat confdefs.h >>conftest.$ac_ext
36000 cat >>conftest.$ac_ext <<_ACEOF
36001 /* end confdefs.h. */
36002 #include <cxxabi.h>
36008 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36014 rm -f conftest.$ac_objext conftest$ac_exeext
36015 if { (ac_try="$ac_link"
36016 case "(($ac_try" in
36017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36018 *) ac_try_echo=$ac_try;;
36020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36021 (eval "$ac_link") 2>conftest.er1
36023 grep -v '^ *+' conftest.er1 >conftest.err
36025 cat conftest.err >&5
36026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36027 (exit $ac_status); } && {
36028 test -z "$ac_cxx_werror_flag" ||
36029 test ! -s conftest.err
36030 } && test -s conftest$ac_exeext &&
36031 $as_test_x conftest$ac_exeext; then
36032 wx_cv_func_cxa_demangle=yes
36034 echo "$as_me: failed program was:" >&5
36035 sed 's/^/| /' conftest.$ac_ext >&5
36037 wx_cv_func_cxa_demangle=no
36041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36042 conftest$ac_exeext conftest.$ac_ext
36044 ac_cpp='$CPP $CPPFLAGS'
36045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36052 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36053 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36055 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36056 cat >>confdefs.h <<\_ACEOF
36057 #define HAVE_CXA_DEMANGLE 1
36064 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36065 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36066 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36067 wxUSE_STACKWALKER=no
36073 for ac_func in mkstemp mktemp
36075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36076 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36078 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36079 echo $ECHO_N "(cached) $ECHO_C" >&6
36081 cat >conftest.$ac_ext <<_ACEOF
36084 cat confdefs.h >>conftest.$ac_ext
36085 cat >>conftest.$ac_ext <<_ACEOF
36086 /* end confdefs.h. */
36087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36089 #define $ac_func innocuous_$ac_func
36091 /* System header to define __stub macros and hopefully few prototypes,
36092 which can conflict with char $ac_func (); below.
36093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36094 <limits.h> exists even on freestanding compilers. */
36097 # include <limits.h>
36099 # include <assert.h>
36104 /* Override any GCC internal prototype to avoid an error.
36105 Use char because int might match the return type of a GCC
36106 builtin and then its argument prototype would still apply. */
36111 /* The GNU C library defines this for functions which it implements
36112 to always fail with ENOSYS. Some functions are actually named
36113 something starting with __ and the normal name is an alias. */
36114 #if defined __stub_$ac_func || defined __stub___$ac_func
36121 return $ac_func ();
36126 rm -f conftest.$ac_objext conftest$ac_exeext
36127 if { (ac_try="$ac_link"
36128 case "(($ac_try" in
36129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36130 *) ac_try_echo=$ac_try;;
36132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36133 (eval "$ac_link") 2>conftest.er1
36135 grep -v '^ *+' conftest.er1 >conftest.err
36137 cat conftest.err >&5
36138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36139 (exit $ac_status); } && {
36140 test -z "$ac_c_werror_flag" ||
36141 test ! -s conftest.err
36142 } && test -s conftest$ac_exeext &&
36143 $as_test_x conftest$ac_exeext; then
36144 eval "$as_ac_var=yes"
36146 echo "$as_me: failed program was:" >&5
36147 sed 's/^/| /' conftest.$ac_ext >&5
36149 eval "$as_ac_var=no"
36152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36153 conftest$ac_exeext conftest.$ac_ext
36155 ac_res=`eval echo '${'$as_ac_var'}'`
36156 { echo "$as_me:$LINENO: result: $ac_res" >&5
36157 echo "${ECHO_T}$ac_res" >&6; }
36158 if test `eval echo '${'$as_ac_var'}'` = yes; then
36159 cat >>confdefs.h <<_ACEOF
36160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36167 { echo "$as_me:$LINENO: checking for statfs" >&5
36168 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36169 if test "${wx_cv_func_statfs+set}" = set; then
36170 echo $ECHO_N "(cached) $ECHO_C" >&6
36172 cat >conftest.$ac_ext <<_ACEOF
36175 cat confdefs.h >>conftest.$ac_ext
36176 cat >>conftest.$ac_ext <<_ACEOF
36177 /* end confdefs.h. */
36179 #if defined(__BSD__)
36180 #include <sys/param.h>
36181 #include <sys/mount.h>
36183 #include <sys/vfs.h>
36201 rm -f conftest.$ac_objext
36202 if { (ac_try="$ac_compile"
36203 case "(($ac_try" in
36204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36205 *) ac_try_echo=$ac_try;;
36207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36208 (eval "$ac_compile") 2>conftest.er1
36210 grep -v '^ *+' conftest.er1 >conftest.err
36212 cat conftest.err >&5
36213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36214 (exit $ac_status); } && {
36215 test -z "$ac_c_werror_flag" ||
36216 test ! -s conftest.err
36217 } && test -s conftest.$ac_objext; then
36218 wx_cv_func_statfs=yes
36220 echo "$as_me: failed program was:" >&5
36221 sed 's/^/| /' conftest.$ac_ext >&5
36223 wx_cv_func_statfs=no
36227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36230 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36231 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36233 if test "$wx_cv_func_statfs" = "yes"; then
36234 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36235 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36236 if test "${wx_cv_func_statfs_decl+set}" = set; then
36237 echo $ECHO_N "(cached) $ECHO_C" >&6
36240 ac_cpp='$CXXCPP $CPPFLAGS'
36241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36245 cat >conftest.$ac_ext <<_ACEOF
36248 cat confdefs.h >>conftest.$ac_ext
36249 cat >>conftest.$ac_ext <<_ACEOF
36250 /* end confdefs.h. */
36252 #if defined(__BSD__)
36253 #include <sys/param.h>
36254 #include <sys/mount.h>
36256 #include <sys/vfs.h>
36270 rm -f conftest.$ac_objext
36271 if { (ac_try="$ac_compile"
36272 case "(($ac_try" in
36273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36274 *) ac_try_echo=$ac_try;;
36276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36277 (eval "$ac_compile") 2>conftest.er1
36279 grep -v '^ *+' conftest.er1 >conftest.err
36281 cat conftest.err >&5
36282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36283 (exit $ac_status); } && {
36284 test -z "$ac_cxx_werror_flag" ||
36285 test ! -s conftest.err
36286 } && test -s conftest.$ac_objext; then
36287 wx_cv_func_statfs_decl=yes
36289 echo "$as_me: failed program was:" >&5
36290 sed 's/^/| /' conftest.$ac_ext >&5
36292 wx_cv_func_statfs_decl=no
36296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36298 ac_cpp='$CPP $CPPFLAGS'
36299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36305 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36306 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36308 if test "$wx_cv_func_statfs_decl" = "yes"; then
36309 cat >>confdefs.h <<\_ACEOF
36310 #define HAVE_STATFS_DECL 1
36315 wx_cv_type_statvfs_t="struct statfs"
36316 cat >>confdefs.h <<\_ACEOF
36317 #define HAVE_STATFS 1
36321 { echo "$as_me:$LINENO: checking for statvfs" >&5
36322 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36323 if test "${wx_cv_func_statvfs+set}" = set; then
36324 echo $ECHO_N "(cached) $ECHO_C" >&6
36326 cat >conftest.$ac_ext <<_ACEOF
36329 cat confdefs.h >>conftest.$ac_ext
36330 cat >>conftest.$ac_ext <<_ACEOF
36331 /* end confdefs.h. */
36333 #include <stddef.h>
36334 #include <sys/statvfs.h>
36340 statvfs("/", NULL);
36346 rm -f conftest.$ac_objext
36347 if { (ac_try="$ac_compile"
36348 case "(($ac_try" in
36349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36350 *) ac_try_echo=$ac_try;;
36352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36353 (eval "$ac_compile") 2>conftest.er1
36355 grep -v '^ *+' conftest.er1 >conftest.err
36357 cat conftest.err >&5
36358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36359 (exit $ac_status); } && {
36360 test -z "$ac_c_werror_flag" ||
36361 test ! -s conftest.err
36362 } && test -s conftest.$ac_objext; then
36363 wx_cv_func_statvfs=yes
36365 echo "$as_me: failed program was:" >&5
36366 sed 's/^/| /' conftest.$ac_ext >&5
36368 wx_cv_func_statvfs=no
36372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36375 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36376 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36378 if test "$wx_cv_func_statvfs" = "yes"; then
36379 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36380 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36381 if test "${wx_cv_type_statvfs_t+set}" = set; then
36382 echo $ECHO_N "(cached) $ECHO_C" >&6
36385 ac_cpp='$CXXCPP $CPPFLAGS'
36386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36390 cat >conftest.$ac_ext <<_ACEOF
36393 cat confdefs.h >>conftest.$ac_ext
36394 cat >>conftest.$ac_ext <<_ACEOF
36395 /* end confdefs.h. */
36397 #include <sys/statvfs.h>
36414 rm -f conftest.$ac_objext
36415 if { (ac_try="$ac_compile"
36416 case "(($ac_try" in
36417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36418 *) ac_try_echo=$ac_try;;
36420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36421 (eval "$ac_compile") 2>conftest.er1
36423 grep -v '^ *+' conftest.er1 >conftest.err
36425 cat conftest.err >&5
36426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36427 (exit $ac_status); } && {
36428 test -z "$ac_cxx_werror_flag" ||
36429 test ! -s conftest.err
36430 } && test -s conftest.$ac_objext; then
36431 wx_cv_type_statvfs_t=statvfs_t
36433 echo "$as_me: failed program was:" >&5
36434 sed 's/^/| /' conftest.$ac_ext >&5
36437 cat >conftest.$ac_ext <<_ACEOF
36440 cat confdefs.h >>conftest.$ac_ext
36441 cat >>conftest.$ac_ext <<_ACEOF
36442 /* end confdefs.h. */
36444 #include <sys/statvfs.h>
36461 rm -f conftest.$ac_objext
36462 if { (ac_try="$ac_compile"
36463 case "(($ac_try" in
36464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36465 *) ac_try_echo=$ac_try;;
36467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36468 (eval "$ac_compile") 2>conftest.er1
36470 grep -v '^ *+' conftest.er1 >conftest.err
36472 cat conftest.err >&5
36473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36474 (exit $ac_status); } && {
36475 test -z "$ac_cxx_werror_flag" ||
36476 test ! -s conftest.err
36477 } && test -s conftest.$ac_objext; then
36478 wx_cv_type_statvfs_t="struct statvfs"
36480 echo "$as_me: failed program was:" >&5
36481 sed 's/^/| /' conftest.$ac_ext >&5
36483 wx_cv_type_statvfs_t="unknown"
36487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36494 ac_cpp='$CPP $CPPFLAGS'
36495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36501 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36502 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36504 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36505 cat >>confdefs.h <<\_ACEOF
36506 #define HAVE_STATVFS 1
36511 wx_cv_type_statvfs_t="unknown"
36515 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36516 cat >>confdefs.h <<_ACEOF
36517 #define WX_STATFS_T $wx_cv_type_statvfs_t
36521 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36522 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36525 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36528 for ac_func in fcntl flock
36530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36531 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36533 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36534 echo $ECHO_N "(cached) $ECHO_C" >&6
36536 cat >conftest.$ac_ext <<_ACEOF
36539 cat confdefs.h >>conftest.$ac_ext
36540 cat >>conftest.$ac_ext <<_ACEOF
36541 /* end confdefs.h. */
36542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36544 #define $ac_func innocuous_$ac_func
36546 /* System header to define __stub macros and hopefully few prototypes,
36547 which can conflict with char $ac_func (); below.
36548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36549 <limits.h> exists even on freestanding compilers. */
36552 # include <limits.h>
36554 # include <assert.h>
36559 /* Override any GCC internal prototype to avoid an error.
36560 Use char because int might match the return type of a GCC
36561 builtin and then its argument prototype would still apply. */
36566 /* The GNU C library defines this for functions which it implements
36567 to always fail with ENOSYS. Some functions are actually named
36568 something starting with __ and the normal name is an alias. */
36569 #if defined __stub_$ac_func || defined __stub___$ac_func
36576 return $ac_func ();
36581 rm -f conftest.$ac_objext conftest$ac_exeext
36582 if { (ac_try="$ac_link"
36583 case "(($ac_try" in
36584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36585 *) ac_try_echo=$ac_try;;
36587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36588 (eval "$ac_link") 2>conftest.er1
36590 grep -v '^ *+' conftest.er1 >conftest.err
36592 cat conftest.err >&5
36593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36594 (exit $ac_status); } && {
36595 test -z "$ac_c_werror_flag" ||
36596 test ! -s conftest.err
36597 } && test -s conftest$ac_exeext &&
36598 $as_test_x conftest$ac_exeext; then
36599 eval "$as_ac_var=yes"
36601 echo "$as_me: failed program was:" >&5
36602 sed 's/^/| /' conftest.$ac_ext >&5
36604 eval "$as_ac_var=no"
36607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36608 conftest$ac_exeext conftest.$ac_ext
36610 ac_res=`eval echo '${'$as_ac_var'}'`
36611 { echo "$as_me:$LINENO: result: $ac_res" >&5
36612 echo "${ECHO_T}$ac_res" >&6; }
36613 if test `eval echo '${'$as_ac_var'}'` = yes; then
36614 cat >>confdefs.h <<_ACEOF
36615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36622 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36623 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36624 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36625 wxUSE_SNGLINST_CHECKER=no
36631 for ac_func in setenv putenv
36633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36634 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36636 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36637 echo $ECHO_N "(cached) $ECHO_C" >&6
36639 cat >conftest.$ac_ext <<_ACEOF
36642 cat confdefs.h >>conftest.$ac_ext
36643 cat >>conftest.$ac_ext <<_ACEOF
36644 /* end confdefs.h. */
36645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36647 #define $ac_func innocuous_$ac_func
36649 /* System header to define __stub macros and hopefully few prototypes,
36650 which can conflict with char $ac_func (); below.
36651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36652 <limits.h> exists even on freestanding compilers. */
36655 # include <limits.h>
36657 # include <assert.h>
36662 /* Override any GCC internal prototype to avoid an error.
36663 Use char because int might match the return type of a GCC
36664 builtin and then its argument prototype would still apply. */
36669 /* The GNU C library defines this for functions which it implements
36670 to always fail with ENOSYS. Some functions are actually named
36671 something starting with __ and the normal name is an alias. */
36672 #if defined __stub_$ac_func || defined __stub___$ac_func
36679 return $ac_func ();
36684 rm -f conftest.$ac_objext conftest$ac_exeext
36685 if { (ac_try="$ac_link"
36686 case "(($ac_try" in
36687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36688 *) ac_try_echo=$ac_try;;
36690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36691 (eval "$ac_link") 2>conftest.er1
36693 grep -v '^ *+' conftest.er1 >conftest.err
36695 cat conftest.err >&5
36696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36697 (exit $ac_status); } && {
36698 test -z "$ac_c_werror_flag" ||
36699 test ! -s conftest.err
36700 } && test -s conftest$ac_exeext &&
36701 $as_test_x conftest$ac_exeext; then
36702 eval "$as_ac_var=yes"
36704 echo "$as_me: failed program was:" >&5
36705 sed 's/^/| /' conftest.$ac_ext >&5
36707 eval "$as_ac_var=no"
36710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36711 conftest$ac_exeext conftest.$ac_ext
36713 ac_res=`eval echo '${'$as_ac_var'}'`
36714 { echo "$as_me:$LINENO: result: $ac_res" >&5
36715 echo "${ECHO_T}$ac_res" >&6; }
36716 if test `eval echo '${'$as_ac_var'}'` = yes; then
36717 cat >>confdefs.h <<_ACEOF
36718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36724 if test "$ac_cv_func_setenv" = "yes"; then
36726 for ac_func in unsetenv
36728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36729 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36731 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36732 echo $ECHO_N "(cached) $ECHO_C" >&6
36734 cat >conftest.$ac_ext <<_ACEOF
36737 cat confdefs.h >>conftest.$ac_ext
36738 cat >>conftest.$ac_ext <<_ACEOF
36739 /* end confdefs.h. */
36740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36742 #define $ac_func innocuous_$ac_func
36744 /* System header to define __stub macros and hopefully few prototypes,
36745 which can conflict with char $ac_func (); below.
36746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36747 <limits.h> exists even on freestanding compilers. */
36750 # include <limits.h>
36752 # include <assert.h>
36757 /* Override any GCC internal prototype to avoid an error.
36758 Use char because int might match the return type of a GCC
36759 builtin and then its argument prototype would still apply. */
36764 /* The GNU C library defines this for functions which it implements
36765 to always fail with ENOSYS. Some functions are actually named
36766 something starting with __ and the normal name is an alias. */
36767 #if defined __stub_$ac_func || defined __stub___$ac_func
36774 return $ac_func ();
36779 rm -f conftest.$ac_objext conftest$ac_exeext
36780 if { (ac_try="$ac_link"
36781 case "(($ac_try" in
36782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36783 *) ac_try_echo=$ac_try;;
36785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36786 (eval "$ac_link") 2>conftest.er1
36788 grep -v '^ *+' conftest.er1 >conftest.err
36790 cat conftest.err >&5
36791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36792 (exit $ac_status); } && {
36793 test -z "$ac_c_werror_flag" ||
36794 test ! -s conftest.err
36795 } && test -s conftest$ac_exeext &&
36796 $as_test_x conftest$ac_exeext; then
36797 eval "$as_ac_var=yes"
36799 echo "$as_me: failed program was:" >&5
36800 sed 's/^/| /' conftest.$ac_ext >&5
36802 eval "$as_ac_var=no"
36805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36806 conftest$ac_exeext conftest.$ac_ext
36808 ac_res=`eval echo '${'$as_ac_var'}'`
36809 { echo "$as_me:$LINENO: result: $ac_res" >&5
36810 echo "${ECHO_T}$ac_res" >&6; }
36811 if test `eval echo '${'$as_ac_var'}'` = yes; then
36812 cat >>confdefs.h <<_ACEOF
36813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36821 HAVE_SOME_SLEEP_FUNC=0
36822 if test "$USE_BEOS" = 1; then
36823 cat >>confdefs.h <<\_ACEOF
36824 #define HAVE_SLEEP 1
36827 HAVE_SOME_SLEEP_FUNC=1
36830 if test "$USE_DARWIN" = 1; then
36831 cat >>confdefs.h <<\_ACEOF
36832 #define HAVE_USLEEP 1
36835 HAVE_SOME_SLEEP_FUNC=1
36838 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36841 for ac_func in nanosleep
36843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36844 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36846 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36847 echo $ECHO_N "(cached) $ECHO_C" >&6
36849 cat >conftest.$ac_ext <<_ACEOF
36852 cat confdefs.h >>conftest.$ac_ext
36853 cat >>conftest.$ac_ext <<_ACEOF
36854 /* end confdefs.h. */
36855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36857 #define $ac_func innocuous_$ac_func
36859 /* System header to define __stub macros and hopefully few prototypes,
36860 which can conflict with char $ac_func (); below.
36861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36862 <limits.h> exists even on freestanding compilers. */
36865 # include <limits.h>
36867 # include <assert.h>
36872 /* Override any GCC internal prototype to avoid an error.
36873 Use char because int might match the return type of a GCC
36874 builtin and then its argument prototype would still apply. */
36879 /* The GNU C library defines this for functions which it implements
36880 to always fail with ENOSYS. Some functions are actually named
36881 something starting with __ and the normal name is an alias. */
36882 #if defined __stub_$ac_func || defined __stub___$ac_func
36889 return $ac_func ();
36894 rm -f conftest.$ac_objext conftest$ac_exeext
36895 if { (ac_try="$ac_link"
36896 case "(($ac_try" in
36897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36898 *) ac_try_echo=$ac_try;;
36900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36901 (eval "$ac_link") 2>conftest.er1
36903 grep -v '^ *+' conftest.er1 >conftest.err
36905 cat conftest.err >&5
36906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36907 (exit $ac_status); } && {
36908 test -z "$ac_c_werror_flag" ||
36909 test ! -s conftest.err
36910 } && test -s conftest$ac_exeext &&
36911 $as_test_x conftest$ac_exeext; then
36912 eval "$as_ac_var=yes"
36914 echo "$as_me: failed program was:" >&5
36915 sed 's/^/| /' conftest.$ac_ext >&5
36917 eval "$as_ac_var=no"
36920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36921 conftest$ac_exeext conftest.$ac_ext
36923 ac_res=`eval echo '${'$as_ac_var'}'`
36924 { echo "$as_me:$LINENO: result: $ac_res" >&5
36925 echo "${ECHO_T}$ac_res" >&6; }
36926 if test `eval echo '${'$as_ac_var'}'` = yes; then
36927 cat >>confdefs.h <<_ACEOF
36928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36930 cat >>confdefs.h <<\_ACEOF
36931 #define HAVE_NANOSLEEP 1
36936 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36937 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36938 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36939 echo $ECHO_N "(cached) $ECHO_C" >&6
36941 ac_check_lib_save_LIBS=$LIBS
36942 LIBS="-lposix4 $LIBS"
36943 cat >conftest.$ac_ext <<_ACEOF
36946 cat confdefs.h >>conftest.$ac_ext
36947 cat >>conftest.$ac_ext <<_ACEOF
36948 /* end confdefs.h. */
36950 /* Override any GCC internal prototype to avoid an error.
36951 Use char because int might match the return type of a GCC
36952 builtin and then its argument prototype would still apply. */
36960 return nanosleep ();
36965 rm -f conftest.$ac_objext conftest$ac_exeext
36966 if { (ac_try="$ac_link"
36967 case "(($ac_try" in
36968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36969 *) ac_try_echo=$ac_try;;
36971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36972 (eval "$ac_link") 2>conftest.er1
36974 grep -v '^ *+' conftest.er1 >conftest.err
36976 cat conftest.err >&5
36977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36978 (exit $ac_status); } && {
36979 test -z "$ac_c_werror_flag" ||
36980 test ! -s conftest.err
36981 } && test -s conftest$ac_exeext &&
36982 $as_test_x conftest$ac_exeext; then
36983 ac_cv_lib_posix4_nanosleep=yes
36985 echo "$as_me: failed program was:" >&5
36986 sed 's/^/| /' conftest.$ac_ext >&5
36988 ac_cv_lib_posix4_nanosleep=no
36991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36992 conftest$ac_exeext conftest.$ac_ext
36993 LIBS=$ac_check_lib_save_LIBS
36995 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36996 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36997 if test $ac_cv_lib_posix4_nanosleep = yes; then
36999 cat >>confdefs.h <<\_ACEOF
37000 #define HAVE_NANOSLEEP 1
37003 POSIX4_LINK=" -lposix4"
37008 for wx_func in usleep
37010 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37011 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37012 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37013 echo $ECHO_N "(cached) $ECHO_C" >&6
37016 cat >conftest.$ac_ext <<_ACEOF
37020 cat confdefs.h >>conftest.$ac_ext
37021 cat >>conftest.$ac_ext <<_ACEOF
37022 /* end confdefs.h. */
37025 $ac_includes_default
37041 rm -f conftest.$ac_objext conftest$ac_exeext
37042 if { (ac_try="$ac_link"
37043 case "(($ac_try" in
37044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37045 *) ac_try_echo=$ac_try;;
37047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37048 (eval "$ac_link") 2>conftest.er1
37050 grep -v '^ *+' conftest.er1 >conftest.err
37052 cat conftest.err >&5
37053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37054 (exit $ac_status); } && {
37055 test -z "$ac_c_werror_flag" ||
37056 test ! -s conftest.err
37057 } && test -s conftest$ac_exeext &&
37058 $as_test_x conftest$ac_exeext; then
37059 eval wx_cv_func_$wx_func=yes
37061 echo "$as_me: failed program was:" >&5
37062 sed 's/^/| /' conftest.$ac_ext >&5
37064 eval wx_cv_func_$wx_func=no
37067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37068 conftest$ac_exeext conftest.$ac_ext
37071 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37072 { echo "$as_me:$LINENO: result: $ac_res" >&5
37073 echo "${ECHO_T}$ac_res" >&6; }
37075 if eval test \$wx_cv_func_$wx_func = yes
37077 cat >>confdefs.h <<_ACEOF
37078 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37084 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37085 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37102 for wx_func in uname
37104 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37105 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37106 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37107 echo $ECHO_N "(cached) $ECHO_C" >&6
37110 cat >conftest.$ac_ext <<_ACEOF
37114 cat confdefs.h >>conftest.$ac_ext
37115 cat >>conftest.$ac_ext <<_ACEOF
37116 /* end confdefs.h. */
37118 #include <sys/utsname.h>
37119 $ac_includes_default
37135 rm -f conftest.$ac_objext conftest$ac_exeext
37136 if { (ac_try="$ac_link"
37137 case "(($ac_try" in
37138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37139 *) ac_try_echo=$ac_try;;
37141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37142 (eval "$ac_link") 2>conftest.er1
37144 grep -v '^ *+' conftest.er1 >conftest.err
37146 cat conftest.err >&5
37147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37148 (exit $ac_status); } && {
37149 test -z "$ac_c_werror_flag" ||
37150 test ! -s conftest.err
37151 } && test -s conftest$ac_exeext &&
37152 $as_test_x conftest$ac_exeext; then
37153 eval wx_cv_func_$wx_func=yes
37155 echo "$as_me: failed program was:" >&5
37156 sed 's/^/| /' conftest.$ac_ext >&5
37158 eval wx_cv_func_$wx_func=no
37161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37162 conftest$ac_exeext conftest.$ac_ext
37165 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37166 { echo "$as_me:$LINENO: result: $ac_res" >&5
37167 echo "${ECHO_T}$ac_res" >&6; }
37169 if eval test \$wx_cv_func_$wx_func = yes
37171 cat >>confdefs.h <<_ACEOF
37172 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37182 if test "$wx_cv_func_uname" != yes; then
37184 for wx_func in gethostname
37186 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37187 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37188 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37189 echo $ECHO_N "(cached) $ECHO_C" >&6
37192 cat >conftest.$ac_ext <<_ACEOF
37196 cat confdefs.h >>conftest.$ac_ext
37197 cat >>conftest.$ac_ext <<_ACEOF
37198 /* end confdefs.h. */
37201 $ac_includes_default
37217 rm -f conftest.$ac_objext conftest$ac_exeext
37218 if { (ac_try="$ac_link"
37219 case "(($ac_try" in
37220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37221 *) ac_try_echo=$ac_try;;
37223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37224 (eval "$ac_link") 2>conftest.er1
37226 grep -v '^ *+' conftest.er1 >conftest.err
37228 cat conftest.err >&5
37229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37230 (exit $ac_status); } && {
37231 test -z "$ac_c_werror_flag" ||
37232 test ! -s conftest.err
37233 } && test -s conftest$ac_exeext &&
37234 $as_test_x conftest$ac_exeext; then
37235 eval wx_cv_func_$wx_func=yes
37237 echo "$as_me: failed program was:" >&5
37238 sed 's/^/| /' conftest.$ac_ext >&5
37240 eval wx_cv_func_$wx_func=no
37243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37244 conftest$ac_exeext conftest.$ac_ext
37247 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37248 { echo "$as_me:$LINENO: result: $ac_res" >&5
37249 echo "${ECHO_T}$ac_res" >&6; }
37251 if eval test \$wx_cv_func_$wx_func = yes
37253 cat >>confdefs.h <<_ACEOF
37254 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37267 for wx_func in strtok_r
37269 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37270 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37271 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37272 echo $ECHO_N "(cached) $ECHO_C" >&6
37275 cat >conftest.$ac_ext <<_ACEOF
37279 cat confdefs.h >>conftest.$ac_ext
37280 cat >>conftest.$ac_ext <<_ACEOF
37281 /* end confdefs.h. */
37284 $ac_includes_default
37300 rm -f conftest.$ac_objext conftest$ac_exeext
37301 if { (ac_try="$ac_link"
37302 case "(($ac_try" in
37303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37304 *) ac_try_echo=$ac_try;;
37306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37307 (eval "$ac_link") 2>conftest.er1
37309 grep -v '^ *+' conftest.er1 >conftest.err
37311 cat conftest.err >&5
37312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37313 (exit $ac_status); } && {
37314 test -z "$ac_c_werror_flag" ||
37315 test ! -s conftest.err
37316 } && test -s conftest$ac_exeext &&
37317 $as_test_x conftest$ac_exeext; then
37318 eval wx_cv_func_$wx_func=yes
37320 echo "$as_me: failed program was:" >&5
37321 sed 's/^/| /' conftest.$ac_ext >&5
37323 eval wx_cv_func_$wx_func=no
37326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37327 conftest$ac_exeext conftest.$ac_ext
37330 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37331 { echo "$as_me:$LINENO: result: $ac_res" >&5
37332 echo "${ECHO_T}$ac_res" >&6; }
37334 if eval test \$wx_cv_func_$wx_func = yes
37336 cat >>confdefs.h <<_ACEOF
37337 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37350 for ac_func in inet_addr
37352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37353 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37355 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37356 echo $ECHO_N "(cached) $ECHO_C" >&6
37358 cat >conftest.$ac_ext <<_ACEOF
37361 cat confdefs.h >>conftest.$ac_ext
37362 cat >>conftest.$ac_ext <<_ACEOF
37363 /* end confdefs.h. */
37364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37366 #define $ac_func innocuous_$ac_func
37368 /* System header to define __stub macros and hopefully few prototypes,
37369 which can conflict with char $ac_func (); below.
37370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37371 <limits.h> exists even on freestanding compilers. */
37374 # include <limits.h>
37376 # include <assert.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. */
37388 /* The GNU C library defines this for functions which it implements
37389 to always fail with ENOSYS. Some functions are actually named
37390 something starting with __ and the normal name is an alias. */
37391 #if defined __stub_$ac_func || defined __stub___$ac_func
37398 return $ac_func ();
37403 rm -f conftest.$ac_objext conftest$ac_exeext
37404 if { (ac_try="$ac_link"
37405 case "(($ac_try" in
37406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37407 *) ac_try_echo=$ac_try;;
37409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37410 (eval "$ac_link") 2>conftest.er1
37412 grep -v '^ *+' conftest.er1 >conftest.err
37414 cat conftest.err >&5
37415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37416 (exit $ac_status); } && {
37417 test -z "$ac_c_werror_flag" ||
37418 test ! -s conftest.err
37419 } && test -s conftest$ac_exeext &&
37420 $as_test_x conftest$ac_exeext; then
37421 eval "$as_ac_var=yes"
37423 echo "$as_me: failed program was:" >&5
37424 sed 's/^/| /' conftest.$ac_ext >&5
37426 eval "$as_ac_var=no"
37429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37430 conftest$ac_exeext conftest.$ac_ext
37432 ac_res=`eval echo '${'$as_ac_var'}'`
37433 { echo "$as_me:$LINENO: result: $ac_res" >&5
37434 echo "${ECHO_T}$ac_res" >&6; }
37435 if test `eval echo '${'$as_ac_var'}'` = yes; then
37436 cat >>confdefs.h <<_ACEOF
37437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37439 cat >>confdefs.h <<\_ACEOF
37440 #define HAVE_INET_ADDR 1
37445 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37446 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37447 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37448 echo $ECHO_N "(cached) $ECHO_C" >&6
37450 ac_check_lib_save_LIBS=$LIBS
37452 cat >conftest.$ac_ext <<_ACEOF
37455 cat confdefs.h >>conftest.$ac_ext
37456 cat >>conftest.$ac_ext <<_ACEOF
37457 /* end confdefs.h. */
37459 /* Override any GCC internal prototype to avoid an error.
37460 Use char because int might match the return type of a GCC
37461 builtin and then its argument prototype would still apply. */
37469 return inet_addr ();
37474 rm -f conftest.$ac_objext conftest$ac_exeext
37475 if { (ac_try="$ac_link"
37476 case "(($ac_try" in
37477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37478 *) ac_try_echo=$ac_try;;
37480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37481 (eval "$ac_link") 2>conftest.er1
37483 grep -v '^ *+' conftest.er1 >conftest.err
37485 cat conftest.err >&5
37486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37487 (exit $ac_status); } && {
37488 test -z "$ac_c_werror_flag" ||
37489 test ! -s conftest.err
37490 } && test -s conftest$ac_exeext &&
37491 $as_test_x conftest$ac_exeext; then
37492 ac_cv_lib_nsl_inet_addr=yes
37494 echo "$as_me: failed program was:" >&5
37495 sed 's/^/| /' conftest.$ac_ext >&5
37497 ac_cv_lib_nsl_inet_addr=no
37500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37501 conftest$ac_exeext conftest.$ac_ext
37502 LIBS=$ac_check_lib_save_LIBS
37504 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37505 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37506 if test $ac_cv_lib_nsl_inet_addr = yes; then
37510 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37511 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37512 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37513 echo $ECHO_N "(cached) $ECHO_C" >&6
37515 ac_check_lib_save_LIBS=$LIBS
37516 LIBS="-lresolv $LIBS"
37517 cat >conftest.$ac_ext <<_ACEOF
37520 cat confdefs.h >>conftest.$ac_ext
37521 cat >>conftest.$ac_ext <<_ACEOF
37522 /* end confdefs.h. */
37524 /* Override any GCC internal prototype to avoid an error.
37525 Use char because int might match the return type of a GCC
37526 builtin and then its argument prototype would still apply. */
37534 return inet_addr ();
37539 rm -f conftest.$ac_objext conftest$ac_exeext
37540 if { (ac_try="$ac_link"
37541 case "(($ac_try" in
37542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37543 *) ac_try_echo=$ac_try;;
37545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37546 (eval "$ac_link") 2>conftest.er1
37548 grep -v '^ *+' conftest.er1 >conftest.err
37550 cat conftest.err >&5
37551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37552 (exit $ac_status); } && {
37553 test -z "$ac_c_werror_flag" ||
37554 test ! -s conftest.err
37555 } && test -s conftest$ac_exeext &&
37556 $as_test_x conftest$ac_exeext; then
37557 ac_cv_lib_resolv_inet_addr=yes
37559 echo "$as_me: failed program was:" >&5
37560 sed 's/^/| /' conftest.$ac_ext >&5
37562 ac_cv_lib_resolv_inet_addr=no
37565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37566 conftest$ac_exeext conftest.$ac_ext
37567 LIBS=$ac_check_lib_save_LIBS
37569 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37570 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37571 if test $ac_cv_lib_resolv_inet_addr = yes; then
37575 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37576 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37577 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37578 echo $ECHO_N "(cached) $ECHO_C" >&6
37580 ac_check_lib_save_LIBS=$LIBS
37581 LIBS="-lsocket $LIBS"
37582 cat >conftest.$ac_ext <<_ACEOF
37585 cat confdefs.h >>conftest.$ac_ext
37586 cat >>conftest.$ac_ext <<_ACEOF
37587 /* end confdefs.h. */
37589 /* Override any GCC internal prototype to avoid an error.
37590 Use char because int might match the return type of a GCC
37591 builtin and then its argument prototype would still apply. */
37599 return inet_addr ();
37604 rm -f conftest.$ac_objext conftest$ac_exeext
37605 if { (ac_try="$ac_link"
37606 case "(($ac_try" in
37607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37608 *) ac_try_echo=$ac_try;;
37610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37611 (eval "$ac_link") 2>conftest.er1
37613 grep -v '^ *+' conftest.er1 >conftest.err
37615 cat conftest.err >&5
37616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37617 (exit $ac_status); } && {
37618 test -z "$ac_c_werror_flag" ||
37619 test ! -s conftest.err
37620 } && test -s conftest$ac_exeext &&
37621 $as_test_x conftest$ac_exeext; then
37622 ac_cv_lib_socket_inet_addr=yes
37624 echo "$as_me: failed program was:" >&5
37625 sed 's/^/| /' conftest.$ac_ext >&5
37627 ac_cv_lib_socket_inet_addr=no
37630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37631 conftest$ac_exeext conftest.$ac_ext
37632 LIBS=$ac_check_lib_save_LIBS
37634 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37635 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37636 if test $ac_cv_lib_socket_inet_addr = yes; then
37656 for ac_func in inet_aton
37658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37659 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37661 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37662 echo $ECHO_N "(cached) $ECHO_C" >&6
37664 cat >conftest.$ac_ext <<_ACEOF
37667 cat confdefs.h >>conftest.$ac_ext
37668 cat >>conftest.$ac_ext <<_ACEOF
37669 /* end confdefs.h. */
37670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37672 #define $ac_func innocuous_$ac_func
37674 /* System header to define __stub macros and hopefully few prototypes,
37675 which can conflict with char $ac_func (); below.
37676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37677 <limits.h> exists even on freestanding compilers. */
37680 # include <limits.h>
37682 # include <assert.h>
37687 /* Override any GCC internal prototype to avoid an error.
37688 Use char because int might match the return type of a GCC
37689 builtin and then its argument prototype would still apply. */
37694 /* The GNU C library defines this for functions which it implements
37695 to always fail with ENOSYS. Some functions are actually named
37696 something starting with __ and the normal name is an alias. */
37697 #if defined __stub_$ac_func || defined __stub___$ac_func
37704 return $ac_func ();
37709 rm -f conftest.$ac_objext conftest$ac_exeext
37710 if { (ac_try="$ac_link"
37711 case "(($ac_try" in
37712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37713 *) ac_try_echo=$ac_try;;
37715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37716 (eval "$ac_link") 2>conftest.er1
37718 grep -v '^ *+' conftest.er1 >conftest.err
37720 cat conftest.err >&5
37721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37722 (exit $ac_status); } && {
37723 test -z "$ac_c_werror_flag" ||
37724 test ! -s conftest.err
37725 } && test -s conftest$ac_exeext &&
37726 $as_test_x conftest$ac_exeext; then
37727 eval "$as_ac_var=yes"
37729 echo "$as_me: failed program was:" >&5
37730 sed 's/^/| /' conftest.$ac_ext >&5
37732 eval "$as_ac_var=no"
37735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37736 conftest$ac_exeext conftest.$ac_ext
37738 ac_res=`eval echo '${'$as_ac_var'}'`
37739 { echo "$as_me:$LINENO: result: $ac_res" >&5
37740 echo "${ECHO_T}$ac_res" >&6; }
37741 if test `eval echo '${'$as_ac_var'}'` = yes; then
37742 cat >>confdefs.h <<_ACEOF
37743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37745 cat >>confdefs.h <<\_ACEOF
37746 #define HAVE_INET_ATON 1
37751 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37752 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37753 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37754 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37755 echo $ECHO_N "(cached) $ECHO_C" >&6
37757 ac_check_lib_save_LIBS=$LIBS
37758 LIBS="-l$INET_LINK $LIBS"
37759 cat >conftest.$ac_ext <<_ACEOF
37762 cat confdefs.h >>conftest.$ac_ext
37763 cat >>conftest.$ac_ext <<_ACEOF
37764 /* end confdefs.h. */
37766 /* Override any GCC internal prototype to avoid an error.
37767 Use char because int might match the return type of a GCC
37768 builtin and then its argument prototype would still apply. */
37776 return inet_aton ();
37781 rm -f conftest.$ac_objext conftest$ac_exeext
37782 if { (ac_try="$ac_link"
37783 case "(($ac_try" in
37784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37785 *) ac_try_echo=$ac_try;;
37787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37788 (eval "$ac_link") 2>conftest.er1
37790 grep -v '^ *+' conftest.er1 >conftest.err
37792 cat conftest.err >&5
37793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37794 (exit $ac_status); } && {
37795 test -z "$ac_c_werror_flag" ||
37796 test ! -s conftest.err
37797 } && test -s conftest$ac_exeext &&
37798 $as_test_x conftest$ac_exeext; then
37799 eval "$as_ac_Lib=yes"
37801 echo "$as_me: failed program was:" >&5
37802 sed 's/^/| /' conftest.$ac_ext >&5
37804 eval "$as_ac_Lib=no"
37807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37808 conftest$ac_exeext conftest.$ac_ext
37809 LIBS=$ac_check_lib_save_LIBS
37811 ac_res=`eval echo '${'$as_ac_Lib'}'`
37812 { echo "$as_me:$LINENO: result: $ac_res" >&5
37813 echo "${ECHO_T}$ac_res" >&6; }
37814 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37815 cat >>confdefs.h <<\_ACEOF
37816 #define HAVE_INET_ATON 1
37826 if test "x$INET_LINK" != "x"; then
37827 cat >>confdefs.h <<\_ACEOF
37828 #define HAVE_INET_ADDR 1
37831 INET_LINK=" -l$INET_LINK"
37835 for wx_func in fdopen
37837 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37838 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37839 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37840 echo $ECHO_N "(cached) $ECHO_C" >&6
37843 cat >conftest.$ac_ext <<_ACEOF
37847 cat confdefs.h >>conftest.$ac_ext
37848 cat >>conftest.$ac_ext <<_ACEOF
37849 /* end confdefs.h. */
37852 $ac_includes_default
37868 rm -f conftest.$ac_objext conftest$ac_exeext
37869 if { (ac_try="$ac_link"
37870 case "(($ac_try" in
37871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37872 *) ac_try_echo=$ac_try;;
37874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37875 (eval "$ac_link") 2>conftest.er1
37877 grep -v '^ *+' conftest.er1 >conftest.err
37879 cat conftest.err >&5
37880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37881 (exit $ac_status); } && {
37882 test -z "$ac_c_werror_flag" ||
37883 test ! -s conftest.err
37884 } && test -s conftest$ac_exeext &&
37885 $as_test_x conftest$ac_exeext; then
37886 eval wx_cv_func_$wx_func=yes
37888 echo "$as_me: failed program was:" >&5
37889 sed 's/^/| /' conftest.$ac_ext >&5
37891 eval wx_cv_func_$wx_func=no
37894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37895 conftest$ac_exeext conftest.$ac_ext
37898 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37899 { echo "$as_me:$LINENO: result: $ac_res" >&5
37900 echo "${ECHO_T}$ac_res" >&6; }
37902 if eval test \$wx_cv_func_$wx_func = yes
37904 cat >>confdefs.h <<_ACEOF
37905 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37916 if test "$wxUSE_TARSTREAM" = "yes"; then
37918 for wx_func in sysconf
37920 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37921 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37922 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37923 echo $ECHO_N "(cached) $ECHO_C" >&6
37926 cat >conftest.$ac_ext <<_ACEOF
37930 cat confdefs.h >>conftest.$ac_ext
37931 cat >>conftest.$ac_ext <<_ACEOF
37932 /* end confdefs.h. */
37935 $ac_includes_default
37951 rm -f conftest.$ac_objext conftest$ac_exeext
37952 if { (ac_try="$ac_link"
37953 case "(($ac_try" in
37954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37955 *) ac_try_echo=$ac_try;;
37957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37958 (eval "$ac_link") 2>conftest.er1
37960 grep -v '^ *+' conftest.er1 >conftest.err
37962 cat conftest.err >&5
37963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37964 (exit $ac_status); } && {
37965 test -z "$ac_c_werror_flag" ||
37966 test ! -s conftest.err
37967 } && test -s conftest$ac_exeext &&
37968 $as_test_x conftest$ac_exeext; then
37969 eval wx_cv_func_$wx_func=yes
37971 echo "$as_me: failed program was:" >&5
37972 sed 's/^/| /' conftest.$ac_ext >&5
37974 eval wx_cv_func_$wx_func=no
37977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37978 conftest$ac_exeext conftest.$ac_ext
37981 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37982 { echo "$as_me:$LINENO: result: $ac_res" >&5
37983 echo "${ECHO_T}$ac_res" >&6; }
37985 if eval test \$wx_cv_func_$wx_func = yes
37987 cat >>confdefs.h <<_ACEOF
37988 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38000 for wx_func in getpwuid_r
38002 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38003 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38004 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38005 echo $ECHO_N "(cached) $ECHO_C" >&6
38008 cat >conftest.$ac_ext <<_ACEOF
38012 cat confdefs.h >>conftest.$ac_ext
38013 cat >>conftest.$ac_ext <<_ACEOF
38014 /* end confdefs.h. */
38020 $ac_includes_default
38030 struct passwd pw, *ppw;
38032 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38040 rm -f conftest.$ac_objext conftest$ac_exeext
38041 if { (ac_try="$ac_link"
38042 case "(($ac_try" in
38043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38044 *) ac_try_echo=$ac_try;;
38046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38047 (eval "$ac_link") 2>conftest.er1
38049 grep -v '^ *+' conftest.er1 >conftest.err
38051 cat conftest.err >&5
38052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38053 (exit $ac_status); } && {
38054 test -z "$ac_c_werror_flag" ||
38055 test ! -s conftest.err
38056 } && test -s conftest$ac_exeext &&
38057 $as_test_x conftest$ac_exeext; then
38058 eval wx_cv_func_$wx_func=yes
38060 echo "$as_me: failed program was:" >&5
38061 sed 's/^/| /' conftest.$ac_ext >&5
38063 eval wx_cv_func_$wx_func=no
38066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38067 conftest$ac_exeext conftest.$ac_ext
38070 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38071 { echo "$as_me:$LINENO: result: $ac_res" >&5
38072 echo "${ECHO_T}$ac_res" >&6; }
38074 if eval test \$wx_cv_func_$wx_func = yes
38076 cat >>confdefs.h <<_ACEOF
38077 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38089 for wx_func in getgrgid_r
38091 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38092 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38093 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38094 echo $ECHO_N "(cached) $ECHO_C" >&6
38097 cat >conftest.$ac_ext <<_ACEOF
38101 cat confdefs.h >>conftest.$ac_ext
38102 cat >>conftest.$ac_ext <<_ACEOF
38103 /* end confdefs.h. */
38109 $ac_includes_default
38119 struct group grp, *pgrp;
38121 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38129 rm -f conftest.$ac_objext conftest$ac_exeext
38130 if { (ac_try="$ac_link"
38131 case "(($ac_try" in
38132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38133 *) ac_try_echo=$ac_try;;
38135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38136 (eval "$ac_link") 2>conftest.er1
38138 grep -v '^ *+' conftest.er1 >conftest.err
38140 cat conftest.err >&5
38141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38142 (exit $ac_status); } && {
38143 test -z "$ac_c_werror_flag" ||
38144 test ! -s conftest.err
38145 } && test -s conftest$ac_exeext &&
38146 $as_test_x conftest$ac_exeext; then
38147 eval wx_cv_func_$wx_func=yes
38149 echo "$as_me: failed program was:" >&5
38150 sed 's/^/| /' conftest.$ac_ext >&5
38152 eval wx_cv_func_$wx_func=no
38155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38156 conftest$ac_exeext conftest.$ac_ext
38159 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38160 { echo "$as_me:$LINENO: result: $ac_res" >&5
38161 echo "${ECHO_T}$ac_res" >&6; }
38163 if eval test \$wx_cv_func_$wx_func = yes
38165 cat >>confdefs.h <<_ACEOF
38166 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38182 cat >confcache <<\_ACEOF
38183 # This file is a shell script that caches the results of configure
38184 # tests run on this system so they can be shared between configure
38185 # scripts and configure runs, see configure's option --config-cache.
38186 # It is not useful on other systems. If it contains results you don't
38187 # want to keep, you may remove or edit it.
38189 # config.status only pays attention to the cache file if you give it
38190 # the --recheck option to rerun configure.
38192 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38193 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38194 # following values.
38198 # The following way of writing the cache mishandles newlines in values,
38199 # but we know of no workaround that is simple, portable, and efficient.
38200 # So, we kill variables containing newlines.
38201 # Ultrix sh set writes to stderr and can't be redirected directly,
38202 # and sets the high bit in the cache file unless we assign to the vars.
38204 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38205 eval ac_val=\$$ac_var
38209 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38210 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38213 _ | IFS | as_nl) ;; #(
38214 *) $as_unset $ac_var ;;
38220 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38221 *${as_nl}ac_space=\ *)
38222 # `set' does not quote correctly, so add quotes (double-quote
38223 # substitution turns \\\\ into \\, and sed turns \\ into \).
38226 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38229 # `set' quotes correctly as required by POSIX, so do not add quotes.
38230 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38239 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38241 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38243 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38244 if test -w "$cache_file"; then
38245 test "x$cache_file" != "x/dev/null" &&
38246 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38247 echo "$as_me: updating cache $cache_file" >&6;}
38248 cat confcache >$cache_file
38250 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38251 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38257 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38263 if test "$wxUSE_THREADS" = "yes" ; then
38264 if test "$USE_BEOS" = 1; then
38265 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38266 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38271 if test "$wxUSE_THREADS" = "yes" ; then
38274 THREAD_OPTS="-pthread"
38275 if test "x$SUNCXX" = xyes; then
38276 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38280 *-*-solaris2* | *-*-sunos4* )
38281 if test "x$GCC" = "xyes"; then
38282 THREAD_OPTS="-pthreads $THREAD_OPTS"
38286 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38288 *-*-darwin* | *-*-cygwin* )
38292 THREAD_OPTS="pthreads"
38295 if test "x$GCC" = "xyes"; then
38296 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38304 if test "x$GCC" = "xyes"; then
38310 if test "x$GCC" != "xyes"; then
38311 THREAD_OPTS="-Ethread"
38316 THREAD_OPTS="$THREAD_OPTS pthread none"
38319 for flag in $THREAD_OPTS; do
38322 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38323 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38327 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38328 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38329 THREADS_CFLAGS="$flag"
38333 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38334 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38335 THREADS_LINK="-l$flag"
38340 save_CFLAGS="$CFLAGS"
38341 LIBS="$THREADS_LINK $LIBS"
38342 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38344 cat >conftest.$ac_ext <<_ACEOF
38347 cat confdefs.h >>conftest.$ac_ext
38348 cat >>conftest.$ac_ext <<_ACEOF
38349 /* end confdefs.h. */
38350 #include <pthread.h>
38354 pthread_create(0,0,0,0);
38359 rm -f conftest.$ac_objext conftest$ac_exeext
38360 if { (ac_try="$ac_link"
38361 case "(($ac_try" in
38362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38363 *) ac_try_echo=$ac_try;;
38365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38366 (eval "$ac_link") 2>conftest.er1
38368 grep -v '^ *+' conftest.er1 >conftest.err
38370 cat conftest.err >&5
38371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38372 (exit $ac_status); } && {
38373 test -z "$ac_c_werror_flag" ||
38374 test ! -s conftest.err
38375 } && test -s conftest$ac_exeext &&
38376 $as_test_x conftest$ac_exeext; then
38379 echo "$as_me: failed program was:" >&5
38380 sed 's/^/| /' conftest.$ac_ext >&5
38385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38386 conftest$ac_exeext conftest.$ac_ext
38389 CFLAGS="$save_CFLAGS"
38391 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38392 echo "${ECHO_T}$THREADS_OK" >&6; }
38393 if test "x$THREADS_OK" = "xyes"; then
38401 if test "x$THREADS_OK" != "xyes"; then
38403 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38404 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38406 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38407 LIBS="$THREADS_LINK $LIBS"
38409 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38410 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38414 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38415 flag="-D_THREAD_SAFE"
38418 flag="-D_THREAD_SAFE"
38421 flag="-D_REENTRANT"
38422 if test "x$GCC" != "xyes"; then
38423 flag="$flag -D_RWSTD_MULTI_THREAD"
38426 *solaris* | alpha*-osf*)
38427 flag="-D_REENTRANT"
38430 { echo "$as_me:$LINENO: result: ${flag}" >&5
38431 echo "${ECHO_T}${flag}" >&6; }
38432 if test "x$flag" != xno; then
38433 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38436 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38440 if test "$wxUSE_THREADS" = "yes" ; then
38442 for ac_func in thr_setconcurrency
38444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38445 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38447 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38448 echo $ECHO_N "(cached) $ECHO_C" >&6
38450 cat >conftest.$ac_ext <<_ACEOF
38453 cat confdefs.h >>conftest.$ac_ext
38454 cat >>conftest.$ac_ext <<_ACEOF
38455 /* end confdefs.h. */
38456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38458 #define $ac_func innocuous_$ac_func
38460 /* System header to define __stub macros and hopefully few prototypes,
38461 which can conflict with char $ac_func (); below.
38462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38463 <limits.h> exists even on freestanding compilers. */
38466 # include <limits.h>
38468 # include <assert.h>
38473 /* Override any GCC internal prototype to avoid an error.
38474 Use char because int might match the return type of a GCC
38475 builtin and then its argument prototype would still apply. */
38480 /* The GNU C library defines this for functions which it implements
38481 to always fail with ENOSYS. Some functions are actually named
38482 something starting with __ and the normal name is an alias. */
38483 #if defined __stub_$ac_func || defined __stub___$ac_func
38490 return $ac_func ();
38495 rm -f conftest.$ac_objext conftest$ac_exeext
38496 if { (ac_try="$ac_link"
38497 case "(($ac_try" in
38498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38499 *) ac_try_echo=$ac_try;;
38501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38502 (eval "$ac_link") 2>conftest.er1
38504 grep -v '^ *+' conftest.er1 >conftest.err
38506 cat conftest.err >&5
38507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38508 (exit $ac_status); } && {
38509 test -z "$ac_c_werror_flag" ||
38510 test ! -s conftest.err
38511 } && test -s conftest$ac_exeext &&
38512 $as_test_x conftest$ac_exeext; then
38513 eval "$as_ac_var=yes"
38515 echo "$as_me: failed program was:" >&5
38516 sed 's/^/| /' conftest.$ac_ext >&5
38518 eval "$as_ac_var=no"
38521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38522 conftest$ac_exeext conftest.$ac_ext
38524 ac_res=`eval echo '${'$as_ac_var'}'`
38525 { echo "$as_me:$LINENO: result: $ac_res" >&5
38526 echo "${ECHO_T}$ac_res" >&6; }
38527 if test `eval echo '${'$as_ac_var'}'` = yes; then
38528 cat >>confdefs.h <<_ACEOF
38529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38536 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38537 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38538 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38539 echo $ECHO_N "(cached) $ECHO_C" >&6
38543 ac_cpp='$CXXCPP $CPPFLAGS'
38544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38548 cat >conftest.$ac_ext <<_ACEOF
38551 cat confdefs.h >>conftest.$ac_ext
38552 cat >>conftest.$ac_ext <<_ACEOF
38553 /* end confdefs.h. */
38554 #include <pthread.h>
38555 void ThreadCleanupFunc(void *p);
38562 pthread_cleanup_push(ThreadCleanupFunc, p);
38563 pthread_cleanup_pop(0);
38569 rm -f conftest.$ac_objext
38570 if { (ac_try="$ac_compile"
38571 case "(($ac_try" in
38572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38573 *) ac_try_echo=$ac_try;;
38575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38576 (eval "$ac_compile") 2>conftest.er1
38578 grep -v '^ *+' conftest.er1 >conftest.err
38580 cat conftest.err >&5
38581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38582 (exit $ac_status); } && {
38583 test -z "$ac_cxx_werror_flag" ||
38584 test ! -s conftest.err
38585 } && test -s conftest.$ac_objext; then
38587 wx_cv_func_pthread_cleanup=yes
38590 echo "$as_me: failed program was:" >&5
38591 sed 's/^/| /' conftest.$ac_ext >&5
38594 wx_cv_func_pthread_cleanup=no
38599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38601 ac_cpp='$CPP $CPPFLAGS'
38602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38608 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38609 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38610 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38611 cat >>confdefs.h <<\_ACEOF
38612 #define wxHAVE_PTHREAD_CLEANUP 1
38618 for ac_header in sched.h
38620 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38621 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38623 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38624 echo $ECHO_N "(cached) $ECHO_C" >&6
38626 cat >conftest.$ac_ext <<_ACEOF
38629 cat confdefs.h >>conftest.$ac_ext
38630 cat >>conftest.$ac_ext <<_ACEOF
38631 /* end confdefs.h. */
38632 $ac_includes_default
38634 #include <$ac_header>
38636 rm -f conftest.$ac_objext
38637 if { (ac_try="$ac_compile"
38638 case "(($ac_try" in
38639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38640 *) ac_try_echo=$ac_try;;
38642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38643 (eval "$ac_compile") 2>conftest.er1
38645 grep -v '^ *+' conftest.er1 >conftest.err
38647 cat conftest.err >&5
38648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38649 (exit $ac_status); } && {
38650 test -z "$ac_c_werror_flag" ||
38651 test ! -s conftest.err
38652 } && test -s conftest.$ac_objext; then
38653 eval "$as_ac_Header=yes"
38655 echo "$as_me: failed program was:" >&5
38656 sed 's/^/| /' conftest.$ac_ext >&5
38658 eval "$as_ac_Header=no"
38661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38663 ac_res=`eval echo '${'$as_ac_Header'}'`
38664 { echo "$as_me:$LINENO: result: $ac_res" >&5
38665 echo "${ECHO_T}$ac_res" >&6; }
38666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38667 cat >>confdefs.h <<_ACEOF
38668 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38675 if test "$ac_cv_header_sched_h" = "yes"; then
38676 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38677 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38678 if test "${ac_cv_func_sched_yield+set}" = set; then
38679 echo $ECHO_N "(cached) $ECHO_C" >&6
38681 cat >conftest.$ac_ext <<_ACEOF
38684 cat confdefs.h >>conftest.$ac_ext
38685 cat >>conftest.$ac_ext <<_ACEOF
38686 /* end confdefs.h. */
38687 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38689 #define sched_yield innocuous_sched_yield
38691 /* System header to define __stub macros and hopefully few prototypes,
38692 which can conflict with char sched_yield (); below.
38693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38694 <limits.h> exists even on freestanding compilers. */
38697 # include <limits.h>
38699 # include <assert.h>
38704 /* Override any GCC internal prototype to avoid an error.
38705 Use char because int might match the return type of a GCC
38706 builtin and then its argument prototype would still apply. */
38710 char sched_yield ();
38711 /* The GNU C library defines this for functions which it implements
38712 to always fail with ENOSYS. Some functions are actually named
38713 something starting with __ and the normal name is an alias. */
38714 #if defined __stub_sched_yield || defined __stub___sched_yield
38721 return sched_yield ();
38726 rm -f conftest.$ac_objext conftest$ac_exeext
38727 if { (ac_try="$ac_link"
38728 case "(($ac_try" in
38729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38730 *) ac_try_echo=$ac_try;;
38732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38733 (eval "$ac_link") 2>conftest.er1
38735 grep -v '^ *+' conftest.er1 >conftest.err
38737 cat conftest.err >&5
38738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38739 (exit $ac_status); } && {
38740 test -z "$ac_c_werror_flag" ||
38741 test ! -s conftest.err
38742 } && test -s conftest$ac_exeext &&
38743 $as_test_x conftest$ac_exeext; then
38744 ac_cv_func_sched_yield=yes
38746 echo "$as_me: failed program was:" >&5
38747 sed 's/^/| /' conftest.$ac_ext >&5
38749 ac_cv_func_sched_yield=no
38752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38753 conftest$ac_exeext conftest.$ac_ext
38755 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38756 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38757 if test $ac_cv_func_sched_yield = yes; then
38758 cat >>confdefs.h <<\_ACEOF
38759 #define HAVE_SCHED_YIELD 1
38764 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38765 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38766 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38767 echo $ECHO_N "(cached) $ECHO_C" >&6
38769 ac_check_lib_save_LIBS=$LIBS
38770 LIBS="-lposix4 $LIBS"
38771 cat >conftest.$ac_ext <<_ACEOF
38774 cat confdefs.h >>conftest.$ac_ext
38775 cat >>conftest.$ac_ext <<_ACEOF
38776 /* end confdefs.h. */
38778 /* Override any GCC internal prototype to avoid an error.
38779 Use char because int might match the return type of a GCC
38780 builtin and then its argument prototype would still apply. */
38784 char sched_yield ();
38788 return sched_yield ();
38793 rm -f conftest.$ac_objext conftest$ac_exeext
38794 if { (ac_try="$ac_link"
38795 case "(($ac_try" in
38796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38797 *) ac_try_echo=$ac_try;;
38799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38800 (eval "$ac_link") 2>conftest.er1
38802 grep -v '^ *+' conftest.er1 >conftest.err
38804 cat conftest.err >&5
38805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38806 (exit $ac_status); } && {
38807 test -z "$ac_c_werror_flag" ||
38808 test ! -s conftest.err
38809 } && test -s conftest$ac_exeext &&
38810 $as_test_x conftest$ac_exeext; then
38811 ac_cv_lib_posix4_sched_yield=yes
38813 echo "$as_me: failed program was:" >&5
38814 sed 's/^/| /' conftest.$ac_ext >&5
38816 ac_cv_lib_posix4_sched_yield=no
38819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38820 conftest$ac_exeext conftest.$ac_ext
38821 LIBS=$ac_check_lib_save_LIBS
38823 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38824 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38825 if test $ac_cv_lib_posix4_sched_yield = yes; then
38826 cat >>confdefs.h <<\_ACEOF
38827 #define HAVE_SCHED_YIELD 1
38829 POSIX4_LINK=" -lposix4"
38831 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38832 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38843 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38844 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38845 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38846 echo $ECHO_N "(cached) $ECHO_C" >&6
38848 cat >conftest.$ac_ext <<_ACEOF
38851 cat confdefs.h >>conftest.$ac_ext
38852 cat >>conftest.$ac_ext <<_ACEOF
38853 /* end confdefs.h. */
38854 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38856 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38858 /* System header to define __stub macros and hopefully few prototypes,
38859 which can conflict with char pthread_attr_getschedpolicy (); below.
38860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38861 <limits.h> exists even on freestanding compilers. */
38864 # include <limits.h>
38866 # include <assert.h>
38869 #undef pthread_attr_getschedpolicy
38871 /* Override any GCC internal prototype to avoid an error.
38872 Use char because int might match the return type of a GCC
38873 builtin and then its argument prototype would still apply. */
38877 char pthread_attr_getschedpolicy ();
38878 /* The GNU C library defines this for functions which it implements
38879 to always fail with ENOSYS. Some functions are actually named
38880 something starting with __ and the normal name is an alias. */
38881 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38888 return pthread_attr_getschedpolicy ();
38893 rm -f conftest.$ac_objext conftest$ac_exeext
38894 if { (ac_try="$ac_link"
38895 case "(($ac_try" in
38896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38897 *) ac_try_echo=$ac_try;;
38899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38900 (eval "$ac_link") 2>conftest.er1
38902 grep -v '^ *+' conftest.er1 >conftest.err
38904 cat conftest.err >&5
38905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38906 (exit $ac_status); } && {
38907 test -z "$ac_c_werror_flag" ||
38908 test ! -s conftest.err
38909 } && test -s conftest$ac_exeext &&
38910 $as_test_x conftest$ac_exeext; then
38911 ac_cv_func_pthread_attr_getschedpolicy=yes
38913 echo "$as_me: failed program was:" >&5
38914 sed 's/^/| /' conftest.$ac_ext >&5
38916 ac_cv_func_pthread_attr_getschedpolicy=no
38919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38920 conftest$ac_exeext conftest.$ac_ext
38922 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38923 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38924 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38925 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38926 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38927 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38928 echo $ECHO_N "(cached) $ECHO_C" >&6
38930 cat >conftest.$ac_ext <<_ACEOF
38933 cat confdefs.h >>conftest.$ac_ext
38934 cat >>conftest.$ac_ext <<_ACEOF
38935 /* end confdefs.h. */
38936 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38938 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38940 /* System header to define __stub macros and hopefully few prototypes,
38941 which can conflict with char pthread_attr_setschedparam (); below.
38942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38943 <limits.h> exists even on freestanding compilers. */
38946 # include <limits.h>
38948 # include <assert.h>
38951 #undef pthread_attr_setschedparam
38953 /* Override any GCC internal prototype to avoid an error.
38954 Use char because int might match the return type of a GCC
38955 builtin and then its argument prototype would still apply. */
38959 char pthread_attr_setschedparam ();
38960 /* The GNU C library defines this for functions which it implements
38961 to always fail with ENOSYS. Some functions are actually named
38962 something starting with __ and the normal name is an alias. */
38963 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38970 return pthread_attr_setschedparam ();
38975 rm -f conftest.$ac_objext conftest$ac_exeext
38976 if { (ac_try="$ac_link"
38977 case "(($ac_try" in
38978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38979 *) ac_try_echo=$ac_try;;
38981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38982 (eval "$ac_link") 2>conftest.er1
38984 grep -v '^ *+' conftest.er1 >conftest.err
38986 cat conftest.err >&5
38987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38988 (exit $ac_status); } && {
38989 test -z "$ac_c_werror_flag" ||
38990 test ! -s conftest.err
38991 } && test -s conftest$ac_exeext &&
38992 $as_test_x conftest$ac_exeext; then
38993 ac_cv_func_pthread_attr_setschedparam=yes
38995 echo "$as_me: failed program was:" >&5
38996 sed 's/^/| /' conftest.$ac_ext >&5
38998 ac_cv_func_pthread_attr_setschedparam=no
39001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39002 conftest$ac_exeext conftest.$ac_ext
39004 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39005 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39006 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39007 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39008 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39009 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39010 echo $ECHO_N "(cached) $ECHO_C" >&6
39012 cat >conftest.$ac_ext <<_ACEOF
39015 cat confdefs.h >>conftest.$ac_ext
39016 cat >>conftest.$ac_ext <<_ACEOF
39017 /* end confdefs.h. */
39018 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39020 #define sched_get_priority_max innocuous_sched_get_priority_max
39022 /* System header to define __stub macros and hopefully few prototypes,
39023 which can conflict with char sched_get_priority_max (); below.
39024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39025 <limits.h> exists even on freestanding compilers. */
39028 # include <limits.h>
39030 # include <assert.h>
39033 #undef sched_get_priority_max
39035 /* Override any GCC internal prototype to avoid an error.
39036 Use char because int might match the return type of a GCC
39037 builtin and then its argument prototype would still apply. */
39041 char sched_get_priority_max ();
39042 /* The GNU C library defines this for functions which it implements
39043 to always fail with ENOSYS. Some functions are actually named
39044 something starting with __ and the normal name is an alias. */
39045 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39052 return sched_get_priority_max ();
39057 rm -f conftest.$ac_objext conftest$ac_exeext
39058 if { (ac_try="$ac_link"
39059 case "(($ac_try" in
39060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39061 *) ac_try_echo=$ac_try;;
39063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39064 (eval "$ac_link") 2>conftest.er1
39066 grep -v '^ *+' conftest.er1 >conftest.err
39068 cat conftest.err >&5
39069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39070 (exit $ac_status); } && {
39071 test -z "$ac_c_werror_flag" ||
39072 test ! -s conftest.err
39073 } && test -s conftest$ac_exeext &&
39074 $as_test_x conftest$ac_exeext; then
39075 ac_cv_func_sched_get_priority_max=yes
39077 echo "$as_me: failed program was:" >&5
39078 sed 's/^/| /' conftest.$ac_ext >&5
39080 ac_cv_func_sched_get_priority_max=no
39083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39084 conftest$ac_exeext conftest.$ac_ext
39086 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39087 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39088 if test $ac_cv_func_sched_get_priority_max = yes; then
39091 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39092 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39093 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39094 echo $ECHO_N "(cached) $ECHO_C" >&6
39096 ac_check_lib_save_LIBS=$LIBS
39097 LIBS="-lposix4 $LIBS"
39098 cat >conftest.$ac_ext <<_ACEOF
39101 cat confdefs.h >>conftest.$ac_ext
39102 cat >>conftest.$ac_ext <<_ACEOF
39103 /* end confdefs.h. */
39105 /* Override any GCC internal prototype to avoid an error.
39106 Use char because int might match the return type of a GCC
39107 builtin and then its argument prototype would still apply. */
39111 char sched_get_priority_max ();
39115 return sched_get_priority_max ();
39120 rm -f conftest.$ac_objext conftest$ac_exeext
39121 if { (ac_try="$ac_link"
39122 case "(($ac_try" in
39123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39124 *) ac_try_echo=$ac_try;;
39126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39127 (eval "$ac_link") 2>conftest.er1
39129 grep -v '^ *+' conftest.er1 >conftest.err
39131 cat conftest.err >&5
39132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39133 (exit $ac_status); } && {
39134 test -z "$ac_c_werror_flag" ||
39135 test ! -s conftest.err
39136 } && test -s conftest$ac_exeext &&
39137 $as_test_x conftest$ac_exeext; then
39138 ac_cv_lib_posix4_sched_get_priority_max=yes
39140 echo "$as_me: failed program was:" >&5
39141 sed 's/^/| /' conftest.$ac_ext >&5
39143 ac_cv_lib_posix4_sched_get_priority_max=no
39146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39147 conftest$ac_exeext conftest.$ac_ext
39148 LIBS=$ac_check_lib_save_LIBS
39150 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39151 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39152 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39155 POSIX4_LINK=" -lposix4"
39169 if test "$HAVE_PRIOR_FUNCS" = 1; then
39170 cat >>confdefs.h <<\_ACEOF
39171 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39175 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39176 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39179 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39180 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39181 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39182 echo $ECHO_N "(cached) $ECHO_C" >&6
39184 cat >conftest.$ac_ext <<_ACEOF
39187 cat confdefs.h >>conftest.$ac_ext
39188 cat >>conftest.$ac_ext <<_ACEOF
39189 /* end confdefs.h. */
39190 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39192 #define pthread_cancel innocuous_pthread_cancel
39194 /* System header to define __stub macros and hopefully few prototypes,
39195 which can conflict with char pthread_cancel (); below.
39196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39197 <limits.h> exists even on freestanding compilers. */
39200 # include <limits.h>
39202 # include <assert.h>
39205 #undef pthread_cancel
39207 /* Override any GCC internal prototype to avoid an error.
39208 Use char because int might match the return type of a GCC
39209 builtin and then its argument prototype would still apply. */
39213 char pthread_cancel ();
39214 /* The GNU C library defines this for functions which it implements
39215 to always fail with ENOSYS. Some functions are actually named
39216 something starting with __ and the normal name is an alias. */
39217 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39224 return pthread_cancel ();
39229 rm -f conftest.$ac_objext conftest$ac_exeext
39230 if { (ac_try="$ac_link"
39231 case "(($ac_try" in
39232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39233 *) ac_try_echo=$ac_try;;
39235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39236 (eval "$ac_link") 2>conftest.er1
39238 grep -v '^ *+' conftest.er1 >conftest.err
39240 cat conftest.err >&5
39241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39242 (exit $ac_status); } && {
39243 test -z "$ac_c_werror_flag" ||
39244 test ! -s conftest.err
39245 } && test -s conftest$ac_exeext &&
39246 $as_test_x conftest$ac_exeext; then
39247 ac_cv_func_pthread_cancel=yes
39249 echo "$as_me: failed program was:" >&5
39250 sed 's/^/| /' conftest.$ac_ext >&5
39252 ac_cv_func_pthread_cancel=no
39255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39256 conftest$ac_exeext conftest.$ac_ext
39258 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39259 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39260 if test $ac_cv_func_pthread_cancel = yes; then
39261 cat >>confdefs.h <<\_ACEOF
39262 #define HAVE_PTHREAD_CANCEL 1
39266 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39267 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39271 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39272 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39273 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39274 echo $ECHO_N "(cached) $ECHO_C" >&6
39276 cat >conftest.$ac_ext <<_ACEOF
39279 cat confdefs.h >>conftest.$ac_ext
39280 cat >>conftest.$ac_ext <<_ACEOF
39281 /* end confdefs.h. */
39282 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39284 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39286 /* System header to define __stub macros and hopefully few prototypes,
39287 which can conflict with char pthread_mutex_timedlock (); below.
39288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39289 <limits.h> exists even on freestanding compilers. */
39292 # include <limits.h>
39294 # include <assert.h>
39297 #undef pthread_mutex_timedlock
39299 /* Override any GCC internal prototype to avoid an error.
39300 Use char because int might match the return type of a GCC
39301 builtin and then its argument prototype would still apply. */
39305 char pthread_mutex_timedlock ();
39306 /* The GNU C library defines this for functions which it implements
39307 to always fail with ENOSYS. Some functions are actually named
39308 something starting with __ and the normal name is an alias. */
39309 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39316 return pthread_mutex_timedlock ();
39321 rm -f conftest.$ac_objext conftest$ac_exeext
39322 if { (ac_try="$ac_link"
39323 case "(($ac_try" in
39324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39325 *) ac_try_echo=$ac_try;;
39327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39328 (eval "$ac_link") 2>conftest.er1
39330 grep -v '^ *+' conftest.er1 >conftest.err
39332 cat conftest.err >&5
39333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39334 (exit $ac_status); } && {
39335 test -z "$ac_c_werror_flag" ||
39336 test ! -s conftest.err
39337 } && test -s conftest$ac_exeext &&
39338 $as_test_x conftest$ac_exeext; then
39339 ac_cv_func_pthread_mutex_timedlock=yes
39341 echo "$as_me: failed program was:" >&5
39342 sed 's/^/| /' conftest.$ac_ext >&5
39344 ac_cv_func_pthread_mutex_timedlock=no
39347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39348 conftest$ac_exeext conftest.$ac_ext
39350 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39351 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39352 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39353 cat >>confdefs.h <<\_ACEOF
39354 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39358 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39359 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39363 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39364 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39365 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39366 echo $ECHO_N "(cached) $ECHO_C" >&6
39368 cat >conftest.$ac_ext <<_ACEOF
39371 cat confdefs.h >>conftest.$ac_ext
39372 cat >>conftest.$ac_ext <<_ACEOF
39373 /* end confdefs.h. */
39374 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39376 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39378 /* System header to define __stub macros and hopefully few prototypes,
39379 which can conflict with char pthread_attr_setstacksize (); below.
39380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39381 <limits.h> exists even on freestanding compilers. */
39384 # include <limits.h>
39386 # include <assert.h>
39389 #undef pthread_attr_setstacksize
39391 /* Override any GCC internal prototype to avoid an error.
39392 Use char because int might match the return type of a GCC
39393 builtin and then its argument prototype would still apply. */
39397 char pthread_attr_setstacksize ();
39398 /* The GNU C library defines this for functions which it implements
39399 to always fail with ENOSYS. Some functions are actually named
39400 something starting with __ and the normal name is an alias. */
39401 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39408 return pthread_attr_setstacksize ();
39413 rm -f conftest.$ac_objext conftest$ac_exeext
39414 if { (ac_try="$ac_link"
39415 case "(($ac_try" in
39416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39417 *) ac_try_echo=$ac_try;;
39419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39420 (eval "$ac_link") 2>conftest.er1
39422 grep -v '^ *+' conftest.er1 >conftest.err
39424 cat conftest.err >&5
39425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39426 (exit $ac_status); } && {
39427 test -z "$ac_c_werror_flag" ||
39428 test ! -s conftest.err
39429 } && test -s conftest$ac_exeext &&
39430 $as_test_x conftest$ac_exeext; then
39431 ac_cv_func_pthread_attr_setstacksize=yes
39433 echo "$as_me: failed program was:" >&5
39434 sed 's/^/| /' conftest.$ac_ext >&5
39436 ac_cv_func_pthread_attr_setstacksize=no
39439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39440 conftest$ac_exeext conftest.$ac_ext
39442 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39443 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39444 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39445 cat >>confdefs.h <<\_ACEOF
39446 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39453 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39454 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39455 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39456 echo $ECHO_N "(cached) $ECHO_C" >&6
39459 cat >conftest.$ac_ext <<_ACEOF
39462 cat confdefs.h >>conftest.$ac_ext
39463 cat >>conftest.$ac_ext <<_ACEOF
39464 /* end confdefs.h. */
39465 #include <pthread.h>
39470 pthread_mutexattr_t attr;
39471 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39477 rm -f conftest.$ac_objext
39478 if { (ac_try="$ac_compile"
39479 case "(($ac_try" in
39480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39481 *) ac_try_echo=$ac_try;;
39483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39484 (eval "$ac_compile") 2>conftest.er1
39486 grep -v '^ *+' conftest.er1 >conftest.err
39488 cat conftest.err >&5
39489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39490 (exit $ac_status); } && {
39491 test -z "$ac_c_werror_flag" ||
39492 test ! -s conftest.err
39493 } && test -s conftest.$ac_objext; then
39494 wx_cv_type_pthread_mutexattr_t=yes
39496 echo "$as_me: failed program was:" >&5
39497 sed 's/^/| /' conftest.$ac_ext >&5
39499 wx_cv_type_pthread_mutexattr_t=no
39503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39506 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39507 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39509 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39510 cat >>confdefs.h <<\_ACEOF
39511 #define HAVE_PTHREAD_MUTEXATTR_T 1
39515 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39516 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39517 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39518 echo $ECHO_N "(cached) $ECHO_C" >&6
39521 cat >conftest.$ac_ext <<_ACEOF
39524 cat confdefs.h >>conftest.$ac_ext
39525 cat >>conftest.$ac_ext <<_ACEOF
39526 /* end confdefs.h. */
39527 #include <pthread.h>
39532 pthread_mutexattr_t attr;
39533 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39539 rm -f conftest.$ac_objext
39540 if { (ac_try="$ac_compile"
39541 case "(($ac_try" in
39542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39543 *) ac_try_echo=$ac_try;;
39545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39546 (eval "$ac_compile") 2>conftest.er1
39548 grep -v '^ *+' conftest.er1 >conftest.err
39550 cat conftest.err >&5
39551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39552 (exit $ac_status); } && {
39553 test -z "$ac_c_werror_flag" ||
39554 test ! -s conftest.err
39555 } && test -s conftest.$ac_objext; then
39556 wx_cv_func_pthread_mutexattr_settype_decl=yes
39558 echo "$as_me: failed program was:" >&5
39559 sed 's/^/| /' conftest.$ac_ext >&5
39561 wx_cv_func_pthread_mutexattr_settype_decl=no
39565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39568 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39569 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39570 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39571 cat >>confdefs.h <<\_ACEOF
39572 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39577 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39578 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39579 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39580 echo $ECHO_N "(cached) $ECHO_C" >&6
39583 cat >conftest.$ac_ext <<_ACEOF
39586 cat confdefs.h >>conftest.$ac_ext
39587 cat >>conftest.$ac_ext <<_ACEOF
39588 /* end confdefs.h. */
39589 #include <pthread.h>
39594 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39600 rm -f conftest.$ac_objext
39601 if { (ac_try="$ac_compile"
39602 case "(($ac_try" in
39603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39604 *) ac_try_echo=$ac_try;;
39606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39607 (eval "$ac_compile") 2>conftest.er1
39609 grep -v '^ *+' conftest.er1 >conftest.err
39611 cat conftest.err >&5
39612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39613 (exit $ac_status); } && {
39614 test -z "$ac_c_werror_flag" ||
39615 test ! -s conftest.err
39616 } && test -s conftest.$ac_objext; then
39618 wx_cv_type_pthread_rec_mutex_init=yes
39621 echo "$as_me: failed program was:" >&5
39622 sed 's/^/| /' conftest.$ac_ext >&5
39625 wx_cv_type_pthread_rec_mutex_init=no
39630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39633 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39634 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39635 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39636 cat >>confdefs.h <<\_ACEOF
39637 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39641 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39642 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39648 if test "$wxUSE_THREADS" = "yes" ; then
39651 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39652 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39653 if test "${wx_cv_cflags_mthread+set}" = set; then
39654 echo $ECHO_N "(cached) $ECHO_C" >&6
39657 CFLAGS_OLD="$CFLAGS"
39658 CFLAGS="-mthreads $CFLAGS"
39659 cat >conftest.$ac_ext <<_ACEOF
39662 cat confdefs.h >>conftest.$ac_ext
39663 cat >>conftest.$ac_ext <<_ACEOF
39664 /* end confdefs.h. */
39674 rm -f conftest.$ac_objext
39675 if { (ac_try="$ac_compile"
39676 case "(($ac_try" in
39677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39678 *) ac_try_echo=$ac_try;;
39680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39681 (eval "$ac_compile") 2>conftest.er1
39683 grep -v '^ *+' conftest.er1 >conftest.err
39685 cat conftest.err >&5
39686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39687 (exit $ac_status); } && {
39688 test -z "$ac_c_werror_flag" ||
39689 test ! -s conftest.err
39690 } && test -s conftest.$ac_objext; then
39691 wx_cv_cflags_mthread=yes
39693 echo "$as_me: failed program was:" >&5
39694 sed 's/^/| /' conftest.$ac_ext >&5
39696 wx_cv_cflags_mthread=no
39700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39704 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39705 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39707 if test "$wx_cv_cflags_mthread" = "yes"; then
39708 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39709 LDFLAGS="$LDFLAGS -mthreads"
39711 CFLAGS="$CFLAGS_OLD"
39715 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39716 LDFLAGS="$LDFLAGS -Zmt"
39722 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39723 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39724 if test "${ac_cv_func_localtime_r+set}" = set; then
39725 echo $ECHO_N "(cached) $ECHO_C" >&6
39727 cat >conftest.$ac_ext <<_ACEOF
39730 cat confdefs.h >>conftest.$ac_ext
39731 cat >>conftest.$ac_ext <<_ACEOF
39732 /* end confdefs.h. */
39733 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39735 #define localtime_r innocuous_localtime_r
39737 /* System header to define __stub macros and hopefully few prototypes,
39738 which can conflict with char localtime_r (); below.
39739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39740 <limits.h> exists even on freestanding compilers. */
39743 # include <limits.h>
39745 # include <assert.h>
39750 /* Override any GCC internal prototype to avoid an error.
39751 Use char because int might match the return type of a GCC
39752 builtin and then its argument prototype would still apply. */
39756 char localtime_r ();
39757 /* The GNU C library defines this for functions which it implements
39758 to always fail with ENOSYS. Some functions are actually named
39759 something starting with __ and the normal name is an alias. */
39760 #if defined __stub_localtime_r || defined __stub___localtime_r
39767 return localtime_r ();
39772 rm -f conftest.$ac_objext conftest$ac_exeext
39773 if { (ac_try="$ac_link"
39774 case "(($ac_try" in
39775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39776 *) ac_try_echo=$ac_try;;
39778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39779 (eval "$ac_link") 2>conftest.er1
39781 grep -v '^ *+' conftest.er1 >conftest.err
39783 cat conftest.err >&5
39784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39785 (exit $ac_status); } && {
39786 test -z "$ac_c_werror_flag" ||
39787 test ! -s conftest.err
39788 } && test -s conftest$ac_exeext &&
39789 $as_test_x conftest$ac_exeext; then
39790 ac_cv_func_localtime_r=yes
39792 echo "$as_me: failed program was:" >&5
39793 sed 's/^/| /' conftest.$ac_ext >&5
39795 ac_cv_func_localtime_r=no
39798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39799 conftest$ac_exeext conftest.$ac_ext
39801 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39802 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39803 if test $ac_cv_func_localtime_r = yes; then
39804 cat >>confdefs.h <<\_ACEOF
39805 #define HAVE_LOCALTIME_R 1
39810 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39811 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39812 if test "${ac_cv_func_gmtime_r+set}" = set; then
39813 echo $ECHO_N "(cached) $ECHO_C" >&6
39815 cat >conftest.$ac_ext <<_ACEOF
39818 cat confdefs.h >>conftest.$ac_ext
39819 cat >>conftest.$ac_ext <<_ACEOF
39820 /* end confdefs.h. */
39821 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39823 #define gmtime_r innocuous_gmtime_r
39825 /* System header to define __stub macros and hopefully few prototypes,
39826 which can conflict with char gmtime_r (); below.
39827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39828 <limits.h> exists even on freestanding compilers. */
39831 # include <limits.h>
39833 # include <assert.h>
39838 /* Override any GCC internal prototype to avoid an error.
39839 Use char because int might match the return type of a GCC
39840 builtin and then its argument prototype would still apply. */
39845 /* The GNU C library defines this for functions which it implements
39846 to always fail with ENOSYS. Some functions are actually named
39847 something starting with __ and the normal name is an alias. */
39848 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39855 return gmtime_r ();
39860 rm -f conftest.$ac_objext conftest$ac_exeext
39861 if { (ac_try="$ac_link"
39862 case "(($ac_try" in
39863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39864 *) ac_try_echo=$ac_try;;
39866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39867 (eval "$ac_link") 2>conftest.er1
39869 grep -v '^ *+' conftest.er1 >conftest.err
39871 cat conftest.err >&5
39872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39873 (exit $ac_status); } && {
39874 test -z "$ac_c_werror_flag" ||
39875 test ! -s conftest.err
39876 } && test -s conftest$ac_exeext &&
39877 $as_test_x conftest$ac_exeext; then
39878 ac_cv_func_gmtime_r=yes
39880 echo "$as_me: failed program was:" >&5
39881 sed 's/^/| /' conftest.$ac_ext >&5
39883 ac_cv_func_gmtime_r=no
39886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39887 conftest$ac_exeext conftest.$ac_ext
39889 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39890 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39891 if test $ac_cv_func_gmtime_r = yes; then
39892 cat >>confdefs.h <<\_ACEOF
39893 #define HAVE_GMTIME_R 1
39902 ac_cpp='$CPP $CPPFLAGS'
39903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39907 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39908 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39910 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39911 echo $ECHO_N "(cached) $ECHO_C" >&6
39915 ################################################################
39917 ac_cv_func_which_gethostbyname_r=unknown
39920 # ONE ARGUMENT (sanity check)
39923 # This should fail, as there is no variant of gethostbyname_r() that takes
39924 # a single argument. If it actually compiles, then we can assume that
39925 # netdb.h is not declaring the function, and the compiler is thereby
39926 # assuming an implicit prototype. In which case, we're out of luck.
39928 cat >conftest.$ac_ext <<_ACEOF
39931 cat confdefs.h >>conftest.$ac_ext
39932 cat >>conftest.$ac_ext <<_ACEOF
39933 /* end confdefs.h. */
39939 char *name = "www.gnu.org";
39940 (void)gethostbyname_r(name) /* ; */
39946 rm -f conftest.$ac_objext
39947 if { (ac_try="$ac_compile"
39948 case "(($ac_try" in
39949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39950 *) ac_try_echo=$ac_try;;
39952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39953 (eval "$ac_compile") 2>conftest.er1
39955 grep -v '^ *+' conftest.er1 >conftest.err
39957 cat conftest.err >&5
39958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39959 (exit $ac_status); } && {
39960 test -z "$ac_c_werror_flag" ||
39961 test ! -s conftest.err
39962 } && test -s conftest.$ac_objext; then
39963 ac_cv_func_which_gethostbyname_r=no
39965 echo "$as_me: failed program was:" >&5
39966 sed 's/^/| /' conftest.$ac_ext >&5
39971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39978 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39980 cat >conftest.$ac_ext <<_ACEOF
39983 cat confdefs.h >>conftest.$ac_ext
39984 cat >>conftest.$ac_ext <<_ACEOF
39985 /* end confdefs.h. */
39991 char *name = "www.gnu.org";
39992 struct hostent ret, *retp;
39996 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40002 rm -f conftest.$ac_objext
40003 if { (ac_try="$ac_compile"
40004 case "(($ac_try" in
40005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40006 *) ac_try_echo=$ac_try;;
40008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40009 (eval "$ac_compile") 2>conftest.er1
40011 grep -v '^ *+' conftest.er1 >conftest.err
40013 cat conftest.err >&5
40014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40015 (exit $ac_status); } && {
40016 test -z "$ac_c_werror_flag" ||
40017 test ! -s conftest.err
40018 } && test -s conftest.$ac_objext; then
40019 ac_cv_func_which_gethostbyname_r=six
40021 echo "$as_me: failed program was:" >&5
40022 sed 's/^/| /' conftest.$ac_ext >&5
40027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40036 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40038 cat >conftest.$ac_ext <<_ACEOF
40041 cat confdefs.h >>conftest.$ac_ext
40042 cat >>conftest.$ac_ext <<_ACEOF
40043 /* end confdefs.h. */
40049 char *name = "www.gnu.org";
40050 struct hostent ret;
40054 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40060 rm -f conftest.$ac_objext
40061 if { (ac_try="$ac_compile"
40062 case "(($ac_try" in
40063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40064 *) ac_try_echo=$ac_try;;
40066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40067 (eval "$ac_compile") 2>conftest.er1
40069 grep -v '^ *+' conftest.er1 >conftest.err
40071 cat conftest.err >&5
40072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40073 (exit $ac_status); } && {
40074 test -z "$ac_c_werror_flag" ||
40075 test ! -s conftest.err
40076 } && test -s conftest.$ac_objext; then
40077 ac_cv_func_which_gethostbyname_r=five
40079 echo "$as_me: failed program was:" >&5
40080 sed 's/^/| /' conftest.$ac_ext >&5
40085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40091 # (e.g. AIX, HP-UX, Tru64)
40094 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40096 cat >conftest.$ac_ext <<_ACEOF
40099 cat confdefs.h >>conftest.$ac_ext
40100 cat >>conftest.$ac_ext <<_ACEOF
40101 /* end confdefs.h. */
40107 char *name = "www.gnu.org";
40108 struct hostent ret;
40109 struct hostent_data data;
40110 (void)gethostbyname_r(name, &ret, &data) /* ; */
40116 rm -f conftest.$ac_objext
40117 if { (ac_try="$ac_compile"
40118 case "(($ac_try" in
40119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40120 *) ac_try_echo=$ac_try;;
40122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40123 (eval "$ac_compile") 2>conftest.er1
40125 grep -v '^ *+' conftest.er1 >conftest.err
40127 cat conftest.err >&5
40128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40129 (exit $ac_status); } && {
40130 test -z "$ac_c_werror_flag" ||
40131 test ! -s conftest.err
40132 } && test -s conftest.$ac_objext; then
40133 ac_cv_func_which_gethostbyname_r=three
40135 echo "$as_me: failed program was:" >&5
40136 sed 's/^/| /' conftest.$ac_ext >&5
40141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40145 ################################################################
40150 case "$ac_cv_func_which_gethostbyname_r" in
40152 { echo "$as_me:$LINENO: result: three" >&5
40153 echo "${ECHO_T}three" >&6; }
40154 cat >>confdefs.h <<\_ACEOF
40155 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40161 { echo "$as_me:$LINENO: result: five" >&5
40162 echo "${ECHO_T}five" >&6; }
40163 cat >>confdefs.h <<\_ACEOF
40164 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40170 { echo "$as_me:$LINENO: result: six" >&5
40171 echo "${ECHO_T}six" >&6; }
40172 cat >>confdefs.h <<\_ACEOF
40173 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40179 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40180 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40184 { echo "$as_me:$LINENO: result: can't tell" >&5
40185 echo "${ECHO_T}can't tell" >&6; }
40189 { { echo "$as_me:$LINENO: error: internal error" >&5
40190 echo "$as_me: error: internal error" >&2;}
40191 { (exit 1); exit 1; }; }
40196 ac_cpp='$CPP $CPPFLAGS'
40197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40203 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40204 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40205 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40206 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40207 if test "${ac_cv_func_gethostbyname+set}" = set; then
40208 echo $ECHO_N "(cached) $ECHO_C" >&6
40210 cat >conftest.$ac_ext <<_ACEOF
40213 cat confdefs.h >>conftest.$ac_ext
40214 cat >>conftest.$ac_ext <<_ACEOF
40215 /* end confdefs.h. */
40216 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40218 #define gethostbyname innocuous_gethostbyname
40220 /* System header to define __stub macros and hopefully few prototypes,
40221 which can conflict with char gethostbyname (); below.
40222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40223 <limits.h> exists even on freestanding compilers. */
40226 # include <limits.h>
40228 # include <assert.h>
40231 #undef gethostbyname
40233 /* Override any GCC internal prototype to avoid an error.
40234 Use char because int might match the return type of a GCC
40235 builtin and then its argument prototype would still apply. */
40239 char gethostbyname ();
40240 /* The GNU C library defines this for functions which it implements
40241 to always fail with ENOSYS. Some functions are actually named
40242 something starting with __ and the normal name is an alias. */
40243 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40250 return gethostbyname ();
40255 rm -f conftest.$ac_objext conftest$ac_exeext
40256 if { (ac_try="$ac_link"
40257 case "(($ac_try" in
40258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40259 *) ac_try_echo=$ac_try;;
40261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40262 (eval "$ac_link") 2>conftest.er1
40264 grep -v '^ *+' conftest.er1 >conftest.err
40266 cat conftest.err >&5
40267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40268 (exit $ac_status); } && {
40269 test -z "$ac_c_werror_flag" ||
40270 test ! -s conftest.err
40271 } && test -s conftest$ac_exeext &&
40272 $as_test_x conftest$ac_exeext; then
40273 ac_cv_func_gethostbyname=yes
40275 echo "$as_me: failed program was:" >&5
40276 sed 's/^/| /' conftest.$ac_ext >&5
40278 ac_cv_func_gethostbyname=no
40281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40282 conftest$ac_exeext conftest.$ac_ext
40284 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40285 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40286 if test $ac_cv_func_gethostbyname = yes; then
40287 cat >>confdefs.h <<\_ACEOF
40288 #define HAVE_GETHOSTBYNAME 1
40295 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40296 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40297 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40298 echo $ECHO_N "(cached) $ECHO_C" >&6
40302 ac_cpp='$CXXCPP $CPPFLAGS'
40303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40308 cat >conftest.$ac_ext <<_ACEOF
40311 cat confdefs.h >>conftest.$ac_ext
40312 cat >>conftest.$ac_ext <<_ACEOF
40313 /* end confdefs.h. */
40321 struct servent *se, *res;
40324 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40330 rm -f conftest.$ac_objext
40331 if { (ac_try="$ac_compile"
40332 case "(($ac_try" in
40333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40334 *) ac_try_echo=$ac_try;;
40336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40337 (eval "$ac_compile") 2>conftest.er1
40339 grep -v '^ *+' conftest.er1 >conftest.err
40341 cat conftest.err >&5
40342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40343 (exit $ac_status); } && {
40344 test -z "$ac_cxx_werror_flag" ||
40345 test ! -s conftest.err
40346 } && test -s conftest.$ac_objext; then
40347 ac_cv_func_which_getservbyname_r=six
40349 echo "$as_me: failed program was:" >&5
40350 sed 's/^/| /' conftest.$ac_ext >&5
40353 cat >conftest.$ac_ext <<_ACEOF
40356 cat confdefs.h >>conftest.$ac_ext
40357 cat >>conftest.$ac_ext <<_ACEOF
40358 /* end confdefs.h. */
40366 struct servent *se;
40369 (void) getservbyname_r(name, proto, se, buffer, buflen)
40375 rm -f conftest.$ac_objext
40376 if { (ac_try="$ac_compile"
40377 case "(($ac_try" in
40378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40379 *) ac_try_echo=$ac_try;;
40381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40382 (eval "$ac_compile") 2>conftest.er1
40384 grep -v '^ *+' conftest.er1 >conftest.err
40386 cat conftest.err >&5
40387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40388 (exit $ac_status); } && {
40389 test -z "$ac_cxx_werror_flag" ||
40390 test ! -s conftest.err
40391 } && test -s conftest.$ac_objext; then
40392 ac_cv_func_which_getservbyname_r=five
40394 echo "$as_me: failed program was:" >&5
40395 sed 's/^/| /' conftest.$ac_ext >&5
40398 cat >conftest.$ac_ext <<_ACEOF
40401 cat confdefs.h >>conftest.$ac_ext
40402 cat >>conftest.$ac_ext <<_ACEOF
40403 /* end confdefs.h. */
40411 struct servent *se;
40412 struct servent_data data;
40413 (void) getservbyname_r(name, proto, se, &data);
40419 rm -f conftest.$ac_objext
40420 if { (ac_try="$ac_compile"
40421 case "(($ac_try" in
40422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40423 *) ac_try_echo=$ac_try;;
40425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40426 (eval "$ac_compile") 2>conftest.er1
40428 grep -v '^ *+' conftest.er1 >conftest.err
40430 cat conftest.err >&5
40431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40432 (exit $ac_status); } && {
40433 test -z "$ac_cxx_werror_flag" ||
40434 test ! -s conftest.err
40435 } && test -s conftest.$ac_objext; then
40436 ac_cv_func_which_getservbyname_r=four
40438 echo "$as_me: failed program was:" >&5
40439 sed 's/^/| /' conftest.$ac_ext >&5
40441 ac_cv_func_which_getservbyname_r=no
40445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40457 ac_cpp='$CPP $CPPFLAGS'
40458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40465 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40466 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40468 if test $ac_cv_func_which_getservbyname_r = six; then
40469 cat >>confdefs.h <<\_ACEOF
40470 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40473 elif test $ac_cv_func_which_getservbyname_r = five; then
40474 cat >>confdefs.h <<\_ACEOF
40475 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40478 elif test $ac_cv_func_which_getservbyname_r = four; then
40479 cat >>confdefs.h <<\_ACEOF
40480 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40486 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40487 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40489 for ac_func in getservbyname
40491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40492 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40494 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40495 echo $ECHO_N "(cached) $ECHO_C" >&6
40497 cat >conftest.$ac_ext <<_ACEOF
40500 cat confdefs.h >>conftest.$ac_ext
40501 cat >>conftest.$ac_ext <<_ACEOF
40502 /* end confdefs.h. */
40503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40505 #define $ac_func innocuous_$ac_func
40507 /* System header to define __stub macros and hopefully few prototypes,
40508 which can conflict with char $ac_func (); below.
40509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40510 <limits.h> exists even on freestanding compilers. */
40513 # include <limits.h>
40515 # include <assert.h>
40520 /* Override any GCC internal prototype to avoid an error.
40521 Use char because int might match the return type of a GCC
40522 builtin and then its argument prototype would still apply. */
40527 /* The GNU C library defines this for functions which it implements
40528 to always fail with ENOSYS. Some functions are actually named
40529 something starting with __ and the normal name is an alias. */
40530 #if defined __stub_$ac_func || defined __stub___$ac_func
40537 return $ac_func ();
40542 rm -f conftest.$ac_objext conftest$ac_exeext
40543 if { (ac_try="$ac_link"
40544 case "(($ac_try" in
40545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40546 *) ac_try_echo=$ac_try;;
40548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40549 (eval "$ac_link") 2>conftest.er1
40551 grep -v '^ *+' conftest.er1 >conftest.err
40553 cat conftest.err >&5
40554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40555 (exit $ac_status); } && {
40556 test -z "$ac_c_werror_flag" ||
40557 test ! -s conftest.err
40558 } && test -s conftest$ac_exeext &&
40559 $as_test_x conftest$ac_exeext; then
40560 eval "$as_ac_var=yes"
40562 echo "$as_me: failed program was:" >&5
40563 sed 's/^/| /' conftest.$ac_ext >&5
40565 eval "$as_ac_var=no"
40568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40569 conftest$ac_exeext conftest.$ac_ext
40571 ac_res=`eval echo '${'$as_ac_var'}'`
40572 { echo "$as_me:$LINENO: result: $ac_res" >&5
40573 echo "${ECHO_T}$ac_res" >&6; }
40574 if test `eval echo '${'$as_ac_var'}'` = yes; then
40575 cat >>confdefs.h <<_ACEOF
40576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40578 cat >>confdefs.h <<\_ACEOF
40579 #define HAVE_GETSERVBYNAME 1
40587 if test "$wxUSE_THREADS" = "yes"; then
40588 cat >>confdefs.h <<\_ACEOF
40589 #define wxUSE_THREADS 1
40593 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40595 if test "$wx_cv_func_strtok_r" = "yes"; then
40596 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40597 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40598 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40599 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40600 { echo "$as_me:$LINENO: result: yes" >&5
40601 echo "${ECHO_T}yes" >&6; }
40603 { echo "$as_me:$LINENO: result: no" >&5
40604 echo "${ECHO_T}no" >&6; }
40609 if test "$WXGTK2" = 1 ; then
40610 cat >>confdefs.h <<_ACEOF
40611 #define __WXGTK20__ $WXGTK2
40617 if test "$WXGTK12" = 1 ; then
40618 cat >>confdefs.h <<_ACEOF
40619 #define __WXGTK12__ $WXGTK12
40624 if test "$WXGTK127" = 1 ; then
40625 cat >>confdefs.h <<_ACEOF
40626 #define __WXGTK127__ $WXGTK127
40631 if test "$WXGPE" = 1 ; then
40632 cat >>confdefs.h <<_ACEOF
40633 #define __WXGPE__ $WXGPE
40639 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40644 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40645 wxUSE_DEBUG_INFO=yes
40646 if test "$GCC" = yes; then
40647 DEBUG_CFLAGS="-ggdb"
40651 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40652 cat >>confdefs.h <<\_ACEOF
40656 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40658 if test "$wxUSE_GTK" = 1 ; then
40659 if test "x$wxGTK_VERSION" = "x1" ; then
40660 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40665 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40666 cat >>confdefs.h <<\_ACEOF
40667 #define wxUSE_MEMORY_TRACING 1
40670 cat >>confdefs.h <<\_ACEOF
40671 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40674 cat >>confdefs.h <<\_ACEOF
40675 #define wxUSE_DEBUG_NEW_ALWAYS 1
40678 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40681 if test "$wxUSE_DMALLOC" = "yes" ; then
40682 DMALLOC_LIBS="-ldmallocthcxx"
40686 if test "$wxUSE_PROFILE" = "yes" ; then
40687 PROFILE_FLAGS=" -pg"
40690 if test "$GCC" = "yes" ; then
40691 if test "$wxUSE_NO_RTTI" = "yes" ; then
40692 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40694 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40695 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40697 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40698 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40703 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40706 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40712 if test "$wxUSE_OPTIMISE" = "no" ; then
40713 if test "$GCC" = yes ; then
40714 OPTIMISE_CFLAGS="-O0"
40717 if test "$GCC" = yes ; then
40719 *-pc-os2_emx | *-pc-os2-emx )
40720 OPTIMISE_CFLAGS="-O2"
40723 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40727 OPTIMISE_CFLAGS="-O"
40732 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40733 cat >>confdefs.h <<\_ACEOF
40734 #define WXWIN_COMPATIBILITY_2_6 1
40738 WXWIN_COMPATIBILITY_2_8="yes"
40741 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40742 cat >>confdefs.h <<\_ACEOF
40743 #define WXWIN_COMPATIBILITY_2_8 1
40749 if test "$wxUSE_GUI" = "yes"; then
40750 cat >>confdefs.h <<\_ACEOF
40751 #define wxUSE_GUI 1
40758 if test "$wxUSE_UNIX" = "yes"; then
40759 cat >>confdefs.h <<\_ACEOF
40760 #define wxUSE_UNIX 1
40766 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40770 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40771 if test "$USE_DARWIN" = 1; then
40773 elif test "$USE_DOS" = 1; then
40777 for ac_func in dlopen
40779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40780 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40782 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40783 echo $ECHO_N "(cached) $ECHO_C" >&6
40785 cat >conftest.$ac_ext <<_ACEOF
40788 cat confdefs.h >>conftest.$ac_ext
40789 cat >>conftest.$ac_ext <<_ACEOF
40790 /* end confdefs.h. */
40791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40793 #define $ac_func innocuous_$ac_func
40795 /* System header to define __stub macros and hopefully few prototypes,
40796 which can conflict with char $ac_func (); below.
40797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40798 <limits.h> exists even on freestanding compilers. */
40801 # include <limits.h>
40803 # include <assert.h>
40808 /* Override any GCC internal prototype to avoid an error.
40809 Use char because int might match the return type of a GCC
40810 builtin and then its argument prototype would still apply. */
40815 /* The GNU C library defines this for functions which it implements
40816 to always fail with ENOSYS. Some functions are actually named
40817 something starting with __ and the normal name is an alias. */
40818 #if defined __stub_$ac_func || defined __stub___$ac_func
40825 return $ac_func ();
40830 rm -f conftest.$ac_objext conftest$ac_exeext
40831 if { (ac_try="$ac_link"
40832 case "(($ac_try" in
40833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40834 *) ac_try_echo=$ac_try;;
40836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40837 (eval "$ac_link") 2>conftest.er1
40839 grep -v '^ *+' conftest.er1 >conftest.err
40841 cat conftest.err >&5
40842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40843 (exit $ac_status); } && {
40844 test -z "$ac_c_werror_flag" ||
40845 test ! -s conftest.err
40846 } && test -s conftest$ac_exeext &&
40847 $as_test_x conftest$ac_exeext; then
40848 eval "$as_ac_var=yes"
40850 echo "$as_me: failed program was:" >&5
40851 sed 's/^/| /' conftest.$ac_ext >&5
40853 eval "$as_ac_var=no"
40856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40857 conftest$ac_exeext conftest.$ac_ext
40859 ac_res=`eval echo '${'$as_ac_var'}'`
40860 { echo "$as_me:$LINENO: result: $ac_res" >&5
40861 echo "${ECHO_T}$ac_res" >&6; }
40862 if test `eval echo '${'$as_ac_var'}'` = yes; then
40863 cat >>confdefs.h <<_ACEOF
40864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40867 cat >>confdefs.h <<\_ACEOF
40868 #define HAVE_DLOPEN 1
40875 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40876 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40877 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40878 echo $ECHO_N "(cached) $ECHO_C" >&6
40880 ac_check_lib_save_LIBS=$LIBS
40882 cat >conftest.$ac_ext <<_ACEOF
40885 cat confdefs.h >>conftest.$ac_ext
40886 cat >>conftest.$ac_ext <<_ACEOF
40887 /* end confdefs.h. */
40889 /* Override any GCC internal prototype to avoid an error.
40890 Use char because int might match the return type of a GCC
40891 builtin and then its argument prototype would still apply. */
40904 rm -f conftest.$ac_objext conftest$ac_exeext
40905 if { (ac_try="$ac_link"
40906 case "(($ac_try" in
40907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40908 *) ac_try_echo=$ac_try;;
40910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40911 (eval "$ac_link") 2>conftest.er1
40913 grep -v '^ *+' conftest.er1 >conftest.err
40915 cat conftest.err >&5
40916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40917 (exit $ac_status); } && {
40918 test -z "$ac_c_werror_flag" ||
40919 test ! -s conftest.err
40920 } && test -s conftest$ac_exeext &&
40921 $as_test_x conftest$ac_exeext; then
40922 ac_cv_lib_dl_dlopen=yes
40924 echo "$as_me: failed program was:" >&5
40925 sed 's/^/| /' conftest.$ac_ext >&5
40927 ac_cv_lib_dl_dlopen=no
40930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40931 conftest$ac_exeext conftest.$ac_ext
40932 LIBS=$ac_check_lib_save_LIBS
40934 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40935 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40936 if test $ac_cv_lib_dl_dlopen = yes; then
40938 cat >>confdefs.h <<\_ACEOF
40939 #define HAVE_DLOPEN 1
40943 DL_LINK=" -ldl$DL_LINK"
40948 for ac_func in shl_load
40950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40951 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40953 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40954 echo $ECHO_N "(cached) $ECHO_C" >&6
40956 cat >conftest.$ac_ext <<_ACEOF
40959 cat confdefs.h >>conftest.$ac_ext
40960 cat >>conftest.$ac_ext <<_ACEOF
40961 /* end confdefs.h. */
40962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40964 #define $ac_func innocuous_$ac_func
40966 /* System header to define __stub macros and hopefully few prototypes,
40967 which can conflict with char $ac_func (); below.
40968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40969 <limits.h> exists even on freestanding compilers. */
40972 # include <limits.h>
40974 # include <assert.h>
40979 /* Override any GCC internal prototype to avoid an error.
40980 Use char because int might match the return type of a GCC
40981 builtin and then its argument prototype would still apply. */
40986 /* The GNU C library defines this for functions which it implements
40987 to always fail with ENOSYS. Some functions are actually named
40988 something starting with __ and the normal name is an alias. */
40989 #if defined __stub_$ac_func || defined __stub___$ac_func
40996 return $ac_func ();
41001 rm -f conftest.$ac_objext conftest$ac_exeext
41002 if { (ac_try="$ac_link"
41003 case "(($ac_try" in
41004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41005 *) ac_try_echo=$ac_try;;
41007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41008 (eval "$ac_link") 2>conftest.er1
41010 grep -v '^ *+' conftest.er1 >conftest.err
41012 cat conftest.err >&5
41013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41014 (exit $ac_status); } && {
41015 test -z "$ac_c_werror_flag" ||
41016 test ! -s conftest.err
41017 } && test -s conftest$ac_exeext &&
41018 $as_test_x conftest$ac_exeext; then
41019 eval "$as_ac_var=yes"
41021 echo "$as_me: failed program was:" >&5
41022 sed 's/^/| /' conftest.$ac_ext >&5
41024 eval "$as_ac_var=no"
41027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41028 conftest$ac_exeext conftest.$ac_ext
41030 ac_res=`eval echo '${'$as_ac_var'}'`
41031 { echo "$as_me:$LINENO: result: $ac_res" >&5
41032 echo "${ECHO_T}$ac_res" >&6; }
41033 if test `eval echo '${'$as_ac_var'}'` = yes; then
41034 cat >>confdefs.h <<_ACEOF
41035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41038 cat >>confdefs.h <<\_ACEOF
41039 #define HAVE_SHL_LOAD 1
41046 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41047 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41048 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41049 echo $ECHO_N "(cached) $ECHO_C" >&6
41051 ac_check_lib_save_LIBS=$LIBS
41052 LIBS="-lshl_load $LIBS"
41053 cat >conftest.$ac_ext <<_ACEOF
41056 cat confdefs.h >>conftest.$ac_ext
41057 cat >>conftest.$ac_ext <<_ACEOF
41058 /* end confdefs.h. */
41060 /* Override any GCC internal prototype to avoid an error.
41061 Use char because int might match the return type of a GCC
41062 builtin and then its argument prototype would still apply. */
41075 rm -f conftest.$ac_objext conftest$ac_exeext
41076 if { (ac_try="$ac_link"
41077 case "(($ac_try" in
41078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41079 *) ac_try_echo=$ac_try;;
41081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41082 (eval "$ac_link") 2>conftest.er1
41084 grep -v '^ *+' conftest.er1 >conftest.err
41086 cat conftest.err >&5
41087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41088 (exit $ac_status); } && {
41089 test -z "$ac_c_werror_flag" ||
41090 test ! -s conftest.err
41091 } && test -s conftest$ac_exeext &&
41092 $as_test_x conftest$ac_exeext; then
41093 ac_cv_lib_shl_load_dld=yes
41095 echo "$as_me: failed program was:" >&5
41096 sed 's/^/| /' conftest.$ac_ext >&5
41098 ac_cv_lib_shl_load_dld=no
41101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41102 conftest$ac_exeext conftest.$ac_ext
41103 LIBS=$ac_check_lib_save_LIBS
41105 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41106 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41107 if test $ac_cv_lib_shl_load_dld = yes; then
41110 DL_LINK=" -ldld$DL_LINK"
41126 if test "$HAVE_DL_FUNCS" = 1; then
41128 for ac_func in dlerror
41130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41131 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41133 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41134 echo $ECHO_N "(cached) $ECHO_C" >&6
41136 cat >conftest.$ac_ext <<_ACEOF
41139 cat confdefs.h >>conftest.$ac_ext
41140 cat >>conftest.$ac_ext <<_ACEOF
41141 /* end confdefs.h. */
41142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41144 #define $ac_func innocuous_$ac_func
41146 /* System header to define __stub macros and hopefully few prototypes,
41147 which can conflict with char $ac_func (); below.
41148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41149 <limits.h> exists even on freestanding compilers. */
41152 # include <limits.h>
41154 # include <assert.h>
41159 /* Override any GCC internal prototype to avoid an error.
41160 Use char because int might match the return type of a GCC
41161 builtin and then its argument prototype would still apply. */
41166 /* The GNU C library defines this for functions which it implements
41167 to always fail with ENOSYS. Some functions are actually named
41168 something starting with __ and the normal name is an alias. */
41169 #if defined __stub_$ac_func || defined __stub___$ac_func
41176 return $ac_func ();
41181 rm -f conftest.$ac_objext conftest$ac_exeext
41182 if { (ac_try="$ac_link"
41183 case "(($ac_try" in
41184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41185 *) ac_try_echo=$ac_try;;
41187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41188 (eval "$ac_link") 2>conftest.er1
41190 grep -v '^ *+' conftest.er1 >conftest.err
41192 cat conftest.err >&5
41193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41194 (exit $ac_status); } && {
41195 test -z "$ac_c_werror_flag" ||
41196 test ! -s conftest.err
41197 } && test -s conftest$ac_exeext &&
41198 $as_test_x conftest$ac_exeext; then
41199 eval "$as_ac_var=yes"
41201 echo "$as_me: failed program was:" >&5
41202 sed 's/^/| /' conftest.$ac_ext >&5
41204 eval "$as_ac_var=no"
41207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41208 conftest$ac_exeext conftest.$ac_ext
41210 ac_res=`eval echo '${'$as_ac_var'}'`
41211 { echo "$as_me:$LINENO: result: $ac_res" >&5
41212 echo "${ECHO_T}$ac_res" >&6; }
41213 if test `eval echo '${'$as_ac_var'}'` = yes; then
41214 cat >>confdefs.h <<_ACEOF
41215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41217 cat >>confdefs.h <<\_ACEOF
41218 #define HAVE_DLERROR 1
41223 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41224 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41225 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41226 echo $ECHO_N "(cached) $ECHO_C" >&6
41228 ac_check_lib_save_LIBS=$LIBS
41230 cat >conftest.$ac_ext <<_ACEOF
41233 cat confdefs.h >>conftest.$ac_ext
41234 cat >>conftest.$ac_ext <<_ACEOF
41235 /* end confdefs.h. */
41237 /* Override any GCC internal prototype to avoid an error.
41238 Use char because int might match the return type of a GCC
41239 builtin and then its argument prototype would still apply. */
41252 rm -f conftest.$ac_objext conftest$ac_exeext
41253 if { (ac_try="$ac_link"
41254 case "(($ac_try" in
41255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41256 *) ac_try_echo=$ac_try;;
41258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41259 (eval "$ac_link") 2>conftest.er1
41261 grep -v '^ *+' conftest.er1 >conftest.err
41263 cat conftest.err >&5
41264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41265 (exit $ac_status); } && {
41266 test -z "$ac_c_werror_flag" ||
41267 test ! -s conftest.err
41268 } && test -s conftest$ac_exeext &&
41269 $as_test_x conftest$ac_exeext; then
41270 ac_cv_lib_dl_dlerror=yes
41272 echo "$as_me: failed program was:" >&5
41273 sed 's/^/| /' conftest.$ac_ext >&5
41275 ac_cv_lib_dl_dlerror=no
41278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41279 conftest$ac_exeext conftest.$ac_ext
41280 LIBS=$ac_check_lib_save_LIBS
41282 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41283 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41284 if test $ac_cv_lib_dl_dlerror = yes; then
41285 cat >>confdefs.h <<\_ACEOF
41286 #define HAVE_DLERROR 1
41299 if test "$HAVE_DL_FUNCS" = 0; then
41300 if test "$HAVE_SHL_FUNCS" = 0; then
41301 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41302 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41303 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41304 wxUSE_DYNAMIC_LOADER=no
41305 wxUSE_DYNLIB_CLASS=no
41307 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41308 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41315 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41316 cat >>confdefs.h <<\_ACEOF
41317 #define wxUSE_DYNAMIC_LOADER 1
41321 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41322 cat >>confdefs.h <<\_ACEOF
41323 #define wxUSE_DYNLIB_CLASS 1
41330 if test "$wxUSE_PLUGINS" = "yes" ; then
41331 if test "$wxUSE_SHARED" = "no" ; then
41332 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41333 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41336 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41337 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41338 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41341 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41342 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41343 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41346 if test "$wxUSE_PLUGINS" = "yes" ; then
41347 cat >>confdefs.h <<\_ACEOF
41348 #define wxUSE_PLUGINS 1
41355 if test "$wxUSE_STL" = "yes"; then
41356 cat >>confdefs.h <<\_ACEOF
41357 #define wxUSE_STL 1
41362 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41363 cat >>confdefs.h <<\_ACEOF
41364 #define wxUSE_EXTENDED_RTTI 1
41369 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41370 cat >>confdefs.h <<\_ACEOF
41371 #define wxUSE_APPLE_IEEE 1
41376 if test "$wxUSE_TIMER" = "yes"; then
41377 cat >>confdefs.h <<\_ACEOF
41378 #define wxUSE_TIMER 1
41383 if test "$USE_UNIX" = 1 ; then
41384 if test "$wxUSE_MGL" != 1; then
41385 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41386 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41387 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41388 echo $ECHO_N "(cached) $ECHO_C" >&6
41391 cat >conftest.$ac_ext <<_ACEOF
41394 cat confdefs.h >>conftest.$ac_ext
41395 cat >>conftest.$ac_ext <<_ACEOF
41396 /* end confdefs.h. */
41398 #include <sys/ioctl.h>
41399 #include <sys/soundcard.h>
41405 ioctl(0, SNDCTL_DSP_SPEED, 0);
41411 rm -f conftest.$ac_objext conftest$ac_exeext
41412 if { (ac_try="$ac_link"
41413 case "(($ac_try" in
41414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41415 *) ac_try_echo=$ac_try;;
41417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41418 (eval "$ac_link") 2>conftest.er1
41420 grep -v '^ *+' conftest.er1 >conftest.err
41422 cat conftest.err >&5
41423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41424 (exit $ac_status); } && {
41425 test -z "$ac_c_werror_flag" ||
41426 test ! -s conftest.err
41427 } && test -s conftest$ac_exeext &&
41428 $as_test_x conftest$ac_exeext; then
41429 ac_cv_header_sys_soundcard=yes
41431 echo "$as_me: failed program was:" >&5
41432 sed 's/^/| /' conftest.$ac_ext >&5
41436 LIBS="$saveLibs -lossaudio"
41437 cat >conftest.$ac_ext <<_ACEOF
41440 cat confdefs.h >>conftest.$ac_ext
41441 cat >>conftest.$ac_ext <<_ACEOF
41442 /* end confdefs.h. */
41444 #include <sys/ioctl.h>
41445 #include <sys/soundcard.h>
41451 ioctl(0, SNDCTL_DSP_SPEED, 0);
41457 rm -f conftest.$ac_objext conftest$ac_exeext
41458 if { (ac_try="$ac_link"
41459 case "(($ac_try" in
41460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41461 *) ac_try_echo=$ac_try;;
41463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41464 (eval "$ac_link") 2>conftest.er1
41466 grep -v '^ *+' conftest.er1 >conftest.err
41468 cat conftest.err >&5
41469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41470 (exit $ac_status); } && {
41471 test -z "$ac_c_werror_flag" ||
41472 test ! -s conftest.err
41473 } && test -s conftest$ac_exeext &&
41474 $as_test_x conftest$ac_exeext; then
41475 ac_cv_header_sys_soundcard=yes
41477 echo "$as_me: failed program was:" >&5
41478 sed 's/^/| /' conftest.$ac_ext >&5
41482 ac_cv_header_sys_soundcard=no
41487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41488 conftest$ac_exeext conftest.$ac_ext
41493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41494 conftest$ac_exeext conftest.$ac_ext
41497 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41498 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41501 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41502 cat >>confdefs.h <<\_ACEOF
41503 #define HAVE_SYS_SOUNDCARD_H 1
41510 if test "$wxUSE_SOUND" = "yes"; then
41511 if test "$USE_UNIX" = 1 ; then
41512 if test "$wxUSE_LIBSDL" != "no"; then
41514 # Check whether --with-sdl-prefix was given.
41515 if test "${with_sdl_prefix+set}" = set; then
41516 withval=$with_sdl_prefix; sdl_prefix="$withval"
41522 # Check whether --with-sdl-exec-prefix was given.
41523 if test "${with_sdl_exec_prefix+set}" = set; then
41524 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41529 # Check whether --enable-sdltest was given.
41530 if test "${enable_sdltest+set}" = set; then
41531 enableval=$enable_sdltest;
41537 if test x$sdl_exec_prefix != x ; then
41538 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41539 if test x${SDL_CONFIG+set} != xset ; then
41540 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41543 if test x$sdl_prefix != x ; then
41544 sdl_args="$sdl_args --prefix=$sdl_prefix"
41545 if test x${SDL_CONFIG+set} != xset ; then
41546 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41550 if test "x$prefix" != xNONE; then
41551 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41553 # Extract the first word of "sdl-config", so it can be a program name with args.
41554 set dummy sdl-config; ac_word=$2
41555 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41557 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41558 echo $ECHO_N "(cached) $ECHO_C" >&6
41560 case $SDL_CONFIG in
41562 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41566 for as_dir in $PATH
41569 test -z "$as_dir" && as_dir=.
41570 for ac_exec_ext in '' $ac_executable_extensions; do
41571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41572 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41580 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41584 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41585 if test -n "$SDL_CONFIG"; then
41586 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41587 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41589 { echo "$as_me:$LINENO: result: no" >&5
41590 echo "${ECHO_T}no" >&6; }
41594 min_sdl_version=1.2.0
41595 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41596 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41598 if test "$SDL_CONFIG" = "no" ; then
41601 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41602 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41604 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41605 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41606 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41607 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41608 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41609 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41610 if test "x$enable_sdltest" = "xyes" ; then
41611 ac_save_CFLAGS="$CFLAGS"
41612 ac_save_CXXFLAGS="$CXXFLAGS"
41613 ac_save_LIBS="$LIBS"
41614 CFLAGS="$CFLAGS $SDL_CFLAGS"
41615 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41616 LIBS="$LIBS $SDL_LIBS"
41618 if test "$cross_compiling" = yes; then
41619 echo $ac_n "cross compiling; assumed OK... $ac_c"
41621 cat >conftest.$ac_ext <<_ACEOF
41624 cat confdefs.h >>conftest.$ac_ext
41625 cat >>conftest.$ac_ext <<_ACEOF
41626 /* end confdefs.h. */
41629 #include <stdlib.h>
41630 #include <string.h>
41634 my_strdup (char *str)
41640 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41641 strcpy (new_str, str);
41649 int main (int argc, char *argv[])
41651 int major, minor, micro;
41654 /* This hangs on some systems (?)
41655 system ("touch conf.sdltest");
41657 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41659 /* HP/UX 9 (%@#!) writes to sscanf strings */
41660 tmp_version = my_strdup("$min_sdl_version");
41661 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41662 printf("%s, bad version string\n", "$min_sdl_version");
41666 if (($sdl_major_version > major) ||
41667 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41668 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41674 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41675 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41676 printf("*** best to upgrade to the required version.\n");
41677 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41678 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41679 printf("*** config.cache before re-running configure\n");
41686 rm -f conftest$ac_exeext
41687 if { (ac_try="$ac_link"
41688 case "(($ac_try" in
41689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41690 *) ac_try_echo=$ac_try;;
41692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41693 (eval "$ac_link") 2>&5
41695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41696 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41697 { (case "(($ac_try" in
41698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41699 *) ac_try_echo=$ac_try;;
41701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41702 (eval "$ac_try") 2>&5
41704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41705 (exit $ac_status); }; }; then
41708 echo "$as_me: program exited with status $ac_status" >&5
41709 echo "$as_me: failed program was:" >&5
41710 sed 's/^/| /' conftest.$ac_ext >&5
41712 ( exit $ac_status )
41715 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41719 CFLAGS="$ac_save_CFLAGS"
41720 CXXFLAGS="$ac_save_CXXFLAGS"
41721 LIBS="$ac_save_LIBS"
41724 if test "x$no_sdl" = x ; then
41725 { echo "$as_me:$LINENO: result: yes" >&5
41726 echo "${ECHO_T}yes" >&6; }
41728 EXTRALIBS_SDL="$SDL_LIBS"
41729 CFLAGS="$SDL_CFLAGS $CFLAGS"
41730 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41731 cat >>confdefs.h <<\_ACEOF
41732 #define wxUSE_LIBSDL 1
41737 { echo "$as_me:$LINENO: result: no" >&5
41738 echo "${ECHO_T}no" >&6; }
41739 if test "$SDL_CONFIG" = "no" ; then
41740 echo "*** The sdl-config script installed by SDL could not be found"
41741 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41742 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41743 echo "*** full path to sdl-config."
41745 if test -f conf.sdltest ; then
41748 echo "*** Could not run SDL test program, checking why..."
41749 CFLAGS="$CFLAGS $SDL_CFLAGS"
41750 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41751 LIBS="$LIBS $SDL_LIBS"
41752 cat >conftest.$ac_ext <<_ACEOF
41755 cat confdefs.h >>conftest.$ac_ext
41756 cat >>conftest.$ac_ext <<_ACEOF
41757 /* end confdefs.h. */
41762 int main(int argc, char *argv[])
41765 #define main K_and_R_C_main
41775 rm -f conftest.$ac_objext conftest$ac_exeext
41776 if { (ac_try="$ac_link"
41777 case "(($ac_try" in
41778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41779 *) ac_try_echo=$ac_try;;
41781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41782 (eval "$ac_link") 2>conftest.er1
41784 grep -v '^ *+' conftest.er1 >conftest.err
41786 cat conftest.err >&5
41787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41788 (exit $ac_status); } && {
41789 test -z "$ac_c_werror_flag" ||
41790 test ! -s conftest.err
41791 } && test -s conftest$ac_exeext &&
41792 $as_test_x conftest$ac_exeext; then
41793 echo "*** The test program compiled, but did not run. This usually means"
41794 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41795 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41796 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41797 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41798 echo "*** is required on your system"
41800 echo "*** If you have an old version installed, it is best to remove it, although"
41801 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41803 echo "$as_me: failed program was:" >&5
41804 sed 's/^/| /' conftest.$ac_ext >&5
41806 echo "*** The test program failed to compile or link. See the file config.log for the"
41807 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41808 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41809 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41813 conftest$ac_exeext conftest.$ac_ext
41814 CFLAGS="$ac_save_CFLAGS"
41815 CXXFLAGS="$ac_save_CXXFLAGS"
41816 LIBS="$ac_save_LIBS"
41827 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41832 if test "$wxUSE_MGL" = 1; then
41833 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41834 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41840 if test "$wxUSE_SOUND" = "yes"; then
41841 cat >>confdefs.h <<\_ACEOF
41842 #define wxUSE_SOUND 1
41845 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41848 if test "$WXGTK2" = 1; then
41851 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41852 if test -n "$ac_tool_prefix"; then
41853 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41854 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41855 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41857 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41858 echo $ECHO_N "(cached) $ECHO_C" >&6
41860 case $PKG_CONFIG in
41862 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41866 for as_dir in $PATH
41869 test -z "$as_dir" && as_dir=.
41870 for ac_exec_ext in '' $ac_executable_extensions; do
41871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41872 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41883 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41884 if test -n "$PKG_CONFIG"; then
41885 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41886 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41888 { echo "$as_me:$LINENO: result: no" >&5
41889 echo "${ECHO_T}no" >&6; }
41894 if test -z "$ac_cv_path_PKG_CONFIG"; then
41895 ac_pt_PKG_CONFIG=$PKG_CONFIG
41896 # Extract the first word of "pkg-config", so it can be a program name with args.
41897 set dummy pkg-config; ac_word=$2
41898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41900 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41901 echo $ECHO_N "(cached) $ECHO_C" >&6
41903 case $ac_pt_PKG_CONFIG in
41905 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41909 for as_dir in $PATH
41912 test -z "$as_dir" && as_dir=.
41913 for ac_exec_ext in '' $ac_executable_extensions; do
41914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41915 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41926 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41927 if test -n "$ac_pt_PKG_CONFIG"; then
41928 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41929 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41931 { echo "$as_me:$LINENO: result: no" >&5
41932 echo "${ECHO_T}no" >&6; }
41935 if test "x$ac_pt_PKG_CONFIG" = x; then
41938 case $cross_compiling:$ac_tool_warned in
41940 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41941 whose name does not start with the host triplet. If you think this
41942 configuration is useful to you, please write to autoconf@gnu.org." >&5
41943 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41944 whose name does not start with the host triplet. If you think this
41945 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41946 ac_tool_warned=yes ;;
41948 PKG_CONFIG=$ac_pt_PKG_CONFIG
41951 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41955 if test -n "$PKG_CONFIG"; then
41956 _pkg_min_version=0.9.0
41957 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41958 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41959 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41960 { echo "$as_me:$LINENO: result: yes" >&5
41961 echo "${ECHO_T}yes" >&6; }
41963 { echo "$as_me:$LINENO: result: no" >&5
41964 echo "${ECHO_T}no" >&6; }
41970 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41972 if test "$wxUSE_GTKPRINT" = "yes" ; then
41976 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
41977 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
41979 if test -n "$PKG_CONFIG"; then
41980 if test -n "$GTKPRINT_CFLAGS"; then
41981 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
41983 if test -n "$PKG_CONFIG" && \
41984 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
41985 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
41987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41988 (exit $ac_status); }; then
41989 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
41997 if test -n "$PKG_CONFIG"; then
41998 if test -n "$GTKPRINT_LIBS"; then
41999 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42001 if test -n "$PKG_CONFIG" && \
42002 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42003 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42006 (exit $ac_status); }; then
42007 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42018 if test $pkg_failed = yes; then
42020 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42021 _pkg_short_errors_supported=yes
42023 _pkg_short_errors_supported=no
42025 if test $_pkg_short_errors_supported = yes; then
42026 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42028 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42030 # Put the nasty error message in config.log where it belongs
42031 echo "$GTKPRINT_PKG_ERRORS" >&5
42034 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42035 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42036 wxUSE_GTKPRINT="no"
42039 elif test $pkg_failed = untried; then
42041 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42042 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42043 wxUSE_GTKPRINT="no"
42047 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42048 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42049 { echo "$as_me:$LINENO: result: yes" >&5
42050 echo "${ECHO_T}yes" >&6; }
42052 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42053 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42054 cat >>confdefs.h <<\_ACEOF
42055 #define wxUSE_GTKPRINT 1
42062 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42066 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42067 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42069 if test -n "$PKG_CONFIG"; then
42070 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42071 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42073 if test -n "$PKG_CONFIG" && \
42074 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42075 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42078 (exit $ac_status); }; then
42079 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42087 if test -n "$PKG_CONFIG"; then
42088 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42089 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42091 if test -n "$PKG_CONFIG" && \
42092 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42093 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42096 (exit $ac_status); }; then
42097 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42108 if test $pkg_failed = yes; then
42110 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42111 _pkg_short_errors_supported=yes
42113 _pkg_short_errors_supported=no
42115 if test $_pkg_short_errors_supported = yes; then
42116 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42118 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42120 # Put the nasty error message in config.log where it belongs
42121 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42124 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42125 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42126 wxUSE_LIBGNOMEPRINT="no"
42129 elif test $pkg_failed = untried; then
42131 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42132 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42133 wxUSE_LIBGNOMEPRINT="no"
42137 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42138 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42139 { echo "$as_me:$LINENO: result: yes" >&5
42140 echo "${ECHO_T}yes" >&6; }
42142 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42143 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42144 cat >>confdefs.h <<\_ACEOF
42145 #define wxUSE_LIBGNOMEPRINT 1
42153 if test "$wxUSE_MIMETYPE" = "yes" ; then
42154 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42158 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42159 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42161 if test -n "$PKG_CONFIG"; then
42162 if test -n "$GNOMEVFS_CFLAGS"; then
42163 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42165 if test -n "$PKG_CONFIG" && \
42166 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42167 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42170 (exit $ac_status); }; then
42171 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42179 if test -n "$PKG_CONFIG"; then
42180 if test -n "$GNOMEVFS_LIBS"; then
42181 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42183 if test -n "$PKG_CONFIG" && \
42184 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42185 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42188 (exit $ac_status); }; then
42189 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42200 if test $pkg_failed = yes; then
42202 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42203 _pkg_short_errors_supported=yes
42205 _pkg_short_errors_supported=no
42207 if test $_pkg_short_errors_supported = yes; then
42208 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42210 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42212 # Put the nasty error message in config.log where it belongs
42213 echo "$GNOMEVFS_PKG_ERRORS" >&5
42216 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42217 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42218 wxUSE_LIBGNOMEVFS="no"
42221 elif test $pkg_failed = untried; then
42223 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42224 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42225 wxUSE_LIBGNOMEVFS="no"
42229 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42230 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42231 { echo "$as_me:$LINENO: result: yes" >&5
42232 echo "${ECHO_T}yes" >&6; }
42234 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42235 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42236 cat >>confdefs.h <<\_ACEOF
42237 #define wxUSE_LIBGNOMEVFS 1
42245 if test "$wxUSE_LIBHILDON" = "yes" ; then
42248 { echo "$as_me:$LINENO: checking for HILDON" >&5
42249 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42251 if test -n "$PKG_CONFIG"; then
42252 if test -n "$HILDON_CFLAGS"; then
42253 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42255 if test -n "$PKG_CONFIG" && \
42256 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42257 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42260 (exit $ac_status); }; then
42261 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42269 if test -n "$PKG_CONFIG"; then
42270 if test -n "$HILDON_LIBS"; then
42271 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42273 if test -n "$PKG_CONFIG" && \
42274 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42275 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42278 (exit $ac_status); }; then
42279 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42290 if test $pkg_failed = yes; then
42292 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42293 _pkg_short_errors_supported=yes
42295 _pkg_short_errors_supported=no
42297 if test $_pkg_short_errors_supported = yes; then
42298 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42300 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42302 # Put the nasty error message in config.log where it belongs
42303 echo "$HILDON_PKG_ERRORS" >&5
42306 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42307 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42308 wxUSE_LIBHILDON="no"
42311 elif test $pkg_failed = untried; then
42313 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42314 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42315 wxUSE_LIBHILDON="no"
42319 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42320 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42321 { echo "$as_me:$LINENO: result: yes" >&5
42322 echo "${ECHO_T}yes" >&6; }
42324 EXTRALIBS_HILDON="$HILDON_LIBS"
42325 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42326 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42327 cat >>confdefs.h <<\_ACEOF
42328 #define wxUSE_LIBHILDON 1
42336 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42337 cat >>confdefs.h <<\_ACEOF
42338 #define wxUSE_CMDLINE_PARSER 1
42343 if test "$wxUSE_STOPWATCH" = "yes"; then
42344 cat >>confdefs.h <<\_ACEOF
42345 #define wxUSE_STOPWATCH 1
42350 if test "$wxUSE_DATETIME" = "yes"; then
42351 cat >>confdefs.h <<\_ACEOF
42352 #define wxUSE_DATETIME 1
42357 if test "$wxUSE_FILE" = "yes"; then
42358 cat >>confdefs.h <<\_ACEOF
42359 #define wxUSE_FILE 1
42364 if test "$wxUSE_FFILE" = "yes"; then
42365 cat >>confdefs.h <<\_ACEOF
42366 #define wxUSE_FFILE 1
42371 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42372 if test "$wxUSE_STREAMS" != yes; then
42373 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42374 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42375 wxUSE_ARCHIVE_STREAMS=no
42377 cat >>confdefs.h <<\_ACEOF
42378 #define wxUSE_ARCHIVE_STREAMS 1
42384 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42385 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42386 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42387 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42388 elif test "$wxUSE_ZLIB" = "no"; then
42389 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42390 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42392 cat >>confdefs.h <<\_ACEOF
42393 #define wxUSE_ZIPSTREAM 1
42399 if test "$wxUSE_TARSTREAM" = "yes"; then
42400 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42401 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42402 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42404 cat >>confdefs.h <<\_ACEOF
42405 #define wxUSE_TARSTREAM 1
42411 if test "$wxUSE_FILESYSTEM" = "yes"; then
42412 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42413 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42414 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42415 wxUSE_FILESYSTEM=no
42417 cat >>confdefs.h <<\_ACEOF
42418 #define wxUSE_FILESYSTEM 1
42424 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42425 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42426 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42427 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42429 cat >>confdefs.h <<\_ACEOF
42430 #define wxUSE_FS_ARCHIVE 1
42436 if test "$wxUSE_FS_ZIP" = "yes"; then
42437 if test "$wxUSE_FS_ARCHIVE" != yes; then
42438 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42439 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42441 cat >>confdefs.h <<\_ACEOF
42442 #define wxUSE_FS_ZIP 1
42448 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42449 if test "$USE_UNIX" != 1; then
42450 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42451 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42452 wxUSE_ON_FATAL_EXCEPTION=no
42454 cat >>confdefs.h <<\_ACEOF
42455 #define wxUSE_ON_FATAL_EXCEPTION 1
42461 if test "$wxUSE_STACKWALKER" = "yes"; then
42462 cat >>confdefs.h <<\_ACEOF
42463 #define wxUSE_STACKWALKER 1
42468 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42469 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42470 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42471 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42472 wxUSE_DEBUGREPORT=no
42474 cat >>confdefs.h <<\_ACEOF
42475 #define wxUSE_DEBUGREPORT 1
42478 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42479 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42484 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42485 cat >>confdefs.h <<\_ACEOF
42486 #define wxUSE_SNGLINST_CHECKER 1
42491 if test "$wxUSE_BUSYINFO" = "yes"; then
42492 cat >>confdefs.h <<\_ACEOF
42493 #define wxUSE_BUSYINFO 1
42498 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42499 cat >>confdefs.h <<\_ACEOF
42500 #define wxUSE_STD_IOSTREAM 1
42505 if test "$wxUSE_STD_STRING" = "yes"; then
42506 cat >>confdefs.h <<\_ACEOF
42507 #define wxUSE_STD_STRING 1
42512 if test "$wxUSE_STDPATHS" = "yes"; then
42513 cat >>confdefs.h <<\_ACEOF
42514 #define wxUSE_STDPATHS 1
42519 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42520 cat >>confdefs.h <<\_ACEOF
42521 #define wxUSE_TEXTBUFFER 1
42526 if test "$wxUSE_TEXTFILE" = "yes"; then
42527 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42528 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42529 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42531 cat >>confdefs.h <<\_ACEOF
42532 #define wxUSE_TEXTFILE 1
42538 if test "$wxUSE_CONFIG" = "yes" ; then
42539 if test "$wxUSE_TEXTFILE" != "yes"; then
42540 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42541 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42543 cat >>confdefs.h <<\_ACEOF
42544 #define wxUSE_CONFIG 1
42547 cat >>confdefs.h <<\_ACEOF
42548 #define wxUSE_CONFIG_NATIVE 1
42551 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42555 if test "$wxUSE_INTL" = "yes" ; then
42556 if test "$wxUSE_FILE" != "yes"; then
42557 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42558 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42560 cat >>confdefs.h <<\_ACEOF
42561 #define wxUSE_INTL 1
42564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42565 GUIDIST="$GUIDIST INTL_DIST"
42569 if test "$wxUSE_LOG" = "yes"; then
42570 cat >>confdefs.h <<\_ACEOF
42571 #define wxUSE_LOG 1
42575 if test "$wxUSE_LOGGUI" = "yes"; then
42576 cat >>confdefs.h <<\_ACEOF
42577 #define wxUSE_LOGGUI 1
42582 if test "$wxUSE_LOGWINDOW" = "yes"; then
42583 cat >>confdefs.h <<\_ACEOF
42584 #define wxUSE_LOGWINDOW 1
42589 if test "$wxUSE_LOGDIALOG" = "yes"; then
42590 cat >>confdefs.h <<\_ACEOF
42591 #define wxUSE_LOG_DIALOG 1
42596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42599 if test "$wxUSE_LONGLONG" = "yes"; then
42600 cat >>confdefs.h <<\_ACEOF
42601 #define wxUSE_LONGLONG 1
42606 if test "$wxUSE_GEOMETRY" = "yes"; then
42607 cat >>confdefs.h <<\_ACEOF
42608 #define wxUSE_GEOMETRY 1
42613 if test "$wxUSE_BASE64" = "yes"; then
42614 cat >>confdefs.h <<\_ACEOF
42615 #define wxUSE_BASE64 1
42620 if test "$wxUSE_STREAMS" = "yes" ; then
42621 cat >>confdefs.h <<\_ACEOF
42622 #define wxUSE_STREAMS 1
42627 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42628 cat >>confdefs.h <<\_ACEOF
42629 #define wxUSE_PRINTF_POS_PARAMS 1
42634 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42635 cat >>confdefs.h <<\_ACEOF
42636 #define wxUSE_OBJC_UNIQUIFYING 1
42642 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42643 cat >>confdefs.h <<\_ACEOF
42644 #define wxUSE_CONSOLE_EVENTLOOP 1
42648 if test "$wxUSE_UNIX" = "yes"; then
42649 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42650 cat >>confdefs.h <<\_ACEOF
42651 #define wxUSE_SELECT_DISPATCHER 1
42656 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42658 for ac_header in sys/epoll.h
42660 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42661 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42663 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42664 echo $ECHO_N "(cached) $ECHO_C" >&6
42666 cat >conftest.$ac_ext <<_ACEOF
42669 cat confdefs.h >>conftest.$ac_ext
42670 cat >>conftest.$ac_ext <<_ACEOF
42671 /* end confdefs.h. */
42672 $ac_includes_default
42674 #include <$ac_header>
42676 rm -f conftest.$ac_objext
42677 if { (ac_try="$ac_compile"
42678 case "(($ac_try" in
42679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42680 *) ac_try_echo=$ac_try;;
42682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42683 (eval "$ac_compile") 2>conftest.er1
42685 grep -v '^ *+' conftest.er1 >conftest.err
42687 cat conftest.err >&5
42688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42689 (exit $ac_status); } && {
42690 test -z "$ac_c_werror_flag" ||
42691 test ! -s conftest.err
42692 } && test -s conftest.$ac_objext; then
42693 eval "$as_ac_Header=yes"
42695 echo "$as_me: failed program was:" >&5
42696 sed 's/^/| /' conftest.$ac_ext >&5
42698 eval "$as_ac_Header=no"
42701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42703 ac_res=`eval echo '${'$as_ac_Header'}'`
42704 { echo "$as_me:$LINENO: result: $ac_res" >&5
42705 echo "${ECHO_T}$ac_res" >&6; }
42706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42707 cat >>confdefs.h <<_ACEOF
42708 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42715 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42716 cat >>confdefs.h <<\_ACEOF
42717 #define wxUSE_EPOLL_DISPATCHER 1
42721 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42722 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42731 for ac_func in gettimeofday ftime
42733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42734 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42736 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42737 echo $ECHO_N "(cached) $ECHO_C" >&6
42739 cat >conftest.$ac_ext <<_ACEOF
42742 cat confdefs.h >>conftest.$ac_ext
42743 cat >>conftest.$ac_ext <<_ACEOF
42744 /* end confdefs.h. */
42745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42747 #define $ac_func innocuous_$ac_func
42749 /* System header to define __stub macros and hopefully few prototypes,
42750 which can conflict with char $ac_func (); below.
42751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42752 <limits.h> exists even on freestanding compilers. */
42755 # include <limits.h>
42757 # include <assert.h>
42762 /* Override any GCC internal prototype to avoid an error.
42763 Use char because int might match the return type of a GCC
42764 builtin and then its argument prototype would still apply. */
42769 /* The GNU C library defines this for functions which it implements
42770 to always fail with ENOSYS. Some functions are actually named
42771 something starting with __ and the normal name is an alias. */
42772 #if defined __stub_$ac_func || defined __stub___$ac_func
42779 return $ac_func ();
42784 rm -f conftest.$ac_objext conftest$ac_exeext
42785 if { (ac_try="$ac_link"
42786 case "(($ac_try" in
42787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42788 *) ac_try_echo=$ac_try;;
42790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42791 (eval "$ac_link") 2>conftest.er1
42793 grep -v '^ *+' conftest.er1 >conftest.err
42795 cat conftest.err >&5
42796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42797 (exit $ac_status); } && {
42798 test -z "$ac_c_werror_flag" ||
42799 test ! -s conftest.err
42800 } && test -s conftest$ac_exeext &&
42801 $as_test_x conftest$ac_exeext; then
42802 eval "$as_ac_var=yes"
42804 echo "$as_me: failed program was:" >&5
42805 sed 's/^/| /' conftest.$ac_ext >&5
42807 eval "$as_ac_var=no"
42810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42811 conftest$ac_exeext conftest.$ac_ext
42813 ac_res=`eval echo '${'$as_ac_var'}'`
42814 { echo "$as_me:$LINENO: result: $ac_res" >&5
42815 echo "${ECHO_T}$ac_res" >&6; }
42816 if test `eval echo '${'$as_ac_var'}'` = yes; then
42817 cat >>confdefs.h <<_ACEOF
42818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42825 if test "$ac_cv_func_gettimeofday" = "yes"; then
42826 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42827 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42828 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42829 echo $ECHO_N "(cached) $ECHO_C" >&6
42832 cat >conftest.$ac_ext <<_ACEOF
42835 cat confdefs.h >>conftest.$ac_ext
42836 cat >>conftest.$ac_ext <<_ACEOF
42837 /* end confdefs.h. */
42839 #include <sys/time.h>
42840 #include <unistd.h>
42847 gettimeofday(&tv, NULL);
42853 rm -f conftest.$ac_objext
42854 if { (ac_try="$ac_compile"
42855 case "(($ac_try" in
42856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42857 *) ac_try_echo=$ac_try;;
42859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42860 (eval "$ac_compile") 2>conftest.er1
42862 grep -v '^ *+' conftest.er1 >conftest.err
42864 cat conftest.err >&5
42865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42866 (exit $ac_status); } && {
42867 test -z "$ac_c_werror_flag" ||
42868 test ! -s conftest.err
42869 } && test -s conftest.$ac_objext; then
42870 wx_cv_func_gettimeofday_has_2_args=yes
42872 echo "$as_me: failed program was:" >&5
42873 sed 's/^/| /' conftest.$ac_ext >&5
42875 cat >conftest.$ac_ext <<_ACEOF
42878 cat confdefs.h >>conftest.$ac_ext
42879 cat >>conftest.$ac_ext <<_ACEOF
42880 /* end confdefs.h. */
42882 #include <sys/time.h>
42883 #include <unistd.h>
42896 rm -f conftest.$ac_objext
42897 if { (ac_try="$ac_compile"
42898 case "(($ac_try" in
42899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42900 *) ac_try_echo=$ac_try;;
42902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42903 (eval "$ac_compile") 2>conftest.er1
42905 grep -v '^ *+' conftest.er1 >conftest.err
42907 cat conftest.err >&5
42908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42909 (exit $ac_status); } && {
42910 test -z "$ac_c_werror_flag" ||
42911 test ! -s conftest.err
42912 } && test -s conftest.$ac_objext; then
42913 wx_cv_func_gettimeofday_has_2_args=no
42915 echo "$as_me: failed program was:" >&5
42916 sed 's/^/| /' conftest.$ac_ext >&5
42919 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42920 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42921 wx_cv_func_gettimeofday_has_2_args=unknown
42926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42933 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42934 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42936 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42937 cat >>confdefs.h <<\_ACEOF
42938 #define WX_GETTIMEOFDAY_NO_TZ 1
42944 if test "$wxUSE_DATETIME" = "yes"; then
42945 { echo "$as_me:$LINENO: checking for strptime" >&5
42946 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
42947 if test "${ac_cv_func_strptime+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 strptime to an innocuous variant, in case <limits.h> declares strptime.
42957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42958 #define strptime innocuous_strptime
42960 /* System header to define __stub macros and hopefully few prototypes,
42961 which can conflict with char strptime (); 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_strptime || defined __stub___strptime
42990 return strptime ();
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_strptime=yes
43015 echo "$as_me: failed program was:" >&5
43016 sed 's/^/| /' conftest.$ac_ext >&5
43018 ac_cv_func_strptime=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_strptime" >&5
43025 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43027 if test "$ac_cv_func_strptime" = "yes"; then
43028 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43029 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43030 if test "${wx_cv_func_strptime_decl+set}" = set; then
43031 echo $ECHO_N "(cached) $ECHO_C" >&6
43035 ac_cpp='$CXXCPP $CPPFLAGS'
43036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43040 cat >conftest.$ac_ext <<_ACEOF
43043 cat confdefs.h >>conftest.$ac_ext
43044 cat >>conftest.$ac_ext <<_ACEOF
43045 /* end confdefs.h. */
43054 strptime("foo", "bar", &t);
43060 rm -f conftest.$ac_objext
43061 if { (ac_try="$ac_compile"
43062 case "(($ac_try" in
43063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43064 *) ac_try_echo=$ac_try;;
43066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43067 (eval "$ac_compile") 2>conftest.er1
43069 grep -v '^ *+' conftest.er1 >conftest.err
43071 cat conftest.err >&5
43072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43073 (exit $ac_status); } && {
43074 test -z "$ac_cxx_werror_flag" ||
43075 test ! -s conftest.err
43076 } && test -s conftest.$ac_objext; then
43077 wx_cv_func_strptime_decl=yes
43079 echo "$as_me: failed program was:" >&5
43080 sed 's/^/| /' conftest.$ac_ext >&5
43082 wx_cv_func_strptime_decl=no
43086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43088 ac_cpp='$CPP $CPPFLAGS'
43089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43096 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43097 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43099 if test "$wx_cv_func_strptime_decl" = "yes"; then
43100 cat >>confdefs.h <<\_ACEOF
43101 #define HAVE_STRPTIME_DECL 1
43105 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43107 if test "$ac_cv_func_strptime" = "yes"; then
43108 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43109 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43110 if test "${wx_cv_func_strptime_ok+set}" = set; then
43111 echo $ECHO_N "(cached) $ECHO_C" >&6
43113 if test "$cross_compiling" = yes; then
43114 wx_cv_func_strptime_ok=no
43117 cat >conftest.$ac_ext <<_ACEOF
43119 #include <stdlib.h>
43121 #include "confdefs.h"
43128 return !!strptime("", "%x", &t);
43132 rm -f conftest$ac_exeext
43133 if { (ac_try="$ac_link"
43134 case "(($ac_try" in
43135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43136 *) ac_try_echo=$ac_try;;
43138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43139 (eval "$ac_link") 2>&5
43141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43142 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43143 { (case "(($ac_try" in
43144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43145 *) ac_try_echo=$ac_try;;
43147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43148 (eval "$ac_try") 2>&5
43150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43151 (exit $ac_status); }; }; then
43152 wx_cv_func_strptime_ok=yes
43154 echo "$as_me: program exited with status $ac_status" >&5
43155 echo "$as_me: failed program was:" >&5
43156 sed 's/^/| /' conftest.$ac_ext >&5
43158 ( exit $ac_status )
43159 wx_cv_func_strptime_ok=no
43161 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43167 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43168 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43170 if test "$wx_cv_func_strptime_ok" = "yes"; then
43171 cat >>confdefs.h <<\_ACEOF
43172 #define HAVE_STRPTIME 1
43178 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43179 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43180 if test "${wx_cv_var_timezone+set}" = set; then
43181 echo $ECHO_N "(cached) $ECHO_C" >&6
43185 ac_cpp='$CXXCPP $CPPFLAGS'
43186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43190 cat >conftest.$ac_ext <<_ACEOF
43193 cat confdefs.h >>conftest.$ac_ext
43194 cat >>conftest.$ac_ext <<_ACEOF
43195 /* end confdefs.h. */
43210 rm -f conftest.$ac_objext
43211 if { (ac_try="$ac_compile"
43212 case "(($ac_try" in
43213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43214 *) ac_try_echo=$ac_try;;
43216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43217 (eval "$ac_compile") 2>conftest.er1
43219 grep -v '^ *+' conftest.er1 >conftest.err
43221 cat conftest.err >&5
43222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43223 (exit $ac_status); } && {
43224 test -z "$ac_cxx_werror_flag" ||
43225 test ! -s conftest.err
43226 } && test -s conftest.$ac_objext; then
43228 wx_cv_var_timezone=timezone
43231 echo "$as_me: failed program was:" >&5
43232 sed 's/^/| /' conftest.$ac_ext >&5
43235 cat >conftest.$ac_ext <<_ACEOF
43238 cat confdefs.h >>conftest.$ac_ext
43239 cat >>conftest.$ac_ext <<_ACEOF
43240 /* end confdefs.h. */
43255 rm -f conftest.$ac_objext
43256 if { (ac_try="$ac_compile"
43257 case "(($ac_try" in
43258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43259 *) ac_try_echo=$ac_try;;
43261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43262 (eval "$ac_compile") 2>conftest.er1
43264 grep -v '^ *+' conftest.er1 >conftest.err
43266 cat conftest.err >&5
43267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43268 (exit $ac_status); } && {
43269 test -z "$ac_cxx_werror_flag" ||
43270 test ! -s conftest.err
43271 } && test -s conftest.$ac_objext; then
43273 wx_cv_var_timezone=_timezone
43276 echo "$as_me: failed program was:" >&5
43277 sed 's/^/| /' conftest.$ac_ext >&5
43280 cat >conftest.$ac_ext <<_ACEOF
43283 cat confdefs.h >>conftest.$ac_ext
43284 cat >>conftest.$ac_ext <<_ACEOF
43285 /* end confdefs.h. */
43300 rm -f conftest.$ac_objext
43301 if { (ac_try="$ac_compile"
43302 case "(($ac_try" in
43303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43304 *) ac_try_echo=$ac_try;;
43306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43307 (eval "$ac_compile") 2>conftest.er1
43309 grep -v '^ *+' conftest.er1 >conftest.err
43311 cat conftest.err >&5
43312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43313 (exit $ac_status); } && {
43314 test -z "$ac_cxx_werror_flag" ||
43315 test ! -s conftest.err
43316 } && test -s conftest.$ac_objext; then
43318 wx_cv_var_timezone=__timezone
43321 echo "$as_me: failed program was:" >&5
43322 sed 's/^/| /' conftest.$ac_ext >&5
43325 if test "$USE_DOS" = 0 ; then
43326 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43327 echo "$as_me: WARNING: no timezone variable" >&2;}
43333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43345 ac_cpp='$CPP $CPPFLAGS'
43346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43353 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43354 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43356 if test "x$wx_cv_var_timezone" != x ; then
43357 cat >>confdefs.h <<_ACEOF
43358 #define WX_TIMEZONE $wx_cv_var_timezone
43364 for ac_func in localtime
43366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43367 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43369 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43370 echo $ECHO_N "(cached) $ECHO_C" >&6
43372 cat >conftest.$ac_ext <<_ACEOF
43375 cat confdefs.h >>conftest.$ac_ext
43376 cat >>conftest.$ac_ext <<_ACEOF
43377 /* end confdefs.h. */
43378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43380 #define $ac_func innocuous_$ac_func
43382 /* System header to define __stub macros and hopefully few prototypes,
43383 which can conflict with char $ac_func (); below.
43384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43385 <limits.h> exists even on freestanding compilers. */
43388 # include <limits.h>
43390 # include <assert.h>
43395 /* Override any GCC internal prototype to avoid an error.
43396 Use char because int might match the return type of a GCC
43397 builtin and then its argument prototype would still apply. */
43402 /* The GNU C library defines this for functions which it implements
43403 to always fail with ENOSYS. Some functions are actually named
43404 something starting with __ and the normal name is an alias. */
43405 #if defined __stub_$ac_func || defined __stub___$ac_func
43412 return $ac_func ();
43417 rm -f conftest.$ac_objext conftest$ac_exeext
43418 if { (ac_try="$ac_link"
43419 case "(($ac_try" in
43420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43421 *) ac_try_echo=$ac_try;;
43423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43424 (eval "$ac_link") 2>conftest.er1
43426 grep -v '^ *+' conftest.er1 >conftest.err
43428 cat conftest.err >&5
43429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43430 (exit $ac_status); } && {
43431 test -z "$ac_c_werror_flag" ||
43432 test ! -s conftest.err
43433 } && test -s conftest$ac_exeext &&
43434 $as_test_x conftest$ac_exeext; then
43435 eval "$as_ac_var=yes"
43437 echo "$as_me: failed program was:" >&5
43438 sed 's/^/| /' conftest.$ac_ext >&5
43440 eval "$as_ac_var=no"
43443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43444 conftest$ac_exeext conftest.$ac_ext
43446 ac_res=`eval echo '${'$as_ac_var'}'`
43447 { echo "$as_me:$LINENO: result: $ac_res" >&5
43448 echo "${ECHO_T}$ac_res" >&6; }
43449 if test `eval echo '${'$as_ac_var'}'` = yes; then
43450 cat >>confdefs.h <<_ACEOF
43451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43458 if test "$ac_cv_func_localtime" = "yes"; then
43459 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43460 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43461 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43462 echo $ECHO_N "(cached) $ECHO_C" >&6
43465 cat >conftest.$ac_ext <<_ACEOF
43468 cat confdefs.h >>conftest.$ac_ext
43469 cat >>conftest.$ac_ext <<_ACEOF
43470 /* end confdefs.h. */
43485 rm -f conftest.$ac_objext
43486 if { (ac_try="$ac_compile"
43487 case "(($ac_try" in
43488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43489 *) ac_try_echo=$ac_try;;
43491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43492 (eval "$ac_compile") 2>conftest.er1
43494 grep -v '^ *+' conftest.er1 >conftest.err
43496 cat conftest.err >&5
43497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43498 (exit $ac_status); } && {
43499 test -z "$ac_c_werror_flag" ||
43500 test ! -s conftest.err
43501 } && test -s conftest.$ac_objext; then
43503 wx_cv_struct_tm_has_gmtoff=yes
43506 echo "$as_me: failed program was:" >&5
43507 sed 's/^/| /' conftest.$ac_ext >&5
43509 wx_cv_struct_tm_has_gmtoff=no
43513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43516 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43517 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43520 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43521 cat >>confdefs.h <<\_ACEOF
43522 #define WX_GMTOFF_IN_TM 1
43527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43531 if test "$wxUSE_SOCKETS" = "yes"; then
43532 if test "$wxUSE_MGL" = 1; then
43533 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43534 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43539 if test "$wxUSE_SOCKETS" = "yes"; then
43540 if test "$TOOLKIT" != "MSW"; then
43541 { echo "$as_me:$LINENO: checking for socket" >&5
43542 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43543 if test "${ac_cv_func_socket+set}" = set; then
43544 echo $ECHO_N "(cached) $ECHO_C" >&6
43546 cat >conftest.$ac_ext <<_ACEOF
43549 cat confdefs.h >>conftest.$ac_ext
43550 cat >>conftest.$ac_ext <<_ACEOF
43551 /* end confdefs.h. */
43552 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43554 #define socket innocuous_socket
43556 /* System header to define __stub macros and hopefully few prototypes,
43557 which can conflict with char socket (); below.
43558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43559 <limits.h> exists even on freestanding compilers. */
43562 # include <limits.h>
43564 # include <assert.h>
43569 /* Override any GCC internal prototype to avoid an error.
43570 Use char because int might match the return type of a GCC
43571 builtin and then its argument prototype would still apply. */
43576 /* The GNU C library defines this for functions which it implements
43577 to always fail with ENOSYS. Some functions are actually named
43578 something starting with __ and the normal name is an alias. */
43579 #if defined __stub_socket || defined __stub___socket
43591 rm -f conftest.$ac_objext conftest$ac_exeext
43592 if { (ac_try="$ac_link"
43593 case "(($ac_try" in
43594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43595 *) ac_try_echo=$ac_try;;
43597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43598 (eval "$ac_link") 2>conftest.er1
43600 grep -v '^ *+' conftest.er1 >conftest.err
43602 cat conftest.err >&5
43603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43604 (exit $ac_status); } && {
43605 test -z "$ac_c_werror_flag" ||
43606 test ! -s conftest.err
43607 } && test -s conftest$ac_exeext &&
43608 $as_test_x conftest$ac_exeext; then
43609 ac_cv_func_socket=yes
43611 echo "$as_me: failed program was:" >&5
43612 sed 's/^/| /' conftest.$ac_ext >&5
43614 ac_cv_func_socket=no
43617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43618 conftest$ac_exeext conftest.$ac_ext
43620 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43621 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43622 if test $ac_cv_func_socket = yes; then
43626 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43627 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43628 if test "${ac_cv_lib_socket_socket+set}" = set; then
43629 echo $ECHO_N "(cached) $ECHO_C" >&6
43631 ac_check_lib_save_LIBS=$LIBS
43632 LIBS="-lsocket $LIBS"
43633 cat >conftest.$ac_ext <<_ACEOF
43636 cat confdefs.h >>conftest.$ac_ext
43637 cat >>conftest.$ac_ext <<_ACEOF
43638 /* end confdefs.h. */
43640 /* Override any GCC internal prototype to avoid an error.
43641 Use char because int might match the return type of a GCC
43642 builtin and then its argument prototype would still apply. */
43655 rm -f conftest.$ac_objext conftest$ac_exeext
43656 if { (ac_try="$ac_link"
43657 case "(($ac_try" in
43658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43659 *) ac_try_echo=$ac_try;;
43661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43662 (eval "$ac_link") 2>conftest.er1
43664 grep -v '^ *+' conftest.er1 >conftest.err
43666 cat conftest.err >&5
43667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43668 (exit $ac_status); } && {
43669 test -z "$ac_c_werror_flag" ||
43670 test ! -s conftest.err
43671 } && test -s conftest$ac_exeext &&
43672 $as_test_x conftest$ac_exeext; then
43673 ac_cv_lib_socket_socket=yes
43675 echo "$as_me: failed program was:" >&5
43676 sed 's/^/| /' conftest.$ac_ext >&5
43678 ac_cv_lib_socket_socket=no
43681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43682 conftest$ac_exeext conftest.$ac_ext
43683 LIBS=$ac_check_lib_save_LIBS
43685 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43686 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43687 if test $ac_cv_lib_socket_socket = yes; then
43688 if test "$INET_LINK" != " -lsocket"; then
43689 INET_LINK="$INET_LINK -lsocket"
43693 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43694 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43707 if test "$wxUSE_SOCKETS" = "yes" ; then
43708 if test "$TOOLKIT" != "MSW"; then
43709 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43710 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43711 if test "${wx_cv_type_getsockname3+set}" = set; then
43712 echo $ECHO_N "(cached) $ECHO_C" >&6
43716 ac_cpp='$CXXCPP $CPPFLAGS'
43717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43721 cat >conftest.$ac_ext <<_ACEOF
43724 cat confdefs.h >>conftest.$ac_ext
43725 cat >>conftest.$ac_ext <<_ACEOF
43726 /* end confdefs.h. */
43728 #include <sys/types.h>
43729 #include <sys/socket.h>
43736 getsockname(0, 0, &len);
43742 rm -f conftest.$ac_objext
43743 if { (ac_try="$ac_compile"
43744 case "(($ac_try" in
43745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43746 *) ac_try_echo=$ac_try;;
43748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43749 (eval "$ac_compile") 2>conftest.er1
43751 grep -v '^ *+' conftest.er1 >conftest.err
43753 cat conftest.err >&5
43754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43755 (exit $ac_status); } && {
43756 test -z "$ac_cxx_werror_flag" ||
43757 test ! -s conftest.err
43758 } && test -s conftest.$ac_objext; then
43759 wx_cv_type_getsockname3=socklen_t
43761 echo "$as_me: failed program was:" >&5
43762 sed 's/^/| /' conftest.$ac_ext >&5
43765 CFLAGS_OLD="$CFLAGS"
43766 if test "$GCC" = yes ; then
43767 CFLAGS="-Werror $CFLAGS"
43770 cat >conftest.$ac_ext <<_ACEOF
43773 cat confdefs.h >>conftest.$ac_ext
43774 cat >>conftest.$ac_ext <<_ACEOF
43775 /* end confdefs.h. */
43777 #include <sys/types.h>
43778 #include <sys/socket.h>
43785 getsockname(0, 0, &len);
43791 rm -f conftest.$ac_objext
43792 if { (ac_try="$ac_compile"
43793 case "(($ac_try" in
43794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43795 *) ac_try_echo=$ac_try;;
43797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43798 (eval "$ac_compile") 2>conftest.er1
43800 grep -v '^ *+' conftest.er1 >conftest.err
43802 cat conftest.err >&5
43803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43804 (exit $ac_status); } && {
43805 test -z "$ac_cxx_werror_flag" ||
43806 test ! -s conftest.err
43807 } && test -s conftest.$ac_objext; then
43808 wx_cv_type_getsockname3=size_t
43810 echo "$as_me: failed program was:" >&5
43811 sed 's/^/| /' conftest.$ac_ext >&5
43813 cat >conftest.$ac_ext <<_ACEOF
43816 cat confdefs.h >>conftest.$ac_ext
43817 cat >>conftest.$ac_ext <<_ACEOF
43818 /* end confdefs.h. */
43820 #include <sys/types.h>
43821 #include <sys/socket.h>
43828 getsockname(0, 0, &len);
43834 rm -f conftest.$ac_objext
43835 if { (ac_try="$ac_compile"
43836 case "(($ac_try" in
43837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43838 *) ac_try_echo=$ac_try;;
43840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43841 (eval "$ac_compile") 2>conftest.er1
43843 grep -v '^ *+' conftest.er1 >conftest.err
43845 cat conftest.err >&5
43846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43847 (exit $ac_status); } && {
43848 test -z "$ac_cxx_werror_flag" ||
43849 test ! -s conftest.err
43850 } && test -s conftest.$ac_objext; then
43851 wx_cv_type_getsockname3=int
43853 echo "$as_me: failed program was:" >&5
43854 sed 's/^/| /' conftest.$ac_ext >&5
43856 wx_cv_type_getsockname3=unknown
43860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43866 CFLAGS="$CFLAGS_OLD"
43871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43873 ac_cpp='$CPP $CPPFLAGS'
43874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43880 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43881 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43883 if test "$wx_cv_type_getsockname3" = "unknown"; then
43885 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43886 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43888 cat >>confdefs.h <<_ACEOF
43889 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43893 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43894 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43895 if test "${wx_cv_type_getsockopt5+set}" = set; then
43896 echo $ECHO_N "(cached) $ECHO_C" >&6
43900 ac_cpp='$CXXCPP $CPPFLAGS'
43901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43905 cat >conftest.$ac_ext <<_ACEOF
43908 cat confdefs.h >>conftest.$ac_ext
43909 cat >>conftest.$ac_ext <<_ACEOF
43910 /* end confdefs.h. */
43912 #include <sys/types.h>
43913 #include <sys/socket.h>
43920 getsockopt(0, 0, 0, 0, &len);
43926 rm -f conftest.$ac_objext
43927 if { (ac_try="$ac_compile"
43928 case "(($ac_try" in
43929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43930 *) ac_try_echo=$ac_try;;
43932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43933 (eval "$ac_compile") 2>conftest.er1
43935 grep -v '^ *+' conftest.er1 >conftest.err
43937 cat conftest.err >&5
43938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43939 (exit $ac_status); } && {
43940 test -z "$ac_cxx_werror_flag" ||
43941 test ! -s conftest.err
43942 } && test -s conftest.$ac_objext; then
43943 wx_cv_type_getsockopt5=socklen_t
43945 echo "$as_me: failed program was:" >&5
43946 sed 's/^/| /' conftest.$ac_ext >&5
43949 cat >conftest.$ac_ext <<_ACEOF
43952 cat confdefs.h >>conftest.$ac_ext
43953 cat >>conftest.$ac_ext <<_ACEOF
43954 /* end confdefs.h. */
43956 #include <sys/types.h>
43957 #include <sys/socket.h>
43964 getsockopt(0, 0, 0, 0, &len);
43970 rm -f conftest.$ac_objext
43971 if { (ac_try="$ac_compile"
43972 case "(($ac_try" in
43973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43974 *) ac_try_echo=$ac_try;;
43976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43977 (eval "$ac_compile") 2>conftest.er1
43979 grep -v '^ *+' conftest.er1 >conftest.err
43981 cat conftest.err >&5
43982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43983 (exit $ac_status); } && {
43984 test -z "$ac_cxx_werror_flag" ||
43985 test ! -s conftest.err
43986 } && test -s conftest.$ac_objext; then
43987 wx_cv_type_getsockopt5=size_t
43989 echo "$as_me: failed program was:" >&5
43990 sed 's/^/| /' conftest.$ac_ext >&5
43992 cat >conftest.$ac_ext <<_ACEOF
43995 cat confdefs.h >>conftest.$ac_ext
43996 cat >>conftest.$ac_ext <<_ACEOF
43997 /* end confdefs.h. */
43999 #include <sys/types.h>
44000 #include <sys/socket.h>
44007 getsockopt(0, 0, 0, 0, &len);
44013 rm -f conftest.$ac_objext
44014 if { (ac_try="$ac_compile"
44015 case "(($ac_try" in
44016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44017 *) ac_try_echo=$ac_try;;
44019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44020 (eval "$ac_compile") 2>conftest.er1
44022 grep -v '^ *+' conftest.er1 >conftest.err
44024 cat conftest.err >&5
44025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44026 (exit $ac_status); } && {
44027 test -z "$ac_cxx_werror_flag" ||
44028 test ! -s conftest.err
44029 } && test -s conftest.$ac_objext; then
44030 wx_cv_type_getsockopt5=int
44032 echo "$as_me: failed program was:" >&5
44033 sed 's/^/| /' conftest.$ac_ext >&5
44035 wx_cv_type_getsockopt5=unknown
44039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44050 ac_cpp='$CPP $CPPFLAGS'
44051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44057 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44058 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44060 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44062 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44063 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44065 cat >>confdefs.h <<_ACEOF
44066 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44073 if test "$wxUSE_SOCKETS" = "yes" ; then
44074 if test "$wxUSE_IPV6" = "yes"; then
44075 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44076 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44077 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44078 echo $ECHO_N "(cached) $ECHO_C" >&6
44081 cat >conftest.$ac_ext <<_ACEOF
44084 cat confdefs.h >>conftest.$ac_ext
44085 cat >>conftest.$ac_ext <<_ACEOF
44086 /* end confdefs.h. */
44088 #include <sys/types.h>
44089 #include <sys/socket.h>
44090 #include <netinet/in.h>
44096 struct sockaddr_in6 sa6;
44102 rm -f conftest.$ac_objext
44103 if { (ac_try="$ac_compile"
44104 case "(($ac_try" in
44105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44106 *) ac_try_echo=$ac_try;;
44108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44109 (eval "$ac_compile") 2>conftest.er1
44111 grep -v '^ *+' conftest.er1 >conftest.err
44113 cat conftest.err >&5
44114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44115 (exit $ac_status); } && {
44116 test -z "$ac_c_werror_flag" ||
44117 test ! -s conftest.err
44118 } && test -s conftest.$ac_objext; then
44119 wx_cv_type_sockaddr_in6=yes
44121 echo "$as_me: failed program was:" >&5
44122 sed 's/^/| /' conftest.$ac_ext >&5
44124 wx_cv_type_sockaddr_in6=no
44128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44132 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44133 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44135 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44136 cat >>confdefs.h <<\_ACEOF
44137 #define wxUSE_IPV6 1
44141 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44142 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44146 cat >>confdefs.h <<\_ACEOF
44147 #define wxUSE_SOCKETS 1
44150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44153 if test "$wxUSE_PROTOCOL" = "yes"; then
44154 if test "$wxUSE_SOCKETS" != "yes"; then
44155 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44156 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44161 if test "$wxUSE_PROTOCOL" = "yes"; then
44162 cat >>confdefs.h <<\_ACEOF
44163 #define wxUSE_PROTOCOL 1
44167 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44168 cat >>confdefs.h <<\_ACEOF
44169 #define wxUSE_PROTOCOL_HTTP 1
44173 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44174 cat >>confdefs.h <<\_ACEOF
44175 #define wxUSE_PROTOCOL_FTP 1
44179 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44180 cat >>confdefs.h <<\_ACEOF
44181 #define wxUSE_PROTOCOL_FILE 1
44186 if test "$wxUSE_FS_INET" = "yes"; then
44187 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44188 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44193 if test "$wxUSE_URL" = "yes"; then
44194 if test "$wxUSE_PROTOCOL" != "yes"; then
44195 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44196 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44199 if test "$wxUSE_URL" = "yes"; then
44200 cat >>confdefs.h <<\_ACEOF
44201 #define wxUSE_URL 1
44207 if test "$wxUSE_VARIANT" = "yes"; then
44208 cat >>confdefs.h <<\_ACEOF
44209 #define wxUSE_VARIANT 1
44214 if test "$wxUSE_FS_INET" = "yes"; then
44215 cat >>confdefs.h <<\_ACEOF
44216 #define wxUSE_FS_INET 1
44222 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44225 if test "$TOOLKIT" = "MSW"; then
44228 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44229 if test "$USE_DARWIN" = 1; then
44230 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44231 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44233 ac_cpp='$CXXCPP $CPPFLAGS'
44234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44238 cat >conftest.$ac_ext <<_ACEOF
44241 cat confdefs.h >>conftest.$ac_ext
44242 cat >>conftest.$ac_ext <<_ACEOF
44243 /* end confdefs.h. */
44244 #include <IOKit/hid/IOHIDLib.h>
44248 IOHIDQueueInterface *qi = NULL;
44249 IOHIDCallbackFunction cb = NULL;
44250 qi->setEventCallout(NULL, cb, NULL, NULL);
44255 rm -f conftest.$ac_objext
44256 if { (ac_try="$ac_compile"
44257 case "(($ac_try" in
44258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44259 *) ac_try_echo=$ac_try;;
44261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44262 (eval "$ac_compile") 2>conftest.er1
44264 grep -v '^ *+' conftest.er1 >conftest.err
44266 cat conftest.err >&5
44267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44268 (exit $ac_status); } && {
44269 test -z "$ac_cxx_werror_flag" ||
44270 test ! -s conftest.err
44271 } && test -s conftest.$ac_objext; then
44275 echo "$as_me: failed program was:" >&5
44276 sed 's/^/| /' conftest.$ac_ext >&5
44281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44283 ac_cpp='$CPP $CPPFLAGS'
44284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44288 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44289 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44293 if test "$wxUSE_MGL" != 1; then
44295 for ac_header in linux/joystick.h
44297 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44298 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44300 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44301 echo $ECHO_N "(cached) $ECHO_C" >&6
44303 cat >conftest.$ac_ext <<_ACEOF
44306 cat confdefs.h >>conftest.$ac_ext
44307 cat >>conftest.$ac_ext <<_ACEOF
44308 /* end confdefs.h. */
44309 $ac_includes_default
44311 #include <$ac_header>
44313 rm -f conftest.$ac_objext
44314 if { (ac_try="$ac_compile"
44315 case "(($ac_try" in
44316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44317 *) ac_try_echo=$ac_try;;
44319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44320 (eval "$ac_compile") 2>conftest.er1
44322 grep -v '^ *+' conftest.er1 >conftest.err
44324 cat conftest.err >&5
44325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44326 (exit $ac_status); } && {
44327 test -z "$ac_c_werror_flag" ||
44328 test ! -s conftest.err
44329 } && test -s conftest.$ac_objext; then
44330 eval "$as_ac_Header=yes"
44332 echo "$as_me: failed program was:" >&5
44333 sed 's/^/| /' conftest.$ac_ext >&5
44335 eval "$as_ac_Header=no"
44338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44340 ac_res=`eval echo '${'$as_ac_Header'}'`
44341 { echo "$as_me:$LINENO: result: $ac_res" >&5
44342 echo "${ECHO_T}$ac_res" >&6; }
44343 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44344 cat >>confdefs.h <<_ACEOF
44345 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44355 if test "$wxUSE_JOYSTICK" = "yes"; then
44356 cat >>confdefs.h <<\_ACEOF
44357 #define wxUSE_JOYSTICK 1
44360 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44362 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44363 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44369 if test "$wxUSE_FONTENUM" = "yes" ; then
44370 cat >>confdefs.h <<\_ACEOF
44371 #define wxUSE_FONTENUM 1
44376 if test "$wxUSE_FONTMAP" = "yes" ; then
44377 cat >>confdefs.h <<\_ACEOF
44378 #define wxUSE_FONTMAP 1
44383 if test "$wxUSE_UNICODE" = "yes" ; then
44384 cat >>confdefs.h <<\_ACEOF
44385 #define wxUSE_UNICODE 1
44389 if test "$USE_WIN32" != 1; then
44390 wxUSE_UNICODE_MSLU=no
44393 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44394 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44395 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44396 if test "${ac_cv_lib_unicows_main+set}" = set; then
44397 echo $ECHO_N "(cached) $ECHO_C" >&6
44399 ac_check_lib_save_LIBS=$LIBS
44400 LIBS="-lunicows $LIBS"
44401 cat >conftest.$ac_ext <<_ACEOF
44404 cat confdefs.h >>conftest.$ac_ext
44405 cat >>conftest.$ac_ext <<_ACEOF
44406 /* end confdefs.h. */
44417 rm -f conftest.$ac_objext conftest$ac_exeext
44418 if { (ac_try="$ac_link"
44419 case "(($ac_try" in
44420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44421 *) ac_try_echo=$ac_try;;
44423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44424 (eval "$ac_link") 2>conftest.er1
44426 grep -v '^ *+' conftest.er1 >conftest.err
44428 cat conftest.err >&5
44429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44430 (exit $ac_status); } && {
44431 test -z "$ac_c_werror_flag" ||
44432 test ! -s conftest.err
44433 } && test -s conftest$ac_exeext &&
44434 $as_test_x conftest$ac_exeext; then
44435 ac_cv_lib_unicows_main=yes
44437 echo "$as_me: failed program was:" >&5
44438 sed 's/^/| /' conftest.$ac_ext >&5
44440 ac_cv_lib_unicows_main=no
44443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44444 conftest$ac_exeext conftest.$ac_ext
44445 LIBS=$ac_check_lib_save_LIBS
44447 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44448 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44449 if test $ac_cv_lib_unicows_main = yes; then
44451 cat >>confdefs.h <<\_ACEOF
44452 #define wxUSE_UNICODE_MSLU 1
44458 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44459 Applications will only run on Windows NT/2000/XP!" >&5
44460 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44461 Applications will only run on Windows NT/2000/XP!" >&2;}
44462 wxUSE_UNICODE_MSLU=no
44469 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44470 cat >>confdefs.h <<\_ACEOF
44471 #define wxUSE_UNICODE_UTF8 1
44475 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44476 cat >>confdefs.h <<\_ACEOF
44477 #define wxUSE_UTF8_LOCALE_ONLY 1
44484 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44485 cat >>confdefs.h <<\_ACEOF
44486 #define wxUSE_CONSTRAINTS 1
44489 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44492 if test "$wxUSE_MDI" = "yes"; then
44493 cat >>confdefs.h <<\_ACEOF
44494 #define wxUSE_MDI 1
44498 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44499 cat >>confdefs.h <<\_ACEOF
44500 #define wxUSE_MDI_ARCHITECTURE 1
44503 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44507 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44508 cat >>confdefs.h <<\_ACEOF
44509 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44513 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44514 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44518 if test "$wxUSE_HELP" = "yes"; then
44519 cat >>confdefs.h <<\_ACEOF
44520 #define wxUSE_HELP 1
44523 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44525 if test "$wxUSE_MSW" = 1; then
44526 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44527 cat >>confdefs.h <<\_ACEOF
44528 #define wxUSE_MS_HTML_HELP 1
44534 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44535 if test "$wxUSE_HTML" = "yes"; then
44536 cat >>confdefs.h <<\_ACEOF
44537 #define wxUSE_WXHTML_HELP 1
44541 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44542 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44543 wxUSE_WXHTML_HELP=no
44548 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44549 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44550 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44551 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44553 cat >>confdefs.h <<\_ACEOF
44554 #define wxUSE_PRINTING_ARCHITECTURE 1
44558 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44561 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44562 cat >>confdefs.h <<\_ACEOF
44563 #define wxUSE_POSTSCRIPT 1
44568 cat >>confdefs.h <<\_ACEOF
44569 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44573 if test "$wxUSE_SVG" = "yes"; then
44574 cat >>confdefs.h <<\_ACEOF
44575 #define wxUSE_SVG 1
44581 if test "$wxUSE_METAFILE" = "yes"; then
44582 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44583 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44584 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44590 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44591 -o "$wxUSE_CLIPBOARD" = "yes" \
44592 -o "$wxUSE_OLE" = "yes" \
44593 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44594 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44595 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44596 if test "${ac_cv_header_ole2_h+set}" = set; then
44597 echo $ECHO_N "(cached) $ECHO_C" >&6
44599 cat >conftest.$ac_ext <<_ACEOF
44602 cat confdefs.h >>conftest.$ac_ext
44603 cat >>conftest.$ac_ext <<_ACEOF
44604 /* end confdefs.h. */
44609 rm -f conftest.$ac_objext
44610 if { (ac_try="$ac_compile"
44611 case "(($ac_try" in
44612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44613 *) ac_try_echo=$ac_try;;
44615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44616 (eval "$ac_compile") 2>conftest.er1
44618 grep -v '^ *+' conftest.er1 >conftest.err
44620 cat conftest.err >&5
44621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44622 (exit $ac_status); } && {
44623 test -z "$ac_c_werror_flag" ||
44624 test ! -s conftest.err
44625 } && test -s conftest.$ac_objext; then
44626 ac_cv_header_ole2_h=yes
44628 echo "$as_me: failed program was:" >&5
44629 sed 's/^/| /' conftest.$ac_ext >&5
44631 ac_cv_header_ole2_h=no
44634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44636 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44637 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44641 if test "$ac_cv_header_ole2_h" = "yes" ; then
44642 if test "$GCC" = yes ; then
44643 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44644 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44645 cat >conftest.$ac_ext <<_ACEOF
44648 cat confdefs.h >>conftest.$ac_ext
44649 cat >>conftest.$ac_ext <<_ACEOF
44650 /* end confdefs.h. */
44651 #include <windows.h>
44661 rm -f conftest.$ac_objext
44662 if { (ac_try="$ac_compile"
44663 case "(($ac_try" in
44664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44665 *) ac_try_echo=$ac_try;;
44667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44668 (eval "$ac_compile") 2>conftest.er1
44670 grep -v '^ *+' conftest.er1 >conftest.err
44672 cat conftest.err >&5
44673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44674 (exit $ac_status); } && {
44675 test -z "$ac_c_werror_flag" ||
44676 test ! -s conftest.err
44677 } && test -s conftest.$ac_objext; then
44678 { echo "$as_me:$LINENO: result: no" >&5
44679 echo "${ECHO_T}no" >&6; }
44681 echo "$as_me: failed program was:" >&5
44682 sed 's/^/| /' conftest.$ac_ext >&5
44684 { echo "$as_me:$LINENO: result: yes" >&5
44685 echo "${ECHO_T}yes" >&6; }
44686 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44690 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44691 if test "$wxUSE_OLE" = "yes" ; then
44692 cat >>confdefs.h <<\_ACEOF
44693 #define wxUSE_OLE 1
44696 cat >>confdefs.h <<\_ACEOF
44697 #define wxUSE_OLE_AUTOMATION 1
44700 cat >>confdefs.h <<\_ACEOF
44701 #define wxUSE_ACTIVEX 1
44704 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44708 if test "$wxUSE_DATAOBJ" = "yes" ; then
44709 cat >>confdefs.h <<\_ACEOF
44710 #define wxUSE_DATAOBJ 1
44715 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44716 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44719 wxUSE_DRAG_AND_DROP=no
44724 if test "$wxUSE_METAFILE" = "yes"; then
44725 cat >>confdefs.h <<\_ACEOF
44726 #define wxUSE_METAFILE 1
44730 cat >>confdefs.h <<\_ACEOF
44731 #define wxUSE_ENH_METAFILE 1
44737 if test "$wxUSE_IPC" = "yes"; then
44738 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44739 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44740 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44744 if test "$wxUSE_IPC" = "yes"; then
44745 cat >>confdefs.h <<\_ACEOF
44746 #define wxUSE_IPC 1
44749 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44753 if test "$wxUSE_DATAOBJ" = "yes"; then
44754 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44755 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44756 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44759 cat >>confdefs.h <<\_ACEOF
44760 #define wxUSE_DATAOBJ 1
44765 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44766 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44768 wxUSE_DRAG_AND_DROP=no
44771 if test "$wxUSE_CLIPBOARD" = "yes"; then
44772 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44773 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44774 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44778 if test "$wxUSE_CLIPBOARD" = "yes"; then
44779 cat >>confdefs.h <<\_ACEOF
44780 #define wxUSE_CLIPBOARD 1
44786 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44787 if test "$wxUSE_GTK" = 1; then
44788 if test "$WXGTK12" != 1; then
44789 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44790 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44791 wxUSE_DRAG_AND_DROP=no
44795 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44796 "$wxUSE_DFB" = 1; then
44797 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44798 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44799 wxUSE_DRAG_AND_DROP=no
44802 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44803 cat >>confdefs.h <<\_ACEOF
44804 #define wxUSE_DRAG_AND_DROP 1
44811 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44815 if test "$wxUSE_SPLINES" = "yes" ; then
44816 cat >>confdefs.h <<\_ACEOF
44817 #define wxUSE_SPLINES 1
44822 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44823 cat >>confdefs.h <<\_ACEOF
44824 #define wxUSE_MOUSEWHEEL 1
44831 if test "$wxUSE_CONTROLS" = "yes"; then
44835 if test "$wxUSE_ACCEL" = "yes"; then
44836 cat >>confdefs.h <<\_ACEOF
44837 #define wxUSE_ACCEL 1
44843 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44844 cat >>confdefs.h <<\_ACEOF
44845 #define wxUSE_ANIMATIONCTRL 1
44849 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44852 if test "$wxUSE_BUTTON" = "yes"; then
44853 cat >>confdefs.h <<\_ACEOF
44854 #define wxUSE_BUTTON 1
44860 if test "$wxUSE_BMPBUTTON" = "yes"; then
44861 cat >>confdefs.h <<\_ACEOF
44862 #define wxUSE_BMPBUTTON 1
44868 if test "$wxUSE_CALCTRL" = "yes"; then
44869 cat >>confdefs.h <<\_ACEOF
44870 #define wxUSE_CALENDARCTRL 1
44874 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44877 if test "$wxUSE_CARET" = "yes"; then
44878 cat >>confdefs.h <<\_ACEOF
44879 #define wxUSE_CARET 1
44883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44886 if test "$wxUSE_COLLPANE" = "yes"; then
44887 cat >>confdefs.h <<\_ACEOF
44888 #define wxUSE_COLLPANE 1
44892 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44895 if test "$wxUSE_COMBOBOX" = "yes"; then
44896 cat >>confdefs.h <<\_ACEOF
44897 #define wxUSE_COMBOBOX 1
44903 if test "$wxUSE_COMBOCTRL" = "yes"; then
44904 cat >>confdefs.h <<\_ACEOF
44905 #define wxUSE_COMBOCTRL 1
44911 if test "$wxUSE_CHOICE" = "yes"; then
44912 cat >>confdefs.h <<\_ACEOF
44913 #define wxUSE_CHOICE 1
44919 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44920 cat >>confdefs.h <<\_ACEOF
44921 #define wxUSE_CHOICEBOOK 1
44927 if test "$wxUSE_CHECKBOX" = "yes"; then
44928 cat >>confdefs.h <<\_ACEOF
44929 #define wxUSE_CHECKBOX 1
44935 if test "$wxUSE_CHECKLST" = "yes"; then
44936 cat >>confdefs.h <<\_ACEOF
44937 #define wxUSE_CHECKLISTBOX 1
44943 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44944 cat >>confdefs.h <<\_ACEOF
44945 #define wxUSE_COLOURPICKERCTRL 1
44951 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44952 cat >>confdefs.h <<\_ACEOF
44953 #define wxUSE_DATEPICKCTRL 1
44959 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44960 cat >>confdefs.h <<\_ACEOF
44961 #define wxUSE_DIRPICKERCTRL 1
44967 if test "$wxUSE_FILECTRL" = "yes"; then
44968 cat >>confdefs.h <<\_ACEOF
44969 #define wxUSE_FILECTRL 1
44975 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44976 cat >>confdefs.h <<\_ACEOF
44977 #define wxUSE_FILEPICKERCTRL 1
44983 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44984 cat >>confdefs.h <<\_ACEOF
44985 #define wxUSE_FONTPICKERCTRL 1
44991 if test "$wxUSE_DISPLAY" = "yes"; then
44992 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44993 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44994 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44997 cat >>confdefs.h <<\_ACEOF
44998 #define wxUSE_DISPLAY 1
45001 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45005 if test "$wxUSE_DETECT_SM" = "yes"; then
45006 cat >>confdefs.h <<\_ACEOF
45007 #define wxUSE_DETECT_SM 1
45012 if test "$wxUSE_GAUGE" = "yes"; then
45013 cat >>confdefs.h <<\_ACEOF
45014 #define wxUSE_GAUGE 1
45020 if test "$wxUSE_GRID" = "yes"; then
45021 cat >>confdefs.h <<\_ACEOF
45022 #define wxUSE_GRID 1
45026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45029 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45030 cat >>confdefs.h <<\_ACEOF
45031 #define wxUSE_HYPERLINKCTRL 1
45037 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45038 cat >>confdefs.h <<\_ACEOF
45039 #define wxUSE_BITMAPCOMBOBOX 1
45045 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45046 cat >>confdefs.h <<\_ACEOF
45047 #define wxUSE_DATAVIEWCTRL 1
45051 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45054 if test "$wxUSE_IMAGLIST" = "yes"; then
45055 cat >>confdefs.h <<\_ACEOF
45056 #define wxUSE_IMAGLIST 1
45061 if test "$wxUSE_LISTBOOK" = "yes"; then
45062 cat >>confdefs.h <<\_ACEOF
45063 #define wxUSE_LISTBOOK 1
45069 if test "$wxUSE_LISTBOX" = "yes"; then
45070 cat >>confdefs.h <<\_ACEOF
45071 #define wxUSE_LISTBOX 1
45077 if test "$wxUSE_LISTCTRL" = "yes"; then
45078 if test "$wxUSE_IMAGLIST" = "yes"; then
45079 cat >>confdefs.h <<\_ACEOF
45080 #define wxUSE_LISTCTRL 1
45084 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45086 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45087 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45091 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45092 cat >>confdefs.h <<\_ACEOF
45093 #define wxUSE_EDITABLELISTBOX 1
45097 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45100 if test "$wxUSE_NOTEBOOK" = "yes"; then
45101 cat >>confdefs.h <<\_ACEOF
45102 #define wxUSE_NOTEBOOK 1
45106 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45109 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45110 cat >>confdefs.h <<\_ACEOF
45111 #define wxUSE_NOTIFICATION_MESSAGE 1
45116 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45117 cat >>confdefs.h <<\_ACEOF
45118 #define wxUSE_ODCOMBOBOX 1
45122 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45125 if test "$wxUSE_RADIOBOX" = "yes"; then
45126 cat >>confdefs.h <<\_ACEOF
45127 #define wxUSE_RADIOBOX 1
45133 if test "$wxUSE_RADIOBTN" = "yes"; then
45134 cat >>confdefs.h <<\_ACEOF
45135 #define wxUSE_RADIOBTN 1
45141 if test "$wxUSE_SASH" = "yes"; then
45142 cat >>confdefs.h <<\_ACEOF
45143 #define wxUSE_SASH 1
45146 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45149 if test "$wxUSE_SCROLLBAR" = "yes"; then
45150 cat >>confdefs.h <<\_ACEOF
45151 #define wxUSE_SCROLLBAR 1
45155 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45158 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45159 cat >>confdefs.h <<\_ACEOF
45160 #define wxUSE_SEARCHCTRL 1
45166 if test "$wxUSE_SLIDER" = "yes"; then
45167 cat >>confdefs.h <<\_ACEOF
45168 #define wxUSE_SLIDER 1
45174 if test "$wxUSE_SPINBTN" = "yes"; then
45175 cat >>confdefs.h <<\_ACEOF
45176 #define wxUSE_SPINBTN 1
45182 if test "$wxUSE_SPINCTRL" = "yes"; then
45183 cat >>confdefs.h <<\_ACEOF
45184 #define wxUSE_SPINCTRL 1
45190 if test "$wxUSE_SPLITTER" = "yes"; then
45191 cat >>confdefs.h <<\_ACEOF
45192 #define wxUSE_SPLITTER 1
45195 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45198 if test "$wxUSE_STATBMP" = "yes"; then
45199 cat >>confdefs.h <<\_ACEOF
45200 #define wxUSE_STATBMP 1
45206 if test "$wxUSE_STATBOX" = "yes"; then
45207 cat >>confdefs.h <<\_ACEOF
45208 #define wxUSE_STATBOX 1
45214 if test "$wxUSE_STATTEXT" = "yes"; then
45215 cat >>confdefs.h <<\_ACEOF
45216 #define wxUSE_STATTEXT 1
45222 if test "$wxUSE_STATLINE" = "yes"; then
45223 cat >>confdefs.h <<\_ACEOF
45224 #define wxUSE_STATLINE 1
45230 if test "$wxUSE_STATUSBAR" = "yes"; then
45231 cat >>confdefs.h <<\_ACEOF
45232 #define wxUSE_NATIVE_STATUSBAR 1
45235 cat >>confdefs.h <<\_ACEOF
45236 #define wxUSE_STATUSBAR 1
45241 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45244 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45245 cat >>confdefs.h <<\_ACEOF
45246 #define wxUSE_TAB_DIALOG 1
45251 if test "$wxUSE_TEXTCTRL" = "yes"; then
45252 cat >>confdefs.h <<\_ACEOF
45253 #define wxUSE_TEXTCTRL 1
45257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45260 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45261 if test "$wxUSE_COCOA" = 1 ; then
45262 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45263 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45267 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45268 cat >>confdefs.h <<\_ACEOF
45269 #define wxUSE_TOGGLEBTN 1
45276 if test "$wxUSE_TOOLBAR" = "yes"; then
45277 cat >>confdefs.h <<\_ACEOF
45278 #define wxUSE_TOOLBAR 1
45283 if test "$wxUSE_UNIVERSAL" = "yes"; then
45284 wxUSE_TOOLBAR_NATIVE="no"
45286 wxUSE_TOOLBAR_NATIVE="yes"
45287 cat >>confdefs.h <<\_ACEOF
45288 #define wxUSE_TOOLBAR_NATIVE 1
45293 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45296 if test "$wxUSE_TOOLTIPS" = "yes"; then
45297 if test "$wxUSE_MOTIF" = 1; then
45298 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45299 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45301 if test "$wxUSE_UNIVERSAL" = "yes"; then
45302 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45303 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45305 cat >>confdefs.h <<\_ACEOF
45306 #define wxUSE_TOOLTIPS 1
45313 if test "$wxUSE_TREEBOOK" = "yes"; then
45314 cat >>confdefs.h <<\_ACEOF
45315 #define wxUSE_TREEBOOK 1
45321 if test "$wxUSE_TOOLBOOK" = "yes"; then
45322 cat >>confdefs.h <<\_ACEOF
45323 #define wxUSE_TOOLBOOK 1
45329 if test "$wxUSE_TREECTRL" = "yes"; then
45330 if test "$wxUSE_IMAGLIST" = "yes"; then
45331 cat >>confdefs.h <<\_ACEOF
45332 #define wxUSE_TREECTRL 1
45336 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45338 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45339 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45343 if test "$wxUSE_POPUPWIN" = "yes"; then
45344 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45345 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45346 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45348 if test "$wxUSE_PM" = 1; then
45349 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45350 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45352 cat >>confdefs.h <<\_ACEOF
45353 #define wxUSE_POPUPWIN 1
45356 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45363 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45364 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45365 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45366 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45368 cat >>confdefs.h <<\_ACEOF
45369 #define wxUSE_DIALUP_MANAGER 1
45372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45376 if test "$wxUSE_TIPWINDOW" = "yes"; then
45377 if test "$wxUSE_PM" = 1; then
45378 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45379 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45381 cat >>confdefs.h <<\_ACEOF
45382 #define wxUSE_TIPWINDOW 1
45388 if test "$USES_CONTROLS" = 1; then
45389 cat >>confdefs.h <<\_ACEOF
45390 #define wxUSE_CONTROLS 1
45396 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45397 cat >>confdefs.h <<\_ACEOF
45398 #define wxUSE_ACCESSIBILITY 1
45401 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45404 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45405 cat >>confdefs.h <<\_ACEOF
45406 #define wxUSE_DRAGIMAGE 1
45409 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45412 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45413 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45414 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45415 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45417 cat >>confdefs.h <<\_ACEOF
45418 #define wxUSE_EXCEPTIONS 1
45421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45426 if test "$wxUSE_HTML" = "yes"; then
45427 cat >>confdefs.h <<\_ACEOF
45428 #define wxUSE_HTML 1
45432 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45433 if test "$wxUSE_MAC" = 1; then
45434 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45437 if test "$wxUSE_WEBKIT" = "yes"; then
45438 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45439 old_CPPFLAGS="$CPPFLAGS"
45440 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45441 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45442 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45443 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45444 echo $ECHO_N "(cached) $ECHO_C" >&6
45446 cat >conftest.$ac_ext <<_ACEOF
45449 cat confdefs.h >>conftest.$ac_ext
45450 cat >>conftest.$ac_ext <<_ACEOF
45451 /* end confdefs.h. */
45453 #include <Carbon/Carbon.h>
45454 #include <WebKit/WebKit.h>
45457 #include <WebKit/HIWebView.h>
45459 rm -f conftest.$ac_objext
45460 if { (ac_try="$ac_compile"
45461 case "(($ac_try" in
45462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45463 *) ac_try_echo=$ac_try;;
45465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45466 (eval "$ac_compile") 2>conftest.er1
45468 grep -v '^ *+' conftest.er1 >conftest.err
45470 cat conftest.err >&5
45471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45472 (exit $ac_status); } && {
45473 test -z "$ac_c_werror_flag" ||
45474 test ! -s conftest.err
45475 } && test -s conftest.$ac_objext; then
45476 ac_cv_header_WebKit_HIWebView_h=yes
45478 echo "$as_me: failed program was:" >&5
45479 sed 's/^/| /' conftest.$ac_ext >&5
45481 ac_cv_header_WebKit_HIWebView_h=no
45484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45486 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45487 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45488 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45490 cat >>confdefs.h <<\_ACEOF
45491 #define wxUSE_WEBKIT 1
45494 WEBKIT_LINK="-framework WebKit"
45498 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45499 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45505 CPPFLAGS="$old_CPPFLAGS"
45506 elif test "$wxUSE_COCOA" = 1; then
45507 cat >>confdefs.h <<\_ACEOF
45508 #define wxUSE_WEBKIT 1
45517 if test "$wxUSE_XRC" = "yes"; then
45518 if test "$wxUSE_XML" != "yes"; then
45519 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45520 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45523 cat >>confdefs.h <<\_ACEOF
45524 #define wxUSE_XRC 1
45528 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45533 if test "$wxUSE_AUI" = "yes"; then
45534 cat >>confdefs.h <<\_ACEOF
45535 #define wxUSE_AUI 1
45539 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45543 if test "$wxUSE_STC" = "yes"; then
45544 cat >>confdefs.h <<\_ACEOF
45545 #define wxUSE_STC 1
45549 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45552 if test "$wxUSE_MENUS" = "yes"; then
45553 cat >>confdefs.h <<\_ACEOF
45554 #define wxUSE_MENUS 1
45557 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45560 if test "$wxUSE_METAFILE" = "yes"; then
45561 cat >>confdefs.h <<\_ACEOF
45562 #define wxUSE_METAFILE 1
45567 if test "$wxUSE_MIMETYPE" = "yes"; then
45568 cat >>confdefs.h <<\_ACEOF
45569 #define wxUSE_MIMETYPE 1
45574 if test "$wxUSE_MINIFRAME" = "yes"; then
45575 cat >>confdefs.h <<\_ACEOF
45576 #define wxUSE_MINIFRAME 1
45581 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45582 cat >>confdefs.h <<\_ACEOF
45583 #define wxUSE_SYSTEM_OPTIONS 1
45588 if test "$wxUSE_TASKBARICON" = "yes"; then
45589 cat >>confdefs.h <<\_ACEOF
45590 #define wxUSE_TASKBARICON 1
45593 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45597 if test "$wxUSE_VALIDATORS" = "yes"; then
45598 cat >>confdefs.h <<\_ACEOF
45599 #define wxUSE_VALIDATORS 1
45602 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45605 if test "$wxUSE_PALETTE" = "yes" ; then
45606 if test "$wxUSE_DFB" = 1; then
45607 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45608 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45611 cat >>confdefs.h <<\_ACEOF
45612 #define wxUSE_PALETTE 1
45618 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45619 LIBS=" -lunicows $LIBS"
45623 if test "$wxUSE_RICHTEXT" = "yes"; then
45624 cat >>confdefs.h <<\_ACEOF
45625 #define wxUSE_RICHTEXT 1
45629 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45633 if test "$wxUSE_IMAGE" = "yes" ; then
45634 cat >>confdefs.h <<\_ACEOF
45635 #define wxUSE_IMAGE 1
45639 if test "$wxUSE_GIF" = "yes" ; then
45640 cat >>confdefs.h <<\_ACEOF
45641 #define wxUSE_GIF 1
45646 if test "$wxUSE_PCX" = "yes" ; then
45647 cat >>confdefs.h <<\_ACEOF
45648 #define wxUSE_PCX 1
45653 if test "$wxUSE_TGA" = "yes" ; then
45654 cat >>confdefs.h <<\_ACEOF
45655 #define wxUSE_TGA 1
45660 if test "$wxUSE_IFF" = "yes" ; then
45661 cat >>confdefs.h <<\_ACEOF
45662 #define wxUSE_IFF 1
45667 if test "$wxUSE_PNM" = "yes" ; then
45668 cat >>confdefs.h <<\_ACEOF
45669 #define wxUSE_PNM 1
45674 if test "$wxUSE_XPM" = "yes" ; then
45675 cat >>confdefs.h <<\_ACEOF
45676 #define wxUSE_XPM 1
45681 if test "$wxUSE_ICO_CUR" = "yes" ; then
45682 cat >>confdefs.h <<\_ACEOF
45683 #define wxUSE_ICO_CUR 1
45690 if test "$wxUSE_ABOUTDLG" = "yes"; then
45691 cat >>confdefs.h <<\_ACEOF
45692 #define wxUSE_ABOUTDLG 1
45697 if test "$wxUSE_CHOICEDLG" = "yes"; then
45698 cat >>confdefs.h <<\_ACEOF
45699 #define wxUSE_CHOICEDLG 1
45704 if test "$wxUSE_COLOURDLG" = "yes"; then
45705 cat >>confdefs.h <<\_ACEOF
45706 #define wxUSE_COLOURDLG 1
45711 if test "$wxUSE_FILEDLG" = "yes"; then
45712 cat >>confdefs.h <<\_ACEOF
45713 #define wxUSE_FILEDLG 1
45718 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45719 cat >>confdefs.h <<\_ACEOF
45720 #define wxUSE_FINDREPLDLG 1
45725 if test "$wxUSE_FONTDLG" = "yes"; then
45726 cat >>confdefs.h <<\_ACEOF
45727 #define wxUSE_FONTDLG 1
45732 if test "$wxUSE_DIRDLG" = "yes"; then
45733 if test "$wxUSE_TREECTRL" != "yes"; then
45734 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45735 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45737 cat >>confdefs.h <<\_ACEOF
45738 #define wxUSE_DIRDLG 1
45744 if test "$wxUSE_MSGDLG" = "yes"; then
45745 cat >>confdefs.h <<\_ACEOF
45746 #define wxUSE_MSGDLG 1
45751 if test "$wxUSE_NUMBERDLG" = "yes"; then
45752 cat >>confdefs.h <<\_ACEOF
45753 #define wxUSE_NUMBERDLG 1
45758 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45759 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45760 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45761 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45763 cat >>confdefs.h <<\_ACEOF
45764 #define wxUSE_PROGRESSDLG 1
45770 if test "$wxUSE_SPLASH" = "yes"; then
45771 cat >>confdefs.h <<\_ACEOF
45772 #define wxUSE_SPLASH 1
45775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45778 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45779 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45780 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45781 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45783 cat >>confdefs.h <<\_ACEOF
45784 #define wxUSE_STARTUP_TIPS 1
45790 if test "$wxUSE_TEXTDLG" = "yes"; then
45791 cat >>confdefs.h <<\_ACEOF
45792 #define wxUSE_TEXTDLG 1
45797 if test "$wxUSE_WIZARDDLG" = "yes"; then
45798 cat >>confdefs.h <<\_ACEOF
45799 #define wxUSE_WIZARDDLG 1
45802 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45806 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45807 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45808 cat >>confdefs.h <<\_ACEOF
45809 #define wxUSE_OWNER_DRAWN 1
45816 if test "$wxUSE_MSW" = 1 ; then
45818 if test "$wxUSE_DC_CACHEING" = "yes"; then
45819 cat >>confdefs.h <<\_ACEOF
45820 #define wxUSE_DC_CACHEING 1
45825 if test "$wxUSE_DIB" = "yes"; then
45826 cat >>confdefs.h <<\_ACEOF
45827 #define wxUSE_WXDIB 1
45832 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45833 cat >>confdefs.h <<\_ACEOF
45834 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45839 if test "$wxUSE_UXTHEME" = "yes"; then
45840 cat >>confdefs.h <<\_ACEOF
45841 #define wxUSE_UXTHEME 1
45849 if test "$USE_WIN32" = 1 ; then
45850 if test "$wxUSE_INICONF" = "yes"; then
45851 cat >>confdefs.h <<\_ACEOF
45852 #define wxUSE_INICONF 1
45857 if test "$wxUSE_REGKEY" = "yes"; then
45858 cat >>confdefs.h <<\_ACEOF
45859 #define wxUSE_REGKEY 1
45866 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45867 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45868 cat >>confdefs.h <<\_ACEOF
45869 #define wxUSE_GRAPHICS_CONTEXT 1
45872 elif test "$wxUSE_GTK" != 1; then
45873 cat >>confdefs.h <<\_ACEOF
45874 #define wxUSE_GRAPHICS_CONTEXT 1
45880 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45881 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45883 if test -n "$PKG_CONFIG"; then
45884 if test -n "$CAIRO_CFLAGS"; then
45885 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45887 if test -n "$PKG_CONFIG" && \
45888 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45889 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45892 (exit $ac_status); }; then
45893 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45901 if test -n "$PKG_CONFIG"; then
45902 if test -n "$CAIRO_LIBS"; then
45903 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45905 if test -n "$PKG_CONFIG" && \
45906 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45907 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45910 (exit $ac_status); }; then
45911 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45922 if test $pkg_failed = yes; then
45924 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45925 _pkg_short_errors_supported=yes
45927 _pkg_short_errors_supported=no
45929 if test $_pkg_short_errors_supported = yes; then
45930 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45932 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45934 # Put the nasty error message in config.log where it belongs
45935 echo "$CAIRO_PKG_ERRORS" >&5
45937 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45938 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45940 elif test $pkg_failed = untried; then
45941 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45942 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45945 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45946 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45947 { echo "$as_me:$LINENO: result: yes" >&5
45948 echo "${ECHO_T}yes" >&6; }
45949 cat >>confdefs.h <<\_ACEOF
45950 #define wxUSE_GRAPHICS_CONTEXT 1
45960 if test "$wxUSE_MEDIACTRL" = "yes"; then
45963 if test "$wxUSE_GTK" = 1; then
45964 wxUSE_GSTREAMER="no"
45966 GST_VERSION_MAJOR=0
45967 GST_VERSION_MINOR=10
45968 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45970 if test "$wxUSE_GSTREAMER8" = "no"; then
45973 { echo "$as_me:$LINENO: checking for GST" >&5
45974 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45976 if test -n "$PKG_CONFIG"; then
45977 if test -n "$GST_CFLAGS"; then
45978 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45980 if test -n "$PKG_CONFIG" && \
45981 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45982 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45985 (exit $ac_status); }; then
45986 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45994 if test -n "$PKG_CONFIG"; then
45995 if test -n "$GST_LIBS"; then
45996 pkg_cv_GST_LIBS="$GST_LIBS"
45998 if test -n "$PKG_CONFIG" && \
45999 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46000 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46003 (exit $ac_status); }; then
46004 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46015 if test $pkg_failed = yes; then
46017 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46018 _pkg_short_errors_supported=yes
46020 _pkg_short_errors_supported=no
46022 if test $_pkg_short_errors_supported = yes; then
46023 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46025 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46027 # Put the nasty error message in config.log where it belongs
46028 echo "$GST_PKG_ERRORS" >&5
46031 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46032 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46033 GST_VERSION_MINOR=8
46036 elif test $pkg_failed = untried; then
46038 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46039 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46040 GST_VERSION_MINOR=8
46044 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46045 GST_LIBS=$pkg_cv_GST_LIBS
46046 { echo "$as_me:$LINENO: result: yes" >&5
46047 echo "${ECHO_T}yes" >&6; }
46049 wxUSE_GSTREAMER="yes"
46050 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46054 GST_VERSION_MINOR=8
46057 if test $GST_VERSION_MINOR = "8"; then
46058 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46061 { echo "$as_me:$LINENO: checking for GST" >&5
46062 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46064 if test -n "$PKG_CONFIG"; then
46065 if test -n "$GST_CFLAGS"; then
46066 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46068 if test -n "$PKG_CONFIG" && \
46069 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46070 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46073 (exit $ac_status); }; then
46074 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46082 if test -n "$PKG_CONFIG"; then
46083 if test -n "$GST_LIBS"; then
46084 pkg_cv_GST_LIBS="$GST_LIBS"
46086 if test -n "$PKG_CONFIG" && \
46087 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46088 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46091 (exit $ac_status); }; then
46092 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46103 if test $pkg_failed = yes; then
46105 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46106 _pkg_short_errors_supported=yes
46108 _pkg_short_errors_supported=no
46110 if test $_pkg_short_errors_supported = yes; then
46111 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46113 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46115 # Put the nasty error message in config.log where it belongs
46116 echo "$GST_PKG_ERRORS" >&5
46119 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46120 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46122 elif test $pkg_failed = untried; then
46124 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46125 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46128 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46129 GST_LIBS=$pkg_cv_GST_LIBS
46130 { echo "$as_me:$LINENO: result: yes" >&5
46131 echo "${ECHO_T}yes" >&6; }
46132 wxUSE_GSTREAMER="yes"
46137 if test "$wxUSE_GSTREAMER" = "yes"; then
46138 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46139 EXTRALIBS_MEDIA="$GST_LIBS"
46141 cat >>confdefs.h <<\_ACEOF
46142 #define wxUSE_GSTREAMER 1
46150 if test $USE_MEDIA = 1; then
46151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46152 cat >>confdefs.h <<\_ACEOF
46153 #define wxUSE_MEDIACTRL 1
46160 if test "$cross_compiling" = "yes"; then
46163 OSINFO=`uname -s -r -m`
46164 OSINFO="\"$OSINFO\""
46167 cat >>confdefs.h <<_ACEOF
46168 #define WXWIN_OS_DESCRIPTION $OSINFO
46173 if test "x$prefix" != "xNONE"; then
46176 wxPREFIX=$ac_default_prefix
46179 cat >>confdefs.h <<_ACEOF
46180 #define wxINSTALL_PREFIX "$wxPREFIX"
46186 STD_BASE_LIBS="base"
46188 BUILT_WX_LIBS="base"
46189 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46191 if test "$wxUSE_SOCKETS" = "yes" ; then
46192 STD_BASE_LIBS="net $STD_BASE_LIBS"
46193 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46195 if test "$wxUSE_XML" = "yes" ; then
46196 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46197 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46200 if test "$wxUSE_GUI" = "yes"; then
46201 STD_GUI_LIBS="adv core"
46202 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46204 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46205 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46206 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46208 if test "$wxUSE_HTML" = "yes" ; then
46209 STD_GUI_LIBS="html $STD_GUI_LIBS"
46210 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46212 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46213 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46215 if test "$wxUSE_OPENGL" = "yes" ; then
46216 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46218 if test "$wxUSE_AUI" = "yes" ; then
46219 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46221 if test "$wxUSE_STC" = "yes" ; then
46222 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46224 if test "$wxUSE_XRC" = "yes" ; then
46225 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46226 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46237 if test "$wxUSE_MAC" = 1 ; then
46238 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46239 if test "$USE_DARWIN" = 1; then
46240 LDFLAGS="$LDFLAGS -framework QuickTime"
46242 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46245 if test "$USE_DARWIN" = 1; then
46246 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46248 LDFLAGS="$LDFLAGS -lCarbonLib"
46251 if test "$wxUSE_COCOA" = 1 ; then
46252 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46253 if test "$wxUSE_MEDIACTRL" = "yes"; then
46254 LDFLAGS="$LDFLAGS -framework QuickTime"
46257 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46258 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46261 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46263 if test "$wxUSE_GUI" = "yes"; then
46266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46267 erase event exec font image minimal mobile \
46268 mobile/wxedit mobile/styles render \
46269 shaped svg taborder vscroll widgets"
46271 if test "$wxUSE_MONOLITHIC" != "yes"; then
46272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46274 if test "$TOOLKIT" = "MSW"; then
46275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46276 if test "$wxUSE_UNIVERSAL" != "yes"; then
46277 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46280 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46281 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46284 SAMPLES_SUBDIRS="console"
46288 if test "x$INTELCC" = "xyes" ; then
46289 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46290 elif test "$GCC" = yes ; then
46291 CWARNINGS="-Wall -Wundef"
46294 if test "x$INTELCXX" = "xyes" ; then
46295 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46296 elif test "$GXX" = yes ; then
46297 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46301 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46302 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46305 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46306 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46307 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46310 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46311 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46312 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46314 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46317 if test "x$MWCC" = "xyes"; then
46319 CC="$CC -cwd source -I-"
46320 CXX="$CXX -cwd source -I-"
46325 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46326 EXTRALIBS_XML="$EXPAT_LINK"
46327 EXTRALIBS_HTML="$MSPACK_LINK"
46328 EXTRALIBS_MEDIA="$GST_LIBS"
46329 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46330 if test "$wxUSE_GUI" = "yes"; then
46331 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46333 if test "$wxUSE_OPENGL" = "yes"; then
46334 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46337 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46339 WXCONFIG_LIBS="$LIBS"
46341 if test "$wxUSE_REGEX" = "builtin" ; then
46342 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46344 if test "$wxUSE_EXPAT" = "builtin" ; then
46345 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46347 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46348 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46350 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46351 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46353 if test "$wxUSE_LIBPNG" = "builtin" ; then
46354 wxconfig_3rdparty="png $wxconfig_3rdparty"
46356 if test "$wxUSE_ZLIB" = "builtin" ; then
46357 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46360 for i in $wxconfig_3rdparty ; do
46361 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46365 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46368 case "$wxUNIV_THEMES" in
46370 cat >>confdefs.h <<\_ACEOF
46371 #define wxUSE_ALL_THEMES 1
46377 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46378 cat >>confdefs.h <<_ACEOF
46379 #define wxUSE_THEME_$t 1
46395 if test $wxUSE_MONOLITHIC = "yes" ; then
46401 if test $wxUSE_PLUGINS = "yes" ; then
46407 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46413 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46445 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
46456 TOOLKIT_DESC="GTK+"
46457 if test "$WXGTK2" = 1; then
46458 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46459 if test "$wxUSE_GTKPRINT" = "yes" ; then
46460 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46462 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46463 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46465 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46466 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46468 if test "$wxUSE_LIBHILDON" = "yes"; then
46469 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46472 if test "$TOOLKIT_EXTRA" != ""; then
46473 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46479 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46483 TOOLKIT_DESC="base only"
46487 if test "$wxUSE_WINE" = "yes"; then
46488 BAKEFILE_FORCE_PLATFORM=win32
46491 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46493 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46494 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46495 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46496 echo $ECHO_N "(cached) $ECHO_C" >&6
46499 echo '#include <stdio.h>
46500 const wchar_t test_var[] = L"awidetest";' > conftest.h
46502 echo '#include "conftest.h"
46505 printf("%ls", test_var);
46509 wx_cv_gcc_pch_bug="pch not supported"
46511 if $CXX conftest.h >/dev/null 2>&1
46515 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46517 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46518 grep awidetest >/dev/null
46520 wx_cv_gcc_pch_bug=no
46522 wx_cv_gcc_pch_bug=yes
46527 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46530 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46531 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46533 if test "$wx_cv_gcc_pch_bug" = yes; then
46541 if test "x$BAKEFILE_HOST" = "x"; then
46542 if test "x${host}" = "x" ; then
46543 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46544 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46545 { (exit 1); exit 1; }; }
46548 BAKEFILE_HOST="${host}"
46551 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46553 if test -n "$ac_tool_prefix"; then
46554 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46555 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46556 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46558 if test "${ac_cv_prog_RANLIB+set}" = set; then
46559 echo $ECHO_N "(cached) $ECHO_C" >&6
46561 if test -n "$RANLIB"; then
46562 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46565 for as_dir in $PATH
46568 test -z "$as_dir" && as_dir=.
46569 for ac_exec_ext in '' $ac_executable_extensions; do
46570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46571 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46581 RANLIB=$ac_cv_prog_RANLIB
46582 if test -n "$RANLIB"; then
46583 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46584 echo "${ECHO_T}$RANLIB" >&6; }
46586 { echo "$as_me:$LINENO: result: no" >&5
46587 echo "${ECHO_T}no" >&6; }
46592 if test -z "$ac_cv_prog_RANLIB"; then
46593 ac_ct_RANLIB=$RANLIB
46594 # Extract the first word of "ranlib", so it can be a program name with args.
46595 set dummy ranlib; ac_word=$2
46596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46598 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46599 echo $ECHO_N "(cached) $ECHO_C" >&6
46601 if test -n "$ac_ct_RANLIB"; then
46602 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46605 for as_dir in $PATH
46608 test -z "$as_dir" && as_dir=.
46609 for ac_exec_ext in '' $ac_executable_extensions; do
46610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46611 ac_cv_prog_ac_ct_RANLIB="ranlib"
46612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46621 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46622 if test -n "$ac_ct_RANLIB"; then
46623 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46624 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46626 { echo "$as_me:$LINENO: result: no" >&5
46627 echo "${ECHO_T}no" >&6; }
46630 if test "x$ac_ct_RANLIB" = x; then
46633 case $cross_compiling:$ac_tool_warned in
46635 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46636 whose name does not start with the host triplet. If you think this
46637 configuration is useful to you, please write to autoconf@gnu.org." >&5
46638 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46639 whose name does not start with the host triplet. If you think this
46640 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46641 ac_tool_warned=yes ;;
46643 RANLIB=$ac_ct_RANLIB
46646 RANLIB="$ac_cv_prog_RANLIB"
46649 # Find a good install program. We prefer a C program (faster),
46650 # so one script is as good as another. But avoid the broken or
46651 # incompatible versions:
46652 # SysV /etc/install, /usr/sbin/install
46653 # SunOS /usr/etc/install
46654 # IRIX /sbin/install
46656 # AmigaOS /C/install, which installs bootblocks on floppy discs
46657 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46658 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46659 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46660 # OS/2's system install, which has a completely different semantic
46661 # ./install, which can be erroneously created by make from ./install.sh.
46662 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46663 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46664 if test -z "$INSTALL"; then
46665 if test "${ac_cv_path_install+set}" = set; then
46666 echo $ECHO_N "(cached) $ECHO_C" >&6
46668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46669 for as_dir in $PATH
46672 test -z "$as_dir" && as_dir=.
46673 # Account for people who put trailing slashes in PATH elements.
46675 ./ | .// | /cC/* | \
46676 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46677 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46680 # OSF1 and SCO ODT 3.0 have their own names for install.
46681 # Don't use installbsd from OSF since it installs stuff as root
46683 for ac_prog in ginstall scoinst install; do
46684 for ac_exec_ext in '' $ac_executable_extensions; do
46685 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46686 if test $ac_prog = install &&
46687 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46688 # AIX install. It has an incompatible calling convention.
46690 elif test $ac_prog = install &&
46691 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46692 # program-specific install script used by HP pwplus--don't use.
46695 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46708 if test "${ac_cv_path_install+set}" = set; then
46709 INSTALL=$ac_cv_path_install
46711 # As a last resort, use the slow shell script. Don't cache a
46712 # value for INSTALL within a source directory, because that will
46713 # break other packages using the cache if that directory is
46714 # removed, or if the value is a relative name.
46715 INSTALL=$ac_install_sh
46718 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46719 echo "${ECHO_T}$INSTALL" >&6; }
46721 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46722 # It thinks the first close brace ends the variable substitution.
46723 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46725 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46727 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46729 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46730 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46732 if test "$LN_S" = "ln -s"; then
46733 { echo "$as_me:$LINENO: result: yes" >&5
46734 echo "${ECHO_T}yes" >&6; }
46736 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46737 echo "${ECHO_T}no, using $LN_S" >&6; }
46741 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46742 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46743 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46744 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46745 echo $ECHO_N "(cached) $ECHO_C" >&6
46747 cat >conftest.make <<\_ACEOF
46750 @echo '@@@%%%=$(MAKE)=@@@%%%'
46752 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46753 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46754 *@@@%%%=?*=@@@%%%*)
46755 eval ac_cv_prog_make_${ac_make}_set=yes;;
46757 eval ac_cv_prog_make_${ac_make}_set=no;;
46759 rm -f conftest.make
46761 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46762 { echo "$as_me:$LINENO: result: yes" >&5
46763 echo "${ECHO_T}yes" >&6; }
46766 { echo "$as_me:$LINENO: result: no" >&5
46767 echo "${ECHO_T}no" >&6; }
46768 SET_MAKE="MAKE=${MAKE-make}"
46773 if test "x$SUNCXX" = "xyes"; then
46775 AROPTIONS="-xar -o"
46777 elif test "x$SGICC" = "xyes"; then
46782 if test -n "$ac_tool_prefix"; then
46783 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46784 set dummy ${ac_tool_prefix}ar; ac_word=$2
46785 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46787 if test "${ac_cv_prog_AR+set}" = set; then
46788 echo $ECHO_N "(cached) $ECHO_C" >&6
46790 if test -n "$AR"; then
46791 ac_cv_prog_AR="$AR" # Let the user override the test.
46793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46794 for as_dir in $PATH
46797 test -z "$as_dir" && as_dir=.
46798 for ac_exec_ext in '' $ac_executable_extensions; do
46799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46800 ac_cv_prog_AR="${ac_tool_prefix}ar"
46801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46811 if test -n "$AR"; then
46812 { echo "$as_me:$LINENO: result: $AR" >&5
46813 echo "${ECHO_T}$AR" >&6; }
46815 { echo "$as_me:$LINENO: result: no" >&5
46816 echo "${ECHO_T}no" >&6; }
46821 if test -z "$ac_cv_prog_AR"; then
46823 # Extract the first word of "ar", so it can be a program name with args.
46824 set dummy ar; ac_word=$2
46825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46827 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46828 echo $ECHO_N "(cached) $ECHO_C" >&6
46830 if test -n "$ac_ct_AR"; then
46831 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46834 for as_dir in $PATH
46837 test -z "$as_dir" && as_dir=.
46838 for ac_exec_ext in '' $ac_executable_extensions; do
46839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46840 ac_cv_prog_ac_ct_AR="ar"
46841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46850 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46851 if test -n "$ac_ct_AR"; then
46852 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46853 echo "${ECHO_T}$ac_ct_AR" >&6; }
46855 { echo "$as_me:$LINENO: result: no" >&5
46856 echo "${ECHO_T}no" >&6; }
46859 if test "x$ac_ct_AR" = x; then
46862 case $cross_compiling:$ac_tool_warned in
46864 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46865 whose name does not start with the host triplet. If you think this
46866 configuration is useful to you, please write to autoconf@gnu.org." >&5
46867 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46868 whose name does not start with the host triplet. If you think this
46869 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46870 ac_tool_warned=yes ;;
46875 AR="$ac_cv_prog_AR"
46882 if test -n "$ac_tool_prefix"; then
46883 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46884 set dummy ${ac_tool_prefix}strip; ac_word=$2
46885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46887 if test "${ac_cv_prog_STRIP+set}" = set; then
46888 echo $ECHO_N "(cached) $ECHO_C" >&6
46890 if test -n "$STRIP"; then
46891 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46894 for as_dir in $PATH
46897 test -z "$as_dir" && as_dir=.
46898 for ac_exec_ext in '' $ac_executable_extensions; do
46899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46900 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46910 STRIP=$ac_cv_prog_STRIP
46911 if test -n "$STRIP"; then
46912 { echo "$as_me:$LINENO: result: $STRIP" >&5
46913 echo "${ECHO_T}$STRIP" >&6; }
46915 { echo "$as_me:$LINENO: result: no" >&5
46916 echo "${ECHO_T}no" >&6; }
46921 if test -z "$ac_cv_prog_STRIP"; then
46923 # Extract the first word of "strip", so it can be a program name with args.
46924 set dummy strip; ac_word=$2
46925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46927 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46928 echo $ECHO_N "(cached) $ECHO_C" >&6
46930 if test -n "$ac_ct_STRIP"; then
46931 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46934 for as_dir in $PATH
46937 test -z "$as_dir" && as_dir=.
46938 for ac_exec_ext in '' $ac_executable_extensions; do
46939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46940 ac_cv_prog_ac_ct_STRIP="strip"
46941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46950 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46951 if test -n "$ac_ct_STRIP"; then
46952 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46953 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46955 { echo "$as_me:$LINENO: result: no" >&5
46956 echo "${ECHO_T}no" >&6; }
46959 if test "x$ac_ct_STRIP" = x; then
46962 case $cross_compiling:$ac_tool_warned in
46964 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46965 whose name does not start with the host triplet. If you think this
46966 configuration is useful to you, please write to autoconf@gnu.org." >&5
46967 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46968 whose name does not start with the host triplet. If you think this
46969 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46970 ac_tool_warned=yes ;;
46975 STRIP="$ac_cv_prog_STRIP"
46978 if test -n "$ac_tool_prefix"; then
46979 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46980 set dummy ${ac_tool_prefix}nm; ac_word=$2
46981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46983 if test "${ac_cv_prog_NM+set}" = set; then
46984 echo $ECHO_N "(cached) $ECHO_C" >&6
46986 if test -n "$NM"; then
46987 ac_cv_prog_NM="$NM" # Let the user override the test.
46989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46990 for as_dir in $PATH
46993 test -z "$as_dir" && as_dir=.
46994 for ac_exec_ext in '' $ac_executable_extensions; do
46995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46996 ac_cv_prog_NM="${ac_tool_prefix}nm"
46997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47007 if test -n "$NM"; then
47008 { echo "$as_me:$LINENO: result: $NM" >&5
47009 echo "${ECHO_T}$NM" >&6; }
47011 { echo "$as_me:$LINENO: result: no" >&5
47012 echo "${ECHO_T}no" >&6; }
47017 if test -z "$ac_cv_prog_NM"; then
47019 # Extract the first word of "nm", so it can be a program name with args.
47020 set dummy nm; ac_word=$2
47021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47023 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47024 echo $ECHO_N "(cached) $ECHO_C" >&6
47026 if test -n "$ac_ct_NM"; then
47027 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47030 for as_dir in $PATH
47033 test -z "$as_dir" && as_dir=.
47034 for ac_exec_ext in '' $ac_executable_extensions; do
47035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47036 ac_cv_prog_ac_ct_NM="nm"
47037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47046 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47047 if test -n "$ac_ct_NM"; then
47048 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47049 echo "${ECHO_T}$ac_ct_NM" >&6; }
47051 { echo "$as_me:$LINENO: result: no" >&5
47052 echo "${ECHO_T}no" >&6; }
47055 if test "x$ac_ct_NM" = x; then
47058 case $cross_compiling:$ac_tool_warned in
47060 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47061 whose name does not start with the host triplet. If you think this
47062 configuration is useful to you, please write to autoconf@gnu.org." >&5
47063 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47064 whose name does not start with the host triplet. If you think this
47065 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47066 ac_tool_warned=yes ;;
47071 NM="$ac_cv_prog_NM"
47075 case ${BAKEFILE_HOST} in
47077 INSTALL_DIR="mkdir -p"
47080 INSTALL_DIR='$(INSTALL) -d'
47086 case ${BAKEFILE_HOST} in
47087 *-*-cygwin* | *-*-mingw32* )
47088 LDFLAGS_GUI="-mwindows"
47094 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47095 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47096 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47097 echo $ECHO_N "(cached) $ECHO_C" >&6
47100 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47101 egrep -s GNU > /dev/null); then
47102 bakefile_cv_prog_makeisgnu="yes"
47104 bakefile_cv_prog_makeisgnu="no"
47108 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47109 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47111 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47128 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47129 case "${BAKEFILE_HOST}" in
47136 *-pc-os2_emx | *-pc-os2-emx )
47146 powerpc-apple-macos* )
47155 case "$BAKEFILE_FORCE_PLATFORM" in
47190 # Check whether --enable-omf was given.
47191 if test "${enable_omf+set}" = set; then
47192 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47196 case "${BAKEFILE_HOST}" in
47198 if test "x$GCC" = "xyes"; then
47199 CFLAGS="$CFLAGS -fno-common"
47200 CXXFLAGS="$CXXFLAGS -fno-common"
47202 if test "x$XLCC" = "xyes"; then
47203 CFLAGS="$CFLAGS -qnocommon"
47204 CXXFLAGS="$CXXFLAGS -qnocommon"
47208 *-pc-os2_emx | *-pc-os2-emx )
47209 if test "x$bk_os2_use_omf" = "xyes" ; then
47212 LDFLAGS="-Zomf $LDFLAGS"
47213 CFLAGS="-Zomf $CFLAGS"
47214 CXXFLAGS="-Zomf $CXXFLAGS"
47222 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47228 SO_SUFFIX_MODULE="so"
47233 DLLPREFIX_MODULE=""
47237 case "${BAKEFILE_HOST}" in
47240 SO_SUFFIX_MODULE="sl"
47244 SO_SUFFIX_MODULE="a"
47248 SO_SUFFIX_MODULE="dll"
47249 DLLIMP_SUFFIX="dll.a"
47256 SO_SUFFIX_MODULE="dll"
47257 DLLIMP_SUFFIX="dll.a"
47267 *-pc-os2_emx | *-pc-os2-emx )
47269 SO_SUFFIX_MODULE="dll"
47270 DLLIMP_SUFFIX=$OS2_LIBEXT
47274 LIBEXT=".$OS2_LIBEXT"
47279 SO_SUFFIX_MODULE="bundle"
47283 if test "x$DLLIMP_SUFFIX" = "x" ; then
47284 DLLIMP_SUFFIX="$SO_SUFFIX"
47299 if test "x$GCC" = "xyes"; then
47303 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47304 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47307 case "${BAKEFILE_HOST}" in
47309 if test "x$GCC" != "xyes"; then
47310 LDFLAGS="$LDFLAGS -L/usr/lib"
47312 SHARED_LD_CC="${CC} -b -o"
47313 SHARED_LD_CXX="${CXX} -b -o"
47319 if test "$INTELCC" = "yes"; then
47321 elif test "x$SUNCXX" = "xyes"; then
47322 SHARED_LD_CC="${CC} -G -o"
47323 SHARED_LD_CXX="${CXX} -G -o"
47329 if test "x$SUNCXX" = xyes ; then
47330 SHARED_LD_CC="${CC} -G -o"
47331 SHARED_LD_CXX="${CXX} -G -o"
47339 cat <<EOF >shared-ld-sh
47341 #-----------------------------------------------------------------------------
47342 #-- Name: distrib/mac/shared-ld-sh
47343 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47344 #-- Author: Gilles Depeyrot
47345 #-- Copyright: (c) 2002 Gilles Depeyrot
47346 #-- Licence: any use permitted
47347 #-----------------------------------------------------------------------------
47352 linking_flag="-dynamiclib"
47353 ldargs="-r -keep_private_externs -nostdlib"
47355 while test ${D}# -gt 0; do
47362 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47363 # collect these options and values
47364 args="${D}{args} ${D}1 ${D}2"
47369 # collect these load args
47370 ldargs="${D}{ldargs} ${D}1"
47373 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47374 # collect these options
47375 args="${D}{args} ${D}1"
47378 -dynamiclib|-bundle)
47379 linking_flag="${D}1"
47383 echo "shared-ld: unhandled option '${D}1'"
47387 *.o | *.a | *.dylib)
47388 # collect object files
47389 objects="${D}{objects} ${D}1"
47393 echo "shared-ld: unhandled argument '${D}1'"
47404 # Link one module containing all the others
47406 if test ${D}{verbose} = 1; then
47407 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47409 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47413 # Link the shared library from the single module created, but only if the
47414 # previous command didn't fail:
47416 if test ${D}{status} = 0; then
47417 if test ${D}{verbose} = 1; then
47418 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47420 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47425 # Remove intermediate module
47427 rm -f master.${D}${D}.o
47432 chmod +x shared-ld-sh
47434 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47435 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47438 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47439 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47440 if test "${bakefile_cv_gcc31+set}" = set; then
47441 echo $ECHO_N "(cached) $ECHO_C" >&6
47444 cat >conftest.$ac_ext <<_ACEOF
47447 cat confdefs.h >>conftest.$ac_ext
47448 cat >>conftest.$ac_ext <<_ACEOF
47449 /* end confdefs.h. */
47455 #if (__GNUC__ < 3) || \
47456 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47464 rm -f conftest.$ac_objext
47465 if { (ac_try="$ac_compile"
47466 case "(($ac_try" in
47467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47468 *) ac_try_echo=$ac_try;;
47470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47471 (eval "$ac_compile") 2>conftest.er1
47473 grep -v '^ *+' conftest.er1 >conftest.err
47475 cat conftest.err >&5
47476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47477 (exit $ac_status); } && {
47478 test -z "$ac_c_werror_flag" ||
47479 test ! -s conftest.err
47480 } && test -s conftest.$ac_objext; then
47482 bakefile_cv_gcc31=yes
47485 echo "$as_me: failed program was:" >&5
47486 sed 's/^/| /' conftest.$ac_ext >&5
47489 bakefile_cv_gcc31=no
47494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47497 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47498 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47499 if test "$bakefile_cv_gcc31" = "no"; then
47500 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47501 SHARED_LD_CXX="$SHARED_LD_CC"
47503 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47504 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47507 if test "x$GCC" == "xyes"; then
47508 PIC_FLAG="-dynamic -fPIC"
47510 if test "x$XLCC" = "xyes"; then
47511 PIC_FLAG="-dynamic -DPIC"
47516 if test "x$GCC" = "xyes"; then
47519 case "${BAKEFILE_HOST}" in
47521 LD_EXPFULL="-Wl,-bexpfull"
47525 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47526 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47528 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47529 set dummy makeC++SharedLib; ac_word=$2
47530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47532 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47533 echo $ECHO_N "(cached) $ECHO_C" >&6
47535 if test -n "$AIX_CXX_LD"; then
47536 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47539 for as_dir in $PATH
47542 test -z "$as_dir" && as_dir=.
47543 for ac_exec_ext in '' $ac_executable_extensions; do
47544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47545 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47553 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47556 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47557 if test -n "$AIX_CXX_LD"; then
47558 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47559 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47561 { echo "$as_me:$LINENO: result: no" >&5
47562 echo "${ECHO_T}no" >&6; }
47566 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47567 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47572 SHARED_LD_CC="${LD} -nostart -o"
47573 SHARED_LD_CXX="${LD} -nostart -o"
47577 if test "x$GCC" != "xyes"; then
47582 *-*-cygwin* | *-*-mingw32* )
47584 SHARED_LD_CC="\$(CC) -shared -o"
47585 SHARED_LD_CXX="\$(CXX) -shared -o"
47589 *-pc-os2_emx | *-pc-os2-emx )
47590 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47591 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47595 cat <<EOF >dllar.sh
47598 # dllar - a tool to build both a .dll and an .a file
47599 # from a set of object (.o) files for EMX/OS2.
47601 # Written by Andrew Zabolotny, bit@freya.etu.ru
47602 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47604 # This script will accept a set of files on the command line.
47605 # All the public symbols from the .o files will be exported into
47606 # a .DEF file, then linker will be run (through gcc) against them to
47607 # build a shared library consisting of all given .o files. All libraries
47608 # (.a) will be first decompressed into component .o files then act as
47609 # described above. You can optionally give a description (-d "description")
47610 # which will be put into .DLL. To see the list of accepted options (as well
47611 # as command-line format) simply run this program without options. The .DLL
47612 # is built to be imported by name (there is no guarantee that new versions
47613 # of the library you build will have same ordinals for same symbols).
47615 # dllar is free software; you can redistribute it and/or modify
47616 # it under the terms of the GNU General Public License as published by
47617 # the Free Software Foundation; either version 2, or (at your option)
47618 # any later version.
47620 # dllar is distributed in the hope that it will be useful,
47621 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47622 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47623 # GNU General Public License for more details.
47625 # You should have received a copy of the GNU General Public License
47626 # along with dllar; see the file COPYING. If not, write to the Free
47627 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47630 # To successfuly run this program you will need:
47631 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47632 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47634 # (used to build the .dll)
47636 # (used to create .def file from .o files)
47638 # (used to create .a file from .def file)
47639 # - GNU text utilites (cat, sort, uniq)
47640 # used to process emxexp output
47641 # - GNU file utilities (mv, rm)
47643 # - lxlite (optional, see flag below)
47644 # (used for general .dll cleanup)
47651 # basnam, variant of basename, which does _not_ remove the path, _iff_
47652 # second argument (suffix to remove) is given
47656 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47659 echo ${D}1 | sed 's/'${D}2'${D}//'
47662 echo "error in basnam ${D}*"
47668 # Cleanup temporary files and output
47671 for i in ${D}inputFiles ; do
47674 rm -rf \`basnam ${D}i !\`
47681 # Kill result in case of failure as there is just to many stupid make/nmake
47682 # things out there which doesn't do this.
47683 if [ ${D}# -eq 0 ]; then
47684 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47688 # Print usage and exit script with rc=1.
47690 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47691 echo ' [-name-mangler-script script.sh]'
47692 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47693 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47694 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47695 echo ' [*.o] [*.a]'
47696 echo '*> "output_file" should have no extension.'
47697 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47698 echo ' The import library name is derived from this and is set to "name".a,'
47699 echo ' unless overridden by -import'
47700 echo '*> "importlib_name" should have no extension.'
47701 echo ' If it has the .o, or .a extension, it is automatically removed.'
47702 echo ' This name is used as the import library name and may be longer and'
47703 echo ' more descriptive than the DLL name which has to follow the old '
47704 echo ' 8.3 convention of FAT.'
47705 echo '*> "script.sh may be given to override the output_file name by a'
47706 echo ' different name. It is mainly useful if the regular make process'
47707 echo ' of some package does not take into account OS/2 restriction of'
47708 echo ' DLL name lengths. It takes the importlib name as input and is'
47709 echo ' supposed to procude a shorter name as output. The script should'
47710 echo ' expect to get importlib_name without extension and should produce'
47711 echo ' a (max.) 8 letter name without extension.'
47712 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47713 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47714 echo ' These flags will be put at the start of GCC command line.'
47715 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47716 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47717 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47718 echo ' If the last character of a symbol is "*", all symbols beginning'
47719 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47720 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47721 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47722 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47723 echo ' C runtime DLLs.'
47724 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47725 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47726 echo ' unchanged to GCC at the end of command line.'
47727 echo '*> If you create a DLL from a library and you do not specify -o,'
47728 echo ' the basename for DLL and import library will be set to library name,'
47729 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47730 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47731 echo ' library will be renamed into gcc_s.a.'
47734 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47735 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47740 # Execute a command.
47741 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47742 # @Uses Whatever CleanUp() uses.
47748 if [ ${D}rcCmd -ne 0 ]; then
47749 echo "command failed, exit code="${D}rcCmd
47764 CFLAGS="-s -Zcrtdll"
47766 EXPORT_BY_ORDINALS=0
47771 case ${D}curDirS in
47775 curDirS=${D}{curDirS}"/"
47778 # Parse commandline
47781 while [ ${D}1 ]; do
47784 EXPORT_BY_ORDINALS=1;
47794 -name-mangler-script)
47815 exclude_symbols=${D}{exclude_symbols}${D}1" "
47819 library_flags=${D}{library_flags}${D}1" "
47838 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47841 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47842 if [ ${D}omfLinking -eq 1 ]; then
47843 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47845 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47850 if [ ${D}libsToLink -ne 0 ]; then
47851 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47853 for file in ${D}1 ; do
47854 if [ -f ${D}file ]; then
47855 inputFiles="${D}{inputFiles} ${D}file"
47859 if [ ${D}found -eq 0 ]; then
47860 echo "ERROR: No file(s) found: "${D}1
47867 done # iterate cmdline words
47870 if [ -z "${D}inputFiles" ]; then
47871 echo "dllar: no input files"
47875 # Now extract all .o files from .a files
47877 for file in ${D}inputFiles ; do
47888 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47893 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47895 if [ ${D}? -ne 0 ]; then
47896 echo "Failed to create subdirectory ./${D}dirname"
47900 # Append '!' to indicate archive
47901 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47902 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47905 for subfile in ${D}dirname/*.o* ; do
47906 if [ -f ${D}subfile ]; then
47908 if [ -s ${D}subfile ]; then
47909 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47910 newInputFiles="${D}newInputFiles ${D}subfile"
47914 if [ ${D}found -eq 0 ]; then
47915 echo "WARNING: there are no files in archive \\'${D}file\\'"
47919 newInputFiles="${D}{newInputFiles} ${D}file"
47923 inputFiles="${D}newInputFiles"
47925 # Output filename(s).
47927 if [ -z ${D}outFile ]; then
47929 set outFile ${D}inputFiles; outFile=${D}2
47932 # If it is an archive, remove the '!' and the '_%' suffixes
47933 case ${D}outFile in
47935 outFile=\`basnam ${D}outFile _%!\`
47940 case ${D}outFile in
47942 outFile=\`basnam ${D}outFile .dll\`
47945 outFile=\`basnam ${D}outFile .DLL\`
47948 outFile=\`basnam ${D}outFile .o\`
47951 outFile=\`basnam ${D}outFile .obj\`
47954 outFile=\`basnam ${D}outFile .a\`
47957 outFile=\`basnam ${D}outFile .lib\`
47962 case ${D}outimpFile in
47964 outimpFile=\`basnam ${D}outimpFile .a\`
47967 outimpFile=\`basnam ${D}outimpFile .lib\`
47972 if [ -z ${D}outimpFile ]; then
47973 outimpFile=${D}outFile
47975 defFile="${D}{outFile}.def"
47976 arcFile="${D}{outimpFile}.a"
47977 arcFile2="${D}{outimpFile}.lib"
47979 #create ${D}dllFile as something matching 8.3 restrictions,
47980 if [ -z ${D}renameScript ] ; then
47981 dllFile="${D}outFile"
47983 dllFile=\`${D}renameScript ${D}outimpFile\`
47986 if [ ${D}do_backup -ne 0 ] ; then
47987 if [ -f ${D}arcFile ] ; then
47988 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47990 if [ -f ${D}arcFile2 ] ; then
47991 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47995 # Extract public symbols from all the object files.
47996 tmpdefFile=${D}{defFile}_%
47997 rm -f ${D}tmpdefFile
47998 for file in ${D}inputFiles ; do
48003 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48008 # Create the def file.
48010 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48011 dllFile="${D}{dllFile}.dll"
48012 if [ ! -z ${D}description ]; then
48013 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48015 echo "EXPORTS" >> ${D}defFile
48017 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48018 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48020 # Checks if the export is ok or not.
48021 for word in ${D}exclude_symbols; do
48022 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48023 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48027 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48028 sed "=" < ${D}tmpdefFile | \\
48032 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48034 ' > ${D}{tmpdefFile}%
48035 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48037 rm -f ${D}{tmpdefFile}%
48039 cat ${D}tmpdefFile >> ${D}defFile
48040 rm -f ${D}tmpdefFile
48042 # Do linking, create implib, and apply lxlite.
48044 for file in ${D}inputFiles ; do
48049 gccCmdl="${D}gccCmdl ${D}file"
48053 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48054 touch "${D}{outFile}.dll"
48056 doCommand "emximp -o ${D}arcFile ${D}defFile"
48057 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48059 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48062 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48064 doCommand "emxomf -s -l ${D}arcFile"
48074 powerpc-apple-macos* | \
48075 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48085 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48086 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48087 { (exit 1); exit 1; }; }
48090 if test "x$PIC_FLAG" != "x" ; then
48091 PIC_FLAG="$PIC_FLAG -DPIC"
48094 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48095 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48097 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48098 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48117 case "${BAKEFILE_HOST}" in
48118 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48119 if test "x$SUNCXX" = "xyes"; then
48122 SONAME_FLAG="-Wl,-soname,"
48157 # Check whether --enable-dependency-tracking was given.
48158 if test "${enable_dependency_tracking+set}" = set; then
48159 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48163 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48164 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48167 if test "x$bk_use_trackdeps" = "xno" ; then
48169 { echo "$as_me:$LINENO: result: disabled" >&5
48170 echo "${ECHO_T}disabled" >&6; }
48174 if test "x$GCC" = "xyes"; then
48176 case "${BAKEFILE_HOST}" in
48178 DEPSFLAG="-no-cpp-precomp -MMD"
48184 { echo "$as_me:$LINENO: result: gcc" >&5
48185 echo "${ECHO_T}gcc" >&6; }
48186 elif test "x$MWCC" = "xyes"; then
48189 { echo "$as_me:$LINENO: result: mwcc" >&5
48190 echo "${ECHO_T}mwcc" >&6; }
48191 elif test "x$SUNCC" = "xyes"; then
48194 { echo "$as_me:$LINENO: result: Sun cc" >&5
48195 echo "${ECHO_T}Sun cc" >&6; }
48196 elif test "x$SGICC" = "xyes"; then
48199 { echo "$as_me:$LINENO: result: SGI cc" >&5
48200 echo "${ECHO_T}SGI cc" >&6; }
48201 elif test "x$HPCC" = "xyes"; then
48204 { echo "$as_me:$LINENO: result: HP cc" >&5
48205 echo "${ECHO_T}HP cc" >&6; }
48206 elif test "x$COMPAQCC" = "xyes"; then
48209 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48210 echo "${ECHO_T}Compaq cc" >&6; }
48213 { echo "$as_me:$LINENO: result: none" >&5
48214 echo "${ECHO_T}none" >&6; }
48217 if test $DEPS_TRACKING = 1 ; then
48223 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48224 # script. It is used to track C/C++ files dependencies in portable way.
48226 # Permission is given to use this file in any way.
48228 DEPSMODE=${DEPSMODE}
48230 DEPSFLAG="${DEPSFLAG}"
48232 mkdir -p ${D}DEPSDIR
48234 if test ${D}DEPSMODE = gcc ; then
48235 ${D}* ${D}{DEPSFLAG}
48237 if test ${D}{status} != 0 ; then
48240 # move created file to the location we want it in:
48241 while test ${D}# -gt 0; do
48255 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48256 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48257 if test -f ${D}depfile ; then
48258 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48261 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48262 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48263 if test ! -f ${D}depfile ; then
48264 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48265 depfile="${D}objfile.d"
48267 if test -f ${D}depfile ; then
48268 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48273 elif test ${D}DEPSMODE = mwcc ; then
48274 ${D}* || exit ${D}?
48275 # Run mwcc again with -MM and redirect into the dep file we want
48276 # NOTE: We can't use shift here because we need ${D}* to be valid
48278 for arg in ${D}* ; do
48279 if test "${D}prevarg" = "-o"; then
48292 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48294 elif test ${D}DEPSMODE = unixcc; then
48295 ${D}* || exit ${D}?
48296 # Run compiler again with deps flag and redirect into the dep file.
48297 # It doesn't work if the '-o FILE' option is used, but without it the
48298 # dependency file will contain the wrong name for the object. So it is
48299 # removed from the command line, and the dep file is fixed with sed.
48301 while test ${D}# -gt 0; do
48308 eval arg${D}#=\\${D}1
48309 cmd="${D}cmd \\${D}arg${D}#"
48314 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48323 BK_DEPS="`pwd`/bk-deps"
48331 case ${BAKEFILE_HOST} in
48332 *-*-cygwin* | *-*-mingw32* )
48333 if test -n "$ac_tool_prefix"; then
48334 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48335 set dummy ${ac_tool_prefix}windres; ac_word=$2
48336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48338 if test "${ac_cv_prog_WINDRES+set}" = set; then
48339 echo $ECHO_N "(cached) $ECHO_C" >&6
48341 if test -n "$WINDRES"; then
48342 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48345 for as_dir in $PATH
48348 test -z "$as_dir" && as_dir=.
48349 for ac_exec_ext in '' $ac_executable_extensions; do
48350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48351 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48361 WINDRES=$ac_cv_prog_WINDRES
48362 if test -n "$WINDRES"; then
48363 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48364 echo "${ECHO_T}$WINDRES" >&6; }
48366 { echo "$as_me:$LINENO: result: no" >&5
48367 echo "${ECHO_T}no" >&6; }
48372 if test -z "$ac_cv_prog_WINDRES"; then
48373 ac_ct_WINDRES=$WINDRES
48374 # Extract the first word of "windres", so it can be a program name with args.
48375 set dummy windres; ac_word=$2
48376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48378 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48379 echo $ECHO_N "(cached) $ECHO_C" >&6
48381 if test -n "$ac_ct_WINDRES"; then
48382 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48385 for as_dir in $PATH
48388 test -z "$as_dir" && as_dir=.
48389 for ac_exec_ext in '' $ac_executable_extensions; do
48390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48391 ac_cv_prog_ac_ct_WINDRES="windres"
48392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48401 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48402 if test -n "$ac_ct_WINDRES"; then
48403 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48404 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48406 { echo "$as_me:$LINENO: result: no" >&5
48407 echo "${ECHO_T}no" >&6; }
48410 if test "x$ac_ct_WINDRES" = x; then
48413 case $cross_compiling:$ac_tool_warned in
48415 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48416 whose name does not start with the host triplet. If you think this
48417 configuration is useful to you, please write to autoconf@gnu.org." >&5
48418 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48419 whose name does not start with the host triplet. If you think this
48420 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48421 ac_tool_warned=yes ;;
48423 WINDRES=$ac_ct_WINDRES
48426 WINDRES="$ac_cv_prog_WINDRES"
48431 *-*-darwin* | powerpc-apple-macos* )
48432 # Extract the first word of "Rez", so it can be a program name with args.
48433 set dummy Rez; ac_word=$2
48434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48436 if test "${ac_cv_prog_REZ+set}" = set; then
48437 echo $ECHO_N "(cached) $ECHO_C" >&6
48439 if test -n "$REZ"; then
48440 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48443 for as_dir in $PATH
48446 test -z "$as_dir" && as_dir=.
48447 for ac_exec_ext in '' $ac_executable_extensions; do
48448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48449 ac_cv_prog_REZ="Rez"
48450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48457 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48460 REZ=$ac_cv_prog_REZ
48461 if test -n "$REZ"; then
48462 { echo "$as_me:$LINENO: result: $REZ" >&5
48463 echo "${ECHO_T}$REZ" >&6; }
48465 { echo "$as_me:$LINENO: result: no" >&5
48466 echo "${ECHO_T}no" >&6; }
48470 # Extract the first word of "SetFile", so it can be a program name with args.
48471 set dummy SetFile; ac_word=$2
48472 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48474 if test "${ac_cv_prog_SETFILE+set}" = set; then
48475 echo $ECHO_N "(cached) $ECHO_C" >&6
48477 if test -n "$SETFILE"; then
48478 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48481 for as_dir in $PATH
48484 test -z "$as_dir" && as_dir=.
48485 for ac_exec_ext in '' $ac_executable_extensions; do
48486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48487 ac_cv_prog_SETFILE="SetFile"
48488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48495 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48498 SETFILE=$ac_cv_prog_SETFILE
48499 if test -n "$SETFILE"; then
48500 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48501 echo "${ECHO_T}$SETFILE" >&6; }
48503 { echo "$as_me:$LINENO: result: no" >&5
48504 echo "${ECHO_T}no" >&6; }
48516 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
48519 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
48523 # Check whether --enable-precomp-headers was given.
48524 if test "${enable_precomp_headers+set}" = set; then
48525 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48534 case ${BAKEFILE_HOST} in
48540 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48541 if test "x$GCC" = "xyes"; then
48542 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48543 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48544 cat >conftest.$ac_ext <<_ACEOF
48547 cat confdefs.h >>conftest.$ac_ext
48548 cat >>conftest.$ac_ext <<_ACEOF
48549 /* end confdefs.h. */
48555 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48556 There is no PCH support
48559 There is no PCH support
48561 #if (__GNUC__ == 3) && \
48562 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48563 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48564 ( defined(__INTEL_COMPILER) )
48565 There is no PCH support
48572 rm -f conftest.$ac_objext
48573 if { (ac_try="$ac_compile"
48574 case "(($ac_try" in
48575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48576 *) ac_try_echo=$ac_try;;
48578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48579 (eval "$ac_compile") 2>conftest.er1
48581 grep -v '^ *+' conftest.er1 >conftest.err
48583 cat conftest.err >&5
48584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48585 (exit $ac_status); } && {
48586 test -z "$ac_c_werror_flag" ||
48587 test ! -s conftest.err
48588 } && test -s conftest.$ac_objext; then
48590 { echo "$as_me:$LINENO: result: yes" >&5
48591 echo "${ECHO_T}yes" >&6; }
48595 echo "$as_me: failed program was:" >&5
48596 sed 's/^/| /' conftest.$ac_ext >&5
48599 cat >conftest.$ac_ext <<_ACEOF
48602 cat confdefs.h >>conftest.$ac_ext
48603 cat >>conftest.$ac_ext <<_ACEOF
48604 /* end confdefs.h. */
48610 #if !defined(__INTEL_COMPILER) || \
48611 (__INTEL_COMPILER < 800)
48612 There is no PCH support
48619 rm -f conftest.$ac_objext
48620 if { (ac_try="$ac_compile"
48621 case "(($ac_try" in
48622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48623 *) ac_try_echo=$ac_try;;
48625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48626 (eval "$ac_compile") 2>conftest.er1
48628 grep -v '^ *+' conftest.er1 >conftest.err
48630 cat conftest.err >&5
48631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48632 (exit $ac_status); } && {
48633 test -z "$ac_c_werror_flag" ||
48634 test ! -s conftest.err
48635 } && test -s conftest.$ac_objext; then
48637 { echo "$as_me:$LINENO: result: yes" >&5
48638 echo "${ECHO_T}yes" >&6; }
48642 echo "$as_me: failed program was:" >&5
48643 sed 's/^/| /' conftest.$ac_ext >&5
48646 { echo "$as_me:$LINENO: result: no" >&5
48647 echo "${ECHO_T}no" >&6; }
48651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48656 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48660 cat <<EOF >bk-make-pch
48663 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48664 # script. It is used to generated precompiled headers.
48666 # Permission is given to use this file in any way.
48676 while test ${D}{#} -gt 0; do
48680 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48681 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48682 headerfile="${D}{incdir}/${D}{header}"
48685 -use-pch|-use_pch )
48690 if test ${D}add_to_cmdline = 1 ; then
48691 compiler="${D}{compiler} ${D}{1}"
48696 if test "x${D}{headerfile}" = "x" ; then
48697 echo "error: can't find header ${D}{header} in include paths" >&2
48699 if test -f ${D}{outfile} ; then
48700 rm -f ${D}{outfile}
48702 mkdir -p \`dirname ${D}{outfile}\`
48704 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48706 if test "x${GCC_PCH}" = "x1" ; then
48707 # can do this because gcc is >= 3.4:
48708 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48709 elif test "x${ICC_PCH}" = "x1" ; then
48710 filename=pch_gen-${D}${D}
48711 file=${D}{filename}.c
48712 dfile=${D}{filename}.d
48713 cat > ${D}file <<EOT
48714 #include "${D}header"
48716 # using -MF icc complains about differing command lines in creation/use
48717 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48718 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48719 rm -f ${D}file ${D}dfile ${D}{filename}.o
48725 chmod +x bk-make-pch
48726 BK_MAKE_PCH="`pwd`/bk-make-pch"
48735 COND_BUILD_DEBUG="#"
48736 if test "x$BUILD" = "xdebug" ; then
48737 COND_BUILD_DEBUG=""
48740 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48741 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48742 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48745 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48746 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48747 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48750 COND_BUILD_DEBUG_UNICODE_0="#"
48751 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48752 COND_BUILD_DEBUG_UNICODE_0=""
48755 COND_BUILD_DEBUG_UNICODE_1="#"
48756 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48757 COND_BUILD_DEBUG_UNICODE_1=""
48760 COND_BUILD_RELEASE="#"
48761 if test "x$BUILD" = "xrelease" ; then
48762 COND_BUILD_RELEASE=""
48765 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48766 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48767 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48770 COND_BUILD_RELEASE_UNICODE_0="#"
48771 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48772 COND_BUILD_RELEASE_UNICODE_0=""
48775 COND_BUILD_RELEASE_UNICODE_1="#"
48776 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48777 COND_BUILD_RELEASE_UNICODE_1=""
48780 COND_DEBUG_FLAG_1="#"
48781 if test "x$DEBUG_FLAG" = "x1" ; then
48782 COND_DEBUG_FLAG_1=""
48785 COND_DEBUG_INFO_0="#"
48786 if test "x$DEBUG_INFO" = "x0" ; then
48787 COND_DEBUG_INFO_0=""
48790 COND_DEBUG_INFO_1="#"
48791 if test "x$DEBUG_INFO" = "x1" ; then
48792 COND_DEBUG_INFO_1=""
48795 COND_DEPS_TRACKING_0="#"
48796 if test "x$DEPS_TRACKING" = "x0" ; then
48797 COND_DEPS_TRACKING_0=""
48800 COND_DEPS_TRACKING_1="#"
48801 if test "x$DEPS_TRACKING" = "x1" ; then
48802 COND_DEPS_TRACKING_1=""
48806 if test "x$GCC_PCH" = "x1" ; then
48811 if test "x$ICC_PCH" = "x1" ; then
48815 COND_MONOLITHIC_0="#"
48816 if test "x$MONOLITHIC" = "x0" ; then
48817 COND_MONOLITHIC_0=""
48820 COND_MONOLITHIC_0_SHARED_0="#"
48821 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48822 COND_MONOLITHIC_0_SHARED_0=""
48825 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48826 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48827 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48831 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48835 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48836 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48837 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48840 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48841 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48846 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48850 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48851 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48852 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48856 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48857 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48860 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48861 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48862 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48865 COND_MONOLITHIC_0_SHARED_1="#"
48866 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48867 COND_MONOLITHIC_0_SHARED_1=""
48870 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48871 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48872 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48875 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48876 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48877 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48880 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48881 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48882 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48885 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48886 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48887 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48890 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48891 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48892 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48895 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48896 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48897 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48900 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48901 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48902 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48905 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48906 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48907 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48910 COND_MONOLITHIC_0_USE_AUI_1="#"
48911 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48912 COND_MONOLITHIC_0_USE_AUI_1=""
48915 COND_MONOLITHIC_0_USE_GUI_1="#"
48916 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48917 COND_MONOLITHIC_0_USE_GUI_1=""
48920 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48921 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48922 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48925 COND_MONOLITHIC_0_USE_HTML_1="#"
48926 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48927 COND_MONOLITHIC_0_USE_HTML_1=""
48930 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48931 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48932 COND_MONOLITHIC_0_USE_MEDIA_1=""
48935 COND_MONOLITHIC_0_USE_QA_1="#"
48936 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48937 COND_MONOLITHIC_0_USE_QA_1=""
48940 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48941 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48942 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48945 COND_MONOLITHIC_0_USE_STC_1="#"
48946 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48947 COND_MONOLITHIC_0_USE_STC_1=""
48950 COND_MONOLITHIC_0_USE_XRC_1="#"
48951 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48952 COND_MONOLITHIC_0_USE_XRC_1=""
48955 COND_MONOLITHIC_1="#"
48956 if test "x$MONOLITHIC" = "x1" ; then
48957 COND_MONOLITHIC_1=""
48960 COND_MONOLITHIC_1_SHARED_0="#"
48961 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48962 COND_MONOLITHIC_1_SHARED_0=""
48965 COND_MONOLITHIC_1_SHARED_1="#"
48966 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48967 COND_MONOLITHIC_1_SHARED_1=""
48970 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48971 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48972 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48975 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48976 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48977 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48980 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48981 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48982 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48985 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48986 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48987 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48990 COND_PLATFORM_MACOSX_1="#"
48991 if test "x$PLATFORM_MACOSX" = "x1" ; then
48992 COND_PLATFORM_MACOSX_1=""
48995 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48996 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48997 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49000 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49001 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49002 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49005 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49006 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49007 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49010 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49011 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49012 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49015 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49016 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49017 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49020 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49021 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49022 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49025 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49026 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49027 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49030 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49031 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49032 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49035 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49036 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49037 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49040 COND_PLATFORM_MACOS_1="#"
49041 if test "x$PLATFORM_MACOS" = "x1" ; then
49042 COND_PLATFORM_MACOS_1=""
49045 COND_PLATFORM_MAC_1="#"
49046 if test "x$PLATFORM_MAC" = "x1" ; then
49047 COND_PLATFORM_MAC_1=""
49050 COND_PLATFORM_MSDOS_1="#"
49051 if test "x$PLATFORM_MSDOS" = "x1" ; then
49052 COND_PLATFORM_MSDOS_1=""
49055 COND_PLATFORM_OS2_1="#"
49056 if test "x$PLATFORM_OS2" = "x1" ; then
49057 COND_PLATFORM_OS2_1=""
49060 COND_PLATFORM_UNIX_0="#"
49061 if test "x$PLATFORM_UNIX" = "x0" ; then
49062 COND_PLATFORM_UNIX_0=""
49065 COND_PLATFORM_UNIX_1="#"
49066 if test "x$PLATFORM_UNIX" = "x1" ; then
49067 COND_PLATFORM_UNIX_1=""
49070 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49071 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49072 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49075 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49076 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49077 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49080 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49081 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49082 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49085 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49086 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49087 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49090 COND_PLATFORM_WIN32_0="#"
49091 if test "x$PLATFORM_WIN32" = "x0" ; then
49092 COND_PLATFORM_WIN32_0=""
49095 COND_PLATFORM_WIN32_1="#"
49096 if test "x$PLATFORM_WIN32" = "x1" ; then
49097 COND_PLATFORM_WIN32_1=""
49101 if test "x$SHARED" = "x0" ; then
49105 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49106 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49107 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49110 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49111 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49112 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49115 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49116 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49117 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49120 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49121 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49122 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49125 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49126 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49127 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49130 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49131 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49132 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49135 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49136 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49137 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49140 COND_SHARED_0_USE_STC_1="#"
49141 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49142 COND_SHARED_0_USE_STC_1=""
49145 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49146 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49147 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49150 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49151 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49152 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49155 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49156 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49157 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49161 if test "x$SHARED" = "x1" ; then
49165 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49166 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49167 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49171 if test "x$TOOLKIT" = "x" ; then
49175 COND_TOOLKIT_COCOA="#"
49176 if test "x$TOOLKIT" = "xCOCOA" ; then
49177 COND_TOOLKIT_COCOA=""
49180 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49181 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49182 COND_TOOLKIT_COCOA_USE_GUI_1=""
49185 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49186 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49187 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49190 COND_TOOLKIT_DFB="#"
49191 if test "x$TOOLKIT" = "xDFB" ; then
49192 COND_TOOLKIT_DFB=""
49195 COND_TOOLKIT_DFB_USE_GUI_1="#"
49196 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49197 COND_TOOLKIT_DFB_USE_GUI_1=""
49200 COND_TOOLKIT_GTK="#"
49201 if test "x$TOOLKIT" = "xGTK" ; then
49202 COND_TOOLKIT_GTK=""
49205 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49206 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49207 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49210 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49211 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49212 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49215 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49216 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49217 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49220 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49221 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49222 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49225 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49226 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49227 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49230 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49231 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49232 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49235 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49236 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49237 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49240 COND_TOOLKIT_GTK_USE_GUI_1="#"
49241 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49242 COND_TOOLKIT_GTK_USE_GUI_1=""
49245 COND_TOOLKIT_MAC="#"
49246 if test "x$TOOLKIT" = "xMAC" ; then
49247 COND_TOOLKIT_MAC=""
49250 COND_TOOLKIT_MAC_USE_GUI_1="#"
49251 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49252 COND_TOOLKIT_MAC_USE_GUI_1=""
49255 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49256 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49257 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49260 COND_TOOLKIT_MGL="#"
49261 if test "x$TOOLKIT" = "xMGL" ; then
49262 COND_TOOLKIT_MGL=""
49265 COND_TOOLKIT_MGL_USE_GUI_1="#"
49266 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49267 COND_TOOLKIT_MGL_USE_GUI_1=""
49270 COND_TOOLKIT_MOTIF="#"
49271 if test "x$TOOLKIT" = "xMOTIF" ; then
49272 COND_TOOLKIT_MOTIF=""
49275 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49276 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49277 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49280 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49281 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49282 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49285 COND_TOOLKIT_MSW="#"
49286 if test "x$TOOLKIT" = "xMSW" ; then
49287 COND_TOOLKIT_MSW=""
49290 COND_TOOLKIT_MSW_USE_GUI_1="#"
49291 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49292 COND_TOOLKIT_MSW_USE_GUI_1=""
49295 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49296 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49297 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49300 COND_TOOLKIT_MSW_WXUNIV_0="#"
49301 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49302 COND_TOOLKIT_MSW_WXUNIV_0=""
49305 COND_TOOLKIT_PM="#"
49306 if test "x$TOOLKIT" = "xPM" ; then
49310 COND_TOOLKIT_PM_USE_GUI_1="#"
49311 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49312 COND_TOOLKIT_PM_USE_GUI_1=""
49315 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49316 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49317 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49320 COND_TOOLKIT_WINCE="#"
49321 if test "x$TOOLKIT" = "xWINCE" ; then
49322 COND_TOOLKIT_WINCE=""
49325 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49326 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49327 COND_TOOLKIT_WINCE_USE_GUI_1=""
49330 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49331 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49332 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49335 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49336 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49337 COND_TOOLKIT_WINCE_WXUNIV_0=""
49340 COND_TOOLKIT_X11="#"
49341 if test "x$TOOLKIT" = "xX11" ; then
49342 COND_TOOLKIT_X11=""
49345 COND_TOOLKIT_X11_USE_GUI_1="#"
49346 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49347 COND_TOOLKIT_X11_USE_GUI_1=""
49351 if test "x$UNICODE" = "x1" ; then
49355 COND_USE_EXCEPTIONS_0="#"
49356 if test "x$USE_EXCEPTIONS" = "x0" ; then
49357 COND_USE_EXCEPTIONS_0=""
49360 COND_USE_EXCEPTIONS_1="#"
49361 if test "x$USE_EXCEPTIONS" = "x1" ; then
49362 COND_USE_EXCEPTIONS_1=""
49366 if test "x$USE_GUI" = "x0" ; then
49371 if test "x$USE_GUI" = "x1" ; then
49375 COND_USE_GUI_1_USE_OPENGL_1="#"
49376 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49377 COND_USE_GUI_1_USE_OPENGL_1=""
49380 COND_USE_GUI_1_WXUNIV_0="#"
49381 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49382 COND_USE_GUI_1_WXUNIV_0=""
49385 COND_USE_GUI_1_WXUNIV_1="#"
49386 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49387 COND_USE_GUI_1_WXUNIV_1=""
49390 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49391 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49392 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49395 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49396 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49397 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49400 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49401 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49402 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49406 if test "x$USE_PCH" = "x1" ; then
49410 COND_USE_PLUGINS_0="#"
49411 if test "x$USE_PLUGINS" = "x0" ; then
49412 COND_USE_PLUGINS_0=""
49415 COND_USE_RTTI_0="#"
49416 if test "x$USE_RTTI" = "x0" ; then
49420 COND_USE_RTTI_1="#"
49421 if test "x$USE_RTTI" = "x1" ; then
49425 COND_USE_SOSYMLINKS_1="#"
49426 if test "x$USE_SOSYMLINKS" = "x1" ; then
49427 COND_USE_SOSYMLINKS_1=""
49430 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49431 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49432 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49435 COND_USE_SOVERLINUX_1="#"
49436 if test "x$USE_SOVERLINUX" = "x1" ; then
49437 COND_USE_SOVERLINUX_1=""
49440 COND_USE_SOVERSION_0="#"
49441 if test "x$USE_SOVERSION" = "x0" ; then
49442 COND_USE_SOVERSION_0=""
49445 COND_USE_SOVERSOLARIS_1="#"
49446 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49447 COND_USE_SOVERSOLARIS_1=""
49451 if test "x$USE_STC" = "x1" ; then
49455 COND_USE_THREADS_0="#"
49456 if test "x$USE_THREADS" = "x0" ; then
49457 COND_USE_THREADS_0=""
49460 COND_USE_THREADS_1="#"
49461 if test "x$USE_THREADS" = "x1" ; then
49462 COND_USE_THREADS_1=""
49466 if test "x$USE_XRC" = "x1" ; then
49470 COND_WINDOWS_IMPLIB_1="#"
49471 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49472 COND_WINDOWS_IMPLIB_1=""
49475 COND_WITH_PLUGIN_SDL_1="#"
49476 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49477 COND_WITH_PLUGIN_SDL_1=""
49481 if test "x$WXUNIV" = "x0" ; then
49486 if test "x$WXUNIV" = "x1" ; then
49490 COND_WXUSE_EXPAT_BUILTIN="#"
49491 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49492 COND_WXUSE_EXPAT_BUILTIN=""
49495 COND_WXUSE_LIBJPEG_BUILTIN="#"
49496 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49497 COND_WXUSE_LIBJPEG_BUILTIN=""
49500 COND_WXUSE_LIBPNG_BUILTIN="#"
49501 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49502 COND_WXUSE_LIBPNG_BUILTIN=""
49505 COND_WXUSE_LIBTIFF_BUILTIN="#"
49506 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49507 COND_WXUSE_LIBTIFF_BUILTIN=""
49510 COND_WXUSE_REGEX_BUILTIN="#"
49511 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49512 COND_WXUSE_REGEX_BUILTIN=""
49515 COND_WXUSE_ZLIB_BUILTIN="#"
49516 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49517 COND_WXUSE_ZLIB_BUILTIN=""
49522 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49523 { { 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
49524 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;}
49525 { (exit 1); exit 1; }; }
49528 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49529 { { 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
49530 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;}
49531 { (exit 1); exit 1; }; }
49538 ?:* ) # Drive letter, considered as absolute.
49541 INSTALL=`pwd`/${INSTALL} ;;
49544 if test "$wxUSE_GUI" = "yes"; then
49546 if test "$wxUSE_MSW" = 1 ; then
49547 if test "x$WINDRES" = "x"; then
49548 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49549 echo "$as_me: error: Required windres program not found" >&2;}
49550 { (exit 1); exit 1; }; }
49556 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49557 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49558 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49560 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49562 # Extract the first word of "DeRez", so it can be a program name with args.
49563 set dummy DeRez; ac_word=$2
49564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49566 if test "${ac_cv_prog_DEREZ+set}" = set; then
49567 echo $ECHO_N "(cached) $ECHO_C" >&6
49569 if test -n "$DEREZ"; then
49570 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
49572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49573 for as_dir in $PATH
49576 test -z "$as_dir" && as_dir=.
49577 for ac_exec_ext in '' $ac_executable_extensions; do
49578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49579 ac_cv_prog_DEREZ="DeRez"
49580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49587 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
49590 DEREZ=$ac_cv_prog_DEREZ
49591 if test -n "$DEREZ"; then
49592 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49593 echo "${ECHO_T}$DEREZ" >&6; }
49595 { echo "$as_me:$LINENO: result: no" >&5
49596 echo "${ECHO_T}no" >&6; }
49601 MACSETFILE="\$(SETFILE)"
49603 if test "$wxUSE_MAC" = 1; then
49604 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49606 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
49608 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49609 RESCOMP="cat /dev/null \| $REZ"
49610 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49616 if test "$wxUSE_PM" = 1; then
49618 WXCONFIG_RESFLAGS="-ep"
49620 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
49622 POSTLINK_COMMAND="@true"
49629 if test $GCC_PCH = 1
49631 if test "$wx_cv_gcc_pch_bug" = yes; then
49632 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49633 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49634 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49635 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49636 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49637 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49640 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49644 if test "$wxUSE_MAC" = 1 ; then
49645 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49646 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49652 if test "$wxUSE_SHARED" = "yes"; then
49654 *-pc-os2_emx | *-pc-os2-emx )
49655 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49656 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49657 cp -p ${srcdir}/src/os2/dllnames.sh .
49658 cp -p ${srcdir}/src/os2/dllar.sh .
49662 if test "$wxUSE_OMF" = "yes"; then
49664 *-pc-os2_emx | *-pc-os2-emx )
49665 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49666 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49667 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49672 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49677 if test "$GCC" = yes; then
49678 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
49679 LIBS=`echo $LIBS | sed 's/-mt//'`
49680 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49685 if test "x$SUNCXX" = xyes; then
49686 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
49687 LIBS=`echo $LIBS | sed 's/-pthread//'`
49688 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49693 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
49694 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49696 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49757 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49758 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49759 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49760 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49761 echo $ECHO_N "(cached) $ECHO_C" >&6
49763 cat >conftest.make <<\_ACEOF
49766 @echo '@@@%%%=$(MAKE)=@@@%%%'
49768 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49769 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49770 *@@@%%%=?*=@@@%%%*)
49771 eval ac_cv_prog_make_${ac_make}_set=yes;;
49773 eval ac_cv_prog_make_${ac_make}_set=no;;
49775 rm -f conftest.make
49777 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49778 { echo "$as_me:$LINENO: result: yes" >&5
49779 echo "${ECHO_T}yes" >&6; }
49782 { echo "$as_me:$LINENO: result: no" >&5
49783 echo "${ECHO_T}no" >&6; }
49784 SET_MAKE="MAKE=${MAKE-make}"
49789 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49792 if test "$USE_WIN32" = 1; then
49793 ac_config_commands="$ac_config_commands
49799 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49802 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49805 if test "$wx_cv_version_script" = "yes"; then
49806 ac_config_files="$ac_config_files version-script"
49809 ac_config_files="$ac_config_files Makefile"
49812 ac_config_commands="$ac_config_commands wx-config"
49816 if test "$wxWITH_SUBDIRS" != "no"; then
49817 if test "$wxUSE_GUI" = "yes"; then
49818 SUBDIRS="samples demos utils"
49820 SUBDIRS="samples utils"
49825 # Check whether --with-cppunit-prefix was given.
49826 if test "${with_cppunit_prefix+set}" = set; then
49827 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49829 cppunit_config_prefix=""
49833 # Check whether --with-cppunit-exec-prefix was given.
49834 if test "${with_cppunit_exec_prefix+set}" = set; then
49835 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49837 cppunit_config_exec_prefix=""
49841 if test x$cppunit_config_exec_prefix != x ; then
49842 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49843 if test x${CPPUNIT_CONFIG+set} != xset ; then
49844 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49847 if test x$cppunit_config_prefix != x ; then
49848 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49849 if test x${CPPUNIT_CONFIG+set} != xset ; then
49850 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49854 # Extract the first word of "cppunit-config", so it can be a program name with args.
49855 set dummy cppunit-config; ac_word=$2
49856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49858 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49859 echo $ECHO_N "(cached) $ECHO_C" >&6
49861 case $CPPUNIT_CONFIG in
49863 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49867 for as_dir in $PATH
49870 test -z "$as_dir" && as_dir=.
49871 for ac_exec_ext in '' $ac_executable_extensions; do
49872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49873 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49881 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49885 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49886 if test -n "$CPPUNIT_CONFIG"; then
49887 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49888 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49890 { echo "$as_me:$LINENO: result: no" >&5
49891 echo "${ECHO_T}no" >&6; }
49895 cppunit_version_min=1.8.0
49897 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49898 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49900 if test "$CPPUNIT_CONFIG" = "no" ; then
49901 { echo "$as_me:$LINENO: result: no" >&5
49902 echo "${ECHO_T}no" >&6; }
49905 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49906 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49907 cppunit_version=`$CPPUNIT_CONFIG --version`
49909 cppunit_major_version=`echo $cppunit_version | \
49910 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49911 cppunit_minor_version=`echo $cppunit_version | \
49912 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49913 cppunit_micro_version=`echo $cppunit_version | \
49914 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49916 cppunit_major_min=`echo $cppunit_version_min | \
49917 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49918 cppunit_minor_min=`echo $cppunit_version_min | \
49919 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49920 cppunit_micro_min=`echo $cppunit_version_min | \
49921 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49923 cppunit_version_proper=`expr \
49924 $cppunit_major_version \> $cppunit_major_min \| \
49925 $cppunit_major_version \= $cppunit_major_min \& \
49926 $cppunit_minor_version \> $cppunit_minor_min \| \
49927 $cppunit_major_version \= $cppunit_major_min \& \
49928 $cppunit_minor_version \= $cppunit_minor_min \& \
49929 $cppunit_micro_version \>= $cppunit_micro_min `
49931 if test "$cppunit_version_proper" = "1" ; then
49932 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49933 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49935 { echo "$as_me:$LINENO: result: no" >&5
49936 echo "${ECHO_T}no" >&6; }
49941 if test "x$no_cppunit" = x ; then
49942 SUBDIRS="$SUBDIRS tests"
49953 for subdir in $SUBDIRS; do
49954 if test -d ${srcdir}/${subdir} ; then
49955 if test "$wxUSE_GUI" = "yes"; then
49956 if test ${subdir} = "samples"; then
49957 makefiles="samples/Makefile.in $makefiles"
49958 for sample in $SAMPLES_SUBDIRS; do
49959 if test -d $srcdir/samples/$sample; then
49960 makefiles="samples/$sample/Makefile.in $makefiles"
49964 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
49965 eval "disabled=\$$disabled_var"
49966 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49967 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49970 if test ${subdir} = "samples"; then
49971 makefiles="samples/Makefile.in samples/console/Makefile.in"
49972 elif test ${subdir} = "utils"; then
49974 for util in HelpGen tex2rtf ; do
49975 if test -d $srcdir/utils/$util ; then
49976 makefiles="utils/$util/Makefile.in \
49977 utils/$util/src/Makefile.in \
49982 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49986 for mkin in $makefiles ; do
49987 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49988 ac_config_files="$ac_config_files $mk"
49994 cat >confcache <<\_ACEOF
49995 # This file is a shell script that caches the results of configure
49996 # tests run on this system so they can be shared between configure
49997 # scripts and configure runs, see configure's option --config-cache.
49998 # It is not useful on other systems. If it contains results you don't
49999 # want to keep, you may remove or edit it.
50001 # config.status only pays attention to the cache file if you give it
50002 # the --recheck option to rerun configure.
50004 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50005 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50006 # following values.
50010 # The following way of writing the cache mishandles newlines in values,
50011 # but we know of no workaround that is simple, portable, and efficient.
50012 # So, we kill variables containing newlines.
50013 # Ultrix sh set writes to stderr and can't be redirected directly,
50014 # and sets the high bit in the cache file unless we assign to the vars.
50016 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50017 eval ac_val=\$$ac_var
50021 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50022 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50025 _ | IFS | as_nl) ;; #(
50026 *) $as_unset $ac_var ;;
50032 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50033 *${as_nl}ac_space=\ *)
50034 # `set' does not quote correctly, so add quotes (double-quote
50035 # substitution turns \\\\ into \\, and sed turns \\ into \).
50038 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50041 # `set' quotes correctly as required by POSIX, so do not add quotes.
50042 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50051 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50053 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50055 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50056 if test -w "$cache_file"; then
50057 test "x$cache_file" != "x/dev/null" &&
50058 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50059 echo "$as_me: updating cache $cache_file" >&6;}
50060 cat confcache >$cache_file
50062 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50063 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50068 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50069 # Let make expand exec_prefix.
50070 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50072 DEFS=-DHAVE_CONFIG_H
50076 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50077 # 1. Remove the extension, and $U if already installed.
50078 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50079 ac_i=`echo "$ac_i" | sed "$ac_script"`
50080 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50081 # will be set to the directory where LIBOBJS objects are built.
50082 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50083 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50085 LIBOBJS=$ac_libobjs
50087 LTLIBOBJS=$ac_ltlibobjs
50091 : ${CONFIG_STATUS=./config.status}
50092 ac_clean_files_save=$ac_clean_files
50093 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50094 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50095 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50096 cat >$CONFIG_STATUS <<_ACEOF
50098 # Generated by $as_me.
50099 # Run this file to recreate the current configuration.
50100 # Compiler output produced by configure, useful for debugging
50101 # configure, is in config.log if it exists.
50104 ac_cs_recheck=false
50106 SHELL=\${CONFIG_SHELL-$SHELL}
50109 cat >>$CONFIG_STATUS <<\_ACEOF
50110 ## --------------------- ##
50111 ## M4sh Initialization. ##
50112 ## --------------------- ##
50114 # Be more Bourne compatible
50115 DUALCASE=1; export DUALCASE # for MKS sh
50116 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50119 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50120 # is contrary to our usage. Disable this feature.
50121 alias -g '${1+"$@"}'='"$@"'
50122 setopt NO_GLOB_SUBST
50124 case `(set -o) 2>/dev/null` in
50125 *posix*) set -o posix ;;
50134 # Avoid depending upon Character Ranges.
50135 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50136 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50137 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50138 as_cr_digits='0123456789'
50139 as_cr_alnum=$as_cr_Letters$as_cr_digits
50141 # The user is always right.
50142 if test "${PATH_SEPARATOR+set}" != set; then
50143 echo "#! /bin/sh" >conf$$.sh
50144 echo "exit 0" >>conf$$.sh
50146 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50154 # Support unset when possible.
50155 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50163 # We need space, tab and new line, in precisely that order. Quoting is
50164 # there to prevent editors from complaining about space-tab.
50165 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50166 # splitting by setting IFS to empty value.)
50171 # Find who we are. Look in the path if we contain no directory separator.
50173 *[\\/]* ) as_myself=$0 ;;
50174 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50175 for as_dir in $PATH
50178 test -z "$as_dir" && as_dir=.
50179 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50185 # We did not find ourselves, most probably we were run as `sh COMMAND'
50186 # in which case we are not to be found in the path.
50187 if test "x$as_myself" = x; then
50190 if test ! -f "$as_myself"; then
50191 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50192 { (exit 1); exit 1; }
50195 # Work around bugs in pre-3.0 UWIN ksh.
50196 for as_var in ENV MAIL MAILPATH
50197 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50205 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50206 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50207 LC_TELEPHONE LC_TIME
50209 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50210 eval $as_var=C; export $as_var
50212 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50216 # Required to use basename.
50217 if expr a : '\(a\)' >/dev/null 2>&1 &&
50218 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50224 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50225 as_basename=basename
50231 # Name of the executable.
50232 as_me=`$as_basename -- "$0" ||
50233 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50234 X"$0" : 'X\(//\)$' \| \
50235 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50237 sed '/^.*\/\([^/][^/]*\)\/*$/{
50256 as_lineno_1=$LINENO
50257 as_lineno_2=$LINENO
50258 test "x$as_lineno_1" != "x$as_lineno_2" &&
50259 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50261 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50262 # uniformly replaced by the line number. The first 'sed' inserts a
50263 # line-number line after each line using $LINENO; the second 'sed'
50264 # does the real work. The second script uses 'N' to pair each
50265 # line-number line with the line containing $LINENO, and appends
50266 # trailing '-' during substitution so that $LINENO is not a special
50267 # case at line end.
50268 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50269 # scripts with optimization help from Paolo Bonzini. Blame Lee
50270 # E. McMahon (1931-1989) for sed's syntax. :-)
50282 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50285 ' >$as_me.lineno &&
50286 chmod +x "$as_me.lineno" ||
50287 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50288 { (exit 1); exit 1; }; }
50290 # Don't try to exec as it changes $[0], causing all sort of problems
50291 # (the dirname of $[0] is not the place where we might find the
50292 # original and so on. Autoconf is especially sensitive to this).
50293 . "./$as_me.lineno"
50294 # Exit status is that of the last command.
50299 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
50305 ECHO_C= ECHO_N= ECHO_T=
50306 case `echo -n x` in
50308 case `echo 'x\c'` in
50309 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
50316 if expr a : '\(a\)' >/dev/null 2>&1 &&
50317 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50323 rm -f conf$$ conf$$.exe conf$$.file
50324 if test -d conf$$.dir; then
50325 rm -f conf$$.dir/conf$$.file
50331 if ln -s conf$$.file conf$$ 2>/dev/null; then
50333 # ... but there are two gotchas:
50334 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50335 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50336 # In both cases, we have to default to `cp -p'.
50337 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50339 elif ln conf$$.file conf$$ 2>/dev/null; then
50344 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50345 rmdir conf$$.dir 2>/dev/null
50347 if mkdir -p . 2>/dev/null; then
50350 test -d ./-p && rmdir ./-p
50354 if test -x / >/dev/null 2>&1; then
50355 as_test_x='test -x'
50357 if ls -dL / >/dev/null 2>&1; then
50364 if test -d "$1"; then
50370 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50371 ???[sx]*):;;*)false;;esac;fi
50375 as_executable_p=$as_test_x
50377 # Sed expression to map a string onto a valid CPP name.
50378 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50380 # Sed expression to map a string onto a valid variable name.
50381 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50386 # Save the log message, to keep $[0] and so on meaningful, and to
50387 # report actual input values of CONFIG_FILES etc. instead of their
50388 # values after options handling.
50390 This file was extended by wxWidgets $as_me 2.9.0, which was
50391 generated by GNU Autoconf 2.61. Invocation command line was
50393 CONFIG_FILES = $CONFIG_FILES
50394 CONFIG_HEADERS = $CONFIG_HEADERS
50395 CONFIG_LINKS = $CONFIG_LINKS
50396 CONFIG_COMMANDS = $CONFIG_COMMANDS
50399 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50404 cat >>$CONFIG_STATUS <<_ACEOF
50405 # Files that config.status was made for.
50406 config_files="$ac_config_files"
50407 config_headers="$ac_config_headers"
50408 config_commands="$ac_config_commands"
50412 cat >>$CONFIG_STATUS <<\_ACEOF
50414 \`$as_me' instantiates files from templates according to the
50415 current configuration.
50417 Usage: $0 [OPTIONS] [FILE]...
50419 -h, --help print this help, then exit
50420 -V, --version print version number and configuration settings, then exit
50421 -q, --quiet do not print progress messages
50422 -d, --debug don't remove temporary files
50423 --recheck update $as_me by reconfiguring in the same conditions
50424 --file=FILE[:TEMPLATE]
50425 instantiate the configuration file FILE
50426 --header=FILE[:TEMPLATE]
50427 instantiate the configuration header FILE
50429 Configuration files:
50432 Configuration headers:
50435 Configuration commands:
50438 Report bugs to <bug-autoconf@gnu.org>."
50441 cat >>$CONFIG_STATUS <<_ACEOF
50443 wxWidgets config.status 2.9.0
50444 configured by $0, generated by GNU Autoconf 2.61,
50445 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50447 Copyright (C) 2006 Free Software Foundation, Inc.
50448 This config.status script is free software; the Free Software Foundation
50449 gives unlimited permission to copy, distribute and modify it."
50456 cat >>$CONFIG_STATUS <<\_ACEOF
50457 # If no file are specified by the user, then we need to provide default
50458 # value. By we need to know if files were specified by the user.
50464 ac_option=`expr "X$1" : 'X\([^=]*\)='`
50465 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
50476 # Handling of the options.
50477 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50479 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50480 echo "$ac_cs_version"; exit ;;
50481 --debug | --debu | --deb | --de | --d | -d )
50483 --file | --fil | --fi | --f )
50485 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50486 ac_need_defaults=false;;
50487 --header | --heade | --head | --hea )
50489 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50490 ac_need_defaults=false;;
50492 # Conflict between --help and --header
50493 { echo "$as_me: error: ambiguous option: $1
50494 Try \`$0 --help' for more information." >&2
50495 { (exit 1); exit 1; }; };;
50496 --help | --hel | -h )
50497 echo "$ac_cs_usage"; exit ;;
50498 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50499 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50502 # This is an error.
50503 -*) { echo "$as_me: error: unrecognized option: $1
50504 Try \`$0 --help' for more information." >&2
50505 { (exit 1); exit 1; }; } ;;
50507 *) ac_config_targets="$ac_config_targets $1"
50508 ac_need_defaults=false ;;
50514 ac_configure_extra_args=
50516 if $ac_cs_silent; then
50518 ac_configure_extra_args="$ac_configure_extra_args --silent"
50522 cat >>$CONFIG_STATUS <<_ACEOF
50523 if \$ac_cs_recheck; then
50524 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50525 CONFIG_SHELL=$SHELL
50526 export CONFIG_SHELL
50527 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50531 cat >>$CONFIG_STATUS <<\_ACEOF
50535 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50536 ## Running $as_me. ##
50542 cat >>$CONFIG_STATUS <<_ACEOF
50548 infile="$srcdir/include/wx/msw/genrcdefs.h"
50549 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50552 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50553 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50554 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50560 cat >>$CONFIG_STATUS <<\_ACEOF
50562 # Handling of arguments.
50563 for ac_config_target in $ac_config_targets
50565 case $ac_config_target in
50566 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50567 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50568 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50569 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50570 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
50571 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50572 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50573 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
50575 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50576 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50577 { (exit 1); exit 1; }; };;
50582 # If the user did not use the arguments to specify the items to instantiate,
50583 # then the envvar interface is used. Set only those that are not.
50584 # We use the long form for the default assignment because of an extremely
50585 # bizarre bug on SunOS 4.1.3.
50586 if $ac_need_defaults; then
50587 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50588 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50589 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50592 # Have a temporary directory for convenience. Make it in the build tree
50593 # simply because there is no reason against having it here, and in addition,
50594 # creating and moving files from /tmp can sometimes cause problems.
50595 # Hook for its removal unless debugging.
50596 # Note that there is a small window in which the directory will not be cleaned:
50597 # after its creation but before its name has been assigned to `$tmp'.
50601 trap 'exit_status=$?
50602 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50604 trap '{ (exit 1); exit 1; }' 1 2 13 15
50606 # Create a (secure) tmp directory for tmp files.
50609 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50610 test -n "$tmp" && test -d "$tmp"
50613 tmp=./conf$$-$RANDOM
50614 (umask 077 && mkdir "$tmp")
50617 echo "$me: cannot create a temporary directory in ." >&2
50618 { (exit 1); exit 1; }
50622 # Set up the sed scripts for CONFIG_FILES section.
50625 # No need to generate the scripts if there are no CONFIG_FILES.
50626 # This happens for instance when ./config.status config.h
50627 if test -n "$CONFIG_FILES"; then
50634 for ac_last_try in false false false false false :; do
50635 cat >conf$$subs.sed <<_ACEOF
50636 SHELL!$SHELL$ac_delim
50637 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50638 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50639 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50640 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50641 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50642 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50643 exec_prefix!$exec_prefix$ac_delim
50644 prefix!$prefix$ac_delim
50645 program_transform_name!$program_transform_name$ac_delim
50646 bindir!$bindir$ac_delim
50647 sbindir!$sbindir$ac_delim
50648 libexecdir!$libexecdir$ac_delim
50649 datarootdir!$datarootdir$ac_delim
50650 datadir!$datadir$ac_delim
50651 sysconfdir!$sysconfdir$ac_delim
50652 sharedstatedir!$sharedstatedir$ac_delim
50653 localstatedir!$localstatedir$ac_delim
50654 includedir!$includedir$ac_delim
50655 oldincludedir!$oldincludedir$ac_delim
50656 docdir!$docdir$ac_delim
50657 infodir!$infodir$ac_delim
50658 htmldir!$htmldir$ac_delim
50659 dvidir!$dvidir$ac_delim
50660 pdfdir!$pdfdir$ac_delim
50661 psdir!$psdir$ac_delim
50662 libdir!$libdir$ac_delim
50663 localedir!$localedir$ac_delim
50664 mandir!$mandir$ac_delim
50665 DEFS!$DEFS$ac_delim
50666 ECHO_C!$ECHO_C$ac_delim
50667 ECHO_N!$ECHO_N$ac_delim
50668 ECHO_T!$ECHO_T$ac_delim
50669 LIBS!$LIBS$ac_delim
50670 build_alias!$build_alias$ac_delim
50671 host_alias!$host_alias$ac_delim
50672 target_alias!$target_alias$ac_delim
50673 build!$build$ac_delim
50674 build_cpu!$build_cpu$ac_delim
50675 build_vendor!$build_vendor$ac_delim
50676 build_os!$build_os$ac_delim
50677 host!$host$ac_delim
50678 host_cpu!$host_cpu$ac_delim
50679 host_vendor!$host_vendor$ac_delim
50680 host_os!$host_os$ac_delim
50681 target!$target$ac_delim
50682 target_cpu!$target_cpu$ac_delim
50683 target_vendor!$target_vendor$ac_delim
50684 target_os!$target_os$ac_delim
50685 wx_top_builddir!$wx_top_builddir$ac_delim
50687 CFLAGS!$CFLAGS$ac_delim
50688 LDFLAGS!$LDFLAGS$ac_delim
50689 CPPFLAGS!$CPPFLAGS$ac_delim
50690 ac_ct_CC!$ac_ct_CC$ac_delim
50691 EXEEXT!$EXEEXT$ac_delim
50692 OBJEXT!$OBJEXT$ac_delim
50694 GREP!$GREP$ac_delim
50695 EGREP!$EGREP$ac_delim
50697 CXXFLAGS!$CXXFLAGS$ac_delim
50698 ac_ct_CXX!$ac_ct_CXX$ac_delim
50700 subdirs!$subdirs$ac_delim
50701 PKG_CONFIG!$PKG_CONFIG$ac_delim
50702 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50703 GTK_LIBS!$GTK_LIBS$ac_delim
50704 GTK_CONFIG!$GTK_CONFIG$ac_delim
50705 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50706 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50707 XMKMF!$XMKMF$ac_delim
50708 X_CFLAGS!$X_CFLAGS$ac_delim
50709 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50710 X_LIBS!$X_LIBS$ac_delim
50711 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50712 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50713 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50714 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50715 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50716 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50717 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50718 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50719 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50720 LIBICONV!$LIBICONV$ac_delim
50721 SDL_CONFIG!$SDL_CONFIG$ac_delim
50722 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50723 SDL_LIBS!$SDL_LIBS$ac_delim
50724 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50725 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50726 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50727 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50728 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50729 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50730 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50731 HILDON_LIBS!$HILDON_LIBS$ac_delim
50732 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50735 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50737 elif $ac_last_try; then
50738 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50739 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50740 { (exit 1); exit 1; }; }
50742 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50746 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50747 if test -n "$ac_eof"; then
50748 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50749 ac_eof=`expr $ac_eof + 1`
50752 cat >>$CONFIG_STATUS <<_ACEOF
50753 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50754 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50757 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50758 s/^/s,@/; s/!/@,|#_!!_#|/
50761 s/'"$ac_delim"'$/,g/; t
50763 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50764 ' >>$CONFIG_STATUS <conf$$subs.sed
50765 rm -f conf$$subs.sed
50766 cat >>$CONFIG_STATUS <<_ACEOF
50772 for ac_last_try in false false false false false :; do
50773 cat >conf$$subs.sed <<_ACEOF
50774 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50775 GST_CFLAGS!$GST_CFLAGS$ac_delim
50776 GST_LIBS!$GST_LIBS$ac_delim
50777 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50778 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50779 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50780 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50781 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50782 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50783 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50784 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50785 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50786 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50787 VENDOR!$VENDOR$ac_delim
50788 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50789 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50790 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50791 WXUNIV!$WXUNIV$ac_delim
50792 MONOLITHIC!$MONOLITHIC$ac_delim
50793 USE_PLUGINS!$USE_PLUGINS$ac_delim
50794 CXXWARNINGS!$CXXWARNINGS$ac_delim
50795 EXTRALIBS!$EXTRALIBS$ac_delim
50796 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50797 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50798 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
50799 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50800 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50801 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50802 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50803 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50804 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50805 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50806 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50807 UNICODE!$UNICODE$ac_delim
50808 BUILD!$BUILD$ac_delim
50809 DEBUG_INFO!$DEBUG_INFO$ac_delim
50810 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50811 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50812 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50813 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50814 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50815 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50816 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50817 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50818 RANLIB!$RANLIB$ac_delim
50819 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50820 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50821 INSTALL_DATA!$INSTALL_DATA$ac_delim
50822 LN_S!$LN_S$ac_delim
50823 SET_MAKE!$SET_MAKE$ac_delim
50824 MAKE_SET!$MAKE_SET$ac_delim
50825 AROPTIONS!$AROPTIONS$ac_delim
50826 STRIP!$STRIP$ac_delim
50828 INSTALL_DIR!$INSTALL_DIR$ac_delim
50829 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50830 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50831 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50832 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50833 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50834 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50835 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50836 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50837 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50838 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50839 SO_SUFFIX!$SO_SUFFIX$ac_delim
50840 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50841 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50842 LIBPREFIX!$LIBPREFIX$ac_delim
50843 LIBEXT!$LIBEXT$ac_delim
50844 DLLPREFIX!$DLLPREFIX$ac_delim
50845 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50846 dlldir!$dlldir$ac_delim
50847 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50848 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50849 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50850 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50851 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50852 PIC_FLAG!$PIC_FLAG$ac_delim
50853 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50854 USE_SOVERSION!$USE_SOVERSION$ac_delim
50855 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50856 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50857 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50858 USE_MACVERSION!$USE_MACVERSION$ac_delim
50859 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50860 SONAME_FLAG!$SONAME_FLAG$ac_delim
50861 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50862 BK_DEPS!$BK_DEPS$ac_delim
50863 WINDRES!$WINDRES$ac_delim
50865 SETFILE!$SETFILE$ac_delim
50866 GCC_PCH!$GCC_PCH$ac_delim
50867 ICC_PCH!$ICC_PCH$ac_delim
50868 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50869 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50870 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50873 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50875 elif $ac_last_try; then
50876 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50877 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50878 { (exit 1); exit 1; }; }
50880 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50884 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50885 if test -n "$ac_eof"; then
50886 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50887 ac_eof=`expr $ac_eof + 1`
50890 cat >>$CONFIG_STATUS <<_ACEOF
50891 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50892 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50895 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50896 s/^/s,@/; s/!/@,|#_!!_#|/
50899 s/'"$ac_delim"'$/,g/; t
50901 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50902 ' >>$CONFIG_STATUS <conf$$subs.sed
50903 rm -f conf$$subs.sed
50904 cat >>$CONFIG_STATUS <<_ACEOF
50910 for ac_last_try in false false false false false :; do
50911 cat >conf$$subs.sed <<_ACEOF
50912 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50913 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50914 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50915 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50916 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50917 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50918 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50919 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50920 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50921 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50922 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50923 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50924 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50925 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50926 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50927 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50928 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50929 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50930 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50931 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50932 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50933 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50934 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50935 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50936 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50937 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50938 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50939 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50940 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50941 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50942 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50943 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50944 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50945 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50946 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50947 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50948 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50949 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50950 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50951 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50952 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50953 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50954 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50955 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50956 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50957 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50958 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50959 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50960 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50961 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50962 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50963 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50964 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50965 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50966 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50967 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50968 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50969 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50970 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50971 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50972 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50973 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50974 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50975 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50976 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50977 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50978 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50979 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50980 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50981 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50982 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50983 COND_SHARED_0!$COND_SHARED_0$ac_delim
50984 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50985 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50986 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50987 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50988 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50989 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50990 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50991 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50992 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50993 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50994 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50995 COND_SHARED_1!$COND_SHARED_1$ac_delim
50996 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50997 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50998 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50999 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51000 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51001 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51002 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51003 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51004 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51005 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51006 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51007 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51008 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51011 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51013 elif $ac_last_try; then
51014 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51015 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51016 { (exit 1); exit 1; }; }
51018 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51022 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51023 if test -n "$ac_eof"; then
51024 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51025 ac_eof=`expr $ac_eof + 1`
51028 cat >>$CONFIG_STATUS <<_ACEOF
51029 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51030 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51033 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51034 s/^/s,@/; s/!/@,|#_!!_#|/
51037 s/'"$ac_delim"'$/,g/; t
51039 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51040 ' >>$CONFIG_STATUS <conf$$subs.sed
51041 rm -f conf$$subs.sed
51042 cat >>$CONFIG_STATUS <<_ACEOF
51048 for ac_last_try in false false false false false :; do
51049 cat >conf$$subs.sed <<_ACEOF
51050 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51051 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51052 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51053 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51054 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51055 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51056 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51057 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51058 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51059 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51060 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51061 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51062 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51063 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51064 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51065 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51066 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51067 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51068 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51069 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51070 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51071 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51072 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51073 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51074 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51075 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51076 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51077 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51078 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51079 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51080 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51081 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51082 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51083 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51084 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51085 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51086 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51087 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51088 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51089 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51090 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51091 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51092 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51093 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51094 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51095 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51096 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51097 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51098 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51099 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51100 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51101 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51102 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51103 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51104 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51105 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51106 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51107 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51108 DEREZ!$DEREZ$ac_delim
51109 SHARED!$SHARED$ac_delim
51110 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51111 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51112 USE_GUI!$USE_GUI$ac_delim
51113 AFMINSTALL!$AFMINSTALL$ac_delim
51114 WIN32INSTALL!$WIN32INSTALL$ac_delim
51115 TOOLKIT!$TOOLKIT$ac_delim
51116 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51117 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51118 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51119 cross_compiling!$cross_compiling$ac_delim
51120 WIDGET_SET!$WIDGET_SET$ac_delim
51121 WX_RELEASE!$WX_RELEASE$ac_delim
51122 WX_VERSION!$WX_VERSION$ac_delim
51123 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51124 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51125 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51126 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51127 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51128 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51129 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51130 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51131 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51132 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51133 GUIDIST!$GUIDIST$ac_delim
51134 DISTDIR!$DISTDIR$ac_delim
51135 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51136 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51137 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51138 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51139 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51140 RESCOMP!$RESCOMP$ac_delim
51141 RESFLAGS!$RESFLAGS$ac_delim
51142 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51143 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51144 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51145 LIBWXMACRES!$LIBWXMACRES$ac_delim
51146 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51149 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51151 elif $ac_last_try; then
51152 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51153 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51154 { (exit 1); exit 1; }; }
51156 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51160 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51161 if test -n "$ac_eof"; then
51162 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51163 ac_eof=`expr $ac_eof + 1`
51166 cat >>$CONFIG_STATUS <<_ACEOF
51167 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51168 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51171 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51172 s/^/s,@/; s/!/@,|#_!!_#|/
51175 s/'"$ac_delim"'$/,g/; t
51177 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51178 ' >>$CONFIG_STATUS <conf$$subs.sed
51179 rm -f conf$$subs.sed
51180 cat >>$CONFIG_STATUS <<_ACEOF
51186 for ac_last_try in false false false false false :; do
51187 cat >conf$$subs.sed <<_ACEOF
51188 MACSETFILE!$MACSETFILE$ac_delim
51190 DLLTOOL!$DLLTOOL$ac_delim
51191 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51192 LIBOBJS!$LIBOBJS$ac_delim
51193 LTLIBOBJS!$LTLIBOBJS$ac_delim
51196 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then
51198 elif $ac_last_try; then
51199 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51200 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51201 { (exit 1); exit 1; }; }
51203 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51207 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51208 if test -n "$ac_eof"; then
51209 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51210 ac_eof=`expr $ac_eof + 1`
51213 cat >>$CONFIG_STATUS <<_ACEOF
51214 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51215 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51218 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51219 s/^/s,@/; s/!/@,|#_!!_#|/
51222 s/'"$ac_delim"'$/,g/; t
51224 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51225 ' >>$CONFIG_STATUS <conf$$subs.sed
51226 rm -f conf$$subs.sed
51227 cat >>$CONFIG_STATUS <<_ACEOF
51234 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51235 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51236 # trailing colons and then remove the whole line if VPATH becomes empty
51237 # (actually we leave an empty line to preserve line numbers).
51238 if test "x$srcdir" = x.; then
51239 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51240 s/:*\$(srcdir):*/:/
51241 s/:*\${srcdir}:*/:/
51243 s/^\([^=]*=[ ]*\):*/\1/
51249 cat >>$CONFIG_STATUS <<\_ACEOF
51250 fi # test -n "$CONFIG_FILES"
51253 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51256 :[FHLC]) ac_mode=$ac_tag; continue;;
51258 case $ac_mode$ac_tag in
51260 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51261 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51262 { (exit 1); exit 1; }; };;
51263 :[FH]-) ac_tag=-:-;;
51264 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
51281 -) ac_f="$tmp/stdin";;
51282 *) # Look for the file first in the build tree, then in the source tree
51283 # (if the path is not absolute). The absolute path cannot be DOS-style,
51284 # because $ac_f cannot contain `:'.
51288 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
51290 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51291 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51292 { (exit 1); exit 1; }; };;
51294 ac_file_inputs="$ac_file_inputs $ac_f"
51297 # Let's still pretend it is `configure' which instantiates (i.e., don't
51298 # use $as_me), people would be surprised to read:
51299 # /* config.h. Generated by config.status. */
51300 configure_input="Generated from "`IFS=:
51301 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51302 if test x"$ac_file" != x-; then
51303 configure_input="$ac_file. $configure_input"
51304 { echo "$as_me:$LINENO: creating $ac_file" >&5
51305 echo "$as_me: creating $ac_file" >&6;}
51309 *:-:* | *:-) cat >"$tmp/stdin";;
51314 ac_dir=`$as_dirname -- "$ac_file" ||
51315 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51316 X"$ac_file" : 'X\(//\)[^/]' \| \
51317 X"$ac_file" : 'X\(//\)$' \| \
51318 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51324 /^X\(\/\/\)[^/].*/{
51339 -*) as_dir=./$as_dir;;
51341 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51345 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51346 *) as_qdir=$as_dir;;
51348 as_dirs="'$as_qdir' $as_dirs"
51349 as_dir=`$as_dirname -- "$as_dir" ||
51350 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51351 X"$as_dir" : 'X\(//\)[^/]' \| \
51352 X"$as_dir" : 'X\(//\)$' \| \
51353 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51359 /^X\(\/\/\)[^/].*/{
51372 test -d "$as_dir" && break
51374 test -z "$as_dirs" || eval "mkdir $as_dirs"
51375 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51376 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51377 { (exit 1); exit 1; }; }; }
51381 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51383 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51384 # A ".." for each directory in $ac_dir_suffix.
51385 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51386 case $ac_top_builddir_sub in
51387 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51388 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51391 ac_abs_top_builddir=$ac_pwd
51392 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51393 # for backward compatibility:
51394 ac_top_builddir=$ac_top_build_prefix
51397 .) # We are building in place.
51399 ac_top_srcdir=$ac_top_builddir_sub
51400 ac_abs_top_srcdir=$ac_pwd ;;
51401 [\\/]* | ?:[\\/]* ) # Absolute name.
51402 ac_srcdir=$srcdir$ac_dir_suffix;
51403 ac_top_srcdir=$srcdir
51404 ac_abs_top_srcdir=$srcdir ;;
51405 *) # Relative name.
51406 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51407 ac_top_srcdir=$ac_top_build_prefix$srcdir
51408 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51410 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51420 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51421 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
51425 cat >>$CONFIG_STATUS <<\_ACEOF
51426 # If the template does not know about datarootdir, expand it.
51427 # FIXME: This hack should be removed a few years after 2.60.
51428 ac_datarootdir_hack=; ac_datarootdir_seen=
51430 case `sed -n '/datarootdir/ {
51439 ' $ac_file_inputs` in
51440 *datarootdir*) ac_datarootdir_seen=yes;;
51441 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
51442 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51443 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51445 cat >>$CONFIG_STATUS <<_ACEOF
51446 ac_datarootdir_hack='
51447 s&@datadir@&$datadir&g
51448 s&@docdir@&$docdir&g
51449 s&@infodir@&$infodir&g
51450 s&@localedir@&$localedir&g
51451 s&@mandir@&$mandir&g
51452 s&\\\${datarootdir}&$datarootdir&g' ;;
51456 # Neutralize VPATH when `$srcdir' = `.'.
51457 # Shell code in configure.ac might set extrasub.
51458 # FIXME: do we really want to maintain this feature?
51459 cat >>$CONFIG_STATUS <<_ACEOF
51463 cat >>$CONFIG_STATUS <<\_ACEOF
51465 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51466 s&@configure_input@&$configure_input&;t t
51467 s&@top_builddir@&$ac_top_builddir_sub&;t t
51468 s&@srcdir@&$ac_srcdir&;t t
51469 s&@abs_srcdir@&$ac_abs_srcdir&;t t
51470 s&@top_srcdir@&$ac_top_srcdir&;t t
51471 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
51472 s&@builddir@&$ac_builddir&;t t
51473 s&@abs_builddir@&$ac_abs_builddir&;t t
51474 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
51475 s&@INSTALL@&$ac_INSTALL&;t t
51476 $ac_datarootdir_hack
51477 " $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
51479 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51480 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
51481 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
51482 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51483 which seems to be undefined. Please make sure it is defined." >&5
51484 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51485 which seems to be undefined. Please make sure it is defined." >&2;}
51489 -) cat "$tmp/out"; rm -f "$tmp/out";;
51490 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51499 # Transform confdefs.h into a sed script `conftest.defines', that
51500 # substitutes the proper values into config.h.in to produce config.h.
51501 rm -f conftest.defines conftest.tail
51502 # First, append a space to every undef/define line, to ease matching.
51503 echo 's/$/ /' >conftest.defines
51504 # Then, protect against being on the right side of a sed subst, or in
51505 # an unquoted here document, in config.status. If some macros were
51506 # called several times there might be several #defines for the same
51507 # symbol, which is useless. But do not sort them, since the last
51508 # AC_DEFINE must be honored.
51509 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
51510 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51511 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51512 # PARAMS is the parameter list in the macro definition--in most cases, it's
51513 # just an empty string.
51514 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51515 ac_dB='\\)[ (].*,\\1define\\2'
51523 s/^[ ]*#[ ]*define[ ][ ]*//
51528 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51529 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51530 ' >>conftest.defines
51532 # Remove the space that was appended to ease matching.
51533 # Then replace #undef with comments. This is necessary, for
51534 # example, in the case of _POSIX_SOURCE, which is predefined and required
51535 # on some systems where configure will not decide to define it.
51536 # (The regexp can be short, since the line contains either #define or #undef.)
51538 s,^[ #]*u.*,/* & */,' >>conftest.defines
51540 # Break up conftest.defines:
51541 ac_max_sed_lines=50
51543 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51544 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51545 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51547 ac_in='$ac_file_inputs'
51548 ac_out='"$tmp/out1"'
51549 ac_nxt='"$tmp/out2"'
51553 # Write a here document:
51554 cat >>$CONFIG_STATUS <<_ACEOF
51555 # First, check the format of the line:
51556 cat >"\$tmp/defines.sed" <<\\CEOF
51557 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51558 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51562 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
51564 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51565 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
51566 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
51567 grep . conftest.tail >/dev/null || break
51568 rm -f conftest.defines
51569 mv conftest.tail conftest.defines
51571 rm -f conftest.defines conftest.tail
51573 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51574 cat >>$CONFIG_STATUS <<\_ACEOF
51575 if test x"$ac_file" != x-; then
51576 echo "/* $configure_input */" >"$tmp/config.h"
51577 cat "$ac_result" >>"$tmp/config.h"
51578 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
51579 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51580 echo "$as_me: $ac_file is unchanged" >&6;}
51583 mv "$tmp/config.h" $ac_file
51586 echo "/* $configure_input */"
51592 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51593 echo "$as_me: executing $ac_file commands" >&6;}
51598 case $ac_file$ac_mode in
51600 mkdir -p $outdir &&
51601 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51603 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51604 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51605 "wx-config":C) rm -f wx-config
51606 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51613 { (exit 0); exit 0; }
51615 chmod +x $CONFIG_STATUS
51616 ac_clean_files=$ac_clean_files_save
51619 # configure is writing to config.log, and then calls config.status.
51620 # config.status does its own redirection, appending to config.log.
51621 # Unfortunately, on DOS this fails, as config.log is still kept open
51622 # by configure, so config.status won't be able to write to it; its
51623 # output is simply discarded. So we exec the FD to /dev/null,
51624 # effectively closing config.log, so it can be properly (re)opened and
51625 # appended to by config.status. When coming back to configure, we
51626 # need to make the FD available again.
51627 if test "$no_create" != yes; then
51629 ac_config_status_args=
51630 test "$silent" = yes &&
51631 ac_config_status_args="$ac_config_status_args --quiet"
51633 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51635 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51636 # would make configure fail if this is the last instruction.
51637 $ac_cs_success || { (exit 1); exit 1; }
51641 # CONFIG_SUBDIRS section.
51643 if test "$no_recursion" != yes; then
51645 # Remove --cache-file and --srcdir arguments so they do not pile up.
51646 ac_sub_configure_args=
51648 eval "set x $ac_configure_args"
51652 if test -n "$ac_prev"; then
51657 -cache-file | --cache-file | --cache-fil | --cache-fi \
51658 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51659 ac_prev=cache_file ;;
51660 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51661 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51664 --config-cache | -C)
51666 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51668 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51670 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51672 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51676 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51678 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51682 # Always prepend --prefix to ensure using the same prefix
51683 # in subdir configurations.
51684 ac_arg="--prefix=$prefix"
51686 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51688 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51691 if test "$silent" = yes; then
51692 ac_sub_configure_args="--silent $ac_sub_configure_args"
51696 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51698 # Do not complain, so a configure script can configure whichever
51699 # parts of a large source tree are present.
51700 test -d "$srcdir/$ac_dir" || continue
51702 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51703 echo "$as_me:$LINENO: $ac_msg" >&5
51707 -*) as_dir=./$as_dir;;
51709 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51713 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51714 *) as_qdir=$as_dir;;
51716 as_dirs="'$as_qdir' $as_dirs"
51717 as_dir=`$as_dirname -- "$as_dir" ||
51718 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51719 X"$as_dir" : 'X\(//\)[^/]' \| \
51720 X"$as_dir" : 'X\(//\)$' \| \
51721 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51727 /^X\(\/\/\)[^/].*/{
51740 test -d "$as_dir" && break
51742 test -z "$as_dirs" || eval "mkdir $as_dirs"
51743 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51744 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51745 { (exit 1); exit 1; }; }; }
51749 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51751 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51752 # A ".." for each directory in $ac_dir_suffix.
51753 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51754 case $ac_top_builddir_sub in
51755 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51756 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51759 ac_abs_top_builddir=$ac_pwd
51760 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51761 # for backward compatibility:
51762 ac_top_builddir=$ac_top_build_prefix
51765 .) # We are building in place.
51767 ac_top_srcdir=$ac_top_builddir_sub
51768 ac_abs_top_srcdir=$ac_pwd ;;
51769 [\\/]* | ?:[\\/]* ) # Absolute name.
51770 ac_srcdir=$srcdir$ac_dir_suffix;
51771 ac_top_srcdir=$srcdir
51772 ac_abs_top_srcdir=$srcdir ;;
51773 *) # Relative name.
51774 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51775 ac_top_srcdir=$ac_top_build_prefix$srcdir
51776 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51778 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51783 # Check for guested configure; otherwise get Cygnus style configure.
51784 if test -f "$ac_srcdir/configure.gnu"; then
51785 ac_sub_configure=$ac_srcdir/configure.gnu
51786 elif test -f "$ac_srcdir/configure"; then
51787 ac_sub_configure=$ac_srcdir/configure
51788 elif test -f "$ac_srcdir/configure.in"; then
51789 # This should be Cygnus configure.
51790 ac_sub_configure=$ac_aux_dir/configure
51792 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51793 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51797 # The recursion is here.
51798 if test -n "$ac_sub_configure"; then
51799 # Make the cache file name correct relative to the subdirectory.
51800 case $cache_file in
51801 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51802 *) # Relative name.
51803 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
51806 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51807 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51808 # The eval makes quoting arguments work.
51809 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51810 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51811 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51812 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51813 { (exit 1); exit 1; }; }
51822 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51824 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51825 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51827 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51828 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51829 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
51830 if test "$wxUSE_UNICODE" = "yes"; then
51831 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51832 echo " (using UTF-8)"
51834 echo " (using wchar_t)"
51840 echo " What level of wxWidgets compatibility should be enabled?"
51841 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51842 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51844 echo " Which libraries should wxWidgets use?"
51845 echo " STL ${wxUSE_STL}"
51846 echo " jpeg ${wxUSE_LIBJPEG-none}"
51847 echo " png ${wxUSE_LIBPNG-none}"
51848 echo " regex ${wxUSE_REGEX}"
51849 echo " tiff ${wxUSE_LIBTIFF-none}"
51850 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51851 echo " xpm ${wxUSE_LIBXPM-none}"
51853 echo " zlib ${wxUSE_ZLIB}"
51854 echo " expat ${wxUSE_EXPAT}"
51855 echo " libmspack ${wxUSE_LIBMSPACK}"
51856 echo " sdl ${wxUSE_LIBSDL}"