2 # From configure.in Id: configure.in 51582 2008-02-07 20:59:50Z DE .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir=.
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
261 CONFIG_SHELL=$as_shell
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
289 as_func_ret_success () {
292 as_func_ret_failure () {
297 if as_func_success; then
301 echo as_func_success failed.
304 if as_func_failure; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure; then
318 echo as_func_ret_failure succeeded.
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
475 ECHO_C= ECHO_N= ECHO_T=
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
509 elif ln conf$$.file conf$$ 2>/dev/null; then
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
517 if mkdir -p . 2>/dev/null; then
520 test -d ./-p && rmdir ./-p
524 if test -x / >/dev/null 2>&1; then
527 if ls -dL / >/dev/null 2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev/null 6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix=/usr/local
567 ac_config_libobj_dir=.
573 SHELL=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
709 LIBGNOMEPRINTUI_CFLAGS
757 SAMPLES_RPATH_POSTLINK
813 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
814 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
815 COND_BUILD_DEBUG_UNICODE_0
816 COND_BUILD_DEBUG_UNICODE_1
818 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
819 COND_BUILD_RELEASE_UNICODE_0
820 COND_BUILD_RELEASE_UNICODE_1
829 COND_MONOLITHIC_0_SHARED_0
830 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
836 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
838 COND_MONOLITHIC_0_SHARED_1
839 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
845 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
846 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
847 COND_MONOLITHIC_0_USE_AUI_1
848 COND_MONOLITHIC_0_USE_GUI_1
849 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
850 COND_MONOLITHIC_0_USE_HTML_1
851 COND_MONOLITHIC_0_USE_MEDIA_1
852 COND_MONOLITHIC_0_USE_QA_1
853 COND_MONOLITHIC_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_USE_STC_1
855 COND_MONOLITHIC_0_USE_XRC_1
857 COND_MONOLITHIC_1_SHARED_0
858 COND_MONOLITHIC_1_SHARED_1
859 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
860 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_1
864 COND_PLATFORM_MACOSX_1_TOOLKIT_
865 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
866 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
870 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
871 COND_PLATFORM_MACOSX_1_USE_GUI_1
872 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
873 COND_PLATFORM_MACOS_1
876 COND_PLATFORM_MSDOS_0
877 COND_PLATFORM_MSDOS_1
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
882 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_GUI_1
884 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
885 COND_PLATFORM_WIN32_0
886 COND_PLATFORM_WIN32_1
888 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
890 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
891 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
895 COND_SHARED_0_USE_STC_1
896 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
897 COND_SHARED_0_WXUSE_REGEX_BUILTIN
898 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
900 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
903 COND_TOOLKIT_COCOA_USE_GUI_1
904 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
906 COND_TOOLKIT_DFB_USE_GUI_1
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_GTK_USE_GUI_1
917 COND_TOOLKIT_MAC_USE_GUI_1
918 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_MGL_USE_GUI_1
922 COND_TOOLKIT_MOTIF_USE_GUI_1
923 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_MSW_USE_GUI_1
926 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_MSW_WXUNIV_0
929 COND_TOOLKIT_PM_USE_GUI_1
930 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_WINCE_USE_GUI_1
933 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_WINCE_WXUNIV_0
936 COND_TOOLKIT_X11_USE_GUI_1
938 COND_USE_EXCEPTIONS_0
939 COND_USE_EXCEPTIONS_1
942 COND_USE_GUI_1_USE_OPENGL_1
943 COND_USE_GUI_1_WXUNIV_0
944 COND_USE_GUI_1_WXUNIV_1
945 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
946 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
947 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
953 COND_USE_SOSYMLINKS_1
954 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
955 COND_USE_SOVERLINUX_1
957 COND_USE_SOVERSOLARIS_1
962 COND_WINDOWS_IMPLIB_1
963 COND_WITH_PLUGIN_SDL_1
966 COND_WXUSE_EXPAT_BUILTIN
967 COND_WXUSE_LIBJPEG_BUILTIN
968 COND_WXUSE_LIBPNG_BUILTIN
969 COND_WXUSE_LIBTIFF_BUILTIN
970 COND_WXUSE_REGEX_BUILTIN
971 COND_WXUSE_ZLIB_BUILTIN
974 WX_LIBRARY_BASENAME_NOGUI
975 WX_LIBRARY_BASENAME_GUI
1007 WX_RESOURCES_MACOSX_ASCII
1008 WX_RESOURCES_MACOSX_DATA
1018 ac_precious_vars='build_alias
1042 LIBGNOMEPRINTUI_CFLAGS
1043 LIBGNOMEPRINTUI_LIBS
1052 ac_subdirs_all='src/tiff
1055 # Initialize some variables set by options.
1057 ac_init_version=false
1058 # The variables have the same names as the options, with
1059 # dashes changed to underlines.
1060 cache_file=/dev/null
1067 program_transform_name=s,x,x,
1075 # Installation directory options.
1076 # These are left unexpanded so users can "make install exec_prefix=/foo"
1077 # and all the variables that are supposed to be based on exec_prefix
1078 # by default will actually change.
1079 # Use braces instead of parens because sh, perl, etc. also accept them.
1080 # (The list follows the same order as the GNU Coding Standards.)
1081 bindir='${exec_prefix}/bin'
1082 sbindir='${exec_prefix}/sbin'
1083 libexecdir='${exec_prefix}/libexec'
1084 datarootdir='${prefix}/share'
1085 datadir='${datarootdir}'
1086 sysconfdir='${prefix}/etc'
1087 sharedstatedir='${prefix}/com'
1088 localstatedir='${prefix}/var'
1089 includedir='${prefix}/include'
1090 oldincludedir='/usr/include'
1091 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1092 infodir='${datarootdir}/info'
1097 libdir='${exec_prefix}/lib'
1098 localedir='${datarootdir}/locale'
1099 mandir='${datarootdir}/man'
1105 # If the previous option needs an argument, assign it.
1106 if test -n "$ac_prev"; then
1107 eval $ac_prev=\$ac_option
1113 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1117 # Accept the important Cygnus configure options, so we can diagnose typos.
1119 case $ac_dashdash$ac_option in
1123 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1125 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1126 bindir=$ac_optarg ;;
1128 -build | --build | --buil | --bui | --bu)
1129 ac_prev=build_alias ;;
1130 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1131 build_alias=$ac_optarg ;;
1133 -cache-file | --cache-file | --cache-fil | --cache-fi \
1134 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1135 ac_prev=cache_file ;;
1136 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1137 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1138 cache_file=$ac_optarg ;;
1140 --config-cache | -C)
1141 cache_file=config.cache ;;
1143 -datadir | --datadir | --datadi | --datad)
1145 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1146 datadir=$ac_optarg ;;
1148 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1149 | --dataroo | --dataro | --datar)
1150 ac_prev=datarootdir ;;
1151 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1152 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1153 datarootdir=$ac_optarg ;;
1155 -disable-* | --disable-*)
1156 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1159 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1160 { (exit 1); exit 1; }; }
1161 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1162 eval enable_$ac_feature=no ;;
1164 -docdir | --docdir | --docdi | --doc | --do)
1166 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1167 docdir=$ac_optarg ;;
1169 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1171 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1172 dvidir=$ac_optarg ;;
1174 -enable-* | --enable-*)
1175 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1178 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1179 { (exit 1); exit 1; }; }
1180 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1181 eval enable_$ac_feature=\$ac_optarg ;;
1183 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1184 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1185 | --exec | --exe | --ex)
1186 ac_prev=exec_prefix ;;
1187 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1188 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1189 | --exec=* | --exe=* | --ex=*)
1190 exec_prefix=$ac_optarg ;;
1192 -gas | --gas | --ga | --g)
1193 # Obsolete; use --with-gas.
1196 -help | --help | --hel | --he | -h)
1197 ac_init_help=long ;;
1198 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1199 ac_init_help=recursive ;;
1200 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1201 ac_init_help=short ;;
1203 -host | --host | --hos | --ho)
1204 ac_prev=host_alias ;;
1205 -host=* | --host=* | --hos=* | --ho=*)
1206 host_alias=$ac_optarg ;;
1208 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1210 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1212 htmldir=$ac_optarg ;;
1214 -includedir | --includedir | --includedi | --included | --include \
1215 | --includ | --inclu | --incl | --inc)
1216 ac_prev=includedir ;;
1217 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1218 | --includ=* | --inclu=* | --incl=* | --inc=*)
1219 includedir=$ac_optarg ;;
1221 -infodir | --infodir | --infodi | --infod | --info | --inf)
1223 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1224 infodir=$ac_optarg ;;
1226 -libdir | --libdir | --libdi | --libd)
1228 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1229 libdir=$ac_optarg ;;
1231 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1232 | --libexe | --libex | --libe)
1233 ac_prev=libexecdir ;;
1234 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1235 | --libexe=* | --libex=* | --libe=*)
1236 libexecdir=$ac_optarg ;;
1238 -localedir | --localedir | --localedi | --localed | --locale)
1239 ac_prev=localedir ;;
1240 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1241 localedir=$ac_optarg ;;
1243 -localstatedir | --localstatedir | --localstatedi | --localstated \
1244 | --localstate | --localstat | --localsta | --localst | --locals)
1245 ac_prev=localstatedir ;;
1246 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1247 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1248 localstatedir=$ac_optarg ;;
1250 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1252 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1253 mandir=$ac_optarg ;;
1255 -nfp | --nfp | --nf)
1256 # Obsolete; use --without-fp.
1259 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1260 | --no-cr | --no-c | -n)
1263 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1264 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1267 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1268 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1269 | --oldin | --oldi | --old | --ol | --o)
1270 ac_prev=oldincludedir ;;
1271 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1272 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1273 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1274 oldincludedir=$ac_optarg ;;
1276 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1278 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1279 prefix=$ac_optarg ;;
1281 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1282 | --program-pre | --program-pr | --program-p)
1283 ac_prev=program_prefix ;;
1284 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1285 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1286 program_prefix=$ac_optarg ;;
1288 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1289 | --program-suf | --program-su | --program-s)
1290 ac_prev=program_suffix ;;
1291 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1292 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1293 program_suffix=$ac_optarg ;;
1295 -program-transform-name | --program-transform-name \
1296 | --program-transform-nam | --program-transform-na \
1297 | --program-transform-n | --program-transform- \
1298 | --program-transform | --program-transfor \
1299 | --program-transfo | --program-transf \
1300 | --program-trans | --program-tran \
1301 | --progr-tra | --program-tr | --program-t)
1302 ac_prev=program_transform_name ;;
1303 -program-transform-name=* | --program-transform-name=* \
1304 | --program-transform-nam=* | --program-transform-na=* \
1305 | --program-transform-n=* | --program-transform-=* \
1306 | --program-transform=* | --program-transfor=* \
1307 | --program-transfo=* | --program-transf=* \
1308 | --program-trans=* | --program-tran=* \
1309 | --progr-tra=* | --program-tr=* | --program-t=*)
1310 program_transform_name=$ac_optarg ;;
1312 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1314 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1315 pdfdir=$ac_optarg ;;
1317 -psdir | --psdir | --psdi | --psd | --ps)
1319 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1322 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1323 | -silent | --silent | --silen | --sile | --sil)
1326 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1328 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1330 sbindir=$ac_optarg ;;
1332 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1333 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1334 | --sharedst | --shareds | --shared | --share | --shar \
1336 ac_prev=sharedstatedir ;;
1337 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1338 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1339 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1341 sharedstatedir=$ac_optarg ;;
1343 -site | --site | --sit)
1345 -site=* | --site=* | --sit=*)
1348 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1350 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1351 srcdir=$ac_optarg ;;
1353 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1354 | --syscon | --sysco | --sysc | --sys | --sy)
1355 ac_prev=sysconfdir ;;
1356 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1357 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1358 sysconfdir=$ac_optarg ;;
1360 -target | --target | --targe | --targ | --tar | --ta | --t)
1361 ac_prev=target_alias ;;
1362 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1363 target_alias=$ac_optarg ;;
1365 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1368 -version | --version | --versio | --versi | --vers | -V)
1369 ac_init_version=: ;;
1372 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1373 # Reject names that are not valid shell variable names.
1374 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1375 { echo "$as_me: error: invalid package name: $ac_package" >&2
1376 { (exit 1); exit 1; }; }
1377 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1378 eval with_$ac_package=\$ac_optarg ;;
1380 -without-* | --without-*)
1381 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1382 # Reject names that are not valid shell variable names.
1383 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1384 { echo "$as_me: error: invalid package name: $ac_package" >&2
1385 { (exit 1); exit 1; }; }
1386 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1387 eval with_$ac_package=no ;;
1390 # Obsolete; use --with-x.
1393 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1394 | --x-incl | --x-inc | --x-in | --x-i)
1395 ac_prev=x_includes ;;
1396 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1397 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1398 x_includes=$ac_optarg ;;
1400 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1401 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1402 ac_prev=x_libraries ;;
1403 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1404 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1405 x_libraries=$ac_optarg ;;
1407 -*) { echo "$as_me: error: unrecognized option: $ac_option
1408 Try \`$0 --help' for more information." >&2
1409 { (exit 1); exit 1; }; }
1413 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1414 # Reject names that are not valid shell variable names.
1415 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1416 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1417 { (exit 1); exit 1; }; }
1418 eval $ac_envvar=\$ac_optarg
1419 export $ac_envvar ;;
1422 # FIXME: should be removed in autoconf 3.0.
1423 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1424 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1425 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1426 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1432 if test -n "$ac_prev"; then
1433 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1434 { echo "$as_me: error: missing argument to $ac_option" >&2
1435 { (exit 1); exit 1; }; }
1438 # Be sure to have absolute directory names.
1439 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1440 datadir sysconfdir sharedstatedir localstatedir includedir \
1441 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1442 libdir localedir mandir
1444 eval ac_val=\$$ac_var
1446 [\\/$]* | ?:[\\/]* ) continue;;
1447 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1449 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1450 { (exit 1); exit 1; }; }
1453 # There might be people who depend on the old broken behavior: `$host'
1454 # used to hold the argument of --host etc.
1455 # FIXME: To remove some day.
1458 target=$target_alias
1460 # FIXME: To remove some day.
1461 if test "x$host_alias" != x; then
1462 if test "x$build_alias" = x; then
1463 cross_compiling=maybe
1464 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1465 If a cross compiler is detected then cross compile mode will be used." >&2
1466 elif test "x$build_alias" != "x$host_alias"; then
1472 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1474 test "$silent" = yes && exec 6>/dev/null
1477 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1478 ac_ls_di=`ls -di .` &&
1479 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1480 { echo "$as_me: error: Working directory cannot be determined" >&2
1481 { (exit 1); exit 1; }; }
1482 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1483 { echo "$as_me: error: pwd does not report name of working directory" >&2
1484 { (exit 1); exit 1; }; }
1487 # Find the source files, if location was not specified.
1488 if test -z "$srcdir"; then
1489 ac_srcdir_defaulted=yes
1490 # Try the directory containing this script, then the parent directory.
1491 ac_confdir=`$as_dirname -- "$0" ||
1492 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1493 X"$0" : 'X\(//\)[^/]' \| \
1494 X"$0" : 'X\(//\)$' \| \
1495 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1515 if test ! -r "$srcdir/$ac_unique_file"; then
1519 ac_srcdir_defaulted=no
1521 if test ! -r "$srcdir/$ac_unique_file"; then
1522 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1523 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1524 { (exit 1); exit 1; }; }
1526 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1528 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1529 { (exit 1); exit 1; }; }
1531 # When building in place, set srcdir=.
1532 if test "$ac_abs_confdir" = "$ac_pwd"; then
1535 # Remove unnecessary trailing slashes from srcdir.
1536 # Double slashes in file names in object file debugging info
1537 # mess up M-x gdb in Emacs.
1539 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1541 for ac_var in $ac_precious_vars; do
1542 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1543 eval ac_env_${ac_var}_value=\$${ac_var}
1544 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1545 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1549 # Report the --help message.
1551 if test "$ac_init_help" = "long"; then
1552 # Omit some internal or obsolete options to make the list less imposing.
1553 # This message is too long to be a string in the A/UX 3.1 sh.
1555 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1557 Usage: $0 [OPTION]... [VAR=VALUE]...
1559 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1560 VAR=VALUE. See below for descriptions of some of the useful variables.
1562 Defaults for the options are specified in brackets.
1565 -h, --help display this help and exit
1566 --help=short display options specific to this package
1567 --help=recursive display the short help of all the included packages
1568 -V, --version display version information and exit
1569 -q, --quiet, --silent do not print \`checking...' messages
1570 --cache-file=FILE cache test results in FILE [disabled]
1571 -C, --config-cache alias for \`--cache-file=config.cache'
1572 -n, --no-create do not create output files
1573 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1575 Installation directories:
1576 --prefix=PREFIX install architecture-independent files in PREFIX
1577 [$ac_default_prefix]
1578 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1581 By default, \`make install' will install all the files in
1582 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1583 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1584 for instance \`--prefix=\$HOME'.
1586 For better control, use the options below.
1588 Fine tuning of the installation directories:
1589 --bindir=DIR user executables [EPREFIX/bin]
1590 --sbindir=DIR system admin executables [EPREFIX/sbin]
1591 --libexecdir=DIR program executables [EPREFIX/libexec]
1592 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1593 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1594 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1595 --libdir=DIR object code libraries [EPREFIX/lib]
1596 --includedir=DIR C header files [PREFIX/include]
1597 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1598 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1599 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1600 --infodir=DIR info documentation [DATAROOTDIR/info]
1601 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1602 --mandir=DIR man documentation [DATAROOTDIR/man]
1603 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1604 --htmldir=DIR html documentation [DOCDIR]
1605 --dvidir=DIR dvi documentation [DOCDIR]
1606 --pdfdir=DIR pdf documentation [DOCDIR]
1607 --psdir=DIR ps documentation [DOCDIR]
1613 --x-includes=DIR X include files are in DIR
1614 --x-libraries=DIR X library files are in DIR
1617 --build=BUILD configure for building on BUILD [guessed]
1618 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1619 --target=TARGET configure for building compilers for TARGET [HOST]
1623 if test -n "$ac_init_help"; then
1624 case $ac_init_help in
1625 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1630 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1631 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1632 --disable-gui don't build GUI parts of the library
1633 --enable-monolithic build wxWidgets as single library
1634 --enable-plugins build parts of wxWidgets as loadable components
1635 --enable-official_build official build of wxWidgets (win32 DLL only)
1636 --enable-vendor=VENDOR vendor name (win32 DLL only)
1637 --disable-all-features disable all optional features to build minimal library
1638 --enable-universal use wxWidgets GUI controls instead of native ones
1639 --enable-nanox use NanoX
1640 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1641 --enable-gpe use GNOME PDA Environment features if possible
1642 --disable-shared create static library instead of shared
1643 --disable-optimise create optimised code
1644 --enable-debug same as debug_flag and debug_info
1645 --enable-stl use STL for containers
1646 --enable-std_iostreams use standard C++ stream classes
1647 --enable-std_string use standard C++ string classes
1648 --disable-unicode compile without Unicode support
1649 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1650 --enable-utf8 use UTF-8 representation for strings (Unix only)
1651 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1652 --enable-extended_rtti use extended RTTI (XTI)
1653 --enable-omf use OMF object format
1654 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1655 --enable-debug_info create code with debugging information
1656 --enable-debug_gdb create code with extra GDB debugging information
1657 --enable-debug_cntxt use wxDebugContext
1658 --enable-mem_tracing create code with memory tracing
1659 --enable-profile create code with profiling information
1660 --enable-no_rtti create code without RTTI information
1661 --enable-no_exceptions create code without C++ exceptions handling
1662 --enable-permissive compile code disregarding strict ANSI
1663 --enable-no_deps create code without dependency information
1664 --disable-vararg_macros don't use vararg macros, even if they are supported
1665 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1666 --enable-compat26 enable wxWidgets 2.6 compatibility
1667 --disable-compat28 disable wxWidgets 2.8 compatibility
1668 --disable-rpath disable use of rpath for uninstalled builds
1669 --enable-objc_uniquifying enable Objective-C class name uniquifying
1670 --disable-visibility disable use of ELF symbols visibility even if supported
1671 --enable-intl use internationalization system
1672 --enable-config use wxConfig (and derived) classes
1673 --enable-protocols use wxProtocol and derived classes
1674 --enable-ftp use wxFTP (requires wxProtocol
1675 --enable-http use wxHTTP (requires wxProtocol
1676 --enable-fileproto use wxFileProto class (requires wxProtocol
1677 --enable-sockets use socket/network classes
1678 --enable-ipv6 enable IPv6 support in wxSocket
1679 --enable-ole use OLE classes (Win32 only)
1680 --enable-dataobj use data object classes
1681 --enable-ipc use interprocess communication (wxSocket etc.)
1682 --enable-baseevtloop use event loop in console programs too
1683 --enable-epollloop use wxEpollDispatcher class (Linux only)
1684 --enable-selectloop use wxSelectDispatcher class
1685 --enable-apple_ieee use the Apple IEEE codec
1686 --enable-arcstream use wxArchive streams
1687 --enable-base64 use base64 encoding/decoding functions
1688 --enable-backtrace use wxStackWalker class for getting backtraces
1689 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1690 --enable-cmdline use wxCmdLineParser class
1691 --enable-datetime use wxDateTime class
1692 --enable-debugreport use wxDebugReport class
1693 --enable-dialupman use dialup network classes
1694 --enable-dynlib use wxLibrary class for DLL loading
1695 --enable-dynamicloader use (new) wxDynamicLibrary class
1696 --enable-exceptions build exception-safe library
1697 --enable-ffile use wxFFile class
1698 --enable-file use wxFile class
1699 --enable-filesystem use virtual file systems classes
1700 --enable-fontenum use wxFontEnumerator class
1701 --enable-fontmap use font encodings conversion classes
1702 --enable-fs_archive use virtual archive filesystems
1703 --enable-fs_inet use virtual HTTP/FTP filesystems
1704 --enable-fs_zip now replaced by fs_archive
1705 --enable-geometry use geometry class
1706 --enable-log use logging system
1707 --enable-longlong use wxLongLong class
1708 --enable-mimetype use wxMimeTypesManager
1709 --enable-snglinst use wxSingleInstanceChecker class
1710 --enable-stdpaths use wxStandardPaths class
1711 --enable-stopwatch use wxStopWatch class
1712 --enable-streams use wxStream etc classes
1713 --enable-sysoptions use wxSystemOptions
1714 --enable-tarstream use wxTar streams
1715 --enable-textbuf use wxTextBuffer class
1716 --enable-textfile use wxTextFile class
1717 --enable-timer use wxTimer class
1718 --enable-sound use wxSound class
1719 --enable-mediactrl use wxMediaCtrl class
1720 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1721 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1722 --enable-zipstream use wxZip streams
1723 --enable-url use wxURL class
1724 --enable-variant use wxVariant class
1725 --enable-protocol use wxProtocol class
1726 --enable-protocol-http HTTP support in wxProtocol
1727 --enable-protocol-ftp FTP support in wxProtocol
1728 --enable-protocol-file FILE support in wxProtocol
1729 --enable-threads use threads
1730 --enable-iniconf use wxIniConfig (Win32 only)
1731 --enable-regkey use wxRegKey class (Win32 only)
1732 --enable-docview use document view architecture
1733 --enable-help use help subsystem
1734 --enable-mshtmlhelp use MS HTML Help (win32)
1735 --enable-html use wxHTML sub-library
1736 --enable-htmlhelp use wxHTML-based help
1737 --enable-xrc use XRC resources sub-library
1738 --enable-aui use AUI docking library
1739 --enable-stc use wxStyledTextCtrl library
1740 --enable-constraints use layout-constraints system
1741 --enable-printarch use printing architecture
1742 --enable-mdi use multiple document interface architecture
1743 --enable-mdidoc use docview architecture with MDI
1744 --enable-loggui use standard GUI logger
1745 --enable-logwin use wxLogWindow
1746 --enable-logdialog use wxLogDialog
1747 --enable-webkit use wxWebKitCtrl (Mac)
1748 --enable-richtext use wxRichTextCtrl
1749 --enable-graphics_ctx use graphics context 2D drawing API
1750 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1751 --enable-svg use wxSVGFileDC device context
1752 --enable-clipboard use wxClipboard class
1753 --enable-dnd use Drag'n'Drop classes
1754 --enable-metafile use win32 metafiles
1755 --disable-controls disable compilation of all standard controls
1756 --enable-accel use accelerators
1757 --enable-animatectrl use wxAnimationCtrl class
1758 --enable-button use wxButton class
1759 --enable-bmpbutton use wxBitmapButton class
1760 --enable-bmpcombobox use wxBitmapComboBox class
1761 --enable-calendar use wxCalendarCtrl class
1762 --enable-caret use wxCaret class
1763 --enable-checkbox use wxCheckBox class
1764 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1765 --enable-choice use wxChoice class
1766 --enable-choicebook use wxChoicebook class
1767 --enable-collpane use wxCollapsiblePane class
1768 --enable-colourpicker use wxColourPickerCtrl class
1769 --enable-combobox use wxComboBox class
1770 --enable-comboctrl use wxComboCtrl class
1771 --enable-datepick use wxDatePickerCtrl class
1772 --enable-dirpicker use wxDirPickerCtrl class
1773 --enable-display use wxDisplay class
1774 --enable-detect_sm use code to detect X11 session manager
1775 --enable-editablebox use wxEditableListBox class
1776 --enable-filepicker use wxFilePickerCtrl class
1777 --enable-filectrl use wxFileCtrl class
1778 --enable-fontpicker use wxFontPickerCtrl class
1779 --enable-gauge use wxGauge class
1780 --enable-grid use wxGrid class
1781 --enable-dataviewctrl use wxDataViewCtrl class
1782 --enable-hyperlink use wxHyperlinkCtrl class
1783 --enable-imaglist use wxImageList class
1784 --enable-listbook use wxListbook class
1785 --enable-listbox use wxListBox class
1786 --enable-listctrl use wxListCtrl class
1787 --enable-notebook use wxNotebook class
1788 --enable-notifmsg use wxNotificationMessage class
1789 --enable-odcombobox use wxOwnerDrawnComboBox class
1790 --enable-radiobox use wxRadioBox class
1791 --enable-radiobtn use wxRadioButton class
1792 --enable-sash use wxSashWindow class
1793 --enable-scrollbar use wxScrollBar class and scrollable windows
1794 --enable-searchctrl use wxSearchCtrl class
1795 --enable-slider use wxSlider class
1796 --enable-spinbtn use wxSpinButton class
1797 --enable-spinctrl use wxSpinCtrl class
1798 --enable-splitter use wxSplitterWindow class
1799 --enable-statbmp use wxStaticBitmap class
1800 --enable-statbox use wxStaticBox class
1801 --enable-statline use wxStaticLine class
1802 --enable-stattext use wxStaticText class
1803 --enable-statusbar use wxStatusBar class
1804 --enable-tabdialog use wxTabControl class
1805 --enable-taskbaricon use wxTaskBarIcon class
1806 --enable-textctrl use wxTextCtrl class
1807 --enable-togglebtn use wxToggleButton class
1808 --enable-toolbar use wxToolBar class
1809 --enable-tbarnative use native wxToolBar class
1810 --enable-treebook use wxTreebook class
1811 --enable-toolbook use wxToolbook class
1812 --enable-treectrl use wxTreeCtrl class
1813 --enable-tipwindow use wxTipWindow class
1814 --enable-popupwin use wxPopUpWindow class
1815 --enable-commondlg use all common dialogs
1816 --enable-aboutdlg use wxAboutBox
1817 --enable-choicedlg use wxChoiceDialog
1818 --enable-coldlg use wxColourDialog
1819 --enable-filedlg use wxFileDialog
1820 --enable-finddlg use wxFindReplaceDialog
1821 --enable-fontdlg use wxFontDialog
1822 --enable-dirdlg use wxDirDialog
1823 --enable-msgdlg use wxMessageDialog
1824 --enable-numberdlg use wxNumberEntryDialog
1825 --enable-splash use wxSplashScreen
1826 --enable-textdlg use wxTextDialog
1827 --enable-tipdlg use startup tips
1828 --enable-progressdlg use wxProgressDialog
1829 --enable-wizarddlg use wxWizard
1830 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1831 --enable-miniframe use wxMiniFrame class
1832 --enable-tooltips use wxToolTip class
1833 --enable-splines use spline drawing code
1834 --enable-mousewheel use mousewheel
1835 --enable-validators use wxValidator and derived classes
1836 --enable-busyinfo use wxBusyInfo
1837 --enable-joystick use wxJoystick
1838 --enable-metafiles use wxMetaFile (Win32 only)
1839 --enable-dragimage use wxDragImage
1840 --enable-accessibility enable accessibility support
1841 --enable-palette use wxPalette class
1842 --enable-image use wxImage class
1843 --enable-gif use gif images (GIF file format)
1844 --enable-pcx use pcx images (PCX file format)
1845 --enable-tga use tga images (TGA file format)
1846 --enable-iff use iff images (IFF file format)
1847 --enable-pnm use pnm images (PNM file format)
1848 --enable-xpm use xpm images (XPM file format)
1849 --enable-ico_cur use Windows ICO and CUR formats
1850 --enable-dccache cache temporary wxDC objects (Win32 only)
1851 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1852 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1853 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1854 --enable-wxdib use wxDIB class (Win32 only)
1855 --enable-autoidman use automatic ids management
1856 --disable-largefile omit support for large files
1857 --disable-gtktest do not try to compile and run a test GTK+ program
1858 --disable-gtktest Do not try to compile and run a test GTK program
1859 --disable-sdltest Do not try to compile and run a test SDL program
1860 --enable-omf use OMF object format (OS/2)
1861 --disable-dependency-tracking
1862 don't use dependency tracking even if the compiler
1864 --disable-precomp-headers
1865 don't use precompiled headers even if compiler can
1868 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1869 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1870 --without-subdirs don't generate makefiles for samples/demos/...
1871 --with-flavour=NAME specify a name to identify this build
1872 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1873 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1874 --with-motif use Motif/Lesstif
1875 --with-mac use Mac OS X
1876 --with-cocoa use Cocoa
1877 --with-wine use Wine
1878 --with-msw use MS-Windows
1879 --with-pm use OS/2 Presentation Manager
1880 --with-mgl use SciTech MGL
1881 --with-directfb use DirectFB
1882 --with-microwin use MicroWindows
1884 --with-libpng use libpng (PNG image format)
1885 --with-libjpeg use libjpeg (JPEG file format)
1886 --with-libtiff use libtiff (TIFF file format)
1887 --with-libxpm use libxpm (XPM file format)
1888 --with-libiconv use libiconv (character conversion)
1889 --with-libmspack use libmspack (CHM help files loading)
1890 --without-gtkprint don't use GTK printing support
1891 --without-gnomeprint don't use GNOME printing libraries
1892 --with-gnomevfs use GNOME VFS for associating MIME types
1893 --with-hildon use Hildon framework for Nokia 770
1894 --with-opengl use OpenGL (or Mesa)
1895 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1896 --with-sdl use SDL for audio on Unix
1897 --with-regex enable support for wxRegEx class
1898 --with-zlib use zlib for LZW compression
1899 --with-expat enable XML support using expat parser
1900 --with-macosx-sdk=PATH use an OS X SDK at PATH
1901 --with-macosx-version-min=VER build binaries which require at least this OS X version
1902 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1903 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1904 --with-x use the X Window System
1905 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1906 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1907 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1908 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1909 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1911 Some influential environment variables:
1912 CC C compiler command
1913 CFLAGS C compiler flags
1914 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1915 nonstandard directory <lib dir>
1916 LIBS libraries to pass to the linker, e.g. -l<library>
1917 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1918 you have headers in a nonstandard directory <include dir>
1920 CXX C++ compiler command
1921 CXXFLAGS C++ compiler flags
1922 PKG_CONFIG path to pkg-config utility
1924 C compiler flags for DIRECTFB, overriding pkg-config
1926 linker flags for DIRECTFB, overriding pkg-config
1927 XMKMF Path to xmkmf, Makefile generator for X Window System
1929 C compiler flags for PANGOX, overriding pkg-config
1930 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1932 C compiler flags for PANGOFT2, overriding pkg-config
1934 linker flags for PANGOFT2, overriding pkg-config
1936 C compiler flags for PANGOXFT, overriding pkg-config
1938 linker flags for PANGOXFT, overriding pkg-config
1940 C compiler flags for GTKPRINT, overriding pkg-config
1942 linker flags for GTKPRINT, overriding pkg-config
1943 LIBGNOMEPRINTUI_CFLAGS
1944 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1945 LIBGNOMEPRINTUI_LIBS
1946 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1948 C compiler flags for GNOMEVFS, overriding pkg-config
1950 linker flags for GNOMEVFS, overriding pkg-config
1952 C compiler flags for HILDON, overriding pkg-config
1953 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1955 C compiler flags for CAIRO, overriding pkg-config
1956 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1957 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1958 GST_LIBS linker flags for GST, overriding pkg-config
1960 Use these variables to override the choices made by `configure' or to help
1961 it to find libraries and programs with nonstandard names/locations.
1963 Report bugs to <wx-dev@lists.wxwidgets.org>.
1968 if test "$ac_init_help" = "recursive"; then
1969 # If there are subdirs, report their specific --help.
1970 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1971 test -d "$ac_dir" || continue
1975 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1977 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1978 # A ".." for each directory in $ac_dir_suffix.
1979 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1980 case $ac_top_builddir_sub in
1981 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1982 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1985 ac_abs_top_builddir=$ac_pwd
1986 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1987 # for backward compatibility:
1988 ac_top_builddir=$ac_top_build_prefix
1991 .) # We are building in place.
1993 ac_top_srcdir=$ac_top_builddir_sub
1994 ac_abs_top_srcdir=$ac_pwd ;;
1995 [\\/]* | ?:[\\/]* ) # Absolute name.
1996 ac_srcdir=$srcdir$ac_dir_suffix;
1997 ac_top_srcdir=$srcdir
1998 ac_abs_top_srcdir=$srcdir ;;
2000 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2001 ac_top_srcdir=$ac_top_build_prefix$srcdir
2002 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2004 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2006 cd "$ac_dir" || { ac_status=$?; continue; }
2007 # Check for guested configure.
2008 if test -f "$ac_srcdir/configure.gnu"; then
2010 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2011 elif test -f "$ac_srcdir/configure"; then
2013 $SHELL "$ac_srcdir/configure" --help=recursive
2015 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2017 cd "$ac_pwd" || { ac_status=$?; break; }
2021 test -n "$ac_init_help" && exit $ac_status
2022 if $ac_init_version; then
2024 wxWidgets configure 2.9.0
2025 generated by GNU Autoconf 2.61
2027 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2028 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2029 This configure script is free software; the Free Software Foundation
2030 gives unlimited permission to copy, distribute and modify it.
2034 cat >config.log <<_ACEOF
2035 This file contains any messages produced by compilers while
2036 running configure, to aid debugging if configure makes a mistake.
2038 It was created by wxWidgets $as_me 2.9.0, which was
2039 generated by GNU Autoconf 2.61. Invocation command line was
2051 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2052 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2053 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2054 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2055 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2057 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2058 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2060 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2061 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2062 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2063 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2064 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2065 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2066 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2074 test -z "$as_dir" && as_dir=.
2075 echo "PATH: $as_dir"
2091 # Keep a trace of the command line.
2092 # Strip out --no-create and --no-recursion so they do not pile up.
2093 # Strip out --silent because we don't want to record it for future runs.
2094 # Also quote any args containing shell meta-characters.
2095 # Make two passes to allow for proper duplicate-argument suppression.
2099 ac_must_keep_next=false
2105 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2106 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2107 | -silent | --silent | --silen | --sile | --sil)
2110 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2113 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2115 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2116 if test $ac_must_keep_next = true; then
2117 ac_must_keep_next=false # Got value, back to normal.
2120 *=* | --config-cache | -C | -disable-* | --disable-* \
2121 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2122 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2123 | -with-* | --with-* | -without-* | --without-* | --x)
2124 case "$ac_configure_args0 " in
2125 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2128 -* ) ac_must_keep_next=true ;;
2131 ac_configure_args="$ac_configure_args '$ac_arg'"
2136 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2137 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2139 # When interrupted or exit'd, cleanup temporary files, and complete
2140 # config.log. We remove comments because anyway the quotes in there
2141 # would cause problems or look ugly.
2142 # WARNING: Use '\'' to represent an apostrophe within the trap.
2143 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2144 trap 'exit_status=$?
2145 # Save into config.log some information that might help in debugging.
2150 ## ---------------- ##
2151 ## Cache variables. ##
2152 ## ---------------- ##
2155 # The following way of writing the cache mishandles newlines in values,
2157 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2158 eval ac_val=\$$ac_var
2162 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2163 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2166 _ | IFS | as_nl) ;; #(
2167 *) $as_unset $ac_var ;;
2172 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2173 *${as_nl}ac_space=\ *)
2175 "s/'\''/'\''\\\\'\'''\''/g;
2176 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2179 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2187 ## ----------------- ##
2188 ## Output variables. ##
2189 ## ----------------- ##
2192 for ac_var in $ac_subst_vars
2194 eval ac_val=\$$ac_var
2196 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2198 echo "$ac_var='\''$ac_val'\''"
2202 if test -n "$ac_subst_files"; then
2204 ## ------------------- ##
2205 ## File substitutions. ##
2206 ## ------------------- ##
2209 for ac_var in $ac_subst_files
2211 eval ac_val=\$$ac_var
2213 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2215 echo "$ac_var='\''$ac_val'\''"
2220 if test -s confdefs.h; then
2230 test "$ac_signal" != 0 &&
2231 echo "$as_me: caught signal $ac_signal"
2232 echo "$as_me: exit $exit_status"
2234 rm -f core *.core core.conftest.* &&
2235 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2238 for ac_signal in 1 2 13 15; do
2239 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2243 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2244 rm -f -r conftest* confdefs.h
2246 # Predefined preprocessor variables.
2248 cat >>confdefs.h <<_ACEOF
2249 #define PACKAGE_NAME "$PACKAGE_NAME"
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2258 cat >>confdefs.h <<_ACEOF
2259 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2263 cat >>confdefs.h <<_ACEOF
2264 #define PACKAGE_STRING "$PACKAGE_STRING"
2268 cat >>confdefs.h <<_ACEOF
2269 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2273 # Let the site file select an alternate cache file if it wants to.
2274 # Prefer explicitly selected file to automatically selected ones.
2275 if test -n "$CONFIG_SITE"; then
2276 set x "$CONFIG_SITE"
2277 elif test "x$prefix" != xNONE; then
2278 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2280 set x "$ac_default_prefix/share/config.site" \
2281 "$ac_default_prefix/etc/config.site"
2286 if test -r "$ac_site_file"; then
2287 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2288 echo "$as_me: loading site script $ac_site_file" >&6;}
2289 sed 's/^/| /' "$ac_site_file" >&5
2294 if test -r "$cache_file"; then
2295 # Some versions of bash will fail to source /dev/null (special
2296 # files actually), so we avoid doing that.
2297 if test -f "$cache_file"; then
2298 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2299 echo "$as_me: loading cache $cache_file" >&6;}
2301 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2302 *) . "./$cache_file";;
2306 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2307 echo "$as_me: creating cache $cache_file" >&6;}
2311 # Check that the precious variables saved in the cache have kept the same
2313 ac_cache_corrupted=false
2314 for ac_var in $ac_precious_vars; do
2315 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2316 eval ac_new_set=\$ac_env_${ac_var}_set
2317 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2318 eval ac_new_val=\$ac_env_${ac_var}_value
2319 case $ac_old_set,$ac_new_set in
2321 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2322 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2323 ac_cache_corrupted=: ;;
2325 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2326 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2327 ac_cache_corrupted=: ;;
2330 if test "x$ac_old_val" != "x$ac_new_val"; then
2331 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2332 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2333 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2334 echo "$as_me: former value: $ac_old_val" >&2;}
2335 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2336 echo "$as_me: current value: $ac_new_val" >&2;}
2337 ac_cache_corrupted=:
2340 # Pass precious variables to config.status.
2341 if test "$ac_new_set" = set; then
2343 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2344 *) ac_arg=$ac_var=$ac_new_val ;;
2346 case " $ac_configure_args " in
2347 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2348 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2352 if $ac_cache_corrupted; then
2353 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2354 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2355 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2356 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2357 { (exit 1); exit 1; }; }
2385 ac_cpp='$CPP $CPPFLAGS'
2386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2395 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2396 if test -f "$ac_dir/install-sh"; then
2398 ac_install_sh="$ac_aux_dir/install-sh -c"
2400 elif test -f "$ac_dir/install.sh"; then
2402 ac_install_sh="$ac_aux_dir/install.sh -c"
2404 elif test -f "$ac_dir/shtool"; then
2406 ac_install_sh="$ac_aux_dir/shtool install -c"
2410 if test -z "$ac_aux_dir"; then
2411 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2412 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2413 { (exit 1); exit 1; }; }
2416 # These three variables are undocumented and unsupported,
2417 # and are intended to be withdrawn in a future Autoconf release.
2418 # They can cause serious problems if a builder's source tree is in a directory
2419 # whose full name contains unusual characters.
2420 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2421 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2422 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2425 # Make sure we can run config.sub.
2426 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2427 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2428 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2429 { (exit 1); exit 1; }; }
2431 { echo "$as_me:$LINENO: checking build system type" >&5
2432 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2433 if test "${ac_cv_build+set}" = set; then
2434 echo $ECHO_N "(cached) $ECHO_C" >&6
2436 ac_build_alias=$build_alias
2437 test "x$ac_build_alias" = x &&
2438 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2439 test "x$ac_build_alias" = x &&
2440 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2441 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2442 { (exit 1); exit 1; }; }
2443 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2444 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2445 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2446 { (exit 1); exit 1; }; }
2449 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2450 echo "${ECHO_T}$ac_cv_build" >&6; }
2451 case $ac_cv_build in
2453 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2454 echo "$as_me: error: invalid value of canonical build" >&2;}
2455 { (exit 1); exit 1; }; };;
2458 ac_save_IFS=$IFS; IFS='-'
2464 # Remember, the first character of IFS is used to create $*,
2465 # except with old shells:
2468 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2471 { echo "$as_me:$LINENO: checking host system type" >&5
2472 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2473 if test "${ac_cv_host+set}" = set; then
2474 echo $ECHO_N "(cached) $ECHO_C" >&6
2476 if test "x$host_alias" = x; then
2477 ac_cv_host=$ac_cv_build
2479 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2480 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2481 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2482 { (exit 1); exit 1; }; }
2486 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2487 echo "${ECHO_T}$ac_cv_host" >&6; }
2490 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2491 echo "$as_me: error: invalid value of canonical host" >&2;}
2492 { (exit 1); exit 1; }; };;
2495 ac_save_IFS=$IFS; IFS='-'
2501 # Remember, the first character of IFS is used to create $*,
2502 # except with old shells:
2505 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2508 { echo "$as_me:$LINENO: checking target system type" >&5
2509 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2510 if test "${ac_cv_target+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 if test "x$target_alias" = x; then
2514 ac_cv_target=$ac_cv_host
2516 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2517 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2518 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2519 { (exit 1); exit 1; }; }
2523 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2524 echo "${ECHO_T}$ac_cv_target" >&6; }
2525 case $ac_cv_target in
2527 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2528 echo "$as_me: error: invalid value of canonical target" >&2;}
2529 { (exit 1); exit 1; }; };;
2531 target=$ac_cv_target
2532 ac_save_IFS=$IFS; IFS='-'
2538 # Remember, the first character of IFS is used to create $*,
2539 # except with old shells:
2542 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2545 # The aliases save the names the user supplied, while $host etc.
2546 # will get canonicalized.
2547 test -n "$target_alias" &&
2548 test "$program_prefix$program_suffix$program_transform_name" = \
2550 program_prefix=${target_alias}-
2554 wx_major_version_number=2
2555 wx_minor_version_number=9
2557 wx_subrelease_number=0
2559 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2560 WX_VERSION=$WX_RELEASE.$wx_release_number
2561 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2563 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2566 wx_top_builddir="`pwd`"
2579 USE_BSD= USE_DARWIN= USE_FREEBSD=
2585 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2591 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2593 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2595 DEFAULT_wxUSE_COCOA=0
2599 DEFAULT_wxUSE_MICROWIN=0
2600 DEFAULT_wxUSE_MOTIF=0
2606 DEFAULT_DEFAULT_wxUSE_COCOA=0
2607 DEFAULT_DEFAULT_wxUSE_GTK=0
2608 DEFAULT_DEFAULT_wxUSE_MAC=0
2609 DEFAULT_DEFAULT_wxUSE_MGL=0
2610 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2611 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2612 DEFAULT_DEFAULT_wxUSE_MSW=0
2613 DEFAULT_DEFAULT_wxUSE_PM=0
2614 DEFAULT_DEFAULT_wxUSE_X11=0
2615 DEFAULT_DEFAULT_wxUSE_DFB=0
2620 SAMPLES_RPATH_POSTLINK=
2622 DEFAULT_STD_FLAG=yes
2627 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2628 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2630 cat >>confdefs.h <<\_ACEOF
2635 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2639 cat >>confdefs.h <<\_ACEOF
2644 if test "x$TMP" = "xalpha"; then
2646 cat >>confdefs.h <<\_ACEOF
2651 DEFAULT_DEFAULT_wxUSE_GTK=1
2653 *-*-gnu* | *-*-k*bsd*-gnu )
2656 if test "x$TMP" = "xalpha"; then
2658 cat >>confdefs.h <<\_ACEOF
2663 DEFAULT_DEFAULT_wxUSE_GTK=1
2665 *-*-irix5* | *-*-irix6* )
2668 cat >>confdefs.h <<\_ACEOF
2672 cat >>confdefs.h <<\_ACEOF
2676 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2682 cat >>confdefs.h <<\_ACEOF
2686 cat >>confdefs.h <<\_ACEOF
2687 #define __SOLARIS__ 1
2690 cat >>confdefs.h <<\_ACEOF
2694 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2695 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2701 cat >>confdefs.h <<\_ACEOF
2705 cat >>confdefs.h <<\_ACEOF
2709 cat >>confdefs.h <<\_ACEOF
2713 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2718 cat >>confdefs.h <<\_ACEOF
2719 #define __FREEBSD__ 1
2722 cat >>confdefs.h <<\_ACEOF
2726 DEFAULT_DEFAULT_wxUSE_GTK=1
2728 *-*-openbsd*|*-*-mirbsd*)
2731 cat >>confdefs.h <<\_ACEOF
2732 #define __OPENBSD__ 1
2735 cat >>confdefs.h <<\_ACEOF
2739 DEFAULT_DEFAULT_wxUSE_GTK=1
2744 cat >>confdefs.h <<\_ACEOF
2745 #define __NETBSD__ 1
2748 cat >>confdefs.h <<\_ACEOF
2752 DEFAULT_DEFAULT_wxUSE_GTK=1
2753 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2755 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2760 cat >>confdefs.h <<\_ACEOF
2764 cat >>confdefs.h <<\_ACEOF
2768 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2769 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2774 cat >>confdefs.h <<\_ACEOF
2778 cat >>confdefs.h <<\_ACEOF
2782 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2787 cat >>confdefs.h <<\_ACEOF
2791 cat >>confdefs.h <<\_ACEOF
2795 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2802 cat >>confdefs.h <<\_ACEOF
2806 cat >>confdefs.h <<\_ACEOF
2810 cat >>confdefs.h <<\_ACEOF
2814 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2821 cat >>confdefs.h <<\_ACEOF
2822 #define __UNIXWARE__ 1
2827 *-*-cygwin* | *-*-mingw32* )
2830 DEFAULT_DEFAULT_wxUSE_MSW=1
2836 cat >>confdefs.h <<\_ACEOF
2841 DEFAULT_DEFAULT_wxUSE_MGL=1
2844 *-pc-os2_emx | *-pc-os2-emx )
2845 cat >>confdefs.h <<\_ACEOF
2850 cat >>confdefs.h <<\_ACEOF
2855 DEFAULT_DEFAULT_wxUSE_PM=1
2857 LDFLAGS="$LDFLAGS -Zcrtdll"
2858 ac_executable_extensions=".exe"
2859 export ac_executable_extensions
2863 for ac_dir in $PATH; do
2865 if test -z "$ac_TEMP_PATH"; then
2866 ac_TEMP_PATH="$ac_dir"
2868 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2871 export PATH="$ac_TEMP_PATH"
2880 cat >>confdefs.h <<\_ACEOF
2884 cat >>confdefs.h <<\_ACEOF
2885 #define __DARWIN__ 1
2888 cat >>confdefs.h <<\_ACEOF
2889 #define TARGET_CARBON 1
2892 DEFAULT_DEFAULT_wxUSE_MAC=1
2895 powerpc-apple-macos* )
2897 ac_cv_c_bigendian=yes
2899 DEFAULT_DEFAULT_wxUSE_MAC=1
2905 cat >>confdefs.h <<\_ACEOF
2912 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2913 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2914 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2915 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2917 DEFAULT_DEFAULT_wxUSE_X11=1
2918 DEFAULT_wxUSE_SHARED=no
2923 DEFAULT_wxUSE_ALL_FEATURES=yes
2925 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2926 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2928 DEFAULT_wxUSE_DMALLOC=no
2929 DEFAULT_wxUSE_LIBGNOMEVFS=no
2930 DEFAULT_wxUSE_LIBHILDON=no
2931 DEFAULT_wxUSE_LIBMSPACK=no
2932 DEFAULT_wxUSE_LIBSDL=no
2933 DEFAULT_wxUSE_OPENGL=no
2935 DEFAULT_wxUSE_ACCESSIBILITY=no
2936 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2937 DEFAULT_wxUSE_IPV6=no
2938 DEFAULT_wxUSE_MEDIACTRL=no
2939 DEFAULT_wxUSE_TAB_DIALOG=no
2940 DEFAULT_wxUSE_GSTREAMER8=no
2942 DEFAULT_wxUSE_UNICODE_UTF8=auto
2943 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2945 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2947 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2949 DEFAULT_wxUSE_GTK2=yes
2951 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2957 enablestring=disable
2959 if test -z "$defaultval"; then
2960 if test x"$enablestring" = xdisable; then
2967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2968 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2969 # Check whether --enable-gui was given.
2970 if test "${enable_gui+set}" = set; then
2971 enableval=$enable_gui;
2972 if test "$enableval" = yes; then
2973 wx_cv_use_gui='wxUSE_GUI=yes'
2975 wx_cv_use_gui='wxUSE_GUI=no'
2980 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2985 eval "$wx_cv_use_gui"
2987 if test x"$enablestring" = xdisable; then
2988 if test $wxUSE_GUI = yes; then
2997 { echo "$as_me:$LINENO: result: $result" >&5
2998 echo "${ECHO_T}$result" >&6; }
3003 if test -z "$defaultval"; then
3004 if test x"$enablestring" = xdisable; then
3011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3012 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3013 # Check whether --enable-monolithic was given.
3014 if test "${enable_monolithic+set}" = set; then
3015 enableval=$enable_monolithic;
3016 if test "$enableval" = yes; then
3017 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3019 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3024 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3029 eval "$wx_cv_use_monolithic"
3031 if test x"$enablestring" = xdisable; then
3032 if test $wxUSE_MONOLITHIC = yes; then
3038 result=$wxUSE_MONOLITHIC
3041 { echo "$as_me:$LINENO: result: $result" >&5
3042 echo "${ECHO_T}$result" >&6; }
3047 if test -z "$defaultval"; then
3048 if test x"$enablestring" = xdisable; then
3055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3056 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3057 # Check whether --enable-plugins was given.
3058 if test "${enable_plugins+set}" = set; then
3059 enableval=$enable_plugins;
3060 if test "$enableval" = yes; then
3061 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3063 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3068 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3073 eval "$wx_cv_use_plugins"
3075 if test x"$enablestring" = xdisable; then
3076 if test $wxUSE_PLUGINS = yes; then
3082 result=$wxUSE_PLUGINS
3085 { echo "$as_me:$LINENO: result: $result" >&5
3086 echo "${ECHO_T}$result" >&6; }
3090 defaultval=$wxUSE_ALL_FEATURES
3091 if test -z "$defaultval"; then
3092 if test x"$withstring" = xwithout; then
3098 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3099 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3101 # Check whether --with-subdirs was given.
3102 if test "${with_subdirs+set}" = set; then
3103 withval=$with_subdirs;
3104 if test "$withval" = yes; then
3105 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3107 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3112 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3117 eval "$wx_cv_use_subdirs"
3119 if test x"$withstring" = xwithout; then
3120 if test $wxWITH_SUBDIRS = yes; then
3126 result=$wxWITH_SUBDIRS
3129 { echo "$as_me:$LINENO: result: $result" >&5
3130 echo "${ECHO_T}$result" >&6; }
3133 # Check whether --with-flavour was given.
3134 if test "${with_flavour+set}" = set; then
3135 withval=$with_flavour; WX_FLAVOUR="$withval"
3141 if test -z "$defaultval"; then
3142 if test x"$enablestring" = xdisable; then
3149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3150 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3151 # Check whether --enable-official_build was given.
3152 if test "${enable_official_build+set}" = set; then
3153 enableval=$enable_official_build;
3154 if test "$enableval" = yes; then
3155 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3157 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3162 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3167 eval "$wx_cv_use_official_build"
3169 if test x"$enablestring" = xdisable; then
3170 if test $wxUSE_OFFICIAL_BUILD = yes; then
3176 result=$wxUSE_OFFICIAL_BUILD
3179 { echo "$as_me:$LINENO: result: $result" >&5
3180 echo "${ECHO_T}$result" >&6; }
3182 # Check whether --enable-vendor was given.
3183 if test "${enable_vendor+set}" = set; then
3184 enableval=$enable_vendor; VENDOR="$enableval"
3187 if test "x$VENDOR" = "x"; then
3192 enablestring=disable
3194 if test -z "$defaultval"; then
3195 if test x"$enablestring" = xdisable; then
3202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3203 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3204 # Check whether --enable-all-features was given.
3205 if test "${enable_all_features+set}" = set; then
3206 enableval=$enable_all_features;
3207 if test "$enableval" = yes; then
3208 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3210 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3215 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3220 eval "$wx_cv_use_all_features"
3222 if test x"$enablestring" = xdisable; then
3223 if test $wxUSE_ALL_FEATURES = yes; then
3229 result=$wxUSE_ALL_FEATURES
3232 { echo "$as_me:$LINENO: result: $result" >&5
3233 echo "${ECHO_T}$result" >&6; }
3237 if test "$wxUSE_GUI" = "yes"; then
3242 if test -z "$defaultval"; then
3243 if test x"$enablestring" = xdisable; then
3250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3251 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3252 # Check whether --enable-universal was given.
3253 if test "${enable_universal+set}" = set; then
3254 enableval=$enable_universal;
3255 if test "$enableval" = yes; then
3256 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3258 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3263 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3268 eval "$wx_cv_use_universal"
3270 if test x"$enablestring" = xdisable; then
3271 if test $wxUSE_UNIVERSAL = yes; then
3277 result=$wxUSE_UNIVERSAL
3280 { echo "$as_me:$LINENO: result: $result" >&5
3281 echo "${ECHO_T}$result" >&6; }
3283 if test "$wxUSE_UNIVERSAL" = "yes"; then
3285 # Check whether --with-themes was given.
3286 if test "${with_themes+set}" = set; then
3287 withval=$with_themes; wxUNIV_THEMES="$withval"
3293 # Check whether --with-gtk was given.
3294 if test "${with_gtk+set}" = set; then
3295 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3299 # Check whether --with-motif was given.
3300 if test "${with_motif+set}" = set; then
3301 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3305 # Check whether --with-mac was given.
3306 if test "${with_mac+set}" = set; then
3307 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3311 # Check whether --with-cocoa was given.
3312 if test "${with_cocoa+set}" = set; then
3313 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3317 # Check whether --with-wine was given.
3318 if test "${with_wine+set}" = set; then
3319 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3323 # Check whether --with-msw was given.
3324 if test "${with_msw+set}" = set; then
3325 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3329 # Check whether --with-pm was given.
3330 if test "${with_pm+set}" = set; then
3331 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3335 # Check whether --with-mgl was given.
3336 if test "${with_mgl+set}" = set; then
3337 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3341 # Check whether --with-directfb was given.
3342 if test "${with_directfb+set}" = set; then
3343 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3347 # Check whether --with-microwin was given.
3348 if test "${with_microwin+set}" = set; then
3349 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3353 # Check whether --with-x11 was given.
3354 if test "${with_x11+set}" = set; then
3355 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3361 if test -z "$defaultval"; then
3362 if test x"$enablestring" = xdisable; then
3369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3370 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3371 # Check whether --enable-nanox was given.
3372 if test "${enable_nanox+set}" = set; then
3373 enableval=$enable_nanox;
3374 if test "$enableval" = yes; then
3375 wx_cv_use_nanox='wxUSE_NANOX=yes'
3377 wx_cv_use_nanox='wxUSE_NANOX=no'
3382 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3387 eval "$wx_cv_use_nanox"
3389 if test x"$enablestring" = xdisable; then
3390 if test $wxUSE_NANOX = yes; then
3399 { echo "$as_me:$LINENO: result: $result" >&5
3400 echo "${ECHO_T}$result" >&6; }
3403 # Check whether --enable-gtk2 was given.
3404 if test "${enable_gtk2+set}" = set; then
3405 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3411 if test -z "$defaultval"; then
3412 if test x"$enablestring" = xdisable; then
3419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3420 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3421 # Check whether --enable-gpe was given.
3422 if test "${enable_gpe+set}" = set; then
3423 enableval=$enable_gpe;
3424 if test "$enableval" = yes; then
3425 wx_cv_use_gpe='wxUSE_GPE=yes'
3427 wx_cv_use_gpe='wxUSE_GPE=no'
3432 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3437 eval "$wx_cv_use_gpe"
3439 if test x"$enablestring" = xdisable; then
3440 if test $wxUSE_GPE = yes; then
3449 { echo "$as_me:$LINENO: result: $result" >&5
3450 echo "${ECHO_T}$result" >&6; }
3454 { echo "$as_me:$LINENO: checking for toolkit" >&5
3455 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3457 # In Wine, we need to default to MSW, not GTK or MOTIF
3458 if test "$wxUSE_WINE" = "yes"; then
3459 DEFAULT_DEFAULT_wxUSE_GTK=0
3460 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3461 DEFAULT_DEFAULT_wxUSE_MSW=1
3468 if test "$wxUSE_GUI" = "yes"; then
3470 if test "$USE_BEOS" = 1; then
3471 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3472 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3473 { (exit 1); exit 1; }; }
3476 if test "$TOOLKIT_GIVEN" = 1; then
3477 for toolkit in $ALL_TOOLKITS; do
3479 eval "value=\$${var}"
3480 if test "x$value" = "xno"; then
3482 elif test "x$value" != "x"; then
3486 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3487 eval "wx${toolkit}_VERSION=$value"
3491 for toolkit in $ALL_TOOLKITS; do
3492 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3493 eval "wxUSE_$toolkit=\$${var}"
3497 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
3498 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
3499 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3502 *-pc-os2_emx | *-pc-os2-emx )
3503 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3506 case "$NUM_TOOLKITS" in
3510 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3511 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3512 { (exit 1); exit 1; }; }
3515 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3516 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3517 { (exit 1); exit 1; }; }
3520 # to be removed when --disable-gtk2 isn't needed
3521 if test "x$wxUSE_GTK2" = "xyes"; then
3523 elif test "x$wxUSE_GTK2" = "xno"; then
3527 for toolkit in $ALL_TOOLKITS; do
3529 eval "value=\$${var}"
3530 if test "$value" = 1; then
3531 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3532 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3533 echo "${ECHO_T}$toolkit_echo" >&6; }
3537 if test "x$host_alias" != "x"; then
3538 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3539 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3541 { echo "$as_me:$LINENO: result: base only" >&5
3542 echo "${ECHO_T}base only" >&6; }
3548 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3549 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3551 # Check whether --with-libpng was given.
3552 if test "${with_libpng+set}" = set; then
3553 withval=$with_libpng;
3554 if test "$withval" = yes; then
3555 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3556 elif test "$withval" = no; then
3557 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3558 elif test "$withval" = sys; then
3559 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3560 elif test "$withval" = builtin; then
3561 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3563 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3564 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3565 { (exit 1); exit 1; }; }
3570 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3575 eval "$wx_cv_use_libpng"
3577 if test "$wxUSE_LIBPNG" = yes; then
3578 { echo "$as_me:$LINENO: result: yes" >&5
3579 echo "${ECHO_T}yes" >&6; }
3580 elif test "$wxUSE_LIBPNG" = no; then
3581 { echo "$as_me:$LINENO: result: no" >&5
3582 echo "${ECHO_T}no" >&6; }
3583 elif test "$wxUSE_LIBPNG" = sys; then
3584 { echo "$as_me:$LINENO: result: system version" >&5
3585 echo "${ECHO_T}system version" >&6; }
3586 elif test "$wxUSE_LIBPNG" = builtin; then
3587 { echo "$as_me:$LINENO: result: builtin version" >&5
3588 echo "${ECHO_T}builtin version" >&6; }
3590 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3591 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3592 { (exit 1); exit 1; }; }
3596 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3597 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3599 # Check whether --with-libjpeg was given.
3600 if test "${with_libjpeg+set}" = set; then
3601 withval=$with_libjpeg;
3602 if test "$withval" = yes; then
3603 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3604 elif test "$withval" = no; then
3605 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3606 elif test "$withval" = sys; then
3607 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3608 elif test "$withval" = builtin; then
3609 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3611 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3612 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3613 { (exit 1); exit 1; }; }
3618 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3623 eval "$wx_cv_use_libjpeg"
3625 if test "$wxUSE_LIBJPEG" = yes; then
3626 { echo "$as_me:$LINENO: result: yes" >&5
3627 echo "${ECHO_T}yes" >&6; }
3628 elif test "$wxUSE_LIBJPEG" = no; then
3629 { echo "$as_me:$LINENO: result: no" >&5
3630 echo "${ECHO_T}no" >&6; }
3631 elif test "$wxUSE_LIBJPEG" = sys; then
3632 { echo "$as_me:$LINENO: result: system version" >&5
3633 echo "${ECHO_T}system version" >&6; }
3634 elif test "$wxUSE_LIBJPEG" = builtin; then
3635 { echo "$as_me:$LINENO: result: builtin version" >&5
3636 echo "${ECHO_T}builtin version" >&6; }
3638 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3639 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3640 { (exit 1); exit 1; }; }
3644 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3645 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3647 # Check whether --with-libtiff was given.
3648 if test "${with_libtiff+set}" = set; then
3649 withval=$with_libtiff;
3650 if test "$withval" = yes; then
3651 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3652 elif test "$withval" = no; then
3653 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3654 elif test "$withval" = sys; then
3655 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3656 elif test "$withval" = builtin; then
3657 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3659 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3660 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3661 { (exit 1); exit 1; }; }
3666 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3671 eval "$wx_cv_use_libtiff"
3673 if test "$wxUSE_LIBTIFF" = yes; then
3674 { echo "$as_me:$LINENO: result: yes" >&5
3675 echo "${ECHO_T}yes" >&6; }
3676 elif test "$wxUSE_LIBTIFF" = no; then
3677 { echo "$as_me:$LINENO: result: no" >&5
3678 echo "${ECHO_T}no" >&6; }
3679 elif test "$wxUSE_LIBTIFF" = sys; then
3680 { echo "$as_me:$LINENO: result: system version" >&5
3681 echo "${ECHO_T}system version" >&6; }
3682 elif test "$wxUSE_LIBTIFF" = builtin; then
3683 { echo "$as_me:$LINENO: result: builtin version" >&5
3684 echo "${ECHO_T}builtin version" >&6; }
3686 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3687 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3688 { (exit 1); exit 1; }; }
3692 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3693 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3695 # Check whether --with-libxpm was given.
3696 if test "${with_libxpm+set}" = set; then
3697 withval=$with_libxpm;
3698 if test "$withval" = yes; then
3699 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3700 elif test "$withval" = no; then
3701 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3702 elif test "$withval" = sys; then
3703 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3704 elif test "$withval" = builtin; then
3705 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3707 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3708 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3709 { (exit 1); exit 1; }; }
3714 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3719 eval "$wx_cv_use_libxpm"
3721 if test "$wxUSE_LIBXPM" = yes; then
3722 { echo "$as_me:$LINENO: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6; }
3724 elif test "$wxUSE_LIBXPM" = no; then
3725 { echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6; }
3727 elif test "$wxUSE_LIBXPM" = sys; then
3728 { echo "$as_me:$LINENO: result: system version" >&5
3729 echo "${ECHO_T}system version" >&6; }
3730 elif test "$wxUSE_LIBXPM" = builtin; then
3731 { echo "$as_me:$LINENO: result: builtin version" >&5
3732 echo "${ECHO_T}builtin version" >&6; }
3734 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3735 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3736 { (exit 1); exit 1; }; }
3741 defaultval=$wxUSE_ALL_FEATURES
3742 if test -z "$defaultval"; then
3743 if test x"$withstring" = xwithout; then
3749 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3750 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3752 # Check whether --with-libiconv was given.
3753 if test "${with_libiconv+set}" = set; then
3754 withval=$with_libiconv;
3755 if test "$withval" = yes; then
3756 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3758 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3763 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3768 eval "$wx_cv_use_libiconv"
3770 if test x"$withstring" = xwithout; then
3771 if test $wxUSE_LIBICONV = yes; then
3777 result=$wxUSE_LIBICONV
3780 { echo "$as_me:$LINENO: result: $result" >&5
3781 echo "${ECHO_T}$result" >&6; }
3785 defaultval=$wxUSE_ALL_FEATURES
3786 if test -z "$defaultval"; then
3787 if test x"$withstring" = xwithout; then
3793 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3794 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3796 # Check whether --with-libmspack was given.
3797 if test "${with_libmspack+set}" = set; then
3798 withval=$with_libmspack;
3799 if test "$withval" = yes; then
3800 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3802 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3807 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3812 eval "$wx_cv_use_libmspack"
3814 if test x"$withstring" = xwithout; then
3815 if test $wxUSE_LIBMSPACK = yes; then
3821 result=$wxUSE_LIBMSPACK
3824 { echo "$as_me:$LINENO: result: $result" >&5
3825 echo "${ECHO_T}$result" >&6; }
3829 defaultval=$wxUSE_ALL_FEATURES
3830 if test -z "$defaultval"; then
3831 if test x"$withstring" = xwithout; then
3837 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3838 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3840 # Check whether --with-gtkprint was given.
3841 if test "${with_gtkprint+set}" = set; then
3842 withval=$with_gtkprint;
3843 if test "$withval" = yes; then
3844 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3846 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3851 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3856 eval "$wx_cv_use_gtkprint"
3858 if test x"$withstring" = xwithout; then
3859 if test $wxUSE_GTKPRINT = yes; then
3865 result=$wxUSE_GTKPRINT
3868 { echo "$as_me:$LINENO: result: $result" >&5
3869 echo "${ECHO_T}$result" >&6; }
3873 defaultval=$wxUSE_ALL_FEATURES
3874 if test -z "$defaultval"; then
3875 if test x"$withstring" = xwithout; then
3881 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3882 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3884 # Check whether --with-gnomeprint was given.
3885 if test "${with_gnomeprint+set}" = set; then
3886 withval=$with_gnomeprint;
3887 if test "$withval" = yes; then
3888 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3890 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3895 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3900 eval "$wx_cv_use_gnomeprint"
3902 if test x"$withstring" = xwithout; then
3903 if test $wxUSE_LIBGNOMEPRINT = yes; then
3909 result=$wxUSE_LIBGNOMEPRINT
3912 { echo "$as_me:$LINENO: result: $result" >&5
3913 echo "${ECHO_T}$result" >&6; }
3917 defaultval=$wxUSE_ALL_FEATURES
3918 if test -z "$defaultval"; then
3919 if test x"$withstring" = xwithout; then
3925 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3926 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3928 # Check whether --with-gnomevfs was given.
3929 if test "${with_gnomevfs+set}" = set; then
3930 withval=$with_gnomevfs;
3931 if test "$withval" = yes; then
3932 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3934 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3939 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3944 eval "$wx_cv_use_gnomevfs"
3946 if test x"$withstring" = xwithout; then
3947 if test $wxUSE_LIBGNOMEVFS = yes; then
3953 result=$wxUSE_LIBGNOMEVFS
3956 { echo "$as_me:$LINENO: result: $result" >&5
3957 echo "${ECHO_T}$result" >&6; }
3961 defaultval=$wxUSE_ALL_FEATURES
3962 if test -z "$defaultval"; then
3963 if test x"$withstring" = xwithout; then
3969 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3970 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3972 # Check whether --with-hildon was given.
3973 if test "${with_hildon+set}" = set; then
3974 withval=$with_hildon;
3975 if test "$withval" = yes; then
3976 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3978 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3983 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3988 eval "$wx_cv_use_hildon"
3990 if test x"$withstring" = xwithout; then
3991 if test $wxUSE_LIBHILDON = yes; then
3997 result=$wxUSE_LIBHILDON
4000 { echo "$as_me:$LINENO: result: $result" >&5
4001 echo "${ECHO_T}$result" >&6; }
4005 defaultval=$wxUSE_ALL_FEATURES
4006 if test -z "$defaultval"; then
4007 if test x"$withstring" = xwithout; then
4013 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4014 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4016 # Check whether --with-opengl was given.
4017 if test "${with_opengl+set}" = set; then
4018 withval=$with_opengl;
4019 if test "$withval" = yes; then
4020 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4022 wx_cv_use_opengl='wxUSE_OPENGL=no'
4027 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4032 eval "$wx_cv_use_opengl"
4034 if test x"$withstring" = xwithout; then
4035 if test $wxUSE_OPENGL = yes; then
4041 result=$wxUSE_OPENGL
4044 { echo "$as_me:$LINENO: result: $result" >&5
4045 echo "${ECHO_T}$result" >&6; }
4052 defaultval=$wxUSE_ALL_FEATURES
4053 if test -z "$defaultval"; then
4054 if test x"$withstring" = xwithout; then
4060 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4061 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4063 # Check whether --with-dmalloc was given.
4064 if test "${with_dmalloc+set}" = set; then
4065 withval=$with_dmalloc;
4066 if test "$withval" = yes; then
4067 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4069 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4074 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4079 eval "$wx_cv_use_dmalloc"
4081 if test x"$withstring" = xwithout; then
4082 if test $wxUSE_DMALLOC = yes; then
4088 result=$wxUSE_DMALLOC
4091 { echo "$as_me:$LINENO: result: $result" >&5
4092 echo "${ECHO_T}$result" >&6; }
4096 defaultval=$wxUSE_ALL_FEATURES
4097 if test -z "$defaultval"; then
4098 if test x"$withstring" = xwithout; then
4104 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4105 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4107 # Check whether --with-sdl was given.
4108 if test "${with_sdl+set}" = set; then
4110 if test "$withval" = yes; then
4111 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4113 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4118 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4123 eval "$wx_cv_use_sdl"
4125 if test x"$withstring" = xwithout; then
4126 if test $wxUSE_LIBSDL = yes; then
4132 result=$wxUSE_LIBSDL
4135 { echo "$as_me:$LINENO: result: $result" >&5
4136 echo "${ECHO_T}$result" >&6; }
4139 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4140 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4142 # Check whether --with-regex was given.
4143 if test "${with_regex+set}" = set; then
4144 withval=$with_regex;
4145 if test "$withval" = yes; then
4146 wx_cv_use_regex='wxUSE_REGEX=yes'
4147 elif test "$withval" = no; then
4148 wx_cv_use_regex='wxUSE_REGEX=no'
4149 elif test "$withval" = sys; then
4150 wx_cv_use_regex='wxUSE_REGEX=sys'
4151 elif test "$withval" = builtin; then
4152 wx_cv_use_regex='wxUSE_REGEX=builtin'
4154 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4155 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4156 { (exit 1); exit 1; }; }
4161 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4166 eval "$wx_cv_use_regex"
4168 if test "$wxUSE_REGEX" = yes; then
4169 { echo "$as_me:$LINENO: result: yes" >&5
4170 echo "${ECHO_T}yes" >&6; }
4171 elif test "$wxUSE_REGEX" = no; then
4172 { echo "$as_me:$LINENO: result: no" >&5
4173 echo "${ECHO_T}no" >&6; }
4174 elif test "$wxUSE_REGEX" = sys; then
4175 { echo "$as_me:$LINENO: result: system version" >&5
4176 echo "${ECHO_T}system version" >&6; }
4177 elif test "$wxUSE_REGEX" = builtin; then
4178 { echo "$as_me:$LINENO: result: builtin version" >&5
4179 echo "${ECHO_T}builtin version" >&6; }
4181 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4182 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4183 { (exit 1); exit 1; }; }
4187 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4188 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4190 # Check whether --with-zlib was given.
4191 if test "${with_zlib+set}" = set; then
4193 if test "$withval" = yes; then
4194 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4195 elif test "$withval" = no; then
4196 wx_cv_use_zlib='wxUSE_ZLIB=no'
4197 elif test "$withval" = sys; then
4198 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4199 elif test "$withval" = builtin; then
4200 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4202 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4203 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4204 { (exit 1); exit 1; }; }
4209 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4214 eval "$wx_cv_use_zlib"
4216 if test "$wxUSE_ZLIB" = yes; then
4217 { echo "$as_me:$LINENO: result: yes" >&5
4218 echo "${ECHO_T}yes" >&6; }
4219 elif test "$wxUSE_ZLIB" = no; then
4220 { echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6; }
4222 elif test "$wxUSE_ZLIB" = sys; then
4223 { echo "$as_me:$LINENO: result: system version" >&5
4224 echo "${ECHO_T}system version" >&6; }
4225 elif test "$wxUSE_ZLIB" = builtin; then
4226 { echo "$as_me:$LINENO: result: builtin version" >&5
4227 echo "${ECHO_T}builtin version" >&6; }
4229 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4230 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4231 { (exit 1); exit 1; }; }
4235 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4236 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4238 # Check whether --with-expat was given.
4239 if test "${with_expat+set}" = set; then
4240 withval=$with_expat;
4241 if test "$withval" = yes; then
4242 wx_cv_use_expat='wxUSE_EXPAT=yes'
4243 elif test "$withval" = no; then
4244 wx_cv_use_expat='wxUSE_EXPAT=no'
4245 elif test "$withval" = sys; then
4246 wx_cv_use_expat='wxUSE_EXPAT=sys'
4247 elif test "$withval" = builtin; then
4248 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4250 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4251 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4252 { (exit 1); exit 1; }; }
4257 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4262 eval "$wx_cv_use_expat"
4264 if test "$wxUSE_EXPAT" = yes; then
4265 { echo "$as_me:$LINENO: result: yes" >&5
4266 echo "${ECHO_T}yes" >&6; }
4267 elif test "$wxUSE_EXPAT" = no; then
4268 { echo "$as_me:$LINENO: result: no" >&5
4269 echo "${ECHO_T}no" >&6; }
4270 elif test "$wxUSE_EXPAT" = sys; then
4271 { echo "$as_me:$LINENO: result: system version" >&5
4272 echo "${ECHO_T}system version" >&6; }
4273 elif test "$wxUSE_EXPAT" = builtin; then
4274 { echo "$as_me:$LINENO: result: builtin version" >&5
4275 echo "${ECHO_T}builtin version" >&6; }
4277 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4278 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4279 { (exit 1); exit 1; }; }
4283 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4284 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4286 # Check whether --with-macosx-sdk was given.
4287 if test "${with_macosx_sdk+set}" = set; then
4288 withval=$with_macosx_sdk;
4289 wxUSE_MACOSX_SDK=$withval
4290 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4294 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4295 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4297 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4298 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4300 # Check whether --with-macosx-version-min was given.
4301 if test "${with_macosx_version_min+set}" = set; then
4302 withval=$with_macosx_version_min;
4303 wxUSE_MACOSX_VERSION_MIN=$withval
4304 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4308 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4309 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4313 enablestring=disable
4315 if test -z "$defaultval"; then
4316 if test x"$enablestring" = xdisable; then
4323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4324 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4325 # Check whether --enable-shared was given.
4326 if test "${enable_shared+set}" = set; then
4327 enableval=$enable_shared;
4328 if test "$enableval" = yes; then
4329 wx_cv_use_shared='wxUSE_SHARED=yes'
4331 wx_cv_use_shared='wxUSE_SHARED=no'
4336 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4341 eval "$wx_cv_use_shared"
4343 if test x"$enablestring" = xdisable; then
4344 if test $wxUSE_SHARED = yes; then
4350 result=$wxUSE_SHARED
4353 { echo "$as_me:$LINENO: result: $result" >&5
4354 echo "${ECHO_T}$result" >&6; }
4357 enablestring=disable
4359 if test -z "$defaultval"; then
4360 if test x"$enablestring" = xdisable; then
4367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4368 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4369 # Check whether --enable-optimise was given.
4370 if test "${enable_optimise+set}" = set; then
4371 enableval=$enable_optimise;
4372 if test "$enableval" = yes; then
4373 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4375 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4380 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4385 eval "$wx_cv_use_optimise"
4387 if test x"$enablestring" = xdisable; then
4388 if test $wxUSE_OPTIMISE = yes; then
4394 result=$wxUSE_OPTIMISE
4397 { echo "$as_me:$LINENO: result: $result" >&5
4398 echo "${ECHO_T}$result" >&6; }
4403 if test -z "$defaultval"; then
4404 if test x"$enablestring" = xdisable; then
4411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4412 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4413 # Check whether --enable-debug was given.
4414 if test "${enable_debug+set}" = set; then
4415 enableval=$enable_debug;
4416 if test "$enableval" = yes; then
4417 wx_cv_use_debug='wxUSE_DEBUG=yes'
4419 wx_cv_use_debug='wxUSE_DEBUG=no'
4424 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4429 eval "$wx_cv_use_debug"
4431 if test x"$enablestring" = xdisable; then
4432 if test $wxUSE_DEBUG = yes; then
4441 { echo "$as_me:$LINENO: result: $result" >&5
4442 echo "${ECHO_T}$result" >&6; }
4447 if test -z "$defaultval"; then
4448 if test x"$enablestring" = xdisable; then
4455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4456 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4457 # Check whether --enable-stl was given.
4458 if test "${enable_stl+set}" = set; then
4459 enableval=$enable_stl;
4460 if test "$enableval" = yes; then
4461 wx_cv_use_stl='wxUSE_STL=yes'
4463 wx_cv_use_stl='wxUSE_STL=no'
4468 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4473 eval "$wx_cv_use_stl"
4475 if test x"$enablestring" = xdisable; then
4476 if test $wxUSE_STL = yes; then
4485 { echo "$as_me:$LINENO: result: $result" >&5
4486 echo "${ECHO_T}$result" >&6; }
4491 if test -z "$defaultval"; then
4492 if test x"$enablestring" = xdisable; then
4499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4500 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4501 # Check whether --enable-std_iostreams was given.
4502 if test "${enable_std_iostreams+set}" = set; then
4503 enableval=$enable_std_iostreams;
4504 if test "$enableval" = yes; then
4505 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4507 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4512 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4517 eval "$wx_cv_use_std_iostreams"
4519 if test x"$enablestring" = xdisable; then
4520 if test $wxUSE_STD_IOSTREAM = yes; then
4526 result=$wxUSE_STD_IOSTREAM
4529 { echo "$as_me:$LINENO: result: $result" >&5
4530 echo "${ECHO_T}$result" >&6; }
4535 if test -z "$defaultval"; then
4536 if test x"$enablestring" = xdisable; then
4543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4544 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4545 # Check whether --enable-std_string was given.
4546 if test "${enable_std_string+set}" = set; then
4547 enableval=$enable_std_string;
4548 if test "$enableval" = yes; then
4549 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4551 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4556 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4561 eval "$wx_cv_use_std_string"
4563 if test x"$enablestring" = xdisable; then
4564 if test $wxUSE_STD_STRING = yes; then
4570 result=$wxUSE_STD_STRING
4573 { echo "$as_me:$LINENO: result: $result" >&5
4574 echo "${ECHO_T}$result" >&6; }
4577 enablestring=disable
4579 if test -z "$defaultval"; then
4580 if test x"$enablestring" = xdisable; then
4587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4588 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4589 # Check whether --enable-unicode was given.
4590 if test "${enable_unicode+set}" = set; then
4591 enableval=$enable_unicode;
4592 if test "$enableval" = yes; then
4593 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4595 wx_cv_use_unicode='wxUSE_UNICODE=no'
4600 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4605 eval "$wx_cv_use_unicode"
4607 if test x"$enablestring" = xdisable; then
4608 if test $wxUSE_UNICODE = yes; then
4614 result=$wxUSE_UNICODE
4617 { echo "$as_me:$LINENO: result: $result" >&5
4618 echo "${ECHO_T}$result" >&6; }
4623 if test -z "$defaultval"; then
4624 if test x"$enablestring" = xdisable; then
4631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4632 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4633 # Check whether --enable-mslu was given.
4634 if test "${enable_mslu+set}" = set; then
4635 enableval=$enable_mslu;
4636 if test "$enableval" = yes; then
4637 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4639 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4644 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4649 eval "$wx_cv_use_mslu"
4651 if test x"$enablestring" = xdisable; then
4652 if test $wxUSE_UNICODE_MSLU = yes; then
4658 result=$wxUSE_UNICODE_MSLU
4661 { echo "$as_me:$LINENO: result: $result" >&5
4662 echo "${ECHO_T}$result" >&6; }
4666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4667 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4668 # Check whether --enable-utf8 was given.
4669 if test "${enable_utf8+set}" = set; then
4670 enableval=$enable_utf8;
4671 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4675 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4680 eval "$wx_cv_use_utf8"
4682 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4683 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4688 if test -z "$defaultval"; then
4689 if test x"$enablestring" = xdisable; then
4696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4697 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4698 # Check whether --enable-utf8only was given.
4699 if test "${enable_utf8only+set}" = set; then
4700 enableval=$enable_utf8only;
4701 if test "$enableval" = yes; then
4702 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4704 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4709 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4714 eval "$wx_cv_use_utf8only"
4716 if test x"$enablestring" = xdisable; then
4717 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4723 result=$wxUSE_UNICODE_UTF8_LOCALE
4726 { echo "$as_me:$LINENO: result: $result" >&5
4727 echo "${ECHO_T}$result" >&6; }
4732 if test -z "$defaultval"; then
4733 if test x"$enablestring" = xdisable; then
4740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4741 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4742 # Check whether --enable-extended_rtti was given.
4743 if test "${enable_extended_rtti+set}" = set; then
4744 enableval=$enable_extended_rtti;
4745 if test "$enableval" = yes; then
4746 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4748 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4753 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4758 eval "$wx_cv_use_extended_rtti"
4760 if test x"$enablestring" = xdisable; then
4761 if test $wxUSE_EXTENDED_RTTI = yes; then
4767 result=$wxUSE_EXTENDED_RTTI
4770 { echo "$as_me:$LINENO: result: $result" >&5
4771 echo "${ECHO_T}$result" >&6; }
4773 if test "$USE_OS2" = 1; then
4774 DEFAULT_wxUSE_OMF=no
4778 if test -z "$defaultval"; then
4779 if test x"$enablestring" = xdisable; then
4786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4787 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4788 # Check whether --enable-omf was given.
4789 if test "${enable_omf+set}" = set; then
4790 enableval=$enable_omf;
4791 if test "$enableval" = yes; then
4792 wx_cv_use_omf='wxUSE_OMF=yes'
4794 wx_cv_use_omf='wxUSE_OMF=no'
4799 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4804 eval "$wx_cv_use_omf"
4806 if test x"$enablestring" = xdisable; then
4807 if test $wxUSE_OMF = yes; then
4816 { echo "$as_me:$LINENO: result: $result" >&5
4817 echo "${ECHO_T}$result" >&6; }
4821 if test "$wxUSE_DEBUG" = "yes"; then
4822 DEFAULT_wxUSE_DEBUG_FLAG=yes
4823 DEFAULT_wxUSE_DEBUG_INFO=yes
4825 elif test "$wxUSE_DEBUG" = "no"; then
4826 DEFAULT_wxUSE_DEBUG_FLAG=no
4827 DEFAULT_wxUSE_DEBUG_INFO=no
4834 if test -z "$defaultval"; then
4835 if test x"$enablestring" = xdisable; then
4842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4843 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4844 # Check whether --enable-debug_flag was given.
4845 if test "${enable_debug_flag+set}" = set; then
4846 enableval=$enable_debug_flag;
4847 if test "$enableval" = yes; then
4848 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4850 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4855 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4860 eval "$wx_cv_use_debug_flag"
4862 if test x"$enablestring" = xdisable; then
4863 if test $wxUSE_DEBUG_FLAG = yes; then
4869 result=$wxUSE_DEBUG_FLAG
4872 { echo "$as_me:$LINENO: result: $result" >&5
4873 echo "${ECHO_T}$result" >&6; }
4878 if test -z "$defaultval"; then
4879 if test x"$enablestring" = xdisable; then
4886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4887 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4888 # Check whether --enable-debug_info was given.
4889 if test "${enable_debug_info+set}" = set; then
4890 enableval=$enable_debug_info;
4891 if test "$enableval" = yes; then
4892 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4894 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4899 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4904 eval "$wx_cv_use_debug_info"
4906 if test x"$enablestring" = xdisable; then
4907 if test $wxUSE_DEBUG_INFO = yes; then
4913 result=$wxUSE_DEBUG_INFO
4916 { echo "$as_me:$LINENO: result: $result" >&5
4917 echo "${ECHO_T}$result" >&6; }
4920 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4928 if test -z "$defaultval"; then
4929 if test x"$enablestring" = xdisable; then
4936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4937 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4938 # Check whether --enable-debug_gdb was given.
4939 if test "${enable_debug_gdb+set}" = set; then
4940 enableval=$enable_debug_gdb;
4941 if test "$enableval" = yes; then
4942 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4944 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4949 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4954 eval "$wx_cv_use_debug_gdb"
4956 if test x"$enablestring" = xdisable; then
4957 if test $wxUSE_DEBUG_GDB = yes; then
4963 result=$wxUSE_DEBUG_GDB
4966 { echo "$as_me:$LINENO: result: $result" >&5
4967 echo "${ECHO_T}$result" >&6; }
4972 if test -z "$defaultval"; then
4973 if test x"$enablestring" = xdisable; then
4980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4981 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4982 # Check whether --enable-debug_cntxt was given.
4983 if test "${enable_debug_cntxt+set}" = set; then
4984 enableval=$enable_debug_cntxt;
4985 if test "$enableval" = yes; then
4986 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4988 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4993 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4998 eval "$wx_cv_use_debug_cntxt"
5000 if test x"$enablestring" = xdisable; then
5001 if test $wxUSE_DEBUG_CONTEXT = yes; then
5007 result=$wxUSE_DEBUG_CONTEXT
5010 { echo "$as_me:$LINENO: result: $result" >&5
5011 echo "${ECHO_T}$result" >&6; }
5016 if test -z "$defaultval"; then
5017 if test x"$enablestring" = xdisable; then
5024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5025 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5026 # Check whether --enable-mem_tracing was given.
5027 if test "${enable_mem_tracing+set}" = set; then
5028 enableval=$enable_mem_tracing;
5029 if test "$enableval" = yes; then
5030 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5032 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5037 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5042 eval "$wx_cv_use_mem_tracing"
5044 if test x"$enablestring" = xdisable; then
5045 if test $wxUSE_MEM_TRACING = yes; then
5051 result=$wxUSE_MEM_TRACING
5054 { echo "$as_me:$LINENO: result: $result" >&5
5055 echo "${ECHO_T}$result" >&6; }
5060 if test -z "$defaultval"; then
5061 if test x"$enablestring" = xdisable; then
5068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5069 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5070 # Check whether --enable-profile was given.
5071 if test "${enable_profile+set}" = set; then
5072 enableval=$enable_profile;
5073 if test "$enableval" = yes; then
5074 wx_cv_use_profile='wxUSE_PROFILE=yes'
5076 wx_cv_use_profile='wxUSE_PROFILE=no'
5081 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5086 eval "$wx_cv_use_profile"
5088 if test x"$enablestring" = xdisable; then
5089 if test $wxUSE_PROFILE = yes; then
5095 result=$wxUSE_PROFILE
5098 { echo "$as_me:$LINENO: result: $result" >&5
5099 echo "${ECHO_T}$result" >&6; }
5104 if test -z "$defaultval"; then
5105 if test x"$enablestring" = xdisable; then
5112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5113 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5114 # Check whether --enable-no_rtti was given.
5115 if test "${enable_no_rtti+set}" = set; then
5116 enableval=$enable_no_rtti;
5117 if test "$enableval" = yes; then
5118 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5120 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5125 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5130 eval "$wx_cv_use_no_rtti"
5132 if test x"$enablestring" = xdisable; then
5133 if test $wxUSE_NO_RTTI = yes; then
5139 result=$wxUSE_NO_RTTI
5142 { echo "$as_me:$LINENO: result: $result" >&5
5143 echo "${ECHO_T}$result" >&6; }
5148 if test -z "$defaultval"; then
5149 if test x"$enablestring" = xdisable; then
5156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5157 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5158 # Check whether --enable-no_exceptions was given.
5159 if test "${enable_no_exceptions+set}" = set; then
5160 enableval=$enable_no_exceptions;
5161 if test "$enableval" = yes; then
5162 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5164 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5169 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5174 eval "$wx_cv_use_no_exceptions"
5176 if test x"$enablestring" = xdisable; then
5177 if test $wxUSE_NO_EXCEPTIONS = yes; then
5183 result=$wxUSE_NO_EXCEPTIONS
5186 { echo "$as_me:$LINENO: result: $result" >&5
5187 echo "${ECHO_T}$result" >&6; }
5192 if test -z "$defaultval"; then
5193 if test x"$enablestring" = xdisable; then
5200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5201 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5202 # Check whether --enable-permissive was given.
5203 if test "${enable_permissive+set}" = set; then
5204 enableval=$enable_permissive;
5205 if test "$enableval" = yes; then
5206 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5208 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5213 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5218 eval "$wx_cv_use_permissive"
5220 if test x"$enablestring" = xdisable; then
5221 if test $wxUSE_PERMISSIVE = yes; then
5227 result=$wxUSE_PERMISSIVE
5230 { echo "$as_me:$LINENO: result: $result" >&5
5231 echo "${ECHO_T}$result" >&6; }
5236 if test -z "$defaultval"; then
5237 if test x"$enablestring" = xdisable; then
5244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5245 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5246 # Check whether --enable-no_deps was given.
5247 if test "${enable_no_deps+set}" = set; then
5248 enableval=$enable_no_deps;
5249 if test "$enableval" = yes; then
5250 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5252 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5257 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5262 eval "$wx_cv_use_no_deps"
5264 if test x"$enablestring" = xdisable; then
5265 if test $wxUSE_NO_DEPS = yes; then
5271 result=$wxUSE_NO_DEPS
5274 { echo "$as_me:$LINENO: result: $result" >&5
5275 echo "${ECHO_T}$result" >&6; }
5278 enablestring=disable
5280 if test -z "$defaultval"; then
5281 if test x"$enablestring" = xdisable; then
5288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5289 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5290 # Check whether --enable-vararg_macros was given.
5291 if test "${enable_vararg_macros+set}" = set; then
5292 enableval=$enable_vararg_macros;
5293 if test "$enableval" = yes; then
5294 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5296 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5301 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5306 eval "$wx_cv_use_vararg_macros"
5308 if test x"$enablestring" = xdisable; then
5309 if test $wxUSE_VARARG_MACROS = yes; then
5315 result=$wxUSE_VARARG_MACROS
5318 { echo "$as_me:$LINENO: result: $result" >&5
5319 echo "${ECHO_T}$result" >&6; }
5323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5324 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5325 # Check whether --enable-universal_binary was given.
5326 if test "${enable_universal_binary+set}" = set; then
5327 enableval=$enable_universal_binary;
5328 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5332 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5337 eval "$wx_cv_use_universal_binary"
5339 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5340 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5346 if test -z "$defaultval"; then
5347 if test x"$enablestring" = xdisable; then
5354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5355 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5356 # Check whether --enable-compat26 was given.
5357 if test "${enable_compat26+set}" = set; then
5358 enableval=$enable_compat26;
5359 if test "$enableval" = yes; then
5360 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5362 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5367 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5372 eval "$wx_cv_use_compat26"
5374 if test x"$enablestring" = xdisable; then
5375 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5381 result=$WXWIN_COMPATIBILITY_2_6
5384 { echo "$as_me:$LINENO: result: $result" >&5
5385 echo "${ECHO_T}$result" >&6; }
5388 enablestring=disable
5390 if test -z "$defaultval"; then
5391 if test x"$enablestring" = xdisable; then
5398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5399 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5400 # Check whether --enable-compat28 was given.
5401 if test "${enable_compat28+set}" = set; then
5402 enableval=$enable_compat28;
5403 if test "$enableval" = yes; then
5404 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5406 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5411 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5416 eval "$wx_cv_use_compat28"
5418 if test x"$enablestring" = xdisable; then
5419 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5425 result=$WXWIN_COMPATIBILITY_2_8
5428 { echo "$as_me:$LINENO: result: $result" >&5
5429 echo "${ECHO_T}$result" >&6; }
5433 enablestring=disable
5435 if test -z "$defaultval"; then
5436 if test x"$enablestring" = xdisable; then
5443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5444 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5445 # Check whether --enable-rpath was given.
5446 if test "${enable_rpath+set}" = set; then
5447 enableval=$enable_rpath;
5448 if test "$enableval" = yes; then
5449 wx_cv_use_rpath='wxUSE_RPATH=yes'
5451 wx_cv_use_rpath='wxUSE_RPATH=no'
5456 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5461 eval "$wx_cv_use_rpath"
5463 if test x"$enablestring" = xdisable; then
5464 if test $wxUSE_RPATH = yes; then
5473 { echo "$as_me:$LINENO: result: $result" >&5
5474 echo "${ECHO_T}$result" >&6; }
5480 if test -z "$defaultval"; then
5481 if test x"$enablestring" = xdisable; then
5488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5489 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5490 # Check whether --enable-objc_uniquifying was given.
5491 if test "${enable_objc_uniquifying+set}" = set; then
5492 enableval=$enable_objc_uniquifying;
5493 if test "$enableval" = yes; then
5494 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5496 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5501 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5506 eval "$wx_cv_use_objc_uniquifying"
5508 if test x"$enablestring" = xdisable; then
5509 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5515 result=$wxUSE_OBJC_UNIQUIFYING
5518 { echo "$as_me:$LINENO: result: $result" >&5
5519 echo "${ECHO_T}$result" >&6; }
5523 enablestring=disable
5525 if test -z "$defaultval"; then
5526 if test x"$enablestring" = xdisable; then
5533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5534 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5535 # Check whether --enable-visibility was given.
5536 if test "${enable_visibility+set}" = set; then
5537 enableval=$enable_visibility;
5538 if test "$enableval" = yes; then
5539 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5541 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5546 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5551 eval "$wx_cv_use_visibility"
5553 if test x"$enablestring" = xdisable; then
5554 if test $wxUSE_VISIBILITY = yes; then
5560 result=$wxUSE_VISIBILITY
5563 { echo "$as_me:$LINENO: result: $result" >&5
5564 echo "${ECHO_T}$result" >&6; }
5570 defaultval=$wxUSE_ALL_FEATURES
5571 if test -z "$defaultval"; then
5572 if test x"$enablestring" = xdisable; then
5579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5580 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5581 # Check whether --enable-intl was given.
5582 if test "${enable_intl+set}" = set; then
5583 enableval=$enable_intl;
5584 if test "$enableval" = yes; then
5585 wx_cv_use_intl='wxUSE_INTL=yes'
5587 wx_cv_use_intl='wxUSE_INTL=no'
5592 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5597 eval "$wx_cv_use_intl"
5599 if test x"$enablestring" = xdisable; then
5600 if test $wxUSE_INTL = yes; then
5609 { echo "$as_me:$LINENO: result: $result" >&5
5610 echo "${ECHO_T}$result" >&6; }
5614 defaultval=$wxUSE_ALL_FEATURES
5615 if test -z "$defaultval"; then
5616 if test x"$enablestring" = xdisable; then
5623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5624 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5625 # Check whether --enable-config was given.
5626 if test "${enable_config+set}" = set; then
5627 enableval=$enable_config;
5628 if test "$enableval" = yes; then
5629 wx_cv_use_config='wxUSE_CONFIG=yes'
5631 wx_cv_use_config='wxUSE_CONFIG=no'
5636 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5641 eval "$wx_cv_use_config"
5643 if test x"$enablestring" = xdisable; then
5644 if test $wxUSE_CONFIG = yes; then
5650 result=$wxUSE_CONFIG
5653 { echo "$as_me:$LINENO: result: $result" >&5
5654 echo "${ECHO_T}$result" >&6; }
5659 defaultval=$wxUSE_ALL_FEATURES
5660 if test -z "$defaultval"; then
5661 if test x"$enablestring" = xdisable; then
5668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5669 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5670 # Check whether --enable-protocols was given.
5671 if test "${enable_protocols+set}" = set; then
5672 enableval=$enable_protocols;
5673 if test "$enableval" = yes; then
5674 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5676 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5681 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5686 eval "$wx_cv_use_protocols"
5688 if test x"$enablestring" = xdisable; then
5689 if test $wxUSE_PROTOCOL = yes; then
5695 result=$wxUSE_PROTOCOL
5698 { echo "$as_me:$LINENO: result: $result" >&5
5699 echo "${ECHO_T}$result" >&6; }
5703 defaultval=$wxUSE_ALL_FEATURES
5704 if test -z "$defaultval"; then
5705 if test x"$enablestring" = xdisable; then
5712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5713 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5714 # Check whether --enable-ftp was given.
5715 if test "${enable_ftp+set}" = set; then
5716 enableval=$enable_ftp;
5717 if test "$enableval" = yes; then
5718 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5720 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5725 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5730 eval "$wx_cv_use_ftp"
5732 if test x"$enablestring" = xdisable; then
5733 if test $wxUSE_PROTOCOL_FTP = yes; then
5739 result=$wxUSE_PROTOCOL_FTP
5742 { echo "$as_me:$LINENO: result: $result" >&5
5743 echo "${ECHO_T}$result" >&6; }
5747 defaultval=$wxUSE_ALL_FEATURES
5748 if test -z "$defaultval"; then
5749 if test x"$enablestring" = xdisable; then
5756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5757 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5758 # Check whether --enable-http was given.
5759 if test "${enable_http+set}" = set; then
5760 enableval=$enable_http;
5761 if test "$enableval" = yes; then
5762 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5764 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5769 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5774 eval "$wx_cv_use_http"
5776 if test x"$enablestring" = xdisable; then
5777 if test $wxUSE_PROTOCOL_HTTP = yes; then
5783 result=$wxUSE_PROTOCOL_HTTP
5786 { echo "$as_me:$LINENO: result: $result" >&5
5787 echo "${ECHO_T}$result" >&6; }
5791 defaultval=$wxUSE_ALL_FEATURES
5792 if test -z "$defaultval"; then
5793 if test x"$enablestring" = xdisable; then
5800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5801 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5802 # Check whether --enable-fileproto was given.
5803 if test "${enable_fileproto+set}" = set; then
5804 enableval=$enable_fileproto;
5805 if test "$enableval" = yes; then
5806 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5808 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5813 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5818 eval "$wx_cv_use_fileproto"
5820 if test x"$enablestring" = xdisable; then
5821 if test $wxUSE_PROTOCOL_FILE = yes; then
5827 result=$wxUSE_PROTOCOL_FILE
5830 { echo "$as_me:$LINENO: result: $result" >&5
5831 echo "${ECHO_T}$result" >&6; }
5835 defaultval=$wxUSE_ALL_FEATURES
5836 if test -z "$defaultval"; then
5837 if test x"$enablestring" = xdisable; then
5844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5845 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5846 # Check whether --enable-sockets was given.
5847 if test "${enable_sockets+set}" = set; then
5848 enableval=$enable_sockets;
5849 if test "$enableval" = yes; then
5850 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5852 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5857 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5862 eval "$wx_cv_use_sockets"
5864 if test x"$enablestring" = xdisable; then
5865 if test $wxUSE_SOCKETS = yes; then
5871 result=$wxUSE_SOCKETS
5874 { echo "$as_me:$LINENO: result: $result" >&5
5875 echo "${ECHO_T}$result" >&6; }
5879 defaultval=$wxUSE_ALL_FEATURES
5880 if test -z "$defaultval"; then
5881 if test x"$enablestring" = xdisable; then
5888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5889 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5890 # Check whether --enable-ipv6 was given.
5891 if test "${enable_ipv6+set}" = set; then
5892 enableval=$enable_ipv6;
5893 if test "$enableval" = yes; then
5894 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5896 wx_cv_use_ipv6='wxUSE_IPV6=no'
5901 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5906 eval "$wx_cv_use_ipv6"
5908 if test x"$enablestring" = xdisable; then
5909 if test $wxUSE_IPV6 = yes; then
5918 { echo "$as_me:$LINENO: result: $result" >&5
5919 echo "${ECHO_T}$result" >&6; }
5923 defaultval=$wxUSE_ALL_FEATURES
5924 if test -z "$defaultval"; then
5925 if test x"$enablestring" = xdisable; then
5932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5933 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5934 # Check whether --enable-ole was given.
5935 if test "${enable_ole+set}" = set; then
5936 enableval=$enable_ole;
5937 if test "$enableval" = yes; then
5938 wx_cv_use_ole='wxUSE_OLE=yes'
5940 wx_cv_use_ole='wxUSE_OLE=no'
5945 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5950 eval "$wx_cv_use_ole"
5952 if test x"$enablestring" = xdisable; then
5953 if test $wxUSE_OLE = yes; then
5962 { echo "$as_me:$LINENO: result: $result" >&5
5963 echo "${ECHO_T}$result" >&6; }
5967 defaultval=$wxUSE_ALL_FEATURES
5968 if test -z "$defaultval"; then
5969 if test x"$enablestring" = xdisable; then
5976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5977 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5978 # Check whether --enable-dataobj was given.
5979 if test "${enable_dataobj+set}" = set; then
5980 enableval=$enable_dataobj;
5981 if test "$enableval" = yes; then
5982 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5984 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
5989 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5994 eval "$wx_cv_use_dataobj"
5996 if test x"$enablestring" = xdisable; then
5997 if test $wxUSE_DATAOBJ = yes; then
6003 result=$wxUSE_DATAOBJ
6006 { echo "$as_me:$LINENO: result: $result" >&5
6007 echo "${ECHO_T}$result" >&6; }
6012 defaultval=$wxUSE_ALL_FEATURES
6013 if test -z "$defaultval"; then
6014 if test x"$enablestring" = xdisable; then
6021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6022 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6023 # Check whether --enable-ipc was given.
6024 if test "${enable_ipc+set}" = set; then
6025 enableval=$enable_ipc;
6026 if test "$enableval" = yes; then
6027 wx_cv_use_ipc='wxUSE_IPC=yes'
6029 wx_cv_use_ipc='wxUSE_IPC=no'
6034 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6039 eval "$wx_cv_use_ipc"
6041 if test x"$enablestring" = xdisable; then
6042 if test $wxUSE_IPC = yes; then
6051 { echo "$as_me:$LINENO: result: $result" >&5
6052 echo "${ECHO_T}$result" >&6; }
6057 defaultval=$wxUSE_ALL_FEATURES
6058 if test -z "$defaultval"; then
6059 if test x"$enablestring" = xdisable; then
6066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6067 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6068 # Check whether --enable-baseevtloop was given.
6069 if test "${enable_baseevtloop+set}" = set; then
6070 enableval=$enable_baseevtloop;
6071 if test "$enableval" = yes; then
6072 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6074 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6079 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6084 eval "$wx_cv_use_baseevtloop"
6086 if test x"$enablestring" = xdisable; then
6087 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6093 result=$wxUSE_CONSOLE_EVENTLOOP
6096 { echo "$as_me:$LINENO: result: $result" >&5
6097 echo "${ECHO_T}$result" >&6; }
6101 defaultval=$wxUSE_ALL_FEATURES
6102 if test -z "$defaultval"; then
6103 if test x"$enablestring" = xdisable; then
6110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6111 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6112 # Check whether --enable-epollloop was given.
6113 if test "${enable_epollloop+set}" = set; then
6114 enableval=$enable_epollloop;
6115 if test "$enableval" = yes; then
6116 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6118 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6123 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6128 eval "$wx_cv_use_epollloop"
6130 if test x"$enablestring" = xdisable; then
6131 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6137 result=$wxUSE_EPOLL_DISPATCHER
6140 { echo "$as_me:$LINENO: result: $result" >&5
6141 echo "${ECHO_T}$result" >&6; }
6145 defaultval=$wxUSE_ALL_FEATURES
6146 if test -z "$defaultval"; then
6147 if test x"$enablestring" = xdisable; then
6154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6155 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6156 # Check whether --enable-selectloop was given.
6157 if test "${enable_selectloop+set}" = set; then
6158 enableval=$enable_selectloop;
6159 if test "$enableval" = yes; then
6160 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6162 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6167 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6172 eval "$wx_cv_use_selectloop"
6174 if test x"$enablestring" = xdisable; then
6175 if test $wxUSE_SELECT_DISPATCHER = yes; then
6181 result=$wxUSE_SELECT_DISPATCHER
6184 { echo "$as_me:$LINENO: result: $result" >&5
6185 echo "${ECHO_T}$result" >&6; }
6190 defaultval=$wxUSE_ALL_FEATURES
6191 if test -z "$defaultval"; then
6192 if test x"$enablestring" = xdisable; then
6199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6200 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6201 # Check whether --enable-apple_ieee was given.
6202 if test "${enable_apple_ieee+set}" = set; then
6203 enableval=$enable_apple_ieee;
6204 if test "$enableval" = yes; then
6205 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6207 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6212 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6217 eval "$wx_cv_use_apple_ieee"
6219 if test x"$enablestring" = xdisable; then
6220 if test $wxUSE_APPLE_IEEE = yes; then
6226 result=$wxUSE_APPLE_IEEE
6229 { echo "$as_me:$LINENO: result: $result" >&5
6230 echo "${ECHO_T}$result" >&6; }
6234 defaultval=$wxUSE_ALL_FEATURES
6235 if test -z "$defaultval"; then
6236 if test x"$enablestring" = xdisable; then
6243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6244 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6245 # Check whether --enable-arcstream was given.
6246 if test "${enable_arcstream+set}" = set; then
6247 enableval=$enable_arcstream;
6248 if test "$enableval" = yes; then
6249 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6251 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6256 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6261 eval "$wx_cv_use_arcstream"
6263 if test x"$enablestring" = xdisable; then
6264 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6270 result=$wxUSE_ARCHIVE_STREAMS
6273 { echo "$as_me:$LINENO: result: $result" >&5
6274 echo "${ECHO_T}$result" >&6; }
6278 defaultval=$wxUSE_ALL_FEATURES
6279 if test -z "$defaultval"; then
6280 if test x"$enablestring" = xdisable; then
6287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6288 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6289 # Check whether --enable-base64 was given.
6290 if test "${enable_base64+set}" = set; then
6291 enableval=$enable_base64;
6292 if test "$enableval" = yes; then
6293 wx_cv_use_base64='wxUSE_BASE64=yes'
6295 wx_cv_use_base64='wxUSE_BASE64=no'
6300 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6305 eval "$wx_cv_use_base64"
6307 if test x"$enablestring" = xdisable; then
6308 if test $wxUSE_BASE64 = yes; then
6314 result=$wxUSE_BASE64
6317 { echo "$as_me:$LINENO: result: $result" >&5
6318 echo "${ECHO_T}$result" >&6; }
6322 defaultval=$wxUSE_ALL_FEATURES
6323 if test -z "$defaultval"; then
6324 if test x"$enablestring" = xdisable; then
6331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6332 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6333 # Check whether --enable-backtrace was given.
6334 if test "${enable_backtrace+set}" = set; then
6335 enableval=$enable_backtrace;
6336 if test "$enableval" = yes; then
6337 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6339 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6344 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6349 eval "$wx_cv_use_backtrace"
6351 if test x"$enablestring" = xdisable; then
6352 if test $wxUSE_STACKWALKER = yes; then
6358 result=$wxUSE_STACKWALKER
6361 { echo "$as_me:$LINENO: result: $result" >&5
6362 echo "${ECHO_T}$result" >&6; }
6366 defaultval=$wxUSE_ALL_FEATURES
6367 if test -z "$defaultval"; then
6368 if test x"$enablestring" = xdisable; then
6375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6376 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6377 # Check whether --enable-catch_segvs was given.
6378 if test "${enable_catch_segvs+set}" = set; then
6379 enableval=$enable_catch_segvs;
6380 if test "$enableval" = yes; then
6381 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6383 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6388 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6393 eval "$wx_cv_use_catch_segvs"
6395 if test x"$enablestring" = xdisable; then
6396 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6402 result=$wxUSE_ON_FATAL_EXCEPTION
6405 { echo "$as_me:$LINENO: result: $result" >&5
6406 echo "${ECHO_T}$result" >&6; }
6410 defaultval=$wxUSE_ALL_FEATURES
6411 if test -z "$defaultval"; then
6412 if test x"$enablestring" = xdisable; then
6419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6420 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6421 # Check whether --enable-cmdline was given.
6422 if test "${enable_cmdline+set}" = set; then
6423 enableval=$enable_cmdline;
6424 if test "$enableval" = yes; then
6425 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6427 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6432 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6437 eval "$wx_cv_use_cmdline"
6439 if test x"$enablestring" = xdisable; then
6440 if test $wxUSE_CMDLINE_PARSER = yes; then
6446 result=$wxUSE_CMDLINE_PARSER
6449 { echo "$as_me:$LINENO: result: $result" >&5
6450 echo "${ECHO_T}$result" >&6; }
6454 defaultval=$wxUSE_ALL_FEATURES
6455 if test -z "$defaultval"; then
6456 if test x"$enablestring" = xdisable; then
6463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6464 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6465 # Check whether --enable-datetime was given.
6466 if test "${enable_datetime+set}" = set; then
6467 enableval=$enable_datetime;
6468 if test "$enableval" = yes; then
6469 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6471 wx_cv_use_datetime='wxUSE_DATETIME=no'
6476 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6481 eval "$wx_cv_use_datetime"
6483 if test x"$enablestring" = xdisable; then
6484 if test $wxUSE_DATETIME = yes; then
6490 result=$wxUSE_DATETIME
6493 { echo "$as_me:$LINENO: result: $result" >&5
6494 echo "${ECHO_T}$result" >&6; }
6498 defaultval=$wxUSE_ALL_FEATURES
6499 if test -z "$defaultval"; then
6500 if test x"$enablestring" = xdisable; then
6507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6508 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6509 # Check whether --enable-debugreport was given.
6510 if test "${enable_debugreport+set}" = set; then
6511 enableval=$enable_debugreport;
6512 if test "$enableval" = yes; then
6513 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6515 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6520 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6525 eval "$wx_cv_use_debugreport"
6527 if test x"$enablestring" = xdisable; then
6528 if test $wxUSE_DEBUGREPORT = yes; then
6534 result=$wxUSE_DEBUGREPORT
6537 { echo "$as_me:$LINENO: result: $result" >&5
6538 echo "${ECHO_T}$result" >&6; }
6542 defaultval=$wxUSE_ALL_FEATURES
6543 if test -z "$defaultval"; then
6544 if test x"$enablestring" = xdisable; then
6551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6552 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6553 # Check whether --enable-dialupman was given.
6554 if test "${enable_dialupman+set}" = set; then
6555 enableval=$enable_dialupman;
6556 if test "$enableval" = yes; then
6557 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6559 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6564 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6569 eval "$wx_cv_use_dialupman"
6571 if test x"$enablestring" = xdisable; then
6572 if test $wxUSE_DIALUP_MANAGER = yes; then
6578 result=$wxUSE_DIALUP_MANAGER
6581 { echo "$as_me:$LINENO: result: $result" >&5
6582 echo "${ECHO_T}$result" >&6; }
6586 defaultval=$wxUSE_ALL_FEATURES
6587 if test -z "$defaultval"; then
6588 if test x"$enablestring" = xdisable; then
6595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6596 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6597 # Check whether --enable-dynlib was given.
6598 if test "${enable_dynlib+set}" = set; then
6599 enableval=$enable_dynlib;
6600 if test "$enableval" = yes; then
6601 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6603 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6608 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6613 eval "$wx_cv_use_dynlib"
6615 if test x"$enablestring" = xdisable; then
6616 if test $wxUSE_DYNLIB_CLASS = yes; then
6622 result=$wxUSE_DYNLIB_CLASS
6625 { echo "$as_me:$LINENO: result: $result" >&5
6626 echo "${ECHO_T}$result" >&6; }
6630 defaultval=$wxUSE_ALL_FEATURES
6631 if test -z "$defaultval"; then
6632 if test x"$enablestring" = xdisable; then
6639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6640 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6641 # Check whether --enable-dynamicloader was given.
6642 if test "${enable_dynamicloader+set}" = set; then
6643 enableval=$enable_dynamicloader;
6644 if test "$enableval" = yes; then
6645 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6647 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6652 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6657 eval "$wx_cv_use_dynamicloader"
6659 if test x"$enablestring" = xdisable; then
6660 if test $wxUSE_DYNAMIC_LOADER = yes; then
6666 result=$wxUSE_DYNAMIC_LOADER
6669 { echo "$as_me:$LINENO: result: $result" >&5
6670 echo "${ECHO_T}$result" >&6; }
6674 defaultval=$wxUSE_ALL_FEATURES
6675 if test -z "$defaultval"; then
6676 if test x"$enablestring" = xdisable; then
6683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6684 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6685 # Check whether --enable-exceptions was given.
6686 if test "${enable_exceptions+set}" = set; then
6687 enableval=$enable_exceptions;
6688 if test "$enableval" = yes; then
6689 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6691 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6696 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6701 eval "$wx_cv_use_exceptions"
6703 if test x"$enablestring" = xdisable; then
6704 if test $wxUSE_EXCEPTIONS = yes; then
6710 result=$wxUSE_EXCEPTIONS
6713 { echo "$as_me:$LINENO: result: $result" >&5
6714 echo "${ECHO_T}$result" >&6; }
6718 defaultval=$wxUSE_ALL_FEATURES
6719 if test -z "$defaultval"; then
6720 if test x"$enablestring" = xdisable; then
6727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6728 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6729 # Check whether --enable-ffile was given.
6730 if test "${enable_ffile+set}" = set; then
6731 enableval=$enable_ffile;
6732 if test "$enableval" = yes; then
6733 wx_cv_use_ffile='wxUSE_FFILE=yes'
6735 wx_cv_use_ffile='wxUSE_FFILE=no'
6740 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6745 eval "$wx_cv_use_ffile"
6747 if test x"$enablestring" = xdisable; then
6748 if test $wxUSE_FFILE = yes; then
6757 { echo "$as_me:$LINENO: result: $result" >&5
6758 echo "${ECHO_T}$result" >&6; }
6762 defaultval=$wxUSE_ALL_FEATURES
6763 if test -z "$defaultval"; then
6764 if test x"$enablestring" = xdisable; then
6771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6772 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6773 # Check whether --enable-file was given.
6774 if test "${enable_file+set}" = set; then
6775 enableval=$enable_file;
6776 if test "$enableval" = yes; then
6777 wx_cv_use_file='wxUSE_FILE=yes'
6779 wx_cv_use_file='wxUSE_FILE=no'
6784 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6789 eval "$wx_cv_use_file"
6791 if test x"$enablestring" = xdisable; then
6792 if test $wxUSE_FILE = yes; then
6801 { echo "$as_me:$LINENO: result: $result" >&5
6802 echo "${ECHO_T}$result" >&6; }
6806 defaultval=$wxUSE_ALL_FEATURES
6807 if test -z "$defaultval"; then
6808 if test x"$enablestring" = xdisable; then
6815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6816 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6817 # Check whether --enable-filesystem was given.
6818 if test "${enable_filesystem+set}" = set; then
6819 enableval=$enable_filesystem;
6820 if test "$enableval" = yes; then
6821 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6823 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6828 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6833 eval "$wx_cv_use_filesystem"
6835 if test x"$enablestring" = xdisable; then
6836 if test $wxUSE_FILESYSTEM = yes; then
6842 result=$wxUSE_FILESYSTEM
6845 { echo "$as_me:$LINENO: result: $result" >&5
6846 echo "${ECHO_T}$result" >&6; }
6850 defaultval=$wxUSE_ALL_FEATURES
6851 if test -z "$defaultval"; then
6852 if test x"$enablestring" = xdisable; then
6859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6860 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6861 # Check whether --enable-fontenum was given.
6862 if test "${enable_fontenum+set}" = set; then
6863 enableval=$enable_fontenum;
6864 if test "$enableval" = yes; then
6865 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6867 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6872 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6877 eval "$wx_cv_use_fontenum"
6879 if test x"$enablestring" = xdisable; then
6880 if test $wxUSE_FONTENUM = yes; then
6886 result=$wxUSE_FONTENUM
6889 { echo "$as_me:$LINENO: result: $result" >&5
6890 echo "${ECHO_T}$result" >&6; }
6894 defaultval=$wxUSE_ALL_FEATURES
6895 if test -z "$defaultval"; then
6896 if test x"$enablestring" = xdisable; then
6903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6904 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6905 # Check whether --enable-fontmap was given.
6906 if test "${enable_fontmap+set}" = set; then
6907 enableval=$enable_fontmap;
6908 if test "$enableval" = yes; then
6909 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6911 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6916 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6921 eval "$wx_cv_use_fontmap"
6923 if test x"$enablestring" = xdisable; then
6924 if test $wxUSE_FONTMAP = yes; then
6930 result=$wxUSE_FONTMAP
6933 { echo "$as_me:$LINENO: result: $result" >&5
6934 echo "${ECHO_T}$result" >&6; }
6938 defaultval=$wxUSE_ALL_FEATURES
6939 if test -z "$defaultval"; then
6940 if test x"$enablestring" = xdisable; then
6947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6948 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6949 # Check whether --enable-fs_archive was given.
6950 if test "${enable_fs_archive+set}" = set; then
6951 enableval=$enable_fs_archive;
6952 if test "$enableval" = yes; then
6953 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6955 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6960 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6965 eval "$wx_cv_use_fs_archive"
6967 if test x"$enablestring" = xdisable; then
6968 if test $wxUSE_FS_ARCHIVE = yes; then
6974 result=$wxUSE_FS_ARCHIVE
6977 { echo "$as_me:$LINENO: result: $result" >&5
6978 echo "${ECHO_T}$result" >&6; }
6982 defaultval=$wxUSE_ALL_FEATURES
6983 if test -z "$defaultval"; then
6984 if test x"$enablestring" = xdisable; then
6991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6992 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6993 # Check whether --enable-fs_inet was given.
6994 if test "${enable_fs_inet+set}" = set; then
6995 enableval=$enable_fs_inet;
6996 if test "$enableval" = yes; then
6997 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
6999 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7004 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7009 eval "$wx_cv_use_fs_inet"
7011 if test x"$enablestring" = xdisable; then
7012 if test $wxUSE_FS_INET = yes; then
7018 result=$wxUSE_FS_INET
7021 { echo "$as_me:$LINENO: result: $result" >&5
7022 echo "${ECHO_T}$result" >&6; }
7026 defaultval=$wxUSE_ALL_FEATURES
7027 if test -z "$defaultval"; then
7028 if test x"$enablestring" = xdisable; then
7035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7036 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7037 # Check whether --enable-fs_zip was given.
7038 if test "${enable_fs_zip+set}" = set; then
7039 enableval=$enable_fs_zip;
7040 if test "$enableval" = yes; then
7041 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7043 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7048 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7053 eval "$wx_cv_use_fs_zip"
7055 if test x"$enablestring" = xdisable; then
7056 if test $wxUSE_FS_ZIP = yes; then
7062 result=$wxUSE_FS_ZIP
7065 { echo "$as_me:$LINENO: result: $result" >&5
7066 echo "${ECHO_T}$result" >&6; }
7070 defaultval=$wxUSE_ALL_FEATURES
7071 if test -z "$defaultval"; then
7072 if test x"$enablestring" = xdisable; then
7079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7080 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7081 # Check whether --enable-geometry was given.
7082 if test "${enable_geometry+set}" = set; then
7083 enableval=$enable_geometry;
7084 if test "$enableval" = yes; then
7085 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7087 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7092 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7097 eval "$wx_cv_use_geometry"
7099 if test x"$enablestring" = xdisable; then
7100 if test $wxUSE_GEOMETRY = yes; then
7106 result=$wxUSE_GEOMETRY
7109 { echo "$as_me:$LINENO: result: $result" >&5
7110 echo "${ECHO_T}$result" >&6; }
7114 defaultval=$wxUSE_ALL_FEATURES
7115 if test -z "$defaultval"; then
7116 if test x"$enablestring" = xdisable; then
7123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7124 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7125 # Check whether --enable-log was given.
7126 if test "${enable_log+set}" = set; then
7127 enableval=$enable_log;
7128 if test "$enableval" = yes; then
7129 wx_cv_use_log='wxUSE_LOG=yes'
7131 wx_cv_use_log='wxUSE_LOG=no'
7136 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7141 eval "$wx_cv_use_log"
7143 if test x"$enablestring" = xdisable; then
7144 if test $wxUSE_LOG = yes; then
7153 { echo "$as_me:$LINENO: result: $result" >&5
7154 echo "${ECHO_T}$result" >&6; }
7158 defaultval=$wxUSE_ALL_FEATURES
7159 if test -z "$defaultval"; then
7160 if test x"$enablestring" = xdisable; then
7167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7168 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7169 # Check whether --enable-longlong was given.
7170 if test "${enable_longlong+set}" = set; then
7171 enableval=$enable_longlong;
7172 if test "$enableval" = yes; then
7173 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7175 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7180 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7185 eval "$wx_cv_use_longlong"
7187 if test x"$enablestring" = xdisable; then
7188 if test $wxUSE_LONGLONG = yes; then
7194 result=$wxUSE_LONGLONG
7197 { echo "$as_me:$LINENO: result: $result" >&5
7198 echo "${ECHO_T}$result" >&6; }
7202 defaultval=$wxUSE_ALL_FEATURES
7203 if test -z "$defaultval"; then
7204 if test x"$enablestring" = xdisable; then
7211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7212 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7213 # Check whether --enable-mimetype was given.
7214 if test "${enable_mimetype+set}" = set; then
7215 enableval=$enable_mimetype;
7216 if test "$enableval" = yes; then
7217 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7219 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7224 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7229 eval "$wx_cv_use_mimetype"
7231 if test x"$enablestring" = xdisable; then
7232 if test $wxUSE_MIMETYPE = yes; then
7238 result=$wxUSE_MIMETYPE
7241 { echo "$as_me:$LINENO: result: $result" >&5
7242 echo "${ECHO_T}$result" >&6; }
7246 defaultval=$wxUSE_ALL_FEATURES
7247 if test -z "$defaultval"; then
7248 if test x"$enablestring" = xdisable; then
7255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7256 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7257 # Check whether --enable-snglinst was given.
7258 if test "${enable_snglinst+set}" = set; then
7259 enableval=$enable_snglinst;
7260 if test "$enableval" = yes; then
7261 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7263 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7268 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7273 eval "$wx_cv_use_snglinst"
7275 if test x"$enablestring" = xdisable; then
7276 if test $wxUSE_SNGLINST_CHECKER = yes; then
7282 result=$wxUSE_SNGLINST_CHECKER
7285 { echo "$as_me:$LINENO: result: $result" >&5
7286 echo "${ECHO_T}$result" >&6; }
7290 defaultval=$wxUSE_ALL_FEATURES
7291 if test -z "$defaultval"; then
7292 if test x"$enablestring" = xdisable; then
7299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7300 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7301 # Check whether --enable-stdpaths was given.
7302 if test "${enable_stdpaths+set}" = set; then
7303 enableval=$enable_stdpaths;
7304 if test "$enableval" = yes; then
7305 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7307 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7312 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7317 eval "$wx_cv_use_stdpaths"
7319 if test x"$enablestring" = xdisable; then
7320 if test $wxUSE_STDPATHS = yes; then
7326 result=$wxUSE_STDPATHS
7329 { echo "$as_me:$LINENO: result: $result" >&5
7330 echo "${ECHO_T}$result" >&6; }
7334 defaultval=$wxUSE_ALL_FEATURES
7335 if test -z "$defaultval"; then
7336 if test x"$enablestring" = xdisable; then
7343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7344 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7345 # Check whether --enable-stopwatch was given.
7346 if test "${enable_stopwatch+set}" = set; then
7347 enableval=$enable_stopwatch;
7348 if test "$enableval" = yes; then
7349 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7351 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7356 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7361 eval "$wx_cv_use_stopwatch"
7363 if test x"$enablestring" = xdisable; then
7364 if test $wxUSE_STOPWATCH = yes; then
7370 result=$wxUSE_STOPWATCH
7373 { echo "$as_me:$LINENO: result: $result" >&5
7374 echo "${ECHO_T}$result" >&6; }
7378 defaultval=$wxUSE_ALL_FEATURES
7379 if test -z "$defaultval"; then
7380 if test x"$enablestring" = xdisable; then
7387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7388 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7389 # Check whether --enable-streams was given.
7390 if test "${enable_streams+set}" = set; then
7391 enableval=$enable_streams;
7392 if test "$enableval" = yes; then
7393 wx_cv_use_streams='wxUSE_STREAMS=yes'
7395 wx_cv_use_streams='wxUSE_STREAMS=no'
7400 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7405 eval "$wx_cv_use_streams"
7407 if test x"$enablestring" = xdisable; then
7408 if test $wxUSE_STREAMS = yes; then
7414 result=$wxUSE_STREAMS
7417 { echo "$as_me:$LINENO: result: $result" >&5
7418 echo "${ECHO_T}$result" >&6; }
7422 defaultval=$wxUSE_ALL_FEATURES
7423 if test -z "$defaultval"; then
7424 if test x"$enablestring" = xdisable; then
7431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7432 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7433 # Check whether --enable-system_options was given.
7434 if test "${enable_system_options+set}" = set; then
7435 enableval=$enable_system_options;
7436 if test "$enableval" = yes; then
7437 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7439 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7444 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7449 eval "$wx_cv_use_system_options"
7451 if test x"$enablestring" = xdisable; then
7452 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7458 result=$wxUSE_SYSTEM_OPTIONS
7461 { echo "$as_me:$LINENO: result: $result" >&5
7462 echo "${ECHO_T}$result" >&6; }
7466 defaultval=$wxUSE_ALL_FEATURES
7467 if test -z "$defaultval"; then
7468 if test x"$enablestring" = xdisable; then
7475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7476 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7477 # Check whether --enable-tarstream was given.
7478 if test "${enable_tarstream+set}" = set; then
7479 enableval=$enable_tarstream;
7480 if test "$enableval" = yes; then
7481 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7483 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7488 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7493 eval "$wx_cv_use_tarstream"
7495 if test x"$enablestring" = xdisable; then
7496 if test $wxUSE_TARSTREAM = yes; then
7502 result=$wxUSE_TARSTREAM
7505 { echo "$as_me:$LINENO: result: $result" >&5
7506 echo "${ECHO_T}$result" >&6; }
7510 defaultval=$wxUSE_ALL_FEATURES
7511 if test -z "$defaultval"; then
7512 if test x"$enablestring" = xdisable; then
7519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7520 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7521 # Check whether --enable-textbuf was given.
7522 if test "${enable_textbuf+set}" = set; then
7523 enableval=$enable_textbuf;
7524 if test "$enableval" = yes; then
7525 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7527 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7532 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7537 eval "$wx_cv_use_textbuf"
7539 if test x"$enablestring" = xdisable; then
7540 if test $wxUSE_TEXTBUFFER = yes; then
7546 result=$wxUSE_TEXTBUFFER
7549 { echo "$as_me:$LINENO: result: $result" >&5
7550 echo "${ECHO_T}$result" >&6; }
7554 defaultval=$wxUSE_ALL_FEATURES
7555 if test -z "$defaultval"; then
7556 if test x"$enablestring" = xdisable; then
7563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7564 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7565 # Check whether --enable-textfile was given.
7566 if test "${enable_textfile+set}" = set; then
7567 enableval=$enable_textfile;
7568 if test "$enableval" = yes; then
7569 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7571 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7576 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7581 eval "$wx_cv_use_textfile"
7583 if test x"$enablestring" = xdisable; then
7584 if test $wxUSE_TEXTFILE = yes; then
7590 result=$wxUSE_TEXTFILE
7593 { echo "$as_me:$LINENO: result: $result" >&5
7594 echo "${ECHO_T}$result" >&6; }
7598 defaultval=$wxUSE_ALL_FEATURES
7599 if test -z "$defaultval"; then
7600 if test x"$enablestring" = xdisable; then
7607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7608 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7609 # Check whether --enable-timer was given.
7610 if test "${enable_timer+set}" = set; then
7611 enableval=$enable_timer;
7612 if test "$enableval" = yes; then
7613 wx_cv_use_timer='wxUSE_TIMER=yes'
7615 wx_cv_use_timer='wxUSE_TIMER=no'
7620 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7625 eval "$wx_cv_use_timer"
7627 if test x"$enablestring" = xdisable; then
7628 if test $wxUSE_TIMER = yes; then
7637 { echo "$as_me:$LINENO: result: $result" >&5
7638 echo "${ECHO_T}$result" >&6; }
7642 defaultval=$wxUSE_ALL_FEATURES
7643 if test -z "$defaultval"; then
7644 if test x"$enablestring" = xdisable; then
7651 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7652 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7653 # Check whether --enable-sound was given.
7654 if test "${enable_sound+set}" = set; then
7655 enableval=$enable_sound;
7656 if test "$enableval" = yes; then
7657 wx_cv_use_sound='wxUSE_SOUND=yes'
7659 wx_cv_use_sound='wxUSE_SOUND=no'
7664 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7669 eval "$wx_cv_use_sound"
7671 if test x"$enablestring" = xdisable; then
7672 if test $wxUSE_SOUND = yes; then
7681 { echo "$as_me:$LINENO: result: $result" >&5
7682 echo "${ECHO_T}$result" >&6; }
7686 defaultval=$wxUSE_ALL_FEATURES
7687 if test -z "$defaultval"; then
7688 if test x"$enablestring" = xdisable; then
7695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7696 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7697 # Check whether --enable-mediactrl was given.
7698 if test "${enable_mediactrl+set}" = set; then
7699 enableval=$enable_mediactrl;
7700 if test "$enableval" = yes; then
7701 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7703 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7708 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7713 eval "$wx_cv_use_mediactrl"
7715 if test x"$enablestring" = xdisable; then
7716 if test $wxUSE_MEDIACTRL = yes; then
7722 result=$wxUSE_MEDIACTRL
7725 { echo "$as_me:$LINENO: result: $result" >&5
7726 echo "${ECHO_T}$result" >&6; }
7730 defaultval=$wxUSE_ALL_FEATURES
7731 if test -z "$defaultval"; then
7732 if test x"$enablestring" = xdisable; then
7739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7740 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7741 # Check whether --enable-gstreamer8 was given.
7742 if test "${enable_gstreamer8+set}" = set; then
7743 enableval=$enable_gstreamer8;
7744 if test "$enableval" = yes; then
7745 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7747 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7752 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7757 eval "$wx_cv_use_gstreamer8"
7759 if test x"$enablestring" = xdisable; then
7760 if test $wxUSE_GSTREAMER8 = yes; then
7766 result=$wxUSE_GSTREAMER8
7769 { echo "$as_me:$LINENO: result: $result" >&5
7770 echo "${ECHO_T}$result" >&6; }
7774 defaultval=$wxUSE_ALL_FEATURES
7775 if test -z "$defaultval"; then
7776 if test x"$enablestring" = xdisable; then
7783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7784 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7785 # Check whether --enable-printfposparam was given.
7786 if test "${enable_printfposparam+set}" = set; then
7787 enableval=$enable_printfposparam;
7788 if test "$enableval" = yes; then
7789 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7791 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7796 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7801 eval "$wx_cv_use_printfposparam"
7803 if test x"$enablestring" = xdisable; then
7804 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7810 result=$wxUSE_PRINTF_POS_PARAMS
7813 { echo "$as_me:$LINENO: result: $result" >&5
7814 echo "${ECHO_T}$result" >&6; }
7818 defaultval=$wxUSE_ALL_FEATURES
7819 if test -z "$defaultval"; then
7820 if test x"$enablestring" = xdisable; then
7827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7828 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7829 # Check whether --enable-zipstream was given.
7830 if test "${enable_zipstream+set}" = set; then
7831 enableval=$enable_zipstream;
7832 if test "$enableval" = yes; then
7833 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7835 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7840 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7845 eval "$wx_cv_use_zipstream"
7847 if test x"$enablestring" = xdisable; then
7848 if test $wxUSE_ZIPSTREAM = yes; then
7854 result=$wxUSE_ZIPSTREAM
7857 { echo "$as_me:$LINENO: result: $result" >&5
7858 echo "${ECHO_T}$result" >&6; }
7863 defaultval=$wxUSE_ALL_FEATURES
7864 if test -z "$defaultval"; then
7865 if test x"$enablestring" = xdisable; then
7872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7873 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7874 # Check whether --enable-url was given.
7875 if test "${enable_url+set}" = set; then
7876 enableval=$enable_url;
7877 if test "$enableval" = yes; then
7878 wx_cv_use_url='wxUSE_URL=yes'
7880 wx_cv_use_url='wxUSE_URL=no'
7885 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7890 eval "$wx_cv_use_url"
7892 if test x"$enablestring" = xdisable; then
7893 if test $wxUSE_URL = yes; then
7902 { echo "$as_me:$LINENO: result: $result" >&5
7903 echo "${ECHO_T}$result" >&6; }
7907 defaultval=$wxUSE_ALL_FEATURES
7908 if test -z "$defaultval"; then
7909 if test x"$enablestring" = xdisable; then
7916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7917 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7918 # Check whether --enable-variant was given.
7919 if test "${enable_variant+set}" = set; then
7920 enableval=$enable_variant;
7921 if test "$enableval" = yes; then
7922 wx_cv_use_variant='wxUSE_VARIANT=yes'
7924 wx_cv_use_variant='wxUSE_VARIANT=no'
7929 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7934 eval "$wx_cv_use_variant"
7936 if test x"$enablestring" = xdisable; then
7937 if test $wxUSE_VARIANT = yes; then
7943 result=$wxUSE_VARIANT
7946 { echo "$as_me:$LINENO: result: $result" >&5
7947 echo "${ECHO_T}$result" >&6; }
7951 defaultval=$wxUSE_ALL_FEATURES
7952 if test -z "$defaultval"; then
7953 if test x"$enablestring" = xdisable; then
7960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7961 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7962 # Check whether --enable-protocol was given.
7963 if test "${enable_protocol+set}" = set; then
7964 enableval=$enable_protocol;
7965 if test "$enableval" = yes; then
7966 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7968 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7973 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7978 eval "$wx_cv_use_protocol"
7980 if test x"$enablestring" = xdisable; then
7981 if test $wxUSE_PROTOCOL = yes; then
7987 result=$wxUSE_PROTOCOL
7990 { echo "$as_me:$LINENO: result: $result" >&5
7991 echo "${ECHO_T}$result" >&6; }
7995 defaultval=$wxUSE_ALL_FEATURES
7996 if test -z "$defaultval"; then
7997 if test x"$enablestring" = xdisable; then
8004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8005 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8006 # Check whether --enable-protocol_http was given.
8007 if test "${enable_protocol_http+set}" = set; then
8008 enableval=$enable_protocol_http;
8009 if test "$enableval" = yes; then
8010 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8012 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8017 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8022 eval "$wx_cv_use_protocol_http"
8024 if test x"$enablestring" = xdisable; then
8025 if test $wxUSE_PROTOCOL_HTTP = yes; then
8031 result=$wxUSE_PROTOCOL_HTTP
8034 { echo "$as_me:$LINENO: result: $result" >&5
8035 echo "${ECHO_T}$result" >&6; }
8039 defaultval=$wxUSE_ALL_FEATURES
8040 if test -z "$defaultval"; then
8041 if test x"$enablestring" = xdisable; then
8048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8049 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8050 # Check whether --enable-protocol_ftp was given.
8051 if test "${enable_protocol_ftp+set}" = set; then
8052 enableval=$enable_protocol_ftp;
8053 if test "$enableval" = yes; then
8054 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8056 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8061 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8066 eval "$wx_cv_use_protocol_ftp"
8068 if test x"$enablestring" = xdisable; then
8069 if test $wxUSE_PROTOCOL_FTP = yes; then
8075 result=$wxUSE_PROTOCOL_FTP
8078 { echo "$as_me:$LINENO: result: $result" >&5
8079 echo "${ECHO_T}$result" >&6; }
8083 defaultval=$wxUSE_ALL_FEATURES
8084 if test -z "$defaultval"; then
8085 if test x"$enablestring" = xdisable; then
8092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8093 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8094 # Check whether --enable-protocol_file was given.
8095 if test "${enable_protocol_file+set}" = set; then
8096 enableval=$enable_protocol_file;
8097 if test "$enableval" = yes; then
8098 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8100 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8105 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8110 eval "$wx_cv_use_protocol_file"
8112 if test x"$enablestring" = xdisable; then
8113 if test $wxUSE_PROTOCOL_FILE = yes; then
8119 result=$wxUSE_PROTOCOL_FILE
8122 { echo "$as_me:$LINENO: result: $result" >&5
8123 echo "${ECHO_T}$result" >&6; }
8128 defaultval=$wxUSE_ALL_FEATURES
8129 if test -z "$defaultval"; then
8130 if test x"$enablestring" = xdisable; then
8137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8138 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8139 # Check whether --enable-threads was given.
8140 if test "${enable_threads+set}" = set; then
8141 enableval=$enable_threads;
8142 if test "$enableval" = yes; then
8143 wx_cv_use_threads='wxUSE_THREADS=yes'
8145 wx_cv_use_threads='wxUSE_THREADS=no'
8150 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8155 eval "$wx_cv_use_threads"
8157 if test x"$enablestring" = xdisable; then
8158 if test $wxUSE_THREADS = yes; then
8164 result=$wxUSE_THREADS
8167 { echo "$as_me:$LINENO: result: $result" >&5
8168 echo "${ECHO_T}$result" >&6; }
8174 if test -z "$defaultval"; then
8175 if test x"$enablestring" = xdisable; then
8182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8183 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8184 # Check whether --enable-iniconf was given.
8185 if test "${enable_iniconf+set}" = set; then
8186 enableval=$enable_iniconf;
8187 if test "$enableval" = yes; then
8188 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8190 wx_cv_use_iniconf='wxUSE_INICONF=no'
8195 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8200 eval "$wx_cv_use_iniconf"
8202 if test x"$enablestring" = xdisable; then
8203 if test $wxUSE_INICONF = yes; then
8209 result=$wxUSE_INICONF
8212 { echo "$as_me:$LINENO: result: $result" >&5
8213 echo "${ECHO_T}$result" >&6; }
8217 defaultval=$wxUSE_ALL_FEATURES
8218 if test -z "$defaultval"; then
8219 if test x"$enablestring" = xdisable; then
8226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8227 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8228 # Check whether --enable-regkey was given.
8229 if test "${enable_regkey+set}" = set; then
8230 enableval=$enable_regkey;
8231 if test "$enableval" = yes; then
8232 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8234 wx_cv_use_regkey='wxUSE_REGKEY=no'
8239 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8244 eval "$wx_cv_use_regkey"
8246 if test x"$enablestring" = xdisable; then
8247 if test $wxUSE_REGKEY = yes; then
8253 result=$wxUSE_REGKEY
8256 { echo "$as_me:$LINENO: result: $result" >&5
8257 echo "${ECHO_T}$result" >&6; }
8260 if test "$wxUSE_GUI" = "yes"; then
8265 defaultval=$wxUSE_ALL_FEATURES
8266 if test -z "$defaultval"; then
8267 if test x"$enablestring" = xdisable; then
8274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8275 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8276 # Check whether --enable-docview was given.
8277 if test "${enable_docview+set}" = set; then
8278 enableval=$enable_docview;
8279 if test "$enableval" = yes; then
8280 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8282 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8287 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8292 eval "$wx_cv_use_docview"
8294 if test x"$enablestring" = xdisable; then
8295 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8301 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8304 { echo "$as_me:$LINENO: result: $result" >&5
8305 echo "${ECHO_T}$result" >&6; }
8309 defaultval=$wxUSE_ALL_FEATURES
8310 if test -z "$defaultval"; then
8311 if test x"$enablestring" = xdisable; then
8318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8319 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8320 # Check whether --enable-help was given.
8321 if test "${enable_help+set}" = set; then
8322 enableval=$enable_help;
8323 if test "$enableval" = yes; then
8324 wx_cv_use_help='wxUSE_HELP=yes'
8326 wx_cv_use_help='wxUSE_HELP=no'
8331 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8336 eval "$wx_cv_use_help"
8338 if test x"$enablestring" = xdisable; then
8339 if test $wxUSE_HELP = yes; then
8348 { echo "$as_me:$LINENO: result: $result" >&5
8349 echo "${ECHO_T}$result" >&6; }
8353 defaultval=$wxUSE_ALL_FEATURES
8354 if test -z "$defaultval"; then
8355 if test x"$enablestring" = xdisable; then
8362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8363 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8364 # Check whether --enable-mshtmlhelp was given.
8365 if test "${enable_mshtmlhelp+set}" = set; then
8366 enableval=$enable_mshtmlhelp;
8367 if test "$enableval" = yes; then
8368 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8370 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8375 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8380 eval "$wx_cv_use_mshtmlhelp"
8382 if test x"$enablestring" = xdisable; then
8383 if test $wxUSE_MS_HTML_HELP = yes; then
8389 result=$wxUSE_MS_HTML_HELP
8392 { echo "$as_me:$LINENO: result: $result" >&5
8393 echo "${ECHO_T}$result" >&6; }
8397 defaultval=$wxUSE_ALL_FEATURES
8398 if test -z "$defaultval"; then
8399 if test x"$enablestring" = xdisable; then
8406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8407 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8408 # Check whether --enable-html was given.
8409 if test "${enable_html+set}" = set; then
8410 enableval=$enable_html;
8411 if test "$enableval" = yes; then
8412 wx_cv_use_html='wxUSE_HTML=yes'
8414 wx_cv_use_html='wxUSE_HTML=no'
8419 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8424 eval "$wx_cv_use_html"
8426 if test x"$enablestring" = xdisable; then
8427 if test $wxUSE_HTML = yes; then
8436 { echo "$as_me:$LINENO: result: $result" >&5
8437 echo "${ECHO_T}$result" >&6; }
8441 defaultval=$wxUSE_ALL_FEATURES
8442 if test -z "$defaultval"; then
8443 if test x"$enablestring" = xdisable; then
8450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8451 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8452 # Check whether --enable-htmlhelp was given.
8453 if test "${enable_htmlhelp+set}" = set; then
8454 enableval=$enable_htmlhelp;
8455 if test "$enableval" = yes; then
8456 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8458 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8463 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8468 eval "$wx_cv_use_htmlhelp"
8470 if test x"$enablestring" = xdisable; then
8471 if test $wxUSE_WXHTML_HELP = yes; then
8477 result=$wxUSE_WXHTML_HELP
8480 { echo "$as_me:$LINENO: result: $result" >&5
8481 echo "${ECHO_T}$result" >&6; }
8485 defaultval=$wxUSE_ALL_FEATURES
8486 if test -z "$defaultval"; then
8487 if test x"$enablestring" = xdisable; then
8494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8495 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8496 # Check whether --enable-xrc was given.
8497 if test "${enable_xrc+set}" = set; then
8498 enableval=$enable_xrc;
8499 if test "$enableval" = yes; then
8500 wx_cv_use_xrc='wxUSE_XRC=yes'
8502 wx_cv_use_xrc='wxUSE_XRC=no'
8507 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8512 eval "$wx_cv_use_xrc"
8514 if test x"$enablestring" = xdisable; then
8515 if test $wxUSE_XRC = yes; then
8524 { echo "$as_me:$LINENO: result: $result" >&5
8525 echo "${ECHO_T}$result" >&6; }
8529 defaultval=$wxUSE_ALL_FEATURES
8530 if test -z "$defaultval"; then
8531 if test x"$enablestring" = xdisable; then
8538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8539 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8540 # Check whether --enable-aui was given.
8541 if test "${enable_aui+set}" = set; then
8542 enableval=$enable_aui;
8543 if test "$enableval" = yes; then
8544 wx_cv_use_aui='wxUSE_AUI=yes'
8546 wx_cv_use_aui='wxUSE_AUI=no'
8551 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8556 eval "$wx_cv_use_aui"
8558 if test x"$enablestring" = xdisable; then
8559 if test $wxUSE_AUI = yes; then
8568 { echo "$as_me:$LINENO: result: $result" >&5
8569 echo "${ECHO_T}$result" >&6; }
8573 defaultval=$wxUSE_ALL_FEATURES
8574 if test -z "$defaultval"; then
8575 if test x"$enablestring" = xdisable; then
8582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8583 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8584 # Check whether --enable-stc was given.
8585 if test "${enable_stc+set}" = set; then
8586 enableval=$enable_stc;
8587 if test "$enableval" = yes; then
8588 wx_cv_use_stc='wxUSE_STC=yes'
8590 wx_cv_use_stc='wxUSE_STC=no'
8595 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8600 eval "$wx_cv_use_stc"
8602 if test x"$enablestring" = xdisable; then
8603 if test $wxUSE_STC = yes; then
8612 { echo "$as_me:$LINENO: result: $result" >&5
8613 echo "${ECHO_T}$result" >&6; }
8617 defaultval=$wxUSE_ALL_FEATURES
8618 if test -z "$defaultval"; then
8619 if test x"$enablestring" = xdisable; then
8626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8627 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8628 # Check whether --enable-constraints was given.
8629 if test "${enable_constraints+set}" = set; then
8630 enableval=$enable_constraints;
8631 if test "$enableval" = yes; then
8632 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8634 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8639 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8644 eval "$wx_cv_use_constraints"
8646 if test x"$enablestring" = xdisable; then
8647 if test $wxUSE_CONSTRAINTS = yes; then
8653 result=$wxUSE_CONSTRAINTS
8656 { echo "$as_me:$LINENO: result: $result" >&5
8657 echo "${ECHO_T}$result" >&6; }
8661 defaultval=$wxUSE_ALL_FEATURES
8662 if test -z "$defaultval"; then
8663 if test x"$enablestring" = xdisable; then
8670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8671 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8672 # Check whether --enable-printarch was given.
8673 if test "${enable_printarch+set}" = set; then
8674 enableval=$enable_printarch;
8675 if test "$enableval" = yes; then
8676 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8678 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8683 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8688 eval "$wx_cv_use_printarch"
8690 if test x"$enablestring" = xdisable; then
8691 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8697 result=$wxUSE_PRINTING_ARCHITECTURE
8700 { echo "$as_me:$LINENO: result: $result" >&5
8701 echo "${ECHO_T}$result" >&6; }
8705 defaultval=$wxUSE_ALL_FEATURES
8706 if test -z "$defaultval"; then
8707 if test x"$enablestring" = xdisable; then
8714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8715 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8716 # Check whether --enable-mdi was given.
8717 if test "${enable_mdi+set}" = set; then
8718 enableval=$enable_mdi;
8719 if test "$enableval" = yes; then
8720 wx_cv_use_mdi='wxUSE_MDI=yes'
8722 wx_cv_use_mdi='wxUSE_MDI=no'
8727 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8732 eval "$wx_cv_use_mdi"
8734 if test x"$enablestring" = xdisable; then
8735 if test $wxUSE_MDI = yes; then
8744 { echo "$as_me:$LINENO: result: $result" >&5
8745 echo "${ECHO_T}$result" >&6; }
8749 defaultval=$wxUSE_ALL_FEATURES
8750 if test -z "$defaultval"; then
8751 if test x"$enablestring" = xdisable; then
8758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8759 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8760 # Check whether --enable-mdidoc was given.
8761 if test "${enable_mdidoc+set}" = set; then
8762 enableval=$enable_mdidoc;
8763 if test "$enableval" = yes; then
8764 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8766 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8771 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8776 eval "$wx_cv_use_mdidoc"
8778 if test x"$enablestring" = xdisable; then
8779 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8785 result=$wxUSE_MDI_ARCHITECTURE
8788 { echo "$as_me:$LINENO: result: $result" >&5
8789 echo "${ECHO_T}$result" >&6; }
8793 defaultval=$wxUSE_ALL_FEATURES
8794 if test -z "$defaultval"; then
8795 if test x"$enablestring" = xdisable; then
8802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8803 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8804 # Check whether --enable-loggui was given.
8805 if test "${enable_loggui+set}" = set; then
8806 enableval=$enable_loggui;
8807 if test "$enableval" = yes; then
8808 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8810 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8815 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8820 eval "$wx_cv_use_loggui"
8822 if test x"$enablestring" = xdisable; then
8823 if test $wxUSE_LOGGUI = yes; then
8829 result=$wxUSE_LOGGUI
8832 { echo "$as_me:$LINENO: result: $result" >&5
8833 echo "${ECHO_T}$result" >&6; }
8837 defaultval=$wxUSE_ALL_FEATURES
8838 if test -z "$defaultval"; then
8839 if test x"$enablestring" = xdisable; then
8846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8847 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8848 # Check whether --enable-logwin was given.
8849 if test "${enable_logwin+set}" = set; then
8850 enableval=$enable_logwin;
8851 if test "$enableval" = yes; then
8852 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8854 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8859 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8864 eval "$wx_cv_use_logwin"
8866 if test x"$enablestring" = xdisable; then
8867 if test $wxUSE_LOGWINDOW = yes; then
8873 result=$wxUSE_LOGWINDOW
8876 { echo "$as_me:$LINENO: result: $result" >&5
8877 echo "${ECHO_T}$result" >&6; }
8881 defaultval=$wxUSE_ALL_FEATURES
8882 if test -z "$defaultval"; then
8883 if test x"$enablestring" = xdisable; then
8890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8891 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8892 # Check whether --enable-logdialog was given.
8893 if test "${enable_logdialog+set}" = set; then
8894 enableval=$enable_logdialog;
8895 if test "$enableval" = yes; then
8896 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8898 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8903 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8908 eval "$wx_cv_use_logdialog"
8910 if test x"$enablestring" = xdisable; then
8911 if test $wxUSE_LOGDIALOG = yes; then
8917 result=$wxUSE_LOGDIALOG
8920 { echo "$as_me:$LINENO: result: $result" >&5
8921 echo "${ECHO_T}$result" >&6; }
8925 defaultval=$wxUSE_ALL_FEATURES
8926 if test -z "$defaultval"; then
8927 if test x"$enablestring" = xdisable; then
8934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8935 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8936 # Check whether --enable-webkit was given.
8937 if test "${enable_webkit+set}" = set; then
8938 enableval=$enable_webkit;
8939 if test "$enableval" = yes; then
8940 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8942 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8947 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8952 eval "$wx_cv_use_webkit"
8954 if test x"$enablestring" = xdisable; then
8955 if test $wxUSE_WEBKIT = yes; then
8961 result=$wxUSE_WEBKIT
8964 { echo "$as_me:$LINENO: result: $result" >&5
8965 echo "${ECHO_T}$result" >&6; }
8969 defaultval=$wxUSE_ALL_FEATURES
8970 if test -z "$defaultval"; then
8971 if test x"$enablestring" = xdisable; then
8978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8979 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8980 # Check whether --enable-richtext was given.
8981 if test "${enable_richtext+set}" = set; then
8982 enableval=$enable_richtext;
8983 if test "$enableval" = yes; then
8984 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8986 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8991 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8996 eval "$wx_cv_use_richtext"
8998 if test x"$enablestring" = xdisable; then
8999 if test $wxUSE_RICHTEXT = yes; then
9005 result=$wxUSE_RICHTEXT
9008 { echo "$as_me:$LINENO: result: $result" >&5
9009 echo "${ECHO_T}$result" >&6; }
9013 defaultval=$wxUSE_ALL_FEATURES
9014 if test -z "$defaultval"; then
9015 if test x"$enablestring" = xdisable; then
9022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9023 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9024 # Check whether --enable-graphics_ctx was given.
9025 if test "${enable_graphics_ctx+set}" = set; then
9026 enableval=$enable_graphics_ctx;
9027 if test "$enableval" = yes; then
9028 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9030 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9035 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9040 eval "$wx_cv_use_graphics_ctx"
9042 if test x"$enablestring" = xdisable; then
9043 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9049 result=$wxUSE_GRAPHICS_CONTEXT
9052 { echo "$as_me:$LINENO: result: $result" >&5
9053 echo "${ECHO_T}$result" >&6; }
9057 defaultval=$wxUSE_ALL_FEATURES
9058 if test -z "$defaultval"; then
9059 if test x"$enablestring" = xdisable; then
9066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9067 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9068 # Check whether --enable-postscript was given.
9069 if test "${enable_postscript+set}" = set; then
9070 enableval=$enable_postscript;
9071 if test "$enableval" = yes; then
9072 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9074 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9079 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9084 eval "$wx_cv_use_postscript"
9086 if test x"$enablestring" = xdisable; then
9087 if test $wxUSE_POSTSCRIPT = yes; then
9093 result=$wxUSE_POSTSCRIPT
9096 { echo "$as_me:$LINENO: result: $result" >&5
9097 echo "${ECHO_T}$result" >&6; }
9101 defaultval=$wxUSE_ALL_FEATURES
9102 if test -z "$defaultval"; then
9103 if test x"$enablestring" = xdisable; then
9110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9111 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9112 # Check whether --enable-svg was given.
9113 if test "${enable_svg+set}" = set; then
9114 enableval=$enable_svg;
9115 if test "$enableval" = yes; then
9116 wx_cv_use_svg='wxUSE_SVG=yes'
9118 wx_cv_use_svg='wxUSE_SVG=no'
9123 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9128 eval "$wx_cv_use_svg"
9130 if test x"$enablestring" = xdisable; then
9131 if test $wxUSE_SVG = yes; then
9140 { echo "$as_me:$LINENO: result: $result" >&5
9141 echo "${ECHO_T}$result" >&6; }
9147 defaultval=$wxUSE_ALL_FEATURES
9148 if test -z "$defaultval"; then
9149 if test x"$enablestring" = xdisable; then
9156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9157 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9158 # Check whether --enable-clipboard was given.
9159 if test "${enable_clipboard+set}" = set; then
9160 enableval=$enable_clipboard;
9161 if test "$enableval" = yes; then
9162 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9164 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9169 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9174 eval "$wx_cv_use_clipboard"
9176 if test x"$enablestring" = xdisable; then
9177 if test $wxUSE_CLIPBOARD = yes; then
9183 result=$wxUSE_CLIPBOARD
9186 { echo "$as_me:$LINENO: result: $result" >&5
9187 echo "${ECHO_T}$result" >&6; }
9191 defaultval=$wxUSE_ALL_FEATURES
9192 if test -z "$defaultval"; then
9193 if test x"$enablestring" = xdisable; then
9200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9201 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9202 # Check whether --enable-dnd was given.
9203 if test "${enable_dnd+set}" = set; then
9204 enableval=$enable_dnd;
9205 if test "$enableval" = yes; then
9206 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9208 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9213 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9218 eval "$wx_cv_use_dnd"
9220 if test x"$enablestring" = xdisable; then
9221 if test $wxUSE_DRAG_AND_DROP = yes; then
9227 result=$wxUSE_DRAG_AND_DROP
9230 { echo "$as_me:$LINENO: result: $result" >&5
9231 echo "${ECHO_T}$result" >&6; }
9235 defaultval=$wxUSE_ALL_FEATURES
9236 if test -z "$defaultval"; then
9237 if test x"$enablestring" = xdisable; then
9244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9245 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9246 # Check whether --enable-metafile was given.
9247 if test "${enable_metafile+set}" = set; then
9248 enableval=$enable_metafile;
9249 if test "$enableval" = yes; then
9250 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9252 wx_cv_use_metafile='wxUSE_METAFILE=no'
9257 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9262 eval "$wx_cv_use_metafile"
9264 if test x"$enablestring" = xdisable; then
9265 if test $wxUSE_METAFILE = yes; then
9271 result=$wxUSE_METAFILE
9274 { echo "$as_me:$LINENO: result: $result" >&5
9275 echo "${ECHO_T}$result" >&6; }
9279 DEFAULT_wxUSE_CONTROLS=none
9281 enablestring=disable
9283 if test -z "$defaultval"; then
9284 if test x"$enablestring" = xdisable; then
9291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9292 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9293 # Check whether --enable-controls was given.
9294 if test "${enable_controls+set}" = set; then
9295 enableval=$enable_controls;
9296 if test "$enableval" = yes; then
9297 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9299 wx_cv_use_controls='wxUSE_CONTROLS=no'
9304 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9309 eval "$wx_cv_use_controls"
9311 if test x"$enablestring" = xdisable; then
9312 if test $wxUSE_CONTROLS = yes; then
9318 result=$wxUSE_CONTROLS
9321 { echo "$as_me:$LINENO: result: $result" >&5
9322 echo "${ECHO_T}$result" >&6; }
9325 if test "$wxUSE_CONTROLS" = "yes"; then
9326 DEFAULT_wxUSE_ACCEL=yes
9327 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9328 DEFAULT_wxUSE_BMPBUTTON=yes
9329 DEFAULT_wxUSE_BUTTON=yes
9330 DEFAULT_wxUSE_CALCTRL=yes
9331 DEFAULT_wxUSE_CARET=yes
9332 DEFAULT_wxUSE_COMBOBOX=yes
9333 DEFAULT_wxUSE_CHECKBOX=yes
9334 DEFAULT_wxUSE_CHECKLISTBOX=yes
9335 DEFAULT_wxUSE_CHOICE=yes
9336 DEFAULT_wxUSE_CHOICEBOOK=yes
9337 DEFAULT_wxUSE_COLLPANE=yes
9338 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9339 DEFAULT_wxUSE_COMBOBOX=yes
9340 DEFAULT_wxUSE_DATEPICKCTRL=yes
9341 DEFAULT_wxUSE_DISPLAY=yes
9342 DEFAULT_wxUSE_DETECT_SM=yes
9343 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9344 DEFAULT_wxUSE_FILECTRL=yes
9345 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9346 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9347 DEFAULT_wxUSE_GAUGE=yes
9348 DEFAULT_wxUSE_GRID=yes
9349 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9350 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9351 DEFAULT_wxUSE_IMAGLIST=yes
9352 DEFAULT_wxUSE_LISTBOOK=yes
9353 DEFAULT_wxUSE_LISTBOX=yes
9354 DEFAULT_wxUSE_LISTCTRL=yes
9355 DEFAULT_wxUSE_NOTEBOOK=yes
9356 DEFAULT_wxUSE_RADIOBOX=yes
9357 DEFAULT_wxUSE_RADIOBTN=yes
9358 DEFAULT_wxUSE_SASH=yes
9359 DEFAULT_wxUSE_SCROLLBAR=yes
9360 DEFAULT_wxUSE_SEARCHCTRL=yes
9361 DEFAULT_wxUSE_SLIDER=yes
9362 DEFAULT_wxUSE_SPINBTN=yes
9363 DEFAULT_wxUSE_SPINCTRL=yes
9364 DEFAULT_wxUSE_SPLITTER=yes
9365 DEFAULT_wxUSE_STATBMP=yes
9366 DEFAULT_wxUSE_STATBOX=yes
9367 DEFAULT_wxUSE_STATLINE=yes
9368 DEFAULT_wxUSE_STATUSBAR=yes
9369 DEFAULT_wxUSE_TAB_DIALOG=yes
9370 DEFAULT_wxUSE_TOGGLEBTN=yes
9371 DEFAULT_wxUSE_TOOLBAR=yes
9372 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9373 DEFAULT_wxUSE_TOOLTIPS=yes
9374 DEFAULT_wxUSE_TREEBOOK=yes
9375 DEFAULT_wxUSE_TOOLBOOK=yes
9376 DEFAULT_wxUSE_TREECTRL=yes
9377 DEFAULT_wxUSE_POPUPWIN=yes
9378 DEFAULT_wxUSE_TIPWINDOW=yes
9379 elif test "$wxUSE_CONTROLS" = "no"; then
9380 DEFAULT_wxUSE_ACCEL=no
9381 DEFAULT_wxUSE_ANIMATIONCTRL=no
9382 DEFAULT_wxUSE_BMPBUTTON=no
9383 DEFAULT_wxUSE_BUTTON=no
9384 DEFAULT_wxUSE_CALCTRL=no
9385 DEFAULT_wxUSE_CARET=no
9386 DEFAULT_wxUSE_COLLPANE=no
9387 DEFAULT_wxUSE_COMBOBOX=no
9388 DEFAULT_wxUSE_CHECKBOX=no
9389 DEFAULT_wxUSE_CHECKLISTBOX=no
9390 DEFAULT_wxUSE_CHOICE=no
9391 DEFAULT_wxUSE_CHOICEBOOK=no
9392 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9393 DEFAULT_wxUSE_COMBOBOX=no
9394 DEFAULT_wxUSE_DATEPICKCTRL=no
9395 DEFAULT_wxUSE_DISPLAY=no
9396 DEFAULT_wxUSE_DETECT_SM=no
9397 DEFAULT_wxUSE_DIRPICKERCTRL=no
9398 DEFAULT_wxUSE_FILECTRL=no
9399 DEFAULT_wxUSE_FILEPICKERCTRL=no
9400 DEFAULT_wxUSE_FONTPICKERCTRL=no
9401 DEFAULT_wxUSE_GAUGE=no
9402 DEFAULT_wxUSE_GRID=no
9403 DEFAULT_wxUSE_HYPERLINKCTRL=no
9404 DEFAULT_wxUSE_DATAVIEWCTRL=no
9405 DEFAULT_wxUSE_IMAGLIST=no
9406 DEFAULT_wxUSE_LISTBOOK=no
9407 DEFAULT_wxUSE_LISTBOX=no
9408 DEFAULT_wxUSE_LISTCTRL=no
9409 DEFAULT_wxUSE_NOTEBOOK=no
9410 DEFAULT_wxUSE_RADIOBOX=no
9411 DEFAULT_wxUSE_RADIOBTN=no
9412 DEFAULT_wxUSE_SASH=no
9413 DEFAULT_wxUSE_SCROLLBAR=no
9414 DEFAULT_wxUSE_SEARCHCTRL=no
9415 DEFAULT_wxUSE_SLIDER=no
9416 DEFAULT_wxUSE_SPINBTN=no
9417 DEFAULT_wxUSE_SPINCTRL=no
9418 DEFAULT_wxUSE_SPLITTER=no
9419 DEFAULT_wxUSE_STATBMP=no
9420 DEFAULT_wxUSE_STATBOX=no
9421 DEFAULT_wxUSE_STATLINE=no
9422 DEFAULT_wxUSE_STATUSBAR=no
9423 DEFAULT_wxUSE_TAB_DIALOG=no
9424 DEFAULT_wxUSE_TOGGLEBTN=no
9425 DEFAULT_wxUSE_TOOLBAR=no
9426 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9427 DEFAULT_wxUSE_TOOLTIPS=no
9428 DEFAULT_wxUSE_TREEBOOK=no
9429 DEFAULT_wxUSE_TOOLBOOK=no
9430 DEFAULT_wxUSE_TREECTRL=no
9431 DEFAULT_wxUSE_POPUPWIN=no
9432 DEFAULT_wxUSE_TIPWINDOW=no
9437 defaultval=$wxUSE_ALL_FEATURES
9438 if test -z "$defaultval"; then
9439 if test x"$enablestring" = xdisable; then
9446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9447 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9448 # Check whether --enable-accel was given.
9449 if test "${enable_accel+set}" = set; then
9450 enableval=$enable_accel;
9451 if test "$enableval" = yes; then
9452 wx_cv_use_accel='wxUSE_ACCEL=yes'
9454 wx_cv_use_accel='wxUSE_ACCEL=no'
9459 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9464 eval "$wx_cv_use_accel"
9466 if test x"$enablestring" = xdisable; then
9467 if test $wxUSE_ACCEL = yes; then
9476 { echo "$as_me:$LINENO: result: $result" >&5
9477 echo "${ECHO_T}$result" >&6; }
9481 defaultval=$wxUSE_ALL_FEATURES
9482 if test -z "$defaultval"; then
9483 if test x"$enablestring" = xdisable; then
9490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9491 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9492 # Check whether --enable-animatectrl was given.
9493 if test "${enable_animatectrl+set}" = set; then
9494 enableval=$enable_animatectrl;
9495 if test "$enableval" = yes; then
9496 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9498 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9503 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9508 eval "$wx_cv_use_animatectrl"
9510 if test x"$enablestring" = xdisable; then
9511 if test $wxUSE_ANIMATIONCTRL = yes; then
9517 result=$wxUSE_ANIMATIONCTRL
9520 { echo "$as_me:$LINENO: result: $result" >&5
9521 echo "${ECHO_T}$result" >&6; }
9525 defaultval=$wxUSE_ALL_FEATURES
9526 if test -z "$defaultval"; then
9527 if test x"$enablestring" = xdisable; then
9534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9535 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9536 # Check whether --enable-button was given.
9537 if test "${enable_button+set}" = set; then
9538 enableval=$enable_button;
9539 if test "$enableval" = yes; then
9540 wx_cv_use_button='wxUSE_BUTTON=yes'
9542 wx_cv_use_button='wxUSE_BUTTON=no'
9547 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9552 eval "$wx_cv_use_button"
9554 if test x"$enablestring" = xdisable; then
9555 if test $wxUSE_BUTTON = yes; then
9561 result=$wxUSE_BUTTON
9564 { echo "$as_me:$LINENO: result: $result" >&5
9565 echo "${ECHO_T}$result" >&6; }
9569 defaultval=$wxUSE_ALL_FEATURES
9570 if test -z "$defaultval"; then
9571 if test x"$enablestring" = xdisable; then
9578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9579 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9580 # Check whether --enable-bmpbutton was given.
9581 if test "${enable_bmpbutton+set}" = set; then
9582 enableval=$enable_bmpbutton;
9583 if test "$enableval" = yes; then
9584 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9586 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9591 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9596 eval "$wx_cv_use_bmpbutton"
9598 if test x"$enablestring" = xdisable; then
9599 if test $wxUSE_BMPBUTTON = yes; then
9605 result=$wxUSE_BMPBUTTON
9608 { echo "$as_me:$LINENO: result: $result" >&5
9609 echo "${ECHO_T}$result" >&6; }
9613 defaultval=$wxUSE_ALL_FEATURES
9614 if test -z "$defaultval"; then
9615 if test x"$enablestring" = xdisable; then
9622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9623 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9624 # Check whether --enable-bmpcombobox was given.
9625 if test "${enable_bmpcombobox+set}" = set; then
9626 enableval=$enable_bmpcombobox;
9627 if test "$enableval" = yes; then
9628 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9630 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9635 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9640 eval "$wx_cv_use_bmpcombobox"
9642 if test x"$enablestring" = xdisable; then
9643 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9649 result=$wxUSE_BITMAPCOMBOBOX
9652 { echo "$as_me:$LINENO: result: $result" >&5
9653 echo "${ECHO_T}$result" >&6; }
9657 defaultval=$wxUSE_ALL_FEATURES
9658 if test -z "$defaultval"; then
9659 if test x"$enablestring" = xdisable; then
9666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9667 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9668 # Check whether --enable-calendar was given.
9669 if test "${enable_calendar+set}" = set; then
9670 enableval=$enable_calendar;
9671 if test "$enableval" = yes; then
9672 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9674 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9679 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9684 eval "$wx_cv_use_calendar"
9686 if test x"$enablestring" = xdisable; then
9687 if test $wxUSE_CALCTRL = yes; then
9693 result=$wxUSE_CALCTRL
9696 { echo "$as_me:$LINENO: result: $result" >&5
9697 echo "${ECHO_T}$result" >&6; }
9701 defaultval=$wxUSE_ALL_FEATURES
9702 if test -z "$defaultval"; then
9703 if test x"$enablestring" = xdisable; then
9710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9711 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9712 # Check whether --enable-caret was given.
9713 if test "${enable_caret+set}" = set; then
9714 enableval=$enable_caret;
9715 if test "$enableval" = yes; then
9716 wx_cv_use_caret='wxUSE_CARET=yes'
9718 wx_cv_use_caret='wxUSE_CARET=no'
9723 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9728 eval "$wx_cv_use_caret"
9730 if test x"$enablestring" = xdisable; then
9731 if test $wxUSE_CARET = yes; then
9740 { echo "$as_me:$LINENO: result: $result" >&5
9741 echo "${ECHO_T}$result" >&6; }
9745 defaultval=$wxUSE_ALL_FEATURES
9746 if test -z "$defaultval"; then
9747 if test x"$enablestring" = xdisable; then
9754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9755 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9756 # Check whether --enable-checkbox was given.
9757 if test "${enable_checkbox+set}" = set; then
9758 enableval=$enable_checkbox;
9759 if test "$enableval" = yes; then
9760 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9762 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9767 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9772 eval "$wx_cv_use_checkbox"
9774 if test x"$enablestring" = xdisable; then
9775 if test $wxUSE_CHECKBOX = yes; then
9781 result=$wxUSE_CHECKBOX
9784 { echo "$as_me:$LINENO: result: $result" >&5
9785 echo "${ECHO_T}$result" >&6; }
9789 defaultval=$wxUSE_ALL_FEATURES
9790 if test -z "$defaultval"; then
9791 if test x"$enablestring" = xdisable; then
9798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9799 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9800 # Check whether --enable-checklst was given.
9801 if test "${enable_checklst+set}" = set; then
9802 enableval=$enable_checklst;
9803 if test "$enableval" = yes; then
9804 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9806 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9811 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9816 eval "$wx_cv_use_checklst"
9818 if test x"$enablestring" = xdisable; then
9819 if test $wxUSE_CHECKLST = yes; then
9825 result=$wxUSE_CHECKLST
9828 { echo "$as_me:$LINENO: result: $result" >&5
9829 echo "${ECHO_T}$result" >&6; }
9833 defaultval=$wxUSE_ALL_FEATURES
9834 if test -z "$defaultval"; then
9835 if test x"$enablestring" = xdisable; then
9842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9843 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9844 # Check whether --enable-choice was given.
9845 if test "${enable_choice+set}" = set; then
9846 enableval=$enable_choice;
9847 if test "$enableval" = yes; then
9848 wx_cv_use_choice='wxUSE_CHOICE=yes'
9850 wx_cv_use_choice='wxUSE_CHOICE=no'
9855 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9860 eval "$wx_cv_use_choice"
9862 if test x"$enablestring" = xdisable; then
9863 if test $wxUSE_CHOICE = yes; then
9869 result=$wxUSE_CHOICE
9872 { echo "$as_me:$LINENO: result: $result" >&5
9873 echo "${ECHO_T}$result" >&6; }
9877 defaultval=$wxUSE_ALL_FEATURES
9878 if test -z "$defaultval"; then
9879 if test x"$enablestring" = xdisable; then
9886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9887 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9888 # Check whether --enable-choicebook was given.
9889 if test "${enable_choicebook+set}" = set; then
9890 enableval=$enable_choicebook;
9891 if test "$enableval" = yes; then
9892 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9894 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9899 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9904 eval "$wx_cv_use_choicebook"
9906 if test x"$enablestring" = xdisable; then
9907 if test $wxUSE_CHOICEBOOK = yes; then
9913 result=$wxUSE_CHOICEBOOK
9916 { echo "$as_me:$LINENO: result: $result" >&5
9917 echo "${ECHO_T}$result" >&6; }
9921 defaultval=$wxUSE_ALL_FEATURES
9922 if test -z "$defaultval"; then
9923 if test x"$enablestring" = xdisable; then
9930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9931 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9932 # Check whether --enable-collpane was given.
9933 if test "${enable_collpane+set}" = set; then
9934 enableval=$enable_collpane;
9935 if test "$enableval" = yes; then
9936 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9938 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9943 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9948 eval "$wx_cv_use_collpane"
9950 if test x"$enablestring" = xdisable; then
9951 if test $wxUSE_COLLPANE = yes; then
9957 result=$wxUSE_COLLPANE
9960 { echo "$as_me:$LINENO: result: $result" >&5
9961 echo "${ECHO_T}$result" >&6; }
9965 defaultval=$wxUSE_ALL_FEATURES
9966 if test -z "$defaultval"; then
9967 if test x"$enablestring" = xdisable; then
9974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9975 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9976 # Check whether --enable-colourpicker was given.
9977 if test "${enable_colourpicker+set}" = set; then
9978 enableval=$enable_colourpicker;
9979 if test "$enableval" = yes; then
9980 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9982 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9987 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
9992 eval "$wx_cv_use_colourpicker"
9994 if test x"$enablestring" = xdisable; then
9995 if test $wxUSE_COLOURPICKERCTRL = yes; then
10001 result=$wxUSE_COLOURPICKERCTRL
10004 { echo "$as_me:$LINENO: result: $result" >&5
10005 echo "${ECHO_T}$result" >&6; }
10009 defaultval=$wxUSE_ALL_FEATURES
10010 if test -z "$defaultval"; then
10011 if test x"$enablestring" = xdisable; then
10018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10019 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10020 # Check whether --enable-combobox was given.
10021 if test "${enable_combobox+set}" = set; then
10022 enableval=$enable_combobox;
10023 if test "$enableval" = yes; then
10024 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10026 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10031 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10036 eval "$wx_cv_use_combobox"
10038 if test x"$enablestring" = xdisable; then
10039 if test $wxUSE_COMBOBOX = yes; then
10045 result=$wxUSE_COMBOBOX
10048 { echo "$as_me:$LINENO: result: $result" >&5
10049 echo "${ECHO_T}$result" >&6; }
10053 defaultval=$wxUSE_ALL_FEATURES
10054 if test -z "$defaultval"; then
10055 if test x"$enablestring" = xdisable; then
10062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10063 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10064 # Check whether --enable-comboctrl was given.
10065 if test "${enable_comboctrl+set}" = set; then
10066 enableval=$enable_comboctrl;
10067 if test "$enableval" = yes; then
10068 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10070 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10075 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10080 eval "$wx_cv_use_comboctrl"
10082 if test x"$enablestring" = xdisable; then
10083 if test $wxUSE_COMBOCTRL = yes; then
10089 result=$wxUSE_COMBOCTRL
10092 { echo "$as_me:$LINENO: result: $result" >&5
10093 echo "${ECHO_T}$result" >&6; }
10097 defaultval=$wxUSE_ALL_FEATURES
10098 if test -z "$defaultval"; then
10099 if test x"$enablestring" = xdisable; then
10106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10107 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10108 # Check whether --enable-datepick was given.
10109 if test "${enable_datepick+set}" = set; then
10110 enableval=$enable_datepick;
10111 if test "$enableval" = yes; then
10112 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10114 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10119 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10124 eval "$wx_cv_use_datepick"
10126 if test x"$enablestring" = xdisable; then
10127 if test $wxUSE_DATEPICKCTRL = yes; then
10133 result=$wxUSE_DATEPICKCTRL
10136 { echo "$as_me:$LINENO: result: $result" >&5
10137 echo "${ECHO_T}$result" >&6; }
10141 defaultval=$wxUSE_ALL_FEATURES
10142 if test -z "$defaultval"; then
10143 if test x"$enablestring" = xdisable; then
10150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10151 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10152 # Check whether --enable-dirpicker was given.
10153 if test "${enable_dirpicker+set}" = set; then
10154 enableval=$enable_dirpicker;
10155 if test "$enableval" = yes; then
10156 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10158 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10163 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10168 eval "$wx_cv_use_dirpicker"
10170 if test x"$enablestring" = xdisable; then
10171 if test $wxUSE_DIRPICKERCTRL = yes; then
10177 result=$wxUSE_DIRPICKERCTRL
10180 { echo "$as_me:$LINENO: result: $result" >&5
10181 echo "${ECHO_T}$result" >&6; }
10185 defaultval=$wxUSE_ALL_FEATURES
10186 if test -z "$defaultval"; then
10187 if test x"$enablestring" = xdisable; then
10194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10195 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10196 # Check whether --enable-display was given.
10197 if test "${enable_display+set}" = set; then
10198 enableval=$enable_display;
10199 if test "$enableval" = yes; then
10200 wx_cv_use_display='wxUSE_DISPLAY=yes'
10202 wx_cv_use_display='wxUSE_DISPLAY=no'
10207 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10212 eval "$wx_cv_use_display"
10214 if test x"$enablestring" = xdisable; then
10215 if test $wxUSE_DISPLAY = yes; then
10221 result=$wxUSE_DISPLAY
10224 { echo "$as_me:$LINENO: result: $result" >&5
10225 echo "${ECHO_T}$result" >&6; }
10229 defaultval=$wxUSE_ALL_FEATURES
10230 if test -z "$defaultval"; then
10231 if test x"$enablestring" = xdisable; then
10238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10239 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10240 # Check whether --enable-detect_sm was given.
10241 if test "${enable_detect_sm+set}" = set; then
10242 enableval=$enable_detect_sm;
10243 if test "$enableval" = yes; then
10244 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10246 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10251 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10256 eval "$wx_cv_use_detect_sm"
10258 if test x"$enablestring" = xdisable; then
10259 if test $wxUSE_DETECT_SM = yes; then
10265 result=$wxUSE_DETECT_SM
10268 { echo "$as_me:$LINENO: result: $result" >&5
10269 echo "${ECHO_T}$result" >&6; }
10273 defaultval=$wxUSE_ALL_FEATURES
10274 if test -z "$defaultval"; then
10275 if test x"$enablestring" = xdisable; then
10282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10283 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10284 # Check whether --enable-editablebox was given.
10285 if test "${enable_editablebox+set}" = set; then
10286 enableval=$enable_editablebox;
10287 if test "$enableval" = yes; then
10288 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10290 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10295 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10300 eval "$wx_cv_use_editablebox"
10302 if test x"$enablestring" = xdisable; then
10303 if test $wxUSE_EDITABLELISTBOX = yes; then
10309 result=$wxUSE_EDITABLELISTBOX
10312 { echo "$as_me:$LINENO: result: $result" >&5
10313 echo "${ECHO_T}$result" >&6; }
10317 defaultval=$wxUSE_ALL_FEATURES
10318 if test -z "$defaultval"; then
10319 if test x"$enablestring" = xdisable; then
10326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10327 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10328 # Check whether --enable-filepicker was given.
10329 if test "${enable_filepicker+set}" = set; then
10330 enableval=$enable_filepicker;
10331 if test "$enableval" = yes; then
10332 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10334 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10339 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10344 eval "$wx_cv_use_filepicker"
10346 if test x"$enablestring" = xdisable; then
10347 if test $wxUSE_FILEPICKERCTRL = yes; then
10353 result=$wxUSE_FILEPICKERCTRL
10356 { echo "$as_me:$LINENO: result: $result" >&5
10357 echo "${ECHO_T}$result" >&6; }
10361 defaultval=$wxUSE_ALL_FEATURES
10362 if test -z "$defaultval"; then
10363 if test x"$enablestring" = xdisable; then
10370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10371 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10372 # Check whether --enable-filectrl was given.
10373 if test "${enable_filectrl+set}" = set; then
10374 enableval=$enable_filectrl;
10375 if test "$enableval" = yes; then
10376 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10378 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10383 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10388 eval "$wx_cv_use_filectrl"
10390 if test x"$enablestring" = xdisable; then
10391 if test $wxUSE_FILECTRL = yes; then
10397 result=$wxUSE_FILECTRL
10400 { echo "$as_me:$LINENO: result: $result" >&5
10401 echo "${ECHO_T}$result" >&6; }
10405 defaultval=$wxUSE_ALL_FEATURES
10406 if test -z "$defaultval"; then
10407 if test x"$enablestring" = xdisable; then
10414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10415 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10416 # Check whether --enable-fontpicker was given.
10417 if test "${enable_fontpicker+set}" = set; then
10418 enableval=$enable_fontpicker;
10419 if test "$enableval" = yes; then
10420 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10422 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10427 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10432 eval "$wx_cv_use_fontpicker"
10434 if test x"$enablestring" = xdisable; then
10435 if test $wxUSE_FONTPICKERCTRL = yes; then
10441 result=$wxUSE_FONTPICKERCTRL
10444 { echo "$as_me:$LINENO: result: $result" >&5
10445 echo "${ECHO_T}$result" >&6; }
10449 defaultval=$wxUSE_ALL_FEATURES
10450 if test -z "$defaultval"; then
10451 if test x"$enablestring" = xdisable; then
10458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10459 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10460 # Check whether --enable-gauge was given.
10461 if test "${enable_gauge+set}" = set; then
10462 enableval=$enable_gauge;
10463 if test "$enableval" = yes; then
10464 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10466 wx_cv_use_gauge='wxUSE_GAUGE=no'
10471 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10476 eval "$wx_cv_use_gauge"
10478 if test x"$enablestring" = xdisable; then
10479 if test $wxUSE_GAUGE = yes; then
10485 result=$wxUSE_GAUGE
10488 { echo "$as_me:$LINENO: result: $result" >&5
10489 echo "${ECHO_T}$result" >&6; }
10493 defaultval=$wxUSE_ALL_FEATURES
10494 if test -z "$defaultval"; then
10495 if test x"$enablestring" = xdisable; then
10502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10503 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10504 # Check whether --enable-grid was given.
10505 if test "${enable_grid+set}" = set; then
10506 enableval=$enable_grid;
10507 if test "$enableval" = yes; then
10508 wx_cv_use_grid='wxUSE_GRID=yes'
10510 wx_cv_use_grid='wxUSE_GRID=no'
10515 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10520 eval "$wx_cv_use_grid"
10522 if test x"$enablestring" = xdisable; then
10523 if test $wxUSE_GRID = yes; then
10532 { echo "$as_me:$LINENO: result: $result" >&5
10533 echo "${ECHO_T}$result" >&6; }
10537 defaultval=$wxUSE_ALL_FEATURES
10538 if test -z "$defaultval"; then
10539 if test x"$enablestring" = xdisable; then
10546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10547 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10548 # Check whether --enable-dataviewctrl was given.
10549 if test "${enable_dataviewctrl+set}" = set; then
10550 enableval=$enable_dataviewctrl;
10551 if test "$enableval" = yes; then
10552 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10554 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10559 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10564 eval "$wx_cv_use_dataviewctrl"
10566 if test x"$enablestring" = xdisable; then
10567 if test $wxUSE_DATAVIEWCTRL = yes; then
10573 result=$wxUSE_DATAVIEWCTRL
10576 { echo "$as_me:$LINENO: result: $result" >&5
10577 echo "${ECHO_T}$result" >&6; }
10581 defaultval=$wxUSE_ALL_FEATURES
10582 if test -z "$defaultval"; then
10583 if test x"$enablestring" = xdisable; then
10590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10591 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10592 # Check whether --enable-hyperlink was given.
10593 if test "${enable_hyperlink+set}" = set; then
10594 enableval=$enable_hyperlink;
10595 if test "$enableval" = yes; then
10596 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10598 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10603 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10608 eval "$wx_cv_use_hyperlink"
10610 if test x"$enablestring" = xdisable; then
10611 if test $wxUSE_HYPERLINKCTRL = yes; then
10617 result=$wxUSE_HYPERLINKCTRL
10620 { echo "$as_me:$LINENO: result: $result" >&5
10621 echo "${ECHO_T}$result" >&6; }
10625 defaultval=$wxUSE_ALL_FEATURES
10626 if test -z "$defaultval"; then
10627 if test x"$enablestring" = xdisable; then
10634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10635 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10636 # Check whether --enable-imaglist was given.
10637 if test "${enable_imaglist+set}" = set; then
10638 enableval=$enable_imaglist;
10639 if test "$enableval" = yes; then
10640 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10642 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10647 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10652 eval "$wx_cv_use_imaglist"
10654 if test x"$enablestring" = xdisable; then
10655 if test $wxUSE_IMAGLIST = yes; then
10661 result=$wxUSE_IMAGLIST
10664 { echo "$as_me:$LINENO: result: $result" >&5
10665 echo "${ECHO_T}$result" >&6; }
10669 defaultval=$wxUSE_ALL_FEATURES
10670 if test -z "$defaultval"; then
10671 if test x"$enablestring" = xdisable; then
10678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10679 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10680 # Check whether --enable-listbook was given.
10681 if test "${enable_listbook+set}" = set; then
10682 enableval=$enable_listbook;
10683 if test "$enableval" = yes; then
10684 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10686 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10691 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10696 eval "$wx_cv_use_listbook"
10698 if test x"$enablestring" = xdisable; then
10699 if test $wxUSE_LISTBOOK = yes; then
10705 result=$wxUSE_LISTBOOK
10708 { echo "$as_me:$LINENO: result: $result" >&5
10709 echo "${ECHO_T}$result" >&6; }
10713 defaultval=$wxUSE_ALL_FEATURES
10714 if test -z "$defaultval"; then
10715 if test x"$enablestring" = xdisable; then
10722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10723 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10724 # Check whether --enable-listbox was given.
10725 if test "${enable_listbox+set}" = set; then
10726 enableval=$enable_listbox;
10727 if test "$enableval" = yes; then
10728 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10730 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10735 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10740 eval "$wx_cv_use_listbox"
10742 if test x"$enablestring" = xdisable; then
10743 if test $wxUSE_LISTBOX = yes; then
10749 result=$wxUSE_LISTBOX
10752 { echo "$as_me:$LINENO: result: $result" >&5
10753 echo "${ECHO_T}$result" >&6; }
10757 defaultval=$wxUSE_ALL_FEATURES
10758 if test -z "$defaultval"; then
10759 if test x"$enablestring" = xdisable; then
10766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10767 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10768 # Check whether --enable-listctrl was given.
10769 if test "${enable_listctrl+set}" = set; then
10770 enableval=$enable_listctrl;
10771 if test "$enableval" = yes; then
10772 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10774 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10779 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10784 eval "$wx_cv_use_listctrl"
10786 if test x"$enablestring" = xdisable; then
10787 if test $wxUSE_LISTCTRL = yes; then
10793 result=$wxUSE_LISTCTRL
10796 { echo "$as_me:$LINENO: result: $result" >&5
10797 echo "${ECHO_T}$result" >&6; }
10801 defaultval=$wxUSE_ALL_FEATURES
10802 if test -z "$defaultval"; then
10803 if test x"$enablestring" = xdisable; then
10810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10811 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10812 # Check whether --enable-notebook was given.
10813 if test "${enable_notebook+set}" = set; then
10814 enableval=$enable_notebook;
10815 if test "$enableval" = yes; then
10816 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10818 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10823 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10828 eval "$wx_cv_use_notebook"
10830 if test x"$enablestring" = xdisable; then
10831 if test $wxUSE_NOTEBOOK = yes; then
10837 result=$wxUSE_NOTEBOOK
10840 { echo "$as_me:$LINENO: result: $result" >&5
10841 echo "${ECHO_T}$result" >&6; }
10845 defaultval=$wxUSE_ALL_FEATURES
10846 if test -z "$defaultval"; then
10847 if test x"$enablestring" = xdisable; then
10854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10855 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10856 # Check whether --enable-notifmsg was given.
10857 if test "${enable_notifmsg+set}" = set; then
10858 enableval=$enable_notifmsg;
10859 if test "$enableval" = yes; then
10860 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10862 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10867 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10872 eval "$wx_cv_use_notifmsg"
10874 if test x"$enablestring" = xdisable; then
10875 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10881 result=$wxUSE_NOTIFICATION_MESSAGE
10884 { echo "$as_me:$LINENO: result: $result" >&5
10885 echo "${ECHO_T}$result" >&6; }
10889 defaultval=$wxUSE_ALL_FEATURES
10890 if test -z "$defaultval"; then
10891 if test x"$enablestring" = xdisable; then
10898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10899 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10900 # Check whether --enable-odcombobox was given.
10901 if test "${enable_odcombobox+set}" = set; then
10902 enableval=$enable_odcombobox;
10903 if test "$enableval" = yes; then
10904 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10906 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10911 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10916 eval "$wx_cv_use_odcombobox"
10918 if test x"$enablestring" = xdisable; then
10919 if test $wxUSE_ODCOMBOBOX = yes; then
10925 result=$wxUSE_ODCOMBOBOX
10928 { echo "$as_me:$LINENO: result: $result" >&5
10929 echo "${ECHO_T}$result" >&6; }
10933 defaultval=$wxUSE_ALL_FEATURES
10934 if test -z "$defaultval"; then
10935 if test x"$enablestring" = xdisable; then
10942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10943 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10944 # Check whether --enable-radiobox was given.
10945 if test "${enable_radiobox+set}" = set; then
10946 enableval=$enable_radiobox;
10947 if test "$enableval" = yes; then
10948 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10950 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
10955 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
10960 eval "$wx_cv_use_radiobox"
10962 if test x"$enablestring" = xdisable; then
10963 if test $wxUSE_RADIOBOX = yes; then
10969 result=$wxUSE_RADIOBOX
10972 { echo "$as_me:$LINENO: result: $result" >&5
10973 echo "${ECHO_T}$result" >&6; }
10977 defaultval=$wxUSE_ALL_FEATURES
10978 if test -z "$defaultval"; then
10979 if test x"$enablestring" = xdisable; then
10986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10987 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10988 # Check whether --enable-radiobtn was given.
10989 if test "${enable_radiobtn+set}" = set; then
10990 enableval=$enable_radiobtn;
10991 if test "$enableval" = yes; then
10992 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10994 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10999 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11004 eval "$wx_cv_use_radiobtn"
11006 if test x"$enablestring" = xdisable; then
11007 if test $wxUSE_RADIOBTN = yes; then
11013 result=$wxUSE_RADIOBTN
11016 { echo "$as_me:$LINENO: result: $result" >&5
11017 echo "${ECHO_T}$result" >&6; }
11021 defaultval=$wxUSE_ALL_FEATURES
11022 if test -z "$defaultval"; then
11023 if test x"$enablestring" = xdisable; then
11030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11031 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11032 # Check whether --enable-sash was given.
11033 if test "${enable_sash+set}" = set; then
11034 enableval=$enable_sash;
11035 if test "$enableval" = yes; then
11036 wx_cv_use_sash='wxUSE_SASH=yes'
11038 wx_cv_use_sash='wxUSE_SASH=no'
11043 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11048 eval "$wx_cv_use_sash"
11050 if test x"$enablestring" = xdisable; then
11051 if test $wxUSE_SASH = yes; then
11060 { echo "$as_me:$LINENO: result: $result" >&5
11061 echo "${ECHO_T}$result" >&6; }
11065 defaultval=$wxUSE_ALL_FEATURES
11066 if test -z "$defaultval"; then
11067 if test x"$enablestring" = xdisable; then
11074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11075 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11076 # Check whether --enable-scrollbar was given.
11077 if test "${enable_scrollbar+set}" = set; then
11078 enableval=$enable_scrollbar;
11079 if test "$enableval" = yes; then
11080 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11082 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11087 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11092 eval "$wx_cv_use_scrollbar"
11094 if test x"$enablestring" = xdisable; then
11095 if test $wxUSE_SCROLLBAR = yes; then
11101 result=$wxUSE_SCROLLBAR
11104 { echo "$as_me:$LINENO: result: $result" >&5
11105 echo "${ECHO_T}$result" >&6; }
11109 defaultval=$wxUSE_ALL_FEATURES
11110 if test -z "$defaultval"; then
11111 if test x"$enablestring" = xdisable; then
11118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11119 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11120 # Check whether --enable-searchctrl was given.
11121 if test "${enable_searchctrl+set}" = set; then
11122 enableval=$enable_searchctrl;
11123 if test "$enableval" = yes; then
11124 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11126 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11131 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11136 eval "$wx_cv_use_searchctrl"
11138 if test x"$enablestring" = xdisable; then
11139 if test $wxUSE_SEARCHCTRL = yes; then
11145 result=$wxUSE_SEARCHCTRL
11148 { echo "$as_me:$LINENO: result: $result" >&5
11149 echo "${ECHO_T}$result" >&6; }
11153 defaultval=$wxUSE_ALL_FEATURES
11154 if test -z "$defaultval"; then
11155 if test x"$enablestring" = xdisable; then
11162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11163 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11164 # Check whether --enable-slider was given.
11165 if test "${enable_slider+set}" = set; then
11166 enableval=$enable_slider;
11167 if test "$enableval" = yes; then
11168 wx_cv_use_slider='wxUSE_SLIDER=yes'
11170 wx_cv_use_slider='wxUSE_SLIDER=no'
11175 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11180 eval "$wx_cv_use_slider"
11182 if test x"$enablestring" = xdisable; then
11183 if test $wxUSE_SLIDER = yes; then
11189 result=$wxUSE_SLIDER
11192 { echo "$as_me:$LINENO: result: $result" >&5
11193 echo "${ECHO_T}$result" >&6; }
11197 defaultval=$wxUSE_ALL_FEATURES
11198 if test -z "$defaultval"; then
11199 if test x"$enablestring" = xdisable; then
11206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11207 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11208 # Check whether --enable-spinbtn was given.
11209 if test "${enable_spinbtn+set}" = set; then
11210 enableval=$enable_spinbtn;
11211 if test "$enableval" = yes; then
11212 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11214 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11219 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11224 eval "$wx_cv_use_spinbtn"
11226 if test x"$enablestring" = xdisable; then
11227 if test $wxUSE_SPINBTN = yes; then
11233 result=$wxUSE_SPINBTN
11236 { echo "$as_me:$LINENO: result: $result" >&5
11237 echo "${ECHO_T}$result" >&6; }
11241 defaultval=$wxUSE_ALL_FEATURES
11242 if test -z "$defaultval"; then
11243 if test x"$enablestring" = xdisable; then
11250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11251 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11252 # Check whether --enable-spinctrl was given.
11253 if test "${enable_spinctrl+set}" = set; then
11254 enableval=$enable_spinctrl;
11255 if test "$enableval" = yes; then
11256 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11258 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11263 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11268 eval "$wx_cv_use_spinctrl"
11270 if test x"$enablestring" = xdisable; then
11271 if test $wxUSE_SPINCTRL = yes; then
11277 result=$wxUSE_SPINCTRL
11280 { echo "$as_me:$LINENO: result: $result" >&5
11281 echo "${ECHO_T}$result" >&6; }
11285 defaultval=$wxUSE_ALL_FEATURES
11286 if test -z "$defaultval"; then
11287 if test x"$enablestring" = xdisable; then
11294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11295 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11296 # Check whether --enable-splitter was given.
11297 if test "${enable_splitter+set}" = set; then
11298 enableval=$enable_splitter;
11299 if test "$enableval" = yes; then
11300 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11302 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11307 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11312 eval "$wx_cv_use_splitter"
11314 if test x"$enablestring" = xdisable; then
11315 if test $wxUSE_SPLITTER = yes; then
11321 result=$wxUSE_SPLITTER
11324 { echo "$as_me:$LINENO: result: $result" >&5
11325 echo "${ECHO_T}$result" >&6; }
11329 defaultval=$wxUSE_ALL_FEATURES
11330 if test -z "$defaultval"; then
11331 if test x"$enablestring" = xdisable; then
11338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11339 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11340 # Check whether --enable-statbmp was given.
11341 if test "${enable_statbmp+set}" = set; then
11342 enableval=$enable_statbmp;
11343 if test "$enableval" = yes; then
11344 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11346 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11351 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11356 eval "$wx_cv_use_statbmp"
11358 if test x"$enablestring" = xdisable; then
11359 if test $wxUSE_STATBMP = yes; then
11365 result=$wxUSE_STATBMP
11368 { echo "$as_me:$LINENO: result: $result" >&5
11369 echo "${ECHO_T}$result" >&6; }
11373 defaultval=$wxUSE_ALL_FEATURES
11374 if test -z "$defaultval"; then
11375 if test x"$enablestring" = xdisable; then
11382 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11383 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11384 # Check whether --enable-statbox was given.
11385 if test "${enable_statbox+set}" = set; then
11386 enableval=$enable_statbox;
11387 if test "$enableval" = yes; then
11388 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11390 wx_cv_use_statbox='wxUSE_STATBOX=no'
11395 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11400 eval "$wx_cv_use_statbox"
11402 if test x"$enablestring" = xdisable; then
11403 if test $wxUSE_STATBOX = yes; then
11409 result=$wxUSE_STATBOX
11412 { echo "$as_me:$LINENO: result: $result" >&5
11413 echo "${ECHO_T}$result" >&6; }
11417 defaultval=$wxUSE_ALL_FEATURES
11418 if test -z "$defaultval"; then
11419 if test x"$enablestring" = xdisable; then
11426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11427 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11428 # Check whether --enable-statline was given.
11429 if test "${enable_statline+set}" = set; then
11430 enableval=$enable_statline;
11431 if test "$enableval" = yes; then
11432 wx_cv_use_statline='wxUSE_STATLINE=yes'
11434 wx_cv_use_statline='wxUSE_STATLINE=no'
11439 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11444 eval "$wx_cv_use_statline"
11446 if test x"$enablestring" = xdisable; then
11447 if test $wxUSE_STATLINE = yes; then
11453 result=$wxUSE_STATLINE
11456 { echo "$as_me:$LINENO: result: $result" >&5
11457 echo "${ECHO_T}$result" >&6; }
11461 defaultval=$wxUSE_ALL_FEATURES
11462 if test -z "$defaultval"; then
11463 if test x"$enablestring" = xdisable; then
11470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11471 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11472 # Check whether --enable-stattext was given.
11473 if test "${enable_stattext+set}" = set; then
11474 enableval=$enable_stattext;
11475 if test "$enableval" = yes; then
11476 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11478 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11483 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11488 eval "$wx_cv_use_stattext"
11490 if test x"$enablestring" = xdisable; then
11491 if test $wxUSE_STATTEXT = yes; then
11497 result=$wxUSE_STATTEXT
11500 { echo "$as_me:$LINENO: result: $result" >&5
11501 echo "${ECHO_T}$result" >&6; }
11505 defaultval=$wxUSE_ALL_FEATURES
11506 if test -z "$defaultval"; then
11507 if test x"$enablestring" = xdisable; then
11514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11515 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11516 # Check whether --enable-statusbar was given.
11517 if test "${enable_statusbar+set}" = set; then
11518 enableval=$enable_statusbar;
11519 if test "$enableval" = yes; then
11520 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11522 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11527 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11532 eval "$wx_cv_use_statusbar"
11534 if test x"$enablestring" = xdisable; then
11535 if test $wxUSE_STATUSBAR = yes; then
11541 result=$wxUSE_STATUSBAR
11544 { echo "$as_me:$LINENO: result: $result" >&5
11545 echo "${ECHO_T}$result" >&6; }
11549 defaultval=$wxUSE_ALL_FEATURES
11550 if test -z "$defaultval"; then
11551 if test x"$enablestring" = xdisable; then
11558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11559 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11560 # Check whether --enable-tabdialog was given.
11561 if test "${enable_tabdialog+set}" = set; then
11562 enableval=$enable_tabdialog;
11563 if test "$enableval" = yes; then
11564 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11566 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11571 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11576 eval "$wx_cv_use_tabdialog"
11578 if test x"$enablestring" = xdisable; then
11579 if test $wxUSE_TAB_DIALOG = yes; then
11585 result=$wxUSE_TAB_DIALOG
11588 { echo "$as_me:$LINENO: result: $result" >&5
11589 echo "${ECHO_T}$result" >&6; }
11593 defaultval=$wxUSE_ALL_FEATURES
11594 if test -z "$defaultval"; then
11595 if test x"$enablestring" = xdisable; then
11602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11603 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11604 # Check whether --enable-taskbaricon was given.
11605 if test "${enable_taskbaricon+set}" = set; then
11606 enableval=$enable_taskbaricon;
11607 if test "$enableval" = yes; then
11608 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11610 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11615 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11620 eval "$wx_cv_use_taskbaricon"
11622 if test x"$enablestring" = xdisable; then
11623 if test $wxUSE_TASKBARICON = yes; then
11629 result=$wxUSE_TASKBARICON
11632 { echo "$as_me:$LINENO: result: $result" >&5
11633 echo "${ECHO_T}$result" >&6; }
11637 defaultval=$wxUSE_ALL_FEATURES
11638 if test -z "$defaultval"; then
11639 if test x"$enablestring" = xdisable; then
11646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11647 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11648 # Check whether --enable-textctrl was given.
11649 if test "${enable_textctrl+set}" = set; then
11650 enableval=$enable_textctrl;
11651 if test "$enableval" = yes; then
11652 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11654 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11659 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11664 eval "$wx_cv_use_textctrl"
11666 if test x"$enablestring" = xdisable; then
11667 if test $wxUSE_TEXTCTRL = yes; then
11673 result=$wxUSE_TEXTCTRL
11676 { echo "$as_me:$LINENO: result: $result" >&5
11677 echo "${ECHO_T}$result" >&6; }
11681 defaultval=$wxUSE_ALL_FEATURES
11682 if test -z "$defaultval"; then
11683 if test x"$enablestring" = xdisable; then
11690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11691 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11692 # Check whether --enable-togglebtn was given.
11693 if test "${enable_togglebtn+set}" = set; then
11694 enableval=$enable_togglebtn;
11695 if test "$enableval" = yes; then
11696 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11698 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11703 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11708 eval "$wx_cv_use_togglebtn"
11710 if test x"$enablestring" = xdisable; then
11711 if test $wxUSE_TOGGLEBTN = yes; then
11717 result=$wxUSE_TOGGLEBTN
11720 { echo "$as_me:$LINENO: result: $result" >&5
11721 echo "${ECHO_T}$result" >&6; }
11725 defaultval=$wxUSE_ALL_FEATURES
11726 if test -z "$defaultval"; then
11727 if test x"$enablestring" = xdisable; then
11734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11735 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11736 # Check whether --enable-toolbar was given.
11737 if test "${enable_toolbar+set}" = set; then
11738 enableval=$enable_toolbar;
11739 if test "$enableval" = yes; then
11740 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11742 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11747 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11752 eval "$wx_cv_use_toolbar"
11754 if test x"$enablestring" = xdisable; then
11755 if test $wxUSE_TOOLBAR = yes; then
11761 result=$wxUSE_TOOLBAR
11764 { echo "$as_me:$LINENO: result: $result" >&5
11765 echo "${ECHO_T}$result" >&6; }
11769 defaultval=$wxUSE_ALL_FEATURES
11770 if test -z "$defaultval"; then
11771 if test x"$enablestring" = xdisable; then
11778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11779 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11780 # Check whether --enable-tbarnative was given.
11781 if test "${enable_tbarnative+set}" = set; then
11782 enableval=$enable_tbarnative;
11783 if test "$enableval" = yes; then
11784 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11786 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11791 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11796 eval "$wx_cv_use_tbarnative"
11798 if test x"$enablestring" = xdisable; then
11799 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11805 result=$wxUSE_TOOLBAR_NATIVE
11808 { echo "$as_me:$LINENO: result: $result" >&5
11809 echo "${ECHO_T}$result" >&6; }
11813 defaultval=$wxUSE_ALL_FEATURES
11814 if test -z "$defaultval"; then
11815 if test x"$enablestring" = xdisable; then
11822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11823 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11824 # Check whether --enable-treebook was given.
11825 if test "${enable_treebook+set}" = set; then
11826 enableval=$enable_treebook;
11827 if test "$enableval" = yes; then
11828 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11830 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11835 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11840 eval "$wx_cv_use_treebook"
11842 if test x"$enablestring" = xdisable; then
11843 if test $wxUSE_TREEBOOK = yes; then
11849 result=$wxUSE_TREEBOOK
11852 { echo "$as_me:$LINENO: result: $result" >&5
11853 echo "${ECHO_T}$result" >&6; }
11857 defaultval=$wxUSE_ALL_FEATURES
11858 if test -z "$defaultval"; then
11859 if test x"$enablestring" = xdisable; then
11866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11867 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11868 # Check whether --enable-toolbook was given.
11869 if test "${enable_toolbook+set}" = set; then
11870 enableval=$enable_toolbook;
11871 if test "$enableval" = yes; then
11872 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11874 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11879 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11884 eval "$wx_cv_use_toolbook"
11886 if test x"$enablestring" = xdisable; then
11887 if test $wxUSE_TOOLBOOK = yes; then
11893 result=$wxUSE_TOOLBOOK
11896 { echo "$as_me:$LINENO: result: $result" >&5
11897 echo "${ECHO_T}$result" >&6; }
11901 defaultval=$wxUSE_ALL_FEATURES
11902 if test -z "$defaultval"; then
11903 if test x"$enablestring" = xdisable; then
11910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11911 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11912 # Check whether --enable-treectrl was given.
11913 if test "${enable_treectrl+set}" = set; then
11914 enableval=$enable_treectrl;
11915 if test "$enableval" = yes; then
11916 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11918 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11923 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11928 eval "$wx_cv_use_treectrl"
11930 if test x"$enablestring" = xdisable; then
11931 if test $wxUSE_TREECTRL = yes; then
11937 result=$wxUSE_TREECTRL
11940 { echo "$as_me:$LINENO: result: $result" >&5
11941 echo "${ECHO_T}$result" >&6; }
11945 defaultval=$wxUSE_ALL_FEATURES
11946 if test -z "$defaultval"; then
11947 if test x"$enablestring" = xdisable; then
11954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11955 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11956 # Check whether --enable-tipwindow was given.
11957 if test "${enable_tipwindow+set}" = set; then
11958 enableval=$enable_tipwindow;
11959 if test "$enableval" = yes; then
11960 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11962 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11967 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11972 eval "$wx_cv_use_tipwindow"
11974 if test x"$enablestring" = xdisable; then
11975 if test $wxUSE_TIPWINDOW = yes; then
11981 result=$wxUSE_TIPWINDOW
11984 { echo "$as_me:$LINENO: result: $result" >&5
11985 echo "${ECHO_T}$result" >&6; }
11989 defaultval=$wxUSE_ALL_FEATURES
11990 if test -z "$defaultval"; then
11991 if test x"$enablestring" = xdisable; then
11998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11999 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12000 # Check whether --enable-popupwin was given.
12001 if test "${enable_popupwin+set}" = set; then
12002 enableval=$enable_popupwin;
12003 if test "$enableval" = yes; then
12004 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12006 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12011 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12016 eval "$wx_cv_use_popupwin"
12018 if test x"$enablestring" = xdisable; then
12019 if test $wxUSE_POPUPWIN = yes; then
12025 result=$wxUSE_POPUPWIN
12028 { echo "$as_me:$LINENO: result: $result" >&5
12029 echo "${ECHO_T}$result" >&6; }
12035 defaultval=$wxUSE_ALL_FEATURES
12036 if test -z "$defaultval"; then
12037 if test x"$enablestring" = xdisable; then
12044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12045 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12046 # Check whether --enable-commondlg was given.
12047 if test "${enable_commondlg+set}" = set; then
12048 enableval=$enable_commondlg;
12049 if test "$enableval" = yes; then
12050 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12052 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12057 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12062 eval "$wx_cv_use_commondlg"
12064 if test x"$enablestring" = xdisable; then
12065 if test $wxUSE_COMMONDLGS = yes; then
12071 result=$wxUSE_COMMONDLGS
12074 { echo "$as_me:$LINENO: result: $result" >&5
12075 echo "${ECHO_T}$result" >&6; }
12079 defaultval=$wxUSE_ALL_FEATURES
12080 if test -z "$defaultval"; then
12081 if test x"$enablestring" = xdisable; then
12088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12089 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12090 # Check whether --enable-aboutdlg was given.
12091 if test "${enable_aboutdlg+set}" = set; then
12092 enableval=$enable_aboutdlg;
12093 if test "$enableval" = yes; then
12094 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12096 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12101 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12106 eval "$wx_cv_use_aboutdlg"
12108 if test x"$enablestring" = xdisable; then
12109 if test $wxUSE_ABOUTDLG = yes; then
12115 result=$wxUSE_ABOUTDLG
12118 { echo "$as_me:$LINENO: result: $result" >&5
12119 echo "${ECHO_T}$result" >&6; }
12123 defaultval=$wxUSE_ALL_FEATURES
12124 if test -z "$defaultval"; then
12125 if test x"$enablestring" = xdisable; then
12132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12133 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12134 # Check whether --enable-choicedlg was given.
12135 if test "${enable_choicedlg+set}" = set; then
12136 enableval=$enable_choicedlg;
12137 if test "$enableval" = yes; then
12138 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12140 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12145 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12150 eval "$wx_cv_use_choicedlg"
12152 if test x"$enablestring" = xdisable; then
12153 if test $wxUSE_CHOICEDLG = yes; then
12159 result=$wxUSE_CHOICEDLG
12162 { echo "$as_me:$LINENO: result: $result" >&5
12163 echo "${ECHO_T}$result" >&6; }
12167 defaultval=$wxUSE_ALL_FEATURES
12168 if test -z "$defaultval"; then
12169 if test x"$enablestring" = xdisable; then
12176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12177 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12178 # Check whether --enable-coldlg was given.
12179 if test "${enable_coldlg+set}" = set; then
12180 enableval=$enable_coldlg;
12181 if test "$enableval" = yes; then
12182 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12184 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12189 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12194 eval "$wx_cv_use_coldlg"
12196 if test x"$enablestring" = xdisable; then
12197 if test $wxUSE_COLOURDLG = yes; then
12203 result=$wxUSE_COLOURDLG
12206 { echo "$as_me:$LINENO: result: $result" >&5
12207 echo "${ECHO_T}$result" >&6; }
12211 defaultval=$wxUSE_ALL_FEATURES
12212 if test -z "$defaultval"; then
12213 if test x"$enablestring" = xdisable; then
12220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12221 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12222 # Check whether --enable-filedlg was given.
12223 if test "${enable_filedlg+set}" = set; then
12224 enableval=$enable_filedlg;
12225 if test "$enableval" = yes; then
12226 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12228 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12233 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12238 eval "$wx_cv_use_filedlg"
12240 if test x"$enablestring" = xdisable; then
12241 if test $wxUSE_FILEDLG = yes; then
12247 result=$wxUSE_FILEDLG
12250 { echo "$as_me:$LINENO: result: $result" >&5
12251 echo "${ECHO_T}$result" >&6; }
12255 defaultval=$wxUSE_ALL_FEATURES
12256 if test -z "$defaultval"; then
12257 if test x"$enablestring" = xdisable; then
12264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12265 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12266 # Check whether --enable-finddlg was given.
12267 if test "${enable_finddlg+set}" = set; then
12268 enableval=$enable_finddlg;
12269 if test "$enableval" = yes; then
12270 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12272 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12277 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12282 eval "$wx_cv_use_finddlg"
12284 if test x"$enablestring" = xdisable; then
12285 if test $wxUSE_FINDREPLDLG = yes; then
12291 result=$wxUSE_FINDREPLDLG
12294 { echo "$as_me:$LINENO: result: $result" >&5
12295 echo "${ECHO_T}$result" >&6; }
12299 defaultval=$wxUSE_ALL_FEATURES
12300 if test -z "$defaultval"; then
12301 if test x"$enablestring" = xdisable; then
12308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12309 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12310 # Check whether --enable-fontdlg was given.
12311 if test "${enable_fontdlg+set}" = set; then
12312 enableval=$enable_fontdlg;
12313 if test "$enableval" = yes; then
12314 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12316 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12321 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12326 eval "$wx_cv_use_fontdlg"
12328 if test x"$enablestring" = xdisable; then
12329 if test $wxUSE_FONTDLG = yes; then
12335 result=$wxUSE_FONTDLG
12338 { echo "$as_me:$LINENO: result: $result" >&5
12339 echo "${ECHO_T}$result" >&6; }
12343 defaultval=$wxUSE_ALL_FEATURES
12344 if test -z "$defaultval"; then
12345 if test x"$enablestring" = xdisable; then
12352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12353 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12354 # Check whether --enable-dirdlg was given.
12355 if test "${enable_dirdlg+set}" = set; then
12356 enableval=$enable_dirdlg;
12357 if test "$enableval" = yes; then
12358 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12360 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12365 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12370 eval "$wx_cv_use_dirdlg"
12372 if test x"$enablestring" = xdisable; then
12373 if test $wxUSE_DIRDLG = yes; then
12379 result=$wxUSE_DIRDLG
12382 { echo "$as_me:$LINENO: result: $result" >&5
12383 echo "${ECHO_T}$result" >&6; }
12387 defaultval=$wxUSE_ALL_FEATURES
12388 if test -z "$defaultval"; then
12389 if test x"$enablestring" = xdisable; then
12396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12397 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12398 # Check whether --enable-msgdlg was given.
12399 if test "${enable_msgdlg+set}" = set; then
12400 enableval=$enable_msgdlg;
12401 if test "$enableval" = yes; then
12402 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12404 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12409 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12414 eval "$wx_cv_use_msgdlg"
12416 if test x"$enablestring" = xdisable; then
12417 if test $wxUSE_MSGDLG = yes; then
12423 result=$wxUSE_MSGDLG
12426 { echo "$as_me:$LINENO: result: $result" >&5
12427 echo "${ECHO_T}$result" >&6; }
12431 defaultval=$wxUSE_ALL_FEATURES
12432 if test -z "$defaultval"; then
12433 if test x"$enablestring" = xdisable; then
12440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12441 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12442 # Check whether --enable-numberdlg was given.
12443 if test "${enable_numberdlg+set}" = set; then
12444 enableval=$enable_numberdlg;
12445 if test "$enableval" = yes; then
12446 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12448 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12453 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12458 eval "$wx_cv_use_numberdlg"
12460 if test x"$enablestring" = xdisable; then
12461 if test $wxUSE_NUMBERDLG = yes; then
12467 result=$wxUSE_NUMBERDLG
12470 { echo "$as_me:$LINENO: result: $result" >&5
12471 echo "${ECHO_T}$result" >&6; }
12475 defaultval=$wxUSE_ALL_FEATURES
12476 if test -z "$defaultval"; then
12477 if test x"$enablestring" = xdisable; then
12484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12485 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12486 # Check whether --enable-splash was given.
12487 if test "${enable_splash+set}" = set; then
12488 enableval=$enable_splash;
12489 if test "$enableval" = yes; then
12490 wx_cv_use_splash='wxUSE_SPLASH=yes'
12492 wx_cv_use_splash='wxUSE_SPLASH=no'
12497 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12502 eval "$wx_cv_use_splash"
12504 if test x"$enablestring" = xdisable; then
12505 if test $wxUSE_SPLASH = yes; then
12511 result=$wxUSE_SPLASH
12514 { echo "$as_me:$LINENO: result: $result" >&5
12515 echo "${ECHO_T}$result" >&6; }
12519 defaultval=$wxUSE_ALL_FEATURES
12520 if test -z "$defaultval"; then
12521 if test x"$enablestring" = xdisable; then
12528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12529 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12530 # Check whether --enable-textdlg was given.
12531 if test "${enable_textdlg+set}" = set; then
12532 enableval=$enable_textdlg;
12533 if test "$enableval" = yes; then
12534 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12536 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12541 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12546 eval "$wx_cv_use_textdlg"
12548 if test x"$enablestring" = xdisable; then
12549 if test $wxUSE_TEXTDLG = yes; then
12555 result=$wxUSE_TEXTDLG
12558 { echo "$as_me:$LINENO: result: $result" >&5
12559 echo "${ECHO_T}$result" >&6; }
12563 defaultval=$wxUSE_ALL_FEATURES
12564 if test -z "$defaultval"; then
12565 if test x"$enablestring" = xdisable; then
12572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12573 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12574 # Check whether --enable-tipdlg was given.
12575 if test "${enable_tipdlg+set}" = set; then
12576 enableval=$enable_tipdlg;
12577 if test "$enableval" = yes; then
12578 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12580 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12585 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12590 eval "$wx_cv_use_tipdlg"
12592 if test x"$enablestring" = xdisable; then
12593 if test $wxUSE_STARTUP_TIPS = yes; then
12599 result=$wxUSE_STARTUP_TIPS
12602 { echo "$as_me:$LINENO: result: $result" >&5
12603 echo "${ECHO_T}$result" >&6; }
12607 defaultval=$wxUSE_ALL_FEATURES
12608 if test -z "$defaultval"; then
12609 if test x"$enablestring" = xdisable; then
12616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12617 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12618 # Check whether --enable-progressdlg was given.
12619 if test "${enable_progressdlg+set}" = set; then
12620 enableval=$enable_progressdlg;
12621 if test "$enableval" = yes; then
12622 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12624 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12629 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12634 eval "$wx_cv_use_progressdlg"
12636 if test x"$enablestring" = xdisable; then
12637 if test $wxUSE_PROGRESSDLG = yes; then
12643 result=$wxUSE_PROGRESSDLG
12646 { echo "$as_me:$LINENO: result: $result" >&5
12647 echo "${ECHO_T}$result" >&6; }
12651 defaultval=$wxUSE_ALL_FEATURES
12652 if test -z "$defaultval"; then
12653 if test x"$enablestring" = xdisable; then
12660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12661 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12662 # Check whether --enable-wizarddlg was given.
12663 if test "${enable_wizarddlg+set}" = set; then
12664 enableval=$enable_wizarddlg;
12665 if test "$enableval" = yes; then
12666 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12668 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12673 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12678 eval "$wx_cv_use_wizarddlg"
12680 if test x"$enablestring" = xdisable; then
12681 if test $wxUSE_WIZARDDLG = yes; then
12687 result=$wxUSE_WIZARDDLG
12690 { echo "$as_me:$LINENO: result: $result" >&5
12691 echo "${ECHO_T}$result" >&6; }
12697 defaultval=$wxUSE_ALL_FEATURES
12698 if test -z "$defaultval"; then
12699 if test x"$enablestring" = xdisable; then
12706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12707 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12708 # Check whether --enable-menus was given.
12709 if test "${enable_menus+set}" = set; then
12710 enableval=$enable_menus;
12711 if test "$enableval" = yes; then
12712 wx_cv_use_menus='wxUSE_MENUS=yes'
12714 wx_cv_use_menus='wxUSE_MENUS=no'
12719 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12724 eval "$wx_cv_use_menus"
12726 if test x"$enablestring" = xdisable; then
12727 if test $wxUSE_MENUS = yes; then
12733 result=$wxUSE_MENUS
12736 { echo "$as_me:$LINENO: result: $result" >&5
12737 echo "${ECHO_T}$result" >&6; }
12741 defaultval=$wxUSE_ALL_FEATURES
12742 if test -z "$defaultval"; then
12743 if test x"$enablestring" = xdisable; then
12750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12751 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12752 # Check whether --enable-miniframe was given.
12753 if test "${enable_miniframe+set}" = set; then
12754 enableval=$enable_miniframe;
12755 if test "$enableval" = yes; then
12756 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12758 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12763 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12768 eval "$wx_cv_use_miniframe"
12770 if test x"$enablestring" = xdisable; then
12771 if test $wxUSE_MINIFRAME = yes; then
12777 result=$wxUSE_MINIFRAME
12780 { echo "$as_me:$LINENO: result: $result" >&5
12781 echo "${ECHO_T}$result" >&6; }
12785 defaultval=$wxUSE_ALL_FEATURES
12786 if test -z "$defaultval"; then
12787 if test x"$enablestring" = xdisable; then
12794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12795 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12796 # Check whether --enable-tooltips was given.
12797 if test "${enable_tooltips+set}" = set; then
12798 enableval=$enable_tooltips;
12799 if test "$enableval" = yes; then
12800 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12802 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12807 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12812 eval "$wx_cv_use_tooltips"
12814 if test x"$enablestring" = xdisable; then
12815 if test $wxUSE_TOOLTIPS = yes; then
12821 result=$wxUSE_TOOLTIPS
12824 { echo "$as_me:$LINENO: result: $result" >&5
12825 echo "${ECHO_T}$result" >&6; }
12829 defaultval=$wxUSE_ALL_FEATURES
12830 if test -z "$defaultval"; then
12831 if test x"$enablestring" = xdisable; then
12838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12839 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12840 # Check whether --enable-splines was given.
12841 if test "${enable_splines+set}" = set; then
12842 enableval=$enable_splines;
12843 if test "$enableval" = yes; then
12844 wx_cv_use_splines='wxUSE_SPLINES=yes'
12846 wx_cv_use_splines='wxUSE_SPLINES=no'
12851 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12856 eval "$wx_cv_use_splines"
12858 if test x"$enablestring" = xdisable; then
12859 if test $wxUSE_SPLINES = yes; then
12865 result=$wxUSE_SPLINES
12868 { echo "$as_me:$LINENO: result: $result" >&5
12869 echo "${ECHO_T}$result" >&6; }
12873 defaultval=$wxUSE_ALL_FEATURES
12874 if test -z "$defaultval"; then
12875 if test x"$enablestring" = xdisable; then
12882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12883 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12884 # Check whether --enable-mousewheel was given.
12885 if test "${enable_mousewheel+set}" = set; then
12886 enableval=$enable_mousewheel;
12887 if test "$enableval" = yes; then
12888 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12890 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12895 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12900 eval "$wx_cv_use_mousewheel"
12902 if test x"$enablestring" = xdisable; then
12903 if test $wxUSE_MOUSEWHEEL = yes; then
12909 result=$wxUSE_MOUSEWHEEL
12912 { echo "$as_me:$LINENO: result: $result" >&5
12913 echo "${ECHO_T}$result" >&6; }
12917 defaultval=$wxUSE_ALL_FEATURES
12918 if test -z "$defaultval"; then
12919 if test x"$enablestring" = xdisable; then
12926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12927 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12928 # Check whether --enable-validators was given.
12929 if test "${enable_validators+set}" = set; then
12930 enableval=$enable_validators;
12931 if test "$enableval" = yes; then
12932 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12934 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12939 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12944 eval "$wx_cv_use_validators"
12946 if test x"$enablestring" = xdisable; then
12947 if test $wxUSE_VALIDATORS = yes; then
12953 result=$wxUSE_VALIDATORS
12956 { echo "$as_me:$LINENO: result: $result" >&5
12957 echo "${ECHO_T}$result" >&6; }
12961 defaultval=$wxUSE_ALL_FEATURES
12962 if test -z "$defaultval"; then
12963 if test x"$enablestring" = xdisable; then
12970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12971 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12972 # Check whether --enable-busyinfo was given.
12973 if test "${enable_busyinfo+set}" = set; then
12974 enableval=$enable_busyinfo;
12975 if test "$enableval" = yes; then
12976 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12978 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12983 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
12988 eval "$wx_cv_use_busyinfo"
12990 if test x"$enablestring" = xdisable; then
12991 if test $wxUSE_BUSYINFO = yes; then
12997 result=$wxUSE_BUSYINFO
13000 { echo "$as_me:$LINENO: result: $result" >&5
13001 echo "${ECHO_T}$result" >&6; }
13005 defaultval=$wxUSE_ALL_FEATURES
13006 if test -z "$defaultval"; then
13007 if test x"$enablestring" = xdisable; then
13014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13015 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13016 # Check whether --enable-joystick was given.
13017 if test "${enable_joystick+set}" = set; then
13018 enableval=$enable_joystick;
13019 if test "$enableval" = yes; then
13020 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13022 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13027 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13032 eval "$wx_cv_use_joystick"
13034 if test x"$enablestring" = xdisable; then
13035 if test $wxUSE_JOYSTICK = yes; then
13041 result=$wxUSE_JOYSTICK
13044 { echo "$as_me:$LINENO: result: $result" >&5
13045 echo "${ECHO_T}$result" >&6; }
13049 defaultval=$wxUSE_ALL_FEATURES
13050 if test -z "$defaultval"; then
13051 if test x"$enablestring" = xdisable; then
13058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13059 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13060 # Check whether --enable-metafile was given.
13061 if test "${enable_metafile+set}" = set; then
13062 enableval=$enable_metafile;
13063 if test "$enableval" = yes; then
13064 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13066 wx_cv_use_metafile='wxUSE_METAFILE=no'
13071 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13076 eval "$wx_cv_use_metafile"
13078 if test x"$enablestring" = xdisable; then
13079 if test $wxUSE_METAFILE = yes; then
13085 result=$wxUSE_METAFILE
13088 { echo "$as_me:$LINENO: result: $result" >&5
13089 echo "${ECHO_T}$result" >&6; }
13093 defaultval=$wxUSE_ALL_FEATURES
13094 if test -z "$defaultval"; then
13095 if test x"$enablestring" = xdisable; then
13102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13103 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13104 # Check whether --enable-dragimage was given.
13105 if test "${enable_dragimage+set}" = set; then
13106 enableval=$enable_dragimage;
13107 if test "$enableval" = yes; then
13108 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13110 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13115 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13120 eval "$wx_cv_use_dragimage"
13122 if test x"$enablestring" = xdisable; then
13123 if test $wxUSE_DRAGIMAGE = yes; then
13129 result=$wxUSE_DRAGIMAGE
13132 { echo "$as_me:$LINENO: result: $result" >&5
13133 echo "${ECHO_T}$result" >&6; }
13137 defaultval=$wxUSE_ALL_FEATURES
13138 if test -z "$defaultval"; then
13139 if test x"$enablestring" = xdisable; then
13146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13147 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13148 # Check whether --enable-accessibility was given.
13149 if test "${enable_accessibility+set}" = set; then
13150 enableval=$enable_accessibility;
13151 if test "$enableval" = yes; then
13152 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13154 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13159 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13164 eval "$wx_cv_use_accessibility"
13166 if test x"$enablestring" = xdisable; then
13167 if test $wxUSE_ACCESSIBILITY = yes; then
13173 result=$wxUSE_ACCESSIBILITY
13176 { echo "$as_me:$LINENO: result: $result" >&5
13177 echo "${ECHO_T}$result" >&6; }
13183 defaultval=$wxUSE_ALL_FEATURES
13184 if test -z "$defaultval"; then
13185 if test x"$enablestring" = xdisable; then
13192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13193 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13194 # Check whether --enable-palette was given.
13195 if test "${enable_palette+set}" = set; then
13196 enableval=$enable_palette;
13197 if test "$enableval" = yes; then
13198 wx_cv_use_palette='wxUSE_PALETTE=yes'
13200 wx_cv_use_palette='wxUSE_PALETTE=no'
13205 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13210 eval "$wx_cv_use_palette"
13212 if test x"$enablestring" = xdisable; then
13213 if test $wxUSE_PALETTE = yes; then
13219 result=$wxUSE_PALETTE
13222 { echo "$as_me:$LINENO: result: $result" >&5
13223 echo "${ECHO_T}$result" >&6; }
13227 defaultval=$wxUSE_ALL_FEATURES
13228 if test -z "$defaultval"; then
13229 if test x"$enablestring" = xdisable; then
13236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13237 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13238 # Check whether --enable-image was given.
13239 if test "${enable_image+set}" = set; then
13240 enableval=$enable_image;
13241 if test "$enableval" = yes; then
13242 wx_cv_use_image='wxUSE_IMAGE=yes'
13244 wx_cv_use_image='wxUSE_IMAGE=no'
13249 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13254 eval "$wx_cv_use_image"
13256 if test x"$enablestring" = xdisable; then
13257 if test $wxUSE_IMAGE = yes; then
13263 result=$wxUSE_IMAGE
13266 { echo "$as_me:$LINENO: result: $result" >&5
13267 echo "${ECHO_T}$result" >&6; }
13271 defaultval=$wxUSE_ALL_FEATURES
13272 if test -z "$defaultval"; then
13273 if test x"$enablestring" = xdisable; then
13280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13281 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13282 # Check whether --enable-gif was given.
13283 if test "${enable_gif+set}" = set; then
13284 enableval=$enable_gif;
13285 if test "$enableval" = yes; then
13286 wx_cv_use_gif='wxUSE_GIF=yes'
13288 wx_cv_use_gif='wxUSE_GIF=no'
13293 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13298 eval "$wx_cv_use_gif"
13300 if test x"$enablestring" = xdisable; then
13301 if test $wxUSE_GIF = yes; then
13310 { echo "$as_me:$LINENO: result: $result" >&5
13311 echo "${ECHO_T}$result" >&6; }
13315 defaultval=$wxUSE_ALL_FEATURES
13316 if test -z "$defaultval"; then
13317 if test x"$enablestring" = xdisable; then
13324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13325 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13326 # Check whether --enable-pcx was given.
13327 if test "${enable_pcx+set}" = set; then
13328 enableval=$enable_pcx;
13329 if test "$enableval" = yes; then
13330 wx_cv_use_pcx='wxUSE_PCX=yes'
13332 wx_cv_use_pcx='wxUSE_PCX=no'
13337 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13342 eval "$wx_cv_use_pcx"
13344 if test x"$enablestring" = xdisable; then
13345 if test $wxUSE_PCX = yes; then
13354 { echo "$as_me:$LINENO: result: $result" >&5
13355 echo "${ECHO_T}$result" >&6; }
13359 defaultval=$wxUSE_ALL_FEATURES
13360 if test -z "$defaultval"; then
13361 if test x"$enablestring" = xdisable; then
13368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13369 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13370 # Check whether --enable-tga was given.
13371 if test "${enable_tga+set}" = set; then
13372 enableval=$enable_tga;
13373 if test "$enableval" = yes; then
13374 wx_cv_use_tga='wxUSE_TGA=yes'
13376 wx_cv_use_tga='wxUSE_TGA=no'
13381 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13386 eval "$wx_cv_use_tga"
13388 if test x"$enablestring" = xdisable; then
13389 if test $wxUSE_TGA = yes; then
13398 { echo "$as_me:$LINENO: result: $result" >&5
13399 echo "${ECHO_T}$result" >&6; }
13403 defaultval=$wxUSE_ALL_FEATURES
13404 if test -z "$defaultval"; then
13405 if test x"$enablestring" = xdisable; then
13412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13413 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13414 # Check whether --enable-iff was given.
13415 if test "${enable_iff+set}" = set; then
13416 enableval=$enable_iff;
13417 if test "$enableval" = yes; then
13418 wx_cv_use_iff='wxUSE_IFF=yes'
13420 wx_cv_use_iff='wxUSE_IFF=no'
13425 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13430 eval "$wx_cv_use_iff"
13432 if test x"$enablestring" = xdisable; then
13433 if test $wxUSE_IFF = yes; then
13442 { echo "$as_me:$LINENO: result: $result" >&5
13443 echo "${ECHO_T}$result" >&6; }
13447 defaultval=$wxUSE_ALL_FEATURES
13448 if test -z "$defaultval"; then
13449 if test x"$enablestring" = xdisable; then
13456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13457 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13458 # Check whether --enable-pnm was given.
13459 if test "${enable_pnm+set}" = set; then
13460 enableval=$enable_pnm;
13461 if test "$enableval" = yes; then
13462 wx_cv_use_pnm='wxUSE_PNM=yes'
13464 wx_cv_use_pnm='wxUSE_PNM=no'
13469 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13474 eval "$wx_cv_use_pnm"
13476 if test x"$enablestring" = xdisable; then
13477 if test $wxUSE_PNM = yes; then
13486 { echo "$as_me:$LINENO: result: $result" >&5
13487 echo "${ECHO_T}$result" >&6; }
13491 defaultval=$wxUSE_ALL_FEATURES
13492 if test -z "$defaultval"; then
13493 if test x"$enablestring" = xdisable; then
13500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13501 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13502 # Check whether --enable-xpm was given.
13503 if test "${enable_xpm+set}" = set; then
13504 enableval=$enable_xpm;
13505 if test "$enableval" = yes; then
13506 wx_cv_use_xpm='wxUSE_XPM=yes'
13508 wx_cv_use_xpm='wxUSE_XPM=no'
13513 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13518 eval "$wx_cv_use_xpm"
13520 if test x"$enablestring" = xdisable; then
13521 if test $wxUSE_XPM = yes; then
13530 { echo "$as_me:$LINENO: result: $result" >&5
13531 echo "${ECHO_T}$result" >&6; }
13535 defaultval=$wxUSE_ALL_FEATURES
13536 if test -z "$defaultval"; then
13537 if test x"$enablestring" = xdisable; then
13544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13545 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13546 # Check whether --enable-ico_cur was given.
13547 if test "${enable_ico_cur+set}" = set; then
13548 enableval=$enable_ico_cur;
13549 if test "$enableval" = yes; then
13550 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13552 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13557 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13562 eval "$wx_cv_use_ico_cur"
13564 if test x"$enablestring" = xdisable; then
13565 if test $wxUSE_ICO_CUR = yes; then
13571 result=$wxUSE_ICO_CUR
13574 { echo "$as_me:$LINENO: result: $result" >&5
13575 echo "${ECHO_T}$result" >&6; }
13581 defaultval=$wxUSE_ALL_FEATURES
13582 if test -z "$defaultval"; then
13583 if test x"$enablestring" = xdisable; then
13590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13591 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13592 # Check whether --enable-dccache was given.
13593 if test "${enable_dccache+set}" = set; then
13594 enableval=$enable_dccache;
13595 if test "$enableval" = yes; then
13596 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13598 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13603 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13608 eval "$wx_cv_use_dccache"
13610 if test x"$enablestring" = xdisable; then
13611 if test $wxUSE_DC_CACHEING = yes; then
13617 result=$wxUSE_DC_CACHEING
13620 { echo "$as_me:$LINENO: result: $result" >&5
13621 echo "${ECHO_T}$result" >&6; }
13625 defaultval=$wxUSE_ALL_FEATURES
13626 if test -z "$defaultval"; then
13627 if test x"$enablestring" = xdisable; then
13634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13635 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13636 # Check whether --enable-ps-in-msw was given.
13637 if test "${enable_ps_in_msw+set}" = set; then
13638 enableval=$enable_ps_in_msw;
13639 if test "$enableval" = yes; then
13640 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13642 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13647 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13652 eval "$wx_cv_use_ps_in_msw"
13654 if test x"$enablestring" = xdisable; then
13655 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13661 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13664 { echo "$as_me:$LINENO: result: $result" >&5
13665 echo "${ECHO_T}$result" >&6; }
13669 defaultval=$wxUSE_ALL_FEATURES
13670 if test -z "$defaultval"; then
13671 if test x"$enablestring" = xdisable; then
13678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13679 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13680 # Check whether --enable-ownerdrawn was given.
13681 if test "${enable_ownerdrawn+set}" = set; then
13682 enableval=$enable_ownerdrawn;
13683 if test "$enableval" = yes; then
13684 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13686 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13691 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13696 eval "$wx_cv_use_ownerdrawn"
13698 if test x"$enablestring" = xdisable; then
13699 if test $wxUSE_OWNER_DRAWN = yes; then
13705 result=$wxUSE_OWNER_DRAWN
13708 { echo "$as_me:$LINENO: result: $result" >&5
13709 echo "${ECHO_T}$result" >&6; }
13713 defaultval=$wxUSE_ALL_FEATURES
13714 if test -z "$defaultval"; then
13715 if test x"$enablestring" = xdisable; then
13722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13723 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13724 # Check whether --enable-uxtheme was given.
13725 if test "${enable_uxtheme+set}" = set; then
13726 enableval=$enable_uxtheme;
13727 if test "$enableval" = yes; then
13728 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13730 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13735 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13740 eval "$wx_cv_use_uxtheme"
13742 if test x"$enablestring" = xdisable; then
13743 if test $wxUSE_UXTHEME = yes; then
13749 result=$wxUSE_UXTHEME
13752 { echo "$as_me:$LINENO: result: $result" >&5
13753 echo "${ECHO_T}$result" >&6; }
13757 defaultval=$wxUSE_ALL_FEATURES
13758 if test -z "$defaultval"; then
13759 if test x"$enablestring" = xdisable; then
13766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13767 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13768 # Check whether --enable-wxdib was given.
13769 if test "${enable_wxdib+set}" = set; then
13770 enableval=$enable_wxdib;
13771 if test "$enableval" = yes; then
13772 wx_cv_use_wxdib='wxUSE_DIB=yes'
13774 wx_cv_use_wxdib='wxUSE_DIB=no'
13779 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13784 eval "$wx_cv_use_wxdib"
13786 if test x"$enablestring" = xdisable; then
13787 if test $wxUSE_DIB = yes; then
13796 { echo "$as_me:$LINENO: result: $result" >&5
13797 echo "${ECHO_T}$result" >&6; }
13800 if test "$wxUSE_MSW" != 1; then
13801 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13806 defaultval=$wxUSE_ALL_FEATURES
13807 if test -z "$defaultval"; then
13808 if test x"$enablestring" = xdisable; then
13815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13816 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13817 # Check whether --enable-autoidman was given.
13818 if test "${enable_autoidman+set}" = set; then
13819 enableval=$enable_autoidman;
13820 if test "$enableval" = yes; then
13821 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13823 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13828 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13833 eval "$wx_cv_use_autoidman"
13835 if test x"$enablestring" = xdisable; then
13836 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13842 result=$wxUSE_AUTOID_MANAGEMENT
13845 { echo "$as_me:$LINENO: result: $result" >&5
13846 echo "${ECHO_T}$result" >&6; }
13852 cat >confcache <<\_ACEOF
13853 # This file is a shell script that caches the results of configure
13854 # tests run on this system so they can be shared between configure
13855 # scripts and configure runs, see configure's option --config-cache.
13856 # It is not useful on other systems. If it contains results you don't
13857 # want to keep, you may remove or edit it.
13859 # config.status only pays attention to the cache file if you give it
13860 # the --recheck option to rerun configure.
13862 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13863 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13864 # following values.
13868 # The following way of writing the cache mishandles newlines in values,
13869 # but we know of no workaround that is simple, portable, and efficient.
13870 # So, we kill variables containing newlines.
13871 # Ultrix sh set writes to stderr and can't be redirected directly,
13872 # and sets the high bit in the cache file unless we assign to the vars.
13874 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13875 eval ac_val=\$$ac_var
13879 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13880 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13883 _ | IFS | as_nl) ;; #(
13884 *) $as_unset $ac_var ;;
13890 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13891 *${as_nl}ac_space=\ *)
13892 # `set' does not quote correctly, so add quotes (double-quote
13893 # substitution turns \\\\ into \\, and sed turns \\ into \).
13896 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13899 # `set' quotes correctly as required by POSIX, so do not add quotes.
13900 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13909 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13911 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13913 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13914 if test -w "$cache_file"; then
13915 test "x$cache_file" != "x/dev/null" &&
13916 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13917 echo "$as_me: updating cache $cache_file" >&6;}
13918 cat confcache >$cache_file
13920 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13921 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13931 ac_cpp='$CPP $CPPFLAGS'
13932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13935 if test -n "$ac_tool_prefix"; then
13936 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13937 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13938 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13940 if test "${ac_cv_prog_CC+set}" = set; then
13941 echo $ECHO_N "(cached) $ECHO_C" >&6
13943 if test -n "$CC"; then
13944 ac_cv_prog_CC="$CC" # Let the user override the test.
13946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13947 for as_dir in $PATH
13950 test -z "$as_dir" && as_dir=.
13951 for ac_exec_ext in '' $ac_executable_extensions; do
13952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13953 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13964 if test -n "$CC"; then
13965 { echo "$as_me:$LINENO: result: $CC" >&5
13966 echo "${ECHO_T}$CC" >&6; }
13968 { echo "$as_me:$LINENO: result: no" >&5
13969 echo "${ECHO_T}no" >&6; }
13974 if test -z "$ac_cv_prog_CC"; then
13976 # Extract the first word of "gcc", so it can be a program name with args.
13977 set dummy gcc; ac_word=$2
13978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13980 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13981 echo $ECHO_N "(cached) $ECHO_C" >&6
13983 if test -n "$ac_ct_CC"; then
13984 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13987 for as_dir in $PATH
13990 test -z "$as_dir" && as_dir=.
13991 for ac_exec_ext in '' $ac_executable_extensions; do
13992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13993 ac_cv_prog_ac_ct_CC="gcc"
13994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14003 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14004 if test -n "$ac_ct_CC"; then
14005 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14006 echo "${ECHO_T}$ac_ct_CC" >&6; }
14008 { echo "$as_me:$LINENO: result: no" >&5
14009 echo "${ECHO_T}no" >&6; }
14012 if test "x$ac_ct_CC" = x; then
14015 case $cross_compiling:$ac_tool_warned in
14017 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14018 whose name does not start with the host triplet. If you think this
14019 configuration is useful to you, please write to autoconf@gnu.org." >&5
14020 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14021 whose name does not start with the host triplet. If you think this
14022 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14023 ac_tool_warned=yes ;;
14028 CC="$ac_cv_prog_CC"
14031 if test -z "$CC"; then
14032 if test -n "$ac_tool_prefix"; then
14033 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14034 set dummy ${ac_tool_prefix}cc; ac_word=$2
14035 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14037 if test "${ac_cv_prog_CC+set}" = set; then
14038 echo $ECHO_N "(cached) $ECHO_C" >&6
14040 if test -n "$CC"; then
14041 ac_cv_prog_CC="$CC" # Let the user override the test.
14043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14044 for as_dir in $PATH
14047 test -z "$as_dir" && as_dir=.
14048 for ac_exec_ext in '' $ac_executable_extensions; do
14049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14050 ac_cv_prog_CC="${ac_tool_prefix}cc"
14051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14061 if test -n "$CC"; then
14062 { echo "$as_me:$LINENO: result: $CC" >&5
14063 echo "${ECHO_T}$CC" >&6; }
14065 { echo "$as_me:$LINENO: result: no" >&5
14066 echo "${ECHO_T}no" >&6; }
14072 if test -z "$CC"; then
14073 # Extract the first word of "cc", so it can be a program name with args.
14074 set dummy cc; ac_word=$2
14075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14077 if test "${ac_cv_prog_CC+set}" = set; then
14078 echo $ECHO_N "(cached) $ECHO_C" >&6
14080 if test -n "$CC"; then
14081 ac_cv_prog_CC="$CC" # Let the user override the test.
14083 ac_prog_rejected=no
14084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14085 for as_dir in $PATH
14088 test -z "$as_dir" && as_dir=.
14089 for ac_exec_ext in '' $ac_executable_extensions; do
14090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14091 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14092 ac_prog_rejected=yes
14096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14103 if test $ac_prog_rejected = yes; then
14104 # We found a bogon in the path, so make sure we never use it.
14105 set dummy $ac_cv_prog_CC
14107 if test $# != 0; then
14108 # We chose a different compiler from the bogus one.
14109 # However, it has the same basename, so the bogon will be chosen
14110 # first if we set CC to just the basename; use the full file name.
14112 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14118 if test -n "$CC"; then
14119 { echo "$as_me:$LINENO: result: $CC" >&5
14120 echo "${ECHO_T}$CC" >&6; }
14122 { echo "$as_me:$LINENO: result: no" >&5
14123 echo "${ECHO_T}no" >&6; }
14128 if test -z "$CC"; then
14129 if test -n "$ac_tool_prefix"; then
14130 for ac_prog in cl.exe
14132 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14133 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14136 if test "${ac_cv_prog_CC+set}" = set; then
14137 echo $ECHO_N "(cached) $ECHO_C" >&6
14139 if test -n "$CC"; then
14140 ac_cv_prog_CC="$CC" # Let the user override the test.
14142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14143 for as_dir in $PATH
14146 test -z "$as_dir" && as_dir=.
14147 for ac_exec_ext in '' $ac_executable_extensions; do
14148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14149 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14160 if test -n "$CC"; then
14161 { echo "$as_me:$LINENO: result: $CC" >&5
14162 echo "${ECHO_T}$CC" >&6; }
14164 { echo "$as_me:$LINENO: result: no" >&5
14165 echo "${ECHO_T}no" >&6; }
14169 test -n "$CC" && break
14172 if test -z "$CC"; then
14174 for ac_prog in cl.exe
14176 # Extract the first word of "$ac_prog", so it can be a program name with args.
14177 set dummy $ac_prog; ac_word=$2
14178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14180 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14181 echo $ECHO_N "(cached) $ECHO_C" >&6
14183 if test -n "$ac_ct_CC"; then
14184 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14187 for as_dir in $PATH
14190 test -z "$as_dir" && as_dir=.
14191 for ac_exec_ext in '' $ac_executable_extensions; do
14192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14193 ac_cv_prog_ac_ct_CC="$ac_prog"
14194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14203 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14204 if test -n "$ac_ct_CC"; then
14205 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14206 echo "${ECHO_T}$ac_ct_CC" >&6; }
14208 { echo "$as_me:$LINENO: result: no" >&5
14209 echo "${ECHO_T}no" >&6; }
14213 test -n "$ac_ct_CC" && break
14216 if test "x$ac_ct_CC" = x; then
14219 case $cross_compiling:$ac_tool_warned in
14221 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14222 whose name does not start with the host triplet. If you think this
14223 configuration is useful to you, please write to autoconf@gnu.org." >&5
14224 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14225 whose name does not start with the host triplet. If you think this
14226 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14227 ac_tool_warned=yes ;;
14236 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14237 See \`config.log' for more details." >&5
14238 echo "$as_me: error: no acceptable C compiler found in \$PATH
14239 See \`config.log' for more details." >&2;}
14240 { (exit 1); exit 1; }; }
14242 # Provide some information about the compiler.
14243 echo "$as_me:$LINENO: checking for C compiler version" >&5
14244 ac_compiler=`set X $ac_compile; echo $2`
14245 { (ac_try="$ac_compiler --version >&5"
14246 case "(($ac_try" in
14247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14248 *) ac_try_echo=$ac_try;;
14250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14251 (eval "$ac_compiler --version >&5") 2>&5
14253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254 (exit $ac_status); }
14255 { (ac_try="$ac_compiler -v >&5"
14256 case "(($ac_try" in
14257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14258 *) ac_try_echo=$ac_try;;
14260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14261 (eval "$ac_compiler -v >&5") 2>&5
14263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14264 (exit $ac_status); }
14265 { (ac_try="$ac_compiler -V >&5"
14266 case "(($ac_try" in
14267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14268 *) ac_try_echo=$ac_try;;
14270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14271 (eval "$ac_compiler -V >&5") 2>&5
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); }
14276 cat >conftest.$ac_ext <<_ACEOF
14279 cat confdefs.h >>conftest.$ac_ext
14280 cat >>conftest.$ac_ext <<_ACEOF
14281 /* end confdefs.h. */
14291 ac_clean_files_save=$ac_clean_files
14292 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14293 # Try to create an executable without -o first, disregard a.out.
14294 # It will help us diagnose broken compilers, and finding out an intuition
14296 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14297 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14298 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14300 # List of possible output files, starting from the most likely.
14301 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14302 # only as a last resort. b.out is created by i960 compilers.
14303 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14305 # The IRIX 6 linker writes into existing files which may not be
14306 # executable, retaining their permissions. Remove them first so a
14307 # subsequent execution test works.
14309 for ac_file in $ac_files
14312 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14313 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14318 if { (ac_try="$ac_link_default"
14319 case "(($ac_try" in
14320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14321 *) ac_try_echo=$ac_try;;
14323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14324 (eval "$ac_link_default") 2>&5
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); }; then
14328 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14329 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14330 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14331 # so that the user can short-circuit this test for compilers unknown to
14333 for ac_file in $ac_files ''
14335 test -f "$ac_file" || continue
14337 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14340 # We found the default executable, but exeext='' is most
14344 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14346 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14348 # We set ac_cv_exeext here because the later test for it is not
14349 # safe: cross compilers may not add the suffix if given an `-o'
14350 # argument, so we may need to know it at that point already.
14351 # Even if this section looks crufty: it has the advantage of
14352 # actually working.
14358 test "$ac_cv_exeext" = no && ac_cv_exeext=
14364 { echo "$as_me:$LINENO: result: $ac_file" >&5
14365 echo "${ECHO_T}$ac_file" >&6; }
14366 if test -z "$ac_file"; then
14367 echo "$as_me: failed program was:" >&5
14368 sed 's/^/| /' conftest.$ac_ext >&5
14370 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14371 See \`config.log' for more details." >&5
14372 echo "$as_me: error: C compiler cannot create executables
14373 See \`config.log' for more details." >&2;}
14374 { (exit 77); exit 77; }; }
14377 ac_exeext=$ac_cv_exeext
14379 # Check that the compiler produces executables we can run. If not, either
14380 # the compiler is broken, or we cross compile.
14381 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14382 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14383 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14384 # If not cross compiling, check that we can run a simple program.
14385 if test "$cross_compiling" != yes; then
14386 if { ac_try='./$ac_file'
14387 { (case "(($ac_try" in
14388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14389 *) ac_try_echo=$ac_try;;
14391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14392 (eval "$ac_try") 2>&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); }; }; then
14398 if test "$cross_compiling" = maybe; then
14399 cross_compiling=yes
14401 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14402 If you meant to cross compile, use \`--host'.
14403 See \`config.log' for more details." >&5
14404 echo "$as_me: error: cannot run C compiled programs.
14405 If you meant to cross compile, use \`--host'.
14406 See \`config.log' for more details." >&2;}
14407 { (exit 1); exit 1; }; }
14411 { echo "$as_me:$LINENO: result: yes" >&5
14412 echo "${ECHO_T}yes" >&6; }
14414 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14415 ac_clean_files=$ac_clean_files_save
14416 # Check that the compiler produces executables we can run. If not, either
14417 # the compiler is broken, or we cross compile.
14418 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14419 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14420 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14421 echo "${ECHO_T}$cross_compiling" >&6; }
14423 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14424 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14425 if { (ac_try="$ac_link"
14426 case "(($ac_try" in
14427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14428 *) ac_try_echo=$ac_try;;
14430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14431 (eval "$ac_link") 2>&5
14433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14434 (exit $ac_status); }; then
14435 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14436 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14437 # work properly (i.e., refer to `conftest.exe'), while it won't with
14439 for ac_file in conftest.exe conftest conftest.*; do
14440 test -f "$ac_file" || continue
14442 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14443 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14449 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14450 See \`config.log' for more details." >&5
14451 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14452 See \`config.log' for more details." >&2;}
14453 { (exit 1); exit 1; }; }
14456 rm -f conftest$ac_cv_exeext
14457 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14458 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14460 rm -f conftest.$ac_ext
14461 EXEEXT=$ac_cv_exeext
14463 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14464 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14465 if test "${ac_cv_objext+set}" = set; then
14466 echo $ECHO_N "(cached) $ECHO_C" >&6
14468 cat >conftest.$ac_ext <<_ACEOF
14471 cat confdefs.h >>conftest.$ac_ext
14472 cat >>conftest.$ac_ext <<_ACEOF
14473 /* end confdefs.h. */
14483 rm -f conftest.o conftest.obj
14484 if { (ac_try="$ac_compile"
14485 case "(($ac_try" in
14486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14487 *) ac_try_echo=$ac_try;;
14489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14490 (eval "$ac_compile") 2>&5
14492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14493 (exit $ac_status); }; then
14494 for ac_file in conftest.o conftest.obj conftest.*; do
14495 test -f "$ac_file" || continue;
14497 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14498 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14503 echo "$as_me: failed program was:" >&5
14504 sed 's/^/| /' conftest.$ac_ext >&5
14506 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14507 See \`config.log' for more details." >&5
14508 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14509 See \`config.log' for more details." >&2;}
14510 { (exit 1); exit 1; }; }
14513 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14515 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14516 echo "${ECHO_T}$ac_cv_objext" >&6; }
14517 OBJEXT=$ac_cv_objext
14519 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14520 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14521 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14522 echo $ECHO_N "(cached) $ECHO_C" >&6
14524 cat >conftest.$ac_ext <<_ACEOF
14527 cat confdefs.h >>conftest.$ac_ext
14528 cat >>conftest.$ac_ext <<_ACEOF
14529 /* end confdefs.h. */
14542 rm -f conftest.$ac_objext
14543 if { (ac_try="$ac_compile"
14544 case "(($ac_try" in
14545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14546 *) ac_try_echo=$ac_try;;
14548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14549 (eval "$ac_compile") 2>conftest.er1
14551 grep -v '^ *+' conftest.er1 >conftest.err
14553 cat conftest.err >&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } && {
14556 test -z "$ac_c_werror_flag" ||
14557 test ! -s conftest.err
14558 } && test -s conftest.$ac_objext; then
14559 ac_compiler_gnu=yes
14561 echo "$as_me: failed program was:" >&5
14562 sed 's/^/| /' conftest.$ac_ext >&5
14567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14568 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14571 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14572 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14573 GCC=`test $ac_compiler_gnu = yes && echo yes`
14574 ac_test_CFLAGS=${CFLAGS+set}
14575 ac_save_CFLAGS=$CFLAGS
14576 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14577 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14578 if test "${ac_cv_prog_cc_g+set}" = set; then
14579 echo $ECHO_N "(cached) $ECHO_C" >&6
14581 ac_save_c_werror_flag=$ac_c_werror_flag
14582 ac_c_werror_flag=yes
14585 cat >conftest.$ac_ext <<_ACEOF
14588 cat confdefs.h >>conftest.$ac_ext
14589 cat >>conftest.$ac_ext <<_ACEOF
14590 /* end confdefs.h. */
14600 rm -f conftest.$ac_objext
14601 if { (ac_try="$ac_compile"
14602 case "(($ac_try" in
14603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14604 *) ac_try_echo=$ac_try;;
14606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14607 (eval "$ac_compile") 2>conftest.er1
14609 grep -v '^ *+' conftest.er1 >conftest.err
14611 cat conftest.err >&5
14612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14613 (exit $ac_status); } && {
14614 test -z "$ac_c_werror_flag" ||
14615 test ! -s conftest.err
14616 } && test -s conftest.$ac_objext; then
14617 ac_cv_prog_cc_g=yes
14619 echo "$as_me: failed program was:" >&5
14620 sed 's/^/| /' conftest.$ac_ext >&5
14623 cat >conftest.$ac_ext <<_ACEOF
14626 cat confdefs.h >>conftest.$ac_ext
14627 cat >>conftest.$ac_ext <<_ACEOF
14628 /* end confdefs.h. */
14638 rm -f conftest.$ac_objext
14639 if { (ac_try="$ac_compile"
14640 case "(($ac_try" in
14641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14642 *) ac_try_echo=$ac_try;;
14644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14645 (eval "$ac_compile") 2>conftest.er1
14647 grep -v '^ *+' conftest.er1 >conftest.err
14649 cat conftest.err >&5
14650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); } && {
14652 test -z "$ac_c_werror_flag" ||
14653 test ! -s conftest.err
14654 } && test -s conftest.$ac_objext; then
14657 echo "$as_me: failed program was:" >&5
14658 sed 's/^/| /' conftest.$ac_ext >&5
14660 ac_c_werror_flag=$ac_save_c_werror_flag
14662 cat >conftest.$ac_ext <<_ACEOF
14665 cat confdefs.h >>conftest.$ac_ext
14666 cat >>conftest.$ac_ext <<_ACEOF
14667 /* end confdefs.h. */
14677 rm -f conftest.$ac_objext
14678 if { (ac_try="$ac_compile"
14679 case "(($ac_try" in
14680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14681 *) ac_try_echo=$ac_try;;
14683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14684 (eval "$ac_compile") 2>conftest.er1
14686 grep -v '^ *+' conftest.er1 >conftest.err
14688 cat conftest.err >&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); } && {
14691 test -z "$ac_c_werror_flag" ||
14692 test ! -s conftest.err
14693 } && test -s conftest.$ac_objext; then
14694 ac_cv_prog_cc_g=yes
14696 echo "$as_me: failed program was:" >&5
14697 sed 's/^/| /' conftest.$ac_ext >&5
14702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14709 ac_c_werror_flag=$ac_save_c_werror_flag
14711 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14712 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14713 if test "$ac_test_CFLAGS" = set; then
14714 CFLAGS=$ac_save_CFLAGS
14715 elif test $ac_cv_prog_cc_g = yes; then
14716 if test "$GCC" = yes; then
14722 if test "$GCC" = yes; then
14728 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14729 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14730 if test "${ac_cv_prog_cc_c89+set}" = set; then
14731 echo $ECHO_N "(cached) $ECHO_C" >&6
14733 ac_cv_prog_cc_c89=no
14735 cat >conftest.$ac_ext <<_ACEOF
14738 cat confdefs.h >>conftest.$ac_ext
14739 cat >>conftest.$ac_ext <<_ACEOF
14740 /* end confdefs.h. */
14741 #include <stdarg.h>
14743 #include <sys/types.h>
14744 #include <sys/stat.h>
14745 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14746 struct buf { int x; };
14747 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14748 static char *e (p, i)
14754 static char *f (char * (*g) (char **, int), char **p, ...)
14759 s = g (p, va_arg (v,int));
14764 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14765 function prototypes and stuff, but not '\xHH' hex character constants.
14766 These don't provoke an error unfortunately, instead are silently treated
14767 as 'x'. The following induces an error, until -std is added to get
14768 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14769 array size at least. It's necessary to write '\x00'==0 to get something
14770 that's true only with -std. */
14771 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14773 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14774 inside strings and character constants. */
14776 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14778 int test (int i, double x);
14779 struct s1 {int (*f) (int a);};
14780 struct s2 {int (*f) (double a);};
14781 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14787 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14792 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14793 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14795 CC="$ac_save_CC $ac_arg"
14796 rm -f conftest.$ac_objext
14797 if { (ac_try="$ac_compile"
14798 case "(($ac_try" in
14799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14800 *) ac_try_echo=$ac_try;;
14802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14803 (eval "$ac_compile") 2>conftest.er1
14805 grep -v '^ *+' conftest.er1 >conftest.err
14807 cat conftest.err >&5
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); } && {
14810 test -z "$ac_c_werror_flag" ||
14811 test ! -s conftest.err
14812 } && test -s conftest.$ac_objext; then
14813 ac_cv_prog_cc_c89=$ac_arg
14815 echo "$as_me: failed program was:" >&5
14816 sed 's/^/| /' conftest.$ac_ext >&5
14821 rm -f core conftest.err conftest.$ac_objext
14822 test "x$ac_cv_prog_cc_c89" != "xno" && break
14824 rm -f conftest.$ac_ext
14829 case "x$ac_cv_prog_cc_c89" in
14831 { echo "$as_me:$LINENO: result: none needed" >&5
14832 echo "${ECHO_T}none needed" >&6; } ;;
14834 { echo "$as_me:$LINENO: result: unsupported" >&5
14835 echo "${ECHO_T}unsupported" >&6; } ;;
14837 CC="$CC $ac_cv_prog_cc_c89"
14838 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14839 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14844 ac_cpp='$CPP $CPPFLAGS'
14845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14853 ac_cpp='$CPP $CPPFLAGS'
14854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14858 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14859 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14860 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14861 echo $ECHO_N "(cached) $ECHO_C" >&6
14863 cat >conftest.$ac_ext <<_ACEOF
14866 cat confdefs.h >>conftest.$ac_ext
14867 cat >>conftest.$ac_ext <<_ACEOF
14868 /* end confdefs.h. */
14874 #ifndef __INTEL_COMPILER
14882 rm -f conftest.$ac_objext
14883 if { (ac_try="$ac_compile"
14884 case "(($ac_try" in
14885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14886 *) ac_try_echo=$ac_try;;
14888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14889 (eval "$ac_compile") 2>conftest.er1
14891 grep -v '^ *+' conftest.er1 >conftest.err
14893 cat conftest.err >&5
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); } && {
14896 test -z "$ac_c_werror_flag" ||
14897 test ! -s conftest.err
14898 } && test -s conftest.$ac_objext; then
14899 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14901 echo "$as_me: failed program was:" >&5
14902 sed 's/^/| /' conftest.$ac_ext >&5
14904 bakefile_cv_c_compiler___INTEL_COMPILER=no
14908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14912 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14913 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14914 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14920 ac_cpp='$CPP $CPPFLAGS'
14921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14928 if test "x$GCC" != "xyes"; then
14929 if test "xCC" = "xC"; then
14930 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14931 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
14932 if test "${bakefile_cv_c_exto+set}" = set; then
14933 echo $ECHO_N "(cached) $ECHO_C" >&6
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 conftest.$ac_ext.o
14951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14952 (eval $ac_compile) 2>&5
14954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14955 (exit $ac_status); }; then
14956 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14958 conftest.$ac_ext.o)
14959 bakefile_cv_c_exto="-ext o"
14966 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14967 See \`config.log' for more details." >&5
14968 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14969 See \`config.log' for more details." >&2;}
14970 { (exit 1); exit 1; }; }
14974 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14977 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14978 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14979 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14980 if test "c" = "c"; then
14981 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14983 if test "c" = "cxx"; then
14984 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14988 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14989 unset ac_cv_prog_cc_g
14990 ac_test_CFLAGS=${CFLAGS+set}
14991 ac_save_CFLAGS=$CFLAGS
14992 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14993 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14994 if test "${ac_cv_prog_cc_g+set}" = set; then
14995 echo $ECHO_N "(cached) $ECHO_C" >&6
14997 ac_save_c_werror_flag=$ac_c_werror_flag
14998 ac_c_werror_flag=yes
15001 cat >conftest.$ac_ext <<_ACEOF
15004 cat confdefs.h >>conftest.$ac_ext
15005 cat >>conftest.$ac_ext <<_ACEOF
15006 /* end confdefs.h. */
15016 rm -f conftest.$ac_objext
15017 if { (ac_try="$ac_compile"
15018 case "(($ac_try" in
15019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15020 *) ac_try_echo=$ac_try;;
15022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15023 (eval "$ac_compile") 2>conftest.er1
15025 grep -v '^ *+' conftest.er1 >conftest.err
15027 cat conftest.err >&5
15028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15029 (exit $ac_status); } && {
15030 test -z "$ac_c_werror_flag" ||
15031 test ! -s conftest.err
15032 } && test -s conftest.$ac_objext; then
15033 ac_cv_prog_cc_g=yes
15035 echo "$as_me: failed program was:" >&5
15036 sed 's/^/| /' conftest.$ac_ext >&5
15039 cat >conftest.$ac_ext <<_ACEOF
15042 cat confdefs.h >>conftest.$ac_ext
15043 cat >>conftest.$ac_ext <<_ACEOF
15044 /* end confdefs.h. */
15054 rm -f conftest.$ac_objext
15055 if { (ac_try="$ac_compile"
15056 case "(($ac_try" in
15057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15058 *) ac_try_echo=$ac_try;;
15060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15061 (eval "$ac_compile") 2>conftest.er1
15063 grep -v '^ *+' conftest.er1 >conftest.err
15065 cat conftest.err >&5
15066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15067 (exit $ac_status); } && {
15068 test -z "$ac_c_werror_flag" ||
15069 test ! -s conftest.err
15070 } && test -s conftest.$ac_objext; then
15073 echo "$as_me: failed program was:" >&5
15074 sed 's/^/| /' conftest.$ac_ext >&5
15076 ac_c_werror_flag=$ac_save_c_werror_flag
15078 cat >conftest.$ac_ext <<_ACEOF
15081 cat confdefs.h >>conftest.$ac_ext
15082 cat >>conftest.$ac_ext <<_ACEOF
15083 /* end confdefs.h. */
15093 rm -f conftest.$ac_objext
15094 if { (ac_try="$ac_compile"
15095 case "(($ac_try" in
15096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15097 *) ac_try_echo=$ac_try;;
15099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15100 (eval "$ac_compile") 2>conftest.er1
15102 grep -v '^ *+' conftest.er1 >conftest.err
15104 cat conftest.err >&5
15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 (exit $ac_status); } && {
15107 test -z "$ac_c_werror_flag" ||
15108 test ! -s conftest.err
15109 } && test -s conftest.$ac_objext; then
15110 ac_cv_prog_cc_g=yes
15112 echo "$as_me: failed program was:" >&5
15113 sed 's/^/| /' conftest.$ac_ext >&5
15118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15125 ac_c_werror_flag=$ac_save_c_werror_flag
15127 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15128 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15129 if test "$ac_test_CFLAGS" = set; then
15130 CFLAGS=$ac_save_CFLAGS
15131 elif test $ac_cv_prog_cc_g = yes; then
15132 if test "$GCC" = yes; then
15138 if test "$GCC" = yes; then
15152 ac_cpp='$CPP $CPPFLAGS'
15153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15157 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15158 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15159 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15160 echo $ECHO_N "(cached) $ECHO_C" >&6
15162 cat >conftest.$ac_ext <<_ACEOF
15165 cat confdefs.h >>conftest.$ac_ext
15166 cat >>conftest.$ac_ext <<_ACEOF
15167 /* end confdefs.h. */
15181 rm -f conftest.$ac_objext
15182 if { (ac_try="$ac_compile"
15183 case "(($ac_try" in
15184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15185 *) ac_try_echo=$ac_try;;
15187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15188 (eval "$ac_compile") 2>conftest.er1
15190 grep -v '^ *+' conftest.er1 >conftest.err
15192 cat conftest.err >&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); } && {
15195 test -z "$ac_c_werror_flag" ||
15196 test ! -s conftest.err
15197 } && test -s conftest.$ac_objext; then
15198 bakefile_cv_c_compiler___xlC__=yes
15200 echo "$as_me: failed program was:" >&5
15201 sed 's/^/| /' conftest.$ac_ext >&5
15203 bakefile_cv_c_compiler___xlC__=no
15207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15211 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15212 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15213 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15219 ac_cpp='$CPP $CPPFLAGS'
15220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15232 ac_cpp='$CPP $CPPFLAGS'
15233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15237 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15238 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15239 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15240 echo $ECHO_N "(cached) $ECHO_C" >&6
15242 cat >conftest.$ac_ext <<_ACEOF
15245 cat confdefs.h >>conftest.$ac_ext
15246 cat >>conftest.$ac_ext <<_ACEOF
15247 /* end confdefs.h. */
15261 rm -f conftest.$ac_objext
15262 if { (ac_try="$ac_compile"
15263 case "(($ac_try" in
15264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15265 *) ac_try_echo=$ac_try;;
15267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15268 (eval "$ac_compile") 2>conftest.er1
15270 grep -v '^ *+' conftest.er1 >conftest.err
15272 cat conftest.err >&5
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); } && {
15275 test -z "$ac_c_werror_flag" ||
15276 test ! -s conftest.err
15277 } && test -s conftest.$ac_objext; then
15278 bakefile_cv_c_compiler___MWERKS__=yes
15280 echo "$as_me: failed program was:" >&5
15281 sed 's/^/| /' conftest.$ac_ext >&5
15283 bakefile_cv_c_compiler___MWERKS__=no
15287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15291 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15292 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15293 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15299 ac_cpp='$CPP $CPPFLAGS'
15300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15309 ac_cpp='$CPP $CPPFLAGS'
15310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15314 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15315 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15316 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15317 echo $ECHO_N "(cached) $ECHO_C" >&6
15319 cat >conftest.$ac_ext <<_ACEOF
15322 cat confdefs.h >>conftest.$ac_ext
15323 cat >>conftest.$ac_ext <<_ACEOF
15324 /* end confdefs.h. */
15338 rm -f conftest.$ac_objext
15339 if { (ac_try="$ac_compile"
15340 case "(($ac_try" in
15341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15342 *) ac_try_echo=$ac_try;;
15344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15345 (eval "$ac_compile") 2>conftest.er1
15347 grep -v '^ *+' conftest.er1 >conftest.err
15349 cat conftest.err >&5
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); } && {
15352 test -z "$ac_c_werror_flag" ||
15353 test ! -s conftest.err
15354 } && test -s conftest.$ac_objext; then
15355 bakefile_cv_c_compiler___xlC__=yes
15357 echo "$as_me: failed program was:" >&5
15358 sed 's/^/| /' conftest.$ac_ext >&5
15360 bakefile_cv_c_compiler___xlC__=no
15364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15368 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15369 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15370 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15376 ac_cpp='$CPP $CPPFLAGS'
15377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15389 ac_cpp='$CPP $CPPFLAGS'
15390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15394 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15395 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15396 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15397 echo $ECHO_N "(cached) $ECHO_C" >&6
15399 cat >conftest.$ac_ext <<_ACEOF
15402 cat confdefs.h >>conftest.$ac_ext
15403 cat >>conftest.$ac_ext <<_ACEOF
15404 /* end confdefs.h. */
15410 #ifndef _SGI_COMPILER_VERSION
15418 rm -f conftest.$ac_objext
15419 if { (ac_try="$ac_compile"
15420 case "(($ac_try" in
15421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15422 *) ac_try_echo=$ac_try;;
15424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15425 (eval "$ac_compile") 2>conftest.er1
15427 grep -v '^ *+' conftest.er1 >conftest.err
15429 cat conftest.err >&5
15430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 (exit $ac_status); } && {
15432 test -z "$ac_c_werror_flag" ||
15433 test ! -s conftest.err
15434 } && test -s conftest.$ac_objext; then
15435 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15437 echo "$as_me: failed program was:" >&5
15438 sed 's/^/| /' conftest.$ac_ext >&5
15440 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15448 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15449 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15450 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15456 ac_cpp='$CPP $CPPFLAGS'
15457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15469 ac_cpp='$CPP $CPPFLAGS'
15470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15474 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15475 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15476 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15477 echo $ECHO_N "(cached) $ECHO_C" >&6
15479 cat >conftest.$ac_ext <<_ACEOF
15482 cat confdefs.h >>conftest.$ac_ext
15483 cat >>conftest.$ac_ext <<_ACEOF
15484 /* end confdefs.h. */
15498 rm -f conftest.$ac_objext
15499 if { (ac_try="$ac_compile"
15500 case "(($ac_try" in
15501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15502 *) ac_try_echo=$ac_try;;
15504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15505 (eval "$ac_compile") 2>conftest.er1
15507 grep -v '^ *+' conftest.er1 >conftest.err
15509 cat conftest.err >&5
15510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15511 (exit $ac_status); } && {
15512 test -z "$ac_c_werror_flag" ||
15513 test ! -s conftest.err
15514 } && test -s conftest.$ac_objext; then
15515 bakefile_cv_c_compiler___SUNPRO_C=yes
15517 echo "$as_me: failed program was:" >&5
15518 sed 's/^/| /' conftest.$ac_ext >&5
15520 bakefile_cv_c_compiler___SUNPRO_C=no
15524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15528 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15529 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15530 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15536 ac_cpp='$CPP $CPPFLAGS'
15537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15549 ac_cpp='$CPP $CPPFLAGS'
15550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15554 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15555 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15556 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15557 echo $ECHO_N "(cached) $ECHO_C" >&6
15559 cat >conftest.$ac_ext <<_ACEOF
15562 cat confdefs.h >>conftest.$ac_ext
15563 cat >>conftest.$ac_ext <<_ACEOF
15564 /* end confdefs.h. */
15578 rm -f conftest.$ac_objext
15579 if { (ac_try="$ac_compile"
15580 case "(($ac_try" in
15581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15582 *) ac_try_echo=$ac_try;;
15584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15585 (eval "$ac_compile") 2>conftest.er1
15587 grep -v '^ *+' conftest.er1 >conftest.err
15589 cat conftest.err >&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); } && {
15592 test -z "$ac_c_werror_flag" ||
15593 test ! -s conftest.err
15594 } && test -s conftest.$ac_objext; then
15595 bakefile_cv_c_compiler___HP_cc=yes
15597 echo "$as_me: failed program was:" >&5
15598 sed 's/^/| /' conftest.$ac_ext >&5
15600 bakefile_cv_c_compiler___HP_cc=no
15604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15608 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15609 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15610 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15616 ac_cpp='$CPP $CPPFLAGS'
15617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15629 ac_cpp='$CPP $CPPFLAGS'
15630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15634 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15635 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15636 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15637 echo $ECHO_N "(cached) $ECHO_C" >&6
15639 cat >conftest.$ac_ext <<_ACEOF
15642 cat confdefs.h >>conftest.$ac_ext
15643 cat >>conftest.$ac_ext <<_ACEOF
15644 /* end confdefs.h. */
15658 rm -f conftest.$ac_objext
15659 if { (ac_try="$ac_compile"
15660 case "(($ac_try" in
15661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15662 *) ac_try_echo=$ac_try;;
15664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15665 (eval "$ac_compile") 2>conftest.er1
15667 grep -v '^ *+' conftest.er1 >conftest.err
15669 cat conftest.err >&5
15670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671 (exit $ac_status); } && {
15672 test -z "$ac_c_werror_flag" ||
15673 test ! -s conftest.err
15674 } && test -s conftest.$ac_objext; then
15675 bakefile_cv_c_compiler___DECC=yes
15677 echo "$as_me: failed program was:" >&5
15678 sed 's/^/| /' conftest.$ac_ext >&5
15680 bakefile_cv_c_compiler___DECC=no
15684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15688 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15689 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15690 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15696 ac_cpp='$CPP $CPPFLAGS'
15697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15709 ac_cpp='$CPP $CPPFLAGS'
15710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15714 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15715 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15716 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15717 echo $ECHO_N "(cached) $ECHO_C" >&6
15719 cat >conftest.$ac_ext <<_ACEOF
15722 cat confdefs.h >>conftest.$ac_ext
15723 cat >>conftest.$ac_ext <<_ACEOF
15724 /* end confdefs.h. */
15738 rm -f conftest.$ac_objext
15739 if { (ac_try="$ac_compile"
15740 case "(($ac_try" in
15741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15742 *) ac_try_echo=$ac_try;;
15744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15745 (eval "$ac_compile") 2>conftest.er1
15747 grep -v '^ *+' conftest.er1 >conftest.err
15749 cat conftest.err >&5
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); } && {
15752 test -z "$ac_c_werror_flag" ||
15753 test ! -s conftest.err
15754 } && test -s conftest.$ac_objext; then
15755 bakefile_cv_c_compiler___SUNPRO_C=yes
15757 echo "$as_me: failed program was:" >&5
15758 sed 's/^/| /' conftest.$ac_ext >&5
15760 bakefile_cv_c_compiler___SUNPRO_C=no
15764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15768 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15769 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15770 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15776 ac_cpp='$CPP $CPPFLAGS'
15777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15790 ac_cpp='$CPP $CPPFLAGS'
15791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15794 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15795 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15796 # On Suns, sometimes $CPP names a directory.
15797 if test -n "$CPP" && test -d "$CPP"; then
15800 if test -z "$CPP"; then
15801 if test "${ac_cv_prog_CPP+set}" = set; then
15802 echo $ECHO_N "(cached) $ECHO_C" >&6
15804 # Double quotes because CPP needs to be expanded
15805 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15807 ac_preproc_ok=false
15808 for ac_c_preproc_warn_flag in '' yes
15810 # Use a header file that comes with gcc, so configuring glibc
15811 # with a fresh cross-compiler works.
15812 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15813 # <limits.h> exists even on freestanding compilers.
15814 # On the NeXT, cc -E runs the code through the compiler's parser,
15815 # not just through cpp. "Syntax error" is here to catch this case.
15816 cat >conftest.$ac_ext <<_ACEOF
15819 cat confdefs.h >>conftest.$ac_ext
15820 cat >>conftest.$ac_ext <<_ACEOF
15821 /* end confdefs.h. */
15823 # include <limits.h>
15825 # include <assert.h>
15829 if { (ac_try="$ac_cpp conftest.$ac_ext"
15830 case "(($ac_try" in
15831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15832 *) ac_try_echo=$ac_try;;
15834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15835 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15837 grep -v '^ *+' conftest.er1 >conftest.err
15839 cat conftest.err >&5
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); } >/dev/null && {
15842 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15843 test ! -s conftest.err
15847 echo "$as_me: failed program was:" >&5
15848 sed 's/^/| /' conftest.$ac_ext >&5
15850 # Broken: fails on valid input.
15854 rm -f conftest.err conftest.$ac_ext
15856 # OK, works on sane cases. Now check whether nonexistent headers
15857 # can be detected and how.
15858 cat >conftest.$ac_ext <<_ACEOF
15861 cat confdefs.h >>conftest.$ac_ext
15862 cat >>conftest.$ac_ext <<_ACEOF
15863 /* end confdefs.h. */
15864 #include <ac_nonexistent.h>
15866 if { (ac_try="$ac_cpp conftest.$ac_ext"
15867 case "(($ac_try" in
15868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15869 *) ac_try_echo=$ac_try;;
15871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15872 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15874 grep -v '^ *+' conftest.er1 >conftest.err
15876 cat conftest.err >&5
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); } >/dev/null && {
15879 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15880 test ! -s conftest.err
15882 # Broken: success on invalid input.
15885 echo "$as_me: failed program was:" >&5
15886 sed 's/^/| /' conftest.$ac_ext >&5
15888 # Passes both tests.
15893 rm -f conftest.err conftest.$ac_ext
15896 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15897 rm -f conftest.err conftest.$ac_ext
15898 if $ac_preproc_ok; then
15903 ac_cv_prog_CPP=$CPP
15906 CPP=$ac_cv_prog_CPP
15908 ac_cv_prog_CPP=$CPP
15910 { echo "$as_me:$LINENO: result: $CPP" >&5
15911 echo "${ECHO_T}$CPP" >&6; }
15912 ac_preproc_ok=false
15913 for ac_c_preproc_warn_flag in '' yes
15915 # Use a header file that comes with gcc, so configuring glibc
15916 # with a fresh cross-compiler works.
15917 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15918 # <limits.h> exists even on freestanding compilers.
15919 # On the NeXT, cc -E runs the code through the compiler's parser,
15920 # not just through cpp. "Syntax error" is here to catch this case.
15921 cat >conftest.$ac_ext <<_ACEOF
15924 cat confdefs.h >>conftest.$ac_ext
15925 cat >>conftest.$ac_ext <<_ACEOF
15926 /* end confdefs.h. */
15928 # include <limits.h>
15930 # include <assert.h>
15934 if { (ac_try="$ac_cpp conftest.$ac_ext"
15935 case "(($ac_try" in
15936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15937 *) ac_try_echo=$ac_try;;
15939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15940 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15942 grep -v '^ *+' conftest.er1 >conftest.err
15944 cat conftest.err >&5
15945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946 (exit $ac_status); } >/dev/null && {
15947 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15948 test ! -s conftest.err
15952 echo "$as_me: failed program was:" >&5
15953 sed 's/^/| /' conftest.$ac_ext >&5
15955 # Broken: fails on valid input.
15959 rm -f conftest.err conftest.$ac_ext
15961 # OK, works on sane cases. Now check whether nonexistent headers
15962 # can be detected and how.
15963 cat >conftest.$ac_ext <<_ACEOF
15966 cat confdefs.h >>conftest.$ac_ext
15967 cat >>conftest.$ac_ext <<_ACEOF
15968 /* end confdefs.h. */
15969 #include <ac_nonexistent.h>
15971 if { (ac_try="$ac_cpp conftest.$ac_ext"
15972 case "(($ac_try" in
15973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15974 *) ac_try_echo=$ac_try;;
15976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15977 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15979 grep -v '^ *+' conftest.er1 >conftest.err
15981 cat conftest.err >&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } >/dev/null && {
15984 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15985 test ! -s conftest.err
15987 # Broken: success on invalid input.
15990 echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.$ac_ext >&5
15993 # Passes both tests.
15998 rm -f conftest.err conftest.$ac_ext
16001 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16002 rm -f conftest.err conftest.$ac_ext
16003 if $ac_preproc_ok; then
16006 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16007 See \`config.log' for more details." >&5
16008 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16009 See \`config.log' for more details." >&2;}
16010 { (exit 1); exit 1; }; }
16014 ac_cpp='$CPP $CPPFLAGS'
16015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16020 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16021 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16022 if test "${ac_cv_path_GREP+set}" = set; then
16023 echo $ECHO_N "(cached) $ECHO_C" >&6
16025 # Extract the first word of "grep ggrep" to use in msg output
16026 if test -z "$GREP"; then
16027 set dummy grep ggrep; ac_prog_name=$2
16028 if test "${ac_cv_path_GREP+set}" = set; then
16029 echo $ECHO_N "(cached) $ECHO_C" >&6
16031 ac_path_GREP_found=false
16032 # Loop through the user's path and test for each of PROGNAME-LIST
16033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16034 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16037 test -z "$as_dir" && as_dir=.
16038 for ac_prog in grep ggrep; do
16039 for ac_exec_ext in '' $ac_executable_extensions; do
16040 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16041 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16042 # Check for GNU ac_path_GREP and select it if it is found.
16043 # Check for GNU $ac_path_GREP
16044 case `"$ac_path_GREP" --version 2>&1` in
16046 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16049 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16052 cat "conftest.in" "conftest.in" >"conftest.tmp"
16053 mv "conftest.tmp" "conftest.in"
16054 cp "conftest.in" "conftest.nl"
16055 echo 'GREP' >> "conftest.nl"
16056 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16057 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16058 ac_count=`expr $ac_count + 1`
16059 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16060 # Best one so far, save it but keep looking for a better one
16061 ac_cv_path_GREP="$ac_path_GREP"
16062 ac_path_GREP_max=$ac_count
16064 # 10*(2^10) chars as input seems more than enough
16065 test $ac_count -gt 10 && break
16067 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16071 $ac_path_GREP_found && break 3
16081 GREP="$ac_cv_path_GREP"
16082 if test -z "$GREP"; then
16083 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16084 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16085 { (exit 1); exit 1; }; }
16089 ac_cv_path_GREP=$GREP
16094 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16095 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16096 GREP="$ac_cv_path_GREP"
16099 { echo "$as_me:$LINENO: checking for egrep" >&5
16100 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16101 if test "${ac_cv_path_EGREP+set}" = set; then
16102 echo $ECHO_N "(cached) $ECHO_C" >&6
16104 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16105 then ac_cv_path_EGREP="$GREP -E"
16107 # Extract the first word of "egrep" to use in msg output
16108 if test -z "$EGREP"; then
16109 set dummy egrep; ac_prog_name=$2
16110 if test "${ac_cv_path_EGREP+set}" = set; then
16111 echo $ECHO_N "(cached) $ECHO_C" >&6
16113 ac_path_EGREP_found=false
16114 # Loop through the user's path and test for each of PROGNAME-LIST
16115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16116 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16119 test -z "$as_dir" && as_dir=.
16120 for ac_prog in egrep; do
16121 for ac_exec_ext in '' $ac_executable_extensions; do
16122 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16123 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16124 # Check for GNU ac_path_EGREP and select it if it is found.
16125 # Check for GNU $ac_path_EGREP
16126 case `"$ac_path_EGREP" --version 2>&1` in
16128 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16131 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16134 cat "conftest.in" "conftest.in" >"conftest.tmp"
16135 mv "conftest.tmp" "conftest.in"
16136 cp "conftest.in" "conftest.nl"
16137 echo 'EGREP' >> "conftest.nl"
16138 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16139 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16140 ac_count=`expr $ac_count + 1`
16141 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16142 # Best one so far, save it but keep looking for a better one
16143 ac_cv_path_EGREP="$ac_path_EGREP"
16144 ac_path_EGREP_max=$ac_count
16146 # 10*(2^10) chars as input seems more than enough
16147 test $ac_count -gt 10 && break
16149 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16153 $ac_path_EGREP_found && break 3
16163 EGREP="$ac_cv_path_EGREP"
16164 if test -z "$EGREP"; then
16165 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16166 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16167 { (exit 1); exit 1; }; }
16171 ac_cv_path_EGREP=$EGREP
16177 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16178 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16179 EGREP="$ac_cv_path_EGREP"
16182 if test $ac_cv_c_compiler_gnu = yes; then
16183 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16184 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16185 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16186 echo $ECHO_N "(cached) $ECHO_C" >&6
16188 ac_pattern="Autoconf.*'x'"
16189 cat >conftest.$ac_ext <<_ACEOF
16192 cat confdefs.h >>conftest.$ac_ext
16193 cat >>conftest.$ac_ext <<_ACEOF
16194 /* end confdefs.h. */
16198 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16199 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16200 ac_cv_prog_gcc_traditional=yes
16202 ac_cv_prog_gcc_traditional=no
16207 if test $ac_cv_prog_gcc_traditional = no; then
16208 cat >conftest.$ac_ext <<_ACEOF
16211 cat confdefs.h >>conftest.$ac_ext
16212 cat >>conftest.$ac_ext <<_ACEOF
16213 /* end confdefs.h. */
16214 #include <termio.h>
16217 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16218 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16219 ac_cv_prog_gcc_traditional=yes
16225 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16226 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16227 if test $ac_cv_prog_gcc_traditional = yes; then
16228 CC="$CC -traditional"
16233 CXXFLAGS=${CXXFLAGS:=}
16238 ac_cpp='$CXXCPP $CPPFLAGS'
16239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16242 if test -z "$CXX"; then
16243 if test -n "$CCC"; then
16246 if test -n "$ac_tool_prefix"; then
16247 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16249 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16250 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16253 if test "${ac_cv_prog_CXX+set}" = set; then
16254 echo $ECHO_N "(cached) $ECHO_C" >&6
16256 if test -n "$CXX"; then
16257 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16260 for as_dir in $PATH
16263 test -z "$as_dir" && as_dir=.
16264 for ac_exec_ext in '' $ac_executable_extensions; do
16265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16266 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16276 CXX=$ac_cv_prog_CXX
16277 if test -n "$CXX"; then
16278 { echo "$as_me:$LINENO: result: $CXX" >&5
16279 echo "${ECHO_T}$CXX" >&6; }
16281 { echo "$as_me:$LINENO: result: no" >&5
16282 echo "${ECHO_T}no" >&6; }
16286 test -n "$CXX" && break
16289 if test -z "$CXX"; then
16291 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16293 # Extract the first word of "$ac_prog", so it can be a program name with args.
16294 set dummy $ac_prog; ac_word=$2
16295 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16297 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16298 echo $ECHO_N "(cached) $ECHO_C" >&6
16300 if test -n "$ac_ct_CXX"; then
16301 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16304 for as_dir in $PATH
16307 test -z "$as_dir" && as_dir=.
16308 for ac_exec_ext in '' $ac_executable_extensions; do
16309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16310 ac_cv_prog_ac_ct_CXX="$ac_prog"
16311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16320 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16321 if test -n "$ac_ct_CXX"; then
16322 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16323 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16325 { echo "$as_me:$LINENO: result: no" >&5
16326 echo "${ECHO_T}no" >&6; }
16330 test -n "$ac_ct_CXX" && break
16333 if test "x$ac_ct_CXX" = x; then
16336 case $cross_compiling:$ac_tool_warned in
16338 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16339 whose name does not start with the host triplet. If you think this
16340 configuration is useful to you, please write to autoconf@gnu.org." >&5
16341 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16342 whose name does not start with the host triplet. If you think this
16343 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16344 ac_tool_warned=yes ;;
16352 # Provide some information about the compiler.
16353 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16354 ac_compiler=`set X $ac_compile; echo $2`
16355 { (ac_try="$ac_compiler --version >&5"
16356 case "(($ac_try" in
16357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16358 *) ac_try_echo=$ac_try;;
16360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16361 (eval "$ac_compiler --version >&5") 2>&5
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); }
16365 { (ac_try="$ac_compiler -v >&5"
16366 case "(($ac_try" in
16367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16368 *) ac_try_echo=$ac_try;;
16370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16371 (eval "$ac_compiler -v >&5") 2>&5
16373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16374 (exit $ac_status); }
16375 { (ac_try="$ac_compiler -V >&5"
16376 case "(($ac_try" in
16377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16378 *) ac_try_echo=$ac_try;;
16380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16381 (eval "$ac_compiler -V >&5") 2>&5
16383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384 (exit $ac_status); }
16386 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16387 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16388 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16389 echo $ECHO_N "(cached) $ECHO_C" >&6
16391 cat >conftest.$ac_ext <<_ACEOF
16394 cat confdefs.h >>conftest.$ac_ext
16395 cat >>conftest.$ac_ext <<_ACEOF
16396 /* end confdefs.h. */
16409 rm -f conftest.$ac_objext
16410 if { (ac_try="$ac_compile"
16411 case "(($ac_try" in
16412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16413 *) ac_try_echo=$ac_try;;
16415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16416 (eval "$ac_compile") 2>conftest.er1
16418 grep -v '^ *+' conftest.er1 >conftest.err
16420 cat conftest.err >&5
16421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16422 (exit $ac_status); } && {
16423 test -z "$ac_cxx_werror_flag" ||
16424 test ! -s conftest.err
16425 } && test -s conftest.$ac_objext; then
16426 ac_compiler_gnu=yes
16428 echo "$as_me: failed program was:" >&5
16429 sed 's/^/| /' conftest.$ac_ext >&5
16434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16435 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16438 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16439 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16440 GXX=`test $ac_compiler_gnu = yes && echo yes`
16441 ac_test_CXXFLAGS=${CXXFLAGS+set}
16442 ac_save_CXXFLAGS=$CXXFLAGS
16443 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16444 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16445 if test "${ac_cv_prog_cxx_g+set}" = set; then
16446 echo $ECHO_N "(cached) $ECHO_C" >&6
16448 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16449 ac_cxx_werror_flag=yes
16450 ac_cv_prog_cxx_g=no
16452 cat >conftest.$ac_ext <<_ACEOF
16455 cat confdefs.h >>conftest.$ac_ext
16456 cat >>conftest.$ac_ext <<_ACEOF
16457 /* end confdefs.h. */
16467 rm -f conftest.$ac_objext
16468 if { (ac_try="$ac_compile"
16469 case "(($ac_try" in
16470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16471 *) ac_try_echo=$ac_try;;
16473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16474 (eval "$ac_compile") 2>conftest.er1
16476 grep -v '^ *+' conftest.er1 >conftest.err
16478 cat conftest.err >&5
16479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16480 (exit $ac_status); } && {
16481 test -z "$ac_cxx_werror_flag" ||
16482 test ! -s conftest.err
16483 } && test -s conftest.$ac_objext; then
16484 ac_cv_prog_cxx_g=yes
16486 echo "$as_me: failed program was:" >&5
16487 sed 's/^/| /' conftest.$ac_ext >&5
16490 cat >conftest.$ac_ext <<_ACEOF
16493 cat confdefs.h >>conftest.$ac_ext
16494 cat >>conftest.$ac_ext <<_ACEOF
16495 /* end confdefs.h. */
16505 rm -f conftest.$ac_objext
16506 if { (ac_try="$ac_compile"
16507 case "(($ac_try" in
16508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16509 *) ac_try_echo=$ac_try;;
16511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16512 (eval "$ac_compile") 2>conftest.er1
16514 grep -v '^ *+' conftest.er1 >conftest.err
16516 cat conftest.err >&5
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); } && {
16519 test -z "$ac_cxx_werror_flag" ||
16520 test ! -s conftest.err
16521 } && test -s conftest.$ac_objext; then
16524 echo "$as_me: failed program was:" >&5
16525 sed 's/^/| /' conftest.$ac_ext >&5
16527 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16529 cat >conftest.$ac_ext <<_ACEOF
16532 cat confdefs.h >>conftest.$ac_ext
16533 cat >>conftest.$ac_ext <<_ACEOF
16534 /* end confdefs.h. */
16544 rm -f conftest.$ac_objext
16545 if { (ac_try="$ac_compile"
16546 case "(($ac_try" in
16547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16548 *) ac_try_echo=$ac_try;;
16550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16551 (eval "$ac_compile") 2>conftest.er1
16553 grep -v '^ *+' conftest.er1 >conftest.err
16555 cat conftest.err >&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); } && {
16558 test -z "$ac_cxx_werror_flag" ||
16559 test ! -s conftest.err
16560 } && test -s conftest.$ac_objext; then
16561 ac_cv_prog_cxx_g=yes
16563 echo "$as_me: failed program was:" >&5
16564 sed 's/^/| /' conftest.$ac_ext >&5
16569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16576 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16578 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16579 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16580 if test "$ac_test_CXXFLAGS" = set; then
16581 CXXFLAGS=$ac_save_CXXFLAGS
16582 elif test $ac_cv_prog_cxx_g = yes; then
16583 if test "$GXX" = yes; then
16589 if test "$GXX" = yes; then
16596 ac_cpp='$CPP $CPPFLAGS'
16597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16605 ac_cpp='$CXXCPP $CPPFLAGS'
16606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16610 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16611 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16612 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16613 echo $ECHO_N "(cached) $ECHO_C" >&6
16615 cat >conftest.$ac_ext <<_ACEOF
16618 cat confdefs.h >>conftest.$ac_ext
16619 cat >>conftest.$ac_ext <<_ACEOF
16620 /* end confdefs.h. */
16626 #ifndef __INTEL_COMPILER
16634 rm -f conftest.$ac_objext
16635 if { (ac_try="$ac_compile"
16636 case "(($ac_try" in
16637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16638 *) ac_try_echo=$ac_try;;
16640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16641 (eval "$ac_compile") 2>conftest.er1
16643 grep -v '^ *+' conftest.er1 >conftest.err
16645 cat conftest.err >&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); } && {
16648 test -z "$ac_cxx_werror_flag" ||
16649 test ! -s conftest.err
16650 } && test -s conftest.$ac_objext; then
16651 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16653 echo "$as_me: failed program was:" >&5
16654 sed 's/^/| /' conftest.$ac_ext >&5
16656 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16664 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16665 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16666 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16672 ac_cpp='$CPP $CPPFLAGS'
16673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16680 if test "x$GCXX" != "xyes"; then
16681 if test "xCXX" = "xC"; then
16682 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16683 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16684 if test "${bakefile_cv_c_exto+set}" = set; then
16685 echo $ECHO_N "(cached) $ECHO_C" >&6
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 conftest.$ac_ext.o
16703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16704 (eval $ac_compile) 2>&5
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); }; then
16708 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16710 conftest.$ac_ext.o)
16711 bakefile_cv_c_exto="-ext o"
16718 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16719 See \`config.log' for more details." >&5
16720 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16721 See \`config.log' for more details." >&2;}
16722 { (exit 1); exit 1; }; }
16726 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16729 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16730 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16731 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16732 if test "c" = "c"; then
16733 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16735 if test "c" = "cxx"; then
16736 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16740 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16741 unset ac_cv_prog_cc_g
16742 ac_test_CFLAGS=${CFLAGS+set}
16743 ac_save_CFLAGS=$CFLAGS
16744 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16745 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16746 if test "${ac_cv_prog_cc_g+set}" = set; then
16747 echo $ECHO_N "(cached) $ECHO_C" >&6
16749 ac_save_c_werror_flag=$ac_c_werror_flag
16750 ac_c_werror_flag=yes
16753 cat >conftest.$ac_ext <<_ACEOF
16756 cat confdefs.h >>conftest.$ac_ext
16757 cat >>conftest.$ac_ext <<_ACEOF
16758 /* end confdefs.h. */
16768 rm -f conftest.$ac_objext
16769 if { (ac_try="$ac_compile"
16770 case "(($ac_try" in
16771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16772 *) ac_try_echo=$ac_try;;
16774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16775 (eval "$ac_compile") 2>conftest.er1
16777 grep -v '^ *+' conftest.er1 >conftest.err
16779 cat conftest.err >&5
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); } && {
16782 test -z "$ac_c_werror_flag" ||
16783 test ! -s conftest.err
16784 } && test -s conftest.$ac_objext; then
16785 ac_cv_prog_cc_g=yes
16787 echo "$as_me: failed program was:" >&5
16788 sed 's/^/| /' conftest.$ac_ext >&5
16791 cat >conftest.$ac_ext <<_ACEOF
16794 cat confdefs.h >>conftest.$ac_ext
16795 cat >>conftest.$ac_ext <<_ACEOF
16796 /* end confdefs.h. */
16806 rm -f conftest.$ac_objext
16807 if { (ac_try="$ac_compile"
16808 case "(($ac_try" in
16809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16810 *) ac_try_echo=$ac_try;;
16812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16813 (eval "$ac_compile") 2>conftest.er1
16815 grep -v '^ *+' conftest.er1 >conftest.err
16817 cat conftest.err >&5
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); } && {
16820 test -z "$ac_c_werror_flag" ||
16821 test ! -s conftest.err
16822 } && test -s conftest.$ac_objext; then
16825 echo "$as_me: failed program was:" >&5
16826 sed 's/^/| /' conftest.$ac_ext >&5
16828 ac_c_werror_flag=$ac_save_c_werror_flag
16830 cat >conftest.$ac_ext <<_ACEOF
16833 cat confdefs.h >>conftest.$ac_ext
16834 cat >>conftest.$ac_ext <<_ACEOF
16835 /* end confdefs.h. */
16845 rm -f conftest.$ac_objext
16846 if { (ac_try="$ac_compile"
16847 case "(($ac_try" in
16848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16849 *) ac_try_echo=$ac_try;;
16851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16852 (eval "$ac_compile") 2>conftest.er1
16854 grep -v '^ *+' conftest.er1 >conftest.err
16856 cat conftest.err >&5
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); } && {
16859 test -z "$ac_c_werror_flag" ||
16860 test ! -s conftest.err
16861 } && test -s conftest.$ac_objext; then
16862 ac_cv_prog_cc_g=yes
16864 echo "$as_me: failed program was:" >&5
16865 sed 's/^/| /' conftest.$ac_ext >&5
16870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16877 ac_c_werror_flag=$ac_save_c_werror_flag
16879 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16880 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16881 if test "$ac_test_CFLAGS" = set; then
16882 CFLAGS=$ac_save_CFLAGS
16883 elif test $ac_cv_prog_cc_g = yes; then
16884 if test "$GCC" = yes; then
16890 if test "$GCC" = yes; then
16904 ac_cpp='$CXXCPP $CPPFLAGS'
16905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16909 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16910 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16911 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16912 echo $ECHO_N "(cached) $ECHO_C" >&6
16914 cat >conftest.$ac_ext <<_ACEOF
16917 cat confdefs.h >>conftest.$ac_ext
16918 cat >>conftest.$ac_ext <<_ACEOF
16919 /* end confdefs.h. */
16933 rm -f conftest.$ac_objext
16934 if { (ac_try="$ac_compile"
16935 case "(($ac_try" in
16936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16937 *) ac_try_echo=$ac_try;;
16939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16940 (eval "$ac_compile") 2>conftest.er1
16942 grep -v '^ *+' conftest.er1 >conftest.err
16944 cat conftest.err >&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); } && {
16947 test -z "$ac_cxx_werror_flag" ||
16948 test ! -s conftest.err
16949 } && test -s conftest.$ac_objext; then
16950 bakefile_cv_cxx_compiler___xlC__=yes
16952 echo "$as_me: failed program was:" >&5
16953 sed 's/^/| /' conftest.$ac_ext >&5
16955 bakefile_cv_cxx_compiler___xlC__=no
16959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16963 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16964 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16965 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16971 ac_cpp='$CPP $CPPFLAGS'
16972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16984 ac_cpp='$CXXCPP $CPPFLAGS'
16985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16989 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16990 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16991 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16992 echo $ECHO_N "(cached) $ECHO_C" >&6
16994 cat >conftest.$ac_ext <<_ACEOF
16997 cat confdefs.h >>conftest.$ac_ext
16998 cat >>conftest.$ac_ext <<_ACEOF
16999 /* end confdefs.h. */
17013 rm -f conftest.$ac_objext
17014 if { (ac_try="$ac_compile"
17015 case "(($ac_try" in
17016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17017 *) ac_try_echo=$ac_try;;
17019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17020 (eval "$ac_compile") 2>conftest.er1
17022 grep -v '^ *+' conftest.er1 >conftest.err
17024 cat conftest.err >&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); } && {
17027 test -z "$ac_cxx_werror_flag" ||
17028 test ! -s conftest.err
17029 } && test -s conftest.$ac_objext; then
17030 bakefile_cv_cxx_compiler___MWERKS__=yes
17032 echo "$as_me: failed program was:" >&5
17033 sed 's/^/| /' conftest.$ac_ext >&5
17035 bakefile_cv_cxx_compiler___MWERKS__=no
17039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17043 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17044 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17045 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17051 ac_cpp='$CPP $CPPFLAGS'
17052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17061 ac_cpp='$CXXCPP $CPPFLAGS'
17062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17066 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17067 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17068 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17069 echo $ECHO_N "(cached) $ECHO_C" >&6
17071 cat >conftest.$ac_ext <<_ACEOF
17074 cat confdefs.h >>conftest.$ac_ext
17075 cat >>conftest.$ac_ext <<_ACEOF
17076 /* end confdefs.h. */
17090 rm -f conftest.$ac_objext
17091 if { (ac_try="$ac_compile"
17092 case "(($ac_try" in
17093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17094 *) ac_try_echo=$ac_try;;
17096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17097 (eval "$ac_compile") 2>conftest.er1
17099 grep -v '^ *+' conftest.er1 >conftest.err
17101 cat conftest.err >&5
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); } && {
17104 test -z "$ac_cxx_werror_flag" ||
17105 test ! -s conftest.err
17106 } && test -s conftest.$ac_objext; then
17107 bakefile_cv_cxx_compiler___xlC__=yes
17109 echo "$as_me: failed program was:" >&5
17110 sed 's/^/| /' conftest.$ac_ext >&5
17112 bakefile_cv_cxx_compiler___xlC__=no
17116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17120 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17121 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17122 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17128 ac_cpp='$CPP $CPPFLAGS'
17129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17141 ac_cpp='$CXXCPP $CPPFLAGS'
17142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17146 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17147 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17148 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17149 echo $ECHO_N "(cached) $ECHO_C" >&6
17151 cat >conftest.$ac_ext <<_ACEOF
17154 cat confdefs.h >>conftest.$ac_ext
17155 cat >>conftest.$ac_ext <<_ACEOF
17156 /* end confdefs.h. */
17162 #ifndef _SGI_COMPILER_VERSION
17170 rm -f conftest.$ac_objext
17171 if { (ac_try="$ac_compile"
17172 case "(($ac_try" in
17173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17174 *) ac_try_echo=$ac_try;;
17176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17177 (eval "$ac_compile") 2>conftest.er1
17179 grep -v '^ *+' conftest.er1 >conftest.err
17181 cat conftest.err >&5
17182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17183 (exit $ac_status); } && {
17184 test -z "$ac_cxx_werror_flag" ||
17185 test ! -s conftest.err
17186 } && test -s conftest.$ac_objext; then
17187 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17189 echo "$as_me: failed program was:" >&5
17190 sed 's/^/| /' conftest.$ac_ext >&5
17192 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17200 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17201 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17202 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17208 ac_cpp='$CPP $CPPFLAGS'
17209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17221 ac_cpp='$CXXCPP $CPPFLAGS'
17222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17226 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17227 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17228 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17229 echo $ECHO_N "(cached) $ECHO_C" >&6
17231 cat >conftest.$ac_ext <<_ACEOF
17234 cat confdefs.h >>conftest.$ac_ext
17235 cat >>conftest.$ac_ext <<_ACEOF
17236 /* end confdefs.h. */
17242 #ifndef __SUNPRO_CC
17250 rm -f conftest.$ac_objext
17251 if { (ac_try="$ac_compile"
17252 case "(($ac_try" in
17253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17254 *) ac_try_echo=$ac_try;;
17256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17257 (eval "$ac_compile") 2>conftest.er1
17259 grep -v '^ *+' conftest.er1 >conftest.err
17261 cat conftest.err >&5
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); } && {
17264 test -z "$ac_cxx_werror_flag" ||
17265 test ! -s conftest.err
17266 } && test -s conftest.$ac_objext; then
17267 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17269 echo "$as_me: failed program was:" >&5
17270 sed 's/^/| /' conftest.$ac_ext >&5
17272 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17280 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17281 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17282 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17288 ac_cpp='$CPP $CPPFLAGS'
17289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17301 ac_cpp='$CXXCPP $CPPFLAGS'
17302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17306 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17307 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17308 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17309 echo $ECHO_N "(cached) $ECHO_C" >&6
17311 cat >conftest.$ac_ext <<_ACEOF
17314 cat confdefs.h >>conftest.$ac_ext
17315 cat >>conftest.$ac_ext <<_ACEOF
17316 /* end confdefs.h. */
17330 rm -f conftest.$ac_objext
17331 if { (ac_try="$ac_compile"
17332 case "(($ac_try" in
17333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17334 *) ac_try_echo=$ac_try;;
17336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17337 (eval "$ac_compile") 2>conftest.er1
17339 grep -v '^ *+' conftest.er1 >conftest.err
17341 cat conftest.err >&5
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); } && {
17344 test -z "$ac_cxx_werror_flag" ||
17345 test ! -s conftest.err
17346 } && test -s conftest.$ac_objext; then
17347 bakefile_cv_cxx_compiler___HP_aCC=yes
17349 echo "$as_me: failed program was:" >&5
17350 sed 's/^/| /' conftest.$ac_ext >&5
17352 bakefile_cv_cxx_compiler___HP_aCC=no
17356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17360 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17361 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17362 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17368 ac_cpp='$CPP $CPPFLAGS'
17369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17381 ac_cpp='$CXXCPP $CPPFLAGS'
17382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17386 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17387 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17388 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17389 echo $ECHO_N "(cached) $ECHO_C" >&6
17391 cat >conftest.$ac_ext <<_ACEOF
17394 cat confdefs.h >>conftest.$ac_ext
17395 cat >>conftest.$ac_ext <<_ACEOF
17396 /* end confdefs.h. */
17410 rm -f conftest.$ac_objext
17411 if { (ac_try="$ac_compile"
17412 case "(($ac_try" in
17413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17414 *) ac_try_echo=$ac_try;;
17416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17417 (eval "$ac_compile") 2>conftest.er1
17419 grep -v '^ *+' conftest.er1 >conftest.err
17421 cat conftest.err >&5
17422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423 (exit $ac_status); } && {
17424 test -z "$ac_cxx_werror_flag" ||
17425 test ! -s conftest.err
17426 } && test -s conftest.$ac_objext; then
17427 bakefile_cv_cxx_compiler___DECCXX=yes
17429 echo "$as_me: failed program was:" >&5
17430 sed 's/^/| /' conftest.$ac_ext >&5
17432 bakefile_cv_cxx_compiler___DECCXX=no
17436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17440 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17441 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17442 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17448 ac_cpp='$CPP $CPPFLAGS'
17449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17461 ac_cpp='$CXXCPP $CPPFLAGS'
17462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17466 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17467 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17468 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17469 echo $ECHO_N "(cached) $ECHO_C" >&6
17471 cat >conftest.$ac_ext <<_ACEOF
17474 cat confdefs.h >>conftest.$ac_ext
17475 cat >>conftest.$ac_ext <<_ACEOF
17476 /* end confdefs.h. */
17482 #ifndef __SUNPRO_CC
17490 rm -f conftest.$ac_objext
17491 if { (ac_try="$ac_compile"
17492 case "(($ac_try" in
17493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17494 *) ac_try_echo=$ac_try;;
17496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17497 (eval "$ac_compile") 2>conftest.er1
17499 grep -v '^ *+' conftest.er1 >conftest.err
17501 cat conftest.err >&5
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); } && {
17504 test -z "$ac_cxx_werror_flag" ||
17505 test ! -s conftest.err
17506 } && test -s conftest.$ac_objext; then
17507 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17509 echo "$as_me: failed program was:" >&5
17510 sed 's/^/| /' conftest.$ac_ext >&5
17512 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17520 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17521 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17522 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17528 ac_cpp='$CPP $CPPFLAGS'
17529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17541 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17542 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17543 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17544 { (exit 1); exit 1; }; }
17547 if test "x$SUNCXX" != xyes; then
17548 if test -n "$ac_tool_prefix"; then
17549 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17550 set dummy ${ac_tool_prefix}ar; ac_word=$2
17551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17553 if test "${ac_cv_prog_AR+set}" = set; then
17554 echo $ECHO_N "(cached) $ECHO_C" >&6
17556 if test -n "$AR"; then
17557 ac_cv_prog_AR="$AR" # Let the user override the test.
17559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17560 for as_dir in $PATH
17563 test -z "$as_dir" && as_dir=.
17564 for ac_exec_ext in '' $ac_executable_extensions; do
17565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17566 ac_cv_prog_AR="${ac_tool_prefix}ar"
17567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17577 if test -n "$AR"; then
17578 { echo "$as_me:$LINENO: result: $AR" >&5
17579 echo "${ECHO_T}$AR" >&6; }
17581 { echo "$as_me:$LINENO: result: no" >&5
17582 echo "${ECHO_T}no" >&6; }
17587 if test -z "$ac_cv_prog_AR"; then
17589 # Extract the first word of "ar", so it can be a program name with args.
17590 set dummy ar; ac_word=$2
17591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17593 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17594 echo $ECHO_N "(cached) $ECHO_C" >&6
17596 if test -n "$ac_ct_AR"; then
17597 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17600 for as_dir in $PATH
17603 test -z "$as_dir" && as_dir=.
17604 for ac_exec_ext in '' $ac_executable_extensions; do
17605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17606 ac_cv_prog_ac_ct_AR="ar"
17607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17616 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17617 if test -n "$ac_ct_AR"; then
17618 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17619 echo "${ECHO_T}$ac_ct_AR" >&6; }
17621 { echo "$as_me:$LINENO: result: no" >&5
17622 echo "${ECHO_T}no" >&6; }
17625 if test "x$ac_ct_AR" = x; then
17628 case $cross_compiling:$ac_tool_warned in
17630 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17631 whose name does not start with the host triplet. If you think this
17632 configuration is useful to you, please write to autoconf@gnu.org." >&5
17633 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17634 whose name does not start with the host triplet. If you think this
17635 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17636 ac_tool_warned=yes ;;
17641 AR="$ac_cv_prog_AR"
17644 if test "x$AR" = "x" ; then
17645 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17646 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17647 { (exit 1); exit 1; }; }
17651 retest_macosx_linking=no
17653 #if test "$wxUSE_MAC" = 1; then
17654 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17655 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17656 # Implicitly turn on the new --with-macosx-sdk using the default
17657 # SDK which provides the behavior this option has always had.
17658 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17659 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17660 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17661 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17662 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17663 wxUSE_MACOSX_SDK=yes
17666 # Complain to user if he specified an argument to --enable-universal_binary
17667 # and also 1) specified --with-macosx-sdk using the default (yes) or
17668 # 2) specified --with-macosx-sdk using a path or 3) specified
17669 # --without-macosx-sdk (no).
17670 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17671 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17672 See \`config.log' for more details." >&5
17673 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17674 See \`config.log' for more details." >&2;}
17675 { (exit 1); exit 1; }; }
17677 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17678 # special-case the empty string because the below test simply
17679 # converts "no" to the empty string anyway.
17680 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17681 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17682 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17685 OSX_UNIV_OPTS="-arch ppc -arch i386"
17686 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17687 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17688 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
17689 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
17690 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17691 retest_macosx_linking=yes
17693 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17694 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17699 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17701 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17702 # TODO: Search for most recent SDK and use it.
17703 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17707 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17708 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17709 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17710 if ! test -d "$wxUSE_MACOSX_SDK"; then
17711 { { echo "$as_me:$LINENO: error: not found
17712 See \`config.log' for more details." >&5
17713 echo "$as_me: error: not found
17714 See \`config.log' for more details." >&2;}
17715 { (exit 1); exit 1; }; }
17717 { echo "$as_me:$LINENO: result: exists" >&5
17718 echo "${ECHO_T}exists" >&6; }
17720 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17721 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17722 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17723 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17724 retest_macosx_linking=yes
17727 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17728 wxUSE_MACOSX_VERSION_MIN=
17729 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17730 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17731 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17732 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17734 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/'`
17736 # If that failed, try again with the new key
17737 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17739 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/'`
17743 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17744 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17745 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17746 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17748 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17749 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17750 wxUSE_MACOSX_VERSION_MIN=
17753 wxUSE_MACOSX_VERSION_MIN=
17755 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
17756 if test "$wxUSE_MAC" = 1; then
17757 # otherwise configure stops on leopard for universal_binary
17758 wxUSE_MACOSX_VERSION_MIN=10.4
17762 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17763 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17764 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17765 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17766 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17767 retest_macosx_linking=yes
17770 if test "x$retest_macosx_linking" = "xyes"; then
17772 ac_cpp='$CPP $CPPFLAGS'
17773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17777 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17778 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17779 cat >conftest.$ac_ext <<_ACEOF
17782 cat confdefs.h >>conftest.$ac_ext
17783 cat >>conftest.$ac_ext <<_ACEOF
17784 /* end confdefs.h. */
17794 rm -f conftest.$ac_objext conftest$ac_exeext
17795 if { (ac_try="$ac_link"
17796 case "(($ac_try" in
17797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17798 *) ac_try_echo=$ac_try;;
17800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17801 (eval "$ac_link") 2>conftest.er1
17803 grep -v '^ *+' conftest.er1 >conftest.err
17805 cat conftest.err >&5
17806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17807 (exit $ac_status); } && {
17808 test -z "$ac_c_werror_flag" ||
17809 test ! -s conftest.err
17810 } && test -s conftest$ac_exeext &&
17811 $as_test_x conftest$ac_exeext; then
17812 { echo "$as_me:$LINENO: result: yes" >&5
17813 echo "${ECHO_T}yes" >&6; }
17815 echo "$as_me: failed program was:" >&5
17816 sed 's/^/| /' conftest.$ac_ext >&5
17818 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17819 See \`config.log' for more details." >&5
17820 echo "$as_me: error: no. Try a different SDK
17821 See \`config.log' for more details." >&2;}
17822 { (exit 1); exit 1; }; }; exit 1
17825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17826 conftest$ac_exeext conftest.$ac_ext
17828 ac_cpp='$CPP $CPPFLAGS'
17829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17835 ac_cpp='$CXXCPP $CPPFLAGS'
17836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17840 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17841 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17842 cat >conftest.$ac_ext <<_ACEOF
17845 cat confdefs.h >>conftest.$ac_ext
17846 cat >>conftest.$ac_ext <<_ACEOF
17847 /* end confdefs.h. */
17857 rm -f conftest.$ac_objext conftest$ac_exeext
17858 if { (ac_try="$ac_link"
17859 case "(($ac_try" in
17860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17861 *) ac_try_echo=$ac_try;;
17863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17864 (eval "$ac_link") 2>conftest.er1
17866 grep -v '^ *+' conftest.er1 >conftest.err
17868 cat conftest.err >&5
17869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17870 (exit $ac_status); } && {
17871 test -z "$ac_cxx_werror_flag" ||
17872 test ! -s conftest.err
17873 } && test -s conftest$ac_exeext &&
17874 $as_test_x conftest$ac_exeext; then
17875 { echo "$as_me:$LINENO: result: yes" >&5
17876 echo "${ECHO_T}yes" >&6; }
17878 echo "$as_me: failed program was:" >&5
17879 sed 's/^/| /' conftest.$ac_ext >&5
17881 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17882 See \`config.log' for more details." >&5
17883 echo "$as_me: error: no. Try a different SDK
17884 See \`config.log' for more details." >&2;}
17885 { (exit 1); exit 1; }; }; exit 1
17888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17889 conftest$ac_exeext conftest.$ac_ext
17891 ac_cpp='$CPP $CPPFLAGS'
17892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17902 INSTALL_PROGRAM="cp -fp"
17903 INSTALL_DATA="cp -fp"
17910 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17911 CXXFLAGS="-qunique $CXXFLAGS"
17915 powerpc-*-darwin* )
17916 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17917 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17918 cat >conftest.$ac_ext <<_ACEOF
17921 cat confdefs.h >>conftest.$ac_ext
17922 cat >>conftest.$ac_ext <<_ACEOF
17923 /* end confdefs.h. */
17928 #ifndef __POWERPC__
17929 choke me for lack of PowerPC
17936 rm -f conftest.$ac_objext
17937 if { (ac_try="$ac_compile"
17938 case "(($ac_try" in
17939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17940 *) ac_try_echo=$ac_try;;
17942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17943 (eval "$ac_compile") 2>conftest.er1
17945 grep -v '^ *+' conftest.er1 >conftest.err
17947 cat conftest.err >&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); } && {
17950 test -z "$ac_c_werror_flag" ||
17951 test ! -s conftest.err
17952 } && test -s conftest.$ac_objext; then
17953 { echo "$as_me:$LINENO: result: yes" >&5
17954 echo "${ECHO_T}yes" >&6; }
17956 echo "$as_me: failed program was:" >&5
17957 sed 's/^/| /' conftest.$ac_ext >&5
17959 { echo "$as_me:$LINENO: result: no" >&5
17960 echo "${ECHO_T}no" >&6; }
17961 cat >>confdefs.h <<\_ACEOF
17962 #define __POWERPC__ 1
17968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17974 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17975 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17976 cat >conftest.$ac_ext <<_ACEOF
17979 cat confdefs.h >>conftest.$ac_ext
17980 cat >>conftest.$ac_ext <<_ACEOF
17981 /* end confdefs.h. */
17982 #include <CoreFoundation/CFBase.h>
17992 rm -f conftest.$ac_objext
17993 if { (ac_try="$ac_compile"
17994 case "(($ac_try" in
17995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17996 *) ac_try_echo=$ac_try;;
17998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17999 (eval "$ac_compile") 2>conftest.er1
18001 grep -v '^ *+' conftest.er1 >conftest.err
18003 cat conftest.err >&5
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); } && {
18006 test -z "$ac_c_werror_flag" ||
18007 test ! -s conftest.err
18008 } && test -s conftest.$ac_objext; then
18009 { echo "$as_me:$LINENO: result: yes" >&5
18010 echo "${ECHO_T}yes" >&6; }
18012 echo "$as_me: failed program was:" >&5
18013 sed 's/^/| /' conftest.$ac_ext >&5
18015 { echo "$as_me:$LINENO: result: no" >&5
18016 echo "${ECHO_T}no" >&6; }
18017 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18018 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18019 cat >conftest.$ac_ext <<_ACEOF
18022 cat confdefs.h >>conftest.$ac_ext
18023 cat >>conftest.$ac_ext <<_ACEOF
18024 /* end confdefs.h. */
18025 #define __CF_USE_FRAMEWORK_INCLUDES__
18026 #include <CoreFoundation/CFBase.h>
18036 rm -f conftest.$ac_objext
18037 if { (ac_try="$ac_compile"
18038 case "(($ac_try" in
18039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18040 *) ac_try_echo=$ac_try;;
18042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18043 (eval "$ac_compile") 2>conftest.er1
18045 grep -v '^ *+' conftest.er1 >conftest.err
18047 cat conftest.err >&5
18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049 (exit $ac_status); } && {
18050 test -z "$ac_c_werror_flag" ||
18051 test ! -s conftest.err
18052 } && test -s conftest.$ac_objext; then
18053 { echo "$as_me:$LINENO: result: yes" >&5
18054 echo "${ECHO_T}yes" >&6; }
18055 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18057 echo "$as_me: failed program was:" >&5
18058 sed 's/^/| /' conftest.$ac_ext >&5
18060 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18061 See \`config.log' for more details." >&5
18062 echo "$as_me: error: no. CoreFoundation not available.
18063 See \`config.log' for more details." >&2;}
18064 { (exit 1); exit 1; }; }
18068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18078 doesnt_want_win32=0
18081 if test "$wxUSE_MSW" = 1 ; then
18084 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18085 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18086 if test "${wx_cv_nocygwin+set}" = set; then
18087 echo $ECHO_N "(cached) $ECHO_C" >&6
18090 cat >conftest.$ac_ext <<_ACEOF
18093 cat confdefs.h >>conftest.$ac_ext
18094 cat >>conftest.$ac_ext <<_ACEOF
18095 /* end confdefs.h. */
18109 rm -f conftest.$ac_objext
18110 if { (ac_try="$ac_compile"
18111 case "(($ac_try" in
18112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18113 *) ac_try_echo=$ac_try;;
18115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18116 (eval "$ac_compile") 2>conftest.er1
18118 grep -v '^ *+' conftest.er1 >conftest.err
18120 cat conftest.err >&5
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); } && {
18123 test -z "$ac_c_werror_flag" ||
18124 test ! -s conftest.err
18125 } && test -s conftest.$ac_objext; then
18128 echo "$as_me: failed program was:" >&5
18129 sed 's/^/| /' conftest.$ac_ext >&5
18135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18139 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18140 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18142 if test "$wx_cv_nocygwin" = "yes"; then
18145 doesnt_want_win32=1
18148 if test "$wants_win32" = 1 ; then
18149 BAKEFILE_FORCE_PLATFORM=win32
18157 if test "$wxUSE_WINE" = "yes"; then
18159 LDFLAGS_GUI="-mwindows"
18162 if test "$wants_win32" = 1 ; then
18165 cat >>confdefs.h <<\_ACEOF
18166 #define __WIN32__ 1
18169 cat >>confdefs.h <<\_ACEOF
18170 #define __WIN95__ 1
18173 cat >>confdefs.h <<\_ACEOF
18174 #define __WINDOWS__ 1
18177 cat >>confdefs.h <<\_ACEOF
18178 #define __GNUWIN32__ 1
18181 cat >>confdefs.h <<\_ACEOF
18186 if test "$doesnt_want_win32" = 1 ; then
18191 if test "$USE_UNIX" = 1 ; then
18193 cat >>confdefs.h <<\_ACEOF
18200 *-pc-os2_emx | *-pc-os2-emx )
18201 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18202 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18203 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18204 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18205 echo $ECHO_N "(cached) $ECHO_C" >&6
18207 ac_check_lib_save_LIBS=$LIBS
18208 LIBS="-lcExt $LIBS"
18209 cat >conftest.$ac_ext <<_ACEOF
18212 cat confdefs.h >>conftest.$ac_ext
18213 cat >>conftest.$ac_ext <<_ACEOF
18214 /* end confdefs.h. */
18216 /* Override any GCC internal prototype to avoid an error.
18217 Use char because int might match the return type of a GCC
18218 builtin and then its argument prototype would still apply. */
18231 rm -f conftest.$ac_objext conftest$ac_exeext
18232 if { (ac_try="$ac_link"
18233 case "(($ac_try" in
18234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18235 *) ac_try_echo=$ac_try;;
18237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18238 (eval "$ac_link") 2>conftest.er1
18240 grep -v '^ *+' conftest.er1 >conftest.err
18242 cat conftest.err >&5
18243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18244 (exit $ac_status); } && {
18245 test -z "$ac_c_werror_flag" ||
18246 test ! -s conftest.err
18247 } && test -s conftest$ac_exeext &&
18248 $as_test_x conftest$ac_exeext; then
18249 ac_cv_lib_cExt_drand48=yes
18251 echo "$as_me: failed program was:" >&5
18252 sed 's/^/| /' conftest.$ac_ext >&5
18254 ac_cv_lib_cExt_drand48=no
18257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18258 conftest$ac_exeext conftest.$ac_ext
18259 LIBS=$ac_check_lib_save_LIBS
18261 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18262 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18263 if test $ac_cv_lib_cExt_drand48 = yes; then
18264 LIBS="$LIBS -lcExt"
18268 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18270 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18271 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18272 if test "${wx_cv_gccversion+set}" = set; then
18273 echo $ECHO_N "(cached) $ECHO_C" >&6
18276 if test "$cross_compiling" = yes; then
18277 wx_cv_gccversion="EMX2"
18280 cat >conftest.$ac_ext <<_ACEOF
18283 cat confdefs.h >>conftest.$ac_ext
18284 cat >>conftest.$ac_ext <<_ACEOF
18285 /* end confdefs.h. */
18291 FILE *f=fopen("conftestval", "w");
18296 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18298 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18308 rm -f conftest$ac_exeext
18309 if { (ac_try="$ac_link"
18310 case "(($ac_try" in
18311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18312 *) ac_try_echo=$ac_try;;
18314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18315 (eval "$ac_link") 2>&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18319 { (case "(($ac_try" in
18320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18321 *) ac_try_echo=$ac_try;;
18323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18324 (eval "$ac_try") 2>&5
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); }; }; then
18328 wx_cv_gccversion=`cat conftestval`
18330 echo "$as_me: program exited with status $ac_status" >&5
18331 echo "$as_me: failed program was:" >&5
18332 sed 's/^/| /' conftest.$ac_ext >&5
18334 ( exit $ac_status )
18335 wx_cv_gccversion="EMX2"
18337 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18343 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18344 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18345 if test "$wx_cv_gccversion" = "EMX2"; then
18346 LIBS="$LIBS -lstdcpp"
18347 LDFLAGS="$LDFLAGS -Zsysv-signals"
18349 if test "$wx_cv_gccversion" = "EMX3"; then
18350 LIBS="$LIBS -lstdcxx -lgcc"
18351 LDFLAGS="$LDFLAGS -Zsysv-signals"
18353 LIBS="$LIBS -lstdc++"
18356 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18357 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18358 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18365 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18366 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18367 if test "${ac_cv_string_strcasecmp+set}" = set; then
18368 echo $ECHO_N "(cached) $ECHO_C" >&6
18371 cat >conftest.$ac_ext <<_ACEOF
18374 cat confdefs.h >>conftest.$ac_ext
18375 cat >>conftest.$ac_ext <<_ACEOF
18376 /* end confdefs.h. */
18378 #include <string.h>
18384 strcasecmp("foo", "bar");
18390 rm -f conftest.$ac_objext conftest$ac_exeext
18391 if { (ac_try="$ac_link"
18392 case "(($ac_try" in
18393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18394 *) ac_try_echo=$ac_try;;
18396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18397 (eval "$ac_link") 2>conftest.er1
18399 grep -v '^ *+' conftest.er1 >conftest.err
18401 cat conftest.err >&5
18402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18403 (exit $ac_status); } && {
18404 test -z "$ac_c_werror_flag" ||
18405 test ! -s conftest.err
18406 } && test -s conftest$ac_exeext &&
18407 $as_test_x conftest$ac_exeext; then
18408 ac_cv_string_strcasecmp=yes
18410 echo "$as_me: failed program was:" >&5
18411 sed 's/^/| /' conftest.$ac_ext >&5
18413 ac_cv_string_strcasecmp=no
18417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18418 conftest$ac_exeext conftest.$ac_ext
18421 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18422 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18424 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18425 cat >>confdefs.h <<\_ACEOF
18426 #define HAVE_STRCASECMP_IN_STRING_H 1
18430 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18431 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18432 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18433 echo $ECHO_N "(cached) $ECHO_C" >&6
18436 cat >conftest.$ac_ext <<_ACEOF
18439 cat confdefs.h >>conftest.$ac_ext
18440 cat >>conftest.$ac_ext <<_ACEOF
18441 /* end confdefs.h. */
18443 #include <strings.h>
18449 strcasecmp("foo", "bar");
18455 rm -f conftest.$ac_objext conftest$ac_exeext
18456 if { (ac_try="$ac_link"
18457 case "(($ac_try" in
18458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18459 *) ac_try_echo=$ac_try;;
18461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18462 (eval "$ac_link") 2>conftest.er1
18464 grep -v '^ *+' conftest.er1 >conftest.err
18466 cat conftest.err >&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); } && {
18469 test -z "$ac_c_werror_flag" ||
18470 test ! -s conftest.err
18471 } && test -s conftest$ac_exeext &&
18472 $as_test_x conftest$ac_exeext; then
18473 ac_cv_strings_strcasecmp=yes
18475 echo "$as_me: failed program was:" >&5
18476 sed 's/^/| /' conftest.$ac_ext >&5
18478 ac_cv_strings_strcasecmp=no
18482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18483 conftest$ac_exeext conftest.$ac_ext
18486 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18487 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18489 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18490 cat >>confdefs.h <<\_ACEOF
18491 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18495 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18496 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18497 { (exit 1); exit 1; }; }
18505 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18506 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18507 if test "${ac_cv_header_stdc+set}" = set; then
18508 echo $ECHO_N "(cached) $ECHO_C" >&6
18510 cat >conftest.$ac_ext <<_ACEOF
18513 cat confdefs.h >>conftest.$ac_ext
18514 cat >>conftest.$ac_ext <<_ACEOF
18515 /* end confdefs.h. */
18516 #include <stdlib.h>
18517 #include <stdarg.h>
18518 #include <string.h>
18529 rm -f conftest.$ac_objext
18530 if { (ac_try="$ac_compile"
18531 case "(($ac_try" in
18532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18533 *) ac_try_echo=$ac_try;;
18535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18536 (eval "$ac_compile") 2>conftest.er1
18538 grep -v '^ *+' conftest.er1 >conftest.err
18540 cat conftest.err >&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); } && {
18543 test -z "$ac_c_werror_flag" ||
18544 test ! -s conftest.err
18545 } && test -s conftest.$ac_objext; then
18546 ac_cv_header_stdc=yes
18548 echo "$as_me: failed program was:" >&5
18549 sed 's/^/| /' conftest.$ac_ext >&5
18551 ac_cv_header_stdc=no
18554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18556 if test $ac_cv_header_stdc = yes; then
18557 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18558 cat >conftest.$ac_ext <<_ACEOF
18561 cat confdefs.h >>conftest.$ac_ext
18562 cat >>conftest.$ac_ext <<_ACEOF
18563 /* end confdefs.h. */
18564 #include <string.h>
18567 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18568 $EGREP "memchr" >/dev/null 2>&1; then
18571 ac_cv_header_stdc=no
18577 if test $ac_cv_header_stdc = yes; then
18578 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18579 cat >conftest.$ac_ext <<_ACEOF
18582 cat confdefs.h >>conftest.$ac_ext
18583 cat >>conftest.$ac_ext <<_ACEOF
18584 /* end confdefs.h. */
18585 #include <stdlib.h>
18588 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18589 $EGREP "free" >/dev/null 2>&1; then
18592 ac_cv_header_stdc=no
18598 if test $ac_cv_header_stdc = yes; then
18599 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18600 if test "$cross_compiling" = yes; then
18603 cat >conftest.$ac_ext <<_ACEOF
18606 cat confdefs.h >>conftest.$ac_ext
18607 cat >>conftest.$ac_ext <<_ACEOF
18608 /* end confdefs.h. */
18610 #include <stdlib.h>
18611 #if ((' ' & 0x0FF) == 0x020)
18612 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18613 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18615 # define ISLOWER(c) \
18616 (('a' <= (c) && (c) <= 'i') \
18617 || ('j' <= (c) && (c) <= 'r') \
18618 || ('s' <= (c) && (c) <= 'z'))
18619 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18622 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18627 for (i = 0; i < 256; i++)
18628 if (XOR (islower (i), ISLOWER (i))
18629 || toupper (i) != TOUPPER (i))
18634 rm -f conftest$ac_exeext
18635 if { (ac_try="$ac_link"
18636 case "(($ac_try" in
18637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18638 *) ac_try_echo=$ac_try;;
18640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18641 (eval "$ac_link") 2>&5
18643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18644 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18645 { (case "(($ac_try" in
18646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18647 *) ac_try_echo=$ac_try;;
18649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18650 (eval "$ac_try") 2>&5
18652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18653 (exit $ac_status); }; }; then
18656 echo "$as_me: program exited with status $ac_status" >&5
18657 echo "$as_me: failed program was:" >&5
18658 sed 's/^/| /' conftest.$ac_ext >&5
18660 ( exit $ac_status )
18661 ac_cv_header_stdc=no
18663 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18669 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18670 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18671 if test $ac_cv_header_stdc = yes; then
18673 cat >>confdefs.h <<\_ACEOF
18674 #define STDC_HEADERS 1
18679 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18689 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18690 inttypes.h stdint.h unistd.h
18692 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18693 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18695 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18696 echo $ECHO_N "(cached) $ECHO_C" >&6
18698 cat >conftest.$ac_ext <<_ACEOF
18701 cat confdefs.h >>conftest.$ac_ext
18702 cat >>conftest.$ac_ext <<_ACEOF
18703 /* end confdefs.h. */
18704 $ac_includes_default
18706 #include <$ac_header>
18708 rm -f conftest.$ac_objext
18709 if { (ac_try="$ac_compile"
18710 case "(($ac_try" in
18711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18712 *) ac_try_echo=$ac_try;;
18714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18715 (eval "$ac_compile") 2>conftest.er1
18717 grep -v '^ *+' conftest.er1 >conftest.err
18719 cat conftest.err >&5
18720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721 (exit $ac_status); } && {
18722 test -z "$ac_c_werror_flag" ||
18723 test ! -s conftest.err
18724 } && test -s conftest.$ac_objext; then
18725 eval "$as_ac_Header=yes"
18727 echo "$as_me: failed program was:" >&5
18728 sed 's/^/| /' conftest.$ac_ext >&5
18730 eval "$as_ac_Header=no"
18733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18735 ac_res=`eval echo '${'$as_ac_Header'}'`
18736 { echo "$as_me:$LINENO: result: $ac_res" >&5
18737 echo "${ECHO_T}$ac_res" >&6; }
18738 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18739 cat >>confdefs.h <<_ACEOF
18740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18750 for ac_header in langinfo.h wchar.h
18752 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18753 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18755 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18756 echo $ECHO_N "(cached) $ECHO_C" >&6
18758 cat >conftest.$ac_ext <<_ACEOF
18761 cat confdefs.h >>conftest.$ac_ext
18762 cat >>conftest.$ac_ext <<_ACEOF
18763 /* end confdefs.h. */
18764 $ac_includes_default
18766 #include <$ac_header>
18768 rm -f conftest.$ac_objext
18769 if { (ac_try="$ac_compile"
18770 case "(($ac_try" in
18771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18772 *) ac_try_echo=$ac_try;;
18774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18775 (eval "$ac_compile") 2>conftest.er1
18777 grep -v '^ *+' conftest.er1 >conftest.err
18779 cat conftest.err >&5
18780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18781 (exit $ac_status); } && {
18782 test -z "$ac_c_werror_flag" ||
18783 test ! -s conftest.err
18784 } && test -s conftest.$ac_objext; then
18785 eval "$as_ac_Header=yes"
18787 echo "$as_me: failed program was:" >&5
18788 sed 's/^/| /' conftest.$ac_ext >&5
18790 eval "$as_ac_Header=no"
18793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18795 ac_res=`eval echo '${'$as_ac_Header'}'`
18796 { echo "$as_me:$LINENO: result: $ac_res" >&5
18797 echo "${ECHO_T}$ac_res" >&6; }
18798 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18799 cat >>confdefs.h <<_ACEOF
18800 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18808 if test "$ac_cv_header_wchar_h" != "yes"; then
18810 for ac_header in wcstr.h
18812 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18813 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18815 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18816 echo $ECHO_N "(cached) $ECHO_C" >&6
18818 cat >conftest.$ac_ext <<_ACEOF
18821 cat confdefs.h >>conftest.$ac_ext
18822 cat >>conftest.$ac_ext <<_ACEOF
18823 /* end confdefs.h. */
18824 $ac_includes_default
18826 #include <$ac_header>
18828 rm -f conftest.$ac_objext
18829 if { (ac_try="$ac_compile"
18830 case "(($ac_try" in
18831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18832 *) ac_try_echo=$ac_try;;
18834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18835 (eval "$ac_compile") 2>conftest.er1
18837 grep -v '^ *+' conftest.er1 >conftest.err
18839 cat conftest.err >&5
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); } && {
18842 test -z "$ac_c_werror_flag" ||
18843 test ! -s conftest.err
18844 } && test -s conftest.$ac_objext; then
18845 eval "$as_ac_Header=yes"
18847 echo "$as_me: failed program was:" >&5
18848 sed 's/^/| /' conftest.$ac_ext >&5
18850 eval "$as_ac_Header=no"
18853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18855 ac_res=`eval echo '${'$as_ac_Header'}'`
18856 { echo "$as_me:$LINENO: result: $ac_res" >&5
18857 echo "${ECHO_T}$ac_res" >&6; }
18858 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18859 cat >>confdefs.h <<_ACEOF
18860 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18870 *-pc-os2_emx | *-pc-os2-emx )
18871 if test $ac_cv_header_langinfo_h = "yes" \
18872 -a \( "$wx_cv_gccversion" = "EMX2" \
18873 -o "$wx_cv_gccversion" = "EMX3" \
18874 -o "$wx_cv_gccversion" = "Innotek5" \); then
18875 LIBS="$LIBS -lintl"
18880 if test "$USE_UNIX" = 1 ; then
18882 for ac_header in sys/select.h
18884 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18885 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18887 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18888 echo $ECHO_N "(cached) $ECHO_C" >&6
18890 cat >conftest.$ac_ext <<_ACEOF
18893 cat confdefs.h >>conftest.$ac_ext
18894 cat >>conftest.$ac_ext <<_ACEOF
18895 /* end confdefs.h. */
18896 $ac_includes_default
18898 #include <$ac_header>
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
18917 eval "$as_ac_Header=yes"
18919 echo "$as_me: failed program was:" >&5
18920 sed 's/^/| /' conftest.$ac_ext >&5
18922 eval "$as_ac_Header=no"
18925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18927 ac_res=`eval echo '${'$as_ac_Header'}'`
18928 { echo "$as_me:$LINENO: result: $ac_res" >&5
18929 echo "${ECHO_T}$ac_res" >&6; }
18930 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18931 cat >>confdefs.h <<_ACEOF
18932 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18942 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18943 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18944 if test "${ac_cv_c_const+set}" = set; then
18945 echo $ECHO_N "(cached) $ECHO_C" >&6
18947 cat >conftest.$ac_ext <<_ACEOF
18950 cat confdefs.h >>conftest.$ac_ext
18951 cat >>conftest.$ac_ext <<_ACEOF
18952 /* end confdefs.h. */
18957 /* FIXME: Include the comments suggested by Paul. */
18958 #ifndef __cplusplus
18959 /* Ultrix mips cc rejects this. */
18960 typedef int charset[2];
18962 /* SunOS 4.1.1 cc rejects this. */
18963 char const *const *pcpcc;
18965 /* NEC SVR4.0.2 mips cc rejects this. */
18966 struct point {int x, y;};
18967 static struct point const zero = {0,0};
18968 /* AIX XL C 1.02.0.0 rejects this.
18969 It does not let you subtract one const X* pointer from another in
18970 an arm of an if-expression whose if-part is not a constant
18972 const char *g = "string";
18973 pcpcc = &g + (g ? g-g : 0);
18974 /* HPUX 7.0 cc rejects these. */
18976 ppc = (char**) pcpcc;
18977 pcpcc = (char const *const *) ppc;
18978 { /* SCO 3.2v4 cc rejects this. */
18980 char const *s = 0 ? (char *) 0 : (char const *) 0;
18985 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18986 int x[] = {25, 17};
18987 const int *foo = &x[0];
18990 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18991 typedef const int *iptr;
18995 { /* AIX XL C 1.02.0.0 rejects this saying
18996 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18997 struct s { int j; const int *ap[3]; };
18998 struct s *b; b->j = 5;
19000 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19001 const int foo = 10;
19002 if (!foo) return 0;
19004 return !cs[0] && !zero.x;
19011 rm -f conftest.$ac_objext
19012 if { (ac_try="$ac_compile"
19013 case "(($ac_try" in
19014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19015 *) ac_try_echo=$ac_try;;
19017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19018 (eval "$ac_compile") 2>conftest.er1
19020 grep -v '^ *+' conftest.er1 >conftest.err
19022 cat conftest.err >&5
19023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19024 (exit $ac_status); } && {
19025 test -z "$ac_c_werror_flag" ||
19026 test ! -s conftest.err
19027 } && test -s conftest.$ac_objext; then
19030 echo "$as_me: failed program was:" >&5
19031 sed 's/^/| /' conftest.$ac_ext >&5
19036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19038 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19039 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19040 if test $ac_cv_c_const = no; then
19042 cat >>confdefs.h <<\_ACEOF
19048 { echo "$as_me:$LINENO: checking for inline" >&5
19049 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19050 if test "${ac_cv_c_inline+set}" = set; then
19051 echo $ECHO_N "(cached) $ECHO_C" >&6
19054 for ac_kw in inline __inline__ __inline; do
19055 cat >conftest.$ac_ext <<_ACEOF
19058 cat confdefs.h >>conftest.$ac_ext
19059 cat >>conftest.$ac_ext <<_ACEOF
19060 /* end confdefs.h. */
19061 #ifndef __cplusplus
19063 static $ac_kw foo_t static_foo () {return 0; }
19064 $ac_kw foo_t foo () {return 0; }
19068 rm -f conftest.$ac_objext
19069 if { (ac_try="$ac_compile"
19070 case "(($ac_try" in
19071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19072 *) ac_try_echo=$ac_try;;
19074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19075 (eval "$ac_compile") 2>conftest.er1
19077 grep -v '^ *+' conftest.er1 >conftest.err
19079 cat conftest.err >&5
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); } && {
19082 test -z "$ac_c_werror_flag" ||
19083 test ! -s conftest.err
19084 } && test -s conftest.$ac_objext; then
19085 ac_cv_c_inline=$ac_kw
19087 echo "$as_me: failed program was:" >&5
19088 sed 's/^/| /' conftest.$ac_ext >&5
19093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19094 test "$ac_cv_c_inline" != no && break
19098 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19099 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19102 case $ac_cv_c_inline in
19105 case $ac_cv_c_inline in
19107 *) ac_val=$ac_cv_c_inline;;
19109 cat >>confdefs.h <<_ACEOF
19110 #ifndef __cplusplus
19111 #define inline $ac_val
19118 { echo "$as_me:$LINENO: checking for short" >&5
19119 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19120 if test "${ac_cv_type_short+set}" = set; then
19121 echo $ECHO_N "(cached) $ECHO_C" >&6
19123 cat >conftest.$ac_ext <<_ACEOF
19126 cat confdefs.h >>conftest.$ac_ext
19127 cat >>conftest.$ac_ext <<_ACEOF
19128 /* end confdefs.h. */
19129 $ac_includes_default
19130 typedef short ac__type_new_;
19134 if ((ac__type_new_ *) 0)
19136 if (sizeof (ac__type_new_))
19142 rm -f conftest.$ac_objext
19143 if { (ac_try="$ac_compile"
19144 case "(($ac_try" in
19145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19146 *) ac_try_echo=$ac_try;;
19148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19149 (eval "$ac_compile") 2>conftest.er1
19151 grep -v '^ *+' conftest.er1 >conftest.err
19153 cat conftest.err >&5
19154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155 (exit $ac_status); } && {
19156 test -z "$ac_c_werror_flag" ||
19157 test ! -s conftest.err
19158 } && test -s conftest.$ac_objext; then
19159 ac_cv_type_short=yes
19161 echo "$as_me: failed program was:" >&5
19162 sed 's/^/| /' conftest.$ac_ext >&5
19164 ac_cv_type_short=no
19167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19169 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19170 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19172 # The cast to long int works around a bug in the HP C Compiler
19173 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19174 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19175 # This bug is HP SR number 8606223364.
19176 { echo "$as_me:$LINENO: checking size of short" >&5
19177 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19178 if test "${ac_cv_sizeof_short+set}" = set; then
19179 echo $ECHO_N "(cached) $ECHO_C" >&6
19181 if test "$cross_compiling" = yes; then
19182 # Depending upon the size, compute the lo and hi bounds.
19183 cat >conftest.$ac_ext <<_ACEOF
19186 cat confdefs.h >>conftest.$ac_ext
19187 cat >>conftest.$ac_ext <<_ACEOF
19188 /* end confdefs.h. */
19189 $ac_includes_default
19190 typedef short ac__type_sizeof_;
19194 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19201 rm -f conftest.$ac_objext
19202 if { (ac_try="$ac_compile"
19203 case "(($ac_try" in
19204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19205 *) ac_try_echo=$ac_try;;
19207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19208 (eval "$ac_compile") 2>conftest.er1
19210 grep -v '^ *+' conftest.er1 >conftest.err
19212 cat conftest.err >&5
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); } && {
19215 test -z "$ac_c_werror_flag" ||
19216 test ! -s conftest.err
19217 } && test -s conftest.$ac_objext; then
19220 cat >conftest.$ac_ext <<_ACEOF
19223 cat confdefs.h >>conftest.$ac_ext
19224 cat >>conftest.$ac_ext <<_ACEOF
19225 /* end confdefs.h. */
19226 $ac_includes_default
19227 typedef short ac__type_sizeof_;
19231 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19238 rm -f conftest.$ac_objext
19239 if { (ac_try="$ac_compile"
19240 case "(($ac_try" in
19241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19242 *) ac_try_echo=$ac_try;;
19244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19245 (eval "$ac_compile") 2>conftest.er1
19247 grep -v '^ *+' conftest.er1 >conftest.err
19249 cat conftest.err >&5
19250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19251 (exit $ac_status); } && {
19252 test -z "$ac_c_werror_flag" ||
19253 test ! -s conftest.err
19254 } && test -s conftest.$ac_objext; then
19255 ac_hi=$ac_mid; break
19257 echo "$as_me: failed program was:" >&5
19258 sed 's/^/| /' conftest.$ac_ext >&5
19260 ac_lo=`expr $ac_mid + 1`
19261 if test $ac_lo -le $ac_mid; then
19265 ac_mid=`expr 2 '*' $ac_mid + 1`
19268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19271 echo "$as_me: failed program was:" >&5
19272 sed 's/^/| /' conftest.$ac_ext >&5
19274 cat >conftest.$ac_ext <<_ACEOF
19277 cat confdefs.h >>conftest.$ac_ext
19278 cat >>conftest.$ac_ext <<_ACEOF
19279 /* end confdefs.h. */
19280 $ac_includes_default
19281 typedef short ac__type_sizeof_;
19285 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19292 rm -f conftest.$ac_objext
19293 if { (ac_try="$ac_compile"
19294 case "(($ac_try" in
19295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19296 *) ac_try_echo=$ac_try;;
19298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19299 (eval "$ac_compile") 2>conftest.er1
19301 grep -v '^ *+' conftest.er1 >conftest.err
19303 cat conftest.err >&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); } && {
19306 test -z "$ac_c_werror_flag" ||
19307 test ! -s conftest.err
19308 } && test -s conftest.$ac_objext; then
19311 cat >conftest.$ac_ext <<_ACEOF
19314 cat confdefs.h >>conftest.$ac_ext
19315 cat >>conftest.$ac_ext <<_ACEOF
19316 /* end confdefs.h. */
19317 $ac_includes_default
19318 typedef short ac__type_sizeof_;
19322 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19329 rm -f conftest.$ac_objext
19330 if { (ac_try="$ac_compile"
19331 case "(($ac_try" in
19332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19333 *) ac_try_echo=$ac_try;;
19335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19336 (eval "$ac_compile") 2>conftest.er1
19338 grep -v '^ *+' conftest.er1 >conftest.err
19340 cat conftest.err >&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); } && {
19343 test -z "$ac_c_werror_flag" ||
19344 test ! -s conftest.err
19345 } && test -s conftest.$ac_objext; then
19346 ac_lo=$ac_mid; break
19348 echo "$as_me: failed program was:" >&5
19349 sed 's/^/| /' conftest.$ac_ext >&5
19351 ac_hi=`expr '(' $ac_mid ')' - 1`
19352 if test $ac_mid -le $ac_hi; then
19356 ac_mid=`expr 2 '*' $ac_mid`
19359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19362 echo "$as_me: failed program was:" >&5
19363 sed 's/^/| /' conftest.$ac_ext >&5
19368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19372 # Binary search between lo and hi bounds.
19373 while test "x$ac_lo" != "x$ac_hi"; do
19374 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19375 cat >conftest.$ac_ext <<_ACEOF
19378 cat confdefs.h >>conftest.$ac_ext
19379 cat >>conftest.$ac_ext <<_ACEOF
19380 /* end confdefs.h. */
19381 $ac_includes_default
19382 typedef short ac__type_sizeof_;
19386 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19393 rm -f conftest.$ac_objext
19394 if { (ac_try="$ac_compile"
19395 case "(($ac_try" in
19396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19397 *) ac_try_echo=$ac_try;;
19399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19400 (eval "$ac_compile") 2>conftest.er1
19402 grep -v '^ *+' conftest.er1 >conftest.err
19404 cat conftest.err >&5
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); } && {
19407 test -z "$ac_c_werror_flag" ||
19408 test ! -s conftest.err
19409 } && test -s conftest.$ac_objext; then
19412 echo "$as_me: failed program was:" >&5
19413 sed 's/^/| /' conftest.$ac_ext >&5
19415 ac_lo=`expr '(' $ac_mid ')' + 1`
19418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19421 ?*) ac_cv_sizeof_short=$ac_lo;;
19422 '') if test "$ac_cv_type_short" = yes; then
19423 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19424 See \`config.log' for more details." >&5
19425 echo "$as_me: error: cannot compute sizeof (short)
19426 See \`config.log' for more details." >&2;}
19427 { (exit 77); exit 77; }; }
19429 ac_cv_sizeof_short=0
19433 cat >conftest.$ac_ext <<_ACEOF
19436 cat confdefs.h >>conftest.$ac_ext
19437 cat >>conftest.$ac_ext <<_ACEOF
19438 /* end confdefs.h. */
19439 $ac_includes_default
19440 typedef short ac__type_sizeof_;
19441 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19442 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19444 #include <stdlib.h>
19449 FILE *f = fopen ("conftest.val", "w");
19452 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19454 long int i = longval ();
19455 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19457 fprintf (f, "%ld\n", i);
19461 unsigned long int i = ulongval ();
19462 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19464 fprintf (f, "%lu\n", i);
19466 return ferror (f) || fclose (f) != 0;
19472 rm -f conftest$ac_exeext
19473 if { (ac_try="$ac_link"
19474 case "(($ac_try" in
19475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19476 *) ac_try_echo=$ac_try;;
19478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19479 (eval "$ac_link") 2>&5
19481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19482 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19483 { (case "(($ac_try" in
19484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19485 *) ac_try_echo=$ac_try;;
19487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19488 (eval "$ac_try") 2>&5
19490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19491 (exit $ac_status); }; }; then
19492 ac_cv_sizeof_short=`cat conftest.val`
19494 echo "$as_me: program exited with status $ac_status" >&5
19495 echo "$as_me: failed program was:" >&5
19496 sed 's/^/| /' conftest.$ac_ext >&5
19498 ( exit $ac_status )
19499 if test "$ac_cv_type_short" = yes; then
19500 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19501 See \`config.log' for more details." >&5
19502 echo "$as_me: error: cannot compute sizeof (short)
19503 See \`config.log' for more details." >&2;}
19504 { (exit 77); exit 77; }; }
19506 ac_cv_sizeof_short=0
19509 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19513 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19514 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19518 cat >>confdefs.h <<_ACEOF
19519 #define SIZEOF_SHORT $ac_cv_sizeof_short
19523 { echo "$as_me:$LINENO: checking for void *" >&5
19524 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19525 if test "${ac_cv_type_void_p+set}" = set; then
19526 echo $ECHO_N "(cached) $ECHO_C" >&6
19528 cat >conftest.$ac_ext <<_ACEOF
19531 cat confdefs.h >>conftest.$ac_ext
19532 cat >>conftest.$ac_ext <<_ACEOF
19533 /* end confdefs.h. */
19534 $ac_includes_default
19535 typedef void * ac__type_new_;
19539 if ((ac__type_new_ *) 0)
19541 if (sizeof (ac__type_new_))
19547 rm -f conftest.$ac_objext
19548 if { (ac_try="$ac_compile"
19549 case "(($ac_try" in
19550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19551 *) ac_try_echo=$ac_try;;
19553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19554 (eval "$ac_compile") 2>conftest.er1
19556 grep -v '^ *+' conftest.er1 >conftest.err
19558 cat conftest.err >&5
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); } && {
19561 test -z "$ac_c_werror_flag" ||
19562 test ! -s conftest.err
19563 } && test -s conftest.$ac_objext; then
19564 ac_cv_type_void_p=yes
19566 echo "$as_me: failed program was:" >&5
19567 sed 's/^/| /' conftest.$ac_ext >&5
19569 ac_cv_type_void_p=no
19572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19574 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19575 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19577 # The cast to long int works around a bug in the HP C Compiler
19578 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19579 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19580 # This bug is HP SR number 8606223364.
19581 { echo "$as_me:$LINENO: checking size of void *" >&5
19582 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19583 if test "${ac_cv_sizeof_void_p+set}" = set; then
19584 echo $ECHO_N "(cached) $ECHO_C" >&6
19586 if test "$cross_compiling" = yes; then
19587 # Depending upon the size, compute the lo and hi bounds.
19588 cat >conftest.$ac_ext <<_ACEOF
19591 cat confdefs.h >>conftest.$ac_ext
19592 cat >>conftest.$ac_ext <<_ACEOF
19593 /* end confdefs.h. */
19594 $ac_includes_default
19595 typedef void * ac__type_sizeof_;
19599 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19606 rm -f conftest.$ac_objext
19607 if { (ac_try="$ac_compile"
19608 case "(($ac_try" in
19609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19610 *) ac_try_echo=$ac_try;;
19612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19613 (eval "$ac_compile") 2>conftest.er1
19615 grep -v '^ *+' conftest.er1 >conftest.err
19617 cat conftest.err >&5
19618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 (exit $ac_status); } && {
19620 test -z "$ac_c_werror_flag" ||
19621 test ! -s conftest.err
19622 } && test -s conftest.$ac_objext; then
19625 cat >conftest.$ac_ext <<_ACEOF
19628 cat confdefs.h >>conftest.$ac_ext
19629 cat >>conftest.$ac_ext <<_ACEOF
19630 /* end confdefs.h. */
19631 $ac_includes_default
19632 typedef void * ac__type_sizeof_;
19636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19643 rm -f conftest.$ac_objext
19644 if { (ac_try="$ac_compile"
19645 case "(($ac_try" in
19646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19647 *) ac_try_echo=$ac_try;;
19649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19650 (eval "$ac_compile") 2>conftest.er1
19652 grep -v '^ *+' conftest.er1 >conftest.err
19654 cat conftest.err >&5
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); } && {
19657 test -z "$ac_c_werror_flag" ||
19658 test ! -s conftest.err
19659 } && test -s conftest.$ac_objext; then
19660 ac_hi=$ac_mid; break
19662 echo "$as_me: failed program was:" >&5
19663 sed 's/^/| /' conftest.$ac_ext >&5
19665 ac_lo=`expr $ac_mid + 1`
19666 if test $ac_lo -le $ac_mid; then
19670 ac_mid=`expr 2 '*' $ac_mid + 1`
19673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19676 echo "$as_me: failed program was:" >&5
19677 sed 's/^/| /' conftest.$ac_ext >&5
19679 cat >conftest.$ac_ext <<_ACEOF
19682 cat confdefs.h >>conftest.$ac_ext
19683 cat >>conftest.$ac_ext <<_ACEOF
19684 /* end confdefs.h. */
19685 $ac_includes_default
19686 typedef void * ac__type_sizeof_;
19690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19697 rm -f conftest.$ac_objext
19698 if { (ac_try="$ac_compile"
19699 case "(($ac_try" in
19700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19701 *) ac_try_echo=$ac_try;;
19703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19704 (eval "$ac_compile") 2>conftest.er1
19706 grep -v '^ *+' conftest.er1 >conftest.err
19708 cat conftest.err >&5
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); } && {
19711 test -z "$ac_c_werror_flag" ||
19712 test ! -s conftest.err
19713 } && test -s conftest.$ac_objext; then
19716 cat >conftest.$ac_ext <<_ACEOF
19719 cat confdefs.h >>conftest.$ac_ext
19720 cat >>conftest.$ac_ext <<_ACEOF
19721 /* end confdefs.h. */
19722 $ac_includes_default
19723 typedef void * ac__type_sizeof_;
19727 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19734 rm -f conftest.$ac_objext
19735 if { (ac_try="$ac_compile"
19736 case "(($ac_try" in
19737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19738 *) ac_try_echo=$ac_try;;
19740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19741 (eval "$ac_compile") 2>conftest.er1
19743 grep -v '^ *+' conftest.er1 >conftest.err
19745 cat conftest.err >&5
19746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19747 (exit $ac_status); } && {
19748 test -z "$ac_c_werror_flag" ||
19749 test ! -s conftest.err
19750 } && test -s conftest.$ac_objext; then
19751 ac_lo=$ac_mid; break
19753 echo "$as_me: failed program was:" >&5
19754 sed 's/^/| /' conftest.$ac_ext >&5
19756 ac_hi=`expr '(' $ac_mid ')' - 1`
19757 if test $ac_mid -le $ac_hi; then
19761 ac_mid=`expr 2 '*' $ac_mid`
19764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19767 echo "$as_me: failed program was:" >&5
19768 sed 's/^/| /' conftest.$ac_ext >&5
19773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19777 # Binary search between lo and hi bounds.
19778 while test "x$ac_lo" != "x$ac_hi"; do
19779 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19780 cat >conftest.$ac_ext <<_ACEOF
19783 cat confdefs.h >>conftest.$ac_ext
19784 cat >>conftest.$ac_ext <<_ACEOF
19785 /* end confdefs.h. */
19786 $ac_includes_default
19787 typedef void * ac__type_sizeof_;
19791 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19798 rm -f conftest.$ac_objext
19799 if { (ac_try="$ac_compile"
19800 case "(($ac_try" in
19801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19802 *) ac_try_echo=$ac_try;;
19804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19805 (eval "$ac_compile") 2>conftest.er1
19807 grep -v '^ *+' conftest.er1 >conftest.err
19809 cat conftest.err >&5
19810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19811 (exit $ac_status); } && {
19812 test -z "$ac_c_werror_flag" ||
19813 test ! -s conftest.err
19814 } && test -s conftest.$ac_objext; then
19817 echo "$as_me: failed program was:" >&5
19818 sed 's/^/| /' conftest.$ac_ext >&5
19820 ac_lo=`expr '(' $ac_mid ')' + 1`
19823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19826 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19827 '') if test "$ac_cv_type_void_p" = yes; then
19828 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19829 See \`config.log' for more details." >&5
19830 echo "$as_me: error: cannot compute sizeof (void *)
19831 See \`config.log' for more details." >&2;}
19832 { (exit 77); exit 77; }; }
19834 ac_cv_sizeof_void_p=0
19838 cat >conftest.$ac_ext <<_ACEOF
19841 cat confdefs.h >>conftest.$ac_ext
19842 cat >>conftest.$ac_ext <<_ACEOF
19843 /* end confdefs.h. */
19844 $ac_includes_default
19845 typedef void * ac__type_sizeof_;
19846 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19847 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19849 #include <stdlib.h>
19854 FILE *f = fopen ("conftest.val", "w");
19857 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19859 long int i = longval ();
19860 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19862 fprintf (f, "%ld\n", i);
19866 unsigned long int i = ulongval ();
19867 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19869 fprintf (f, "%lu\n", i);
19871 return ferror (f) || fclose (f) != 0;
19877 rm -f conftest$ac_exeext
19878 if { (ac_try="$ac_link"
19879 case "(($ac_try" in
19880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19881 *) ac_try_echo=$ac_try;;
19883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19884 (eval "$ac_link") 2>&5
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19888 { (case "(($ac_try" in
19889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19890 *) ac_try_echo=$ac_try;;
19892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19893 (eval "$ac_try") 2>&5
19895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19896 (exit $ac_status); }; }; then
19897 ac_cv_sizeof_void_p=`cat conftest.val`
19899 echo "$as_me: program exited with status $ac_status" >&5
19900 echo "$as_me: failed program was:" >&5
19901 sed 's/^/| /' conftest.$ac_ext >&5
19903 ( exit $ac_status )
19904 if test "$ac_cv_type_void_p" = yes; then
19905 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19906 See \`config.log' for more details." >&5
19907 echo "$as_me: error: cannot compute sizeof (void *)
19908 See \`config.log' for more details." >&2;}
19909 { (exit 77); exit 77; }; }
19911 ac_cv_sizeof_void_p=0
19914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19918 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19919 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19923 cat >>confdefs.h <<_ACEOF
19924 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19928 { echo "$as_me:$LINENO: checking for int" >&5
19929 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19930 if test "${ac_cv_type_int+set}" = set; then
19931 echo $ECHO_N "(cached) $ECHO_C" >&6
19933 cat >conftest.$ac_ext <<_ACEOF
19936 cat confdefs.h >>conftest.$ac_ext
19937 cat >>conftest.$ac_ext <<_ACEOF
19938 /* end confdefs.h. */
19939 $ac_includes_default
19940 typedef int ac__type_new_;
19944 if ((ac__type_new_ *) 0)
19946 if (sizeof (ac__type_new_))
19952 rm -f conftest.$ac_objext
19953 if { (ac_try="$ac_compile"
19954 case "(($ac_try" in
19955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19956 *) ac_try_echo=$ac_try;;
19958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19959 (eval "$ac_compile") 2>conftest.er1
19961 grep -v '^ *+' conftest.er1 >conftest.err
19963 cat conftest.err >&5
19964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965 (exit $ac_status); } && {
19966 test -z "$ac_c_werror_flag" ||
19967 test ! -s conftest.err
19968 } && test -s conftest.$ac_objext; then
19971 echo "$as_me: failed program was:" >&5
19972 sed 's/^/| /' conftest.$ac_ext >&5
19977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19979 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19980 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19982 # The cast to long int works around a bug in the HP C Compiler
19983 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19984 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19985 # This bug is HP SR number 8606223364.
19986 { echo "$as_me:$LINENO: checking size of int" >&5
19987 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19988 if test "${ac_cv_sizeof_int+set}" = set; then
19989 echo $ECHO_N "(cached) $ECHO_C" >&6
19991 if test "$cross_compiling" = yes; then
19992 # Depending upon the size, compute the lo and hi bounds.
19993 cat >conftest.$ac_ext <<_ACEOF
19996 cat confdefs.h >>conftest.$ac_ext
19997 cat >>conftest.$ac_ext <<_ACEOF
19998 /* end confdefs.h. */
19999 $ac_includes_default
20000 typedef int ac__type_sizeof_;
20004 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20011 rm -f conftest.$ac_objext
20012 if { (ac_try="$ac_compile"
20013 case "(($ac_try" in
20014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20015 *) ac_try_echo=$ac_try;;
20017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20018 (eval "$ac_compile") 2>conftest.er1
20020 grep -v '^ *+' conftest.er1 >conftest.err
20022 cat conftest.err >&5
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); } && {
20025 test -z "$ac_c_werror_flag" ||
20026 test ! -s conftest.err
20027 } && test -s conftest.$ac_objext; then
20030 cat >conftest.$ac_ext <<_ACEOF
20033 cat confdefs.h >>conftest.$ac_ext
20034 cat >>conftest.$ac_ext <<_ACEOF
20035 /* end confdefs.h. */
20036 $ac_includes_default
20037 typedef int ac__type_sizeof_;
20041 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20048 rm -f conftest.$ac_objext
20049 if { (ac_try="$ac_compile"
20050 case "(($ac_try" in
20051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20052 *) ac_try_echo=$ac_try;;
20054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20055 (eval "$ac_compile") 2>conftest.er1
20057 grep -v '^ *+' conftest.er1 >conftest.err
20059 cat conftest.err >&5
20060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20061 (exit $ac_status); } && {
20062 test -z "$ac_c_werror_flag" ||
20063 test ! -s conftest.err
20064 } && test -s conftest.$ac_objext; then
20065 ac_hi=$ac_mid; break
20067 echo "$as_me: failed program was:" >&5
20068 sed 's/^/| /' conftest.$ac_ext >&5
20070 ac_lo=`expr $ac_mid + 1`
20071 if test $ac_lo -le $ac_mid; then
20075 ac_mid=`expr 2 '*' $ac_mid + 1`
20078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20081 echo "$as_me: failed program was:" >&5
20082 sed 's/^/| /' conftest.$ac_ext >&5
20084 cat >conftest.$ac_ext <<_ACEOF
20087 cat confdefs.h >>conftest.$ac_ext
20088 cat >>conftest.$ac_ext <<_ACEOF
20089 /* end confdefs.h. */
20090 $ac_includes_default
20091 typedef int ac__type_sizeof_;
20095 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20102 rm -f conftest.$ac_objext
20103 if { (ac_try="$ac_compile"
20104 case "(($ac_try" in
20105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20106 *) ac_try_echo=$ac_try;;
20108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20109 (eval "$ac_compile") 2>conftest.er1
20111 grep -v '^ *+' conftest.er1 >conftest.err
20113 cat conftest.err >&5
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); } && {
20116 test -z "$ac_c_werror_flag" ||
20117 test ! -s conftest.err
20118 } && test -s conftest.$ac_objext; then
20121 cat >conftest.$ac_ext <<_ACEOF
20124 cat confdefs.h >>conftest.$ac_ext
20125 cat >>conftest.$ac_ext <<_ACEOF
20126 /* end confdefs.h. */
20127 $ac_includes_default
20128 typedef int ac__type_sizeof_;
20132 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20139 rm -f conftest.$ac_objext
20140 if { (ac_try="$ac_compile"
20141 case "(($ac_try" in
20142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20143 *) ac_try_echo=$ac_try;;
20145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20146 (eval "$ac_compile") 2>conftest.er1
20148 grep -v '^ *+' conftest.er1 >conftest.err
20150 cat conftest.err >&5
20151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20152 (exit $ac_status); } && {
20153 test -z "$ac_c_werror_flag" ||
20154 test ! -s conftest.err
20155 } && test -s conftest.$ac_objext; then
20156 ac_lo=$ac_mid; break
20158 echo "$as_me: failed program was:" >&5
20159 sed 's/^/| /' conftest.$ac_ext >&5
20161 ac_hi=`expr '(' $ac_mid ')' - 1`
20162 if test $ac_mid -le $ac_hi; then
20166 ac_mid=`expr 2 '*' $ac_mid`
20169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20172 echo "$as_me: failed program was:" >&5
20173 sed 's/^/| /' conftest.$ac_ext >&5
20178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20182 # Binary search between lo and hi bounds.
20183 while test "x$ac_lo" != "x$ac_hi"; do
20184 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20185 cat >conftest.$ac_ext <<_ACEOF
20188 cat confdefs.h >>conftest.$ac_ext
20189 cat >>conftest.$ac_ext <<_ACEOF
20190 /* end confdefs.h. */
20191 $ac_includes_default
20192 typedef int ac__type_sizeof_;
20196 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20203 rm -f conftest.$ac_objext
20204 if { (ac_try="$ac_compile"
20205 case "(($ac_try" in
20206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20207 *) ac_try_echo=$ac_try;;
20209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20210 (eval "$ac_compile") 2>conftest.er1
20212 grep -v '^ *+' conftest.er1 >conftest.err
20214 cat conftest.err >&5
20215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216 (exit $ac_status); } && {
20217 test -z "$ac_c_werror_flag" ||
20218 test ! -s conftest.err
20219 } && test -s conftest.$ac_objext; then
20222 echo "$as_me: failed program was:" >&5
20223 sed 's/^/| /' conftest.$ac_ext >&5
20225 ac_lo=`expr '(' $ac_mid ')' + 1`
20228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20231 ?*) ac_cv_sizeof_int=$ac_lo;;
20232 '') if test "$ac_cv_type_int" = yes; then
20233 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20234 See \`config.log' for more details." >&5
20235 echo "$as_me: error: cannot compute sizeof (int)
20236 See \`config.log' for more details." >&2;}
20237 { (exit 77); exit 77; }; }
20243 cat >conftest.$ac_ext <<_ACEOF
20246 cat confdefs.h >>conftest.$ac_ext
20247 cat >>conftest.$ac_ext <<_ACEOF
20248 /* end confdefs.h. */
20249 $ac_includes_default
20250 typedef int ac__type_sizeof_;
20251 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20252 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20254 #include <stdlib.h>
20259 FILE *f = fopen ("conftest.val", "w");
20262 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20264 long int i = longval ();
20265 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20267 fprintf (f, "%ld\n", i);
20271 unsigned long int i = ulongval ();
20272 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20274 fprintf (f, "%lu\n", i);
20276 return ferror (f) || fclose (f) != 0;
20282 rm -f conftest$ac_exeext
20283 if { (ac_try="$ac_link"
20284 case "(($ac_try" in
20285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20286 *) ac_try_echo=$ac_try;;
20288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20289 (eval "$ac_link") 2>&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20293 { (case "(($ac_try" in
20294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20295 *) ac_try_echo=$ac_try;;
20297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20298 (eval "$ac_try") 2>&5
20300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301 (exit $ac_status); }; }; then
20302 ac_cv_sizeof_int=`cat conftest.val`
20304 echo "$as_me: program exited with status $ac_status" >&5
20305 echo "$as_me: failed program was:" >&5
20306 sed 's/^/| /' conftest.$ac_ext >&5
20308 ( exit $ac_status )
20309 if test "$ac_cv_type_int" = yes; then
20310 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20311 See \`config.log' for more details." >&5
20312 echo "$as_me: error: cannot compute sizeof (int)
20313 See \`config.log' for more details." >&2;}
20314 { (exit 77); exit 77; }; }
20319 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20323 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20324 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20328 cat >>confdefs.h <<_ACEOF
20329 #define SIZEOF_INT $ac_cv_sizeof_int
20333 { echo "$as_me:$LINENO: checking for long" >&5
20334 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20335 if test "${ac_cv_type_long+set}" = set; then
20336 echo $ECHO_N "(cached) $ECHO_C" >&6
20338 cat >conftest.$ac_ext <<_ACEOF
20341 cat confdefs.h >>conftest.$ac_ext
20342 cat >>conftest.$ac_ext <<_ACEOF
20343 /* end confdefs.h. */
20344 $ac_includes_default
20345 typedef long ac__type_new_;
20349 if ((ac__type_new_ *) 0)
20351 if (sizeof (ac__type_new_))
20357 rm -f conftest.$ac_objext
20358 if { (ac_try="$ac_compile"
20359 case "(($ac_try" in
20360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20361 *) ac_try_echo=$ac_try;;
20363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20364 (eval "$ac_compile") 2>conftest.er1
20366 grep -v '^ *+' conftest.er1 >conftest.err
20368 cat conftest.err >&5
20369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20370 (exit $ac_status); } && {
20371 test -z "$ac_c_werror_flag" ||
20372 test ! -s conftest.err
20373 } && test -s conftest.$ac_objext; then
20374 ac_cv_type_long=yes
20376 echo "$as_me: failed program was:" >&5
20377 sed 's/^/| /' conftest.$ac_ext >&5
20382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20384 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20385 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20387 # The cast to long int works around a bug in the HP C Compiler
20388 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20389 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20390 # This bug is HP SR number 8606223364.
20391 { echo "$as_me:$LINENO: checking size of long" >&5
20392 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20393 if test "${ac_cv_sizeof_long+set}" = set; then
20394 echo $ECHO_N "(cached) $ECHO_C" >&6
20396 if test "$cross_compiling" = yes; then
20397 # Depending upon the size, compute the lo and hi bounds.
20398 cat >conftest.$ac_ext <<_ACEOF
20401 cat confdefs.h >>conftest.$ac_ext
20402 cat >>conftest.$ac_ext <<_ACEOF
20403 /* end confdefs.h. */
20404 $ac_includes_default
20405 typedef long ac__type_sizeof_;
20409 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20416 rm -f conftest.$ac_objext
20417 if { (ac_try="$ac_compile"
20418 case "(($ac_try" in
20419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20420 *) ac_try_echo=$ac_try;;
20422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20423 (eval "$ac_compile") 2>conftest.er1
20425 grep -v '^ *+' conftest.er1 >conftest.err
20427 cat conftest.err >&5
20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429 (exit $ac_status); } && {
20430 test -z "$ac_c_werror_flag" ||
20431 test ! -s conftest.err
20432 } && test -s conftest.$ac_objext; then
20435 cat >conftest.$ac_ext <<_ACEOF
20438 cat confdefs.h >>conftest.$ac_ext
20439 cat >>conftest.$ac_ext <<_ACEOF
20440 /* end confdefs.h. */
20441 $ac_includes_default
20442 typedef long ac__type_sizeof_;
20446 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20453 rm -f conftest.$ac_objext
20454 if { (ac_try="$ac_compile"
20455 case "(($ac_try" in
20456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20457 *) ac_try_echo=$ac_try;;
20459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20460 (eval "$ac_compile") 2>conftest.er1
20462 grep -v '^ *+' conftest.er1 >conftest.err
20464 cat conftest.err >&5
20465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466 (exit $ac_status); } && {
20467 test -z "$ac_c_werror_flag" ||
20468 test ! -s conftest.err
20469 } && test -s conftest.$ac_objext; then
20470 ac_hi=$ac_mid; break
20472 echo "$as_me: failed program was:" >&5
20473 sed 's/^/| /' conftest.$ac_ext >&5
20475 ac_lo=`expr $ac_mid + 1`
20476 if test $ac_lo -le $ac_mid; then
20480 ac_mid=`expr 2 '*' $ac_mid + 1`
20483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20486 echo "$as_me: failed program was:" >&5
20487 sed 's/^/| /' conftest.$ac_ext >&5
20489 cat >conftest.$ac_ext <<_ACEOF
20492 cat confdefs.h >>conftest.$ac_ext
20493 cat >>conftest.$ac_ext <<_ACEOF
20494 /* end confdefs.h. */
20495 $ac_includes_default
20496 typedef long ac__type_sizeof_;
20500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20507 rm -f conftest.$ac_objext
20508 if { (ac_try="$ac_compile"
20509 case "(($ac_try" in
20510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20511 *) ac_try_echo=$ac_try;;
20513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20514 (eval "$ac_compile") 2>conftest.er1
20516 grep -v '^ *+' conftest.er1 >conftest.err
20518 cat conftest.err >&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); } && {
20521 test -z "$ac_c_werror_flag" ||
20522 test ! -s conftest.err
20523 } && test -s conftest.$ac_objext; then
20526 cat >conftest.$ac_ext <<_ACEOF
20529 cat confdefs.h >>conftest.$ac_ext
20530 cat >>conftest.$ac_ext <<_ACEOF
20531 /* end confdefs.h. */
20532 $ac_includes_default
20533 typedef long ac__type_sizeof_;
20537 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20544 rm -f conftest.$ac_objext
20545 if { (ac_try="$ac_compile"
20546 case "(($ac_try" in
20547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20548 *) ac_try_echo=$ac_try;;
20550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20551 (eval "$ac_compile") 2>conftest.er1
20553 grep -v '^ *+' conftest.er1 >conftest.err
20555 cat conftest.err >&5
20556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557 (exit $ac_status); } && {
20558 test -z "$ac_c_werror_flag" ||
20559 test ! -s conftest.err
20560 } && test -s conftest.$ac_objext; then
20561 ac_lo=$ac_mid; break
20563 echo "$as_me: failed program was:" >&5
20564 sed 's/^/| /' conftest.$ac_ext >&5
20566 ac_hi=`expr '(' $ac_mid ')' - 1`
20567 if test $ac_mid -le $ac_hi; then
20571 ac_mid=`expr 2 '*' $ac_mid`
20574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20577 echo "$as_me: failed program was:" >&5
20578 sed 's/^/| /' conftest.$ac_ext >&5
20583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20587 # Binary search between lo and hi bounds.
20588 while test "x$ac_lo" != "x$ac_hi"; do
20589 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20590 cat >conftest.$ac_ext <<_ACEOF
20593 cat confdefs.h >>conftest.$ac_ext
20594 cat >>conftest.$ac_ext <<_ACEOF
20595 /* end confdefs.h. */
20596 $ac_includes_default
20597 typedef long ac__type_sizeof_;
20601 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20608 rm -f conftest.$ac_objext
20609 if { (ac_try="$ac_compile"
20610 case "(($ac_try" in
20611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20612 *) ac_try_echo=$ac_try;;
20614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20615 (eval "$ac_compile") 2>conftest.er1
20617 grep -v '^ *+' conftest.er1 >conftest.err
20619 cat conftest.err >&5
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); } && {
20622 test -z "$ac_c_werror_flag" ||
20623 test ! -s conftest.err
20624 } && test -s conftest.$ac_objext; then
20627 echo "$as_me: failed program was:" >&5
20628 sed 's/^/| /' conftest.$ac_ext >&5
20630 ac_lo=`expr '(' $ac_mid ')' + 1`
20633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20636 ?*) ac_cv_sizeof_long=$ac_lo;;
20637 '') if test "$ac_cv_type_long" = yes; then
20638 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20639 See \`config.log' for more details." >&5
20640 echo "$as_me: error: cannot compute sizeof (long)
20641 See \`config.log' for more details." >&2;}
20642 { (exit 77); exit 77; }; }
20644 ac_cv_sizeof_long=0
20648 cat >conftest.$ac_ext <<_ACEOF
20651 cat confdefs.h >>conftest.$ac_ext
20652 cat >>conftest.$ac_ext <<_ACEOF
20653 /* end confdefs.h. */
20654 $ac_includes_default
20655 typedef long ac__type_sizeof_;
20656 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20657 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20659 #include <stdlib.h>
20664 FILE *f = fopen ("conftest.val", "w");
20667 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20669 long int i = longval ();
20670 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20672 fprintf (f, "%ld\n", i);
20676 unsigned long int i = ulongval ();
20677 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20679 fprintf (f, "%lu\n", i);
20681 return ferror (f) || fclose (f) != 0;
20687 rm -f conftest$ac_exeext
20688 if { (ac_try="$ac_link"
20689 case "(($ac_try" in
20690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20691 *) ac_try_echo=$ac_try;;
20693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20694 (eval "$ac_link") 2>&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20698 { (case "(($ac_try" in
20699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20700 *) ac_try_echo=$ac_try;;
20702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20703 (eval "$ac_try") 2>&5
20705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20706 (exit $ac_status); }; }; then
20707 ac_cv_sizeof_long=`cat conftest.val`
20709 echo "$as_me: program exited with status $ac_status" >&5
20710 echo "$as_me: failed program was:" >&5
20711 sed 's/^/| /' conftest.$ac_ext >&5
20713 ( exit $ac_status )
20714 if test "$ac_cv_type_long" = yes; then
20715 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20716 See \`config.log' for more details." >&5
20717 echo "$as_me: error: cannot compute sizeof (long)
20718 See \`config.log' for more details." >&2;}
20719 { (exit 77); exit 77; }; }
20721 ac_cv_sizeof_long=0
20724 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20728 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20729 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20733 cat >>confdefs.h <<_ACEOF
20734 #define SIZEOF_LONG $ac_cv_sizeof_long
20738 { echo "$as_me:$LINENO: checking for size_t" >&5
20739 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20740 if test "${ac_cv_type_size_t+set}" = set; then
20741 echo $ECHO_N "(cached) $ECHO_C" >&6
20743 cat >conftest.$ac_ext <<_ACEOF
20746 cat confdefs.h >>conftest.$ac_ext
20747 cat >>conftest.$ac_ext <<_ACEOF
20748 /* end confdefs.h. */
20749 $ac_includes_default
20750 typedef size_t ac__type_new_;
20754 if ((ac__type_new_ *) 0)
20756 if (sizeof (ac__type_new_))
20762 rm -f conftest.$ac_objext
20763 if { (ac_try="$ac_compile"
20764 case "(($ac_try" in
20765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20766 *) ac_try_echo=$ac_try;;
20768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20769 (eval "$ac_compile") 2>conftest.er1
20771 grep -v '^ *+' conftest.er1 >conftest.err
20773 cat conftest.err >&5
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); } && {
20776 test -z "$ac_c_werror_flag" ||
20777 test ! -s conftest.err
20778 } && test -s conftest.$ac_objext; then
20779 ac_cv_type_size_t=yes
20781 echo "$as_me: failed program was:" >&5
20782 sed 's/^/| /' conftest.$ac_ext >&5
20784 ac_cv_type_size_t=no
20787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20789 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20790 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20792 # The cast to long int works around a bug in the HP C Compiler
20793 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20794 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20795 # This bug is HP SR number 8606223364.
20796 { echo "$as_me:$LINENO: checking size of size_t" >&5
20797 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20798 if test "${ac_cv_sizeof_size_t+set}" = set; then
20799 echo $ECHO_N "(cached) $ECHO_C" >&6
20801 if test "$cross_compiling" = yes; then
20802 # Depending upon the size, compute the lo and hi bounds.
20803 cat >conftest.$ac_ext <<_ACEOF
20806 cat confdefs.h >>conftest.$ac_ext
20807 cat >>conftest.$ac_ext <<_ACEOF
20808 /* end confdefs.h. */
20809 $ac_includes_default
20810 typedef size_t ac__type_sizeof_;
20814 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20821 rm -f conftest.$ac_objext
20822 if { (ac_try="$ac_compile"
20823 case "(($ac_try" in
20824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20825 *) ac_try_echo=$ac_try;;
20827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20828 (eval "$ac_compile") 2>conftest.er1
20830 grep -v '^ *+' conftest.er1 >conftest.err
20832 cat conftest.err >&5
20833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 (exit $ac_status); } && {
20835 test -z "$ac_c_werror_flag" ||
20836 test ! -s conftest.err
20837 } && test -s conftest.$ac_objext; then
20840 cat >conftest.$ac_ext <<_ACEOF
20843 cat confdefs.h >>conftest.$ac_ext
20844 cat >>conftest.$ac_ext <<_ACEOF
20845 /* end confdefs.h. */
20846 $ac_includes_default
20847 typedef size_t ac__type_sizeof_;
20851 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20858 rm -f conftest.$ac_objext
20859 if { (ac_try="$ac_compile"
20860 case "(($ac_try" in
20861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20862 *) ac_try_echo=$ac_try;;
20864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20865 (eval "$ac_compile") 2>conftest.er1
20867 grep -v '^ *+' conftest.er1 >conftest.err
20869 cat conftest.err >&5
20870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20871 (exit $ac_status); } && {
20872 test -z "$ac_c_werror_flag" ||
20873 test ! -s conftest.err
20874 } && test -s conftest.$ac_objext; then
20875 ac_hi=$ac_mid; break
20877 echo "$as_me: failed program was:" >&5
20878 sed 's/^/| /' conftest.$ac_ext >&5
20880 ac_lo=`expr $ac_mid + 1`
20881 if test $ac_lo -le $ac_mid; then
20885 ac_mid=`expr 2 '*' $ac_mid + 1`
20888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20891 echo "$as_me: failed program was:" >&5
20892 sed 's/^/| /' conftest.$ac_ext >&5
20894 cat >conftest.$ac_ext <<_ACEOF
20897 cat confdefs.h >>conftest.$ac_ext
20898 cat >>conftest.$ac_ext <<_ACEOF
20899 /* end confdefs.h. */
20900 $ac_includes_default
20901 typedef size_t ac__type_sizeof_;
20905 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20912 rm -f conftest.$ac_objext
20913 if { (ac_try="$ac_compile"
20914 case "(($ac_try" in
20915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20916 *) ac_try_echo=$ac_try;;
20918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20919 (eval "$ac_compile") 2>conftest.er1
20921 grep -v '^ *+' conftest.er1 >conftest.err
20923 cat conftest.err >&5
20924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20925 (exit $ac_status); } && {
20926 test -z "$ac_c_werror_flag" ||
20927 test ! -s conftest.err
20928 } && test -s conftest.$ac_objext; then
20931 cat >conftest.$ac_ext <<_ACEOF
20934 cat confdefs.h >>conftest.$ac_ext
20935 cat >>conftest.$ac_ext <<_ACEOF
20936 /* end confdefs.h. */
20937 $ac_includes_default
20938 typedef size_t ac__type_sizeof_;
20942 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20949 rm -f conftest.$ac_objext
20950 if { (ac_try="$ac_compile"
20951 case "(($ac_try" in
20952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20953 *) ac_try_echo=$ac_try;;
20955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20956 (eval "$ac_compile") 2>conftest.er1
20958 grep -v '^ *+' conftest.er1 >conftest.err
20960 cat conftest.err >&5
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); } && {
20963 test -z "$ac_c_werror_flag" ||
20964 test ! -s conftest.err
20965 } && test -s conftest.$ac_objext; then
20966 ac_lo=$ac_mid; break
20968 echo "$as_me: failed program was:" >&5
20969 sed 's/^/| /' conftest.$ac_ext >&5
20971 ac_hi=`expr '(' $ac_mid ')' - 1`
20972 if test $ac_mid -le $ac_hi; then
20976 ac_mid=`expr 2 '*' $ac_mid`
20979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20982 echo "$as_me: failed program was:" >&5
20983 sed 's/^/| /' conftest.$ac_ext >&5
20988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20992 # Binary search between lo and hi bounds.
20993 while test "x$ac_lo" != "x$ac_hi"; do
20994 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20995 cat >conftest.$ac_ext <<_ACEOF
20998 cat confdefs.h >>conftest.$ac_ext
20999 cat >>conftest.$ac_ext <<_ACEOF
21000 /* end confdefs.h. */
21001 $ac_includes_default
21002 typedef size_t ac__type_sizeof_;
21006 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21013 rm -f conftest.$ac_objext
21014 if { (ac_try="$ac_compile"
21015 case "(($ac_try" in
21016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21017 *) ac_try_echo=$ac_try;;
21019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21020 (eval "$ac_compile") 2>conftest.er1
21022 grep -v '^ *+' conftest.er1 >conftest.err
21024 cat conftest.err >&5
21025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21026 (exit $ac_status); } && {
21027 test -z "$ac_c_werror_flag" ||
21028 test ! -s conftest.err
21029 } && test -s conftest.$ac_objext; then
21032 echo "$as_me: failed program was:" >&5
21033 sed 's/^/| /' conftest.$ac_ext >&5
21035 ac_lo=`expr '(' $ac_mid ')' + 1`
21038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21041 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21042 '') if test "$ac_cv_type_size_t" = yes; then
21043 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21044 See \`config.log' for more details." >&5
21045 echo "$as_me: error: cannot compute sizeof (size_t)
21046 See \`config.log' for more details." >&2;}
21047 { (exit 77); exit 77; }; }
21049 ac_cv_sizeof_size_t=0
21053 cat >conftest.$ac_ext <<_ACEOF
21056 cat confdefs.h >>conftest.$ac_ext
21057 cat >>conftest.$ac_ext <<_ACEOF
21058 /* end confdefs.h. */
21059 $ac_includes_default
21060 typedef size_t ac__type_sizeof_;
21061 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21062 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21064 #include <stdlib.h>
21069 FILE *f = fopen ("conftest.val", "w");
21072 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21074 long int i = longval ();
21075 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21077 fprintf (f, "%ld\n", i);
21081 unsigned long int i = ulongval ();
21082 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21084 fprintf (f, "%lu\n", i);
21086 return ferror (f) || fclose (f) != 0;
21092 rm -f conftest$ac_exeext
21093 if { (ac_try="$ac_link"
21094 case "(($ac_try" in
21095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21096 *) ac_try_echo=$ac_try;;
21098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21099 (eval "$ac_link") 2>&5
21101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21102 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21103 { (case "(($ac_try" in
21104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21105 *) ac_try_echo=$ac_try;;
21107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21108 (eval "$ac_try") 2>&5
21110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111 (exit $ac_status); }; }; then
21112 ac_cv_sizeof_size_t=`cat conftest.val`
21114 echo "$as_me: program exited with status $ac_status" >&5
21115 echo "$as_me: failed program was:" >&5
21116 sed 's/^/| /' conftest.$ac_ext >&5
21118 ( exit $ac_status )
21119 if test "$ac_cv_type_size_t" = yes; then
21120 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21121 See \`config.log' for more details." >&5
21122 echo "$as_me: error: cannot compute sizeof (size_t)
21123 See \`config.log' for more details." >&2;}
21124 { (exit 77); exit 77; }; }
21126 ac_cv_sizeof_size_t=0
21129 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21133 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21134 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21138 cat >>confdefs.h <<_ACEOF
21139 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21146 { echo "$as_me:$LINENO: checking for long long" >&5
21147 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21148 if test "${ac_cv_type_long_long+set}" = set; then
21149 echo $ECHO_N "(cached) $ECHO_C" >&6
21151 cat >conftest.$ac_ext <<_ACEOF
21154 cat confdefs.h >>conftest.$ac_ext
21155 cat >>conftest.$ac_ext <<_ACEOF
21156 /* end confdefs.h. */
21157 $ac_includes_default
21158 typedef long long ac__type_new_;
21162 if ((ac__type_new_ *) 0)
21164 if (sizeof (ac__type_new_))
21170 rm -f conftest.$ac_objext
21171 if { (ac_try="$ac_compile"
21172 case "(($ac_try" in
21173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21174 *) ac_try_echo=$ac_try;;
21176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21177 (eval "$ac_compile") 2>conftest.er1
21179 grep -v '^ *+' conftest.er1 >conftest.err
21181 cat conftest.err >&5
21182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21183 (exit $ac_status); } && {
21184 test -z "$ac_c_werror_flag" ||
21185 test ! -s conftest.err
21186 } && test -s conftest.$ac_objext; then
21187 ac_cv_type_long_long=yes
21189 echo "$as_me: failed program was:" >&5
21190 sed 's/^/| /' conftest.$ac_ext >&5
21192 ac_cv_type_long_long=no
21195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21197 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21198 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21200 # The cast to long int works around a bug in the HP C Compiler
21201 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21202 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21203 # This bug is HP SR number 8606223364.
21204 { echo "$as_me:$LINENO: checking size of long long" >&5
21205 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21206 if test "${ac_cv_sizeof_long_long+set}" = set; then
21207 echo $ECHO_N "(cached) $ECHO_C" >&6
21209 if test "$cross_compiling" = yes; then
21210 # Depending upon the size, compute the lo and hi bounds.
21211 cat >conftest.$ac_ext <<_ACEOF
21214 cat confdefs.h >>conftest.$ac_ext
21215 cat >>conftest.$ac_ext <<_ACEOF
21216 /* end confdefs.h. */
21217 $ac_includes_default
21218 typedef long long ac__type_sizeof_;
21222 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21229 rm -f conftest.$ac_objext
21230 if { (ac_try="$ac_compile"
21231 case "(($ac_try" in
21232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21233 *) ac_try_echo=$ac_try;;
21235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21236 (eval "$ac_compile") 2>conftest.er1
21238 grep -v '^ *+' conftest.er1 >conftest.err
21240 cat conftest.err >&5
21241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21242 (exit $ac_status); } && {
21243 test -z "$ac_c_werror_flag" ||
21244 test ! -s conftest.err
21245 } && test -s conftest.$ac_objext; then
21248 cat >conftest.$ac_ext <<_ACEOF
21251 cat confdefs.h >>conftest.$ac_ext
21252 cat >>conftest.$ac_ext <<_ACEOF
21253 /* end confdefs.h. */
21254 $ac_includes_default
21255 typedef long long ac__type_sizeof_;
21259 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21266 rm -f conftest.$ac_objext
21267 if { (ac_try="$ac_compile"
21268 case "(($ac_try" in
21269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21270 *) ac_try_echo=$ac_try;;
21272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21273 (eval "$ac_compile") 2>conftest.er1
21275 grep -v '^ *+' conftest.er1 >conftest.err
21277 cat conftest.err >&5
21278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21279 (exit $ac_status); } && {
21280 test -z "$ac_c_werror_flag" ||
21281 test ! -s conftest.err
21282 } && test -s conftest.$ac_objext; then
21283 ac_hi=$ac_mid; break
21285 echo "$as_me: failed program was:" >&5
21286 sed 's/^/| /' conftest.$ac_ext >&5
21288 ac_lo=`expr $ac_mid + 1`
21289 if test $ac_lo -le $ac_mid; then
21293 ac_mid=`expr 2 '*' $ac_mid + 1`
21296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21299 echo "$as_me: failed program was:" >&5
21300 sed 's/^/| /' conftest.$ac_ext >&5
21302 cat >conftest.$ac_ext <<_ACEOF
21305 cat confdefs.h >>conftest.$ac_ext
21306 cat >>conftest.$ac_ext <<_ACEOF
21307 /* end confdefs.h. */
21308 $ac_includes_default
21309 typedef long long ac__type_sizeof_;
21313 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21320 rm -f conftest.$ac_objext
21321 if { (ac_try="$ac_compile"
21322 case "(($ac_try" in
21323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21324 *) ac_try_echo=$ac_try;;
21326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21327 (eval "$ac_compile") 2>conftest.er1
21329 grep -v '^ *+' conftest.er1 >conftest.err
21331 cat conftest.err >&5
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); } && {
21334 test -z "$ac_c_werror_flag" ||
21335 test ! -s conftest.err
21336 } && test -s conftest.$ac_objext; then
21339 cat >conftest.$ac_ext <<_ACEOF
21342 cat confdefs.h >>conftest.$ac_ext
21343 cat >>conftest.$ac_ext <<_ACEOF
21344 /* end confdefs.h. */
21345 $ac_includes_default
21346 typedef long long ac__type_sizeof_;
21350 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21357 rm -f conftest.$ac_objext
21358 if { (ac_try="$ac_compile"
21359 case "(($ac_try" in
21360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21361 *) ac_try_echo=$ac_try;;
21363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21364 (eval "$ac_compile") 2>conftest.er1
21366 grep -v '^ *+' conftest.er1 >conftest.err
21368 cat conftest.err >&5
21369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370 (exit $ac_status); } && {
21371 test -z "$ac_c_werror_flag" ||
21372 test ! -s conftest.err
21373 } && test -s conftest.$ac_objext; then
21374 ac_lo=$ac_mid; break
21376 echo "$as_me: failed program was:" >&5
21377 sed 's/^/| /' conftest.$ac_ext >&5
21379 ac_hi=`expr '(' $ac_mid ')' - 1`
21380 if test $ac_mid -le $ac_hi; then
21384 ac_mid=`expr 2 '*' $ac_mid`
21387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21390 echo "$as_me: failed program was:" >&5
21391 sed 's/^/| /' conftest.$ac_ext >&5
21396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21400 # Binary search between lo and hi bounds.
21401 while test "x$ac_lo" != "x$ac_hi"; do
21402 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21403 cat >conftest.$ac_ext <<_ACEOF
21406 cat confdefs.h >>conftest.$ac_ext
21407 cat >>conftest.$ac_ext <<_ACEOF
21408 /* end confdefs.h. */
21409 $ac_includes_default
21410 typedef long long ac__type_sizeof_;
21414 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21421 rm -f conftest.$ac_objext
21422 if { (ac_try="$ac_compile"
21423 case "(($ac_try" in
21424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21425 *) ac_try_echo=$ac_try;;
21427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21428 (eval "$ac_compile") 2>conftest.er1
21430 grep -v '^ *+' conftest.er1 >conftest.err
21432 cat conftest.err >&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); } && {
21435 test -z "$ac_c_werror_flag" ||
21436 test ! -s conftest.err
21437 } && test -s conftest.$ac_objext; then
21440 echo "$as_me: failed program was:" >&5
21441 sed 's/^/| /' conftest.$ac_ext >&5
21443 ac_lo=`expr '(' $ac_mid ')' + 1`
21446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21449 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21450 '') if test "$ac_cv_type_long_long" = yes; then
21451 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21452 See \`config.log' for more details." >&5
21453 echo "$as_me: error: cannot compute sizeof (long long)
21454 See \`config.log' for more details." >&2;}
21455 { (exit 77); exit 77; }; }
21457 ac_cv_sizeof_long_long=0
21461 cat >conftest.$ac_ext <<_ACEOF
21464 cat confdefs.h >>conftest.$ac_ext
21465 cat >>conftest.$ac_ext <<_ACEOF
21466 /* end confdefs.h. */
21467 $ac_includes_default
21468 typedef long long ac__type_sizeof_;
21469 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21470 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21472 #include <stdlib.h>
21477 FILE *f = fopen ("conftest.val", "w");
21480 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21482 long int i = longval ();
21483 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21485 fprintf (f, "%ld\n", i);
21489 unsigned long int i = ulongval ();
21490 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21492 fprintf (f, "%lu\n", i);
21494 return ferror (f) || fclose (f) != 0;
21500 rm -f conftest$ac_exeext
21501 if { (ac_try="$ac_link"
21502 case "(($ac_try" in
21503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21504 *) ac_try_echo=$ac_try;;
21506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21507 (eval "$ac_link") 2>&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21511 { (case "(($ac_try" in
21512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21513 *) ac_try_echo=$ac_try;;
21515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21516 (eval "$ac_try") 2>&5
21518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21519 (exit $ac_status); }; }; then
21520 ac_cv_sizeof_long_long=`cat conftest.val`
21522 echo "$as_me: program exited with status $ac_status" >&5
21523 echo "$as_me: failed program was:" >&5
21524 sed 's/^/| /' conftest.$ac_ext >&5
21526 ( exit $ac_status )
21527 if test "$ac_cv_type_long_long" = yes; then
21528 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21529 See \`config.log' for more details." >&5
21530 echo "$as_me: error: cannot compute sizeof (long long)
21531 See \`config.log' for more details." >&2;}
21532 { (exit 77); exit 77; }; }
21534 ac_cv_sizeof_long_long=0
21537 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21541 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21542 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21546 cat >>confdefs.h <<_ACEOF
21547 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21553 { echo "$as_me:$LINENO: checking for long long" >&5
21554 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21555 if test "${ac_cv_type_long_long+set}" = set; then
21556 echo $ECHO_N "(cached) $ECHO_C" >&6
21558 cat >conftest.$ac_ext <<_ACEOF
21561 cat confdefs.h >>conftest.$ac_ext
21562 cat >>conftest.$ac_ext <<_ACEOF
21563 /* end confdefs.h. */
21564 $ac_includes_default
21565 typedef long long ac__type_new_;
21569 if ((ac__type_new_ *) 0)
21571 if (sizeof (ac__type_new_))
21577 rm -f conftest.$ac_objext
21578 if { (ac_try="$ac_compile"
21579 case "(($ac_try" in
21580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21581 *) ac_try_echo=$ac_try;;
21583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21584 (eval "$ac_compile") 2>conftest.er1
21586 grep -v '^ *+' conftest.er1 >conftest.err
21588 cat conftest.err >&5
21589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21590 (exit $ac_status); } && {
21591 test -z "$ac_c_werror_flag" ||
21592 test ! -s conftest.err
21593 } && test -s conftest.$ac_objext; then
21594 ac_cv_type_long_long=yes
21596 echo "$as_me: failed program was:" >&5
21597 sed 's/^/| /' conftest.$ac_ext >&5
21599 ac_cv_type_long_long=no
21602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21604 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21605 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21607 # The cast to long int works around a bug in the HP C Compiler
21608 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21609 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21610 # This bug is HP SR number 8606223364.
21611 { echo "$as_me:$LINENO: checking size of long long" >&5
21612 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21613 if test "${ac_cv_sizeof_long_long+set}" = set; then
21614 echo $ECHO_N "(cached) $ECHO_C" >&6
21616 if test "$cross_compiling" = yes; then
21617 # Depending upon the size, compute the lo and hi bounds.
21618 cat >conftest.$ac_ext <<_ACEOF
21621 cat confdefs.h >>conftest.$ac_ext
21622 cat >>conftest.$ac_ext <<_ACEOF
21623 /* end confdefs.h. */
21624 $ac_includes_default
21625 typedef long long ac__type_sizeof_;
21629 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21636 rm -f conftest.$ac_objext
21637 if { (ac_try="$ac_compile"
21638 case "(($ac_try" in
21639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21640 *) ac_try_echo=$ac_try;;
21642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21643 (eval "$ac_compile") 2>conftest.er1
21645 grep -v '^ *+' conftest.er1 >conftest.err
21647 cat conftest.err >&5
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); } && {
21650 test -z "$ac_c_werror_flag" ||
21651 test ! -s conftest.err
21652 } && test -s conftest.$ac_objext; then
21655 cat >conftest.$ac_ext <<_ACEOF
21658 cat confdefs.h >>conftest.$ac_ext
21659 cat >>conftest.$ac_ext <<_ACEOF
21660 /* end confdefs.h. */
21661 $ac_includes_default
21662 typedef long long ac__type_sizeof_;
21666 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21673 rm -f conftest.$ac_objext
21674 if { (ac_try="$ac_compile"
21675 case "(($ac_try" in
21676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21677 *) ac_try_echo=$ac_try;;
21679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21680 (eval "$ac_compile") 2>conftest.er1
21682 grep -v '^ *+' conftest.er1 >conftest.err
21684 cat conftest.err >&5
21685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21686 (exit $ac_status); } && {
21687 test -z "$ac_c_werror_flag" ||
21688 test ! -s conftest.err
21689 } && test -s conftest.$ac_objext; then
21690 ac_hi=$ac_mid; break
21692 echo "$as_me: failed program was:" >&5
21693 sed 's/^/| /' conftest.$ac_ext >&5
21695 ac_lo=`expr $ac_mid + 1`
21696 if test $ac_lo -le $ac_mid; then
21700 ac_mid=`expr 2 '*' $ac_mid + 1`
21703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21706 echo "$as_me: failed program was:" >&5
21707 sed 's/^/| /' conftest.$ac_ext >&5
21709 cat >conftest.$ac_ext <<_ACEOF
21712 cat confdefs.h >>conftest.$ac_ext
21713 cat >>conftest.$ac_ext <<_ACEOF
21714 /* end confdefs.h. */
21715 $ac_includes_default
21716 typedef long long ac__type_sizeof_;
21720 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21727 rm -f conftest.$ac_objext
21728 if { (ac_try="$ac_compile"
21729 case "(($ac_try" in
21730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21731 *) ac_try_echo=$ac_try;;
21733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21734 (eval "$ac_compile") 2>conftest.er1
21736 grep -v '^ *+' conftest.er1 >conftest.err
21738 cat conftest.err >&5
21739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21740 (exit $ac_status); } && {
21741 test -z "$ac_c_werror_flag" ||
21742 test ! -s conftest.err
21743 } && test -s conftest.$ac_objext; then
21746 cat >conftest.$ac_ext <<_ACEOF
21749 cat confdefs.h >>conftest.$ac_ext
21750 cat >>conftest.$ac_ext <<_ACEOF
21751 /* end confdefs.h. */
21752 $ac_includes_default
21753 typedef long long ac__type_sizeof_;
21757 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21764 rm -f conftest.$ac_objext
21765 if { (ac_try="$ac_compile"
21766 case "(($ac_try" in
21767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21768 *) ac_try_echo=$ac_try;;
21770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21771 (eval "$ac_compile") 2>conftest.er1
21773 grep -v '^ *+' conftest.er1 >conftest.err
21775 cat conftest.err >&5
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); } && {
21778 test -z "$ac_c_werror_flag" ||
21779 test ! -s conftest.err
21780 } && test -s conftest.$ac_objext; then
21781 ac_lo=$ac_mid; break
21783 echo "$as_me: failed program was:" >&5
21784 sed 's/^/| /' conftest.$ac_ext >&5
21786 ac_hi=`expr '(' $ac_mid ')' - 1`
21787 if test $ac_mid -le $ac_hi; then
21791 ac_mid=`expr 2 '*' $ac_mid`
21794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21797 echo "$as_me: failed program was:" >&5
21798 sed 's/^/| /' conftest.$ac_ext >&5
21803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21807 # Binary search between lo and hi bounds.
21808 while test "x$ac_lo" != "x$ac_hi"; do
21809 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21810 cat >conftest.$ac_ext <<_ACEOF
21813 cat confdefs.h >>conftest.$ac_ext
21814 cat >>conftest.$ac_ext <<_ACEOF
21815 /* end confdefs.h. */
21816 $ac_includes_default
21817 typedef long long ac__type_sizeof_;
21821 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21828 rm -f conftest.$ac_objext
21829 if { (ac_try="$ac_compile"
21830 case "(($ac_try" in
21831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21832 *) ac_try_echo=$ac_try;;
21834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21835 (eval "$ac_compile") 2>conftest.er1
21837 grep -v '^ *+' conftest.er1 >conftest.err
21839 cat conftest.err >&5
21840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21841 (exit $ac_status); } && {
21842 test -z "$ac_c_werror_flag" ||
21843 test ! -s conftest.err
21844 } && test -s conftest.$ac_objext; then
21847 echo "$as_me: failed program was:" >&5
21848 sed 's/^/| /' conftest.$ac_ext >&5
21850 ac_lo=`expr '(' $ac_mid ')' + 1`
21853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21856 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21857 '') if test "$ac_cv_type_long_long" = yes; then
21858 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21859 See \`config.log' for more details." >&5
21860 echo "$as_me: error: cannot compute sizeof (long long)
21861 See \`config.log' for more details." >&2;}
21862 { (exit 77); exit 77; }; }
21864 ac_cv_sizeof_long_long=0
21868 cat >conftest.$ac_ext <<_ACEOF
21871 cat confdefs.h >>conftest.$ac_ext
21872 cat >>conftest.$ac_ext <<_ACEOF
21873 /* end confdefs.h. */
21874 $ac_includes_default
21875 typedef long long ac__type_sizeof_;
21876 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21877 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21879 #include <stdlib.h>
21884 FILE *f = fopen ("conftest.val", "w");
21887 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21889 long int i = longval ();
21890 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21892 fprintf (f, "%ld\n", i);
21896 unsigned long int i = ulongval ();
21897 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21899 fprintf (f, "%lu\n", i);
21901 return ferror (f) || fclose (f) != 0;
21907 rm -f conftest$ac_exeext
21908 if { (ac_try="$ac_link"
21909 case "(($ac_try" in
21910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21911 *) ac_try_echo=$ac_try;;
21913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21914 (eval "$ac_link") 2>&5
21916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21918 { (case "(($ac_try" in
21919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21920 *) ac_try_echo=$ac_try;;
21922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21923 (eval "$ac_try") 2>&5
21925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21926 (exit $ac_status); }; }; then
21927 ac_cv_sizeof_long_long=`cat conftest.val`
21929 echo "$as_me: program exited with status $ac_status" >&5
21930 echo "$as_me: failed program was:" >&5
21931 sed 's/^/| /' conftest.$ac_ext >&5
21933 ( exit $ac_status )
21934 if test "$ac_cv_type_long_long" = yes; then
21935 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21936 See \`config.log' for more details." >&5
21937 echo "$as_me: error: cannot compute sizeof (long long)
21938 See \`config.log' for more details." >&2;}
21939 { (exit 77); exit 77; }; }
21941 ac_cv_sizeof_long_long=0
21944 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21948 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21949 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21953 cat >>confdefs.h <<_ACEOF
21954 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21958 if test "$ac_cv_sizeof_long_long" != 0; then
21959 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21963 { echo "$as_me:$LINENO: checking for long long" >&5
21964 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21965 if test "${ac_cv_type_long_long+set}" = set; then
21966 echo $ECHO_N "(cached) $ECHO_C" >&6
21968 cat >conftest.$ac_ext <<_ACEOF
21971 cat confdefs.h >>conftest.$ac_ext
21972 cat >>conftest.$ac_ext <<_ACEOF
21973 /* end confdefs.h. */
21974 $ac_includes_default
21975 typedef long long ac__type_new_;
21979 if ((ac__type_new_ *) 0)
21981 if (sizeof (ac__type_new_))
21987 rm -f conftest.$ac_objext
21988 if { (ac_try="$ac_compile"
21989 case "(($ac_try" in
21990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21991 *) ac_try_echo=$ac_try;;
21993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21994 (eval "$ac_compile") 2>conftest.er1
21996 grep -v '^ *+' conftest.er1 >conftest.err
21998 cat conftest.err >&5
21999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22000 (exit $ac_status); } && {
22001 test -z "$ac_c_werror_flag" ||
22002 test ! -s conftest.err
22003 } && test -s conftest.$ac_objext; then
22004 ac_cv_type_long_long=yes
22006 echo "$as_me: failed program was:" >&5
22007 sed 's/^/| /' conftest.$ac_ext >&5
22009 ac_cv_type_long_long=no
22012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22014 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22015 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22017 # The cast to long int works around a bug in the HP C Compiler
22018 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22019 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22020 # This bug is HP SR number 8606223364.
22021 { echo "$as_me:$LINENO: checking size of long long" >&5
22022 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22023 if test "${ac_cv_sizeof_long_long+set}" = set; then
22024 echo $ECHO_N "(cached) $ECHO_C" >&6
22026 if test "$cross_compiling" = yes; then
22027 # Depending upon the size, compute the lo and hi bounds.
22028 cat >conftest.$ac_ext <<_ACEOF
22031 cat confdefs.h >>conftest.$ac_ext
22032 cat >>conftest.$ac_ext <<_ACEOF
22033 /* end confdefs.h. */
22034 $ac_includes_default
22035 typedef long long ac__type_sizeof_;
22039 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22046 rm -f conftest.$ac_objext
22047 if { (ac_try="$ac_compile"
22048 case "(($ac_try" in
22049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22050 *) ac_try_echo=$ac_try;;
22052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22053 (eval "$ac_compile") 2>conftest.er1
22055 grep -v '^ *+' conftest.er1 >conftest.err
22057 cat conftest.err >&5
22058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22059 (exit $ac_status); } && {
22060 test -z "$ac_c_werror_flag" ||
22061 test ! -s conftest.err
22062 } && test -s conftest.$ac_objext; then
22065 cat >conftest.$ac_ext <<_ACEOF
22068 cat confdefs.h >>conftest.$ac_ext
22069 cat >>conftest.$ac_ext <<_ACEOF
22070 /* end confdefs.h. */
22071 $ac_includes_default
22072 typedef long long ac__type_sizeof_;
22076 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22083 rm -f conftest.$ac_objext
22084 if { (ac_try="$ac_compile"
22085 case "(($ac_try" in
22086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22087 *) ac_try_echo=$ac_try;;
22089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22090 (eval "$ac_compile") 2>conftest.er1
22092 grep -v '^ *+' conftest.er1 >conftest.err
22094 cat conftest.err >&5
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); } && {
22097 test -z "$ac_c_werror_flag" ||
22098 test ! -s conftest.err
22099 } && test -s conftest.$ac_objext; then
22100 ac_hi=$ac_mid; break
22102 echo "$as_me: failed program was:" >&5
22103 sed 's/^/| /' conftest.$ac_ext >&5
22105 ac_lo=`expr $ac_mid + 1`
22106 if test $ac_lo -le $ac_mid; then
22110 ac_mid=`expr 2 '*' $ac_mid + 1`
22113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22116 echo "$as_me: failed program was:" >&5
22117 sed 's/^/| /' conftest.$ac_ext >&5
22119 cat >conftest.$ac_ext <<_ACEOF
22122 cat confdefs.h >>conftest.$ac_ext
22123 cat >>conftest.$ac_ext <<_ACEOF
22124 /* end confdefs.h. */
22125 $ac_includes_default
22126 typedef long long ac__type_sizeof_;
22130 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22137 rm -f conftest.$ac_objext
22138 if { (ac_try="$ac_compile"
22139 case "(($ac_try" in
22140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22141 *) ac_try_echo=$ac_try;;
22143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22144 (eval "$ac_compile") 2>conftest.er1
22146 grep -v '^ *+' conftest.er1 >conftest.err
22148 cat conftest.err >&5
22149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150 (exit $ac_status); } && {
22151 test -z "$ac_c_werror_flag" ||
22152 test ! -s conftest.err
22153 } && test -s conftest.$ac_objext; then
22156 cat >conftest.$ac_ext <<_ACEOF
22159 cat confdefs.h >>conftest.$ac_ext
22160 cat >>conftest.$ac_ext <<_ACEOF
22161 /* end confdefs.h. */
22162 $ac_includes_default
22163 typedef long long ac__type_sizeof_;
22167 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22174 rm -f conftest.$ac_objext
22175 if { (ac_try="$ac_compile"
22176 case "(($ac_try" in
22177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22178 *) ac_try_echo=$ac_try;;
22180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22181 (eval "$ac_compile") 2>conftest.er1
22183 grep -v '^ *+' conftest.er1 >conftest.err
22185 cat conftest.err >&5
22186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22187 (exit $ac_status); } && {
22188 test -z "$ac_c_werror_flag" ||
22189 test ! -s conftest.err
22190 } && test -s conftest.$ac_objext; then
22191 ac_lo=$ac_mid; break
22193 echo "$as_me: failed program was:" >&5
22194 sed 's/^/| /' conftest.$ac_ext >&5
22196 ac_hi=`expr '(' $ac_mid ')' - 1`
22197 if test $ac_mid -le $ac_hi; then
22201 ac_mid=`expr 2 '*' $ac_mid`
22204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22207 echo "$as_me: failed program was:" >&5
22208 sed 's/^/| /' conftest.$ac_ext >&5
22213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22217 # Binary search between lo and hi bounds.
22218 while test "x$ac_lo" != "x$ac_hi"; do
22219 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22220 cat >conftest.$ac_ext <<_ACEOF
22223 cat confdefs.h >>conftest.$ac_ext
22224 cat >>conftest.$ac_ext <<_ACEOF
22225 /* end confdefs.h. */
22226 $ac_includes_default
22227 typedef long long ac__type_sizeof_;
22231 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22238 rm -f conftest.$ac_objext
22239 if { (ac_try="$ac_compile"
22240 case "(($ac_try" in
22241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22242 *) ac_try_echo=$ac_try;;
22244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22245 (eval "$ac_compile") 2>conftest.er1
22247 grep -v '^ *+' conftest.er1 >conftest.err
22249 cat conftest.err >&5
22250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22251 (exit $ac_status); } && {
22252 test -z "$ac_c_werror_flag" ||
22253 test ! -s conftest.err
22254 } && test -s conftest.$ac_objext; then
22257 echo "$as_me: failed program was:" >&5
22258 sed 's/^/| /' conftest.$ac_ext >&5
22260 ac_lo=`expr '(' $ac_mid ')' + 1`
22263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22266 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22267 '') if test "$ac_cv_type_long_long" = yes; then
22268 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22269 See \`config.log' for more details." >&5
22270 echo "$as_me: error: cannot compute sizeof (long long)
22271 See \`config.log' for more details." >&2;}
22272 { (exit 77); exit 77; }; }
22274 ac_cv_sizeof_long_long=0
22278 cat >conftest.$ac_ext <<_ACEOF
22281 cat confdefs.h >>conftest.$ac_ext
22282 cat >>conftest.$ac_ext <<_ACEOF
22283 /* end confdefs.h. */
22284 $ac_includes_default
22285 typedef long long ac__type_sizeof_;
22286 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22287 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22289 #include <stdlib.h>
22294 FILE *f = fopen ("conftest.val", "w");
22297 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22299 long int i = longval ();
22300 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22302 fprintf (f, "%ld\n", i);
22306 unsigned long int i = ulongval ();
22307 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22309 fprintf (f, "%lu\n", i);
22311 return ferror (f) || fclose (f) != 0;
22317 rm -f conftest$ac_exeext
22318 if { (ac_try="$ac_link"
22319 case "(($ac_try" in
22320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22321 *) ac_try_echo=$ac_try;;
22323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22324 (eval "$ac_link") 2>&5
22326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22327 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22328 { (case "(($ac_try" in
22329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22330 *) ac_try_echo=$ac_try;;
22332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22333 (eval "$ac_try") 2>&5
22335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22336 (exit $ac_status); }; }; then
22337 ac_cv_sizeof_long_long=`cat conftest.val`
22339 echo "$as_me: program exited with status $ac_status" >&5
22340 echo "$as_me: failed program was:" >&5
22341 sed 's/^/| /' conftest.$ac_ext >&5
22343 ( exit $ac_status )
22344 if test "$ac_cv_type_long_long" = yes; then
22345 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22346 See \`config.log' for more details." >&5
22347 echo "$as_me: error: cannot compute sizeof (long long)
22348 See \`config.log' for more details." >&2;}
22349 { (exit 77); exit 77; }; }
22351 ac_cv_sizeof_long_long=0
22354 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22358 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22359 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22363 cat >>confdefs.h <<_ACEOF
22364 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22370 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22371 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22372 if test "${ac_cv_type_wchar_t+set}" = set; then
22373 echo $ECHO_N "(cached) $ECHO_C" >&6
22375 cat >conftest.$ac_ext <<_ACEOF
22378 cat confdefs.h >>conftest.$ac_ext
22379 cat >>conftest.$ac_ext <<_ACEOF
22380 /* end confdefs.h. */
22382 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22383 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22384 # error "fake wchar_t"
22386 #ifdef HAVE_WCHAR_H
22388 # include <stddef.h>
22390 # include <wchar.h>
22392 #ifdef HAVE_STDLIB_H
22393 # include <stdlib.h>
22399 typedef wchar_t ac__type_new_;
22403 if ((ac__type_new_ *) 0)
22405 if (sizeof (ac__type_new_))
22411 rm -f conftest.$ac_objext
22412 if { (ac_try="$ac_compile"
22413 case "(($ac_try" in
22414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22415 *) ac_try_echo=$ac_try;;
22417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22418 (eval "$ac_compile") 2>conftest.er1
22420 grep -v '^ *+' conftest.er1 >conftest.err
22422 cat conftest.err >&5
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424 (exit $ac_status); } && {
22425 test -z "$ac_c_werror_flag" ||
22426 test ! -s conftest.err
22427 } && test -s conftest.$ac_objext; then
22428 ac_cv_type_wchar_t=yes
22430 echo "$as_me: failed program was:" >&5
22431 sed 's/^/| /' conftest.$ac_ext >&5
22433 ac_cv_type_wchar_t=no
22436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22438 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22439 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22441 # The cast to long int works around a bug in the HP C Compiler
22442 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22443 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22444 # This bug is HP SR number 8606223364.
22445 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22446 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22447 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22448 echo $ECHO_N "(cached) $ECHO_C" >&6
22450 if test "$cross_compiling" = yes; then
22451 # Depending upon the size, compute the lo and hi bounds.
22452 cat >conftest.$ac_ext <<_ACEOF
22455 cat confdefs.h >>conftest.$ac_ext
22456 cat >>conftest.$ac_ext <<_ACEOF
22457 /* end confdefs.h. */
22459 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22460 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22461 # error "fake wchar_t"
22463 #ifdef HAVE_WCHAR_H
22465 # include <stddef.h>
22467 # include <wchar.h>
22469 #ifdef HAVE_STDLIB_H
22470 # include <stdlib.h>
22476 typedef wchar_t ac__type_sizeof_;
22480 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22487 rm -f conftest.$ac_objext
22488 if { (ac_try="$ac_compile"
22489 case "(($ac_try" in
22490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22491 *) ac_try_echo=$ac_try;;
22493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22494 (eval "$ac_compile") 2>conftest.er1
22496 grep -v '^ *+' conftest.er1 >conftest.err
22498 cat conftest.err >&5
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); } && {
22501 test -z "$ac_c_werror_flag" ||
22502 test ! -s conftest.err
22503 } && test -s conftest.$ac_objext; then
22506 cat >conftest.$ac_ext <<_ACEOF
22509 cat confdefs.h >>conftest.$ac_ext
22510 cat >>conftest.$ac_ext <<_ACEOF
22511 /* end confdefs.h. */
22513 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22514 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22515 # error "fake wchar_t"
22517 #ifdef HAVE_WCHAR_H
22519 # include <stddef.h>
22521 # include <wchar.h>
22523 #ifdef HAVE_STDLIB_H
22524 # include <stdlib.h>
22530 typedef wchar_t ac__type_sizeof_;
22534 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22541 rm -f conftest.$ac_objext
22542 if { (ac_try="$ac_compile"
22543 case "(($ac_try" in
22544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22545 *) ac_try_echo=$ac_try;;
22547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22548 (eval "$ac_compile") 2>conftest.er1
22550 grep -v '^ *+' conftest.er1 >conftest.err
22552 cat conftest.err >&5
22553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22554 (exit $ac_status); } && {
22555 test -z "$ac_c_werror_flag" ||
22556 test ! -s conftest.err
22557 } && test -s conftest.$ac_objext; then
22558 ac_hi=$ac_mid; break
22560 echo "$as_me: failed program was:" >&5
22561 sed 's/^/| /' conftest.$ac_ext >&5
22563 ac_lo=`expr $ac_mid + 1`
22564 if test $ac_lo -le $ac_mid; then
22568 ac_mid=`expr 2 '*' $ac_mid + 1`
22571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22574 echo "$as_me: failed program was:" >&5
22575 sed 's/^/| /' conftest.$ac_ext >&5
22577 cat >conftest.$ac_ext <<_ACEOF
22580 cat confdefs.h >>conftest.$ac_ext
22581 cat >>conftest.$ac_ext <<_ACEOF
22582 /* end confdefs.h. */
22584 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22585 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22586 # error "fake wchar_t"
22588 #ifdef HAVE_WCHAR_H
22590 # include <stddef.h>
22592 # include <wchar.h>
22594 #ifdef HAVE_STDLIB_H
22595 # include <stdlib.h>
22601 typedef wchar_t ac__type_sizeof_;
22605 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22612 rm -f conftest.$ac_objext
22613 if { (ac_try="$ac_compile"
22614 case "(($ac_try" in
22615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22616 *) ac_try_echo=$ac_try;;
22618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22619 (eval "$ac_compile") 2>conftest.er1
22621 grep -v '^ *+' conftest.er1 >conftest.err
22623 cat conftest.err >&5
22624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625 (exit $ac_status); } && {
22626 test -z "$ac_c_werror_flag" ||
22627 test ! -s conftest.err
22628 } && test -s conftest.$ac_objext; then
22631 cat >conftest.$ac_ext <<_ACEOF
22634 cat confdefs.h >>conftest.$ac_ext
22635 cat >>conftest.$ac_ext <<_ACEOF
22636 /* end confdefs.h. */
22638 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22639 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22640 # error "fake wchar_t"
22642 #ifdef HAVE_WCHAR_H
22644 # include <stddef.h>
22646 # include <wchar.h>
22648 #ifdef HAVE_STDLIB_H
22649 # include <stdlib.h>
22655 typedef wchar_t ac__type_sizeof_;
22659 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22666 rm -f conftest.$ac_objext
22667 if { (ac_try="$ac_compile"
22668 case "(($ac_try" in
22669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22670 *) ac_try_echo=$ac_try;;
22672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22673 (eval "$ac_compile") 2>conftest.er1
22675 grep -v '^ *+' conftest.er1 >conftest.err
22677 cat conftest.err >&5
22678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22679 (exit $ac_status); } && {
22680 test -z "$ac_c_werror_flag" ||
22681 test ! -s conftest.err
22682 } && test -s conftest.$ac_objext; then
22683 ac_lo=$ac_mid; break
22685 echo "$as_me: failed program was:" >&5
22686 sed 's/^/| /' conftest.$ac_ext >&5
22688 ac_hi=`expr '(' $ac_mid ')' - 1`
22689 if test $ac_mid -le $ac_hi; then
22693 ac_mid=`expr 2 '*' $ac_mid`
22696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22699 echo "$as_me: failed program was:" >&5
22700 sed 's/^/| /' conftest.$ac_ext >&5
22705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22709 # Binary search between lo and hi bounds.
22710 while test "x$ac_lo" != "x$ac_hi"; do
22711 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22712 cat >conftest.$ac_ext <<_ACEOF
22715 cat confdefs.h >>conftest.$ac_ext
22716 cat >>conftest.$ac_ext <<_ACEOF
22717 /* end confdefs.h. */
22719 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22720 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22721 # error "fake wchar_t"
22723 #ifdef HAVE_WCHAR_H
22725 # include <stddef.h>
22727 # include <wchar.h>
22729 #ifdef HAVE_STDLIB_H
22730 # include <stdlib.h>
22736 typedef wchar_t ac__type_sizeof_;
22740 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22747 rm -f conftest.$ac_objext
22748 if { (ac_try="$ac_compile"
22749 case "(($ac_try" in
22750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22751 *) ac_try_echo=$ac_try;;
22753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22754 (eval "$ac_compile") 2>conftest.er1
22756 grep -v '^ *+' conftest.er1 >conftest.err
22758 cat conftest.err >&5
22759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22760 (exit $ac_status); } && {
22761 test -z "$ac_c_werror_flag" ||
22762 test ! -s conftest.err
22763 } && test -s conftest.$ac_objext; then
22766 echo "$as_me: failed program was:" >&5
22767 sed 's/^/| /' conftest.$ac_ext >&5
22769 ac_lo=`expr '(' $ac_mid ')' + 1`
22772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22775 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22776 '') if test "$ac_cv_type_wchar_t" = yes; then
22777 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22778 See \`config.log' for more details." >&5
22779 echo "$as_me: error: cannot compute sizeof (wchar_t)
22780 See \`config.log' for more details." >&2;}
22781 { (exit 77); exit 77; }; }
22783 ac_cv_sizeof_wchar_t=0
22787 cat >conftest.$ac_ext <<_ACEOF
22790 cat confdefs.h >>conftest.$ac_ext
22791 cat >>conftest.$ac_ext <<_ACEOF
22792 /* end confdefs.h. */
22794 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22795 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22796 # error "fake wchar_t"
22798 #ifdef HAVE_WCHAR_H
22800 # include <stddef.h>
22802 # include <wchar.h>
22804 #ifdef HAVE_STDLIB_H
22805 # include <stdlib.h>
22811 typedef wchar_t ac__type_sizeof_;
22812 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22813 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22815 #include <stdlib.h>
22820 FILE *f = fopen ("conftest.val", "w");
22823 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22825 long int i = longval ();
22826 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22828 fprintf (f, "%ld\n", i);
22832 unsigned long int i = ulongval ();
22833 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22835 fprintf (f, "%lu\n", i);
22837 return ferror (f) || fclose (f) != 0;
22843 rm -f conftest$ac_exeext
22844 if { (ac_try="$ac_link"
22845 case "(($ac_try" in
22846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22847 *) ac_try_echo=$ac_try;;
22849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22850 (eval "$ac_link") 2>&5
22852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22853 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22854 { (case "(($ac_try" in
22855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22856 *) ac_try_echo=$ac_try;;
22858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22859 (eval "$ac_try") 2>&5
22861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22862 (exit $ac_status); }; }; then
22863 ac_cv_sizeof_wchar_t=`cat conftest.val`
22865 echo "$as_me: program exited with status $ac_status" >&5
22866 echo "$as_me: failed program was:" >&5
22867 sed 's/^/| /' conftest.$ac_ext >&5
22869 ( exit $ac_status )
22870 if test "$ac_cv_type_wchar_t" = yes; then
22871 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22872 See \`config.log' for more details." >&5
22873 echo "$as_me: error: cannot compute sizeof (wchar_t)
22874 See \`config.log' for more details." >&2;}
22875 { (exit 77); exit 77; }; }
22877 ac_cv_sizeof_wchar_t=0
22880 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22884 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22885 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22889 cat >>confdefs.h <<_ACEOF
22890 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22894 if test "$ac_cv_sizeof_wchar_t" != 0; then
22900 { echo "$as_me:$LINENO: checking for va_copy" >&5
22901 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22902 if test "${wx_cv_func_va_copy+set}" = set; then
22903 echo $ECHO_N "(cached) $ECHO_C" >&6
22907 ac_cpp='$CXXCPP $CPPFLAGS'
22908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22912 cat >conftest.$ac_ext <<_ACEOF
22914 #include <stdarg.h>
22915 void foo(char *f, ...)
22929 rm -f conftest.$ac_objext conftest$ac_exeext
22930 if { (ac_try="$ac_link"
22931 case "(($ac_try" in
22932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22933 *) ac_try_echo=$ac_try;;
22935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22936 (eval "$ac_link") 2>conftest.er1
22938 grep -v '^ *+' conftest.er1 >conftest.err
22940 cat conftest.err >&5
22941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942 (exit $ac_status); } && {
22943 test -z "$ac_cxx_werror_flag" ||
22944 test ! -s conftest.err
22945 } && test -s conftest$ac_exeext &&
22946 $as_test_x conftest$ac_exeext; then
22947 wx_cv_func_va_copy=yes
22949 echo "$as_me: failed program was:" >&5
22950 sed 's/^/| /' conftest.$ac_ext >&5
22952 wx_cv_func_va_copy=no
22956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22957 conftest$ac_exeext conftest.$ac_ext
22959 ac_cpp='$CPP $CPPFLAGS'
22960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22967 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22968 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22970 if test $wx_cv_func_va_copy = "yes"; then
22971 cat >>confdefs.h <<\_ACEOF
22972 #define HAVE_VA_COPY 1
22976 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22977 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22978 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22979 echo $ECHO_N "(cached) $ECHO_C" >&6
22982 if test "$cross_compiling" = yes; then
22983 wx_cv_type_va_list_lvalue=yes
22986 cat >conftest.$ac_ext <<_ACEOF
22988 #include <stdarg.h>
22989 int foo(char *f, ...)
22994 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23002 return foo("hi", 17);
23005 rm -f conftest$ac_exeext
23006 if { (ac_try="$ac_link"
23007 case "(($ac_try" in
23008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23009 *) ac_try_echo=$ac_try;;
23011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23012 (eval "$ac_link") 2>&5
23014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23015 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23016 { (case "(($ac_try" in
23017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23018 *) ac_try_echo=$ac_try;;
23020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23021 (eval "$ac_try") 2>&5
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); }; }; then
23025 wx_cv_type_va_list_lvalue=yes
23027 echo "$as_me: program exited with status $ac_status" >&5
23028 echo "$as_me: failed program was:" >&5
23029 sed 's/^/| /' conftest.$ac_ext >&5
23031 ( exit $ac_status )
23032 wx_cv_type_va_list_lvalue=no
23034 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23041 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23042 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23044 if test $wx_cv_type_va_list_lvalue != "yes"; then
23045 cat >>confdefs.h <<\_ACEOF
23046 #define VA_LIST_IS_ARRAY 1
23052 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23054 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23055 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23056 if test "${wx_cv_have_variadic_macros+set}" = set; then
23057 echo $ECHO_N "(cached) $ECHO_C" >&6
23061 ac_cpp='$CXXCPP $CPPFLAGS'
23062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23066 cat >conftest.$ac_ext <<_ACEOF
23069 cat confdefs.h >>conftest.$ac_ext
23070 cat >>conftest.$ac_ext <<_ACEOF
23071 /* end confdefs.h. */
23074 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23080 test("%s %d %p", "test", 1, 0);
23087 rm -f conftest.$ac_objext
23088 if { (ac_try="$ac_compile"
23089 case "(($ac_try" in
23090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23091 *) ac_try_echo=$ac_try;;
23093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23094 (eval "$ac_compile") 2>conftest.er1
23096 grep -v '^ *+' conftest.er1 >conftest.err
23098 cat conftest.err >&5
23099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23100 (exit $ac_status); } && {
23101 test -z "$ac_cxx_werror_flag" ||
23102 test ! -s conftest.err
23103 } && test -s conftest.$ac_objext; then
23104 wx_cv_have_variadic_macros=yes
23106 echo "$as_me: failed program was:" >&5
23107 sed 's/^/| /' conftest.$ac_ext >&5
23109 wx_cv_have_variadic_macros=no
23113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23115 ac_cpp='$CPP $CPPFLAGS'
23116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23123 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23124 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23126 if test $wx_cv_have_variadic_macros = "yes"; then
23127 cat >>confdefs.h <<\_ACEOF
23128 #define HAVE_VARIADIC_MACROS 1
23134 # Check whether --enable-largefile was given.
23135 if test "${enable_largefile+set}" = set; then
23136 enableval=$enable_largefile;
23139 if test "$enable_largefile" != no; then
23142 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23143 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23144 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23145 echo $ECHO_N "(cached) $ECHO_C" >&6
23148 cat >conftest.$ac_ext <<_ACEOF
23151 cat confdefs.h >>conftest.$ac_ext
23152 cat >>conftest.$ac_ext <<_ACEOF
23153 /* end confdefs.h. */
23154 #define _FILE_OFFSET_BITS 64
23155 #include <sys/types.h>
23160 unsigned int field: sizeof(off_t) == 8;
23167 rm -f conftest.$ac_objext
23168 if { (ac_try="$ac_compile"
23169 case "(($ac_try" in
23170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23171 *) ac_try_echo=$ac_try;;
23173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23174 (eval "$ac_compile") 2>conftest.er1
23176 grep -v '^ *+' conftest.er1 >conftest.err
23178 cat conftest.err >&5
23179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23180 (exit $ac_status); } && {
23181 test -z "$ac_c_werror_flag" ||
23182 test ! -s conftest.err
23183 } && test -s conftest.$ac_objext; then
23184 ac_cv_sys_file_offset_bits=64
23186 echo "$as_me: failed program was:" >&5
23187 sed 's/^/| /' conftest.$ac_ext >&5
23189 ac_cv_sys_file_offset_bits=no
23192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23196 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23197 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23199 if test "$ac_cv_sys_file_offset_bits" != no; then
23201 cat >>confdefs.h <<_ACEOF
23202 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23207 if test "x$wx_largefile" != "xyes"; then
23209 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23210 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23211 if test "${ac_cv_sys_large_files+set}" = set; then
23212 echo $ECHO_N "(cached) $ECHO_C" >&6
23215 cat >conftest.$ac_ext <<_ACEOF
23218 cat confdefs.h >>conftest.$ac_ext
23219 cat >>conftest.$ac_ext <<_ACEOF
23220 /* end confdefs.h. */
23221 #define _LARGE_FILES 1
23222 #include <sys/types.h>
23227 unsigned int field: sizeof(off_t) == 8;
23234 rm -f conftest.$ac_objext
23235 if { (ac_try="$ac_compile"
23236 case "(($ac_try" in
23237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23238 *) ac_try_echo=$ac_try;;
23240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23241 (eval "$ac_compile") 2>conftest.er1
23243 grep -v '^ *+' conftest.er1 >conftest.err
23245 cat conftest.err >&5
23246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247 (exit $ac_status); } && {
23248 test -z "$ac_c_werror_flag" ||
23249 test ! -s conftest.err
23250 } && test -s conftest.$ac_objext; then
23251 ac_cv_sys_large_files=1
23253 echo "$as_me: failed program was:" >&5
23254 sed 's/^/| /' conftest.$ac_ext >&5
23256 ac_cv_sys_large_files=no
23259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23263 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23264 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23266 if test "$ac_cv_sys_large_files" != no; then
23268 cat >>confdefs.h <<_ACEOF
23269 #define _LARGE_FILES $ac_cv_sys_large_files
23276 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23277 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23278 if test "x$wx_largefile" = "xyes"; then
23279 cat >>confdefs.h <<\_ACEOF
23280 #define HAVE_LARGEFILE_SUPPORT 1
23284 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23285 echo "${ECHO_T}$wx_largefile" >&6; }
23289 if test "x$wx_largefile" = "xyes"; then
23290 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23291 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23293 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23294 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23295 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23296 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23297 echo $ECHO_N "(cached) $ECHO_C" >&6
23301 ac_cpp='$CXXCPP $CPPFLAGS'
23302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23306 cat >conftest.$ac_ext <<_ACEOF
23309 cat confdefs.h >>conftest.$ac_ext
23310 cat >>conftest.$ac_ext <<_ACEOF
23311 /* end confdefs.h. */
23317 #ifndef __STDC_EXT__
23325 rm -f conftest.$ac_objext
23326 if { (ac_try="$ac_compile"
23327 case "(($ac_try" in
23328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23329 *) ac_try_echo=$ac_try;;
23331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23332 (eval "$ac_compile") 2>conftest.er1
23334 grep -v '^ *+' conftest.er1 >conftest.err
23336 cat conftest.err >&5
23337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23338 (exit $ac_status); } && {
23339 test -z "$ac_cxx_werror_flag" ||
23340 test ! -s conftest.err
23341 } && test -s conftest.$ac_objext; then
23342 wx_cv_STDC_EXT_required=no
23344 echo "$as_me: failed program was:" >&5
23345 sed 's/^/| /' conftest.$ac_ext >&5
23347 wx_cv_STDC_EXT_required=yes
23351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23353 ac_cpp='$CPP $CPPFLAGS'
23354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23361 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23362 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23363 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23364 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23368 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23370 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23371 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23372 if test "${ac_cv_sys_largefile_source+set}" = set; then
23373 echo $ECHO_N "(cached) $ECHO_C" >&6
23376 cat >conftest.$ac_ext <<_ACEOF
23379 cat confdefs.h >>conftest.$ac_ext
23380 cat >>conftest.$ac_ext <<_ACEOF
23381 /* end confdefs.h. */
23382 #include <sys/types.h> /* for off_t */
23387 int (*fp) (FILE *, off_t, int) = fseeko;
23388 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23393 rm -f conftest.$ac_objext conftest$ac_exeext
23394 if { (ac_try="$ac_link"
23395 case "(($ac_try" in
23396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23397 *) ac_try_echo=$ac_try;;
23399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23400 (eval "$ac_link") 2>conftest.er1
23402 grep -v '^ *+' conftest.er1 >conftest.err
23404 cat conftest.err >&5
23405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23406 (exit $ac_status); } && {
23407 test -z "$ac_c_werror_flag" ||
23408 test ! -s conftest.err
23409 } && test -s conftest$ac_exeext &&
23410 $as_test_x conftest$ac_exeext; then
23411 ac_cv_sys_largefile_source=no; break
23413 echo "$as_me: failed program was:" >&5
23414 sed 's/^/| /' conftest.$ac_ext >&5
23419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23420 conftest$ac_exeext conftest.$ac_ext
23421 cat >conftest.$ac_ext <<_ACEOF
23424 cat confdefs.h >>conftest.$ac_ext
23425 cat >>conftest.$ac_ext <<_ACEOF
23426 /* end confdefs.h. */
23427 #define _LARGEFILE_SOURCE 1
23428 #include <sys/types.h> /* for off_t */
23433 int (*fp) (FILE *, off_t, int) = fseeko;
23434 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23439 rm -f conftest.$ac_objext conftest$ac_exeext
23440 if { (ac_try="$ac_link"
23441 case "(($ac_try" in
23442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23443 *) ac_try_echo=$ac_try;;
23445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23446 (eval "$ac_link") 2>conftest.er1
23448 grep -v '^ *+' conftest.er1 >conftest.err
23450 cat conftest.err >&5
23451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23452 (exit $ac_status); } && {
23453 test -z "$ac_c_werror_flag" ||
23454 test ! -s conftest.err
23455 } && test -s conftest$ac_exeext &&
23456 $as_test_x conftest$ac_exeext; then
23457 ac_cv_sys_largefile_source=1; break
23459 echo "$as_me: failed program was:" >&5
23460 sed 's/^/| /' conftest.$ac_ext >&5
23465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23466 conftest$ac_exeext conftest.$ac_ext
23467 ac_cv_sys_largefile_source=unknown
23471 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23472 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23473 case $ac_cv_sys_largefile_source in #(
23476 cat >>confdefs.h <<_ACEOF
23477 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23483 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23484 # in glibc 2.1.3, but that breaks too many other things.
23485 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23486 if test $ac_cv_sys_largefile_source != unknown; then
23488 cat >>confdefs.h <<\_ACEOF
23489 #define HAVE_FSEEKO 1
23494 if test "$ac_cv_sys_largefile_source" != no; then
23495 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23499 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23500 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23501 if test "${ac_cv_c_bigendian+set}" = set; then
23502 echo $ECHO_N "(cached) $ECHO_C" >&6
23504 ac_cv_c_bigendian=unknown
23505 # See if sys/param.h defines the BYTE_ORDER macro.
23506 cat >conftest.$ac_ext <<_ACEOF
23509 cat confdefs.h >>conftest.$ac_ext
23510 cat >>conftest.$ac_ext <<_ACEOF
23511 /* end confdefs.h. */
23512 #include <sys/types.h>
23513 #include <sys/param.h>
23518 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23519 bogus endian macros
23525 rm -f conftest.$ac_objext
23526 if { (ac_try="$ac_compile"
23527 case "(($ac_try" in
23528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23529 *) ac_try_echo=$ac_try;;
23531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23532 (eval "$ac_compile") 2>conftest.er1
23534 grep -v '^ *+' conftest.er1 >conftest.err
23536 cat conftest.err >&5
23537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23538 (exit $ac_status); } && {
23539 test -z "$ac_c_werror_flag" ||
23540 test ! -s conftest.err
23541 } && test -s conftest.$ac_objext; then
23542 # It does; now see whether it defined to BIG_ENDIAN or not.
23543 cat >conftest.$ac_ext <<_ACEOF
23546 cat confdefs.h >>conftest.$ac_ext
23547 cat >>conftest.$ac_ext <<_ACEOF
23548 /* end confdefs.h. */
23549 #include <sys/types.h>
23550 #include <sys/param.h>
23555 #if BYTE_ORDER != BIG_ENDIAN
23562 rm -f conftest.$ac_objext
23563 if { (ac_try="$ac_compile"
23564 case "(($ac_try" in
23565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23566 *) ac_try_echo=$ac_try;;
23568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23569 (eval "$ac_compile") 2>conftest.er1
23571 grep -v '^ *+' conftest.er1 >conftest.err
23573 cat conftest.err >&5
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); } && {
23576 test -z "$ac_c_werror_flag" ||
23577 test ! -s conftest.err
23578 } && test -s conftest.$ac_objext; then
23579 ac_cv_c_bigendian=yes
23581 echo "$as_me: failed program was:" >&5
23582 sed 's/^/| /' conftest.$ac_ext >&5
23584 ac_cv_c_bigendian=no
23587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23589 echo "$as_me: failed program was:" >&5
23590 sed 's/^/| /' conftest.$ac_ext >&5
23595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23596 if test $ac_cv_c_bigendian = unknown; then
23597 if test "$cross_compiling" = yes; then
23598 ac_cv_c_bigendian=unknown
23600 cat >conftest.$ac_ext <<_ACEOF
23603 cat confdefs.h >>conftest.$ac_ext
23604 cat >>conftest.$ac_ext <<_ACEOF
23605 /* end confdefs.h. */
23607 /* Are we little or big endian? From Harbison&Steele. */
23611 char c[sizeof (long)];
23614 exit (u.c[sizeof (long) - 1] == 1);
23617 rm -f conftest$ac_exeext
23618 if { (ac_try="$ac_link"
23619 case "(($ac_try" in
23620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23621 *) ac_try_echo=$ac_try;;
23623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23624 (eval "$ac_link") 2>&5
23626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23627 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23628 { (case "(($ac_try" in
23629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23630 *) ac_try_echo=$ac_try;;
23632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23633 (eval "$ac_try") 2>&5
23635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23636 (exit $ac_status); }; }; then
23637 ac_cv_c_bigendian=no
23639 echo "$as_me: program exited with status $ac_status" >&5
23640 echo "$as_me: failed program was:" >&5
23641 sed 's/^/| /' conftest.$ac_ext >&5
23643 ( exit $ac_status )
23644 ac_cv_c_bigendian=yes
23646 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23652 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23653 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23654 if test $ac_cv_c_bigendian = unknown; then
23655 { 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
23656 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;}
23658 if test $ac_cv_c_bigendian = yes; then
23659 cat >>confdefs.h <<\_ACEOF
23660 #define WORDS_BIGENDIAN 1
23669 ac_cpp='$CXXCPP $CPPFLAGS'
23670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23676 for ac_header in iostream
23678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23679 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23681 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23682 echo $ECHO_N "(cached) $ECHO_C" >&6
23684 cat >conftest.$ac_ext <<_ACEOF
23687 cat confdefs.h >>conftest.$ac_ext
23688 cat >>conftest.$ac_ext <<_ACEOF
23689 /* end confdefs.h. */
23692 #include <$ac_header>
23694 rm -f conftest.$ac_objext
23695 if { (ac_try="$ac_compile"
23696 case "(($ac_try" in
23697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23698 *) ac_try_echo=$ac_try;;
23700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23701 (eval "$ac_compile") 2>conftest.er1
23703 grep -v '^ *+' conftest.er1 >conftest.err
23705 cat conftest.err >&5
23706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23707 (exit $ac_status); } && {
23708 test -z "$ac_cxx_werror_flag" ||
23709 test ! -s conftest.err
23710 } && test -s conftest.$ac_objext; then
23711 eval "$as_ac_Header=yes"
23713 echo "$as_me: failed program was:" >&5
23714 sed 's/^/| /' conftest.$ac_ext >&5
23716 eval "$as_ac_Header=no"
23719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23721 ac_res=`eval echo '${'$as_ac_Header'}'`
23722 { echo "$as_me:$LINENO: result: $ac_res" >&5
23723 echo "${ECHO_T}$ac_res" >&6; }
23724 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23725 cat >>confdefs.h <<_ACEOF
23726 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23734 if test "$ac_cv_header_iostream" = "yes" ; then
23737 cat >>confdefs.h <<\_ACEOF
23738 #define wxUSE_IOSTREAMH 1
23744 ac_cpp='$CPP $CPPFLAGS'
23745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23752 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23753 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23754 if test "${wx_cv_cpp_bool+set}" = set; then
23755 echo $ECHO_N "(cached) $ECHO_C" >&6
23760 ac_cpp='$CXXCPP $CPPFLAGS'
23761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23766 cat >conftest.$ac_ext <<_ACEOF
23769 cat confdefs.h >>conftest.$ac_ext
23770 cat >>conftest.$ac_ext <<_ACEOF
23771 /* end confdefs.h. */
23786 rm -f conftest.$ac_objext
23787 if { (ac_try="$ac_compile"
23788 case "(($ac_try" in
23789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23790 *) ac_try_echo=$ac_try;;
23792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23793 (eval "$ac_compile") 2>conftest.er1
23795 grep -v '^ *+' conftest.er1 >conftest.err
23797 cat conftest.err >&5
23798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23799 (exit $ac_status); } && {
23800 test -z "$ac_cxx_werror_flag" ||
23801 test ! -s conftest.err
23802 } && test -s conftest.$ac_objext; then
23807 echo "$as_me: failed program was:" >&5
23808 sed 's/^/| /' conftest.$ac_ext >&5
23816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23819 ac_cpp='$CPP $CPPFLAGS'
23820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23826 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23827 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23829 if test "$wx_cv_cpp_bool" = "yes"; then
23830 cat >>confdefs.h <<\_ACEOF
23831 #define HAVE_BOOL 1
23838 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23839 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23840 if test "${wx_cv_explicit+set}" = set; then
23841 echo $ECHO_N "(cached) $ECHO_C" >&6
23846 ac_cpp='$CXXCPP $CPPFLAGS'
23847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23852 cat >conftest.$ac_ext <<_ACEOF
23855 cat confdefs.h >>conftest.$ac_ext
23856 cat >>conftest.$ac_ext <<_ACEOF
23857 /* end confdefs.h. */
23859 class Foo { public: explicit Foo(int) {} };
23871 rm -f conftest.$ac_objext
23872 if { (ac_try="$ac_compile"
23873 case "(($ac_try" in
23874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23875 *) ac_try_echo=$ac_try;;
23877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23878 (eval "$ac_compile") 2>conftest.er1
23880 grep -v '^ *+' conftest.er1 >conftest.err
23882 cat conftest.err >&5
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); } && {
23885 test -z "$ac_cxx_werror_flag" ||
23886 test ! -s conftest.err
23887 } && test -s conftest.$ac_objext; then
23889 cat >conftest.$ac_ext <<_ACEOF
23892 cat confdefs.h >>conftest.$ac_ext
23893 cat >>conftest.$ac_ext <<_ACEOF
23894 /* end confdefs.h. */
23896 class Foo { public: explicit Foo(int) {} };
23897 static void TakeFoo(const Foo& foo) { }
23910 rm -f conftest.$ac_objext
23911 if { (ac_try="$ac_compile"
23912 case "(($ac_try" in
23913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23914 *) ac_try_echo=$ac_try;;
23916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23917 (eval "$ac_compile") 2>conftest.er1
23919 grep -v '^ *+' conftest.er1 >conftest.err
23921 cat conftest.err >&5
23922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23923 (exit $ac_status); } && {
23924 test -z "$ac_cxx_werror_flag" ||
23925 test ! -s conftest.err
23926 } && test -s conftest.$ac_objext; then
23929 echo "$as_me: failed program was:" >&5
23930 sed 's/^/| /' conftest.$ac_ext >&5
23936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23939 echo "$as_me: failed program was:" >&5
23940 sed 's/^/| /' conftest.$ac_ext >&5
23946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23949 ac_cpp='$CPP $CPPFLAGS'
23950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23956 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23957 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23959 if test "$wx_cv_explicit" = "yes"; then
23960 cat >>confdefs.h <<\_ACEOF
23961 #define HAVE_EXPLICIT 1
23967 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23968 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23969 if test "${ac_cv_cxx_const_cast+set}" = set; then
23970 echo $ECHO_N "(cached) $ECHO_C" >&6
23974 ac_cpp='$CXXCPP $CPPFLAGS'
23975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23979 cat >conftest.$ac_ext <<_ACEOF
23982 cat confdefs.h >>conftest.$ac_ext
23983 cat >>conftest.$ac_ext <<_ACEOF
23984 /* end confdefs.h. */
23989 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23994 rm -f conftest.$ac_objext
23995 if { (ac_try="$ac_compile"
23996 case "(($ac_try" in
23997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23998 *) ac_try_echo=$ac_try;;
24000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24001 (eval "$ac_compile") 2>conftest.er1
24003 grep -v '^ *+' conftest.er1 >conftest.err
24005 cat conftest.err >&5
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); } && {
24008 test -z "$ac_cxx_werror_flag" ||
24009 test ! -s conftest.err
24010 } && test -s conftest.$ac_objext; then
24011 ac_cv_cxx_const_cast=yes
24013 echo "$as_me: failed program was:" >&5
24014 sed 's/^/| /' conftest.$ac_ext >&5
24016 ac_cv_cxx_const_cast=no
24019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24021 ac_cpp='$CPP $CPPFLAGS'
24022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24028 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24029 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24030 if test "$ac_cv_cxx_const_cast" = yes; then
24032 cat >>confdefs.h <<\_ACEOF
24033 #define HAVE_CONST_CAST
24038 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24039 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24040 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24041 echo $ECHO_N "(cached) $ECHO_C" >&6
24045 ac_cpp='$CXXCPP $CPPFLAGS'
24046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24050 cat >conftest.$ac_ext <<_ACEOF
24053 cat confdefs.h >>conftest.$ac_ext
24054 cat >>conftest.$ac_ext <<_ACEOF
24055 /* end confdefs.h. */
24056 #include <typeinfo>
24057 class Base { public : Base () {} virtual void f () = 0;};
24058 class Derived : public Base { public : Derived () {} virtual void f () {} };
24059 class Unrelated { public : Unrelated () {} };
24060 int g (Unrelated&) { return 0; }
24065 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24070 rm -f conftest.$ac_objext
24071 if { (ac_try="$ac_compile"
24072 case "(($ac_try" in
24073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24074 *) ac_try_echo=$ac_try;;
24076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24077 (eval "$ac_compile") 2>conftest.er1
24079 grep -v '^ *+' conftest.er1 >conftest.err
24081 cat conftest.err >&5
24082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24083 (exit $ac_status); } && {
24084 test -z "$ac_cxx_werror_flag" ||
24085 test ! -s conftest.err
24086 } && test -s conftest.$ac_objext; then
24087 ac_cv_cxx_reinterpret_cast=yes
24089 echo "$as_me: failed program was:" >&5
24090 sed 's/^/| /' conftest.$ac_ext >&5
24092 ac_cv_cxx_reinterpret_cast=no
24095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24097 ac_cpp='$CPP $CPPFLAGS'
24098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24104 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24105 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24106 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24108 cat >>confdefs.h <<\_ACEOF
24109 #define HAVE_REINTERPRET_CAST
24114 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24115 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24116 if test "${ac_cv_cxx_static_cast+set}" = set; then
24117 echo $ECHO_N "(cached) $ECHO_C" >&6
24121 ac_cpp='$CXXCPP $CPPFLAGS'
24122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24126 cat >conftest.$ac_ext <<_ACEOF
24129 cat confdefs.h >>conftest.$ac_ext
24130 cat >>conftest.$ac_ext <<_ACEOF
24131 /* end confdefs.h. */
24132 #include <typeinfo>
24133 class Base { public : Base () {} virtual void f () = 0; };
24134 class Derived : public Base { public : Derived () {} virtual void f () {} };
24135 int g (Derived&) { return 0; }
24140 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24145 rm -f conftest.$ac_objext
24146 if { (ac_try="$ac_compile"
24147 case "(($ac_try" in
24148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24149 *) ac_try_echo=$ac_try;;
24151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24152 (eval "$ac_compile") 2>conftest.er1
24154 grep -v '^ *+' conftest.er1 >conftest.err
24156 cat conftest.err >&5
24157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24158 (exit $ac_status); } && {
24159 test -z "$ac_cxx_werror_flag" ||
24160 test ! -s conftest.err
24161 } && test -s conftest.$ac_objext; then
24162 ac_cv_cxx_static_cast=yes
24164 echo "$as_me: failed program was:" >&5
24165 sed 's/^/| /' conftest.$ac_ext >&5
24167 ac_cv_cxx_static_cast=no
24170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24172 ac_cpp='$CPP $CPPFLAGS'
24173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24179 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24180 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24181 if test "$ac_cv_cxx_static_cast" = yes; then
24183 cat >>confdefs.h <<\_ACEOF
24184 #define HAVE_STATIC_CAST
24190 if test "x$SUNCXX" = xyes; then
24191 CXXFLAGS="-features=tmplife $CXXFLAGS"
24194 if test "x$SUNCC" = xyes; then
24195 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24198 if test "x$SGICC" = "xyes"; then
24199 CFLAGS="-woff 3970 $CFLAGS"
24201 if test "x$SGICXX" = "xyes"; then
24202 CXXFLAGS="-woff 3970 $CXXFLAGS"
24205 if test "x$HPCC" = "xyes"; then
24206 CFLAGS="+W 2011,2450 $CFLAGS"
24208 if test "x$HPCXX" = "xyes"; then
24209 CXXFLAGS="+W 2340 $CXXFLAGS"
24212 if test "x$COMPAQCXX" = "xyes"; then
24213 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24217 ac_cpp='$CXXCPP $CPPFLAGS'
24218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24223 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24224 if test "$wxUSE_UNICODE" = "yes"; then
24225 std_string="std::wstring"
24226 char_type="wchar_t"
24228 std_string="std::string"
24232 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24233 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24234 if test "${wx_cv_class_stdstring+set}" = set; then
24235 echo $ECHO_N "(cached) $ECHO_C" >&6
24238 cat >conftest.$ac_ext <<_ACEOF
24241 cat confdefs.h >>conftest.$ac_ext
24242 cat >>conftest.$ac_ext <<_ACEOF
24243 /* end confdefs.h. */
24253 rm -f conftest.$ac_objext
24254 if { (ac_try="$ac_compile"
24255 case "(($ac_try" in
24256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24257 *) ac_try_echo=$ac_try;;
24259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24260 (eval "$ac_compile") 2>conftest.er1
24262 grep -v '^ *+' conftest.er1 >conftest.err
24264 cat conftest.err >&5
24265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24266 (exit $ac_status); } && {
24267 test -z "$ac_cxx_werror_flag" ||
24268 test ! -s conftest.err
24269 } && test -s conftest.$ac_objext; then
24270 wx_cv_class_stdstring=yes
24272 echo "$as_me: failed program was:" >&5
24273 sed 's/^/| /' conftest.$ac_ext >&5
24275 wx_cv_class_stdstring=no
24279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24283 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24284 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24286 if test "$wx_cv_class_stdstring" = yes; then
24287 if test "$wxUSE_UNICODE" = "yes"; then
24288 cat >>confdefs.h <<\_ACEOF
24289 #define HAVE_STD_WSTRING 1
24294 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24295 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24296 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24297 echo $ECHO_N "(cached) $ECHO_C" >&6
24300 cat >conftest.$ac_ext <<_ACEOF
24303 cat confdefs.h >>conftest.$ac_ext
24304 cat >>conftest.$ac_ext <<_ACEOF
24305 /* end confdefs.h. */
24307 #ifdef HAVE_WCHAR_H
24309 # include <stddef.h>
24311 # include <wchar.h>
24313 #ifdef HAVE_STDLIB_H
24314 # include <stdlib.h>
24322 std::basic_string<$char_type> foo;
24323 const $char_type* dummy = foo.c_str();
24328 rm -f conftest.$ac_objext
24329 if { (ac_try="$ac_compile"
24330 case "(($ac_try" in
24331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24332 *) ac_try_echo=$ac_try;;
24334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24335 (eval "$ac_compile") 2>conftest.er1
24337 grep -v '^ *+' conftest.er1 >conftest.err
24339 cat conftest.err >&5
24340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24341 (exit $ac_status); } && {
24342 test -z "$ac_cxx_werror_flag" ||
24343 test ! -s conftest.err
24344 } && test -s conftest.$ac_objext; then
24345 wx_cv_class_stdbasicstring=yes
24347 echo "$as_me: failed program was:" >&5
24348 sed 's/^/| /' conftest.$ac_ext >&5
24350 wx_cv_class_stdbasicstring=no
24354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24358 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24359 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24361 if test "$wx_cv_class_stdbasicstring" != yes; then
24362 if test "$wxUSE_STL" = "yes"; then
24363 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24364 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24365 { (exit 1); exit 1; }; }
24366 elif test "$wxUSE_STD_STRING" = "yes"; then
24367 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24368 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24369 { (exit 1); exit 1; }; }
24371 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24372 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24373 wxUSE_STD_STRING=no
24379 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24380 { echo "$as_me:$LINENO: checking for std::istream" >&5
24381 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24382 if test "${ac_cv_type_std__istream+set}" = set; then
24383 echo $ECHO_N "(cached) $ECHO_C" >&6
24385 cat >conftest.$ac_ext <<_ACEOF
24388 cat confdefs.h >>conftest.$ac_ext
24389 cat >>conftest.$ac_ext <<_ACEOF
24390 /* end confdefs.h. */
24391 #include <iostream>
24393 typedef std::istream ac__type_new_;
24397 if ((ac__type_new_ *) 0)
24399 if (sizeof (ac__type_new_))
24405 rm -f conftest.$ac_objext
24406 if { (ac_try="$ac_compile"
24407 case "(($ac_try" in
24408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24409 *) ac_try_echo=$ac_try;;
24411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24412 (eval "$ac_compile") 2>conftest.er1
24414 grep -v '^ *+' conftest.er1 >conftest.err
24416 cat conftest.err >&5
24417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24418 (exit $ac_status); } && {
24419 test -z "$ac_cxx_werror_flag" ||
24420 test ! -s conftest.err
24421 } && test -s conftest.$ac_objext; then
24422 ac_cv_type_std__istream=yes
24424 echo "$as_me: failed program was:" >&5
24425 sed 's/^/| /' conftest.$ac_ext >&5
24427 ac_cv_type_std__istream=no
24430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24432 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24433 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24434 if test $ac_cv_type_std__istream = yes; then
24436 cat >>confdefs.h <<_ACEOF
24437 #define HAVE_STD__ISTREAM 1
24442 wxUSE_STD_IOSTREAM=no
24444 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24445 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24446 if test "${ac_cv_type_std__ostream+set}" = set; then
24447 echo $ECHO_N "(cached) $ECHO_C" >&6
24449 cat >conftest.$ac_ext <<_ACEOF
24452 cat confdefs.h >>conftest.$ac_ext
24453 cat >>conftest.$ac_ext <<_ACEOF
24454 /* end confdefs.h. */
24455 #include <iostream>
24457 typedef std::ostream ac__type_new_;
24461 if ((ac__type_new_ *) 0)
24463 if (sizeof (ac__type_new_))
24469 rm -f conftest.$ac_objext
24470 if { (ac_try="$ac_compile"
24471 case "(($ac_try" in
24472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24473 *) ac_try_echo=$ac_try;;
24475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24476 (eval "$ac_compile") 2>conftest.er1
24478 grep -v '^ *+' conftest.er1 >conftest.err
24480 cat conftest.err >&5
24481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24482 (exit $ac_status); } && {
24483 test -z "$ac_cxx_werror_flag" ||
24484 test ! -s conftest.err
24485 } && test -s conftest.$ac_objext; then
24486 ac_cv_type_std__ostream=yes
24488 echo "$as_me: failed program was:" >&5
24489 sed 's/^/| /' conftest.$ac_ext >&5
24491 ac_cv_type_std__ostream=no
24494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24496 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24497 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24498 if test $ac_cv_type_std__ostream = yes; then
24500 cat >>confdefs.h <<_ACEOF
24501 #define HAVE_STD__OSTREAM 1
24506 wxUSE_STD_IOSTREAM=no
24510 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24511 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24512 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24513 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24514 { (exit 1); exit 1; }; }
24516 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24517 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24522 if test "$wxUSE_STL" = "yes"; then
24523 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24524 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24525 if test "${wx_cv_lib_stl+set}" = set; then
24526 echo $ECHO_N "(cached) $ECHO_C" >&6
24528 cat >conftest.$ac_ext <<_ACEOF
24531 cat confdefs.h >>conftest.$ac_ext
24532 cat >>conftest.$ac_ext <<_ACEOF
24533 /* end confdefs.h. */
24535 #include <functional>
24536 #include <algorithm>
24542 std::vector<int> moo;
24543 std::list<int> foo;
24544 std::vector<int>::iterator it =
24545 std::find_if(moo.begin(), moo.end(),
24546 std::bind2nd(std::less<int>(), 3));
24551 rm -f conftest.$ac_objext
24552 if { (ac_try="$ac_compile"
24553 case "(($ac_try" in
24554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24555 *) ac_try_echo=$ac_try;;
24557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24558 (eval "$ac_compile") 2>conftest.er1
24560 grep -v '^ *+' conftest.er1 >conftest.err
24562 cat conftest.err >&5
24563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564 (exit $ac_status); } && {
24565 test -z "$ac_cxx_werror_flag" ||
24566 test ! -s conftest.err
24567 } && test -s conftest.$ac_objext; then
24570 echo "$as_me: failed program was:" >&5
24571 sed 's/^/| /' conftest.$ac_ext >&5
24577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24580 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24581 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24583 if test "$wx_cv_lib_stl" != yes; then
24584 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24585 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24586 { (exit 1); exit 1; }; }
24589 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24590 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24591 if test "${wx_cv_func_stdstring_compare+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. */
24604 std::string foo, bar;
24606 foo.compare(1, 1, bar);
24607 foo.compare(1, 1, bar, 1, 1);
24609 foo.compare(1, 1, "");
24610 foo.compare(1, 1, "", 2);
24615 rm -f conftest.$ac_objext
24616 if { (ac_try="$ac_compile"
24617 case "(($ac_try" in
24618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24619 *) ac_try_echo=$ac_try;;
24621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24622 (eval "$ac_compile") 2>conftest.er1
24624 grep -v '^ *+' conftest.er1 >conftest.err
24626 cat conftest.err >&5
24627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24628 (exit $ac_status); } && {
24629 test -z "$ac_cxx_werror_flag" ||
24630 test ! -s conftest.err
24631 } && test -s conftest.$ac_objext; then
24632 wx_cv_func_stdstring_compare=yes
24634 echo "$as_me: failed program was:" >&5
24635 sed 's/^/| /' conftest.$ac_ext >&5
24637 wx_cv_func_stdstring_compare=no
24641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24644 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24645 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24647 if test "$wx_cv_func_stdstring_compare" = yes; then
24648 cat >>confdefs.h <<\_ACEOF
24649 #define HAVE_STD_STRING_COMPARE 1
24654 { echo "$as_me:$LINENO: checking for hash_map" >&5
24655 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24656 if test "${ac_cv_header_hash_map+set}" = set; then
24657 echo $ECHO_N "(cached) $ECHO_C" >&6
24659 cat >conftest.$ac_ext <<_ACEOF
24662 cat confdefs.h >>conftest.$ac_ext
24663 cat >>conftest.$ac_ext <<_ACEOF
24664 /* end confdefs.h. */
24668 #include <hash_map>
24670 rm -f conftest.$ac_objext
24671 if { (ac_try="$ac_compile"
24672 case "(($ac_try" in
24673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24674 *) ac_try_echo=$ac_try;;
24676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24677 (eval "$ac_compile") 2>conftest.er1
24679 grep -v '^ *+' conftest.er1 >conftest.err
24681 cat conftest.err >&5
24682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24683 (exit $ac_status); } && {
24684 test -z "$ac_cxx_werror_flag" ||
24685 test ! -s conftest.err
24686 } && test -s conftest.$ac_objext; then
24687 ac_cv_header_hash_map=yes
24689 echo "$as_me: failed program was:" >&5
24690 sed 's/^/| /' conftest.$ac_ext >&5
24692 ac_cv_header_hash_map=no
24695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24697 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24698 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24699 if test $ac_cv_header_hash_map = yes; then
24700 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24701 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24702 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24703 echo $ECHO_N "(cached) $ECHO_C" >&6
24705 cat >conftest.$ac_ext <<_ACEOF
24708 cat confdefs.h >>conftest.$ac_ext
24709 cat >>conftest.$ac_ext <<_ACEOF
24710 /* end confdefs.h. */
24711 #include <hash_map>
24712 #include <hash_set>
24716 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24717 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24722 rm -f conftest.$ac_objext
24723 if { (ac_try="$ac_compile"
24724 case "(($ac_try" in
24725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24726 *) ac_try_echo=$ac_try;;
24728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24729 (eval "$ac_compile") 2>conftest.er1
24731 grep -v '^ *+' conftest.er1 >conftest.err
24733 cat conftest.err >&5
24734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24735 (exit $ac_status); } && {
24736 test -z "$ac_cxx_werror_flag" ||
24737 test ! -s conftest.err
24738 } && test -s conftest.$ac_objext; then
24739 wx_cv_class_stdhashmapset=yes
24741 echo "$as_me: failed program was:" >&5
24742 sed 's/^/| /' conftest.$ac_ext >&5
24744 wx_cv_class_stdhashmapset=no
24747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24751 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24752 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24757 if test "$wx_cv_class_stdhashmapset" = yes; then
24758 cat >>confdefs.h <<\_ACEOF
24759 #define HAVE_HASH_MAP 1
24762 cat >>confdefs.h <<\_ACEOF
24763 #define HAVE_STD_HASH_MAP 1
24768 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24769 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24770 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24771 echo $ECHO_N "(cached) $ECHO_C" >&6
24773 cat >conftest.$ac_ext <<_ACEOF
24776 cat confdefs.h >>conftest.$ac_ext
24777 cat >>conftest.$ac_ext <<_ACEOF
24778 /* end confdefs.h. */
24782 #include <ext/hash_map>
24784 rm -f conftest.$ac_objext
24785 if { (ac_try="$ac_compile"
24786 case "(($ac_try" in
24787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24788 *) ac_try_echo=$ac_try;;
24790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24791 (eval "$ac_compile") 2>conftest.er1
24793 grep -v '^ *+' conftest.er1 >conftest.err
24795 cat conftest.err >&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); } && {
24798 test -z "$ac_cxx_werror_flag" ||
24799 test ! -s conftest.err
24800 } && test -s conftest.$ac_objext; then
24801 ac_cv_header_ext_hash_map=yes
24803 echo "$as_me: failed program was:" >&5
24804 sed 's/^/| /' conftest.$ac_ext >&5
24806 ac_cv_header_ext_hash_map=no
24809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24811 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24812 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24813 if test $ac_cv_header_ext_hash_map = yes; then
24814 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24815 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24816 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24817 echo $ECHO_N "(cached) $ECHO_C" >&6
24819 cat >conftest.$ac_ext <<_ACEOF
24822 cat confdefs.h >>conftest.$ac_ext
24823 cat >>conftest.$ac_ext <<_ACEOF
24824 /* end confdefs.h. */
24825 #include <ext/hash_map>
24826 #include <ext/hash_set>
24830 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24831 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24836 rm -f conftest.$ac_objext
24837 if { (ac_try="$ac_compile"
24838 case "(($ac_try" in
24839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24840 *) ac_try_echo=$ac_try;;
24842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24843 (eval "$ac_compile") 2>conftest.er1
24845 grep -v '^ *+' conftest.er1 >conftest.err
24847 cat conftest.err >&5
24848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24849 (exit $ac_status); } && {
24850 test -z "$ac_cxx_werror_flag" ||
24851 test ! -s conftest.err
24852 } && test -s conftest.$ac_objext; then
24853 wx_cv_class_gnuhashmapset=yes
24855 echo "$as_me: failed program was:" >&5
24856 sed 's/^/| /' conftest.$ac_ext >&5
24858 wx_cv_class_gnuhashmapset=no
24861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24865 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24866 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24871 if test "$wx_cv_class_gnuhashmapset" = yes; then
24872 cat >>confdefs.h <<\_ACEOF
24873 #define HAVE_EXT_HASH_MAP 1
24876 cat >>confdefs.h <<\_ACEOF
24877 #define HAVE_GNU_CXX_HASH_MAP 1
24885 if test -n "$GCC"; then
24886 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
24887 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
24888 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24889 echo $ECHO_N "(cached) $ECHO_C" >&6
24892 cat >conftest.$ac_ext <<_ACEOF
24895 cat confdefs.h >>conftest.$ac_ext
24896 cat >>conftest.$ac_ext <<_ACEOF
24897 /* end confdefs.h. */
24903 unsigned int value=0;
24904 /* wxAtomicInc doesn't use return value here */
24905 __sync_fetch_and_add(&value, 2);
24906 __sync_sub_and_fetch(&value, 1);
24907 /* but wxAtomicDec does, so mimic that: */
24908 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
24914 rm -f conftest.$ac_objext conftest$ac_exeext
24915 if { (ac_try="$ac_link"
24916 case "(($ac_try" in
24917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24918 *) ac_try_echo=$ac_try;;
24920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24921 (eval "$ac_link") 2>conftest.er1
24923 grep -v '^ *+' conftest.er1 >conftest.err
24925 cat conftest.err >&5
24926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24927 (exit $ac_status); } && {
24928 test -z "$ac_cxx_werror_flag" ||
24929 test ! -s conftest.err
24930 } && test -s conftest$ac_exeext &&
24931 $as_test_x conftest$ac_exeext; then
24932 wx_cv_cc_gcc_atomic_builtins=yes
24934 echo "$as_me: failed program was:" >&5
24935 sed 's/^/| /' conftest.$ac_ext >&5
24937 wx_cv_cc_gcc_atomic_builtins=no
24940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24941 conftest$ac_exeext conftest.$ac_ext
24945 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24946 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24947 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24948 cat >>confdefs.h <<\_ACEOF
24949 #define HAVE_GCC_ATOMIC_BUILTINS 1
24957 ac_cpp='$CPP $CPPFLAGS'
24958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24965 /usr/local/include \
24967 /usr/Motif-2.1/include \
24968 /usr/Motif-1.2/include \
24969 /usr/include/Motif1.2 \
24972 /usr/openwin/include \
24976 /usr/X11R6/include \
24977 /usr/X11R6.4/include \
24978 /usr/X11R5/include \
24979 /usr/X11R4/include \
24981 /usr/include/X11R6 \
24982 /usr/include/X11R5 \
24983 /usr/include/X11R4 \
24985 /usr/local/X11R6/include \
24986 /usr/local/X11R5/include \
24987 /usr/local/X11R4/include \
24989 /usr/local/include/X11R6 \
24990 /usr/local/include/X11R5 \
24991 /usr/local/include/X11R4 \
24995 /usr/local/X11/include \
24996 /usr/local/include/X11 \
24998 /usr/XFree86/include/X11 \
25001 /usr/openwin/share/include"
25003 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25004 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25008 if test "${wx_cv_std_libpath+set}" = set; then
25009 echo $ECHO_N "(cached) $ECHO_C" >&6
25012 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25013 for e in a so sl dylib dll.a; do
25015 if test -f $libc; then
25018 cat >conftest.$ac_ext <<_ACEOF
25019 int main() { return 0; }
25021 rm -f conftest.$ac_objext conftest$ac_exeext
25022 if { (ac_try="$ac_link"
25023 case "(($ac_try" in
25024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25025 *) ac_try_echo=$ac_try;;
25027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25028 (eval "$ac_link") 2>conftest.er1
25030 grep -v '^ *+' conftest.er1 >conftest.err
25032 cat conftest.err >&5
25033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25034 (exit $ac_status); } && {
25035 test -z "$ac_c_werror_flag" ||
25036 test ! -s conftest.err
25037 } && test -s conftest$ac_exeext &&
25038 $as_test_x conftest$ac_exeext; then
25039 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25041 echo "$as_me: failed program was:" >&5
25042 sed 's/^/| /' conftest.$ac_ext >&5
25047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25048 conftest$ac_exeext conftest.$ac_ext
25050 if test "x$wx_cv_std_libpath" != "x"; then
25056 if test "x$wx_cv_std_libpath" = "x"; then
25057 wx_cv_std_libpath="lib"
25066 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25067 wx_cv_std_libpath="lib/64"
25069 wx_cv_std_libpath="lib"
25074 if test "$ac_cv_sizeof_void_p" = 8 -a \
25075 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25076 wx_cv_std_libpath="lib64"
25078 wx_cv_std_libpath="lib"
25083 wx_cv_std_libpath="lib";
25087 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25088 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25090 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25092 if test "$build" != "$host" -a "$GCC" = yes; then
25093 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25094 cross_root=`dirname $cross_root`
25095 cross_root=`dirname $cross_root`
25097 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25098 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25099 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25101 if test -z "$PKG_CONFIG_PATH"; then
25102 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25103 export PKG_CONFIG_PATH
25106 if test -z "$x_includes" -o "$x_includes" = NONE; then
25109 for ac_dir in $SEARCH_INCLUDE /usr/include;
25111 if test -f "$ac_dir/X11/Intrinsic.h"; then
25112 ac_find_includes=$ac_dir
25117 x_includes=$ac_find_includes
25119 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25122 for ac_dir in $SEARCH_LIB;
25124 for ac_extension in a so sl dylib dll.a; do
25125 if test -f "$ac_dir/libXt.$ac_extension"; then
25126 ac_find_libraries=$ac_dir
25132 x_libraries=$ac_find_libraries
25138 cat >confcache <<\_ACEOF
25139 # This file is a shell script that caches the results of configure
25140 # tests run on this system so they can be shared between configure
25141 # scripts and configure runs, see configure's option --config-cache.
25142 # It is not useful on other systems. If it contains results you don't
25143 # want to keep, you may remove or edit it.
25145 # config.status only pays attention to the cache file if you give it
25146 # the --recheck option to rerun configure.
25148 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25149 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25150 # following values.
25154 # The following way of writing the cache mishandles newlines in values,
25155 # but we know of no workaround that is simple, portable, and efficient.
25156 # So, we kill variables containing newlines.
25157 # Ultrix sh set writes to stderr and can't be redirected directly,
25158 # and sets the high bit in the cache file unless we assign to the vars.
25160 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25161 eval ac_val=\$$ac_var
25165 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25166 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25169 _ | IFS | as_nl) ;; #(
25170 *) $as_unset $ac_var ;;
25176 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25177 *${as_nl}ac_space=\ *)
25178 # `set' does not quote correctly, so add quotes (double-quote
25179 # substitution turns \\\\ into \\, and sed turns \\ into \).
25182 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25185 # `set' quotes correctly as required by POSIX, so do not add quotes.
25186 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25195 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25197 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25199 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25200 if test -w "$cache_file"; then
25201 test "x$cache_file" != "x/dev/null" &&
25202 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25203 echo "$as_me: updating cache $cache_file" >&6;}
25204 cat confcache >$cache_file
25206 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25207 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25212 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25213 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25214 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25215 if test "${wx_cv_lib_glibc21+set}" = set; then
25216 echo $ECHO_N "(cached) $ECHO_C" >&6
25219 cat >conftest.$ac_ext <<_ACEOF
25222 cat confdefs.h >>conftest.$ac_ext
25223 cat >>conftest.$ac_ext <<_ACEOF
25224 /* end confdefs.h. */
25225 #include <features.h>
25230 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25238 rm -f conftest.$ac_objext
25239 if { (ac_try="$ac_compile"
25240 case "(($ac_try" in
25241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25242 *) ac_try_echo=$ac_try;;
25244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25245 (eval "$ac_compile") 2>conftest.er1
25247 grep -v '^ *+' conftest.er1 >conftest.err
25249 cat conftest.err >&5
25250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25251 (exit $ac_status); } && {
25252 test -z "$ac_c_werror_flag" ||
25253 test ! -s conftest.err
25254 } && test -s conftest.$ac_objext; then
25256 wx_cv_lib_glibc21=yes
25259 echo "$as_me: failed program was:" >&5
25260 sed 's/^/| /' conftest.$ac_ext >&5
25263 wx_cv_lib_glibc21=no
25268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25271 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25272 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25273 if test "$wx_cv_lib_glibc21" = "yes"; then
25274 cat >>confdefs.h <<\_ACEOF
25275 #define wxHAVE_GLIBC2 1
25281 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25282 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25283 cat >>confdefs.h <<\_ACEOF
25284 #define _GNU_SOURCE 1
25295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25296 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25298 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25299 echo $ECHO_N "(cached) $ECHO_C" >&6
25301 cat >conftest.$ac_ext <<_ACEOF
25304 cat confdefs.h >>conftest.$ac_ext
25305 cat >>conftest.$ac_ext <<_ACEOF
25306 /* end confdefs.h. */
25307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25309 #define $ac_func innocuous_$ac_func
25311 /* System header to define __stub macros and hopefully few prototypes,
25312 which can conflict with char $ac_func (); below.
25313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25314 <limits.h> exists even on freestanding compilers. */
25317 # include <limits.h>
25319 # include <assert.h>
25324 /* Override any GCC internal prototype to avoid an error.
25325 Use char because int might match the return type of a GCC
25326 builtin and then its argument prototype would still apply. */
25331 /* The GNU C library defines this for functions which it implements
25332 to always fail with ENOSYS. Some functions are actually named
25333 something starting with __ and the normal name is an alias. */
25334 #if defined __stub_$ac_func || defined __stub___$ac_func
25341 return $ac_func ();
25346 rm -f conftest.$ac_objext conftest$ac_exeext
25347 if { (ac_try="$ac_link"
25348 case "(($ac_try" in
25349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25350 *) ac_try_echo=$ac_try;;
25352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25353 (eval "$ac_link") 2>conftest.er1
25355 grep -v '^ *+' conftest.er1 >conftest.err
25357 cat conftest.err >&5
25358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25359 (exit $ac_status); } && {
25360 test -z "$ac_c_werror_flag" ||
25361 test ! -s conftest.err
25362 } && test -s conftest$ac_exeext &&
25363 $as_test_x conftest$ac_exeext; then
25364 eval "$as_ac_var=yes"
25366 echo "$as_me: failed program was:" >&5
25367 sed 's/^/| /' conftest.$ac_ext >&5
25369 eval "$as_ac_var=no"
25372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25373 conftest$ac_exeext conftest.$ac_ext
25375 ac_res=`eval echo '${'$as_ac_var'}'`
25376 { echo "$as_me:$LINENO: result: $ac_res" >&5
25377 echo "${ECHO_T}$ac_res" >&6; }
25378 if test `eval echo '${'$as_ac_var'}'` = yes; then
25379 cat >>confdefs.h <<_ACEOF
25380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25387 for ac_func in floor
25389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25390 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25392 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25393 echo $ECHO_N "(cached) $ECHO_C" >&6
25395 cat >conftest.$ac_ext <<_ACEOF
25398 cat confdefs.h >>conftest.$ac_ext
25399 cat >>conftest.$ac_ext <<_ACEOF
25400 /* end confdefs.h. */
25401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25403 #define $ac_func innocuous_$ac_func
25405 /* System header to define __stub macros and hopefully few prototypes,
25406 which can conflict with char $ac_func (); below.
25407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25408 <limits.h> exists even on freestanding compilers. */
25411 # include <limits.h>
25413 # include <assert.h>
25418 /* Override any GCC internal prototype to avoid an error.
25419 Use char because int might match the return type of a GCC
25420 builtin and then its argument prototype would still apply. */
25425 /* The GNU C library defines this for functions which it implements
25426 to always fail with ENOSYS. Some functions are actually named
25427 something starting with __ and the normal name is an alias. */
25428 #if defined __stub_$ac_func || defined __stub___$ac_func
25435 return $ac_func ();
25440 rm -f conftest.$ac_objext conftest$ac_exeext
25441 if { (ac_try="$ac_link"
25442 case "(($ac_try" in
25443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25444 *) ac_try_echo=$ac_try;;
25446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25447 (eval "$ac_link") 2>conftest.er1
25449 grep -v '^ *+' conftest.er1 >conftest.err
25451 cat conftest.err >&5
25452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25453 (exit $ac_status); } && {
25454 test -z "$ac_c_werror_flag" ||
25455 test ! -s conftest.err
25456 } && test -s conftest$ac_exeext &&
25457 $as_test_x conftest$ac_exeext; then
25458 eval "$as_ac_var=yes"
25460 echo "$as_me: failed program was:" >&5
25461 sed 's/^/| /' conftest.$ac_ext >&5
25463 eval "$as_ac_var=no"
25466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25467 conftest$ac_exeext conftest.$ac_ext
25469 ac_res=`eval echo '${'$as_ac_var'}'`
25470 { echo "$as_me:$LINENO: result: $ac_res" >&5
25471 echo "${ECHO_T}$ac_res" >&6; }
25472 if test `eval echo '${'$as_ac_var'}'` = yes; then
25473 cat >>confdefs.h <<_ACEOF
25474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25480 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25481 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25482 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25483 { echo "$as_me:$LINENO: result: yes" >&5
25484 echo "${ECHO_T}yes" >&6; }
25486 { echo "$as_me:$LINENO: result: no" >&5
25487 echo "${ECHO_T}no" >&6; }
25489 # use different functions to avoid configure caching
25495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25496 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25498 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25499 echo $ECHO_N "(cached) $ECHO_C" >&6
25501 cat >conftest.$ac_ext <<_ACEOF
25504 cat confdefs.h >>conftest.$ac_ext
25505 cat >>conftest.$ac_ext <<_ACEOF
25506 /* end confdefs.h. */
25507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25509 #define $ac_func innocuous_$ac_func
25511 /* System header to define __stub macros and hopefully few prototypes,
25512 which can conflict with char $ac_func (); below.
25513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25514 <limits.h> exists even on freestanding compilers. */
25517 # include <limits.h>
25519 # include <assert.h>
25524 /* Override any GCC internal prototype to avoid an error.
25525 Use char because int might match the return type of a GCC
25526 builtin and then its argument prototype would still apply. */
25531 /* The GNU C library defines this for functions which it implements
25532 to always fail with ENOSYS. Some functions are actually named
25533 something starting with __ and the normal name is an alias. */
25534 #if defined __stub_$ac_func || defined __stub___$ac_func
25541 return $ac_func ();
25546 rm -f conftest.$ac_objext conftest$ac_exeext
25547 if { (ac_try="$ac_link"
25548 case "(($ac_try" in
25549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25550 *) ac_try_echo=$ac_try;;
25552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25553 (eval "$ac_link") 2>conftest.er1
25555 grep -v '^ *+' conftest.er1 >conftest.err
25557 cat conftest.err >&5
25558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25559 (exit $ac_status); } && {
25560 test -z "$ac_c_werror_flag" ||
25561 test ! -s conftest.err
25562 } && test -s conftest$ac_exeext &&
25563 $as_test_x conftest$ac_exeext; then
25564 eval "$as_ac_var=yes"
25566 echo "$as_me: failed program was:" >&5
25567 sed 's/^/| /' conftest.$ac_ext >&5
25569 eval "$as_ac_var=no"
25572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25573 conftest$ac_exeext conftest.$ac_ext
25575 ac_res=`eval echo '${'$as_ac_var'}'`
25576 { echo "$as_me:$LINENO: result: $ac_res" >&5
25577 echo "${ECHO_T}$ac_res" >&6; }
25578 if test `eval echo '${'$as_ac_var'}'` = yes; then
25579 cat >>confdefs.h <<_ACEOF
25580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25587 for ac_func in ceil
25589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25590 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25592 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25593 echo $ECHO_N "(cached) $ECHO_C" >&6
25595 cat >conftest.$ac_ext <<_ACEOF
25598 cat confdefs.h >>conftest.$ac_ext
25599 cat >>conftest.$ac_ext <<_ACEOF
25600 /* end confdefs.h. */
25601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25603 #define $ac_func innocuous_$ac_func
25605 /* System header to define __stub macros and hopefully few prototypes,
25606 which can conflict with char $ac_func (); below.
25607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25608 <limits.h> exists even on freestanding compilers. */
25611 # include <limits.h>
25613 # include <assert.h>
25618 /* Override any GCC internal prototype to avoid an error.
25619 Use char because int might match the return type of a GCC
25620 builtin and then its argument prototype would still apply. */
25625 /* The GNU C library defines this for functions which it implements
25626 to always fail with ENOSYS. Some functions are actually named
25627 something starting with __ and the normal name is an alias. */
25628 #if defined __stub_$ac_func || defined __stub___$ac_func
25635 return $ac_func ();
25640 rm -f conftest.$ac_objext conftest$ac_exeext
25641 if { (ac_try="$ac_link"
25642 case "(($ac_try" in
25643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25644 *) ac_try_echo=$ac_try;;
25646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25647 (eval "$ac_link") 2>conftest.er1
25649 grep -v '^ *+' conftest.er1 >conftest.err
25651 cat conftest.err >&5
25652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25653 (exit $ac_status); } && {
25654 test -z "$ac_c_werror_flag" ||
25655 test ! -s conftest.err
25656 } && test -s conftest$ac_exeext &&
25657 $as_test_x conftest$ac_exeext; then
25658 eval "$as_ac_var=yes"
25660 echo "$as_me: failed program was:" >&5
25661 sed 's/^/| /' conftest.$ac_ext >&5
25663 eval "$as_ac_var=no"
25666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25667 conftest$ac_exeext conftest.$ac_ext
25669 ac_res=`eval echo '${'$as_ac_var'}'`
25670 { echo "$as_me:$LINENO: result: $ac_res" >&5
25671 echo "${ECHO_T}$ac_res" >&6; }
25672 if test `eval echo '${'$as_ac_var'}'` = yes; then
25673 cat >>confdefs.h <<_ACEOF
25674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25680 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25681 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25682 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25683 { echo "$as_me:$LINENO: result: yes" >&5
25684 echo "${ECHO_T}yes" >&6; }
25686 { echo "$as_me:$LINENO: result: no" >&5
25687 echo "${ECHO_T}no" >&6; }
25688 # not sure we should warn the user, crash, etc.
25693 ac_cpp='$CXXCPP $CPPFLAGS'
25694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25698 if test "wxUSE_UNICODE" = "yes"; then
25700 for wx_func in wcstoull
25702 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25703 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25704 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25705 echo $ECHO_N "(cached) $ECHO_C" >&6
25708 cat >conftest.$ac_ext <<_ACEOF
25712 cat confdefs.h >>conftest.$ac_ext
25713 cat >>conftest.$ac_ext <<_ACEOF
25714 /* end confdefs.h. */
25717 $ac_includes_default
25733 rm -f conftest.$ac_objext conftest$ac_exeext
25734 if { (ac_try="$ac_link"
25735 case "(($ac_try" in
25736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25737 *) ac_try_echo=$ac_try;;
25739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25740 (eval "$ac_link") 2>conftest.er1
25742 grep -v '^ *+' conftest.er1 >conftest.err
25744 cat conftest.err >&5
25745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25746 (exit $ac_status); } && {
25747 test -z "$ac_cxx_werror_flag" ||
25748 test ! -s conftest.err
25749 } && test -s conftest$ac_exeext &&
25750 $as_test_x conftest$ac_exeext; then
25751 eval wx_cv_func_$wx_func=yes
25753 echo "$as_me: failed program was:" >&5
25754 sed 's/^/| /' conftest.$ac_ext >&5
25756 eval wx_cv_func_$wx_func=no
25759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25760 conftest$ac_exeext conftest.$ac_ext
25763 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25764 { echo "$as_me:$LINENO: result: $ac_res" >&5
25765 echo "${ECHO_T}$ac_res" >&6; }
25767 if eval test \$wx_cv_func_$wx_func = yes
25769 cat >>confdefs.h <<_ACEOF
25770 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25782 for wx_func in strtoull
25784 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25785 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25786 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25787 echo $ECHO_N "(cached) $ECHO_C" >&6
25790 cat >conftest.$ac_ext <<_ACEOF
25794 cat confdefs.h >>conftest.$ac_ext
25795 cat >>conftest.$ac_ext <<_ACEOF
25796 /* end confdefs.h. */
25799 $ac_includes_default
25815 rm -f conftest.$ac_objext conftest$ac_exeext
25816 if { (ac_try="$ac_link"
25817 case "(($ac_try" in
25818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25819 *) ac_try_echo=$ac_try;;
25821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25822 (eval "$ac_link") 2>conftest.er1
25824 grep -v '^ *+' conftest.er1 >conftest.err
25826 cat conftest.err >&5
25827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25828 (exit $ac_status); } && {
25829 test -z "$ac_cxx_werror_flag" ||
25830 test ! -s conftest.err
25831 } && test -s conftest$ac_exeext &&
25832 $as_test_x conftest$ac_exeext; then
25833 eval wx_cv_func_$wx_func=yes
25835 echo "$as_me: failed program was:" >&5
25836 sed 's/^/| /' conftest.$ac_ext >&5
25838 eval wx_cv_func_$wx_func=no
25841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25842 conftest$ac_exeext conftest.$ac_ext
25845 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25846 { echo "$as_me:$LINENO: result: $ac_res" >&5
25847 echo "${ECHO_T}$ac_res" >&6; }
25849 if eval test \$wx_cv_func_$wx_func = yes
25851 cat >>confdefs.h <<_ACEOF
25852 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25864 ac_cpp='$CPP $CPPFLAGS'
25865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25872 if test "$wxUSE_REGEX" != "no"; then
25873 cat >>confdefs.h <<\_ACEOF
25874 #define wxUSE_REGEX 1
25878 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25879 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
25880 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
25881 wxUSE_REGEX=builtin
25884 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25885 { echo "$as_me:$LINENO: checking for regex.h" >&5
25886 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25887 if test "${ac_cv_header_regex_h+set}" = set; then
25888 echo $ECHO_N "(cached) $ECHO_C" >&6
25890 cat >conftest.$ac_ext <<_ACEOF
25893 cat confdefs.h >>conftest.$ac_ext
25894 cat >>conftest.$ac_ext <<_ACEOF
25895 /* end confdefs.h. */
25900 rm -f conftest.$ac_objext
25901 if { (ac_try="$ac_compile"
25902 case "(($ac_try" in
25903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25904 *) ac_try_echo=$ac_try;;
25906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25907 (eval "$ac_compile") 2>conftest.er1
25909 grep -v '^ *+' conftest.er1 >conftest.err
25911 cat conftest.err >&5
25912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25913 (exit $ac_status); } && {
25914 test -z "$ac_c_werror_flag" ||
25915 test ! -s conftest.err
25916 } && test -s conftest.$ac_objext; then
25917 ac_cv_header_regex_h=yes
25919 echo "$as_me: failed program was:" >&5
25920 sed 's/^/| /' conftest.$ac_ext >&5
25922 ac_cv_header_regex_h=no
25925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25927 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25928 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25929 if test $ac_cv_header_regex_h = yes; then
25932 for ac_func in regcomp re_search
25934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25935 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25937 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25938 echo $ECHO_N "(cached) $ECHO_C" >&6
25940 cat >conftest.$ac_ext <<_ACEOF
25943 cat confdefs.h >>conftest.$ac_ext
25944 cat >>conftest.$ac_ext <<_ACEOF
25945 /* end confdefs.h. */
25946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25948 #define $ac_func innocuous_$ac_func
25950 /* System header to define __stub macros and hopefully few prototypes,
25951 which can conflict with char $ac_func (); below.
25952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25953 <limits.h> exists even on freestanding compilers. */
25956 # include <limits.h>
25958 # include <assert.h>
25963 /* Override any GCC internal prototype to avoid an error.
25964 Use char because int might match the return type of a GCC
25965 builtin and then its argument prototype would still apply. */
25970 /* The GNU C library defines this for functions which it implements
25971 to always fail with ENOSYS. Some functions are actually named
25972 something starting with __ and the normal name is an alias. */
25973 #if defined __stub_$ac_func || defined __stub___$ac_func
25980 return $ac_func ();
25985 rm -f conftest.$ac_objext conftest$ac_exeext
25986 if { (ac_try="$ac_link"
25987 case "(($ac_try" in
25988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25989 *) ac_try_echo=$ac_try;;
25991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25992 (eval "$ac_link") 2>conftest.er1
25994 grep -v '^ *+' conftest.er1 >conftest.err
25996 cat conftest.err >&5
25997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25998 (exit $ac_status); } && {
25999 test -z "$ac_c_werror_flag" ||
26000 test ! -s conftest.err
26001 } && test -s conftest$ac_exeext &&
26002 $as_test_x conftest$ac_exeext; then
26003 eval "$as_ac_var=yes"
26005 echo "$as_me: failed program was:" >&5
26006 sed 's/^/| /' conftest.$ac_ext >&5
26008 eval "$as_ac_var=no"
26011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26012 conftest$ac_exeext conftest.$ac_ext
26014 ac_res=`eval echo '${'$as_ac_var'}'`
26015 { echo "$as_me:$LINENO: result: $ac_res" >&5
26016 echo "${ECHO_T}$ac_res" >&6; }
26017 if test `eval echo '${'$as_ac_var'}'` = yes; then
26018 cat >>confdefs.h <<_ACEOF
26019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26029 if test "x$ac_cv_func_regcomp" != "xyes"; then
26030 if test "$wxUSE_REGEX" = "sys" ; then
26031 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26032 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26033 { (exit 1); exit 1; }; }
26035 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26036 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26037 wxUSE_REGEX=builtin
26041 cat >>confdefs.h <<\_ACEOF
26042 #define WX_NO_REGEX_ADVANCED 1
26051 if test "$wxUSE_ZLIB" != "no" ; then
26052 cat >>confdefs.h <<\_ACEOF
26053 #define wxUSE_ZLIB 1
26057 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26058 if test "$USE_DARWIN" = 1; then
26059 system_zlib_h_ok="yes"
26061 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26062 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26063 if test "${ac_cv_header_zlib_h+set}" = set; then
26064 echo $ECHO_N "(cached) $ECHO_C" >&6
26066 if test "$cross_compiling" = yes; then
26067 unset ac_cv_header_zlib_h
26070 cat >conftest.$ac_ext <<_ACEOF
26073 cat confdefs.h >>conftest.$ac_ext
26074 cat >>conftest.$ac_ext <<_ACEOF
26075 /* end confdefs.h. */
26082 FILE *f=fopen("conftestval", "w");
26085 ZLIB_VERSION[0] == '1' &&
26086 (ZLIB_VERSION[2] > '1' ||
26087 (ZLIB_VERSION[2] == '1' &&
26088 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26093 rm -f conftest$ac_exeext
26094 if { (ac_try="$ac_link"
26095 case "(($ac_try" in
26096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26097 *) ac_try_echo=$ac_try;;
26099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26100 (eval "$ac_link") 2>&5
26102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26104 { (case "(($ac_try" in
26105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26106 *) ac_try_echo=$ac_try;;
26108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26109 (eval "$ac_try") 2>&5
26111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112 (exit $ac_status); }; }; then
26113 ac_cv_header_zlib_h=`cat conftestval`
26115 echo "$as_me: program exited with status $ac_status" >&5
26116 echo "$as_me: failed program was:" >&5
26117 sed 's/^/| /' conftest.$ac_ext >&5
26119 ( exit $ac_status )
26120 ac_cv_header_zlib_h=no
26122 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26128 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26129 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26130 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26131 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26132 if test "${ac_cv_header_zlib_h+set}" = set; then
26133 echo $ECHO_N "(cached) $ECHO_C" >&6
26135 cat >conftest.$ac_ext <<_ACEOF
26138 cat confdefs.h >>conftest.$ac_ext
26139 cat >>conftest.$ac_ext <<_ACEOF
26140 /* end confdefs.h. */
26145 rm -f conftest.$ac_objext
26146 if { (ac_try="$ac_compile"
26147 case "(($ac_try" in
26148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26149 *) ac_try_echo=$ac_try;;
26151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26152 (eval "$ac_compile") 2>conftest.er1
26154 grep -v '^ *+' conftest.er1 >conftest.err
26156 cat conftest.err >&5
26157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26158 (exit $ac_status); } && {
26159 test -z "$ac_c_werror_flag" ||
26160 test ! -s conftest.err
26161 } && test -s conftest.$ac_objext; then
26162 ac_cv_header_zlib_h=yes
26164 echo "$as_me: failed program was:" >&5
26165 sed 's/^/| /' conftest.$ac_ext >&5
26167 ac_cv_header_zlib_h=no
26170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26172 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26173 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26177 system_zlib_h_ok=$ac_cv_header_zlib_h
26180 if test "$system_zlib_h_ok" = "yes"; then
26181 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26182 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26183 if test "${ac_cv_lib_z_deflate+set}" = set; then
26184 echo $ECHO_N "(cached) $ECHO_C" >&6
26186 ac_check_lib_save_LIBS=$LIBS
26188 cat >conftest.$ac_ext <<_ACEOF
26191 cat confdefs.h >>conftest.$ac_ext
26192 cat >>conftest.$ac_ext <<_ACEOF
26193 /* end confdefs.h. */
26195 /* Override any GCC internal prototype to avoid an error.
26196 Use char because int might match the return type of a GCC
26197 builtin and then its argument prototype would still apply. */
26210 rm -f conftest.$ac_objext conftest$ac_exeext
26211 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
26219 grep -v '^ *+' conftest.er1 >conftest.err
26221 cat conftest.err >&5
26222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26223 (exit $ac_status); } && {
26224 test -z "$ac_c_werror_flag" ||
26225 test ! -s conftest.err
26226 } && test -s conftest$ac_exeext &&
26227 $as_test_x conftest$ac_exeext; then
26228 ac_cv_lib_z_deflate=yes
26230 echo "$as_me: failed program was:" >&5
26231 sed 's/^/| /' conftest.$ac_ext >&5
26233 ac_cv_lib_z_deflate=no
26236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26237 conftest$ac_exeext conftest.$ac_ext
26238 LIBS=$ac_check_lib_save_LIBS
26240 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26241 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26242 if test $ac_cv_lib_z_deflate = yes; then
26248 if test "x$ZLIB_LINK" = "x" ; then
26249 if test "$wxUSE_ZLIB" = "sys" ; then
26250 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26251 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26252 { (exit 1); exit 1; }; }
26254 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26255 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26266 if test "$wxUSE_LIBPNG" != "no" ; then
26267 cat >>confdefs.h <<\_ACEOF
26268 #define wxUSE_LIBPNG 1
26272 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26273 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26274 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26278 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26279 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26280 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26281 wxUSE_LIBPNG=builtin
26284 if test "$wxUSE_MGL" != 1 ; then
26285 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26286 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26287 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26288 if test "${ac_cv_header_png_h+set}" = set; then
26289 echo $ECHO_N "(cached) $ECHO_C" >&6
26291 if test "$cross_compiling" = yes; then
26292 unset ac_cv_header_png_h
26295 cat >conftest.$ac_ext <<_ACEOF
26298 cat confdefs.h >>conftest.$ac_ext
26299 cat >>conftest.$ac_ext <<_ACEOF
26300 /* end confdefs.h. */
26307 FILE *f=fopen("conftestval", "w");
26310 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26315 rm -f 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>&5
26324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26325 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26326 { (case "(($ac_try" in
26327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26328 *) ac_try_echo=$ac_try;;
26330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26331 (eval "$ac_try") 2>&5
26333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26334 (exit $ac_status); }; }; then
26335 ac_cv_header_png_h=`cat conftestval`
26337 echo "$as_me: program exited with status $ac_status" >&5
26338 echo "$as_me: failed program was:" >&5
26339 sed 's/^/| /' conftest.$ac_ext >&5
26341 ( exit $ac_status )
26342 ac_cv_header_png_h=no
26344 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26350 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26351 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26352 { echo "$as_me:$LINENO: checking for png.h" >&5
26353 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26354 if test "${ac_cv_header_png_h+set}" = set; then
26355 echo $ECHO_N "(cached) $ECHO_C" >&6
26357 cat >conftest.$ac_ext <<_ACEOF
26360 cat confdefs.h >>conftest.$ac_ext
26361 cat >>conftest.$ac_ext <<_ACEOF
26362 /* end confdefs.h. */
26367 rm -f conftest.$ac_objext
26368 if { (ac_try="$ac_compile"
26369 case "(($ac_try" in
26370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26371 *) ac_try_echo=$ac_try;;
26373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26374 (eval "$ac_compile") 2>conftest.er1
26376 grep -v '^ *+' conftest.er1 >conftest.err
26378 cat conftest.err >&5
26379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26380 (exit $ac_status); } && {
26381 test -z "$ac_c_werror_flag" ||
26382 test ! -s conftest.err
26383 } && test -s conftest.$ac_objext; then
26384 ac_cv_header_png_h=yes
26386 echo "$as_me: failed program was:" >&5
26387 sed 's/^/| /' conftest.$ac_ext >&5
26389 ac_cv_header_png_h=no
26392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26394 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26395 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26399 if test "$ac_cv_header_png_h" = "yes"; then
26400 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26401 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26402 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26403 echo $ECHO_N "(cached) $ECHO_C" >&6
26405 ac_check_lib_save_LIBS=$LIBS
26406 LIBS="-lpng -lz -lm $LIBS"
26407 cat >conftest.$ac_ext <<_ACEOF
26410 cat confdefs.h >>conftest.$ac_ext
26411 cat >>conftest.$ac_ext <<_ACEOF
26412 /* end confdefs.h. */
26414 /* Override any GCC internal prototype to avoid an error.
26415 Use char because int might match the return type of a GCC
26416 builtin and then its argument prototype would still apply. */
26420 char png_check_sig ();
26424 return png_check_sig ();
26429 rm -f conftest.$ac_objext conftest$ac_exeext
26430 if { (ac_try="$ac_link"
26431 case "(($ac_try" in
26432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26433 *) ac_try_echo=$ac_try;;
26435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26436 (eval "$ac_link") 2>conftest.er1
26438 grep -v '^ *+' conftest.er1 >conftest.err
26440 cat conftest.err >&5
26441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26442 (exit $ac_status); } && {
26443 test -z "$ac_c_werror_flag" ||
26444 test ! -s conftest.err
26445 } && test -s conftest$ac_exeext &&
26446 $as_test_x conftest$ac_exeext; then
26447 ac_cv_lib_png_png_check_sig=yes
26449 echo "$as_me: failed program was:" >&5
26450 sed 's/^/| /' conftest.$ac_ext >&5
26452 ac_cv_lib_png_png_check_sig=no
26455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26456 conftest$ac_exeext conftest.$ac_ext
26457 LIBS=$ac_check_lib_save_LIBS
26459 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26460 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26461 if test $ac_cv_lib_png_png_check_sig = yes; then
26462 PNG_LINK=" -lpng -lz"
26467 if test "x$PNG_LINK" = "x" ; then
26468 if test "$wxUSE_LIBPNG" = "sys" ; then
26469 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26470 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26471 { (exit 1); exit 1; }; }
26473 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26474 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26475 wxUSE_LIBPNG=builtin
26486 if test "$wxUSE_LIBJPEG" != "no" ; then
26487 cat >>confdefs.h <<\_ACEOF
26488 #define wxUSE_LIBJPEG 1
26492 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26493 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26494 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26498 if test "$wxUSE_MGL" != 1 ; then
26499 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26500 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26501 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26502 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26503 echo $ECHO_N "(cached) $ECHO_C" >&6
26505 cat >conftest.$ac_ext <<_ACEOF
26508 cat confdefs.h >>conftest.$ac_ext
26509 cat >>conftest.$ac_ext <<_ACEOF
26510 /* end confdefs.h. */
26512 #undef HAVE_STDLIB_H
26514 #include <jpeglib.h>
26525 rm -f conftest.$ac_objext
26526 if { (ac_try="$ac_compile"
26527 case "(($ac_try" in
26528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26529 *) ac_try_echo=$ac_try;;
26531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26532 (eval "$ac_compile") 2>conftest.er1
26534 grep -v '^ *+' conftest.er1 >conftest.err
26536 cat conftest.err >&5
26537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26538 (exit $ac_status); } && {
26539 test -z "$ac_c_werror_flag" ||
26540 test ! -s conftest.err
26541 } && test -s conftest.$ac_objext; then
26542 ac_cv_header_jpeglib_h=yes
26544 echo "$as_me: failed program was:" >&5
26545 sed 's/^/| /' conftest.$ac_ext >&5
26547 ac_cv_header_jpeglib_h=no
26551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26555 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26556 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26558 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26559 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26560 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26561 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26562 echo $ECHO_N "(cached) $ECHO_C" >&6
26564 ac_check_lib_save_LIBS=$LIBS
26565 LIBS="-ljpeg $LIBS"
26566 cat >conftest.$ac_ext <<_ACEOF
26569 cat confdefs.h >>conftest.$ac_ext
26570 cat >>conftest.$ac_ext <<_ACEOF
26571 /* end confdefs.h. */
26573 /* Override any GCC internal prototype to avoid an error.
26574 Use char because int might match the return type of a GCC
26575 builtin and then its argument prototype would still apply. */
26579 char jpeg_read_header ();
26583 return jpeg_read_header ();
26588 rm -f conftest.$ac_objext conftest$ac_exeext
26589 if { (ac_try="$ac_link"
26590 case "(($ac_try" in
26591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26592 *) ac_try_echo=$ac_try;;
26594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26595 (eval "$ac_link") 2>conftest.er1
26597 grep -v '^ *+' conftest.er1 >conftest.err
26599 cat conftest.err >&5
26600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26601 (exit $ac_status); } && {
26602 test -z "$ac_c_werror_flag" ||
26603 test ! -s conftest.err
26604 } && test -s conftest$ac_exeext &&
26605 $as_test_x conftest$ac_exeext; then
26606 ac_cv_lib_jpeg_jpeg_read_header=yes
26608 echo "$as_me: failed program was:" >&5
26609 sed 's/^/| /' conftest.$ac_ext >&5
26611 ac_cv_lib_jpeg_jpeg_read_header=no
26614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26615 conftest$ac_exeext conftest.$ac_ext
26616 LIBS=$ac_check_lib_save_LIBS
26618 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26619 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26620 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26621 JPEG_LINK=" -ljpeg"
26626 if test "x$JPEG_LINK" = "x" ; then
26627 if test "$wxUSE_LIBJPEG" = "sys" ; then
26628 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26629 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26630 { (exit 1); exit 1; }; }
26632 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26633 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26634 wxUSE_LIBJPEG=builtin
26639 if test "$wxUSE_MSW" = 1; then
26640 { echo "$as_me:$LINENO: checking for boolean" >&5
26641 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26642 if test "${ac_cv_type_boolean+set}" = set; then
26643 echo $ECHO_N "(cached) $ECHO_C" >&6
26645 cat >conftest.$ac_ext <<_ACEOF
26648 cat confdefs.h >>conftest.$ac_ext
26649 cat >>conftest.$ac_ext <<_ACEOF
26650 /* end confdefs.h. */
26651 #include <windows.h>
26653 typedef boolean ac__type_new_;
26657 if ((ac__type_new_ *) 0)
26659 if (sizeof (ac__type_new_))
26665 rm -f conftest.$ac_objext
26666 if { (ac_try="$ac_compile"
26667 case "(($ac_try" in
26668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26669 *) ac_try_echo=$ac_try;;
26671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26672 (eval "$ac_compile") 2>conftest.er1
26674 grep -v '^ *+' conftest.er1 >conftest.err
26676 cat conftest.err >&5
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); } && {
26679 test -z "$ac_c_werror_flag" ||
26680 test ! -s conftest.err
26681 } && test -s conftest.$ac_objext; then
26682 ac_cv_type_boolean=yes
26684 echo "$as_me: failed program was:" >&5
26685 sed 's/^/| /' conftest.$ac_ext >&5
26687 ac_cv_type_boolean=no
26690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26692 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26693 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26694 if test $ac_cv_type_boolean = yes; then
26696 cat >>confdefs.h <<_ACEOF
26697 #define HAVE_BOOLEAN 1
26701 { echo "$as_me:$LINENO: checking for boolean" >&5
26702 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26703 if test "${ac_cv_type_boolean+set}" = set; then
26704 echo $ECHO_N "(cached) $ECHO_C" >&6
26706 cat >conftest.$ac_ext <<_ACEOF
26709 cat confdefs.h >>conftest.$ac_ext
26710 cat >>conftest.$ac_ext <<_ACEOF
26711 /* end confdefs.h. */
26713 #undef HAVE_BOOLEAN
26715 #include <jpeglib.h>
26718 typedef boolean ac__type_new_;
26722 if ((ac__type_new_ *) 0)
26724 if (sizeof (ac__type_new_))
26730 rm -f conftest.$ac_objext
26731 if { (ac_try="$ac_compile"
26732 case "(($ac_try" in
26733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26734 *) ac_try_echo=$ac_try;;
26736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26737 (eval "$ac_compile") 2>conftest.er1
26739 grep -v '^ *+' conftest.er1 >conftest.err
26741 cat conftest.err >&5
26742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26743 (exit $ac_status); } && {
26744 test -z "$ac_c_werror_flag" ||
26745 test ! -s conftest.err
26746 } && test -s conftest.$ac_objext; then
26747 ac_cv_type_boolean=yes
26749 echo "$as_me: failed program was:" >&5
26750 sed 's/^/| /' conftest.$ac_ext >&5
26752 ac_cv_type_boolean=no
26755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26757 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26758 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26760 # The cast to long int works around a bug in the HP C Compiler
26761 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26762 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26763 # This bug is HP SR number 8606223364.
26764 { echo "$as_me:$LINENO: checking size of boolean" >&5
26765 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26766 if test "${ac_cv_sizeof_boolean+set}" = set; then
26767 echo $ECHO_N "(cached) $ECHO_C" >&6
26769 if test "$cross_compiling" = yes; then
26770 # Depending upon the size, compute the lo and hi bounds.
26771 cat >conftest.$ac_ext <<_ACEOF
26774 cat confdefs.h >>conftest.$ac_ext
26775 cat >>conftest.$ac_ext <<_ACEOF
26776 /* end confdefs.h. */
26778 #undef HAVE_BOOLEAN
26780 #include <jpeglib.h>
26783 typedef boolean ac__type_sizeof_;
26787 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26794 rm -f conftest.$ac_objext
26795 if { (ac_try="$ac_compile"
26796 case "(($ac_try" in
26797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26798 *) ac_try_echo=$ac_try;;
26800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26801 (eval "$ac_compile") 2>conftest.er1
26803 grep -v '^ *+' conftest.er1 >conftest.err
26805 cat conftest.err >&5
26806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26807 (exit $ac_status); } && {
26808 test -z "$ac_c_werror_flag" ||
26809 test ! -s conftest.err
26810 } && test -s conftest.$ac_objext; then
26813 cat >conftest.$ac_ext <<_ACEOF
26816 cat confdefs.h >>conftest.$ac_ext
26817 cat >>conftest.$ac_ext <<_ACEOF
26818 /* end confdefs.h. */
26820 #undef HAVE_BOOLEAN
26822 #include <jpeglib.h>
26825 typedef boolean ac__type_sizeof_;
26829 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26836 rm -f conftest.$ac_objext
26837 if { (ac_try="$ac_compile"
26838 case "(($ac_try" in
26839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26840 *) ac_try_echo=$ac_try;;
26842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26843 (eval "$ac_compile") 2>conftest.er1
26845 grep -v '^ *+' conftest.er1 >conftest.err
26847 cat conftest.err >&5
26848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26849 (exit $ac_status); } && {
26850 test -z "$ac_c_werror_flag" ||
26851 test ! -s conftest.err
26852 } && test -s conftest.$ac_objext; then
26853 ac_hi=$ac_mid; break
26855 echo "$as_me: failed program was:" >&5
26856 sed 's/^/| /' conftest.$ac_ext >&5
26858 ac_lo=`expr $ac_mid + 1`
26859 if test $ac_lo -le $ac_mid; then
26863 ac_mid=`expr 2 '*' $ac_mid + 1`
26866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26869 echo "$as_me: failed program was:" >&5
26870 sed 's/^/| /' conftest.$ac_ext >&5
26872 cat >conftest.$ac_ext <<_ACEOF
26875 cat confdefs.h >>conftest.$ac_ext
26876 cat >>conftest.$ac_ext <<_ACEOF
26877 /* end confdefs.h. */
26879 #undef HAVE_BOOLEAN
26881 #include <jpeglib.h>
26884 typedef boolean ac__type_sizeof_;
26888 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26895 rm -f conftest.$ac_objext
26896 if { (ac_try="$ac_compile"
26897 case "(($ac_try" in
26898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26899 *) ac_try_echo=$ac_try;;
26901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26902 (eval "$ac_compile") 2>conftest.er1
26904 grep -v '^ *+' conftest.er1 >conftest.err
26906 cat conftest.err >&5
26907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26908 (exit $ac_status); } && {
26909 test -z "$ac_c_werror_flag" ||
26910 test ! -s conftest.err
26911 } && test -s conftest.$ac_objext; then
26914 cat >conftest.$ac_ext <<_ACEOF
26917 cat confdefs.h >>conftest.$ac_ext
26918 cat >>conftest.$ac_ext <<_ACEOF
26919 /* end confdefs.h. */
26921 #undef HAVE_BOOLEAN
26923 #include <jpeglib.h>
26926 typedef boolean ac__type_sizeof_;
26930 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26937 rm -f conftest.$ac_objext
26938 if { (ac_try="$ac_compile"
26939 case "(($ac_try" in
26940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26941 *) ac_try_echo=$ac_try;;
26943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26944 (eval "$ac_compile") 2>conftest.er1
26946 grep -v '^ *+' conftest.er1 >conftest.err
26948 cat conftest.err >&5
26949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26950 (exit $ac_status); } && {
26951 test -z "$ac_c_werror_flag" ||
26952 test ! -s conftest.err
26953 } && test -s conftest.$ac_objext; then
26954 ac_lo=$ac_mid; break
26956 echo "$as_me: failed program was:" >&5
26957 sed 's/^/| /' conftest.$ac_ext >&5
26959 ac_hi=`expr '(' $ac_mid ')' - 1`
26960 if test $ac_mid -le $ac_hi; then
26964 ac_mid=`expr 2 '*' $ac_mid`
26967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26970 echo "$as_me: failed program was:" >&5
26971 sed 's/^/| /' conftest.$ac_ext >&5
26976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26980 # Binary search between lo and hi bounds.
26981 while test "x$ac_lo" != "x$ac_hi"; do
26982 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26983 cat >conftest.$ac_ext <<_ACEOF
26986 cat confdefs.h >>conftest.$ac_ext
26987 cat >>conftest.$ac_ext <<_ACEOF
26988 /* end confdefs.h. */
26990 #undef HAVE_BOOLEAN
26992 #include <jpeglib.h>
26995 typedef boolean ac__type_sizeof_;
26999 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27006 rm -f conftest.$ac_objext
27007 if { (ac_try="$ac_compile"
27008 case "(($ac_try" in
27009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27010 *) ac_try_echo=$ac_try;;
27012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27013 (eval "$ac_compile") 2>conftest.er1
27015 grep -v '^ *+' conftest.er1 >conftest.err
27017 cat conftest.err >&5
27018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27019 (exit $ac_status); } && {
27020 test -z "$ac_c_werror_flag" ||
27021 test ! -s conftest.err
27022 } && test -s conftest.$ac_objext; then
27025 echo "$as_me: failed program was:" >&5
27026 sed 's/^/| /' conftest.$ac_ext >&5
27028 ac_lo=`expr '(' $ac_mid ')' + 1`
27031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27034 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27035 '') if test "$ac_cv_type_boolean" = yes; then
27036 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27037 See \`config.log' for more details." >&5
27038 echo "$as_me: error: cannot compute sizeof (boolean)
27039 See \`config.log' for more details." >&2;}
27040 { (exit 77); exit 77; }; }
27042 ac_cv_sizeof_boolean=0
27046 cat >conftest.$ac_ext <<_ACEOF
27049 cat confdefs.h >>conftest.$ac_ext
27050 cat >>conftest.$ac_ext <<_ACEOF
27051 /* end confdefs.h. */
27053 #undef HAVE_BOOLEAN
27055 #include <jpeglib.h>
27058 typedef boolean ac__type_sizeof_;
27059 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27060 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27062 #include <stdlib.h>
27067 FILE *f = fopen ("conftest.val", "w");
27070 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27072 long int i = longval ();
27073 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27075 fprintf (f, "%ld\n", i);
27079 unsigned long int i = ulongval ();
27080 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27082 fprintf (f, "%lu\n", i);
27084 return ferror (f) || fclose (f) != 0;
27090 rm -f conftest$ac_exeext
27091 if { (ac_try="$ac_link"
27092 case "(($ac_try" in
27093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27094 *) ac_try_echo=$ac_try;;
27096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27097 (eval "$ac_link") 2>&5
27099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27100 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27101 { (case "(($ac_try" in
27102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27103 *) ac_try_echo=$ac_try;;
27105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27106 (eval "$ac_try") 2>&5
27108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27109 (exit $ac_status); }; }; then
27110 ac_cv_sizeof_boolean=`cat conftest.val`
27112 echo "$as_me: program exited with status $ac_status" >&5
27113 echo "$as_me: failed program was:" >&5
27114 sed 's/^/| /' conftest.$ac_ext >&5
27116 ( exit $ac_status )
27117 if test "$ac_cv_type_boolean" = yes; then
27118 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27119 See \`config.log' for more details." >&5
27120 echo "$as_me: error: cannot compute sizeof (boolean)
27121 See \`config.log' for more details." >&2;}
27122 { (exit 77); exit 77; }; }
27124 ac_cv_sizeof_boolean=0
27127 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27131 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27132 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27136 cat >>confdefs.h <<_ACEOF
27137 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27141 cat >>confdefs.h <<_ACEOF
27142 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27156 TIFF_PREREQ_LINKS=-lm
27157 if test "$wxUSE_LIBTIFF" != "no" ; then
27158 cat >>confdefs.h <<\_ACEOF
27159 #define wxUSE_LIBTIFF 1
27163 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27164 if test "$wxUSE_LIBJPEG" = "sys"; then
27165 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27167 if test "$wxUSE_ZLIB" = "sys"; then
27168 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27170 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27171 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27172 if test "${ac_cv_header_tiffio_h+set}" = set; then
27173 echo $ECHO_N "(cached) $ECHO_C" >&6
27175 cat >conftest.$ac_ext <<_ACEOF
27178 cat confdefs.h >>conftest.$ac_ext
27179 cat >>conftest.$ac_ext <<_ACEOF
27180 /* end confdefs.h. */
27184 #include <tiffio.h>
27186 rm -f conftest.$ac_objext
27187 if { (ac_try="$ac_compile"
27188 case "(($ac_try" in
27189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27190 *) ac_try_echo=$ac_try;;
27192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27193 (eval "$ac_compile") 2>conftest.er1
27195 grep -v '^ *+' conftest.er1 >conftest.err
27197 cat conftest.err >&5
27198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27199 (exit $ac_status); } && {
27200 test -z "$ac_c_werror_flag" ||
27201 test ! -s conftest.err
27202 } && test -s conftest.$ac_objext; then
27203 ac_cv_header_tiffio_h=yes
27205 echo "$as_me: failed program was:" >&5
27206 sed 's/^/| /' conftest.$ac_ext >&5
27208 ac_cv_header_tiffio_h=no
27211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27213 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27214 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27215 if test $ac_cv_header_tiffio_h = yes; then
27217 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27218 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27219 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27220 echo $ECHO_N "(cached) $ECHO_C" >&6
27222 ac_check_lib_save_LIBS=$LIBS
27223 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27224 cat >conftest.$ac_ext <<_ACEOF
27227 cat confdefs.h >>conftest.$ac_ext
27228 cat >>conftest.$ac_ext <<_ACEOF
27229 /* end confdefs.h. */
27231 /* Override any GCC internal prototype to avoid an error.
27232 Use char because int might match the return type of a GCC
27233 builtin and then its argument prototype would still apply. */
27241 return TIFFError ();
27246 rm -f conftest.$ac_objext conftest$ac_exeext
27247 if { (ac_try="$ac_link"
27248 case "(($ac_try" in
27249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27250 *) ac_try_echo=$ac_try;;
27252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27253 (eval "$ac_link") 2>conftest.er1
27255 grep -v '^ *+' conftest.er1 >conftest.err
27257 cat conftest.err >&5
27258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27259 (exit $ac_status); } && {
27260 test -z "$ac_c_werror_flag" ||
27261 test ! -s conftest.err
27262 } && test -s conftest$ac_exeext &&
27263 $as_test_x conftest$ac_exeext; then
27264 ac_cv_lib_tiff_TIFFError=yes
27266 echo "$as_me: failed program was:" >&5
27267 sed 's/^/| /' conftest.$ac_ext >&5
27269 ac_cv_lib_tiff_TIFFError=no
27272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27273 conftest$ac_exeext conftest.$ac_ext
27274 LIBS=$ac_check_lib_save_LIBS
27276 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27277 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27278 if test $ac_cv_lib_tiff_TIFFError = yes; then
27279 TIFF_LINK=" -ltiff"
27287 if test "x$TIFF_LINK" = "x" ; then
27288 if test "$wxUSE_LIBTIFF" = "sys" ; then
27289 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27290 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27291 { (exit 1); exit 1; }; }
27293 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27294 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27295 wxUSE_LIBTIFF=builtin
27301 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27302 if test "$wxUSE_LIBJPEG" = "no"; then
27303 ac_configure_args="$ac_configure_args --disable-jpeg"
27305 subdirs="$subdirs src/tiff"
27311 if test "$wxUSE_WCHAR_T" != "yes"; then
27312 if test "$wxUSE_EXPAT" != "no"; then
27313 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27314 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27317 if test "$wxUSE_XML" != "no"; then
27318 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27319 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27324 if test "$wxUSE_EXPAT" != "no"; then
27326 cat >>confdefs.h <<\_ACEOF
27327 #define wxUSE_EXPAT 1
27330 cat >>confdefs.h <<\_ACEOF
27331 #define wxUSE_XML 1
27335 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27336 { echo "$as_me:$LINENO: checking for expat.h" >&5
27337 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27338 if test "${ac_cv_header_expat_h+set}" = set; then
27339 echo $ECHO_N "(cached) $ECHO_C" >&6
27341 cat >conftest.$ac_ext <<_ACEOF
27344 cat confdefs.h >>conftest.$ac_ext
27345 cat >>conftest.$ac_ext <<_ACEOF
27346 /* end confdefs.h. */
27351 rm -f conftest.$ac_objext
27352 if { (ac_try="$ac_compile"
27353 case "(($ac_try" in
27354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27355 *) ac_try_echo=$ac_try;;
27357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27358 (eval "$ac_compile") 2>conftest.er1
27360 grep -v '^ *+' conftest.er1 >conftest.err
27362 cat conftest.err >&5
27363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27364 (exit $ac_status); } && {
27365 test -z "$ac_c_werror_flag" ||
27366 test ! -s conftest.err
27367 } && test -s conftest.$ac_objext; then
27368 ac_cv_header_expat_h=yes
27370 echo "$as_me: failed program was:" >&5
27371 sed 's/^/| /' conftest.$ac_ext >&5
27373 ac_cv_header_expat_h=no
27376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27378 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27379 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27380 if test $ac_cv_header_expat_h = yes; then
27385 if test "x$found_expat_h" = "x1"; then
27386 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27387 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27388 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27389 echo $ECHO_N "(cached) $ECHO_C" >&6
27393 ac_cpp='$CXXCPP $CPPFLAGS'
27394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27398 cat >conftest.$ac_ext <<_ACEOF
27401 cat confdefs.h >>conftest.$ac_ext
27402 cat >>conftest.$ac_ext <<_ACEOF
27403 /* end confdefs.h. */
27413 rm -f conftest.$ac_objext
27414 if { (ac_try="$ac_compile"
27415 case "(($ac_try" in
27416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27417 *) ac_try_echo=$ac_try;;
27419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27420 (eval "$ac_compile") 2>conftest.er1
27422 grep -v '^ *+' conftest.er1 >conftest.err
27424 cat conftest.err >&5
27425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27426 (exit $ac_status); } && {
27427 test -z "$ac_cxx_werror_flag" ||
27428 test ! -s conftest.err
27429 } && test -s conftest.$ac_objext; then
27430 wx_cv_expat_is_not_broken=yes
27432 echo "$as_me: failed program was:" >&5
27433 sed 's/^/| /' conftest.$ac_ext >&5
27435 wx_cv_expat_is_not_broken=no
27439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27441 ac_cpp='$CPP $CPPFLAGS'
27442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27449 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27450 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27451 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27452 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27453 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27454 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27455 echo $ECHO_N "(cached) $ECHO_C" >&6
27457 ac_check_lib_save_LIBS=$LIBS
27458 LIBS="-lexpat $LIBS"
27459 cat >conftest.$ac_ext <<_ACEOF
27462 cat confdefs.h >>conftest.$ac_ext
27463 cat >>conftest.$ac_ext <<_ACEOF
27464 /* end confdefs.h. */
27466 /* Override any GCC internal prototype to avoid an error.
27467 Use char because int might match the return type of a GCC
27468 builtin and then its argument prototype would still apply. */
27472 char XML_ParserCreate ();
27476 return XML_ParserCreate ();
27481 rm -f conftest.$ac_objext conftest$ac_exeext
27482 if { (ac_try="$ac_link"
27483 case "(($ac_try" in
27484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27485 *) ac_try_echo=$ac_try;;
27487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27488 (eval "$ac_link") 2>conftest.er1
27490 grep -v '^ *+' conftest.er1 >conftest.err
27492 cat conftest.err >&5
27493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27494 (exit $ac_status); } && {
27495 test -z "$ac_c_werror_flag" ||
27496 test ! -s conftest.err
27497 } && test -s conftest$ac_exeext &&
27498 $as_test_x conftest$ac_exeext; then
27499 ac_cv_lib_expat_XML_ParserCreate=yes
27501 echo "$as_me: failed program was:" >&5
27502 sed 's/^/| /' conftest.$ac_ext >&5
27504 ac_cv_lib_expat_XML_ParserCreate=no
27507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27508 conftest$ac_exeext conftest.$ac_ext
27509 LIBS=$ac_check_lib_save_LIBS
27511 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27512 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27513 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27514 EXPAT_LINK=" -lexpat"
27519 if test "x$EXPAT_LINK" = "x" ; then
27520 if test "$wxUSE_EXPAT" = "sys" ; then
27521 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27522 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27523 { (exit 1); exit 1; }; }
27525 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27526 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27527 wxUSE_EXPAT=builtin
27533 if test "$wxUSE_EXPAT" = "builtin" ; then
27534 subdirs="$subdirs src/expat"
27541 if test "$wxUSE_LIBMSPACK" != "no"; then
27542 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27543 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27544 if test "${ac_cv_header_mspack_h+set}" = set; then
27545 echo $ECHO_N "(cached) $ECHO_C" >&6
27547 cat >conftest.$ac_ext <<_ACEOF
27550 cat confdefs.h >>conftest.$ac_ext
27551 cat >>conftest.$ac_ext <<_ACEOF
27552 /* end confdefs.h. */
27555 #include <mspack.h>
27557 rm -f conftest.$ac_objext
27558 if { (ac_try="$ac_compile"
27559 case "(($ac_try" in
27560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27561 *) ac_try_echo=$ac_try;;
27563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27564 (eval "$ac_compile") 2>conftest.er1
27566 grep -v '^ *+' conftest.er1 >conftest.err
27568 cat conftest.err >&5
27569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27570 (exit $ac_status); } && {
27571 test -z "$ac_c_werror_flag" ||
27572 test ! -s conftest.err
27573 } && test -s conftest.$ac_objext; then
27574 ac_cv_header_mspack_h=yes
27576 echo "$as_me: failed program was:" >&5
27577 sed 's/^/| /' conftest.$ac_ext >&5
27579 ac_cv_header_mspack_h=no
27582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27584 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27585 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27586 if test $ac_cv_header_mspack_h = yes; then
27591 if test "x$found_mspack_h" = "x1"; then
27592 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27593 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27594 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27595 echo $ECHO_N "(cached) $ECHO_C" >&6
27597 ac_check_lib_save_LIBS=$LIBS
27598 LIBS="-lmspack $LIBS"
27599 cat >conftest.$ac_ext <<_ACEOF
27602 cat confdefs.h >>conftest.$ac_ext
27603 cat >>conftest.$ac_ext <<_ACEOF
27604 /* end confdefs.h. */
27606 /* Override any GCC internal prototype to avoid an error.
27607 Use char because int might match the return type of a GCC
27608 builtin and then its argument prototype would still apply. */
27612 char mspack_create_chm_decompressor ();
27616 return mspack_create_chm_decompressor ();
27621 rm -f conftest.$ac_objext conftest$ac_exeext
27622 if { (ac_try="$ac_link"
27623 case "(($ac_try" in
27624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27625 *) ac_try_echo=$ac_try;;
27627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27628 (eval "$ac_link") 2>conftest.er1
27630 grep -v '^ *+' conftest.er1 >conftest.err
27632 cat conftest.err >&5
27633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27634 (exit $ac_status); } && {
27635 test -z "$ac_c_werror_flag" ||
27636 test ! -s conftest.err
27637 } && test -s conftest$ac_exeext &&
27638 $as_test_x conftest$ac_exeext; then
27639 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27641 echo "$as_me: failed program was:" >&5
27642 sed 's/^/| /' conftest.$ac_ext >&5
27644 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27648 conftest$ac_exeext conftest.$ac_ext
27649 LIBS=$ac_check_lib_save_LIBS
27651 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27652 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27653 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27654 MSPACK_LINK=" -lmspack"
27658 if test "x$MSPACK_LINK" = "x" ; then
27663 if test "$wxUSE_LIBMSPACK" != "no"; then
27664 cat >>confdefs.h <<\_ACEOF
27665 #define wxUSE_LIBMSPACK 1
27679 if test "$USE_WIN32" = 1 ; then
27681 for ac_header in w32api.h
27683 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27684 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27686 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27687 echo $ECHO_N "(cached) $ECHO_C" >&6
27689 cat >conftest.$ac_ext <<_ACEOF
27692 cat confdefs.h >>conftest.$ac_ext
27693 cat >>conftest.$ac_ext <<_ACEOF
27694 /* end confdefs.h. */
27697 #include <$ac_header>
27699 rm -f conftest.$ac_objext
27700 if { (ac_try="$ac_compile"
27701 case "(($ac_try" in
27702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27703 *) ac_try_echo=$ac_try;;
27705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27706 (eval "$ac_compile") 2>conftest.er1
27708 grep -v '^ *+' conftest.er1 >conftest.err
27710 cat conftest.err >&5
27711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27712 (exit $ac_status); } && {
27713 test -z "$ac_c_werror_flag" ||
27714 test ! -s conftest.err
27715 } && test -s conftest.$ac_objext; then
27716 eval "$as_ac_Header=yes"
27718 echo "$as_me: failed program was:" >&5
27719 sed 's/^/| /' conftest.$ac_ext >&5
27721 eval "$as_ac_Header=no"
27724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27726 ac_res=`eval echo '${'$as_ac_Header'}'`
27727 { echo "$as_me:$LINENO: result: $ac_res" >&5
27728 echo "${ECHO_T}$ac_res" >&6; }
27729 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27730 cat >>confdefs.h <<_ACEOF
27731 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27738 { echo "$as_me:$LINENO: checking for windows.h" >&5
27739 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27740 if test "${ac_cv_header_windows_h+set}" = set; then
27741 echo $ECHO_N "(cached) $ECHO_C" >&6
27743 cat >conftest.$ac_ext <<_ACEOF
27746 cat confdefs.h >>conftest.$ac_ext
27747 cat >>conftest.$ac_ext <<_ACEOF
27748 /* end confdefs.h. */
27751 #include <windows.h>
27753 rm -f conftest.$ac_objext
27754 if { (ac_try="$ac_compile"
27755 case "(($ac_try" in
27756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27757 *) ac_try_echo=$ac_try;;
27759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27760 (eval "$ac_compile") 2>conftest.er1
27762 grep -v '^ *+' conftest.er1 >conftest.err
27764 cat conftest.err >&5
27765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27766 (exit $ac_status); } && {
27767 test -z "$ac_c_werror_flag" ||
27768 test ! -s conftest.err
27769 } && test -s conftest.$ac_objext; then
27770 ac_cv_header_windows_h=yes
27772 echo "$as_me: failed program was:" >&5
27773 sed 's/^/| /' conftest.$ac_ext >&5
27775 ac_cv_header_windows_h=no
27778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27780 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27781 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27782 if test $ac_cv_header_windows_h = yes; then
27786 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27787 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27788 { (exit 1); exit 1; }; }
27794 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27796 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27797 LIBS="$LIBS -loleacc"
27802 LIBS="$LIBS -lkernel32 -luser32"
27805 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27806 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27808 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27810 WIN32INSTALL=win32install
27812 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27813 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27814 if test "${ac_cv_header_pbt_h+set}" = set; then
27815 echo $ECHO_N "(cached) $ECHO_C" >&6
27817 cat >conftest.$ac_ext <<_ACEOF
27820 cat confdefs.h >>conftest.$ac_ext
27821 cat >>conftest.$ac_ext <<_ACEOF
27822 /* end confdefs.h. */
27827 rm -f conftest.$ac_objext
27828 if { (ac_try="$ac_compile"
27829 case "(($ac_try" in
27830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27831 *) ac_try_echo=$ac_try;;
27833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27834 (eval "$ac_compile") 2>conftest.er1
27836 grep -v '^ *+' conftest.er1 >conftest.err
27838 cat conftest.err >&5
27839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27840 (exit $ac_status); } && {
27841 test -z "$ac_c_werror_flag" ||
27842 test ! -s conftest.err
27843 } && test -s conftest.$ac_objext; then
27844 ac_cv_header_pbt_h=yes
27846 echo "$as_me: failed program was:" >&5
27847 sed 's/^/| /' conftest.$ac_ext >&5
27849 ac_cv_header_pbt_h=no
27852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27854 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27855 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27856 if test $ac_cv_header_pbt_h = yes; then
27859 cat >>confdefs.h <<\_ACEOF
27860 #define NEED_PBT_H 1
27868 if test "$wxUSE_GUI" = "yes"; then
27878 if test "$wxUSE_COCOA" = 1 ; then
27879 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27880 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27881 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27882 wxUSE_PRINTING_ARCHITECTURE=no
27884 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27885 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27886 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27887 wxUSE_DRAG_AND_DROP=no
27889 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27890 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27891 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27896 if test "$wxUSE_MSW" = 1 ; then
27902 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27906 if test "$wxUSE_GTK" = 1; then
27907 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27908 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27910 gtk_version_cached=1
27911 if test "${wx_cv_lib_gtk+set}" = set; then
27912 echo $ECHO_N "(cached) $ECHO_C" >&6
27915 gtk_version_cached=0
27916 { echo "$as_me:$LINENO: result: " >&5
27917 echo "${ECHO_T}" >&6; }
27920 if test "$wxUSE_THREADS" = "yes"; then
27921 GTK_MODULES=gthread
27925 if test "x$wxGTK_VERSION" != "x1"
27929 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27934 # Check whether --enable-gtktest was given.
27935 if test "${enable_gtktest+set}" = set; then
27936 enableval=$enable_gtktest;
27942 pkg_config_args=gtk+-2.0
27943 for module in . $GTK_MODULES
27947 pkg_config_args="$pkg_config_args gthread-2.0"
27954 # Extract the first word of "pkg-config", so it can be a program name with args.
27955 set dummy pkg-config; ac_word=$2
27956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27958 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27959 echo $ECHO_N "(cached) $ECHO_C" >&6
27961 case $PKG_CONFIG in
27963 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27967 for as_dir in $PATH
27970 test -z "$as_dir" && as_dir=.
27971 for ac_exec_ext in '' $ac_executable_extensions; do
27972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27973 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27981 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27985 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27986 if test -n "$PKG_CONFIG"; then
27987 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27988 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27990 { echo "$as_me:$LINENO: result: no" >&5
27991 echo "${ECHO_T}no" >&6; }
27996 if test x$PKG_CONFIG != xno ; then
27997 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28000 echo "*** pkg-config too old; version 0.7 or better required."
28008 min_gtk_version=2.4.0
28009 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28010 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28012 if test x$PKG_CONFIG != xno ; then
28013 ## don't try to run the test against uninstalled libtool libs
28014 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28015 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28019 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28026 if test x"$no_gtk" = x ; then
28027 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28028 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28029 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28030 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28031 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28032 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28033 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28034 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28035 if test "x$enable_gtktest" = "xyes" ; then
28036 ac_save_CFLAGS="$CFLAGS"
28037 ac_save_LIBS="$LIBS"
28038 CFLAGS="$CFLAGS $GTK_CFLAGS"
28039 LIBS="$GTK_LIBS $LIBS"
28041 if test "$cross_compiling" = yes; then
28042 echo $ac_n "cross compiling; assumed OK... $ac_c"
28044 cat >conftest.$ac_ext <<_ACEOF
28047 cat confdefs.h >>conftest.$ac_ext
28048 cat >>conftest.$ac_ext <<_ACEOF
28049 /* end confdefs.h. */
28051 #include <gtk/gtk.h>
28053 #include <stdlib.h>
28058 int major, minor, micro;
28061 system ("touch conf.gtktest");
28063 /* HP/UX 9 (%@#!) writes to sscanf strings */
28064 tmp_version = g_strdup("$min_gtk_version");
28065 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28066 printf("%s, bad version string\n", "$min_gtk_version");
28070 if ((gtk_major_version != $gtk_config_major_version) ||
28071 (gtk_minor_version != $gtk_config_minor_version) ||
28072 (gtk_micro_version != $gtk_config_micro_version))
28074 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28075 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28076 gtk_major_version, gtk_minor_version, gtk_micro_version);
28077 printf ("*** was found! If pkg-config was correct, then it is best\n");
28078 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28079 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28080 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28081 printf("*** required on your system.\n");
28082 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28083 printf("*** to point to the correct configuration files\n");
28085 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28086 (gtk_minor_version != GTK_MINOR_VERSION) ||
28087 (gtk_micro_version != GTK_MICRO_VERSION))
28089 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28090 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28091 printf("*** library (version %d.%d.%d)\n",
28092 gtk_major_version, gtk_minor_version, gtk_micro_version);
28096 if ((gtk_major_version > major) ||
28097 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28098 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28104 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28105 gtk_major_version, gtk_minor_version, gtk_micro_version);
28106 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28107 major, minor, micro);
28108 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28110 printf("*** If you have already installed a sufficiently new version, this error\n");
28111 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28112 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28113 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28114 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28115 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28116 printf("*** so that the correct libraries are found at run-time))\n");
28123 rm -f conftest$ac_exeext
28124 if { (ac_try="$ac_link"
28125 case "(($ac_try" in
28126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28127 *) ac_try_echo=$ac_try;;
28129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28130 (eval "$ac_link") 2>&5
28132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28133 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28134 { (case "(($ac_try" in
28135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28136 *) ac_try_echo=$ac_try;;
28138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28139 (eval "$ac_try") 2>&5
28141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28142 (exit $ac_status); }; }; then
28145 echo "$as_me: program exited with status $ac_status" >&5
28146 echo "$as_me: failed program was:" >&5
28147 sed 's/^/| /' conftest.$ac_ext >&5
28149 ( exit $ac_status )
28152 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28156 CFLAGS="$ac_save_CFLAGS"
28157 LIBS="$ac_save_LIBS"
28160 if test "x$no_gtk" = x ; then
28161 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28162 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28165 { echo "$as_me:$LINENO: result: no" >&5
28166 echo "${ECHO_T}no" >&6; }
28167 if test "$PKG_CONFIG" = "no" ; then
28168 echo "*** A new enough version of pkg-config was not found."
28169 echo "*** See http://pkgconfig.sourceforge.net"
28171 if test -f conf.gtktest ; then
28174 echo "*** Could not run GTK+ test program, checking why..."
28175 ac_save_CFLAGS="$CFLAGS"
28176 ac_save_LIBS="$LIBS"
28177 CFLAGS="$CFLAGS $GTK_CFLAGS"
28178 LIBS="$LIBS $GTK_LIBS"
28179 cat >conftest.$ac_ext <<_ACEOF
28182 cat confdefs.h >>conftest.$ac_ext
28183 cat >>conftest.$ac_ext <<_ACEOF
28184 /* end confdefs.h. */
28186 #include <gtk/gtk.h>
28192 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28197 rm -f conftest.$ac_objext conftest$ac_exeext
28198 if { (ac_try="$ac_link"
28199 case "(($ac_try" in
28200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28201 *) ac_try_echo=$ac_try;;
28203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28204 (eval "$ac_link") 2>conftest.er1
28206 grep -v '^ *+' conftest.er1 >conftest.err
28208 cat conftest.err >&5
28209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28210 (exit $ac_status); } && {
28211 test -z "$ac_c_werror_flag" ||
28212 test ! -s conftest.err
28213 } && test -s conftest$ac_exeext &&
28214 $as_test_x conftest$ac_exeext; then
28215 echo "*** The test program compiled, but did not run. This usually means"
28216 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28217 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28218 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28219 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28220 echo "*** is required on your system"
28222 echo "*** If you have an old version installed, it is best to remove it, although"
28223 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28225 echo "$as_me: failed program was:" >&5
28226 sed 's/^/| /' conftest.$ac_ext >&5
28228 echo "*** The test program failed to compile or link. See the file config.log for the"
28229 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28233 conftest$ac_exeext conftest.$ac_ext
28234 CFLAGS="$ac_save_CFLAGS"
28235 LIBS="$ac_save_LIBS"
28249 if test "$wxUSE_SHARED" != "yes"; then
28250 GTK_LIBS="$GTK_LIBS -lX11"
28255 if test -z "$wx_cv_lib_gtk"; then
28256 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28258 # Check whether --with-gtk-prefix was given.
28259 if test "${with_gtk_prefix+set}" = set; then
28260 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28262 gtk_config_prefix=""
28266 # Check whether --with-gtk-exec-prefix was given.
28267 if test "${with_gtk_exec_prefix+set}" = set; then
28268 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28270 gtk_config_exec_prefix=""
28273 # Check whether --enable-gtktest was given.
28274 if test "${enable_gtktest+set}" = set; then
28275 enableval=$enable_gtktest;
28281 for module in . $GTK_MODULES
28285 gtk_config_args="$gtk_config_args gthread"
28290 if test x$gtk_config_exec_prefix != x ; then
28291 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28292 if test x${GTK_CONFIG+set} != xset ; then
28293 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28296 if test x$gtk_config_prefix != x ; then
28297 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28298 if test x${GTK_CONFIG+set} != xset ; then
28299 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28303 # Extract the first word of "gtk-config", so it can be a program name with args.
28304 set dummy gtk-config; ac_word=$2
28305 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28307 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28308 echo $ECHO_N "(cached) $ECHO_C" >&6
28310 case $GTK_CONFIG in
28312 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28316 for as_dir in $PATH
28319 test -z "$as_dir" && as_dir=.
28320 for ac_exec_ext in '' $ac_executable_extensions; do
28321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28322 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28330 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28334 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28335 if test -n "$GTK_CONFIG"; then
28336 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28337 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28339 { echo "$as_me:$LINENO: result: no" >&5
28340 echo "${ECHO_T}no" >&6; }
28344 min_gtk_version=1.2.7
28345 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28346 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28348 if test "$GTK_CONFIG" = "no" ; then
28351 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28352 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28353 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28354 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28355 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28356 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28357 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28358 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28359 if test "x$enable_gtktest" = "xyes" ; then
28360 ac_save_CFLAGS="$CFLAGS"
28361 ac_save_LIBS="$LIBS"
28362 CFLAGS="$CFLAGS $GTK_CFLAGS"
28363 LIBS="$GTK_LIBS $LIBS"
28365 if test "$cross_compiling" = yes; then
28366 echo $ac_n "cross compiling; assumed OK... $ac_c"
28368 cat >conftest.$ac_ext <<_ACEOF
28371 cat confdefs.h >>conftest.$ac_ext
28372 cat >>conftest.$ac_ext <<_ACEOF
28373 /* end confdefs.h. */
28375 #include <gtk/gtk.h>
28377 #include <stdlib.h>
28382 int major, minor, micro;
28385 system ("touch conf.gtktest");
28387 /* HP/UX 9 (%@#!) writes to sscanf strings */
28388 tmp_version = g_strdup("$min_gtk_version");
28389 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28390 printf("%s, bad version string\n", "$min_gtk_version");
28394 if ((gtk_major_version != $gtk_config_major_version) ||
28395 (gtk_minor_version != $gtk_config_minor_version) ||
28396 (gtk_micro_version != $gtk_config_micro_version))
28398 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28399 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28400 gtk_major_version, gtk_minor_version, gtk_micro_version);
28401 printf ("*** was found! If gtk-config was correct, then it is best\n");
28402 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28403 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28404 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28405 printf("*** required on your system.\n");
28406 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28407 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28408 printf("*** before re-running configure\n");
28410 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28411 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28412 (gtk_minor_version != GTK_MINOR_VERSION) ||
28413 (gtk_micro_version != GTK_MICRO_VERSION))
28415 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28416 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28417 printf("*** library (version %d.%d.%d)\n",
28418 gtk_major_version, gtk_minor_version, gtk_micro_version);
28420 #endif /* defined (GTK_MAJOR_VERSION) ... */
28423 if ((gtk_major_version > major) ||
28424 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28425 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28431 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28432 gtk_major_version, gtk_minor_version, gtk_micro_version);
28433 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28434 major, minor, micro);
28435 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28437 printf("*** If you have already installed a sufficiently new version, this error\n");
28438 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28439 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28440 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28441 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28442 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28443 printf("*** so that the correct libraries are found at run-time))\n");
28450 rm -f conftest$ac_exeext
28451 if { (ac_try="$ac_link"
28452 case "(($ac_try" in
28453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28454 *) ac_try_echo=$ac_try;;
28456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28457 (eval "$ac_link") 2>&5
28459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28460 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28461 { (case "(($ac_try" in
28462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28463 *) ac_try_echo=$ac_try;;
28465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28466 (eval "$ac_try") 2>&5
28468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28469 (exit $ac_status); }; }; then
28472 echo "$as_me: program exited with status $ac_status" >&5
28473 echo "$as_me: failed program was:" >&5
28474 sed 's/^/| /' conftest.$ac_ext >&5
28476 ( exit $ac_status )
28479 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28483 CFLAGS="$ac_save_CFLAGS"
28484 LIBS="$ac_save_LIBS"
28487 if test "x$no_gtk" = x ; then
28488 { echo "$as_me:$LINENO: result: yes" >&5
28489 echo "${ECHO_T}yes" >&6; }
28490 wx_cv_lib_gtk=1.2.7
28492 { echo "$as_me:$LINENO: result: no" >&5
28493 echo "${ECHO_T}no" >&6; }
28494 if test "$GTK_CONFIG" = "no" ; then
28495 echo "*** The gtk-config script installed by GTK could not be found"
28496 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28497 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28498 echo "*** full path to gtk-config."
28500 if test -f conf.gtktest ; then
28503 echo "*** Could not run GTK test program, checking why..."
28504 CFLAGS="$CFLAGS $GTK_CFLAGS"
28505 LIBS="$LIBS $GTK_LIBS"
28506 cat >conftest.$ac_ext <<_ACEOF
28509 cat confdefs.h >>conftest.$ac_ext
28510 cat >>conftest.$ac_ext <<_ACEOF
28511 /* end confdefs.h. */
28513 #include <gtk/gtk.h>
28519 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28524 rm -f conftest.$ac_objext conftest$ac_exeext
28525 if { (ac_try="$ac_link"
28526 case "(($ac_try" in
28527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28528 *) ac_try_echo=$ac_try;;
28530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28531 (eval "$ac_link") 2>conftest.er1
28533 grep -v '^ *+' conftest.er1 >conftest.err
28535 cat conftest.err >&5
28536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28537 (exit $ac_status); } && {
28538 test -z "$ac_c_werror_flag" ||
28539 test ! -s conftest.err
28540 } && test -s conftest$ac_exeext &&
28541 $as_test_x conftest$ac_exeext; then
28542 echo "*** The test program compiled, but did not run. This usually means"
28543 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28544 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28545 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28546 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28547 echo "*** is required on your system"
28549 echo "*** If you have an old version installed, it is best to remove it, although"
28550 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28552 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28553 echo "*** came with the system with the command"
28555 echo "*** rpm --erase --nodeps gtk gtk-devel"
28557 echo "$as_me: failed program was:" >&5
28558 sed 's/^/| /' conftest.$ac_ext >&5
28560 echo "*** The test program failed to compile or link. See the file config.log for the"
28561 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28562 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28563 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28567 conftest$ac_exeext conftest.$ac_ext
28568 CFLAGS="$ac_save_CFLAGS"
28569 LIBS="$ac_save_LIBS"
28581 if test -z "$wx_cv_lib_gtk"; then
28583 # Check whether --with-gtk-prefix was given.
28584 if test "${with_gtk_prefix+set}" = set; then
28585 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28587 gtk_config_prefix=""
28591 # Check whether --with-gtk-exec-prefix was given.
28592 if test "${with_gtk_exec_prefix+set}" = set; then
28593 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28595 gtk_config_exec_prefix=""
28598 # Check whether --enable-gtktest was given.
28599 if test "${enable_gtktest+set}" = set; then
28600 enableval=$enable_gtktest;
28606 for module in . $GTK_MODULES
28610 gtk_config_args="$gtk_config_args gthread"
28615 if test x$gtk_config_exec_prefix != x ; then
28616 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28617 if test x${GTK_CONFIG+set} != xset ; then
28618 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28621 if test x$gtk_config_prefix != x ; then
28622 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28623 if test x${GTK_CONFIG+set} != xset ; then
28624 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28628 # Extract the first word of "gtk-config", so it can be a program name with args.
28629 set dummy gtk-config; ac_word=$2
28630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28632 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28633 echo $ECHO_N "(cached) $ECHO_C" >&6
28635 case $GTK_CONFIG in
28637 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28641 for as_dir in $PATH
28644 test -z "$as_dir" && as_dir=.
28645 for ac_exec_ext in '' $ac_executable_extensions; do
28646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28647 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28655 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28659 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28660 if test -n "$GTK_CONFIG"; then
28661 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28662 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28664 { echo "$as_me:$LINENO: result: no" >&5
28665 echo "${ECHO_T}no" >&6; }
28669 min_gtk_version=1.2.3
28670 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28671 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28673 if test "$GTK_CONFIG" = "no" ; then
28676 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28677 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28678 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28679 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28680 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28681 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28682 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28683 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28684 if test "x$enable_gtktest" = "xyes" ; then
28685 ac_save_CFLAGS="$CFLAGS"
28686 ac_save_LIBS="$LIBS"
28687 CFLAGS="$CFLAGS $GTK_CFLAGS"
28688 LIBS="$GTK_LIBS $LIBS"
28690 if test "$cross_compiling" = yes; then
28691 echo $ac_n "cross compiling; assumed OK... $ac_c"
28693 cat >conftest.$ac_ext <<_ACEOF
28696 cat confdefs.h >>conftest.$ac_ext
28697 cat >>conftest.$ac_ext <<_ACEOF
28698 /* end confdefs.h. */
28700 #include <gtk/gtk.h>
28702 #include <stdlib.h>
28707 int major, minor, micro;
28710 system ("touch conf.gtktest");
28712 /* HP/UX 9 (%@#!) writes to sscanf strings */
28713 tmp_version = g_strdup("$min_gtk_version");
28714 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28715 printf("%s, bad version string\n", "$min_gtk_version");
28719 if ((gtk_major_version != $gtk_config_major_version) ||
28720 (gtk_minor_version != $gtk_config_minor_version) ||
28721 (gtk_micro_version != $gtk_config_micro_version))
28723 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28724 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28725 gtk_major_version, gtk_minor_version, gtk_micro_version);
28726 printf ("*** was found! If gtk-config was correct, then it is best\n");
28727 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28728 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28729 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28730 printf("*** required on your system.\n");
28731 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28732 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28733 printf("*** before re-running configure\n");
28735 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28736 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28737 (gtk_minor_version != GTK_MINOR_VERSION) ||
28738 (gtk_micro_version != GTK_MICRO_VERSION))
28740 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28741 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28742 printf("*** library (version %d.%d.%d)\n",
28743 gtk_major_version, gtk_minor_version, gtk_micro_version);
28745 #endif /* defined (GTK_MAJOR_VERSION) ... */
28748 if ((gtk_major_version > major) ||
28749 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28750 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28756 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28757 gtk_major_version, gtk_minor_version, gtk_micro_version);
28758 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28759 major, minor, micro);
28760 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28762 printf("*** If you have already installed a sufficiently new version, this error\n");
28763 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28764 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28765 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28766 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28767 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28768 printf("*** so that the correct libraries are found at run-time))\n");
28775 rm -f conftest$ac_exeext
28776 if { (ac_try="$ac_link"
28777 case "(($ac_try" in
28778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28779 *) ac_try_echo=$ac_try;;
28781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28782 (eval "$ac_link") 2>&5
28784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28785 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28786 { (case "(($ac_try" in
28787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28788 *) ac_try_echo=$ac_try;;
28790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28791 (eval "$ac_try") 2>&5
28793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28794 (exit $ac_status); }; }; then
28797 echo "$as_me: program exited with status $ac_status" >&5
28798 echo "$as_me: failed program was:" >&5
28799 sed 's/^/| /' conftest.$ac_ext >&5
28801 ( exit $ac_status )
28804 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28808 CFLAGS="$ac_save_CFLAGS"
28809 LIBS="$ac_save_LIBS"
28812 if test "x$no_gtk" = x ; then
28813 { echo "$as_me:$LINENO: result: yes" >&5
28814 echo "${ECHO_T}yes" >&6; }
28815 wx_cv_lib_gtk=1.2.3
28817 { echo "$as_me:$LINENO: result: no" >&5
28818 echo "${ECHO_T}no" >&6; }
28819 if test "$GTK_CONFIG" = "no" ; then
28820 echo "*** The gtk-config script installed by GTK could not be found"
28821 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28822 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28823 echo "*** full path to gtk-config."
28825 if test -f conf.gtktest ; then
28828 echo "*** Could not run GTK test program, checking why..."
28829 CFLAGS="$CFLAGS $GTK_CFLAGS"
28830 LIBS="$LIBS $GTK_LIBS"
28831 cat >conftest.$ac_ext <<_ACEOF
28834 cat confdefs.h >>conftest.$ac_ext
28835 cat >>conftest.$ac_ext <<_ACEOF
28836 /* end confdefs.h. */
28838 #include <gtk/gtk.h>
28844 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28849 rm -f conftest.$ac_objext conftest$ac_exeext
28850 if { (ac_try="$ac_link"
28851 case "(($ac_try" in
28852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28853 *) ac_try_echo=$ac_try;;
28855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28856 (eval "$ac_link") 2>conftest.er1
28858 grep -v '^ *+' conftest.er1 >conftest.err
28860 cat conftest.err >&5
28861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28862 (exit $ac_status); } && {
28863 test -z "$ac_c_werror_flag" ||
28864 test ! -s conftest.err
28865 } && test -s conftest$ac_exeext &&
28866 $as_test_x conftest$ac_exeext; then
28867 echo "*** The test program compiled, but did not run. This usually means"
28868 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28869 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28870 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28871 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28872 echo "*** is required on your system"
28874 echo "*** If you have an old version installed, it is best to remove it, although"
28875 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28877 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28878 echo "*** came with the system with the command"
28880 echo "*** rpm --erase --nodeps gtk gtk-devel"
28882 echo "$as_me: failed program was:" >&5
28883 sed 's/^/| /' conftest.$ac_ext >&5
28885 echo "*** The test program failed to compile or link. See the file config.log for the"
28886 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28887 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28888 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28892 conftest$ac_exeext conftest.$ac_ext
28893 CFLAGS="$ac_save_CFLAGS"
28894 LIBS="$ac_save_LIBS"
28909 if test -z "$wx_cv_lib_gtk"; then
28912 wx_cv_cflags_gtk=$GTK_CFLAGS
28913 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28920 if test "$gtk_version_cached" = 1; then
28921 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28922 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28925 case "$wx_cv_lib_gtk" in
28934 *) { { echo "$as_me:$LINENO: error:
28935 The development files for GTK+ were not found. For GTK+ 2, please
28936 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28937 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28938 and that the version is 1.2.3 or above. Also check that the
28939 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28940 --libs' are in the LD_LIBRARY_PATH or equivalent.
28942 echo "$as_me: error:
28943 The development files for GTK+ were not found. For GTK+ 2, please
28944 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28945 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28946 and that the version is 1.2.3 or above. Also check that the
28947 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28948 --libs' are in the LD_LIBRARY_PATH or equivalent.
28950 { (exit 1); exit 1; }; }
28954 if test "$WXGTK2" = 1; then
28955 save_CFLAGS="$CFLAGS"
28957 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28958 LIBS="$LIBS $wx_cv_libs_gtk"
28960 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28961 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28962 cat >conftest.$ac_ext <<_ACEOF
28965 cat confdefs.h >>conftest.$ac_ext
28966 cat >>conftest.$ac_ext <<_ACEOF
28967 /* end confdefs.h. */
28969 #include <gtk/gtk.h>
28975 #if !GTK_CHECK_VERSION(2,10,0)
28983 rm -f conftest.$ac_objext
28984 if { (ac_try="$ac_compile"
28985 case "(($ac_try" in
28986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28987 *) ac_try_echo=$ac_try;;
28989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28990 (eval "$ac_compile") 2>conftest.er1
28992 grep -v '^ *+' conftest.er1 >conftest.err
28994 cat conftest.err >&5
28995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28996 (exit $ac_status); } && {
28997 test -z "$ac_c_werror_flag" ||
28998 test ! -s conftest.err
28999 } && test -s conftest.$ac_objext; then
29001 cat >>confdefs.h <<\_ACEOF
29002 #define __WXGTK210__ 1
29005 cat >>confdefs.h <<\_ACEOF
29006 #define __WXGTK26__ 1
29009 { echo "$as_me:$LINENO: result: yes" >&5
29010 echo "${ECHO_T}yes" >&6; }
29014 echo "$as_me: failed program was:" >&5
29015 sed 's/^/| /' conftest.$ac_ext >&5
29018 { echo "$as_me:$LINENO: result: no" >&5
29019 echo "${ECHO_T}no" >&6; }
29024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29026 if test "$ac_wxgtk210" = 0; then
29027 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29028 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29029 cat >conftest.$ac_ext <<_ACEOF
29032 cat confdefs.h >>conftest.$ac_ext
29033 cat >>conftest.$ac_ext <<_ACEOF
29034 /* end confdefs.h. */
29036 #include <gtk/gtk.h>
29042 #if !GTK_CHECK_VERSION(2,6,0)
29050 rm -f conftest.$ac_objext
29051 if { (ac_try="$ac_compile"
29052 case "(($ac_try" in
29053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29054 *) ac_try_echo=$ac_try;;
29056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29057 (eval "$ac_compile") 2>conftest.er1
29059 grep -v '^ *+' conftest.er1 >conftest.err
29061 cat conftest.err >&5
29062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29063 (exit $ac_status); } && {
29064 test -z "$ac_c_werror_flag" ||
29065 test ! -s conftest.err
29066 } && test -s conftest.$ac_objext; then
29068 cat >>confdefs.h <<\_ACEOF
29069 #define __WXGTK26__ 1
29072 { echo "$as_me:$LINENO: result: yes" >&5
29073 echo "${ECHO_T}yes" >&6; }
29077 echo "$as_me: failed program was:" >&5
29078 sed 's/^/| /' conftest.$ac_ext >&5
29081 { echo "$as_me:$LINENO: result: no" >&5
29082 echo "${ECHO_T}no" >&6; }
29087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29090 CFLAGS="$save_CFLAGS"
29093 if test "$wxUSE_UNICODE" = "yes"; then
29094 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29095 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29099 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29100 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29101 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29102 echo $ECHO_N "(cached) $ECHO_C" >&6
29104 ac_check_lib_save_LIBS=$LIBS
29106 cat >conftest.$ac_ext <<_ACEOF
29109 cat confdefs.h >>conftest.$ac_ext
29110 cat >>conftest.$ac_ext <<_ACEOF
29111 /* end confdefs.h. */
29113 /* Override any GCC internal prototype to avoid an error.
29114 Use char because int might match the return type of a GCC
29115 builtin and then its argument prototype would still apply. */
29119 char gdk_im_open ();
29123 return gdk_im_open ();
29128 rm -f conftest.$ac_objext conftest$ac_exeext
29129 if { (ac_try="$ac_link"
29130 case "(($ac_try" in
29131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29132 *) ac_try_echo=$ac_try;;
29134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29135 (eval "$ac_link") 2>conftest.er1
29137 grep -v '^ *+' conftest.er1 >conftest.err
29139 cat conftest.err >&5
29140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29141 (exit $ac_status); } && {
29142 test -z "$ac_c_werror_flag" ||
29143 test ! -s conftest.err
29144 } && test -s conftest$ac_exeext &&
29145 $as_test_x conftest$ac_exeext; then
29146 ac_cv_lib_gdk_gdk_im_open=yes
29148 echo "$as_me: failed program was:" >&5
29149 sed 's/^/| /' conftest.$ac_ext >&5
29151 ac_cv_lib_gdk_gdk_im_open=no
29154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29155 conftest$ac_exeext conftest.$ac_ext
29156 LIBS=$ac_check_lib_save_LIBS
29158 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29159 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29160 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29161 cat >>confdefs.h <<\_ACEOF
29168 if test "$USE_DARWIN" != 1; then
29170 for ac_func in poll
29172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29173 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29175 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29176 echo $ECHO_N "(cached) $ECHO_C" >&6
29178 cat >conftest.$ac_ext <<_ACEOF
29181 cat confdefs.h >>conftest.$ac_ext
29182 cat >>conftest.$ac_ext <<_ACEOF
29183 /* end confdefs.h. */
29184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29186 #define $ac_func innocuous_$ac_func
29188 /* System header to define __stub macros and hopefully few prototypes,
29189 which can conflict with char $ac_func (); below.
29190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29191 <limits.h> exists even on freestanding compilers. */
29194 # include <limits.h>
29196 # include <assert.h>
29201 /* Override any GCC internal prototype to avoid an error.
29202 Use char because int might match the return type of a GCC
29203 builtin and then its argument prototype would still apply. */
29208 /* The GNU C library defines this for functions which it implements
29209 to always fail with ENOSYS. Some functions are actually named
29210 something starting with __ and the normal name is an alias. */
29211 #if defined __stub_$ac_func || defined __stub___$ac_func
29218 return $ac_func ();
29223 rm -f conftest.$ac_objext conftest$ac_exeext
29224 if { (ac_try="$ac_link"
29225 case "(($ac_try" in
29226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29227 *) ac_try_echo=$ac_try;;
29229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29230 (eval "$ac_link") 2>conftest.er1
29232 grep -v '^ *+' conftest.er1 >conftest.err
29234 cat conftest.err >&5
29235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29236 (exit $ac_status); } && {
29237 test -z "$ac_c_werror_flag" ||
29238 test ! -s conftest.err
29239 } && test -s conftest$ac_exeext &&
29240 $as_test_x conftest$ac_exeext; then
29241 eval "$as_ac_var=yes"
29243 echo "$as_me: failed program was:" >&5
29244 sed 's/^/| /' conftest.$ac_ext >&5
29246 eval "$as_ac_var=no"
29249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29250 conftest$ac_exeext conftest.$ac_ext
29252 ac_res=`eval echo '${'$as_ac_var'}'`
29253 { echo "$as_me:$LINENO: result: $ac_res" >&5
29254 echo "${ECHO_T}$ac_res" >&6; }
29255 if test `eval echo '${'$as_ac_var'}'` = yes; then
29256 cat >>confdefs.h <<_ACEOF
29257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29266 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29267 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29269 AFMINSTALL=afminstall
29273 if test "$wxUSE_GPE" = "yes"; then
29274 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29275 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29278 for ac_dir in $SEARCH_LIB;
29280 for ac_extension in a so sl dylib dll.a; do
29281 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29282 ac_find_libraries=$ac_dir
29288 if test "$ac_find_libraries" != "" ; then
29290 if test "$ac_find_libraries" = "default location"; then
29293 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29295 if test $result = 0; then
29298 ac_path_to_link=" -L$ac_find_libraries"
29302 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29304 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29305 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29307 { echo "$as_me:$LINENO: result: not found" >&5
29308 echo "${ECHO_T}not found" >&6; }
29314 if test "$wxUSE_MGL" = 1; then
29315 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29316 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29317 if test "x$MGL_ROOT" = x ; then
29318 { echo "$as_me:$LINENO: result: not found" >&5
29319 echo "${ECHO_T}not found" >&6; }
29320 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29321 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29322 { (exit 1); exit 1; }; }
29324 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29325 echo "${ECHO_T}$MGL_ROOT" >&6; }
29328 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29329 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29332 if test "x$wxUSE_SHARED" = xyes ; then
29333 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29335 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29339 mgl_os_candidates="dos32/dj2"
29342 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29343 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29344 { (exit 1); exit 1; }; }
29350 for mgl_os_i in $mgl_os_candidates ; do
29351 if test "x$mgl_os" = x ; then
29352 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29353 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29354 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29359 if test "x$mgl_lib_type" = x ; then
29360 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29361 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29362 mgl_lib_type=release
29369 if test "x$mgl_os" = x ; then
29370 { echo "$as_me:$LINENO: result: not found" >&5
29371 echo "${ECHO_T}not found" >&6; }
29372 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29373 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29374 { (exit 1); exit 1; }; }
29376 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29377 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29379 wxUSE_UNIVERSAL="yes"
29381 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29382 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29384 AFMINSTALL=afminstall
29389 if test "$wxUSE_DFB" = 1; then
29392 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29393 if test -n "$ac_tool_prefix"; then
29394 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29395 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29398 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29399 echo $ECHO_N "(cached) $ECHO_C" >&6
29401 case $PKG_CONFIG in
29403 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29407 for as_dir in $PATH
29410 test -z "$as_dir" && as_dir=.
29411 for ac_exec_ext in '' $ac_executable_extensions; do
29412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29413 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29424 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29425 if test -n "$PKG_CONFIG"; then
29426 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29427 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29429 { echo "$as_me:$LINENO: result: no" >&5
29430 echo "${ECHO_T}no" >&6; }
29435 if test -z "$ac_cv_path_PKG_CONFIG"; then
29436 ac_pt_PKG_CONFIG=$PKG_CONFIG
29437 # Extract the first word of "pkg-config", so it can be a program name with args.
29438 set dummy pkg-config; ac_word=$2
29439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29441 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29442 echo $ECHO_N "(cached) $ECHO_C" >&6
29444 case $ac_pt_PKG_CONFIG in
29446 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29450 for as_dir in $PATH
29453 test -z "$as_dir" && as_dir=.
29454 for ac_exec_ext in '' $ac_executable_extensions; do
29455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29456 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29467 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29468 if test -n "$ac_pt_PKG_CONFIG"; then
29469 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29470 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29472 { echo "$as_me:$LINENO: result: no" >&5
29473 echo "${ECHO_T}no" >&6; }
29476 if test "x$ac_pt_PKG_CONFIG" = x; then
29479 case $cross_compiling:$ac_tool_warned in
29481 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29482 whose name does not start with the host triplet. If you think this
29483 configuration is useful to you, please write to autoconf@gnu.org." >&5
29484 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29485 whose name does not start with the host triplet. If you think this
29486 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29487 ac_tool_warned=yes ;;
29489 PKG_CONFIG=$ac_pt_PKG_CONFIG
29492 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29496 if test -n "$PKG_CONFIG"; then
29497 _pkg_min_version=0.9.0
29498 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29499 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29500 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29501 { echo "$as_me:$LINENO: result: yes" >&5
29502 echo "${ECHO_T}yes" >&6; }
29504 { echo "$as_me:$LINENO: result: no" >&5
29505 echo "${ECHO_T}no" >&6; }
29513 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29514 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29516 if test -n "$PKG_CONFIG"; then
29517 if test -n "$DIRECTFB_CFLAGS"; then
29518 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29520 if test -n "$PKG_CONFIG" && \
29521 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29522 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29525 (exit $ac_status); }; then
29526 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29534 if test -n "$PKG_CONFIG"; then
29535 if test -n "$DIRECTFB_LIBS"; then
29536 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29538 if test -n "$PKG_CONFIG" && \
29539 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29540 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29543 (exit $ac_status); }; then
29544 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29555 if test $pkg_failed = yes; then
29557 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29558 _pkg_short_errors_supported=yes
29560 _pkg_short_errors_supported=no
29562 if test $_pkg_short_errors_supported = yes; then
29563 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29565 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29567 # Put the nasty error message in config.log where it belongs
29568 echo "$DIRECTFB_PKG_ERRORS" >&5
29571 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29572 echo "$as_me: error: DirectFB not found." >&2;}
29573 { (exit 1); exit 1; }; }
29576 elif test $pkg_failed = untried; then
29578 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29579 echo "$as_me: error: DirectFB not found." >&2;}
29580 { (exit 1); exit 1; }; }
29584 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29585 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29586 { echo "$as_me:$LINENO: result: yes" >&5
29587 echo "${ECHO_T}yes" >&6; }
29589 wxUSE_UNIVERSAL="yes"
29590 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29591 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29598 if test "$wxUSE_MICROWIN" = 1; then
29599 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29600 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29601 if test "x$MICROWINDOWS" = x ; then
29602 { echo "$as_me:$LINENO: result: not found" >&5
29603 echo "${ECHO_T}not found" >&6; }
29604 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29605 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29606 { (exit 1); exit 1; }; }
29608 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29609 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29612 if test -f $MICROWINDOWS/lib/libmwin.a; then
29613 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29614 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29616 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29617 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29618 { (exit 1); exit 1; }; }
29621 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29622 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29624 wxUSE_UNIVERSAL="yes"
29626 AFMINSTALL=afminstall
29628 GUIDIST=MICROWIN_DIST
29630 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29633 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29634 { echo "$as_me:$LINENO: checking for X" >&5
29635 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29638 # Check whether --with-x was given.
29639 if test "${with_x+set}" = set; then
29643 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29644 if test "x$with_x" = xno; then
29645 # The user explicitly disabled X.
29648 case $x_includes,$x_libraries in #(
29649 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29650 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29651 { (exit 1); exit 1; }; };; #(
29652 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29653 echo $ECHO_N "(cached) $ECHO_C" >&6
29655 # One or both of the vars are not set, and there is no cached value.
29656 ac_x_includes=no ac_x_libraries=no
29657 rm -f -r conftest.dir
29658 if mkdir conftest.dir; then
29660 cat >Imakefile <<'_ACEOF'
29662 @echo incroot='${INCROOT}'
29664 @echo usrlibdir='${USRLIBDIR}'
29666 @echo libdir='${LIBDIR}'
29668 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29669 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29670 for ac_var in incroot usrlibdir libdir; do
29671 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29673 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29674 for ac_extension in a so sl; do
29675 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29676 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29677 ac_im_usrlibdir=$ac_im_libdir; break
29680 # Screen out bogus values from the imake configuration. They are
29681 # bogus both because they are the default anyway, and because
29682 # using them would break gcc on systems where it needs fixed includes.
29683 case $ac_im_incroot in
29684 /usr/include) ac_x_includes= ;;
29685 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29687 case $ac_im_usrlibdir in
29688 /usr/lib | /lib) ;;
29689 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29693 rm -f -r conftest.dir
29696 # Standard set of common directories for X headers.
29697 # Check X11 before X11Rn because it is often a symlink to the current release.
29709 /usr/local/X11/include
29710 /usr/local/X11R6/include
29711 /usr/local/X11R5/include
29712 /usr/local/X11R4/include
29714 /usr/local/include/X11
29715 /usr/local/include/X11R6
29716 /usr/local/include/X11R5
29717 /usr/local/include/X11R4
29721 /usr/XFree86/include/X11
29725 /usr/unsupported/include
29726 /usr/athena/include
29727 /usr/local/x11r5/include
29728 /usr/lpp/Xamples/include
29730 /usr/openwin/include
29731 /usr/openwin/share/include'
29733 if test "$ac_x_includes" = no; then
29734 # Guess where to find include files, by looking for Xlib.h.
29735 # First, try using that file with no special directory specified.
29736 cat >conftest.$ac_ext <<_ACEOF
29739 cat confdefs.h >>conftest.$ac_ext
29740 cat >>conftest.$ac_ext <<_ACEOF
29741 /* end confdefs.h. */
29742 #include <X11/Xlib.h>
29744 if { (ac_try="$ac_cpp conftest.$ac_ext"
29745 case "(($ac_try" in
29746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29747 *) ac_try_echo=$ac_try;;
29749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29750 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29752 grep -v '^ *+' conftest.er1 >conftest.err
29754 cat conftest.err >&5
29755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29756 (exit $ac_status); } >/dev/null && {
29757 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29758 test ! -s conftest.err
29760 # We can compile using X headers with no special include directory.
29763 echo "$as_me: failed program was:" >&5
29764 sed 's/^/| /' conftest.$ac_ext >&5
29766 for ac_dir in $ac_x_header_dirs; do
29767 if test -r "$ac_dir/X11/Xlib.h"; then
29768 ac_x_includes=$ac_dir
29774 rm -f conftest.err conftest.$ac_ext
29775 fi # $ac_x_includes = no
29777 if test "$ac_x_libraries" = no; then
29778 # Check for the libraries.
29779 # See if we find them without any special options.
29780 # Don't add to $LIBS permanently.
29783 cat >conftest.$ac_ext <<_ACEOF
29786 cat confdefs.h >>conftest.$ac_ext
29787 cat >>conftest.$ac_ext <<_ACEOF
29788 /* end confdefs.h. */
29789 #include <X11/Xlib.h>
29798 rm -f conftest.$ac_objext conftest$ac_exeext
29799 if { (ac_try="$ac_link"
29800 case "(($ac_try" in
29801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29802 *) ac_try_echo=$ac_try;;
29804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29805 (eval "$ac_link") 2>conftest.er1
29807 grep -v '^ *+' conftest.er1 >conftest.err
29809 cat conftest.err >&5
29810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29811 (exit $ac_status); } && {
29812 test -z "$ac_c_werror_flag" ||
29813 test ! -s conftest.err
29814 } && test -s conftest$ac_exeext &&
29815 $as_test_x conftest$ac_exeext; then
29817 # We can link X programs with no special library path.
29820 echo "$as_me: failed program was:" >&5
29821 sed 's/^/| /' conftest.$ac_ext >&5
29824 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29826 # Don't even attempt the hair of trying to link an X program!
29827 for ac_extension in a so sl; do
29828 if test -r "$ac_dir/libX11.$ac_extension"; then
29829 ac_x_libraries=$ac_dir
29836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29837 conftest$ac_exeext conftest.$ac_ext
29838 fi # $ac_x_libraries = no
29840 case $ac_x_includes,$ac_x_libraries in #(
29841 no,* | *,no | *\'*)
29842 # Didn't find X, or a directory has "'" in its name.
29843 ac_cv_have_x="have_x=no";; #(
29845 # Record where we found X for the cache.
29846 ac_cv_have_x="have_x=yes\
29847 ac_x_includes='$ac_x_includes'\
29848 ac_x_libraries='$ac_x_libraries'"
29854 eval "$ac_cv_have_x"
29857 if test "$have_x" != yes; then
29858 { echo "$as_me:$LINENO: result: $have_x" >&5
29859 echo "${ECHO_T}$have_x" >&6; }
29862 # If each of the values was on the command line, it overrides each guess.
29863 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29864 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29865 # Update the cache value to reflect the command line values.
29866 ac_cv_have_x="have_x=yes\
29867 ac_x_includes='$x_includes'\
29868 ac_x_libraries='$x_libraries'"
29869 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29870 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29873 if test "$no_x" = yes; then
29874 # Not all programs may use this symbol, but it does not hurt to define it.
29876 cat >>confdefs.h <<\_ACEOF
29877 #define X_DISPLAY_MISSING 1
29880 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29882 if test -n "$x_includes"; then
29883 X_CFLAGS="$X_CFLAGS -I$x_includes"
29886 # It would also be nice to do this for all -L options, not just this one.
29887 if test -n "$x_libraries"; then
29888 X_LIBS="$X_LIBS -L$x_libraries"
29889 # For Solaris; some versions of Sun CC require a space after -R and
29890 # others require no space. Words are not sufficient . . . .
29891 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29892 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29893 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29894 ac_xsave_c_werror_flag=$ac_c_werror_flag
29895 ac_c_werror_flag=yes
29896 cat >conftest.$ac_ext <<_ACEOF
29899 cat confdefs.h >>conftest.$ac_ext
29900 cat >>conftest.$ac_ext <<_ACEOF
29901 /* end confdefs.h. */
29911 rm -f conftest.$ac_objext conftest$ac_exeext
29912 if { (ac_try="$ac_link"
29913 case "(($ac_try" in
29914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29915 *) ac_try_echo=$ac_try;;
29917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29918 (eval "$ac_link") 2>conftest.er1
29920 grep -v '^ *+' conftest.er1 >conftest.err
29922 cat conftest.err >&5
29923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29924 (exit $ac_status); } && {
29925 test -z "$ac_c_werror_flag" ||
29926 test ! -s conftest.err
29927 } && test -s conftest$ac_exeext &&
29928 $as_test_x conftest$ac_exeext; then
29929 { echo "$as_me:$LINENO: result: no" >&5
29930 echo "${ECHO_T}no" >&6; }
29931 X_LIBS="$X_LIBS -R$x_libraries"
29933 echo "$as_me: failed program was:" >&5
29934 sed 's/^/| /' conftest.$ac_ext >&5
29936 LIBS="$ac_xsave_LIBS -R $x_libraries"
29937 cat >conftest.$ac_ext <<_ACEOF
29940 cat confdefs.h >>conftest.$ac_ext
29941 cat >>conftest.$ac_ext <<_ACEOF
29942 /* end confdefs.h. */
29952 rm -f conftest.$ac_objext conftest$ac_exeext
29953 if { (ac_try="$ac_link"
29954 case "(($ac_try" in
29955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29956 *) ac_try_echo=$ac_try;;
29958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29959 (eval "$ac_link") 2>conftest.er1
29961 grep -v '^ *+' conftest.er1 >conftest.err
29963 cat conftest.err >&5
29964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29965 (exit $ac_status); } && {
29966 test -z "$ac_c_werror_flag" ||
29967 test ! -s conftest.err
29968 } && test -s conftest$ac_exeext &&
29969 $as_test_x conftest$ac_exeext; then
29970 { echo "$as_me:$LINENO: result: yes" >&5
29971 echo "${ECHO_T}yes" >&6; }
29972 X_LIBS="$X_LIBS -R $x_libraries"
29974 echo "$as_me: failed program was:" >&5
29975 sed 's/^/| /' conftest.$ac_ext >&5
29977 { echo "$as_me:$LINENO: result: neither works" >&5
29978 echo "${ECHO_T}neither works" >&6; }
29981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29982 conftest$ac_exeext conftest.$ac_ext
29985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29986 conftest$ac_exeext conftest.$ac_ext
29987 ac_c_werror_flag=$ac_xsave_c_werror_flag
29988 LIBS=$ac_xsave_LIBS
29991 # Check for system-dependent libraries X programs must link with.
29992 # Do this before checking for the system-independent R6 libraries
29993 # (-lICE), since we may need -lsocket or whatever for X linking.
29995 if test "$ISC" = yes; then
29996 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29998 # Martyn Johnson says this is needed for Ultrix, if the X
29999 # libraries were built with DECnet support. And Karl Berry says
30000 # the Alpha needs dnet_stub (dnet does not exist).
30001 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30002 cat >conftest.$ac_ext <<_ACEOF
30005 cat confdefs.h >>conftest.$ac_ext
30006 cat >>conftest.$ac_ext <<_ACEOF
30007 /* end confdefs.h. */
30009 /* Override any GCC internal prototype to avoid an error.
30010 Use char because int might match the return type of a GCC
30011 builtin and then its argument prototype would still apply. */
30015 char XOpenDisplay ();
30019 return XOpenDisplay ();
30024 rm -f conftest.$ac_objext conftest$ac_exeext
30025 if { (ac_try="$ac_link"
30026 case "(($ac_try" in
30027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30028 *) ac_try_echo=$ac_try;;
30030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30031 (eval "$ac_link") 2>conftest.er1
30033 grep -v '^ *+' conftest.er1 >conftest.err
30035 cat conftest.err >&5
30036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30037 (exit $ac_status); } && {
30038 test -z "$ac_c_werror_flag" ||
30039 test ! -s conftest.err
30040 } && test -s conftest$ac_exeext &&
30041 $as_test_x conftest$ac_exeext; then
30044 echo "$as_me: failed program was:" >&5
30045 sed 's/^/| /' conftest.$ac_ext >&5
30047 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30048 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30049 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30050 echo $ECHO_N "(cached) $ECHO_C" >&6
30052 ac_check_lib_save_LIBS=$LIBS
30053 LIBS="-ldnet $LIBS"
30054 cat >conftest.$ac_ext <<_ACEOF
30057 cat confdefs.h >>conftest.$ac_ext
30058 cat >>conftest.$ac_ext <<_ACEOF
30059 /* end confdefs.h. */
30061 /* Override any GCC internal prototype to avoid an error.
30062 Use char because int might match the return type of a GCC
30063 builtin and then its argument prototype would still apply. */
30071 return dnet_ntoa ();
30076 rm -f conftest.$ac_objext conftest$ac_exeext
30077 if { (ac_try="$ac_link"
30078 case "(($ac_try" in
30079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30080 *) ac_try_echo=$ac_try;;
30082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30083 (eval "$ac_link") 2>conftest.er1
30085 grep -v '^ *+' conftest.er1 >conftest.err
30087 cat conftest.err >&5
30088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30089 (exit $ac_status); } && {
30090 test -z "$ac_c_werror_flag" ||
30091 test ! -s conftest.err
30092 } && test -s conftest$ac_exeext &&
30093 $as_test_x conftest$ac_exeext; then
30094 ac_cv_lib_dnet_dnet_ntoa=yes
30096 echo "$as_me: failed program was:" >&5
30097 sed 's/^/| /' conftest.$ac_ext >&5
30099 ac_cv_lib_dnet_dnet_ntoa=no
30102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30103 conftest$ac_exeext conftest.$ac_ext
30104 LIBS=$ac_check_lib_save_LIBS
30106 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30107 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30108 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30109 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30112 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30113 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30114 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30115 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30116 echo $ECHO_N "(cached) $ECHO_C" >&6
30118 ac_check_lib_save_LIBS=$LIBS
30119 LIBS="-ldnet_stub $LIBS"
30120 cat >conftest.$ac_ext <<_ACEOF
30123 cat confdefs.h >>conftest.$ac_ext
30124 cat >>conftest.$ac_ext <<_ACEOF
30125 /* end confdefs.h. */
30127 /* Override any GCC internal prototype to avoid an error.
30128 Use char because int might match the return type of a GCC
30129 builtin and then its argument prototype would still apply. */
30137 return dnet_ntoa ();
30142 rm -f conftest.$ac_objext conftest$ac_exeext
30143 if { (ac_try="$ac_link"
30144 case "(($ac_try" in
30145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30146 *) ac_try_echo=$ac_try;;
30148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30149 (eval "$ac_link") 2>conftest.er1
30151 grep -v '^ *+' conftest.er1 >conftest.err
30153 cat conftest.err >&5
30154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30155 (exit $ac_status); } && {
30156 test -z "$ac_c_werror_flag" ||
30157 test ! -s conftest.err
30158 } && test -s conftest$ac_exeext &&
30159 $as_test_x conftest$ac_exeext; then
30160 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30162 echo "$as_me: failed program was:" >&5
30163 sed 's/^/| /' conftest.$ac_ext >&5
30165 ac_cv_lib_dnet_stub_dnet_ntoa=no
30168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30169 conftest$ac_exeext conftest.$ac_ext
30170 LIBS=$ac_check_lib_save_LIBS
30172 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30173 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30174 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30175 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30182 conftest$ac_exeext conftest.$ac_ext
30183 LIBS="$ac_xsave_LIBS"
30185 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30186 # to get the SysV transport functions.
30187 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30189 # The nsl library prevents programs from opening the X display
30190 # on Irix 5.2, according to T.E. Dickey.
30191 # The functions gethostbyname, getservbyname, and inet_addr are
30192 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30193 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30194 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30195 if test "${ac_cv_func_gethostbyname+set}" = set; then
30196 echo $ECHO_N "(cached) $ECHO_C" >&6
30198 cat >conftest.$ac_ext <<_ACEOF
30201 cat confdefs.h >>conftest.$ac_ext
30202 cat >>conftest.$ac_ext <<_ACEOF
30203 /* end confdefs.h. */
30204 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30206 #define gethostbyname innocuous_gethostbyname
30208 /* System header to define __stub macros and hopefully few prototypes,
30209 which can conflict with char gethostbyname (); below.
30210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30211 <limits.h> exists even on freestanding compilers. */
30214 # include <limits.h>
30216 # include <assert.h>
30219 #undef gethostbyname
30221 /* Override any GCC internal prototype to avoid an error.
30222 Use char because int might match the return type of a GCC
30223 builtin and then its argument prototype would still apply. */
30227 char gethostbyname ();
30228 /* The GNU C library defines this for functions which it implements
30229 to always fail with ENOSYS. Some functions are actually named
30230 something starting with __ and the normal name is an alias. */
30231 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30238 return gethostbyname ();
30243 rm -f conftest.$ac_objext conftest$ac_exeext
30244 if { (ac_try="$ac_link"
30245 case "(($ac_try" in
30246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30247 *) ac_try_echo=$ac_try;;
30249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30250 (eval "$ac_link") 2>conftest.er1
30252 grep -v '^ *+' conftest.er1 >conftest.err
30254 cat conftest.err >&5
30255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30256 (exit $ac_status); } && {
30257 test -z "$ac_c_werror_flag" ||
30258 test ! -s conftest.err
30259 } && test -s conftest$ac_exeext &&
30260 $as_test_x conftest$ac_exeext; then
30261 ac_cv_func_gethostbyname=yes
30263 echo "$as_me: failed program was:" >&5
30264 sed 's/^/| /' conftest.$ac_ext >&5
30266 ac_cv_func_gethostbyname=no
30269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30270 conftest$ac_exeext conftest.$ac_ext
30272 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30273 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30275 if test $ac_cv_func_gethostbyname = no; then
30276 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30277 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30278 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30279 echo $ECHO_N "(cached) $ECHO_C" >&6
30281 ac_check_lib_save_LIBS=$LIBS
30283 cat >conftest.$ac_ext <<_ACEOF
30286 cat confdefs.h >>conftest.$ac_ext
30287 cat >>conftest.$ac_ext <<_ACEOF
30288 /* end confdefs.h. */
30290 /* Override any GCC internal prototype to avoid an error.
30291 Use char because int might match the return type of a GCC
30292 builtin and then its argument prototype would still apply. */
30296 char gethostbyname ();
30300 return gethostbyname ();
30305 rm -f conftest.$ac_objext conftest$ac_exeext
30306 if { (ac_try="$ac_link"
30307 case "(($ac_try" in
30308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30309 *) ac_try_echo=$ac_try;;
30311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30312 (eval "$ac_link") 2>conftest.er1
30314 grep -v '^ *+' conftest.er1 >conftest.err
30316 cat conftest.err >&5
30317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30318 (exit $ac_status); } && {
30319 test -z "$ac_c_werror_flag" ||
30320 test ! -s conftest.err
30321 } && test -s conftest$ac_exeext &&
30322 $as_test_x conftest$ac_exeext; then
30323 ac_cv_lib_nsl_gethostbyname=yes
30325 echo "$as_me: failed program was:" >&5
30326 sed 's/^/| /' conftest.$ac_ext >&5
30328 ac_cv_lib_nsl_gethostbyname=no
30331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30332 conftest$ac_exeext conftest.$ac_ext
30333 LIBS=$ac_check_lib_save_LIBS
30335 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30336 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30337 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30338 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30341 if test $ac_cv_lib_nsl_gethostbyname = no; then
30342 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30343 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30344 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30345 echo $ECHO_N "(cached) $ECHO_C" >&6
30347 ac_check_lib_save_LIBS=$LIBS
30349 cat >conftest.$ac_ext <<_ACEOF
30352 cat confdefs.h >>conftest.$ac_ext
30353 cat >>conftest.$ac_ext <<_ACEOF
30354 /* end confdefs.h. */
30356 /* Override any GCC internal prototype to avoid an error.
30357 Use char because int might match the return type of a GCC
30358 builtin and then its argument prototype would still apply. */
30362 char gethostbyname ();
30366 return gethostbyname ();
30371 rm -f conftest.$ac_objext conftest$ac_exeext
30372 if { (ac_try="$ac_link"
30373 case "(($ac_try" in
30374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30375 *) ac_try_echo=$ac_try;;
30377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30378 (eval "$ac_link") 2>conftest.er1
30380 grep -v '^ *+' conftest.er1 >conftest.err
30382 cat conftest.err >&5
30383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30384 (exit $ac_status); } && {
30385 test -z "$ac_c_werror_flag" ||
30386 test ! -s conftest.err
30387 } && test -s conftest$ac_exeext &&
30388 $as_test_x conftest$ac_exeext; then
30389 ac_cv_lib_bsd_gethostbyname=yes
30391 echo "$as_me: failed program was:" >&5
30392 sed 's/^/| /' conftest.$ac_ext >&5
30394 ac_cv_lib_bsd_gethostbyname=no
30397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30398 conftest$ac_exeext conftest.$ac_ext
30399 LIBS=$ac_check_lib_save_LIBS
30401 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30402 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30403 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30404 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30410 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30411 # socket/setsockopt and other routines are undefined under SCO ODT
30412 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30413 # on later versions), says Simon Leinen: it contains gethostby*
30414 # variants that don't use the name server (or something). -lsocket
30415 # must be given before -lnsl if both are needed. We assume that
30416 # if connect needs -lnsl, so does gethostbyname.
30417 { echo "$as_me:$LINENO: checking for connect" >&5
30418 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30419 if test "${ac_cv_func_connect+set}" = set; then
30420 echo $ECHO_N "(cached) $ECHO_C" >&6
30422 cat >conftest.$ac_ext <<_ACEOF
30425 cat confdefs.h >>conftest.$ac_ext
30426 cat >>conftest.$ac_ext <<_ACEOF
30427 /* end confdefs.h. */
30428 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30430 #define connect innocuous_connect
30432 /* System header to define __stub macros and hopefully few prototypes,
30433 which can conflict with char connect (); below.
30434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30435 <limits.h> exists even on freestanding compilers. */
30438 # include <limits.h>
30440 # include <assert.h>
30445 /* Override any GCC internal prototype to avoid an error.
30446 Use char because int might match the return type of a GCC
30447 builtin and then its argument prototype would still apply. */
30452 /* The GNU C library defines this for functions which it implements
30453 to always fail with ENOSYS. Some functions are actually named
30454 something starting with __ and the normal name is an alias. */
30455 #if defined __stub_connect || defined __stub___connect
30467 rm -f conftest.$ac_objext conftest$ac_exeext
30468 if { (ac_try="$ac_link"
30469 case "(($ac_try" in
30470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30471 *) ac_try_echo=$ac_try;;
30473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30474 (eval "$ac_link") 2>conftest.er1
30476 grep -v '^ *+' conftest.er1 >conftest.err
30478 cat conftest.err >&5
30479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30480 (exit $ac_status); } && {
30481 test -z "$ac_c_werror_flag" ||
30482 test ! -s conftest.err
30483 } && test -s conftest$ac_exeext &&
30484 $as_test_x conftest$ac_exeext; then
30485 ac_cv_func_connect=yes
30487 echo "$as_me: failed program was:" >&5
30488 sed 's/^/| /' conftest.$ac_ext >&5
30490 ac_cv_func_connect=no
30493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30494 conftest$ac_exeext conftest.$ac_ext
30496 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30497 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30499 if test $ac_cv_func_connect = no; then
30500 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30501 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30502 if test "${ac_cv_lib_socket_connect+set}" = set; then
30503 echo $ECHO_N "(cached) $ECHO_C" >&6
30505 ac_check_lib_save_LIBS=$LIBS
30506 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30507 cat >conftest.$ac_ext <<_ACEOF
30510 cat confdefs.h >>conftest.$ac_ext
30511 cat >>conftest.$ac_ext <<_ACEOF
30512 /* end confdefs.h. */
30514 /* Override any GCC internal prototype to avoid an error.
30515 Use char because int might match the return type of a GCC
30516 builtin and then its argument prototype would still apply. */
30529 rm -f conftest.$ac_objext conftest$ac_exeext
30530 if { (ac_try="$ac_link"
30531 case "(($ac_try" in
30532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30533 *) ac_try_echo=$ac_try;;
30535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30536 (eval "$ac_link") 2>conftest.er1
30538 grep -v '^ *+' conftest.er1 >conftest.err
30540 cat conftest.err >&5
30541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30542 (exit $ac_status); } && {
30543 test -z "$ac_c_werror_flag" ||
30544 test ! -s conftest.err
30545 } && test -s conftest$ac_exeext &&
30546 $as_test_x conftest$ac_exeext; then
30547 ac_cv_lib_socket_connect=yes
30549 echo "$as_me: failed program was:" >&5
30550 sed 's/^/| /' conftest.$ac_ext >&5
30552 ac_cv_lib_socket_connect=no
30555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30556 conftest$ac_exeext conftest.$ac_ext
30557 LIBS=$ac_check_lib_save_LIBS
30559 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30560 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30561 if test $ac_cv_lib_socket_connect = yes; then
30562 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30567 # Guillermo Gomez says -lposix is necessary on A/UX.
30568 { echo "$as_me:$LINENO: checking for remove" >&5
30569 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30570 if test "${ac_cv_func_remove+set}" = set; then
30571 echo $ECHO_N "(cached) $ECHO_C" >&6
30573 cat >conftest.$ac_ext <<_ACEOF
30576 cat confdefs.h >>conftest.$ac_ext
30577 cat >>conftest.$ac_ext <<_ACEOF
30578 /* end confdefs.h. */
30579 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30581 #define remove innocuous_remove
30583 /* System header to define __stub macros and hopefully few prototypes,
30584 which can conflict with char remove (); below.
30585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30586 <limits.h> exists even on freestanding compilers. */
30589 # include <limits.h>
30591 # include <assert.h>
30596 /* Override any GCC internal prototype to avoid an error.
30597 Use char because int might match the return type of a GCC
30598 builtin and then its argument prototype would still apply. */
30603 /* The GNU C library defines this for functions which it implements
30604 to always fail with ENOSYS. Some functions are actually named
30605 something starting with __ and the normal name is an alias. */
30606 #if defined __stub_remove || defined __stub___remove
30618 rm -f conftest.$ac_objext conftest$ac_exeext
30619 if { (ac_try="$ac_link"
30620 case "(($ac_try" in
30621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30622 *) ac_try_echo=$ac_try;;
30624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30625 (eval "$ac_link") 2>conftest.er1
30627 grep -v '^ *+' conftest.er1 >conftest.err
30629 cat conftest.err >&5
30630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30631 (exit $ac_status); } && {
30632 test -z "$ac_c_werror_flag" ||
30633 test ! -s conftest.err
30634 } && test -s conftest$ac_exeext &&
30635 $as_test_x conftest$ac_exeext; then
30636 ac_cv_func_remove=yes
30638 echo "$as_me: failed program was:" >&5
30639 sed 's/^/| /' conftest.$ac_ext >&5
30641 ac_cv_func_remove=no
30644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30645 conftest$ac_exeext conftest.$ac_ext
30647 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30648 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30650 if test $ac_cv_func_remove = no; then
30651 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30652 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30653 if test "${ac_cv_lib_posix_remove+set}" = set; then
30654 echo $ECHO_N "(cached) $ECHO_C" >&6
30656 ac_check_lib_save_LIBS=$LIBS
30657 LIBS="-lposix $LIBS"
30658 cat >conftest.$ac_ext <<_ACEOF
30661 cat confdefs.h >>conftest.$ac_ext
30662 cat >>conftest.$ac_ext <<_ACEOF
30663 /* end confdefs.h. */
30665 /* Override any GCC internal prototype to avoid an error.
30666 Use char because int might match the return type of a GCC
30667 builtin and then its argument prototype would still apply. */
30680 rm -f conftest.$ac_objext conftest$ac_exeext
30681 if { (ac_try="$ac_link"
30682 case "(($ac_try" in
30683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30684 *) ac_try_echo=$ac_try;;
30686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30687 (eval "$ac_link") 2>conftest.er1
30689 grep -v '^ *+' conftest.er1 >conftest.err
30691 cat conftest.err >&5
30692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30693 (exit $ac_status); } && {
30694 test -z "$ac_c_werror_flag" ||
30695 test ! -s conftest.err
30696 } && test -s conftest$ac_exeext &&
30697 $as_test_x conftest$ac_exeext; then
30698 ac_cv_lib_posix_remove=yes
30700 echo "$as_me: failed program was:" >&5
30701 sed 's/^/| /' conftest.$ac_ext >&5
30703 ac_cv_lib_posix_remove=no
30706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30707 conftest$ac_exeext conftest.$ac_ext
30708 LIBS=$ac_check_lib_save_LIBS
30710 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30711 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30712 if test $ac_cv_lib_posix_remove = yes; then
30713 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30718 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30719 { echo "$as_me:$LINENO: checking for shmat" >&5
30720 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30721 if test "${ac_cv_func_shmat+set}" = set; then
30722 echo $ECHO_N "(cached) $ECHO_C" >&6
30724 cat >conftest.$ac_ext <<_ACEOF
30727 cat confdefs.h >>conftest.$ac_ext
30728 cat >>conftest.$ac_ext <<_ACEOF
30729 /* end confdefs.h. */
30730 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30732 #define shmat innocuous_shmat
30734 /* System header to define __stub macros and hopefully few prototypes,
30735 which can conflict with char shmat (); below.
30736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30737 <limits.h> exists even on freestanding compilers. */
30740 # include <limits.h>
30742 # include <assert.h>
30747 /* Override any GCC internal prototype to avoid an error.
30748 Use char because int might match the return type of a GCC
30749 builtin and then its argument prototype would still apply. */
30754 /* The GNU C library defines this for functions which it implements
30755 to always fail with ENOSYS. Some functions are actually named
30756 something starting with __ and the normal name is an alias. */
30757 #if defined __stub_shmat || defined __stub___shmat
30769 rm -f conftest.$ac_objext conftest$ac_exeext
30770 if { (ac_try="$ac_link"
30771 case "(($ac_try" in
30772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30773 *) ac_try_echo=$ac_try;;
30775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30776 (eval "$ac_link") 2>conftest.er1
30778 grep -v '^ *+' conftest.er1 >conftest.err
30780 cat conftest.err >&5
30781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30782 (exit $ac_status); } && {
30783 test -z "$ac_c_werror_flag" ||
30784 test ! -s conftest.err
30785 } && test -s conftest$ac_exeext &&
30786 $as_test_x conftest$ac_exeext; then
30787 ac_cv_func_shmat=yes
30789 echo "$as_me: failed program was:" >&5
30790 sed 's/^/| /' conftest.$ac_ext >&5
30792 ac_cv_func_shmat=no
30795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30796 conftest$ac_exeext conftest.$ac_ext
30798 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30799 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30801 if test $ac_cv_func_shmat = no; then
30802 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30803 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30804 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30805 echo $ECHO_N "(cached) $ECHO_C" >&6
30807 ac_check_lib_save_LIBS=$LIBS
30809 cat >conftest.$ac_ext <<_ACEOF
30812 cat confdefs.h >>conftest.$ac_ext
30813 cat >>conftest.$ac_ext <<_ACEOF
30814 /* end confdefs.h. */
30816 /* Override any GCC internal prototype to avoid an error.
30817 Use char because int might match the return type of a GCC
30818 builtin and then its argument prototype would still apply. */
30831 rm -f conftest.$ac_objext conftest$ac_exeext
30832 if { (ac_try="$ac_link"
30833 case "(($ac_try" in
30834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30835 *) ac_try_echo=$ac_try;;
30837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30838 (eval "$ac_link") 2>conftest.er1
30840 grep -v '^ *+' conftest.er1 >conftest.err
30842 cat conftest.err >&5
30843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30844 (exit $ac_status); } && {
30845 test -z "$ac_c_werror_flag" ||
30846 test ! -s conftest.err
30847 } && test -s conftest$ac_exeext &&
30848 $as_test_x conftest$ac_exeext; then
30849 ac_cv_lib_ipc_shmat=yes
30851 echo "$as_me: failed program was:" >&5
30852 sed 's/^/| /' conftest.$ac_ext >&5
30854 ac_cv_lib_ipc_shmat=no
30857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30858 conftest$ac_exeext conftest.$ac_ext
30859 LIBS=$ac_check_lib_save_LIBS
30861 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30862 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30863 if test $ac_cv_lib_ipc_shmat = yes; then
30864 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30870 # Check for libraries that X11R6 Xt/Xaw programs need.
30871 ac_save_LDFLAGS=$LDFLAGS
30872 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30873 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30874 # check for ICE first), but we must link in the order -lSM -lICE or
30875 # we get undefined symbols. So assume we have SM if we have ICE.
30876 # These have to be linked with before -lX11, unlike the other
30877 # libraries we check for below, so use a different variable.
30878 # John Interrante, Karl Berry
30879 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30880 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30881 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30882 echo $ECHO_N "(cached) $ECHO_C" >&6
30884 ac_check_lib_save_LIBS=$LIBS
30885 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30886 cat >conftest.$ac_ext <<_ACEOF
30889 cat confdefs.h >>conftest.$ac_ext
30890 cat >>conftest.$ac_ext <<_ACEOF
30891 /* end confdefs.h. */
30893 /* Override any GCC internal prototype to avoid an error.
30894 Use char because int might match the return type of a GCC
30895 builtin and then its argument prototype would still apply. */
30899 char IceConnectionNumber ();
30903 return IceConnectionNumber ();
30908 rm -f conftest.$ac_objext conftest$ac_exeext
30909 if { (ac_try="$ac_link"
30910 case "(($ac_try" in
30911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30912 *) ac_try_echo=$ac_try;;
30914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30915 (eval "$ac_link") 2>conftest.er1
30917 grep -v '^ *+' conftest.er1 >conftest.err
30919 cat conftest.err >&5
30920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30921 (exit $ac_status); } && {
30922 test -z "$ac_c_werror_flag" ||
30923 test ! -s conftest.err
30924 } && test -s conftest$ac_exeext &&
30925 $as_test_x conftest$ac_exeext; then
30926 ac_cv_lib_ICE_IceConnectionNumber=yes
30928 echo "$as_me: failed program was:" >&5
30929 sed 's/^/| /' conftest.$ac_ext >&5
30931 ac_cv_lib_ICE_IceConnectionNumber=no
30934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30935 conftest$ac_exeext conftest.$ac_ext
30936 LIBS=$ac_check_lib_save_LIBS
30938 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30939 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30940 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30941 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30944 LDFLAGS=$ac_save_LDFLAGS
30949 if test "$no_x" = "yes"; then
30950 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30951 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30952 { (exit 1); exit 1; }; }
30955 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30956 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30957 AFMINSTALL=afminstall
30958 COMPILED_X_PROGRAM=0
30962 if test "$wxUSE_X11" = 1; then
30963 if test "$wxUSE_NANOX" = "yes"; then
30964 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30965 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30966 if test "x$MICROWIN" = x ; then
30967 { echo "$as_me:$LINENO: result: not found" >&5
30968 echo "${ECHO_T}not found" >&6; }
30969 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30970 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30971 { (exit 1); exit 1; }; }
30973 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30974 echo "${ECHO_T}$MICROWIN" >&6; }
30975 cat >>confdefs.h <<\_ACEOF
30976 #define wxUSE_NANOX 1
30982 if test "$wxUSE_UNICODE" = "yes"; then
30985 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30986 if test -n "$ac_tool_prefix"; then
30987 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30988 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30989 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30991 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30992 echo $ECHO_N "(cached) $ECHO_C" >&6
30994 case $PKG_CONFIG in
30996 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31000 for as_dir in $PATH
31003 test -z "$as_dir" && as_dir=.
31004 for ac_exec_ext in '' $ac_executable_extensions; do
31005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31006 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31017 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31018 if test -n "$PKG_CONFIG"; then
31019 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31020 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31022 { echo "$as_me:$LINENO: result: no" >&5
31023 echo "${ECHO_T}no" >&6; }
31028 if test -z "$ac_cv_path_PKG_CONFIG"; then
31029 ac_pt_PKG_CONFIG=$PKG_CONFIG
31030 # Extract the first word of "pkg-config", so it can be a program name with args.
31031 set dummy pkg-config; ac_word=$2
31032 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31034 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31035 echo $ECHO_N "(cached) $ECHO_C" >&6
31037 case $ac_pt_PKG_CONFIG in
31039 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31043 for as_dir in $PATH
31046 test -z "$as_dir" && as_dir=.
31047 for ac_exec_ext in '' $ac_executable_extensions; do
31048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31049 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31060 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31061 if test -n "$ac_pt_PKG_CONFIG"; then
31062 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31063 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31065 { echo "$as_me:$LINENO: result: no" >&5
31066 echo "${ECHO_T}no" >&6; }
31069 if test "x$ac_pt_PKG_CONFIG" = x; then
31072 case $cross_compiling:$ac_tool_warned in
31074 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31075 whose name does not start with the host triplet. If you think this
31076 configuration is useful to you, please write to autoconf@gnu.org." >&5
31077 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31078 whose name does not start with the host triplet. If you think this
31079 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31080 ac_tool_warned=yes ;;
31082 PKG_CONFIG=$ac_pt_PKG_CONFIG
31085 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31089 if test -n "$PKG_CONFIG"; then
31090 _pkg_min_version=0.9.0
31091 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31092 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31093 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31094 { echo "$as_me:$LINENO: result: yes" >&5
31095 echo "${ECHO_T}yes" >&6; }
31097 { echo "$as_me:$LINENO: result: no" >&5
31098 echo "${ECHO_T}no" >&6; }
31106 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31107 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31109 if test -n "$PKG_CONFIG"; then
31110 if test -n "$PANGOX_CFLAGS"; then
31111 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31113 if test -n "$PKG_CONFIG" && \
31114 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31115 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31118 (exit $ac_status); }; then
31119 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31127 if test -n "$PKG_CONFIG"; then
31128 if test -n "$PANGOX_LIBS"; then
31129 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31131 if test -n "$PKG_CONFIG" && \
31132 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31133 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 (exit $ac_status); }; then
31137 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31148 if test $pkg_failed = yes; then
31150 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31151 _pkg_short_errors_supported=yes
31153 _pkg_short_errors_supported=no
31155 if test $_pkg_short_errors_supported = yes; then
31156 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31158 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31160 # Put the nasty error message in config.log where it belongs
31161 echo "$PANGOX_PKG_ERRORS" >&5
31164 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31165 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31166 { (exit 1); exit 1; }; }
31169 elif test $pkg_failed = untried; then
31171 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31172 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31173 { (exit 1); exit 1; }; }
31177 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31178 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31179 { echo "$as_me:$LINENO: result: yes" >&5
31180 echo "${ECHO_T}yes" >&6; }
31182 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31183 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31184 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31189 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31190 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31192 if test -n "$PKG_CONFIG"; then
31193 if test -n "$PANGOFT2_CFLAGS"; then
31194 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31196 if test -n "$PKG_CONFIG" && \
31197 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31198 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31201 (exit $ac_status); }; then
31202 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31210 if test -n "$PKG_CONFIG"; then
31211 if test -n "$PANGOFT2_LIBS"; then
31212 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31214 if test -n "$PKG_CONFIG" && \
31215 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31216 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31219 (exit $ac_status); }; then
31220 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31231 if test $pkg_failed = yes; then
31233 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31234 _pkg_short_errors_supported=yes
31236 _pkg_short_errors_supported=no
31238 if test $_pkg_short_errors_supported = yes; then
31239 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31241 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31243 # Put the nasty error message in config.log where it belongs
31244 echo "$PANGOFT2_PKG_ERRORS" >&5
31247 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31248 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31249 wxUSE_PRINTING_ARCHITECTURE="no"
31252 elif test $pkg_failed = untried; then
31254 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31255 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31256 wxUSE_PRINTING_ARCHITECTURE="no"
31260 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31261 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31262 { echo "$as_me:$LINENO: result: yes" >&5
31263 echo "${ECHO_T}yes" >&6; }
31265 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31266 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31267 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31272 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31273 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31275 if test -n "$PKG_CONFIG"; then
31276 if test -n "$PANGOXFT_CFLAGS"; then
31277 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31279 if test -n "$PKG_CONFIG" && \
31280 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31281 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31284 (exit $ac_status); }; then
31285 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31293 if test -n "$PKG_CONFIG"; then
31294 if test -n "$PANGOXFT_LIBS"; then
31295 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31297 if test -n "$PKG_CONFIG" && \
31298 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31299 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31302 (exit $ac_status); }; then
31303 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31314 if test $pkg_failed = yes; then
31316 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31317 _pkg_short_errors_supported=yes
31319 _pkg_short_errors_supported=no
31321 if test $_pkg_short_errors_supported = yes; then
31322 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31324 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31326 # Put the nasty error message in config.log where it belongs
31327 echo "$PANGOXFT_PKG_ERRORS" >&5
31330 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31331 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31334 elif test $pkg_failed = untried; then
31336 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31337 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31341 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31342 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31343 { echo "$as_me:$LINENO: result: yes" >&5
31344 echo "${ECHO_T}yes" >&6; }
31346 cat >>confdefs.h <<\_ACEOF
31347 #define HAVE_PANGO_XFT 1
31350 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31351 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31352 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31356 LIBS="$LIBS $PANGOX_LIBS"
31358 for ac_func in pango_font_family_is_monospace
31360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31361 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31363 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31364 echo $ECHO_N "(cached) $ECHO_C" >&6
31366 cat >conftest.$ac_ext <<_ACEOF
31369 cat confdefs.h >>conftest.$ac_ext
31370 cat >>conftest.$ac_ext <<_ACEOF
31371 /* end confdefs.h. */
31372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31374 #define $ac_func innocuous_$ac_func
31376 /* System header to define __stub macros and hopefully few prototypes,
31377 which can conflict with char $ac_func (); below.
31378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31379 <limits.h> exists even on freestanding compilers. */
31382 # include <limits.h>
31384 # include <assert.h>
31389 /* Override any GCC internal prototype to avoid an error.
31390 Use char because int might match the return type of a GCC
31391 builtin and then its argument prototype would still apply. */
31396 /* The GNU C library defines this for functions which it implements
31397 to always fail with ENOSYS. Some functions are actually named
31398 something starting with __ and the normal name is an alias. */
31399 #if defined __stub_$ac_func || defined __stub___$ac_func
31406 return $ac_func ();
31411 rm -f conftest.$ac_objext conftest$ac_exeext
31412 if { (ac_try="$ac_link"
31413 case "(($ac_try" in
31414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31415 *) ac_try_echo=$ac_try;;
31417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31418 (eval "$ac_link") 2>conftest.er1
31420 grep -v '^ *+' conftest.er1 >conftest.err
31422 cat conftest.err >&5
31423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31424 (exit $ac_status); } && {
31425 test -z "$ac_c_werror_flag" ||
31426 test ! -s conftest.err
31427 } && test -s conftest$ac_exeext &&
31428 $as_test_x conftest$ac_exeext; then
31429 eval "$as_ac_var=yes"
31431 echo "$as_me: failed program was:" >&5
31432 sed 's/^/| /' conftest.$ac_ext >&5
31434 eval "$as_ac_var=no"
31437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31438 conftest$ac_exeext conftest.$ac_ext
31440 ac_res=`eval echo '${'$as_ac_var'}'`
31441 { echo "$as_me:$LINENO: result: $ac_res" >&5
31442 echo "${ECHO_T}$ac_res" >&6; }
31443 if test `eval echo '${'$as_ac_var'}'` = yes; then
31444 cat >>confdefs.h <<_ACEOF
31445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31454 wxUSE_UNIVERSAL="yes"
31456 if test "$wxUSE_NANOX" = "yes"; then
31457 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31458 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"
31459 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31461 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31468 if test "$wxUSE_MOTIF" = 1; then
31469 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31470 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31473 for ac_dir in $SEARCH_INCLUDE /usr/include;
31475 if test -f "$ac_dir/Xm/Xm.h"; then
31476 ac_find_includes=$ac_dir
31481 if test "$ac_find_includes" != "" ; then
31482 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31483 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31485 if test "x$ac_find_includes" = "x/usr/include"; then
31486 ac_path_to_include=""
31488 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31490 if test $result = 0; then
31491 ac_path_to_include=""
31493 ac_path_to_include=" -I$ac_find_includes"
31497 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31499 save_CFLAGS=$CFLAGS
31500 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31502 cat >conftest.$ac_ext <<_ACEOF
31505 cat confdefs.h >>conftest.$ac_ext
31506 cat >>conftest.$ac_ext <<_ACEOF
31507 /* end confdefs.h. */
31516 version = xmUseVersion;
31522 rm -f conftest.$ac_objext
31523 if { (ac_try="$ac_compile"
31524 case "(($ac_try" in
31525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31526 *) ac_try_echo=$ac_try;;
31528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31529 (eval "$ac_compile") 2>conftest.er1
31531 grep -v '^ *+' conftest.er1 >conftest.err
31533 cat conftest.err >&5
31534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31535 (exit $ac_status); } && {
31536 test -z "$ac_c_werror_flag" ||
31537 test ! -s conftest.err
31538 } && test -s conftest.$ac_objext; then
31540 { echo "$as_me:$LINENO: result: found in default search path" >&5
31541 echo "${ECHO_T}found in default search path" >&6; }
31542 COMPILED_X_PROGRAM=1
31545 echo "$as_me: failed program was:" >&5
31546 sed 's/^/| /' conftest.$ac_ext >&5
31549 { echo "$as_me:$LINENO: result: no" >&5
31550 echo "${ECHO_T}no" >&6; }
31551 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31552 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31553 { (exit 1); exit 1; }; }
31558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31560 CFLAGS=$save_CFLAGS
31564 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31565 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31568 for ac_dir in $SEARCH_LIB;
31570 for ac_extension in a so sl dylib dll.a; do
31571 if test -f "$ac_dir/libXm.$ac_extension"; then
31572 ac_find_libraries=$ac_dir
31579 if test "x$ac_find_libraries" != "x" ; then
31580 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31581 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31584 if test "$ac_find_libraries" = "default location"; then
31587 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31589 if test $result = 0; then
31592 ac_path_to_link=" -L$ac_find_libraries"
31596 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31598 save_CFLAGS=$CFLAGS
31599 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31601 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31603 cat >conftest.$ac_ext <<_ACEOF
31606 cat confdefs.h >>conftest.$ac_ext
31607 cat >>conftest.$ac_ext <<_ACEOF
31608 /* end confdefs.h. */
31617 version = xmUseVersion;
31623 rm -f conftest.$ac_objext conftest$ac_exeext
31624 if { (ac_try="$ac_link"
31625 case "(($ac_try" in
31626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31627 *) ac_try_echo=$ac_try;;
31629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31630 (eval "$ac_link") 2>conftest.er1
31632 grep -v '^ *+' conftest.er1 >conftest.err
31634 cat conftest.err >&5
31635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31636 (exit $ac_status); } && {
31637 test -z "$ac_c_werror_flag" ||
31638 test ! -s conftest.err
31639 } && test -s conftest$ac_exeext &&
31640 $as_test_x conftest$ac_exeext; then
31642 { echo "$as_me:$LINENO: result: found in default search path" >&5
31643 echo "${ECHO_T}found in default search path" >&6; }
31644 COMPILED_X_PROGRAM=1
31647 echo "$as_me: failed program was:" >&5
31648 sed 's/^/| /' conftest.$ac_ext >&5
31651 { echo "$as_me:$LINENO: result: no" >&5
31652 echo "${ECHO_T}no" >&6; }
31653 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31654 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31655 { (exit 1); exit 1; }; }
31660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31661 conftest$ac_exeext conftest.$ac_ext
31663 CFLAGS=$save_CFLAGS
31667 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31668 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31672 for libp in "" " -lXp"; do
31673 if test "$libs_found" = 0; then
31674 for libsm_ice in "" " -lSM -lICE"; do
31675 if test "$libs_found" = 0; then
31677 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31678 save_CFLAGS=$CFLAGS
31679 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31681 cat >conftest.$ac_ext <<_ACEOF
31684 cat confdefs.h >>conftest.$ac_ext
31685 cat >>conftest.$ac_ext <<_ACEOF
31686 /* end confdefs.h. */
31689 #include <Xm/List.h>
31695 XmString string = NULL;
31698 XmListAddItem(w, string, position);
31704 rm -f conftest.$ac_objext conftest$ac_exeext
31705 if { (ac_try="$ac_link"
31706 case "(($ac_try" in
31707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31708 *) ac_try_echo=$ac_try;;
31710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31711 (eval "$ac_link") 2>conftest.er1
31713 grep -v '^ *+' conftest.er1 >conftest.err
31715 cat conftest.err >&5
31716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31717 (exit $ac_status); } && {
31718 test -z "$ac_c_werror_flag" ||
31719 test ! -s conftest.err
31720 } && test -s conftest$ac_exeext &&
31721 $as_test_x conftest$ac_exeext; then
31724 libsm_ice_link="$libsm_ice"
31725 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31726 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31730 echo "$as_me: failed program was:" >&5
31731 sed 's/^/| /' conftest.$ac_ext >&5
31737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31738 conftest$ac_exeext conftest.$ac_ext
31741 CFLAGS=$save_CFLAGS
31747 if test "$libs_found" = 0; then
31748 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31749 echo "${ECHO_T}can't find the right libraries" >&6; }
31750 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31751 echo "$as_me: error: can't link a simple motif program" >&2;}
31752 { (exit 1); exit 1; }; }
31755 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31756 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31757 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31758 echo $ECHO_N "(cached) $ECHO_C" >&6
31760 ac_check_lib_save_LIBS=$LIBS
31762 cat >conftest.$ac_ext <<_ACEOF
31765 cat confdefs.h >>conftest.$ac_ext
31766 cat >>conftest.$ac_ext <<_ACEOF
31767 /* end confdefs.h. */
31769 /* Override any GCC internal prototype to avoid an error.
31770 Use char because int might match the return type of a GCC
31771 builtin and then its argument prototype would still apply. */
31775 char SgCreateList ();
31779 return SgCreateList ();
31784 rm -f conftest.$ac_objext conftest$ac_exeext
31785 if { (ac_try="$ac_link"
31786 case "(($ac_try" in
31787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31788 *) ac_try_echo=$ac_try;;
31790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31791 (eval "$ac_link") 2>conftest.er1
31793 grep -v '^ *+' conftest.er1 >conftest.err
31795 cat conftest.err >&5
31796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31797 (exit $ac_status); } && {
31798 test -z "$ac_c_werror_flag" ||
31799 test ! -s conftest.err
31800 } && test -s conftest$ac_exeext &&
31801 $as_test_x conftest$ac_exeext; then
31802 ac_cv_lib_Sgm_SgCreateList=yes
31804 echo "$as_me: failed program was:" >&5
31805 sed 's/^/| /' conftest.$ac_ext >&5
31807 ac_cv_lib_Sgm_SgCreateList=no
31810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31811 conftest$ac_exeext conftest.$ac_ext
31812 LIBS=$ac_check_lib_save_LIBS
31814 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31815 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31816 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31817 libsgm_link=" -lSgm"
31821 save_CFLAGS=$CFLAGS
31822 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31824 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31825 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31826 if test "${wx_cv_lib_motif2+set}" = set; then
31827 echo $ECHO_N "(cached) $ECHO_C" >&6
31829 cat >conftest.$ac_ext <<_ACEOF
31832 cat confdefs.h >>conftest.$ac_ext
31833 cat >>conftest.$ac_ext <<_ACEOF
31834 /* end confdefs.h. */
31842 #if XmVersion < 2000
31850 rm -f conftest.$ac_objext
31851 if { (ac_try="$ac_compile"
31852 case "(($ac_try" in
31853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31854 *) ac_try_echo=$ac_try;;
31856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31857 (eval "$ac_compile") 2>conftest.er1
31859 grep -v '^ *+' conftest.er1 >conftest.err
31861 cat conftest.err >&5
31862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31863 (exit $ac_status); } && {
31864 test -z "$ac_c_werror_flag" ||
31865 test ! -s conftest.err
31866 } && test -s conftest.$ac_objext; then
31867 wx_cv_lib_motif2="yes"
31869 echo "$as_me: failed program was:" >&5
31870 sed 's/^/| /' conftest.$ac_ext >&5
31872 wx_cv_lib_motif2="no"
31875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31877 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31878 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31879 if test "$wx_cv_lib_motif2" = "yes"; then
31880 cat >>confdefs.h <<\_ACEOF
31881 #define __WXMOTIF20__ 1
31885 cat >>confdefs.h <<\_ACEOF
31886 #define __WXMOTIF20__ 0
31891 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31892 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31893 if test "${wx_cv_lib_lesstif+set}" = set; then
31894 echo $ECHO_N "(cached) $ECHO_C" >&6
31896 cat >conftest.$ac_ext <<_ACEOF
31899 cat confdefs.h >>conftest.$ac_ext
31900 cat >>conftest.$ac_ext <<_ACEOF
31901 /* end confdefs.h. */
31909 #if !defined(LesstifVersion) || LesstifVersion <= 0
31917 rm -f conftest.$ac_objext
31918 if { (ac_try="$ac_compile"
31919 case "(($ac_try" in
31920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31921 *) ac_try_echo=$ac_try;;
31923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31924 (eval "$ac_compile") 2>conftest.er1
31926 grep -v '^ *+' conftest.er1 >conftest.err
31928 cat conftest.err >&5
31929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31930 (exit $ac_status); } && {
31931 test -z "$ac_c_werror_flag" ||
31932 test ! -s conftest.err
31933 } && test -s conftest.$ac_objext; then
31934 wx_cv_lib_lesstif="yes"
31936 echo "$as_me: failed program was:" >&5
31937 sed 's/^/| /' conftest.$ac_ext >&5
31939 wx_cv_lib_lesstif="no"
31942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31945 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31946 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31947 if test "$wx_cv_lib_lesstif" = "yes"; then
31948 cat >>confdefs.h <<\_ACEOF
31949 #define __WXLESSTIF__ 1
31953 cat >>confdefs.h <<\_ACEOF
31954 #define __WXLESSTIF__ 0
31959 CFLAGS=$save_CFLAGS
31961 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31966 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31967 if test "$wxUSE_LIBXPM" = "sys"; then
31968 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31969 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31972 for ac_dir in $SEARCH_LIB;
31974 for ac_extension in a so sl dylib dll.a; do
31975 if test -f "$ac_dir/libXpm.$ac_extension"; then
31976 ac_find_libraries=$ac_dir
31982 if test "$ac_find_libraries" != "" ; then
31984 if test "$ac_find_libraries" = "default location"; then
31987 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31989 if test $result = 0; then
31992 ac_path_to_link=" -L$ac_find_libraries"
31996 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31997 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31998 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32000 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32001 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32002 if test "${wx_cv_x11_xpm_h+set}" = set; then
32003 echo $ECHO_N "(cached) $ECHO_C" >&6
32006 save_CFLAGS=$CFLAGS
32007 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32009 cat >conftest.$ac_ext <<_ACEOF
32012 cat confdefs.h >>conftest.$ac_ext
32013 cat >>conftest.$ac_ext <<_ACEOF
32014 /* end confdefs.h. */
32016 #include <X11/xpm.h>
32023 version = XpmLibraryVersion();
32029 rm -f conftest.$ac_objext
32030 if { (ac_try="$ac_compile"
32031 case "(($ac_try" in
32032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32033 *) ac_try_echo=$ac_try;;
32035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32036 (eval "$ac_compile") 2>conftest.er1
32038 grep -v '^ *+' conftest.er1 >conftest.err
32040 cat conftest.err >&5
32041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32042 (exit $ac_status); } && {
32043 test -z "$ac_c_werror_flag" ||
32044 test ! -s conftest.err
32045 } && test -s conftest.$ac_objext; then
32046 wx_cv_x11_xpm_h=yes
32048 echo "$as_me: failed program was:" >&5
32049 sed 's/^/| /' conftest.$ac_ext >&5
32055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32057 CFLAGS=$save_CFLAGS
32061 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32062 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32064 if test $wx_cv_x11_xpm_h = "yes"; then
32065 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32066 cat >>confdefs.h <<\_ACEOF
32067 #define wxHAVE_LIB_XPM 1
32071 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32072 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32078 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32079 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32080 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32081 echo $ECHO_N "(cached) $ECHO_C" >&6
32083 ac_check_lib_save_LIBS=$LIBS
32084 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32085 cat >conftest.$ac_ext <<_ACEOF
32088 cat confdefs.h >>conftest.$ac_ext
32089 cat >>conftest.$ac_ext <<_ACEOF
32090 /* end confdefs.h. */
32092 /* Override any GCC internal prototype to avoid an error.
32093 Use char because int might match the return type of a GCC
32094 builtin and then its argument prototype would still apply. */
32098 char XShapeQueryExtension ();
32102 return XShapeQueryExtension ();
32107 rm -f conftest.$ac_objext conftest$ac_exeext
32108 if { (ac_try="$ac_link"
32109 case "(($ac_try" in
32110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32111 *) ac_try_echo=$ac_try;;
32113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32114 (eval "$ac_link") 2>conftest.er1
32116 grep -v '^ *+' conftest.er1 >conftest.err
32118 cat conftest.err >&5
32119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32120 (exit $ac_status); } && {
32121 test -z "$ac_c_werror_flag" ||
32122 test ! -s conftest.err
32123 } && test -s conftest$ac_exeext &&
32124 $as_test_x conftest$ac_exeext; then
32125 ac_cv_lib_Xext_XShapeQueryExtension=yes
32127 echo "$as_me: failed program was:" >&5
32128 sed 's/^/| /' conftest.$ac_ext >&5
32130 ac_cv_lib_Xext_XShapeQueryExtension=no
32133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32134 conftest$ac_exeext conftest.$ac_ext
32135 LIBS=$ac_check_lib_save_LIBS
32137 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32138 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32139 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32141 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32147 if test "$wxHAVE_XEXT_LIB" = 1; then
32148 save_CFLAGS="$CFLAGS"
32149 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32151 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32152 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32153 cat >conftest.$ac_ext <<_ACEOF
32156 cat confdefs.h >>conftest.$ac_ext
32157 cat >>conftest.$ac_ext <<_ACEOF
32158 /* end confdefs.h. */
32160 #include <X11/Xlib.h>
32161 #include <X11/extensions/shape.h>
32167 int dummy1, dummy2;
32168 XShapeQueryExtension((Display*)NULL,
32169 (int*)NULL, (int*)NULL);
32175 rm -f conftest.$ac_objext
32176 if { (ac_try="$ac_compile"
32177 case "(($ac_try" in
32178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32179 *) ac_try_echo=$ac_try;;
32181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32182 (eval "$ac_compile") 2>conftest.er1
32184 grep -v '^ *+' conftest.er1 >conftest.err
32186 cat conftest.err >&5
32187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32188 (exit $ac_status); } && {
32189 test -z "$ac_c_werror_flag" ||
32190 test ! -s conftest.err
32191 } && test -s conftest.$ac_objext; then
32193 cat >>confdefs.h <<\_ACEOF
32194 #define HAVE_XSHAPE 1
32197 { echo "$as_me:$LINENO: result: found" >&5
32198 echo "${ECHO_T}found" >&6; }
32201 echo "$as_me: failed program was:" >&5
32202 sed 's/^/| /' conftest.$ac_ext >&5
32205 { echo "$as_me:$LINENO: result: not found" >&5
32206 echo "${ECHO_T}not found" >&6; }
32210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32211 CFLAGS="$save_CFLAGS"
32216 if test "$wxUSE_MAC" = 1; then
32217 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32218 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32219 if test "$GCC" = yes; then
32220 { echo "$as_me:$LINENO: result: gcc" >&5
32221 echo "${ECHO_T}gcc" >&6; }
32222 CPPFLAGS_PASCAL="-fpascal-strings"
32223 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32224 { echo "$as_me:$LINENO: result: xlc" >&5
32225 echo "${ECHO_T}xlc" >&6; }
32226 CPPFLAGS_PASCAL="-qmacpstr"
32228 { echo "$as_me:$LINENO: result: none" >&5
32229 echo "${ECHO_T}none" >&6; }
32232 if test "x$wxUSE_UNIX" = "xyes"; then
32233 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32235 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32240 WXBASEPORT="_carbon"
32243 if test "$wxUSE_COCOA" = 1; then
32248 if test "$wxUSE_PM" = 1; then
32251 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32252 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32253 if test "${wx_cv_spbcdata+set}" = set; then
32254 echo $ECHO_N "(cached) $ECHO_C" >&6
32257 cat >conftest.$ac_ext <<_ACEOF
32260 cat confdefs.h >>conftest.$ac_ext
32261 cat >>conftest.$ac_ext <<_ACEOF
32262 /* end confdefs.h. */
32277 rm -f conftest.$ac_objext
32278 if { (ac_try="$ac_compile"
32279 case "(($ac_try" in
32280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32281 *) ac_try_echo=$ac_try;;
32283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32284 (eval "$ac_compile") 2>conftest.er1
32286 grep -v '^ *+' conftest.er1 >conftest.err
32288 cat conftest.err >&5
32289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32290 (exit $ac_status); } && {
32291 test -z "$ac_c_werror_flag" ||
32292 test ! -s conftest.err
32293 } && test -s conftest.$ac_objext; then
32296 echo "$as_me: failed program was:" >&5
32297 sed 's/^/| /' conftest.$ac_ext >&5
32303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32307 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32308 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32310 if test $wx_cv_spbcdata = "yes"; then
32311 cat >>confdefs.h <<\_ACEOF
32312 #define HAVE_SPBCDATA 1
32318 if test "$TOOLKIT" = "PM" ; then
32321 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32324 if test "$wxUSE_UNIVERSAL" = "yes"; then
32325 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32329 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32330 DISTDIR="wx\$(TOOLKIT)"
32336 if test "$USE_WIN32" = 1 ; then
32340 GUIDIST="BASE_DIST"
32346 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32347 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32348 wxUSE_UNICODE_UTF8=yes
32349 elif test "$USE_OS2" = 1 ; then
32350 wxUSE_UNICODE_UTF8=yes
32352 wxUSE_UNICODE_UTF8=no
32357 if test "$wxUSE_GUI" = "yes"; then
32358 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32360 for ac_header in X11/Xlib.h
32362 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32363 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32365 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32366 echo $ECHO_N "(cached) $ECHO_C" >&6
32368 cat >conftest.$ac_ext <<_ACEOF
32371 cat confdefs.h >>conftest.$ac_ext
32372 cat >>conftest.$ac_ext <<_ACEOF
32373 /* end confdefs.h. */
32376 #include <$ac_header>
32378 rm -f conftest.$ac_objext
32379 if { (ac_try="$ac_compile"
32380 case "(($ac_try" in
32381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32382 *) ac_try_echo=$ac_try;;
32384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32385 (eval "$ac_compile") 2>conftest.er1
32387 grep -v '^ *+' conftest.er1 >conftest.err
32389 cat conftest.err >&5
32390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32391 (exit $ac_status); } && {
32392 test -z "$ac_c_werror_flag" ||
32393 test ! -s conftest.err
32394 } && test -s conftest.$ac_objext; then
32395 eval "$as_ac_Header=yes"
32397 echo "$as_me: failed program was:" >&5
32398 sed 's/^/| /' conftest.$ac_ext >&5
32400 eval "$as_ac_Header=no"
32403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32405 ac_res=`eval echo '${'$as_ac_Header'}'`
32406 { echo "$as_me:$LINENO: result: $ac_res" >&5
32407 echo "${ECHO_T}$ac_res" >&6; }
32408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32409 cat >>confdefs.h <<_ACEOF
32410 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32418 for ac_header in X11/XKBlib.h
32420 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32421 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32423 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32424 echo $ECHO_N "(cached) $ECHO_C" >&6
32426 cat >conftest.$ac_ext <<_ACEOF
32429 cat confdefs.h >>conftest.$ac_ext
32430 cat >>conftest.$ac_ext <<_ACEOF
32431 /* end confdefs.h. */
32433 #if HAVE_X11_XLIB_H
32434 #include <X11/Xlib.h>
32438 #include <$ac_header>
32440 rm -f conftest.$ac_objext
32441 if { (ac_try="$ac_compile"
32442 case "(($ac_try" in
32443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32444 *) ac_try_echo=$ac_try;;
32446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32447 (eval "$ac_compile") 2>conftest.er1
32449 grep -v '^ *+' conftest.er1 >conftest.err
32451 cat conftest.err >&5
32452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32453 (exit $ac_status); } && {
32454 test -z "$ac_c_werror_flag" ||
32455 test ! -s conftest.err
32456 } && test -s conftest.$ac_objext; then
32457 eval "$as_ac_Header=yes"
32459 echo "$as_me: failed program was:" >&5
32460 sed 's/^/| /' conftest.$ac_ext >&5
32462 eval "$as_ac_Header=no"
32465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32467 ac_res=`eval echo '${'$as_ac_Header'}'`
32468 { echo "$as_me:$LINENO: result: $ac_res" >&5
32469 echo "${ECHO_T}$ac_res" >&6; }
32470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32471 cat >>confdefs.h <<_ACEOF
32472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32484 if test "$wxUSE_DISPLAY" = "yes"; then
32485 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32486 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32487 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32490 for ac_dir in $SEARCH_LIB;
32492 for ac_extension in a so sl dylib dll.a; do
32493 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32494 ac_find_libraries=$ac_dir
32500 if test "$ac_find_libraries" != "" ; then
32502 if test "$ac_find_libraries" = "default location"; then
32505 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32507 if test $result = 0; then
32510 ac_path_to_link=" -L$ac_find_libraries"
32514 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32515 LDFLAGS="$LDFLAGS $ac_path_to_link"
32517 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32518 { echo "$as_me:$LINENO: result: yes" >&5
32519 echo "${ECHO_T}yes" >&6; }
32521 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32522 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32525 for ac_dir in $SEARCH_LIB;
32527 for ac_extension in a so sl dylib dll.a; do
32528 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32529 ac_find_libraries=$ac_dir
32535 if test "$ac_find_libraries" != "" ; then
32536 { echo "$as_me:$LINENO: result: yes" >&5
32537 echo "${ECHO_T}yes" >&6; }
32539 for ac_header in X11/extensions/xf86vmode.h
32541 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32542 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32544 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32545 echo $ECHO_N "(cached) $ECHO_C" >&6
32547 cat >conftest.$ac_ext <<_ACEOF
32550 cat confdefs.h >>conftest.$ac_ext
32551 cat >>conftest.$ac_ext <<_ACEOF
32552 /* end confdefs.h. */
32554 #if HAVE_X11_XLIB_H
32555 #include <X11/Xlib.h>
32559 #include <$ac_header>
32561 rm -f conftest.$ac_objext
32562 if { (ac_try="$ac_compile"
32563 case "(($ac_try" in
32564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32565 *) ac_try_echo=$ac_try;;
32567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32568 (eval "$ac_compile") 2>conftest.er1
32570 grep -v '^ *+' conftest.er1 >conftest.err
32572 cat conftest.err >&5
32573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32574 (exit $ac_status); } && {
32575 test -z "$ac_c_werror_flag" ||
32576 test ! -s conftest.err
32577 } && test -s conftest.$ac_objext; then
32578 eval "$as_ac_Header=yes"
32580 echo "$as_me: failed program was:" >&5
32581 sed 's/^/| /' conftest.$ac_ext >&5
32583 eval "$as_ac_Header=no"
32586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32588 ac_res=`eval echo '${'$as_ac_Header'}'`
32589 { echo "$as_me:$LINENO: result: $ac_res" >&5
32590 echo "${ECHO_T}$ac_res" >&6; }
32591 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32592 cat >>confdefs.h <<_ACEOF
32593 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32596 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32603 { echo "$as_me:$LINENO: result: no" >&5
32604 echo "${ECHO_T}no" >&6; }
32608 { echo "$as_me:$LINENO: result: no" >&5
32609 echo "${ECHO_T}no" >&6; }
32610 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32611 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32614 elif test "$wxUSE_MSW" = 1; then
32615 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32616 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32617 if test "${ac_cv_header_ddraw_h+set}" = set; then
32618 echo $ECHO_N "(cached) $ECHO_C" >&6
32620 cat >conftest.$ac_ext <<_ACEOF
32623 cat confdefs.h >>conftest.$ac_ext
32624 cat >>conftest.$ac_ext <<_ACEOF
32625 /* end confdefs.h. */
32626 #include <windows.h>
32630 rm -f conftest.$ac_objext
32631 if { (ac_try="$ac_compile"
32632 case "(($ac_try" in
32633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32634 *) ac_try_echo=$ac_try;;
32636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32637 (eval "$ac_compile") 2>conftest.er1
32639 grep -v '^ *+' conftest.er1 >conftest.err
32641 cat conftest.err >&5
32642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32643 (exit $ac_status); } && {
32644 test -z "$ac_c_werror_flag" ||
32645 test ! -s conftest.err
32646 } && test -s conftest.$ac_objext; then
32647 ac_cv_header_ddraw_h=yes
32649 echo "$as_me: failed program was:" >&5
32650 sed 's/^/| /' conftest.$ac_ext >&5
32652 ac_cv_header_ddraw_h=no
32655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32657 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32658 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32664 if test "$wxUSE_DETECT_SM" = "yes"; then
32665 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32666 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32667 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32670 for ac_dir in $SEARCH_LIB;
32672 for ac_extension in a so sl dylib dll.a; do
32673 if test -f "$ac_dir/libSM.$ac_extension"; then
32674 ac_find_libraries=$ac_dir
32680 if test "$ac_find_libraries" != "" ; then
32682 if test "$ac_find_libraries" = "default location"; then
32685 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32687 if test $result = 0; then
32690 ac_path_to_link=" -L$ac_find_libraries"
32694 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32695 LDFLAGS="$LDFLAGS $ac_path_to_link"
32697 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32698 { echo "$as_me:$LINENO: result: yes" >&5
32699 echo "${ECHO_T}yes" >&6; }
32701 { echo "$as_me:$LINENO: result: no" >&5
32702 echo "${ECHO_T}no" >&6; }
32703 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32704 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32705 wxUSE_DETECT_SM="no"
32708 wxUSE_DETECT_SM="no"
32715 if test "$wxUSE_OPENGL" = "yes"; then
32716 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32717 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32718 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32720 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32721 OPENGL_LIBS="-framework OpenGL -framework AGL"
32722 elif test "$wxUSE_MSW" = 1; then
32723 OPENGL_LIBS="-lopengl32 -lglu32"
32725 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32726 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32729 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32731 if test -f "$ac_dir/GL/gl.h"; then
32732 ac_find_includes=$ac_dir
32737 if test "$ac_find_includes" != "" ; then
32738 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32739 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32741 if test "x$ac_find_includes" = "x/usr/include"; then
32742 ac_path_to_include=""
32744 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32746 if test $result = 0; then
32747 ac_path_to_include=""
32749 ac_path_to_include=" -I$ac_find_includes"
32753 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32755 { echo "$as_me:$LINENO: result: not found" >&5
32756 echo "${ECHO_T}not found" >&6; }
32759 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32760 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32761 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32762 echo $ECHO_N "(cached) $ECHO_C" >&6
32764 cat >conftest.$ac_ext <<_ACEOF
32767 cat confdefs.h >>conftest.$ac_ext
32768 cat >>conftest.$ac_ext <<_ACEOF
32769 /* end confdefs.h. */
32774 rm -f conftest.$ac_objext
32775 if { (ac_try="$ac_compile"
32776 case "(($ac_try" in
32777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32778 *) ac_try_echo=$ac_try;;
32780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32781 (eval "$ac_compile") 2>conftest.er1
32783 grep -v '^ *+' conftest.er1 >conftest.err
32785 cat conftest.err >&5
32786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32787 (exit $ac_status); } && {
32788 test -z "$ac_c_werror_flag" ||
32789 test ! -s conftest.err
32790 } && test -s conftest.$ac_objext; then
32791 ac_cv_header_GL_gl_h=yes
32793 echo "$as_me: failed program was:" >&5
32794 sed 's/^/| /' conftest.$ac_ext >&5
32796 ac_cv_header_GL_gl_h=no
32799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32801 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32802 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32803 if test $ac_cv_header_GL_gl_h = yes; then
32805 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32806 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32807 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32808 echo $ECHO_N "(cached) $ECHO_C" >&6
32810 cat >conftest.$ac_ext <<_ACEOF
32813 cat confdefs.h >>conftest.$ac_ext
32814 cat >>conftest.$ac_ext <<_ACEOF
32815 /* end confdefs.h. */
32818 #include <GL/glu.h>
32820 rm -f conftest.$ac_objext
32821 if { (ac_try="$ac_compile"
32822 case "(($ac_try" in
32823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32824 *) ac_try_echo=$ac_try;;
32826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32827 (eval "$ac_compile") 2>conftest.er1
32829 grep -v '^ *+' conftest.er1 >conftest.err
32831 cat conftest.err >&5
32832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32833 (exit $ac_status); } && {
32834 test -z "$ac_c_werror_flag" ||
32835 test ! -s conftest.err
32836 } && test -s conftest.$ac_objext; then
32837 ac_cv_header_GL_glu_h=yes
32839 echo "$as_me: failed program was:" >&5
32840 sed 's/^/| /' conftest.$ac_ext >&5
32842 ac_cv_header_GL_glu_h=no
32845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32847 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32848 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32849 if test $ac_cv_header_GL_glu_h = yes; then
32853 { echo "$as_me:$LINENO: checking for -lGL" >&5
32854 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32857 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32859 for ac_extension in a so sl dylib dll.a; do
32860 if test -f "$ac_dir/libGL.$ac_extension"; then
32861 ac_find_libraries=$ac_dir
32867 if test "$ac_find_libraries" != "" ; then
32868 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32869 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32872 if test "$ac_find_libraries" = "default location"; then
32875 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32877 if test $result = 0; then
32880 ac_path_to_link=" -L$ac_find_libraries"
32884 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32885 LDFLAGS_GL="$ac_path_to_link"
32888 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32889 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32892 for ac_dir in $SEARCH_LIB;
32894 for ac_extension in a so sl dylib dll.a; do
32895 if test -f "$ac_dir/libGLU.$ac_extension"; then
32896 ac_find_libraries=$ac_dir
32902 if test "$ac_find_libraries" != "" ; then
32904 if test "$ac_find_libraries" = "default location"; then
32907 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32909 if test $result = 0; then
32912 ac_path_to_link=" -L$ac_find_libraries"
32916 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32917 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32918 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32922 OPENGL_LIBS="-lGL -lGLU"
32923 { echo "$as_me:$LINENO: result: yes" >&5
32924 echo "${ECHO_T}yes" >&6; }
32926 { echo "$as_me:$LINENO: result: no" >&5
32927 echo "${ECHO_T}no" >&6; }
32930 { echo "$as_me:$LINENO: result: no" >&5
32931 echo "${ECHO_T}no" >&6; }
32934 if test "$found_gl" != 1; then
32935 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32936 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32939 for ac_dir in $SEARCH_LIB;
32941 for ac_extension in a so sl dylib dll.a; do
32942 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32943 ac_find_libraries=$ac_dir
32949 if test "$ac_find_libraries" != "" ; then
32951 if test "$ac_find_libraries" = "default location"; then
32954 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32956 if test $result = 0; then
32959 ac_path_to_link=" -L$ac_find_libraries"
32963 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32964 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32965 { echo "$as_me:$LINENO: result: yes" >&5
32966 echo "${ECHO_T}yes" >&6; }
32968 { echo "$as_me:$LINENO: result: no" >&5
32969 echo "${ECHO_T}no" >&6; }
32981 if test "x$OPENGL_LIBS" = "x"; then
32982 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32983 echo "$as_me: error: OpenGL libraries not available" >&2;}
32984 { (exit 1); exit 1; }; }
32988 if test "$wxUSE_OPENGL" = "yes"; then
32990 cat >>confdefs.h <<\_ACEOF
32991 #define wxUSE_OPENGL 1
32994 cat >>confdefs.h <<\_ACEOF
32995 #define wxUSE_GLCANVAS 1
32998 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33003 if test -n "$TOOLKIT" ; then
33004 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33009 if test "$wxUSE_SHARED" = "yes"; then
33013 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33014 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33019 if test "$wxUSE_SHARED" = "yes"; then
33023 *-*-cygwin* | *-*-mingw* )
33024 wx_cv_version_script=no
33028 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33029 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33030 if test "${wx_cv_version_script+set}" = set; then
33031 echo $ECHO_N "(cached) $ECHO_C" >&6
33034 echo "VER_1 { *; };" >conftest.sym
33035 echo "int main() { return 0; }" >conftest.cpp
33038 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33039 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33041 (eval $ac_try) 2>&5
33043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33044 (exit $ac_status); }; } ; then
33045 if test -s conftest.stderr ; then
33046 wx_cv_version_script=no
33048 wx_cv_version_script=yes
33051 wx_cv_version_script=no
33054 if test $wx_cv_version_script = yes
33056 echo "struct B { virtual ~B() { } }; \
33057 struct D : public B { }; \
33058 void F() { D d; }" > conftest.cpp
33061 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33062 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33064 (eval $ac_try) 2>&5
33066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33067 (exit $ac_status); }; } &&
33069 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33070 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33072 (eval $ac_try) 2>&5
33074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33075 (exit $ac_status); }; }
33078 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33079 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33081 (eval $ac_try) 2>&5
33083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33084 (exit $ac_status); }; }
33086 wx_cv_version_script=yes
33088 wx_cv_version_script=no
33093 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33094 rm -f conftest1.output conftest2.output conftest3.output
33097 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33098 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33100 if test $wx_cv_version_script = yes ; then
33101 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33107 if test "$wxUSE_VISIBILITY" != "no"; then
33110 if test -n "$GCC"; then
33111 CFLAGS_VISIBILITY="-fvisibility=hidden"
33112 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33113 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33114 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33115 if test "${wx_cv_cc_visibility+set}" = set; then
33116 echo $ECHO_N "(cached) $ECHO_C" >&6
33119 wx_save_CXXFLAGS="$CXXFLAGS"
33120 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33122 ac_cpp='$CXXCPP $CPPFLAGS'
33123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33127 cat >conftest.$ac_ext <<_ACEOF
33130 cat confdefs.h >>conftest.$ac_ext
33131 cat >>conftest.$ac_ext <<_ACEOF
33132 /* end confdefs.h. */
33134 /* we need gcc >= 4.0, older versions with visibility support
33135 didn't have class visibility: */
33136 #if defined(__GNUC__) && __GNUC__ < 4
33137 error this gcc is too old;
33140 /* visibility only makes sense for ELF shared libs: */
33141 #if !defined(__ELF__) && !defined(__APPLE__)
33142 error this platform has no visibility;
33145 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33146 extern __attribute__((__visibility__("default"))) int exportedvar;
33147 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33148 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33149 class __attribute__((__visibility__("default"))) Foo {
33161 rm -f conftest.$ac_objext
33162 if { (ac_try="$ac_compile"
33163 case "(($ac_try" in
33164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33165 *) ac_try_echo=$ac_try;;
33167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33168 (eval "$ac_compile") 2>conftest.er1
33170 grep -v '^ *+' conftest.er1 >conftest.err
33172 cat conftest.err >&5
33173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33174 (exit $ac_status); } && {
33175 test -z "$ac_cxx_werror_flag" ||
33176 test ! -s conftest.err
33177 } && test -s conftest.$ac_objext; then
33178 wx_cv_cc_visibility=yes
33180 echo "$as_me: failed program was:" >&5
33181 sed 's/^/| /' conftest.$ac_ext >&5
33183 wx_cv_cc_visibility=no
33186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33188 ac_cpp='$CPP $CPPFLAGS'
33189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33193 CXXFLAGS="$wx_save_CXXFLAGS"
33196 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33197 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33198 if test $wx_cv_cc_visibility = yes; then
33199 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33200 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33201 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33202 echo $ECHO_N "(cached) $ECHO_C" >&6
33205 wx_save_CXXFLAGS="$CXXFLAGS"
33206 wx_save_LDFLAGS="$LDFLAGS"
33207 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33208 LDFLAGS="$LDFLAGS -shared -fPIC"
33210 ac_cpp='$CXXCPP $CPPFLAGS'
33211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33215 cat >conftest.$ac_ext <<_ACEOF
33218 cat confdefs.h >>conftest.$ac_ext
33219 cat >>conftest.$ac_ext <<_ACEOF
33220 /* end confdefs.h. */
33228 std::string s("hello");
33235 rm -f conftest.$ac_objext conftest$ac_exeext
33236 if { (ac_try="$ac_link"
33237 case "(($ac_try" in
33238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33239 *) ac_try_echo=$ac_try;;
33241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33242 (eval "$ac_link") 2>conftest.er1
33244 grep -v '^ *+' conftest.er1 >conftest.err
33246 cat conftest.err >&5
33247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33248 (exit $ac_status); } && {
33249 test -z "$ac_cxx_werror_flag" ||
33250 test ! -s conftest.err
33251 } && test -s conftest$ac_exeext &&
33252 $as_test_x conftest$ac_exeext; then
33253 wx_cv_cc_broken_libstdcxx_visibility=no
33255 echo "$as_me: failed program was:" >&5
33256 sed 's/^/| /' conftest.$ac_ext >&5
33258 wx_cv_cc_broken_libstdcxx_visibility=yes
33261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33262 conftest$ac_exeext conftest.$ac_ext
33264 ac_cpp='$CPP $CPPFLAGS'
33265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33269 CXXFLAGS="$wx_save_CXXFLAGS"
33270 LDFLAGS="$wx_save_LDFLAGS"
33273 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33274 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33276 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33277 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33278 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33279 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33280 echo $ECHO_N "(cached) $ECHO_C" >&6
33284 ac_cpp='$CXXCPP $CPPFLAGS'
33285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33289 cat >conftest.$ac_ext <<_ACEOF
33292 cat confdefs.h >>conftest.$ac_ext
33293 cat >>conftest.$ac_ext <<_ACEOF
33294 /* end confdefs.h. */
33296 #pragma GCC visibility push(default)
33298 #pragma GCC visibility pop
33304 std::string s("hello");
33311 rm -f conftest.$ac_objext conftest$ac_exeext
33312 if { (ac_try="$ac_link"
33313 case "(($ac_try" in
33314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33315 *) ac_try_echo=$ac_try;;
33317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33318 (eval "$ac_link") 2>conftest.er1
33320 grep -v '^ *+' conftest.er1 >conftest.err
33322 cat conftest.err >&5
33323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33324 (exit $ac_status); } && {
33325 test -z "$ac_cxx_werror_flag" ||
33326 test ! -s conftest.err
33327 } && test -s conftest$ac_exeext &&
33328 $as_test_x conftest$ac_exeext; then
33329 wx_cv_cc_visibility_workaround=no
33331 echo "$as_me: failed program was:" >&5
33332 sed 's/^/| /' conftest.$ac_ext >&5
33334 wx_cv_cc_visibility_workaround=yes
33337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33338 conftest$ac_exeext conftest.$ac_ext
33340 ac_cpp='$CPP $CPPFLAGS'
33341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33348 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33349 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33351 if test $wx_cv_cc_visibility_workaround = no; then
33352 wx_cv_cc_visibility=no
33357 if test $wx_cv_cc_visibility = yes; then
33358 cat >>confdefs.h <<\_ACEOF
33359 #define HAVE_VISIBILITY 1
33362 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33363 cat >>confdefs.h <<\_ACEOF
33364 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33369 CFLAGS_VISIBILITY=""
33370 CXXFLAGS_VISIBILITY=""
33378 if test "x$SUNCXX" = xyes; then
33379 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33380 WXCONFIG_RPATH="-R\$libdir"
33383 *-*-linux* | *-*-gnu* )
33384 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33385 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33390 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33392 saveLdflags="$LDFLAGS"
33393 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33394 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33395 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33396 cat >conftest.$ac_ext <<_ACEOF
33399 cat confdefs.h >>conftest.$ac_ext
33400 cat >>conftest.$ac_ext <<_ACEOF
33401 /* end confdefs.h. */
33411 rm -f conftest.$ac_objext conftest$ac_exeext
33412 if { (ac_try="$ac_link"
33413 case "(($ac_try" in
33414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33415 *) ac_try_echo=$ac_try;;
33417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33418 (eval "$ac_link") 2>conftest.er1
33420 grep -v '^ *+' conftest.er1 >conftest.err
33422 cat conftest.err >&5
33423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33424 (exit $ac_status); } && {
33425 test -z "$ac_c_werror_flag" ||
33426 test ! -s conftest.err
33427 } && test -s conftest$ac_exeext &&
33428 $as_test_x conftest$ac_exeext; then
33430 { echo "$as_me:$LINENO: result: yes" >&5
33431 echo "${ECHO_T}yes" >&6; }
33432 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33433 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33436 echo "$as_me: failed program was:" >&5
33437 sed 's/^/| /' conftest.$ac_ext >&5
33440 { echo "$as_me:$LINENO: result: no" >&5
33441 echo "${ECHO_T}no" >&6; }
33442 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33443 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33444 LDFLAGS="$saveLdflags -Wl,-R,/"
33445 cat >conftest.$ac_ext <<_ACEOF
33448 cat confdefs.h >>conftest.$ac_ext
33449 cat >>conftest.$ac_ext <<_ACEOF
33450 /* end confdefs.h. */
33460 rm -f conftest.$ac_objext conftest$ac_exeext
33461 if { (ac_try="$ac_link"
33462 case "(($ac_try" in
33463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33464 *) ac_try_echo=$ac_try;;
33466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33467 (eval "$ac_link") 2>conftest.er1
33469 grep -v '^ *+' conftest.er1 >conftest.err
33471 cat conftest.err >&5
33472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33473 (exit $ac_status); } && {
33474 test -z "$ac_c_werror_flag" ||
33475 test ! -s conftest.err
33476 } && test -s conftest$ac_exeext &&
33477 $as_test_x conftest$ac_exeext; then
33479 { echo "$as_me:$LINENO: result: yes" >&5
33480 echo "${ECHO_T}yes" >&6; }
33481 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33482 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33485 echo "$as_me: failed program was:" >&5
33486 sed 's/^/| /' conftest.$ac_ext >&5
33489 { echo "$as_me:$LINENO: result: no" >&5
33490 echo "${ECHO_T}no" >&6; }
33494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33495 conftest$ac_exeext conftest.$ac_ext
33499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33500 conftest$ac_exeext conftest.$ac_ext
33501 LDFLAGS="$saveLdflags"
33505 install_name_tool=`which install_name_tool`
33506 if test "$install_name_tool" -a -x "$install_name_tool"; then
33507 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33508 cat <<EOF >change-install-names
33510 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33511 inst_cmd="install_name_tool "
33512 for i in \${libnames} ; do
33513 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33517 chmod +x change-install-names
33521 *-*-cygwin* | *-*-mingw32* )
33525 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33526 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33532 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33534 if test $wxUSE_RPATH = "no"; then
33535 SAMPLES_RPATH_FLAG=''
33536 SAMPLES_RPATH_POSTLINK=''
33544 config_linkage_component="-static"
33551 lib_unicode_suffix=
33553 if test "$wxUSE_UNICODE" = "yes"; then
33554 lib_unicode_suffix=u
33555 WX_CHARTYPE="unicode"
33560 WX_DEBUGTYPE="release"
33562 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33564 WX_DEBUGTYPE="debug"
33568 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33569 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33572 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33576 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33578 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33580 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33582 if test "$cross_compiling" = "yes"; then
33583 HOST_SUFFIX="-$host_alias"
33584 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33585 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33588 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33589 if test "${TOOLKIT_DIR}" = "os2"; then
33590 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33592 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33597 if test "$wxUSE_COCOA" = 1; then
33600 ac_cpp='$CPP $CPPFLAGS'
33601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33607 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33608 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33609 cat >conftest.$ac_ext <<_ACEOF
33612 cat confdefs.h >>conftest.$ac_ext
33613 cat >>conftest.$ac_ext <<_ACEOF
33614 /* end confdefs.h. */
33615 #include <AppKit/NSEvent.h>
33616 #include <CoreFoundation/CoreFoundation.h>
33626 rm -f conftest.$ac_objext
33627 if { (ac_try="$ac_compile"
33628 case "(($ac_try" in
33629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33630 *) ac_try_echo=$ac_try;;
33632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33633 (eval "$ac_compile") 2>conftest.er1
33635 grep -v '^ *+' conftest.er1 >conftest.err
33637 cat conftest.err >&5
33638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33639 (exit $ac_status); } && {
33640 test -z "$ac_c_werror_flag" ||
33641 test ! -s conftest.err
33642 } && test -s conftest.$ac_objext; then
33643 { echo "$as_me:$LINENO: result: no" >&5
33644 echo "${ECHO_T}no" >&6; }
33646 echo "$as_me: failed program was:" >&5
33647 sed 's/^/| /' conftest.$ac_ext >&5
33649 { echo "$as_me:$LINENO: result: yes" >&5
33650 echo "${ECHO_T}yes" >&6; }
33651 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33652 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33653 cat >conftest.$ac_ext <<_ACEOF
33656 cat confdefs.h >>conftest.$ac_ext
33657 cat >>conftest.$ac_ext <<_ACEOF
33658 /* end confdefs.h. */
33659 #define __Point__ 1
33660 #include <AppKit/NSEvent.h>
33661 #include <CoreFoundation/CoreFoundation.h>
33671 rm -f conftest.$ac_objext
33672 if { (ac_try="$ac_compile"
33673 case "(($ac_try" in
33674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33675 *) ac_try_echo=$ac_try;;
33677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33678 (eval "$ac_compile") 2>conftest.er1
33680 grep -v '^ *+' conftest.er1 >conftest.err
33682 cat conftest.err >&5
33683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33684 (exit $ac_status); } && {
33685 test -z "$ac_c_werror_flag" ||
33686 test ! -s conftest.err
33687 } && test -s conftest.$ac_objext; then
33688 { echo "$as_me:$LINENO: result: yes" >&5
33689 echo "${ECHO_T}yes" >&6; }
33690 cat >>confdefs.h <<\_ACEOF
33691 #define __Point__ 1
33696 echo "$as_me: failed program was:" >&5
33697 sed 's/^/| /' conftest.$ac_ext >&5
33699 { { echo "$as_me:$LINENO: error: no
33700 See \`config.log' for more details." >&5
33701 echo "$as_me: error: no
33702 See \`config.log' for more details." >&2;}
33703 { (exit 1); exit 1; }; }
33707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33713 ac_cpp='$CPP $CPPFLAGS'
33714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33721 { echo "$as_me:$LINENO: checking for mode_t" >&5
33722 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33723 if test "${ac_cv_type_mode_t+set}" = set; then
33724 echo $ECHO_N "(cached) $ECHO_C" >&6
33726 cat >conftest.$ac_ext <<_ACEOF
33729 cat confdefs.h >>conftest.$ac_ext
33730 cat >>conftest.$ac_ext <<_ACEOF
33731 /* end confdefs.h. */
33732 $ac_includes_default
33733 typedef mode_t ac__type_new_;
33737 if ((ac__type_new_ *) 0)
33739 if (sizeof (ac__type_new_))
33745 rm -f conftest.$ac_objext
33746 if { (ac_try="$ac_compile"
33747 case "(($ac_try" in
33748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33749 *) ac_try_echo=$ac_try;;
33751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33752 (eval "$ac_compile") 2>conftest.er1
33754 grep -v '^ *+' conftest.er1 >conftest.err
33756 cat conftest.err >&5
33757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33758 (exit $ac_status); } && {
33759 test -z "$ac_c_werror_flag" ||
33760 test ! -s conftest.err
33761 } && test -s conftest.$ac_objext; then
33762 ac_cv_type_mode_t=yes
33764 echo "$as_me: failed program was:" >&5
33765 sed 's/^/| /' conftest.$ac_ext >&5
33767 ac_cv_type_mode_t=no
33770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33772 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33773 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33774 if test $ac_cv_type_mode_t = yes; then
33778 cat >>confdefs.h <<_ACEOF
33784 { echo "$as_me:$LINENO: checking for off_t" >&5
33785 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33786 if test "${ac_cv_type_off_t+set}" = set; then
33787 echo $ECHO_N "(cached) $ECHO_C" >&6
33789 cat >conftest.$ac_ext <<_ACEOF
33792 cat confdefs.h >>conftest.$ac_ext
33793 cat >>conftest.$ac_ext <<_ACEOF
33794 /* end confdefs.h. */
33795 $ac_includes_default
33796 typedef off_t ac__type_new_;
33800 if ((ac__type_new_ *) 0)
33802 if (sizeof (ac__type_new_))
33808 rm -f conftest.$ac_objext
33809 if { (ac_try="$ac_compile"
33810 case "(($ac_try" in
33811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33812 *) ac_try_echo=$ac_try;;
33814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33815 (eval "$ac_compile") 2>conftest.er1
33817 grep -v '^ *+' conftest.er1 >conftest.err
33819 cat conftest.err >&5
33820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33821 (exit $ac_status); } && {
33822 test -z "$ac_c_werror_flag" ||
33823 test ! -s conftest.err
33824 } && test -s conftest.$ac_objext; then
33825 ac_cv_type_off_t=yes
33827 echo "$as_me: failed program was:" >&5
33828 sed 's/^/| /' conftest.$ac_ext >&5
33830 ac_cv_type_off_t=no
33833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33835 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33836 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33837 if test $ac_cv_type_off_t = yes; then
33841 cat >>confdefs.h <<_ACEOF
33842 #define off_t long int
33847 { echo "$as_me:$LINENO: checking for pid_t" >&5
33848 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33849 if test "${ac_cv_type_pid_t+set}" = set; then
33850 echo $ECHO_N "(cached) $ECHO_C" >&6
33852 cat >conftest.$ac_ext <<_ACEOF
33855 cat confdefs.h >>conftest.$ac_ext
33856 cat >>conftest.$ac_ext <<_ACEOF
33857 /* end confdefs.h. */
33858 $ac_includes_default
33859 typedef pid_t ac__type_new_;
33863 if ((ac__type_new_ *) 0)
33865 if (sizeof (ac__type_new_))
33871 rm -f conftest.$ac_objext
33872 if { (ac_try="$ac_compile"
33873 case "(($ac_try" in
33874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33875 *) ac_try_echo=$ac_try;;
33877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33878 (eval "$ac_compile") 2>conftest.er1
33880 grep -v '^ *+' conftest.er1 >conftest.err
33882 cat conftest.err >&5
33883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33884 (exit $ac_status); } && {
33885 test -z "$ac_c_werror_flag" ||
33886 test ! -s conftest.err
33887 } && test -s conftest.$ac_objext; then
33888 ac_cv_type_pid_t=yes
33890 echo "$as_me: failed program was:" >&5
33891 sed 's/^/| /' conftest.$ac_ext >&5
33893 ac_cv_type_pid_t=no
33896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33898 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33899 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33900 if test $ac_cv_type_pid_t = yes; then
33904 cat >>confdefs.h <<_ACEOF
33910 { echo "$as_me:$LINENO: checking for size_t" >&5
33911 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33912 if test "${ac_cv_type_size_t+set}" = set; then
33913 echo $ECHO_N "(cached) $ECHO_C" >&6
33915 cat >conftest.$ac_ext <<_ACEOF
33918 cat confdefs.h >>conftest.$ac_ext
33919 cat >>conftest.$ac_ext <<_ACEOF
33920 /* end confdefs.h. */
33921 $ac_includes_default
33922 typedef size_t ac__type_new_;
33926 if ((ac__type_new_ *) 0)
33928 if (sizeof (ac__type_new_))
33934 rm -f conftest.$ac_objext
33935 if { (ac_try="$ac_compile"
33936 case "(($ac_try" in
33937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33938 *) ac_try_echo=$ac_try;;
33940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33941 (eval "$ac_compile") 2>conftest.er1
33943 grep -v '^ *+' conftest.er1 >conftest.err
33945 cat conftest.err >&5
33946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33947 (exit $ac_status); } && {
33948 test -z "$ac_c_werror_flag" ||
33949 test ! -s conftest.err
33950 } && test -s conftest.$ac_objext; then
33951 ac_cv_type_size_t=yes
33953 echo "$as_me: failed program was:" >&5
33954 sed 's/^/| /' conftest.$ac_ext >&5
33956 ac_cv_type_size_t=no
33959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33961 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33962 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33963 if test $ac_cv_type_size_t = yes; then
33967 cat >>confdefs.h <<_ACEOF
33968 #define size_t unsigned int
33974 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33975 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33976 if test "${ac_cv_type_ssize_t+set}" = set; then
33977 echo $ECHO_N "(cached) $ECHO_C" >&6
33979 cat >conftest.$ac_ext <<_ACEOF
33982 cat confdefs.h >>conftest.$ac_ext
33983 cat >>conftest.$ac_ext <<_ACEOF
33984 /* end confdefs.h. */
33985 $ac_includes_default
33986 typedef ssize_t ac__type_new_;
33990 if ((ac__type_new_ *) 0)
33992 if (sizeof (ac__type_new_))
33998 rm -f conftest.$ac_objext
33999 if { (ac_try="$ac_compile"
34000 case "(($ac_try" in
34001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34002 *) ac_try_echo=$ac_try;;
34004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34005 (eval "$ac_compile") 2>conftest.er1
34007 grep -v '^ *+' conftest.er1 >conftest.err
34009 cat conftest.err >&5
34010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34011 (exit $ac_status); } && {
34012 test -z "$ac_c_werror_flag" ||
34013 test ! -s conftest.err
34014 } && test -s conftest.$ac_objext; then
34015 ac_cv_type_ssize_t=yes
34017 echo "$as_me: failed program was:" >&5
34018 sed 's/^/| /' conftest.$ac_ext >&5
34020 ac_cv_type_ssize_t=no
34023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34025 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34026 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34027 if test $ac_cv_type_ssize_t = yes; then
34029 cat >>confdefs.h <<_ACEOF
34030 #define HAVE_SSIZE_T 1
34038 ac_cpp='$CXXCPP $CPPFLAGS'
34039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34042 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34043 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34044 if test "${wx_cv_size_t_is_uint+set}" = set; then
34045 echo $ECHO_N "(cached) $ECHO_C" >&6
34048 cat >conftest.$ac_ext <<_ACEOF
34051 cat confdefs.h >>conftest.$ac_ext
34052 cat >>conftest.$ac_ext <<_ACEOF
34053 /* end confdefs.h. */
34054 #include <stddef.h>
34061 struct Foo { void foo(size_t); void foo(unsigned int); };
34069 rm -f conftest.$ac_objext
34070 if { (ac_try="$ac_compile"
34071 case "(($ac_try" in
34072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34073 *) ac_try_echo=$ac_try;;
34075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34076 (eval "$ac_compile") 2>conftest.er1
34078 grep -v '^ *+' conftest.er1 >conftest.err
34080 cat conftest.err >&5
34081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34082 (exit $ac_status); } && {
34083 test -z "$ac_cxx_werror_flag" ||
34084 test ! -s conftest.err
34085 } && test -s conftest.$ac_objext; then
34086 wx_cv_size_t_is_uint=no
34088 echo "$as_me: failed program was:" >&5
34089 sed 's/^/| /' conftest.$ac_ext >&5
34091 wx_cv_size_t_is_uint=yes
34095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34099 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34100 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34102 if test "$wx_cv_size_t_is_uint" = "yes"; then
34103 cat >>confdefs.h <<\_ACEOF
34104 #define wxSIZE_T_IS_UINT 1
34108 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34109 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34110 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34111 echo $ECHO_N "(cached) $ECHO_C" >&6
34113 cat >conftest.$ac_ext <<_ACEOF
34116 cat confdefs.h >>conftest.$ac_ext
34117 cat >>conftest.$ac_ext <<_ACEOF
34118 /* end confdefs.h. */
34119 #include <stddef.h>
34126 struct Foo { void foo(size_t); void foo(unsigned long); };
34134 rm -f conftest.$ac_objext
34135 if { (ac_try="$ac_compile"
34136 case "(($ac_try" in
34137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34138 *) ac_try_echo=$ac_try;;
34140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34141 (eval "$ac_compile") 2>conftest.er1
34143 grep -v '^ *+' conftest.er1 >conftest.err
34145 cat conftest.err >&5
34146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 (exit $ac_status); } && {
34148 test -z "$ac_cxx_werror_flag" ||
34149 test ! -s conftest.err
34150 } && test -s conftest.$ac_objext; then
34151 wx_cv_size_t_is_ulong=no
34153 echo "$as_me: failed program was:" >&5
34154 sed 's/^/| /' conftest.$ac_ext >&5
34156 wx_cv_size_t_is_ulong=yes
34160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34163 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34164 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34166 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34167 cat >>confdefs.h <<\_ACEOF
34168 #define wxSIZE_T_IS_ULONG 1
34174 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34175 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34176 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34177 echo $ECHO_N "(cached) $ECHO_C" >&6
34179 cat >conftest.$ac_ext <<_ACEOF
34182 cat confdefs.h >>conftest.$ac_ext
34183 cat >>conftest.$ac_ext <<_ACEOF
34184 /* end confdefs.h. */
34192 struct Foo { void foo(wchar_t);
34193 void foo(unsigned short);
34194 void foo(unsigned int);
34195 void foo(unsigned long); };
34203 rm -f conftest.$ac_objext
34204 if { (ac_try="$ac_compile"
34205 case "(($ac_try" in
34206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34207 *) ac_try_echo=$ac_try;;
34209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34210 (eval "$ac_compile") 2>conftest.er1
34212 grep -v '^ *+' conftest.er1 >conftest.err
34214 cat conftest.err >&5
34215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34216 (exit $ac_status); } && {
34217 test -z "$ac_cxx_werror_flag" ||
34218 test ! -s conftest.err
34219 } && test -s conftest.$ac_objext; then
34220 wx_cv_wchar_t_is_separate_type=yes
34222 echo "$as_me: failed program was:" >&5
34223 sed 's/^/| /' conftest.$ac_ext >&5
34225 wx_cv_wchar_t_is_separate_type=no
34229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34232 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34233 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34235 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34236 cat >>confdefs.h <<\_ACEOF
34237 #define wxWCHAR_T_IS_REAL_TYPE 1
34241 cat >>confdefs.h <<\_ACEOF
34242 #define wxWCHAR_T_IS_REAL_TYPE 0
34248 ac_cpp='$CPP $CPPFLAGS'
34249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34254 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34255 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34256 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34257 echo $ECHO_N "(cached) $ECHO_C" >&6
34260 cat >conftest.$ac_ext <<_ACEOF
34263 cat confdefs.h >>conftest.$ac_ext
34264 cat >>conftest.$ac_ext <<_ACEOF
34265 /* end confdefs.h. */
34279 rm -f conftest.$ac_objext
34280 if { (ac_try="$ac_compile"
34281 case "(($ac_try" in
34282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34283 *) ac_try_echo=$ac_try;;
34285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34286 (eval "$ac_compile") 2>conftest.er1
34288 grep -v '^ *+' conftest.er1 >conftest.err
34290 cat conftest.err >&5
34291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34292 (exit $ac_status); } && {
34293 test -z "$ac_c_werror_flag" ||
34294 test ! -s conftest.err
34295 } && test -s conftest.$ac_objext; then
34297 wx_cv_struct_pw_gecos=yes
34300 echo "$as_me: failed program was:" >&5
34301 sed 's/^/| /' conftest.$ac_ext >&5
34304 wx_cv_struct_pw_gecos=no
34309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34313 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34314 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34316 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34317 cat >>confdefs.h <<\_ACEOF
34318 #define HAVE_PW_GECOS 1
34324 if test "$wxUSE_WCHAR_T" = "yes"; then
34325 cat >>confdefs.h <<\_ACEOF
34326 #define wxUSE_WCHAR_T 1
34333 for ac_func in wcslen
34335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34336 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34338 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34339 echo $ECHO_N "(cached) $ECHO_C" >&6
34341 cat >conftest.$ac_ext <<_ACEOF
34344 cat confdefs.h >>conftest.$ac_ext
34345 cat >>conftest.$ac_ext <<_ACEOF
34346 /* end confdefs.h. */
34347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34349 #define $ac_func innocuous_$ac_func
34351 /* System header to define __stub macros and hopefully few prototypes,
34352 which can conflict with char $ac_func (); below.
34353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34354 <limits.h> exists even on freestanding compilers. */
34357 # include <limits.h>
34359 # include <assert.h>
34364 /* Override any GCC internal prototype to avoid an error.
34365 Use char because int might match the return type of a GCC
34366 builtin and then its argument prototype would still apply. */
34371 /* The GNU C library defines this for functions which it implements
34372 to always fail with ENOSYS. Some functions are actually named
34373 something starting with __ and the normal name is an alias. */
34374 #if defined __stub_$ac_func || defined __stub___$ac_func
34381 return $ac_func ();
34386 rm -f conftest.$ac_objext conftest$ac_exeext
34387 if { (ac_try="$ac_link"
34388 case "(($ac_try" in
34389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34390 *) ac_try_echo=$ac_try;;
34392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34393 (eval "$ac_link") 2>conftest.er1
34395 grep -v '^ *+' conftest.er1 >conftest.err
34397 cat conftest.err >&5
34398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34399 (exit $ac_status); } && {
34400 test -z "$ac_c_werror_flag" ||
34401 test ! -s conftest.err
34402 } && test -s conftest$ac_exeext &&
34403 $as_test_x conftest$ac_exeext; then
34404 eval "$as_ac_var=yes"
34406 echo "$as_me: failed program was:" >&5
34407 sed 's/^/| /' conftest.$ac_ext >&5
34409 eval "$as_ac_var=no"
34412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34413 conftest$ac_exeext conftest.$ac_ext
34415 ac_res=`eval echo '${'$as_ac_var'}'`
34416 { echo "$as_me:$LINENO: result: $ac_res" >&5
34417 echo "${ECHO_T}$ac_res" >&6; }
34418 if test `eval echo '${'$as_ac_var'}'` = yes; then
34419 cat >>confdefs.h <<_ACEOF
34420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34427 if test "$WCSLEN_FOUND" = 0; then
34428 if test "$TOOLKIT" = "MSW"; then
34429 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34430 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34431 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34432 echo $ECHO_N "(cached) $ECHO_C" >&6
34434 ac_check_lib_save_LIBS=$LIBS
34435 LIBS="-lmsvcrt $LIBS"
34436 cat >conftest.$ac_ext <<_ACEOF
34439 cat confdefs.h >>conftest.$ac_ext
34440 cat >>conftest.$ac_ext <<_ACEOF
34441 /* end confdefs.h. */
34443 /* Override any GCC internal prototype to avoid an error.
34444 Use char because int might match the return type of a GCC
34445 builtin and then its argument prototype would still apply. */
34458 rm -f conftest.$ac_objext conftest$ac_exeext
34459 if { (ac_try="$ac_link"
34460 case "(($ac_try" in
34461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34462 *) ac_try_echo=$ac_try;;
34464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34465 (eval "$ac_link") 2>conftest.er1
34467 grep -v '^ *+' conftest.er1 >conftest.err
34469 cat conftest.err >&5
34470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34471 (exit $ac_status); } && {
34472 test -z "$ac_c_werror_flag" ||
34473 test ! -s conftest.err
34474 } && test -s conftest$ac_exeext &&
34475 $as_test_x conftest$ac_exeext; then
34476 ac_cv_lib_msvcrt_wcslen=yes
34478 echo "$as_me: failed program was:" >&5
34479 sed 's/^/| /' conftest.$ac_ext >&5
34481 ac_cv_lib_msvcrt_wcslen=no
34484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34485 conftest$ac_exeext conftest.$ac_ext
34486 LIBS=$ac_check_lib_save_LIBS
34488 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34489 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34490 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34495 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34496 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34497 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34498 echo $ECHO_N "(cached) $ECHO_C" >&6
34500 ac_check_lib_save_LIBS=$LIBS
34502 cat >conftest.$ac_ext <<_ACEOF
34505 cat confdefs.h >>conftest.$ac_ext
34506 cat >>conftest.$ac_ext <<_ACEOF
34507 /* end confdefs.h. */
34509 /* Override any GCC internal prototype to avoid an error.
34510 Use char because int might match the return type of a GCC
34511 builtin and then its argument prototype would still apply. */
34524 rm -f conftest.$ac_objext conftest$ac_exeext
34525 if { (ac_try="$ac_link"
34526 case "(($ac_try" in
34527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34528 *) ac_try_echo=$ac_try;;
34530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34531 (eval "$ac_link") 2>conftest.er1
34533 grep -v '^ *+' conftest.er1 >conftest.err
34535 cat conftest.err >&5
34536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34537 (exit $ac_status); } && {
34538 test -z "$ac_c_werror_flag" ||
34539 test ! -s conftest.err
34540 } && test -s conftest$ac_exeext &&
34541 $as_test_x conftest$ac_exeext; then
34542 ac_cv_lib_w_wcslen=yes
34544 echo "$as_me: failed program was:" >&5
34545 sed 's/^/| /' conftest.$ac_ext >&5
34547 ac_cv_lib_w_wcslen=no
34550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34551 conftest$ac_exeext conftest.$ac_ext
34552 LIBS=$ac_check_lib_save_LIBS
34554 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34555 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34556 if test $ac_cv_lib_w_wcslen = yes; then
34566 if test "$WCSLEN_FOUND" = 1; then
34567 cat >>confdefs.h <<\_ACEOF
34568 #define HAVE_WCSLEN 1
34574 for ac_func in wcsdup
34576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34577 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34579 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34580 echo $ECHO_N "(cached) $ECHO_C" >&6
34582 cat >conftest.$ac_ext <<_ACEOF
34585 cat confdefs.h >>conftest.$ac_ext
34586 cat >>conftest.$ac_ext <<_ACEOF
34587 /* end confdefs.h. */
34588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34590 #define $ac_func innocuous_$ac_func
34592 /* System header to define __stub macros and hopefully few prototypes,
34593 which can conflict with char $ac_func (); below.
34594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34595 <limits.h> exists even on freestanding compilers. */
34598 # include <limits.h>
34600 # include <assert.h>
34605 /* Override any GCC internal prototype to avoid an error.
34606 Use char because int might match the return type of a GCC
34607 builtin and then its argument prototype would still apply. */
34612 /* The GNU C library defines this for functions which it implements
34613 to always fail with ENOSYS. Some functions are actually named
34614 something starting with __ and the normal name is an alias. */
34615 #if defined __stub_$ac_func || defined __stub___$ac_func
34622 return $ac_func ();
34627 rm -f conftest.$ac_objext conftest$ac_exeext
34628 if { (ac_try="$ac_link"
34629 case "(($ac_try" in
34630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34631 *) ac_try_echo=$ac_try;;
34633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34634 (eval "$ac_link") 2>conftest.er1
34636 grep -v '^ *+' conftest.er1 >conftest.err
34638 cat conftest.err >&5
34639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34640 (exit $ac_status); } && {
34641 test -z "$ac_c_werror_flag" ||
34642 test ! -s conftest.err
34643 } && test -s conftest$ac_exeext &&
34644 $as_test_x conftest$ac_exeext; then
34645 eval "$as_ac_var=yes"
34647 echo "$as_me: failed program was:" >&5
34648 sed 's/^/| /' conftest.$ac_ext >&5
34650 eval "$as_ac_var=no"
34653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34654 conftest$ac_exeext conftest.$ac_ext
34656 ac_res=`eval echo '${'$as_ac_var'}'`
34657 { echo "$as_me:$LINENO: result: $ac_res" >&5
34658 echo "${ECHO_T}$ac_res" >&6; }
34659 if test `eval echo '${'$as_ac_var'}'` = yes; then
34660 cat >>confdefs.h <<_ACEOF
34661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34668 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34669 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34672 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34673 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34674 if test "${ac_cv_type_mbstate_t+set}" = set; then
34675 echo $ECHO_N "(cached) $ECHO_C" >&6
34677 cat >conftest.$ac_ext <<_ACEOF
34680 cat confdefs.h >>conftest.$ac_ext
34681 cat >>conftest.$ac_ext <<_ACEOF
34682 /* end confdefs.h. */
34685 typedef mbstate_t ac__type_new_;
34689 if ((ac__type_new_ *) 0)
34691 if (sizeof (ac__type_new_))
34697 rm -f conftest.$ac_objext
34698 if { (ac_try="$ac_compile"
34699 case "(($ac_try" in
34700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34701 *) ac_try_echo=$ac_try;;
34703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34704 (eval "$ac_compile") 2>conftest.er1
34706 grep -v '^ *+' conftest.er1 >conftest.err
34708 cat conftest.err >&5
34709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34710 (exit $ac_status); } && {
34711 test -z "$ac_c_werror_flag" ||
34712 test ! -s conftest.err
34713 } && test -s conftest.$ac_objext; then
34714 ac_cv_type_mbstate_t=yes
34716 echo "$as_me: failed program was:" >&5
34717 sed 's/^/| /' conftest.$ac_ext >&5
34719 ac_cv_type_mbstate_t=no
34722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34724 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34725 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34726 if test $ac_cv_type_mbstate_t = yes; then
34728 cat >>confdefs.h <<_ACEOF
34729 #define HAVE_MBSTATE_T 1
34733 for ac_func in wcsrtombs
34735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34736 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34738 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34739 echo $ECHO_N "(cached) $ECHO_C" >&6
34741 cat >conftest.$ac_ext <<_ACEOF
34744 cat confdefs.h >>conftest.$ac_ext
34745 cat >>conftest.$ac_ext <<_ACEOF
34746 /* end confdefs.h. */
34747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34749 #define $ac_func innocuous_$ac_func
34751 /* System header to define __stub macros and hopefully few prototypes,
34752 which can conflict with char $ac_func (); below.
34753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34754 <limits.h> exists even on freestanding compilers. */
34757 # include <limits.h>
34759 # include <assert.h>
34764 /* Override any GCC internal prototype to avoid an error.
34765 Use char because int might match the return type of a GCC
34766 builtin and then its argument prototype would still apply. */
34771 /* The GNU C library defines this for functions which it implements
34772 to always fail with ENOSYS. Some functions are actually named
34773 something starting with __ and the normal name is an alias. */
34774 #if defined __stub_$ac_func || defined __stub___$ac_func
34781 return $ac_func ();
34786 rm -f conftest.$ac_objext conftest$ac_exeext
34787 if { (ac_try="$ac_link"
34788 case "(($ac_try" in
34789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34790 *) ac_try_echo=$ac_try;;
34792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34793 (eval "$ac_link") 2>conftest.er1
34795 grep -v '^ *+' conftest.er1 >conftest.err
34797 cat conftest.err >&5
34798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34799 (exit $ac_status); } && {
34800 test -z "$ac_c_werror_flag" ||
34801 test ! -s conftest.err
34802 } && test -s conftest$ac_exeext &&
34803 $as_test_x conftest$ac_exeext; then
34804 eval "$as_ac_var=yes"
34806 echo "$as_me: failed program was:" >&5
34807 sed 's/^/| /' conftest.$ac_ext >&5
34809 eval "$as_ac_var=no"
34812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34813 conftest$ac_exeext conftest.$ac_ext
34815 ac_res=`eval echo '${'$as_ac_var'}'`
34816 { echo "$as_me:$LINENO: result: $ac_res" >&5
34817 echo "${ECHO_T}$ac_res" >&6; }
34818 if test `eval echo '${'$as_ac_var'}'` = yes; then
34819 cat >>confdefs.h <<_ACEOF
34820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34829 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34830 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34835 for ac_func in snprintf vsnprintf
34837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34838 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34840 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34841 echo $ECHO_N "(cached) $ECHO_C" >&6
34843 cat >conftest.$ac_ext <<_ACEOF
34846 cat confdefs.h >>conftest.$ac_ext
34847 cat >>conftest.$ac_ext <<_ACEOF
34848 /* end confdefs.h. */
34849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34851 #define $ac_func innocuous_$ac_func
34853 /* System header to define __stub macros and hopefully few prototypes,
34854 which can conflict with char $ac_func (); below.
34855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34856 <limits.h> exists even on freestanding compilers. */
34859 # include <limits.h>
34861 # include <assert.h>
34866 /* Override any GCC internal prototype to avoid an error.
34867 Use char because int might match the return type of a GCC
34868 builtin and then its argument prototype would still apply. */
34873 /* The GNU C library defines this for functions which it implements
34874 to always fail with ENOSYS. Some functions are actually named
34875 something starting with __ and the normal name is an alias. */
34876 #if defined __stub_$ac_func || defined __stub___$ac_func
34883 return $ac_func ();
34888 rm -f conftest.$ac_objext conftest$ac_exeext
34889 if { (ac_try="$ac_link"
34890 case "(($ac_try" in
34891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34892 *) ac_try_echo=$ac_try;;
34894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34895 (eval "$ac_link") 2>conftest.er1
34897 grep -v '^ *+' conftest.er1 >conftest.err
34899 cat conftest.err >&5
34900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34901 (exit $ac_status); } && {
34902 test -z "$ac_c_werror_flag" ||
34903 test ! -s conftest.err
34904 } && test -s conftest$ac_exeext &&
34905 $as_test_x conftest$ac_exeext; then
34906 eval "$as_ac_var=yes"
34908 echo "$as_me: failed program was:" >&5
34909 sed 's/^/| /' conftest.$ac_ext >&5
34911 eval "$as_ac_var=no"
34914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34915 conftest$ac_exeext conftest.$ac_ext
34917 ac_res=`eval echo '${'$as_ac_var'}'`
34918 { echo "$as_me:$LINENO: result: $ac_res" >&5
34919 echo "${ECHO_T}$ac_res" >&6; }
34920 if test `eval echo '${'$as_ac_var'}'` = yes; then
34921 cat >>confdefs.h <<_ACEOF
34922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34929 if test "$ac_cv_func_vsnprintf" = "yes"; then
34930 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34931 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34932 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34933 echo $ECHO_N "(cached) $ECHO_C" >&6
34936 cat >conftest.$ac_ext <<_ACEOF
34939 cat confdefs.h >>conftest.$ac_ext
34940 cat >>conftest.$ac_ext <<_ACEOF
34941 /* end confdefs.h. */
34944 #include <stdarg.h>
34946 #if __MSL__ >= 0x6000
34948 using namespace std;
34958 vsnprintf(buf, 10u, "%s", ap);
34964 rm -f conftest.$ac_objext
34965 if { (ac_try="$ac_compile"
34966 case "(($ac_try" in
34967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34968 *) ac_try_echo=$ac_try;;
34970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34971 (eval "$ac_compile") 2>conftest.er1
34973 grep -v '^ *+' conftest.er1 >conftest.err
34975 cat conftest.err >&5
34976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34977 (exit $ac_status); } && {
34978 test -z "$ac_c_werror_flag" ||
34979 test ! -s conftest.err
34980 } && test -s conftest.$ac_objext; then
34981 wx_cv_func_vsnprintf_decl=yes
34983 echo "$as_me: failed program was:" >&5
34984 sed 's/^/| /' conftest.$ac_ext >&5
34986 wx_cv_func_vsnprintf_decl=no
34990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34994 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34995 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34997 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34998 cat >>confdefs.h <<\_ACEOF
34999 #define HAVE_VSNPRINTF_DECL 1
35003 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35004 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35005 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35006 echo $ECHO_N "(cached) $ECHO_C" >&6
35009 cat >conftest.$ac_ext <<_ACEOF
35012 cat confdefs.h >>conftest.$ac_ext
35013 cat >>conftest.$ac_ext <<_ACEOF
35014 /* end confdefs.h. */
35017 #include <stdarg.h>
35019 #if __MSL__ >= 0x6000
35021 using namespace std;
35031 const char *fmt = "%s";
35032 vsnprintf(buf, 10u, fmt, ap);
35038 rm -f conftest.$ac_objext
35039 if { (ac_try="$ac_compile"
35040 case "(($ac_try" in
35041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35042 *) ac_try_echo=$ac_try;;
35044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35045 (eval "$ac_compile") 2>conftest.er1
35047 grep -v '^ *+' conftest.er1 >conftest.err
35049 cat conftest.err >&5
35050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35051 (exit $ac_status); } && {
35052 test -z "$ac_c_werror_flag" ||
35053 test ! -s conftest.err
35054 } && test -s conftest.$ac_objext; then
35055 wx_cv_func_broken_vsnprintf_decl=no
35057 echo "$as_me: failed program was:" >&5
35058 sed 's/^/| /' conftest.$ac_ext >&5
35060 wx_cv_func_broken_vsnprintf_decl=yes
35064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35068 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35069 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35071 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35072 cat >>confdefs.h <<\_ACEOF
35073 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35080 if test "$ac_cv_func_snprintf" = "yes"; then
35081 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35082 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35083 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35084 echo $ECHO_N "(cached) $ECHO_C" >&6
35087 cat >conftest.$ac_ext <<_ACEOF
35090 cat confdefs.h >>conftest.$ac_ext
35091 cat >>conftest.$ac_ext <<_ACEOF
35092 /* end confdefs.h. */
35095 #include <stdarg.h>
35097 #if __MSL__ >= 0x6000
35099 using namespace std;
35108 snprintf(buf, 10u, "%s", "wx");
35114 rm -f conftest.$ac_objext
35115 if { (ac_try="$ac_compile"
35116 case "(($ac_try" in
35117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35118 *) ac_try_echo=$ac_try;;
35120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35121 (eval "$ac_compile") 2>conftest.er1
35123 grep -v '^ *+' conftest.er1 >conftest.err
35125 cat conftest.err >&5
35126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35127 (exit $ac_status); } && {
35128 test -z "$ac_c_werror_flag" ||
35129 test ! -s conftest.err
35130 } && test -s conftest.$ac_objext; then
35131 wx_cv_func_snprintf_decl=yes
35133 echo "$as_me: failed program was:" >&5
35134 sed 's/^/| /' conftest.$ac_ext >&5
35136 wx_cv_func_snprintf_decl=no
35140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35144 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35145 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35147 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35148 cat >>confdefs.h <<\_ACEOF
35149 #define HAVE_SNPRINTF_DECL 1
35154 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35156 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35157 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35158 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35159 echo $ECHO_N "(cached) $ECHO_C" >&6
35162 if test "$cross_compiling" = yes; then
35164 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35165 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35166 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35167 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35168 wx_cv_func_snprintf_pos_params=no
35172 cat >conftest.$ac_ext <<_ACEOF
35175 cat confdefs.h >>conftest.$ac_ext
35176 cat >>conftest.$ac_ext <<_ACEOF
35177 /* end confdefs.h. */
35184 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35185 if (strcmp ("2 3 1", buffer) == 0)
35191 rm -f conftest$ac_exeext
35192 if { (ac_try="$ac_link"
35193 case "(($ac_try" in
35194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35195 *) ac_try_echo=$ac_try;;
35197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35198 (eval "$ac_link") 2>&5
35200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35201 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35202 { (case "(($ac_try" in
35203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35204 *) ac_try_echo=$ac_try;;
35206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35207 (eval "$ac_try") 2>&5
35209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35210 (exit $ac_status); }; }; then
35211 wx_cv_func_snprintf_pos_params=no
35213 echo "$as_me: program exited with status $ac_status" >&5
35214 echo "$as_me: failed program was:" >&5
35215 sed 's/^/| /' conftest.$ac_ext >&5
35217 ( exit $ac_status )
35218 wx_cv_func_snprintf_pos_params=yes
35220 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35227 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35228 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35230 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35231 cat >>confdefs.h <<\_ACEOF
35232 #define HAVE_UNIX98_PRINTF 1
35239 if test "$wxUSE_UNICODE" = yes; then
35241 wchar_headers="#include <stdio.h>
35242 #include <wchar.h>"
35246 for ac_header in widec.h
35248 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35249 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35251 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35252 echo $ECHO_N "(cached) $ECHO_C" >&6
35254 cat >conftest.$ac_ext <<_ACEOF
35257 cat confdefs.h >>conftest.$ac_ext
35258 cat >>conftest.$ac_ext <<_ACEOF
35259 /* end confdefs.h. */
35260 $ac_includes_default
35262 #include <$ac_header>
35264 rm -f conftest.$ac_objext
35265 if { (ac_try="$ac_compile"
35266 case "(($ac_try" in
35267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35268 *) ac_try_echo=$ac_try;;
35270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35271 (eval "$ac_compile") 2>conftest.er1
35273 grep -v '^ *+' conftest.er1 >conftest.err
35275 cat conftest.err >&5
35276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35277 (exit $ac_status); } && {
35278 test -z "$ac_c_werror_flag" ||
35279 test ! -s conftest.err
35280 } && test -s conftest.$ac_objext; then
35281 eval "$as_ac_Header=yes"
35283 echo "$as_me: failed program was:" >&5
35284 sed 's/^/| /' conftest.$ac_ext >&5
35286 eval "$as_ac_Header=no"
35289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35291 ac_res=`eval echo '${'$as_ac_Header'}'`
35292 { echo "$as_me:$LINENO: result: $ac_res" >&5
35293 echo "${ECHO_T}$ac_res" >&6; }
35294 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35295 cat >>confdefs.h <<_ACEOF
35296 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35303 if test "$ac_cv_header_widec_h" = "yes"; then
35304 wchar_headers="$wchar_headers
35305 #include <widec.h>"
35310 for wx_func in putws fputws wprintf vswprintf vswscanf
35312 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35313 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35314 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35315 echo $ECHO_N "(cached) $ECHO_C" >&6
35318 cat >conftest.$ac_ext <<_ACEOF
35322 cat confdefs.h >>conftest.$ac_ext
35323 cat >>conftest.$ac_ext <<_ACEOF
35324 /* end confdefs.h. */
35327 $ac_includes_default
35343 rm -f conftest.$ac_objext conftest$ac_exeext
35344 if { (ac_try="$ac_link"
35345 case "(($ac_try" in
35346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35347 *) ac_try_echo=$ac_try;;
35349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35350 (eval "$ac_link") 2>conftest.er1
35352 grep -v '^ *+' conftest.er1 >conftest.err
35354 cat conftest.err >&5
35355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35356 (exit $ac_status); } && {
35357 test -z "$ac_c_werror_flag" ||
35358 test ! -s conftest.err
35359 } && test -s conftest$ac_exeext &&
35360 $as_test_x conftest$ac_exeext; then
35361 eval wx_cv_func_$wx_func=yes
35363 echo "$as_me: failed program was:" >&5
35364 sed 's/^/| /' conftest.$ac_ext >&5
35366 eval wx_cv_func_$wx_func=no
35369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35370 conftest$ac_exeext conftest.$ac_ext
35373 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35374 { echo "$as_me:$LINENO: result: $ac_res" >&5
35375 echo "${ECHO_T}$ac_res" >&6; }
35377 if eval test \$wx_cv_func_$wx_func = yes
35379 cat >>confdefs.h <<_ACEOF
35380 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35391 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35392 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35393 cat >conftest.$ac_ext <<_ACEOF
35396 cat confdefs.h >>conftest.$ac_ext
35397 cat >>conftest.$ac_ext <<_ACEOF
35398 /* end confdefs.h. */
35408 rm -f conftest.$ac_objext
35409 if { (ac_try="$ac_compile"
35410 case "(($ac_try" in
35411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35412 *) ac_try_echo=$ac_try;;
35414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35415 (eval "$ac_compile") 2>conftest.er1
35417 grep -v '^ *+' conftest.er1 >conftest.err
35419 cat conftest.err >&5
35420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35421 (exit $ac_status); } && {
35422 test -z "$ac_c_werror_flag" ||
35423 test ! -s conftest.err
35424 } && test -s conftest.$ac_objext; then
35425 { echo "$as_me:$LINENO: result: yes" >&5
35426 echo "${ECHO_T}yes" >&6; }
35427 cat >>confdefs.h <<\_ACEOF
35428 #define HAVE__VSNWPRINTF 1
35432 echo "$as_me: failed program was:" >&5
35433 sed 's/^/| /' conftest.$ac_ext >&5
35435 { echo "$as_me:$LINENO: result: no" >&5
35436 echo "${ECHO_T}no" >&6; }
35439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35442 if test "$wxUSE_FILE" = "yes"; then
35444 for wx_func in fsync
35446 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35447 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35448 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35449 echo $ECHO_N "(cached) $ECHO_C" >&6
35452 cat >conftest.$ac_ext <<_ACEOF
35456 cat confdefs.h >>conftest.$ac_ext
35457 cat >>conftest.$ac_ext <<_ACEOF
35458 /* end confdefs.h. */
35461 $ac_includes_default
35477 rm -f conftest.$ac_objext conftest$ac_exeext
35478 if { (ac_try="$ac_link"
35479 case "(($ac_try" in
35480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35481 *) ac_try_echo=$ac_try;;
35483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35484 (eval "$ac_link") 2>conftest.er1
35486 grep -v '^ *+' conftest.er1 >conftest.err
35488 cat conftest.err >&5
35489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35490 (exit $ac_status); } && {
35491 test -z "$ac_c_werror_flag" ||
35492 test ! -s conftest.err
35493 } && test -s conftest$ac_exeext &&
35494 $as_test_x conftest$ac_exeext; then
35495 eval wx_cv_func_$wx_func=yes
35497 echo "$as_me: failed program was:" >&5
35498 sed 's/^/| /' conftest.$ac_ext >&5
35500 eval wx_cv_func_$wx_func=no
35503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35504 conftest$ac_exeext conftest.$ac_ext
35507 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35508 { echo "$as_me:$LINENO: result: $ac_res" >&5
35509 echo "${ECHO_T}$ac_res" >&6; }
35511 if eval test \$wx_cv_func_$wx_func = yes
35513 cat >>confdefs.h <<_ACEOF
35514 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35527 ac_cpp='$CXXCPP $CPPFLAGS'
35528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35533 for wx_func in round
35535 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35536 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35537 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35538 echo $ECHO_N "(cached) $ECHO_C" >&6
35541 cat >conftest.$ac_ext <<_ACEOF
35545 cat confdefs.h >>conftest.$ac_ext
35546 cat >>conftest.$ac_ext <<_ACEOF
35547 /* end confdefs.h. */
35550 $ac_includes_default
35566 rm -f conftest.$ac_objext conftest$ac_exeext
35567 if { (ac_try="$ac_link"
35568 case "(($ac_try" in
35569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35570 *) ac_try_echo=$ac_try;;
35572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35573 (eval "$ac_link") 2>conftest.er1
35575 grep -v '^ *+' conftest.er1 >conftest.err
35577 cat conftest.err >&5
35578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35579 (exit $ac_status); } && {
35580 test -z "$ac_cxx_werror_flag" ||
35581 test ! -s conftest.err
35582 } && test -s conftest$ac_exeext &&
35583 $as_test_x conftest$ac_exeext; then
35584 eval wx_cv_func_$wx_func=yes
35586 echo "$as_me: failed program was:" >&5
35587 sed 's/^/| /' conftest.$ac_ext >&5
35589 eval wx_cv_func_$wx_func=no
35592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35593 conftest$ac_exeext conftest.$ac_ext
35596 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35597 { echo "$as_me:$LINENO: result: $ac_res" >&5
35598 echo "${ECHO_T}$ac_res" >&6; }
35600 if eval test \$wx_cv_func_$wx_func = yes
35602 cat >>confdefs.h <<_ACEOF
35603 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35614 ac_cpp='$CPP $CPPFLAGS'
35615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35620 if test "$TOOLKIT" != "MSW"; then
35622 if test "$wxUSE_LIBICONV" != "no" ; then
35626 # Check whether --with-libiconv-prefix was given.
35627 if test "${with_libiconv_prefix+set}" = set; then
35628 withval=$with_libiconv_prefix;
35629 for dir in `echo "$withval" | tr : ' '`; do
35630 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35631 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35637 { echo "$as_me:$LINENO: checking for iconv" >&5
35638 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35639 if test "${am_cv_func_iconv+set}" = set; then
35640 echo $ECHO_N "(cached) $ECHO_C" >&6
35643 am_cv_func_iconv="no, consider installing GNU libiconv"
35645 cat >conftest.$ac_ext <<_ACEOF
35648 cat confdefs.h >>conftest.$ac_ext
35649 cat >>conftest.$ac_ext <<_ACEOF
35650 /* end confdefs.h. */
35651 #include <stdlib.h>
35656 iconv_t cd = iconv_open("","");
35657 iconv(cd,NULL,NULL,NULL,NULL);
35663 rm -f conftest.$ac_objext conftest$ac_exeext
35664 if { (ac_try="$ac_link"
35665 case "(($ac_try" in
35666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35667 *) ac_try_echo=$ac_try;;
35669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35670 (eval "$ac_link") 2>conftest.er1
35672 grep -v '^ *+' conftest.er1 >conftest.err
35674 cat conftest.err >&5
35675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35676 (exit $ac_status); } && {
35677 test -z "$ac_c_werror_flag" ||
35678 test ! -s conftest.err
35679 } && test -s conftest$ac_exeext &&
35680 $as_test_x conftest$ac_exeext; then
35681 am_cv_func_iconv=yes
35683 echo "$as_me: failed program was:" >&5
35684 sed 's/^/| /' conftest.$ac_ext >&5
35689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35690 conftest$ac_exeext conftest.$ac_ext
35691 if test "$am_cv_func_iconv" != yes; then
35692 am_save_LIBS="$LIBS"
35693 LIBS="$LIBS -liconv"
35694 cat >conftest.$ac_ext <<_ACEOF
35697 cat confdefs.h >>conftest.$ac_ext
35698 cat >>conftest.$ac_ext <<_ACEOF
35699 /* end confdefs.h. */
35700 #include <stdlib.h>
35705 iconv_t cd = iconv_open("","");
35706 iconv(cd,NULL,NULL,NULL,NULL);
35712 rm -f conftest.$ac_objext conftest$ac_exeext
35713 if { (ac_try="$ac_link"
35714 case "(($ac_try" in
35715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35716 *) ac_try_echo=$ac_try;;
35718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35719 (eval "$ac_link") 2>conftest.er1
35721 grep -v '^ *+' conftest.er1 >conftest.err
35723 cat conftest.err >&5
35724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35725 (exit $ac_status); } && {
35726 test -z "$ac_c_werror_flag" ||
35727 test ! -s conftest.err
35728 } && test -s conftest$ac_exeext &&
35729 $as_test_x conftest$ac_exeext; then
35730 am_cv_lib_iconv=yes
35731 am_cv_func_iconv=yes
35733 echo "$as_me: failed program was:" >&5
35734 sed 's/^/| /' conftest.$ac_ext >&5
35739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35740 conftest$ac_exeext conftest.$ac_ext
35741 LIBS="$am_save_LIBS"
35745 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35746 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35747 if test "$am_cv_func_iconv" = yes; then
35749 cat >>confdefs.h <<\_ACEOF
35750 #define HAVE_ICONV 1
35753 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35754 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35755 if test "${wx_cv_func_iconv_const+set}" = set; then
35756 echo $ECHO_N "(cached) $ECHO_C" >&6
35758 cat >conftest.$ac_ext <<_ACEOF
35761 cat confdefs.h >>conftest.$ac_ext
35762 cat >>conftest.$ac_ext <<_ACEOF
35763 /* end confdefs.h. */
35765 #include <stdlib.h>
35771 #if defined(__STDC__) || defined(__cplusplus)
35772 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35785 rm -f conftest.$ac_objext
35786 if { (ac_try="$ac_compile"
35787 case "(($ac_try" in
35788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35789 *) ac_try_echo=$ac_try;;
35791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35792 (eval "$ac_compile") 2>conftest.er1
35794 grep -v '^ *+' conftest.er1 >conftest.err
35796 cat conftest.err >&5
35797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35798 (exit $ac_status); } && {
35799 test -z "$ac_c_werror_flag" ||
35800 test ! -s conftest.err
35801 } && test -s conftest.$ac_objext; then
35802 wx_cv_func_iconv_const="no"
35804 echo "$as_me: failed program was:" >&5
35805 sed 's/^/| /' conftest.$ac_ext >&5
35807 wx_cv_func_iconv_const="yes"
35811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35814 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35815 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35818 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35819 iconv_const="const"
35823 cat >>confdefs.h <<_ACEOF
35824 #define ICONV_CONST $iconv_const
35829 if test "$am_cv_lib_iconv" = yes; then
35834 LIBS="$LIBICONV $LIBS"
35837 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35839 for ac_func in sigaction
35841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35842 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35844 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35845 echo $ECHO_N "(cached) $ECHO_C" >&6
35847 cat >conftest.$ac_ext <<_ACEOF
35850 cat confdefs.h >>conftest.$ac_ext
35851 cat >>conftest.$ac_ext <<_ACEOF
35852 /* end confdefs.h. */
35853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35855 #define $ac_func innocuous_$ac_func
35857 /* System header to define __stub macros and hopefully few prototypes,
35858 which can conflict with char $ac_func (); below.
35859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35860 <limits.h> exists even on freestanding compilers. */
35863 # include <limits.h>
35865 # include <assert.h>
35870 /* Override any GCC internal prototype to avoid an error.
35871 Use char because int might match the return type of a GCC
35872 builtin and then its argument prototype would still apply. */
35877 /* The GNU C library defines this for functions which it implements
35878 to always fail with ENOSYS. Some functions are actually named
35879 something starting with __ and the normal name is an alias. */
35880 #if defined __stub_$ac_func || defined __stub___$ac_func
35887 return $ac_func ();
35892 rm -f conftest.$ac_objext conftest$ac_exeext
35893 if { (ac_try="$ac_link"
35894 case "(($ac_try" in
35895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35896 *) ac_try_echo=$ac_try;;
35898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35899 (eval "$ac_link") 2>conftest.er1
35901 grep -v '^ *+' conftest.er1 >conftest.err
35903 cat conftest.err >&5
35904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35905 (exit $ac_status); } && {
35906 test -z "$ac_c_werror_flag" ||
35907 test ! -s conftest.err
35908 } && test -s conftest$ac_exeext &&
35909 $as_test_x conftest$ac_exeext; then
35910 eval "$as_ac_var=yes"
35912 echo "$as_me: failed program was:" >&5
35913 sed 's/^/| /' conftest.$ac_ext >&5
35915 eval "$as_ac_var=no"
35918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35919 conftest$ac_exeext conftest.$ac_ext
35921 ac_res=`eval echo '${'$as_ac_var'}'`
35922 { echo "$as_me:$LINENO: result: $ac_res" >&5
35923 echo "${ECHO_T}$ac_res" >&6; }
35924 if test `eval echo '${'$as_ac_var'}'` = yes; then
35925 cat >>confdefs.h <<_ACEOF
35926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35933 if test "$ac_cv_func_sigaction" = "no"; then
35934 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35935 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35936 wxUSE_ON_FATAL_EXCEPTION=no
35939 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35940 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35941 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35942 if test "${wx_cv_type_sa_handler+set}" = set; then
35943 echo $ECHO_N "(cached) $ECHO_C" >&6
35947 ac_cpp='$CXXCPP $CPPFLAGS'
35948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35952 cat >conftest.$ac_ext <<_ACEOF
35955 cat confdefs.h >>conftest.$ac_ext
35956 cat >>conftest.$ac_ext <<_ACEOF
35957 /* end confdefs.h. */
35958 #include <signal.h>
35963 extern void testSigHandler(int);
35965 struct sigaction sa;
35966 sa.sa_handler = testSigHandler;
35972 rm -f conftest.$ac_objext
35973 if { (ac_try="$ac_compile"
35974 case "(($ac_try" in
35975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35976 *) ac_try_echo=$ac_try;;
35978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35979 (eval "$ac_compile") 2>conftest.er1
35981 grep -v '^ *+' conftest.er1 >conftest.err
35983 cat conftest.err >&5
35984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35985 (exit $ac_status); } && {
35986 test -z "$ac_cxx_werror_flag" ||
35987 test ! -s conftest.err
35988 } && test -s conftest.$ac_objext; then
35990 wx_cv_type_sa_handler=int
35993 echo "$as_me: failed program was:" >&5
35994 sed 's/^/| /' conftest.$ac_ext >&5
35997 wx_cv_type_sa_handler=void
36001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36003 ac_cpp='$CPP $CPPFLAGS'
36004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36010 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36011 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36013 cat >>confdefs.h <<_ACEOF
36014 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36020 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36021 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36022 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36023 if test "${wx_cv_func_backtrace+set}" = set; then
36024 echo $ECHO_N "(cached) $ECHO_C" >&6
36028 ac_cpp='$CXXCPP $CPPFLAGS'
36029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36033 cat >conftest.$ac_ext <<_ACEOF
36036 cat confdefs.h >>conftest.$ac_ext
36037 cat >>conftest.$ac_ext <<_ACEOF
36038 /* end confdefs.h. */
36039 #include <execinfo.h>
36047 backtrace(trace, 1);
36048 messages = backtrace_symbols(trace, 1);
36054 rm -f conftest.$ac_objext
36055 if { (ac_try="$ac_compile"
36056 case "(($ac_try" in
36057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36058 *) ac_try_echo=$ac_try;;
36060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36061 (eval "$ac_compile") 2>conftest.er1
36063 grep -v '^ *+' conftest.er1 >conftest.err
36065 cat conftest.err >&5
36066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36067 (exit $ac_status); } && {
36068 test -z "$ac_cxx_werror_flag" ||
36069 test ! -s conftest.err
36070 } && test -s conftest.$ac_objext; then
36071 wx_cv_func_backtrace=yes
36073 echo "$as_me: failed program was:" >&5
36074 sed 's/^/| /' conftest.$ac_ext >&5
36076 wx_cv_func_backtrace=no
36080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36082 ac_cpp='$CPP $CPPFLAGS'
36083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36090 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36091 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36094 if test "$wx_cv_func_backtrace" = "no"; then
36095 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36096 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36097 wxUSE_STACKWALKER=no
36099 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36100 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36101 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36102 echo $ECHO_N "(cached) $ECHO_C" >&6
36106 ac_cpp='$CXXCPP $CPPFLAGS'
36107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36111 cat >conftest.$ac_ext <<_ACEOF
36114 cat confdefs.h >>conftest.$ac_ext
36115 cat >>conftest.$ac_ext <<_ACEOF
36116 /* end confdefs.h. */
36117 #include <cxxabi.h>
36123 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36129 rm -f conftest.$ac_objext conftest$ac_exeext
36130 if { (ac_try="$ac_link"
36131 case "(($ac_try" in
36132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36133 *) ac_try_echo=$ac_try;;
36135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36136 (eval "$ac_link") 2>conftest.er1
36138 grep -v '^ *+' conftest.er1 >conftest.err
36140 cat conftest.err >&5
36141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36142 (exit $ac_status); } && {
36143 test -z "$ac_cxx_werror_flag" ||
36144 test ! -s conftest.err
36145 } && test -s conftest$ac_exeext &&
36146 $as_test_x conftest$ac_exeext; then
36147 wx_cv_func_cxa_demangle=yes
36149 echo "$as_me: failed program was:" >&5
36150 sed 's/^/| /' conftest.$ac_ext >&5
36152 wx_cv_func_cxa_demangle=no
36156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36157 conftest$ac_exeext conftest.$ac_ext
36159 ac_cpp='$CPP $CPPFLAGS'
36160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36167 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36168 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36170 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36171 cat >>confdefs.h <<\_ACEOF
36172 #define HAVE_CXA_DEMANGLE 1
36179 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36180 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36181 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36182 wxUSE_STACKWALKER=no
36188 for ac_func in mkstemp mktemp
36190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36191 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36193 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36194 echo $ECHO_N "(cached) $ECHO_C" >&6
36196 cat >conftest.$ac_ext <<_ACEOF
36199 cat confdefs.h >>conftest.$ac_ext
36200 cat >>conftest.$ac_ext <<_ACEOF
36201 /* end confdefs.h. */
36202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36204 #define $ac_func innocuous_$ac_func
36206 /* System header to define __stub macros and hopefully few prototypes,
36207 which can conflict with char $ac_func (); below.
36208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36209 <limits.h> exists even on freestanding compilers. */
36212 # include <limits.h>
36214 # include <assert.h>
36219 /* Override any GCC internal prototype to avoid an error.
36220 Use char because int might match the return type of a GCC
36221 builtin and then its argument prototype would still apply. */
36226 /* The GNU C library defines this for functions which it implements
36227 to always fail with ENOSYS. Some functions are actually named
36228 something starting with __ and the normal name is an alias. */
36229 #if defined __stub_$ac_func || defined __stub___$ac_func
36236 return $ac_func ();
36241 rm -f conftest.$ac_objext conftest$ac_exeext
36242 if { (ac_try="$ac_link"
36243 case "(($ac_try" in
36244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36245 *) ac_try_echo=$ac_try;;
36247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36248 (eval "$ac_link") 2>conftest.er1
36250 grep -v '^ *+' conftest.er1 >conftest.err
36252 cat conftest.err >&5
36253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36254 (exit $ac_status); } && {
36255 test -z "$ac_c_werror_flag" ||
36256 test ! -s conftest.err
36257 } && test -s conftest$ac_exeext &&
36258 $as_test_x conftest$ac_exeext; then
36259 eval "$as_ac_var=yes"
36261 echo "$as_me: failed program was:" >&5
36262 sed 's/^/| /' conftest.$ac_ext >&5
36264 eval "$as_ac_var=no"
36267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36268 conftest$ac_exeext conftest.$ac_ext
36270 ac_res=`eval echo '${'$as_ac_var'}'`
36271 { echo "$as_me:$LINENO: result: $ac_res" >&5
36272 echo "${ECHO_T}$ac_res" >&6; }
36273 if test `eval echo '${'$as_ac_var'}'` = yes; then
36274 cat >>confdefs.h <<_ACEOF
36275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36282 { echo "$as_me:$LINENO: checking for statfs" >&5
36283 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36284 if test "${wx_cv_func_statfs+set}" = set; then
36285 echo $ECHO_N "(cached) $ECHO_C" >&6
36287 cat >conftest.$ac_ext <<_ACEOF
36290 cat confdefs.h >>conftest.$ac_ext
36291 cat >>conftest.$ac_ext <<_ACEOF
36292 /* end confdefs.h. */
36294 #if defined(__BSD__)
36295 #include <sys/param.h>
36296 #include <sys/mount.h>
36298 #include <sys/vfs.h>
36316 rm -f conftest.$ac_objext
36317 if { (ac_try="$ac_compile"
36318 case "(($ac_try" in
36319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36320 *) ac_try_echo=$ac_try;;
36322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36323 (eval "$ac_compile") 2>conftest.er1
36325 grep -v '^ *+' conftest.er1 >conftest.err
36327 cat conftest.err >&5
36328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36329 (exit $ac_status); } && {
36330 test -z "$ac_c_werror_flag" ||
36331 test ! -s conftest.err
36332 } && test -s conftest.$ac_objext; then
36333 wx_cv_func_statfs=yes
36335 echo "$as_me: failed program was:" >&5
36336 sed 's/^/| /' conftest.$ac_ext >&5
36338 wx_cv_func_statfs=no
36342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36345 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36346 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36348 if test "$wx_cv_func_statfs" = "yes"; then
36349 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36350 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36351 if test "${wx_cv_func_statfs_decl+set}" = set; then
36352 echo $ECHO_N "(cached) $ECHO_C" >&6
36355 ac_cpp='$CXXCPP $CPPFLAGS'
36356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36360 cat >conftest.$ac_ext <<_ACEOF
36363 cat confdefs.h >>conftest.$ac_ext
36364 cat >>conftest.$ac_ext <<_ACEOF
36365 /* end confdefs.h. */
36367 #if defined(__BSD__)
36368 #include <sys/param.h>
36369 #include <sys/mount.h>
36371 #include <sys/vfs.h>
36385 rm -f conftest.$ac_objext
36386 if { (ac_try="$ac_compile"
36387 case "(($ac_try" in
36388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36389 *) ac_try_echo=$ac_try;;
36391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36392 (eval "$ac_compile") 2>conftest.er1
36394 grep -v '^ *+' conftest.er1 >conftest.err
36396 cat conftest.err >&5
36397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36398 (exit $ac_status); } && {
36399 test -z "$ac_cxx_werror_flag" ||
36400 test ! -s conftest.err
36401 } && test -s conftest.$ac_objext; then
36402 wx_cv_func_statfs_decl=yes
36404 echo "$as_me: failed program was:" >&5
36405 sed 's/^/| /' conftest.$ac_ext >&5
36407 wx_cv_func_statfs_decl=no
36411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36413 ac_cpp='$CPP $CPPFLAGS'
36414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36420 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36421 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36423 if test "$wx_cv_func_statfs_decl" = "yes"; then
36424 cat >>confdefs.h <<\_ACEOF
36425 #define HAVE_STATFS_DECL 1
36430 wx_cv_type_statvfs_t="struct statfs"
36431 cat >>confdefs.h <<\_ACEOF
36432 #define HAVE_STATFS 1
36436 { echo "$as_me:$LINENO: checking for statvfs" >&5
36437 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36438 if test "${wx_cv_func_statvfs+set}" = set; then
36439 echo $ECHO_N "(cached) $ECHO_C" >&6
36441 cat >conftest.$ac_ext <<_ACEOF
36444 cat confdefs.h >>conftest.$ac_ext
36445 cat >>conftest.$ac_ext <<_ACEOF
36446 /* end confdefs.h. */
36448 #include <stddef.h>
36449 #include <sys/statvfs.h>
36455 statvfs("/", NULL);
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_c_werror_flag" ||
36476 test ! -s conftest.err
36477 } && test -s conftest.$ac_objext; then
36478 wx_cv_func_statvfs=yes
36480 echo "$as_me: failed program was:" >&5
36481 sed 's/^/| /' conftest.$ac_ext >&5
36483 wx_cv_func_statvfs=no
36487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36490 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36491 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36493 if test "$wx_cv_func_statvfs" = "yes"; then
36494 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36495 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36496 if test "${wx_cv_type_statvfs_t+set}" = set; then
36497 echo $ECHO_N "(cached) $ECHO_C" >&6
36500 ac_cpp='$CXXCPP $CPPFLAGS'
36501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36505 cat >conftest.$ac_ext <<_ACEOF
36508 cat confdefs.h >>conftest.$ac_ext
36509 cat >>conftest.$ac_ext <<_ACEOF
36510 /* end confdefs.h. */
36512 #include <sys/statvfs.h>
36529 rm -f conftest.$ac_objext
36530 if { (ac_try="$ac_compile"
36531 case "(($ac_try" in
36532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36533 *) ac_try_echo=$ac_try;;
36535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36536 (eval "$ac_compile") 2>conftest.er1
36538 grep -v '^ *+' conftest.er1 >conftest.err
36540 cat conftest.err >&5
36541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36542 (exit $ac_status); } && {
36543 test -z "$ac_cxx_werror_flag" ||
36544 test ! -s conftest.err
36545 } && test -s conftest.$ac_objext; then
36546 wx_cv_type_statvfs_t=statvfs_t
36548 echo "$as_me: failed program was:" >&5
36549 sed 's/^/| /' conftest.$ac_ext >&5
36552 cat >conftest.$ac_ext <<_ACEOF
36555 cat confdefs.h >>conftest.$ac_ext
36556 cat >>conftest.$ac_ext <<_ACEOF
36557 /* end confdefs.h. */
36559 #include <sys/statvfs.h>
36576 rm -f conftest.$ac_objext
36577 if { (ac_try="$ac_compile"
36578 case "(($ac_try" in
36579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36580 *) ac_try_echo=$ac_try;;
36582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36583 (eval "$ac_compile") 2>conftest.er1
36585 grep -v '^ *+' conftest.er1 >conftest.err
36587 cat conftest.err >&5
36588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36589 (exit $ac_status); } && {
36590 test -z "$ac_cxx_werror_flag" ||
36591 test ! -s conftest.err
36592 } && test -s conftest.$ac_objext; then
36593 wx_cv_type_statvfs_t="struct statvfs"
36595 echo "$as_me: failed program was:" >&5
36596 sed 's/^/| /' conftest.$ac_ext >&5
36598 wx_cv_type_statvfs_t="unknown"
36602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36609 ac_cpp='$CPP $CPPFLAGS'
36610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36616 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36617 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36619 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36620 cat >>confdefs.h <<\_ACEOF
36621 #define HAVE_STATVFS 1
36626 wx_cv_type_statvfs_t="unknown"
36630 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36631 cat >>confdefs.h <<_ACEOF
36632 #define WX_STATFS_T $wx_cv_type_statvfs_t
36636 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36637 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36640 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36643 for ac_func in fcntl flock
36645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36646 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36648 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36649 echo $ECHO_N "(cached) $ECHO_C" >&6
36651 cat >conftest.$ac_ext <<_ACEOF
36654 cat confdefs.h >>conftest.$ac_ext
36655 cat >>conftest.$ac_ext <<_ACEOF
36656 /* end confdefs.h. */
36657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36659 #define $ac_func innocuous_$ac_func
36661 /* System header to define __stub macros and hopefully few prototypes,
36662 which can conflict with char $ac_func (); below.
36663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36664 <limits.h> exists even on freestanding compilers. */
36667 # include <limits.h>
36669 # include <assert.h>
36674 /* Override any GCC internal prototype to avoid an error.
36675 Use char because int might match the return type of a GCC
36676 builtin and then its argument prototype would still apply. */
36681 /* The GNU C library defines this for functions which it implements
36682 to always fail with ENOSYS. Some functions are actually named
36683 something starting with __ and the normal name is an alias. */
36684 #if defined __stub_$ac_func || defined __stub___$ac_func
36691 return $ac_func ();
36696 rm -f conftest.$ac_objext conftest$ac_exeext
36697 if { (ac_try="$ac_link"
36698 case "(($ac_try" in
36699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36700 *) ac_try_echo=$ac_try;;
36702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36703 (eval "$ac_link") 2>conftest.er1
36705 grep -v '^ *+' conftest.er1 >conftest.err
36707 cat conftest.err >&5
36708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36709 (exit $ac_status); } && {
36710 test -z "$ac_c_werror_flag" ||
36711 test ! -s conftest.err
36712 } && test -s conftest$ac_exeext &&
36713 $as_test_x conftest$ac_exeext; then
36714 eval "$as_ac_var=yes"
36716 echo "$as_me: failed program was:" >&5
36717 sed 's/^/| /' conftest.$ac_ext >&5
36719 eval "$as_ac_var=no"
36722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36723 conftest$ac_exeext conftest.$ac_ext
36725 ac_res=`eval echo '${'$as_ac_var'}'`
36726 { echo "$as_me:$LINENO: result: $ac_res" >&5
36727 echo "${ECHO_T}$ac_res" >&6; }
36728 if test `eval echo '${'$as_ac_var'}'` = yes; then
36729 cat >>confdefs.h <<_ACEOF
36730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36737 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36738 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36739 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36740 wxUSE_SNGLINST_CHECKER=no
36746 for ac_func in setenv putenv
36748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36749 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36751 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36752 echo $ECHO_N "(cached) $ECHO_C" >&6
36754 cat >conftest.$ac_ext <<_ACEOF
36757 cat confdefs.h >>conftest.$ac_ext
36758 cat >>conftest.$ac_ext <<_ACEOF
36759 /* end confdefs.h. */
36760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36762 #define $ac_func innocuous_$ac_func
36764 /* System header to define __stub macros and hopefully few prototypes,
36765 which can conflict with char $ac_func (); below.
36766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36767 <limits.h> exists even on freestanding compilers. */
36770 # include <limits.h>
36772 # include <assert.h>
36777 /* Override any GCC internal prototype to avoid an error.
36778 Use char because int might match the return type of a GCC
36779 builtin and then its argument prototype would still apply. */
36784 /* The GNU C library defines this for functions which it implements
36785 to always fail with ENOSYS. Some functions are actually named
36786 something starting with __ and the normal name is an alias. */
36787 #if defined __stub_$ac_func || defined __stub___$ac_func
36794 return $ac_func ();
36799 rm -f conftest.$ac_objext conftest$ac_exeext
36800 if { (ac_try="$ac_link"
36801 case "(($ac_try" in
36802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36803 *) ac_try_echo=$ac_try;;
36805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36806 (eval "$ac_link") 2>conftest.er1
36808 grep -v '^ *+' conftest.er1 >conftest.err
36810 cat conftest.err >&5
36811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36812 (exit $ac_status); } && {
36813 test -z "$ac_c_werror_flag" ||
36814 test ! -s conftest.err
36815 } && test -s conftest$ac_exeext &&
36816 $as_test_x conftest$ac_exeext; then
36817 eval "$as_ac_var=yes"
36819 echo "$as_me: failed program was:" >&5
36820 sed 's/^/| /' conftest.$ac_ext >&5
36822 eval "$as_ac_var=no"
36825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36826 conftest$ac_exeext conftest.$ac_ext
36828 ac_res=`eval echo '${'$as_ac_var'}'`
36829 { echo "$as_me:$LINENO: result: $ac_res" >&5
36830 echo "${ECHO_T}$ac_res" >&6; }
36831 if test `eval echo '${'$as_ac_var'}'` = yes; then
36832 cat >>confdefs.h <<_ACEOF
36833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36839 if test "$ac_cv_func_setenv" = "yes"; then
36841 for ac_func in unsetenv
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
36936 HAVE_SOME_SLEEP_FUNC=0
36937 if test "$USE_BEOS" = 1; then
36938 cat >>confdefs.h <<\_ACEOF
36939 #define HAVE_SLEEP 1
36942 HAVE_SOME_SLEEP_FUNC=1
36945 if test "$USE_DARWIN" = 1; then
36946 cat >>confdefs.h <<\_ACEOF
36947 #define HAVE_USLEEP 1
36950 HAVE_SOME_SLEEP_FUNC=1
36953 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36956 for ac_func in nanosleep
36958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36959 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36961 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36962 echo $ECHO_N "(cached) $ECHO_C" >&6
36964 cat >conftest.$ac_ext <<_ACEOF
36967 cat confdefs.h >>conftest.$ac_ext
36968 cat >>conftest.$ac_ext <<_ACEOF
36969 /* end confdefs.h. */
36970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36972 #define $ac_func innocuous_$ac_func
36974 /* System header to define __stub macros and hopefully few prototypes,
36975 which can conflict with char $ac_func (); below.
36976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36977 <limits.h> exists even on freestanding compilers. */
36980 # include <limits.h>
36982 # include <assert.h>
36987 /* Override any GCC internal prototype to avoid an error.
36988 Use char because int might match the return type of a GCC
36989 builtin and then its argument prototype would still apply. */
36994 /* The GNU C library defines this for functions which it implements
36995 to always fail with ENOSYS. Some functions are actually named
36996 something starting with __ and the normal name is an alias. */
36997 #if defined __stub_$ac_func || defined __stub___$ac_func
37004 return $ac_func ();
37009 rm -f conftest.$ac_objext conftest$ac_exeext
37010 if { (ac_try="$ac_link"
37011 case "(($ac_try" in
37012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37013 *) ac_try_echo=$ac_try;;
37015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37016 (eval "$ac_link") 2>conftest.er1
37018 grep -v '^ *+' conftest.er1 >conftest.err
37020 cat conftest.err >&5
37021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37022 (exit $ac_status); } && {
37023 test -z "$ac_c_werror_flag" ||
37024 test ! -s conftest.err
37025 } && test -s conftest$ac_exeext &&
37026 $as_test_x conftest$ac_exeext; then
37027 eval "$as_ac_var=yes"
37029 echo "$as_me: failed program was:" >&5
37030 sed 's/^/| /' conftest.$ac_ext >&5
37032 eval "$as_ac_var=no"
37035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37036 conftest$ac_exeext conftest.$ac_ext
37038 ac_res=`eval echo '${'$as_ac_var'}'`
37039 { echo "$as_me:$LINENO: result: $ac_res" >&5
37040 echo "${ECHO_T}$ac_res" >&6; }
37041 if test `eval echo '${'$as_ac_var'}'` = yes; then
37042 cat >>confdefs.h <<_ACEOF
37043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37045 cat >>confdefs.h <<\_ACEOF
37046 #define HAVE_NANOSLEEP 1
37051 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37052 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37053 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37054 echo $ECHO_N "(cached) $ECHO_C" >&6
37056 ac_check_lib_save_LIBS=$LIBS
37057 LIBS="-lposix4 $LIBS"
37058 cat >conftest.$ac_ext <<_ACEOF
37061 cat confdefs.h >>conftest.$ac_ext
37062 cat >>conftest.$ac_ext <<_ACEOF
37063 /* end confdefs.h. */
37065 /* Override any GCC internal prototype to avoid an error.
37066 Use char because int might match the return type of a GCC
37067 builtin and then its argument prototype would still apply. */
37075 return nanosleep ();
37080 rm -f conftest.$ac_objext conftest$ac_exeext
37081 if { (ac_try="$ac_link"
37082 case "(($ac_try" in
37083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37084 *) ac_try_echo=$ac_try;;
37086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37087 (eval "$ac_link") 2>conftest.er1
37089 grep -v '^ *+' conftest.er1 >conftest.err
37091 cat conftest.err >&5
37092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37093 (exit $ac_status); } && {
37094 test -z "$ac_c_werror_flag" ||
37095 test ! -s conftest.err
37096 } && test -s conftest$ac_exeext &&
37097 $as_test_x conftest$ac_exeext; then
37098 ac_cv_lib_posix4_nanosleep=yes
37100 echo "$as_me: failed program was:" >&5
37101 sed 's/^/| /' conftest.$ac_ext >&5
37103 ac_cv_lib_posix4_nanosleep=no
37106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37107 conftest$ac_exeext conftest.$ac_ext
37108 LIBS=$ac_check_lib_save_LIBS
37110 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37111 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37112 if test $ac_cv_lib_posix4_nanosleep = yes; then
37114 cat >>confdefs.h <<\_ACEOF
37115 #define HAVE_NANOSLEEP 1
37118 POSIX4_LINK=" -lposix4"
37123 for wx_func in usleep
37125 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37126 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37127 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37128 echo $ECHO_N "(cached) $ECHO_C" >&6
37131 cat >conftest.$ac_ext <<_ACEOF
37135 cat confdefs.h >>conftest.$ac_ext
37136 cat >>conftest.$ac_ext <<_ACEOF
37137 /* end confdefs.h. */
37140 $ac_includes_default
37156 rm -f conftest.$ac_objext conftest$ac_exeext
37157 if { (ac_try="$ac_link"
37158 case "(($ac_try" in
37159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37160 *) ac_try_echo=$ac_try;;
37162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37163 (eval "$ac_link") 2>conftest.er1
37165 grep -v '^ *+' conftest.er1 >conftest.err
37167 cat conftest.err >&5
37168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37169 (exit $ac_status); } && {
37170 test -z "$ac_c_werror_flag" ||
37171 test ! -s conftest.err
37172 } && test -s conftest$ac_exeext &&
37173 $as_test_x conftest$ac_exeext; then
37174 eval wx_cv_func_$wx_func=yes
37176 echo "$as_me: failed program was:" >&5
37177 sed 's/^/| /' conftest.$ac_ext >&5
37179 eval wx_cv_func_$wx_func=no
37182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37183 conftest$ac_exeext conftest.$ac_ext
37186 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37187 { echo "$as_me:$LINENO: result: $ac_res" >&5
37188 echo "${ECHO_T}$ac_res" >&6; }
37190 if eval test \$wx_cv_func_$wx_func = yes
37192 cat >>confdefs.h <<_ACEOF
37193 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37199 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37200 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37217 for wx_func in uname
37219 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37220 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37221 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37222 echo $ECHO_N "(cached) $ECHO_C" >&6
37225 cat >conftest.$ac_ext <<_ACEOF
37229 cat confdefs.h >>conftest.$ac_ext
37230 cat >>conftest.$ac_ext <<_ACEOF
37231 /* end confdefs.h. */
37233 #include <sys/utsname.h>
37234 $ac_includes_default
37250 rm -f conftest.$ac_objext conftest$ac_exeext
37251 if { (ac_try="$ac_link"
37252 case "(($ac_try" in
37253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37254 *) ac_try_echo=$ac_try;;
37256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37257 (eval "$ac_link") 2>conftest.er1
37259 grep -v '^ *+' conftest.er1 >conftest.err
37261 cat conftest.err >&5
37262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37263 (exit $ac_status); } && {
37264 test -z "$ac_c_werror_flag" ||
37265 test ! -s conftest.err
37266 } && test -s conftest$ac_exeext &&
37267 $as_test_x conftest$ac_exeext; then
37268 eval wx_cv_func_$wx_func=yes
37270 echo "$as_me: failed program was:" >&5
37271 sed 's/^/| /' conftest.$ac_ext >&5
37273 eval wx_cv_func_$wx_func=no
37276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37277 conftest$ac_exeext conftest.$ac_ext
37280 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37281 { echo "$as_me:$LINENO: result: $ac_res" >&5
37282 echo "${ECHO_T}$ac_res" >&6; }
37284 if eval test \$wx_cv_func_$wx_func = yes
37286 cat >>confdefs.h <<_ACEOF
37287 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37297 if test "$wx_cv_func_uname" != yes; then
37299 for wx_func in gethostname
37301 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37302 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37303 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37304 echo $ECHO_N "(cached) $ECHO_C" >&6
37307 cat >conftest.$ac_ext <<_ACEOF
37311 cat confdefs.h >>conftest.$ac_ext
37312 cat >>conftest.$ac_ext <<_ACEOF
37313 /* end confdefs.h. */
37316 $ac_includes_default
37332 rm -f conftest.$ac_objext conftest$ac_exeext
37333 if { (ac_try="$ac_link"
37334 case "(($ac_try" in
37335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37336 *) ac_try_echo=$ac_try;;
37338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37339 (eval "$ac_link") 2>conftest.er1
37341 grep -v '^ *+' conftest.er1 >conftest.err
37343 cat conftest.err >&5
37344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37345 (exit $ac_status); } && {
37346 test -z "$ac_c_werror_flag" ||
37347 test ! -s conftest.err
37348 } && test -s conftest$ac_exeext &&
37349 $as_test_x conftest$ac_exeext; then
37350 eval wx_cv_func_$wx_func=yes
37352 echo "$as_me: failed program was:" >&5
37353 sed 's/^/| /' conftest.$ac_ext >&5
37355 eval wx_cv_func_$wx_func=no
37358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37359 conftest$ac_exeext conftest.$ac_ext
37362 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37363 { echo "$as_me:$LINENO: result: $ac_res" >&5
37364 echo "${ECHO_T}$ac_res" >&6; }
37366 if eval test \$wx_cv_func_$wx_func = yes
37368 cat >>confdefs.h <<_ACEOF
37369 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37382 for wx_func in strtok_r
37384 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37385 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37386 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37387 echo $ECHO_N "(cached) $ECHO_C" >&6
37390 cat >conftest.$ac_ext <<_ACEOF
37394 cat confdefs.h >>conftest.$ac_ext
37395 cat >>conftest.$ac_ext <<_ACEOF
37396 /* end confdefs.h. */
37399 $ac_includes_default
37415 rm -f conftest.$ac_objext conftest$ac_exeext
37416 if { (ac_try="$ac_link"
37417 case "(($ac_try" in
37418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37419 *) ac_try_echo=$ac_try;;
37421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37422 (eval "$ac_link") 2>conftest.er1
37424 grep -v '^ *+' conftest.er1 >conftest.err
37426 cat conftest.err >&5
37427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37428 (exit $ac_status); } && {
37429 test -z "$ac_c_werror_flag" ||
37430 test ! -s conftest.err
37431 } && test -s conftest$ac_exeext &&
37432 $as_test_x conftest$ac_exeext; then
37433 eval wx_cv_func_$wx_func=yes
37435 echo "$as_me: failed program was:" >&5
37436 sed 's/^/| /' conftest.$ac_ext >&5
37438 eval wx_cv_func_$wx_func=no
37441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37442 conftest$ac_exeext conftest.$ac_ext
37445 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37446 { echo "$as_me:$LINENO: result: $ac_res" >&5
37447 echo "${ECHO_T}$ac_res" >&6; }
37449 if eval test \$wx_cv_func_$wx_func = yes
37451 cat >>confdefs.h <<_ACEOF
37452 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37465 for ac_func in inet_addr
37467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37468 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37470 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37471 echo $ECHO_N "(cached) $ECHO_C" >&6
37473 cat >conftest.$ac_ext <<_ACEOF
37476 cat confdefs.h >>conftest.$ac_ext
37477 cat >>conftest.$ac_ext <<_ACEOF
37478 /* end confdefs.h. */
37479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37481 #define $ac_func innocuous_$ac_func
37483 /* System header to define __stub macros and hopefully few prototypes,
37484 which can conflict with char $ac_func (); below.
37485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37486 <limits.h> exists even on freestanding compilers. */
37489 # include <limits.h>
37491 # include <assert.h>
37496 /* Override any GCC internal prototype to avoid an error.
37497 Use char because int might match the return type of a GCC
37498 builtin and then its argument prototype would still apply. */
37503 /* The GNU C library defines this for functions which it implements
37504 to always fail with ENOSYS. Some functions are actually named
37505 something starting with __ and the normal name is an alias. */
37506 #if defined __stub_$ac_func || defined __stub___$ac_func
37513 return $ac_func ();
37518 rm -f conftest.$ac_objext conftest$ac_exeext
37519 if { (ac_try="$ac_link"
37520 case "(($ac_try" in
37521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37522 *) ac_try_echo=$ac_try;;
37524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37525 (eval "$ac_link") 2>conftest.er1
37527 grep -v '^ *+' conftest.er1 >conftest.err
37529 cat conftest.err >&5
37530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37531 (exit $ac_status); } && {
37532 test -z "$ac_c_werror_flag" ||
37533 test ! -s conftest.err
37534 } && test -s conftest$ac_exeext &&
37535 $as_test_x conftest$ac_exeext; then
37536 eval "$as_ac_var=yes"
37538 echo "$as_me: failed program was:" >&5
37539 sed 's/^/| /' conftest.$ac_ext >&5
37541 eval "$as_ac_var=no"
37544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37545 conftest$ac_exeext conftest.$ac_ext
37547 ac_res=`eval echo '${'$as_ac_var'}'`
37548 { echo "$as_me:$LINENO: result: $ac_res" >&5
37549 echo "${ECHO_T}$ac_res" >&6; }
37550 if test `eval echo '${'$as_ac_var'}'` = yes; then
37551 cat >>confdefs.h <<_ACEOF
37552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37554 cat >>confdefs.h <<\_ACEOF
37555 #define HAVE_INET_ADDR 1
37560 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37561 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37562 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37563 echo $ECHO_N "(cached) $ECHO_C" >&6
37565 ac_check_lib_save_LIBS=$LIBS
37567 cat >conftest.$ac_ext <<_ACEOF
37570 cat confdefs.h >>conftest.$ac_ext
37571 cat >>conftest.$ac_ext <<_ACEOF
37572 /* end confdefs.h. */
37574 /* Override any GCC internal prototype to avoid an error.
37575 Use char because int might match the return type of a GCC
37576 builtin and then its argument prototype would still apply. */
37584 return inet_addr ();
37589 rm -f conftest.$ac_objext conftest$ac_exeext
37590 if { (ac_try="$ac_link"
37591 case "(($ac_try" in
37592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37593 *) ac_try_echo=$ac_try;;
37595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37596 (eval "$ac_link") 2>conftest.er1
37598 grep -v '^ *+' conftest.er1 >conftest.err
37600 cat conftest.err >&5
37601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37602 (exit $ac_status); } && {
37603 test -z "$ac_c_werror_flag" ||
37604 test ! -s conftest.err
37605 } && test -s conftest$ac_exeext &&
37606 $as_test_x conftest$ac_exeext; then
37607 ac_cv_lib_nsl_inet_addr=yes
37609 echo "$as_me: failed program was:" >&5
37610 sed 's/^/| /' conftest.$ac_ext >&5
37612 ac_cv_lib_nsl_inet_addr=no
37615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37616 conftest$ac_exeext conftest.$ac_ext
37617 LIBS=$ac_check_lib_save_LIBS
37619 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37620 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37621 if test $ac_cv_lib_nsl_inet_addr = yes; then
37625 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37626 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37627 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37628 echo $ECHO_N "(cached) $ECHO_C" >&6
37630 ac_check_lib_save_LIBS=$LIBS
37631 LIBS="-lresolv $LIBS"
37632 cat >conftest.$ac_ext <<_ACEOF
37635 cat confdefs.h >>conftest.$ac_ext
37636 cat >>conftest.$ac_ext <<_ACEOF
37637 /* end confdefs.h. */
37639 /* Override any GCC internal prototype to avoid an error.
37640 Use char because int might match the return type of a GCC
37641 builtin and then its argument prototype would still apply. */
37649 return inet_addr ();
37654 rm -f conftest.$ac_objext conftest$ac_exeext
37655 if { (ac_try="$ac_link"
37656 case "(($ac_try" in
37657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37658 *) ac_try_echo=$ac_try;;
37660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37661 (eval "$ac_link") 2>conftest.er1
37663 grep -v '^ *+' conftest.er1 >conftest.err
37665 cat conftest.err >&5
37666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37667 (exit $ac_status); } && {
37668 test -z "$ac_c_werror_flag" ||
37669 test ! -s conftest.err
37670 } && test -s conftest$ac_exeext &&
37671 $as_test_x conftest$ac_exeext; then
37672 ac_cv_lib_resolv_inet_addr=yes
37674 echo "$as_me: failed program was:" >&5
37675 sed 's/^/| /' conftest.$ac_ext >&5
37677 ac_cv_lib_resolv_inet_addr=no
37680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37681 conftest$ac_exeext conftest.$ac_ext
37682 LIBS=$ac_check_lib_save_LIBS
37684 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37685 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37686 if test $ac_cv_lib_resolv_inet_addr = yes; then
37690 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37691 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37692 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37693 echo $ECHO_N "(cached) $ECHO_C" >&6
37695 ac_check_lib_save_LIBS=$LIBS
37696 LIBS="-lsocket $LIBS"
37697 cat >conftest.$ac_ext <<_ACEOF
37700 cat confdefs.h >>conftest.$ac_ext
37701 cat >>conftest.$ac_ext <<_ACEOF
37702 /* end confdefs.h. */
37704 /* Override any GCC internal prototype to avoid an error.
37705 Use char because int might match the return type of a GCC
37706 builtin and then its argument prototype would still apply. */
37714 return inet_addr ();
37719 rm -f conftest.$ac_objext conftest$ac_exeext
37720 if { (ac_try="$ac_link"
37721 case "(($ac_try" in
37722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37723 *) ac_try_echo=$ac_try;;
37725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37726 (eval "$ac_link") 2>conftest.er1
37728 grep -v '^ *+' conftest.er1 >conftest.err
37730 cat conftest.err >&5
37731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37732 (exit $ac_status); } && {
37733 test -z "$ac_c_werror_flag" ||
37734 test ! -s conftest.err
37735 } && test -s conftest$ac_exeext &&
37736 $as_test_x conftest$ac_exeext; then
37737 ac_cv_lib_socket_inet_addr=yes
37739 echo "$as_me: failed program was:" >&5
37740 sed 's/^/| /' conftest.$ac_ext >&5
37742 ac_cv_lib_socket_inet_addr=no
37745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37746 conftest$ac_exeext conftest.$ac_ext
37747 LIBS=$ac_check_lib_save_LIBS
37749 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37750 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37751 if test $ac_cv_lib_socket_inet_addr = yes; then
37771 for ac_func in inet_aton
37773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37774 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37776 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37777 echo $ECHO_N "(cached) $ECHO_C" >&6
37779 cat >conftest.$ac_ext <<_ACEOF
37782 cat confdefs.h >>conftest.$ac_ext
37783 cat >>conftest.$ac_ext <<_ACEOF
37784 /* end confdefs.h. */
37785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37787 #define $ac_func innocuous_$ac_func
37789 /* System header to define __stub macros and hopefully few prototypes,
37790 which can conflict with char $ac_func (); below.
37791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37792 <limits.h> exists even on freestanding compilers. */
37795 # include <limits.h>
37797 # include <assert.h>
37802 /* Override any GCC internal prototype to avoid an error.
37803 Use char because int might match the return type of a GCC
37804 builtin and then its argument prototype would still apply. */
37809 /* The GNU C library defines this for functions which it implements
37810 to always fail with ENOSYS. Some functions are actually named
37811 something starting with __ and the normal name is an alias. */
37812 #if defined __stub_$ac_func || defined __stub___$ac_func
37819 return $ac_func ();
37824 rm -f conftest.$ac_objext conftest$ac_exeext
37825 if { (ac_try="$ac_link"
37826 case "(($ac_try" in
37827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37828 *) ac_try_echo=$ac_try;;
37830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37831 (eval "$ac_link") 2>conftest.er1
37833 grep -v '^ *+' conftest.er1 >conftest.err
37835 cat conftest.err >&5
37836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37837 (exit $ac_status); } && {
37838 test -z "$ac_c_werror_flag" ||
37839 test ! -s conftest.err
37840 } && test -s conftest$ac_exeext &&
37841 $as_test_x conftest$ac_exeext; then
37842 eval "$as_ac_var=yes"
37844 echo "$as_me: failed program was:" >&5
37845 sed 's/^/| /' conftest.$ac_ext >&5
37847 eval "$as_ac_var=no"
37850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37851 conftest$ac_exeext conftest.$ac_ext
37853 ac_res=`eval echo '${'$as_ac_var'}'`
37854 { echo "$as_me:$LINENO: result: $ac_res" >&5
37855 echo "${ECHO_T}$ac_res" >&6; }
37856 if test `eval echo '${'$as_ac_var'}'` = yes; then
37857 cat >>confdefs.h <<_ACEOF
37858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37860 cat >>confdefs.h <<\_ACEOF
37861 #define HAVE_INET_ATON 1
37866 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37867 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37868 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37869 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37870 echo $ECHO_N "(cached) $ECHO_C" >&6
37872 ac_check_lib_save_LIBS=$LIBS
37873 LIBS="-l$INET_LINK $LIBS"
37874 cat >conftest.$ac_ext <<_ACEOF
37877 cat confdefs.h >>conftest.$ac_ext
37878 cat >>conftest.$ac_ext <<_ACEOF
37879 /* end confdefs.h. */
37881 /* Override any GCC internal prototype to avoid an error.
37882 Use char because int might match the return type of a GCC
37883 builtin and then its argument prototype would still apply. */
37891 return inet_aton ();
37896 rm -f conftest.$ac_objext conftest$ac_exeext
37897 if { (ac_try="$ac_link"
37898 case "(($ac_try" in
37899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37900 *) ac_try_echo=$ac_try;;
37902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37903 (eval "$ac_link") 2>conftest.er1
37905 grep -v '^ *+' conftest.er1 >conftest.err
37907 cat conftest.err >&5
37908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37909 (exit $ac_status); } && {
37910 test -z "$ac_c_werror_flag" ||
37911 test ! -s conftest.err
37912 } && test -s conftest$ac_exeext &&
37913 $as_test_x conftest$ac_exeext; then
37914 eval "$as_ac_Lib=yes"
37916 echo "$as_me: failed program was:" >&5
37917 sed 's/^/| /' conftest.$ac_ext >&5
37919 eval "$as_ac_Lib=no"
37922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37923 conftest$ac_exeext conftest.$ac_ext
37924 LIBS=$ac_check_lib_save_LIBS
37926 ac_res=`eval echo '${'$as_ac_Lib'}'`
37927 { echo "$as_me:$LINENO: result: $ac_res" >&5
37928 echo "${ECHO_T}$ac_res" >&6; }
37929 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37930 cat >>confdefs.h <<\_ACEOF
37931 #define HAVE_INET_ATON 1
37941 if test "x$INET_LINK" != "x"; then
37942 cat >>confdefs.h <<\_ACEOF
37943 #define HAVE_INET_ADDR 1
37946 INET_LINK=" -l$INET_LINK"
37950 for wx_func in fdopen
37952 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37953 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37954 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37955 echo $ECHO_N "(cached) $ECHO_C" >&6
37958 cat >conftest.$ac_ext <<_ACEOF
37962 cat confdefs.h >>conftest.$ac_ext
37963 cat >>conftest.$ac_ext <<_ACEOF
37964 /* end confdefs.h. */
37967 $ac_includes_default
37983 rm -f conftest.$ac_objext conftest$ac_exeext
37984 if { (ac_try="$ac_link"
37985 case "(($ac_try" in
37986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37987 *) ac_try_echo=$ac_try;;
37989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37990 (eval "$ac_link") 2>conftest.er1
37992 grep -v '^ *+' conftest.er1 >conftest.err
37994 cat conftest.err >&5
37995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37996 (exit $ac_status); } && {
37997 test -z "$ac_c_werror_flag" ||
37998 test ! -s conftest.err
37999 } && test -s conftest$ac_exeext &&
38000 $as_test_x conftest$ac_exeext; then
38001 eval wx_cv_func_$wx_func=yes
38003 echo "$as_me: failed program was:" >&5
38004 sed 's/^/| /' conftest.$ac_ext >&5
38006 eval wx_cv_func_$wx_func=no
38009 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38010 conftest$ac_exeext conftest.$ac_ext
38013 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38014 { echo "$as_me:$LINENO: result: $ac_res" >&5
38015 echo "${ECHO_T}$ac_res" >&6; }
38017 if eval test \$wx_cv_func_$wx_func = yes
38019 cat >>confdefs.h <<_ACEOF
38020 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38031 if test "$wxUSE_TARSTREAM" = "yes"; then
38033 for wx_func in sysconf
38035 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38036 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38037 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38038 echo $ECHO_N "(cached) $ECHO_C" >&6
38041 cat >conftest.$ac_ext <<_ACEOF
38045 cat confdefs.h >>conftest.$ac_ext
38046 cat >>conftest.$ac_ext <<_ACEOF
38047 /* end confdefs.h. */
38050 $ac_includes_default
38066 rm -f conftest.$ac_objext conftest$ac_exeext
38067 if { (ac_try="$ac_link"
38068 case "(($ac_try" in
38069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38070 *) ac_try_echo=$ac_try;;
38072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38073 (eval "$ac_link") 2>conftest.er1
38075 grep -v '^ *+' conftest.er1 >conftest.err
38077 cat conftest.err >&5
38078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38079 (exit $ac_status); } && {
38080 test -z "$ac_c_werror_flag" ||
38081 test ! -s conftest.err
38082 } && test -s conftest$ac_exeext &&
38083 $as_test_x conftest$ac_exeext; then
38084 eval wx_cv_func_$wx_func=yes
38086 echo "$as_me: failed program was:" >&5
38087 sed 's/^/| /' conftest.$ac_ext >&5
38089 eval wx_cv_func_$wx_func=no
38092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38093 conftest$ac_exeext conftest.$ac_ext
38096 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38097 { echo "$as_me:$LINENO: result: $ac_res" >&5
38098 echo "${ECHO_T}$ac_res" >&6; }
38100 if eval test \$wx_cv_func_$wx_func = yes
38102 cat >>confdefs.h <<_ACEOF
38103 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38115 for wx_func in getpwuid_r
38117 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38118 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38119 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38120 echo $ECHO_N "(cached) $ECHO_C" >&6
38123 cat >conftest.$ac_ext <<_ACEOF
38127 cat confdefs.h >>conftest.$ac_ext
38128 cat >>conftest.$ac_ext <<_ACEOF
38129 /* end confdefs.h. */
38135 $ac_includes_default
38145 struct passwd pw, *ppw;
38147 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38155 rm -f conftest.$ac_objext conftest$ac_exeext
38156 if { (ac_try="$ac_link"
38157 case "(($ac_try" in
38158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38159 *) ac_try_echo=$ac_try;;
38161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38162 (eval "$ac_link") 2>conftest.er1
38164 grep -v '^ *+' conftest.er1 >conftest.err
38166 cat conftest.err >&5
38167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38168 (exit $ac_status); } && {
38169 test -z "$ac_c_werror_flag" ||
38170 test ! -s conftest.err
38171 } && test -s conftest$ac_exeext &&
38172 $as_test_x conftest$ac_exeext; then
38173 eval wx_cv_func_$wx_func=yes
38175 echo "$as_me: failed program was:" >&5
38176 sed 's/^/| /' conftest.$ac_ext >&5
38178 eval wx_cv_func_$wx_func=no
38181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38182 conftest$ac_exeext conftest.$ac_ext
38185 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38186 { echo "$as_me:$LINENO: result: $ac_res" >&5
38187 echo "${ECHO_T}$ac_res" >&6; }
38189 if eval test \$wx_cv_func_$wx_func = yes
38191 cat >>confdefs.h <<_ACEOF
38192 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38204 for wx_func in getgrgid_r
38206 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38207 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38208 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38209 echo $ECHO_N "(cached) $ECHO_C" >&6
38212 cat >conftest.$ac_ext <<_ACEOF
38216 cat confdefs.h >>conftest.$ac_ext
38217 cat >>conftest.$ac_ext <<_ACEOF
38218 /* end confdefs.h. */
38224 $ac_includes_default
38234 struct group grp, *pgrp;
38236 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38244 rm -f conftest.$ac_objext conftest$ac_exeext
38245 if { (ac_try="$ac_link"
38246 case "(($ac_try" in
38247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38248 *) ac_try_echo=$ac_try;;
38250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38251 (eval "$ac_link") 2>conftest.er1
38253 grep -v '^ *+' conftest.er1 >conftest.err
38255 cat conftest.err >&5
38256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38257 (exit $ac_status); } && {
38258 test -z "$ac_c_werror_flag" ||
38259 test ! -s conftest.err
38260 } && test -s conftest$ac_exeext &&
38261 $as_test_x conftest$ac_exeext; then
38262 eval wx_cv_func_$wx_func=yes
38264 echo "$as_me: failed program was:" >&5
38265 sed 's/^/| /' conftest.$ac_ext >&5
38267 eval wx_cv_func_$wx_func=no
38270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38271 conftest$ac_exeext conftest.$ac_ext
38274 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38275 { echo "$as_me:$LINENO: result: $ac_res" >&5
38276 echo "${ECHO_T}$ac_res" >&6; }
38278 if eval test \$wx_cv_func_$wx_func = yes
38280 cat >>confdefs.h <<_ACEOF
38281 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38297 cat >confcache <<\_ACEOF
38298 # This file is a shell script that caches the results of configure
38299 # tests run on this system so they can be shared between configure
38300 # scripts and configure runs, see configure's option --config-cache.
38301 # It is not useful on other systems. If it contains results you don't
38302 # want to keep, you may remove or edit it.
38304 # config.status only pays attention to the cache file if you give it
38305 # the --recheck option to rerun configure.
38307 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38308 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38309 # following values.
38313 # The following way of writing the cache mishandles newlines in values,
38314 # but we know of no workaround that is simple, portable, and efficient.
38315 # So, we kill variables containing newlines.
38316 # Ultrix sh set writes to stderr and can't be redirected directly,
38317 # and sets the high bit in the cache file unless we assign to the vars.
38319 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38320 eval ac_val=\$$ac_var
38324 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38325 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38328 _ | IFS | as_nl) ;; #(
38329 *) $as_unset $ac_var ;;
38335 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38336 *${as_nl}ac_space=\ *)
38337 # `set' does not quote correctly, so add quotes (double-quote
38338 # substitution turns \\\\ into \\, and sed turns \\ into \).
38341 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38344 # `set' quotes correctly as required by POSIX, so do not add quotes.
38345 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38354 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38356 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38358 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38359 if test -w "$cache_file"; then
38360 test "x$cache_file" != "x/dev/null" &&
38361 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38362 echo "$as_me: updating cache $cache_file" >&6;}
38363 cat confcache >$cache_file
38365 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38366 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38372 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38378 if test "$wxUSE_THREADS" = "yes" ; then
38379 if test "$USE_BEOS" = 1; then
38380 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38381 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38386 if test "$wxUSE_THREADS" = "yes" ; then
38389 THREAD_OPTS="-pthread"
38390 if test "x$SUNCXX" = xyes; then
38391 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38395 *-*-solaris2* | *-*-sunos4* )
38396 if test "x$GCC" = "xyes"; then
38397 THREAD_OPTS="-pthreads $THREAD_OPTS"
38401 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38403 *-*-darwin* | *-*-cygwin* )
38407 THREAD_OPTS="pthreads"
38410 if test "x$GCC" = "xyes"; then
38411 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38419 if test "x$GCC" = "xyes"; then
38425 if test "x$GCC" != "xyes"; then
38426 THREAD_OPTS="-Ethread"
38431 THREAD_OPTS="$THREAD_OPTS pthread none"
38434 for flag in $THREAD_OPTS; do
38437 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38438 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38442 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38443 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38444 THREADS_CFLAGS="$flag"
38448 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38449 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38450 THREADS_LINK="-l$flag"
38455 save_CFLAGS="$CFLAGS"
38456 LIBS="$THREADS_LINK $LIBS"
38457 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38459 cat >conftest.$ac_ext <<_ACEOF
38462 cat confdefs.h >>conftest.$ac_ext
38463 cat >>conftest.$ac_ext <<_ACEOF
38464 /* end confdefs.h. */
38465 #include <pthread.h>
38469 pthread_create(0,0,0,0);
38474 rm -f conftest.$ac_objext conftest$ac_exeext
38475 if { (ac_try="$ac_link"
38476 case "(($ac_try" in
38477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38478 *) ac_try_echo=$ac_try;;
38480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38481 (eval "$ac_link") 2>conftest.er1
38483 grep -v '^ *+' conftest.er1 >conftest.err
38485 cat conftest.err >&5
38486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38487 (exit $ac_status); } && {
38488 test -z "$ac_c_werror_flag" ||
38489 test ! -s conftest.err
38490 } && test -s conftest$ac_exeext &&
38491 $as_test_x conftest$ac_exeext; then
38494 echo "$as_me: failed program was:" >&5
38495 sed 's/^/| /' conftest.$ac_ext >&5
38500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38501 conftest$ac_exeext conftest.$ac_ext
38504 CFLAGS="$save_CFLAGS"
38506 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38507 echo "${ECHO_T}$THREADS_OK" >&6; }
38508 if test "x$THREADS_OK" = "xyes"; then
38516 if test "x$THREADS_OK" != "xyes"; then
38518 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38519 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38521 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38522 LIBS="$THREADS_LINK $LIBS"
38524 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38525 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38529 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38530 flag="-D_THREAD_SAFE"
38533 flag="-D_THREAD_SAFE"
38536 flag="-D_REENTRANT"
38537 if test "x$GCC" != "xyes"; then
38538 flag="$flag -D_RWSTD_MULTI_THREAD"
38541 *solaris* | alpha*-osf*)
38542 flag="-D_REENTRANT"
38545 { echo "$as_me:$LINENO: result: ${flag}" >&5
38546 echo "${ECHO_T}${flag}" >&6; }
38547 if test "x$flag" != xno; then
38548 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38551 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38555 if test "$wxUSE_THREADS" = "yes" ; then
38557 for ac_func in thr_setconcurrency
38559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38560 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38562 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38563 echo $ECHO_N "(cached) $ECHO_C" >&6
38565 cat >conftest.$ac_ext <<_ACEOF
38568 cat confdefs.h >>conftest.$ac_ext
38569 cat >>conftest.$ac_ext <<_ACEOF
38570 /* end confdefs.h. */
38571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38573 #define $ac_func innocuous_$ac_func
38575 /* System header to define __stub macros and hopefully few prototypes,
38576 which can conflict with char $ac_func (); below.
38577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38578 <limits.h> exists even on freestanding compilers. */
38581 # include <limits.h>
38583 # include <assert.h>
38588 /* Override any GCC internal prototype to avoid an error.
38589 Use char because int might match the return type of a GCC
38590 builtin and then its argument prototype would still apply. */
38595 /* The GNU C library defines this for functions which it implements
38596 to always fail with ENOSYS. Some functions are actually named
38597 something starting with __ and the normal name is an alias. */
38598 #if defined __stub_$ac_func || defined __stub___$ac_func
38605 return $ac_func ();
38610 rm -f conftest.$ac_objext conftest$ac_exeext
38611 if { (ac_try="$ac_link"
38612 case "(($ac_try" in
38613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38614 *) ac_try_echo=$ac_try;;
38616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38617 (eval "$ac_link") 2>conftest.er1
38619 grep -v '^ *+' conftest.er1 >conftest.err
38621 cat conftest.err >&5
38622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38623 (exit $ac_status); } && {
38624 test -z "$ac_c_werror_flag" ||
38625 test ! -s conftest.err
38626 } && test -s conftest$ac_exeext &&
38627 $as_test_x conftest$ac_exeext; then
38628 eval "$as_ac_var=yes"
38630 echo "$as_me: failed program was:" >&5
38631 sed 's/^/| /' conftest.$ac_ext >&5
38633 eval "$as_ac_var=no"
38636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38637 conftest$ac_exeext conftest.$ac_ext
38639 ac_res=`eval echo '${'$as_ac_var'}'`
38640 { echo "$as_me:$LINENO: result: $ac_res" >&5
38641 echo "${ECHO_T}$ac_res" >&6; }
38642 if test `eval echo '${'$as_ac_var'}'` = yes; then
38643 cat >>confdefs.h <<_ACEOF
38644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38651 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38652 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38653 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38654 echo $ECHO_N "(cached) $ECHO_C" >&6
38658 ac_cpp='$CXXCPP $CPPFLAGS'
38659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38663 cat >conftest.$ac_ext <<_ACEOF
38666 cat confdefs.h >>conftest.$ac_ext
38667 cat >>conftest.$ac_ext <<_ACEOF
38668 /* end confdefs.h. */
38669 #include <pthread.h>
38670 void ThreadCleanupFunc(void *p);
38677 pthread_cleanup_push(ThreadCleanupFunc, p);
38678 pthread_cleanup_pop(0);
38684 rm -f conftest.$ac_objext
38685 if { (ac_try="$ac_compile"
38686 case "(($ac_try" in
38687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38688 *) ac_try_echo=$ac_try;;
38690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38691 (eval "$ac_compile") 2>conftest.er1
38693 grep -v '^ *+' conftest.er1 >conftest.err
38695 cat conftest.err >&5
38696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38697 (exit $ac_status); } && {
38698 test -z "$ac_cxx_werror_flag" ||
38699 test ! -s conftest.err
38700 } && test -s conftest.$ac_objext; then
38702 wx_cv_func_pthread_cleanup=yes
38705 echo "$as_me: failed program was:" >&5
38706 sed 's/^/| /' conftest.$ac_ext >&5
38709 wx_cv_func_pthread_cleanup=no
38714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38716 ac_cpp='$CPP $CPPFLAGS'
38717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38723 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38724 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38725 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38726 cat >>confdefs.h <<\_ACEOF
38727 #define wxHAVE_PTHREAD_CLEANUP 1
38733 for ac_header in sched.h
38735 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38736 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38738 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38739 echo $ECHO_N "(cached) $ECHO_C" >&6
38741 cat >conftest.$ac_ext <<_ACEOF
38744 cat confdefs.h >>conftest.$ac_ext
38745 cat >>conftest.$ac_ext <<_ACEOF
38746 /* end confdefs.h. */
38747 $ac_includes_default
38749 #include <$ac_header>
38751 rm -f conftest.$ac_objext
38752 if { (ac_try="$ac_compile"
38753 case "(($ac_try" in
38754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38755 *) ac_try_echo=$ac_try;;
38757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38758 (eval "$ac_compile") 2>conftest.er1
38760 grep -v '^ *+' conftest.er1 >conftest.err
38762 cat conftest.err >&5
38763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38764 (exit $ac_status); } && {
38765 test -z "$ac_c_werror_flag" ||
38766 test ! -s conftest.err
38767 } && test -s conftest.$ac_objext; then
38768 eval "$as_ac_Header=yes"
38770 echo "$as_me: failed program was:" >&5
38771 sed 's/^/| /' conftest.$ac_ext >&5
38773 eval "$as_ac_Header=no"
38776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38778 ac_res=`eval echo '${'$as_ac_Header'}'`
38779 { echo "$as_me:$LINENO: result: $ac_res" >&5
38780 echo "${ECHO_T}$ac_res" >&6; }
38781 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38782 cat >>confdefs.h <<_ACEOF
38783 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38790 if test "$ac_cv_header_sched_h" = "yes"; then
38791 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38792 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38793 if test "${ac_cv_func_sched_yield+set}" = set; then
38794 echo $ECHO_N "(cached) $ECHO_C" >&6
38796 cat >conftest.$ac_ext <<_ACEOF
38799 cat confdefs.h >>conftest.$ac_ext
38800 cat >>conftest.$ac_ext <<_ACEOF
38801 /* end confdefs.h. */
38802 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38804 #define sched_yield innocuous_sched_yield
38806 /* System header to define __stub macros and hopefully few prototypes,
38807 which can conflict with char sched_yield (); below.
38808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38809 <limits.h> exists even on freestanding compilers. */
38812 # include <limits.h>
38814 # include <assert.h>
38819 /* Override any GCC internal prototype to avoid an error.
38820 Use char because int might match the return type of a GCC
38821 builtin and then its argument prototype would still apply. */
38825 char sched_yield ();
38826 /* The GNU C library defines this for functions which it implements
38827 to always fail with ENOSYS. Some functions are actually named
38828 something starting with __ and the normal name is an alias. */
38829 #if defined __stub_sched_yield || defined __stub___sched_yield
38836 return sched_yield ();
38841 rm -f conftest.$ac_objext conftest$ac_exeext
38842 if { (ac_try="$ac_link"
38843 case "(($ac_try" in
38844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38845 *) ac_try_echo=$ac_try;;
38847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38848 (eval "$ac_link") 2>conftest.er1
38850 grep -v '^ *+' conftest.er1 >conftest.err
38852 cat conftest.err >&5
38853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38854 (exit $ac_status); } && {
38855 test -z "$ac_c_werror_flag" ||
38856 test ! -s conftest.err
38857 } && test -s conftest$ac_exeext &&
38858 $as_test_x conftest$ac_exeext; then
38859 ac_cv_func_sched_yield=yes
38861 echo "$as_me: failed program was:" >&5
38862 sed 's/^/| /' conftest.$ac_ext >&5
38864 ac_cv_func_sched_yield=no
38867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38868 conftest$ac_exeext conftest.$ac_ext
38870 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38871 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38872 if test $ac_cv_func_sched_yield = yes; then
38873 cat >>confdefs.h <<\_ACEOF
38874 #define HAVE_SCHED_YIELD 1
38879 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38880 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38881 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38882 echo $ECHO_N "(cached) $ECHO_C" >&6
38884 ac_check_lib_save_LIBS=$LIBS
38885 LIBS="-lposix4 $LIBS"
38886 cat >conftest.$ac_ext <<_ACEOF
38889 cat confdefs.h >>conftest.$ac_ext
38890 cat >>conftest.$ac_ext <<_ACEOF
38891 /* end confdefs.h. */
38893 /* Override any GCC internal prototype to avoid an error.
38894 Use char because int might match the return type of a GCC
38895 builtin and then its argument prototype would still apply. */
38899 char sched_yield ();
38903 return sched_yield ();
38908 rm -f conftest.$ac_objext conftest$ac_exeext
38909 if { (ac_try="$ac_link"
38910 case "(($ac_try" in
38911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38912 *) ac_try_echo=$ac_try;;
38914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38915 (eval "$ac_link") 2>conftest.er1
38917 grep -v '^ *+' conftest.er1 >conftest.err
38919 cat conftest.err >&5
38920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38921 (exit $ac_status); } && {
38922 test -z "$ac_c_werror_flag" ||
38923 test ! -s conftest.err
38924 } && test -s conftest$ac_exeext &&
38925 $as_test_x conftest$ac_exeext; then
38926 ac_cv_lib_posix4_sched_yield=yes
38928 echo "$as_me: failed program was:" >&5
38929 sed 's/^/| /' conftest.$ac_ext >&5
38931 ac_cv_lib_posix4_sched_yield=no
38934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38935 conftest$ac_exeext conftest.$ac_ext
38936 LIBS=$ac_check_lib_save_LIBS
38938 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38939 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38940 if test $ac_cv_lib_posix4_sched_yield = yes; then
38941 cat >>confdefs.h <<\_ACEOF
38942 #define HAVE_SCHED_YIELD 1
38944 POSIX4_LINK=" -lposix4"
38946 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38947 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38958 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38959 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38960 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38961 echo $ECHO_N "(cached) $ECHO_C" >&6
38963 cat >conftest.$ac_ext <<_ACEOF
38966 cat confdefs.h >>conftest.$ac_ext
38967 cat >>conftest.$ac_ext <<_ACEOF
38968 /* end confdefs.h. */
38969 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38971 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38973 /* System header to define __stub macros and hopefully few prototypes,
38974 which can conflict with char pthread_attr_getschedpolicy (); below.
38975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38976 <limits.h> exists even on freestanding compilers. */
38979 # include <limits.h>
38981 # include <assert.h>
38984 #undef pthread_attr_getschedpolicy
38986 /* Override any GCC internal prototype to avoid an error.
38987 Use char because int might match the return type of a GCC
38988 builtin and then its argument prototype would still apply. */
38992 char pthread_attr_getschedpolicy ();
38993 /* The GNU C library defines this for functions which it implements
38994 to always fail with ENOSYS. Some functions are actually named
38995 something starting with __ and the normal name is an alias. */
38996 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39003 return pthread_attr_getschedpolicy ();
39008 rm -f conftest.$ac_objext conftest$ac_exeext
39009 if { (ac_try="$ac_link"
39010 case "(($ac_try" in
39011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39012 *) ac_try_echo=$ac_try;;
39014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39015 (eval "$ac_link") 2>conftest.er1
39017 grep -v '^ *+' conftest.er1 >conftest.err
39019 cat conftest.err >&5
39020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39021 (exit $ac_status); } && {
39022 test -z "$ac_c_werror_flag" ||
39023 test ! -s conftest.err
39024 } && test -s conftest$ac_exeext &&
39025 $as_test_x conftest$ac_exeext; then
39026 ac_cv_func_pthread_attr_getschedpolicy=yes
39028 echo "$as_me: failed program was:" >&5
39029 sed 's/^/| /' conftest.$ac_ext >&5
39031 ac_cv_func_pthread_attr_getschedpolicy=no
39034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39035 conftest$ac_exeext conftest.$ac_ext
39037 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39038 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39039 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39040 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39041 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39042 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39043 echo $ECHO_N "(cached) $ECHO_C" >&6
39045 cat >conftest.$ac_ext <<_ACEOF
39048 cat confdefs.h >>conftest.$ac_ext
39049 cat >>conftest.$ac_ext <<_ACEOF
39050 /* end confdefs.h. */
39051 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39053 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39055 /* System header to define __stub macros and hopefully few prototypes,
39056 which can conflict with char pthread_attr_setschedparam (); below.
39057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39058 <limits.h> exists even on freestanding compilers. */
39061 # include <limits.h>
39063 # include <assert.h>
39066 #undef pthread_attr_setschedparam
39068 /* Override any GCC internal prototype to avoid an error.
39069 Use char because int might match the return type of a GCC
39070 builtin and then its argument prototype would still apply. */
39074 char pthread_attr_setschedparam ();
39075 /* The GNU C library defines this for functions which it implements
39076 to always fail with ENOSYS. Some functions are actually named
39077 something starting with __ and the normal name is an alias. */
39078 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39085 return pthread_attr_setschedparam ();
39090 rm -f conftest.$ac_objext conftest$ac_exeext
39091 if { (ac_try="$ac_link"
39092 case "(($ac_try" in
39093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39094 *) ac_try_echo=$ac_try;;
39096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39097 (eval "$ac_link") 2>conftest.er1
39099 grep -v '^ *+' conftest.er1 >conftest.err
39101 cat conftest.err >&5
39102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39103 (exit $ac_status); } && {
39104 test -z "$ac_c_werror_flag" ||
39105 test ! -s conftest.err
39106 } && test -s conftest$ac_exeext &&
39107 $as_test_x conftest$ac_exeext; then
39108 ac_cv_func_pthread_attr_setschedparam=yes
39110 echo "$as_me: failed program was:" >&5
39111 sed 's/^/| /' conftest.$ac_ext >&5
39113 ac_cv_func_pthread_attr_setschedparam=no
39116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39117 conftest$ac_exeext conftest.$ac_ext
39119 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39120 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39121 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39122 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39123 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39124 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39125 echo $ECHO_N "(cached) $ECHO_C" >&6
39127 cat >conftest.$ac_ext <<_ACEOF
39130 cat confdefs.h >>conftest.$ac_ext
39131 cat >>conftest.$ac_ext <<_ACEOF
39132 /* end confdefs.h. */
39133 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39135 #define sched_get_priority_max innocuous_sched_get_priority_max
39137 /* System header to define __stub macros and hopefully few prototypes,
39138 which can conflict with char sched_get_priority_max (); below.
39139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39140 <limits.h> exists even on freestanding compilers. */
39143 # include <limits.h>
39145 # include <assert.h>
39148 #undef sched_get_priority_max
39150 /* Override any GCC internal prototype to avoid an error.
39151 Use char because int might match the return type of a GCC
39152 builtin and then its argument prototype would still apply. */
39156 char sched_get_priority_max ();
39157 /* The GNU C library defines this for functions which it implements
39158 to always fail with ENOSYS. Some functions are actually named
39159 something starting with __ and the normal name is an alias. */
39160 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39167 return sched_get_priority_max ();
39172 rm -f conftest.$ac_objext conftest$ac_exeext
39173 if { (ac_try="$ac_link"
39174 case "(($ac_try" in
39175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39176 *) ac_try_echo=$ac_try;;
39178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39179 (eval "$ac_link") 2>conftest.er1
39181 grep -v '^ *+' conftest.er1 >conftest.err
39183 cat conftest.err >&5
39184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39185 (exit $ac_status); } && {
39186 test -z "$ac_c_werror_flag" ||
39187 test ! -s conftest.err
39188 } && test -s conftest$ac_exeext &&
39189 $as_test_x conftest$ac_exeext; then
39190 ac_cv_func_sched_get_priority_max=yes
39192 echo "$as_me: failed program was:" >&5
39193 sed 's/^/| /' conftest.$ac_ext >&5
39195 ac_cv_func_sched_get_priority_max=no
39198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39199 conftest$ac_exeext conftest.$ac_ext
39201 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39202 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39203 if test $ac_cv_func_sched_get_priority_max = yes; then
39206 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39207 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39208 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39209 echo $ECHO_N "(cached) $ECHO_C" >&6
39211 ac_check_lib_save_LIBS=$LIBS
39212 LIBS="-lposix4 $LIBS"
39213 cat >conftest.$ac_ext <<_ACEOF
39216 cat confdefs.h >>conftest.$ac_ext
39217 cat >>conftest.$ac_ext <<_ACEOF
39218 /* end confdefs.h. */
39220 /* Override any GCC internal prototype to avoid an error.
39221 Use char because int might match the return type of a GCC
39222 builtin and then its argument prototype would still apply. */
39226 char sched_get_priority_max ();
39230 return sched_get_priority_max ();
39235 rm -f conftest.$ac_objext conftest$ac_exeext
39236 if { (ac_try="$ac_link"
39237 case "(($ac_try" in
39238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39239 *) ac_try_echo=$ac_try;;
39241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39242 (eval "$ac_link") 2>conftest.er1
39244 grep -v '^ *+' conftest.er1 >conftest.err
39246 cat conftest.err >&5
39247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39248 (exit $ac_status); } && {
39249 test -z "$ac_c_werror_flag" ||
39250 test ! -s conftest.err
39251 } && test -s conftest$ac_exeext &&
39252 $as_test_x conftest$ac_exeext; then
39253 ac_cv_lib_posix4_sched_get_priority_max=yes
39255 echo "$as_me: failed program was:" >&5
39256 sed 's/^/| /' conftest.$ac_ext >&5
39258 ac_cv_lib_posix4_sched_get_priority_max=no
39261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39262 conftest$ac_exeext conftest.$ac_ext
39263 LIBS=$ac_check_lib_save_LIBS
39265 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39266 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39267 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39270 POSIX4_LINK=" -lposix4"
39284 if test "$HAVE_PRIOR_FUNCS" = 1; then
39285 cat >>confdefs.h <<\_ACEOF
39286 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39290 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39291 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39294 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39295 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39296 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39297 echo $ECHO_N "(cached) $ECHO_C" >&6
39299 cat >conftest.$ac_ext <<_ACEOF
39302 cat confdefs.h >>conftest.$ac_ext
39303 cat >>conftest.$ac_ext <<_ACEOF
39304 /* end confdefs.h. */
39305 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39307 #define pthread_cancel innocuous_pthread_cancel
39309 /* System header to define __stub macros and hopefully few prototypes,
39310 which can conflict with char pthread_cancel (); below.
39311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39312 <limits.h> exists even on freestanding compilers. */
39315 # include <limits.h>
39317 # include <assert.h>
39320 #undef pthread_cancel
39322 /* Override any GCC internal prototype to avoid an error.
39323 Use char because int might match the return type of a GCC
39324 builtin and then its argument prototype would still apply. */
39328 char pthread_cancel ();
39329 /* The GNU C library defines this for functions which it implements
39330 to always fail with ENOSYS. Some functions are actually named
39331 something starting with __ and the normal name is an alias. */
39332 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39339 return pthread_cancel ();
39344 rm -f conftest.$ac_objext conftest$ac_exeext
39345 if { (ac_try="$ac_link"
39346 case "(($ac_try" in
39347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39348 *) ac_try_echo=$ac_try;;
39350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39351 (eval "$ac_link") 2>conftest.er1
39353 grep -v '^ *+' conftest.er1 >conftest.err
39355 cat conftest.err >&5
39356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39357 (exit $ac_status); } && {
39358 test -z "$ac_c_werror_flag" ||
39359 test ! -s conftest.err
39360 } && test -s conftest$ac_exeext &&
39361 $as_test_x conftest$ac_exeext; then
39362 ac_cv_func_pthread_cancel=yes
39364 echo "$as_me: failed program was:" >&5
39365 sed 's/^/| /' conftest.$ac_ext >&5
39367 ac_cv_func_pthread_cancel=no
39370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39371 conftest$ac_exeext conftest.$ac_ext
39373 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39374 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39375 if test $ac_cv_func_pthread_cancel = yes; then
39376 cat >>confdefs.h <<\_ACEOF
39377 #define HAVE_PTHREAD_CANCEL 1
39381 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39382 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39386 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39387 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39388 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39389 echo $ECHO_N "(cached) $ECHO_C" >&6
39391 cat >conftest.$ac_ext <<_ACEOF
39394 cat confdefs.h >>conftest.$ac_ext
39395 cat >>conftest.$ac_ext <<_ACEOF
39396 /* end confdefs.h. */
39397 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39399 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39401 /* System header to define __stub macros and hopefully few prototypes,
39402 which can conflict with char pthread_mutex_timedlock (); below.
39403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39404 <limits.h> exists even on freestanding compilers. */
39407 # include <limits.h>
39409 # include <assert.h>
39412 #undef pthread_mutex_timedlock
39414 /* Override any GCC internal prototype to avoid an error.
39415 Use char because int might match the return type of a GCC
39416 builtin and then its argument prototype would still apply. */
39420 char pthread_mutex_timedlock ();
39421 /* The GNU C library defines this for functions which it implements
39422 to always fail with ENOSYS. Some functions are actually named
39423 something starting with __ and the normal name is an alias. */
39424 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39431 return pthread_mutex_timedlock ();
39436 rm -f conftest.$ac_objext conftest$ac_exeext
39437 if { (ac_try="$ac_link"
39438 case "(($ac_try" in
39439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39440 *) ac_try_echo=$ac_try;;
39442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39443 (eval "$ac_link") 2>conftest.er1
39445 grep -v '^ *+' conftest.er1 >conftest.err
39447 cat conftest.err >&5
39448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39449 (exit $ac_status); } && {
39450 test -z "$ac_c_werror_flag" ||
39451 test ! -s conftest.err
39452 } && test -s conftest$ac_exeext &&
39453 $as_test_x conftest$ac_exeext; then
39454 ac_cv_func_pthread_mutex_timedlock=yes
39456 echo "$as_me: failed program was:" >&5
39457 sed 's/^/| /' conftest.$ac_ext >&5
39459 ac_cv_func_pthread_mutex_timedlock=no
39462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39463 conftest$ac_exeext conftest.$ac_ext
39465 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39466 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39467 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39468 cat >>confdefs.h <<\_ACEOF
39469 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39473 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39474 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39478 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39479 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39480 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39481 echo $ECHO_N "(cached) $ECHO_C" >&6
39483 cat >conftest.$ac_ext <<_ACEOF
39486 cat confdefs.h >>conftest.$ac_ext
39487 cat >>conftest.$ac_ext <<_ACEOF
39488 /* end confdefs.h. */
39489 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39491 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39493 /* System header to define __stub macros and hopefully few prototypes,
39494 which can conflict with char pthread_attr_setstacksize (); below.
39495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39496 <limits.h> exists even on freestanding compilers. */
39499 # include <limits.h>
39501 # include <assert.h>
39504 #undef pthread_attr_setstacksize
39506 /* Override any GCC internal prototype to avoid an error.
39507 Use char because int might match the return type of a GCC
39508 builtin and then its argument prototype would still apply. */
39512 char pthread_attr_setstacksize ();
39513 /* The GNU C library defines this for functions which it implements
39514 to always fail with ENOSYS. Some functions are actually named
39515 something starting with __ and the normal name is an alias. */
39516 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39523 return pthread_attr_setstacksize ();
39528 rm -f conftest.$ac_objext conftest$ac_exeext
39529 if { (ac_try="$ac_link"
39530 case "(($ac_try" in
39531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39532 *) ac_try_echo=$ac_try;;
39534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39535 (eval "$ac_link") 2>conftest.er1
39537 grep -v '^ *+' conftest.er1 >conftest.err
39539 cat conftest.err >&5
39540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39541 (exit $ac_status); } && {
39542 test -z "$ac_c_werror_flag" ||
39543 test ! -s conftest.err
39544 } && test -s conftest$ac_exeext &&
39545 $as_test_x conftest$ac_exeext; then
39546 ac_cv_func_pthread_attr_setstacksize=yes
39548 echo "$as_me: failed program was:" >&5
39549 sed 's/^/| /' conftest.$ac_ext >&5
39551 ac_cv_func_pthread_attr_setstacksize=no
39554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39555 conftest$ac_exeext conftest.$ac_ext
39557 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39558 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39559 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39560 cat >>confdefs.h <<\_ACEOF
39561 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39568 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39569 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39570 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39571 echo $ECHO_N "(cached) $ECHO_C" >&6
39574 cat >conftest.$ac_ext <<_ACEOF
39577 cat confdefs.h >>conftest.$ac_ext
39578 cat >>conftest.$ac_ext <<_ACEOF
39579 /* end confdefs.h. */
39580 #include <pthread.h>
39585 pthread_mutexattr_t attr;
39586 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39592 rm -f conftest.$ac_objext
39593 if { (ac_try="$ac_compile"
39594 case "(($ac_try" in
39595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39596 *) ac_try_echo=$ac_try;;
39598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39599 (eval "$ac_compile") 2>conftest.er1
39601 grep -v '^ *+' conftest.er1 >conftest.err
39603 cat conftest.err >&5
39604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39605 (exit $ac_status); } && {
39606 test -z "$ac_c_werror_flag" ||
39607 test ! -s conftest.err
39608 } && test -s conftest.$ac_objext; then
39609 wx_cv_type_pthread_mutexattr_t=yes
39611 echo "$as_me: failed program was:" >&5
39612 sed 's/^/| /' conftest.$ac_ext >&5
39614 wx_cv_type_pthread_mutexattr_t=no
39618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39621 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39622 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39624 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39625 cat >>confdefs.h <<\_ACEOF
39626 #define HAVE_PTHREAD_MUTEXATTR_T 1
39630 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39631 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39632 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39633 echo $ECHO_N "(cached) $ECHO_C" >&6
39636 cat >conftest.$ac_ext <<_ACEOF
39639 cat confdefs.h >>conftest.$ac_ext
39640 cat >>conftest.$ac_ext <<_ACEOF
39641 /* end confdefs.h. */
39642 #include <pthread.h>
39647 pthread_mutexattr_t attr;
39648 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39654 rm -f conftest.$ac_objext
39655 if { (ac_try="$ac_compile"
39656 case "(($ac_try" in
39657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39658 *) ac_try_echo=$ac_try;;
39660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39661 (eval "$ac_compile") 2>conftest.er1
39663 grep -v '^ *+' conftest.er1 >conftest.err
39665 cat conftest.err >&5
39666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39667 (exit $ac_status); } && {
39668 test -z "$ac_c_werror_flag" ||
39669 test ! -s conftest.err
39670 } && test -s conftest.$ac_objext; then
39671 wx_cv_func_pthread_mutexattr_settype_decl=yes
39673 echo "$as_me: failed program was:" >&5
39674 sed 's/^/| /' conftest.$ac_ext >&5
39676 wx_cv_func_pthread_mutexattr_settype_decl=no
39680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39683 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39684 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39685 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39686 cat >>confdefs.h <<\_ACEOF
39687 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39692 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39693 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39694 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39695 echo $ECHO_N "(cached) $ECHO_C" >&6
39698 cat >conftest.$ac_ext <<_ACEOF
39701 cat confdefs.h >>conftest.$ac_ext
39702 cat >>conftest.$ac_ext <<_ACEOF
39703 /* end confdefs.h. */
39704 #include <pthread.h>
39709 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39715 rm -f conftest.$ac_objext
39716 if { (ac_try="$ac_compile"
39717 case "(($ac_try" in
39718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39719 *) ac_try_echo=$ac_try;;
39721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39722 (eval "$ac_compile") 2>conftest.er1
39724 grep -v '^ *+' conftest.er1 >conftest.err
39726 cat conftest.err >&5
39727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39728 (exit $ac_status); } && {
39729 test -z "$ac_c_werror_flag" ||
39730 test ! -s conftest.err
39731 } && test -s conftest.$ac_objext; then
39733 wx_cv_type_pthread_rec_mutex_init=yes
39736 echo "$as_me: failed program was:" >&5
39737 sed 's/^/| /' conftest.$ac_ext >&5
39740 wx_cv_type_pthread_rec_mutex_init=no
39745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39748 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39749 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39750 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39751 cat >>confdefs.h <<\_ACEOF
39752 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39756 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39757 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39763 if test "$wxUSE_THREADS" = "yes" ; then
39766 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39767 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39768 if test "${wx_cv_cflags_mthread+set}" = set; then
39769 echo $ECHO_N "(cached) $ECHO_C" >&6
39772 CFLAGS_OLD="$CFLAGS"
39773 CFLAGS="-mthreads $CFLAGS"
39774 cat >conftest.$ac_ext <<_ACEOF
39777 cat confdefs.h >>conftest.$ac_ext
39778 cat >>conftest.$ac_ext <<_ACEOF
39779 /* end confdefs.h. */
39789 rm -f conftest.$ac_objext
39790 if { (ac_try="$ac_compile"
39791 case "(($ac_try" in
39792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39793 *) ac_try_echo=$ac_try;;
39795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39796 (eval "$ac_compile") 2>conftest.er1
39798 grep -v '^ *+' conftest.er1 >conftest.err
39800 cat conftest.err >&5
39801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39802 (exit $ac_status); } && {
39803 test -z "$ac_c_werror_flag" ||
39804 test ! -s conftest.err
39805 } && test -s conftest.$ac_objext; then
39806 wx_cv_cflags_mthread=yes
39808 echo "$as_me: failed program was:" >&5
39809 sed 's/^/| /' conftest.$ac_ext >&5
39811 wx_cv_cflags_mthread=no
39815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39819 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39820 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39822 if test "$wx_cv_cflags_mthread" = "yes"; then
39823 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39824 LDFLAGS="$LDFLAGS -mthreads"
39826 CFLAGS="$CFLAGS_OLD"
39830 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39831 LDFLAGS="$LDFLAGS -Zmt"
39837 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39838 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39839 if test "${ac_cv_func_localtime_r+set}" = set; then
39840 echo $ECHO_N "(cached) $ECHO_C" >&6
39842 cat >conftest.$ac_ext <<_ACEOF
39845 cat confdefs.h >>conftest.$ac_ext
39846 cat >>conftest.$ac_ext <<_ACEOF
39847 /* end confdefs.h. */
39848 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39850 #define localtime_r innocuous_localtime_r
39852 /* System header to define __stub macros and hopefully few prototypes,
39853 which can conflict with char localtime_r (); below.
39854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39855 <limits.h> exists even on freestanding compilers. */
39858 # include <limits.h>
39860 # include <assert.h>
39865 /* Override any GCC internal prototype to avoid an error.
39866 Use char because int might match the return type of a GCC
39867 builtin and then its argument prototype would still apply. */
39871 char localtime_r ();
39872 /* The GNU C library defines this for functions which it implements
39873 to always fail with ENOSYS. Some functions are actually named
39874 something starting with __ and the normal name is an alias. */
39875 #if defined __stub_localtime_r || defined __stub___localtime_r
39882 return localtime_r ();
39887 rm -f conftest.$ac_objext conftest$ac_exeext
39888 if { (ac_try="$ac_link"
39889 case "(($ac_try" in
39890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39891 *) ac_try_echo=$ac_try;;
39893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39894 (eval "$ac_link") 2>conftest.er1
39896 grep -v '^ *+' conftest.er1 >conftest.err
39898 cat conftest.err >&5
39899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39900 (exit $ac_status); } && {
39901 test -z "$ac_c_werror_flag" ||
39902 test ! -s conftest.err
39903 } && test -s conftest$ac_exeext &&
39904 $as_test_x conftest$ac_exeext; then
39905 ac_cv_func_localtime_r=yes
39907 echo "$as_me: failed program was:" >&5
39908 sed 's/^/| /' conftest.$ac_ext >&5
39910 ac_cv_func_localtime_r=no
39913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39914 conftest$ac_exeext conftest.$ac_ext
39916 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39917 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39918 if test $ac_cv_func_localtime_r = yes; then
39919 cat >>confdefs.h <<\_ACEOF
39920 #define HAVE_LOCALTIME_R 1
39925 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39926 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39927 if test "${ac_cv_func_gmtime_r+set}" = set; then
39928 echo $ECHO_N "(cached) $ECHO_C" >&6
39930 cat >conftest.$ac_ext <<_ACEOF
39933 cat confdefs.h >>conftest.$ac_ext
39934 cat >>conftest.$ac_ext <<_ACEOF
39935 /* end confdefs.h. */
39936 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39938 #define gmtime_r innocuous_gmtime_r
39940 /* System header to define __stub macros and hopefully few prototypes,
39941 which can conflict with char gmtime_r (); below.
39942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39943 <limits.h> exists even on freestanding compilers. */
39946 # include <limits.h>
39948 # include <assert.h>
39953 /* Override any GCC internal prototype to avoid an error.
39954 Use char because int might match the return type of a GCC
39955 builtin and then its argument prototype would still apply. */
39960 /* The GNU C library defines this for functions which it implements
39961 to always fail with ENOSYS. Some functions are actually named
39962 something starting with __ and the normal name is an alias. */
39963 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39970 return gmtime_r ();
39975 rm -f conftest.$ac_objext conftest$ac_exeext
39976 if { (ac_try="$ac_link"
39977 case "(($ac_try" in
39978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39979 *) ac_try_echo=$ac_try;;
39981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39982 (eval "$ac_link") 2>conftest.er1
39984 grep -v '^ *+' conftest.er1 >conftest.err
39986 cat conftest.err >&5
39987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39988 (exit $ac_status); } && {
39989 test -z "$ac_c_werror_flag" ||
39990 test ! -s conftest.err
39991 } && test -s conftest$ac_exeext &&
39992 $as_test_x conftest$ac_exeext; then
39993 ac_cv_func_gmtime_r=yes
39995 echo "$as_me: failed program was:" >&5
39996 sed 's/^/| /' conftest.$ac_ext >&5
39998 ac_cv_func_gmtime_r=no
40001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40002 conftest$ac_exeext conftest.$ac_ext
40004 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40005 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40006 if test $ac_cv_func_gmtime_r = yes; then
40007 cat >>confdefs.h <<\_ACEOF
40008 #define HAVE_GMTIME_R 1
40017 ac_cpp='$CPP $CPPFLAGS'
40018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40022 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40023 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40025 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40026 echo $ECHO_N "(cached) $ECHO_C" >&6
40030 ################################################################
40032 ac_cv_func_which_gethostbyname_r=unknown
40035 # ONE ARGUMENT (sanity check)
40038 # This should fail, as there is no variant of gethostbyname_r() that takes
40039 # a single argument. If it actually compiles, then we can assume that
40040 # netdb.h is not declaring the function, and the compiler is thereby
40041 # assuming an implicit prototype. In which case, we're out of luck.
40043 cat >conftest.$ac_ext <<_ACEOF
40046 cat confdefs.h >>conftest.$ac_ext
40047 cat >>conftest.$ac_ext <<_ACEOF
40048 /* end confdefs.h. */
40054 char *name = "www.gnu.org";
40055 (void)gethostbyname_r(name) /* ; */
40061 rm -f conftest.$ac_objext
40062 if { (ac_try="$ac_compile"
40063 case "(($ac_try" in
40064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40065 *) ac_try_echo=$ac_try;;
40067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40068 (eval "$ac_compile") 2>conftest.er1
40070 grep -v '^ *+' conftest.er1 >conftest.err
40072 cat conftest.err >&5
40073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40074 (exit $ac_status); } && {
40075 test -z "$ac_c_werror_flag" ||
40076 test ! -s conftest.err
40077 } && test -s conftest.$ac_objext; then
40078 ac_cv_func_which_gethostbyname_r=no
40080 echo "$as_me: failed program was:" >&5
40081 sed 's/^/| /' conftest.$ac_ext >&5
40086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40093 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40095 cat >conftest.$ac_ext <<_ACEOF
40098 cat confdefs.h >>conftest.$ac_ext
40099 cat >>conftest.$ac_ext <<_ACEOF
40100 /* end confdefs.h. */
40106 char *name = "www.gnu.org";
40107 struct hostent ret, *retp;
40111 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40117 rm -f conftest.$ac_objext
40118 if { (ac_try="$ac_compile"
40119 case "(($ac_try" in
40120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40121 *) ac_try_echo=$ac_try;;
40123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40124 (eval "$ac_compile") 2>conftest.er1
40126 grep -v '^ *+' conftest.er1 >conftest.err
40128 cat conftest.err >&5
40129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40130 (exit $ac_status); } && {
40131 test -z "$ac_c_werror_flag" ||
40132 test ! -s conftest.err
40133 } && test -s conftest.$ac_objext; then
40134 ac_cv_func_which_gethostbyname_r=six
40136 echo "$as_me: failed program was:" >&5
40137 sed 's/^/| /' conftest.$ac_ext >&5
40142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40151 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40153 cat >conftest.$ac_ext <<_ACEOF
40156 cat confdefs.h >>conftest.$ac_ext
40157 cat >>conftest.$ac_ext <<_ACEOF
40158 /* end confdefs.h. */
40164 char *name = "www.gnu.org";
40165 struct hostent ret;
40169 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40175 rm -f conftest.$ac_objext
40176 if { (ac_try="$ac_compile"
40177 case "(($ac_try" in
40178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40179 *) ac_try_echo=$ac_try;;
40181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40182 (eval "$ac_compile") 2>conftest.er1
40184 grep -v '^ *+' conftest.er1 >conftest.err
40186 cat conftest.err >&5
40187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40188 (exit $ac_status); } && {
40189 test -z "$ac_c_werror_flag" ||
40190 test ! -s conftest.err
40191 } && test -s conftest.$ac_objext; then
40192 ac_cv_func_which_gethostbyname_r=five
40194 echo "$as_me: failed program was:" >&5
40195 sed 's/^/| /' conftest.$ac_ext >&5
40200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40206 # (e.g. AIX, HP-UX, Tru64)
40209 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40211 cat >conftest.$ac_ext <<_ACEOF
40214 cat confdefs.h >>conftest.$ac_ext
40215 cat >>conftest.$ac_ext <<_ACEOF
40216 /* end confdefs.h. */
40222 char *name = "www.gnu.org";
40223 struct hostent ret;
40224 struct hostent_data data;
40225 (void)gethostbyname_r(name, &ret, &data) /* ; */
40231 rm -f conftest.$ac_objext
40232 if { (ac_try="$ac_compile"
40233 case "(($ac_try" in
40234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40235 *) ac_try_echo=$ac_try;;
40237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40238 (eval "$ac_compile") 2>conftest.er1
40240 grep -v '^ *+' conftest.er1 >conftest.err
40242 cat conftest.err >&5
40243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40244 (exit $ac_status); } && {
40245 test -z "$ac_c_werror_flag" ||
40246 test ! -s conftest.err
40247 } && test -s conftest.$ac_objext; then
40248 ac_cv_func_which_gethostbyname_r=three
40250 echo "$as_me: failed program was:" >&5
40251 sed 's/^/| /' conftest.$ac_ext >&5
40256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40260 ################################################################
40265 case "$ac_cv_func_which_gethostbyname_r" in
40267 { echo "$as_me:$LINENO: result: three" >&5
40268 echo "${ECHO_T}three" >&6; }
40269 cat >>confdefs.h <<\_ACEOF
40270 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40276 { echo "$as_me:$LINENO: result: five" >&5
40277 echo "${ECHO_T}five" >&6; }
40278 cat >>confdefs.h <<\_ACEOF
40279 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40285 { echo "$as_me:$LINENO: result: six" >&5
40286 echo "${ECHO_T}six" >&6; }
40287 cat >>confdefs.h <<\_ACEOF
40288 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40294 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40295 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40299 { echo "$as_me:$LINENO: result: can't tell" >&5
40300 echo "${ECHO_T}can't tell" >&6; }
40304 { { echo "$as_me:$LINENO: error: internal error" >&5
40305 echo "$as_me: error: internal error" >&2;}
40306 { (exit 1); exit 1; }; }
40311 ac_cpp='$CPP $CPPFLAGS'
40312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40318 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40319 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40320 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40321 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40322 if test "${ac_cv_func_gethostbyname+set}" = set; then
40323 echo $ECHO_N "(cached) $ECHO_C" >&6
40325 cat >conftest.$ac_ext <<_ACEOF
40328 cat confdefs.h >>conftest.$ac_ext
40329 cat >>conftest.$ac_ext <<_ACEOF
40330 /* end confdefs.h. */
40331 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40333 #define gethostbyname innocuous_gethostbyname
40335 /* System header to define __stub macros and hopefully few prototypes,
40336 which can conflict with char gethostbyname (); below.
40337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40338 <limits.h> exists even on freestanding compilers. */
40341 # include <limits.h>
40343 # include <assert.h>
40346 #undef gethostbyname
40348 /* Override any GCC internal prototype to avoid an error.
40349 Use char because int might match the return type of a GCC
40350 builtin and then its argument prototype would still apply. */
40354 char gethostbyname ();
40355 /* The GNU C library defines this for functions which it implements
40356 to always fail with ENOSYS. Some functions are actually named
40357 something starting with __ and the normal name is an alias. */
40358 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40365 return gethostbyname ();
40370 rm -f conftest.$ac_objext conftest$ac_exeext
40371 if { (ac_try="$ac_link"
40372 case "(($ac_try" in
40373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40374 *) ac_try_echo=$ac_try;;
40376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40377 (eval "$ac_link") 2>conftest.er1
40379 grep -v '^ *+' conftest.er1 >conftest.err
40381 cat conftest.err >&5
40382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40383 (exit $ac_status); } && {
40384 test -z "$ac_c_werror_flag" ||
40385 test ! -s conftest.err
40386 } && test -s conftest$ac_exeext &&
40387 $as_test_x conftest$ac_exeext; then
40388 ac_cv_func_gethostbyname=yes
40390 echo "$as_me: failed program was:" >&5
40391 sed 's/^/| /' conftest.$ac_ext >&5
40393 ac_cv_func_gethostbyname=no
40396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40397 conftest$ac_exeext conftest.$ac_ext
40399 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40400 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40401 if test $ac_cv_func_gethostbyname = yes; then
40402 cat >>confdefs.h <<\_ACEOF
40403 #define HAVE_GETHOSTBYNAME 1
40410 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40411 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40412 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40413 echo $ECHO_N "(cached) $ECHO_C" >&6
40417 ac_cpp='$CXXCPP $CPPFLAGS'
40418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40423 cat >conftest.$ac_ext <<_ACEOF
40426 cat confdefs.h >>conftest.$ac_ext
40427 cat >>conftest.$ac_ext <<_ACEOF
40428 /* end confdefs.h. */
40436 struct servent *se, *res;
40439 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40445 rm -f conftest.$ac_objext
40446 if { (ac_try="$ac_compile"
40447 case "(($ac_try" in
40448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40449 *) ac_try_echo=$ac_try;;
40451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40452 (eval "$ac_compile") 2>conftest.er1
40454 grep -v '^ *+' conftest.er1 >conftest.err
40456 cat conftest.err >&5
40457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40458 (exit $ac_status); } && {
40459 test -z "$ac_cxx_werror_flag" ||
40460 test ! -s conftest.err
40461 } && test -s conftest.$ac_objext; then
40462 ac_cv_func_which_getservbyname_r=six
40464 echo "$as_me: failed program was:" >&5
40465 sed 's/^/| /' conftest.$ac_ext >&5
40468 cat >conftest.$ac_ext <<_ACEOF
40471 cat confdefs.h >>conftest.$ac_ext
40472 cat >>conftest.$ac_ext <<_ACEOF
40473 /* end confdefs.h. */
40481 struct servent *se;
40484 (void) getservbyname_r(name, proto, se, buffer, buflen)
40490 rm -f conftest.$ac_objext
40491 if { (ac_try="$ac_compile"
40492 case "(($ac_try" in
40493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40494 *) ac_try_echo=$ac_try;;
40496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40497 (eval "$ac_compile") 2>conftest.er1
40499 grep -v '^ *+' conftest.er1 >conftest.err
40501 cat conftest.err >&5
40502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40503 (exit $ac_status); } && {
40504 test -z "$ac_cxx_werror_flag" ||
40505 test ! -s conftest.err
40506 } && test -s conftest.$ac_objext; then
40507 ac_cv_func_which_getservbyname_r=five
40509 echo "$as_me: failed program was:" >&5
40510 sed 's/^/| /' conftest.$ac_ext >&5
40513 cat >conftest.$ac_ext <<_ACEOF
40516 cat confdefs.h >>conftest.$ac_ext
40517 cat >>conftest.$ac_ext <<_ACEOF
40518 /* end confdefs.h. */
40526 struct servent *se;
40527 struct servent_data data;
40528 (void) getservbyname_r(name, proto, se, &data);
40534 rm -f conftest.$ac_objext
40535 if { (ac_try="$ac_compile"
40536 case "(($ac_try" in
40537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40538 *) ac_try_echo=$ac_try;;
40540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40541 (eval "$ac_compile") 2>conftest.er1
40543 grep -v '^ *+' conftest.er1 >conftest.err
40545 cat conftest.err >&5
40546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40547 (exit $ac_status); } && {
40548 test -z "$ac_cxx_werror_flag" ||
40549 test ! -s conftest.err
40550 } && test -s conftest.$ac_objext; then
40551 ac_cv_func_which_getservbyname_r=four
40553 echo "$as_me: failed program was:" >&5
40554 sed 's/^/| /' conftest.$ac_ext >&5
40556 ac_cv_func_which_getservbyname_r=no
40560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40572 ac_cpp='$CPP $CPPFLAGS'
40573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40580 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40581 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40583 if test $ac_cv_func_which_getservbyname_r = six; then
40584 cat >>confdefs.h <<\_ACEOF
40585 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40588 elif test $ac_cv_func_which_getservbyname_r = five; then
40589 cat >>confdefs.h <<\_ACEOF
40590 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40593 elif test $ac_cv_func_which_getservbyname_r = four; then
40594 cat >>confdefs.h <<\_ACEOF
40595 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40601 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40602 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40604 for ac_func in getservbyname
40606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40607 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40609 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40610 echo $ECHO_N "(cached) $ECHO_C" >&6
40612 cat >conftest.$ac_ext <<_ACEOF
40615 cat confdefs.h >>conftest.$ac_ext
40616 cat >>conftest.$ac_ext <<_ACEOF
40617 /* end confdefs.h. */
40618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40620 #define $ac_func innocuous_$ac_func
40622 /* System header to define __stub macros and hopefully few prototypes,
40623 which can conflict with char $ac_func (); below.
40624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40625 <limits.h> exists even on freestanding compilers. */
40628 # include <limits.h>
40630 # include <assert.h>
40635 /* Override any GCC internal prototype to avoid an error.
40636 Use char because int might match the return type of a GCC
40637 builtin and then its argument prototype would still apply. */
40642 /* The GNU C library defines this for functions which it implements
40643 to always fail with ENOSYS. Some functions are actually named
40644 something starting with __ and the normal name is an alias. */
40645 #if defined __stub_$ac_func || defined __stub___$ac_func
40652 return $ac_func ();
40657 rm -f conftest.$ac_objext conftest$ac_exeext
40658 if { (ac_try="$ac_link"
40659 case "(($ac_try" in
40660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40661 *) ac_try_echo=$ac_try;;
40663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40664 (eval "$ac_link") 2>conftest.er1
40666 grep -v '^ *+' conftest.er1 >conftest.err
40668 cat conftest.err >&5
40669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40670 (exit $ac_status); } && {
40671 test -z "$ac_c_werror_flag" ||
40672 test ! -s conftest.err
40673 } && test -s conftest$ac_exeext &&
40674 $as_test_x conftest$ac_exeext; then
40675 eval "$as_ac_var=yes"
40677 echo "$as_me: failed program was:" >&5
40678 sed 's/^/| /' conftest.$ac_ext >&5
40680 eval "$as_ac_var=no"
40683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40684 conftest$ac_exeext conftest.$ac_ext
40686 ac_res=`eval echo '${'$as_ac_var'}'`
40687 { echo "$as_me:$LINENO: result: $ac_res" >&5
40688 echo "${ECHO_T}$ac_res" >&6; }
40689 if test `eval echo '${'$as_ac_var'}'` = yes; then
40690 cat >>confdefs.h <<_ACEOF
40691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40693 cat >>confdefs.h <<\_ACEOF
40694 #define HAVE_GETSERVBYNAME 1
40702 if test "$wxUSE_THREADS" = "yes"; then
40703 cat >>confdefs.h <<\_ACEOF
40704 #define wxUSE_THREADS 1
40708 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40710 if test "$wx_cv_func_strtok_r" = "yes"; then
40711 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40712 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40713 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40714 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40715 { echo "$as_me:$LINENO: result: yes" >&5
40716 echo "${ECHO_T}yes" >&6; }
40718 { echo "$as_me:$LINENO: result: no" >&5
40719 echo "${ECHO_T}no" >&6; }
40724 if test "$WXGTK2" = 1 ; then
40725 cat >>confdefs.h <<_ACEOF
40726 #define __WXGTK20__ $WXGTK2
40732 if test "$WXGTK12" = 1 ; then
40733 cat >>confdefs.h <<_ACEOF
40734 #define __WXGTK12__ $WXGTK12
40739 if test "$WXGTK127" = 1 ; then
40740 cat >>confdefs.h <<_ACEOF
40741 #define __WXGTK127__ $WXGTK127
40746 if test "$WXGPE" = 1 ; then
40747 cat >>confdefs.h <<_ACEOF
40748 #define __WXGPE__ $WXGPE
40754 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40759 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40760 wxUSE_DEBUG_INFO=yes
40761 if test "$GCC" = yes; then
40762 DEBUG_CFLAGS="-ggdb"
40766 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40767 cat >>confdefs.h <<\_ACEOF
40771 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40773 if test "$wxUSE_GTK" = 1 ; then
40774 if test "x$wxGTK_VERSION" = "x1" ; then
40775 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40780 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40781 cat >>confdefs.h <<\_ACEOF
40782 #define wxUSE_MEMORY_TRACING 1
40785 cat >>confdefs.h <<\_ACEOF
40786 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40789 cat >>confdefs.h <<\_ACEOF
40790 #define wxUSE_DEBUG_NEW_ALWAYS 1
40793 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40796 if test "$wxUSE_DMALLOC" = "yes" ; then
40797 DMALLOC_LIBS="-ldmallocthcxx"
40801 if test "$wxUSE_PROFILE" = "yes" ; then
40802 PROFILE_FLAGS=" -pg"
40805 if test "$GCC" = "yes" ; then
40806 if test "$wxUSE_NO_RTTI" = "yes" ; then
40807 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40809 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40810 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40812 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40813 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40818 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40821 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40827 if test "$wxUSE_OPTIMISE" = "no" ; then
40828 if test "$GCC" = yes ; then
40829 OPTIMISE_CFLAGS="-O0"
40832 if test "$GCC" = yes ; then
40834 *-pc-os2_emx | *-pc-os2-emx )
40835 OPTIMISE_CFLAGS="-O2"
40838 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40842 OPTIMISE_CFLAGS="-O"
40847 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40848 cat >>confdefs.h <<\_ACEOF
40849 #define WXWIN_COMPATIBILITY_2_6 1
40853 WXWIN_COMPATIBILITY_2_8="yes"
40856 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40857 cat >>confdefs.h <<\_ACEOF
40858 #define WXWIN_COMPATIBILITY_2_8 1
40864 if test "$wxUSE_GUI" = "yes"; then
40865 cat >>confdefs.h <<\_ACEOF
40866 #define wxUSE_GUI 1
40873 if test "$wxUSE_UNIX" = "yes"; then
40874 cat >>confdefs.h <<\_ACEOF
40875 #define wxUSE_UNIX 1
40881 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40885 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40886 if test "$USE_DARWIN" = 1; then
40888 elif test "$USE_DOS" = 1; then
40892 for ac_func in dlopen
40894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40895 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40897 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40898 echo $ECHO_N "(cached) $ECHO_C" >&6
40900 cat >conftest.$ac_ext <<_ACEOF
40903 cat confdefs.h >>conftest.$ac_ext
40904 cat >>conftest.$ac_ext <<_ACEOF
40905 /* end confdefs.h. */
40906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40908 #define $ac_func innocuous_$ac_func
40910 /* System header to define __stub macros and hopefully few prototypes,
40911 which can conflict with char $ac_func (); below.
40912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40913 <limits.h> exists even on freestanding compilers. */
40916 # include <limits.h>
40918 # include <assert.h>
40923 /* Override any GCC internal prototype to avoid an error.
40924 Use char because int might match the return type of a GCC
40925 builtin and then its argument prototype would still apply. */
40930 /* The GNU C library defines this for functions which it implements
40931 to always fail with ENOSYS. Some functions are actually named
40932 something starting with __ and the normal name is an alias. */
40933 #if defined __stub_$ac_func || defined __stub___$ac_func
40940 return $ac_func ();
40945 rm -f conftest.$ac_objext conftest$ac_exeext
40946 if { (ac_try="$ac_link"
40947 case "(($ac_try" in
40948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40949 *) ac_try_echo=$ac_try;;
40951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40952 (eval "$ac_link") 2>conftest.er1
40954 grep -v '^ *+' conftest.er1 >conftest.err
40956 cat conftest.err >&5
40957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40958 (exit $ac_status); } && {
40959 test -z "$ac_c_werror_flag" ||
40960 test ! -s conftest.err
40961 } && test -s conftest$ac_exeext &&
40962 $as_test_x conftest$ac_exeext; then
40963 eval "$as_ac_var=yes"
40965 echo "$as_me: failed program was:" >&5
40966 sed 's/^/| /' conftest.$ac_ext >&5
40968 eval "$as_ac_var=no"
40971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40972 conftest$ac_exeext conftest.$ac_ext
40974 ac_res=`eval echo '${'$as_ac_var'}'`
40975 { echo "$as_me:$LINENO: result: $ac_res" >&5
40976 echo "${ECHO_T}$ac_res" >&6; }
40977 if test `eval echo '${'$as_ac_var'}'` = yes; then
40978 cat >>confdefs.h <<_ACEOF
40979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40982 cat >>confdefs.h <<\_ACEOF
40983 #define HAVE_DLOPEN 1
40990 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40991 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40992 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40993 echo $ECHO_N "(cached) $ECHO_C" >&6
40995 ac_check_lib_save_LIBS=$LIBS
40997 cat >conftest.$ac_ext <<_ACEOF
41000 cat confdefs.h >>conftest.$ac_ext
41001 cat >>conftest.$ac_ext <<_ACEOF
41002 /* end confdefs.h. */
41004 /* Override any GCC internal prototype to avoid an error.
41005 Use char because int might match the return type of a GCC
41006 builtin and then its argument prototype would still apply. */
41019 rm -f conftest.$ac_objext conftest$ac_exeext
41020 if { (ac_try="$ac_link"
41021 case "(($ac_try" in
41022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41023 *) ac_try_echo=$ac_try;;
41025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41026 (eval "$ac_link") 2>conftest.er1
41028 grep -v '^ *+' conftest.er1 >conftest.err
41030 cat conftest.err >&5
41031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41032 (exit $ac_status); } && {
41033 test -z "$ac_c_werror_flag" ||
41034 test ! -s conftest.err
41035 } && test -s conftest$ac_exeext &&
41036 $as_test_x conftest$ac_exeext; then
41037 ac_cv_lib_dl_dlopen=yes
41039 echo "$as_me: failed program was:" >&5
41040 sed 's/^/| /' conftest.$ac_ext >&5
41042 ac_cv_lib_dl_dlopen=no
41045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41046 conftest$ac_exeext conftest.$ac_ext
41047 LIBS=$ac_check_lib_save_LIBS
41049 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41050 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41051 if test $ac_cv_lib_dl_dlopen = yes; then
41053 cat >>confdefs.h <<\_ACEOF
41054 #define HAVE_DLOPEN 1
41058 DL_LINK=" -ldl$DL_LINK"
41063 for ac_func in shl_load
41065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41066 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41068 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41069 echo $ECHO_N "(cached) $ECHO_C" >&6
41071 cat >conftest.$ac_ext <<_ACEOF
41074 cat confdefs.h >>conftest.$ac_ext
41075 cat >>conftest.$ac_ext <<_ACEOF
41076 /* end confdefs.h. */
41077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41079 #define $ac_func innocuous_$ac_func
41081 /* System header to define __stub macros and hopefully few prototypes,
41082 which can conflict with char $ac_func (); below.
41083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41084 <limits.h> exists even on freestanding compilers. */
41087 # include <limits.h>
41089 # include <assert.h>
41094 /* Override any GCC internal prototype to avoid an error.
41095 Use char because int might match the return type of a GCC
41096 builtin and then its argument prototype would still apply. */
41101 /* The GNU C library defines this for functions which it implements
41102 to always fail with ENOSYS. Some functions are actually named
41103 something starting with __ and the normal name is an alias. */
41104 #if defined __stub_$ac_func || defined __stub___$ac_func
41111 return $ac_func ();
41116 rm -f conftest.$ac_objext conftest$ac_exeext
41117 if { (ac_try="$ac_link"
41118 case "(($ac_try" in
41119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41120 *) ac_try_echo=$ac_try;;
41122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41123 (eval "$ac_link") 2>conftest.er1
41125 grep -v '^ *+' conftest.er1 >conftest.err
41127 cat conftest.err >&5
41128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41129 (exit $ac_status); } && {
41130 test -z "$ac_c_werror_flag" ||
41131 test ! -s conftest.err
41132 } && test -s conftest$ac_exeext &&
41133 $as_test_x conftest$ac_exeext; then
41134 eval "$as_ac_var=yes"
41136 echo "$as_me: failed program was:" >&5
41137 sed 's/^/| /' conftest.$ac_ext >&5
41139 eval "$as_ac_var=no"
41142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41143 conftest$ac_exeext conftest.$ac_ext
41145 ac_res=`eval echo '${'$as_ac_var'}'`
41146 { echo "$as_me:$LINENO: result: $ac_res" >&5
41147 echo "${ECHO_T}$ac_res" >&6; }
41148 if test `eval echo '${'$as_ac_var'}'` = yes; then
41149 cat >>confdefs.h <<_ACEOF
41150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41153 cat >>confdefs.h <<\_ACEOF
41154 #define HAVE_SHL_LOAD 1
41161 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41162 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41163 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41164 echo $ECHO_N "(cached) $ECHO_C" >&6
41166 ac_check_lib_save_LIBS=$LIBS
41167 LIBS="-lshl_load $LIBS"
41168 cat >conftest.$ac_ext <<_ACEOF
41171 cat confdefs.h >>conftest.$ac_ext
41172 cat >>conftest.$ac_ext <<_ACEOF
41173 /* end confdefs.h. */
41175 /* Override any GCC internal prototype to avoid an error.
41176 Use char because int might match the return type of a GCC
41177 builtin and then its argument prototype would still apply. */
41190 rm -f conftest.$ac_objext conftest$ac_exeext
41191 if { (ac_try="$ac_link"
41192 case "(($ac_try" in
41193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41194 *) ac_try_echo=$ac_try;;
41196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41197 (eval "$ac_link") 2>conftest.er1
41199 grep -v '^ *+' conftest.er1 >conftest.err
41201 cat conftest.err >&5
41202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41203 (exit $ac_status); } && {
41204 test -z "$ac_c_werror_flag" ||
41205 test ! -s conftest.err
41206 } && test -s conftest$ac_exeext &&
41207 $as_test_x conftest$ac_exeext; then
41208 ac_cv_lib_shl_load_dld=yes
41210 echo "$as_me: failed program was:" >&5
41211 sed 's/^/| /' conftest.$ac_ext >&5
41213 ac_cv_lib_shl_load_dld=no
41216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41217 conftest$ac_exeext conftest.$ac_ext
41218 LIBS=$ac_check_lib_save_LIBS
41220 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41221 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41222 if test $ac_cv_lib_shl_load_dld = yes; then
41225 DL_LINK=" -ldld$DL_LINK"
41241 if test "$HAVE_DL_FUNCS" = 1; then
41243 for ac_func in dlerror
41245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41246 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41248 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41249 echo $ECHO_N "(cached) $ECHO_C" >&6
41251 cat >conftest.$ac_ext <<_ACEOF
41254 cat confdefs.h >>conftest.$ac_ext
41255 cat >>conftest.$ac_ext <<_ACEOF
41256 /* end confdefs.h. */
41257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41259 #define $ac_func innocuous_$ac_func
41261 /* System header to define __stub macros and hopefully few prototypes,
41262 which can conflict with char $ac_func (); below.
41263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41264 <limits.h> exists even on freestanding compilers. */
41267 # include <limits.h>
41269 # include <assert.h>
41274 /* Override any GCC internal prototype to avoid an error.
41275 Use char because int might match the return type of a GCC
41276 builtin and then its argument prototype would still apply. */
41281 /* The GNU C library defines this for functions which it implements
41282 to always fail with ENOSYS. Some functions are actually named
41283 something starting with __ and the normal name is an alias. */
41284 #if defined __stub_$ac_func || defined __stub___$ac_func
41291 return $ac_func ();
41296 rm -f conftest.$ac_objext conftest$ac_exeext
41297 if { (ac_try="$ac_link"
41298 case "(($ac_try" in
41299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41300 *) ac_try_echo=$ac_try;;
41302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41303 (eval "$ac_link") 2>conftest.er1
41305 grep -v '^ *+' conftest.er1 >conftest.err
41307 cat conftest.err >&5
41308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41309 (exit $ac_status); } && {
41310 test -z "$ac_c_werror_flag" ||
41311 test ! -s conftest.err
41312 } && test -s conftest$ac_exeext &&
41313 $as_test_x conftest$ac_exeext; then
41314 eval "$as_ac_var=yes"
41316 echo "$as_me: failed program was:" >&5
41317 sed 's/^/| /' conftest.$ac_ext >&5
41319 eval "$as_ac_var=no"
41322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41323 conftest$ac_exeext conftest.$ac_ext
41325 ac_res=`eval echo '${'$as_ac_var'}'`
41326 { echo "$as_me:$LINENO: result: $ac_res" >&5
41327 echo "${ECHO_T}$ac_res" >&6; }
41328 if test `eval echo '${'$as_ac_var'}'` = yes; then
41329 cat >>confdefs.h <<_ACEOF
41330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41332 cat >>confdefs.h <<\_ACEOF
41333 #define HAVE_DLERROR 1
41338 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41339 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41340 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41341 echo $ECHO_N "(cached) $ECHO_C" >&6
41343 ac_check_lib_save_LIBS=$LIBS
41345 cat >conftest.$ac_ext <<_ACEOF
41348 cat confdefs.h >>conftest.$ac_ext
41349 cat >>conftest.$ac_ext <<_ACEOF
41350 /* end confdefs.h. */
41352 /* Override any GCC internal prototype to avoid an error.
41353 Use char because int might match the return type of a GCC
41354 builtin and then its argument prototype would still apply. */
41367 rm -f conftest.$ac_objext conftest$ac_exeext
41368 if { (ac_try="$ac_link"
41369 case "(($ac_try" in
41370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41371 *) ac_try_echo=$ac_try;;
41373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41374 (eval "$ac_link") 2>conftest.er1
41376 grep -v '^ *+' conftest.er1 >conftest.err
41378 cat conftest.err >&5
41379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41380 (exit $ac_status); } && {
41381 test -z "$ac_c_werror_flag" ||
41382 test ! -s conftest.err
41383 } && test -s conftest$ac_exeext &&
41384 $as_test_x conftest$ac_exeext; then
41385 ac_cv_lib_dl_dlerror=yes
41387 echo "$as_me: failed program was:" >&5
41388 sed 's/^/| /' conftest.$ac_ext >&5
41390 ac_cv_lib_dl_dlerror=no
41393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41394 conftest$ac_exeext conftest.$ac_ext
41395 LIBS=$ac_check_lib_save_LIBS
41397 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41398 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41399 if test $ac_cv_lib_dl_dlerror = yes; then
41400 cat >>confdefs.h <<\_ACEOF
41401 #define HAVE_DLERROR 1
41414 if test "$HAVE_DL_FUNCS" = 0; then
41415 if test "$HAVE_SHL_FUNCS" = 0; then
41416 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41417 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41418 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41419 wxUSE_DYNAMIC_LOADER=no
41420 wxUSE_DYNLIB_CLASS=no
41422 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41423 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41430 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41431 cat >>confdefs.h <<\_ACEOF
41432 #define wxUSE_DYNAMIC_LOADER 1
41436 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41437 cat >>confdefs.h <<\_ACEOF
41438 #define wxUSE_DYNLIB_CLASS 1
41445 if test "$wxUSE_PLUGINS" = "yes" ; then
41446 if test "$wxUSE_SHARED" = "no" ; then
41447 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41448 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41451 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41452 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41453 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41456 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41457 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41458 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41461 if test "$wxUSE_PLUGINS" = "yes" ; then
41462 cat >>confdefs.h <<\_ACEOF
41463 #define wxUSE_PLUGINS 1
41470 if test "$wxUSE_STL" = "yes"; then
41471 cat >>confdefs.h <<\_ACEOF
41472 #define wxUSE_STL 1
41477 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41478 cat >>confdefs.h <<\_ACEOF
41479 #define wxUSE_EXTENDED_RTTI 1
41484 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41485 cat >>confdefs.h <<\_ACEOF
41486 #define wxUSE_APPLE_IEEE 1
41491 if test "$wxUSE_TIMER" = "yes"; then
41492 cat >>confdefs.h <<\_ACEOF
41493 #define wxUSE_TIMER 1
41498 if test "$USE_UNIX" = 1 ; then
41499 if test "$wxUSE_MGL" != 1; then
41500 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41501 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41502 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41503 echo $ECHO_N "(cached) $ECHO_C" >&6
41506 cat >conftest.$ac_ext <<_ACEOF
41509 cat confdefs.h >>conftest.$ac_ext
41510 cat >>conftest.$ac_ext <<_ACEOF
41511 /* end confdefs.h. */
41513 #include <sys/ioctl.h>
41514 #include <sys/soundcard.h>
41520 ioctl(0, SNDCTL_DSP_SPEED, 0);
41526 rm -f conftest.$ac_objext conftest$ac_exeext
41527 if { (ac_try="$ac_link"
41528 case "(($ac_try" in
41529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41530 *) ac_try_echo=$ac_try;;
41532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41533 (eval "$ac_link") 2>conftest.er1
41535 grep -v '^ *+' conftest.er1 >conftest.err
41537 cat conftest.err >&5
41538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41539 (exit $ac_status); } && {
41540 test -z "$ac_c_werror_flag" ||
41541 test ! -s conftest.err
41542 } && test -s conftest$ac_exeext &&
41543 $as_test_x conftest$ac_exeext; then
41544 ac_cv_header_sys_soundcard=yes
41546 echo "$as_me: failed program was:" >&5
41547 sed 's/^/| /' conftest.$ac_ext >&5
41551 LIBS="$saveLibs -lossaudio"
41552 cat >conftest.$ac_ext <<_ACEOF
41555 cat confdefs.h >>conftest.$ac_ext
41556 cat >>conftest.$ac_ext <<_ACEOF
41557 /* end confdefs.h. */
41559 #include <sys/ioctl.h>
41560 #include <sys/soundcard.h>
41566 ioctl(0, SNDCTL_DSP_SPEED, 0);
41572 rm -f conftest.$ac_objext conftest$ac_exeext
41573 if { (ac_try="$ac_link"
41574 case "(($ac_try" in
41575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41576 *) ac_try_echo=$ac_try;;
41578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41579 (eval "$ac_link") 2>conftest.er1
41581 grep -v '^ *+' conftest.er1 >conftest.err
41583 cat conftest.err >&5
41584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41585 (exit $ac_status); } && {
41586 test -z "$ac_c_werror_flag" ||
41587 test ! -s conftest.err
41588 } && test -s conftest$ac_exeext &&
41589 $as_test_x conftest$ac_exeext; then
41590 ac_cv_header_sys_soundcard=yes
41592 echo "$as_me: failed program was:" >&5
41593 sed 's/^/| /' conftest.$ac_ext >&5
41597 ac_cv_header_sys_soundcard=no
41602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41603 conftest$ac_exeext conftest.$ac_ext
41608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41609 conftest$ac_exeext conftest.$ac_ext
41612 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41613 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41616 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41617 cat >>confdefs.h <<\_ACEOF
41618 #define HAVE_SYS_SOUNDCARD_H 1
41625 if test "$wxUSE_SOUND" = "yes"; then
41626 if test "$USE_UNIX" = 1 ; then
41627 if test "$wxUSE_LIBSDL" != "no"; then
41629 # Check whether --with-sdl-prefix was given.
41630 if test "${with_sdl_prefix+set}" = set; then
41631 withval=$with_sdl_prefix; sdl_prefix="$withval"
41637 # Check whether --with-sdl-exec-prefix was given.
41638 if test "${with_sdl_exec_prefix+set}" = set; then
41639 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41644 # Check whether --enable-sdltest was given.
41645 if test "${enable_sdltest+set}" = set; then
41646 enableval=$enable_sdltest;
41652 if test x$sdl_exec_prefix != x ; then
41653 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41654 if test x${SDL_CONFIG+set} != xset ; then
41655 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41658 if test x$sdl_prefix != x ; then
41659 sdl_args="$sdl_args --prefix=$sdl_prefix"
41660 if test x${SDL_CONFIG+set} != xset ; then
41661 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41665 if test "x$prefix" != xNONE; then
41666 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41668 # Extract the first word of "sdl-config", so it can be a program name with args.
41669 set dummy sdl-config; ac_word=$2
41670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41672 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41673 echo $ECHO_N "(cached) $ECHO_C" >&6
41675 case $SDL_CONFIG in
41677 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41681 for as_dir in $PATH
41684 test -z "$as_dir" && as_dir=.
41685 for ac_exec_ext in '' $ac_executable_extensions; do
41686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41687 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41695 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41699 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41700 if test -n "$SDL_CONFIG"; then
41701 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41702 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41704 { echo "$as_me:$LINENO: result: no" >&5
41705 echo "${ECHO_T}no" >&6; }
41709 min_sdl_version=1.2.0
41710 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41711 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41713 if test "$SDL_CONFIG" = "no" ; then
41716 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41717 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41719 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41720 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41721 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41722 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41723 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41724 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41725 if test "x$enable_sdltest" = "xyes" ; then
41726 ac_save_CFLAGS="$CFLAGS"
41727 ac_save_CXXFLAGS="$CXXFLAGS"
41728 ac_save_LIBS="$LIBS"
41729 CFLAGS="$CFLAGS $SDL_CFLAGS"
41730 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41731 LIBS="$LIBS $SDL_LIBS"
41733 if test "$cross_compiling" = yes; then
41734 echo $ac_n "cross compiling; assumed OK... $ac_c"
41736 cat >conftest.$ac_ext <<_ACEOF
41739 cat confdefs.h >>conftest.$ac_ext
41740 cat >>conftest.$ac_ext <<_ACEOF
41741 /* end confdefs.h. */
41744 #include <stdlib.h>
41745 #include <string.h>
41749 my_strdup (char *str)
41755 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41756 strcpy (new_str, str);
41764 int main (int argc, char *argv[])
41766 int major, minor, micro;
41769 /* This hangs on some systems (?)
41770 system ("touch conf.sdltest");
41772 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41774 /* HP/UX 9 (%@#!) writes to sscanf strings */
41775 tmp_version = my_strdup("$min_sdl_version");
41776 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41777 printf("%s, bad version string\n", "$min_sdl_version");
41781 if (($sdl_major_version > major) ||
41782 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41783 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41789 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41790 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41791 printf("*** best to upgrade to the required version.\n");
41792 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41793 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41794 printf("*** config.cache before re-running configure\n");
41801 rm -f conftest$ac_exeext
41802 if { (ac_try="$ac_link"
41803 case "(($ac_try" in
41804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41805 *) ac_try_echo=$ac_try;;
41807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41808 (eval "$ac_link") 2>&5
41810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41811 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41812 { (case "(($ac_try" in
41813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41814 *) ac_try_echo=$ac_try;;
41816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41817 (eval "$ac_try") 2>&5
41819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41820 (exit $ac_status); }; }; then
41823 echo "$as_me: program exited with status $ac_status" >&5
41824 echo "$as_me: failed program was:" >&5
41825 sed 's/^/| /' conftest.$ac_ext >&5
41827 ( exit $ac_status )
41830 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41834 CFLAGS="$ac_save_CFLAGS"
41835 CXXFLAGS="$ac_save_CXXFLAGS"
41836 LIBS="$ac_save_LIBS"
41839 if test "x$no_sdl" = x ; then
41840 { echo "$as_me:$LINENO: result: yes" >&5
41841 echo "${ECHO_T}yes" >&6; }
41843 EXTRALIBS_SDL="$SDL_LIBS"
41844 CFLAGS="$SDL_CFLAGS $CFLAGS"
41845 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41846 cat >>confdefs.h <<\_ACEOF
41847 #define wxUSE_LIBSDL 1
41852 { echo "$as_me:$LINENO: result: no" >&5
41853 echo "${ECHO_T}no" >&6; }
41854 if test "$SDL_CONFIG" = "no" ; then
41855 echo "*** The sdl-config script installed by SDL could not be found"
41856 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41857 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41858 echo "*** full path to sdl-config."
41860 if test -f conf.sdltest ; then
41863 echo "*** Could not run SDL test program, checking why..."
41864 CFLAGS="$CFLAGS $SDL_CFLAGS"
41865 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41866 LIBS="$LIBS $SDL_LIBS"
41867 cat >conftest.$ac_ext <<_ACEOF
41870 cat confdefs.h >>conftest.$ac_ext
41871 cat >>conftest.$ac_ext <<_ACEOF
41872 /* end confdefs.h. */
41877 int main(int argc, char *argv[])
41880 #define main K_and_R_C_main
41890 rm -f conftest.$ac_objext conftest$ac_exeext
41891 if { (ac_try="$ac_link"
41892 case "(($ac_try" in
41893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41894 *) ac_try_echo=$ac_try;;
41896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41897 (eval "$ac_link") 2>conftest.er1
41899 grep -v '^ *+' conftest.er1 >conftest.err
41901 cat conftest.err >&5
41902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41903 (exit $ac_status); } && {
41904 test -z "$ac_c_werror_flag" ||
41905 test ! -s conftest.err
41906 } && test -s conftest$ac_exeext &&
41907 $as_test_x conftest$ac_exeext; then
41908 echo "*** The test program compiled, but did not run. This usually means"
41909 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41910 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41911 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41912 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41913 echo "*** is required on your system"
41915 echo "*** If you have an old version installed, it is best to remove it, although"
41916 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41918 echo "$as_me: failed program was:" >&5
41919 sed 's/^/| /' conftest.$ac_ext >&5
41921 echo "*** The test program failed to compile or link. See the file config.log for the"
41922 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41923 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41924 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41928 conftest$ac_exeext conftest.$ac_ext
41929 CFLAGS="$ac_save_CFLAGS"
41930 CXXFLAGS="$ac_save_CXXFLAGS"
41931 LIBS="$ac_save_LIBS"
41942 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41947 if test "$wxUSE_MGL" = 1; then
41948 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41949 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41955 if test "$wxUSE_SOUND" = "yes"; then
41956 cat >>confdefs.h <<\_ACEOF
41957 #define wxUSE_SOUND 1
41960 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41963 if test "$WXGTK2" = 1; then
41966 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41967 if test -n "$ac_tool_prefix"; then
41968 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41969 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41972 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41973 echo $ECHO_N "(cached) $ECHO_C" >&6
41975 case $PKG_CONFIG in
41977 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41981 for as_dir in $PATH
41984 test -z "$as_dir" && as_dir=.
41985 for ac_exec_ext in '' $ac_executable_extensions; do
41986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41987 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41998 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41999 if test -n "$PKG_CONFIG"; then
42000 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42001 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42003 { echo "$as_me:$LINENO: result: no" >&5
42004 echo "${ECHO_T}no" >&6; }
42009 if test -z "$ac_cv_path_PKG_CONFIG"; then
42010 ac_pt_PKG_CONFIG=$PKG_CONFIG
42011 # Extract the first word of "pkg-config", so it can be a program name with args.
42012 set dummy pkg-config; ac_word=$2
42013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42015 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42016 echo $ECHO_N "(cached) $ECHO_C" >&6
42018 case $ac_pt_PKG_CONFIG in
42020 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42024 for as_dir in $PATH
42027 test -z "$as_dir" && as_dir=.
42028 for ac_exec_ext in '' $ac_executable_extensions; do
42029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42030 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42041 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42042 if test -n "$ac_pt_PKG_CONFIG"; then
42043 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42044 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42046 { echo "$as_me:$LINENO: result: no" >&5
42047 echo "${ECHO_T}no" >&6; }
42050 if test "x$ac_pt_PKG_CONFIG" = x; then
42053 case $cross_compiling:$ac_tool_warned in
42055 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42056 whose name does not start with the host triplet. If you think this
42057 configuration is useful to you, please write to autoconf@gnu.org." >&5
42058 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42059 whose name does not start with the host triplet. If you think this
42060 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42061 ac_tool_warned=yes ;;
42063 PKG_CONFIG=$ac_pt_PKG_CONFIG
42066 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42070 if test -n "$PKG_CONFIG"; then
42071 _pkg_min_version=0.9.0
42072 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42073 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42074 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42075 { echo "$as_me:$LINENO: result: yes" >&5
42076 echo "${ECHO_T}yes" >&6; }
42078 { echo "$as_me:$LINENO: result: no" >&5
42079 echo "${ECHO_T}no" >&6; }
42085 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42087 if test "$wxUSE_GTKPRINT" = "yes" ; then
42091 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42092 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42094 if test -n "$PKG_CONFIG"; then
42095 if test -n "$GTKPRINT_CFLAGS"; then
42096 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42098 if test -n "$PKG_CONFIG" && \
42099 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42100 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42103 (exit $ac_status); }; then
42104 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42112 if test -n "$PKG_CONFIG"; then
42113 if test -n "$GTKPRINT_LIBS"; then
42114 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42116 if test -n "$PKG_CONFIG" && \
42117 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42118 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42121 (exit $ac_status); }; then
42122 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42133 if test $pkg_failed = yes; then
42135 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42136 _pkg_short_errors_supported=yes
42138 _pkg_short_errors_supported=no
42140 if test $_pkg_short_errors_supported = yes; then
42141 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42143 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42145 # Put the nasty error message in config.log where it belongs
42146 echo "$GTKPRINT_PKG_ERRORS" >&5
42149 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42150 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42151 wxUSE_GTKPRINT="no"
42154 elif test $pkg_failed = untried; then
42156 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42157 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42158 wxUSE_GTKPRINT="no"
42162 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42163 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42164 { echo "$as_me:$LINENO: result: yes" >&5
42165 echo "${ECHO_T}yes" >&6; }
42167 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42168 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42169 cat >>confdefs.h <<\_ACEOF
42170 #define wxUSE_GTKPRINT 1
42177 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42181 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42182 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42184 if test -n "$PKG_CONFIG"; then
42185 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42186 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42188 if test -n "$PKG_CONFIG" && \
42189 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42190 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42193 (exit $ac_status); }; then
42194 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42202 if test -n "$PKG_CONFIG"; then
42203 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42204 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42206 if test -n "$PKG_CONFIG" && \
42207 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42208 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42211 (exit $ac_status); }; then
42212 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42223 if test $pkg_failed = yes; then
42225 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42226 _pkg_short_errors_supported=yes
42228 _pkg_short_errors_supported=no
42230 if test $_pkg_short_errors_supported = yes; then
42231 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42233 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42235 # Put the nasty error message in config.log where it belongs
42236 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42239 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42240 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42241 wxUSE_LIBGNOMEPRINT="no"
42244 elif test $pkg_failed = untried; then
42246 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42247 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42248 wxUSE_LIBGNOMEPRINT="no"
42252 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42253 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42254 { echo "$as_me:$LINENO: result: yes" >&5
42255 echo "${ECHO_T}yes" >&6; }
42257 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42258 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42259 cat >>confdefs.h <<\_ACEOF
42260 #define wxUSE_LIBGNOMEPRINT 1
42268 if test "$wxUSE_MIMETYPE" = "yes" ; then
42269 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42273 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42274 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42276 if test -n "$PKG_CONFIG"; then
42277 if test -n "$GNOMEVFS_CFLAGS"; then
42278 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42280 if test -n "$PKG_CONFIG" && \
42281 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42282 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42285 (exit $ac_status); }; then
42286 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42294 if test -n "$PKG_CONFIG"; then
42295 if test -n "$GNOMEVFS_LIBS"; then
42296 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42298 if test -n "$PKG_CONFIG" && \
42299 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42300 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42303 (exit $ac_status); }; then
42304 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42315 if test $pkg_failed = yes; then
42317 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42318 _pkg_short_errors_supported=yes
42320 _pkg_short_errors_supported=no
42322 if test $_pkg_short_errors_supported = yes; then
42323 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42325 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42327 # Put the nasty error message in config.log where it belongs
42328 echo "$GNOMEVFS_PKG_ERRORS" >&5
42331 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42332 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42333 wxUSE_LIBGNOMEVFS="no"
42336 elif test $pkg_failed = untried; then
42338 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42339 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42340 wxUSE_LIBGNOMEVFS="no"
42344 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42345 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42346 { echo "$as_me:$LINENO: result: yes" >&5
42347 echo "${ECHO_T}yes" >&6; }
42349 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42350 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42351 cat >>confdefs.h <<\_ACEOF
42352 #define wxUSE_LIBGNOMEVFS 1
42360 if test "$wxUSE_LIBHILDON" = "yes" ; then
42363 { echo "$as_me:$LINENO: checking for HILDON" >&5
42364 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42366 if test -n "$PKG_CONFIG"; then
42367 if test -n "$HILDON_CFLAGS"; then
42368 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42370 if test -n "$PKG_CONFIG" && \
42371 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42372 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42375 (exit $ac_status); }; then
42376 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42384 if test -n "$PKG_CONFIG"; then
42385 if test -n "$HILDON_LIBS"; then
42386 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42388 if test -n "$PKG_CONFIG" && \
42389 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42390 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42393 (exit $ac_status); }; then
42394 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42405 if test $pkg_failed = yes; then
42407 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42408 _pkg_short_errors_supported=yes
42410 _pkg_short_errors_supported=no
42412 if test $_pkg_short_errors_supported = yes; then
42413 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42415 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42417 # Put the nasty error message in config.log where it belongs
42418 echo "$HILDON_PKG_ERRORS" >&5
42421 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42422 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42423 wxUSE_LIBHILDON="no"
42426 elif test $pkg_failed = untried; then
42428 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42429 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42430 wxUSE_LIBHILDON="no"
42434 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42435 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42436 { echo "$as_me:$LINENO: result: yes" >&5
42437 echo "${ECHO_T}yes" >&6; }
42439 EXTRALIBS_HILDON="$HILDON_LIBS"
42440 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42441 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42442 cat >>confdefs.h <<\_ACEOF
42443 #define wxUSE_LIBHILDON 1
42451 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42452 cat >>confdefs.h <<\_ACEOF
42453 #define wxUSE_CMDLINE_PARSER 1
42458 if test "$wxUSE_STOPWATCH" = "yes"; then
42459 cat >>confdefs.h <<\_ACEOF
42460 #define wxUSE_STOPWATCH 1
42465 if test "$wxUSE_DATETIME" = "yes"; then
42466 cat >>confdefs.h <<\_ACEOF
42467 #define wxUSE_DATETIME 1
42472 if test "$wxUSE_FILE" = "yes"; then
42473 cat >>confdefs.h <<\_ACEOF
42474 #define wxUSE_FILE 1
42479 if test "$wxUSE_FFILE" = "yes"; then
42480 cat >>confdefs.h <<\_ACEOF
42481 #define wxUSE_FFILE 1
42486 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42487 if test "$wxUSE_STREAMS" != yes; then
42488 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42489 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42490 wxUSE_ARCHIVE_STREAMS=no
42492 cat >>confdefs.h <<\_ACEOF
42493 #define wxUSE_ARCHIVE_STREAMS 1
42499 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42500 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42501 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42502 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42503 elif test "$wxUSE_ZLIB" = "no"; then
42504 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42505 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42507 cat >>confdefs.h <<\_ACEOF
42508 #define wxUSE_ZIPSTREAM 1
42514 if test "$wxUSE_TARSTREAM" = "yes"; then
42515 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42516 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42517 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42519 cat >>confdefs.h <<\_ACEOF
42520 #define wxUSE_TARSTREAM 1
42526 if test "$wxUSE_FILESYSTEM" = "yes"; then
42527 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42528 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42529 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42530 wxUSE_FILESYSTEM=no
42532 cat >>confdefs.h <<\_ACEOF
42533 #define wxUSE_FILESYSTEM 1
42539 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42540 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42541 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42542 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42544 cat >>confdefs.h <<\_ACEOF
42545 #define wxUSE_FS_ARCHIVE 1
42551 if test "$wxUSE_FS_ZIP" = "yes"; then
42552 if test "$wxUSE_FS_ARCHIVE" != yes; then
42553 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42554 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42556 cat >>confdefs.h <<\_ACEOF
42557 #define wxUSE_FS_ZIP 1
42563 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42564 if test "$USE_UNIX" != 1; then
42565 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42566 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42567 wxUSE_ON_FATAL_EXCEPTION=no
42569 cat >>confdefs.h <<\_ACEOF
42570 #define wxUSE_ON_FATAL_EXCEPTION 1
42576 if test "$wxUSE_STACKWALKER" = "yes"; then
42577 cat >>confdefs.h <<\_ACEOF
42578 #define wxUSE_STACKWALKER 1
42583 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42584 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42585 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42586 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42587 wxUSE_DEBUGREPORT=no
42589 cat >>confdefs.h <<\_ACEOF
42590 #define wxUSE_DEBUGREPORT 1
42593 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42594 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42599 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42600 cat >>confdefs.h <<\_ACEOF
42601 #define wxUSE_SNGLINST_CHECKER 1
42606 if test "$wxUSE_BUSYINFO" = "yes"; then
42607 cat >>confdefs.h <<\_ACEOF
42608 #define wxUSE_BUSYINFO 1
42613 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42614 cat >>confdefs.h <<\_ACEOF
42615 #define wxUSE_STD_IOSTREAM 1
42620 if test "$wxUSE_STD_STRING" = "yes"; then
42621 cat >>confdefs.h <<\_ACEOF
42622 #define wxUSE_STD_STRING 1
42627 if test "$wxUSE_STDPATHS" = "yes"; then
42628 cat >>confdefs.h <<\_ACEOF
42629 #define wxUSE_STDPATHS 1
42634 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42635 cat >>confdefs.h <<\_ACEOF
42636 #define wxUSE_TEXTBUFFER 1
42641 if test "$wxUSE_TEXTFILE" = "yes"; then
42642 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42643 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42644 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42646 cat >>confdefs.h <<\_ACEOF
42647 #define wxUSE_TEXTFILE 1
42653 if test "$wxUSE_CONFIG" = "yes" ; then
42654 if test "$wxUSE_TEXTFILE" != "yes"; then
42655 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42656 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42658 cat >>confdefs.h <<\_ACEOF
42659 #define wxUSE_CONFIG 1
42662 cat >>confdefs.h <<\_ACEOF
42663 #define wxUSE_CONFIG_NATIVE 1
42666 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42670 if test "$wxUSE_INTL" = "yes" ; then
42671 if test "$wxUSE_FILE" != "yes"; then
42672 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42673 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42675 cat >>confdefs.h <<\_ACEOF
42676 #define wxUSE_INTL 1
42679 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42680 GUIDIST="$GUIDIST INTL_DIST"
42684 if test "$wxUSE_LOG" = "yes"; then
42685 cat >>confdefs.h <<\_ACEOF
42686 #define wxUSE_LOG 1
42690 if test "$wxUSE_LOGGUI" = "yes"; then
42691 cat >>confdefs.h <<\_ACEOF
42692 #define wxUSE_LOGGUI 1
42697 if test "$wxUSE_LOGWINDOW" = "yes"; then
42698 cat >>confdefs.h <<\_ACEOF
42699 #define wxUSE_LOGWINDOW 1
42704 if test "$wxUSE_LOGDIALOG" = "yes"; then
42705 cat >>confdefs.h <<\_ACEOF
42706 #define wxUSE_LOG_DIALOG 1
42711 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42714 if test "$wxUSE_LONGLONG" = "yes"; then
42715 cat >>confdefs.h <<\_ACEOF
42716 #define wxUSE_LONGLONG 1
42721 if test "$wxUSE_GEOMETRY" = "yes"; then
42722 cat >>confdefs.h <<\_ACEOF
42723 #define wxUSE_GEOMETRY 1
42728 if test "$wxUSE_BASE64" = "yes"; then
42729 cat >>confdefs.h <<\_ACEOF
42730 #define wxUSE_BASE64 1
42735 if test "$wxUSE_STREAMS" = "yes" ; then
42736 cat >>confdefs.h <<\_ACEOF
42737 #define wxUSE_STREAMS 1
42742 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42743 cat >>confdefs.h <<\_ACEOF
42744 #define wxUSE_PRINTF_POS_PARAMS 1
42749 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42750 cat >>confdefs.h <<\_ACEOF
42751 #define wxUSE_OBJC_UNIQUIFYING 1
42757 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42758 cat >>confdefs.h <<\_ACEOF
42759 #define wxUSE_CONSOLE_EVENTLOOP 1
42763 if test "$wxUSE_UNIX" = "yes"; then
42764 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42765 cat >>confdefs.h <<\_ACEOF
42766 #define wxUSE_SELECT_DISPATCHER 1
42771 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42773 for ac_header in sys/epoll.h
42775 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42776 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42778 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42779 echo $ECHO_N "(cached) $ECHO_C" >&6
42781 cat >conftest.$ac_ext <<_ACEOF
42784 cat confdefs.h >>conftest.$ac_ext
42785 cat >>conftest.$ac_ext <<_ACEOF
42786 /* end confdefs.h. */
42787 $ac_includes_default
42789 #include <$ac_header>
42791 rm -f conftest.$ac_objext
42792 if { (ac_try="$ac_compile"
42793 case "(($ac_try" in
42794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42795 *) ac_try_echo=$ac_try;;
42797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42798 (eval "$ac_compile") 2>conftest.er1
42800 grep -v '^ *+' conftest.er1 >conftest.err
42802 cat conftest.err >&5
42803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42804 (exit $ac_status); } && {
42805 test -z "$ac_c_werror_flag" ||
42806 test ! -s conftest.err
42807 } && test -s conftest.$ac_objext; then
42808 eval "$as_ac_Header=yes"
42810 echo "$as_me: failed program was:" >&5
42811 sed 's/^/| /' conftest.$ac_ext >&5
42813 eval "$as_ac_Header=no"
42816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42818 ac_res=`eval echo '${'$as_ac_Header'}'`
42819 { echo "$as_me:$LINENO: result: $ac_res" >&5
42820 echo "${ECHO_T}$ac_res" >&6; }
42821 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42822 cat >>confdefs.h <<_ACEOF
42823 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42830 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42831 cat >>confdefs.h <<\_ACEOF
42832 #define wxUSE_EPOLL_DISPATCHER 1
42836 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42837 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42846 for ac_func in gettimeofday ftime
42848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42849 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42851 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42852 echo $ECHO_N "(cached) $ECHO_C" >&6
42854 cat >conftest.$ac_ext <<_ACEOF
42857 cat confdefs.h >>conftest.$ac_ext
42858 cat >>conftest.$ac_ext <<_ACEOF
42859 /* end confdefs.h. */
42860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42862 #define $ac_func innocuous_$ac_func
42864 /* System header to define __stub macros and hopefully few prototypes,
42865 which can conflict with char $ac_func (); below.
42866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42867 <limits.h> exists even on freestanding compilers. */
42870 # include <limits.h>
42872 # include <assert.h>
42877 /* Override any GCC internal prototype to avoid an error.
42878 Use char because int might match the return type of a GCC
42879 builtin and then its argument prototype would still apply. */
42884 /* The GNU C library defines this for functions which it implements
42885 to always fail with ENOSYS. Some functions are actually named
42886 something starting with __ and the normal name is an alias. */
42887 #if defined __stub_$ac_func || defined __stub___$ac_func
42894 return $ac_func ();
42899 rm -f conftest.$ac_objext conftest$ac_exeext
42900 if { (ac_try="$ac_link"
42901 case "(($ac_try" in
42902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42903 *) ac_try_echo=$ac_try;;
42905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42906 (eval "$ac_link") 2>conftest.er1
42908 grep -v '^ *+' conftest.er1 >conftest.err
42910 cat conftest.err >&5
42911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42912 (exit $ac_status); } && {
42913 test -z "$ac_c_werror_flag" ||
42914 test ! -s conftest.err
42915 } && test -s conftest$ac_exeext &&
42916 $as_test_x conftest$ac_exeext; then
42917 eval "$as_ac_var=yes"
42919 echo "$as_me: failed program was:" >&5
42920 sed 's/^/| /' conftest.$ac_ext >&5
42922 eval "$as_ac_var=no"
42925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42926 conftest$ac_exeext conftest.$ac_ext
42928 ac_res=`eval echo '${'$as_ac_var'}'`
42929 { echo "$as_me:$LINENO: result: $ac_res" >&5
42930 echo "${ECHO_T}$ac_res" >&6; }
42931 if test `eval echo '${'$as_ac_var'}'` = yes; then
42932 cat >>confdefs.h <<_ACEOF
42933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42940 if test "$ac_cv_func_gettimeofday" = "yes"; then
42941 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42942 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42943 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42944 echo $ECHO_N "(cached) $ECHO_C" >&6
42947 cat >conftest.$ac_ext <<_ACEOF
42950 cat confdefs.h >>conftest.$ac_ext
42951 cat >>conftest.$ac_ext <<_ACEOF
42952 /* end confdefs.h. */
42954 #include <sys/time.h>
42955 #include <unistd.h>
42962 gettimeofday(&tv, NULL);
42968 rm -f conftest.$ac_objext
42969 if { (ac_try="$ac_compile"
42970 case "(($ac_try" in
42971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42972 *) ac_try_echo=$ac_try;;
42974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42975 (eval "$ac_compile") 2>conftest.er1
42977 grep -v '^ *+' conftest.er1 >conftest.err
42979 cat conftest.err >&5
42980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42981 (exit $ac_status); } && {
42982 test -z "$ac_c_werror_flag" ||
42983 test ! -s conftest.err
42984 } && test -s conftest.$ac_objext; then
42985 wx_cv_func_gettimeofday_has_2_args=yes
42987 echo "$as_me: failed program was:" >&5
42988 sed 's/^/| /' conftest.$ac_ext >&5
42990 cat >conftest.$ac_ext <<_ACEOF
42993 cat confdefs.h >>conftest.$ac_ext
42994 cat >>conftest.$ac_ext <<_ACEOF
42995 /* end confdefs.h. */
42997 #include <sys/time.h>
42998 #include <unistd.h>
43011 rm -f conftest.$ac_objext
43012 if { (ac_try="$ac_compile"
43013 case "(($ac_try" in
43014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43015 *) ac_try_echo=$ac_try;;
43017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43018 (eval "$ac_compile") 2>conftest.er1
43020 grep -v '^ *+' conftest.er1 >conftest.err
43022 cat conftest.err >&5
43023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43024 (exit $ac_status); } && {
43025 test -z "$ac_c_werror_flag" ||
43026 test ! -s conftest.err
43027 } && test -s conftest.$ac_objext; then
43028 wx_cv_func_gettimeofday_has_2_args=no
43030 echo "$as_me: failed program was:" >&5
43031 sed 's/^/| /' conftest.$ac_ext >&5
43034 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43035 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43036 wx_cv_func_gettimeofday_has_2_args=unknown
43041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43048 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43049 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43051 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43052 cat >>confdefs.h <<\_ACEOF
43053 #define WX_GETTIMEOFDAY_NO_TZ 1
43059 if test "$wxUSE_DATETIME" = "yes"; then
43060 { echo "$as_me:$LINENO: checking for strptime" >&5
43061 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43062 if test "${ac_cv_func_strptime+set}" = set; then
43063 echo $ECHO_N "(cached) $ECHO_C" >&6
43065 cat >conftest.$ac_ext <<_ACEOF
43068 cat confdefs.h >>conftest.$ac_ext
43069 cat >>conftest.$ac_ext <<_ACEOF
43070 /* end confdefs.h. */
43071 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43073 #define strptime innocuous_strptime
43075 /* System header to define __stub macros and hopefully few prototypes,
43076 which can conflict with char strptime (); below.
43077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43078 <limits.h> exists even on freestanding compilers. */
43081 # include <limits.h>
43083 # include <assert.h>
43088 /* Override any GCC internal prototype to avoid an error.
43089 Use char because int might match the return type of a GCC
43090 builtin and then its argument prototype would still apply. */
43095 /* The GNU C library defines this for functions which it implements
43096 to always fail with ENOSYS. Some functions are actually named
43097 something starting with __ and the normal name is an alias. */
43098 #if defined __stub_strptime || defined __stub___strptime
43105 return strptime ();
43110 rm -f conftest.$ac_objext conftest$ac_exeext
43111 if { (ac_try="$ac_link"
43112 case "(($ac_try" in
43113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43114 *) ac_try_echo=$ac_try;;
43116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43117 (eval "$ac_link") 2>conftest.er1
43119 grep -v '^ *+' conftest.er1 >conftest.err
43121 cat conftest.err >&5
43122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43123 (exit $ac_status); } && {
43124 test -z "$ac_c_werror_flag" ||
43125 test ! -s conftest.err
43126 } && test -s conftest$ac_exeext &&
43127 $as_test_x conftest$ac_exeext; then
43128 ac_cv_func_strptime=yes
43130 echo "$as_me: failed program was:" >&5
43131 sed 's/^/| /' conftest.$ac_ext >&5
43133 ac_cv_func_strptime=no
43136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43137 conftest$ac_exeext conftest.$ac_ext
43139 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43140 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43142 if test "$ac_cv_func_strptime" = "yes"; then
43143 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43144 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43145 if test "${wx_cv_func_strptime_decl+set}" = set; then
43146 echo $ECHO_N "(cached) $ECHO_C" >&6
43150 ac_cpp='$CXXCPP $CPPFLAGS'
43151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43155 cat >conftest.$ac_ext <<_ACEOF
43158 cat confdefs.h >>conftest.$ac_ext
43159 cat >>conftest.$ac_ext <<_ACEOF
43160 /* end confdefs.h. */
43169 strptime("foo", "bar", &t);
43175 rm -f conftest.$ac_objext
43176 if { (ac_try="$ac_compile"
43177 case "(($ac_try" in
43178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43179 *) ac_try_echo=$ac_try;;
43181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43182 (eval "$ac_compile") 2>conftest.er1
43184 grep -v '^ *+' conftest.er1 >conftest.err
43186 cat conftest.err >&5
43187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43188 (exit $ac_status); } && {
43189 test -z "$ac_cxx_werror_flag" ||
43190 test ! -s conftest.err
43191 } && test -s conftest.$ac_objext; then
43192 wx_cv_func_strptime_decl=yes
43194 echo "$as_me: failed program was:" >&5
43195 sed 's/^/| /' conftest.$ac_ext >&5
43197 wx_cv_func_strptime_decl=no
43201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43203 ac_cpp='$CPP $CPPFLAGS'
43204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43211 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43212 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43214 if test "$wx_cv_func_strptime_decl" = "yes"; then
43215 cat >>confdefs.h <<\_ACEOF
43216 #define HAVE_STRPTIME_DECL 1
43220 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43222 if test "$ac_cv_func_strptime" = "yes"; then
43223 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43224 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43225 if test "${wx_cv_func_strptime_ok+set}" = set; then
43226 echo $ECHO_N "(cached) $ECHO_C" >&6
43228 if test "$cross_compiling" = yes; then
43229 wx_cv_func_strptime_ok=no
43232 cat >conftest.$ac_ext <<_ACEOF
43234 #include <stdlib.h>
43236 #include "confdefs.h"
43243 return !!strptime("", "%x", &t);
43247 rm -f conftest$ac_exeext
43248 if { (ac_try="$ac_link"
43249 case "(($ac_try" in
43250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43251 *) ac_try_echo=$ac_try;;
43253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43254 (eval "$ac_link") 2>&5
43256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43257 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43258 { (case "(($ac_try" in
43259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43260 *) ac_try_echo=$ac_try;;
43262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43263 (eval "$ac_try") 2>&5
43265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43266 (exit $ac_status); }; }; then
43267 wx_cv_func_strptime_ok=yes
43269 echo "$as_me: program exited with status $ac_status" >&5
43270 echo "$as_me: failed program was:" >&5
43271 sed 's/^/| /' conftest.$ac_ext >&5
43273 ( exit $ac_status )
43274 wx_cv_func_strptime_ok=no
43276 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43282 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43283 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43285 if test "$wx_cv_func_strptime_ok" = "yes"; then
43286 cat >>confdefs.h <<\_ACEOF
43287 #define HAVE_STRPTIME 1
43293 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43294 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43295 if test "${wx_cv_var_timezone+set}" = set; then
43296 echo $ECHO_N "(cached) $ECHO_C" >&6
43300 ac_cpp='$CXXCPP $CPPFLAGS'
43301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43305 cat >conftest.$ac_ext <<_ACEOF
43308 cat confdefs.h >>conftest.$ac_ext
43309 cat >>conftest.$ac_ext <<_ACEOF
43310 /* end confdefs.h. */
43325 rm -f conftest.$ac_objext
43326 if { (ac_try="$ac_compile"
43327 case "(($ac_try" in
43328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43329 *) ac_try_echo=$ac_try;;
43331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43332 (eval "$ac_compile") 2>conftest.er1
43334 grep -v '^ *+' conftest.er1 >conftest.err
43336 cat conftest.err >&5
43337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43338 (exit $ac_status); } && {
43339 test -z "$ac_cxx_werror_flag" ||
43340 test ! -s conftest.err
43341 } && test -s conftest.$ac_objext; then
43343 wx_cv_var_timezone=timezone
43346 echo "$as_me: failed program was:" >&5
43347 sed 's/^/| /' conftest.$ac_ext >&5
43350 cat >conftest.$ac_ext <<_ACEOF
43353 cat confdefs.h >>conftest.$ac_ext
43354 cat >>conftest.$ac_ext <<_ACEOF
43355 /* end confdefs.h. */
43370 rm -f conftest.$ac_objext
43371 if { (ac_try="$ac_compile"
43372 case "(($ac_try" in
43373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43374 *) ac_try_echo=$ac_try;;
43376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43377 (eval "$ac_compile") 2>conftest.er1
43379 grep -v '^ *+' conftest.er1 >conftest.err
43381 cat conftest.err >&5
43382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43383 (exit $ac_status); } && {
43384 test -z "$ac_cxx_werror_flag" ||
43385 test ! -s conftest.err
43386 } && test -s conftest.$ac_objext; then
43388 wx_cv_var_timezone=_timezone
43391 echo "$as_me: failed program was:" >&5
43392 sed 's/^/| /' conftest.$ac_ext >&5
43395 cat >conftest.$ac_ext <<_ACEOF
43398 cat confdefs.h >>conftest.$ac_ext
43399 cat >>conftest.$ac_ext <<_ACEOF
43400 /* end confdefs.h. */
43415 rm -f conftest.$ac_objext
43416 if { (ac_try="$ac_compile"
43417 case "(($ac_try" in
43418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43419 *) ac_try_echo=$ac_try;;
43421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43422 (eval "$ac_compile") 2>conftest.er1
43424 grep -v '^ *+' conftest.er1 >conftest.err
43426 cat conftest.err >&5
43427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43428 (exit $ac_status); } && {
43429 test -z "$ac_cxx_werror_flag" ||
43430 test ! -s conftest.err
43431 } && test -s conftest.$ac_objext; then
43433 wx_cv_var_timezone=__timezone
43436 echo "$as_me: failed program was:" >&5
43437 sed 's/^/| /' conftest.$ac_ext >&5
43440 if test "$USE_DOS" = 0 ; then
43441 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43442 echo "$as_me: WARNING: no timezone variable" >&2;}
43448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43460 ac_cpp='$CPP $CPPFLAGS'
43461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43468 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43469 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43471 if test "x$wx_cv_var_timezone" != x ; then
43472 cat >>confdefs.h <<_ACEOF
43473 #define WX_TIMEZONE $wx_cv_var_timezone
43479 for ac_func in localtime
43481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43482 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43484 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43485 echo $ECHO_N "(cached) $ECHO_C" >&6
43487 cat >conftest.$ac_ext <<_ACEOF
43490 cat confdefs.h >>conftest.$ac_ext
43491 cat >>conftest.$ac_ext <<_ACEOF
43492 /* end confdefs.h. */
43493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43495 #define $ac_func innocuous_$ac_func
43497 /* System header to define __stub macros and hopefully few prototypes,
43498 which can conflict with char $ac_func (); below.
43499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43500 <limits.h> exists even on freestanding compilers. */
43503 # include <limits.h>
43505 # include <assert.h>
43510 /* Override any GCC internal prototype to avoid an error.
43511 Use char because int might match the return type of a GCC
43512 builtin and then its argument prototype would still apply. */
43517 /* The GNU C library defines this for functions which it implements
43518 to always fail with ENOSYS. Some functions are actually named
43519 something starting with __ and the normal name is an alias. */
43520 #if defined __stub_$ac_func || defined __stub___$ac_func
43527 return $ac_func ();
43532 rm -f conftest.$ac_objext conftest$ac_exeext
43533 if { (ac_try="$ac_link"
43534 case "(($ac_try" in
43535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43536 *) ac_try_echo=$ac_try;;
43538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43539 (eval "$ac_link") 2>conftest.er1
43541 grep -v '^ *+' conftest.er1 >conftest.err
43543 cat conftest.err >&5
43544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43545 (exit $ac_status); } && {
43546 test -z "$ac_c_werror_flag" ||
43547 test ! -s conftest.err
43548 } && test -s conftest$ac_exeext &&
43549 $as_test_x conftest$ac_exeext; then
43550 eval "$as_ac_var=yes"
43552 echo "$as_me: failed program was:" >&5
43553 sed 's/^/| /' conftest.$ac_ext >&5
43555 eval "$as_ac_var=no"
43558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43559 conftest$ac_exeext conftest.$ac_ext
43561 ac_res=`eval echo '${'$as_ac_var'}'`
43562 { echo "$as_me:$LINENO: result: $ac_res" >&5
43563 echo "${ECHO_T}$ac_res" >&6; }
43564 if test `eval echo '${'$as_ac_var'}'` = yes; then
43565 cat >>confdefs.h <<_ACEOF
43566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43573 if test "$ac_cv_func_localtime" = "yes"; then
43574 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43575 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43576 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43577 echo $ECHO_N "(cached) $ECHO_C" >&6
43580 cat >conftest.$ac_ext <<_ACEOF
43583 cat confdefs.h >>conftest.$ac_ext
43584 cat >>conftest.$ac_ext <<_ACEOF
43585 /* end confdefs.h. */
43600 rm -f conftest.$ac_objext
43601 if { (ac_try="$ac_compile"
43602 case "(($ac_try" in
43603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43604 *) ac_try_echo=$ac_try;;
43606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43607 (eval "$ac_compile") 2>conftest.er1
43609 grep -v '^ *+' conftest.er1 >conftest.err
43611 cat conftest.err >&5
43612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43613 (exit $ac_status); } && {
43614 test -z "$ac_c_werror_flag" ||
43615 test ! -s conftest.err
43616 } && test -s conftest.$ac_objext; then
43618 wx_cv_struct_tm_has_gmtoff=yes
43621 echo "$as_me: failed program was:" >&5
43622 sed 's/^/| /' conftest.$ac_ext >&5
43624 wx_cv_struct_tm_has_gmtoff=no
43628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43631 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43632 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43635 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43636 cat >>confdefs.h <<\_ACEOF
43637 #define WX_GMTOFF_IN_TM 1
43642 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43646 if test "$wxUSE_SOCKETS" = "yes"; then
43647 if test "$wxUSE_MGL" = 1; then
43648 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43649 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43654 if test "$wxUSE_SOCKETS" = "yes"; then
43655 if test "$TOOLKIT" != "MSW"; then
43656 { echo "$as_me:$LINENO: checking for socket" >&5
43657 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43658 if test "${ac_cv_func_socket+set}" = set; then
43659 echo $ECHO_N "(cached) $ECHO_C" >&6
43661 cat >conftest.$ac_ext <<_ACEOF
43664 cat confdefs.h >>conftest.$ac_ext
43665 cat >>conftest.$ac_ext <<_ACEOF
43666 /* end confdefs.h. */
43667 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43669 #define socket innocuous_socket
43671 /* System header to define __stub macros and hopefully few prototypes,
43672 which can conflict with char socket (); below.
43673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43674 <limits.h> exists even on freestanding compilers. */
43677 # include <limits.h>
43679 # include <assert.h>
43684 /* Override any GCC internal prototype to avoid an error.
43685 Use char because int might match the return type of a GCC
43686 builtin and then its argument prototype would still apply. */
43691 /* The GNU C library defines this for functions which it implements
43692 to always fail with ENOSYS. Some functions are actually named
43693 something starting with __ and the normal name is an alias. */
43694 #if defined __stub_socket || defined __stub___socket
43706 rm -f conftest.$ac_objext conftest$ac_exeext
43707 if { (ac_try="$ac_link"
43708 case "(($ac_try" in
43709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43710 *) ac_try_echo=$ac_try;;
43712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43713 (eval "$ac_link") 2>conftest.er1
43715 grep -v '^ *+' conftest.er1 >conftest.err
43717 cat conftest.err >&5
43718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43719 (exit $ac_status); } && {
43720 test -z "$ac_c_werror_flag" ||
43721 test ! -s conftest.err
43722 } && test -s conftest$ac_exeext &&
43723 $as_test_x conftest$ac_exeext; then
43724 ac_cv_func_socket=yes
43726 echo "$as_me: failed program was:" >&5
43727 sed 's/^/| /' conftest.$ac_ext >&5
43729 ac_cv_func_socket=no
43732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43733 conftest$ac_exeext conftest.$ac_ext
43735 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43736 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43737 if test $ac_cv_func_socket = yes; then
43741 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43742 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43743 if test "${ac_cv_lib_socket_socket+set}" = set; then
43744 echo $ECHO_N "(cached) $ECHO_C" >&6
43746 ac_check_lib_save_LIBS=$LIBS
43747 LIBS="-lsocket $LIBS"
43748 cat >conftest.$ac_ext <<_ACEOF
43751 cat confdefs.h >>conftest.$ac_ext
43752 cat >>conftest.$ac_ext <<_ACEOF
43753 /* end confdefs.h. */
43755 /* Override any GCC internal prototype to avoid an error.
43756 Use char because int might match the return type of a GCC
43757 builtin and then its argument prototype would still apply. */
43770 rm -f conftest.$ac_objext conftest$ac_exeext
43771 if { (ac_try="$ac_link"
43772 case "(($ac_try" in
43773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43774 *) ac_try_echo=$ac_try;;
43776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43777 (eval "$ac_link") 2>conftest.er1
43779 grep -v '^ *+' conftest.er1 >conftest.err
43781 cat conftest.err >&5
43782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43783 (exit $ac_status); } && {
43784 test -z "$ac_c_werror_flag" ||
43785 test ! -s conftest.err
43786 } && test -s conftest$ac_exeext &&
43787 $as_test_x conftest$ac_exeext; then
43788 ac_cv_lib_socket_socket=yes
43790 echo "$as_me: failed program was:" >&5
43791 sed 's/^/| /' conftest.$ac_ext >&5
43793 ac_cv_lib_socket_socket=no
43796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43797 conftest$ac_exeext conftest.$ac_ext
43798 LIBS=$ac_check_lib_save_LIBS
43800 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43801 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43802 if test $ac_cv_lib_socket_socket = yes; then
43803 if test "$INET_LINK" != " -lsocket"; then
43804 INET_LINK="$INET_LINK -lsocket"
43808 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43809 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43822 if test "$wxUSE_SOCKETS" = "yes" ; then
43823 if test "$TOOLKIT" != "MSW"; then
43824 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43825 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43826 if test "${wx_cv_type_getsockname3+set}" = set; then
43827 echo $ECHO_N "(cached) $ECHO_C" >&6
43831 ac_cpp='$CXXCPP $CPPFLAGS'
43832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43836 cat >conftest.$ac_ext <<_ACEOF
43839 cat confdefs.h >>conftest.$ac_ext
43840 cat >>conftest.$ac_ext <<_ACEOF
43841 /* end confdefs.h. */
43843 #include <sys/types.h>
43844 #include <sys/socket.h>
43851 getsockname(0, 0, &len);
43857 rm -f conftest.$ac_objext
43858 if { (ac_try="$ac_compile"
43859 case "(($ac_try" in
43860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43861 *) ac_try_echo=$ac_try;;
43863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43864 (eval "$ac_compile") 2>conftest.er1
43866 grep -v '^ *+' conftest.er1 >conftest.err
43868 cat conftest.err >&5
43869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43870 (exit $ac_status); } && {
43871 test -z "$ac_cxx_werror_flag" ||
43872 test ! -s conftest.err
43873 } && test -s conftest.$ac_objext; then
43874 wx_cv_type_getsockname3=socklen_t
43876 echo "$as_me: failed program was:" >&5
43877 sed 's/^/| /' conftest.$ac_ext >&5
43880 CFLAGS_OLD="$CFLAGS"
43881 if test "$GCC" = yes ; then
43882 CFLAGS="-Werror $CFLAGS"
43885 cat >conftest.$ac_ext <<_ACEOF
43888 cat confdefs.h >>conftest.$ac_ext
43889 cat >>conftest.$ac_ext <<_ACEOF
43890 /* end confdefs.h. */
43892 #include <sys/types.h>
43893 #include <sys/socket.h>
43900 getsockname(0, 0, &len);
43906 rm -f conftest.$ac_objext
43907 if { (ac_try="$ac_compile"
43908 case "(($ac_try" in
43909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43910 *) ac_try_echo=$ac_try;;
43912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43913 (eval "$ac_compile") 2>conftest.er1
43915 grep -v '^ *+' conftest.er1 >conftest.err
43917 cat conftest.err >&5
43918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43919 (exit $ac_status); } && {
43920 test -z "$ac_cxx_werror_flag" ||
43921 test ! -s conftest.err
43922 } && test -s conftest.$ac_objext; then
43923 wx_cv_type_getsockname3=size_t
43925 echo "$as_me: failed program was:" >&5
43926 sed 's/^/| /' conftest.$ac_ext >&5
43928 cat >conftest.$ac_ext <<_ACEOF
43931 cat confdefs.h >>conftest.$ac_ext
43932 cat >>conftest.$ac_ext <<_ACEOF
43933 /* end confdefs.h. */
43935 #include <sys/types.h>
43936 #include <sys/socket.h>
43943 getsockname(0, 0, &len);
43949 rm -f conftest.$ac_objext
43950 if { (ac_try="$ac_compile"
43951 case "(($ac_try" in
43952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43953 *) ac_try_echo=$ac_try;;
43955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43956 (eval "$ac_compile") 2>conftest.er1
43958 grep -v '^ *+' conftest.er1 >conftest.err
43960 cat conftest.err >&5
43961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43962 (exit $ac_status); } && {
43963 test -z "$ac_cxx_werror_flag" ||
43964 test ! -s conftest.err
43965 } && test -s conftest.$ac_objext; then
43966 wx_cv_type_getsockname3=int
43968 echo "$as_me: failed program was:" >&5
43969 sed 's/^/| /' conftest.$ac_ext >&5
43971 wx_cv_type_getsockname3=unknown
43975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43981 CFLAGS="$CFLAGS_OLD"
43986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43988 ac_cpp='$CPP $CPPFLAGS'
43989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43995 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43996 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43998 if test "$wx_cv_type_getsockname3" = "unknown"; then
44000 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44001 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44003 cat >>confdefs.h <<_ACEOF
44004 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44008 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44009 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44010 if test "${wx_cv_type_getsockopt5+set}" = set; then
44011 echo $ECHO_N "(cached) $ECHO_C" >&6
44015 ac_cpp='$CXXCPP $CPPFLAGS'
44016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44020 cat >conftest.$ac_ext <<_ACEOF
44023 cat confdefs.h >>conftest.$ac_ext
44024 cat >>conftest.$ac_ext <<_ACEOF
44025 /* end confdefs.h. */
44027 #include <sys/types.h>
44028 #include <sys/socket.h>
44035 getsockopt(0, 0, 0, 0, &len);
44041 rm -f conftest.$ac_objext
44042 if { (ac_try="$ac_compile"
44043 case "(($ac_try" in
44044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44045 *) ac_try_echo=$ac_try;;
44047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44048 (eval "$ac_compile") 2>conftest.er1
44050 grep -v '^ *+' conftest.er1 >conftest.err
44052 cat conftest.err >&5
44053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44054 (exit $ac_status); } && {
44055 test -z "$ac_cxx_werror_flag" ||
44056 test ! -s conftest.err
44057 } && test -s conftest.$ac_objext; then
44058 wx_cv_type_getsockopt5=socklen_t
44060 echo "$as_me: failed program was:" >&5
44061 sed 's/^/| /' conftest.$ac_ext >&5
44064 cat >conftest.$ac_ext <<_ACEOF
44067 cat confdefs.h >>conftest.$ac_ext
44068 cat >>conftest.$ac_ext <<_ACEOF
44069 /* end confdefs.h. */
44071 #include <sys/types.h>
44072 #include <sys/socket.h>
44079 getsockopt(0, 0, 0, 0, &len);
44085 rm -f conftest.$ac_objext
44086 if { (ac_try="$ac_compile"
44087 case "(($ac_try" in
44088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44089 *) ac_try_echo=$ac_try;;
44091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44092 (eval "$ac_compile") 2>conftest.er1
44094 grep -v '^ *+' conftest.er1 >conftest.err
44096 cat conftest.err >&5
44097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44098 (exit $ac_status); } && {
44099 test -z "$ac_cxx_werror_flag" ||
44100 test ! -s conftest.err
44101 } && test -s conftest.$ac_objext; then
44102 wx_cv_type_getsockopt5=size_t
44104 echo "$as_me: failed program was:" >&5
44105 sed 's/^/| /' conftest.$ac_ext >&5
44107 cat >conftest.$ac_ext <<_ACEOF
44110 cat confdefs.h >>conftest.$ac_ext
44111 cat >>conftest.$ac_ext <<_ACEOF
44112 /* end confdefs.h. */
44114 #include <sys/types.h>
44115 #include <sys/socket.h>
44122 getsockopt(0, 0, 0, 0, &len);
44128 rm -f conftest.$ac_objext
44129 if { (ac_try="$ac_compile"
44130 case "(($ac_try" in
44131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44132 *) ac_try_echo=$ac_try;;
44134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44135 (eval "$ac_compile") 2>conftest.er1
44137 grep -v '^ *+' conftest.er1 >conftest.err
44139 cat conftest.err >&5
44140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44141 (exit $ac_status); } && {
44142 test -z "$ac_cxx_werror_flag" ||
44143 test ! -s conftest.err
44144 } && test -s conftest.$ac_objext; then
44145 wx_cv_type_getsockopt5=int
44147 echo "$as_me: failed program was:" >&5
44148 sed 's/^/| /' conftest.$ac_ext >&5
44150 wx_cv_type_getsockopt5=unknown
44154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44165 ac_cpp='$CPP $CPPFLAGS'
44166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44172 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44173 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44175 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44177 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44178 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44180 cat >>confdefs.h <<_ACEOF
44181 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44188 if test "$wxUSE_SOCKETS" = "yes" ; then
44189 if test "$wxUSE_IPV6" = "yes"; then
44190 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44191 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44192 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44193 echo $ECHO_N "(cached) $ECHO_C" >&6
44196 cat >conftest.$ac_ext <<_ACEOF
44199 cat confdefs.h >>conftest.$ac_ext
44200 cat >>conftest.$ac_ext <<_ACEOF
44201 /* end confdefs.h. */
44203 #include <sys/types.h>
44204 #include <sys/socket.h>
44205 #include <netinet/in.h>
44211 struct sockaddr_in6 sa6;
44217 rm -f conftest.$ac_objext
44218 if { (ac_try="$ac_compile"
44219 case "(($ac_try" in
44220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44221 *) ac_try_echo=$ac_try;;
44223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44224 (eval "$ac_compile") 2>conftest.er1
44226 grep -v '^ *+' conftest.er1 >conftest.err
44228 cat conftest.err >&5
44229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44230 (exit $ac_status); } && {
44231 test -z "$ac_c_werror_flag" ||
44232 test ! -s conftest.err
44233 } && test -s conftest.$ac_objext; then
44234 wx_cv_type_sockaddr_in6=yes
44236 echo "$as_me: failed program was:" >&5
44237 sed 's/^/| /' conftest.$ac_ext >&5
44239 wx_cv_type_sockaddr_in6=no
44243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44247 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44248 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44250 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44251 cat >>confdefs.h <<\_ACEOF
44252 #define wxUSE_IPV6 1
44256 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44257 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44261 cat >>confdefs.h <<\_ACEOF
44262 #define wxUSE_SOCKETS 1
44265 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44268 if test "$wxUSE_PROTOCOL" = "yes"; then
44269 if test "$wxUSE_SOCKETS" != "yes"; then
44270 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44271 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44276 if test "$wxUSE_PROTOCOL" = "yes"; then
44277 cat >>confdefs.h <<\_ACEOF
44278 #define wxUSE_PROTOCOL 1
44282 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44283 cat >>confdefs.h <<\_ACEOF
44284 #define wxUSE_PROTOCOL_HTTP 1
44288 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44289 cat >>confdefs.h <<\_ACEOF
44290 #define wxUSE_PROTOCOL_FTP 1
44294 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44295 cat >>confdefs.h <<\_ACEOF
44296 #define wxUSE_PROTOCOL_FILE 1
44301 if test "$wxUSE_FS_INET" = "yes"; then
44302 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44303 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44308 if test "$wxUSE_URL" = "yes"; then
44309 if test "$wxUSE_PROTOCOL" != "yes"; then
44310 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44311 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44314 if test "$wxUSE_URL" = "yes"; then
44315 cat >>confdefs.h <<\_ACEOF
44316 #define wxUSE_URL 1
44322 if test "$wxUSE_VARIANT" = "yes"; then
44323 cat >>confdefs.h <<\_ACEOF
44324 #define wxUSE_VARIANT 1
44329 if test "$wxUSE_FS_INET" = "yes"; then
44330 cat >>confdefs.h <<\_ACEOF
44331 #define wxUSE_FS_INET 1
44337 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44340 if test "$TOOLKIT" = "MSW"; then
44343 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44344 if test "$USE_DARWIN" = 1; then
44345 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44346 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44348 ac_cpp='$CXXCPP $CPPFLAGS'
44349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44353 cat >conftest.$ac_ext <<_ACEOF
44356 cat confdefs.h >>conftest.$ac_ext
44357 cat >>conftest.$ac_ext <<_ACEOF
44358 /* end confdefs.h. */
44359 #include <IOKit/hid/IOHIDLib.h>
44363 IOHIDQueueInterface *qi = NULL;
44364 IOHIDCallbackFunction cb = NULL;
44365 qi->setEventCallout(NULL, cb, NULL, NULL);
44370 rm -f conftest.$ac_objext
44371 if { (ac_try="$ac_compile"
44372 case "(($ac_try" in
44373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44374 *) ac_try_echo=$ac_try;;
44376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44377 (eval "$ac_compile") 2>conftest.er1
44379 grep -v '^ *+' conftest.er1 >conftest.err
44381 cat conftest.err >&5
44382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44383 (exit $ac_status); } && {
44384 test -z "$ac_cxx_werror_flag" ||
44385 test ! -s conftest.err
44386 } && test -s conftest.$ac_objext; then
44390 echo "$as_me: failed program was:" >&5
44391 sed 's/^/| /' conftest.$ac_ext >&5
44396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44398 ac_cpp='$CPP $CPPFLAGS'
44399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44403 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44404 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44408 if test "$wxUSE_MGL" != 1; then
44410 for ac_header in linux/joystick.h
44412 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44413 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44414 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44415 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44416 echo $ECHO_N "(cached) $ECHO_C" >&6
44418 cat >conftest.$ac_ext <<_ACEOF
44421 cat confdefs.h >>conftest.$ac_ext
44422 cat >>conftest.$ac_ext <<_ACEOF
44423 /* end confdefs.h. */
44424 $ac_includes_default
44426 #include <$ac_header>
44428 rm -f conftest.$ac_objext
44429 if { (ac_try="$ac_compile"
44430 case "(($ac_try" in
44431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44432 *) ac_try_echo=$ac_try;;
44434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44435 (eval "$ac_compile") 2>conftest.er1
44437 grep -v '^ *+' conftest.er1 >conftest.err
44439 cat conftest.err >&5
44440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44441 (exit $ac_status); } && {
44442 test -z "$ac_c_werror_flag" ||
44443 test ! -s conftest.err
44444 } && test -s conftest.$ac_objext; then
44445 eval "$as_ac_Header=yes"
44447 echo "$as_me: failed program was:" >&5
44448 sed 's/^/| /' conftest.$ac_ext >&5
44450 eval "$as_ac_Header=no"
44453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44455 ac_res=`eval echo '${'$as_ac_Header'}'`
44456 { echo "$as_me:$LINENO: result: $ac_res" >&5
44457 echo "${ECHO_T}$ac_res" >&6; }
44458 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44459 cat >>confdefs.h <<_ACEOF
44460 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44470 if test "$wxUSE_JOYSTICK" = "yes"; then
44471 cat >>confdefs.h <<\_ACEOF
44472 #define wxUSE_JOYSTICK 1
44475 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44477 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44478 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44484 if test "$wxUSE_FONTENUM" = "yes" ; then
44485 cat >>confdefs.h <<\_ACEOF
44486 #define wxUSE_FONTENUM 1
44491 if test "$wxUSE_FONTMAP" = "yes" ; then
44492 cat >>confdefs.h <<\_ACEOF
44493 #define wxUSE_FONTMAP 1
44498 if test "$wxUSE_UNICODE" = "yes" ; then
44499 cat >>confdefs.h <<\_ACEOF
44500 #define wxUSE_UNICODE 1
44504 if test "$USE_WIN32" != 1; then
44505 wxUSE_UNICODE_MSLU=no
44508 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44509 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44510 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44511 if test "${ac_cv_lib_unicows_main+set}" = set; then
44512 echo $ECHO_N "(cached) $ECHO_C" >&6
44514 ac_check_lib_save_LIBS=$LIBS
44515 LIBS="-lunicows $LIBS"
44516 cat >conftest.$ac_ext <<_ACEOF
44519 cat confdefs.h >>conftest.$ac_ext
44520 cat >>conftest.$ac_ext <<_ACEOF
44521 /* end confdefs.h. */
44532 rm -f conftest.$ac_objext conftest$ac_exeext
44533 if { (ac_try="$ac_link"
44534 case "(($ac_try" in
44535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44536 *) ac_try_echo=$ac_try;;
44538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44539 (eval "$ac_link") 2>conftest.er1
44541 grep -v '^ *+' conftest.er1 >conftest.err
44543 cat conftest.err >&5
44544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44545 (exit $ac_status); } && {
44546 test -z "$ac_c_werror_flag" ||
44547 test ! -s conftest.err
44548 } && test -s conftest$ac_exeext &&
44549 $as_test_x conftest$ac_exeext; then
44550 ac_cv_lib_unicows_main=yes
44552 echo "$as_me: failed program was:" >&5
44553 sed 's/^/| /' conftest.$ac_ext >&5
44555 ac_cv_lib_unicows_main=no
44558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44559 conftest$ac_exeext conftest.$ac_ext
44560 LIBS=$ac_check_lib_save_LIBS
44562 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44563 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44564 if test $ac_cv_lib_unicows_main = yes; then
44566 cat >>confdefs.h <<\_ACEOF
44567 #define wxUSE_UNICODE_MSLU 1
44573 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44574 Applications will only run on Windows NT/2000/XP!" >&5
44575 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44576 Applications will only run on Windows NT/2000/XP!" >&2;}
44577 wxUSE_UNICODE_MSLU=no
44584 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44585 cat >>confdefs.h <<\_ACEOF
44586 #define wxUSE_UNICODE_UTF8 1
44590 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44591 cat >>confdefs.h <<\_ACEOF
44592 #define wxUSE_UTF8_LOCALE_ONLY 1
44599 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44600 cat >>confdefs.h <<\_ACEOF
44601 #define wxUSE_CONSTRAINTS 1
44604 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44607 if test "$wxUSE_MDI" = "yes"; then
44608 cat >>confdefs.h <<\_ACEOF
44609 #define wxUSE_MDI 1
44613 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44614 cat >>confdefs.h <<\_ACEOF
44615 #define wxUSE_MDI_ARCHITECTURE 1
44618 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44622 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44623 cat >>confdefs.h <<\_ACEOF
44624 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44627 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44628 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44629 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44633 if test "$wxUSE_HELP" = "yes"; then
44634 cat >>confdefs.h <<\_ACEOF
44635 #define wxUSE_HELP 1
44638 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44640 if test "$wxUSE_MSW" = 1; then
44641 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44642 cat >>confdefs.h <<\_ACEOF
44643 #define wxUSE_MS_HTML_HELP 1
44649 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44650 if test "$wxUSE_HTML" = "yes"; then
44651 cat >>confdefs.h <<\_ACEOF
44652 #define wxUSE_WXHTML_HELP 1
44656 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44657 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44658 wxUSE_WXHTML_HELP=no
44663 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44664 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44665 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44666 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44668 cat >>confdefs.h <<\_ACEOF
44669 #define wxUSE_PRINTING_ARCHITECTURE 1
44673 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44676 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44677 cat >>confdefs.h <<\_ACEOF
44678 #define wxUSE_POSTSCRIPT 1
44683 cat >>confdefs.h <<\_ACEOF
44684 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44688 if test "$wxUSE_SVG" = "yes"; then
44689 cat >>confdefs.h <<\_ACEOF
44690 #define wxUSE_SVG 1
44696 if test "$wxUSE_METAFILE" = "yes"; then
44697 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44698 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44699 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44705 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44706 -o "$wxUSE_CLIPBOARD" = "yes" \
44707 -o "$wxUSE_OLE" = "yes" \
44708 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44709 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44710 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44711 if test "${ac_cv_header_ole2_h+set}" = set; then
44712 echo $ECHO_N "(cached) $ECHO_C" >&6
44714 cat >conftest.$ac_ext <<_ACEOF
44717 cat confdefs.h >>conftest.$ac_ext
44718 cat >>conftest.$ac_ext <<_ACEOF
44719 /* end confdefs.h. */
44724 rm -f conftest.$ac_objext
44725 if { (ac_try="$ac_compile"
44726 case "(($ac_try" in
44727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44728 *) ac_try_echo=$ac_try;;
44730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44731 (eval "$ac_compile") 2>conftest.er1
44733 grep -v '^ *+' conftest.er1 >conftest.err
44735 cat conftest.err >&5
44736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44737 (exit $ac_status); } && {
44738 test -z "$ac_c_werror_flag" ||
44739 test ! -s conftest.err
44740 } && test -s conftest.$ac_objext; then
44741 ac_cv_header_ole2_h=yes
44743 echo "$as_me: failed program was:" >&5
44744 sed 's/^/| /' conftest.$ac_ext >&5
44746 ac_cv_header_ole2_h=no
44749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44751 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44752 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44756 if test "$ac_cv_header_ole2_h" = "yes" ; then
44757 if test "$GCC" = yes ; then
44758 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44759 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44760 cat >conftest.$ac_ext <<_ACEOF
44763 cat confdefs.h >>conftest.$ac_ext
44764 cat >>conftest.$ac_ext <<_ACEOF
44765 /* end confdefs.h. */
44766 #include <windows.h>
44776 rm -f conftest.$ac_objext
44777 if { (ac_try="$ac_compile"
44778 case "(($ac_try" in
44779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44780 *) ac_try_echo=$ac_try;;
44782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44783 (eval "$ac_compile") 2>conftest.er1
44785 grep -v '^ *+' conftest.er1 >conftest.err
44787 cat conftest.err >&5
44788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44789 (exit $ac_status); } && {
44790 test -z "$ac_c_werror_flag" ||
44791 test ! -s conftest.err
44792 } && test -s conftest.$ac_objext; then
44793 { echo "$as_me:$LINENO: result: no" >&5
44794 echo "${ECHO_T}no" >&6; }
44796 echo "$as_me: failed program was:" >&5
44797 sed 's/^/| /' conftest.$ac_ext >&5
44799 { echo "$as_me:$LINENO: result: yes" >&5
44800 echo "${ECHO_T}yes" >&6; }
44801 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44805 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44806 if test "$wxUSE_OLE" = "yes" ; then
44807 cat >>confdefs.h <<\_ACEOF
44808 #define wxUSE_OLE 1
44811 cat >>confdefs.h <<\_ACEOF
44812 #define wxUSE_OLE_AUTOMATION 1
44815 cat >>confdefs.h <<\_ACEOF
44816 #define wxUSE_ACTIVEX 1
44819 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44823 if test "$wxUSE_DATAOBJ" = "yes" ; then
44824 cat >>confdefs.h <<\_ACEOF
44825 #define wxUSE_DATAOBJ 1
44830 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44831 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44834 wxUSE_DRAG_AND_DROP=no
44839 if test "$wxUSE_METAFILE" = "yes"; then
44840 cat >>confdefs.h <<\_ACEOF
44841 #define wxUSE_METAFILE 1
44845 cat >>confdefs.h <<\_ACEOF
44846 #define wxUSE_ENH_METAFILE 1
44852 if test "$wxUSE_IPC" = "yes"; then
44853 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44854 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44855 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44859 if test "$wxUSE_IPC" = "yes"; then
44860 cat >>confdefs.h <<\_ACEOF
44861 #define wxUSE_IPC 1
44864 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44868 if test "$wxUSE_DATAOBJ" = "yes"; then
44869 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44870 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44871 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44874 cat >>confdefs.h <<\_ACEOF
44875 #define wxUSE_DATAOBJ 1
44880 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44881 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44883 wxUSE_DRAG_AND_DROP=no
44886 if test "$wxUSE_CLIPBOARD" = "yes"; then
44887 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44888 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44889 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44893 if test "$wxUSE_CLIPBOARD" = "yes"; then
44894 cat >>confdefs.h <<\_ACEOF
44895 #define wxUSE_CLIPBOARD 1
44901 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44902 if test "$wxUSE_GTK" = 1; then
44903 if test "$WXGTK12" != 1; then
44904 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44905 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44906 wxUSE_DRAG_AND_DROP=no
44910 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44911 "$wxUSE_DFB" = 1; then
44912 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44913 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44914 wxUSE_DRAG_AND_DROP=no
44917 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44918 cat >>confdefs.h <<\_ACEOF
44919 #define wxUSE_DRAG_AND_DROP 1
44926 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44927 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44930 if test "$wxUSE_SPLINES" = "yes" ; then
44931 cat >>confdefs.h <<\_ACEOF
44932 #define wxUSE_SPLINES 1
44937 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44938 cat >>confdefs.h <<\_ACEOF
44939 #define wxUSE_MOUSEWHEEL 1
44946 if test "$wxUSE_CONTROLS" = "yes"; then
44950 if test "$wxUSE_ACCEL" = "yes"; then
44951 cat >>confdefs.h <<\_ACEOF
44952 #define wxUSE_ACCEL 1
44958 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44959 cat >>confdefs.h <<\_ACEOF
44960 #define wxUSE_ANIMATIONCTRL 1
44964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44967 if test "$wxUSE_BUTTON" = "yes"; then
44968 cat >>confdefs.h <<\_ACEOF
44969 #define wxUSE_BUTTON 1
44975 if test "$wxUSE_BMPBUTTON" = "yes"; then
44976 cat >>confdefs.h <<\_ACEOF
44977 #define wxUSE_BMPBUTTON 1
44983 if test "$wxUSE_CALCTRL" = "yes"; then
44984 cat >>confdefs.h <<\_ACEOF
44985 #define wxUSE_CALENDARCTRL 1
44989 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44992 if test "$wxUSE_CARET" = "yes"; then
44993 cat >>confdefs.h <<\_ACEOF
44994 #define wxUSE_CARET 1
44998 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45001 if test "$wxUSE_COLLPANE" = "yes"; then
45002 cat >>confdefs.h <<\_ACEOF
45003 #define wxUSE_COLLPANE 1
45007 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45010 if test "$wxUSE_COMBOBOX" = "yes"; then
45011 cat >>confdefs.h <<\_ACEOF
45012 #define wxUSE_COMBOBOX 1
45018 if test "$wxUSE_COMBOCTRL" = "yes"; then
45019 cat >>confdefs.h <<\_ACEOF
45020 #define wxUSE_COMBOCTRL 1
45026 if test "$wxUSE_CHOICE" = "yes"; then
45027 cat >>confdefs.h <<\_ACEOF
45028 #define wxUSE_CHOICE 1
45034 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45035 cat >>confdefs.h <<\_ACEOF
45036 #define wxUSE_CHOICEBOOK 1
45042 if test "$wxUSE_CHECKBOX" = "yes"; then
45043 cat >>confdefs.h <<\_ACEOF
45044 #define wxUSE_CHECKBOX 1
45050 if test "$wxUSE_CHECKLST" = "yes"; then
45051 cat >>confdefs.h <<\_ACEOF
45052 #define wxUSE_CHECKLISTBOX 1
45058 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45059 cat >>confdefs.h <<\_ACEOF
45060 #define wxUSE_COLOURPICKERCTRL 1
45066 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45067 cat >>confdefs.h <<\_ACEOF
45068 #define wxUSE_DATEPICKCTRL 1
45074 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45075 cat >>confdefs.h <<\_ACEOF
45076 #define wxUSE_DIRPICKERCTRL 1
45082 if test "$wxUSE_FILECTRL" = "yes"; then
45083 cat >>confdefs.h <<\_ACEOF
45084 #define wxUSE_FILECTRL 1
45090 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45091 cat >>confdefs.h <<\_ACEOF
45092 #define wxUSE_FILEPICKERCTRL 1
45098 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45099 cat >>confdefs.h <<\_ACEOF
45100 #define wxUSE_FONTPICKERCTRL 1
45106 if test "$wxUSE_DISPLAY" = "yes"; then
45107 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45108 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45109 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45112 cat >>confdefs.h <<\_ACEOF
45113 #define wxUSE_DISPLAY 1
45116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45120 if test "$wxUSE_DETECT_SM" = "yes"; then
45121 cat >>confdefs.h <<\_ACEOF
45122 #define wxUSE_DETECT_SM 1
45127 if test "$wxUSE_GAUGE" = "yes"; then
45128 cat >>confdefs.h <<\_ACEOF
45129 #define wxUSE_GAUGE 1
45135 if test "$wxUSE_GRID" = "yes"; then
45136 cat >>confdefs.h <<\_ACEOF
45137 #define wxUSE_GRID 1
45141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45144 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45145 cat >>confdefs.h <<\_ACEOF
45146 #define wxUSE_HYPERLINKCTRL 1
45152 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45153 cat >>confdefs.h <<\_ACEOF
45154 #define wxUSE_BITMAPCOMBOBOX 1
45160 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45161 cat >>confdefs.h <<\_ACEOF
45162 #define wxUSE_DATAVIEWCTRL 1
45166 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45169 if test "$wxUSE_IMAGLIST" = "yes"; then
45170 cat >>confdefs.h <<\_ACEOF
45171 #define wxUSE_IMAGLIST 1
45176 if test "$wxUSE_LISTBOOK" = "yes"; then
45177 cat >>confdefs.h <<\_ACEOF
45178 #define wxUSE_LISTBOOK 1
45184 if test "$wxUSE_LISTBOX" = "yes"; then
45185 cat >>confdefs.h <<\_ACEOF
45186 #define wxUSE_LISTBOX 1
45192 if test "$wxUSE_LISTCTRL" = "yes"; then
45193 if test "$wxUSE_IMAGLIST" = "yes"; then
45194 cat >>confdefs.h <<\_ACEOF
45195 #define wxUSE_LISTCTRL 1
45199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45201 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45202 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45206 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45207 cat >>confdefs.h <<\_ACEOF
45208 #define wxUSE_EDITABLELISTBOX 1
45212 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45215 if test "$wxUSE_NOTEBOOK" = "yes"; then
45216 cat >>confdefs.h <<\_ACEOF
45217 #define wxUSE_NOTEBOOK 1
45221 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45224 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45225 cat >>confdefs.h <<\_ACEOF
45226 #define wxUSE_NOTIFICATION_MESSAGE 1
45231 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45232 cat >>confdefs.h <<\_ACEOF
45233 #define wxUSE_ODCOMBOBOX 1
45237 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45240 if test "$wxUSE_RADIOBOX" = "yes"; then
45241 cat >>confdefs.h <<\_ACEOF
45242 #define wxUSE_RADIOBOX 1
45248 if test "$wxUSE_RADIOBTN" = "yes"; then
45249 cat >>confdefs.h <<\_ACEOF
45250 #define wxUSE_RADIOBTN 1
45256 if test "$wxUSE_SASH" = "yes"; then
45257 cat >>confdefs.h <<\_ACEOF
45258 #define wxUSE_SASH 1
45261 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45264 if test "$wxUSE_SCROLLBAR" = "yes"; then
45265 cat >>confdefs.h <<\_ACEOF
45266 #define wxUSE_SCROLLBAR 1
45270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45273 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45274 cat >>confdefs.h <<\_ACEOF
45275 #define wxUSE_SEARCHCTRL 1
45281 if test "$wxUSE_SLIDER" = "yes"; then
45282 cat >>confdefs.h <<\_ACEOF
45283 #define wxUSE_SLIDER 1
45289 if test "$wxUSE_SPINBTN" = "yes"; then
45290 cat >>confdefs.h <<\_ACEOF
45291 #define wxUSE_SPINBTN 1
45297 if test "$wxUSE_SPINCTRL" = "yes"; then
45298 cat >>confdefs.h <<\_ACEOF
45299 #define wxUSE_SPINCTRL 1
45305 if test "$wxUSE_SPLITTER" = "yes"; then
45306 cat >>confdefs.h <<\_ACEOF
45307 #define wxUSE_SPLITTER 1
45310 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45313 if test "$wxUSE_STATBMP" = "yes"; then
45314 cat >>confdefs.h <<\_ACEOF
45315 #define wxUSE_STATBMP 1
45321 if test "$wxUSE_STATBOX" = "yes"; then
45322 cat >>confdefs.h <<\_ACEOF
45323 #define wxUSE_STATBOX 1
45329 if test "$wxUSE_STATTEXT" = "yes"; then
45330 cat >>confdefs.h <<\_ACEOF
45331 #define wxUSE_STATTEXT 1
45337 if test "$wxUSE_STATLINE" = "yes"; then
45338 cat >>confdefs.h <<\_ACEOF
45339 #define wxUSE_STATLINE 1
45345 if test "$wxUSE_STATUSBAR" = "yes"; then
45346 cat >>confdefs.h <<\_ACEOF
45347 #define wxUSE_NATIVE_STATUSBAR 1
45350 cat >>confdefs.h <<\_ACEOF
45351 #define wxUSE_STATUSBAR 1
45356 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45359 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45360 cat >>confdefs.h <<\_ACEOF
45361 #define wxUSE_TAB_DIALOG 1
45366 if test "$wxUSE_TEXTCTRL" = "yes"; then
45367 cat >>confdefs.h <<\_ACEOF
45368 #define wxUSE_TEXTCTRL 1
45372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45375 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45376 if test "$wxUSE_COCOA" = 1 ; then
45377 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45378 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45382 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45383 cat >>confdefs.h <<\_ACEOF
45384 #define wxUSE_TOGGLEBTN 1
45391 if test "$wxUSE_TOOLBAR" = "yes"; then
45392 cat >>confdefs.h <<\_ACEOF
45393 #define wxUSE_TOOLBAR 1
45398 if test "$wxUSE_UNIVERSAL" = "yes"; then
45399 wxUSE_TOOLBAR_NATIVE="no"
45401 wxUSE_TOOLBAR_NATIVE="yes"
45402 cat >>confdefs.h <<\_ACEOF
45403 #define wxUSE_TOOLBAR_NATIVE 1
45408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45411 if test "$wxUSE_TOOLTIPS" = "yes"; then
45412 if test "$wxUSE_MOTIF" = 1; then
45413 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45414 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45416 if test "$wxUSE_UNIVERSAL" = "yes"; then
45417 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45418 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45420 cat >>confdefs.h <<\_ACEOF
45421 #define wxUSE_TOOLTIPS 1
45428 if test "$wxUSE_TREEBOOK" = "yes"; then
45429 cat >>confdefs.h <<\_ACEOF
45430 #define wxUSE_TREEBOOK 1
45436 if test "$wxUSE_TOOLBOOK" = "yes"; then
45437 cat >>confdefs.h <<\_ACEOF
45438 #define wxUSE_TOOLBOOK 1
45444 if test "$wxUSE_TREECTRL" = "yes"; then
45445 if test "$wxUSE_IMAGLIST" = "yes"; then
45446 cat >>confdefs.h <<\_ACEOF
45447 #define wxUSE_TREECTRL 1
45451 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45453 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45454 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45458 if test "$wxUSE_POPUPWIN" = "yes"; then
45459 if test "$wxUSE_COCOA" = 1 ; then
45460 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45461 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45463 if test "$wxUSE_PM" = 1; then
45464 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45465 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45467 cat >>confdefs.h <<\_ACEOF
45468 #define wxUSE_POPUPWIN 1
45471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45478 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45479 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45480 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45481 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45483 cat >>confdefs.h <<\_ACEOF
45484 #define wxUSE_DIALUP_MANAGER 1
45487 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45491 if test "$wxUSE_TIPWINDOW" = "yes"; then
45492 if test "$wxUSE_PM" = 1; then
45493 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45494 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45496 cat >>confdefs.h <<\_ACEOF
45497 #define wxUSE_TIPWINDOW 1
45503 if test "$USES_CONTROLS" = 1; then
45504 cat >>confdefs.h <<\_ACEOF
45505 #define wxUSE_CONTROLS 1
45511 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45512 cat >>confdefs.h <<\_ACEOF
45513 #define wxUSE_ACCESSIBILITY 1
45516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45519 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45520 cat >>confdefs.h <<\_ACEOF
45521 #define wxUSE_DRAGIMAGE 1
45524 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45527 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45528 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45529 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45530 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45532 cat >>confdefs.h <<\_ACEOF
45533 #define wxUSE_EXCEPTIONS 1
45536 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45541 if test "$wxUSE_HTML" = "yes"; then
45542 cat >>confdefs.h <<\_ACEOF
45543 #define wxUSE_HTML 1
45547 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45548 if test "$wxUSE_MAC" = 1; then
45549 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45552 if test "$wxUSE_WEBKIT" = "yes"; then
45553 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45554 old_CPPFLAGS="$CPPFLAGS"
45555 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45556 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45557 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45558 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45559 echo $ECHO_N "(cached) $ECHO_C" >&6
45561 cat >conftest.$ac_ext <<_ACEOF
45564 cat confdefs.h >>conftest.$ac_ext
45565 cat >>conftest.$ac_ext <<_ACEOF
45566 /* end confdefs.h. */
45568 #include <Carbon/Carbon.h>
45569 #include <WebKit/WebKit.h>
45572 #include <WebKit/HIWebView.h>
45574 rm -f conftest.$ac_objext
45575 if { (ac_try="$ac_compile"
45576 case "(($ac_try" in
45577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45578 *) ac_try_echo=$ac_try;;
45580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45581 (eval "$ac_compile") 2>conftest.er1
45583 grep -v '^ *+' conftest.er1 >conftest.err
45585 cat conftest.err >&5
45586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45587 (exit $ac_status); } && {
45588 test -z "$ac_c_werror_flag" ||
45589 test ! -s conftest.err
45590 } && test -s conftest.$ac_objext; then
45591 ac_cv_header_WebKit_HIWebView_h=yes
45593 echo "$as_me: failed program was:" >&5
45594 sed 's/^/| /' conftest.$ac_ext >&5
45596 ac_cv_header_WebKit_HIWebView_h=no
45599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45601 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45602 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45603 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45605 cat >>confdefs.h <<\_ACEOF
45606 #define wxUSE_WEBKIT 1
45609 WEBKIT_LINK="-framework WebKit"
45613 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45614 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45620 CPPFLAGS="$old_CPPFLAGS"
45621 elif test "$wxUSE_COCOA" = 1; then
45622 cat >>confdefs.h <<\_ACEOF
45623 #define wxUSE_WEBKIT 1
45632 if test "$wxUSE_XRC" = "yes"; then
45633 if test "$wxUSE_XML" != "yes"; then
45634 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45635 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45638 cat >>confdefs.h <<\_ACEOF
45639 #define wxUSE_XRC 1
45643 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45648 if test "$wxUSE_AUI" = "yes"; then
45649 cat >>confdefs.h <<\_ACEOF
45650 #define wxUSE_AUI 1
45654 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45658 if test "$wxUSE_STC" = "yes"; then
45659 cat >>confdefs.h <<\_ACEOF
45660 #define wxUSE_STC 1
45664 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45667 if test "$wxUSE_MENUS" = "yes"; then
45668 cat >>confdefs.h <<\_ACEOF
45669 #define wxUSE_MENUS 1
45672 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45675 if test "$wxUSE_METAFILE" = "yes"; then
45676 cat >>confdefs.h <<\_ACEOF
45677 #define wxUSE_METAFILE 1
45682 if test "$wxUSE_MIMETYPE" = "yes"; then
45683 cat >>confdefs.h <<\_ACEOF
45684 #define wxUSE_MIMETYPE 1
45689 if test "$wxUSE_MINIFRAME" = "yes"; then
45690 cat >>confdefs.h <<\_ACEOF
45691 #define wxUSE_MINIFRAME 1
45696 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45697 cat >>confdefs.h <<\_ACEOF
45698 #define wxUSE_SYSTEM_OPTIONS 1
45703 if test "$wxUSE_TASKBARICON" = "yes"; then
45704 cat >>confdefs.h <<\_ACEOF
45705 #define wxUSE_TASKBARICON 1
45708 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45712 if test "$wxUSE_VALIDATORS" = "yes"; then
45713 cat >>confdefs.h <<\_ACEOF
45714 #define wxUSE_VALIDATORS 1
45717 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45720 if test "$wxUSE_PALETTE" = "yes" ; then
45721 if test "$wxUSE_DFB" = 1; then
45722 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45723 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45726 cat >>confdefs.h <<\_ACEOF
45727 #define wxUSE_PALETTE 1
45733 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45734 LIBS=" -lunicows $LIBS"
45738 if test "$wxUSE_RICHTEXT" = "yes"; then
45739 cat >>confdefs.h <<\_ACEOF
45740 #define wxUSE_RICHTEXT 1
45744 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45748 if test "$wxUSE_IMAGE" = "yes" ; then
45749 cat >>confdefs.h <<\_ACEOF
45750 #define wxUSE_IMAGE 1
45754 if test "$wxUSE_GIF" = "yes" ; then
45755 cat >>confdefs.h <<\_ACEOF
45756 #define wxUSE_GIF 1
45761 if test "$wxUSE_PCX" = "yes" ; then
45762 cat >>confdefs.h <<\_ACEOF
45763 #define wxUSE_PCX 1
45768 if test "$wxUSE_TGA" = "yes" ; then
45769 cat >>confdefs.h <<\_ACEOF
45770 #define wxUSE_TGA 1
45775 if test "$wxUSE_IFF" = "yes" ; then
45776 cat >>confdefs.h <<\_ACEOF
45777 #define wxUSE_IFF 1
45782 if test "$wxUSE_PNM" = "yes" ; then
45783 cat >>confdefs.h <<\_ACEOF
45784 #define wxUSE_PNM 1
45789 if test "$wxUSE_XPM" = "yes" ; then
45790 cat >>confdefs.h <<\_ACEOF
45791 #define wxUSE_XPM 1
45796 if test "$wxUSE_ICO_CUR" = "yes" ; then
45797 cat >>confdefs.h <<\_ACEOF
45798 #define wxUSE_ICO_CUR 1
45805 if test "$wxUSE_ABOUTDLG" = "yes"; then
45806 cat >>confdefs.h <<\_ACEOF
45807 #define wxUSE_ABOUTDLG 1
45812 if test "$wxUSE_CHOICEDLG" = "yes"; then
45813 cat >>confdefs.h <<\_ACEOF
45814 #define wxUSE_CHOICEDLG 1
45819 if test "$wxUSE_COLOURDLG" = "yes"; then
45820 cat >>confdefs.h <<\_ACEOF
45821 #define wxUSE_COLOURDLG 1
45826 if test "$wxUSE_FILEDLG" = "yes"; then
45827 cat >>confdefs.h <<\_ACEOF
45828 #define wxUSE_FILEDLG 1
45833 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45834 cat >>confdefs.h <<\_ACEOF
45835 #define wxUSE_FINDREPLDLG 1
45840 if test "$wxUSE_FONTDLG" = "yes"; then
45841 cat >>confdefs.h <<\_ACEOF
45842 #define wxUSE_FONTDLG 1
45847 if test "$wxUSE_DIRDLG" = "yes"; then
45848 if test "$wxUSE_TREECTRL" != "yes"; then
45849 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45850 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45852 cat >>confdefs.h <<\_ACEOF
45853 #define wxUSE_DIRDLG 1
45859 if test "$wxUSE_MSGDLG" = "yes"; then
45860 cat >>confdefs.h <<\_ACEOF
45861 #define wxUSE_MSGDLG 1
45866 if test "$wxUSE_NUMBERDLG" = "yes"; then
45867 cat >>confdefs.h <<\_ACEOF
45868 #define wxUSE_NUMBERDLG 1
45873 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45874 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45875 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45876 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45878 cat >>confdefs.h <<\_ACEOF
45879 #define wxUSE_PROGRESSDLG 1
45885 if test "$wxUSE_SPLASH" = "yes"; then
45886 cat >>confdefs.h <<\_ACEOF
45887 #define wxUSE_SPLASH 1
45890 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45893 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45894 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45895 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45896 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45898 cat >>confdefs.h <<\_ACEOF
45899 #define wxUSE_STARTUP_TIPS 1
45905 if test "$wxUSE_TEXTDLG" = "yes"; then
45906 cat >>confdefs.h <<\_ACEOF
45907 #define wxUSE_TEXTDLG 1
45912 if test "$wxUSE_WIZARDDLG" = "yes"; then
45913 cat >>confdefs.h <<\_ACEOF
45914 #define wxUSE_WIZARDDLG 1
45917 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45921 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45922 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45923 cat >>confdefs.h <<\_ACEOF
45924 #define wxUSE_OWNER_DRAWN 1
45931 if test "$wxUSE_MSW" = 1 ; then
45933 if test "$wxUSE_DC_CACHEING" = "yes"; then
45934 cat >>confdefs.h <<\_ACEOF
45935 #define wxUSE_DC_CACHEING 1
45940 if test "$wxUSE_DIB" = "yes"; then
45941 cat >>confdefs.h <<\_ACEOF
45942 #define wxUSE_WXDIB 1
45947 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45948 cat >>confdefs.h <<\_ACEOF
45949 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45954 if test "$wxUSE_UXTHEME" = "yes"; then
45955 cat >>confdefs.h <<\_ACEOF
45956 #define wxUSE_UXTHEME 1
45963 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
45964 cat >>confdefs.h <<\_ACEOF
45965 #define wxUSE_AUTOID_MANAGEMENT 1
45970 if test "$USE_WIN32" = 1 ; then
45971 if test "$wxUSE_INICONF" = "yes"; then
45972 cat >>confdefs.h <<\_ACEOF
45973 #define wxUSE_INICONF 1
45978 if test "$wxUSE_REGKEY" = "yes"; then
45979 cat >>confdefs.h <<\_ACEOF
45980 #define wxUSE_REGKEY 1
45987 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45988 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45989 cat >>confdefs.h <<\_ACEOF
45990 #define wxUSE_GRAPHICS_CONTEXT 1
45993 elif test "$wxUSE_GTK" != 1; then
45994 cat >>confdefs.h <<\_ACEOF
45995 #define wxUSE_GRAPHICS_CONTEXT 1
46001 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46002 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46004 if test -n "$PKG_CONFIG"; then
46005 if test -n "$CAIRO_CFLAGS"; then
46006 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46008 if test -n "$PKG_CONFIG" && \
46009 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46010 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46013 (exit $ac_status); }; then
46014 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46022 if test -n "$PKG_CONFIG"; then
46023 if test -n "$CAIRO_LIBS"; then
46024 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46026 if test -n "$PKG_CONFIG" && \
46027 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46028 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46031 (exit $ac_status); }; then
46032 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46043 if test $pkg_failed = yes; then
46045 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46046 _pkg_short_errors_supported=yes
46048 _pkg_short_errors_supported=no
46050 if test $_pkg_short_errors_supported = yes; then
46051 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46053 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46055 # Put the nasty error message in config.log where it belongs
46056 echo "$CAIRO_PKG_ERRORS" >&5
46058 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46059 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46061 elif test $pkg_failed = untried; then
46062 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46063 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46066 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46067 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46068 { echo "$as_me:$LINENO: result: yes" >&5
46069 echo "${ECHO_T}yes" >&6; }
46070 cat >>confdefs.h <<\_ACEOF
46071 #define wxUSE_GRAPHICS_CONTEXT 1
46081 if test "$wxUSE_MEDIACTRL" = "yes"; then
46084 if test "$wxUSE_GTK" = 1; then
46085 wxUSE_GSTREAMER="no"
46087 GST_VERSION_MAJOR=0
46088 GST_VERSION_MINOR=10
46089 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46091 if test "$wxUSE_GSTREAMER8" = "no"; then
46094 { echo "$as_me:$LINENO: checking for GST" >&5
46095 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46097 if test -n "$PKG_CONFIG"; then
46098 if test -n "$GST_CFLAGS"; then
46099 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46101 if test -n "$PKG_CONFIG" && \
46102 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46103 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46106 (exit $ac_status); }; then
46107 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46115 if test -n "$PKG_CONFIG"; then
46116 if test -n "$GST_LIBS"; then
46117 pkg_cv_GST_LIBS="$GST_LIBS"
46119 if test -n "$PKG_CONFIG" && \
46120 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46121 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46124 (exit $ac_status); }; then
46125 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46136 if test $pkg_failed = yes; then
46138 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46139 _pkg_short_errors_supported=yes
46141 _pkg_short_errors_supported=no
46143 if test $_pkg_short_errors_supported = yes; then
46144 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46146 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46148 # Put the nasty error message in config.log where it belongs
46149 echo "$GST_PKG_ERRORS" >&5
46152 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46153 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46154 GST_VERSION_MINOR=8
46157 elif test $pkg_failed = untried; then
46159 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46160 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46161 GST_VERSION_MINOR=8
46165 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46166 GST_LIBS=$pkg_cv_GST_LIBS
46167 { echo "$as_me:$LINENO: result: yes" >&5
46168 echo "${ECHO_T}yes" >&6; }
46170 wxUSE_GSTREAMER="yes"
46171 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46175 GST_VERSION_MINOR=8
46178 if test $GST_VERSION_MINOR = "8"; then
46179 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46182 { echo "$as_me:$LINENO: checking for GST" >&5
46183 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46185 if test -n "$PKG_CONFIG"; then
46186 if test -n "$GST_CFLAGS"; then
46187 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46189 if test -n "$PKG_CONFIG" && \
46190 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46191 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46194 (exit $ac_status); }; then
46195 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46203 if test -n "$PKG_CONFIG"; then
46204 if test -n "$GST_LIBS"; then
46205 pkg_cv_GST_LIBS="$GST_LIBS"
46207 if test -n "$PKG_CONFIG" && \
46208 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46209 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46212 (exit $ac_status); }; then
46213 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46224 if test $pkg_failed = yes; then
46226 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46227 _pkg_short_errors_supported=yes
46229 _pkg_short_errors_supported=no
46231 if test $_pkg_short_errors_supported = yes; then
46232 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46234 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46236 # Put the nasty error message in config.log where it belongs
46237 echo "$GST_PKG_ERRORS" >&5
46240 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46241 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46243 elif test $pkg_failed = untried; then
46245 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46246 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46249 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46250 GST_LIBS=$pkg_cv_GST_LIBS
46251 { echo "$as_me:$LINENO: result: yes" >&5
46252 echo "${ECHO_T}yes" >&6; }
46253 wxUSE_GSTREAMER="yes"
46258 if test "$wxUSE_GSTREAMER" = "yes"; then
46259 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46260 EXTRALIBS_MEDIA="$GST_LIBS"
46262 cat >>confdefs.h <<\_ACEOF
46263 #define wxUSE_GSTREAMER 1
46271 if test $USE_MEDIA = 1; then
46272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46273 cat >>confdefs.h <<\_ACEOF
46274 #define wxUSE_MEDIACTRL 1
46281 if test "$cross_compiling" = "yes"; then
46284 OSINFO=`uname -s -r -m`
46285 OSINFO="\"$OSINFO\""
46288 cat >>confdefs.h <<_ACEOF
46289 #define WXWIN_OS_DESCRIPTION $OSINFO
46294 if test "x$prefix" != "xNONE"; then
46297 wxPREFIX=$ac_default_prefix
46300 cat >>confdefs.h <<_ACEOF
46301 #define wxINSTALL_PREFIX "$wxPREFIX"
46307 STD_BASE_LIBS="base"
46309 BUILT_WX_LIBS="base"
46310 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46312 if test "$wxUSE_SOCKETS" = "yes" ; then
46313 STD_BASE_LIBS="net $STD_BASE_LIBS"
46314 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46316 if test "$wxUSE_XML" = "yes" ; then
46317 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46318 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46321 if test "$wxUSE_GUI" = "yes"; then
46322 STD_GUI_LIBS="adv core"
46323 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46325 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46326 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46327 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46329 if test "$wxUSE_HTML" = "yes" ; then
46330 STD_GUI_LIBS="html $STD_GUI_LIBS"
46331 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46333 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46334 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46336 if test "$wxUSE_OPENGL" = "yes" ; then
46337 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46339 if test "$wxUSE_AUI" = "yes" ; then
46340 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46342 if test "$wxUSE_STC" = "yes" ; then
46343 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46345 if test "$wxUSE_XRC" = "yes" ; then
46346 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46347 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46358 if test "$wxUSE_MAC" = 1 ; then
46359 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46360 if test "$USE_DARWIN" = 1; then
46361 LDFLAGS="$LDFLAGS -framework QuickTime"
46363 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46366 if test "$USE_DARWIN" = 1; then
46367 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46369 LDFLAGS="$LDFLAGS -lCarbonLib"
46372 if test "$wxUSE_COCOA" = 1 ; then
46373 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46374 if test "$wxUSE_MEDIACTRL" = "yes"; then
46375 LDFLAGS="$LDFLAGS -framework QuickTime"
46378 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46379 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46382 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46384 if test "$wxUSE_GUI" = "yes"; then
46387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46388 erase event exec font image minimal mobile \
46389 mobile/wxedit mobile/styles render \
46390 shaped svg taborder vscroll widgets"
46392 if test "$wxUSE_MONOLITHIC" != "yes"; then
46393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46395 if test "$TOOLKIT" = "MSW"; then
46396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46397 if test "$wxUSE_UNIVERSAL" != "yes"; then
46398 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46401 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46402 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46405 SAMPLES_SUBDIRS="console"
46406 if test "$wxUSE_SOCKETS" = "yes" ; then
46407 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46409 if test "$wxUSE_IPC" = "yes" ; then
46410 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46415 if test "x$INTELCC" = "xyes" ; then
46416 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46417 elif test "$GCC" = yes ; then
46418 CWARNINGS="-Wall -Wundef"
46421 if test "x$INTELCXX" = "xyes" ; then
46422 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46423 elif test "$GXX" = yes ; then
46424 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46428 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46429 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46432 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46433 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46434 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46437 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46438 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46439 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46440 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
46441 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
46443 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46446 if test "x$MWCC" = "xyes"; then
46448 CC="$CC -cwd source -I-"
46449 CXX="$CXX -cwd source -I-"
46454 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46455 EXTRALIBS_XML="$EXPAT_LINK"
46456 EXTRALIBS_HTML="$MSPACK_LINK"
46457 EXTRALIBS_MEDIA="$GST_LIBS"
46458 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46459 if test "$wxUSE_GUI" = "yes"; then
46460 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46462 if test "$wxUSE_OPENGL" = "yes"; then
46463 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46466 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46468 WXCONFIG_LIBS="$LIBS"
46470 if test "$wxUSE_REGEX" = "builtin" ; then
46471 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46473 if test "$wxUSE_EXPAT" = "builtin" ; then
46474 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46476 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46477 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46479 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46480 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46482 if test "$wxUSE_LIBPNG" = "builtin" ; then
46483 wxconfig_3rdparty="png $wxconfig_3rdparty"
46485 if test "$wxUSE_ZLIB" = "builtin" ; then
46486 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46489 for i in $wxconfig_3rdparty ; do
46490 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46494 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46497 case "$wxUNIV_THEMES" in
46499 cat >>confdefs.h <<\_ACEOF
46500 #define wxUSE_ALL_THEMES 1
46506 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46507 cat >>confdefs.h <<_ACEOF
46508 #define wxUSE_THEME_$t 1
46524 if test $wxUSE_MONOLITHIC = "yes" ; then
46530 if test $wxUSE_PLUGINS = "yes" ; then
46536 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46542 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46575 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
46586 TOOLKIT_DESC="GTK+"
46587 if test "$WXGTK2" = 1; then
46588 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46589 if test "$wxUSE_GTKPRINT" = "yes" ; then
46590 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46592 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46593 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46595 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46596 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46598 if test "$wxUSE_LIBHILDON" = "yes"; then
46599 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46602 if test "$TOOLKIT_EXTRA" != ""; then
46603 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46609 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46613 TOOLKIT_DESC="base only"
46617 if test "$wxUSE_WINE" = "yes"; then
46618 BAKEFILE_FORCE_PLATFORM=win32
46621 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46623 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46624 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46625 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46626 echo $ECHO_N "(cached) $ECHO_C" >&6
46629 echo '#include <stdio.h>
46630 const wchar_t test_var[] = L"awidetest";' > conftest.h
46632 echo '#include "conftest.h"
46635 printf("%ls", test_var);
46639 wx_cv_gcc_pch_bug="pch not supported"
46641 if $CXX conftest.h >/dev/null 2>&1
46645 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46647 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46648 grep awidetest >/dev/null
46650 wx_cv_gcc_pch_bug=no
46652 wx_cv_gcc_pch_bug=yes
46657 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46660 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46661 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46663 if test "$wx_cv_gcc_pch_bug" = yes; then
46674 if test "x$BAKEFILE_HOST" = "x"; then
46675 if test "x${host}" = "x" ; then
46676 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46677 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46678 { (exit 1); exit 1; }; }
46681 BAKEFILE_HOST="${host}"
46684 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46686 if test -n "$ac_tool_prefix"; then
46687 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46688 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46689 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46691 if test "${ac_cv_prog_RANLIB+set}" = set; then
46692 echo $ECHO_N "(cached) $ECHO_C" >&6
46694 if test -n "$RANLIB"; then
46695 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46698 for as_dir in $PATH
46701 test -z "$as_dir" && as_dir=.
46702 for ac_exec_ext in '' $ac_executable_extensions; do
46703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46704 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46714 RANLIB=$ac_cv_prog_RANLIB
46715 if test -n "$RANLIB"; then
46716 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46717 echo "${ECHO_T}$RANLIB" >&6; }
46719 { echo "$as_me:$LINENO: result: no" >&5
46720 echo "${ECHO_T}no" >&6; }
46725 if test -z "$ac_cv_prog_RANLIB"; then
46726 ac_ct_RANLIB=$RANLIB
46727 # Extract the first word of "ranlib", so it can be a program name with args.
46728 set dummy ranlib; ac_word=$2
46729 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46731 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46732 echo $ECHO_N "(cached) $ECHO_C" >&6
46734 if test -n "$ac_ct_RANLIB"; then
46735 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46738 for as_dir in $PATH
46741 test -z "$as_dir" && as_dir=.
46742 for ac_exec_ext in '' $ac_executable_extensions; do
46743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46744 ac_cv_prog_ac_ct_RANLIB="ranlib"
46745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46754 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46755 if test -n "$ac_ct_RANLIB"; then
46756 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46757 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46759 { echo "$as_me:$LINENO: result: no" >&5
46760 echo "${ECHO_T}no" >&6; }
46763 if test "x$ac_ct_RANLIB" = x; then
46766 case $cross_compiling:$ac_tool_warned in
46768 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46769 whose name does not start with the host triplet. If you think this
46770 configuration is useful to you, please write to autoconf@gnu.org." >&5
46771 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46772 whose name does not start with the host triplet. If you think this
46773 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46774 ac_tool_warned=yes ;;
46776 RANLIB=$ac_ct_RANLIB
46779 RANLIB="$ac_cv_prog_RANLIB"
46782 # Find a good install program. We prefer a C program (faster),
46783 # so one script is as good as another. But avoid the broken or
46784 # incompatible versions:
46785 # SysV /etc/install, /usr/sbin/install
46786 # SunOS /usr/etc/install
46787 # IRIX /sbin/install
46789 # AmigaOS /C/install, which installs bootblocks on floppy discs
46790 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46791 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46792 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46793 # OS/2's system install, which has a completely different semantic
46794 # ./install, which can be erroneously created by make from ./install.sh.
46795 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46796 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46797 if test -z "$INSTALL"; then
46798 if test "${ac_cv_path_install+set}" = set; then
46799 echo $ECHO_N "(cached) $ECHO_C" >&6
46801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46802 for as_dir in $PATH
46805 test -z "$as_dir" && as_dir=.
46806 # Account for people who put trailing slashes in PATH elements.
46808 ./ | .// | /cC/* | \
46809 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46810 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46813 # OSF1 and SCO ODT 3.0 have their own names for install.
46814 # Don't use installbsd from OSF since it installs stuff as root
46816 for ac_prog in ginstall scoinst install; do
46817 for ac_exec_ext in '' $ac_executable_extensions; do
46818 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46819 if test $ac_prog = install &&
46820 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46821 # AIX install. It has an incompatible calling convention.
46823 elif test $ac_prog = install &&
46824 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46825 # program-specific install script used by HP pwplus--don't use.
46828 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46841 if test "${ac_cv_path_install+set}" = set; then
46842 INSTALL=$ac_cv_path_install
46844 # As a last resort, use the slow shell script. Don't cache a
46845 # value for INSTALL within a source directory, because that will
46846 # break other packages using the cache if that directory is
46847 # removed, or if the value is a relative name.
46848 INSTALL=$ac_install_sh
46851 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46852 echo "${ECHO_T}$INSTALL" >&6; }
46854 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46855 # It thinks the first close brace ends the variable substitution.
46856 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46858 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46860 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46862 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46863 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46865 if test "$LN_S" = "ln -s"; then
46866 { echo "$as_me:$LINENO: result: yes" >&5
46867 echo "${ECHO_T}yes" >&6; }
46869 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46870 echo "${ECHO_T}no, using $LN_S" >&6; }
46874 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46875 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46876 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46877 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46878 echo $ECHO_N "(cached) $ECHO_C" >&6
46880 cat >conftest.make <<\_ACEOF
46883 @echo '@@@%%%=$(MAKE)=@@@%%%'
46885 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46886 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46887 *@@@%%%=?*=@@@%%%*)
46888 eval ac_cv_prog_make_${ac_make}_set=yes;;
46890 eval ac_cv_prog_make_${ac_make}_set=no;;
46892 rm -f conftest.make
46894 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46895 { echo "$as_me:$LINENO: result: yes" >&5
46896 echo "${ECHO_T}yes" >&6; }
46899 { echo "$as_me:$LINENO: result: no" >&5
46900 echo "${ECHO_T}no" >&6; }
46901 SET_MAKE="MAKE=${MAKE-make}"
46906 if test "x$SUNCXX" = "xyes"; then
46908 AROPTIONS="-xar -o"
46910 elif test "x$SGICC" = "xyes"; then
46915 if test -n "$ac_tool_prefix"; then
46916 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46917 set dummy ${ac_tool_prefix}ar; ac_word=$2
46918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46920 if test "${ac_cv_prog_AR+set}" = set; then
46921 echo $ECHO_N "(cached) $ECHO_C" >&6
46923 if test -n "$AR"; then
46924 ac_cv_prog_AR="$AR" # Let the user override the test.
46926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46927 for as_dir in $PATH
46930 test -z "$as_dir" && as_dir=.
46931 for ac_exec_ext in '' $ac_executable_extensions; do
46932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46933 ac_cv_prog_AR="${ac_tool_prefix}ar"
46934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46944 if test -n "$AR"; then
46945 { echo "$as_me:$LINENO: result: $AR" >&5
46946 echo "${ECHO_T}$AR" >&6; }
46948 { echo "$as_me:$LINENO: result: no" >&5
46949 echo "${ECHO_T}no" >&6; }
46954 if test -z "$ac_cv_prog_AR"; then
46956 # Extract the first word of "ar", so it can be a program name with args.
46957 set dummy ar; ac_word=$2
46958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46960 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46961 echo $ECHO_N "(cached) $ECHO_C" >&6
46963 if test -n "$ac_ct_AR"; then
46964 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46967 for as_dir in $PATH
46970 test -z "$as_dir" && as_dir=.
46971 for ac_exec_ext in '' $ac_executable_extensions; do
46972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46973 ac_cv_prog_ac_ct_AR="ar"
46974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46983 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46984 if test -n "$ac_ct_AR"; then
46985 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46986 echo "${ECHO_T}$ac_ct_AR" >&6; }
46988 { echo "$as_me:$LINENO: result: no" >&5
46989 echo "${ECHO_T}no" >&6; }
46992 if test "x$ac_ct_AR" = x; then
46995 case $cross_compiling:$ac_tool_warned in
46997 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46998 whose name does not start with the host triplet. If you think this
46999 configuration is useful to you, please write to autoconf@gnu.org." >&5
47000 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47001 whose name does not start with the host triplet. If you think this
47002 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47003 ac_tool_warned=yes ;;
47008 AR="$ac_cv_prog_AR"
47015 if test -n "$ac_tool_prefix"; then
47016 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47017 set dummy ${ac_tool_prefix}strip; ac_word=$2
47018 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47020 if test "${ac_cv_prog_STRIP+set}" = set; then
47021 echo $ECHO_N "(cached) $ECHO_C" >&6
47023 if test -n "$STRIP"; then
47024 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47027 for as_dir in $PATH
47030 test -z "$as_dir" && as_dir=.
47031 for ac_exec_ext in '' $ac_executable_extensions; do
47032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47033 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47043 STRIP=$ac_cv_prog_STRIP
47044 if test -n "$STRIP"; then
47045 { echo "$as_me:$LINENO: result: $STRIP" >&5
47046 echo "${ECHO_T}$STRIP" >&6; }
47048 { echo "$as_me:$LINENO: result: no" >&5
47049 echo "${ECHO_T}no" >&6; }
47054 if test -z "$ac_cv_prog_STRIP"; then
47056 # Extract the first word of "strip", so it can be a program name with args.
47057 set dummy strip; ac_word=$2
47058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47060 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47061 echo $ECHO_N "(cached) $ECHO_C" >&6
47063 if test -n "$ac_ct_STRIP"; then
47064 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47067 for as_dir in $PATH
47070 test -z "$as_dir" && as_dir=.
47071 for ac_exec_ext in '' $ac_executable_extensions; do
47072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47073 ac_cv_prog_ac_ct_STRIP="strip"
47074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47083 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47084 if test -n "$ac_ct_STRIP"; then
47085 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47086 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47088 { echo "$as_me:$LINENO: result: no" >&5
47089 echo "${ECHO_T}no" >&6; }
47092 if test "x$ac_ct_STRIP" = x; then
47095 case $cross_compiling:$ac_tool_warned in
47097 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47098 whose name does not start with the host triplet. If you think this
47099 configuration is useful to you, please write to autoconf@gnu.org." >&5
47100 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47101 whose name does not start with the host triplet. If you think this
47102 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47103 ac_tool_warned=yes ;;
47108 STRIP="$ac_cv_prog_STRIP"
47111 if test -n "$ac_tool_prefix"; then
47112 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47113 set dummy ${ac_tool_prefix}nm; ac_word=$2
47114 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47116 if test "${ac_cv_prog_NM+set}" = set; then
47117 echo $ECHO_N "(cached) $ECHO_C" >&6
47119 if test -n "$NM"; then
47120 ac_cv_prog_NM="$NM" # Let the user override the test.
47122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47123 for as_dir in $PATH
47126 test -z "$as_dir" && as_dir=.
47127 for ac_exec_ext in '' $ac_executable_extensions; do
47128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47129 ac_cv_prog_NM="${ac_tool_prefix}nm"
47130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47140 if test -n "$NM"; then
47141 { echo "$as_me:$LINENO: result: $NM" >&5
47142 echo "${ECHO_T}$NM" >&6; }
47144 { echo "$as_me:$LINENO: result: no" >&5
47145 echo "${ECHO_T}no" >&6; }
47150 if test -z "$ac_cv_prog_NM"; then
47152 # Extract the first word of "nm", so it can be a program name with args.
47153 set dummy nm; ac_word=$2
47154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47156 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47157 echo $ECHO_N "(cached) $ECHO_C" >&6
47159 if test -n "$ac_ct_NM"; then
47160 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47163 for as_dir in $PATH
47166 test -z "$as_dir" && as_dir=.
47167 for ac_exec_ext in '' $ac_executable_extensions; do
47168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47169 ac_cv_prog_ac_ct_NM="nm"
47170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47179 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47180 if test -n "$ac_ct_NM"; then
47181 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47182 echo "${ECHO_T}$ac_ct_NM" >&6; }
47184 { echo "$as_me:$LINENO: result: no" >&5
47185 echo "${ECHO_T}no" >&6; }
47188 if test "x$ac_ct_NM" = x; then
47191 case $cross_compiling:$ac_tool_warned in
47193 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47194 whose name does not start with the host triplet. If you think this
47195 configuration is useful to you, please write to autoconf@gnu.org." >&5
47196 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47197 whose name does not start with the host triplet. If you think this
47198 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47199 ac_tool_warned=yes ;;
47204 NM="$ac_cv_prog_NM"
47208 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47209 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47210 INSTALL_TEST_DIR=acbftest$$
47211 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47212 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47213 rmdir $INSTALL_TEST_DIR
47214 INSTALL_DIR='$(INSTALL) -d'
47215 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47216 echo "${ECHO_T}$INSTALL -d" >&6; }
47218 INSTALL_DIR="mkdir -p"
47219 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47220 echo "${ECHO_T}mkdir -p" >&6; }
47225 case ${BAKEFILE_HOST} in
47226 *-*-cygwin* | *-*-mingw32* )
47227 LDFLAGS_GUI="-mwindows"
47233 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47234 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47235 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47236 echo $ECHO_N "(cached) $ECHO_C" >&6
47239 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47240 egrep -s GNU > /dev/null); then
47241 bakefile_cv_prog_makeisgnu="yes"
47243 bakefile_cv_prog_makeisgnu="no"
47247 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47248 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47250 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47267 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47268 case "${BAKEFILE_HOST}" in
47275 *-pc-os2_emx | *-pc-os2-emx )
47285 powerpc-apple-macos* )
47294 case "$BAKEFILE_FORCE_PLATFORM" in
47329 # Check whether --enable-omf was given.
47330 if test "${enable_omf+set}" = set; then
47331 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47335 case "${BAKEFILE_HOST}" in
47337 if test "x$GCC" = "xyes"; then
47338 CFLAGS="$CFLAGS -fno-common"
47339 CXXFLAGS="$CXXFLAGS -fno-common"
47341 if test "x$XLCC" = "xyes"; then
47342 CFLAGS="$CFLAGS -qnocommon"
47343 CXXFLAGS="$CXXFLAGS -qnocommon"
47347 *-pc-os2_emx | *-pc-os2-emx )
47348 if test "x$bk_os2_use_omf" = "xyes" ; then
47351 LDFLAGS="-Zomf $LDFLAGS"
47352 CFLAGS="-Zomf $CFLAGS"
47353 CXXFLAGS="-Zomf $CXXFLAGS"
47361 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47367 SO_SUFFIX_MODULE="so"
47372 DLLPREFIX_MODULE=""
47376 case "${BAKEFILE_HOST}" in
47379 SO_SUFFIX_MODULE="sl"
47383 SO_SUFFIX_MODULE="a"
47387 SO_SUFFIX_MODULE="dll"
47388 DLLIMP_SUFFIX="dll.a"
47395 SO_SUFFIX_MODULE="dll"
47396 DLLIMP_SUFFIX="dll.a"
47406 *-pc-os2_emx | *-pc-os2-emx )
47408 SO_SUFFIX_MODULE="dll"
47409 DLLIMP_SUFFIX=$OS2_LIBEXT
47413 LIBEXT=".$OS2_LIBEXT"
47418 SO_SUFFIX_MODULE="bundle"
47422 if test "x$DLLIMP_SUFFIX" = "x" ; then
47423 DLLIMP_SUFFIX="$SO_SUFFIX"
47438 if test "x$GCC" = "xyes"; then
47442 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47443 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47446 case "${BAKEFILE_HOST}" in
47448 if test "x$GCC" != "xyes"; then
47449 LDFLAGS="$LDFLAGS -L/usr/lib"
47451 SHARED_LD_CC="${CC} -b -o"
47452 SHARED_LD_CXX="${CXX} -b -o"
47458 if test "$INTELCC" = "yes"; then
47460 elif test "x$SUNCXX" = "xyes"; then
47461 SHARED_LD_CC="${CC} -G -o"
47462 SHARED_LD_CXX="${CXX} -G -o"
47468 if test "x$SUNCXX" = xyes ; then
47469 SHARED_LD_CC="${CC} -G -o"
47470 SHARED_LD_CXX="${CXX} -G -o"
47478 cat <<EOF >shared-ld-sh
47480 #-----------------------------------------------------------------------------
47481 #-- Name: distrib/mac/shared-ld-sh
47482 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47483 #-- Author: Gilles Depeyrot
47484 #-- Copyright: (c) 2002 Gilles Depeyrot
47485 #-- Licence: any use permitted
47486 #-----------------------------------------------------------------------------
47491 linking_flag="-dynamiclib"
47492 ldargs="-r -keep_private_externs -nostdlib"
47494 if test "x${D}CXX" = "x"; then
47498 while test ${D}# -gt 0; do
47505 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47506 # collect these options and values
47507 args="${D}{args} ${D}1 ${D}2"
47512 # collect these options and values
47513 ldargs="${D}{ldargs} ${D}1 ${D}2"
47518 # collect these load args
47519 ldargs="${D}{ldargs} ${D}1"
47522 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47523 # collect these options
47524 args="${D}{args} ${D}1"
47527 -dynamiclib|-bundle)
47528 linking_flag="${D}1"
47532 echo "shared-ld: unhandled option '${D}1'"
47536 *.o | *.a | *.dylib)
47537 # collect object files
47538 objects="${D}{objects} ${D}1"
47542 echo "shared-ld: unhandled argument '${D}1'"
47553 # Link one module containing all the others
47555 if test ${D}{verbose} = 1; then
47556 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47558 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47562 # Link the shared library from the single module created, but only if the
47563 # previous command didn't fail:
47565 if test ${D}{status} = 0; then
47566 if test ${D}{verbose} = 1; then
47567 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47569 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47574 # Remove intermediate module
47576 rm -f master.${D}${D}.o
47581 chmod +x shared-ld-sh
47583 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47584 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
47587 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47588 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47589 if test "${bakefile_cv_gcc31+set}" = set; then
47590 echo $ECHO_N "(cached) $ECHO_C" >&6
47593 cat >conftest.$ac_ext <<_ACEOF
47596 cat confdefs.h >>conftest.$ac_ext
47597 cat >>conftest.$ac_ext <<_ACEOF
47598 /* end confdefs.h. */
47604 #if (__GNUC__ < 3) || \
47605 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47613 rm -f conftest.$ac_objext
47614 if { (ac_try="$ac_compile"
47615 case "(($ac_try" in
47616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47617 *) ac_try_echo=$ac_try;;
47619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47620 (eval "$ac_compile") 2>conftest.er1
47622 grep -v '^ *+' conftest.er1 >conftest.err
47624 cat conftest.err >&5
47625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47626 (exit $ac_status); } && {
47627 test -z "$ac_c_werror_flag" ||
47628 test ! -s conftest.err
47629 } && test -s conftest.$ac_objext; then
47631 bakefile_cv_gcc31=yes
47634 echo "$as_me: failed program was:" >&5
47635 sed 's/^/| /' conftest.$ac_ext >&5
47638 bakefile_cv_gcc31=no
47643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47646 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47647 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47648 if test "$bakefile_cv_gcc31" = "no"; then
47649 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47650 SHARED_LD_CXX="$SHARED_LD_CC"
47652 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47653 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47656 if test "x$GCC" == "xyes"; then
47657 PIC_FLAG="-dynamic -fPIC"
47659 if test "x$XLCC" = "xyes"; then
47660 PIC_FLAG="-dynamic -DPIC"
47665 if test "x$GCC" = "xyes"; then
47668 case "${BAKEFILE_HOST}" in
47670 LD_EXPFULL="-Wl,-bexpfull"
47674 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47675 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47677 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47678 set dummy makeC++SharedLib; ac_word=$2
47679 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47681 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47682 echo $ECHO_N "(cached) $ECHO_C" >&6
47684 if test -n "$AIX_CXX_LD"; then
47685 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47688 for as_dir in $PATH
47691 test -z "$as_dir" && as_dir=.
47692 for ac_exec_ext in '' $ac_executable_extensions; do
47693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47694 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47702 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47705 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47706 if test -n "$AIX_CXX_LD"; then
47707 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47708 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47710 { echo "$as_me:$LINENO: result: no" >&5
47711 echo "${ECHO_T}no" >&6; }
47715 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47716 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47721 SHARED_LD_CC="${LD} -nostart -o"
47722 SHARED_LD_CXX="${LD} -nostart -o"
47726 if test "x$GCC" != "xyes"; then
47731 *-*-cygwin* | *-*-mingw32* )
47733 SHARED_LD_CC="\$(CC) -shared -o"
47734 SHARED_LD_CXX="\$(CXX) -shared -o"
47738 *-pc-os2_emx | *-pc-os2-emx )
47739 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47740 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47744 cat <<EOF >dllar.sh
47747 # dllar - a tool to build both a .dll and an .a file
47748 # from a set of object (.o) files for EMX/OS2.
47750 # Written by Andrew Zabolotny, bit@freya.etu.ru
47751 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47753 # This script will accept a set of files on the command line.
47754 # All the public symbols from the .o files will be exported into
47755 # a .DEF file, then linker will be run (through gcc) against them to
47756 # build a shared library consisting of all given .o files. All libraries
47757 # (.a) will be first decompressed into component .o files then act as
47758 # described above. You can optionally give a description (-d "description")
47759 # which will be put into .DLL. To see the list of accepted options (as well
47760 # as command-line format) simply run this program without options. The .DLL
47761 # is built to be imported by name (there is no guarantee that new versions
47762 # of the library you build will have same ordinals for same symbols).
47764 # dllar is free software; you can redistribute it and/or modify
47765 # it under the terms of the GNU General Public License as published by
47766 # the Free Software Foundation; either version 2, or (at your option)
47767 # any later version.
47769 # dllar is distributed in the hope that it will be useful,
47770 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47771 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47772 # GNU General Public License for more details.
47774 # You should have received a copy of the GNU General Public License
47775 # along with dllar; see the file COPYING. If not, write to the Free
47776 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47779 # To successfuly run this program you will need:
47780 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47781 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47783 # (used to build the .dll)
47785 # (used to create .def file from .o files)
47787 # (used to create .a file from .def file)
47788 # - GNU text utilites (cat, sort, uniq)
47789 # used to process emxexp output
47790 # - GNU file utilities (mv, rm)
47792 # - lxlite (optional, see flag below)
47793 # (used for general .dll cleanup)
47800 # basnam, variant of basename, which does _not_ remove the path, _iff_
47801 # second argument (suffix to remove) is given
47805 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47808 echo ${D}1 | sed 's/'${D}2'${D}//'
47811 echo "error in basnam ${D}*"
47817 # Cleanup temporary files and output
47820 for i in ${D}inputFiles ; do
47823 rm -rf \`basnam ${D}i !\`
47830 # Kill result in case of failure as there is just to many stupid make/nmake
47831 # things out there which doesn't do this.
47832 if [ ${D}# -eq 0 ]; then
47833 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47837 # Print usage and exit script with rc=1.
47839 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47840 echo ' [-name-mangler-script script.sh]'
47841 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47842 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47843 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47844 echo ' [*.o] [*.a]'
47845 echo '*> "output_file" should have no extension.'
47846 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47847 echo ' The import library name is derived from this and is set to "name".a,'
47848 echo ' unless overridden by -import'
47849 echo '*> "importlib_name" should have no extension.'
47850 echo ' If it has the .o, or .a extension, it is automatically removed.'
47851 echo ' This name is used as the import library name and may be longer and'
47852 echo ' more descriptive than the DLL name which has to follow the old '
47853 echo ' 8.3 convention of FAT.'
47854 echo '*> "script.sh may be given to override the output_file name by a'
47855 echo ' different name. It is mainly useful if the regular make process'
47856 echo ' of some package does not take into account OS/2 restriction of'
47857 echo ' DLL name lengths. It takes the importlib name as input and is'
47858 echo ' supposed to procude a shorter name as output. The script should'
47859 echo ' expect to get importlib_name without extension and should produce'
47860 echo ' a (max.) 8 letter name without extension.'
47861 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47862 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47863 echo ' These flags will be put at the start of GCC command line.'
47864 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47865 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47866 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47867 echo ' If the last character of a symbol is "*", all symbols beginning'
47868 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47869 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47870 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47871 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47872 echo ' C runtime DLLs.'
47873 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47874 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47875 echo ' unchanged to GCC at the end of command line.'
47876 echo '*> If you create a DLL from a library and you do not specify -o,'
47877 echo ' the basename for DLL and import library will be set to library name,'
47878 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47879 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47880 echo ' library will be renamed into gcc_s.a.'
47883 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47884 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47889 # Execute a command.
47890 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47891 # @Uses Whatever CleanUp() uses.
47897 if [ ${D}rcCmd -ne 0 ]; then
47898 echo "command failed, exit code="${D}rcCmd
47913 CFLAGS="-s -Zcrtdll"
47915 EXPORT_BY_ORDINALS=0
47920 case ${D}curDirS in
47924 curDirS=${D}{curDirS}"/"
47927 # Parse commandline
47930 while [ ${D}1 ]; do
47933 EXPORT_BY_ORDINALS=1;
47943 -name-mangler-script)
47964 exclude_symbols=${D}{exclude_symbols}${D}1" "
47968 library_flags=${D}{library_flags}${D}1" "
47987 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47990 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47991 if [ ${D}omfLinking -eq 1 ]; then
47992 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47994 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47999 if [ ${D}libsToLink -ne 0 ]; then
48000 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48002 for file in ${D}1 ; do
48003 if [ -f ${D}file ]; then
48004 inputFiles="${D}{inputFiles} ${D}file"
48008 if [ ${D}found -eq 0 ]; then
48009 echo "ERROR: No file(s) found: "${D}1
48016 done # iterate cmdline words
48019 if [ -z "${D}inputFiles" ]; then
48020 echo "dllar: no input files"
48024 # Now extract all .o files from .a files
48026 for file in ${D}inputFiles ; do
48037 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48042 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48044 if [ ${D}? -ne 0 ]; then
48045 echo "Failed to create subdirectory ./${D}dirname"
48049 # Append '!' to indicate archive
48050 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48051 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48054 for subfile in ${D}dirname/*.o* ; do
48055 if [ -f ${D}subfile ]; then
48057 if [ -s ${D}subfile ]; then
48058 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48059 newInputFiles="${D}newInputFiles ${D}subfile"
48063 if [ ${D}found -eq 0 ]; then
48064 echo "WARNING: there are no files in archive \\'${D}file\\'"
48068 newInputFiles="${D}{newInputFiles} ${D}file"
48072 inputFiles="${D}newInputFiles"
48074 # Output filename(s).
48076 if [ -z ${D}outFile ]; then
48078 set outFile ${D}inputFiles; outFile=${D}2
48081 # If it is an archive, remove the '!' and the '_%' suffixes
48082 case ${D}outFile in
48084 outFile=\`basnam ${D}outFile _%!\`
48089 case ${D}outFile in
48091 outFile=\`basnam ${D}outFile .dll\`
48094 outFile=\`basnam ${D}outFile .DLL\`
48097 outFile=\`basnam ${D}outFile .o\`
48100 outFile=\`basnam ${D}outFile .obj\`
48103 outFile=\`basnam ${D}outFile .a\`
48106 outFile=\`basnam ${D}outFile .lib\`
48111 case ${D}outimpFile in
48113 outimpFile=\`basnam ${D}outimpFile .a\`
48116 outimpFile=\`basnam ${D}outimpFile .lib\`
48121 if [ -z ${D}outimpFile ]; then
48122 outimpFile=${D}outFile
48124 defFile="${D}{outFile}.def"
48125 arcFile="${D}{outimpFile}.a"
48126 arcFile2="${D}{outimpFile}.lib"
48128 #create ${D}dllFile as something matching 8.3 restrictions,
48129 if [ -z ${D}renameScript ] ; then
48130 dllFile="${D}outFile"
48132 dllFile=\`${D}renameScript ${D}outimpFile\`
48135 if [ ${D}do_backup -ne 0 ] ; then
48136 if [ -f ${D}arcFile ] ; then
48137 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48139 if [ -f ${D}arcFile2 ] ; then
48140 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48144 # Extract public symbols from all the object files.
48145 tmpdefFile=${D}{defFile}_%
48146 rm -f ${D}tmpdefFile
48147 for file in ${D}inputFiles ; do
48152 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48157 # Create the def file.
48159 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48160 dllFile="${D}{dllFile}.dll"
48161 if [ ! -z ${D}description ]; then
48162 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48164 echo "EXPORTS" >> ${D}defFile
48166 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48167 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48169 # Checks if the export is ok or not.
48170 for word in ${D}exclude_symbols; do
48171 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48172 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48176 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48177 sed "=" < ${D}tmpdefFile | \\
48181 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48183 ' > ${D}{tmpdefFile}%
48184 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48186 rm -f ${D}{tmpdefFile}%
48188 cat ${D}tmpdefFile >> ${D}defFile
48189 rm -f ${D}tmpdefFile
48191 # Do linking, create implib, and apply lxlite.
48193 for file in ${D}inputFiles ; do
48198 gccCmdl="${D}gccCmdl ${D}file"
48202 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48203 touch "${D}{outFile}.dll"
48205 doCommand "emximp -o ${D}arcFile ${D}defFile"
48206 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48208 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48211 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48213 doCommand "emxomf -s -l ${D}arcFile"
48223 powerpc-apple-macos* | \
48224 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48234 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48235 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48236 { (exit 1); exit 1; }; }
48239 if test "x$PIC_FLAG" != "x" ; then
48240 PIC_FLAG="$PIC_FLAG -DPIC"
48243 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48244 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48246 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48247 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48266 case "${BAKEFILE_HOST}" in
48267 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
48268 *-*-k*bsd*-gnu | *-*-mirbsd* )
48269 if test "x$SUNCXX" = "xyes"; then
48272 SONAME_FLAG="-Wl,-soname,"
48307 # Check whether --enable-dependency-tracking was given.
48308 if test "${enable_dependency_tracking+set}" = set; then
48309 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48313 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48314 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48317 if test "x$bk_use_trackdeps" = "xno" ; then
48319 { echo "$as_me:$LINENO: result: disabled" >&5
48320 echo "${ECHO_T}disabled" >&6; }
48324 if test "x$GCC" = "xyes"; then
48326 case "${BAKEFILE_HOST}" in
48328 DEPSFLAG="-no-cpp-precomp -MMD"
48334 { echo "$as_me:$LINENO: result: gcc" >&5
48335 echo "${ECHO_T}gcc" >&6; }
48336 elif test "x$MWCC" = "xyes"; then
48339 { echo "$as_me:$LINENO: result: mwcc" >&5
48340 echo "${ECHO_T}mwcc" >&6; }
48341 elif test "x$SUNCC" = "xyes"; then
48344 { echo "$as_me:$LINENO: result: Sun cc" >&5
48345 echo "${ECHO_T}Sun cc" >&6; }
48346 elif test "x$SGICC" = "xyes"; then
48349 { echo "$as_me:$LINENO: result: SGI cc" >&5
48350 echo "${ECHO_T}SGI cc" >&6; }
48351 elif test "x$HPCC" = "xyes"; then
48354 { echo "$as_me:$LINENO: result: HP cc" >&5
48355 echo "${ECHO_T}HP cc" >&6; }
48356 elif test "x$COMPAQCC" = "xyes"; then
48359 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48360 echo "${ECHO_T}Compaq cc" >&6; }
48363 { echo "$as_me:$LINENO: result: none" >&5
48364 echo "${ECHO_T}none" >&6; }
48367 if test $DEPS_TRACKING = 1 ; then
48373 # This script is part of Bakefile (http://www.bakefile.org) autoconf
48374 # script. It is used to track C/C++ files dependencies in portable way.
48376 # Permission is given to use this file in any way.
48378 DEPSMODE=${DEPSMODE}
48380 DEPSFLAG="${DEPSFLAG}"
48382 mkdir -p ${D}DEPSDIR
48384 if test ${D}DEPSMODE = gcc ; then
48385 ${D}* ${D}{DEPSFLAG}
48388 # determine location of created files:
48389 while test ${D}# -gt 0; do
48403 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48404 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48406 # if the compiler failed, we're done:
48407 if test ${D}{status} != 0 ; then
48412 # move created file to the location we want it in:
48413 if test -f ${D}depfile ; then
48414 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48417 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48418 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48419 if test ! -f ${D}depfile ; then
48420 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48421 depfile="${D}objfile.d"
48423 if test -f ${D}depfile ; then
48424 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48429 elif test ${D}DEPSMODE = mwcc ; then
48430 ${D}* || exit ${D}?
48431 # Run mwcc again with -MM and redirect into the dep file we want
48432 # NOTE: We can't use shift here because we need ${D}* to be valid
48434 for arg in ${D}* ; do
48435 if test "${D}prevarg" = "-o"; then
48448 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48450 elif test ${D}DEPSMODE = unixcc; then
48451 ${D}* || exit ${D}?
48452 # Run compiler again with deps flag and redirect into the dep file.
48453 # It doesn't work if the '-o FILE' option is used, but without it the
48454 # dependency file will contain the wrong name for the object. So it is
48455 # removed from the command line, and the dep file is fixed with sed.
48457 while test ${D}# -gt 0; do
48464 eval arg${D}#=\\${D}1
48465 cmd="${D}cmd \\${D}arg${D}#"
48470 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48479 BK_DEPS="`pwd`/bk-deps"
48487 case ${BAKEFILE_HOST} in
48488 *-*-cygwin* | *-*-mingw32* )
48489 if test -n "$ac_tool_prefix"; then
48490 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48491 set dummy ${ac_tool_prefix}windres; ac_word=$2
48492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48494 if test "${ac_cv_prog_WINDRES+set}" = set; then
48495 echo $ECHO_N "(cached) $ECHO_C" >&6
48497 if test -n "$WINDRES"; then
48498 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48501 for as_dir in $PATH
48504 test -z "$as_dir" && as_dir=.
48505 for ac_exec_ext in '' $ac_executable_extensions; do
48506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48507 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48517 WINDRES=$ac_cv_prog_WINDRES
48518 if test -n "$WINDRES"; then
48519 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48520 echo "${ECHO_T}$WINDRES" >&6; }
48522 { echo "$as_me:$LINENO: result: no" >&5
48523 echo "${ECHO_T}no" >&6; }
48528 if test -z "$ac_cv_prog_WINDRES"; then
48529 ac_ct_WINDRES=$WINDRES
48530 # Extract the first word of "windres", so it can be a program name with args.
48531 set dummy windres; ac_word=$2
48532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48534 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48535 echo $ECHO_N "(cached) $ECHO_C" >&6
48537 if test -n "$ac_ct_WINDRES"; then
48538 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48541 for as_dir in $PATH
48544 test -z "$as_dir" && as_dir=.
48545 for ac_exec_ext in '' $ac_executable_extensions; do
48546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48547 ac_cv_prog_ac_ct_WINDRES="windres"
48548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48557 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48558 if test -n "$ac_ct_WINDRES"; then
48559 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48560 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48562 { echo "$as_me:$LINENO: result: no" >&5
48563 echo "${ECHO_T}no" >&6; }
48566 if test "x$ac_ct_WINDRES" = x; then
48569 case $cross_compiling:$ac_tool_warned in
48571 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48572 whose name does not start with the host triplet. If you think this
48573 configuration is useful to you, please write to autoconf@gnu.org." >&5
48574 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48575 whose name does not start with the host triplet. If you think this
48576 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48577 ac_tool_warned=yes ;;
48579 WINDRES=$ac_ct_WINDRES
48582 WINDRES="$ac_cv_prog_WINDRES"
48587 *-*-darwin* | powerpc-apple-macos* )
48588 # Extract the first word of "Rez", so it can be a program name with args.
48589 set dummy Rez; ac_word=$2
48590 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48592 if test "${ac_cv_prog_REZ+set}" = set; then
48593 echo $ECHO_N "(cached) $ECHO_C" >&6
48595 if test -n "$REZ"; then
48596 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48599 for as_dir in $PATH
48602 test -z "$as_dir" && as_dir=.
48603 for ac_exec_ext in '' $ac_executable_extensions; do
48604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48605 ac_cv_prog_REZ="Rez"
48606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48613 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48616 REZ=$ac_cv_prog_REZ
48617 if test -n "$REZ"; then
48618 { echo "$as_me:$LINENO: result: $REZ" >&5
48619 echo "${ECHO_T}$REZ" >&6; }
48621 { echo "$as_me:$LINENO: result: no" >&5
48622 echo "${ECHO_T}no" >&6; }
48626 # Extract the first word of "SetFile", so it can be a program name with args.
48627 set dummy SetFile; ac_word=$2
48628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48630 if test "${ac_cv_prog_SETFILE+set}" = set; then
48631 echo $ECHO_N "(cached) $ECHO_C" >&6
48633 if test -n "$SETFILE"; then
48634 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48637 for as_dir in $PATH
48640 test -z "$as_dir" && as_dir=.
48641 for ac_exec_ext in '' $ac_executable_extensions; do
48642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48643 ac_cv_prog_SETFILE="SetFile"
48644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48651 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48654 SETFILE=$ac_cv_prog_SETFILE
48655 if test -n "$SETFILE"; then
48656 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48657 echo "${ECHO_T}$SETFILE" >&6; }
48659 { echo "$as_me:$LINENO: result: no" >&5
48660 echo "${ECHO_T}no" >&6; }
48672 BAKEFILE_BAKEFILE_M4_VERSION="0.2.3"
48675 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.3"
48679 # Check whether --enable-precomp-headers was given.
48680 if test "${enable_precomp_headers+set}" = set; then
48681 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48690 case ${BAKEFILE_HOST} in
48696 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48697 if test "x$GCC" = "xyes"; then
48698 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48699 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48700 cat >conftest.$ac_ext <<_ACEOF
48703 cat confdefs.h >>conftest.$ac_ext
48704 cat >>conftest.$ac_ext <<_ACEOF
48705 /* end confdefs.h. */
48711 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48712 There is no PCH support
48715 There is no PCH support
48717 #if (__GNUC__ == 3) && \
48718 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48719 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48720 ( defined(__INTEL_COMPILER) )
48721 There is no PCH support
48728 rm -f conftest.$ac_objext
48729 if { (ac_try="$ac_compile"
48730 case "(($ac_try" in
48731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48732 *) ac_try_echo=$ac_try;;
48734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48735 (eval "$ac_compile") 2>conftest.er1
48737 grep -v '^ *+' conftest.er1 >conftest.err
48739 cat conftest.err >&5
48740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48741 (exit $ac_status); } && {
48742 test -z "$ac_c_werror_flag" ||
48743 test ! -s conftest.err
48744 } && test -s conftest.$ac_objext; then
48746 { echo "$as_me:$LINENO: result: yes" >&5
48747 echo "${ECHO_T}yes" >&6; }
48751 echo "$as_me: failed program was:" >&5
48752 sed 's/^/| /' conftest.$ac_ext >&5
48755 cat >conftest.$ac_ext <<_ACEOF
48758 cat confdefs.h >>conftest.$ac_ext
48759 cat >>conftest.$ac_ext <<_ACEOF
48760 /* end confdefs.h. */
48766 #if !defined(__INTEL_COMPILER) || \
48767 (__INTEL_COMPILER < 800)
48768 There is no PCH support
48775 rm -f conftest.$ac_objext
48776 if { (ac_try="$ac_compile"
48777 case "(($ac_try" in
48778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48779 *) ac_try_echo=$ac_try;;
48781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48782 (eval "$ac_compile") 2>conftest.er1
48784 grep -v '^ *+' conftest.er1 >conftest.err
48786 cat conftest.err >&5
48787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48788 (exit $ac_status); } && {
48789 test -z "$ac_c_werror_flag" ||
48790 test ! -s conftest.err
48791 } && test -s conftest.$ac_objext; then
48793 { echo "$as_me:$LINENO: result: yes" >&5
48794 echo "${ECHO_T}yes" >&6; }
48798 echo "$as_me: failed program was:" >&5
48799 sed 's/^/| /' conftest.$ac_ext >&5
48802 { echo "$as_me:$LINENO: result: no" >&5
48803 echo "${ECHO_T}no" >&6; }
48807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48812 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48816 cat <<EOF >bk-make-pch
48819 # This script is part of Bakefile (http://www.bakefile.org) autoconf
48820 # script. It is used to generated precompiled headers.
48822 # Permission is given to use this file in any way.
48832 while test ${D}{#} -gt 0; do
48836 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48837 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48838 headerfile="${D}{incdir}/${D}{header}"
48841 -use-pch|-use_pch )
48846 if test ${D}add_to_cmdline = 1 ; then
48847 compiler="${D}{compiler} ${D}{1}"
48852 if test "x${D}{headerfile}" = "x" ; then
48853 echo "error: can't find header ${D}{header} in include paths" >&2
48855 if test -f ${D}{outfile} ; then
48856 rm -f ${D}{outfile}
48858 mkdir -p \`dirname ${D}{outfile}\`
48860 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48862 if test "x${GCC_PCH}" = "x1" ; then
48863 # can do this because gcc is >= 3.4:
48864 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48865 elif test "x${ICC_PCH}" = "x1" ; then
48866 filename=pch_gen-${D}${D}
48867 file=${D}{filename}.c
48868 dfile=${D}{filename}.d
48869 cat > ${D}file <<EOT
48870 #include "${D}header"
48872 # using -MF icc complains about differing command lines in creation/use
48873 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48874 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48875 rm -f ${D}file ${D}dfile ${D}{filename}.o
48881 chmod +x bk-make-pch
48882 BK_MAKE_PCH="`pwd`/bk-make-pch"
48891 COND_BUILD_DEBUG="#"
48892 if test "x$BUILD" = "xdebug" ; then
48893 COND_BUILD_DEBUG=""
48896 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48897 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48898 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48901 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48902 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48903 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48906 COND_BUILD_DEBUG_UNICODE_0="#"
48907 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48908 COND_BUILD_DEBUG_UNICODE_0=""
48911 COND_BUILD_DEBUG_UNICODE_1="#"
48912 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48913 COND_BUILD_DEBUG_UNICODE_1=""
48916 COND_BUILD_RELEASE="#"
48917 if test "x$BUILD" = "xrelease" ; then
48918 COND_BUILD_RELEASE=""
48921 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48922 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48923 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48926 COND_BUILD_RELEASE_UNICODE_0="#"
48927 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48928 COND_BUILD_RELEASE_UNICODE_0=""
48931 COND_BUILD_RELEASE_UNICODE_1="#"
48932 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48933 COND_BUILD_RELEASE_UNICODE_1=""
48936 COND_DEBUG_FLAG_1="#"
48937 if test "x$DEBUG_FLAG" = "x1" ; then
48938 COND_DEBUG_FLAG_1=""
48941 COND_DEBUG_INFO_0="#"
48942 if test "x$DEBUG_INFO" = "x0" ; then
48943 COND_DEBUG_INFO_0=""
48946 COND_DEBUG_INFO_1="#"
48947 if test "x$DEBUG_INFO" = "x1" ; then
48948 COND_DEBUG_INFO_1=""
48951 COND_DEPS_TRACKING_0="#"
48952 if test "x$DEPS_TRACKING" = "x0" ; then
48953 COND_DEPS_TRACKING_0=""
48956 COND_DEPS_TRACKING_1="#"
48957 if test "x$DEPS_TRACKING" = "x1" ; then
48958 COND_DEPS_TRACKING_1=""
48962 if test "x$GCC_PCH" = "x1" ; then
48967 if test "x$ICC_PCH" = "x1" ; then
48971 COND_MONOLITHIC_0="#"
48972 if test "x$MONOLITHIC" = "x0" ; then
48973 COND_MONOLITHIC_0=""
48976 COND_MONOLITHIC_0_SHARED_0="#"
48977 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48978 COND_MONOLITHIC_0_SHARED_0=""
48981 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48982 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48983 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48986 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48987 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48988 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48991 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48992 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48993 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48996 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48997 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48998 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49001 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49002 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49003 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49006 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49007 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49008 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49011 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49012 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49013 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49016 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49017 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49018 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49021 COND_MONOLITHIC_0_SHARED_1="#"
49022 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49023 COND_MONOLITHIC_0_SHARED_1=""
49026 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49027 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49028 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49031 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49032 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49033 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49036 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49037 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49038 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49041 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49042 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49043 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49046 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49047 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49048 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49051 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49052 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49053 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49056 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49057 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49058 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49061 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49062 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49063 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49066 COND_MONOLITHIC_0_USE_AUI_1="#"
49067 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49068 COND_MONOLITHIC_0_USE_AUI_1=""
49071 COND_MONOLITHIC_0_USE_GUI_1="#"
49072 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49073 COND_MONOLITHIC_0_USE_GUI_1=""
49076 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49077 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49078 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49081 COND_MONOLITHIC_0_USE_HTML_1="#"
49082 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49083 COND_MONOLITHIC_0_USE_HTML_1=""
49086 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49087 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49088 COND_MONOLITHIC_0_USE_MEDIA_1=""
49091 COND_MONOLITHIC_0_USE_QA_1="#"
49092 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49093 COND_MONOLITHIC_0_USE_QA_1=""
49096 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49097 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49098 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49101 COND_MONOLITHIC_0_USE_STC_1="#"
49102 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49103 COND_MONOLITHIC_0_USE_STC_1=""
49106 COND_MONOLITHIC_0_USE_XRC_1="#"
49107 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49108 COND_MONOLITHIC_0_USE_XRC_1=""
49111 COND_MONOLITHIC_1="#"
49112 if test "x$MONOLITHIC" = "x1" ; then
49113 COND_MONOLITHIC_1=""
49116 COND_MONOLITHIC_1_SHARED_0="#"
49117 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49118 COND_MONOLITHIC_1_SHARED_0=""
49121 COND_MONOLITHIC_1_SHARED_1="#"
49122 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49123 COND_MONOLITHIC_1_SHARED_1=""
49126 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49127 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49128 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49131 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49132 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49133 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49136 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49137 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49138 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49141 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49142 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49143 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49146 COND_PLATFORM_MACOSX_1="#"
49147 if test "x$PLATFORM_MACOSX" = "x1" ; then
49148 COND_PLATFORM_MACOSX_1=""
49151 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49152 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49153 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49156 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49157 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49158 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49161 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49162 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49163 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49166 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49167 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49168 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49171 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49172 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49173 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49176 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49177 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49178 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49181 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49182 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49183 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49186 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49187 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49188 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49191 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49192 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49193 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49196 COND_PLATFORM_MACOS_1="#"
49197 if test "x$PLATFORM_MACOS" = "x1" ; then
49198 COND_PLATFORM_MACOS_1=""
49201 COND_PLATFORM_MAC_0="#"
49202 if test "x$PLATFORM_MAC" = "x0" ; then
49203 COND_PLATFORM_MAC_0=""
49206 COND_PLATFORM_MAC_1="#"
49207 if test "x$PLATFORM_MAC" = "x1" ; then
49208 COND_PLATFORM_MAC_1=""
49211 COND_PLATFORM_MSDOS_0="#"
49212 if test "x$PLATFORM_MSDOS" = "x0" ; then
49213 COND_PLATFORM_MSDOS_0=""
49216 COND_PLATFORM_MSDOS_1="#"
49217 if test "x$PLATFORM_MSDOS" = "x1" ; then
49218 COND_PLATFORM_MSDOS_1=""
49221 COND_PLATFORM_OS2_1="#"
49222 if test "x$PLATFORM_OS2" = "x1" ; then
49223 COND_PLATFORM_OS2_1=""
49226 COND_PLATFORM_UNIX_0="#"
49227 if test "x$PLATFORM_UNIX" = "x0" ; then
49228 COND_PLATFORM_UNIX_0=""
49231 COND_PLATFORM_UNIX_1="#"
49232 if test "x$PLATFORM_UNIX" = "x1" ; then
49233 COND_PLATFORM_UNIX_1=""
49236 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49237 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49238 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49241 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49242 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49243 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49246 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49247 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49248 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49251 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49252 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49253 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49256 COND_PLATFORM_WIN32_0="#"
49257 if test "x$PLATFORM_WIN32" = "x0" ; then
49258 COND_PLATFORM_WIN32_0=""
49261 COND_PLATFORM_WIN32_1="#"
49262 if test "x$PLATFORM_WIN32" = "x1" ; then
49263 COND_PLATFORM_WIN32_1=""
49267 if test "x$SHARED" = "x0" ; then
49271 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49272 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49273 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49276 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49277 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49278 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49281 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49282 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49283 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49286 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49287 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49288 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49291 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49292 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49293 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49296 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49297 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49298 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49301 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49302 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49303 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49306 COND_SHARED_0_USE_STC_1="#"
49307 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49308 COND_SHARED_0_USE_STC_1=""
49311 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49312 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49313 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49316 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49317 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49318 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49321 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49322 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49323 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49327 if test "x$SHARED" = "x1" ; then
49331 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49332 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49333 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49337 if test "x$TOOLKIT" = "x" ; then
49341 COND_TOOLKIT_COCOA="#"
49342 if test "x$TOOLKIT" = "xCOCOA" ; then
49343 COND_TOOLKIT_COCOA=""
49346 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49347 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49348 COND_TOOLKIT_COCOA_USE_GUI_1=""
49351 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49352 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49353 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49356 COND_TOOLKIT_DFB="#"
49357 if test "x$TOOLKIT" = "xDFB" ; then
49358 COND_TOOLKIT_DFB=""
49361 COND_TOOLKIT_DFB_USE_GUI_1="#"
49362 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49363 COND_TOOLKIT_DFB_USE_GUI_1=""
49366 COND_TOOLKIT_GTK="#"
49367 if test "x$TOOLKIT" = "xGTK" ; then
49368 COND_TOOLKIT_GTK=""
49371 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49372 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49373 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49376 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49377 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49378 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49381 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49382 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49383 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49386 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49387 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49388 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49391 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49392 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49393 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49396 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49397 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49398 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49401 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49402 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49403 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49406 COND_TOOLKIT_GTK_USE_GUI_1="#"
49407 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49408 COND_TOOLKIT_GTK_USE_GUI_1=""
49411 COND_TOOLKIT_MAC="#"
49412 if test "x$TOOLKIT" = "xMAC" ; then
49413 COND_TOOLKIT_MAC=""
49416 COND_TOOLKIT_MAC_USE_GUI_1="#"
49417 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49418 COND_TOOLKIT_MAC_USE_GUI_1=""
49421 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49422 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49423 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49426 COND_TOOLKIT_MGL="#"
49427 if test "x$TOOLKIT" = "xMGL" ; then
49428 COND_TOOLKIT_MGL=""
49431 COND_TOOLKIT_MGL_USE_GUI_1="#"
49432 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49433 COND_TOOLKIT_MGL_USE_GUI_1=""
49436 COND_TOOLKIT_MOTIF="#"
49437 if test "x$TOOLKIT" = "xMOTIF" ; then
49438 COND_TOOLKIT_MOTIF=""
49441 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49442 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49443 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49446 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49447 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49448 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49451 COND_TOOLKIT_MSW="#"
49452 if test "x$TOOLKIT" = "xMSW" ; then
49453 COND_TOOLKIT_MSW=""
49456 COND_TOOLKIT_MSW_USE_GUI_1="#"
49457 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49458 COND_TOOLKIT_MSW_USE_GUI_1=""
49461 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49462 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49463 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49466 COND_TOOLKIT_MSW_WXUNIV_0="#"
49467 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49468 COND_TOOLKIT_MSW_WXUNIV_0=""
49471 COND_TOOLKIT_PM="#"
49472 if test "x$TOOLKIT" = "xPM" ; then
49476 COND_TOOLKIT_PM_USE_GUI_1="#"
49477 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49478 COND_TOOLKIT_PM_USE_GUI_1=""
49481 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49482 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49483 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49486 COND_TOOLKIT_WINCE="#"
49487 if test "x$TOOLKIT" = "xWINCE" ; then
49488 COND_TOOLKIT_WINCE=""
49491 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49492 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49493 COND_TOOLKIT_WINCE_USE_GUI_1=""
49496 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49497 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49498 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49501 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49502 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49503 COND_TOOLKIT_WINCE_WXUNIV_0=""
49506 COND_TOOLKIT_X11="#"
49507 if test "x$TOOLKIT" = "xX11" ; then
49508 COND_TOOLKIT_X11=""
49511 COND_TOOLKIT_X11_USE_GUI_1="#"
49512 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49513 COND_TOOLKIT_X11_USE_GUI_1=""
49517 if test "x$UNICODE" = "x1" ; then
49521 COND_USE_EXCEPTIONS_0="#"
49522 if test "x$USE_EXCEPTIONS" = "x0" ; then
49523 COND_USE_EXCEPTIONS_0=""
49526 COND_USE_EXCEPTIONS_1="#"
49527 if test "x$USE_EXCEPTIONS" = "x1" ; then
49528 COND_USE_EXCEPTIONS_1=""
49532 if test "x$USE_GUI" = "x0" ; then
49537 if test "x$USE_GUI" = "x1" ; then
49541 COND_USE_GUI_1_USE_OPENGL_1="#"
49542 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49543 COND_USE_GUI_1_USE_OPENGL_1=""
49546 COND_USE_GUI_1_WXUNIV_0="#"
49547 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49548 COND_USE_GUI_1_WXUNIV_0=""
49551 COND_USE_GUI_1_WXUNIV_1="#"
49552 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49553 COND_USE_GUI_1_WXUNIV_1=""
49556 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49557 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49558 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49561 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49562 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49563 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49566 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49567 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49568 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49571 COND_USE_OPENGL_1="#"
49572 if test "x$USE_OPENGL" = "x1" ; then
49573 COND_USE_OPENGL_1=""
49577 if test "x$USE_PCH" = "x1" ; then
49581 COND_USE_PLUGINS_0="#"
49582 if test "x$USE_PLUGINS" = "x0" ; then
49583 COND_USE_PLUGINS_0=""
49586 COND_USE_RTTI_0="#"
49587 if test "x$USE_RTTI" = "x0" ; then
49591 COND_USE_RTTI_1="#"
49592 if test "x$USE_RTTI" = "x1" ; then
49596 COND_USE_SOSYMLINKS_1="#"
49597 if test "x$USE_SOSYMLINKS" = "x1" ; then
49598 COND_USE_SOSYMLINKS_1=""
49601 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49602 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49603 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49606 COND_USE_SOVERLINUX_1="#"
49607 if test "x$USE_SOVERLINUX" = "x1" ; then
49608 COND_USE_SOVERLINUX_1=""
49611 COND_USE_SOVERSION_0="#"
49612 if test "x$USE_SOVERSION" = "x0" ; then
49613 COND_USE_SOVERSION_0=""
49616 COND_USE_SOVERSOLARIS_1="#"
49617 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49618 COND_USE_SOVERSOLARIS_1=""
49622 if test "x$USE_STC" = "x1" ; then
49626 COND_USE_THREADS_0="#"
49627 if test "x$USE_THREADS" = "x0" ; then
49628 COND_USE_THREADS_0=""
49631 COND_USE_THREADS_1="#"
49632 if test "x$USE_THREADS" = "x1" ; then
49633 COND_USE_THREADS_1=""
49637 if test "x$USE_XRC" = "x1" ; then
49641 COND_WINDOWS_IMPLIB_1="#"
49642 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49643 COND_WINDOWS_IMPLIB_1=""
49646 COND_WITH_PLUGIN_SDL_1="#"
49647 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49648 COND_WITH_PLUGIN_SDL_1=""
49652 if test "x$WXUNIV" = "x0" ; then
49657 if test "x$WXUNIV" = "x1" ; then
49661 COND_WXUSE_EXPAT_BUILTIN="#"
49662 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49663 COND_WXUSE_EXPAT_BUILTIN=""
49666 COND_WXUSE_LIBJPEG_BUILTIN="#"
49667 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49668 COND_WXUSE_LIBJPEG_BUILTIN=""
49671 COND_WXUSE_LIBPNG_BUILTIN="#"
49672 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49673 COND_WXUSE_LIBPNG_BUILTIN=""
49676 COND_WXUSE_LIBTIFF_BUILTIN="#"
49677 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49678 COND_WXUSE_LIBTIFF_BUILTIN=""
49681 COND_WXUSE_REGEX_BUILTIN="#"
49682 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49683 COND_WXUSE_REGEX_BUILTIN=""
49686 COND_WXUSE_ZLIB_BUILTIN="#"
49687 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49688 COND_WXUSE_ZLIB_BUILTIN=""
49693 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49694 { { 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
49695 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;}
49696 { (exit 1); exit 1; }; }
49699 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49700 { { 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
49701 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;}
49702 { (exit 1); exit 1; }; }
49709 ?:* ) # Drive letter, considered as absolute.
49712 INSTALL=`pwd`/${INSTALL} ;;
49715 if test "$wxUSE_GUI" = "yes"; then
49717 if test "$wxUSE_MSW" = 1 ; then
49718 if test "x$WINDRES" = "x"; then
49719 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49720 echo "$as_me: error: Required windres program not found" >&2;}
49721 { (exit 1); exit 1; }; }
49727 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49728 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49729 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49731 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49733 # Extract the first word of "DeRez", so it can be a program name with args.
49734 set dummy DeRez; ac_word=$2
49735 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49737 if test "${ac_cv_prog_DEREZ+set}" = set; then
49738 echo $ECHO_N "(cached) $ECHO_C" >&6
49740 if test -n "$DEREZ"; then
49741 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
49743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49744 for as_dir in $PATH
49747 test -z "$as_dir" && as_dir=.
49748 for ac_exec_ext in '' $ac_executable_extensions; do
49749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49750 ac_cv_prog_DEREZ="DeRez"
49751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49758 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
49761 DEREZ=$ac_cv_prog_DEREZ
49762 if test -n "$DEREZ"; then
49763 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49764 echo "${ECHO_T}$DEREZ" >&6; }
49766 { echo "$as_me:$LINENO: result: no" >&5
49767 echo "${ECHO_T}no" >&6; }
49772 MACSETFILE="\$(SETFILE)"
49774 if test "$wxUSE_MAC" = 1; then
49775 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49777 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
49779 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49780 RESCOMP="cat /dev/null \| $REZ"
49781 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49787 if test "$wxUSE_PM" = 1; then
49789 WXCONFIG_RESFLAGS="-ep"
49791 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
49793 POSTLINK_COMMAND="@true"
49800 if test $GCC_PCH = 1
49802 if test "$wx_cv_gcc_pch_bug" = yes; then
49803 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49804 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49805 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49806 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49807 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49808 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49811 # Our WX_PRECOMP flag does not make sense for any language except C++ because
49812 # the headers that benefit from precompilation are mostly C++ headers.
49813 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
49814 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
49815 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
49819 if test "$wxUSE_MAC" = 1 ; then
49820 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49821 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49827 if test "$wxUSE_SHARED" = "yes"; then
49829 *-pc-os2_emx | *-pc-os2-emx )
49830 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49831 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49832 cp -p ${srcdir}/src/os2/dllnames.sh .
49833 cp -p ${srcdir}/src/os2/dllar.sh .
49837 if test "$wxUSE_OMF" = "yes"; then
49839 *-pc-os2_emx | *-pc-os2-emx )
49840 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49841 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49842 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49847 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49852 if test "$GCC" = yes; then
49853 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
49854 LIBS=`echo $LIBS | sed 's/-mt//'`
49855 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49860 if test "x$SUNCXX" = xyes; then
49861 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
49862 LIBS=`echo $LIBS | sed 's/-pthread//'`
49863 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49868 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
49869 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49871 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49932 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49933 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49934 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49935 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49936 echo $ECHO_N "(cached) $ECHO_C" >&6
49938 cat >conftest.make <<\_ACEOF
49941 @echo '@@@%%%=$(MAKE)=@@@%%%'
49943 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49944 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49945 *@@@%%%=?*=@@@%%%*)
49946 eval ac_cv_prog_make_${ac_make}_set=yes;;
49948 eval ac_cv_prog_make_${ac_make}_set=no;;
49950 rm -f conftest.make
49952 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49953 { echo "$as_me:$LINENO: result: yes" >&5
49954 echo "${ECHO_T}yes" >&6; }
49957 { echo "$as_me:$LINENO: result: no" >&5
49958 echo "${ECHO_T}no" >&6; }
49959 SET_MAKE="MAKE=${MAKE-make}"
49964 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49967 if test "$USE_WIN32" = 1; then
49968 ac_config_commands="$ac_config_commands
49974 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49977 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49980 if test "$wx_cv_version_script" = "yes"; then
49981 ac_config_files="$ac_config_files version-script"
49984 ac_config_files="$ac_config_files Makefile"
49987 ac_config_commands="$ac_config_commands wx-config"
49991 if test "$wxWITH_SUBDIRS" != "no"; then
49992 if test "$wxUSE_GUI" = "yes"; then
49993 SUBDIRS="samples demos utils"
49995 SUBDIRS="samples utils"
50000 # Check whether --with-cppunit-prefix was given.
50001 if test "${with_cppunit_prefix+set}" = set; then
50002 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50004 cppunit_config_prefix=""
50008 # Check whether --with-cppunit-exec-prefix was given.
50009 if test "${with_cppunit_exec_prefix+set}" = set; then
50010 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50012 cppunit_config_exec_prefix=""
50016 if test x$cppunit_config_exec_prefix != x ; then
50017 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50018 if test x${CPPUNIT_CONFIG+set} != xset ; then
50019 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50022 if test x$cppunit_config_prefix != x ; then
50023 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50024 if test x${CPPUNIT_CONFIG+set} != xset ; then
50025 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50029 # Extract the first word of "cppunit-config", so it can be a program name with args.
50030 set dummy cppunit-config; ac_word=$2
50031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50033 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50034 echo $ECHO_N "(cached) $ECHO_C" >&6
50036 case $CPPUNIT_CONFIG in
50038 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50042 for as_dir in $PATH
50045 test -z "$as_dir" && as_dir=.
50046 for ac_exec_ext in '' $ac_executable_extensions; do
50047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50048 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50056 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50060 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50061 if test -n "$CPPUNIT_CONFIG"; then
50062 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50063 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50065 { echo "$as_me:$LINENO: result: no" >&5
50066 echo "${ECHO_T}no" >&6; }
50070 cppunit_version_min=1.8.0
50072 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50073 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50075 if test "$CPPUNIT_CONFIG" = "no" ; then
50076 { echo "$as_me:$LINENO: result: no" >&5
50077 echo "${ECHO_T}no" >&6; }
50080 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50081 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50082 cppunit_version=`$CPPUNIT_CONFIG --version`
50084 cppunit_major_version=`echo $cppunit_version | \
50085 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50086 cppunit_minor_version=`echo $cppunit_version | \
50087 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50088 cppunit_micro_version=`echo $cppunit_version | \
50089 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50091 cppunit_major_min=`echo $cppunit_version_min | \
50092 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50093 cppunit_minor_min=`echo $cppunit_version_min | \
50094 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50095 cppunit_micro_min=`echo $cppunit_version_min | \
50096 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50098 cppunit_version_proper=`expr \
50099 $cppunit_major_version \> $cppunit_major_min \| \
50100 $cppunit_major_version \= $cppunit_major_min \& \
50101 $cppunit_minor_version \> $cppunit_minor_min \| \
50102 $cppunit_major_version \= $cppunit_major_min \& \
50103 $cppunit_minor_version \= $cppunit_minor_min \& \
50104 $cppunit_micro_version \>= $cppunit_micro_min `
50106 if test "$cppunit_version_proper" = "1" ; then
50107 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50108 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50110 { echo "$as_me:$LINENO: result: no" >&5
50111 echo "${ECHO_T}no" >&6; }
50116 if test "x$no_cppunit" = x ; then
50117 SUBDIRS="$SUBDIRS tests"
50128 for subdir in $SUBDIRS; do
50129 if test -d ${srcdir}/${subdir} ; then
50130 if test "$wxUSE_GUI" = "yes"; then
50131 if test ${subdir} = "samples"; then
50132 makefiles="samples/Makefile.in $makefiles"
50133 for sample in $SAMPLES_SUBDIRS; do
50134 if test -d $srcdir/samples/$sample; then
50135 makefiles="samples/$sample/Makefile.in $makefiles"
50139 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
50140 eval "disabled=\$$disabled_var"
50141 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50142 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50145 if test ${subdir} = "samples"; then
50146 makefiles="samples/Makefile.in $makefiles"
50147 for sample in `echo $SAMPLES_SUBDIRS`; do
50148 if test -d $srcdir/samples/$sample; then
50149 makefiles="samples/$sample/Makefile.in $makefiles"
50152 elif test ${subdir} = "utils"; then
50154 for util in HelpGen tex2rtf ; do
50155 if test -d $srcdir/utils/$util ; then
50156 makefiles="utils/$util/Makefile.in \
50157 utils/$util/src/Makefile.in \
50162 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50166 for mkin in $makefiles ; do
50167 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50168 ac_config_files="$ac_config_files $mk"
50174 cat >confcache <<\_ACEOF
50175 # This file is a shell script that caches the results of configure
50176 # tests run on this system so they can be shared between configure
50177 # scripts and configure runs, see configure's option --config-cache.
50178 # It is not useful on other systems. If it contains results you don't
50179 # want to keep, you may remove or edit it.
50181 # config.status only pays attention to the cache file if you give it
50182 # the --recheck option to rerun configure.
50184 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50185 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50186 # following values.
50190 # The following way of writing the cache mishandles newlines in values,
50191 # but we know of no workaround that is simple, portable, and efficient.
50192 # So, we kill variables containing newlines.
50193 # Ultrix sh set writes to stderr and can't be redirected directly,
50194 # and sets the high bit in the cache file unless we assign to the vars.
50196 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50197 eval ac_val=\$$ac_var
50201 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50202 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50205 _ | IFS | as_nl) ;; #(
50206 *) $as_unset $ac_var ;;
50212 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50213 *${as_nl}ac_space=\ *)
50214 # `set' does not quote correctly, so add quotes (double-quote
50215 # substitution turns \\\\ into \\, and sed turns \\ into \).
50218 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50221 # `set' quotes correctly as required by POSIX, so do not add quotes.
50222 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50231 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50233 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50235 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50236 if test -w "$cache_file"; then
50237 test "x$cache_file" != "x/dev/null" &&
50238 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50239 echo "$as_me: updating cache $cache_file" >&6;}
50240 cat confcache >$cache_file
50242 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50243 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50248 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50249 # Let make expand exec_prefix.
50250 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50252 DEFS=-DHAVE_CONFIG_H
50256 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50257 # 1. Remove the extension, and $U if already installed.
50258 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50259 ac_i=`echo "$ac_i" | sed "$ac_script"`
50260 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50261 # will be set to the directory where LIBOBJS objects are built.
50262 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50263 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50265 LIBOBJS=$ac_libobjs
50267 LTLIBOBJS=$ac_ltlibobjs
50271 : ${CONFIG_STATUS=./config.status}
50272 ac_clean_files_save=$ac_clean_files
50273 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50274 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50275 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50276 cat >$CONFIG_STATUS <<_ACEOF
50278 # Generated by $as_me.
50279 # Run this file to recreate the current configuration.
50280 # Compiler output produced by configure, useful for debugging
50281 # configure, is in config.log if it exists.
50284 ac_cs_recheck=false
50286 SHELL=\${CONFIG_SHELL-$SHELL}
50289 cat >>$CONFIG_STATUS <<\_ACEOF
50290 ## --------------------- ##
50291 ## M4sh Initialization. ##
50292 ## --------------------- ##
50294 # Be more Bourne compatible
50295 DUALCASE=1; export DUALCASE # for MKS sh
50296 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50299 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50300 # is contrary to our usage. Disable this feature.
50301 alias -g '${1+"$@"}'='"$@"'
50302 setopt NO_GLOB_SUBST
50304 case `(set -o) 2>/dev/null` in
50305 *posix*) set -o posix ;;
50314 # Avoid depending upon Character Ranges.
50315 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50316 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50317 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50318 as_cr_digits='0123456789'
50319 as_cr_alnum=$as_cr_Letters$as_cr_digits
50321 # The user is always right.
50322 if test "${PATH_SEPARATOR+set}" != set; then
50323 echo "#! /bin/sh" >conf$$.sh
50324 echo "exit 0" >>conf$$.sh
50326 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50334 # Support unset when possible.
50335 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50343 # We need space, tab and new line, in precisely that order. Quoting is
50344 # there to prevent editors from complaining about space-tab.
50345 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50346 # splitting by setting IFS to empty value.)
50351 # Find who we are. Look in the path if we contain no directory separator.
50353 *[\\/]* ) as_myself=$0 ;;
50354 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50355 for as_dir in $PATH
50358 test -z "$as_dir" && as_dir=.
50359 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50365 # We did not find ourselves, most probably we were run as `sh COMMAND'
50366 # in which case we are not to be found in the path.
50367 if test "x$as_myself" = x; then
50370 if test ! -f "$as_myself"; then
50371 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50372 { (exit 1); exit 1; }
50375 # Work around bugs in pre-3.0 UWIN ksh.
50376 for as_var in ENV MAIL MAILPATH
50377 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50385 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50386 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50387 LC_TELEPHONE LC_TIME
50389 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50390 eval $as_var=C; export $as_var
50392 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50396 # Required to use basename.
50397 if expr a : '\(a\)' >/dev/null 2>&1 &&
50398 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50404 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50405 as_basename=basename
50411 # Name of the executable.
50412 as_me=`$as_basename -- "$0" ||
50413 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50414 X"$0" : 'X\(//\)$' \| \
50415 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50417 sed '/^.*\/\([^/][^/]*\)\/*$/{
50436 as_lineno_1=$LINENO
50437 as_lineno_2=$LINENO
50438 test "x$as_lineno_1" != "x$as_lineno_2" &&
50439 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50441 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50442 # uniformly replaced by the line number. The first 'sed' inserts a
50443 # line-number line after each line using $LINENO; the second 'sed'
50444 # does the real work. The second script uses 'N' to pair each
50445 # line-number line with the line containing $LINENO, and appends
50446 # trailing '-' during substitution so that $LINENO is not a special
50447 # case at line end.
50448 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50449 # scripts with optimization help from Paolo Bonzini. Blame Lee
50450 # E. McMahon (1931-1989) for sed's syntax. :-)
50462 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50465 ' >$as_me.lineno &&
50466 chmod +x "$as_me.lineno" ||
50467 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50468 { (exit 1); exit 1; }; }
50470 # Don't try to exec as it changes $[0], causing all sort of problems
50471 # (the dirname of $[0] is not the place where we might find the
50472 # original and so on. Autoconf is especially sensitive to this).
50473 . "./$as_me.lineno"
50474 # Exit status is that of the last command.
50479 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
50485 ECHO_C= ECHO_N= ECHO_T=
50486 case `echo -n x` in
50488 case `echo 'x\c'` in
50489 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
50496 if expr a : '\(a\)' >/dev/null 2>&1 &&
50497 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50503 rm -f conf$$ conf$$.exe conf$$.file
50504 if test -d conf$$.dir; then
50505 rm -f conf$$.dir/conf$$.file
50511 if ln -s conf$$.file conf$$ 2>/dev/null; then
50513 # ... but there are two gotchas:
50514 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50515 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50516 # In both cases, we have to default to `cp -p'.
50517 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50519 elif ln conf$$.file conf$$ 2>/dev/null; then
50524 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50525 rmdir conf$$.dir 2>/dev/null
50527 if mkdir -p . 2>/dev/null; then
50530 test -d ./-p && rmdir ./-p
50534 if test -x / >/dev/null 2>&1; then
50535 as_test_x='test -x'
50537 if ls -dL / >/dev/null 2>&1; then
50544 if test -d "$1"; then
50550 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50551 ???[sx]*):;;*)false;;esac;fi
50555 as_executable_p=$as_test_x
50557 # Sed expression to map a string onto a valid CPP name.
50558 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50560 # Sed expression to map a string onto a valid variable name.
50561 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50566 # Save the log message, to keep $[0] and so on meaningful, and to
50567 # report actual input values of CONFIG_FILES etc. instead of their
50568 # values after options handling.
50570 This file was extended by wxWidgets $as_me 2.9.0, which was
50571 generated by GNU Autoconf 2.61. Invocation command line was
50573 CONFIG_FILES = $CONFIG_FILES
50574 CONFIG_HEADERS = $CONFIG_HEADERS
50575 CONFIG_LINKS = $CONFIG_LINKS
50576 CONFIG_COMMANDS = $CONFIG_COMMANDS
50579 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50584 cat >>$CONFIG_STATUS <<_ACEOF
50585 # Files that config.status was made for.
50586 config_files="$ac_config_files"
50587 config_headers="$ac_config_headers"
50588 config_commands="$ac_config_commands"
50592 cat >>$CONFIG_STATUS <<\_ACEOF
50594 \`$as_me' instantiates files from templates according to the
50595 current configuration.
50597 Usage: $0 [OPTIONS] [FILE]...
50599 -h, --help print this help, then exit
50600 -V, --version print version number and configuration settings, then exit
50601 -q, --quiet do not print progress messages
50602 -d, --debug don't remove temporary files
50603 --recheck update $as_me by reconfiguring in the same conditions
50604 --file=FILE[:TEMPLATE]
50605 instantiate the configuration file FILE
50606 --header=FILE[:TEMPLATE]
50607 instantiate the configuration header FILE
50609 Configuration files:
50612 Configuration headers:
50615 Configuration commands:
50618 Report bugs to <bug-autoconf@gnu.org>."
50621 cat >>$CONFIG_STATUS <<_ACEOF
50623 wxWidgets config.status 2.9.0
50624 configured by $0, generated by GNU Autoconf 2.61,
50625 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50627 Copyright (C) 2006 Free Software Foundation, Inc.
50628 This config.status script is free software; the Free Software Foundation
50629 gives unlimited permission to copy, distribute and modify it."
50636 cat >>$CONFIG_STATUS <<\_ACEOF
50637 # If no file are specified by the user, then we need to provide default
50638 # value. By we need to know if files were specified by the user.
50644 ac_option=`expr "X$1" : 'X\([^=]*\)='`
50645 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
50656 # Handling of the options.
50657 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50659 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50660 echo "$ac_cs_version"; exit ;;
50661 --debug | --debu | --deb | --de | --d | -d )
50663 --file | --fil | --fi | --f )
50665 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50666 ac_need_defaults=false;;
50667 --header | --heade | --head | --hea )
50669 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50670 ac_need_defaults=false;;
50672 # Conflict between --help and --header
50673 { echo "$as_me: error: ambiguous option: $1
50674 Try \`$0 --help' for more information." >&2
50675 { (exit 1); exit 1; }; };;
50676 --help | --hel | -h )
50677 echo "$ac_cs_usage"; exit ;;
50678 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50679 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50682 # This is an error.
50683 -*) { echo "$as_me: error: unrecognized option: $1
50684 Try \`$0 --help' for more information." >&2
50685 { (exit 1); exit 1; }; } ;;
50687 *) ac_config_targets="$ac_config_targets $1"
50688 ac_need_defaults=false ;;
50694 ac_configure_extra_args=
50696 if $ac_cs_silent; then
50698 ac_configure_extra_args="$ac_configure_extra_args --silent"
50702 cat >>$CONFIG_STATUS <<_ACEOF
50703 if \$ac_cs_recheck; then
50704 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50705 CONFIG_SHELL=$SHELL
50706 export CONFIG_SHELL
50707 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50711 cat >>$CONFIG_STATUS <<\_ACEOF
50715 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50716 ## Running $as_me. ##
50722 cat >>$CONFIG_STATUS <<_ACEOF
50728 infile="$srcdir/include/wx/msw/genrcdefs.h"
50729 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50732 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50733 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50734 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50740 cat >>$CONFIG_STATUS <<\_ACEOF
50742 # Handling of arguments.
50743 for ac_config_target in $ac_config_targets
50745 case $ac_config_target in
50746 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50747 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50748 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50749 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50750 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
50751 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50752 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50753 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
50755 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50756 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50757 { (exit 1); exit 1; }; };;
50762 # If the user did not use the arguments to specify the items to instantiate,
50763 # then the envvar interface is used. Set only those that are not.
50764 # We use the long form for the default assignment because of an extremely
50765 # bizarre bug on SunOS 4.1.3.
50766 if $ac_need_defaults; then
50767 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50768 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50769 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50772 # Have a temporary directory for convenience. Make it in the build tree
50773 # simply because there is no reason against having it here, and in addition,
50774 # creating and moving files from /tmp can sometimes cause problems.
50775 # Hook for its removal unless debugging.
50776 # Note that there is a small window in which the directory will not be cleaned:
50777 # after its creation but before its name has been assigned to `$tmp'.
50781 trap 'exit_status=$?
50782 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50784 trap '{ (exit 1); exit 1; }' 1 2 13 15
50786 # Create a (secure) tmp directory for tmp files.
50789 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50790 test -n "$tmp" && test -d "$tmp"
50793 tmp=./conf$$-$RANDOM
50794 (umask 077 && mkdir "$tmp")
50797 echo "$me: cannot create a temporary directory in ." >&2
50798 { (exit 1); exit 1; }
50802 # Set up the sed scripts for CONFIG_FILES section.
50805 # No need to generate the scripts if there are no CONFIG_FILES.
50806 # This happens for instance when ./config.status config.h
50807 if test -n "$CONFIG_FILES"; then
50814 for ac_last_try in false false false false false :; do
50815 cat >conf$$subs.sed <<_ACEOF
50816 SHELL!$SHELL$ac_delim
50817 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50818 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50819 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50820 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50821 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50822 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50823 exec_prefix!$exec_prefix$ac_delim
50824 prefix!$prefix$ac_delim
50825 program_transform_name!$program_transform_name$ac_delim
50826 bindir!$bindir$ac_delim
50827 sbindir!$sbindir$ac_delim
50828 libexecdir!$libexecdir$ac_delim
50829 datarootdir!$datarootdir$ac_delim
50830 datadir!$datadir$ac_delim
50831 sysconfdir!$sysconfdir$ac_delim
50832 sharedstatedir!$sharedstatedir$ac_delim
50833 localstatedir!$localstatedir$ac_delim
50834 includedir!$includedir$ac_delim
50835 oldincludedir!$oldincludedir$ac_delim
50836 docdir!$docdir$ac_delim
50837 infodir!$infodir$ac_delim
50838 htmldir!$htmldir$ac_delim
50839 dvidir!$dvidir$ac_delim
50840 pdfdir!$pdfdir$ac_delim
50841 psdir!$psdir$ac_delim
50842 libdir!$libdir$ac_delim
50843 localedir!$localedir$ac_delim
50844 mandir!$mandir$ac_delim
50845 DEFS!$DEFS$ac_delim
50846 ECHO_C!$ECHO_C$ac_delim
50847 ECHO_N!$ECHO_N$ac_delim
50848 ECHO_T!$ECHO_T$ac_delim
50849 LIBS!$LIBS$ac_delim
50850 build_alias!$build_alias$ac_delim
50851 host_alias!$host_alias$ac_delim
50852 target_alias!$target_alias$ac_delim
50853 build!$build$ac_delim
50854 build_cpu!$build_cpu$ac_delim
50855 build_vendor!$build_vendor$ac_delim
50856 build_os!$build_os$ac_delim
50857 host!$host$ac_delim
50858 host_cpu!$host_cpu$ac_delim
50859 host_vendor!$host_vendor$ac_delim
50860 host_os!$host_os$ac_delim
50861 target!$target$ac_delim
50862 target_cpu!$target_cpu$ac_delim
50863 target_vendor!$target_vendor$ac_delim
50864 target_os!$target_os$ac_delim
50865 wx_top_builddir!$wx_top_builddir$ac_delim
50867 CFLAGS!$CFLAGS$ac_delim
50868 LDFLAGS!$LDFLAGS$ac_delim
50869 CPPFLAGS!$CPPFLAGS$ac_delim
50870 ac_ct_CC!$ac_ct_CC$ac_delim
50871 EXEEXT!$EXEEXT$ac_delim
50872 OBJEXT!$OBJEXT$ac_delim
50874 GREP!$GREP$ac_delim
50875 EGREP!$EGREP$ac_delim
50877 CXXFLAGS!$CXXFLAGS$ac_delim
50878 ac_ct_CXX!$ac_ct_CXX$ac_delim
50880 subdirs!$subdirs$ac_delim
50881 PKG_CONFIG!$PKG_CONFIG$ac_delim
50882 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50883 GTK_LIBS!$GTK_LIBS$ac_delim
50884 GTK_CONFIG!$GTK_CONFIG$ac_delim
50885 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50886 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50887 XMKMF!$XMKMF$ac_delim
50888 X_CFLAGS!$X_CFLAGS$ac_delim
50889 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50890 X_LIBS!$X_LIBS$ac_delim
50891 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50892 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50893 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50894 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50895 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50896 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50897 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50898 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50899 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50900 LIBICONV!$LIBICONV$ac_delim
50901 SDL_CONFIG!$SDL_CONFIG$ac_delim
50902 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50903 SDL_LIBS!$SDL_LIBS$ac_delim
50904 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50905 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50906 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50907 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50908 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50909 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50910 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50911 HILDON_LIBS!$HILDON_LIBS$ac_delim
50912 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50915 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50917 elif $ac_last_try; then
50918 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50919 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50920 { (exit 1); exit 1; }; }
50922 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50926 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50927 if test -n "$ac_eof"; then
50928 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50929 ac_eof=`expr $ac_eof + 1`
50932 cat >>$CONFIG_STATUS <<_ACEOF
50933 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50934 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50937 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50938 s/^/s,@/; s/!/@,|#_!!_#|/
50941 s/'"$ac_delim"'$/,g/; t
50943 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50944 ' >>$CONFIG_STATUS <conf$$subs.sed
50945 rm -f conf$$subs.sed
50946 cat >>$CONFIG_STATUS <<_ACEOF
50952 for ac_last_try in false false false false false :; do
50953 cat >conf$$subs.sed <<_ACEOF
50954 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50955 GST_CFLAGS!$GST_CFLAGS$ac_delim
50956 GST_LIBS!$GST_LIBS$ac_delim
50957 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50958 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50959 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50960 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50961 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50962 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50963 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50964 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50965 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50966 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50967 VENDOR!$VENDOR$ac_delim
50968 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50969 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50970 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50971 WXUNIV!$WXUNIV$ac_delim
50972 MONOLITHIC!$MONOLITHIC$ac_delim
50973 USE_PLUGINS!$USE_PLUGINS$ac_delim
50974 CXXWARNINGS!$CXXWARNINGS$ac_delim
50975 EXTRALIBS!$EXTRALIBS$ac_delim
50976 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50977 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50978 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
50979 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50980 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50981 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50982 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
50983 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50984 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50985 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50986 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50987 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50988 UNICODE!$UNICODE$ac_delim
50989 BUILD!$BUILD$ac_delim
50990 DEBUG_INFO!$DEBUG_INFO$ac_delim
50991 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50992 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50993 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50994 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50995 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50996 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50997 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50998 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50999 RANLIB!$RANLIB$ac_delim
51000 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51001 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51002 INSTALL_DATA!$INSTALL_DATA$ac_delim
51003 LN_S!$LN_S$ac_delim
51004 SET_MAKE!$SET_MAKE$ac_delim
51005 MAKE_SET!$MAKE_SET$ac_delim
51006 AROPTIONS!$AROPTIONS$ac_delim
51007 STRIP!$STRIP$ac_delim
51009 INSTALL_DIR!$INSTALL_DIR$ac_delim
51010 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51011 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51012 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51013 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51014 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51015 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51016 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51017 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51018 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51019 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51020 SO_SUFFIX!$SO_SUFFIX$ac_delim
51021 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51022 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51023 LIBPREFIX!$LIBPREFIX$ac_delim
51024 LIBEXT!$LIBEXT$ac_delim
51025 DLLPREFIX!$DLLPREFIX$ac_delim
51026 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51027 dlldir!$dlldir$ac_delim
51028 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51029 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51030 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51031 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51032 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51033 PIC_FLAG!$PIC_FLAG$ac_delim
51034 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51035 USE_SOVERSION!$USE_SOVERSION$ac_delim
51036 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51037 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51038 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51039 USE_MACVERSION!$USE_MACVERSION$ac_delim
51040 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51041 SONAME_FLAG!$SONAME_FLAG$ac_delim
51042 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51043 BK_DEPS!$BK_DEPS$ac_delim
51044 WINDRES!$WINDRES$ac_delim
51046 SETFILE!$SETFILE$ac_delim
51047 GCC_PCH!$GCC_PCH$ac_delim
51048 ICC_PCH!$ICC_PCH$ac_delim
51049 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51050 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51053 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51055 elif $ac_last_try; then
51056 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51057 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51058 { (exit 1); exit 1; }; }
51060 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51064 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51065 if test -n "$ac_eof"; then
51066 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51067 ac_eof=`expr $ac_eof + 1`
51070 cat >>$CONFIG_STATUS <<_ACEOF
51071 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51072 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51075 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51076 s/^/s,@/; s/!/@,|#_!!_#|/
51079 s/'"$ac_delim"'$/,g/; t
51081 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51082 ' >>$CONFIG_STATUS <conf$$subs.sed
51083 rm -f conf$$subs.sed
51084 cat >>$CONFIG_STATUS <<_ACEOF
51090 for ac_last_try in false false false false false :; do
51091 cat >conf$$subs.sed <<_ACEOF
51092 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51093 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51094 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51095 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51096 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51097 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51098 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51099 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51100 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51101 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51102 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51103 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51104 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51105 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51106 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51107 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51108 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51109 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51110 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51111 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51112 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51113 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51114 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51115 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51116 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51117 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51118 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51119 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51120 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51121 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51122 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51123 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51124 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51125 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51126 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51127 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51128 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51129 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51130 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51131 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51132 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51133 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51134 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51135 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51136 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51137 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51138 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51139 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51140 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51141 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51142 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51143 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
51144 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
51145 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
51146 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
51147 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
51148 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
51149 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
51150 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51151 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51152 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51153 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
51154 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51155 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51156 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51157 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51158 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51159 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51160 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51161 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51162 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51163 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51164 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51165 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51166 COND_SHARED_0!$COND_SHARED_0$ac_delim
51167 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51168 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51169 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51170 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51171 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51172 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51173 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51174 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51175 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51176 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51177 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51178 COND_SHARED_1!$COND_SHARED_1$ac_delim
51179 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51180 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51181 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51182 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51183 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51184 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51185 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51186 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51187 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51188 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51191 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51193 elif $ac_last_try; then
51194 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51195 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51196 { (exit 1); exit 1; }; }
51198 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51202 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51203 if test -n "$ac_eof"; then
51204 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51205 ac_eof=`expr $ac_eof + 1`
51208 cat >>$CONFIG_STATUS <<_ACEOF
51209 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51210 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51213 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51214 s/^/s,@/; s/!/@,|#_!!_#|/
51217 s/'"$ac_delim"'$/,g/; t
51219 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51220 ' >>$CONFIG_STATUS <conf$$subs.sed
51221 rm -f conf$$subs.sed
51222 cat >>$CONFIG_STATUS <<_ACEOF
51228 for ac_last_try in false false false false false :; do
51229 cat >conf$$subs.sed <<_ACEOF
51230 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51231 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51232 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51233 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51234 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51235 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51236 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51237 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51238 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51239 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51240 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51241 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51242 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51243 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51244 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51245 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51246 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51247 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51248 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51249 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51250 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51251 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51252 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51253 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51254 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51255 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51256 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51257 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51258 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51259 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51260 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51261 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51262 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51263 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51264 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51265 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51266 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51267 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51268 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51269 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51270 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51271 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51272 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51273 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51274 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51275 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51276 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51277 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51278 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51279 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51280 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51281 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51282 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51283 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51284 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51285 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51286 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51287 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51288 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51289 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51290 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51291 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51292 DEREZ!$DEREZ$ac_delim
51293 SHARED!$SHARED$ac_delim
51294 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51295 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51296 USE_GUI!$USE_GUI$ac_delim
51297 AFMINSTALL!$AFMINSTALL$ac_delim
51298 WIN32INSTALL!$WIN32INSTALL$ac_delim
51299 TOOLKIT!$TOOLKIT$ac_delim
51300 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51301 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51302 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51303 cross_compiling!$cross_compiling$ac_delim
51304 WIDGET_SET!$WIDGET_SET$ac_delim
51305 WX_RELEASE!$WX_RELEASE$ac_delim
51306 WX_VERSION!$WX_VERSION$ac_delim
51307 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51308 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51309 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51310 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51311 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51312 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51313 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51314 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51315 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51316 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51317 GUIDIST!$GUIDIST$ac_delim
51318 DISTDIR!$DISTDIR$ac_delim
51319 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51320 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51321 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51322 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51323 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51324 RESCOMP!$RESCOMP$ac_delim
51325 RESFLAGS!$RESFLAGS$ac_delim
51326 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51329 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51331 elif $ac_last_try; then
51332 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51333 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51334 { (exit 1); exit 1; }; }
51336 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51340 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51341 if test -n "$ac_eof"; then
51342 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51343 ac_eof=`expr $ac_eof + 1`
51346 cat >>$CONFIG_STATUS <<_ACEOF
51347 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51348 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51351 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51352 s/^/s,@/; s/!/@,|#_!!_#|/
51355 s/'"$ac_delim"'$/,g/; t
51357 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51358 ' >>$CONFIG_STATUS <conf$$subs.sed
51359 rm -f conf$$subs.sed
51360 cat >>$CONFIG_STATUS <<_ACEOF
51366 for ac_last_try in false false false false false :; do
51367 cat >conf$$subs.sed <<_ACEOF
51368 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51369 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51370 LIBWXMACRES!$LIBWXMACRES$ac_delim
51371 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51372 MACSETFILE!$MACSETFILE$ac_delim
51374 DLLTOOL!$DLLTOOL$ac_delim
51375 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51376 LIBOBJS!$LIBOBJS$ac_delim
51377 LTLIBOBJS!$LTLIBOBJS$ac_delim
51380 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
51382 elif $ac_last_try; then
51383 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51384 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51385 { (exit 1); exit 1; }; }
51387 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51391 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51392 if test -n "$ac_eof"; then
51393 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51394 ac_eof=`expr $ac_eof + 1`
51397 cat >>$CONFIG_STATUS <<_ACEOF
51398 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51399 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51402 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51403 s/^/s,@/; s/!/@,|#_!!_#|/
51406 s/'"$ac_delim"'$/,g/; t
51408 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51409 ' >>$CONFIG_STATUS <conf$$subs.sed
51410 rm -f conf$$subs.sed
51411 cat >>$CONFIG_STATUS <<_ACEOF
51418 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51419 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51420 # trailing colons and then remove the whole line if VPATH becomes empty
51421 # (actually we leave an empty line to preserve line numbers).
51422 if test "x$srcdir" = x.; then
51423 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51424 s/:*\$(srcdir):*/:/
51425 s/:*\${srcdir}:*/:/
51427 s/^\([^=]*=[ ]*\):*/\1/
51433 cat >>$CONFIG_STATUS <<\_ACEOF
51434 fi # test -n "$CONFIG_FILES"
51437 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51440 :[FHLC]) ac_mode=$ac_tag; continue;;
51442 case $ac_mode$ac_tag in
51444 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51445 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51446 { (exit 1); exit 1; }; };;
51447 :[FH]-) ac_tag=-:-;;
51448 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
51465 -) ac_f="$tmp/stdin";;
51466 *) # Look for the file first in the build tree, then in the source tree
51467 # (if the path is not absolute). The absolute path cannot be DOS-style,
51468 # because $ac_f cannot contain `:'.
51472 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
51474 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51475 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51476 { (exit 1); exit 1; }; };;
51478 ac_file_inputs="$ac_file_inputs $ac_f"
51481 # Let's still pretend it is `configure' which instantiates (i.e., don't
51482 # use $as_me), people would be surprised to read:
51483 # /* config.h. Generated by config.status. */
51484 configure_input="Generated from "`IFS=:
51485 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51486 if test x"$ac_file" != x-; then
51487 configure_input="$ac_file. $configure_input"
51488 { echo "$as_me:$LINENO: creating $ac_file" >&5
51489 echo "$as_me: creating $ac_file" >&6;}
51493 *:-:* | *:-) cat >"$tmp/stdin";;
51498 ac_dir=`$as_dirname -- "$ac_file" ||
51499 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51500 X"$ac_file" : 'X\(//\)[^/]' \| \
51501 X"$ac_file" : 'X\(//\)$' \| \
51502 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51504 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51508 /^X\(\/\/\)[^/].*/{
51523 -*) as_dir=./$as_dir;;
51525 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51529 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51530 *) as_qdir=$as_dir;;
51532 as_dirs="'$as_qdir' $as_dirs"
51533 as_dir=`$as_dirname -- "$as_dir" ||
51534 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51535 X"$as_dir" : 'X\(//\)[^/]' \| \
51536 X"$as_dir" : 'X\(//\)$' \| \
51537 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51539 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51543 /^X\(\/\/\)[^/].*/{
51556 test -d "$as_dir" && break
51558 test -z "$as_dirs" || eval "mkdir $as_dirs"
51559 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51560 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51561 { (exit 1); exit 1; }; }; }
51565 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51567 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51568 # A ".." for each directory in $ac_dir_suffix.
51569 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51570 case $ac_top_builddir_sub in
51571 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51572 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51575 ac_abs_top_builddir=$ac_pwd
51576 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51577 # for backward compatibility:
51578 ac_top_builddir=$ac_top_build_prefix
51581 .) # We are building in place.
51583 ac_top_srcdir=$ac_top_builddir_sub
51584 ac_abs_top_srcdir=$ac_pwd ;;
51585 [\\/]* | ?:[\\/]* ) # Absolute name.
51586 ac_srcdir=$srcdir$ac_dir_suffix;
51587 ac_top_srcdir=$srcdir
51588 ac_abs_top_srcdir=$srcdir ;;
51589 *) # Relative name.
51590 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51591 ac_top_srcdir=$ac_top_build_prefix$srcdir
51592 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51594 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51604 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51605 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
51609 cat >>$CONFIG_STATUS <<\_ACEOF
51610 # If the template does not know about datarootdir, expand it.
51611 # FIXME: This hack should be removed a few years after 2.60.
51612 ac_datarootdir_hack=; ac_datarootdir_seen=
51614 case `sed -n '/datarootdir/ {
51623 ' $ac_file_inputs` in
51624 *datarootdir*) ac_datarootdir_seen=yes;;
51625 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
51626 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51627 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51629 cat >>$CONFIG_STATUS <<_ACEOF
51630 ac_datarootdir_hack='
51631 s&@datadir@&$datadir&g
51632 s&@docdir@&$docdir&g
51633 s&@infodir@&$infodir&g
51634 s&@localedir@&$localedir&g
51635 s&@mandir@&$mandir&g
51636 s&\\\${datarootdir}&$datarootdir&g' ;;
51640 # Neutralize VPATH when `$srcdir' = `.'.
51641 # Shell code in configure.ac might set extrasub.
51642 # FIXME: do we really want to maintain this feature?
51643 cat >>$CONFIG_STATUS <<_ACEOF
51647 cat >>$CONFIG_STATUS <<\_ACEOF
51649 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51650 s&@configure_input@&$configure_input&;t t
51651 s&@top_builddir@&$ac_top_builddir_sub&;t t
51652 s&@srcdir@&$ac_srcdir&;t t
51653 s&@abs_srcdir@&$ac_abs_srcdir&;t t
51654 s&@top_srcdir@&$ac_top_srcdir&;t t
51655 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
51656 s&@builddir@&$ac_builddir&;t t
51657 s&@abs_builddir@&$ac_abs_builddir&;t t
51658 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
51659 s&@INSTALL@&$ac_INSTALL&;t t
51660 $ac_datarootdir_hack
51661 " $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
51663 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51664 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
51665 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
51666 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51667 which seems to be undefined. Please make sure it is defined." >&5
51668 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51669 which seems to be undefined. Please make sure it is defined." >&2;}
51673 -) cat "$tmp/out"; rm -f "$tmp/out";;
51674 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51683 # Transform confdefs.h into a sed script `conftest.defines', that
51684 # substitutes the proper values into config.h.in to produce config.h.
51685 rm -f conftest.defines conftest.tail
51686 # First, append a space to every undef/define line, to ease matching.
51687 echo 's/$/ /' >conftest.defines
51688 # Then, protect against being on the right side of a sed subst, or in
51689 # an unquoted here document, in config.status. If some macros were
51690 # called several times there might be several #defines for the same
51691 # symbol, which is useless. But do not sort them, since the last
51692 # AC_DEFINE must be honored.
51693 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
51694 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51695 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51696 # PARAMS is the parameter list in the macro definition--in most cases, it's
51697 # just an empty string.
51698 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51699 ac_dB='\\)[ (].*,\\1define\\2'
51707 s/^[ ]*#[ ]*define[ ][ ]*//
51712 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51713 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51714 ' >>conftest.defines
51716 # Remove the space that was appended to ease matching.
51717 # Then replace #undef with comments. This is necessary, for
51718 # example, in the case of _POSIX_SOURCE, which is predefined and required
51719 # on some systems where configure will not decide to define it.
51720 # (The regexp can be short, since the line contains either #define or #undef.)
51722 s,^[ #]*u.*,/* & */,' >>conftest.defines
51724 # Break up conftest.defines:
51725 ac_max_sed_lines=50
51727 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51728 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51729 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51731 ac_in='$ac_file_inputs'
51732 ac_out='"$tmp/out1"'
51733 ac_nxt='"$tmp/out2"'
51737 # Write a here document:
51738 cat >>$CONFIG_STATUS <<_ACEOF
51739 # First, check the format of the line:
51740 cat >"\$tmp/defines.sed" <<\\CEOF
51741 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51742 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51746 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
51748 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51749 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
51750 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
51751 grep . conftest.tail >/dev/null || break
51752 rm -f conftest.defines
51753 mv conftest.tail conftest.defines
51755 rm -f conftest.defines conftest.tail
51757 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51758 cat >>$CONFIG_STATUS <<\_ACEOF
51759 if test x"$ac_file" != x-; then
51760 echo "/* $configure_input */" >"$tmp/config.h"
51761 cat "$ac_result" >>"$tmp/config.h"
51762 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
51763 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51764 echo "$as_me: $ac_file is unchanged" >&6;}
51767 mv "$tmp/config.h" $ac_file
51770 echo "/* $configure_input */"
51776 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51777 echo "$as_me: executing $ac_file commands" >&6;}
51782 case $ac_file$ac_mode in
51784 mkdir -p $outdir &&
51785 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51787 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51788 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51789 "wx-config":C) rm -f wx-config
51790 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51797 { (exit 0); exit 0; }
51799 chmod +x $CONFIG_STATUS
51800 ac_clean_files=$ac_clean_files_save
51803 # configure is writing to config.log, and then calls config.status.
51804 # config.status does its own redirection, appending to config.log.
51805 # Unfortunately, on DOS this fails, as config.log is still kept open
51806 # by configure, so config.status won't be able to write to it; its
51807 # output is simply discarded. So we exec the FD to /dev/null,
51808 # effectively closing config.log, so it can be properly (re)opened and
51809 # appended to by config.status. When coming back to configure, we
51810 # need to make the FD available again.
51811 if test "$no_create" != yes; then
51813 ac_config_status_args=
51814 test "$silent" = yes &&
51815 ac_config_status_args="$ac_config_status_args --quiet"
51817 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51819 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51820 # would make configure fail if this is the last instruction.
51821 $ac_cs_success || { (exit 1); exit 1; }
51825 # CONFIG_SUBDIRS section.
51827 if test "$no_recursion" != yes; then
51829 # Remove --cache-file and --srcdir arguments so they do not pile up.
51830 ac_sub_configure_args=
51832 eval "set x $ac_configure_args"
51836 if test -n "$ac_prev"; then
51841 -cache-file | --cache-file | --cache-fil | --cache-fi \
51842 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51843 ac_prev=cache_file ;;
51844 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51845 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51848 --config-cache | -C)
51850 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51852 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51854 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51856 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51860 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51862 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51866 # Always prepend --prefix to ensure using the same prefix
51867 # in subdir configurations.
51868 ac_arg="--prefix=$prefix"
51870 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51872 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51875 if test "$silent" = yes; then
51876 ac_sub_configure_args="--silent $ac_sub_configure_args"
51880 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51882 # Do not complain, so a configure script can configure whichever
51883 # parts of a large source tree are present.
51884 test -d "$srcdir/$ac_dir" || continue
51886 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51887 echo "$as_me:$LINENO: $ac_msg" >&5
51891 -*) as_dir=./$as_dir;;
51893 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51897 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51898 *) as_qdir=$as_dir;;
51900 as_dirs="'$as_qdir' $as_dirs"
51901 as_dir=`$as_dirname -- "$as_dir" ||
51902 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51903 X"$as_dir" : 'X\(//\)[^/]' \| \
51904 X"$as_dir" : 'X\(//\)$' \| \
51905 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51911 /^X\(\/\/\)[^/].*/{
51924 test -d "$as_dir" && break
51926 test -z "$as_dirs" || eval "mkdir $as_dirs"
51927 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51928 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51929 { (exit 1); exit 1; }; }; }
51933 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51935 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51936 # A ".." for each directory in $ac_dir_suffix.
51937 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51938 case $ac_top_builddir_sub in
51939 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51940 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51943 ac_abs_top_builddir=$ac_pwd
51944 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51945 # for backward compatibility:
51946 ac_top_builddir=$ac_top_build_prefix
51949 .) # We are building in place.
51951 ac_top_srcdir=$ac_top_builddir_sub
51952 ac_abs_top_srcdir=$ac_pwd ;;
51953 [\\/]* | ?:[\\/]* ) # Absolute name.
51954 ac_srcdir=$srcdir$ac_dir_suffix;
51955 ac_top_srcdir=$srcdir
51956 ac_abs_top_srcdir=$srcdir ;;
51957 *) # Relative name.
51958 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51959 ac_top_srcdir=$ac_top_build_prefix$srcdir
51960 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51962 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51967 # Check for guested configure; otherwise get Cygnus style configure.
51968 if test -f "$ac_srcdir/configure.gnu"; then
51969 ac_sub_configure=$ac_srcdir/configure.gnu
51970 elif test -f "$ac_srcdir/configure"; then
51971 ac_sub_configure=$ac_srcdir/configure
51972 elif test -f "$ac_srcdir/configure.in"; then
51973 # This should be Cygnus configure.
51974 ac_sub_configure=$ac_aux_dir/configure
51976 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51977 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51981 # The recursion is here.
51982 if test -n "$ac_sub_configure"; then
51983 # Make the cache file name correct relative to the subdirectory.
51984 case $cache_file in
51985 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51986 *) # Relative name.
51987 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
51990 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51991 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51992 # The eval makes quoting arguments work.
51993 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51994 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51995 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51996 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51997 { (exit 1); exit 1; }; }
52006 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52008 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52009 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52011 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52012 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52013 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52014 if test "$wxUSE_UNICODE" = "yes"; then
52015 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52016 echo " (using UTF-8)"
52018 echo " (using wchar_t)"
52024 echo " What level of wxWidgets compatibility should be enabled?"
52025 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52026 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52028 echo " Which libraries should wxWidgets use?"
52029 echo " STL ${wxUSE_STL}"
52030 echo " jpeg ${wxUSE_LIBJPEG-none}"
52031 echo " png ${wxUSE_LIBPNG-none}"
52032 echo " regex ${wxUSE_REGEX}"
52033 echo " tiff ${wxUSE_LIBTIFF-none}"
52034 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52035 echo " xpm ${wxUSE_LIBXPM-none}"
52037 echo " zlib ${wxUSE_ZLIB}"
52038 echo " expat ${wxUSE_EXPAT}"
52039 echo " libmspack ${wxUSE_LIBMSPACK}"
52040 echo " sdl ${wxUSE_LIBSDL}"