2 # From configure.in Id: configure.in 51052 2008-01-06 22:23:20Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir=.
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
261 CONFIG_SHELL=$as_shell
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
289 as_func_ret_success () {
292 as_func_ret_failure () {
297 if as_func_success; then
301 echo as_func_success failed.
304 if as_func_failure; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure; then
318 echo as_func_ret_failure succeeded.
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
475 ECHO_C= ECHO_N= ECHO_T=
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
509 elif ln conf$$.file conf$$ 2>/dev/null; then
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
517 if mkdir -p . 2>/dev/null; then
520 test -d ./-p && rmdir ./-p
524 if test -x / >/dev/null 2>&1; then
527 if ls -dL / >/dev/null 2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev/null 6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix=/usr/local
567 ac_config_libobj_dir=.
573 SHELL=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
709 LIBGNOMEPRINTUI_CFLAGS
756 SAMPLES_RPATH_POSTLINK
812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
814 COND_BUILD_DEBUG_UNICODE_0
815 COND_BUILD_DEBUG_UNICODE_1
817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
818 COND_BUILD_RELEASE_UNICODE_0
819 COND_BUILD_RELEASE_UNICODE_1
828 COND_MONOLITHIC_0_SHARED_0
829 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
835 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
837 COND_MONOLITHIC_0_SHARED_1
838 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
843 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
844 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
846 COND_MONOLITHIC_0_USE_AUI_1
847 COND_MONOLITHIC_0_USE_GUI_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_USE_HTML_1
850 COND_MONOLITHIC_0_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_QA_1
852 COND_MONOLITHIC_0_USE_RICHTEXT_1
853 COND_MONOLITHIC_0_USE_STC_1
854 COND_MONOLITHIC_0_USE_XRC_1
856 COND_MONOLITHIC_1_SHARED_0
857 COND_MONOLITHIC_1_SHARED_1
858 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
859 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
860 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_1
863 COND_PLATFORM_MACOSX_1_TOOLKIT_
864 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
865 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
866 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
869 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
870 COND_PLATFORM_MACOSX_1_USE_GUI_1
871 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
872 COND_PLATFORM_MACOS_1
874 COND_PLATFORM_MSDOS_0
875 COND_PLATFORM_MSDOS_1
879 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
880 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
881 COND_PLATFORM_UNIX_1_USE_GUI_1
882 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
883 COND_PLATFORM_WIN32_0
884 COND_PLATFORM_WIN32_1
886 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
887 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
888 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
889 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
890 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
893 COND_SHARED_0_USE_STC_1
894 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
895 COND_SHARED_0_WXUSE_REGEX_BUILTIN
896 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
898 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
901 COND_TOOLKIT_COCOA_USE_GUI_1
902 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
904 COND_TOOLKIT_DFB_USE_GUI_1
906 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
913 COND_TOOLKIT_GTK_USE_GUI_1
915 COND_TOOLKIT_MAC_USE_GUI_1
916 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
918 COND_TOOLKIT_MGL_USE_GUI_1
920 COND_TOOLKIT_MOTIF_USE_GUI_1
921 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
923 COND_TOOLKIT_MSW_USE_GUI_1
924 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_MSW_WXUNIV_0
927 COND_TOOLKIT_PM_USE_GUI_1
928 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_WINCE_USE_GUI_1
931 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_WINCE_WXUNIV_0
934 COND_TOOLKIT_X11_USE_GUI_1
936 COND_USE_EXCEPTIONS_0
937 COND_USE_EXCEPTIONS_1
940 COND_USE_GUI_1_USE_OPENGL_1
941 COND_USE_GUI_1_WXUNIV_0
942 COND_USE_GUI_1_WXUNIV_1
943 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
944 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
945 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
951 COND_USE_SOSYMLINKS_1
952 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
953 COND_USE_SOVERLINUX_1
955 COND_USE_SOVERSOLARIS_1
960 COND_WINDOWS_IMPLIB_1
961 COND_WITH_PLUGIN_SDL_1
964 COND_WXUSE_EXPAT_BUILTIN
965 COND_WXUSE_LIBJPEG_BUILTIN
966 COND_WXUSE_LIBPNG_BUILTIN
967 COND_WXUSE_LIBTIFF_BUILTIN
968 COND_WXUSE_REGEX_BUILTIN
969 COND_WXUSE_ZLIB_BUILTIN
972 WX_LIBRARY_BASENAME_NOGUI
973 WX_LIBRARY_BASENAME_GUI
1005 WX_RESOURCES_MACOSX_ASCII
1006 WX_RESOURCES_MACOSX_DATA
1016 ac_precious_vars='build_alias
1040 LIBGNOMEPRINTUI_CFLAGS
1041 LIBGNOMEPRINTUI_LIBS
1050 ac_subdirs_all='src/tiff
1053 # Initialize some variables set by options.
1055 ac_init_version=false
1056 # The variables have the same names as the options, with
1057 # dashes changed to underlines.
1058 cache_file=/dev/null
1065 program_transform_name=s,x,x,
1073 # Installation directory options.
1074 # These are left unexpanded so users can "make install exec_prefix=/foo"
1075 # and all the variables that are supposed to be based on exec_prefix
1076 # by default will actually change.
1077 # Use braces instead of parens because sh, perl, etc. also accept them.
1078 # (The list follows the same order as the GNU Coding Standards.)
1079 bindir='${exec_prefix}/bin'
1080 sbindir='${exec_prefix}/sbin'
1081 libexecdir='${exec_prefix}/libexec'
1082 datarootdir='${prefix}/share'
1083 datadir='${datarootdir}'
1084 sysconfdir='${prefix}/etc'
1085 sharedstatedir='${prefix}/com'
1086 localstatedir='${prefix}/var'
1087 includedir='${prefix}/include'
1088 oldincludedir='/usr/include'
1089 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1090 infodir='${datarootdir}/info'
1095 libdir='${exec_prefix}/lib'
1096 localedir='${datarootdir}/locale'
1097 mandir='${datarootdir}/man'
1103 # If the previous option needs an argument, assign it.
1104 if test -n "$ac_prev"; then
1105 eval $ac_prev=\$ac_option
1111 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1115 # Accept the important Cygnus configure options, so we can diagnose typos.
1117 case $ac_dashdash$ac_option in
1121 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1123 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1124 bindir=$ac_optarg ;;
1126 -build | --build | --buil | --bui | --bu)
1127 ac_prev=build_alias ;;
1128 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1129 build_alias=$ac_optarg ;;
1131 -cache-file | --cache-file | --cache-fil | --cache-fi \
1132 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1133 ac_prev=cache_file ;;
1134 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1135 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1136 cache_file=$ac_optarg ;;
1138 --config-cache | -C)
1139 cache_file=config.cache ;;
1141 -datadir | --datadir | --datadi | --datad)
1143 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1144 datadir=$ac_optarg ;;
1146 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1147 | --dataroo | --dataro | --datar)
1148 ac_prev=datarootdir ;;
1149 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1150 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1151 datarootdir=$ac_optarg ;;
1153 -disable-* | --disable-*)
1154 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1157 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1158 { (exit 1); exit 1; }; }
1159 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1160 eval enable_$ac_feature=no ;;
1162 -docdir | --docdir | --docdi | --doc | --do)
1164 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1165 docdir=$ac_optarg ;;
1167 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1169 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1170 dvidir=$ac_optarg ;;
1172 -enable-* | --enable-*)
1173 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1174 # Reject names that are not valid shell variable names.
1175 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1176 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1177 { (exit 1); exit 1; }; }
1178 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1179 eval enable_$ac_feature=\$ac_optarg ;;
1181 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1182 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1183 | --exec | --exe | --ex)
1184 ac_prev=exec_prefix ;;
1185 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1186 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1187 | --exec=* | --exe=* | --ex=*)
1188 exec_prefix=$ac_optarg ;;
1190 -gas | --gas | --ga | --g)
1191 # Obsolete; use --with-gas.
1194 -help | --help | --hel | --he | -h)
1195 ac_init_help=long ;;
1196 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1197 ac_init_help=recursive ;;
1198 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1199 ac_init_help=short ;;
1201 -host | --host | --hos | --ho)
1202 ac_prev=host_alias ;;
1203 -host=* | --host=* | --hos=* | --ho=*)
1204 host_alias=$ac_optarg ;;
1206 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1208 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1210 htmldir=$ac_optarg ;;
1212 -includedir | --includedir | --includedi | --included | --include \
1213 | --includ | --inclu | --incl | --inc)
1214 ac_prev=includedir ;;
1215 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1216 | --includ=* | --inclu=* | --incl=* | --inc=*)
1217 includedir=$ac_optarg ;;
1219 -infodir | --infodir | --infodi | --infod | --info | --inf)
1221 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1222 infodir=$ac_optarg ;;
1224 -libdir | --libdir | --libdi | --libd)
1226 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1227 libdir=$ac_optarg ;;
1229 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1230 | --libexe | --libex | --libe)
1231 ac_prev=libexecdir ;;
1232 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1233 | --libexe=* | --libex=* | --libe=*)
1234 libexecdir=$ac_optarg ;;
1236 -localedir | --localedir | --localedi | --localed | --locale)
1237 ac_prev=localedir ;;
1238 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1239 localedir=$ac_optarg ;;
1241 -localstatedir | --localstatedir | --localstatedi | --localstated \
1242 | --localstate | --localstat | --localsta | --localst | --locals)
1243 ac_prev=localstatedir ;;
1244 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1245 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1246 localstatedir=$ac_optarg ;;
1248 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1250 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1251 mandir=$ac_optarg ;;
1253 -nfp | --nfp | --nf)
1254 # Obsolete; use --without-fp.
1257 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1258 | --no-cr | --no-c | -n)
1261 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1262 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1265 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1266 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1267 | --oldin | --oldi | --old | --ol | --o)
1268 ac_prev=oldincludedir ;;
1269 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1270 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1271 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1272 oldincludedir=$ac_optarg ;;
1274 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1276 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1277 prefix=$ac_optarg ;;
1279 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1280 | --program-pre | --program-pr | --program-p)
1281 ac_prev=program_prefix ;;
1282 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1283 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1284 program_prefix=$ac_optarg ;;
1286 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1287 | --program-suf | --program-su | --program-s)
1288 ac_prev=program_suffix ;;
1289 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1290 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1291 program_suffix=$ac_optarg ;;
1293 -program-transform-name | --program-transform-name \
1294 | --program-transform-nam | --program-transform-na \
1295 | --program-transform-n | --program-transform- \
1296 | --program-transform | --program-transfor \
1297 | --program-transfo | --program-transf \
1298 | --program-trans | --program-tran \
1299 | --progr-tra | --program-tr | --program-t)
1300 ac_prev=program_transform_name ;;
1301 -program-transform-name=* | --program-transform-name=* \
1302 | --program-transform-nam=* | --program-transform-na=* \
1303 | --program-transform-n=* | --program-transform-=* \
1304 | --program-transform=* | --program-transfor=* \
1305 | --program-transfo=* | --program-transf=* \
1306 | --program-trans=* | --program-tran=* \
1307 | --progr-tra=* | --program-tr=* | --program-t=*)
1308 program_transform_name=$ac_optarg ;;
1310 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1312 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1313 pdfdir=$ac_optarg ;;
1315 -psdir | --psdir | --psdi | --psd | --ps)
1317 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1320 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1321 | -silent | --silent | --silen | --sile | --sil)
1324 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1326 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1328 sbindir=$ac_optarg ;;
1330 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1331 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1332 | --sharedst | --shareds | --shared | --share | --shar \
1334 ac_prev=sharedstatedir ;;
1335 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1336 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1337 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1339 sharedstatedir=$ac_optarg ;;
1341 -site | --site | --sit)
1343 -site=* | --site=* | --sit=*)
1346 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1348 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1349 srcdir=$ac_optarg ;;
1351 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1352 | --syscon | --sysco | --sysc | --sys | --sy)
1353 ac_prev=sysconfdir ;;
1354 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1355 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1356 sysconfdir=$ac_optarg ;;
1358 -target | --target | --targe | --targ | --tar | --ta | --t)
1359 ac_prev=target_alias ;;
1360 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1361 target_alias=$ac_optarg ;;
1363 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1366 -version | --version | --versio | --versi | --vers | -V)
1367 ac_init_version=: ;;
1370 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1371 # Reject names that are not valid shell variable names.
1372 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1373 { echo "$as_me: error: invalid package name: $ac_package" >&2
1374 { (exit 1); exit 1; }; }
1375 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1376 eval with_$ac_package=\$ac_optarg ;;
1378 -without-* | --without-*)
1379 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1380 # Reject names that are not valid shell variable names.
1381 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1382 { echo "$as_me: error: invalid package name: $ac_package" >&2
1383 { (exit 1); exit 1; }; }
1384 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1385 eval with_$ac_package=no ;;
1388 # Obsolete; use --with-x.
1391 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1392 | --x-incl | --x-inc | --x-in | --x-i)
1393 ac_prev=x_includes ;;
1394 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1395 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1396 x_includes=$ac_optarg ;;
1398 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1399 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1400 ac_prev=x_libraries ;;
1401 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1402 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1403 x_libraries=$ac_optarg ;;
1405 -*) { echo "$as_me: error: unrecognized option: $ac_option
1406 Try \`$0 --help' for more information." >&2
1407 { (exit 1); exit 1; }; }
1411 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1412 # Reject names that are not valid shell variable names.
1413 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1414 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1415 { (exit 1); exit 1; }; }
1416 eval $ac_envvar=\$ac_optarg
1417 export $ac_envvar ;;
1420 # FIXME: should be removed in autoconf 3.0.
1421 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1422 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1423 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1424 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1430 if test -n "$ac_prev"; then
1431 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1432 { echo "$as_me: error: missing argument to $ac_option" >&2
1433 { (exit 1); exit 1; }; }
1436 # Be sure to have absolute directory names.
1437 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1438 datadir sysconfdir sharedstatedir localstatedir includedir \
1439 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1440 libdir localedir mandir
1442 eval ac_val=\$$ac_var
1444 [\\/$]* | ?:[\\/]* ) continue;;
1445 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1447 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1448 { (exit 1); exit 1; }; }
1451 # There might be people who depend on the old broken behavior: `$host'
1452 # used to hold the argument of --host etc.
1453 # FIXME: To remove some day.
1456 target=$target_alias
1458 # FIXME: To remove some day.
1459 if test "x$host_alias" != x; then
1460 if test "x$build_alias" = x; then
1461 cross_compiling=maybe
1462 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1463 If a cross compiler is detected then cross compile mode will be used." >&2
1464 elif test "x$build_alias" != "x$host_alias"; then
1470 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1472 test "$silent" = yes && exec 6>/dev/null
1475 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1476 ac_ls_di=`ls -di .` &&
1477 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1478 { echo "$as_me: error: Working directory cannot be determined" >&2
1479 { (exit 1); exit 1; }; }
1480 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1481 { echo "$as_me: error: pwd does not report name of working directory" >&2
1482 { (exit 1); exit 1; }; }
1485 # Find the source files, if location was not specified.
1486 if test -z "$srcdir"; then
1487 ac_srcdir_defaulted=yes
1488 # Try the directory containing this script, then the parent directory.
1489 ac_confdir=`$as_dirname -- "$0" ||
1490 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1491 X"$0" : 'X\(//\)[^/]' \| \
1492 X"$0" : 'X\(//\)$' \| \
1493 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1513 if test ! -r "$srcdir/$ac_unique_file"; then
1517 ac_srcdir_defaulted=no
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1520 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1521 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1522 { (exit 1); exit 1; }; }
1524 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1526 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1527 { (exit 1); exit 1; }; }
1529 # When building in place, set srcdir=.
1530 if test "$ac_abs_confdir" = "$ac_pwd"; then
1533 # Remove unnecessary trailing slashes from srcdir.
1534 # Double slashes in file names in object file debugging info
1535 # mess up M-x gdb in Emacs.
1537 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1539 for ac_var in $ac_precious_vars; do
1540 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1541 eval ac_env_${ac_var}_value=\$${ac_var}
1542 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1543 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1547 # Report the --help message.
1549 if test "$ac_init_help" = "long"; then
1550 # Omit some internal or obsolete options to make the list less imposing.
1551 # This message is too long to be a string in the A/UX 3.1 sh.
1553 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1555 Usage: $0 [OPTION]... [VAR=VALUE]...
1557 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1558 VAR=VALUE. See below for descriptions of some of the useful variables.
1560 Defaults for the options are specified in brackets.
1563 -h, --help display this help and exit
1564 --help=short display options specific to this package
1565 --help=recursive display the short help of all the included packages
1566 -V, --version display version information and exit
1567 -q, --quiet, --silent do not print \`checking...' messages
1568 --cache-file=FILE cache test results in FILE [disabled]
1569 -C, --config-cache alias for \`--cache-file=config.cache'
1570 -n, --no-create do not create output files
1571 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1573 Installation directories:
1574 --prefix=PREFIX install architecture-independent files in PREFIX
1575 [$ac_default_prefix]
1576 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1579 By default, \`make install' will install all the files in
1580 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1581 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1582 for instance \`--prefix=\$HOME'.
1584 For better control, use the options below.
1586 Fine tuning of the installation directories:
1587 --bindir=DIR user executables [EPREFIX/bin]
1588 --sbindir=DIR system admin executables [EPREFIX/sbin]
1589 --libexecdir=DIR program executables [EPREFIX/libexec]
1590 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1591 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1592 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1593 --libdir=DIR object code libraries [EPREFIX/lib]
1594 --includedir=DIR C header files [PREFIX/include]
1595 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1596 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1597 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1598 --infodir=DIR info documentation [DATAROOTDIR/info]
1599 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1600 --mandir=DIR man documentation [DATAROOTDIR/man]
1601 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1602 --htmldir=DIR html documentation [DOCDIR]
1603 --dvidir=DIR dvi documentation [DOCDIR]
1604 --pdfdir=DIR pdf documentation [DOCDIR]
1605 --psdir=DIR ps documentation [DOCDIR]
1611 --x-includes=DIR X include files are in DIR
1612 --x-libraries=DIR X library files are in DIR
1615 --build=BUILD configure for building on BUILD [guessed]
1616 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1617 --target=TARGET configure for building compilers for TARGET [HOST]
1621 if test -n "$ac_init_help"; then
1622 case $ac_init_help in
1623 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1628 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1629 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1630 --disable-gui don't build GUI parts of the library
1631 --enable-monolithic build wxWidgets as single library
1632 --enable-plugins build parts of wxWidgets as loadable components
1633 --enable-official_build official build of wxWidgets (win32 DLL only)
1634 --enable-vendor=VENDOR vendor name (win32 DLL only)
1635 --disable-all-features disable all optional features to build minimal library
1636 --enable-universal use wxWidgets GUI controls instead of native ones
1637 --enable-nanox use NanoX
1638 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1639 --enable-gpe use GNOME PDA Environment features if possible
1640 --disable-shared create static library instead of shared
1641 --disable-optimise create optimised code
1642 --enable-debug same as debug_flag and debug_info
1643 --enable-stl use STL for containers
1644 --enable-std_iostreams use standard C++ stream classes
1645 --enable-std_string use standard C++ string classes
1646 --disable-unicode compile without Unicode support
1647 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1648 --enable-utf8 use UTF-8 representation for strings (Unix only)
1649 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1650 --enable-extended_rtti use extended RTTI (XTI)
1651 --enable-omf use OMF object format
1652 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1653 --enable-debug_info create code with debugging information
1654 --enable-debug_gdb create code with extra GDB debugging information
1655 --enable-debug_cntxt use wxDebugContext
1656 --enable-mem_tracing create code with memory tracing
1657 --enable-profile create code with profiling information
1658 --enable-no_rtti create code without RTTI information
1659 --enable-no_exceptions create code without C++ exceptions handling
1660 --enable-permissive compile code disregarding strict ANSI
1661 --enable-no_deps create code without dependency information
1662 --disable-vararg_macros don't use vararg macros, even if they are supported
1663 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1664 --enable-compat26 enable wxWidgets 2.6 compatibility
1665 --disable-compat28 disable wxWidgets 2.8 compatibility
1666 --disable-rpath disable use of rpath for uninstalled builds
1667 --enable-objc_uniquifying enable Objective-C class name uniquifying
1668 --disable-visibility disable use of ELF symbols visibility even if supported
1669 --enable-intl use internationalization system
1670 --enable-config use wxConfig (and derived) classes
1671 --enable-protocols use wxProtocol and derived classes
1672 --enable-ftp use wxFTP (requires wxProtocol
1673 --enable-http use wxHTTP (requires wxProtocol
1674 --enable-fileproto use wxFileProto class (requires wxProtocol
1675 --enable-sockets use socket/network classes
1676 --enable-ipv6 enable IPv6 support in wxSocket
1677 --enable-ole use OLE classes (Win32 only)
1678 --enable-dataobj use data object classes
1679 --enable-ipc use interprocess communication (wxSocket etc.)
1680 --enable-baseevtloop use event loop in console programs too
1681 --enable-epollloop use wxEpollDispatcher class (Linux only)
1682 --enable-selectloop use wxSelectDispatcher class
1683 --enable-apple_ieee use the Apple IEEE codec
1684 --enable-arcstream use wxArchive streams
1685 --enable-base64 use base64 encoding/decoding functions
1686 --enable-backtrace use wxStackWalker class for getting backtraces
1687 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1688 --enable-cmdline use wxCmdLineParser class
1689 --enable-datetime use wxDateTime class
1690 --enable-debugreport use wxDebugReport class
1691 --enable-dialupman use dialup network classes
1692 --enable-dynlib use wxLibrary class for DLL loading
1693 --enable-dynamicloader use (new) wxDynamicLibrary class
1694 --enable-exceptions build exception-safe library
1695 --enable-ffile use wxFFile class
1696 --enable-file use wxFile class
1697 --enable-filesystem use virtual file systems classes
1698 --enable-fontenum use wxFontEnumerator class
1699 --enable-fontmap use font encodings conversion classes
1700 --enable-fs_archive use virtual archive filesystems
1701 --enable-fs_inet use virtual HTTP/FTP filesystems
1702 --enable-fs_zip now replaced by fs_archive
1703 --enable-geometry use geometry class
1704 --enable-log use logging system
1705 --enable-longlong use wxLongLong class
1706 --enable-mimetype use wxMimeTypesManager
1707 --enable-snglinst use wxSingleInstanceChecker class
1708 --enable-stdpaths use wxStandardPaths class
1709 --enable-stopwatch use wxStopWatch class
1710 --enable-streams use wxStream etc classes
1711 --enable-sysoptions use wxSystemOptions
1712 --enable-tarstream use wxTar streams
1713 --enable-textbuf use wxTextBuffer class
1714 --enable-textfile use wxTextFile class
1715 --enable-timer use wxTimer class
1716 --enable-sound use wxSound class
1717 --enable-mediactrl use wxMediaCtrl class
1718 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1719 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1720 --enable-zipstream use wxZip streams
1721 --enable-url use wxURL class
1722 --enable-variant use wxVariant class
1723 --enable-protocol use wxProtocol class
1724 --enable-protocol-http HTTP support in wxProtocol
1725 --enable-protocol-ftp FTP support in wxProtocol
1726 --enable-protocol-file FILE support in wxProtocol
1727 --enable-threads use threads
1728 --enable-iniconf use wxIniConfig (Win32 only)
1729 --enable-regkey use wxRegKey class (Win32 only)
1730 --enable-docview use document view architecture
1731 --enable-help use help subsystem
1732 --enable-mshtmlhelp use MS HTML Help (win32)
1733 --enable-html use wxHTML sub-library
1734 --enable-htmlhelp use wxHTML-based help
1735 --enable-xrc use XRC resources sub-library
1736 --enable-aui use AUI docking library
1737 --enable-stc use wxStyledTextCtrl library
1738 --enable-constraints use layout-constraints system
1739 --enable-printarch use printing architecture
1740 --enable-mdi use multiple document interface architecture
1741 --enable-mdidoc use docview architecture with MDI
1742 --enable-loggui use standard GUI logger
1743 --enable-logwin use wxLogWindow
1744 --enable-logdialog use wxLogDialog
1745 --enable-webkit use wxWebKitCtrl (Mac)
1746 --enable-richtext use wxRichTextCtrl
1747 --enable-graphics_ctx use graphics context 2D drawing API
1748 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1749 --enable-svg use wxSVGFileDC device context
1750 --enable-clipboard use wxClipboard class
1751 --enable-dnd use Drag'n'Drop classes
1752 --enable-metafile use win32 metafiles
1753 --disable-controls disable compilation of all standard controls
1754 --enable-accel use accelerators
1755 --enable-animatectrl use wxAnimationCtrl class
1756 --enable-button use wxButton class
1757 --enable-bmpbutton use wxBitmapButton class
1758 --enable-bmpcombobox use wxBitmapComboBox class
1759 --enable-calendar use wxCalendarCtrl class
1760 --enable-caret use wxCaret class
1761 --enable-checkbox use wxCheckBox class
1762 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1763 --enable-choice use wxChoice class
1764 --enable-choicebook use wxChoicebook class
1765 --enable-collpane use wxCollapsiblePane class
1766 --enable-colourpicker use wxColourPickerCtrl class
1767 --enable-combobox use wxComboBox class
1768 --enable-comboctrl use wxComboCtrl class
1769 --enable-datepick use wxDatePickerCtrl class
1770 --enable-dirpicker use wxDirPickerCtrl class
1771 --enable-display use wxDisplay class
1772 --enable-detect_sm use code to detect X11 session manager
1773 --enable-editablebox use wxEditableListBox class
1774 --enable-filepicker use wxFilePickerCtrl class
1775 --enable-filectrl use wxFileCtrl class
1776 --enable-fontpicker use wxFontPickerCtrl class
1777 --enable-gauge use wxGauge class
1778 --enable-grid use wxGrid class
1779 --enable-dataviewctrl use wxDataViewCtrl class
1780 --enable-hyperlink use wxHyperlinkCtrl class
1781 --enable-imaglist use wxImageList class
1782 --enable-listbook use wxListbook class
1783 --enable-listbox use wxListBox class
1784 --enable-listctrl use wxListCtrl class
1785 --enable-notebook use wxNotebook class
1786 --enable-notifmsg use wxNotificationMessage class
1787 --enable-odcombobox use wxOwnerDrawnComboBox class
1788 --enable-radiobox use wxRadioBox class
1789 --enable-radiobtn use wxRadioButton class
1790 --enable-sash use wxSashWindow class
1791 --enable-scrollbar use wxScrollBar class and scrollable windows
1792 --enable-searchctrl use wxSearchCtrl class
1793 --enable-slider use wxSlider class
1794 --enable-spinbtn use wxSpinButton class
1795 --enable-spinctrl use wxSpinCtrl class
1796 --enable-splitter use wxSplitterWindow class
1797 --enable-statbmp use wxStaticBitmap class
1798 --enable-statbox use wxStaticBox class
1799 --enable-statline use wxStaticLine class
1800 --enable-stattext use wxStaticText class
1801 --enable-statusbar use wxStatusBar class
1802 --enable-tabdialog use wxTabControl class
1803 --enable-taskbaricon use wxTaskBarIcon class
1804 --enable-textctrl use wxTextCtrl class
1805 --enable-togglebtn use wxToggleButton class
1806 --enable-toolbar use wxToolBar class
1807 --enable-tbarnative use native wxToolBar class
1808 --enable-treebook use wxTreebook class
1809 --enable-toolbook use wxToolbook class
1810 --enable-treectrl use wxTreeCtrl class
1811 --enable-tipwindow use wxTipWindow class
1812 --enable-popupwin use wxPopUpWindow class
1813 --enable-commondlg use all common dialogs
1814 --enable-aboutdlg use wxAboutBox
1815 --enable-choicedlg use wxChoiceDialog
1816 --enable-coldlg use wxColourDialog
1817 --enable-filedlg use wxFileDialog
1818 --enable-finddlg use wxFindReplaceDialog
1819 --enable-fontdlg use wxFontDialog
1820 --enable-dirdlg use wxDirDialog
1821 --enable-msgdlg use wxMessageDialog
1822 --enable-numberdlg use wxNumberEntryDialog
1823 --enable-splash use wxSplashScreen
1824 --enable-textdlg use wxTextDialog
1825 --enable-tipdlg use startup tips
1826 --enable-progressdlg use wxProgressDialog
1827 --enable-wizarddlg use wxWizard
1828 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1829 --enable-miniframe use wxMiniFrame class
1830 --enable-tooltips use wxToolTip class
1831 --enable-splines use spline drawing code
1832 --enable-mousewheel use mousewheel
1833 --enable-validators use wxValidator and derived classes
1834 --enable-busyinfo use wxBusyInfo
1835 --enable-joystick use wxJoystick
1836 --enable-metafiles use wxMetaFile (Win32 only)
1837 --enable-dragimage use wxDragImage
1838 --enable-accessibility enable accessibility support
1839 --enable-palette use wxPalette class
1840 --enable-image use wxImage class
1841 --enable-gif use gif images (GIF file format)
1842 --enable-pcx use pcx images (PCX file format)
1843 --enable-tga use tga images (TGA file format)
1844 --enable-iff use iff images (IFF file format)
1845 --enable-pnm use pnm images (PNM file format)
1846 --enable-xpm use xpm images (XPM file format)
1847 --enable-ico_cur use Windows ICO and CUR formats
1848 --enable-dccache cache temporary wxDC objects (Win32 only)
1849 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1850 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1851 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1852 --enable-wxdib use wxDIB class (Win32 only)
1853 --enable-autoidman use automatic ids management
1854 --disable-largefile omit support for large files
1855 --disable-gtktest do not try to compile and run a test GTK+ program
1856 --disable-gtktest Do not try to compile and run a test GTK program
1857 --disable-sdltest Do not try to compile and run a test SDL program
1858 --enable-omf use OMF object format (OS/2)
1859 --disable-dependency-tracking
1860 don't use dependency tracking even if the compiler
1862 --disable-precomp-headers
1863 don't use precompiled headers even if compiler can
1866 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1867 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1868 --without-subdirs don't generate makefiles for samples/demos/...
1869 --with-flavour=NAME specify a name to identify this build
1870 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1871 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1872 --with-motif use Motif/Lesstif
1873 --with-mac use Mac OS X
1874 --with-cocoa use Cocoa
1875 --with-wine use Wine
1876 --with-msw use MS-Windows
1877 --with-pm use OS/2 Presentation Manager
1878 --with-mgl use SciTech MGL
1879 --with-directfb use DirectFB
1880 --with-microwin use MicroWindows
1882 --with-libpng use libpng (PNG image format)
1883 --with-libjpeg use libjpeg (JPEG file format)
1884 --with-libtiff use libtiff (TIFF file format)
1885 --with-libxpm use libxpm (XPM file format)
1886 --with-libmspack use libmspack (CHM help files loading)
1887 --without-gtkprint don't use GTK printing support
1888 --without-gnomeprint don't use GNOME printing libraries
1889 --with-gnomevfs use GNOME VFS for associating MIME types
1890 --with-hildon use Hildon framework for Nokia 770
1891 --with-opengl use OpenGL (or Mesa)
1892 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1893 --with-sdl use SDL for audio on Unix
1894 --with-regex enable support for wxRegEx class
1895 --with-zlib use zlib for LZW compression
1896 --with-expat enable XML support using expat parser
1897 --with-macosx-sdk=PATH use an OS X SDK at PATH
1898 --with-macosx-version-min=VER build binaries which require at least this OS X version
1899 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1900 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1901 --with-x use the X Window System
1902 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1903 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1904 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1905 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1906 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1908 Some influential environment variables:
1909 CC C compiler command
1910 CFLAGS C compiler flags
1911 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1912 nonstandard directory <lib dir>
1913 LIBS libraries to pass to the linker, e.g. -l<library>
1914 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1915 you have headers in a nonstandard directory <include dir>
1917 CXX C++ compiler command
1918 CXXFLAGS C++ compiler flags
1919 PKG_CONFIG path to pkg-config utility
1921 C compiler flags for DIRECTFB, overriding pkg-config
1923 linker flags for DIRECTFB, overriding pkg-config
1924 XMKMF Path to xmkmf, Makefile generator for X Window System
1926 C compiler flags for PANGOX, overriding pkg-config
1927 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1929 C compiler flags for PANGOFT2, overriding pkg-config
1931 linker flags for PANGOFT2, overriding pkg-config
1933 C compiler flags for PANGOXFT, overriding pkg-config
1935 linker flags for PANGOXFT, overriding pkg-config
1937 C compiler flags for GTKPRINT, overriding pkg-config
1939 linker flags for GTKPRINT, overriding pkg-config
1940 LIBGNOMEPRINTUI_CFLAGS
1941 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1942 LIBGNOMEPRINTUI_LIBS
1943 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1945 C compiler flags for GNOMEVFS, overriding pkg-config
1947 linker flags for GNOMEVFS, overriding pkg-config
1949 C compiler flags for HILDON, overriding pkg-config
1950 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1952 C compiler flags for CAIRO, overriding pkg-config
1953 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1954 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1955 GST_LIBS linker flags for GST, overriding pkg-config
1957 Use these variables to override the choices made by `configure' or to help
1958 it to find libraries and programs with nonstandard names/locations.
1960 Report bugs to <wx-dev@lists.wxwidgets.org>.
1965 if test "$ac_init_help" = "recursive"; then
1966 # If there are subdirs, report their specific --help.
1967 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1968 test -d "$ac_dir" || continue
1972 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1974 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1975 # A ".." for each directory in $ac_dir_suffix.
1976 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1977 case $ac_top_builddir_sub in
1978 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1979 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1982 ac_abs_top_builddir=$ac_pwd
1983 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1984 # for backward compatibility:
1985 ac_top_builddir=$ac_top_build_prefix
1988 .) # We are building in place.
1990 ac_top_srcdir=$ac_top_builddir_sub
1991 ac_abs_top_srcdir=$ac_pwd ;;
1992 [\\/]* | ?:[\\/]* ) # Absolute name.
1993 ac_srcdir=$srcdir$ac_dir_suffix;
1994 ac_top_srcdir=$srcdir
1995 ac_abs_top_srcdir=$srcdir ;;
1997 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1998 ac_top_srcdir=$ac_top_build_prefix$srcdir
1999 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2001 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2003 cd "$ac_dir" || { ac_status=$?; continue; }
2004 # Check for guested configure.
2005 if test -f "$ac_srcdir/configure.gnu"; then
2007 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2008 elif test -f "$ac_srcdir/configure"; then
2010 $SHELL "$ac_srcdir/configure" --help=recursive
2012 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2014 cd "$ac_pwd" || { ac_status=$?; break; }
2018 test -n "$ac_init_help" && exit $ac_status
2019 if $ac_init_version; then
2021 wxWidgets configure 2.9.0
2022 generated by GNU Autoconf 2.61
2024 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2025 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2026 This configure script is free software; the Free Software Foundation
2027 gives unlimited permission to copy, distribute and modify it.
2031 cat >config.log <<_ACEOF
2032 This file contains any messages produced by compilers while
2033 running configure, to aid debugging if configure makes a mistake.
2035 It was created by wxWidgets $as_me 2.9.0, which was
2036 generated by GNU Autoconf 2.61. Invocation command line was
2048 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2049 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2050 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2051 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2052 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2054 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2055 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2057 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2058 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2059 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2060 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2061 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2062 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2063 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2071 test -z "$as_dir" && as_dir=.
2072 echo "PATH: $as_dir"
2088 # Keep a trace of the command line.
2089 # Strip out --no-create and --no-recursion so they do not pile up.
2090 # Strip out --silent because we don't want to record it for future runs.
2091 # Also quote any args containing shell meta-characters.
2092 # Make two passes to allow for proper duplicate-argument suppression.
2096 ac_must_keep_next=false
2102 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2103 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2104 | -silent | --silent | --silen | --sile | --sil)
2107 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2110 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2112 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2113 if test $ac_must_keep_next = true; then
2114 ac_must_keep_next=false # Got value, back to normal.
2117 *=* | --config-cache | -C | -disable-* | --disable-* \
2118 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2119 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2120 | -with-* | --with-* | -without-* | --without-* | --x)
2121 case "$ac_configure_args0 " in
2122 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2125 -* ) ac_must_keep_next=true ;;
2128 ac_configure_args="$ac_configure_args '$ac_arg'"
2133 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2134 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2136 # When interrupted or exit'd, cleanup temporary files, and complete
2137 # config.log. We remove comments because anyway the quotes in there
2138 # would cause problems or look ugly.
2139 # WARNING: Use '\'' to represent an apostrophe within the trap.
2140 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2141 trap 'exit_status=$?
2142 # Save into config.log some information that might help in debugging.
2147 ## ---------------- ##
2148 ## Cache variables. ##
2149 ## ---------------- ##
2152 # The following way of writing the cache mishandles newlines in values,
2154 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2155 eval ac_val=\$$ac_var
2159 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2160 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2163 _ | IFS | as_nl) ;; #(
2164 *) $as_unset $ac_var ;;
2169 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2170 *${as_nl}ac_space=\ *)
2172 "s/'\''/'\''\\\\'\'''\''/g;
2173 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2176 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2184 ## ----------------- ##
2185 ## Output variables. ##
2186 ## ----------------- ##
2189 for ac_var in $ac_subst_vars
2191 eval ac_val=\$$ac_var
2193 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2195 echo "$ac_var='\''$ac_val'\''"
2199 if test -n "$ac_subst_files"; then
2201 ## ------------------- ##
2202 ## File substitutions. ##
2203 ## ------------------- ##
2206 for ac_var in $ac_subst_files
2208 eval ac_val=\$$ac_var
2210 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2212 echo "$ac_var='\''$ac_val'\''"
2217 if test -s confdefs.h; then
2227 test "$ac_signal" != 0 &&
2228 echo "$as_me: caught signal $ac_signal"
2229 echo "$as_me: exit $exit_status"
2231 rm -f core *.core core.conftest.* &&
2232 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2235 for ac_signal in 1 2 13 15; do
2236 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2240 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2241 rm -f -r conftest* confdefs.h
2243 # Predefined preprocessor variables.
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_NAME "$PACKAGE_NAME"
2250 cat >>confdefs.h <<_ACEOF
2251 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_STRING "$PACKAGE_STRING"
2265 cat >>confdefs.h <<_ACEOF
2266 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2270 # Let the site file select an alternate cache file if it wants to.
2271 # Prefer explicitly selected file to automatically selected ones.
2272 if test -n "$CONFIG_SITE"; then
2273 set x "$CONFIG_SITE"
2274 elif test "x$prefix" != xNONE; then
2275 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2277 set x "$ac_default_prefix/share/config.site" \
2278 "$ac_default_prefix/etc/config.site"
2283 if test -r "$ac_site_file"; then
2284 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2285 echo "$as_me: loading site script $ac_site_file" >&6;}
2286 sed 's/^/| /' "$ac_site_file" >&5
2291 if test -r "$cache_file"; then
2292 # Some versions of bash will fail to source /dev/null (special
2293 # files actually), so we avoid doing that.
2294 if test -f "$cache_file"; then
2295 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2296 echo "$as_me: loading cache $cache_file" >&6;}
2298 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2299 *) . "./$cache_file";;
2303 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2304 echo "$as_me: creating cache $cache_file" >&6;}
2308 # Check that the precious variables saved in the cache have kept the same
2310 ac_cache_corrupted=false
2311 for ac_var in $ac_precious_vars; do
2312 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2313 eval ac_new_set=\$ac_env_${ac_var}_set
2314 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2315 eval ac_new_val=\$ac_env_${ac_var}_value
2316 case $ac_old_set,$ac_new_set in
2318 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2319 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2320 ac_cache_corrupted=: ;;
2322 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2323 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2324 ac_cache_corrupted=: ;;
2327 if test "x$ac_old_val" != "x$ac_new_val"; then
2328 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2329 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2330 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2331 echo "$as_me: former value: $ac_old_val" >&2;}
2332 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2333 echo "$as_me: current value: $ac_new_val" >&2;}
2334 ac_cache_corrupted=:
2337 # Pass precious variables to config.status.
2338 if test "$ac_new_set" = set; then
2340 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2341 *) ac_arg=$ac_var=$ac_new_val ;;
2343 case " $ac_configure_args " in
2344 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2345 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2349 if $ac_cache_corrupted; then
2350 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2351 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2352 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2353 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2354 { (exit 1); exit 1; }; }
2382 ac_cpp='$CPP $CPPFLAGS'
2383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2392 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2393 if test -f "$ac_dir/install-sh"; then
2395 ac_install_sh="$ac_aux_dir/install-sh -c"
2397 elif test -f "$ac_dir/install.sh"; then
2399 ac_install_sh="$ac_aux_dir/install.sh -c"
2401 elif test -f "$ac_dir/shtool"; then
2403 ac_install_sh="$ac_aux_dir/shtool install -c"
2407 if test -z "$ac_aux_dir"; then
2408 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2409 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2410 { (exit 1); exit 1; }; }
2413 # These three variables are undocumented and unsupported,
2414 # and are intended to be withdrawn in a future Autoconf release.
2415 # They can cause serious problems if a builder's source tree is in a directory
2416 # whose full name contains unusual characters.
2417 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2418 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2419 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2422 # Make sure we can run config.sub.
2423 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2424 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2425 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2426 { (exit 1); exit 1; }; }
2428 { echo "$as_me:$LINENO: checking build system type" >&5
2429 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2430 if test "${ac_cv_build+set}" = set; then
2431 echo $ECHO_N "(cached) $ECHO_C" >&6
2433 ac_build_alias=$build_alias
2434 test "x$ac_build_alias" = x &&
2435 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2436 test "x$ac_build_alias" = x &&
2437 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2438 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2439 { (exit 1); exit 1; }; }
2440 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2441 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2442 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2443 { (exit 1); exit 1; }; }
2446 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2447 echo "${ECHO_T}$ac_cv_build" >&6; }
2448 case $ac_cv_build in
2450 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2451 echo "$as_me: error: invalid value of canonical build" >&2;}
2452 { (exit 1); exit 1; }; };;
2455 ac_save_IFS=$IFS; IFS='-'
2461 # Remember, the first character of IFS is used to create $*,
2462 # except with old shells:
2465 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2468 { echo "$as_me:$LINENO: checking host system type" >&5
2469 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2470 if test "${ac_cv_host+set}" = set; then
2471 echo $ECHO_N "(cached) $ECHO_C" >&6
2473 if test "x$host_alias" = x; then
2474 ac_cv_host=$ac_cv_build
2476 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2477 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2478 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2479 { (exit 1); exit 1; }; }
2483 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2484 echo "${ECHO_T}$ac_cv_host" >&6; }
2487 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2488 echo "$as_me: error: invalid value of canonical host" >&2;}
2489 { (exit 1); exit 1; }; };;
2492 ac_save_IFS=$IFS; IFS='-'
2498 # Remember, the first character of IFS is used to create $*,
2499 # except with old shells:
2502 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2505 { echo "$as_me:$LINENO: checking target system type" >&5
2506 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2507 if test "${ac_cv_target+set}" = set; then
2508 echo $ECHO_N "(cached) $ECHO_C" >&6
2510 if test "x$target_alias" = x; then
2511 ac_cv_target=$ac_cv_host
2513 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2514 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2515 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2516 { (exit 1); exit 1; }; }
2520 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2521 echo "${ECHO_T}$ac_cv_target" >&6; }
2522 case $ac_cv_target in
2524 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2525 echo "$as_me: error: invalid value of canonical target" >&2;}
2526 { (exit 1); exit 1; }; };;
2528 target=$ac_cv_target
2529 ac_save_IFS=$IFS; IFS='-'
2535 # Remember, the first character of IFS is used to create $*,
2536 # except with old shells:
2539 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2542 # The aliases save the names the user supplied, while $host etc.
2543 # will get canonicalized.
2544 test -n "$target_alias" &&
2545 test "$program_prefix$program_suffix$program_transform_name" = \
2547 program_prefix=${target_alias}-
2551 wx_major_version_number=2
2552 wx_minor_version_number=9
2554 wx_subrelease_number=0
2556 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2557 WX_VERSION=$WX_RELEASE.$wx_release_number
2558 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2560 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2563 wx_top_builddir="`pwd`"
2576 USE_BSD= USE_DARWIN= USE_FREEBSD=
2582 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2588 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2590 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2592 DEFAULT_wxUSE_COCOA=0
2596 DEFAULT_wxUSE_MICROWIN=0
2597 DEFAULT_wxUSE_MOTIF=0
2603 DEFAULT_DEFAULT_wxUSE_COCOA=0
2604 DEFAULT_DEFAULT_wxUSE_GTK=0
2605 DEFAULT_DEFAULT_wxUSE_MAC=0
2606 DEFAULT_DEFAULT_wxUSE_MGL=0
2607 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2608 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2609 DEFAULT_DEFAULT_wxUSE_MSW=0
2610 DEFAULT_DEFAULT_wxUSE_PM=0
2611 DEFAULT_DEFAULT_wxUSE_X11=0
2612 DEFAULT_DEFAULT_wxUSE_DFB=0
2617 SAMPLES_RPATH_POSTLINK=
2619 DEFAULT_STD_FLAG=yes
2624 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2625 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2627 cat >>confdefs.h <<\_ACEOF
2632 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2636 cat >>confdefs.h <<\_ACEOF
2641 if test "x$TMP" = "xalpha"; then
2643 cat >>confdefs.h <<\_ACEOF
2648 DEFAULT_DEFAULT_wxUSE_GTK=1
2650 *-*-gnu* | *-*-k*bsd*-gnu )
2653 if test "x$TMP" = "xalpha"; then
2655 cat >>confdefs.h <<\_ACEOF
2660 DEFAULT_DEFAULT_wxUSE_GTK=1
2662 *-*-irix5* | *-*-irix6* )
2665 cat >>confdefs.h <<\_ACEOF
2669 cat >>confdefs.h <<\_ACEOF
2673 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2679 cat >>confdefs.h <<\_ACEOF
2683 cat >>confdefs.h <<\_ACEOF
2684 #define __SOLARIS__ 1
2687 cat >>confdefs.h <<\_ACEOF
2691 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2692 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2698 cat >>confdefs.h <<\_ACEOF
2702 cat >>confdefs.h <<\_ACEOF
2706 cat >>confdefs.h <<\_ACEOF
2710 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2715 cat >>confdefs.h <<\_ACEOF
2716 #define __FREEBSD__ 1
2719 cat >>confdefs.h <<\_ACEOF
2723 DEFAULT_DEFAULT_wxUSE_GTK=1
2725 *-*-openbsd*|*-*-mirbsd*)
2728 cat >>confdefs.h <<\_ACEOF
2729 #define __OPENBSD__ 1
2732 cat >>confdefs.h <<\_ACEOF
2736 DEFAULT_DEFAULT_wxUSE_GTK=1
2741 cat >>confdefs.h <<\_ACEOF
2742 #define __NETBSD__ 1
2745 cat >>confdefs.h <<\_ACEOF
2749 DEFAULT_DEFAULT_wxUSE_GTK=1
2750 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2752 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2757 cat >>confdefs.h <<\_ACEOF
2761 cat >>confdefs.h <<\_ACEOF
2765 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2766 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2771 cat >>confdefs.h <<\_ACEOF
2775 cat >>confdefs.h <<\_ACEOF
2779 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2784 cat >>confdefs.h <<\_ACEOF
2788 cat >>confdefs.h <<\_ACEOF
2792 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2799 cat >>confdefs.h <<\_ACEOF
2803 cat >>confdefs.h <<\_ACEOF
2807 cat >>confdefs.h <<\_ACEOF
2811 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2818 cat >>confdefs.h <<\_ACEOF
2819 #define __UNIXWARE__ 1
2824 *-*-cygwin* | *-*-mingw32* )
2827 DEFAULT_DEFAULT_wxUSE_MSW=1
2833 cat >>confdefs.h <<\_ACEOF
2838 DEFAULT_DEFAULT_wxUSE_MGL=1
2841 *-pc-os2_emx | *-pc-os2-emx )
2842 cat >>confdefs.h <<\_ACEOF
2847 cat >>confdefs.h <<\_ACEOF
2852 DEFAULT_DEFAULT_wxUSE_PM=1
2854 LDFLAGS="$LDFLAGS -Zcrtdll"
2855 ac_executable_extensions=".exe"
2856 export ac_executable_extensions
2860 for ac_dir in $PATH; do
2862 if test -z "$ac_TEMP_PATH"; then
2863 ac_TEMP_PATH="$ac_dir"
2865 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2868 export PATH="$ac_TEMP_PATH"
2877 cat >>confdefs.h <<\_ACEOF
2881 cat >>confdefs.h <<\_ACEOF
2882 #define __DARWIN__ 1
2885 cat >>confdefs.h <<\_ACEOF
2886 #define TARGET_CARBON 1
2889 DEFAULT_DEFAULT_wxUSE_MAC=1
2892 powerpc-apple-macos* )
2894 ac_cv_c_bigendian=yes
2896 DEFAULT_DEFAULT_wxUSE_MAC=1
2902 cat >>confdefs.h <<\_ACEOF
2909 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2910 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2911 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2912 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2914 DEFAULT_DEFAULT_wxUSE_X11=1
2915 DEFAULT_wxUSE_SHARED=no
2920 DEFAULT_wxUSE_ALL_FEATURES=yes
2922 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2923 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2925 DEFAULT_wxUSE_DMALLOC=no
2926 DEFAULT_wxUSE_LIBGNOMEVFS=no
2927 DEFAULT_wxUSE_LIBHILDON=no
2928 DEFAULT_wxUSE_LIBMSPACK=no
2929 DEFAULT_wxUSE_LIBSDL=no
2930 DEFAULT_wxUSE_OPENGL=no
2932 DEFAULT_wxUSE_ACCESSIBILITY=no
2933 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2934 DEFAULT_wxUSE_IPV6=no
2935 DEFAULT_wxUSE_MEDIACTRL=no
2936 DEFAULT_wxUSE_TAB_DIALOG=no
2937 DEFAULT_wxUSE_GSTREAMER8=no
2939 DEFAULT_wxUSE_UNICODE_UTF8=auto
2940 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2942 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2944 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2946 DEFAULT_wxUSE_GTK2=yes
2948 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2954 enablestring=disable
2956 if test -z "$defaultval"; then
2957 if test x"$enablestring" = xdisable; then
2964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2965 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2966 # Check whether --enable-gui was given.
2967 if test "${enable_gui+set}" = set; then
2968 enableval=$enable_gui;
2969 if test "$enableval" = yes; then
2970 wx_cv_use_gui='wxUSE_GUI=yes'
2972 wx_cv_use_gui='wxUSE_GUI=no'
2977 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2982 eval "$wx_cv_use_gui"
2984 if test x"$enablestring" = xdisable; then
2985 if test $wxUSE_GUI = yes; then
2994 { echo "$as_me:$LINENO: result: $result" >&5
2995 echo "${ECHO_T}$result" >&6; }
3000 if test -z "$defaultval"; then
3001 if test x"$enablestring" = xdisable; then
3008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3009 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3010 # Check whether --enable-monolithic was given.
3011 if test "${enable_monolithic+set}" = set; then
3012 enableval=$enable_monolithic;
3013 if test "$enableval" = yes; then
3014 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3016 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3021 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3026 eval "$wx_cv_use_monolithic"
3028 if test x"$enablestring" = xdisable; then
3029 if test $wxUSE_MONOLITHIC = yes; then
3035 result=$wxUSE_MONOLITHIC
3038 { echo "$as_me:$LINENO: result: $result" >&5
3039 echo "${ECHO_T}$result" >&6; }
3044 if test -z "$defaultval"; then
3045 if test x"$enablestring" = xdisable; then
3052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3053 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3054 # Check whether --enable-plugins was given.
3055 if test "${enable_plugins+set}" = set; then
3056 enableval=$enable_plugins;
3057 if test "$enableval" = yes; then
3058 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3060 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3065 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3070 eval "$wx_cv_use_plugins"
3072 if test x"$enablestring" = xdisable; then
3073 if test $wxUSE_PLUGINS = yes; then
3079 result=$wxUSE_PLUGINS
3082 { echo "$as_me:$LINENO: result: $result" >&5
3083 echo "${ECHO_T}$result" >&6; }
3087 defaultval=$wxUSE_ALL_FEATURES
3088 if test -z "$defaultval"; then
3089 if test x"$withstring" = xwithout; then
3095 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3096 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3098 # Check whether --with-subdirs was given.
3099 if test "${with_subdirs+set}" = set; then
3100 withval=$with_subdirs;
3101 if test "$withval" = yes; then
3102 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3104 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3109 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3114 eval "$wx_cv_use_subdirs"
3116 if test x"$withstring" = xwithout; then
3117 if test $wxWITH_SUBDIRS = yes; then
3123 result=$wxWITH_SUBDIRS
3126 { echo "$as_me:$LINENO: result: $result" >&5
3127 echo "${ECHO_T}$result" >&6; }
3130 # Check whether --with-flavour was given.
3131 if test "${with_flavour+set}" = set; then
3132 withval=$with_flavour; WX_FLAVOUR="$withval"
3138 if test -z "$defaultval"; then
3139 if test x"$enablestring" = xdisable; then
3146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3147 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3148 # Check whether --enable-official_build was given.
3149 if test "${enable_official_build+set}" = set; then
3150 enableval=$enable_official_build;
3151 if test "$enableval" = yes; then
3152 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3154 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3159 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3164 eval "$wx_cv_use_official_build"
3166 if test x"$enablestring" = xdisable; then
3167 if test $wxUSE_OFFICIAL_BUILD = yes; then
3173 result=$wxUSE_OFFICIAL_BUILD
3176 { echo "$as_me:$LINENO: result: $result" >&5
3177 echo "${ECHO_T}$result" >&6; }
3179 # Check whether --enable-vendor was given.
3180 if test "${enable_vendor+set}" = set; then
3181 enableval=$enable_vendor; VENDOR="$enableval"
3184 if test "x$VENDOR" = "x"; then
3189 enablestring=disable
3191 if test -z "$defaultval"; then
3192 if test x"$enablestring" = xdisable; then
3199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3200 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3201 # Check whether --enable-all-features was given.
3202 if test "${enable_all_features+set}" = set; then
3203 enableval=$enable_all_features;
3204 if test "$enableval" = yes; then
3205 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3207 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3212 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3217 eval "$wx_cv_use_all_features"
3219 if test x"$enablestring" = xdisable; then
3220 if test $wxUSE_ALL_FEATURES = yes; then
3226 result=$wxUSE_ALL_FEATURES
3229 { echo "$as_me:$LINENO: result: $result" >&5
3230 echo "${ECHO_T}$result" >&6; }
3234 if test "$wxUSE_GUI" = "yes"; then
3239 if test -z "$defaultval"; then
3240 if test x"$enablestring" = xdisable; then
3247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3248 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3249 # Check whether --enable-universal was given.
3250 if test "${enable_universal+set}" = set; then
3251 enableval=$enable_universal;
3252 if test "$enableval" = yes; then
3253 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3255 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3260 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3265 eval "$wx_cv_use_universal"
3267 if test x"$enablestring" = xdisable; then
3268 if test $wxUSE_UNIVERSAL = yes; then
3274 result=$wxUSE_UNIVERSAL
3277 { echo "$as_me:$LINENO: result: $result" >&5
3278 echo "${ECHO_T}$result" >&6; }
3280 if test "$wxUSE_UNIVERSAL" = "yes"; then
3282 # Check whether --with-themes was given.
3283 if test "${with_themes+set}" = set; then
3284 withval=$with_themes; wxUNIV_THEMES="$withval"
3290 # Check whether --with-gtk was given.
3291 if test "${with_gtk+set}" = set; then
3292 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3296 # Check whether --with-motif was given.
3297 if test "${with_motif+set}" = set; then
3298 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3302 # Check whether --with-mac was given.
3303 if test "${with_mac+set}" = set; then
3304 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3308 # Check whether --with-cocoa was given.
3309 if test "${with_cocoa+set}" = set; then
3310 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3314 # Check whether --with-wine was given.
3315 if test "${with_wine+set}" = set; then
3316 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3320 # Check whether --with-msw was given.
3321 if test "${with_msw+set}" = set; then
3322 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3326 # Check whether --with-pm was given.
3327 if test "${with_pm+set}" = set; then
3328 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3332 # Check whether --with-mgl was given.
3333 if test "${with_mgl+set}" = set; then
3334 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3338 # Check whether --with-directfb was given.
3339 if test "${with_directfb+set}" = set; then
3340 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3344 # Check whether --with-microwin was given.
3345 if test "${with_microwin+set}" = set; then
3346 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3350 # Check whether --with-x11 was given.
3351 if test "${with_x11+set}" = set; then
3352 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3358 if test -z "$defaultval"; then
3359 if test x"$enablestring" = xdisable; then
3366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3367 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3368 # Check whether --enable-nanox was given.
3369 if test "${enable_nanox+set}" = set; then
3370 enableval=$enable_nanox;
3371 if test "$enableval" = yes; then
3372 wx_cv_use_nanox='wxUSE_NANOX=yes'
3374 wx_cv_use_nanox='wxUSE_NANOX=no'
3379 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3384 eval "$wx_cv_use_nanox"
3386 if test x"$enablestring" = xdisable; then
3387 if test $wxUSE_NANOX = yes; then
3396 { echo "$as_me:$LINENO: result: $result" >&5
3397 echo "${ECHO_T}$result" >&6; }
3400 # Check whether --enable-gtk2 was given.
3401 if test "${enable_gtk2+set}" = set; then
3402 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3408 if test -z "$defaultval"; then
3409 if test x"$enablestring" = xdisable; then
3416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3417 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3418 # Check whether --enable-gpe was given.
3419 if test "${enable_gpe+set}" = set; then
3420 enableval=$enable_gpe;
3421 if test "$enableval" = yes; then
3422 wx_cv_use_gpe='wxUSE_GPE=yes'
3424 wx_cv_use_gpe='wxUSE_GPE=no'
3429 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3434 eval "$wx_cv_use_gpe"
3436 if test x"$enablestring" = xdisable; then
3437 if test $wxUSE_GPE = yes; then
3446 { echo "$as_me:$LINENO: result: $result" >&5
3447 echo "${ECHO_T}$result" >&6; }
3451 { echo "$as_me:$LINENO: checking for toolkit" >&5
3452 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3454 # In Wine, we need to default to MSW, not GTK or MOTIF
3455 if test "$wxUSE_WINE" = "yes"; then
3456 DEFAULT_DEFAULT_wxUSE_GTK=0
3457 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3458 DEFAULT_DEFAULT_wxUSE_MSW=1
3465 if test "$wxUSE_GUI" = "yes"; then
3467 if test "$USE_BEOS" = 1; then
3468 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3469 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3470 { (exit 1); exit 1; }; }
3473 if test "$TOOLKIT_GIVEN" = 1; then
3474 for toolkit in $ALL_TOOLKITS; do
3476 eval "value=\$${var}"
3477 if test "x$value" = "xno"; then
3479 elif test "x$value" != "x"; then
3483 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3484 eval "wx${toolkit}_VERSION=$value"
3488 for toolkit in $ALL_TOOLKITS; do
3489 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3490 eval "wxUSE_$toolkit=\$${var}"
3494 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
3495 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
3496 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3499 *-pc-os2_emx | *-pc-os2-emx )
3500 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3503 case "$NUM_TOOLKITS" in
3507 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3508 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3509 { (exit 1); exit 1; }; }
3512 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3513 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3514 { (exit 1); exit 1; }; }
3517 # to be removed when --disable-gtk2 isn't needed
3518 if test "x$wxUSE_GTK2" = "xyes"; then
3520 elif test "x$wxUSE_GTK2" = "xno"; then
3524 for toolkit in $ALL_TOOLKITS; do
3526 eval "value=\$${var}"
3527 if test "$value" = 1; then
3528 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3529 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3530 echo "${ECHO_T}$toolkit_echo" >&6; }
3534 if test "x$host_alias" != "x"; then
3535 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3536 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3538 { echo "$as_me:$LINENO: result: base only" >&5
3539 echo "${ECHO_T}base only" >&6; }
3545 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3546 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3548 # Check whether --with-libpng was given.
3549 if test "${with_libpng+set}" = set; then
3550 withval=$with_libpng;
3551 if test "$withval" = yes; then
3552 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3553 elif test "$withval" = no; then
3554 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3555 elif test "$withval" = sys; then
3556 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3557 elif test "$withval" = builtin; then
3558 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3560 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3561 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3562 { (exit 1); exit 1; }; }
3567 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3572 eval "$wx_cv_use_libpng"
3574 if test "$wxUSE_LIBPNG" = yes; then
3575 { echo "$as_me:$LINENO: result: yes" >&5
3576 echo "${ECHO_T}yes" >&6; }
3577 elif test "$wxUSE_LIBPNG" = no; then
3578 { echo "$as_me:$LINENO: result: no" >&5
3579 echo "${ECHO_T}no" >&6; }
3580 elif test "$wxUSE_LIBPNG" = sys; then
3581 { echo "$as_me:$LINENO: result: system version" >&5
3582 echo "${ECHO_T}system version" >&6; }
3583 elif test "$wxUSE_LIBPNG" = builtin; then
3584 { echo "$as_me:$LINENO: result: builtin version" >&5
3585 echo "${ECHO_T}builtin version" >&6; }
3587 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3588 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3589 { (exit 1); exit 1; }; }
3593 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3594 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3596 # Check whether --with-libjpeg was given.
3597 if test "${with_libjpeg+set}" = set; then
3598 withval=$with_libjpeg;
3599 if test "$withval" = yes; then
3600 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3601 elif test "$withval" = no; then
3602 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3603 elif test "$withval" = sys; then
3604 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3605 elif test "$withval" = builtin; then
3606 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3608 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3609 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3610 { (exit 1); exit 1; }; }
3615 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3620 eval "$wx_cv_use_libjpeg"
3622 if test "$wxUSE_LIBJPEG" = yes; then
3623 { echo "$as_me:$LINENO: result: yes" >&5
3624 echo "${ECHO_T}yes" >&6; }
3625 elif test "$wxUSE_LIBJPEG" = no; then
3626 { echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6; }
3628 elif test "$wxUSE_LIBJPEG" = sys; then
3629 { echo "$as_me:$LINENO: result: system version" >&5
3630 echo "${ECHO_T}system version" >&6; }
3631 elif test "$wxUSE_LIBJPEG" = builtin; then
3632 { echo "$as_me:$LINENO: result: builtin version" >&5
3633 echo "${ECHO_T}builtin version" >&6; }
3635 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3636 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3637 { (exit 1); exit 1; }; }
3641 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3642 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3644 # Check whether --with-libtiff was given.
3645 if test "${with_libtiff+set}" = set; then
3646 withval=$with_libtiff;
3647 if test "$withval" = yes; then
3648 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3649 elif test "$withval" = no; then
3650 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3651 elif test "$withval" = sys; then
3652 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3653 elif test "$withval" = builtin; then
3654 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3656 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3657 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3658 { (exit 1); exit 1; }; }
3663 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3668 eval "$wx_cv_use_libtiff"
3670 if test "$wxUSE_LIBTIFF" = yes; then
3671 { echo "$as_me:$LINENO: result: yes" >&5
3672 echo "${ECHO_T}yes" >&6; }
3673 elif test "$wxUSE_LIBTIFF" = no; then
3674 { echo "$as_me:$LINENO: result: no" >&5
3675 echo "${ECHO_T}no" >&6; }
3676 elif test "$wxUSE_LIBTIFF" = sys; then
3677 { echo "$as_me:$LINENO: result: system version" >&5
3678 echo "${ECHO_T}system version" >&6; }
3679 elif test "$wxUSE_LIBTIFF" = builtin; then
3680 { echo "$as_me:$LINENO: result: builtin version" >&5
3681 echo "${ECHO_T}builtin version" >&6; }
3683 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3684 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3685 { (exit 1); exit 1; }; }
3689 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3690 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3692 # Check whether --with-libxpm was given.
3693 if test "${with_libxpm+set}" = set; then
3694 withval=$with_libxpm;
3695 if test "$withval" = yes; then
3696 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3697 elif test "$withval" = no; then
3698 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3699 elif test "$withval" = sys; then
3700 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3701 elif test "$withval" = builtin; then
3702 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3704 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3705 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3706 { (exit 1); exit 1; }; }
3711 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3716 eval "$wx_cv_use_libxpm"
3718 if test "$wxUSE_LIBXPM" = yes; then
3719 { echo "$as_me:$LINENO: result: yes" >&5
3720 echo "${ECHO_T}yes" >&6; }
3721 elif test "$wxUSE_LIBXPM" = no; then
3722 { echo "$as_me:$LINENO: result: no" >&5
3723 echo "${ECHO_T}no" >&6; }
3724 elif test "$wxUSE_LIBXPM" = sys; then
3725 { echo "$as_me:$LINENO: result: system version" >&5
3726 echo "${ECHO_T}system version" >&6; }
3727 elif test "$wxUSE_LIBXPM" = builtin; then
3728 { echo "$as_me:$LINENO: result: builtin version" >&5
3729 echo "${ECHO_T}builtin version" >&6; }
3731 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3732 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3733 { (exit 1); exit 1; }; }
3738 defaultval=$wxUSE_ALL_FEATURES
3739 if test -z "$defaultval"; then
3740 if test x"$withstring" = xwithout; then
3746 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3747 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3749 # Check whether --with-libmspack was given.
3750 if test "${with_libmspack+set}" = set; then
3751 withval=$with_libmspack;
3752 if test "$withval" = yes; then
3753 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3755 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3760 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3765 eval "$wx_cv_use_libmspack"
3767 if test x"$withstring" = xwithout; then
3768 if test $wxUSE_LIBMSPACK = yes; then
3774 result=$wxUSE_LIBMSPACK
3777 { echo "$as_me:$LINENO: result: $result" >&5
3778 echo "${ECHO_T}$result" >&6; }
3782 defaultval=$wxUSE_ALL_FEATURES
3783 if test -z "$defaultval"; then
3784 if test x"$withstring" = xwithout; then
3790 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3791 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3793 # Check whether --with-gtkprint was given.
3794 if test "${with_gtkprint+set}" = set; then
3795 withval=$with_gtkprint;
3796 if test "$withval" = yes; then
3797 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3799 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3804 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3809 eval "$wx_cv_use_gtkprint"
3811 if test x"$withstring" = xwithout; then
3812 if test $wxUSE_GTKPRINT = yes; then
3818 result=$wxUSE_GTKPRINT
3821 { echo "$as_me:$LINENO: result: $result" >&5
3822 echo "${ECHO_T}$result" >&6; }
3826 defaultval=$wxUSE_ALL_FEATURES
3827 if test -z "$defaultval"; then
3828 if test x"$withstring" = xwithout; then
3834 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3835 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3837 # Check whether --with-gnomeprint was given.
3838 if test "${with_gnomeprint+set}" = set; then
3839 withval=$with_gnomeprint;
3840 if test "$withval" = yes; then
3841 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3843 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3848 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3853 eval "$wx_cv_use_gnomeprint"
3855 if test x"$withstring" = xwithout; then
3856 if test $wxUSE_LIBGNOMEPRINT = yes; then
3862 result=$wxUSE_LIBGNOMEPRINT
3865 { echo "$as_me:$LINENO: result: $result" >&5
3866 echo "${ECHO_T}$result" >&6; }
3870 defaultval=$wxUSE_ALL_FEATURES
3871 if test -z "$defaultval"; then
3872 if test x"$withstring" = xwithout; then
3878 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3879 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3881 # Check whether --with-gnomevfs was given.
3882 if test "${with_gnomevfs+set}" = set; then
3883 withval=$with_gnomevfs;
3884 if test "$withval" = yes; then
3885 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3887 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3892 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3897 eval "$wx_cv_use_gnomevfs"
3899 if test x"$withstring" = xwithout; then
3900 if test $wxUSE_LIBGNOMEVFS = yes; then
3906 result=$wxUSE_LIBGNOMEVFS
3909 { echo "$as_me:$LINENO: result: $result" >&5
3910 echo "${ECHO_T}$result" >&6; }
3914 defaultval=$wxUSE_ALL_FEATURES
3915 if test -z "$defaultval"; then
3916 if test x"$withstring" = xwithout; then
3922 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3923 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3925 # Check whether --with-hildon was given.
3926 if test "${with_hildon+set}" = set; then
3927 withval=$with_hildon;
3928 if test "$withval" = yes; then
3929 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3931 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3936 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3941 eval "$wx_cv_use_hildon"
3943 if test x"$withstring" = xwithout; then
3944 if test $wxUSE_LIBHILDON = yes; then
3950 result=$wxUSE_LIBHILDON
3953 { echo "$as_me:$LINENO: result: $result" >&5
3954 echo "${ECHO_T}$result" >&6; }
3958 defaultval=$wxUSE_ALL_FEATURES
3959 if test -z "$defaultval"; then
3960 if test x"$withstring" = xwithout; then
3966 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3967 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3969 # Check whether --with-opengl was given.
3970 if test "${with_opengl+set}" = set; then
3971 withval=$with_opengl;
3972 if test "$withval" = yes; then
3973 wx_cv_use_opengl='wxUSE_OPENGL=yes'
3975 wx_cv_use_opengl='wxUSE_OPENGL=no'
3980 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
3985 eval "$wx_cv_use_opengl"
3987 if test x"$withstring" = xwithout; then
3988 if test $wxUSE_OPENGL = yes; then
3994 result=$wxUSE_OPENGL
3997 { echo "$as_me:$LINENO: result: $result" >&5
3998 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}-dmalloc" >&5
4014 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4016 # Check whether --with-dmalloc was given.
4017 if test "${with_dmalloc+set}" = set; then
4018 withval=$with_dmalloc;
4019 if test "$withval" = yes; then
4020 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4022 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4027 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4032 eval "$wx_cv_use_dmalloc"
4034 if test x"$withstring" = xwithout; then
4035 if test $wxUSE_DMALLOC = yes; then
4041 result=$wxUSE_DMALLOC
4044 { echo "$as_me:$LINENO: result: $result" >&5
4045 echo "${ECHO_T}$result" >&6; }
4049 defaultval=$wxUSE_ALL_FEATURES
4050 if test -z "$defaultval"; then
4051 if test x"$withstring" = xwithout; then
4057 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4058 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4060 # Check whether --with-sdl was given.
4061 if test "${with_sdl+set}" = set; then
4063 if test "$withval" = yes; then
4064 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4066 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4071 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4076 eval "$wx_cv_use_sdl"
4078 if test x"$withstring" = xwithout; then
4079 if test $wxUSE_LIBSDL = yes; then
4085 result=$wxUSE_LIBSDL
4088 { echo "$as_me:$LINENO: result: $result" >&5
4089 echo "${ECHO_T}$result" >&6; }
4092 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4093 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4095 # Check whether --with-regex was given.
4096 if test "${with_regex+set}" = set; then
4097 withval=$with_regex;
4098 if test "$withval" = yes; then
4099 wx_cv_use_regex='wxUSE_REGEX=yes'
4100 elif test "$withval" = no; then
4101 wx_cv_use_regex='wxUSE_REGEX=no'
4102 elif test "$withval" = sys; then
4103 wx_cv_use_regex='wxUSE_REGEX=sys'
4104 elif test "$withval" = builtin; then
4105 wx_cv_use_regex='wxUSE_REGEX=builtin'
4107 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4108 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4109 { (exit 1); exit 1; }; }
4114 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4119 eval "$wx_cv_use_regex"
4121 if test "$wxUSE_REGEX" = yes; then
4122 { echo "$as_me:$LINENO: result: yes" >&5
4123 echo "${ECHO_T}yes" >&6; }
4124 elif test "$wxUSE_REGEX" = no; then
4125 { echo "$as_me:$LINENO: result: no" >&5
4126 echo "${ECHO_T}no" >&6; }
4127 elif test "$wxUSE_REGEX" = sys; then
4128 { echo "$as_me:$LINENO: result: system version" >&5
4129 echo "${ECHO_T}system version" >&6; }
4130 elif test "$wxUSE_REGEX" = builtin; then
4131 { echo "$as_me:$LINENO: result: builtin version" >&5
4132 echo "${ECHO_T}builtin version" >&6; }
4134 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4135 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4136 { (exit 1); exit 1; }; }
4140 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4141 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4143 # Check whether --with-zlib was given.
4144 if test "${with_zlib+set}" = set; then
4146 if test "$withval" = yes; then
4147 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4148 elif test "$withval" = no; then
4149 wx_cv_use_zlib='wxUSE_ZLIB=no'
4150 elif test "$withval" = sys; then
4151 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4152 elif test "$withval" = builtin; then
4153 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4155 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4156 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4157 { (exit 1); exit 1; }; }
4162 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4167 eval "$wx_cv_use_zlib"
4169 if test "$wxUSE_ZLIB" = yes; then
4170 { echo "$as_me:$LINENO: result: yes" >&5
4171 echo "${ECHO_T}yes" >&6; }
4172 elif test "$wxUSE_ZLIB" = no; then
4173 { echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6; }
4175 elif test "$wxUSE_ZLIB" = sys; then
4176 { echo "$as_me:$LINENO: result: system version" >&5
4177 echo "${ECHO_T}system version" >&6; }
4178 elif test "$wxUSE_ZLIB" = builtin; then
4179 { echo "$as_me:$LINENO: result: builtin version" >&5
4180 echo "${ECHO_T}builtin version" >&6; }
4182 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4183 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4184 { (exit 1); exit 1; }; }
4188 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4189 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4191 # Check whether --with-expat was given.
4192 if test "${with_expat+set}" = set; then
4193 withval=$with_expat;
4194 if test "$withval" = yes; then
4195 wx_cv_use_expat='wxUSE_EXPAT=yes'
4196 elif test "$withval" = no; then
4197 wx_cv_use_expat='wxUSE_EXPAT=no'
4198 elif test "$withval" = sys; then
4199 wx_cv_use_expat='wxUSE_EXPAT=sys'
4200 elif test "$withval" = builtin; then
4201 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4203 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4204 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4205 { (exit 1); exit 1; }; }
4210 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4215 eval "$wx_cv_use_expat"
4217 if test "$wxUSE_EXPAT" = yes; then
4218 { echo "$as_me:$LINENO: result: yes" >&5
4219 echo "${ECHO_T}yes" >&6; }
4220 elif test "$wxUSE_EXPAT" = no; then
4221 { echo "$as_me:$LINENO: result: no" >&5
4222 echo "${ECHO_T}no" >&6; }
4223 elif test "$wxUSE_EXPAT" = sys; then
4224 { echo "$as_me:$LINENO: result: system version" >&5
4225 echo "${ECHO_T}system version" >&6; }
4226 elif test "$wxUSE_EXPAT" = builtin; then
4227 { echo "$as_me:$LINENO: result: builtin version" >&5
4228 echo "${ECHO_T}builtin version" >&6; }
4230 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4231 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4232 { (exit 1); exit 1; }; }
4236 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4237 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4239 # Check whether --with-macosx-sdk was given.
4240 if test "${with_macosx_sdk+set}" = set; then
4241 withval=$with_macosx_sdk;
4242 wxUSE_MACOSX_SDK=$withval
4243 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4247 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4248 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4250 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4251 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4253 # Check whether --with-macosx-version-min was given.
4254 if test "${with_macosx_version_min+set}" = set; then
4255 withval=$with_macosx_version_min;
4256 wxUSE_MACOSX_VERSION_MIN=$withval
4257 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4261 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4262 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4266 enablestring=disable
4268 if test -z "$defaultval"; then
4269 if test x"$enablestring" = xdisable; then
4276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4277 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4278 # Check whether --enable-shared was given.
4279 if test "${enable_shared+set}" = set; then
4280 enableval=$enable_shared;
4281 if test "$enableval" = yes; then
4282 wx_cv_use_shared='wxUSE_SHARED=yes'
4284 wx_cv_use_shared='wxUSE_SHARED=no'
4289 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4294 eval "$wx_cv_use_shared"
4296 if test x"$enablestring" = xdisable; then
4297 if test $wxUSE_SHARED = yes; then
4303 result=$wxUSE_SHARED
4306 { echo "$as_me:$LINENO: result: $result" >&5
4307 echo "${ECHO_T}$result" >&6; }
4310 enablestring=disable
4312 if test -z "$defaultval"; then
4313 if test x"$enablestring" = xdisable; then
4320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4321 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4322 # Check whether --enable-optimise was given.
4323 if test "${enable_optimise+set}" = set; then
4324 enableval=$enable_optimise;
4325 if test "$enableval" = yes; then
4326 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4328 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4333 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4338 eval "$wx_cv_use_optimise"
4340 if test x"$enablestring" = xdisable; then
4341 if test $wxUSE_OPTIMISE = yes; then
4347 result=$wxUSE_OPTIMISE
4350 { echo "$as_me:$LINENO: result: $result" >&5
4351 echo "${ECHO_T}$result" >&6; }
4356 if test -z "$defaultval"; then
4357 if test x"$enablestring" = xdisable; then
4364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4365 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4366 # Check whether --enable-debug was given.
4367 if test "${enable_debug+set}" = set; then
4368 enableval=$enable_debug;
4369 if test "$enableval" = yes; then
4370 wx_cv_use_debug='wxUSE_DEBUG=yes'
4372 wx_cv_use_debug='wxUSE_DEBUG=no'
4377 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4382 eval "$wx_cv_use_debug"
4384 if test x"$enablestring" = xdisable; then
4385 if test $wxUSE_DEBUG = yes; then
4394 { echo "$as_me:$LINENO: result: $result" >&5
4395 echo "${ECHO_T}$result" >&6; }
4400 if test -z "$defaultval"; then
4401 if test x"$enablestring" = xdisable; then
4408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4409 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4410 # Check whether --enable-stl was given.
4411 if test "${enable_stl+set}" = set; then
4412 enableval=$enable_stl;
4413 if test "$enableval" = yes; then
4414 wx_cv_use_stl='wxUSE_STL=yes'
4416 wx_cv_use_stl='wxUSE_STL=no'
4421 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4426 eval "$wx_cv_use_stl"
4428 if test x"$enablestring" = xdisable; then
4429 if test $wxUSE_STL = yes; then
4438 { echo "$as_me:$LINENO: result: $result" >&5
4439 echo "${ECHO_T}$result" >&6; }
4444 if test -z "$defaultval"; then
4445 if test x"$enablestring" = xdisable; then
4452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4453 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4454 # Check whether --enable-std_iostreams was given.
4455 if test "${enable_std_iostreams+set}" = set; then
4456 enableval=$enable_std_iostreams;
4457 if test "$enableval" = yes; then
4458 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4460 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4465 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4470 eval "$wx_cv_use_std_iostreams"
4472 if test x"$enablestring" = xdisable; then
4473 if test $wxUSE_STD_IOSTREAM = yes; then
4479 result=$wxUSE_STD_IOSTREAM
4482 { echo "$as_me:$LINENO: result: $result" >&5
4483 echo "${ECHO_T}$result" >&6; }
4488 if test -z "$defaultval"; then
4489 if test x"$enablestring" = xdisable; then
4496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4497 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4498 # Check whether --enable-std_string was given.
4499 if test "${enable_std_string+set}" = set; then
4500 enableval=$enable_std_string;
4501 if test "$enableval" = yes; then
4502 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4504 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4509 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4514 eval "$wx_cv_use_std_string"
4516 if test x"$enablestring" = xdisable; then
4517 if test $wxUSE_STD_STRING = yes; then
4523 result=$wxUSE_STD_STRING
4526 { echo "$as_me:$LINENO: result: $result" >&5
4527 echo "${ECHO_T}$result" >&6; }
4530 enablestring=disable
4532 if test -z "$defaultval"; then
4533 if test x"$enablestring" = xdisable; then
4540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4541 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4542 # Check whether --enable-unicode was given.
4543 if test "${enable_unicode+set}" = set; then
4544 enableval=$enable_unicode;
4545 if test "$enableval" = yes; then
4546 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4548 wx_cv_use_unicode='wxUSE_UNICODE=no'
4553 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4558 eval "$wx_cv_use_unicode"
4560 if test x"$enablestring" = xdisable; then
4561 if test $wxUSE_UNICODE = yes; then
4567 result=$wxUSE_UNICODE
4570 { echo "$as_me:$LINENO: result: $result" >&5
4571 echo "${ECHO_T}$result" >&6; }
4576 if test -z "$defaultval"; then
4577 if test x"$enablestring" = xdisable; then
4584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4585 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4586 # Check whether --enable-mslu was given.
4587 if test "${enable_mslu+set}" = set; then
4588 enableval=$enable_mslu;
4589 if test "$enableval" = yes; then
4590 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4592 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4597 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4602 eval "$wx_cv_use_mslu"
4604 if test x"$enablestring" = xdisable; then
4605 if test $wxUSE_UNICODE_MSLU = yes; then
4611 result=$wxUSE_UNICODE_MSLU
4614 { echo "$as_me:$LINENO: result: $result" >&5
4615 echo "${ECHO_T}$result" >&6; }
4619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4620 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4621 # Check whether --enable-utf8 was given.
4622 if test "${enable_utf8+set}" = set; then
4623 enableval=$enable_utf8;
4624 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4628 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4633 eval "$wx_cv_use_utf8"
4635 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4636 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4641 if test -z "$defaultval"; then
4642 if test x"$enablestring" = xdisable; then
4649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4650 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4651 # Check whether --enable-utf8only was given.
4652 if test "${enable_utf8only+set}" = set; then
4653 enableval=$enable_utf8only;
4654 if test "$enableval" = yes; then
4655 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4657 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4662 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4667 eval "$wx_cv_use_utf8only"
4669 if test x"$enablestring" = xdisable; then
4670 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4676 result=$wxUSE_UNICODE_UTF8_LOCALE
4679 { echo "$as_me:$LINENO: result: $result" >&5
4680 echo "${ECHO_T}$result" >&6; }
4685 if test -z "$defaultval"; then
4686 if test x"$enablestring" = xdisable; then
4693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4694 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4695 # Check whether --enable-extended_rtti was given.
4696 if test "${enable_extended_rtti+set}" = set; then
4697 enableval=$enable_extended_rtti;
4698 if test "$enableval" = yes; then
4699 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4701 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4706 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4711 eval "$wx_cv_use_extended_rtti"
4713 if test x"$enablestring" = xdisable; then
4714 if test $wxUSE_EXTENDED_RTTI = yes; then
4720 result=$wxUSE_EXTENDED_RTTI
4723 { echo "$as_me:$LINENO: result: $result" >&5
4724 echo "${ECHO_T}$result" >&6; }
4726 if test "$USE_OS2" = 1; then
4727 DEFAULT_wxUSE_OMF=no
4731 if test -z "$defaultval"; then
4732 if test x"$enablestring" = xdisable; then
4739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4740 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4741 # Check whether --enable-omf was given.
4742 if test "${enable_omf+set}" = set; then
4743 enableval=$enable_omf;
4744 if test "$enableval" = yes; then
4745 wx_cv_use_omf='wxUSE_OMF=yes'
4747 wx_cv_use_omf='wxUSE_OMF=no'
4752 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4757 eval "$wx_cv_use_omf"
4759 if test x"$enablestring" = xdisable; then
4760 if test $wxUSE_OMF = yes; then
4769 { echo "$as_me:$LINENO: result: $result" >&5
4770 echo "${ECHO_T}$result" >&6; }
4774 if test "$wxUSE_DEBUG" = "yes"; then
4775 DEFAULT_wxUSE_DEBUG_FLAG=yes
4776 DEFAULT_wxUSE_DEBUG_INFO=yes
4778 elif test "$wxUSE_DEBUG" = "no"; then
4779 DEFAULT_wxUSE_DEBUG_FLAG=no
4780 DEFAULT_wxUSE_DEBUG_INFO=no
4787 if test -z "$defaultval"; then
4788 if test x"$enablestring" = xdisable; then
4795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4796 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4797 # Check whether --enable-debug_flag was given.
4798 if test "${enable_debug_flag+set}" = set; then
4799 enableval=$enable_debug_flag;
4800 if test "$enableval" = yes; then
4801 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4803 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4808 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4813 eval "$wx_cv_use_debug_flag"
4815 if test x"$enablestring" = xdisable; then
4816 if test $wxUSE_DEBUG_FLAG = yes; then
4822 result=$wxUSE_DEBUG_FLAG
4825 { echo "$as_me:$LINENO: result: $result" >&5
4826 echo "${ECHO_T}$result" >&6; }
4831 if test -z "$defaultval"; then
4832 if test x"$enablestring" = xdisable; then
4839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4840 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4841 # Check whether --enable-debug_info was given.
4842 if test "${enable_debug_info+set}" = set; then
4843 enableval=$enable_debug_info;
4844 if test "$enableval" = yes; then
4845 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4847 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4852 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4857 eval "$wx_cv_use_debug_info"
4859 if test x"$enablestring" = xdisable; then
4860 if test $wxUSE_DEBUG_INFO = yes; then
4866 result=$wxUSE_DEBUG_INFO
4869 { echo "$as_me:$LINENO: result: $result" >&5
4870 echo "${ECHO_T}$result" >&6; }
4873 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4881 if test -z "$defaultval"; then
4882 if test x"$enablestring" = xdisable; then
4889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4890 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4891 # Check whether --enable-debug_gdb was given.
4892 if test "${enable_debug_gdb+set}" = set; then
4893 enableval=$enable_debug_gdb;
4894 if test "$enableval" = yes; then
4895 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4897 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4902 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4907 eval "$wx_cv_use_debug_gdb"
4909 if test x"$enablestring" = xdisable; then
4910 if test $wxUSE_DEBUG_GDB = yes; then
4916 result=$wxUSE_DEBUG_GDB
4919 { echo "$as_me:$LINENO: result: $result" >&5
4920 echo "${ECHO_T}$result" >&6; }
4925 if test -z "$defaultval"; then
4926 if test x"$enablestring" = xdisable; then
4933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4934 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4935 # Check whether --enable-debug_cntxt was given.
4936 if test "${enable_debug_cntxt+set}" = set; then
4937 enableval=$enable_debug_cntxt;
4938 if test "$enableval" = yes; then
4939 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4941 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4946 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4951 eval "$wx_cv_use_debug_cntxt"
4953 if test x"$enablestring" = xdisable; then
4954 if test $wxUSE_DEBUG_CONTEXT = yes; then
4960 result=$wxUSE_DEBUG_CONTEXT
4963 { echo "$as_me:$LINENO: result: $result" >&5
4964 echo "${ECHO_T}$result" >&6; }
4969 if test -z "$defaultval"; then
4970 if test x"$enablestring" = xdisable; then
4977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4978 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4979 # Check whether --enable-mem_tracing was given.
4980 if test "${enable_mem_tracing+set}" = set; then
4981 enableval=$enable_mem_tracing;
4982 if test "$enableval" = yes; then
4983 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4985 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4990 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4995 eval "$wx_cv_use_mem_tracing"
4997 if test x"$enablestring" = xdisable; then
4998 if test $wxUSE_MEM_TRACING = yes; then
5004 result=$wxUSE_MEM_TRACING
5007 { echo "$as_me:$LINENO: result: $result" >&5
5008 echo "${ECHO_T}$result" >&6; }
5013 if test -z "$defaultval"; then
5014 if test x"$enablestring" = xdisable; then
5021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5022 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5023 # Check whether --enable-profile was given.
5024 if test "${enable_profile+set}" = set; then
5025 enableval=$enable_profile;
5026 if test "$enableval" = yes; then
5027 wx_cv_use_profile='wxUSE_PROFILE=yes'
5029 wx_cv_use_profile='wxUSE_PROFILE=no'
5034 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5039 eval "$wx_cv_use_profile"
5041 if test x"$enablestring" = xdisable; then
5042 if test $wxUSE_PROFILE = yes; then
5048 result=$wxUSE_PROFILE
5051 { echo "$as_me:$LINENO: result: $result" >&5
5052 echo "${ECHO_T}$result" >&6; }
5057 if test -z "$defaultval"; then
5058 if test x"$enablestring" = xdisable; then
5065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5066 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5067 # Check whether --enable-no_rtti was given.
5068 if test "${enable_no_rtti+set}" = set; then
5069 enableval=$enable_no_rtti;
5070 if test "$enableval" = yes; then
5071 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5073 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5078 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5083 eval "$wx_cv_use_no_rtti"
5085 if test x"$enablestring" = xdisable; then
5086 if test $wxUSE_NO_RTTI = yes; then
5092 result=$wxUSE_NO_RTTI
5095 { echo "$as_me:$LINENO: result: $result" >&5
5096 echo "${ECHO_T}$result" >&6; }
5101 if test -z "$defaultval"; then
5102 if test x"$enablestring" = xdisable; then
5109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5110 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5111 # Check whether --enable-no_exceptions was given.
5112 if test "${enable_no_exceptions+set}" = set; then
5113 enableval=$enable_no_exceptions;
5114 if test "$enableval" = yes; then
5115 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5117 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5122 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5127 eval "$wx_cv_use_no_exceptions"
5129 if test x"$enablestring" = xdisable; then
5130 if test $wxUSE_NO_EXCEPTIONS = yes; then
5136 result=$wxUSE_NO_EXCEPTIONS
5139 { echo "$as_me:$LINENO: result: $result" >&5
5140 echo "${ECHO_T}$result" >&6; }
5145 if test -z "$defaultval"; then
5146 if test x"$enablestring" = xdisable; then
5153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5154 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5155 # Check whether --enable-permissive was given.
5156 if test "${enable_permissive+set}" = set; then
5157 enableval=$enable_permissive;
5158 if test "$enableval" = yes; then
5159 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5161 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5166 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5171 eval "$wx_cv_use_permissive"
5173 if test x"$enablestring" = xdisable; then
5174 if test $wxUSE_PERMISSIVE = yes; then
5180 result=$wxUSE_PERMISSIVE
5183 { echo "$as_me:$LINENO: result: $result" >&5
5184 echo "${ECHO_T}$result" >&6; }
5189 if test -z "$defaultval"; then
5190 if test x"$enablestring" = xdisable; then
5197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5198 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5199 # Check whether --enable-no_deps was given.
5200 if test "${enable_no_deps+set}" = set; then
5201 enableval=$enable_no_deps;
5202 if test "$enableval" = yes; then
5203 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5205 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5210 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5215 eval "$wx_cv_use_no_deps"
5217 if test x"$enablestring" = xdisable; then
5218 if test $wxUSE_NO_DEPS = yes; then
5224 result=$wxUSE_NO_DEPS
5227 { echo "$as_me:$LINENO: result: $result" >&5
5228 echo "${ECHO_T}$result" >&6; }
5231 enablestring=disable
5233 if test -z "$defaultval"; then
5234 if test x"$enablestring" = xdisable; then
5241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5242 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5243 # Check whether --enable-vararg_macros was given.
5244 if test "${enable_vararg_macros+set}" = set; then
5245 enableval=$enable_vararg_macros;
5246 if test "$enableval" = yes; then
5247 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5249 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5254 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5259 eval "$wx_cv_use_vararg_macros"
5261 if test x"$enablestring" = xdisable; then
5262 if test $wxUSE_VARARG_MACROS = yes; then
5268 result=$wxUSE_VARARG_MACROS
5271 { echo "$as_me:$LINENO: result: $result" >&5
5272 echo "${ECHO_T}$result" >&6; }
5276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5277 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5278 # Check whether --enable-universal_binary was given.
5279 if test "${enable_universal_binary+set}" = set; then
5280 enableval=$enable_universal_binary;
5281 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5285 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5290 eval "$wx_cv_use_universal_binary"
5292 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5293 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5299 if test -z "$defaultval"; then
5300 if test x"$enablestring" = xdisable; then
5307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5308 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5309 # Check whether --enable-compat26 was given.
5310 if test "${enable_compat26+set}" = set; then
5311 enableval=$enable_compat26;
5312 if test "$enableval" = yes; then
5313 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5315 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5320 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5325 eval "$wx_cv_use_compat26"
5327 if test x"$enablestring" = xdisable; then
5328 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5334 result=$WXWIN_COMPATIBILITY_2_6
5337 { echo "$as_me:$LINENO: result: $result" >&5
5338 echo "${ECHO_T}$result" >&6; }
5341 enablestring=disable
5343 if test -z "$defaultval"; then
5344 if test x"$enablestring" = xdisable; then
5351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5352 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5353 # Check whether --enable-compat28 was given.
5354 if test "${enable_compat28+set}" = set; then
5355 enableval=$enable_compat28;
5356 if test "$enableval" = yes; then
5357 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5359 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5364 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5369 eval "$wx_cv_use_compat28"
5371 if test x"$enablestring" = xdisable; then
5372 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5378 result=$WXWIN_COMPATIBILITY_2_8
5381 { echo "$as_me:$LINENO: result: $result" >&5
5382 echo "${ECHO_T}$result" >&6; }
5386 enablestring=disable
5388 if test -z "$defaultval"; then
5389 if test x"$enablestring" = xdisable; then
5396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5397 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5398 # Check whether --enable-rpath was given.
5399 if test "${enable_rpath+set}" = set; then
5400 enableval=$enable_rpath;
5401 if test "$enableval" = yes; then
5402 wx_cv_use_rpath='wxUSE_RPATH=yes'
5404 wx_cv_use_rpath='wxUSE_RPATH=no'
5409 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5414 eval "$wx_cv_use_rpath"
5416 if test x"$enablestring" = xdisable; then
5417 if test $wxUSE_RPATH = yes; then
5426 { echo "$as_me:$LINENO: result: $result" >&5
5427 echo "${ECHO_T}$result" >&6; }
5433 if test -z "$defaultval"; then
5434 if test x"$enablestring" = xdisable; then
5441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5443 # Check whether --enable-objc_uniquifying was given.
5444 if test "${enable_objc_uniquifying+set}" = set; then
5445 enableval=$enable_objc_uniquifying;
5446 if test "$enableval" = yes; then
5447 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5449 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5454 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5459 eval "$wx_cv_use_objc_uniquifying"
5461 if test x"$enablestring" = xdisable; then
5462 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5468 result=$wxUSE_OBJC_UNIQUIFYING
5471 { echo "$as_me:$LINENO: result: $result" >&5
5472 echo "${ECHO_T}$result" >&6; }
5476 enablestring=disable
5478 if test -z "$defaultval"; then
5479 if test x"$enablestring" = xdisable; then
5486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5487 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5488 # Check whether --enable-visibility was given.
5489 if test "${enable_visibility+set}" = set; then
5490 enableval=$enable_visibility;
5491 if test "$enableval" = yes; then
5492 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5494 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5499 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5504 eval "$wx_cv_use_visibility"
5506 if test x"$enablestring" = xdisable; then
5507 if test $wxUSE_VISIBILITY = yes; then
5513 result=$wxUSE_VISIBILITY
5516 { echo "$as_me:$LINENO: result: $result" >&5
5517 echo "${ECHO_T}$result" >&6; }
5523 defaultval=$wxUSE_ALL_FEATURES
5524 if test -z "$defaultval"; then
5525 if test x"$enablestring" = xdisable; then
5532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5533 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5534 # Check whether --enable-intl was given.
5535 if test "${enable_intl+set}" = set; then
5536 enableval=$enable_intl;
5537 if test "$enableval" = yes; then
5538 wx_cv_use_intl='wxUSE_INTL=yes'
5540 wx_cv_use_intl='wxUSE_INTL=no'
5545 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5550 eval "$wx_cv_use_intl"
5552 if test x"$enablestring" = xdisable; then
5553 if test $wxUSE_INTL = yes; then
5562 { echo "$as_me:$LINENO: result: $result" >&5
5563 echo "${ECHO_T}$result" >&6; }
5567 defaultval=$wxUSE_ALL_FEATURES
5568 if test -z "$defaultval"; then
5569 if test x"$enablestring" = xdisable; then
5576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5577 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5578 # Check whether --enable-config was given.
5579 if test "${enable_config+set}" = set; then
5580 enableval=$enable_config;
5581 if test "$enableval" = yes; then
5582 wx_cv_use_config='wxUSE_CONFIG=yes'
5584 wx_cv_use_config='wxUSE_CONFIG=no'
5589 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5594 eval "$wx_cv_use_config"
5596 if test x"$enablestring" = xdisable; then
5597 if test $wxUSE_CONFIG = yes; then
5603 result=$wxUSE_CONFIG
5606 { echo "$as_me:$LINENO: result: $result" >&5
5607 echo "${ECHO_T}$result" >&6; }
5612 defaultval=$wxUSE_ALL_FEATURES
5613 if test -z "$defaultval"; then
5614 if test x"$enablestring" = xdisable; then
5621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5622 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5623 # Check whether --enable-protocols was given.
5624 if test "${enable_protocols+set}" = set; then
5625 enableval=$enable_protocols;
5626 if test "$enableval" = yes; then
5627 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5629 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5634 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5639 eval "$wx_cv_use_protocols"
5641 if test x"$enablestring" = xdisable; then
5642 if test $wxUSE_PROTOCOL = yes; then
5648 result=$wxUSE_PROTOCOL
5651 { echo "$as_me:$LINENO: result: $result" >&5
5652 echo "${ECHO_T}$result" >&6; }
5656 defaultval=$wxUSE_ALL_FEATURES
5657 if test -z "$defaultval"; then
5658 if test x"$enablestring" = xdisable; then
5665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5666 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5667 # Check whether --enable-ftp was given.
5668 if test "${enable_ftp+set}" = set; then
5669 enableval=$enable_ftp;
5670 if test "$enableval" = yes; then
5671 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5673 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5678 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5683 eval "$wx_cv_use_ftp"
5685 if test x"$enablestring" = xdisable; then
5686 if test $wxUSE_PROTOCOL_FTP = yes; then
5692 result=$wxUSE_PROTOCOL_FTP
5695 { echo "$as_me:$LINENO: result: $result" >&5
5696 echo "${ECHO_T}$result" >&6; }
5700 defaultval=$wxUSE_ALL_FEATURES
5701 if test -z "$defaultval"; then
5702 if test x"$enablestring" = xdisable; then
5709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5710 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5711 # Check whether --enable-http was given.
5712 if test "${enable_http+set}" = set; then
5713 enableval=$enable_http;
5714 if test "$enableval" = yes; then
5715 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5717 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5722 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5727 eval "$wx_cv_use_http"
5729 if test x"$enablestring" = xdisable; then
5730 if test $wxUSE_PROTOCOL_HTTP = yes; then
5736 result=$wxUSE_PROTOCOL_HTTP
5739 { echo "$as_me:$LINENO: result: $result" >&5
5740 echo "${ECHO_T}$result" >&6; }
5744 defaultval=$wxUSE_ALL_FEATURES
5745 if test -z "$defaultval"; then
5746 if test x"$enablestring" = xdisable; then
5753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5754 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5755 # Check whether --enable-fileproto was given.
5756 if test "${enable_fileproto+set}" = set; then
5757 enableval=$enable_fileproto;
5758 if test "$enableval" = yes; then
5759 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5761 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5766 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5771 eval "$wx_cv_use_fileproto"
5773 if test x"$enablestring" = xdisable; then
5774 if test $wxUSE_PROTOCOL_FILE = yes; then
5780 result=$wxUSE_PROTOCOL_FILE
5783 { echo "$as_me:$LINENO: result: $result" >&5
5784 echo "${ECHO_T}$result" >&6; }
5788 defaultval=$wxUSE_ALL_FEATURES
5789 if test -z "$defaultval"; then
5790 if test x"$enablestring" = xdisable; then
5797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5798 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5799 # Check whether --enable-sockets was given.
5800 if test "${enable_sockets+set}" = set; then
5801 enableval=$enable_sockets;
5802 if test "$enableval" = yes; then
5803 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5805 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5810 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5815 eval "$wx_cv_use_sockets"
5817 if test x"$enablestring" = xdisable; then
5818 if test $wxUSE_SOCKETS = yes; then
5824 result=$wxUSE_SOCKETS
5827 { echo "$as_me:$LINENO: result: $result" >&5
5828 echo "${ECHO_T}$result" >&6; }
5832 defaultval=$wxUSE_ALL_FEATURES
5833 if test -z "$defaultval"; then
5834 if test x"$enablestring" = xdisable; then
5841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5842 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5843 # Check whether --enable-ipv6 was given.
5844 if test "${enable_ipv6+set}" = set; then
5845 enableval=$enable_ipv6;
5846 if test "$enableval" = yes; then
5847 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5849 wx_cv_use_ipv6='wxUSE_IPV6=no'
5854 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5859 eval "$wx_cv_use_ipv6"
5861 if test x"$enablestring" = xdisable; then
5862 if test $wxUSE_IPV6 = yes; then
5871 { echo "$as_me:$LINENO: result: $result" >&5
5872 echo "${ECHO_T}$result" >&6; }
5876 defaultval=$wxUSE_ALL_FEATURES
5877 if test -z "$defaultval"; then
5878 if test x"$enablestring" = xdisable; then
5885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5886 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5887 # Check whether --enable-ole was given.
5888 if test "${enable_ole+set}" = set; then
5889 enableval=$enable_ole;
5890 if test "$enableval" = yes; then
5891 wx_cv_use_ole='wxUSE_OLE=yes'
5893 wx_cv_use_ole='wxUSE_OLE=no'
5898 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5903 eval "$wx_cv_use_ole"
5905 if test x"$enablestring" = xdisable; then
5906 if test $wxUSE_OLE = yes; then
5915 { echo "$as_me:$LINENO: result: $result" >&5
5916 echo "${ECHO_T}$result" >&6; }
5920 defaultval=$wxUSE_ALL_FEATURES
5921 if test -z "$defaultval"; then
5922 if test x"$enablestring" = xdisable; then
5929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5930 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5931 # Check whether --enable-dataobj was given.
5932 if test "${enable_dataobj+set}" = set; then
5933 enableval=$enable_dataobj;
5934 if test "$enableval" = yes; then
5935 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5937 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
5942 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5947 eval "$wx_cv_use_dataobj"
5949 if test x"$enablestring" = xdisable; then
5950 if test $wxUSE_DATAOBJ = yes; then
5956 result=$wxUSE_DATAOBJ
5959 { echo "$as_me:$LINENO: result: $result" >&5
5960 echo "${ECHO_T}$result" >&6; }
5965 defaultval=$wxUSE_ALL_FEATURES
5966 if test -z "$defaultval"; then
5967 if test x"$enablestring" = xdisable; then
5974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5975 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5976 # Check whether --enable-ipc was given.
5977 if test "${enable_ipc+set}" = set; then
5978 enableval=$enable_ipc;
5979 if test "$enableval" = yes; then
5980 wx_cv_use_ipc='wxUSE_IPC=yes'
5982 wx_cv_use_ipc='wxUSE_IPC=no'
5987 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
5992 eval "$wx_cv_use_ipc"
5994 if test x"$enablestring" = xdisable; then
5995 if test $wxUSE_IPC = yes; then
6004 { echo "$as_me:$LINENO: result: $result" >&5
6005 echo "${ECHO_T}$result" >&6; }
6010 defaultval=$wxUSE_ALL_FEATURES
6011 if test -z "$defaultval"; then
6012 if test x"$enablestring" = xdisable; then
6019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6020 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6021 # Check whether --enable-baseevtloop was given.
6022 if test "${enable_baseevtloop+set}" = set; then
6023 enableval=$enable_baseevtloop;
6024 if test "$enableval" = yes; then
6025 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6027 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6032 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6037 eval "$wx_cv_use_baseevtloop"
6039 if test x"$enablestring" = xdisable; then
6040 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6046 result=$wxUSE_CONSOLE_EVENTLOOP
6049 { echo "$as_me:$LINENO: result: $result" >&5
6050 echo "${ECHO_T}$result" >&6; }
6054 defaultval=$wxUSE_ALL_FEATURES
6055 if test -z "$defaultval"; then
6056 if test x"$enablestring" = xdisable; then
6063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6064 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6065 # Check whether --enable-epollloop was given.
6066 if test "${enable_epollloop+set}" = set; then
6067 enableval=$enable_epollloop;
6068 if test "$enableval" = yes; then
6069 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6071 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6076 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6081 eval "$wx_cv_use_epollloop"
6083 if test x"$enablestring" = xdisable; then
6084 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6090 result=$wxUSE_EPOLL_DISPATCHER
6093 { echo "$as_me:$LINENO: result: $result" >&5
6094 echo "${ECHO_T}$result" >&6; }
6098 defaultval=$wxUSE_ALL_FEATURES
6099 if test -z "$defaultval"; then
6100 if test x"$enablestring" = xdisable; then
6107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6108 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6109 # Check whether --enable-selectloop was given.
6110 if test "${enable_selectloop+set}" = set; then
6111 enableval=$enable_selectloop;
6112 if test "$enableval" = yes; then
6113 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6115 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6120 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6125 eval "$wx_cv_use_selectloop"
6127 if test x"$enablestring" = xdisable; then
6128 if test $wxUSE_SELECT_DISPATCHER = yes; then
6134 result=$wxUSE_SELECT_DISPATCHER
6137 { echo "$as_me:$LINENO: result: $result" >&5
6138 echo "${ECHO_T}$result" >&6; }
6143 defaultval=$wxUSE_ALL_FEATURES
6144 if test -z "$defaultval"; then
6145 if test x"$enablestring" = xdisable; then
6152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6153 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6154 # Check whether --enable-apple_ieee was given.
6155 if test "${enable_apple_ieee+set}" = set; then
6156 enableval=$enable_apple_ieee;
6157 if test "$enableval" = yes; then
6158 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6160 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6165 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6170 eval "$wx_cv_use_apple_ieee"
6172 if test x"$enablestring" = xdisable; then
6173 if test $wxUSE_APPLE_IEEE = yes; then
6179 result=$wxUSE_APPLE_IEEE
6182 { echo "$as_me:$LINENO: result: $result" >&5
6183 echo "${ECHO_T}$result" >&6; }
6187 defaultval=$wxUSE_ALL_FEATURES
6188 if test -z "$defaultval"; then
6189 if test x"$enablestring" = xdisable; then
6196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6197 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6198 # Check whether --enable-arcstream was given.
6199 if test "${enable_arcstream+set}" = set; then
6200 enableval=$enable_arcstream;
6201 if test "$enableval" = yes; then
6202 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6204 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6209 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6214 eval "$wx_cv_use_arcstream"
6216 if test x"$enablestring" = xdisable; then
6217 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6223 result=$wxUSE_ARCHIVE_STREAMS
6226 { echo "$as_me:$LINENO: result: $result" >&5
6227 echo "${ECHO_T}$result" >&6; }
6231 defaultval=$wxUSE_ALL_FEATURES
6232 if test -z "$defaultval"; then
6233 if test x"$enablestring" = xdisable; then
6240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6241 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6242 # Check whether --enable-base64 was given.
6243 if test "${enable_base64+set}" = set; then
6244 enableval=$enable_base64;
6245 if test "$enableval" = yes; then
6246 wx_cv_use_base64='wxUSE_BASE64=yes'
6248 wx_cv_use_base64='wxUSE_BASE64=no'
6253 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6258 eval "$wx_cv_use_base64"
6260 if test x"$enablestring" = xdisable; then
6261 if test $wxUSE_BASE64 = yes; then
6267 result=$wxUSE_BASE64
6270 { echo "$as_me:$LINENO: result: $result" >&5
6271 echo "${ECHO_T}$result" >&6; }
6275 defaultval=$wxUSE_ALL_FEATURES
6276 if test -z "$defaultval"; then
6277 if test x"$enablestring" = xdisable; then
6284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6285 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6286 # Check whether --enable-backtrace was given.
6287 if test "${enable_backtrace+set}" = set; then
6288 enableval=$enable_backtrace;
6289 if test "$enableval" = yes; then
6290 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6292 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6297 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6302 eval "$wx_cv_use_backtrace"
6304 if test x"$enablestring" = xdisable; then
6305 if test $wxUSE_STACKWALKER = yes; then
6311 result=$wxUSE_STACKWALKER
6314 { echo "$as_me:$LINENO: result: $result" >&5
6315 echo "${ECHO_T}$result" >&6; }
6319 defaultval=$wxUSE_ALL_FEATURES
6320 if test -z "$defaultval"; then
6321 if test x"$enablestring" = xdisable; then
6328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6329 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6330 # Check whether --enable-catch_segvs was given.
6331 if test "${enable_catch_segvs+set}" = set; then
6332 enableval=$enable_catch_segvs;
6333 if test "$enableval" = yes; then
6334 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6336 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6341 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6346 eval "$wx_cv_use_catch_segvs"
6348 if test x"$enablestring" = xdisable; then
6349 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6355 result=$wxUSE_ON_FATAL_EXCEPTION
6358 { echo "$as_me:$LINENO: result: $result" >&5
6359 echo "${ECHO_T}$result" >&6; }
6363 defaultval=$wxUSE_ALL_FEATURES
6364 if test -z "$defaultval"; then
6365 if test x"$enablestring" = xdisable; then
6372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6373 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6374 # Check whether --enable-cmdline was given.
6375 if test "${enable_cmdline+set}" = set; then
6376 enableval=$enable_cmdline;
6377 if test "$enableval" = yes; then
6378 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6380 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6385 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6390 eval "$wx_cv_use_cmdline"
6392 if test x"$enablestring" = xdisable; then
6393 if test $wxUSE_CMDLINE_PARSER = yes; then
6399 result=$wxUSE_CMDLINE_PARSER
6402 { echo "$as_me:$LINENO: result: $result" >&5
6403 echo "${ECHO_T}$result" >&6; }
6407 defaultval=$wxUSE_ALL_FEATURES
6408 if test -z "$defaultval"; then
6409 if test x"$enablestring" = xdisable; then
6416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6417 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6418 # Check whether --enable-datetime was given.
6419 if test "${enable_datetime+set}" = set; then
6420 enableval=$enable_datetime;
6421 if test "$enableval" = yes; then
6422 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6424 wx_cv_use_datetime='wxUSE_DATETIME=no'
6429 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6434 eval "$wx_cv_use_datetime"
6436 if test x"$enablestring" = xdisable; then
6437 if test $wxUSE_DATETIME = yes; then
6443 result=$wxUSE_DATETIME
6446 { echo "$as_me:$LINENO: result: $result" >&5
6447 echo "${ECHO_T}$result" >&6; }
6451 defaultval=$wxUSE_ALL_FEATURES
6452 if test -z "$defaultval"; then
6453 if test x"$enablestring" = xdisable; then
6460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6461 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6462 # Check whether --enable-debugreport was given.
6463 if test "${enable_debugreport+set}" = set; then
6464 enableval=$enable_debugreport;
6465 if test "$enableval" = yes; then
6466 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6468 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6473 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6478 eval "$wx_cv_use_debugreport"
6480 if test x"$enablestring" = xdisable; then
6481 if test $wxUSE_DEBUGREPORT = yes; then
6487 result=$wxUSE_DEBUGREPORT
6490 { echo "$as_me:$LINENO: result: $result" >&5
6491 echo "${ECHO_T}$result" >&6; }
6495 defaultval=$wxUSE_ALL_FEATURES
6496 if test -z "$defaultval"; then
6497 if test x"$enablestring" = xdisable; then
6504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6505 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6506 # Check whether --enable-dialupman was given.
6507 if test "${enable_dialupman+set}" = set; then
6508 enableval=$enable_dialupman;
6509 if test "$enableval" = yes; then
6510 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6512 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6517 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6522 eval "$wx_cv_use_dialupman"
6524 if test x"$enablestring" = xdisable; then
6525 if test $wxUSE_DIALUP_MANAGER = yes; then
6531 result=$wxUSE_DIALUP_MANAGER
6534 { echo "$as_me:$LINENO: result: $result" >&5
6535 echo "${ECHO_T}$result" >&6; }
6539 defaultval=$wxUSE_ALL_FEATURES
6540 if test -z "$defaultval"; then
6541 if test x"$enablestring" = xdisable; then
6548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6549 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6550 # Check whether --enable-dynlib was given.
6551 if test "${enable_dynlib+set}" = set; then
6552 enableval=$enable_dynlib;
6553 if test "$enableval" = yes; then
6554 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6556 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6561 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6566 eval "$wx_cv_use_dynlib"
6568 if test x"$enablestring" = xdisable; then
6569 if test $wxUSE_DYNLIB_CLASS = yes; then
6575 result=$wxUSE_DYNLIB_CLASS
6578 { echo "$as_me:$LINENO: result: $result" >&5
6579 echo "${ECHO_T}$result" >&6; }
6583 defaultval=$wxUSE_ALL_FEATURES
6584 if test -z "$defaultval"; then
6585 if test x"$enablestring" = xdisable; then
6592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6593 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6594 # Check whether --enable-dynamicloader was given.
6595 if test "${enable_dynamicloader+set}" = set; then
6596 enableval=$enable_dynamicloader;
6597 if test "$enableval" = yes; then
6598 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6600 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6605 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6610 eval "$wx_cv_use_dynamicloader"
6612 if test x"$enablestring" = xdisable; then
6613 if test $wxUSE_DYNAMIC_LOADER = yes; then
6619 result=$wxUSE_DYNAMIC_LOADER
6622 { echo "$as_me:$LINENO: result: $result" >&5
6623 echo "${ECHO_T}$result" >&6; }
6627 defaultval=$wxUSE_ALL_FEATURES
6628 if test -z "$defaultval"; then
6629 if test x"$enablestring" = xdisable; then
6636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6637 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6638 # Check whether --enable-exceptions was given.
6639 if test "${enable_exceptions+set}" = set; then
6640 enableval=$enable_exceptions;
6641 if test "$enableval" = yes; then
6642 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6644 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6649 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6654 eval "$wx_cv_use_exceptions"
6656 if test x"$enablestring" = xdisable; then
6657 if test $wxUSE_EXCEPTIONS = yes; then
6663 result=$wxUSE_EXCEPTIONS
6666 { echo "$as_me:$LINENO: result: $result" >&5
6667 echo "${ECHO_T}$result" >&6; }
6671 defaultval=$wxUSE_ALL_FEATURES
6672 if test -z "$defaultval"; then
6673 if test x"$enablestring" = xdisable; then
6680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6681 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6682 # Check whether --enable-ffile was given.
6683 if test "${enable_ffile+set}" = set; then
6684 enableval=$enable_ffile;
6685 if test "$enableval" = yes; then
6686 wx_cv_use_ffile='wxUSE_FFILE=yes'
6688 wx_cv_use_ffile='wxUSE_FFILE=no'
6693 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6698 eval "$wx_cv_use_ffile"
6700 if test x"$enablestring" = xdisable; then
6701 if test $wxUSE_FFILE = yes; then
6710 { echo "$as_me:$LINENO: result: $result" >&5
6711 echo "${ECHO_T}$result" >&6; }
6715 defaultval=$wxUSE_ALL_FEATURES
6716 if test -z "$defaultval"; then
6717 if test x"$enablestring" = xdisable; then
6724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6725 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6726 # Check whether --enable-file was given.
6727 if test "${enable_file+set}" = set; then
6728 enableval=$enable_file;
6729 if test "$enableval" = yes; then
6730 wx_cv_use_file='wxUSE_FILE=yes'
6732 wx_cv_use_file='wxUSE_FILE=no'
6737 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6742 eval "$wx_cv_use_file"
6744 if test x"$enablestring" = xdisable; then
6745 if test $wxUSE_FILE = yes; then
6754 { echo "$as_me:$LINENO: result: $result" >&5
6755 echo "${ECHO_T}$result" >&6; }
6759 defaultval=$wxUSE_ALL_FEATURES
6760 if test -z "$defaultval"; then
6761 if test x"$enablestring" = xdisable; then
6768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6769 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6770 # Check whether --enable-filesystem was given.
6771 if test "${enable_filesystem+set}" = set; then
6772 enableval=$enable_filesystem;
6773 if test "$enableval" = yes; then
6774 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6776 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6781 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6786 eval "$wx_cv_use_filesystem"
6788 if test x"$enablestring" = xdisable; then
6789 if test $wxUSE_FILESYSTEM = yes; then
6795 result=$wxUSE_FILESYSTEM
6798 { echo "$as_me:$LINENO: result: $result" >&5
6799 echo "${ECHO_T}$result" >&6; }
6803 defaultval=$wxUSE_ALL_FEATURES
6804 if test -z "$defaultval"; then
6805 if test x"$enablestring" = xdisable; then
6812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6813 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6814 # Check whether --enable-fontenum was given.
6815 if test "${enable_fontenum+set}" = set; then
6816 enableval=$enable_fontenum;
6817 if test "$enableval" = yes; then
6818 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6820 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6825 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6830 eval "$wx_cv_use_fontenum"
6832 if test x"$enablestring" = xdisable; then
6833 if test $wxUSE_FONTENUM = yes; then
6839 result=$wxUSE_FONTENUM
6842 { echo "$as_me:$LINENO: result: $result" >&5
6843 echo "${ECHO_T}$result" >&6; }
6847 defaultval=$wxUSE_ALL_FEATURES
6848 if test -z "$defaultval"; then
6849 if test x"$enablestring" = xdisable; then
6856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6857 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6858 # Check whether --enable-fontmap was given.
6859 if test "${enable_fontmap+set}" = set; then
6860 enableval=$enable_fontmap;
6861 if test "$enableval" = yes; then
6862 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6864 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6869 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6874 eval "$wx_cv_use_fontmap"
6876 if test x"$enablestring" = xdisable; then
6877 if test $wxUSE_FONTMAP = yes; then
6883 result=$wxUSE_FONTMAP
6886 { echo "$as_me:$LINENO: result: $result" >&5
6887 echo "${ECHO_T}$result" >&6; }
6891 defaultval=$wxUSE_ALL_FEATURES
6892 if test -z "$defaultval"; then
6893 if test x"$enablestring" = xdisable; then
6900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6901 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6902 # Check whether --enable-fs_archive was given.
6903 if test "${enable_fs_archive+set}" = set; then
6904 enableval=$enable_fs_archive;
6905 if test "$enableval" = yes; then
6906 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6908 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6913 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6918 eval "$wx_cv_use_fs_archive"
6920 if test x"$enablestring" = xdisable; then
6921 if test $wxUSE_FS_ARCHIVE = yes; then
6927 result=$wxUSE_FS_ARCHIVE
6930 { echo "$as_me:$LINENO: result: $result" >&5
6931 echo "${ECHO_T}$result" >&6; }
6935 defaultval=$wxUSE_ALL_FEATURES
6936 if test -z "$defaultval"; then
6937 if test x"$enablestring" = xdisable; then
6944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6945 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6946 # Check whether --enable-fs_inet was given.
6947 if test "${enable_fs_inet+set}" = set; then
6948 enableval=$enable_fs_inet;
6949 if test "$enableval" = yes; then
6950 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
6952 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
6957 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
6962 eval "$wx_cv_use_fs_inet"
6964 if test x"$enablestring" = xdisable; then
6965 if test $wxUSE_FS_INET = yes; then
6971 result=$wxUSE_FS_INET
6974 { echo "$as_me:$LINENO: result: $result" >&5
6975 echo "${ECHO_T}$result" >&6; }
6979 defaultval=$wxUSE_ALL_FEATURES
6980 if test -z "$defaultval"; then
6981 if test x"$enablestring" = xdisable; then
6988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6989 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6990 # Check whether --enable-fs_zip was given.
6991 if test "${enable_fs_zip+set}" = set; then
6992 enableval=$enable_fs_zip;
6993 if test "$enableval" = yes; then
6994 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6996 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7001 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7006 eval "$wx_cv_use_fs_zip"
7008 if test x"$enablestring" = xdisable; then
7009 if test $wxUSE_FS_ZIP = yes; then
7015 result=$wxUSE_FS_ZIP
7018 { echo "$as_me:$LINENO: result: $result" >&5
7019 echo "${ECHO_T}$result" >&6; }
7023 defaultval=$wxUSE_ALL_FEATURES
7024 if test -z "$defaultval"; then
7025 if test x"$enablestring" = xdisable; then
7032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7033 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7034 # Check whether --enable-geometry was given.
7035 if test "${enable_geometry+set}" = set; then
7036 enableval=$enable_geometry;
7037 if test "$enableval" = yes; then
7038 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7040 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7045 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7050 eval "$wx_cv_use_geometry"
7052 if test x"$enablestring" = xdisable; then
7053 if test $wxUSE_GEOMETRY = yes; then
7059 result=$wxUSE_GEOMETRY
7062 { echo "$as_me:$LINENO: result: $result" >&5
7063 echo "${ECHO_T}$result" >&6; }
7067 defaultval=$wxUSE_ALL_FEATURES
7068 if test -z "$defaultval"; then
7069 if test x"$enablestring" = xdisable; then
7076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7077 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7078 # Check whether --enable-log was given.
7079 if test "${enable_log+set}" = set; then
7080 enableval=$enable_log;
7081 if test "$enableval" = yes; then
7082 wx_cv_use_log='wxUSE_LOG=yes'
7084 wx_cv_use_log='wxUSE_LOG=no'
7089 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7094 eval "$wx_cv_use_log"
7096 if test x"$enablestring" = xdisable; then
7097 if test $wxUSE_LOG = yes; then
7106 { echo "$as_me:$LINENO: result: $result" >&5
7107 echo "${ECHO_T}$result" >&6; }
7111 defaultval=$wxUSE_ALL_FEATURES
7112 if test -z "$defaultval"; then
7113 if test x"$enablestring" = xdisable; then
7120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7121 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7122 # Check whether --enable-longlong was given.
7123 if test "${enable_longlong+set}" = set; then
7124 enableval=$enable_longlong;
7125 if test "$enableval" = yes; then
7126 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7128 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7133 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7138 eval "$wx_cv_use_longlong"
7140 if test x"$enablestring" = xdisable; then
7141 if test $wxUSE_LONGLONG = yes; then
7147 result=$wxUSE_LONGLONG
7150 { echo "$as_me:$LINENO: result: $result" >&5
7151 echo "${ECHO_T}$result" >&6; }
7155 defaultval=$wxUSE_ALL_FEATURES
7156 if test -z "$defaultval"; then
7157 if test x"$enablestring" = xdisable; then
7164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7165 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7166 # Check whether --enable-mimetype was given.
7167 if test "${enable_mimetype+set}" = set; then
7168 enableval=$enable_mimetype;
7169 if test "$enableval" = yes; then
7170 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7172 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7177 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7182 eval "$wx_cv_use_mimetype"
7184 if test x"$enablestring" = xdisable; then
7185 if test $wxUSE_MIMETYPE = yes; then
7191 result=$wxUSE_MIMETYPE
7194 { echo "$as_me:$LINENO: result: $result" >&5
7195 echo "${ECHO_T}$result" >&6; }
7199 defaultval=$wxUSE_ALL_FEATURES
7200 if test -z "$defaultval"; then
7201 if test x"$enablestring" = xdisable; then
7208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7209 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7210 # Check whether --enable-snglinst was given.
7211 if test "${enable_snglinst+set}" = set; then
7212 enableval=$enable_snglinst;
7213 if test "$enableval" = yes; then
7214 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7216 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7221 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7226 eval "$wx_cv_use_snglinst"
7228 if test x"$enablestring" = xdisable; then
7229 if test $wxUSE_SNGLINST_CHECKER = yes; then
7235 result=$wxUSE_SNGLINST_CHECKER
7238 { echo "$as_me:$LINENO: result: $result" >&5
7239 echo "${ECHO_T}$result" >&6; }
7243 defaultval=$wxUSE_ALL_FEATURES
7244 if test -z "$defaultval"; then
7245 if test x"$enablestring" = xdisable; then
7252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7253 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7254 # Check whether --enable-stdpaths was given.
7255 if test "${enable_stdpaths+set}" = set; then
7256 enableval=$enable_stdpaths;
7257 if test "$enableval" = yes; then
7258 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7260 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7265 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7270 eval "$wx_cv_use_stdpaths"
7272 if test x"$enablestring" = xdisable; then
7273 if test $wxUSE_STDPATHS = yes; then
7279 result=$wxUSE_STDPATHS
7282 { echo "$as_me:$LINENO: result: $result" >&5
7283 echo "${ECHO_T}$result" >&6; }
7287 defaultval=$wxUSE_ALL_FEATURES
7288 if test -z "$defaultval"; then
7289 if test x"$enablestring" = xdisable; then
7296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7297 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7298 # Check whether --enable-stopwatch was given.
7299 if test "${enable_stopwatch+set}" = set; then
7300 enableval=$enable_stopwatch;
7301 if test "$enableval" = yes; then
7302 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7304 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7309 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7314 eval "$wx_cv_use_stopwatch"
7316 if test x"$enablestring" = xdisable; then
7317 if test $wxUSE_STOPWATCH = yes; then
7323 result=$wxUSE_STOPWATCH
7326 { echo "$as_me:$LINENO: result: $result" >&5
7327 echo "${ECHO_T}$result" >&6; }
7331 defaultval=$wxUSE_ALL_FEATURES
7332 if test -z "$defaultval"; then
7333 if test x"$enablestring" = xdisable; then
7340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7341 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7342 # Check whether --enable-streams was given.
7343 if test "${enable_streams+set}" = set; then
7344 enableval=$enable_streams;
7345 if test "$enableval" = yes; then
7346 wx_cv_use_streams='wxUSE_STREAMS=yes'
7348 wx_cv_use_streams='wxUSE_STREAMS=no'
7353 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7358 eval "$wx_cv_use_streams"
7360 if test x"$enablestring" = xdisable; then
7361 if test $wxUSE_STREAMS = yes; then
7367 result=$wxUSE_STREAMS
7370 { echo "$as_me:$LINENO: result: $result" >&5
7371 echo "${ECHO_T}$result" >&6; }
7375 defaultval=$wxUSE_ALL_FEATURES
7376 if test -z "$defaultval"; then
7377 if test x"$enablestring" = xdisable; then
7384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7385 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7386 # Check whether --enable-system_options was given.
7387 if test "${enable_system_options+set}" = set; then
7388 enableval=$enable_system_options;
7389 if test "$enableval" = yes; then
7390 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7392 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7397 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7402 eval "$wx_cv_use_system_options"
7404 if test x"$enablestring" = xdisable; then
7405 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7411 result=$wxUSE_SYSTEM_OPTIONS
7414 { echo "$as_me:$LINENO: result: $result" >&5
7415 echo "${ECHO_T}$result" >&6; }
7419 defaultval=$wxUSE_ALL_FEATURES
7420 if test -z "$defaultval"; then
7421 if test x"$enablestring" = xdisable; then
7428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7429 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7430 # Check whether --enable-tarstream was given.
7431 if test "${enable_tarstream+set}" = set; then
7432 enableval=$enable_tarstream;
7433 if test "$enableval" = yes; then
7434 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7436 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7441 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7446 eval "$wx_cv_use_tarstream"
7448 if test x"$enablestring" = xdisable; then
7449 if test $wxUSE_TARSTREAM = yes; then
7455 result=$wxUSE_TARSTREAM
7458 { echo "$as_me:$LINENO: result: $result" >&5
7459 echo "${ECHO_T}$result" >&6; }
7463 defaultval=$wxUSE_ALL_FEATURES
7464 if test -z "$defaultval"; then
7465 if test x"$enablestring" = xdisable; then
7472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7473 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7474 # Check whether --enable-textbuf was given.
7475 if test "${enable_textbuf+set}" = set; then
7476 enableval=$enable_textbuf;
7477 if test "$enableval" = yes; then
7478 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7480 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7485 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7490 eval "$wx_cv_use_textbuf"
7492 if test x"$enablestring" = xdisable; then
7493 if test $wxUSE_TEXTBUFFER = yes; then
7499 result=$wxUSE_TEXTBUFFER
7502 { echo "$as_me:$LINENO: result: $result" >&5
7503 echo "${ECHO_T}$result" >&6; }
7507 defaultval=$wxUSE_ALL_FEATURES
7508 if test -z "$defaultval"; then
7509 if test x"$enablestring" = xdisable; then
7516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7517 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7518 # Check whether --enable-textfile was given.
7519 if test "${enable_textfile+set}" = set; then
7520 enableval=$enable_textfile;
7521 if test "$enableval" = yes; then
7522 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7524 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7529 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7534 eval "$wx_cv_use_textfile"
7536 if test x"$enablestring" = xdisable; then
7537 if test $wxUSE_TEXTFILE = yes; then
7543 result=$wxUSE_TEXTFILE
7546 { echo "$as_me:$LINENO: result: $result" >&5
7547 echo "${ECHO_T}$result" >&6; }
7551 defaultval=$wxUSE_ALL_FEATURES
7552 if test -z "$defaultval"; then
7553 if test x"$enablestring" = xdisable; then
7560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7561 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7562 # Check whether --enable-timer was given.
7563 if test "${enable_timer+set}" = set; then
7564 enableval=$enable_timer;
7565 if test "$enableval" = yes; then
7566 wx_cv_use_timer='wxUSE_TIMER=yes'
7568 wx_cv_use_timer='wxUSE_TIMER=no'
7573 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7578 eval "$wx_cv_use_timer"
7580 if test x"$enablestring" = xdisable; then
7581 if test $wxUSE_TIMER = yes; then
7590 { echo "$as_me:$LINENO: result: $result" >&5
7591 echo "${ECHO_T}$result" >&6; }
7595 defaultval=$wxUSE_ALL_FEATURES
7596 if test -z "$defaultval"; then
7597 if test x"$enablestring" = xdisable; then
7604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7605 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7606 # Check whether --enable-sound was given.
7607 if test "${enable_sound+set}" = set; then
7608 enableval=$enable_sound;
7609 if test "$enableval" = yes; then
7610 wx_cv_use_sound='wxUSE_SOUND=yes'
7612 wx_cv_use_sound='wxUSE_SOUND=no'
7617 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7622 eval "$wx_cv_use_sound"
7624 if test x"$enablestring" = xdisable; then
7625 if test $wxUSE_SOUND = yes; then
7634 { echo "$as_me:$LINENO: result: $result" >&5
7635 echo "${ECHO_T}$result" >&6; }
7639 defaultval=$wxUSE_ALL_FEATURES
7640 if test -z "$defaultval"; then
7641 if test x"$enablestring" = xdisable; then
7648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7649 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7650 # Check whether --enable-mediactrl was given.
7651 if test "${enable_mediactrl+set}" = set; then
7652 enableval=$enable_mediactrl;
7653 if test "$enableval" = yes; then
7654 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7656 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7661 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7666 eval "$wx_cv_use_mediactrl"
7668 if test x"$enablestring" = xdisable; then
7669 if test $wxUSE_MEDIACTRL = yes; then
7675 result=$wxUSE_MEDIACTRL
7678 { echo "$as_me:$LINENO: result: $result" >&5
7679 echo "${ECHO_T}$result" >&6; }
7683 defaultval=$wxUSE_ALL_FEATURES
7684 if test -z "$defaultval"; then
7685 if test x"$enablestring" = xdisable; then
7692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7693 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7694 # Check whether --enable-gstreamer8 was given.
7695 if test "${enable_gstreamer8+set}" = set; then
7696 enableval=$enable_gstreamer8;
7697 if test "$enableval" = yes; then
7698 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7700 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7705 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7710 eval "$wx_cv_use_gstreamer8"
7712 if test x"$enablestring" = xdisable; then
7713 if test $wxUSE_GSTREAMER8 = yes; then
7719 result=$wxUSE_GSTREAMER8
7722 { echo "$as_me:$LINENO: result: $result" >&5
7723 echo "${ECHO_T}$result" >&6; }
7727 defaultval=$wxUSE_ALL_FEATURES
7728 if test -z "$defaultval"; then
7729 if test x"$enablestring" = xdisable; then
7736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7737 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7738 # Check whether --enable-printfposparam was given.
7739 if test "${enable_printfposparam+set}" = set; then
7740 enableval=$enable_printfposparam;
7741 if test "$enableval" = yes; then
7742 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7744 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7749 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7754 eval "$wx_cv_use_printfposparam"
7756 if test x"$enablestring" = xdisable; then
7757 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7763 result=$wxUSE_PRINTF_POS_PARAMS
7766 { echo "$as_me:$LINENO: result: $result" >&5
7767 echo "${ECHO_T}$result" >&6; }
7771 defaultval=$wxUSE_ALL_FEATURES
7772 if test -z "$defaultval"; then
7773 if test x"$enablestring" = xdisable; then
7780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7781 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7782 # Check whether --enable-zipstream was given.
7783 if test "${enable_zipstream+set}" = set; then
7784 enableval=$enable_zipstream;
7785 if test "$enableval" = yes; then
7786 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7788 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7793 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7798 eval "$wx_cv_use_zipstream"
7800 if test x"$enablestring" = xdisable; then
7801 if test $wxUSE_ZIPSTREAM = yes; then
7807 result=$wxUSE_ZIPSTREAM
7810 { echo "$as_me:$LINENO: result: $result" >&5
7811 echo "${ECHO_T}$result" >&6; }
7816 defaultval=$wxUSE_ALL_FEATURES
7817 if test -z "$defaultval"; then
7818 if test x"$enablestring" = xdisable; then
7825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7826 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7827 # Check whether --enable-url was given.
7828 if test "${enable_url+set}" = set; then
7829 enableval=$enable_url;
7830 if test "$enableval" = yes; then
7831 wx_cv_use_url='wxUSE_URL=yes'
7833 wx_cv_use_url='wxUSE_URL=no'
7838 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7843 eval "$wx_cv_use_url"
7845 if test x"$enablestring" = xdisable; then
7846 if test $wxUSE_URL = yes; then
7855 { echo "$as_me:$LINENO: result: $result" >&5
7856 echo "${ECHO_T}$result" >&6; }
7860 defaultval=$wxUSE_ALL_FEATURES
7861 if test -z "$defaultval"; then
7862 if test x"$enablestring" = xdisable; then
7869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7870 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7871 # Check whether --enable-variant was given.
7872 if test "${enable_variant+set}" = set; then
7873 enableval=$enable_variant;
7874 if test "$enableval" = yes; then
7875 wx_cv_use_variant='wxUSE_VARIANT=yes'
7877 wx_cv_use_variant='wxUSE_VARIANT=no'
7882 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7887 eval "$wx_cv_use_variant"
7889 if test x"$enablestring" = xdisable; then
7890 if test $wxUSE_VARIANT = yes; then
7896 result=$wxUSE_VARIANT
7899 { echo "$as_me:$LINENO: result: $result" >&5
7900 echo "${ECHO_T}$result" >&6; }
7904 defaultval=$wxUSE_ALL_FEATURES
7905 if test -z "$defaultval"; then
7906 if test x"$enablestring" = xdisable; then
7913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7914 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7915 # Check whether --enable-protocol was given.
7916 if test "${enable_protocol+set}" = set; then
7917 enableval=$enable_protocol;
7918 if test "$enableval" = yes; then
7919 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7921 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7926 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7931 eval "$wx_cv_use_protocol"
7933 if test x"$enablestring" = xdisable; then
7934 if test $wxUSE_PROTOCOL = yes; then
7940 result=$wxUSE_PROTOCOL
7943 { echo "$as_me:$LINENO: result: $result" >&5
7944 echo "${ECHO_T}$result" >&6; }
7948 defaultval=$wxUSE_ALL_FEATURES
7949 if test -z "$defaultval"; then
7950 if test x"$enablestring" = xdisable; then
7957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7958 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7959 # Check whether --enable-protocol_http was given.
7960 if test "${enable_protocol_http+set}" = set; then
7961 enableval=$enable_protocol_http;
7962 if test "$enableval" = yes; then
7963 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7965 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7970 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7975 eval "$wx_cv_use_protocol_http"
7977 if test x"$enablestring" = xdisable; then
7978 if test $wxUSE_PROTOCOL_HTTP = yes; then
7984 result=$wxUSE_PROTOCOL_HTTP
7987 { echo "$as_me:$LINENO: result: $result" >&5
7988 echo "${ECHO_T}$result" >&6; }
7992 defaultval=$wxUSE_ALL_FEATURES
7993 if test -z "$defaultval"; then
7994 if test x"$enablestring" = xdisable; then
8001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8002 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8003 # Check whether --enable-protocol_ftp was given.
8004 if test "${enable_protocol_ftp+set}" = set; then
8005 enableval=$enable_protocol_ftp;
8006 if test "$enableval" = yes; then
8007 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8009 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8014 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8019 eval "$wx_cv_use_protocol_ftp"
8021 if test x"$enablestring" = xdisable; then
8022 if test $wxUSE_PROTOCOL_FTP = yes; then
8028 result=$wxUSE_PROTOCOL_FTP
8031 { echo "$as_me:$LINENO: result: $result" >&5
8032 echo "${ECHO_T}$result" >&6; }
8036 defaultval=$wxUSE_ALL_FEATURES
8037 if test -z "$defaultval"; then
8038 if test x"$enablestring" = xdisable; then
8045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8046 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8047 # Check whether --enable-protocol_file was given.
8048 if test "${enable_protocol_file+set}" = set; then
8049 enableval=$enable_protocol_file;
8050 if test "$enableval" = yes; then
8051 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8053 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8058 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8063 eval "$wx_cv_use_protocol_file"
8065 if test x"$enablestring" = xdisable; then
8066 if test $wxUSE_PROTOCOL_FILE = yes; then
8072 result=$wxUSE_PROTOCOL_FILE
8075 { echo "$as_me:$LINENO: result: $result" >&5
8076 echo "${ECHO_T}$result" >&6; }
8081 defaultval=$wxUSE_ALL_FEATURES
8082 if test -z "$defaultval"; then
8083 if test x"$enablestring" = xdisable; then
8090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8091 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8092 # Check whether --enable-threads was given.
8093 if test "${enable_threads+set}" = set; then
8094 enableval=$enable_threads;
8095 if test "$enableval" = yes; then
8096 wx_cv_use_threads='wxUSE_THREADS=yes'
8098 wx_cv_use_threads='wxUSE_THREADS=no'
8103 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8108 eval "$wx_cv_use_threads"
8110 if test x"$enablestring" = xdisable; then
8111 if test $wxUSE_THREADS = yes; then
8117 result=$wxUSE_THREADS
8120 { echo "$as_me:$LINENO: result: $result" >&5
8121 echo "${ECHO_T}$result" >&6; }
8127 if test -z "$defaultval"; then
8128 if test x"$enablestring" = xdisable; then
8135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8136 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8137 # Check whether --enable-iniconf was given.
8138 if test "${enable_iniconf+set}" = set; then
8139 enableval=$enable_iniconf;
8140 if test "$enableval" = yes; then
8141 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8143 wx_cv_use_iniconf='wxUSE_INICONF=no'
8148 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8153 eval "$wx_cv_use_iniconf"
8155 if test x"$enablestring" = xdisable; then
8156 if test $wxUSE_INICONF = yes; then
8162 result=$wxUSE_INICONF
8165 { echo "$as_me:$LINENO: result: $result" >&5
8166 echo "${ECHO_T}$result" >&6; }
8170 defaultval=$wxUSE_ALL_FEATURES
8171 if test -z "$defaultval"; then
8172 if test x"$enablestring" = xdisable; then
8179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8180 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8181 # Check whether --enable-regkey was given.
8182 if test "${enable_regkey+set}" = set; then
8183 enableval=$enable_regkey;
8184 if test "$enableval" = yes; then
8185 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8187 wx_cv_use_regkey='wxUSE_REGKEY=no'
8192 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8197 eval "$wx_cv_use_regkey"
8199 if test x"$enablestring" = xdisable; then
8200 if test $wxUSE_REGKEY = yes; then
8206 result=$wxUSE_REGKEY
8209 { echo "$as_me:$LINENO: result: $result" >&5
8210 echo "${ECHO_T}$result" >&6; }
8213 if test "$wxUSE_GUI" = "yes"; then
8218 defaultval=$wxUSE_ALL_FEATURES
8219 if test -z "$defaultval"; then
8220 if test x"$enablestring" = xdisable; then
8227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8228 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8229 # Check whether --enable-docview was given.
8230 if test "${enable_docview+set}" = set; then
8231 enableval=$enable_docview;
8232 if test "$enableval" = yes; then
8233 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8235 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8240 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8245 eval "$wx_cv_use_docview"
8247 if test x"$enablestring" = xdisable; then
8248 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8254 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8257 { echo "$as_me:$LINENO: result: $result" >&5
8258 echo "${ECHO_T}$result" >&6; }
8262 defaultval=$wxUSE_ALL_FEATURES
8263 if test -z "$defaultval"; then
8264 if test x"$enablestring" = xdisable; then
8271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8272 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8273 # Check whether --enable-help was given.
8274 if test "${enable_help+set}" = set; then
8275 enableval=$enable_help;
8276 if test "$enableval" = yes; then
8277 wx_cv_use_help='wxUSE_HELP=yes'
8279 wx_cv_use_help='wxUSE_HELP=no'
8284 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8289 eval "$wx_cv_use_help"
8291 if test x"$enablestring" = xdisable; then
8292 if test $wxUSE_HELP = yes; then
8301 { echo "$as_me:$LINENO: result: $result" >&5
8302 echo "${ECHO_T}$result" >&6; }
8306 defaultval=$wxUSE_ALL_FEATURES
8307 if test -z "$defaultval"; then
8308 if test x"$enablestring" = xdisable; then
8315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8316 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8317 # Check whether --enable-mshtmlhelp was given.
8318 if test "${enable_mshtmlhelp+set}" = set; then
8319 enableval=$enable_mshtmlhelp;
8320 if test "$enableval" = yes; then
8321 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8323 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8328 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8333 eval "$wx_cv_use_mshtmlhelp"
8335 if test x"$enablestring" = xdisable; then
8336 if test $wxUSE_MS_HTML_HELP = yes; then
8342 result=$wxUSE_MS_HTML_HELP
8345 { echo "$as_me:$LINENO: result: $result" >&5
8346 echo "${ECHO_T}$result" >&6; }
8350 defaultval=$wxUSE_ALL_FEATURES
8351 if test -z "$defaultval"; then
8352 if test x"$enablestring" = xdisable; then
8359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8360 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8361 # Check whether --enable-html was given.
8362 if test "${enable_html+set}" = set; then
8363 enableval=$enable_html;
8364 if test "$enableval" = yes; then
8365 wx_cv_use_html='wxUSE_HTML=yes'
8367 wx_cv_use_html='wxUSE_HTML=no'
8372 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8377 eval "$wx_cv_use_html"
8379 if test x"$enablestring" = xdisable; then
8380 if test $wxUSE_HTML = yes; then
8389 { echo "$as_me:$LINENO: result: $result" >&5
8390 echo "${ECHO_T}$result" >&6; }
8394 defaultval=$wxUSE_ALL_FEATURES
8395 if test -z "$defaultval"; then
8396 if test x"$enablestring" = xdisable; then
8403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8404 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8405 # Check whether --enable-htmlhelp was given.
8406 if test "${enable_htmlhelp+set}" = set; then
8407 enableval=$enable_htmlhelp;
8408 if test "$enableval" = yes; then
8409 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8411 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8416 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8421 eval "$wx_cv_use_htmlhelp"
8423 if test x"$enablestring" = xdisable; then
8424 if test $wxUSE_WXHTML_HELP = yes; then
8430 result=$wxUSE_WXHTML_HELP
8433 { echo "$as_me:$LINENO: result: $result" >&5
8434 echo "${ECHO_T}$result" >&6; }
8438 defaultval=$wxUSE_ALL_FEATURES
8439 if test -z "$defaultval"; then
8440 if test x"$enablestring" = xdisable; then
8447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8448 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8449 # Check whether --enable-xrc was given.
8450 if test "${enable_xrc+set}" = set; then
8451 enableval=$enable_xrc;
8452 if test "$enableval" = yes; then
8453 wx_cv_use_xrc='wxUSE_XRC=yes'
8455 wx_cv_use_xrc='wxUSE_XRC=no'
8460 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8465 eval "$wx_cv_use_xrc"
8467 if test x"$enablestring" = xdisable; then
8468 if test $wxUSE_XRC = yes; then
8477 { echo "$as_me:$LINENO: result: $result" >&5
8478 echo "${ECHO_T}$result" >&6; }
8482 defaultval=$wxUSE_ALL_FEATURES
8483 if test -z "$defaultval"; then
8484 if test x"$enablestring" = xdisable; then
8491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8492 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8493 # Check whether --enable-aui was given.
8494 if test "${enable_aui+set}" = set; then
8495 enableval=$enable_aui;
8496 if test "$enableval" = yes; then
8497 wx_cv_use_aui='wxUSE_AUI=yes'
8499 wx_cv_use_aui='wxUSE_AUI=no'
8504 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8509 eval "$wx_cv_use_aui"
8511 if test x"$enablestring" = xdisable; then
8512 if test $wxUSE_AUI = yes; then
8521 { echo "$as_me:$LINENO: result: $result" >&5
8522 echo "${ECHO_T}$result" >&6; }
8526 defaultval=$wxUSE_ALL_FEATURES
8527 if test -z "$defaultval"; then
8528 if test x"$enablestring" = xdisable; then
8535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8536 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8537 # Check whether --enable-stc was given.
8538 if test "${enable_stc+set}" = set; then
8539 enableval=$enable_stc;
8540 if test "$enableval" = yes; then
8541 wx_cv_use_stc='wxUSE_STC=yes'
8543 wx_cv_use_stc='wxUSE_STC=no'
8548 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8553 eval "$wx_cv_use_stc"
8555 if test x"$enablestring" = xdisable; then
8556 if test $wxUSE_STC = yes; then
8565 { echo "$as_me:$LINENO: result: $result" >&5
8566 echo "${ECHO_T}$result" >&6; }
8570 defaultval=$wxUSE_ALL_FEATURES
8571 if test -z "$defaultval"; then
8572 if test x"$enablestring" = xdisable; then
8579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8580 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8581 # Check whether --enable-constraints was given.
8582 if test "${enable_constraints+set}" = set; then
8583 enableval=$enable_constraints;
8584 if test "$enableval" = yes; then
8585 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8587 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8592 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8597 eval "$wx_cv_use_constraints"
8599 if test x"$enablestring" = xdisable; then
8600 if test $wxUSE_CONSTRAINTS = yes; then
8606 result=$wxUSE_CONSTRAINTS
8609 { echo "$as_me:$LINENO: result: $result" >&5
8610 echo "${ECHO_T}$result" >&6; }
8614 defaultval=$wxUSE_ALL_FEATURES
8615 if test -z "$defaultval"; then
8616 if test x"$enablestring" = xdisable; then
8623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8624 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8625 # Check whether --enable-printarch was given.
8626 if test "${enable_printarch+set}" = set; then
8627 enableval=$enable_printarch;
8628 if test "$enableval" = yes; then
8629 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8631 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8636 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8641 eval "$wx_cv_use_printarch"
8643 if test x"$enablestring" = xdisable; then
8644 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8650 result=$wxUSE_PRINTING_ARCHITECTURE
8653 { echo "$as_me:$LINENO: result: $result" >&5
8654 echo "${ECHO_T}$result" >&6; }
8658 defaultval=$wxUSE_ALL_FEATURES
8659 if test -z "$defaultval"; then
8660 if test x"$enablestring" = xdisable; then
8667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8668 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8669 # Check whether --enable-mdi was given.
8670 if test "${enable_mdi+set}" = set; then
8671 enableval=$enable_mdi;
8672 if test "$enableval" = yes; then
8673 wx_cv_use_mdi='wxUSE_MDI=yes'
8675 wx_cv_use_mdi='wxUSE_MDI=no'
8680 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8685 eval "$wx_cv_use_mdi"
8687 if test x"$enablestring" = xdisable; then
8688 if test $wxUSE_MDI = yes; then
8697 { echo "$as_me:$LINENO: result: $result" >&5
8698 echo "${ECHO_T}$result" >&6; }
8702 defaultval=$wxUSE_ALL_FEATURES
8703 if test -z "$defaultval"; then
8704 if test x"$enablestring" = xdisable; then
8711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8712 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8713 # Check whether --enable-mdidoc was given.
8714 if test "${enable_mdidoc+set}" = set; then
8715 enableval=$enable_mdidoc;
8716 if test "$enableval" = yes; then
8717 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8719 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8724 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8729 eval "$wx_cv_use_mdidoc"
8731 if test x"$enablestring" = xdisable; then
8732 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8738 result=$wxUSE_MDI_ARCHITECTURE
8741 { echo "$as_me:$LINENO: result: $result" >&5
8742 echo "${ECHO_T}$result" >&6; }
8746 defaultval=$wxUSE_ALL_FEATURES
8747 if test -z "$defaultval"; then
8748 if test x"$enablestring" = xdisable; then
8755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8756 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8757 # Check whether --enable-loggui was given.
8758 if test "${enable_loggui+set}" = set; then
8759 enableval=$enable_loggui;
8760 if test "$enableval" = yes; then
8761 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8763 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8768 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8773 eval "$wx_cv_use_loggui"
8775 if test x"$enablestring" = xdisable; then
8776 if test $wxUSE_LOGGUI = yes; then
8782 result=$wxUSE_LOGGUI
8785 { echo "$as_me:$LINENO: result: $result" >&5
8786 echo "${ECHO_T}$result" >&6; }
8790 defaultval=$wxUSE_ALL_FEATURES
8791 if test -z "$defaultval"; then
8792 if test x"$enablestring" = xdisable; then
8799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8800 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8801 # Check whether --enable-logwin was given.
8802 if test "${enable_logwin+set}" = set; then
8803 enableval=$enable_logwin;
8804 if test "$enableval" = yes; then
8805 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8807 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8812 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8817 eval "$wx_cv_use_logwin"
8819 if test x"$enablestring" = xdisable; then
8820 if test $wxUSE_LOGWINDOW = yes; then
8826 result=$wxUSE_LOGWINDOW
8829 { echo "$as_me:$LINENO: result: $result" >&5
8830 echo "${ECHO_T}$result" >&6; }
8834 defaultval=$wxUSE_ALL_FEATURES
8835 if test -z "$defaultval"; then
8836 if test x"$enablestring" = xdisable; then
8843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8844 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8845 # Check whether --enable-logdialog was given.
8846 if test "${enable_logdialog+set}" = set; then
8847 enableval=$enable_logdialog;
8848 if test "$enableval" = yes; then
8849 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8851 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8856 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8861 eval "$wx_cv_use_logdialog"
8863 if test x"$enablestring" = xdisable; then
8864 if test $wxUSE_LOGDIALOG = yes; then
8870 result=$wxUSE_LOGDIALOG
8873 { echo "$as_me:$LINENO: result: $result" >&5
8874 echo "${ECHO_T}$result" >&6; }
8878 defaultval=$wxUSE_ALL_FEATURES
8879 if test -z "$defaultval"; then
8880 if test x"$enablestring" = xdisable; then
8887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8888 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8889 # Check whether --enable-webkit was given.
8890 if test "${enable_webkit+set}" = set; then
8891 enableval=$enable_webkit;
8892 if test "$enableval" = yes; then
8893 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8895 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8900 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8905 eval "$wx_cv_use_webkit"
8907 if test x"$enablestring" = xdisable; then
8908 if test $wxUSE_WEBKIT = yes; then
8914 result=$wxUSE_WEBKIT
8917 { echo "$as_me:$LINENO: result: $result" >&5
8918 echo "${ECHO_T}$result" >&6; }
8922 defaultval=$wxUSE_ALL_FEATURES
8923 if test -z "$defaultval"; then
8924 if test x"$enablestring" = xdisable; then
8931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8932 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8933 # Check whether --enable-richtext was given.
8934 if test "${enable_richtext+set}" = set; then
8935 enableval=$enable_richtext;
8936 if test "$enableval" = yes; then
8937 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8939 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8944 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8949 eval "$wx_cv_use_richtext"
8951 if test x"$enablestring" = xdisable; then
8952 if test $wxUSE_RICHTEXT = yes; then
8958 result=$wxUSE_RICHTEXT
8961 { echo "$as_me:$LINENO: result: $result" >&5
8962 echo "${ECHO_T}$result" >&6; }
8966 defaultval=$wxUSE_ALL_FEATURES
8967 if test -z "$defaultval"; then
8968 if test x"$enablestring" = xdisable; then
8975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8976 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8977 # Check whether --enable-graphics_ctx was given.
8978 if test "${enable_graphics_ctx+set}" = set; then
8979 enableval=$enable_graphics_ctx;
8980 if test "$enableval" = yes; then
8981 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8983 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8988 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
8993 eval "$wx_cv_use_graphics_ctx"
8995 if test x"$enablestring" = xdisable; then
8996 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9002 result=$wxUSE_GRAPHICS_CONTEXT
9005 { echo "$as_me:$LINENO: result: $result" >&5
9006 echo "${ECHO_T}$result" >&6; }
9010 defaultval=$wxUSE_ALL_FEATURES
9011 if test -z "$defaultval"; then
9012 if test x"$enablestring" = xdisable; then
9019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9020 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9021 # Check whether --enable-postscript was given.
9022 if test "${enable_postscript+set}" = set; then
9023 enableval=$enable_postscript;
9024 if test "$enableval" = yes; then
9025 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9027 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9032 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9037 eval "$wx_cv_use_postscript"
9039 if test x"$enablestring" = xdisable; then
9040 if test $wxUSE_POSTSCRIPT = yes; then
9046 result=$wxUSE_POSTSCRIPT
9049 { echo "$as_me:$LINENO: result: $result" >&5
9050 echo "${ECHO_T}$result" >&6; }
9054 defaultval=$wxUSE_ALL_FEATURES
9055 if test -z "$defaultval"; then
9056 if test x"$enablestring" = xdisable; then
9063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9064 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9065 # Check whether --enable-svg was given.
9066 if test "${enable_svg+set}" = set; then
9067 enableval=$enable_svg;
9068 if test "$enableval" = yes; then
9069 wx_cv_use_svg='wxUSE_SVG=yes'
9071 wx_cv_use_svg='wxUSE_SVG=no'
9076 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9081 eval "$wx_cv_use_svg"
9083 if test x"$enablestring" = xdisable; then
9084 if test $wxUSE_SVG = yes; then
9093 { echo "$as_me:$LINENO: result: $result" >&5
9094 echo "${ECHO_T}$result" >&6; }
9100 defaultval=$wxUSE_ALL_FEATURES
9101 if test -z "$defaultval"; then
9102 if test x"$enablestring" = xdisable; then
9109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9110 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9111 # Check whether --enable-clipboard was given.
9112 if test "${enable_clipboard+set}" = set; then
9113 enableval=$enable_clipboard;
9114 if test "$enableval" = yes; then
9115 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9117 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9122 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9127 eval "$wx_cv_use_clipboard"
9129 if test x"$enablestring" = xdisable; then
9130 if test $wxUSE_CLIPBOARD = yes; then
9136 result=$wxUSE_CLIPBOARD
9139 { echo "$as_me:$LINENO: result: $result" >&5
9140 echo "${ECHO_T}$result" >&6; }
9144 defaultval=$wxUSE_ALL_FEATURES
9145 if test -z "$defaultval"; then
9146 if test x"$enablestring" = xdisable; then
9153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9154 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9155 # Check whether --enable-dnd was given.
9156 if test "${enable_dnd+set}" = set; then
9157 enableval=$enable_dnd;
9158 if test "$enableval" = yes; then
9159 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9161 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9166 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9171 eval "$wx_cv_use_dnd"
9173 if test x"$enablestring" = xdisable; then
9174 if test $wxUSE_DRAG_AND_DROP = yes; then
9180 result=$wxUSE_DRAG_AND_DROP
9183 { echo "$as_me:$LINENO: result: $result" >&5
9184 echo "${ECHO_T}$result" >&6; }
9188 defaultval=$wxUSE_ALL_FEATURES
9189 if test -z "$defaultval"; then
9190 if test x"$enablestring" = xdisable; then
9197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9198 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9199 # Check whether --enable-metafile was given.
9200 if test "${enable_metafile+set}" = set; then
9201 enableval=$enable_metafile;
9202 if test "$enableval" = yes; then
9203 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9205 wx_cv_use_metafile='wxUSE_METAFILE=no'
9210 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9215 eval "$wx_cv_use_metafile"
9217 if test x"$enablestring" = xdisable; then
9218 if test $wxUSE_METAFILE = yes; then
9224 result=$wxUSE_METAFILE
9227 { echo "$as_me:$LINENO: result: $result" >&5
9228 echo "${ECHO_T}$result" >&6; }
9232 DEFAULT_wxUSE_CONTROLS=none
9234 enablestring=disable
9236 if test -z "$defaultval"; then
9237 if test x"$enablestring" = xdisable; then
9244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9245 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9246 # Check whether --enable-controls was given.
9247 if test "${enable_controls+set}" = set; then
9248 enableval=$enable_controls;
9249 if test "$enableval" = yes; then
9250 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9252 wx_cv_use_controls='wxUSE_CONTROLS=no'
9257 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9262 eval "$wx_cv_use_controls"
9264 if test x"$enablestring" = xdisable; then
9265 if test $wxUSE_CONTROLS = yes; then
9271 result=$wxUSE_CONTROLS
9274 { echo "$as_me:$LINENO: result: $result" >&5
9275 echo "${ECHO_T}$result" >&6; }
9278 if test "$wxUSE_CONTROLS" = "yes"; then
9279 DEFAULT_wxUSE_ACCEL=yes
9280 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9281 DEFAULT_wxUSE_BMPBUTTON=yes
9282 DEFAULT_wxUSE_BUTTON=yes
9283 DEFAULT_wxUSE_CALCTRL=yes
9284 DEFAULT_wxUSE_CARET=yes
9285 DEFAULT_wxUSE_COMBOBOX=yes
9286 DEFAULT_wxUSE_CHECKBOX=yes
9287 DEFAULT_wxUSE_CHECKLISTBOX=yes
9288 DEFAULT_wxUSE_CHOICE=yes
9289 DEFAULT_wxUSE_CHOICEBOOK=yes
9290 DEFAULT_wxUSE_COLLPANE=yes
9291 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9292 DEFAULT_wxUSE_COMBOBOX=yes
9293 DEFAULT_wxUSE_DATEPICKCTRL=yes
9294 DEFAULT_wxUSE_DISPLAY=yes
9295 DEFAULT_wxUSE_DETECT_SM=yes
9296 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9297 DEFAULT_wxUSE_FILECTRL=yes
9298 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9299 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9300 DEFAULT_wxUSE_GAUGE=yes
9301 DEFAULT_wxUSE_GRID=yes
9302 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9303 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9304 DEFAULT_wxUSE_IMAGLIST=yes
9305 DEFAULT_wxUSE_LISTBOOK=yes
9306 DEFAULT_wxUSE_LISTBOX=yes
9307 DEFAULT_wxUSE_LISTCTRL=yes
9308 DEFAULT_wxUSE_NOTEBOOK=yes
9309 DEFAULT_wxUSE_RADIOBOX=yes
9310 DEFAULT_wxUSE_RADIOBTN=yes
9311 DEFAULT_wxUSE_SASH=yes
9312 DEFAULT_wxUSE_SCROLLBAR=yes
9313 DEFAULT_wxUSE_SEARCHCTRL=yes
9314 DEFAULT_wxUSE_SLIDER=yes
9315 DEFAULT_wxUSE_SPINBTN=yes
9316 DEFAULT_wxUSE_SPINCTRL=yes
9317 DEFAULT_wxUSE_SPLITTER=yes
9318 DEFAULT_wxUSE_STATBMP=yes
9319 DEFAULT_wxUSE_STATBOX=yes
9320 DEFAULT_wxUSE_STATLINE=yes
9321 DEFAULT_wxUSE_STATUSBAR=yes
9322 DEFAULT_wxUSE_TAB_DIALOG=yes
9323 DEFAULT_wxUSE_TOGGLEBTN=yes
9324 DEFAULT_wxUSE_TOOLBAR=yes
9325 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9326 DEFAULT_wxUSE_TOOLTIPS=yes
9327 DEFAULT_wxUSE_TREEBOOK=yes
9328 DEFAULT_wxUSE_TOOLBOOK=yes
9329 DEFAULT_wxUSE_TREECTRL=yes
9330 DEFAULT_wxUSE_POPUPWIN=yes
9331 DEFAULT_wxUSE_TIPWINDOW=yes
9332 elif test "$wxUSE_CONTROLS" = "no"; then
9333 DEFAULT_wxUSE_ACCEL=no
9334 DEFAULT_wxUSE_ANIMATIONCTRL=no
9335 DEFAULT_wxUSE_BMPBUTTON=no
9336 DEFAULT_wxUSE_BUTTON=no
9337 DEFAULT_wxUSE_CALCTRL=no
9338 DEFAULT_wxUSE_CARET=no
9339 DEFAULT_wxUSE_COLLPANE=no
9340 DEFAULT_wxUSE_COMBOBOX=no
9341 DEFAULT_wxUSE_CHECKBOX=no
9342 DEFAULT_wxUSE_CHECKLISTBOX=no
9343 DEFAULT_wxUSE_CHOICE=no
9344 DEFAULT_wxUSE_CHOICEBOOK=no
9345 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9346 DEFAULT_wxUSE_COMBOBOX=no
9347 DEFAULT_wxUSE_DATEPICKCTRL=no
9348 DEFAULT_wxUSE_DISPLAY=no
9349 DEFAULT_wxUSE_DETECT_SM=no
9350 DEFAULT_wxUSE_DIRPICKERCTRL=no
9351 DEFAULT_wxUSE_FILECTRL=no
9352 DEFAULT_wxUSE_FILEPICKERCTRL=no
9353 DEFAULT_wxUSE_FONTPICKERCTRL=no
9354 DEFAULT_wxUSE_GAUGE=no
9355 DEFAULT_wxUSE_GRID=no
9356 DEFAULT_wxUSE_HYPERLINKCTRL=no
9357 DEFAULT_wxUSE_DATAVIEWCTRL=no
9358 DEFAULT_wxUSE_IMAGLIST=no
9359 DEFAULT_wxUSE_LISTBOOK=no
9360 DEFAULT_wxUSE_LISTBOX=no
9361 DEFAULT_wxUSE_LISTCTRL=no
9362 DEFAULT_wxUSE_NOTEBOOK=no
9363 DEFAULT_wxUSE_RADIOBOX=no
9364 DEFAULT_wxUSE_RADIOBTN=no
9365 DEFAULT_wxUSE_SASH=no
9366 DEFAULT_wxUSE_SCROLLBAR=no
9367 DEFAULT_wxUSE_SEARCHCTRL=no
9368 DEFAULT_wxUSE_SLIDER=no
9369 DEFAULT_wxUSE_SPINBTN=no
9370 DEFAULT_wxUSE_SPINCTRL=no
9371 DEFAULT_wxUSE_SPLITTER=no
9372 DEFAULT_wxUSE_STATBMP=no
9373 DEFAULT_wxUSE_STATBOX=no
9374 DEFAULT_wxUSE_STATLINE=no
9375 DEFAULT_wxUSE_STATUSBAR=no
9376 DEFAULT_wxUSE_TAB_DIALOG=no
9377 DEFAULT_wxUSE_TOGGLEBTN=no
9378 DEFAULT_wxUSE_TOOLBAR=no
9379 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9380 DEFAULT_wxUSE_TOOLTIPS=no
9381 DEFAULT_wxUSE_TREEBOOK=no
9382 DEFAULT_wxUSE_TOOLBOOK=no
9383 DEFAULT_wxUSE_TREECTRL=no
9384 DEFAULT_wxUSE_POPUPWIN=no
9385 DEFAULT_wxUSE_TIPWINDOW=no
9390 defaultval=$wxUSE_ALL_FEATURES
9391 if test -z "$defaultval"; then
9392 if test x"$enablestring" = xdisable; then
9399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9400 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9401 # Check whether --enable-accel was given.
9402 if test "${enable_accel+set}" = set; then
9403 enableval=$enable_accel;
9404 if test "$enableval" = yes; then
9405 wx_cv_use_accel='wxUSE_ACCEL=yes'
9407 wx_cv_use_accel='wxUSE_ACCEL=no'
9412 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9417 eval "$wx_cv_use_accel"
9419 if test x"$enablestring" = xdisable; then
9420 if test $wxUSE_ACCEL = yes; then
9429 { echo "$as_me:$LINENO: result: $result" >&5
9430 echo "${ECHO_T}$result" >&6; }
9434 defaultval=$wxUSE_ALL_FEATURES
9435 if test -z "$defaultval"; then
9436 if test x"$enablestring" = xdisable; then
9443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9444 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9445 # Check whether --enable-animatectrl was given.
9446 if test "${enable_animatectrl+set}" = set; then
9447 enableval=$enable_animatectrl;
9448 if test "$enableval" = yes; then
9449 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9451 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9456 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9461 eval "$wx_cv_use_animatectrl"
9463 if test x"$enablestring" = xdisable; then
9464 if test $wxUSE_ANIMATIONCTRL = yes; then
9470 result=$wxUSE_ANIMATIONCTRL
9473 { echo "$as_me:$LINENO: result: $result" >&5
9474 echo "${ECHO_T}$result" >&6; }
9478 defaultval=$wxUSE_ALL_FEATURES
9479 if test -z "$defaultval"; then
9480 if test x"$enablestring" = xdisable; then
9487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9488 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9489 # Check whether --enable-button was given.
9490 if test "${enable_button+set}" = set; then
9491 enableval=$enable_button;
9492 if test "$enableval" = yes; then
9493 wx_cv_use_button='wxUSE_BUTTON=yes'
9495 wx_cv_use_button='wxUSE_BUTTON=no'
9500 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9505 eval "$wx_cv_use_button"
9507 if test x"$enablestring" = xdisable; then
9508 if test $wxUSE_BUTTON = yes; then
9514 result=$wxUSE_BUTTON
9517 { echo "$as_me:$LINENO: result: $result" >&5
9518 echo "${ECHO_T}$result" >&6; }
9522 defaultval=$wxUSE_ALL_FEATURES
9523 if test -z "$defaultval"; then
9524 if test x"$enablestring" = xdisable; then
9531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9532 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9533 # Check whether --enable-bmpbutton was given.
9534 if test "${enable_bmpbutton+set}" = set; then
9535 enableval=$enable_bmpbutton;
9536 if test "$enableval" = yes; then
9537 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9539 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9544 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9549 eval "$wx_cv_use_bmpbutton"
9551 if test x"$enablestring" = xdisable; then
9552 if test $wxUSE_BMPBUTTON = yes; then
9558 result=$wxUSE_BMPBUTTON
9561 { echo "$as_me:$LINENO: result: $result" >&5
9562 echo "${ECHO_T}$result" >&6; }
9566 defaultval=$wxUSE_ALL_FEATURES
9567 if test -z "$defaultval"; then
9568 if test x"$enablestring" = xdisable; then
9575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9576 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9577 # Check whether --enable-bmpcombobox was given.
9578 if test "${enable_bmpcombobox+set}" = set; then
9579 enableval=$enable_bmpcombobox;
9580 if test "$enableval" = yes; then
9581 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9583 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9588 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9593 eval "$wx_cv_use_bmpcombobox"
9595 if test x"$enablestring" = xdisable; then
9596 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9602 result=$wxUSE_BITMAPCOMBOBOX
9605 { echo "$as_me:$LINENO: result: $result" >&5
9606 echo "${ECHO_T}$result" >&6; }
9610 defaultval=$wxUSE_ALL_FEATURES
9611 if test -z "$defaultval"; then
9612 if test x"$enablestring" = xdisable; then
9619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9620 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9621 # Check whether --enable-calendar was given.
9622 if test "${enable_calendar+set}" = set; then
9623 enableval=$enable_calendar;
9624 if test "$enableval" = yes; then
9625 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9627 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9632 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9637 eval "$wx_cv_use_calendar"
9639 if test x"$enablestring" = xdisable; then
9640 if test $wxUSE_CALCTRL = yes; then
9646 result=$wxUSE_CALCTRL
9649 { echo "$as_me:$LINENO: result: $result" >&5
9650 echo "${ECHO_T}$result" >&6; }
9654 defaultval=$wxUSE_ALL_FEATURES
9655 if test -z "$defaultval"; then
9656 if test x"$enablestring" = xdisable; then
9663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9664 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9665 # Check whether --enable-caret was given.
9666 if test "${enable_caret+set}" = set; then
9667 enableval=$enable_caret;
9668 if test "$enableval" = yes; then
9669 wx_cv_use_caret='wxUSE_CARET=yes'
9671 wx_cv_use_caret='wxUSE_CARET=no'
9676 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9681 eval "$wx_cv_use_caret"
9683 if test x"$enablestring" = xdisable; then
9684 if test $wxUSE_CARET = yes; then
9693 { echo "$as_me:$LINENO: result: $result" >&5
9694 echo "${ECHO_T}$result" >&6; }
9698 defaultval=$wxUSE_ALL_FEATURES
9699 if test -z "$defaultval"; then
9700 if test x"$enablestring" = xdisable; then
9707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9708 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9709 # Check whether --enable-checkbox was given.
9710 if test "${enable_checkbox+set}" = set; then
9711 enableval=$enable_checkbox;
9712 if test "$enableval" = yes; then
9713 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9715 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9720 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9725 eval "$wx_cv_use_checkbox"
9727 if test x"$enablestring" = xdisable; then
9728 if test $wxUSE_CHECKBOX = yes; then
9734 result=$wxUSE_CHECKBOX
9737 { echo "$as_me:$LINENO: result: $result" >&5
9738 echo "${ECHO_T}$result" >&6; }
9742 defaultval=$wxUSE_ALL_FEATURES
9743 if test -z "$defaultval"; then
9744 if test x"$enablestring" = xdisable; then
9751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9752 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9753 # Check whether --enable-checklst was given.
9754 if test "${enable_checklst+set}" = set; then
9755 enableval=$enable_checklst;
9756 if test "$enableval" = yes; then
9757 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9759 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9764 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9769 eval "$wx_cv_use_checklst"
9771 if test x"$enablestring" = xdisable; then
9772 if test $wxUSE_CHECKLST = yes; then
9778 result=$wxUSE_CHECKLST
9781 { echo "$as_me:$LINENO: result: $result" >&5
9782 echo "${ECHO_T}$result" >&6; }
9786 defaultval=$wxUSE_ALL_FEATURES
9787 if test -z "$defaultval"; then
9788 if test x"$enablestring" = xdisable; then
9795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9796 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9797 # Check whether --enable-choice was given.
9798 if test "${enable_choice+set}" = set; then
9799 enableval=$enable_choice;
9800 if test "$enableval" = yes; then
9801 wx_cv_use_choice='wxUSE_CHOICE=yes'
9803 wx_cv_use_choice='wxUSE_CHOICE=no'
9808 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9813 eval "$wx_cv_use_choice"
9815 if test x"$enablestring" = xdisable; then
9816 if test $wxUSE_CHOICE = yes; then
9822 result=$wxUSE_CHOICE
9825 { echo "$as_me:$LINENO: result: $result" >&5
9826 echo "${ECHO_T}$result" >&6; }
9830 defaultval=$wxUSE_ALL_FEATURES
9831 if test -z "$defaultval"; then
9832 if test x"$enablestring" = xdisable; then
9839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9840 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9841 # Check whether --enable-choicebook was given.
9842 if test "${enable_choicebook+set}" = set; then
9843 enableval=$enable_choicebook;
9844 if test "$enableval" = yes; then
9845 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9847 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9852 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9857 eval "$wx_cv_use_choicebook"
9859 if test x"$enablestring" = xdisable; then
9860 if test $wxUSE_CHOICEBOOK = yes; then
9866 result=$wxUSE_CHOICEBOOK
9869 { echo "$as_me:$LINENO: result: $result" >&5
9870 echo "${ECHO_T}$result" >&6; }
9874 defaultval=$wxUSE_ALL_FEATURES
9875 if test -z "$defaultval"; then
9876 if test x"$enablestring" = xdisable; then
9883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9884 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9885 # Check whether --enable-collpane was given.
9886 if test "${enable_collpane+set}" = set; then
9887 enableval=$enable_collpane;
9888 if test "$enableval" = yes; then
9889 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9891 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9896 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9901 eval "$wx_cv_use_collpane"
9903 if test x"$enablestring" = xdisable; then
9904 if test $wxUSE_COLLPANE = yes; then
9910 result=$wxUSE_COLLPANE
9913 { echo "$as_me:$LINENO: result: $result" >&5
9914 echo "${ECHO_T}$result" >&6; }
9918 defaultval=$wxUSE_ALL_FEATURES
9919 if test -z "$defaultval"; then
9920 if test x"$enablestring" = xdisable; then
9927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9928 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9929 # Check whether --enable-colourpicker was given.
9930 if test "${enable_colourpicker+set}" = set; then
9931 enableval=$enable_colourpicker;
9932 if test "$enableval" = yes; then
9933 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9935 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9940 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
9945 eval "$wx_cv_use_colourpicker"
9947 if test x"$enablestring" = xdisable; then
9948 if test $wxUSE_COLOURPICKERCTRL = yes; then
9954 result=$wxUSE_COLOURPICKERCTRL
9957 { echo "$as_me:$LINENO: result: $result" >&5
9958 echo "${ECHO_T}$result" >&6; }
9962 defaultval=$wxUSE_ALL_FEATURES
9963 if test -z "$defaultval"; then
9964 if test x"$enablestring" = xdisable; then
9971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9972 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9973 # Check whether --enable-combobox was given.
9974 if test "${enable_combobox+set}" = set; then
9975 enableval=$enable_combobox;
9976 if test "$enableval" = yes; then
9977 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
9979 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
9984 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
9989 eval "$wx_cv_use_combobox"
9991 if test x"$enablestring" = xdisable; then
9992 if test $wxUSE_COMBOBOX = yes; then
9998 result=$wxUSE_COMBOBOX
10001 { echo "$as_me:$LINENO: result: $result" >&5
10002 echo "${ECHO_T}$result" >&6; }
10006 defaultval=$wxUSE_ALL_FEATURES
10007 if test -z "$defaultval"; then
10008 if test x"$enablestring" = xdisable; then
10015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10016 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10017 # Check whether --enable-comboctrl was given.
10018 if test "${enable_comboctrl+set}" = set; then
10019 enableval=$enable_comboctrl;
10020 if test "$enableval" = yes; then
10021 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10023 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10028 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10033 eval "$wx_cv_use_comboctrl"
10035 if test x"$enablestring" = xdisable; then
10036 if test $wxUSE_COMBOCTRL = yes; then
10042 result=$wxUSE_COMBOCTRL
10045 { echo "$as_me:$LINENO: result: $result" >&5
10046 echo "${ECHO_T}$result" >&6; }
10050 defaultval=$wxUSE_ALL_FEATURES
10051 if test -z "$defaultval"; then
10052 if test x"$enablestring" = xdisable; then
10059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10060 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10061 # Check whether --enable-datepick was given.
10062 if test "${enable_datepick+set}" = set; then
10063 enableval=$enable_datepick;
10064 if test "$enableval" = yes; then
10065 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10067 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10072 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10077 eval "$wx_cv_use_datepick"
10079 if test x"$enablestring" = xdisable; then
10080 if test $wxUSE_DATEPICKCTRL = yes; then
10086 result=$wxUSE_DATEPICKCTRL
10089 { echo "$as_me:$LINENO: result: $result" >&5
10090 echo "${ECHO_T}$result" >&6; }
10094 defaultval=$wxUSE_ALL_FEATURES
10095 if test -z "$defaultval"; then
10096 if test x"$enablestring" = xdisable; then
10103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10104 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10105 # Check whether --enable-dirpicker was given.
10106 if test "${enable_dirpicker+set}" = set; then
10107 enableval=$enable_dirpicker;
10108 if test "$enableval" = yes; then
10109 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10111 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10116 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10121 eval "$wx_cv_use_dirpicker"
10123 if test x"$enablestring" = xdisable; then
10124 if test $wxUSE_DIRPICKERCTRL = yes; then
10130 result=$wxUSE_DIRPICKERCTRL
10133 { echo "$as_me:$LINENO: result: $result" >&5
10134 echo "${ECHO_T}$result" >&6; }
10138 defaultval=$wxUSE_ALL_FEATURES
10139 if test -z "$defaultval"; then
10140 if test x"$enablestring" = xdisable; then
10147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10148 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10149 # Check whether --enable-display was given.
10150 if test "${enable_display+set}" = set; then
10151 enableval=$enable_display;
10152 if test "$enableval" = yes; then
10153 wx_cv_use_display='wxUSE_DISPLAY=yes'
10155 wx_cv_use_display='wxUSE_DISPLAY=no'
10160 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10165 eval "$wx_cv_use_display"
10167 if test x"$enablestring" = xdisable; then
10168 if test $wxUSE_DISPLAY = yes; then
10174 result=$wxUSE_DISPLAY
10177 { echo "$as_me:$LINENO: result: $result" >&5
10178 echo "${ECHO_T}$result" >&6; }
10182 defaultval=$wxUSE_ALL_FEATURES
10183 if test -z "$defaultval"; then
10184 if test x"$enablestring" = xdisable; then
10191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10192 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10193 # Check whether --enable-detect_sm was given.
10194 if test "${enable_detect_sm+set}" = set; then
10195 enableval=$enable_detect_sm;
10196 if test "$enableval" = yes; then
10197 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10199 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10204 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10209 eval "$wx_cv_use_detect_sm"
10211 if test x"$enablestring" = xdisable; then
10212 if test $wxUSE_DETECT_SM = yes; then
10218 result=$wxUSE_DETECT_SM
10221 { echo "$as_me:$LINENO: result: $result" >&5
10222 echo "${ECHO_T}$result" >&6; }
10226 defaultval=$wxUSE_ALL_FEATURES
10227 if test -z "$defaultval"; then
10228 if test x"$enablestring" = xdisable; then
10235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10236 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10237 # Check whether --enable-editablebox was given.
10238 if test "${enable_editablebox+set}" = set; then
10239 enableval=$enable_editablebox;
10240 if test "$enableval" = yes; then
10241 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10243 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10248 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10253 eval "$wx_cv_use_editablebox"
10255 if test x"$enablestring" = xdisable; then
10256 if test $wxUSE_EDITABLELISTBOX = yes; then
10262 result=$wxUSE_EDITABLELISTBOX
10265 { echo "$as_me:$LINENO: result: $result" >&5
10266 echo "${ECHO_T}$result" >&6; }
10270 defaultval=$wxUSE_ALL_FEATURES
10271 if test -z "$defaultval"; then
10272 if test x"$enablestring" = xdisable; then
10279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10280 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10281 # Check whether --enable-filepicker was given.
10282 if test "${enable_filepicker+set}" = set; then
10283 enableval=$enable_filepicker;
10284 if test "$enableval" = yes; then
10285 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10287 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10292 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10297 eval "$wx_cv_use_filepicker"
10299 if test x"$enablestring" = xdisable; then
10300 if test $wxUSE_FILEPICKERCTRL = yes; then
10306 result=$wxUSE_FILEPICKERCTRL
10309 { echo "$as_me:$LINENO: result: $result" >&5
10310 echo "${ECHO_T}$result" >&6; }
10314 defaultval=$wxUSE_ALL_FEATURES
10315 if test -z "$defaultval"; then
10316 if test x"$enablestring" = xdisable; then
10323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10324 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10325 # Check whether --enable-filectrl was given.
10326 if test "${enable_filectrl+set}" = set; then
10327 enableval=$enable_filectrl;
10328 if test "$enableval" = yes; then
10329 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10331 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10336 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10341 eval "$wx_cv_use_filectrl"
10343 if test x"$enablestring" = xdisable; then
10344 if test $wxUSE_FILECTRL = yes; then
10350 result=$wxUSE_FILECTRL
10353 { echo "$as_me:$LINENO: result: $result" >&5
10354 echo "${ECHO_T}$result" >&6; }
10358 defaultval=$wxUSE_ALL_FEATURES
10359 if test -z "$defaultval"; then
10360 if test x"$enablestring" = xdisable; then
10367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10368 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10369 # Check whether --enable-fontpicker was given.
10370 if test "${enable_fontpicker+set}" = set; then
10371 enableval=$enable_fontpicker;
10372 if test "$enableval" = yes; then
10373 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10375 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10380 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10385 eval "$wx_cv_use_fontpicker"
10387 if test x"$enablestring" = xdisable; then
10388 if test $wxUSE_FONTPICKERCTRL = yes; then
10394 result=$wxUSE_FONTPICKERCTRL
10397 { echo "$as_me:$LINENO: result: $result" >&5
10398 echo "${ECHO_T}$result" >&6; }
10402 defaultval=$wxUSE_ALL_FEATURES
10403 if test -z "$defaultval"; then
10404 if test x"$enablestring" = xdisable; then
10411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10412 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10413 # Check whether --enable-gauge was given.
10414 if test "${enable_gauge+set}" = set; then
10415 enableval=$enable_gauge;
10416 if test "$enableval" = yes; then
10417 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10419 wx_cv_use_gauge='wxUSE_GAUGE=no'
10424 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10429 eval "$wx_cv_use_gauge"
10431 if test x"$enablestring" = xdisable; then
10432 if test $wxUSE_GAUGE = yes; then
10438 result=$wxUSE_GAUGE
10441 { echo "$as_me:$LINENO: result: $result" >&5
10442 echo "${ECHO_T}$result" >&6; }
10446 defaultval=$wxUSE_ALL_FEATURES
10447 if test -z "$defaultval"; then
10448 if test x"$enablestring" = xdisable; then
10455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10456 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10457 # Check whether --enable-grid was given.
10458 if test "${enable_grid+set}" = set; then
10459 enableval=$enable_grid;
10460 if test "$enableval" = yes; then
10461 wx_cv_use_grid='wxUSE_GRID=yes'
10463 wx_cv_use_grid='wxUSE_GRID=no'
10468 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10473 eval "$wx_cv_use_grid"
10475 if test x"$enablestring" = xdisable; then
10476 if test $wxUSE_GRID = yes; then
10485 { echo "$as_me:$LINENO: result: $result" >&5
10486 echo "${ECHO_T}$result" >&6; }
10490 defaultval=$wxUSE_ALL_FEATURES
10491 if test -z "$defaultval"; then
10492 if test x"$enablestring" = xdisable; then
10499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10500 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10501 # Check whether --enable-dataviewctrl was given.
10502 if test "${enable_dataviewctrl+set}" = set; then
10503 enableval=$enable_dataviewctrl;
10504 if test "$enableval" = yes; then
10505 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10507 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10512 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10517 eval "$wx_cv_use_dataviewctrl"
10519 if test x"$enablestring" = xdisable; then
10520 if test $wxUSE_DATAVIEWCTRL = yes; then
10526 result=$wxUSE_DATAVIEWCTRL
10529 { echo "$as_me:$LINENO: result: $result" >&5
10530 echo "${ECHO_T}$result" >&6; }
10534 defaultval=$wxUSE_ALL_FEATURES
10535 if test -z "$defaultval"; then
10536 if test x"$enablestring" = xdisable; then
10543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10544 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10545 # Check whether --enable-hyperlink was given.
10546 if test "${enable_hyperlink+set}" = set; then
10547 enableval=$enable_hyperlink;
10548 if test "$enableval" = yes; then
10549 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10551 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10556 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10561 eval "$wx_cv_use_hyperlink"
10563 if test x"$enablestring" = xdisable; then
10564 if test $wxUSE_HYPERLINKCTRL = yes; then
10570 result=$wxUSE_HYPERLINKCTRL
10573 { echo "$as_me:$LINENO: result: $result" >&5
10574 echo "${ECHO_T}$result" >&6; }
10578 defaultval=$wxUSE_ALL_FEATURES
10579 if test -z "$defaultval"; then
10580 if test x"$enablestring" = xdisable; then
10587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10588 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10589 # Check whether --enable-imaglist was given.
10590 if test "${enable_imaglist+set}" = set; then
10591 enableval=$enable_imaglist;
10592 if test "$enableval" = yes; then
10593 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10595 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10600 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10605 eval "$wx_cv_use_imaglist"
10607 if test x"$enablestring" = xdisable; then
10608 if test $wxUSE_IMAGLIST = yes; then
10614 result=$wxUSE_IMAGLIST
10617 { echo "$as_me:$LINENO: result: $result" >&5
10618 echo "${ECHO_T}$result" >&6; }
10622 defaultval=$wxUSE_ALL_FEATURES
10623 if test -z "$defaultval"; then
10624 if test x"$enablestring" = xdisable; then
10631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10632 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10633 # Check whether --enable-listbook was given.
10634 if test "${enable_listbook+set}" = set; then
10635 enableval=$enable_listbook;
10636 if test "$enableval" = yes; then
10637 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10639 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10644 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10649 eval "$wx_cv_use_listbook"
10651 if test x"$enablestring" = xdisable; then
10652 if test $wxUSE_LISTBOOK = yes; then
10658 result=$wxUSE_LISTBOOK
10661 { echo "$as_me:$LINENO: result: $result" >&5
10662 echo "${ECHO_T}$result" >&6; }
10666 defaultval=$wxUSE_ALL_FEATURES
10667 if test -z "$defaultval"; then
10668 if test x"$enablestring" = xdisable; then
10675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10676 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10677 # Check whether --enable-listbox was given.
10678 if test "${enable_listbox+set}" = set; then
10679 enableval=$enable_listbox;
10680 if test "$enableval" = yes; then
10681 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10683 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10688 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10693 eval "$wx_cv_use_listbox"
10695 if test x"$enablestring" = xdisable; then
10696 if test $wxUSE_LISTBOX = yes; then
10702 result=$wxUSE_LISTBOX
10705 { echo "$as_me:$LINENO: result: $result" >&5
10706 echo "${ECHO_T}$result" >&6; }
10710 defaultval=$wxUSE_ALL_FEATURES
10711 if test -z "$defaultval"; then
10712 if test x"$enablestring" = xdisable; then
10719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10720 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10721 # Check whether --enable-listctrl was given.
10722 if test "${enable_listctrl+set}" = set; then
10723 enableval=$enable_listctrl;
10724 if test "$enableval" = yes; then
10725 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10727 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10732 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10737 eval "$wx_cv_use_listctrl"
10739 if test x"$enablestring" = xdisable; then
10740 if test $wxUSE_LISTCTRL = yes; then
10746 result=$wxUSE_LISTCTRL
10749 { echo "$as_me:$LINENO: result: $result" >&5
10750 echo "${ECHO_T}$result" >&6; }
10754 defaultval=$wxUSE_ALL_FEATURES
10755 if test -z "$defaultval"; then
10756 if test x"$enablestring" = xdisable; then
10763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10764 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10765 # Check whether --enable-notebook was given.
10766 if test "${enable_notebook+set}" = set; then
10767 enableval=$enable_notebook;
10768 if test "$enableval" = yes; then
10769 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10771 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10776 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10781 eval "$wx_cv_use_notebook"
10783 if test x"$enablestring" = xdisable; then
10784 if test $wxUSE_NOTEBOOK = yes; then
10790 result=$wxUSE_NOTEBOOK
10793 { echo "$as_me:$LINENO: result: $result" >&5
10794 echo "${ECHO_T}$result" >&6; }
10798 defaultval=$wxUSE_ALL_FEATURES
10799 if test -z "$defaultval"; then
10800 if test x"$enablestring" = xdisable; then
10807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10808 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10809 # Check whether --enable-notifmsg was given.
10810 if test "${enable_notifmsg+set}" = set; then
10811 enableval=$enable_notifmsg;
10812 if test "$enableval" = yes; then
10813 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10815 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10820 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10825 eval "$wx_cv_use_notifmsg"
10827 if test x"$enablestring" = xdisable; then
10828 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10834 result=$wxUSE_NOTIFICATION_MESSAGE
10837 { echo "$as_me:$LINENO: result: $result" >&5
10838 echo "${ECHO_T}$result" >&6; }
10842 defaultval=$wxUSE_ALL_FEATURES
10843 if test -z "$defaultval"; then
10844 if test x"$enablestring" = xdisable; then
10851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10852 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10853 # Check whether --enable-odcombobox was given.
10854 if test "${enable_odcombobox+set}" = set; then
10855 enableval=$enable_odcombobox;
10856 if test "$enableval" = yes; then
10857 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10859 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10864 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10869 eval "$wx_cv_use_odcombobox"
10871 if test x"$enablestring" = xdisable; then
10872 if test $wxUSE_ODCOMBOBOX = yes; then
10878 result=$wxUSE_ODCOMBOBOX
10881 { echo "$as_me:$LINENO: result: $result" >&5
10882 echo "${ECHO_T}$result" >&6; }
10886 defaultval=$wxUSE_ALL_FEATURES
10887 if test -z "$defaultval"; then
10888 if test x"$enablestring" = xdisable; then
10895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10896 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10897 # Check whether --enable-radiobox was given.
10898 if test "${enable_radiobox+set}" = set; then
10899 enableval=$enable_radiobox;
10900 if test "$enableval" = yes; then
10901 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10903 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
10908 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
10913 eval "$wx_cv_use_radiobox"
10915 if test x"$enablestring" = xdisable; then
10916 if test $wxUSE_RADIOBOX = yes; then
10922 result=$wxUSE_RADIOBOX
10925 { echo "$as_me:$LINENO: result: $result" >&5
10926 echo "${ECHO_T}$result" >&6; }
10930 defaultval=$wxUSE_ALL_FEATURES
10931 if test -z "$defaultval"; then
10932 if test x"$enablestring" = xdisable; then
10939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10940 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10941 # Check whether --enable-radiobtn was given.
10942 if test "${enable_radiobtn+set}" = set; then
10943 enableval=$enable_radiobtn;
10944 if test "$enableval" = yes; then
10945 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10947 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10952 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
10957 eval "$wx_cv_use_radiobtn"
10959 if test x"$enablestring" = xdisable; then
10960 if test $wxUSE_RADIOBTN = yes; then
10966 result=$wxUSE_RADIOBTN
10969 { echo "$as_me:$LINENO: result: $result" >&5
10970 echo "${ECHO_T}$result" >&6; }
10974 defaultval=$wxUSE_ALL_FEATURES
10975 if test -z "$defaultval"; then
10976 if test x"$enablestring" = xdisable; then
10983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10984 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10985 # Check whether --enable-sash was given.
10986 if test "${enable_sash+set}" = set; then
10987 enableval=$enable_sash;
10988 if test "$enableval" = yes; then
10989 wx_cv_use_sash='wxUSE_SASH=yes'
10991 wx_cv_use_sash='wxUSE_SASH=no'
10996 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11001 eval "$wx_cv_use_sash"
11003 if test x"$enablestring" = xdisable; then
11004 if test $wxUSE_SASH = yes; then
11013 { echo "$as_me:$LINENO: result: $result" >&5
11014 echo "${ECHO_T}$result" >&6; }
11018 defaultval=$wxUSE_ALL_FEATURES
11019 if test -z "$defaultval"; then
11020 if test x"$enablestring" = xdisable; then
11027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11028 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11029 # Check whether --enable-scrollbar was given.
11030 if test "${enable_scrollbar+set}" = set; then
11031 enableval=$enable_scrollbar;
11032 if test "$enableval" = yes; then
11033 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11035 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11040 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11045 eval "$wx_cv_use_scrollbar"
11047 if test x"$enablestring" = xdisable; then
11048 if test $wxUSE_SCROLLBAR = yes; then
11054 result=$wxUSE_SCROLLBAR
11057 { echo "$as_me:$LINENO: result: $result" >&5
11058 echo "${ECHO_T}$result" >&6; }
11062 defaultval=$wxUSE_ALL_FEATURES
11063 if test -z "$defaultval"; then
11064 if test x"$enablestring" = xdisable; then
11071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11072 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11073 # Check whether --enable-searchctrl was given.
11074 if test "${enable_searchctrl+set}" = set; then
11075 enableval=$enable_searchctrl;
11076 if test "$enableval" = yes; then
11077 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11079 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11084 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11089 eval "$wx_cv_use_searchctrl"
11091 if test x"$enablestring" = xdisable; then
11092 if test $wxUSE_SEARCHCTRL = yes; then
11098 result=$wxUSE_SEARCHCTRL
11101 { echo "$as_me:$LINENO: result: $result" >&5
11102 echo "${ECHO_T}$result" >&6; }
11106 defaultval=$wxUSE_ALL_FEATURES
11107 if test -z "$defaultval"; then
11108 if test x"$enablestring" = xdisable; then
11115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11116 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11117 # Check whether --enable-slider was given.
11118 if test "${enable_slider+set}" = set; then
11119 enableval=$enable_slider;
11120 if test "$enableval" = yes; then
11121 wx_cv_use_slider='wxUSE_SLIDER=yes'
11123 wx_cv_use_slider='wxUSE_SLIDER=no'
11128 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11133 eval "$wx_cv_use_slider"
11135 if test x"$enablestring" = xdisable; then
11136 if test $wxUSE_SLIDER = yes; then
11142 result=$wxUSE_SLIDER
11145 { echo "$as_me:$LINENO: result: $result" >&5
11146 echo "${ECHO_T}$result" >&6; }
11150 defaultval=$wxUSE_ALL_FEATURES
11151 if test -z "$defaultval"; then
11152 if test x"$enablestring" = xdisable; then
11159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11160 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11161 # Check whether --enable-spinbtn was given.
11162 if test "${enable_spinbtn+set}" = set; then
11163 enableval=$enable_spinbtn;
11164 if test "$enableval" = yes; then
11165 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11167 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11172 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11177 eval "$wx_cv_use_spinbtn"
11179 if test x"$enablestring" = xdisable; then
11180 if test $wxUSE_SPINBTN = yes; then
11186 result=$wxUSE_SPINBTN
11189 { echo "$as_me:$LINENO: result: $result" >&5
11190 echo "${ECHO_T}$result" >&6; }
11194 defaultval=$wxUSE_ALL_FEATURES
11195 if test -z "$defaultval"; then
11196 if test x"$enablestring" = xdisable; then
11203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11204 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11205 # Check whether --enable-spinctrl was given.
11206 if test "${enable_spinctrl+set}" = set; then
11207 enableval=$enable_spinctrl;
11208 if test "$enableval" = yes; then
11209 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11211 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11216 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11221 eval "$wx_cv_use_spinctrl"
11223 if test x"$enablestring" = xdisable; then
11224 if test $wxUSE_SPINCTRL = yes; then
11230 result=$wxUSE_SPINCTRL
11233 { echo "$as_me:$LINENO: result: $result" >&5
11234 echo "${ECHO_T}$result" >&6; }
11238 defaultval=$wxUSE_ALL_FEATURES
11239 if test -z "$defaultval"; then
11240 if test x"$enablestring" = xdisable; then
11247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11248 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11249 # Check whether --enable-splitter was given.
11250 if test "${enable_splitter+set}" = set; then
11251 enableval=$enable_splitter;
11252 if test "$enableval" = yes; then
11253 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11255 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11260 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11265 eval "$wx_cv_use_splitter"
11267 if test x"$enablestring" = xdisable; then
11268 if test $wxUSE_SPLITTER = yes; then
11274 result=$wxUSE_SPLITTER
11277 { echo "$as_me:$LINENO: result: $result" >&5
11278 echo "${ECHO_T}$result" >&6; }
11282 defaultval=$wxUSE_ALL_FEATURES
11283 if test -z "$defaultval"; then
11284 if test x"$enablestring" = xdisable; then
11291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11292 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11293 # Check whether --enable-statbmp was given.
11294 if test "${enable_statbmp+set}" = set; then
11295 enableval=$enable_statbmp;
11296 if test "$enableval" = yes; then
11297 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11299 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11304 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11309 eval "$wx_cv_use_statbmp"
11311 if test x"$enablestring" = xdisable; then
11312 if test $wxUSE_STATBMP = yes; then
11318 result=$wxUSE_STATBMP
11321 { echo "$as_me:$LINENO: result: $result" >&5
11322 echo "${ECHO_T}$result" >&6; }
11326 defaultval=$wxUSE_ALL_FEATURES
11327 if test -z "$defaultval"; then
11328 if test x"$enablestring" = xdisable; then
11335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11336 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11337 # Check whether --enable-statbox was given.
11338 if test "${enable_statbox+set}" = set; then
11339 enableval=$enable_statbox;
11340 if test "$enableval" = yes; then
11341 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11343 wx_cv_use_statbox='wxUSE_STATBOX=no'
11348 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11353 eval "$wx_cv_use_statbox"
11355 if test x"$enablestring" = xdisable; then
11356 if test $wxUSE_STATBOX = yes; then
11362 result=$wxUSE_STATBOX
11365 { echo "$as_me:$LINENO: result: $result" >&5
11366 echo "${ECHO_T}$result" >&6; }
11370 defaultval=$wxUSE_ALL_FEATURES
11371 if test -z "$defaultval"; then
11372 if test x"$enablestring" = xdisable; then
11379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11380 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11381 # Check whether --enable-statline was given.
11382 if test "${enable_statline+set}" = set; then
11383 enableval=$enable_statline;
11384 if test "$enableval" = yes; then
11385 wx_cv_use_statline='wxUSE_STATLINE=yes'
11387 wx_cv_use_statline='wxUSE_STATLINE=no'
11392 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11397 eval "$wx_cv_use_statline"
11399 if test x"$enablestring" = xdisable; then
11400 if test $wxUSE_STATLINE = yes; then
11406 result=$wxUSE_STATLINE
11409 { echo "$as_me:$LINENO: result: $result" >&5
11410 echo "${ECHO_T}$result" >&6; }
11414 defaultval=$wxUSE_ALL_FEATURES
11415 if test -z "$defaultval"; then
11416 if test x"$enablestring" = xdisable; then
11423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11424 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11425 # Check whether --enable-stattext was given.
11426 if test "${enable_stattext+set}" = set; then
11427 enableval=$enable_stattext;
11428 if test "$enableval" = yes; then
11429 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11431 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11436 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11441 eval "$wx_cv_use_stattext"
11443 if test x"$enablestring" = xdisable; then
11444 if test $wxUSE_STATTEXT = yes; then
11450 result=$wxUSE_STATTEXT
11453 { echo "$as_me:$LINENO: result: $result" >&5
11454 echo "${ECHO_T}$result" >&6; }
11458 defaultval=$wxUSE_ALL_FEATURES
11459 if test -z "$defaultval"; then
11460 if test x"$enablestring" = xdisable; then
11467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11468 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11469 # Check whether --enable-statusbar was given.
11470 if test "${enable_statusbar+set}" = set; then
11471 enableval=$enable_statusbar;
11472 if test "$enableval" = yes; then
11473 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11475 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11480 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11485 eval "$wx_cv_use_statusbar"
11487 if test x"$enablestring" = xdisable; then
11488 if test $wxUSE_STATUSBAR = yes; then
11494 result=$wxUSE_STATUSBAR
11497 { echo "$as_me:$LINENO: result: $result" >&5
11498 echo "${ECHO_T}$result" >&6; }
11502 defaultval=$wxUSE_ALL_FEATURES
11503 if test -z "$defaultval"; then
11504 if test x"$enablestring" = xdisable; then
11511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11512 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11513 # Check whether --enable-tabdialog was given.
11514 if test "${enable_tabdialog+set}" = set; then
11515 enableval=$enable_tabdialog;
11516 if test "$enableval" = yes; then
11517 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11519 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11524 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11529 eval "$wx_cv_use_tabdialog"
11531 if test x"$enablestring" = xdisable; then
11532 if test $wxUSE_TAB_DIALOG = yes; then
11538 result=$wxUSE_TAB_DIALOG
11541 { echo "$as_me:$LINENO: result: $result" >&5
11542 echo "${ECHO_T}$result" >&6; }
11546 defaultval=$wxUSE_ALL_FEATURES
11547 if test -z "$defaultval"; then
11548 if test x"$enablestring" = xdisable; then
11555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11556 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11557 # Check whether --enable-taskbaricon was given.
11558 if test "${enable_taskbaricon+set}" = set; then
11559 enableval=$enable_taskbaricon;
11560 if test "$enableval" = yes; then
11561 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11563 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11568 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11573 eval "$wx_cv_use_taskbaricon"
11575 if test x"$enablestring" = xdisable; then
11576 if test $wxUSE_TASKBARICON = yes; then
11582 result=$wxUSE_TASKBARICON
11585 { echo "$as_me:$LINENO: result: $result" >&5
11586 echo "${ECHO_T}$result" >&6; }
11590 defaultval=$wxUSE_ALL_FEATURES
11591 if test -z "$defaultval"; then
11592 if test x"$enablestring" = xdisable; then
11599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11600 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11601 # Check whether --enable-textctrl was given.
11602 if test "${enable_textctrl+set}" = set; then
11603 enableval=$enable_textctrl;
11604 if test "$enableval" = yes; then
11605 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11607 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11612 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11617 eval "$wx_cv_use_textctrl"
11619 if test x"$enablestring" = xdisable; then
11620 if test $wxUSE_TEXTCTRL = yes; then
11626 result=$wxUSE_TEXTCTRL
11629 { echo "$as_me:$LINENO: result: $result" >&5
11630 echo "${ECHO_T}$result" >&6; }
11634 defaultval=$wxUSE_ALL_FEATURES
11635 if test -z "$defaultval"; then
11636 if test x"$enablestring" = xdisable; then
11643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11644 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11645 # Check whether --enable-togglebtn was given.
11646 if test "${enable_togglebtn+set}" = set; then
11647 enableval=$enable_togglebtn;
11648 if test "$enableval" = yes; then
11649 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11651 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11656 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11661 eval "$wx_cv_use_togglebtn"
11663 if test x"$enablestring" = xdisable; then
11664 if test $wxUSE_TOGGLEBTN = yes; then
11670 result=$wxUSE_TOGGLEBTN
11673 { echo "$as_me:$LINENO: result: $result" >&5
11674 echo "${ECHO_T}$result" >&6; }
11678 defaultval=$wxUSE_ALL_FEATURES
11679 if test -z "$defaultval"; then
11680 if test x"$enablestring" = xdisable; then
11687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11688 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11689 # Check whether --enable-toolbar was given.
11690 if test "${enable_toolbar+set}" = set; then
11691 enableval=$enable_toolbar;
11692 if test "$enableval" = yes; then
11693 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11695 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11700 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11705 eval "$wx_cv_use_toolbar"
11707 if test x"$enablestring" = xdisable; then
11708 if test $wxUSE_TOOLBAR = yes; then
11714 result=$wxUSE_TOOLBAR
11717 { echo "$as_me:$LINENO: result: $result" >&5
11718 echo "${ECHO_T}$result" >&6; }
11722 defaultval=$wxUSE_ALL_FEATURES
11723 if test -z "$defaultval"; then
11724 if test x"$enablestring" = xdisable; then
11731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11732 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11733 # Check whether --enable-tbarnative was given.
11734 if test "${enable_tbarnative+set}" = set; then
11735 enableval=$enable_tbarnative;
11736 if test "$enableval" = yes; then
11737 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11739 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11744 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11749 eval "$wx_cv_use_tbarnative"
11751 if test x"$enablestring" = xdisable; then
11752 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11758 result=$wxUSE_TOOLBAR_NATIVE
11761 { echo "$as_me:$LINENO: result: $result" >&5
11762 echo "${ECHO_T}$result" >&6; }
11766 defaultval=$wxUSE_ALL_FEATURES
11767 if test -z "$defaultval"; then
11768 if test x"$enablestring" = xdisable; then
11775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11776 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11777 # Check whether --enable-treebook was given.
11778 if test "${enable_treebook+set}" = set; then
11779 enableval=$enable_treebook;
11780 if test "$enableval" = yes; then
11781 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11783 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11788 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11793 eval "$wx_cv_use_treebook"
11795 if test x"$enablestring" = xdisable; then
11796 if test $wxUSE_TREEBOOK = yes; then
11802 result=$wxUSE_TREEBOOK
11805 { echo "$as_me:$LINENO: result: $result" >&5
11806 echo "${ECHO_T}$result" >&6; }
11810 defaultval=$wxUSE_ALL_FEATURES
11811 if test -z "$defaultval"; then
11812 if test x"$enablestring" = xdisable; then
11819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11820 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11821 # Check whether --enable-toolbook was given.
11822 if test "${enable_toolbook+set}" = set; then
11823 enableval=$enable_toolbook;
11824 if test "$enableval" = yes; then
11825 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11827 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11832 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11837 eval "$wx_cv_use_toolbook"
11839 if test x"$enablestring" = xdisable; then
11840 if test $wxUSE_TOOLBOOK = yes; then
11846 result=$wxUSE_TOOLBOOK
11849 { echo "$as_me:$LINENO: result: $result" >&5
11850 echo "${ECHO_T}$result" >&6; }
11854 defaultval=$wxUSE_ALL_FEATURES
11855 if test -z "$defaultval"; then
11856 if test x"$enablestring" = xdisable; then
11863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11864 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11865 # Check whether --enable-treectrl was given.
11866 if test "${enable_treectrl+set}" = set; then
11867 enableval=$enable_treectrl;
11868 if test "$enableval" = yes; then
11869 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11871 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11876 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11881 eval "$wx_cv_use_treectrl"
11883 if test x"$enablestring" = xdisable; then
11884 if test $wxUSE_TREECTRL = yes; then
11890 result=$wxUSE_TREECTRL
11893 { echo "$as_me:$LINENO: result: $result" >&5
11894 echo "${ECHO_T}$result" >&6; }
11898 defaultval=$wxUSE_ALL_FEATURES
11899 if test -z "$defaultval"; then
11900 if test x"$enablestring" = xdisable; then
11907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11908 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11909 # Check whether --enable-tipwindow was given.
11910 if test "${enable_tipwindow+set}" = set; then
11911 enableval=$enable_tipwindow;
11912 if test "$enableval" = yes; then
11913 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11915 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11920 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11925 eval "$wx_cv_use_tipwindow"
11927 if test x"$enablestring" = xdisable; then
11928 if test $wxUSE_TIPWINDOW = yes; then
11934 result=$wxUSE_TIPWINDOW
11937 { echo "$as_me:$LINENO: result: $result" >&5
11938 echo "${ECHO_T}$result" >&6; }
11942 defaultval=$wxUSE_ALL_FEATURES
11943 if test -z "$defaultval"; then
11944 if test x"$enablestring" = xdisable; then
11951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11952 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11953 # Check whether --enable-popupwin was given.
11954 if test "${enable_popupwin+set}" = set; then
11955 enableval=$enable_popupwin;
11956 if test "$enableval" = yes; then
11957 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11959 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11964 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11969 eval "$wx_cv_use_popupwin"
11971 if test x"$enablestring" = xdisable; then
11972 if test $wxUSE_POPUPWIN = yes; then
11978 result=$wxUSE_POPUPWIN
11981 { echo "$as_me:$LINENO: result: $result" >&5
11982 echo "${ECHO_T}$result" >&6; }
11988 defaultval=$wxUSE_ALL_FEATURES
11989 if test -z "$defaultval"; then
11990 if test x"$enablestring" = xdisable; then
11997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11998 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11999 # Check whether --enable-commondlg was given.
12000 if test "${enable_commondlg+set}" = set; then
12001 enableval=$enable_commondlg;
12002 if test "$enableval" = yes; then
12003 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12005 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12010 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12015 eval "$wx_cv_use_commondlg"
12017 if test x"$enablestring" = xdisable; then
12018 if test $wxUSE_COMMONDLGS = yes; then
12024 result=$wxUSE_COMMONDLGS
12027 { echo "$as_me:$LINENO: result: $result" >&5
12028 echo "${ECHO_T}$result" >&6; }
12032 defaultval=$wxUSE_ALL_FEATURES
12033 if test -z "$defaultval"; then
12034 if test x"$enablestring" = xdisable; then
12041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12042 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12043 # Check whether --enable-aboutdlg was given.
12044 if test "${enable_aboutdlg+set}" = set; then
12045 enableval=$enable_aboutdlg;
12046 if test "$enableval" = yes; then
12047 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12049 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12054 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12059 eval "$wx_cv_use_aboutdlg"
12061 if test x"$enablestring" = xdisable; then
12062 if test $wxUSE_ABOUTDLG = yes; then
12068 result=$wxUSE_ABOUTDLG
12071 { echo "$as_me:$LINENO: result: $result" >&5
12072 echo "${ECHO_T}$result" >&6; }
12076 defaultval=$wxUSE_ALL_FEATURES
12077 if test -z "$defaultval"; then
12078 if test x"$enablestring" = xdisable; then
12085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12086 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12087 # Check whether --enable-choicedlg was given.
12088 if test "${enable_choicedlg+set}" = set; then
12089 enableval=$enable_choicedlg;
12090 if test "$enableval" = yes; then
12091 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12093 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12098 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12103 eval "$wx_cv_use_choicedlg"
12105 if test x"$enablestring" = xdisable; then
12106 if test $wxUSE_CHOICEDLG = yes; then
12112 result=$wxUSE_CHOICEDLG
12115 { echo "$as_me:$LINENO: result: $result" >&5
12116 echo "${ECHO_T}$result" >&6; }
12120 defaultval=$wxUSE_ALL_FEATURES
12121 if test -z "$defaultval"; then
12122 if test x"$enablestring" = xdisable; then
12129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12130 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12131 # Check whether --enable-coldlg was given.
12132 if test "${enable_coldlg+set}" = set; then
12133 enableval=$enable_coldlg;
12134 if test "$enableval" = yes; then
12135 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12137 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12142 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12147 eval "$wx_cv_use_coldlg"
12149 if test x"$enablestring" = xdisable; then
12150 if test $wxUSE_COLOURDLG = yes; then
12156 result=$wxUSE_COLOURDLG
12159 { echo "$as_me:$LINENO: result: $result" >&5
12160 echo "${ECHO_T}$result" >&6; }
12164 defaultval=$wxUSE_ALL_FEATURES
12165 if test -z "$defaultval"; then
12166 if test x"$enablestring" = xdisable; then
12173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12174 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12175 # Check whether --enable-filedlg was given.
12176 if test "${enable_filedlg+set}" = set; then
12177 enableval=$enable_filedlg;
12178 if test "$enableval" = yes; then
12179 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12181 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12186 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12191 eval "$wx_cv_use_filedlg"
12193 if test x"$enablestring" = xdisable; then
12194 if test $wxUSE_FILEDLG = yes; then
12200 result=$wxUSE_FILEDLG
12203 { echo "$as_me:$LINENO: result: $result" >&5
12204 echo "${ECHO_T}$result" >&6; }
12208 defaultval=$wxUSE_ALL_FEATURES
12209 if test -z "$defaultval"; then
12210 if test x"$enablestring" = xdisable; then
12217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12218 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12219 # Check whether --enable-finddlg was given.
12220 if test "${enable_finddlg+set}" = set; then
12221 enableval=$enable_finddlg;
12222 if test "$enableval" = yes; then
12223 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12225 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12230 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12235 eval "$wx_cv_use_finddlg"
12237 if test x"$enablestring" = xdisable; then
12238 if test $wxUSE_FINDREPLDLG = yes; then
12244 result=$wxUSE_FINDREPLDLG
12247 { echo "$as_me:$LINENO: result: $result" >&5
12248 echo "${ECHO_T}$result" >&6; }
12252 defaultval=$wxUSE_ALL_FEATURES
12253 if test -z "$defaultval"; then
12254 if test x"$enablestring" = xdisable; then
12261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12262 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12263 # Check whether --enable-fontdlg was given.
12264 if test "${enable_fontdlg+set}" = set; then
12265 enableval=$enable_fontdlg;
12266 if test "$enableval" = yes; then
12267 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12269 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12274 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12279 eval "$wx_cv_use_fontdlg"
12281 if test x"$enablestring" = xdisable; then
12282 if test $wxUSE_FONTDLG = yes; then
12288 result=$wxUSE_FONTDLG
12291 { echo "$as_me:$LINENO: result: $result" >&5
12292 echo "${ECHO_T}$result" >&6; }
12296 defaultval=$wxUSE_ALL_FEATURES
12297 if test -z "$defaultval"; then
12298 if test x"$enablestring" = xdisable; then
12305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12306 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12307 # Check whether --enable-dirdlg was given.
12308 if test "${enable_dirdlg+set}" = set; then
12309 enableval=$enable_dirdlg;
12310 if test "$enableval" = yes; then
12311 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12313 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12318 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12323 eval "$wx_cv_use_dirdlg"
12325 if test x"$enablestring" = xdisable; then
12326 if test $wxUSE_DIRDLG = yes; then
12332 result=$wxUSE_DIRDLG
12335 { echo "$as_me:$LINENO: result: $result" >&5
12336 echo "${ECHO_T}$result" >&6; }
12340 defaultval=$wxUSE_ALL_FEATURES
12341 if test -z "$defaultval"; then
12342 if test x"$enablestring" = xdisable; then
12349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12350 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12351 # Check whether --enable-msgdlg was given.
12352 if test "${enable_msgdlg+set}" = set; then
12353 enableval=$enable_msgdlg;
12354 if test "$enableval" = yes; then
12355 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12357 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12362 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12367 eval "$wx_cv_use_msgdlg"
12369 if test x"$enablestring" = xdisable; then
12370 if test $wxUSE_MSGDLG = yes; then
12376 result=$wxUSE_MSGDLG
12379 { echo "$as_me:$LINENO: result: $result" >&5
12380 echo "${ECHO_T}$result" >&6; }
12384 defaultval=$wxUSE_ALL_FEATURES
12385 if test -z "$defaultval"; then
12386 if test x"$enablestring" = xdisable; then
12393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12394 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12395 # Check whether --enable-numberdlg was given.
12396 if test "${enable_numberdlg+set}" = set; then
12397 enableval=$enable_numberdlg;
12398 if test "$enableval" = yes; then
12399 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12401 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12406 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12411 eval "$wx_cv_use_numberdlg"
12413 if test x"$enablestring" = xdisable; then
12414 if test $wxUSE_NUMBERDLG = yes; then
12420 result=$wxUSE_NUMBERDLG
12423 { echo "$as_me:$LINENO: result: $result" >&5
12424 echo "${ECHO_T}$result" >&6; }
12428 defaultval=$wxUSE_ALL_FEATURES
12429 if test -z "$defaultval"; then
12430 if test x"$enablestring" = xdisable; then
12437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12438 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12439 # Check whether --enable-splash was given.
12440 if test "${enable_splash+set}" = set; then
12441 enableval=$enable_splash;
12442 if test "$enableval" = yes; then
12443 wx_cv_use_splash='wxUSE_SPLASH=yes'
12445 wx_cv_use_splash='wxUSE_SPLASH=no'
12450 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12455 eval "$wx_cv_use_splash"
12457 if test x"$enablestring" = xdisable; then
12458 if test $wxUSE_SPLASH = yes; then
12464 result=$wxUSE_SPLASH
12467 { echo "$as_me:$LINENO: result: $result" >&5
12468 echo "${ECHO_T}$result" >&6; }
12472 defaultval=$wxUSE_ALL_FEATURES
12473 if test -z "$defaultval"; then
12474 if test x"$enablestring" = xdisable; then
12481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12482 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12483 # Check whether --enable-textdlg was given.
12484 if test "${enable_textdlg+set}" = set; then
12485 enableval=$enable_textdlg;
12486 if test "$enableval" = yes; then
12487 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12489 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12494 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12499 eval "$wx_cv_use_textdlg"
12501 if test x"$enablestring" = xdisable; then
12502 if test $wxUSE_TEXTDLG = yes; then
12508 result=$wxUSE_TEXTDLG
12511 { echo "$as_me:$LINENO: result: $result" >&5
12512 echo "${ECHO_T}$result" >&6; }
12516 defaultval=$wxUSE_ALL_FEATURES
12517 if test -z "$defaultval"; then
12518 if test x"$enablestring" = xdisable; then
12525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12526 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12527 # Check whether --enable-tipdlg was given.
12528 if test "${enable_tipdlg+set}" = set; then
12529 enableval=$enable_tipdlg;
12530 if test "$enableval" = yes; then
12531 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12533 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12538 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12543 eval "$wx_cv_use_tipdlg"
12545 if test x"$enablestring" = xdisable; then
12546 if test $wxUSE_STARTUP_TIPS = yes; then
12552 result=$wxUSE_STARTUP_TIPS
12555 { echo "$as_me:$LINENO: result: $result" >&5
12556 echo "${ECHO_T}$result" >&6; }
12560 defaultval=$wxUSE_ALL_FEATURES
12561 if test -z "$defaultval"; then
12562 if test x"$enablestring" = xdisable; then
12569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12570 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12571 # Check whether --enable-progressdlg was given.
12572 if test "${enable_progressdlg+set}" = set; then
12573 enableval=$enable_progressdlg;
12574 if test "$enableval" = yes; then
12575 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12577 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12582 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12587 eval "$wx_cv_use_progressdlg"
12589 if test x"$enablestring" = xdisable; then
12590 if test $wxUSE_PROGRESSDLG = yes; then
12596 result=$wxUSE_PROGRESSDLG
12599 { echo "$as_me:$LINENO: result: $result" >&5
12600 echo "${ECHO_T}$result" >&6; }
12604 defaultval=$wxUSE_ALL_FEATURES
12605 if test -z "$defaultval"; then
12606 if test x"$enablestring" = xdisable; then
12613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12614 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12615 # Check whether --enable-wizarddlg was given.
12616 if test "${enable_wizarddlg+set}" = set; then
12617 enableval=$enable_wizarddlg;
12618 if test "$enableval" = yes; then
12619 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12621 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12626 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12631 eval "$wx_cv_use_wizarddlg"
12633 if test x"$enablestring" = xdisable; then
12634 if test $wxUSE_WIZARDDLG = yes; then
12640 result=$wxUSE_WIZARDDLG
12643 { echo "$as_me:$LINENO: result: $result" >&5
12644 echo "${ECHO_T}$result" >&6; }
12650 defaultval=$wxUSE_ALL_FEATURES
12651 if test -z "$defaultval"; then
12652 if test x"$enablestring" = xdisable; then
12659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12660 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12661 # Check whether --enable-menus was given.
12662 if test "${enable_menus+set}" = set; then
12663 enableval=$enable_menus;
12664 if test "$enableval" = yes; then
12665 wx_cv_use_menus='wxUSE_MENUS=yes'
12667 wx_cv_use_menus='wxUSE_MENUS=no'
12672 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12677 eval "$wx_cv_use_menus"
12679 if test x"$enablestring" = xdisable; then
12680 if test $wxUSE_MENUS = yes; then
12686 result=$wxUSE_MENUS
12689 { echo "$as_me:$LINENO: result: $result" >&5
12690 echo "${ECHO_T}$result" >&6; }
12694 defaultval=$wxUSE_ALL_FEATURES
12695 if test -z "$defaultval"; then
12696 if test x"$enablestring" = xdisable; then
12703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12704 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12705 # Check whether --enable-miniframe was given.
12706 if test "${enable_miniframe+set}" = set; then
12707 enableval=$enable_miniframe;
12708 if test "$enableval" = yes; then
12709 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12711 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12716 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12721 eval "$wx_cv_use_miniframe"
12723 if test x"$enablestring" = xdisable; then
12724 if test $wxUSE_MINIFRAME = yes; then
12730 result=$wxUSE_MINIFRAME
12733 { echo "$as_me:$LINENO: result: $result" >&5
12734 echo "${ECHO_T}$result" >&6; }
12738 defaultval=$wxUSE_ALL_FEATURES
12739 if test -z "$defaultval"; then
12740 if test x"$enablestring" = xdisable; then
12747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12748 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12749 # Check whether --enable-tooltips was given.
12750 if test "${enable_tooltips+set}" = set; then
12751 enableval=$enable_tooltips;
12752 if test "$enableval" = yes; then
12753 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12755 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12760 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12765 eval "$wx_cv_use_tooltips"
12767 if test x"$enablestring" = xdisable; then
12768 if test $wxUSE_TOOLTIPS = yes; then
12774 result=$wxUSE_TOOLTIPS
12777 { echo "$as_me:$LINENO: result: $result" >&5
12778 echo "${ECHO_T}$result" >&6; }
12782 defaultval=$wxUSE_ALL_FEATURES
12783 if test -z "$defaultval"; then
12784 if test x"$enablestring" = xdisable; then
12791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12792 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12793 # Check whether --enable-splines was given.
12794 if test "${enable_splines+set}" = set; then
12795 enableval=$enable_splines;
12796 if test "$enableval" = yes; then
12797 wx_cv_use_splines='wxUSE_SPLINES=yes'
12799 wx_cv_use_splines='wxUSE_SPLINES=no'
12804 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12809 eval "$wx_cv_use_splines"
12811 if test x"$enablestring" = xdisable; then
12812 if test $wxUSE_SPLINES = yes; then
12818 result=$wxUSE_SPLINES
12821 { echo "$as_me:$LINENO: result: $result" >&5
12822 echo "${ECHO_T}$result" >&6; }
12826 defaultval=$wxUSE_ALL_FEATURES
12827 if test -z "$defaultval"; then
12828 if test x"$enablestring" = xdisable; then
12835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12836 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12837 # Check whether --enable-mousewheel was given.
12838 if test "${enable_mousewheel+set}" = set; then
12839 enableval=$enable_mousewheel;
12840 if test "$enableval" = yes; then
12841 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12843 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12848 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12853 eval "$wx_cv_use_mousewheel"
12855 if test x"$enablestring" = xdisable; then
12856 if test $wxUSE_MOUSEWHEEL = yes; then
12862 result=$wxUSE_MOUSEWHEEL
12865 { echo "$as_me:$LINENO: result: $result" >&5
12866 echo "${ECHO_T}$result" >&6; }
12870 defaultval=$wxUSE_ALL_FEATURES
12871 if test -z "$defaultval"; then
12872 if test x"$enablestring" = xdisable; then
12879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12880 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12881 # Check whether --enable-validators was given.
12882 if test "${enable_validators+set}" = set; then
12883 enableval=$enable_validators;
12884 if test "$enableval" = yes; then
12885 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12887 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12892 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12897 eval "$wx_cv_use_validators"
12899 if test x"$enablestring" = xdisable; then
12900 if test $wxUSE_VALIDATORS = yes; then
12906 result=$wxUSE_VALIDATORS
12909 { echo "$as_me:$LINENO: result: $result" >&5
12910 echo "${ECHO_T}$result" >&6; }
12914 defaultval=$wxUSE_ALL_FEATURES
12915 if test -z "$defaultval"; then
12916 if test x"$enablestring" = xdisable; then
12923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12924 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12925 # Check whether --enable-busyinfo was given.
12926 if test "${enable_busyinfo+set}" = set; then
12927 enableval=$enable_busyinfo;
12928 if test "$enableval" = yes; then
12929 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12931 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12936 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
12941 eval "$wx_cv_use_busyinfo"
12943 if test x"$enablestring" = xdisable; then
12944 if test $wxUSE_BUSYINFO = yes; then
12950 result=$wxUSE_BUSYINFO
12953 { echo "$as_me:$LINENO: result: $result" >&5
12954 echo "${ECHO_T}$result" >&6; }
12958 defaultval=$wxUSE_ALL_FEATURES
12959 if test -z "$defaultval"; then
12960 if test x"$enablestring" = xdisable; then
12967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12968 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12969 # Check whether --enable-joystick was given.
12970 if test "${enable_joystick+set}" = set; then
12971 enableval=$enable_joystick;
12972 if test "$enableval" = yes; then
12973 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
12975 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
12980 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
12985 eval "$wx_cv_use_joystick"
12987 if test x"$enablestring" = xdisable; then
12988 if test $wxUSE_JOYSTICK = yes; then
12994 result=$wxUSE_JOYSTICK
12997 { echo "$as_me:$LINENO: result: $result" >&5
12998 echo "${ECHO_T}$result" >&6; }
13002 defaultval=$wxUSE_ALL_FEATURES
13003 if test -z "$defaultval"; then
13004 if test x"$enablestring" = xdisable; then
13011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13012 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13013 # Check whether --enable-metafile was given.
13014 if test "${enable_metafile+set}" = set; then
13015 enableval=$enable_metafile;
13016 if test "$enableval" = yes; then
13017 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13019 wx_cv_use_metafile='wxUSE_METAFILE=no'
13024 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13029 eval "$wx_cv_use_metafile"
13031 if test x"$enablestring" = xdisable; then
13032 if test $wxUSE_METAFILE = yes; then
13038 result=$wxUSE_METAFILE
13041 { echo "$as_me:$LINENO: result: $result" >&5
13042 echo "${ECHO_T}$result" >&6; }
13046 defaultval=$wxUSE_ALL_FEATURES
13047 if test -z "$defaultval"; then
13048 if test x"$enablestring" = xdisable; then
13055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13056 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13057 # Check whether --enable-dragimage was given.
13058 if test "${enable_dragimage+set}" = set; then
13059 enableval=$enable_dragimage;
13060 if test "$enableval" = yes; then
13061 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13063 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13068 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13073 eval "$wx_cv_use_dragimage"
13075 if test x"$enablestring" = xdisable; then
13076 if test $wxUSE_DRAGIMAGE = yes; then
13082 result=$wxUSE_DRAGIMAGE
13085 { echo "$as_me:$LINENO: result: $result" >&5
13086 echo "${ECHO_T}$result" >&6; }
13090 defaultval=$wxUSE_ALL_FEATURES
13091 if test -z "$defaultval"; then
13092 if test x"$enablestring" = xdisable; then
13099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13100 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13101 # Check whether --enable-accessibility was given.
13102 if test "${enable_accessibility+set}" = set; then
13103 enableval=$enable_accessibility;
13104 if test "$enableval" = yes; then
13105 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13107 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13112 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13117 eval "$wx_cv_use_accessibility"
13119 if test x"$enablestring" = xdisable; then
13120 if test $wxUSE_ACCESSIBILITY = yes; then
13126 result=$wxUSE_ACCESSIBILITY
13129 { echo "$as_me:$LINENO: result: $result" >&5
13130 echo "${ECHO_T}$result" >&6; }
13136 defaultval=$wxUSE_ALL_FEATURES
13137 if test -z "$defaultval"; then
13138 if test x"$enablestring" = xdisable; then
13145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13146 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13147 # Check whether --enable-palette was given.
13148 if test "${enable_palette+set}" = set; then
13149 enableval=$enable_palette;
13150 if test "$enableval" = yes; then
13151 wx_cv_use_palette='wxUSE_PALETTE=yes'
13153 wx_cv_use_palette='wxUSE_PALETTE=no'
13158 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13163 eval "$wx_cv_use_palette"
13165 if test x"$enablestring" = xdisable; then
13166 if test $wxUSE_PALETTE = yes; then
13172 result=$wxUSE_PALETTE
13175 { echo "$as_me:$LINENO: result: $result" >&5
13176 echo "${ECHO_T}$result" >&6; }
13180 defaultval=$wxUSE_ALL_FEATURES
13181 if test -z "$defaultval"; then
13182 if test x"$enablestring" = xdisable; then
13189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13190 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13191 # Check whether --enable-image was given.
13192 if test "${enable_image+set}" = set; then
13193 enableval=$enable_image;
13194 if test "$enableval" = yes; then
13195 wx_cv_use_image='wxUSE_IMAGE=yes'
13197 wx_cv_use_image='wxUSE_IMAGE=no'
13202 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13207 eval "$wx_cv_use_image"
13209 if test x"$enablestring" = xdisable; then
13210 if test $wxUSE_IMAGE = yes; then
13216 result=$wxUSE_IMAGE
13219 { echo "$as_me:$LINENO: result: $result" >&5
13220 echo "${ECHO_T}$result" >&6; }
13224 defaultval=$wxUSE_ALL_FEATURES
13225 if test -z "$defaultval"; then
13226 if test x"$enablestring" = xdisable; then
13233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13234 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13235 # Check whether --enable-gif was given.
13236 if test "${enable_gif+set}" = set; then
13237 enableval=$enable_gif;
13238 if test "$enableval" = yes; then
13239 wx_cv_use_gif='wxUSE_GIF=yes'
13241 wx_cv_use_gif='wxUSE_GIF=no'
13246 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13251 eval "$wx_cv_use_gif"
13253 if test x"$enablestring" = xdisable; then
13254 if test $wxUSE_GIF = yes; then
13263 { echo "$as_me:$LINENO: result: $result" >&5
13264 echo "${ECHO_T}$result" >&6; }
13268 defaultval=$wxUSE_ALL_FEATURES
13269 if test -z "$defaultval"; then
13270 if test x"$enablestring" = xdisable; then
13277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13278 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13279 # Check whether --enable-pcx was given.
13280 if test "${enable_pcx+set}" = set; then
13281 enableval=$enable_pcx;
13282 if test "$enableval" = yes; then
13283 wx_cv_use_pcx='wxUSE_PCX=yes'
13285 wx_cv_use_pcx='wxUSE_PCX=no'
13290 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13295 eval "$wx_cv_use_pcx"
13297 if test x"$enablestring" = xdisable; then
13298 if test $wxUSE_PCX = yes; then
13307 { echo "$as_me:$LINENO: result: $result" >&5
13308 echo "${ECHO_T}$result" >&6; }
13312 defaultval=$wxUSE_ALL_FEATURES
13313 if test -z "$defaultval"; then
13314 if test x"$enablestring" = xdisable; then
13321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13322 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13323 # Check whether --enable-tga was given.
13324 if test "${enable_tga+set}" = set; then
13325 enableval=$enable_tga;
13326 if test "$enableval" = yes; then
13327 wx_cv_use_tga='wxUSE_TGA=yes'
13329 wx_cv_use_tga='wxUSE_TGA=no'
13334 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13339 eval "$wx_cv_use_tga"
13341 if test x"$enablestring" = xdisable; then
13342 if test $wxUSE_TGA = yes; then
13351 { echo "$as_me:$LINENO: result: $result" >&5
13352 echo "${ECHO_T}$result" >&6; }
13356 defaultval=$wxUSE_ALL_FEATURES
13357 if test -z "$defaultval"; then
13358 if test x"$enablestring" = xdisable; then
13365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13366 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13367 # Check whether --enable-iff was given.
13368 if test "${enable_iff+set}" = set; then
13369 enableval=$enable_iff;
13370 if test "$enableval" = yes; then
13371 wx_cv_use_iff='wxUSE_IFF=yes'
13373 wx_cv_use_iff='wxUSE_IFF=no'
13378 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13383 eval "$wx_cv_use_iff"
13385 if test x"$enablestring" = xdisable; then
13386 if test $wxUSE_IFF = yes; then
13395 { echo "$as_me:$LINENO: result: $result" >&5
13396 echo "${ECHO_T}$result" >&6; }
13400 defaultval=$wxUSE_ALL_FEATURES
13401 if test -z "$defaultval"; then
13402 if test x"$enablestring" = xdisable; then
13409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13410 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13411 # Check whether --enable-pnm was given.
13412 if test "${enable_pnm+set}" = set; then
13413 enableval=$enable_pnm;
13414 if test "$enableval" = yes; then
13415 wx_cv_use_pnm='wxUSE_PNM=yes'
13417 wx_cv_use_pnm='wxUSE_PNM=no'
13422 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13427 eval "$wx_cv_use_pnm"
13429 if test x"$enablestring" = xdisable; then
13430 if test $wxUSE_PNM = yes; then
13439 { echo "$as_me:$LINENO: result: $result" >&5
13440 echo "${ECHO_T}$result" >&6; }
13444 defaultval=$wxUSE_ALL_FEATURES
13445 if test -z "$defaultval"; then
13446 if test x"$enablestring" = xdisable; then
13453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13454 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13455 # Check whether --enable-xpm was given.
13456 if test "${enable_xpm+set}" = set; then
13457 enableval=$enable_xpm;
13458 if test "$enableval" = yes; then
13459 wx_cv_use_xpm='wxUSE_XPM=yes'
13461 wx_cv_use_xpm='wxUSE_XPM=no'
13466 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13471 eval "$wx_cv_use_xpm"
13473 if test x"$enablestring" = xdisable; then
13474 if test $wxUSE_XPM = yes; then
13483 { echo "$as_me:$LINENO: result: $result" >&5
13484 echo "${ECHO_T}$result" >&6; }
13488 defaultval=$wxUSE_ALL_FEATURES
13489 if test -z "$defaultval"; then
13490 if test x"$enablestring" = xdisable; then
13497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13498 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13499 # Check whether --enable-ico_cur was given.
13500 if test "${enable_ico_cur+set}" = set; then
13501 enableval=$enable_ico_cur;
13502 if test "$enableval" = yes; then
13503 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13505 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13510 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13515 eval "$wx_cv_use_ico_cur"
13517 if test x"$enablestring" = xdisable; then
13518 if test $wxUSE_ICO_CUR = yes; then
13524 result=$wxUSE_ICO_CUR
13527 { echo "$as_me:$LINENO: result: $result" >&5
13528 echo "${ECHO_T}$result" >&6; }
13534 defaultval=$wxUSE_ALL_FEATURES
13535 if test -z "$defaultval"; then
13536 if test x"$enablestring" = xdisable; then
13543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13544 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13545 # Check whether --enable-dccache was given.
13546 if test "${enable_dccache+set}" = set; then
13547 enableval=$enable_dccache;
13548 if test "$enableval" = yes; then
13549 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13551 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13556 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13561 eval "$wx_cv_use_dccache"
13563 if test x"$enablestring" = xdisable; then
13564 if test $wxUSE_DC_CACHEING = yes; then
13570 result=$wxUSE_DC_CACHEING
13573 { echo "$as_me:$LINENO: result: $result" >&5
13574 echo "${ECHO_T}$result" >&6; }
13578 defaultval=$wxUSE_ALL_FEATURES
13579 if test -z "$defaultval"; then
13580 if test x"$enablestring" = xdisable; then
13587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13588 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13589 # Check whether --enable-ps-in-msw was given.
13590 if test "${enable_ps_in_msw+set}" = set; then
13591 enableval=$enable_ps_in_msw;
13592 if test "$enableval" = yes; then
13593 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13595 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13600 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13605 eval "$wx_cv_use_ps_in_msw"
13607 if test x"$enablestring" = xdisable; then
13608 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13614 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13617 { echo "$as_me:$LINENO: result: $result" >&5
13618 echo "${ECHO_T}$result" >&6; }
13622 defaultval=$wxUSE_ALL_FEATURES
13623 if test -z "$defaultval"; then
13624 if test x"$enablestring" = xdisable; then
13631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13632 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13633 # Check whether --enable-ownerdrawn was given.
13634 if test "${enable_ownerdrawn+set}" = set; then
13635 enableval=$enable_ownerdrawn;
13636 if test "$enableval" = yes; then
13637 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13639 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13644 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13649 eval "$wx_cv_use_ownerdrawn"
13651 if test x"$enablestring" = xdisable; then
13652 if test $wxUSE_OWNER_DRAWN = yes; then
13658 result=$wxUSE_OWNER_DRAWN
13661 { echo "$as_me:$LINENO: result: $result" >&5
13662 echo "${ECHO_T}$result" >&6; }
13666 defaultval=$wxUSE_ALL_FEATURES
13667 if test -z "$defaultval"; then
13668 if test x"$enablestring" = xdisable; then
13675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13676 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13677 # Check whether --enable-uxtheme was given.
13678 if test "${enable_uxtheme+set}" = set; then
13679 enableval=$enable_uxtheme;
13680 if test "$enableval" = yes; then
13681 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13683 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13688 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13693 eval "$wx_cv_use_uxtheme"
13695 if test x"$enablestring" = xdisable; then
13696 if test $wxUSE_UXTHEME = yes; then
13702 result=$wxUSE_UXTHEME
13705 { echo "$as_me:$LINENO: result: $result" >&5
13706 echo "${ECHO_T}$result" >&6; }
13710 defaultval=$wxUSE_ALL_FEATURES
13711 if test -z "$defaultval"; then
13712 if test x"$enablestring" = xdisable; then
13719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13720 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13721 # Check whether --enable-wxdib was given.
13722 if test "${enable_wxdib+set}" = set; then
13723 enableval=$enable_wxdib;
13724 if test "$enableval" = yes; then
13725 wx_cv_use_wxdib='wxUSE_DIB=yes'
13727 wx_cv_use_wxdib='wxUSE_DIB=no'
13732 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13737 eval "$wx_cv_use_wxdib"
13739 if test x"$enablestring" = xdisable; then
13740 if test $wxUSE_DIB = yes; then
13749 { echo "$as_me:$LINENO: result: $result" >&5
13750 echo "${ECHO_T}$result" >&6; }
13753 if test "$wxUSE_MSW" != 1; then
13754 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13759 defaultval=$wxUSE_ALL_FEATURES
13760 if test -z "$defaultval"; then
13761 if test x"$enablestring" = xdisable; then
13768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13769 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13770 # Check whether --enable-autoidman was given.
13771 if test "${enable_autoidman+set}" = set; then
13772 enableval=$enable_autoidman;
13773 if test "$enableval" = yes; then
13774 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13776 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13781 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13786 eval "$wx_cv_use_autoidman"
13788 if test x"$enablestring" = xdisable; then
13789 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13795 result=$wxUSE_AUTOID_MANAGEMENT
13798 { echo "$as_me:$LINENO: result: $result" >&5
13799 echo "${ECHO_T}$result" >&6; }
13805 cat >confcache <<\_ACEOF
13806 # This file is a shell script that caches the results of configure
13807 # tests run on this system so they can be shared between configure
13808 # scripts and configure runs, see configure's option --config-cache.
13809 # It is not useful on other systems. If it contains results you don't
13810 # want to keep, you may remove or edit it.
13812 # config.status only pays attention to the cache file if you give it
13813 # the --recheck option to rerun configure.
13815 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13816 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13817 # following values.
13821 # The following way of writing the cache mishandles newlines in values,
13822 # but we know of no workaround that is simple, portable, and efficient.
13823 # So, we kill variables containing newlines.
13824 # Ultrix sh set writes to stderr and can't be redirected directly,
13825 # and sets the high bit in the cache file unless we assign to the vars.
13827 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13828 eval ac_val=\$$ac_var
13832 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13833 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13836 _ | IFS | as_nl) ;; #(
13837 *) $as_unset $ac_var ;;
13843 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13844 *${as_nl}ac_space=\ *)
13845 # `set' does not quote correctly, so add quotes (double-quote
13846 # substitution turns \\\\ into \\, and sed turns \\ into \).
13849 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13852 # `set' quotes correctly as required by POSIX, so do not add quotes.
13853 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13862 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13864 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13866 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13867 if test -w "$cache_file"; then
13868 test "x$cache_file" != "x/dev/null" &&
13869 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13870 echo "$as_me: updating cache $cache_file" >&6;}
13871 cat confcache >$cache_file
13873 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13874 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13884 ac_cpp='$CPP $CPPFLAGS'
13885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13888 if test -n "$ac_tool_prefix"; then
13889 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13890 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13893 if test "${ac_cv_prog_CC+set}" = set; then
13894 echo $ECHO_N "(cached) $ECHO_C" >&6
13896 if test -n "$CC"; then
13897 ac_cv_prog_CC="$CC" # Let the user override the test.
13899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13900 for as_dir in $PATH
13903 test -z "$as_dir" && as_dir=.
13904 for ac_exec_ext in '' $ac_executable_extensions; do
13905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13906 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13917 if test -n "$CC"; then
13918 { echo "$as_me:$LINENO: result: $CC" >&5
13919 echo "${ECHO_T}$CC" >&6; }
13921 { echo "$as_me:$LINENO: result: no" >&5
13922 echo "${ECHO_T}no" >&6; }
13927 if test -z "$ac_cv_prog_CC"; then
13929 # Extract the first word of "gcc", so it can be a program name with args.
13930 set dummy gcc; ac_word=$2
13931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13933 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13934 echo $ECHO_N "(cached) $ECHO_C" >&6
13936 if test -n "$ac_ct_CC"; then
13937 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13940 for as_dir in $PATH
13943 test -z "$as_dir" && as_dir=.
13944 for ac_exec_ext in '' $ac_executable_extensions; do
13945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13946 ac_cv_prog_ac_ct_CC="gcc"
13947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13956 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13957 if test -n "$ac_ct_CC"; then
13958 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13959 echo "${ECHO_T}$ac_ct_CC" >&6; }
13961 { echo "$as_me:$LINENO: result: no" >&5
13962 echo "${ECHO_T}no" >&6; }
13965 if test "x$ac_ct_CC" = x; then
13968 case $cross_compiling:$ac_tool_warned in
13970 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13971 whose name does not start with the host triplet. If you think this
13972 configuration is useful to you, please write to autoconf@gnu.org." >&5
13973 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13974 whose name does not start with the host triplet. If you think this
13975 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13976 ac_tool_warned=yes ;;
13981 CC="$ac_cv_prog_CC"
13984 if test -z "$CC"; then
13985 if test -n "$ac_tool_prefix"; then
13986 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13987 set dummy ${ac_tool_prefix}cc; ac_word=$2
13988 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13990 if test "${ac_cv_prog_CC+set}" = set; then
13991 echo $ECHO_N "(cached) $ECHO_C" >&6
13993 if test -n "$CC"; then
13994 ac_cv_prog_CC="$CC" # Let the user override the test.
13996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13997 for as_dir in $PATH
14000 test -z "$as_dir" && as_dir=.
14001 for ac_exec_ext in '' $ac_executable_extensions; do
14002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14003 ac_cv_prog_CC="${ac_tool_prefix}cc"
14004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14014 if test -n "$CC"; then
14015 { echo "$as_me:$LINENO: result: $CC" >&5
14016 echo "${ECHO_T}$CC" >&6; }
14018 { echo "$as_me:$LINENO: result: no" >&5
14019 echo "${ECHO_T}no" >&6; }
14025 if test -z "$CC"; then
14026 # Extract the first word of "cc", so it can be a program name with args.
14027 set dummy cc; ac_word=$2
14028 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14030 if test "${ac_cv_prog_CC+set}" = set; then
14031 echo $ECHO_N "(cached) $ECHO_C" >&6
14033 if test -n "$CC"; then
14034 ac_cv_prog_CC="$CC" # Let the user override the test.
14036 ac_prog_rejected=no
14037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14038 for as_dir in $PATH
14041 test -z "$as_dir" && as_dir=.
14042 for ac_exec_ext in '' $ac_executable_extensions; do
14043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14044 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14045 ac_prog_rejected=yes
14049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14056 if test $ac_prog_rejected = yes; then
14057 # We found a bogon in the path, so make sure we never use it.
14058 set dummy $ac_cv_prog_CC
14060 if test $# != 0; then
14061 # We chose a different compiler from the bogus one.
14062 # However, it has the same basename, so the bogon will be chosen
14063 # first if we set CC to just the basename; use the full file name.
14065 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14071 if test -n "$CC"; then
14072 { echo "$as_me:$LINENO: result: $CC" >&5
14073 echo "${ECHO_T}$CC" >&6; }
14075 { echo "$as_me:$LINENO: result: no" >&5
14076 echo "${ECHO_T}no" >&6; }
14081 if test -z "$CC"; then
14082 if test -n "$ac_tool_prefix"; then
14083 for ac_prog in cl.exe
14085 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14086 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14089 if test "${ac_cv_prog_CC+set}" = set; then
14090 echo $ECHO_N "(cached) $ECHO_C" >&6
14092 if test -n "$CC"; then
14093 ac_cv_prog_CC="$CC" # Let the user override the test.
14095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14096 for as_dir in $PATH
14099 test -z "$as_dir" && as_dir=.
14100 for ac_exec_ext in '' $ac_executable_extensions; do
14101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14102 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14113 if test -n "$CC"; then
14114 { echo "$as_me:$LINENO: result: $CC" >&5
14115 echo "${ECHO_T}$CC" >&6; }
14117 { echo "$as_me:$LINENO: result: no" >&5
14118 echo "${ECHO_T}no" >&6; }
14122 test -n "$CC" && break
14125 if test -z "$CC"; then
14127 for ac_prog in cl.exe
14129 # Extract the first word of "$ac_prog", so it can be a program name with args.
14130 set dummy $ac_prog; ac_word=$2
14131 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14133 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14134 echo $ECHO_N "(cached) $ECHO_C" >&6
14136 if test -n "$ac_ct_CC"; then
14137 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14140 for as_dir in $PATH
14143 test -z "$as_dir" && as_dir=.
14144 for ac_exec_ext in '' $ac_executable_extensions; do
14145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14146 ac_cv_prog_ac_ct_CC="$ac_prog"
14147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14156 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14157 if test -n "$ac_ct_CC"; then
14158 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14159 echo "${ECHO_T}$ac_ct_CC" >&6; }
14161 { echo "$as_me:$LINENO: result: no" >&5
14162 echo "${ECHO_T}no" >&6; }
14166 test -n "$ac_ct_CC" && break
14169 if test "x$ac_ct_CC" = x; then
14172 case $cross_compiling:$ac_tool_warned in
14174 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14175 whose name does not start with the host triplet. If you think this
14176 configuration is useful to you, please write to autoconf@gnu.org." >&5
14177 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14178 whose name does not start with the host triplet. If you think this
14179 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14180 ac_tool_warned=yes ;;
14189 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14190 See \`config.log' for more details." >&5
14191 echo "$as_me: error: no acceptable C compiler found in \$PATH
14192 See \`config.log' for more details." >&2;}
14193 { (exit 1); exit 1; }; }
14195 # Provide some information about the compiler.
14196 echo "$as_me:$LINENO: checking for C compiler version" >&5
14197 ac_compiler=`set X $ac_compile; echo $2`
14198 { (ac_try="$ac_compiler --version >&5"
14199 case "(($ac_try" in
14200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14201 *) ac_try_echo=$ac_try;;
14203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14204 (eval "$ac_compiler --version >&5") 2>&5
14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207 (exit $ac_status); }
14208 { (ac_try="$ac_compiler -v >&5"
14209 case "(($ac_try" in
14210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14211 *) ac_try_echo=$ac_try;;
14213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14214 (eval "$ac_compiler -v >&5") 2>&5
14216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14217 (exit $ac_status); }
14218 { (ac_try="$ac_compiler -V >&5"
14219 case "(($ac_try" in
14220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14221 *) ac_try_echo=$ac_try;;
14223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14224 (eval "$ac_compiler -V >&5") 2>&5
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); }
14229 cat >conftest.$ac_ext <<_ACEOF
14232 cat confdefs.h >>conftest.$ac_ext
14233 cat >>conftest.$ac_ext <<_ACEOF
14234 /* end confdefs.h. */
14244 ac_clean_files_save=$ac_clean_files
14245 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14246 # Try to create an executable without -o first, disregard a.out.
14247 # It will help us diagnose broken compilers, and finding out an intuition
14249 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14250 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14251 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14253 # List of possible output files, starting from the most likely.
14254 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14255 # only as a last resort. b.out is created by i960 compilers.
14256 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14258 # The IRIX 6 linker writes into existing files which may not be
14259 # executable, retaining their permissions. Remove them first so a
14260 # subsequent execution test works.
14262 for ac_file in $ac_files
14265 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14266 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14271 if { (ac_try="$ac_link_default"
14272 case "(($ac_try" in
14273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14274 *) ac_try_echo=$ac_try;;
14276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14277 (eval "$ac_link_default") 2>&5
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); }; then
14281 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14282 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14283 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14284 # so that the user can short-circuit this test for compilers unknown to
14286 for ac_file in $ac_files ''
14288 test -f "$ac_file" || continue
14290 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14293 # We found the default executable, but exeext='' is most
14297 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14299 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14301 # We set ac_cv_exeext here because the later test for it is not
14302 # safe: cross compilers may not add the suffix if given an `-o'
14303 # argument, so we may need to know it at that point already.
14304 # Even if this section looks crufty: it has the advantage of
14305 # actually working.
14311 test "$ac_cv_exeext" = no && ac_cv_exeext=
14317 { echo "$as_me:$LINENO: result: $ac_file" >&5
14318 echo "${ECHO_T}$ac_file" >&6; }
14319 if test -z "$ac_file"; then
14320 echo "$as_me: failed program was:" >&5
14321 sed 's/^/| /' conftest.$ac_ext >&5
14323 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14324 See \`config.log' for more details." >&5
14325 echo "$as_me: error: C compiler cannot create executables
14326 See \`config.log' for more details." >&2;}
14327 { (exit 77); exit 77; }; }
14330 ac_exeext=$ac_cv_exeext
14332 # Check that the compiler produces executables we can run. If not, either
14333 # the compiler is broken, or we cross compile.
14334 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14335 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14336 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14337 # If not cross compiling, check that we can run a simple program.
14338 if test "$cross_compiling" != yes; then
14339 if { ac_try='./$ac_file'
14340 { (case "(($ac_try" in
14341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14342 *) ac_try_echo=$ac_try;;
14344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14345 (eval "$ac_try") 2>&5
14347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14348 (exit $ac_status); }; }; then
14351 if test "$cross_compiling" = maybe; then
14352 cross_compiling=yes
14354 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14355 If you meant to cross compile, use \`--host'.
14356 See \`config.log' for more details." >&5
14357 echo "$as_me: error: cannot run C compiled programs.
14358 If you meant to cross compile, use \`--host'.
14359 See \`config.log' for more details." >&2;}
14360 { (exit 1); exit 1; }; }
14364 { echo "$as_me:$LINENO: result: yes" >&5
14365 echo "${ECHO_T}yes" >&6; }
14367 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14368 ac_clean_files=$ac_clean_files_save
14369 # Check that the compiler produces executables we can run. If not, either
14370 # the compiler is broken, or we cross compile.
14371 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14372 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14373 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14374 echo "${ECHO_T}$cross_compiling" >&6; }
14376 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14377 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14378 if { (ac_try="$ac_link"
14379 case "(($ac_try" in
14380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14381 *) ac_try_echo=$ac_try;;
14383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14384 (eval "$ac_link") 2>&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); }; then
14388 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14389 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14390 # work properly (i.e., refer to `conftest.exe'), while it won't with
14392 for ac_file in conftest.exe conftest conftest.*; do
14393 test -f "$ac_file" || continue
14395 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14396 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14402 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14403 See \`config.log' for more details." >&5
14404 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14405 See \`config.log' for more details." >&2;}
14406 { (exit 1); exit 1; }; }
14409 rm -f conftest$ac_cv_exeext
14410 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14411 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14413 rm -f conftest.$ac_ext
14414 EXEEXT=$ac_cv_exeext
14416 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14417 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14418 if test "${ac_cv_objext+set}" = set; then
14419 echo $ECHO_N "(cached) $ECHO_C" >&6
14421 cat >conftest.$ac_ext <<_ACEOF
14424 cat confdefs.h >>conftest.$ac_ext
14425 cat >>conftest.$ac_ext <<_ACEOF
14426 /* end confdefs.h. */
14436 rm -f conftest.o conftest.obj
14437 if { (ac_try="$ac_compile"
14438 case "(($ac_try" in
14439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14440 *) ac_try_echo=$ac_try;;
14442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14443 (eval "$ac_compile") 2>&5
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); }; then
14447 for ac_file in conftest.o conftest.obj conftest.*; do
14448 test -f "$ac_file" || continue;
14450 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14451 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14456 echo "$as_me: failed program was:" >&5
14457 sed 's/^/| /' conftest.$ac_ext >&5
14459 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14460 See \`config.log' for more details." >&5
14461 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14462 See \`config.log' for more details." >&2;}
14463 { (exit 1); exit 1; }; }
14466 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14468 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14469 echo "${ECHO_T}$ac_cv_objext" >&6; }
14470 OBJEXT=$ac_cv_objext
14472 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14473 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14474 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14475 echo $ECHO_N "(cached) $ECHO_C" >&6
14477 cat >conftest.$ac_ext <<_ACEOF
14480 cat confdefs.h >>conftest.$ac_ext
14481 cat >>conftest.$ac_ext <<_ACEOF
14482 /* end confdefs.h. */
14495 rm -f conftest.$ac_objext
14496 if { (ac_try="$ac_compile"
14497 case "(($ac_try" in
14498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14499 *) ac_try_echo=$ac_try;;
14501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14502 (eval "$ac_compile") 2>conftest.er1
14504 grep -v '^ *+' conftest.er1 >conftest.err
14506 cat conftest.err >&5
14507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508 (exit $ac_status); } && {
14509 test -z "$ac_c_werror_flag" ||
14510 test ! -s conftest.err
14511 } && test -s conftest.$ac_objext; then
14512 ac_compiler_gnu=yes
14514 echo "$as_me: failed program was:" >&5
14515 sed 's/^/| /' conftest.$ac_ext >&5
14520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14521 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14524 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14525 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14526 GCC=`test $ac_compiler_gnu = yes && echo yes`
14527 ac_test_CFLAGS=${CFLAGS+set}
14528 ac_save_CFLAGS=$CFLAGS
14529 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14530 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14531 if test "${ac_cv_prog_cc_g+set}" = set; then
14532 echo $ECHO_N "(cached) $ECHO_C" >&6
14534 ac_save_c_werror_flag=$ac_c_werror_flag
14535 ac_c_werror_flag=yes
14538 cat >conftest.$ac_ext <<_ACEOF
14541 cat confdefs.h >>conftest.$ac_ext
14542 cat >>conftest.$ac_ext <<_ACEOF
14543 /* end confdefs.h. */
14553 rm -f conftest.$ac_objext
14554 if { (ac_try="$ac_compile"
14555 case "(($ac_try" in
14556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14557 *) ac_try_echo=$ac_try;;
14559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14560 (eval "$ac_compile") 2>conftest.er1
14562 grep -v '^ *+' conftest.er1 >conftest.err
14564 cat conftest.err >&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } && {
14567 test -z "$ac_c_werror_flag" ||
14568 test ! -s conftest.err
14569 } && test -s conftest.$ac_objext; then
14570 ac_cv_prog_cc_g=yes
14572 echo "$as_me: failed program was:" >&5
14573 sed 's/^/| /' conftest.$ac_ext >&5
14576 cat >conftest.$ac_ext <<_ACEOF
14579 cat confdefs.h >>conftest.$ac_ext
14580 cat >>conftest.$ac_ext <<_ACEOF
14581 /* end confdefs.h. */
14591 rm -f conftest.$ac_objext
14592 if { (ac_try="$ac_compile"
14593 case "(($ac_try" in
14594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14595 *) ac_try_echo=$ac_try;;
14597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14598 (eval "$ac_compile") 2>conftest.er1
14600 grep -v '^ *+' conftest.er1 >conftest.err
14602 cat conftest.err >&5
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); } && {
14605 test -z "$ac_c_werror_flag" ||
14606 test ! -s conftest.err
14607 } && test -s conftest.$ac_objext; then
14610 echo "$as_me: failed program was:" >&5
14611 sed 's/^/| /' conftest.$ac_ext >&5
14613 ac_c_werror_flag=$ac_save_c_werror_flag
14615 cat >conftest.$ac_ext <<_ACEOF
14618 cat confdefs.h >>conftest.$ac_ext
14619 cat >>conftest.$ac_ext <<_ACEOF
14620 /* end confdefs.h. */
14630 rm -f conftest.$ac_objext
14631 if { (ac_try="$ac_compile"
14632 case "(($ac_try" in
14633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14634 *) ac_try_echo=$ac_try;;
14636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14637 (eval "$ac_compile") 2>conftest.er1
14639 grep -v '^ *+' conftest.er1 >conftest.err
14641 cat conftest.err >&5
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); } && {
14644 test -z "$ac_c_werror_flag" ||
14645 test ! -s conftest.err
14646 } && test -s conftest.$ac_objext; then
14647 ac_cv_prog_cc_g=yes
14649 echo "$as_me: failed program was:" >&5
14650 sed 's/^/| /' conftest.$ac_ext >&5
14655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14662 ac_c_werror_flag=$ac_save_c_werror_flag
14664 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14665 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14666 if test "$ac_test_CFLAGS" = set; then
14667 CFLAGS=$ac_save_CFLAGS
14668 elif test $ac_cv_prog_cc_g = yes; then
14669 if test "$GCC" = yes; then
14675 if test "$GCC" = yes; then
14681 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14682 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14683 if test "${ac_cv_prog_cc_c89+set}" = set; then
14684 echo $ECHO_N "(cached) $ECHO_C" >&6
14686 ac_cv_prog_cc_c89=no
14688 cat >conftest.$ac_ext <<_ACEOF
14691 cat confdefs.h >>conftest.$ac_ext
14692 cat >>conftest.$ac_ext <<_ACEOF
14693 /* end confdefs.h. */
14694 #include <stdarg.h>
14696 #include <sys/types.h>
14697 #include <sys/stat.h>
14698 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14699 struct buf { int x; };
14700 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14701 static char *e (p, i)
14707 static char *f (char * (*g) (char **, int), char **p, ...)
14712 s = g (p, va_arg (v,int));
14717 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14718 function prototypes and stuff, but not '\xHH' hex character constants.
14719 These don't provoke an error unfortunately, instead are silently treated
14720 as 'x'. The following induces an error, until -std is added to get
14721 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14722 array size at least. It's necessary to write '\x00'==0 to get something
14723 that's true only with -std. */
14724 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14726 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14727 inside strings and character constants. */
14729 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14731 int test (int i, double x);
14732 struct s1 {int (*f) (int a);};
14733 struct s2 {int (*f) (double a);};
14734 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14740 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14745 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14746 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14748 CC="$ac_save_CC $ac_arg"
14749 rm -f conftest.$ac_objext
14750 if { (ac_try="$ac_compile"
14751 case "(($ac_try" in
14752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14753 *) ac_try_echo=$ac_try;;
14755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14756 (eval "$ac_compile") 2>conftest.er1
14758 grep -v '^ *+' conftest.er1 >conftest.err
14760 cat conftest.err >&5
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); } && {
14763 test -z "$ac_c_werror_flag" ||
14764 test ! -s conftest.err
14765 } && test -s conftest.$ac_objext; then
14766 ac_cv_prog_cc_c89=$ac_arg
14768 echo "$as_me: failed program was:" >&5
14769 sed 's/^/| /' conftest.$ac_ext >&5
14774 rm -f core conftest.err conftest.$ac_objext
14775 test "x$ac_cv_prog_cc_c89" != "xno" && break
14777 rm -f conftest.$ac_ext
14782 case "x$ac_cv_prog_cc_c89" in
14784 { echo "$as_me:$LINENO: result: none needed" >&5
14785 echo "${ECHO_T}none needed" >&6; } ;;
14787 { echo "$as_me:$LINENO: result: unsupported" >&5
14788 echo "${ECHO_T}unsupported" >&6; } ;;
14790 CC="$CC $ac_cv_prog_cc_c89"
14791 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14792 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14797 ac_cpp='$CPP $CPPFLAGS'
14798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14806 ac_cpp='$CPP $CPPFLAGS'
14807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14811 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14812 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14813 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14814 echo $ECHO_N "(cached) $ECHO_C" >&6
14816 cat >conftest.$ac_ext <<_ACEOF
14819 cat confdefs.h >>conftest.$ac_ext
14820 cat >>conftest.$ac_ext <<_ACEOF
14821 /* end confdefs.h. */
14827 #ifndef __INTEL_COMPILER
14835 rm -f conftest.$ac_objext
14836 if { (ac_try="$ac_compile"
14837 case "(($ac_try" in
14838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14839 *) ac_try_echo=$ac_try;;
14841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14842 (eval "$ac_compile") 2>conftest.er1
14844 grep -v '^ *+' conftest.er1 >conftest.err
14846 cat conftest.err >&5
14847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14848 (exit $ac_status); } && {
14849 test -z "$ac_c_werror_flag" ||
14850 test ! -s conftest.err
14851 } && test -s conftest.$ac_objext; then
14852 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14854 echo "$as_me: failed program was:" >&5
14855 sed 's/^/| /' conftest.$ac_ext >&5
14857 bakefile_cv_c_compiler___INTEL_COMPILER=no
14861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14865 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14866 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14867 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14873 ac_cpp='$CPP $CPPFLAGS'
14874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14881 if test "x$GCC" != "xyes"; then
14882 if test "xCC" = "xC"; then
14883 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14884 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
14885 if test "${bakefile_cv_c_exto+set}" = set; then
14886 echo $ECHO_N "(cached) $ECHO_C" >&6
14888 cat >conftest.$ac_ext <<_ACEOF
14891 cat confdefs.h >>conftest.$ac_ext
14892 cat >>conftest.$ac_ext <<_ACEOF
14893 /* end confdefs.h. */
14903 rm -f conftest.$ac_objext conftest.$ac_ext.o
14904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14905 (eval $ac_compile) 2>&5
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); }; then
14909 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14911 conftest.$ac_ext.o)
14912 bakefile_cv_c_exto="-ext o"
14919 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14920 See \`config.log' for more details." >&5
14921 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14922 See \`config.log' for more details." >&2;}
14923 { (exit 1); exit 1; }; }
14927 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14930 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14931 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14932 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14933 if test "c" = "c"; then
14934 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14936 if test "c" = "cxx"; then
14937 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14941 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14942 unset ac_cv_prog_cc_g
14943 ac_test_CFLAGS=${CFLAGS+set}
14944 ac_save_CFLAGS=$CFLAGS
14945 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14946 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14947 if test "${ac_cv_prog_cc_g+set}" = set; then
14948 echo $ECHO_N "(cached) $ECHO_C" >&6
14950 ac_save_c_werror_flag=$ac_c_werror_flag
14951 ac_c_werror_flag=yes
14954 cat >conftest.$ac_ext <<_ACEOF
14957 cat confdefs.h >>conftest.$ac_ext
14958 cat >>conftest.$ac_ext <<_ACEOF
14959 /* end confdefs.h. */
14969 rm -f conftest.$ac_objext
14970 if { (ac_try="$ac_compile"
14971 case "(($ac_try" in
14972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14973 *) ac_try_echo=$ac_try;;
14975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14976 (eval "$ac_compile") 2>conftest.er1
14978 grep -v '^ *+' conftest.er1 >conftest.err
14980 cat conftest.err >&5
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); } && {
14983 test -z "$ac_c_werror_flag" ||
14984 test ! -s conftest.err
14985 } && test -s conftest.$ac_objext; then
14986 ac_cv_prog_cc_g=yes
14988 echo "$as_me: failed program was:" >&5
14989 sed 's/^/| /' conftest.$ac_ext >&5
14992 cat >conftest.$ac_ext <<_ACEOF
14995 cat confdefs.h >>conftest.$ac_ext
14996 cat >>conftest.$ac_ext <<_ACEOF
14997 /* end confdefs.h. */
15007 rm -f conftest.$ac_objext
15008 if { (ac_try="$ac_compile"
15009 case "(($ac_try" in
15010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15011 *) ac_try_echo=$ac_try;;
15013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15014 (eval "$ac_compile") 2>conftest.er1
15016 grep -v '^ *+' conftest.er1 >conftest.err
15018 cat conftest.err >&5
15019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15020 (exit $ac_status); } && {
15021 test -z "$ac_c_werror_flag" ||
15022 test ! -s conftest.err
15023 } && test -s conftest.$ac_objext; then
15026 echo "$as_me: failed program was:" >&5
15027 sed 's/^/| /' conftest.$ac_ext >&5
15029 ac_c_werror_flag=$ac_save_c_werror_flag
15031 cat >conftest.$ac_ext <<_ACEOF
15034 cat confdefs.h >>conftest.$ac_ext
15035 cat >>conftest.$ac_ext <<_ACEOF
15036 /* end confdefs.h. */
15046 rm -f conftest.$ac_objext
15047 if { (ac_try="$ac_compile"
15048 case "(($ac_try" in
15049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15050 *) ac_try_echo=$ac_try;;
15052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15053 (eval "$ac_compile") 2>conftest.er1
15055 grep -v '^ *+' conftest.er1 >conftest.err
15057 cat conftest.err >&5
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); } && {
15060 test -z "$ac_c_werror_flag" ||
15061 test ! -s conftest.err
15062 } && test -s conftest.$ac_objext; then
15063 ac_cv_prog_cc_g=yes
15065 echo "$as_me: failed program was:" >&5
15066 sed 's/^/| /' conftest.$ac_ext >&5
15071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15078 ac_c_werror_flag=$ac_save_c_werror_flag
15080 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15081 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15082 if test "$ac_test_CFLAGS" = set; then
15083 CFLAGS=$ac_save_CFLAGS
15084 elif test $ac_cv_prog_cc_g = yes; then
15085 if test "$GCC" = yes; then
15091 if test "$GCC" = yes; then
15105 ac_cpp='$CPP $CPPFLAGS'
15106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15110 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15111 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15112 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15113 echo $ECHO_N "(cached) $ECHO_C" >&6
15115 cat >conftest.$ac_ext <<_ACEOF
15118 cat confdefs.h >>conftest.$ac_ext
15119 cat >>conftest.$ac_ext <<_ACEOF
15120 /* end confdefs.h. */
15134 rm -f conftest.$ac_objext
15135 if { (ac_try="$ac_compile"
15136 case "(($ac_try" in
15137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15138 *) ac_try_echo=$ac_try;;
15140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15141 (eval "$ac_compile") 2>conftest.er1
15143 grep -v '^ *+' conftest.er1 >conftest.err
15145 cat conftest.err >&5
15146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15147 (exit $ac_status); } && {
15148 test -z "$ac_c_werror_flag" ||
15149 test ! -s conftest.err
15150 } && test -s conftest.$ac_objext; then
15151 bakefile_cv_c_compiler___xlC__=yes
15153 echo "$as_me: failed program was:" >&5
15154 sed 's/^/| /' conftest.$ac_ext >&5
15156 bakefile_cv_c_compiler___xlC__=no
15160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15164 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15165 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15166 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15172 ac_cpp='$CPP $CPPFLAGS'
15173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15185 ac_cpp='$CPP $CPPFLAGS'
15186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15190 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15191 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15192 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15193 echo $ECHO_N "(cached) $ECHO_C" >&6
15195 cat >conftest.$ac_ext <<_ACEOF
15198 cat confdefs.h >>conftest.$ac_ext
15199 cat >>conftest.$ac_ext <<_ACEOF
15200 /* end confdefs.h. */
15214 rm -f conftest.$ac_objext
15215 if { (ac_try="$ac_compile"
15216 case "(($ac_try" in
15217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15218 *) ac_try_echo=$ac_try;;
15220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15221 (eval "$ac_compile") 2>conftest.er1
15223 grep -v '^ *+' conftest.er1 >conftest.err
15225 cat conftest.err >&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); } && {
15228 test -z "$ac_c_werror_flag" ||
15229 test ! -s conftest.err
15230 } && test -s conftest.$ac_objext; then
15231 bakefile_cv_c_compiler___MWERKS__=yes
15233 echo "$as_me: failed program was:" >&5
15234 sed 's/^/| /' conftest.$ac_ext >&5
15236 bakefile_cv_c_compiler___MWERKS__=no
15240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15244 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15245 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15246 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15252 ac_cpp='$CPP $CPPFLAGS'
15253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15262 ac_cpp='$CPP $CPPFLAGS'
15263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15267 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15268 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15269 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15270 echo $ECHO_N "(cached) $ECHO_C" >&6
15272 cat >conftest.$ac_ext <<_ACEOF
15275 cat confdefs.h >>conftest.$ac_ext
15276 cat >>conftest.$ac_ext <<_ACEOF
15277 /* end confdefs.h. */
15291 rm -f conftest.$ac_objext
15292 if { (ac_try="$ac_compile"
15293 case "(($ac_try" in
15294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15295 *) ac_try_echo=$ac_try;;
15297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15298 (eval "$ac_compile") 2>conftest.er1
15300 grep -v '^ *+' conftest.er1 >conftest.err
15302 cat conftest.err >&5
15303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15304 (exit $ac_status); } && {
15305 test -z "$ac_c_werror_flag" ||
15306 test ! -s conftest.err
15307 } && test -s conftest.$ac_objext; then
15308 bakefile_cv_c_compiler___xlC__=yes
15310 echo "$as_me: failed program was:" >&5
15311 sed 's/^/| /' conftest.$ac_ext >&5
15313 bakefile_cv_c_compiler___xlC__=no
15317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15321 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15322 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15323 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15329 ac_cpp='$CPP $CPPFLAGS'
15330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15342 ac_cpp='$CPP $CPPFLAGS'
15343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15347 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15348 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15349 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15350 echo $ECHO_N "(cached) $ECHO_C" >&6
15352 cat >conftest.$ac_ext <<_ACEOF
15355 cat confdefs.h >>conftest.$ac_ext
15356 cat >>conftest.$ac_ext <<_ACEOF
15357 /* end confdefs.h. */
15363 #ifndef _SGI_COMPILER_VERSION
15371 rm -f conftest.$ac_objext
15372 if { (ac_try="$ac_compile"
15373 case "(($ac_try" in
15374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15375 *) ac_try_echo=$ac_try;;
15377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15378 (eval "$ac_compile") 2>conftest.er1
15380 grep -v '^ *+' conftest.er1 >conftest.err
15382 cat conftest.err >&5
15383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15384 (exit $ac_status); } && {
15385 test -z "$ac_c_werror_flag" ||
15386 test ! -s conftest.err
15387 } && test -s conftest.$ac_objext; then
15388 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15390 echo "$as_me: failed program was:" >&5
15391 sed 's/^/| /' conftest.$ac_ext >&5
15393 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15401 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15402 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15403 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15409 ac_cpp='$CPP $CPPFLAGS'
15410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15422 ac_cpp='$CPP $CPPFLAGS'
15423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15427 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15428 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15429 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15430 echo $ECHO_N "(cached) $ECHO_C" >&6
15432 cat >conftest.$ac_ext <<_ACEOF
15435 cat confdefs.h >>conftest.$ac_ext
15436 cat >>conftest.$ac_ext <<_ACEOF
15437 /* end confdefs.h. */
15451 rm -f conftest.$ac_objext
15452 if { (ac_try="$ac_compile"
15453 case "(($ac_try" in
15454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15455 *) ac_try_echo=$ac_try;;
15457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15458 (eval "$ac_compile") 2>conftest.er1
15460 grep -v '^ *+' conftest.er1 >conftest.err
15462 cat conftest.err >&5
15463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15464 (exit $ac_status); } && {
15465 test -z "$ac_c_werror_flag" ||
15466 test ! -s conftest.err
15467 } && test -s conftest.$ac_objext; then
15468 bakefile_cv_c_compiler___SUNPRO_C=yes
15470 echo "$as_me: failed program was:" >&5
15471 sed 's/^/| /' conftest.$ac_ext >&5
15473 bakefile_cv_c_compiler___SUNPRO_C=no
15477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15481 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15482 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15483 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15489 ac_cpp='$CPP $CPPFLAGS'
15490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15502 ac_cpp='$CPP $CPPFLAGS'
15503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15507 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15508 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15509 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15510 echo $ECHO_N "(cached) $ECHO_C" >&6
15512 cat >conftest.$ac_ext <<_ACEOF
15515 cat confdefs.h >>conftest.$ac_ext
15516 cat >>conftest.$ac_ext <<_ACEOF
15517 /* end confdefs.h. */
15531 rm -f conftest.$ac_objext
15532 if { (ac_try="$ac_compile"
15533 case "(($ac_try" in
15534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15535 *) ac_try_echo=$ac_try;;
15537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15538 (eval "$ac_compile") 2>conftest.er1
15540 grep -v '^ *+' conftest.er1 >conftest.err
15542 cat conftest.err >&5
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15544 (exit $ac_status); } && {
15545 test -z "$ac_c_werror_flag" ||
15546 test ! -s conftest.err
15547 } && test -s conftest.$ac_objext; then
15548 bakefile_cv_c_compiler___HP_cc=yes
15550 echo "$as_me: failed program was:" >&5
15551 sed 's/^/| /' conftest.$ac_ext >&5
15553 bakefile_cv_c_compiler___HP_cc=no
15557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15561 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15562 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15563 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15569 ac_cpp='$CPP $CPPFLAGS'
15570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15582 ac_cpp='$CPP $CPPFLAGS'
15583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15587 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15588 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15589 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15590 echo $ECHO_N "(cached) $ECHO_C" >&6
15592 cat >conftest.$ac_ext <<_ACEOF
15595 cat confdefs.h >>conftest.$ac_ext
15596 cat >>conftest.$ac_ext <<_ACEOF
15597 /* end confdefs.h. */
15611 rm -f conftest.$ac_objext
15612 if { (ac_try="$ac_compile"
15613 case "(($ac_try" in
15614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15615 *) ac_try_echo=$ac_try;;
15617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15618 (eval "$ac_compile") 2>conftest.er1
15620 grep -v '^ *+' conftest.er1 >conftest.err
15622 cat conftest.err >&5
15623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624 (exit $ac_status); } && {
15625 test -z "$ac_c_werror_flag" ||
15626 test ! -s conftest.err
15627 } && test -s conftest.$ac_objext; then
15628 bakefile_cv_c_compiler___DECC=yes
15630 echo "$as_me: failed program was:" >&5
15631 sed 's/^/| /' conftest.$ac_ext >&5
15633 bakefile_cv_c_compiler___DECC=no
15637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15641 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15642 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15643 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15649 ac_cpp='$CPP $CPPFLAGS'
15650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15662 ac_cpp='$CPP $CPPFLAGS'
15663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15667 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15668 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15669 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15670 echo $ECHO_N "(cached) $ECHO_C" >&6
15672 cat >conftest.$ac_ext <<_ACEOF
15675 cat confdefs.h >>conftest.$ac_ext
15676 cat >>conftest.$ac_ext <<_ACEOF
15677 /* end confdefs.h. */
15691 rm -f conftest.$ac_objext
15692 if { (ac_try="$ac_compile"
15693 case "(($ac_try" in
15694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15695 *) ac_try_echo=$ac_try;;
15697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15698 (eval "$ac_compile") 2>conftest.er1
15700 grep -v '^ *+' conftest.er1 >conftest.err
15702 cat conftest.err >&5
15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); } && {
15705 test -z "$ac_c_werror_flag" ||
15706 test ! -s conftest.err
15707 } && test -s conftest.$ac_objext; then
15708 bakefile_cv_c_compiler___SUNPRO_C=yes
15710 echo "$as_me: failed program was:" >&5
15711 sed 's/^/| /' conftest.$ac_ext >&5
15713 bakefile_cv_c_compiler___SUNPRO_C=no
15717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15721 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15722 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15723 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15729 ac_cpp='$CPP $CPPFLAGS'
15730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15743 ac_cpp='$CPP $CPPFLAGS'
15744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15747 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15748 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15749 # On Suns, sometimes $CPP names a directory.
15750 if test -n "$CPP" && test -d "$CPP"; then
15753 if test -z "$CPP"; then
15754 if test "${ac_cv_prog_CPP+set}" = set; then
15755 echo $ECHO_N "(cached) $ECHO_C" >&6
15757 # Double quotes because CPP needs to be expanded
15758 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15760 ac_preproc_ok=false
15761 for ac_c_preproc_warn_flag in '' yes
15763 # Use a header file that comes with gcc, so configuring glibc
15764 # with a fresh cross-compiler works.
15765 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15766 # <limits.h> exists even on freestanding compilers.
15767 # On the NeXT, cc -E runs the code through the compiler's parser,
15768 # not just through cpp. "Syntax error" is here to catch this case.
15769 cat >conftest.$ac_ext <<_ACEOF
15772 cat confdefs.h >>conftest.$ac_ext
15773 cat >>conftest.$ac_ext <<_ACEOF
15774 /* end confdefs.h. */
15776 # include <limits.h>
15778 # include <assert.h>
15782 if { (ac_try="$ac_cpp conftest.$ac_ext"
15783 case "(($ac_try" in
15784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15785 *) ac_try_echo=$ac_try;;
15787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15788 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15790 grep -v '^ *+' conftest.er1 >conftest.err
15792 cat conftest.err >&5
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); } >/dev/null && {
15795 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15796 test ! -s conftest.err
15800 echo "$as_me: failed program was:" >&5
15801 sed 's/^/| /' conftest.$ac_ext >&5
15803 # Broken: fails on valid input.
15807 rm -f conftest.err conftest.$ac_ext
15809 # OK, works on sane cases. Now check whether nonexistent headers
15810 # can be detected and how.
15811 cat >conftest.$ac_ext <<_ACEOF
15814 cat confdefs.h >>conftest.$ac_ext
15815 cat >>conftest.$ac_ext <<_ACEOF
15816 /* end confdefs.h. */
15817 #include <ac_nonexistent.h>
15819 if { (ac_try="$ac_cpp conftest.$ac_ext"
15820 case "(($ac_try" in
15821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15822 *) ac_try_echo=$ac_try;;
15824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15825 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15827 grep -v '^ *+' conftest.er1 >conftest.err
15829 cat conftest.err >&5
15830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15831 (exit $ac_status); } >/dev/null && {
15832 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15833 test ! -s conftest.err
15835 # Broken: success on invalid input.
15838 echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.$ac_ext >&5
15841 # Passes both tests.
15846 rm -f conftest.err conftest.$ac_ext
15849 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15850 rm -f conftest.err conftest.$ac_ext
15851 if $ac_preproc_ok; then
15856 ac_cv_prog_CPP=$CPP
15859 CPP=$ac_cv_prog_CPP
15861 ac_cv_prog_CPP=$CPP
15863 { echo "$as_me:$LINENO: result: $CPP" >&5
15864 echo "${ECHO_T}$CPP" >&6; }
15865 ac_preproc_ok=false
15866 for ac_c_preproc_warn_flag in '' yes
15868 # Use a header file that comes with gcc, so configuring glibc
15869 # with a fresh cross-compiler works.
15870 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15871 # <limits.h> exists even on freestanding compilers.
15872 # On the NeXT, cc -E runs the code through the compiler's parser,
15873 # not just through cpp. "Syntax error" is here to catch this case.
15874 cat >conftest.$ac_ext <<_ACEOF
15877 cat confdefs.h >>conftest.$ac_ext
15878 cat >>conftest.$ac_ext <<_ACEOF
15879 /* end confdefs.h. */
15881 # include <limits.h>
15883 # include <assert.h>
15887 if { (ac_try="$ac_cpp conftest.$ac_ext"
15888 case "(($ac_try" in
15889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15890 *) ac_try_echo=$ac_try;;
15892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15893 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15895 grep -v '^ *+' conftest.er1 >conftest.err
15897 cat conftest.err >&5
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); } >/dev/null && {
15900 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15901 test ! -s conftest.err
15905 echo "$as_me: failed program was:" >&5
15906 sed 's/^/| /' conftest.$ac_ext >&5
15908 # Broken: fails on valid input.
15912 rm -f conftest.err conftest.$ac_ext
15914 # OK, works on sane cases. Now check whether nonexistent headers
15915 # can be detected and how.
15916 cat >conftest.$ac_ext <<_ACEOF
15919 cat confdefs.h >>conftest.$ac_ext
15920 cat >>conftest.$ac_ext <<_ACEOF
15921 /* end confdefs.h. */
15922 #include <ac_nonexistent.h>
15924 if { (ac_try="$ac_cpp conftest.$ac_ext"
15925 case "(($ac_try" in
15926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15927 *) ac_try_echo=$ac_try;;
15929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15930 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15932 grep -v '^ *+' conftest.er1 >conftest.err
15934 cat conftest.err >&5
15935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15936 (exit $ac_status); } >/dev/null && {
15937 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15938 test ! -s conftest.err
15940 # Broken: success on invalid input.
15943 echo "$as_me: failed program was:" >&5
15944 sed 's/^/| /' conftest.$ac_ext >&5
15946 # Passes both tests.
15951 rm -f conftest.err conftest.$ac_ext
15954 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15955 rm -f conftest.err conftest.$ac_ext
15956 if $ac_preproc_ok; then
15959 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15960 See \`config.log' for more details." >&5
15961 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15962 See \`config.log' for more details." >&2;}
15963 { (exit 1); exit 1; }; }
15967 ac_cpp='$CPP $CPPFLAGS'
15968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15973 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15974 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15975 if test "${ac_cv_path_GREP+set}" = set; then
15976 echo $ECHO_N "(cached) $ECHO_C" >&6
15978 # Extract the first word of "grep ggrep" to use in msg output
15979 if test -z "$GREP"; then
15980 set dummy grep ggrep; ac_prog_name=$2
15981 if test "${ac_cv_path_GREP+set}" = set; then
15982 echo $ECHO_N "(cached) $ECHO_C" >&6
15984 ac_path_GREP_found=false
15985 # Loop through the user's path and test for each of PROGNAME-LIST
15986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15987 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15990 test -z "$as_dir" && as_dir=.
15991 for ac_prog in grep ggrep; do
15992 for ac_exec_ext in '' $ac_executable_extensions; do
15993 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
15994 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
15995 # Check for GNU ac_path_GREP and select it if it is found.
15996 # Check for GNU $ac_path_GREP
15997 case `"$ac_path_GREP" --version 2>&1` in
15999 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16002 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16005 cat "conftest.in" "conftest.in" >"conftest.tmp"
16006 mv "conftest.tmp" "conftest.in"
16007 cp "conftest.in" "conftest.nl"
16008 echo 'GREP' >> "conftest.nl"
16009 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16010 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16011 ac_count=`expr $ac_count + 1`
16012 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16013 # Best one so far, save it but keep looking for a better one
16014 ac_cv_path_GREP="$ac_path_GREP"
16015 ac_path_GREP_max=$ac_count
16017 # 10*(2^10) chars as input seems more than enough
16018 test $ac_count -gt 10 && break
16020 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16024 $ac_path_GREP_found && break 3
16034 GREP="$ac_cv_path_GREP"
16035 if test -z "$GREP"; then
16036 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16037 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16038 { (exit 1); exit 1; }; }
16042 ac_cv_path_GREP=$GREP
16047 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16048 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16049 GREP="$ac_cv_path_GREP"
16052 { echo "$as_me:$LINENO: checking for egrep" >&5
16053 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16054 if test "${ac_cv_path_EGREP+set}" = set; then
16055 echo $ECHO_N "(cached) $ECHO_C" >&6
16057 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16058 then ac_cv_path_EGREP="$GREP -E"
16060 # Extract the first word of "egrep" to use in msg output
16061 if test -z "$EGREP"; then
16062 set dummy egrep; ac_prog_name=$2
16063 if test "${ac_cv_path_EGREP+set}" = set; then
16064 echo $ECHO_N "(cached) $ECHO_C" >&6
16066 ac_path_EGREP_found=false
16067 # Loop through the user's path and test for each of PROGNAME-LIST
16068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16069 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16072 test -z "$as_dir" && as_dir=.
16073 for ac_prog in egrep; do
16074 for ac_exec_ext in '' $ac_executable_extensions; do
16075 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16076 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16077 # Check for GNU ac_path_EGREP and select it if it is found.
16078 # Check for GNU $ac_path_EGREP
16079 case `"$ac_path_EGREP" --version 2>&1` in
16081 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16084 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16087 cat "conftest.in" "conftest.in" >"conftest.tmp"
16088 mv "conftest.tmp" "conftest.in"
16089 cp "conftest.in" "conftest.nl"
16090 echo 'EGREP' >> "conftest.nl"
16091 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16092 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16093 ac_count=`expr $ac_count + 1`
16094 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16095 # Best one so far, save it but keep looking for a better one
16096 ac_cv_path_EGREP="$ac_path_EGREP"
16097 ac_path_EGREP_max=$ac_count
16099 # 10*(2^10) chars as input seems more than enough
16100 test $ac_count -gt 10 && break
16102 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16106 $ac_path_EGREP_found && break 3
16116 EGREP="$ac_cv_path_EGREP"
16117 if test -z "$EGREP"; then
16118 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16119 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16120 { (exit 1); exit 1; }; }
16124 ac_cv_path_EGREP=$EGREP
16130 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16131 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16132 EGREP="$ac_cv_path_EGREP"
16135 if test $ac_cv_c_compiler_gnu = yes; then
16136 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16137 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16138 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16139 echo $ECHO_N "(cached) $ECHO_C" >&6
16141 ac_pattern="Autoconf.*'x'"
16142 cat >conftest.$ac_ext <<_ACEOF
16145 cat confdefs.h >>conftest.$ac_ext
16146 cat >>conftest.$ac_ext <<_ACEOF
16147 /* end confdefs.h. */
16151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16152 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16153 ac_cv_prog_gcc_traditional=yes
16155 ac_cv_prog_gcc_traditional=no
16160 if test $ac_cv_prog_gcc_traditional = no; then
16161 cat >conftest.$ac_ext <<_ACEOF
16164 cat confdefs.h >>conftest.$ac_ext
16165 cat >>conftest.$ac_ext <<_ACEOF
16166 /* end confdefs.h. */
16167 #include <termio.h>
16170 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16171 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16172 ac_cv_prog_gcc_traditional=yes
16178 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16179 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16180 if test $ac_cv_prog_gcc_traditional = yes; then
16181 CC="$CC -traditional"
16186 CXXFLAGS=${CXXFLAGS:=}
16191 ac_cpp='$CXXCPP $CPPFLAGS'
16192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16195 if test -z "$CXX"; then
16196 if test -n "$CCC"; then
16199 if test -n "$ac_tool_prefix"; then
16200 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16202 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16203 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16206 if test "${ac_cv_prog_CXX+set}" = set; then
16207 echo $ECHO_N "(cached) $ECHO_C" >&6
16209 if test -n "$CXX"; then
16210 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16213 for as_dir in $PATH
16216 test -z "$as_dir" && as_dir=.
16217 for ac_exec_ext in '' $ac_executable_extensions; do
16218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16219 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16229 CXX=$ac_cv_prog_CXX
16230 if test -n "$CXX"; then
16231 { echo "$as_me:$LINENO: result: $CXX" >&5
16232 echo "${ECHO_T}$CXX" >&6; }
16234 { echo "$as_me:$LINENO: result: no" >&5
16235 echo "${ECHO_T}no" >&6; }
16239 test -n "$CXX" && break
16242 if test -z "$CXX"; then
16244 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16246 # Extract the first word of "$ac_prog", so it can be a program name with args.
16247 set dummy $ac_prog; ac_word=$2
16248 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16250 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16251 echo $ECHO_N "(cached) $ECHO_C" >&6
16253 if test -n "$ac_ct_CXX"; then
16254 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16257 for as_dir in $PATH
16260 test -z "$as_dir" && as_dir=.
16261 for ac_exec_ext in '' $ac_executable_extensions; do
16262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16263 ac_cv_prog_ac_ct_CXX="$ac_prog"
16264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16273 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16274 if test -n "$ac_ct_CXX"; then
16275 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16276 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16278 { echo "$as_me:$LINENO: result: no" >&5
16279 echo "${ECHO_T}no" >&6; }
16283 test -n "$ac_ct_CXX" && break
16286 if test "x$ac_ct_CXX" = x; then
16289 case $cross_compiling:$ac_tool_warned in
16291 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16292 whose name does not start with the host triplet. If you think this
16293 configuration is useful to you, please write to autoconf@gnu.org." >&5
16294 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16295 whose name does not start with the host triplet. If you think this
16296 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16297 ac_tool_warned=yes ;;
16305 # Provide some information about the compiler.
16306 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16307 ac_compiler=`set X $ac_compile; echo $2`
16308 { (ac_try="$ac_compiler --version >&5"
16309 case "(($ac_try" in
16310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16311 *) ac_try_echo=$ac_try;;
16313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16314 (eval "$ac_compiler --version >&5") 2>&5
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); }
16318 { (ac_try="$ac_compiler -v >&5"
16319 case "(($ac_try" in
16320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16321 *) ac_try_echo=$ac_try;;
16323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16324 (eval "$ac_compiler -v >&5") 2>&5
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); }
16328 { (ac_try="$ac_compiler -V >&5"
16329 case "(($ac_try" in
16330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16331 *) ac_try_echo=$ac_try;;
16333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16334 (eval "$ac_compiler -V >&5") 2>&5
16336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337 (exit $ac_status); }
16339 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16340 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16341 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16342 echo $ECHO_N "(cached) $ECHO_C" >&6
16344 cat >conftest.$ac_ext <<_ACEOF
16347 cat confdefs.h >>conftest.$ac_ext
16348 cat >>conftest.$ac_ext <<_ACEOF
16349 /* end confdefs.h. */
16362 rm -f conftest.$ac_objext
16363 if { (ac_try="$ac_compile"
16364 case "(($ac_try" in
16365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16366 *) ac_try_echo=$ac_try;;
16368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16369 (eval "$ac_compile") 2>conftest.er1
16371 grep -v '^ *+' conftest.er1 >conftest.err
16373 cat conftest.err >&5
16374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 (exit $ac_status); } && {
16376 test -z "$ac_cxx_werror_flag" ||
16377 test ! -s conftest.err
16378 } && test -s conftest.$ac_objext; then
16379 ac_compiler_gnu=yes
16381 echo "$as_me: failed program was:" >&5
16382 sed 's/^/| /' conftest.$ac_ext >&5
16387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16388 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16391 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16392 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16393 GXX=`test $ac_compiler_gnu = yes && echo yes`
16394 ac_test_CXXFLAGS=${CXXFLAGS+set}
16395 ac_save_CXXFLAGS=$CXXFLAGS
16396 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16397 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16398 if test "${ac_cv_prog_cxx_g+set}" = set; then
16399 echo $ECHO_N "(cached) $ECHO_C" >&6
16401 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16402 ac_cxx_werror_flag=yes
16403 ac_cv_prog_cxx_g=no
16405 cat >conftest.$ac_ext <<_ACEOF
16408 cat confdefs.h >>conftest.$ac_ext
16409 cat >>conftest.$ac_ext <<_ACEOF
16410 /* end confdefs.h. */
16420 rm -f conftest.$ac_objext
16421 if { (ac_try="$ac_compile"
16422 case "(($ac_try" in
16423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16424 *) ac_try_echo=$ac_try;;
16426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16427 (eval "$ac_compile") 2>conftest.er1
16429 grep -v '^ *+' conftest.er1 >conftest.err
16431 cat conftest.err >&5
16432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433 (exit $ac_status); } && {
16434 test -z "$ac_cxx_werror_flag" ||
16435 test ! -s conftest.err
16436 } && test -s conftest.$ac_objext; then
16437 ac_cv_prog_cxx_g=yes
16439 echo "$as_me: failed program was:" >&5
16440 sed 's/^/| /' conftest.$ac_ext >&5
16443 cat >conftest.$ac_ext <<_ACEOF
16446 cat confdefs.h >>conftest.$ac_ext
16447 cat >>conftest.$ac_ext <<_ACEOF
16448 /* end confdefs.h. */
16458 rm -f conftest.$ac_objext
16459 if { (ac_try="$ac_compile"
16460 case "(($ac_try" in
16461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16462 *) ac_try_echo=$ac_try;;
16464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16465 (eval "$ac_compile") 2>conftest.er1
16467 grep -v '^ *+' conftest.er1 >conftest.err
16469 cat conftest.err >&5
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); } && {
16472 test -z "$ac_cxx_werror_flag" ||
16473 test ! -s conftest.err
16474 } && test -s conftest.$ac_objext; then
16477 echo "$as_me: failed program was:" >&5
16478 sed 's/^/| /' conftest.$ac_ext >&5
16480 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16482 cat >conftest.$ac_ext <<_ACEOF
16485 cat confdefs.h >>conftest.$ac_ext
16486 cat >>conftest.$ac_ext <<_ACEOF
16487 /* end confdefs.h. */
16497 rm -f conftest.$ac_objext
16498 if { (ac_try="$ac_compile"
16499 case "(($ac_try" in
16500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16501 *) ac_try_echo=$ac_try;;
16503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16504 (eval "$ac_compile") 2>conftest.er1
16506 grep -v '^ *+' conftest.er1 >conftest.err
16508 cat conftest.err >&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); } && {
16511 test -z "$ac_cxx_werror_flag" ||
16512 test ! -s conftest.err
16513 } && test -s conftest.$ac_objext; then
16514 ac_cv_prog_cxx_g=yes
16516 echo "$as_me: failed program was:" >&5
16517 sed 's/^/| /' conftest.$ac_ext >&5
16522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16529 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16531 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16532 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16533 if test "$ac_test_CXXFLAGS" = set; then
16534 CXXFLAGS=$ac_save_CXXFLAGS
16535 elif test $ac_cv_prog_cxx_g = yes; then
16536 if test "$GXX" = yes; then
16542 if test "$GXX" = yes; then
16549 ac_cpp='$CPP $CPPFLAGS'
16550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16558 ac_cpp='$CXXCPP $CPPFLAGS'
16559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16563 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16564 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16565 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16566 echo $ECHO_N "(cached) $ECHO_C" >&6
16568 cat >conftest.$ac_ext <<_ACEOF
16571 cat confdefs.h >>conftest.$ac_ext
16572 cat >>conftest.$ac_ext <<_ACEOF
16573 /* end confdefs.h. */
16579 #ifndef __INTEL_COMPILER
16587 rm -f conftest.$ac_objext
16588 if { (ac_try="$ac_compile"
16589 case "(($ac_try" in
16590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16591 *) ac_try_echo=$ac_try;;
16593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16594 (eval "$ac_compile") 2>conftest.er1
16596 grep -v '^ *+' conftest.er1 >conftest.err
16598 cat conftest.err >&5
16599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600 (exit $ac_status); } && {
16601 test -z "$ac_cxx_werror_flag" ||
16602 test ! -s conftest.err
16603 } && test -s conftest.$ac_objext; then
16604 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16606 echo "$as_me: failed program was:" >&5
16607 sed 's/^/| /' conftest.$ac_ext >&5
16609 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16617 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16618 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16619 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16625 ac_cpp='$CPP $CPPFLAGS'
16626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16633 if test "x$GCXX" != "xyes"; then
16634 if test "xCXX" = "xC"; then
16635 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16636 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16637 if test "${bakefile_cv_c_exto+set}" = set; then
16638 echo $ECHO_N "(cached) $ECHO_C" >&6
16640 cat >conftest.$ac_ext <<_ACEOF
16643 cat confdefs.h >>conftest.$ac_ext
16644 cat >>conftest.$ac_ext <<_ACEOF
16645 /* end confdefs.h. */
16655 rm -f conftest.$ac_objext conftest.$ac_ext.o
16656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16657 (eval $ac_compile) 2>&5
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); }; then
16661 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16663 conftest.$ac_ext.o)
16664 bakefile_cv_c_exto="-ext o"
16671 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16672 See \`config.log' for more details." >&5
16673 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16674 See \`config.log' for more details." >&2;}
16675 { (exit 1); exit 1; }; }
16679 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16682 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16683 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16684 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16685 if test "c" = "c"; then
16686 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16688 if test "c" = "cxx"; then
16689 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16693 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16694 unset ac_cv_prog_cc_g
16695 ac_test_CFLAGS=${CFLAGS+set}
16696 ac_save_CFLAGS=$CFLAGS
16697 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16698 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16699 if test "${ac_cv_prog_cc_g+set}" = set; then
16700 echo $ECHO_N "(cached) $ECHO_C" >&6
16702 ac_save_c_werror_flag=$ac_c_werror_flag
16703 ac_c_werror_flag=yes
16706 cat >conftest.$ac_ext <<_ACEOF
16709 cat confdefs.h >>conftest.$ac_ext
16710 cat >>conftest.$ac_ext <<_ACEOF
16711 /* end confdefs.h. */
16721 rm -f conftest.$ac_objext
16722 if { (ac_try="$ac_compile"
16723 case "(($ac_try" in
16724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16725 *) ac_try_echo=$ac_try;;
16727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16728 (eval "$ac_compile") 2>conftest.er1
16730 grep -v '^ *+' conftest.er1 >conftest.err
16732 cat conftest.err >&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); } && {
16735 test -z "$ac_c_werror_flag" ||
16736 test ! -s conftest.err
16737 } && test -s conftest.$ac_objext; then
16738 ac_cv_prog_cc_g=yes
16740 echo "$as_me: failed program was:" >&5
16741 sed 's/^/| /' conftest.$ac_ext >&5
16744 cat >conftest.$ac_ext <<_ACEOF
16747 cat confdefs.h >>conftest.$ac_ext
16748 cat >>conftest.$ac_ext <<_ACEOF
16749 /* end confdefs.h. */
16759 rm -f conftest.$ac_objext
16760 if { (ac_try="$ac_compile"
16761 case "(($ac_try" in
16762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16763 *) ac_try_echo=$ac_try;;
16765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16766 (eval "$ac_compile") 2>conftest.er1
16768 grep -v '^ *+' conftest.er1 >conftest.err
16770 cat conftest.err >&5
16771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16772 (exit $ac_status); } && {
16773 test -z "$ac_c_werror_flag" ||
16774 test ! -s conftest.err
16775 } && test -s conftest.$ac_objext; then
16778 echo "$as_me: failed program was:" >&5
16779 sed 's/^/| /' conftest.$ac_ext >&5
16781 ac_c_werror_flag=$ac_save_c_werror_flag
16783 cat >conftest.$ac_ext <<_ACEOF
16786 cat confdefs.h >>conftest.$ac_ext
16787 cat >>conftest.$ac_ext <<_ACEOF
16788 /* end confdefs.h. */
16798 rm -f conftest.$ac_objext
16799 if { (ac_try="$ac_compile"
16800 case "(($ac_try" in
16801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16802 *) ac_try_echo=$ac_try;;
16804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16805 (eval "$ac_compile") 2>conftest.er1
16807 grep -v '^ *+' conftest.er1 >conftest.err
16809 cat conftest.err >&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); } && {
16812 test -z "$ac_c_werror_flag" ||
16813 test ! -s conftest.err
16814 } && test -s conftest.$ac_objext; then
16815 ac_cv_prog_cc_g=yes
16817 echo "$as_me: failed program was:" >&5
16818 sed 's/^/| /' conftest.$ac_ext >&5
16823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16830 ac_c_werror_flag=$ac_save_c_werror_flag
16832 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16833 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16834 if test "$ac_test_CFLAGS" = set; then
16835 CFLAGS=$ac_save_CFLAGS
16836 elif test $ac_cv_prog_cc_g = yes; then
16837 if test "$GCC" = yes; then
16843 if test "$GCC" = yes; then
16857 ac_cpp='$CXXCPP $CPPFLAGS'
16858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16862 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16863 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16864 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16865 echo $ECHO_N "(cached) $ECHO_C" >&6
16867 cat >conftest.$ac_ext <<_ACEOF
16870 cat confdefs.h >>conftest.$ac_ext
16871 cat >>conftest.$ac_ext <<_ACEOF
16872 /* end confdefs.h. */
16886 rm -f conftest.$ac_objext
16887 if { (ac_try="$ac_compile"
16888 case "(($ac_try" in
16889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16890 *) ac_try_echo=$ac_try;;
16892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16893 (eval "$ac_compile") 2>conftest.er1
16895 grep -v '^ *+' conftest.er1 >conftest.err
16897 cat conftest.err >&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); } && {
16900 test -z "$ac_cxx_werror_flag" ||
16901 test ! -s conftest.err
16902 } && test -s conftest.$ac_objext; then
16903 bakefile_cv_cxx_compiler___xlC__=yes
16905 echo "$as_me: failed program was:" >&5
16906 sed 's/^/| /' conftest.$ac_ext >&5
16908 bakefile_cv_cxx_compiler___xlC__=no
16912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16916 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16917 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16918 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16924 ac_cpp='$CPP $CPPFLAGS'
16925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16937 ac_cpp='$CXXCPP $CPPFLAGS'
16938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16942 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16943 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16944 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16945 echo $ECHO_N "(cached) $ECHO_C" >&6
16947 cat >conftest.$ac_ext <<_ACEOF
16950 cat confdefs.h >>conftest.$ac_ext
16951 cat >>conftest.$ac_ext <<_ACEOF
16952 /* end confdefs.h. */
16966 rm -f conftest.$ac_objext
16967 if { (ac_try="$ac_compile"
16968 case "(($ac_try" in
16969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16970 *) ac_try_echo=$ac_try;;
16972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16973 (eval "$ac_compile") 2>conftest.er1
16975 grep -v '^ *+' conftest.er1 >conftest.err
16977 cat conftest.err >&5
16978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979 (exit $ac_status); } && {
16980 test -z "$ac_cxx_werror_flag" ||
16981 test ! -s conftest.err
16982 } && test -s conftest.$ac_objext; then
16983 bakefile_cv_cxx_compiler___MWERKS__=yes
16985 echo "$as_me: failed program was:" >&5
16986 sed 's/^/| /' conftest.$ac_ext >&5
16988 bakefile_cv_cxx_compiler___MWERKS__=no
16992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16996 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
16997 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
16998 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17004 ac_cpp='$CPP $CPPFLAGS'
17005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17014 ac_cpp='$CXXCPP $CPPFLAGS'
17015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17019 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17020 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17021 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17022 echo $ECHO_N "(cached) $ECHO_C" >&6
17024 cat >conftest.$ac_ext <<_ACEOF
17027 cat confdefs.h >>conftest.$ac_ext
17028 cat >>conftest.$ac_ext <<_ACEOF
17029 /* end confdefs.h. */
17043 rm -f conftest.$ac_objext
17044 if { (ac_try="$ac_compile"
17045 case "(($ac_try" in
17046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17047 *) ac_try_echo=$ac_try;;
17049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17050 (eval "$ac_compile") 2>conftest.er1
17052 grep -v '^ *+' conftest.er1 >conftest.err
17054 cat conftest.err >&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); } && {
17057 test -z "$ac_cxx_werror_flag" ||
17058 test ! -s conftest.err
17059 } && test -s conftest.$ac_objext; then
17060 bakefile_cv_cxx_compiler___xlC__=yes
17062 echo "$as_me: failed program was:" >&5
17063 sed 's/^/| /' conftest.$ac_ext >&5
17065 bakefile_cv_cxx_compiler___xlC__=no
17069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17073 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17074 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17075 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17081 ac_cpp='$CPP $CPPFLAGS'
17082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17094 ac_cpp='$CXXCPP $CPPFLAGS'
17095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17099 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17100 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17101 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17102 echo $ECHO_N "(cached) $ECHO_C" >&6
17104 cat >conftest.$ac_ext <<_ACEOF
17107 cat confdefs.h >>conftest.$ac_ext
17108 cat >>conftest.$ac_ext <<_ACEOF
17109 /* end confdefs.h. */
17115 #ifndef _SGI_COMPILER_VERSION
17123 rm -f conftest.$ac_objext
17124 if { (ac_try="$ac_compile"
17125 case "(($ac_try" in
17126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17127 *) ac_try_echo=$ac_try;;
17129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17130 (eval "$ac_compile") 2>conftest.er1
17132 grep -v '^ *+' conftest.er1 >conftest.err
17134 cat conftest.err >&5
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); } && {
17137 test -z "$ac_cxx_werror_flag" ||
17138 test ! -s conftest.err
17139 } && test -s conftest.$ac_objext; then
17140 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17142 echo "$as_me: failed program was:" >&5
17143 sed 's/^/| /' conftest.$ac_ext >&5
17145 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17153 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17154 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17155 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17161 ac_cpp='$CPP $CPPFLAGS'
17162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17174 ac_cpp='$CXXCPP $CPPFLAGS'
17175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17179 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17180 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17181 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17182 echo $ECHO_N "(cached) $ECHO_C" >&6
17184 cat >conftest.$ac_ext <<_ACEOF
17187 cat confdefs.h >>conftest.$ac_ext
17188 cat >>conftest.$ac_ext <<_ACEOF
17189 /* end confdefs.h. */
17195 #ifndef __SUNPRO_CC
17203 rm -f conftest.$ac_objext
17204 if { (ac_try="$ac_compile"
17205 case "(($ac_try" in
17206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17207 *) ac_try_echo=$ac_try;;
17209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17210 (eval "$ac_compile") 2>conftest.er1
17212 grep -v '^ *+' conftest.er1 >conftest.err
17214 cat conftest.err >&5
17215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17216 (exit $ac_status); } && {
17217 test -z "$ac_cxx_werror_flag" ||
17218 test ! -s conftest.err
17219 } && test -s conftest.$ac_objext; then
17220 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17222 echo "$as_me: failed program was:" >&5
17223 sed 's/^/| /' conftest.$ac_ext >&5
17225 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17233 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17234 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17235 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17241 ac_cpp='$CPP $CPPFLAGS'
17242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17254 ac_cpp='$CXXCPP $CPPFLAGS'
17255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17259 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17260 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17261 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17262 echo $ECHO_N "(cached) $ECHO_C" >&6
17264 cat >conftest.$ac_ext <<_ACEOF
17267 cat confdefs.h >>conftest.$ac_ext
17268 cat >>conftest.$ac_ext <<_ACEOF
17269 /* end confdefs.h. */
17283 rm -f conftest.$ac_objext
17284 if { (ac_try="$ac_compile"
17285 case "(($ac_try" in
17286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17287 *) ac_try_echo=$ac_try;;
17289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17290 (eval "$ac_compile") 2>conftest.er1
17292 grep -v '^ *+' conftest.er1 >conftest.err
17294 cat conftest.err >&5
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); } && {
17297 test -z "$ac_cxx_werror_flag" ||
17298 test ! -s conftest.err
17299 } && test -s conftest.$ac_objext; then
17300 bakefile_cv_cxx_compiler___HP_aCC=yes
17302 echo "$as_me: failed program was:" >&5
17303 sed 's/^/| /' conftest.$ac_ext >&5
17305 bakefile_cv_cxx_compiler___HP_aCC=no
17309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17313 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17314 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17315 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17321 ac_cpp='$CPP $CPPFLAGS'
17322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17334 ac_cpp='$CXXCPP $CPPFLAGS'
17335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17339 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17340 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17341 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17342 echo $ECHO_N "(cached) $ECHO_C" >&6
17344 cat >conftest.$ac_ext <<_ACEOF
17347 cat confdefs.h >>conftest.$ac_ext
17348 cat >>conftest.$ac_ext <<_ACEOF
17349 /* end confdefs.h. */
17363 rm -f conftest.$ac_objext
17364 if { (ac_try="$ac_compile"
17365 case "(($ac_try" in
17366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17367 *) ac_try_echo=$ac_try;;
17369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17370 (eval "$ac_compile") 2>conftest.er1
17372 grep -v '^ *+' conftest.er1 >conftest.err
17374 cat conftest.err >&5
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); } && {
17377 test -z "$ac_cxx_werror_flag" ||
17378 test ! -s conftest.err
17379 } && test -s conftest.$ac_objext; then
17380 bakefile_cv_cxx_compiler___DECCXX=yes
17382 echo "$as_me: failed program was:" >&5
17383 sed 's/^/| /' conftest.$ac_ext >&5
17385 bakefile_cv_cxx_compiler___DECCXX=no
17389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17393 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17394 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17395 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17401 ac_cpp='$CPP $CPPFLAGS'
17402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17414 ac_cpp='$CXXCPP $CPPFLAGS'
17415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17419 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17420 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17421 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17422 echo $ECHO_N "(cached) $ECHO_C" >&6
17424 cat >conftest.$ac_ext <<_ACEOF
17427 cat confdefs.h >>conftest.$ac_ext
17428 cat >>conftest.$ac_ext <<_ACEOF
17429 /* end confdefs.h. */
17435 #ifndef __SUNPRO_CC
17443 rm -f conftest.$ac_objext
17444 if { (ac_try="$ac_compile"
17445 case "(($ac_try" in
17446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17447 *) ac_try_echo=$ac_try;;
17449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17450 (eval "$ac_compile") 2>conftest.er1
17452 grep -v '^ *+' conftest.er1 >conftest.err
17454 cat conftest.err >&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); } && {
17457 test -z "$ac_cxx_werror_flag" ||
17458 test ! -s conftest.err
17459 } && test -s conftest.$ac_objext; then
17460 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17462 echo "$as_me: failed program was:" >&5
17463 sed 's/^/| /' conftest.$ac_ext >&5
17465 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17473 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17474 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17475 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17481 ac_cpp='$CPP $CPPFLAGS'
17482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17494 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17495 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17496 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17497 { (exit 1); exit 1; }; }
17500 if test "x$SUNCXX" != xyes; then
17501 if test -n "$ac_tool_prefix"; then
17502 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17503 set dummy ${ac_tool_prefix}ar; ac_word=$2
17504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17506 if test "${ac_cv_prog_AR+set}" = set; then
17507 echo $ECHO_N "(cached) $ECHO_C" >&6
17509 if test -n "$AR"; then
17510 ac_cv_prog_AR="$AR" # Let the user override the test.
17512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17513 for as_dir in $PATH
17516 test -z "$as_dir" && as_dir=.
17517 for ac_exec_ext in '' $ac_executable_extensions; do
17518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17519 ac_cv_prog_AR="${ac_tool_prefix}ar"
17520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17530 if test -n "$AR"; then
17531 { echo "$as_me:$LINENO: result: $AR" >&5
17532 echo "${ECHO_T}$AR" >&6; }
17534 { echo "$as_me:$LINENO: result: no" >&5
17535 echo "${ECHO_T}no" >&6; }
17540 if test -z "$ac_cv_prog_AR"; then
17542 # Extract the first word of "ar", so it can be a program name with args.
17543 set dummy ar; ac_word=$2
17544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17546 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17547 echo $ECHO_N "(cached) $ECHO_C" >&6
17549 if test -n "$ac_ct_AR"; then
17550 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17553 for as_dir in $PATH
17556 test -z "$as_dir" && as_dir=.
17557 for ac_exec_ext in '' $ac_executable_extensions; do
17558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17559 ac_cv_prog_ac_ct_AR="ar"
17560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17569 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17570 if test -n "$ac_ct_AR"; then
17571 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17572 echo "${ECHO_T}$ac_ct_AR" >&6; }
17574 { echo "$as_me:$LINENO: result: no" >&5
17575 echo "${ECHO_T}no" >&6; }
17578 if test "x$ac_ct_AR" = x; then
17581 case $cross_compiling:$ac_tool_warned in
17583 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17584 whose name does not start with the host triplet. If you think this
17585 configuration is useful to you, please write to autoconf@gnu.org." >&5
17586 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17587 whose name does not start with the host triplet. If you think this
17588 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17589 ac_tool_warned=yes ;;
17594 AR="$ac_cv_prog_AR"
17597 if test "x$AR" = "x" ; then
17598 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17599 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17600 { (exit 1); exit 1; }; }
17604 retest_macosx_linking=no
17606 #if test "$wxUSE_MAC" = 1; then
17607 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17608 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17609 # Implicitly turn on the new --with-macosx-sdk using the default
17610 # SDK which provides the behavior this option has always had.
17611 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17612 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17613 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17614 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17615 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17616 wxUSE_MACOSX_SDK=yes
17619 # Complain to user if he specified an argument to --enable-universal_binary
17620 # and also 1) specified --with-macosx-sdk using the default (yes) or
17621 # 2) specified --with-macosx-sdk using a path or 3) specified
17622 # --without-macosx-sdk (no).
17623 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17624 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17625 See \`config.log' for more details." >&5
17626 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17627 See \`config.log' for more details." >&2;}
17628 { (exit 1); exit 1; }; }
17630 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17631 # special-case the empty string because the below test simply
17632 # converts "no" to the empty string anyway.
17633 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17634 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17635 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17638 OSX_UNIV_OPTS="-arch ppc -arch i386"
17639 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17640 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17641 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17642 retest_macosx_linking=yes
17644 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17645 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17650 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17652 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17653 # TODO: Search for most recent SDK and use it.
17654 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17658 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17659 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17660 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17661 if ! test -d "$wxUSE_MACOSX_SDK"; then
17662 { { echo "$as_me:$LINENO: error: not found
17663 See \`config.log' for more details." >&5
17664 echo "$as_me: error: not found
17665 See \`config.log' for more details." >&2;}
17666 { (exit 1); exit 1; }; }
17668 { echo "$as_me:$LINENO: result: exists" >&5
17669 echo "${ECHO_T}exists" >&6; }
17671 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17672 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17673 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17674 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17675 retest_macosx_linking=yes
17678 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17679 wxUSE_MACOSX_VERSION_MIN=
17680 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17681 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17682 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17683 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17685 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/'`
17687 # If that failed, try again with the new key
17688 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17690 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/'`
17694 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17695 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17696 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17697 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17699 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17700 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17701 wxUSE_MACOSX_VERSION_MIN=
17704 wxUSE_MACOSX_VERSION_MIN=
17706 elif test "x$wxUSE_MACOSX_VERSION_MIN" == "x"; then
17707 if test "$wxUSE_MAC" = 1; then
17708 # otherwise configure stops on leopard for universal_binary
17709 wxUSE_MACOSX_VERSION_MIN=10.4
17713 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17714 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17715 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17716 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17717 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17718 retest_macosx_linking=yes
17721 if test "x$retest_macosx_linking" = "xyes"; then
17723 ac_cpp='$CPP $CPPFLAGS'
17724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17728 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17729 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17730 cat >conftest.$ac_ext <<_ACEOF
17733 cat confdefs.h >>conftest.$ac_ext
17734 cat >>conftest.$ac_ext <<_ACEOF
17735 /* end confdefs.h. */
17745 rm -f conftest.$ac_objext conftest$ac_exeext
17746 if { (ac_try="$ac_link"
17747 case "(($ac_try" in
17748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17749 *) ac_try_echo=$ac_try;;
17751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17752 (eval "$ac_link") 2>conftest.er1
17754 grep -v '^ *+' conftest.er1 >conftest.err
17756 cat conftest.err >&5
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); } && {
17759 test -z "$ac_c_werror_flag" ||
17760 test ! -s conftest.err
17761 } && test -s conftest$ac_exeext &&
17762 $as_test_x conftest$ac_exeext; then
17763 { echo "$as_me:$LINENO: result: yes" >&5
17764 echo "${ECHO_T}yes" >&6; }
17766 echo "$as_me: failed program was:" >&5
17767 sed 's/^/| /' conftest.$ac_ext >&5
17769 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17770 See \`config.log' for more details." >&5
17771 echo "$as_me: error: no. Try a different SDK
17772 See \`config.log' for more details." >&2;}
17773 { (exit 1); exit 1; }; }; exit 1
17776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17777 conftest$ac_exeext conftest.$ac_ext
17779 ac_cpp='$CPP $CPPFLAGS'
17780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17786 ac_cpp='$CXXCPP $CPPFLAGS'
17787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17791 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17792 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17793 cat >conftest.$ac_ext <<_ACEOF
17796 cat confdefs.h >>conftest.$ac_ext
17797 cat >>conftest.$ac_ext <<_ACEOF
17798 /* end confdefs.h. */
17808 rm -f conftest.$ac_objext conftest$ac_exeext
17809 if { (ac_try="$ac_link"
17810 case "(($ac_try" in
17811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17812 *) ac_try_echo=$ac_try;;
17814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17815 (eval "$ac_link") 2>conftest.er1
17817 grep -v '^ *+' conftest.er1 >conftest.err
17819 cat conftest.err >&5
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); } && {
17822 test -z "$ac_cxx_werror_flag" ||
17823 test ! -s conftest.err
17824 } && test -s conftest$ac_exeext &&
17825 $as_test_x conftest$ac_exeext; then
17826 { echo "$as_me:$LINENO: result: yes" >&5
17827 echo "${ECHO_T}yes" >&6; }
17829 echo "$as_me: failed program was:" >&5
17830 sed 's/^/| /' conftest.$ac_ext >&5
17832 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17833 See \`config.log' for more details." >&5
17834 echo "$as_me: error: no. Try a different SDK
17835 See \`config.log' for more details." >&2;}
17836 { (exit 1); exit 1; }; }; exit 1
17839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17840 conftest$ac_exeext conftest.$ac_ext
17842 ac_cpp='$CPP $CPPFLAGS'
17843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17853 INSTALL_PROGRAM="cp -fp"
17854 INSTALL_DATA="cp -fp"
17861 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17862 CXXFLAGS="-qunique $CXXFLAGS"
17866 powerpc-*-darwin* )
17867 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17868 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17869 cat >conftest.$ac_ext <<_ACEOF
17872 cat confdefs.h >>conftest.$ac_ext
17873 cat >>conftest.$ac_ext <<_ACEOF
17874 /* end confdefs.h. */
17879 #ifndef __POWERPC__
17880 choke me for lack of PowerPC
17887 rm -f conftest.$ac_objext
17888 if { (ac_try="$ac_compile"
17889 case "(($ac_try" in
17890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17891 *) ac_try_echo=$ac_try;;
17893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17894 (eval "$ac_compile") 2>conftest.er1
17896 grep -v '^ *+' conftest.er1 >conftest.err
17898 cat conftest.err >&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); } && {
17901 test -z "$ac_c_werror_flag" ||
17902 test ! -s conftest.err
17903 } && test -s conftest.$ac_objext; then
17904 { echo "$as_me:$LINENO: result: yes" >&5
17905 echo "${ECHO_T}yes" >&6; }
17907 echo "$as_me: failed program was:" >&5
17908 sed 's/^/| /' conftest.$ac_ext >&5
17910 { echo "$as_me:$LINENO: result: no" >&5
17911 echo "${ECHO_T}no" >&6; }
17912 cat >>confdefs.h <<\_ACEOF
17913 #define __POWERPC__ 1
17919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17925 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17926 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17927 cat >conftest.$ac_ext <<_ACEOF
17930 cat confdefs.h >>conftest.$ac_ext
17931 cat >>conftest.$ac_ext <<_ACEOF
17932 /* end confdefs.h. */
17933 #include <CoreFoundation/CFBase.h>
17943 rm -f conftest.$ac_objext
17944 if { (ac_try="$ac_compile"
17945 case "(($ac_try" in
17946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17947 *) ac_try_echo=$ac_try;;
17949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17950 (eval "$ac_compile") 2>conftest.er1
17952 grep -v '^ *+' conftest.er1 >conftest.err
17954 cat conftest.err >&5
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); } && {
17957 test -z "$ac_c_werror_flag" ||
17958 test ! -s conftest.err
17959 } && test -s conftest.$ac_objext; then
17960 { echo "$as_me:$LINENO: result: yes" >&5
17961 echo "${ECHO_T}yes" >&6; }
17963 echo "$as_me: failed program was:" >&5
17964 sed 's/^/| /' conftest.$ac_ext >&5
17966 { echo "$as_me:$LINENO: result: no" >&5
17967 echo "${ECHO_T}no" >&6; }
17968 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17969 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17970 cat >conftest.$ac_ext <<_ACEOF
17973 cat confdefs.h >>conftest.$ac_ext
17974 cat >>conftest.$ac_ext <<_ACEOF
17975 /* end confdefs.h. */
17976 #define __CF_USE_FRAMEWORK_INCLUDES__
17977 #include <CoreFoundation/CFBase.h>
17987 rm -f conftest.$ac_objext
17988 if { (ac_try="$ac_compile"
17989 case "(($ac_try" in
17990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17991 *) ac_try_echo=$ac_try;;
17993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17994 (eval "$ac_compile") 2>conftest.er1
17996 grep -v '^ *+' conftest.er1 >conftest.err
17998 cat conftest.err >&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); } && {
18001 test -z "$ac_c_werror_flag" ||
18002 test ! -s conftest.err
18003 } && test -s conftest.$ac_objext; then
18004 { echo "$as_me:$LINENO: result: yes" >&5
18005 echo "${ECHO_T}yes" >&6; }
18006 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18008 echo "$as_me: failed program was:" >&5
18009 sed 's/^/| /' conftest.$ac_ext >&5
18011 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18012 See \`config.log' for more details." >&5
18013 echo "$as_me: error: no. CoreFoundation not available.
18014 See \`config.log' for more details." >&2;}
18015 { (exit 1); exit 1; }; }
18019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18029 doesnt_want_win32=0
18032 if test "$wxUSE_MSW" = 1 ; then
18035 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18036 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18037 if test "${wx_cv_nocygwin+set}" = set; then
18038 echo $ECHO_N "(cached) $ECHO_C" >&6
18041 cat >conftest.$ac_ext <<_ACEOF
18044 cat confdefs.h >>conftest.$ac_ext
18045 cat >>conftest.$ac_ext <<_ACEOF
18046 /* end confdefs.h. */
18060 rm -f conftest.$ac_objext
18061 if { (ac_try="$ac_compile"
18062 case "(($ac_try" in
18063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18064 *) ac_try_echo=$ac_try;;
18066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18067 (eval "$ac_compile") 2>conftest.er1
18069 grep -v '^ *+' conftest.er1 >conftest.err
18071 cat conftest.err >&5
18072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18073 (exit $ac_status); } && {
18074 test -z "$ac_c_werror_flag" ||
18075 test ! -s conftest.err
18076 } && test -s conftest.$ac_objext; then
18079 echo "$as_me: failed program was:" >&5
18080 sed 's/^/| /' conftest.$ac_ext >&5
18086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18090 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18091 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18093 if test "$wx_cv_nocygwin" = "yes"; then
18096 doesnt_want_win32=1
18099 if test "$wants_win32" = 1 ; then
18100 BAKEFILE_FORCE_PLATFORM=win32
18108 if test "$wxUSE_WINE" = "yes"; then
18110 LDFLAGS_GUI="-mwindows"
18113 if test "$wants_win32" = 1 ; then
18116 cat >>confdefs.h <<\_ACEOF
18117 #define __WIN32__ 1
18120 cat >>confdefs.h <<\_ACEOF
18121 #define __WIN95__ 1
18124 cat >>confdefs.h <<\_ACEOF
18125 #define __WINDOWS__ 1
18128 cat >>confdefs.h <<\_ACEOF
18129 #define __GNUWIN32__ 1
18132 cat >>confdefs.h <<\_ACEOF
18137 if test "$doesnt_want_win32" = 1 ; then
18142 if test "$USE_UNIX" = 1 ; then
18144 cat >>confdefs.h <<\_ACEOF
18151 *-pc-os2_emx | *-pc-os2-emx )
18152 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18153 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18154 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18155 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18156 echo $ECHO_N "(cached) $ECHO_C" >&6
18158 ac_check_lib_save_LIBS=$LIBS
18159 LIBS="-lcExt $LIBS"
18160 cat >conftest.$ac_ext <<_ACEOF
18163 cat confdefs.h >>conftest.$ac_ext
18164 cat >>conftest.$ac_ext <<_ACEOF
18165 /* end confdefs.h. */
18167 /* Override any GCC internal prototype to avoid an error.
18168 Use char because int might match the return type of a GCC
18169 builtin and then its argument prototype would still apply. */
18182 rm -f conftest.$ac_objext conftest$ac_exeext
18183 if { (ac_try="$ac_link"
18184 case "(($ac_try" in
18185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18186 *) ac_try_echo=$ac_try;;
18188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18189 (eval "$ac_link") 2>conftest.er1
18191 grep -v '^ *+' conftest.er1 >conftest.err
18193 cat conftest.err >&5
18194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195 (exit $ac_status); } && {
18196 test -z "$ac_c_werror_flag" ||
18197 test ! -s conftest.err
18198 } && test -s conftest$ac_exeext &&
18199 $as_test_x conftest$ac_exeext; then
18200 ac_cv_lib_cExt_drand48=yes
18202 echo "$as_me: failed program was:" >&5
18203 sed 's/^/| /' conftest.$ac_ext >&5
18205 ac_cv_lib_cExt_drand48=no
18208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18209 conftest$ac_exeext conftest.$ac_ext
18210 LIBS=$ac_check_lib_save_LIBS
18212 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18213 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18214 if test $ac_cv_lib_cExt_drand48 = yes; then
18215 LIBS="$LIBS -lcExt"
18219 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18221 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18222 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18223 if test "${wx_cv_gccversion+set}" = set; then
18224 echo $ECHO_N "(cached) $ECHO_C" >&6
18227 if test "$cross_compiling" = yes; then
18228 wx_cv_gccversion="EMX2"
18231 cat >conftest.$ac_ext <<_ACEOF
18234 cat confdefs.h >>conftest.$ac_ext
18235 cat >>conftest.$ac_ext <<_ACEOF
18236 /* end confdefs.h. */
18242 FILE *f=fopen("conftestval", "w");
18247 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18249 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18259 rm -f conftest$ac_exeext
18260 if { (ac_try="$ac_link"
18261 case "(($ac_try" in
18262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18263 *) ac_try_echo=$ac_try;;
18265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18266 (eval "$ac_link") 2>&5
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18270 { (case "(($ac_try" in
18271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18272 *) ac_try_echo=$ac_try;;
18274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18275 (eval "$ac_try") 2>&5
18277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278 (exit $ac_status); }; }; then
18279 wx_cv_gccversion=`cat conftestval`
18281 echo "$as_me: program exited with status $ac_status" >&5
18282 echo "$as_me: failed program was:" >&5
18283 sed 's/^/| /' conftest.$ac_ext >&5
18285 ( exit $ac_status )
18286 wx_cv_gccversion="EMX2"
18288 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18294 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18295 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18296 if test "$wx_cv_gccversion" = "EMX2"; then
18297 LIBS="$LIBS -lstdcpp"
18298 LDFLAGS="$LDFLAGS -Zsysv-signals"
18300 if test "$wx_cv_gccversion" = "EMX3"; then
18301 LIBS="$LIBS -lstdcxx -lgcc"
18302 LDFLAGS="$LDFLAGS -Zsysv-signals"
18304 LIBS="$LIBS -lstdc++"
18307 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18308 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18309 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18316 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18317 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18318 if test "${ac_cv_string_strcasecmp+set}" = set; then
18319 echo $ECHO_N "(cached) $ECHO_C" >&6
18322 cat >conftest.$ac_ext <<_ACEOF
18325 cat confdefs.h >>conftest.$ac_ext
18326 cat >>conftest.$ac_ext <<_ACEOF
18327 /* end confdefs.h. */
18329 #include <string.h>
18335 strcasecmp("foo", "bar");
18341 rm -f conftest.$ac_objext conftest$ac_exeext
18342 if { (ac_try="$ac_link"
18343 case "(($ac_try" in
18344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18345 *) ac_try_echo=$ac_try;;
18347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18348 (eval "$ac_link") 2>conftest.er1
18350 grep -v '^ *+' conftest.er1 >conftest.err
18352 cat conftest.err >&5
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); } && {
18355 test -z "$ac_c_werror_flag" ||
18356 test ! -s conftest.err
18357 } && test -s conftest$ac_exeext &&
18358 $as_test_x conftest$ac_exeext; then
18359 ac_cv_string_strcasecmp=yes
18361 echo "$as_me: failed program was:" >&5
18362 sed 's/^/| /' conftest.$ac_ext >&5
18364 ac_cv_string_strcasecmp=no
18368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18369 conftest$ac_exeext conftest.$ac_ext
18372 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18373 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18375 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18376 cat >>confdefs.h <<\_ACEOF
18377 #define HAVE_STRCASECMP_IN_STRING_H 1
18381 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18382 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18383 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18384 echo $ECHO_N "(cached) $ECHO_C" >&6
18387 cat >conftest.$ac_ext <<_ACEOF
18390 cat confdefs.h >>conftest.$ac_ext
18391 cat >>conftest.$ac_ext <<_ACEOF
18392 /* end confdefs.h. */
18394 #include <strings.h>
18400 strcasecmp("foo", "bar");
18406 rm -f conftest.$ac_objext conftest$ac_exeext
18407 if { (ac_try="$ac_link"
18408 case "(($ac_try" in
18409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18410 *) ac_try_echo=$ac_try;;
18412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18413 (eval "$ac_link") 2>conftest.er1
18415 grep -v '^ *+' conftest.er1 >conftest.err
18417 cat conftest.err >&5
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); } && {
18420 test -z "$ac_c_werror_flag" ||
18421 test ! -s conftest.err
18422 } && test -s conftest$ac_exeext &&
18423 $as_test_x conftest$ac_exeext; then
18424 ac_cv_strings_strcasecmp=yes
18426 echo "$as_me: failed program was:" >&5
18427 sed 's/^/| /' conftest.$ac_ext >&5
18429 ac_cv_strings_strcasecmp=no
18433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18434 conftest$ac_exeext conftest.$ac_ext
18437 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18438 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18440 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18441 cat >>confdefs.h <<\_ACEOF
18442 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18446 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18447 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18448 { (exit 1); exit 1; }; }
18456 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18457 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18458 if test "${ac_cv_header_stdc+set}" = set; then
18459 echo $ECHO_N "(cached) $ECHO_C" >&6
18461 cat >conftest.$ac_ext <<_ACEOF
18464 cat confdefs.h >>conftest.$ac_ext
18465 cat >>conftest.$ac_ext <<_ACEOF
18466 /* end confdefs.h. */
18467 #include <stdlib.h>
18468 #include <stdarg.h>
18469 #include <string.h>
18480 rm -f conftest.$ac_objext
18481 if { (ac_try="$ac_compile"
18482 case "(($ac_try" in
18483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18484 *) ac_try_echo=$ac_try;;
18486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18487 (eval "$ac_compile") 2>conftest.er1
18489 grep -v '^ *+' conftest.er1 >conftest.err
18491 cat conftest.err >&5
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); } && {
18494 test -z "$ac_c_werror_flag" ||
18495 test ! -s conftest.err
18496 } && test -s conftest.$ac_objext; then
18497 ac_cv_header_stdc=yes
18499 echo "$as_me: failed program was:" >&5
18500 sed 's/^/| /' conftest.$ac_ext >&5
18502 ac_cv_header_stdc=no
18505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18507 if test $ac_cv_header_stdc = yes; then
18508 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18509 cat >conftest.$ac_ext <<_ACEOF
18512 cat confdefs.h >>conftest.$ac_ext
18513 cat >>conftest.$ac_ext <<_ACEOF
18514 /* end confdefs.h. */
18515 #include <string.h>
18518 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18519 $EGREP "memchr" >/dev/null 2>&1; then
18522 ac_cv_header_stdc=no
18528 if test $ac_cv_header_stdc = yes; then
18529 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18530 cat >conftest.$ac_ext <<_ACEOF
18533 cat confdefs.h >>conftest.$ac_ext
18534 cat >>conftest.$ac_ext <<_ACEOF
18535 /* end confdefs.h. */
18536 #include <stdlib.h>
18539 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18540 $EGREP "free" >/dev/null 2>&1; then
18543 ac_cv_header_stdc=no
18549 if test $ac_cv_header_stdc = yes; then
18550 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18551 if test "$cross_compiling" = yes; then
18554 cat >conftest.$ac_ext <<_ACEOF
18557 cat confdefs.h >>conftest.$ac_ext
18558 cat >>conftest.$ac_ext <<_ACEOF
18559 /* end confdefs.h. */
18561 #include <stdlib.h>
18562 #if ((' ' & 0x0FF) == 0x020)
18563 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18564 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18566 # define ISLOWER(c) \
18567 (('a' <= (c) && (c) <= 'i') \
18568 || ('j' <= (c) && (c) <= 'r') \
18569 || ('s' <= (c) && (c) <= 'z'))
18570 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18573 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18578 for (i = 0; i < 256; i++)
18579 if (XOR (islower (i), ISLOWER (i))
18580 || toupper (i) != TOUPPER (i))
18585 rm -f conftest$ac_exeext
18586 if { (ac_try="$ac_link"
18587 case "(($ac_try" in
18588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18589 *) ac_try_echo=$ac_try;;
18591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18592 (eval "$ac_link") 2>&5
18594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18595 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18596 { (case "(($ac_try" in
18597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18598 *) ac_try_echo=$ac_try;;
18600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18601 (eval "$ac_try") 2>&5
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); }; }; then
18607 echo "$as_me: program exited with status $ac_status" >&5
18608 echo "$as_me: failed program was:" >&5
18609 sed 's/^/| /' conftest.$ac_ext >&5
18611 ( exit $ac_status )
18612 ac_cv_header_stdc=no
18614 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18620 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18621 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18622 if test $ac_cv_header_stdc = yes; then
18624 cat >>confdefs.h <<\_ACEOF
18625 #define STDC_HEADERS 1
18630 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18640 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18641 inttypes.h stdint.h unistd.h
18643 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18644 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18646 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18647 echo $ECHO_N "(cached) $ECHO_C" >&6
18649 cat >conftest.$ac_ext <<_ACEOF
18652 cat confdefs.h >>conftest.$ac_ext
18653 cat >>conftest.$ac_ext <<_ACEOF
18654 /* end confdefs.h. */
18655 $ac_includes_default
18657 #include <$ac_header>
18659 rm -f conftest.$ac_objext
18660 if { (ac_try="$ac_compile"
18661 case "(($ac_try" in
18662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18663 *) ac_try_echo=$ac_try;;
18665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18666 (eval "$ac_compile") 2>conftest.er1
18668 grep -v '^ *+' conftest.er1 >conftest.err
18670 cat conftest.err >&5
18671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18672 (exit $ac_status); } && {
18673 test -z "$ac_c_werror_flag" ||
18674 test ! -s conftest.err
18675 } && test -s conftest.$ac_objext; then
18676 eval "$as_ac_Header=yes"
18678 echo "$as_me: failed program was:" >&5
18679 sed 's/^/| /' conftest.$ac_ext >&5
18681 eval "$as_ac_Header=no"
18684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18686 ac_res=`eval echo '${'$as_ac_Header'}'`
18687 { echo "$as_me:$LINENO: result: $ac_res" >&5
18688 echo "${ECHO_T}$ac_res" >&6; }
18689 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18690 cat >>confdefs.h <<_ACEOF
18691 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18701 for ac_header in langinfo.h wchar.h
18703 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18704 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18705 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18706 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18707 echo $ECHO_N "(cached) $ECHO_C" >&6
18709 cat >conftest.$ac_ext <<_ACEOF
18712 cat confdefs.h >>conftest.$ac_ext
18713 cat >>conftest.$ac_ext <<_ACEOF
18714 /* end confdefs.h. */
18715 $ac_includes_default
18717 #include <$ac_header>
18719 rm -f conftest.$ac_objext
18720 if { (ac_try="$ac_compile"
18721 case "(($ac_try" in
18722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18723 *) ac_try_echo=$ac_try;;
18725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18726 (eval "$ac_compile") 2>conftest.er1
18728 grep -v '^ *+' conftest.er1 >conftest.err
18730 cat conftest.err >&5
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); } && {
18733 test -z "$ac_c_werror_flag" ||
18734 test ! -s conftest.err
18735 } && test -s conftest.$ac_objext; then
18736 eval "$as_ac_Header=yes"
18738 echo "$as_me: failed program was:" >&5
18739 sed 's/^/| /' conftest.$ac_ext >&5
18741 eval "$as_ac_Header=no"
18744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18746 ac_res=`eval echo '${'$as_ac_Header'}'`
18747 { echo "$as_me:$LINENO: result: $ac_res" >&5
18748 echo "${ECHO_T}$ac_res" >&6; }
18749 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18750 cat >>confdefs.h <<_ACEOF
18751 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18759 if test "$ac_cv_header_wchar_h" != "yes"; then
18761 for ac_header in wcstr.h
18763 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18764 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18766 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18767 echo $ECHO_N "(cached) $ECHO_C" >&6
18769 cat >conftest.$ac_ext <<_ACEOF
18772 cat confdefs.h >>conftest.$ac_ext
18773 cat >>conftest.$ac_ext <<_ACEOF
18774 /* end confdefs.h. */
18775 $ac_includes_default
18777 #include <$ac_header>
18779 rm -f conftest.$ac_objext
18780 if { (ac_try="$ac_compile"
18781 case "(($ac_try" in
18782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18783 *) ac_try_echo=$ac_try;;
18785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18786 (eval "$ac_compile") 2>conftest.er1
18788 grep -v '^ *+' conftest.er1 >conftest.err
18790 cat conftest.err >&5
18791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792 (exit $ac_status); } && {
18793 test -z "$ac_c_werror_flag" ||
18794 test ! -s conftest.err
18795 } && test -s conftest.$ac_objext; then
18796 eval "$as_ac_Header=yes"
18798 echo "$as_me: failed program was:" >&5
18799 sed 's/^/| /' conftest.$ac_ext >&5
18801 eval "$as_ac_Header=no"
18804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18806 ac_res=`eval echo '${'$as_ac_Header'}'`
18807 { echo "$as_me:$LINENO: result: $ac_res" >&5
18808 echo "${ECHO_T}$ac_res" >&6; }
18809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18810 cat >>confdefs.h <<_ACEOF
18811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18821 *-pc-os2_emx | *-pc-os2-emx )
18822 if test $ac_cv_header_langinfo_h = "yes" \
18823 -a \( "$wx_cv_gccversion" = "EMX2" \
18824 -o "$wx_cv_gccversion" = "EMX3" \
18825 -o "$wx_cv_gccversion" = "Innotek5" \); then
18826 LIBS="$LIBS -lintl"
18831 if test "$USE_UNIX" = 1 ; then
18833 for ac_header in sys/select.h
18835 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18836 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18838 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18839 echo $ECHO_N "(cached) $ECHO_C" >&6
18841 cat >conftest.$ac_ext <<_ACEOF
18844 cat confdefs.h >>conftest.$ac_ext
18845 cat >>conftest.$ac_ext <<_ACEOF
18846 /* end confdefs.h. */
18847 $ac_includes_default
18849 #include <$ac_header>
18851 rm -f conftest.$ac_objext
18852 if { (ac_try="$ac_compile"
18853 case "(($ac_try" in
18854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18855 *) ac_try_echo=$ac_try;;
18857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18858 (eval "$ac_compile") 2>conftest.er1
18860 grep -v '^ *+' conftest.er1 >conftest.err
18862 cat conftest.err >&5
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); } && {
18865 test -z "$ac_c_werror_flag" ||
18866 test ! -s conftest.err
18867 } && test -s conftest.$ac_objext; then
18868 eval "$as_ac_Header=yes"
18870 echo "$as_me: failed program was:" >&5
18871 sed 's/^/| /' conftest.$ac_ext >&5
18873 eval "$as_ac_Header=no"
18876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18878 ac_res=`eval echo '${'$as_ac_Header'}'`
18879 { echo "$as_me:$LINENO: result: $ac_res" >&5
18880 echo "${ECHO_T}$ac_res" >&6; }
18881 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18882 cat >>confdefs.h <<_ACEOF
18883 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18893 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18894 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18895 if test "${ac_cv_c_const+set}" = set; then
18896 echo $ECHO_N "(cached) $ECHO_C" >&6
18898 cat >conftest.$ac_ext <<_ACEOF
18901 cat confdefs.h >>conftest.$ac_ext
18902 cat >>conftest.$ac_ext <<_ACEOF
18903 /* end confdefs.h. */
18908 /* FIXME: Include the comments suggested by Paul. */
18909 #ifndef __cplusplus
18910 /* Ultrix mips cc rejects this. */
18911 typedef int charset[2];
18913 /* SunOS 4.1.1 cc rejects this. */
18914 char const *const *pcpcc;
18916 /* NEC SVR4.0.2 mips cc rejects this. */
18917 struct point {int x, y;};
18918 static struct point const zero = {0,0};
18919 /* AIX XL C 1.02.0.0 rejects this.
18920 It does not let you subtract one const X* pointer from another in
18921 an arm of an if-expression whose if-part is not a constant
18923 const char *g = "string";
18924 pcpcc = &g + (g ? g-g : 0);
18925 /* HPUX 7.0 cc rejects these. */
18927 ppc = (char**) pcpcc;
18928 pcpcc = (char const *const *) ppc;
18929 { /* SCO 3.2v4 cc rejects this. */
18931 char const *s = 0 ? (char *) 0 : (char const *) 0;
18936 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18937 int x[] = {25, 17};
18938 const int *foo = &x[0];
18941 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18942 typedef const int *iptr;
18946 { /* AIX XL C 1.02.0.0 rejects this saying
18947 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18948 struct s { int j; const int *ap[3]; };
18949 struct s *b; b->j = 5;
18951 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18952 const int foo = 10;
18953 if (!foo) return 0;
18955 return !cs[0] && !zero.x;
18962 rm -f conftest.$ac_objext
18963 if { (ac_try="$ac_compile"
18964 case "(($ac_try" in
18965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18966 *) ac_try_echo=$ac_try;;
18968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18969 (eval "$ac_compile") 2>conftest.er1
18971 grep -v '^ *+' conftest.er1 >conftest.err
18973 cat conftest.err >&5
18974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18975 (exit $ac_status); } && {
18976 test -z "$ac_c_werror_flag" ||
18977 test ! -s conftest.err
18978 } && test -s conftest.$ac_objext; then
18981 echo "$as_me: failed program was:" >&5
18982 sed 's/^/| /' conftest.$ac_ext >&5
18987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18989 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18990 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18991 if test $ac_cv_c_const = no; then
18993 cat >>confdefs.h <<\_ACEOF
18999 { echo "$as_me:$LINENO: checking for inline" >&5
19000 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19001 if test "${ac_cv_c_inline+set}" = set; then
19002 echo $ECHO_N "(cached) $ECHO_C" >&6
19005 for ac_kw in inline __inline__ __inline; do
19006 cat >conftest.$ac_ext <<_ACEOF
19009 cat confdefs.h >>conftest.$ac_ext
19010 cat >>conftest.$ac_ext <<_ACEOF
19011 /* end confdefs.h. */
19012 #ifndef __cplusplus
19014 static $ac_kw foo_t static_foo () {return 0; }
19015 $ac_kw foo_t foo () {return 0; }
19019 rm -f conftest.$ac_objext
19020 if { (ac_try="$ac_compile"
19021 case "(($ac_try" in
19022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19023 *) ac_try_echo=$ac_try;;
19025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19026 (eval "$ac_compile") 2>conftest.er1
19028 grep -v '^ *+' conftest.er1 >conftest.err
19030 cat conftest.err >&5
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); } && {
19033 test -z "$ac_c_werror_flag" ||
19034 test ! -s conftest.err
19035 } && test -s conftest.$ac_objext; then
19036 ac_cv_c_inline=$ac_kw
19038 echo "$as_me: failed program was:" >&5
19039 sed 's/^/| /' conftest.$ac_ext >&5
19044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19045 test "$ac_cv_c_inline" != no && break
19049 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19050 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19053 case $ac_cv_c_inline in
19056 case $ac_cv_c_inline in
19058 *) ac_val=$ac_cv_c_inline;;
19060 cat >>confdefs.h <<_ACEOF
19061 #ifndef __cplusplus
19062 #define inline $ac_val
19069 { echo "$as_me:$LINENO: checking for short" >&5
19070 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19071 if test "${ac_cv_type_short+set}" = set; then
19072 echo $ECHO_N "(cached) $ECHO_C" >&6
19074 cat >conftest.$ac_ext <<_ACEOF
19077 cat confdefs.h >>conftest.$ac_ext
19078 cat >>conftest.$ac_ext <<_ACEOF
19079 /* end confdefs.h. */
19080 $ac_includes_default
19081 typedef short ac__type_new_;
19085 if ((ac__type_new_ *) 0)
19087 if (sizeof (ac__type_new_))
19093 rm -f conftest.$ac_objext
19094 if { (ac_try="$ac_compile"
19095 case "(($ac_try" in
19096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19097 *) ac_try_echo=$ac_try;;
19099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19100 (eval "$ac_compile") 2>conftest.er1
19102 grep -v '^ *+' conftest.er1 >conftest.err
19104 cat conftest.err >&5
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); } && {
19107 test -z "$ac_c_werror_flag" ||
19108 test ! -s conftest.err
19109 } && test -s conftest.$ac_objext; then
19110 ac_cv_type_short=yes
19112 echo "$as_me: failed program was:" >&5
19113 sed 's/^/| /' conftest.$ac_ext >&5
19115 ac_cv_type_short=no
19118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19120 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19121 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19123 # The cast to long int works around a bug in the HP C Compiler
19124 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19125 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19126 # This bug is HP SR number 8606223364.
19127 { echo "$as_me:$LINENO: checking size of short" >&5
19128 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19129 if test "${ac_cv_sizeof_short+set}" = set; then
19130 echo $ECHO_N "(cached) $ECHO_C" >&6
19132 if test "$cross_compiling" = yes; then
19133 # Depending upon the size, compute the lo and hi bounds.
19134 cat >conftest.$ac_ext <<_ACEOF
19137 cat confdefs.h >>conftest.$ac_ext
19138 cat >>conftest.$ac_ext <<_ACEOF
19139 /* end confdefs.h. */
19140 $ac_includes_default
19141 typedef short ac__type_sizeof_;
19145 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19152 rm -f conftest.$ac_objext
19153 if { (ac_try="$ac_compile"
19154 case "(($ac_try" in
19155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19156 *) ac_try_echo=$ac_try;;
19158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19159 (eval "$ac_compile") 2>conftest.er1
19161 grep -v '^ *+' conftest.er1 >conftest.err
19163 cat conftest.err >&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); } && {
19166 test -z "$ac_c_werror_flag" ||
19167 test ! -s conftest.err
19168 } && test -s conftest.$ac_objext; then
19171 cat >conftest.$ac_ext <<_ACEOF
19174 cat confdefs.h >>conftest.$ac_ext
19175 cat >>conftest.$ac_ext <<_ACEOF
19176 /* end confdefs.h. */
19177 $ac_includes_default
19178 typedef short ac__type_sizeof_;
19182 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19189 rm -f conftest.$ac_objext
19190 if { (ac_try="$ac_compile"
19191 case "(($ac_try" in
19192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19193 *) ac_try_echo=$ac_try;;
19195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19196 (eval "$ac_compile") 2>conftest.er1
19198 grep -v '^ *+' conftest.er1 >conftest.err
19200 cat conftest.err >&5
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); } && {
19203 test -z "$ac_c_werror_flag" ||
19204 test ! -s conftest.err
19205 } && test -s conftest.$ac_objext; then
19206 ac_hi=$ac_mid; break
19208 echo "$as_me: failed program was:" >&5
19209 sed 's/^/| /' conftest.$ac_ext >&5
19211 ac_lo=`expr $ac_mid + 1`
19212 if test $ac_lo -le $ac_mid; then
19216 ac_mid=`expr 2 '*' $ac_mid + 1`
19219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19222 echo "$as_me: failed program was:" >&5
19223 sed 's/^/| /' conftest.$ac_ext >&5
19225 cat >conftest.$ac_ext <<_ACEOF
19228 cat confdefs.h >>conftest.$ac_ext
19229 cat >>conftest.$ac_ext <<_ACEOF
19230 /* end confdefs.h. */
19231 $ac_includes_default
19232 typedef short ac__type_sizeof_;
19236 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19243 rm -f conftest.$ac_objext
19244 if { (ac_try="$ac_compile"
19245 case "(($ac_try" in
19246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19247 *) ac_try_echo=$ac_try;;
19249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19250 (eval "$ac_compile") 2>conftest.er1
19252 grep -v '^ *+' conftest.er1 >conftest.err
19254 cat conftest.err >&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); } && {
19257 test -z "$ac_c_werror_flag" ||
19258 test ! -s conftest.err
19259 } && test -s conftest.$ac_objext; then
19262 cat >conftest.$ac_ext <<_ACEOF
19265 cat confdefs.h >>conftest.$ac_ext
19266 cat >>conftest.$ac_ext <<_ACEOF
19267 /* end confdefs.h. */
19268 $ac_includes_default
19269 typedef short ac__type_sizeof_;
19273 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19280 rm -f conftest.$ac_objext
19281 if { (ac_try="$ac_compile"
19282 case "(($ac_try" in
19283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19284 *) ac_try_echo=$ac_try;;
19286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19287 (eval "$ac_compile") 2>conftest.er1
19289 grep -v '^ *+' conftest.er1 >conftest.err
19291 cat conftest.err >&5
19292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293 (exit $ac_status); } && {
19294 test -z "$ac_c_werror_flag" ||
19295 test ! -s conftest.err
19296 } && test -s conftest.$ac_objext; then
19297 ac_lo=$ac_mid; break
19299 echo "$as_me: failed program was:" >&5
19300 sed 's/^/| /' conftest.$ac_ext >&5
19302 ac_hi=`expr '(' $ac_mid ')' - 1`
19303 if test $ac_mid -le $ac_hi; then
19307 ac_mid=`expr 2 '*' $ac_mid`
19310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19313 echo "$as_me: failed program was:" >&5
19314 sed 's/^/| /' conftest.$ac_ext >&5
19319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19323 # Binary search between lo and hi bounds.
19324 while test "x$ac_lo" != "x$ac_hi"; do
19325 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19326 cat >conftest.$ac_ext <<_ACEOF
19329 cat confdefs.h >>conftest.$ac_ext
19330 cat >>conftest.$ac_ext <<_ACEOF
19331 /* end confdefs.h. */
19332 $ac_includes_default
19333 typedef short ac__type_sizeof_;
19337 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19344 rm -f conftest.$ac_objext
19345 if { (ac_try="$ac_compile"
19346 case "(($ac_try" in
19347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19348 *) ac_try_echo=$ac_try;;
19350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19351 (eval "$ac_compile") 2>conftest.er1
19353 grep -v '^ *+' conftest.er1 >conftest.err
19355 cat conftest.err >&5
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); } && {
19358 test -z "$ac_c_werror_flag" ||
19359 test ! -s conftest.err
19360 } && test -s conftest.$ac_objext; then
19363 echo "$as_me: failed program was:" >&5
19364 sed 's/^/| /' conftest.$ac_ext >&5
19366 ac_lo=`expr '(' $ac_mid ')' + 1`
19369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19372 ?*) ac_cv_sizeof_short=$ac_lo;;
19373 '') if test "$ac_cv_type_short" = yes; then
19374 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19375 See \`config.log' for more details." >&5
19376 echo "$as_me: error: cannot compute sizeof (short)
19377 See \`config.log' for more details." >&2;}
19378 { (exit 77); exit 77; }; }
19380 ac_cv_sizeof_short=0
19384 cat >conftest.$ac_ext <<_ACEOF
19387 cat confdefs.h >>conftest.$ac_ext
19388 cat >>conftest.$ac_ext <<_ACEOF
19389 /* end confdefs.h. */
19390 $ac_includes_default
19391 typedef short ac__type_sizeof_;
19392 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19393 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19395 #include <stdlib.h>
19400 FILE *f = fopen ("conftest.val", "w");
19403 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19405 long int i = longval ();
19406 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19408 fprintf (f, "%ld\n", i);
19412 unsigned long int i = ulongval ();
19413 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19415 fprintf (f, "%lu\n", i);
19417 return ferror (f) || fclose (f) != 0;
19423 rm -f conftest$ac_exeext
19424 if { (ac_try="$ac_link"
19425 case "(($ac_try" in
19426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19427 *) ac_try_echo=$ac_try;;
19429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19430 (eval "$ac_link") 2>&5
19432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19434 { (case "(($ac_try" in
19435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19436 *) ac_try_echo=$ac_try;;
19438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19439 (eval "$ac_try") 2>&5
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); }; }; then
19443 ac_cv_sizeof_short=`cat conftest.val`
19445 echo "$as_me: program exited with status $ac_status" >&5
19446 echo "$as_me: failed program was:" >&5
19447 sed 's/^/| /' conftest.$ac_ext >&5
19449 ( exit $ac_status )
19450 if test "$ac_cv_type_short" = yes; then
19451 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19452 See \`config.log' for more details." >&5
19453 echo "$as_me: error: cannot compute sizeof (short)
19454 See \`config.log' for more details." >&2;}
19455 { (exit 77); exit 77; }; }
19457 ac_cv_sizeof_short=0
19460 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19464 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19465 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19469 cat >>confdefs.h <<_ACEOF
19470 #define SIZEOF_SHORT $ac_cv_sizeof_short
19474 { echo "$as_me:$LINENO: checking for void *" >&5
19475 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19476 if test "${ac_cv_type_void_p+set}" = set; then
19477 echo $ECHO_N "(cached) $ECHO_C" >&6
19479 cat >conftest.$ac_ext <<_ACEOF
19482 cat confdefs.h >>conftest.$ac_ext
19483 cat >>conftest.$ac_ext <<_ACEOF
19484 /* end confdefs.h. */
19485 $ac_includes_default
19486 typedef void * ac__type_new_;
19490 if ((ac__type_new_ *) 0)
19492 if (sizeof (ac__type_new_))
19498 rm -f conftest.$ac_objext
19499 if { (ac_try="$ac_compile"
19500 case "(($ac_try" in
19501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19502 *) ac_try_echo=$ac_try;;
19504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19505 (eval "$ac_compile") 2>conftest.er1
19507 grep -v '^ *+' conftest.er1 >conftest.err
19509 cat conftest.err >&5
19510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19511 (exit $ac_status); } && {
19512 test -z "$ac_c_werror_flag" ||
19513 test ! -s conftest.err
19514 } && test -s conftest.$ac_objext; then
19515 ac_cv_type_void_p=yes
19517 echo "$as_me: failed program was:" >&5
19518 sed 's/^/| /' conftest.$ac_ext >&5
19520 ac_cv_type_void_p=no
19523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19525 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19526 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19528 # The cast to long int works around a bug in the HP C Compiler
19529 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19530 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19531 # This bug is HP SR number 8606223364.
19532 { echo "$as_me:$LINENO: checking size of void *" >&5
19533 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19534 if test "${ac_cv_sizeof_void_p+set}" = set; then
19535 echo $ECHO_N "(cached) $ECHO_C" >&6
19537 if test "$cross_compiling" = yes; then
19538 # Depending upon the size, compute the lo and hi bounds.
19539 cat >conftest.$ac_ext <<_ACEOF
19542 cat confdefs.h >>conftest.$ac_ext
19543 cat >>conftest.$ac_ext <<_ACEOF
19544 /* end confdefs.h. */
19545 $ac_includes_default
19546 typedef void * ac__type_sizeof_;
19550 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19557 rm -f conftest.$ac_objext
19558 if { (ac_try="$ac_compile"
19559 case "(($ac_try" in
19560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19561 *) ac_try_echo=$ac_try;;
19563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19564 (eval "$ac_compile") 2>conftest.er1
19566 grep -v '^ *+' conftest.er1 >conftest.err
19568 cat conftest.err >&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); } && {
19571 test -z "$ac_c_werror_flag" ||
19572 test ! -s conftest.err
19573 } && test -s conftest.$ac_objext; then
19576 cat >conftest.$ac_ext <<_ACEOF
19579 cat confdefs.h >>conftest.$ac_ext
19580 cat >>conftest.$ac_ext <<_ACEOF
19581 /* end confdefs.h. */
19582 $ac_includes_default
19583 typedef void * ac__type_sizeof_;
19587 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19594 rm -f conftest.$ac_objext
19595 if { (ac_try="$ac_compile"
19596 case "(($ac_try" in
19597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19598 *) ac_try_echo=$ac_try;;
19600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19601 (eval "$ac_compile") 2>conftest.er1
19603 grep -v '^ *+' conftest.er1 >conftest.err
19605 cat conftest.err >&5
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); } && {
19608 test -z "$ac_c_werror_flag" ||
19609 test ! -s conftest.err
19610 } && test -s conftest.$ac_objext; then
19611 ac_hi=$ac_mid; break
19613 echo "$as_me: failed program was:" >&5
19614 sed 's/^/| /' conftest.$ac_ext >&5
19616 ac_lo=`expr $ac_mid + 1`
19617 if test $ac_lo -le $ac_mid; then
19621 ac_mid=`expr 2 '*' $ac_mid + 1`
19624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19627 echo "$as_me: failed program was:" >&5
19628 sed 's/^/| /' conftest.$ac_ext >&5
19630 cat >conftest.$ac_ext <<_ACEOF
19633 cat confdefs.h >>conftest.$ac_ext
19634 cat >>conftest.$ac_ext <<_ACEOF
19635 /* end confdefs.h. */
19636 $ac_includes_default
19637 typedef void * ac__type_sizeof_;
19641 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19648 rm -f conftest.$ac_objext
19649 if { (ac_try="$ac_compile"
19650 case "(($ac_try" in
19651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19652 *) ac_try_echo=$ac_try;;
19654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19655 (eval "$ac_compile") 2>conftest.er1
19657 grep -v '^ *+' conftest.er1 >conftest.err
19659 cat conftest.err >&5
19660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19661 (exit $ac_status); } && {
19662 test -z "$ac_c_werror_flag" ||
19663 test ! -s conftest.err
19664 } && test -s conftest.$ac_objext; then
19667 cat >conftest.$ac_ext <<_ACEOF
19670 cat confdefs.h >>conftest.$ac_ext
19671 cat >>conftest.$ac_ext <<_ACEOF
19672 /* end confdefs.h. */
19673 $ac_includes_default
19674 typedef void * ac__type_sizeof_;
19678 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19685 rm -f conftest.$ac_objext
19686 if { (ac_try="$ac_compile"
19687 case "(($ac_try" in
19688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19689 *) ac_try_echo=$ac_try;;
19691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19692 (eval "$ac_compile") 2>conftest.er1
19694 grep -v '^ *+' conftest.er1 >conftest.err
19696 cat conftest.err >&5
19697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19698 (exit $ac_status); } && {
19699 test -z "$ac_c_werror_flag" ||
19700 test ! -s conftest.err
19701 } && test -s conftest.$ac_objext; then
19702 ac_lo=$ac_mid; break
19704 echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.$ac_ext >&5
19707 ac_hi=`expr '(' $ac_mid ')' - 1`
19708 if test $ac_mid -le $ac_hi; then
19712 ac_mid=`expr 2 '*' $ac_mid`
19715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19718 echo "$as_me: failed program was:" >&5
19719 sed 's/^/| /' conftest.$ac_ext >&5
19724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19728 # Binary search between lo and hi bounds.
19729 while test "x$ac_lo" != "x$ac_hi"; do
19730 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19731 cat >conftest.$ac_ext <<_ACEOF
19734 cat confdefs.h >>conftest.$ac_ext
19735 cat >>conftest.$ac_ext <<_ACEOF
19736 /* end confdefs.h. */
19737 $ac_includes_default
19738 typedef void * ac__type_sizeof_;
19742 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19749 rm -f conftest.$ac_objext
19750 if { (ac_try="$ac_compile"
19751 case "(($ac_try" in
19752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19753 *) ac_try_echo=$ac_try;;
19755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19756 (eval "$ac_compile") 2>conftest.er1
19758 grep -v '^ *+' conftest.er1 >conftest.err
19760 cat conftest.err >&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } && {
19763 test -z "$ac_c_werror_flag" ||
19764 test ! -s conftest.err
19765 } && test -s conftest.$ac_objext; then
19768 echo "$as_me: failed program was:" >&5
19769 sed 's/^/| /' conftest.$ac_ext >&5
19771 ac_lo=`expr '(' $ac_mid ')' + 1`
19774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19777 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19778 '') if test "$ac_cv_type_void_p" = yes; then
19779 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19780 See \`config.log' for more details." >&5
19781 echo "$as_me: error: cannot compute sizeof (void *)
19782 See \`config.log' for more details." >&2;}
19783 { (exit 77); exit 77; }; }
19785 ac_cv_sizeof_void_p=0
19789 cat >conftest.$ac_ext <<_ACEOF
19792 cat confdefs.h >>conftest.$ac_ext
19793 cat >>conftest.$ac_ext <<_ACEOF
19794 /* end confdefs.h. */
19795 $ac_includes_default
19796 typedef void * ac__type_sizeof_;
19797 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19798 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19800 #include <stdlib.h>
19805 FILE *f = fopen ("conftest.val", "w");
19808 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19810 long int i = longval ();
19811 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19813 fprintf (f, "%ld\n", i);
19817 unsigned long int i = ulongval ();
19818 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19820 fprintf (f, "%lu\n", i);
19822 return ferror (f) || fclose (f) != 0;
19828 rm -f conftest$ac_exeext
19829 if { (ac_try="$ac_link"
19830 case "(($ac_try" in
19831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19832 *) ac_try_echo=$ac_try;;
19834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19835 (eval "$ac_link") 2>&5
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19839 { (case "(($ac_try" in
19840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19841 *) ac_try_echo=$ac_try;;
19843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19844 (eval "$ac_try") 2>&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); }; }; then
19848 ac_cv_sizeof_void_p=`cat conftest.val`
19850 echo "$as_me: program exited with status $ac_status" >&5
19851 echo "$as_me: failed program was:" >&5
19852 sed 's/^/| /' conftest.$ac_ext >&5
19854 ( exit $ac_status )
19855 if test "$ac_cv_type_void_p" = yes; then
19856 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19857 See \`config.log' for more details." >&5
19858 echo "$as_me: error: cannot compute sizeof (void *)
19859 See \`config.log' for more details." >&2;}
19860 { (exit 77); exit 77; }; }
19862 ac_cv_sizeof_void_p=0
19865 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19869 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19870 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19874 cat >>confdefs.h <<_ACEOF
19875 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19879 { echo "$as_me:$LINENO: checking for int" >&5
19880 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19881 if test "${ac_cv_type_int+set}" = set; then
19882 echo $ECHO_N "(cached) $ECHO_C" >&6
19884 cat >conftest.$ac_ext <<_ACEOF
19887 cat confdefs.h >>conftest.$ac_ext
19888 cat >>conftest.$ac_ext <<_ACEOF
19889 /* end confdefs.h. */
19890 $ac_includes_default
19891 typedef int ac__type_new_;
19895 if ((ac__type_new_ *) 0)
19897 if (sizeof (ac__type_new_))
19903 rm -f conftest.$ac_objext
19904 if { (ac_try="$ac_compile"
19905 case "(($ac_try" in
19906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19907 *) ac_try_echo=$ac_try;;
19909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19910 (eval "$ac_compile") 2>conftest.er1
19912 grep -v '^ *+' conftest.er1 >conftest.err
19914 cat conftest.err >&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); } && {
19917 test -z "$ac_c_werror_flag" ||
19918 test ! -s conftest.err
19919 } && test -s conftest.$ac_objext; then
19922 echo "$as_me: failed program was:" >&5
19923 sed 's/^/| /' conftest.$ac_ext >&5
19928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19930 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19931 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19933 # The cast to long int works around a bug in the HP C Compiler
19934 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19935 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19936 # This bug is HP SR number 8606223364.
19937 { echo "$as_me:$LINENO: checking size of int" >&5
19938 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19939 if test "${ac_cv_sizeof_int+set}" = set; then
19940 echo $ECHO_N "(cached) $ECHO_C" >&6
19942 if test "$cross_compiling" = yes; then
19943 # Depending upon the size, compute the lo and hi bounds.
19944 cat >conftest.$ac_ext <<_ACEOF
19947 cat confdefs.h >>conftest.$ac_ext
19948 cat >>conftest.$ac_ext <<_ACEOF
19949 /* end confdefs.h. */
19950 $ac_includes_default
19951 typedef int ac__type_sizeof_;
19955 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19962 rm -f conftest.$ac_objext
19963 if { (ac_try="$ac_compile"
19964 case "(($ac_try" in
19965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19966 *) ac_try_echo=$ac_try;;
19968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19969 (eval "$ac_compile") 2>conftest.er1
19971 grep -v '^ *+' conftest.er1 >conftest.err
19973 cat conftest.err >&5
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); } && {
19976 test -z "$ac_c_werror_flag" ||
19977 test ! -s conftest.err
19978 } && test -s conftest.$ac_objext; then
19981 cat >conftest.$ac_ext <<_ACEOF
19984 cat confdefs.h >>conftest.$ac_ext
19985 cat >>conftest.$ac_ext <<_ACEOF
19986 /* end confdefs.h. */
19987 $ac_includes_default
19988 typedef int ac__type_sizeof_;
19992 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19999 rm -f conftest.$ac_objext
20000 if { (ac_try="$ac_compile"
20001 case "(($ac_try" in
20002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20003 *) ac_try_echo=$ac_try;;
20005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20006 (eval "$ac_compile") 2>conftest.er1
20008 grep -v '^ *+' conftest.er1 >conftest.err
20010 cat conftest.err >&5
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); } && {
20013 test -z "$ac_c_werror_flag" ||
20014 test ! -s conftest.err
20015 } && test -s conftest.$ac_objext; then
20016 ac_hi=$ac_mid; break
20018 echo "$as_me: failed program was:" >&5
20019 sed 's/^/| /' conftest.$ac_ext >&5
20021 ac_lo=`expr $ac_mid + 1`
20022 if test $ac_lo -le $ac_mid; then
20026 ac_mid=`expr 2 '*' $ac_mid + 1`
20029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20032 echo "$as_me: failed program was:" >&5
20033 sed 's/^/| /' conftest.$ac_ext >&5
20035 cat >conftest.$ac_ext <<_ACEOF
20038 cat confdefs.h >>conftest.$ac_ext
20039 cat >>conftest.$ac_ext <<_ACEOF
20040 /* end confdefs.h. */
20041 $ac_includes_default
20042 typedef int ac__type_sizeof_;
20046 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20053 rm -f conftest.$ac_objext
20054 if { (ac_try="$ac_compile"
20055 case "(($ac_try" in
20056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20057 *) ac_try_echo=$ac_try;;
20059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20060 (eval "$ac_compile") 2>conftest.er1
20062 grep -v '^ *+' conftest.er1 >conftest.err
20064 cat conftest.err >&5
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); } && {
20067 test -z "$ac_c_werror_flag" ||
20068 test ! -s conftest.err
20069 } && test -s conftest.$ac_objext; then
20072 cat >conftest.$ac_ext <<_ACEOF
20075 cat confdefs.h >>conftest.$ac_ext
20076 cat >>conftest.$ac_ext <<_ACEOF
20077 /* end confdefs.h. */
20078 $ac_includes_default
20079 typedef int ac__type_sizeof_;
20083 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20090 rm -f conftest.$ac_objext
20091 if { (ac_try="$ac_compile"
20092 case "(($ac_try" in
20093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20094 *) ac_try_echo=$ac_try;;
20096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20097 (eval "$ac_compile") 2>conftest.er1
20099 grep -v '^ *+' conftest.er1 >conftest.err
20101 cat conftest.err >&5
20102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20103 (exit $ac_status); } && {
20104 test -z "$ac_c_werror_flag" ||
20105 test ! -s conftest.err
20106 } && test -s conftest.$ac_objext; then
20107 ac_lo=$ac_mid; break
20109 echo "$as_me: failed program was:" >&5
20110 sed 's/^/| /' conftest.$ac_ext >&5
20112 ac_hi=`expr '(' $ac_mid ')' - 1`
20113 if test $ac_mid -le $ac_hi; then
20117 ac_mid=`expr 2 '*' $ac_mid`
20120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20123 echo "$as_me: failed program was:" >&5
20124 sed 's/^/| /' conftest.$ac_ext >&5
20129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20133 # Binary search between lo and hi bounds.
20134 while test "x$ac_lo" != "x$ac_hi"; do
20135 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20136 cat >conftest.$ac_ext <<_ACEOF
20139 cat confdefs.h >>conftest.$ac_ext
20140 cat >>conftest.$ac_ext <<_ACEOF
20141 /* end confdefs.h. */
20142 $ac_includes_default
20143 typedef int ac__type_sizeof_;
20147 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20154 rm -f conftest.$ac_objext
20155 if { (ac_try="$ac_compile"
20156 case "(($ac_try" in
20157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20158 *) ac_try_echo=$ac_try;;
20160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20161 (eval "$ac_compile") 2>conftest.er1
20163 grep -v '^ *+' conftest.er1 >conftest.err
20165 cat conftest.err >&5
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); } && {
20168 test -z "$ac_c_werror_flag" ||
20169 test ! -s conftest.err
20170 } && test -s conftest.$ac_objext; then
20173 echo "$as_me: failed program was:" >&5
20174 sed 's/^/| /' conftest.$ac_ext >&5
20176 ac_lo=`expr '(' $ac_mid ')' + 1`
20179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20182 ?*) ac_cv_sizeof_int=$ac_lo;;
20183 '') if test "$ac_cv_type_int" = yes; then
20184 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20185 See \`config.log' for more details." >&5
20186 echo "$as_me: error: cannot compute sizeof (int)
20187 See \`config.log' for more details." >&2;}
20188 { (exit 77); exit 77; }; }
20194 cat >conftest.$ac_ext <<_ACEOF
20197 cat confdefs.h >>conftest.$ac_ext
20198 cat >>conftest.$ac_ext <<_ACEOF
20199 /* end confdefs.h. */
20200 $ac_includes_default
20201 typedef int ac__type_sizeof_;
20202 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20203 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20205 #include <stdlib.h>
20210 FILE *f = fopen ("conftest.val", "w");
20213 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20215 long int i = longval ();
20216 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20218 fprintf (f, "%ld\n", i);
20222 unsigned long int i = ulongval ();
20223 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20225 fprintf (f, "%lu\n", i);
20227 return ferror (f) || fclose (f) != 0;
20233 rm -f conftest$ac_exeext
20234 if { (ac_try="$ac_link"
20235 case "(($ac_try" in
20236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20237 *) ac_try_echo=$ac_try;;
20239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20240 (eval "$ac_link") 2>&5
20242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20244 { (case "(($ac_try" in
20245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20246 *) ac_try_echo=$ac_try;;
20248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20249 (eval "$ac_try") 2>&5
20251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20252 (exit $ac_status); }; }; then
20253 ac_cv_sizeof_int=`cat conftest.val`
20255 echo "$as_me: program exited with status $ac_status" >&5
20256 echo "$as_me: failed program was:" >&5
20257 sed 's/^/| /' conftest.$ac_ext >&5
20259 ( exit $ac_status )
20260 if test "$ac_cv_type_int" = yes; then
20261 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20262 See \`config.log' for more details." >&5
20263 echo "$as_me: error: cannot compute sizeof (int)
20264 See \`config.log' for more details." >&2;}
20265 { (exit 77); exit 77; }; }
20270 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20274 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20275 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20279 cat >>confdefs.h <<_ACEOF
20280 #define SIZEOF_INT $ac_cv_sizeof_int
20284 { echo "$as_me:$LINENO: checking for long" >&5
20285 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20286 if test "${ac_cv_type_long+set}" = set; then
20287 echo $ECHO_N "(cached) $ECHO_C" >&6
20289 cat >conftest.$ac_ext <<_ACEOF
20292 cat confdefs.h >>conftest.$ac_ext
20293 cat >>conftest.$ac_ext <<_ACEOF
20294 /* end confdefs.h. */
20295 $ac_includes_default
20296 typedef long ac__type_new_;
20300 if ((ac__type_new_ *) 0)
20302 if (sizeof (ac__type_new_))
20308 rm -f conftest.$ac_objext
20309 if { (ac_try="$ac_compile"
20310 case "(($ac_try" in
20311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20312 *) ac_try_echo=$ac_try;;
20314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20315 (eval "$ac_compile") 2>conftest.er1
20317 grep -v '^ *+' conftest.er1 >conftest.err
20319 cat conftest.err >&5
20320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321 (exit $ac_status); } && {
20322 test -z "$ac_c_werror_flag" ||
20323 test ! -s conftest.err
20324 } && test -s conftest.$ac_objext; then
20325 ac_cv_type_long=yes
20327 echo "$as_me: failed program was:" >&5
20328 sed 's/^/| /' conftest.$ac_ext >&5
20333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20335 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20336 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20338 # The cast to long int works around a bug in the HP C Compiler
20339 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20340 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20341 # This bug is HP SR number 8606223364.
20342 { echo "$as_me:$LINENO: checking size of long" >&5
20343 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20344 if test "${ac_cv_sizeof_long+set}" = set; then
20345 echo $ECHO_N "(cached) $ECHO_C" >&6
20347 if test "$cross_compiling" = yes; then
20348 # Depending upon the size, compute the lo and hi bounds.
20349 cat >conftest.$ac_ext <<_ACEOF
20352 cat confdefs.h >>conftest.$ac_ext
20353 cat >>conftest.$ac_ext <<_ACEOF
20354 /* end confdefs.h. */
20355 $ac_includes_default
20356 typedef long ac__type_sizeof_;
20360 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20367 rm -f conftest.$ac_objext
20368 if { (ac_try="$ac_compile"
20369 case "(($ac_try" in
20370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20371 *) ac_try_echo=$ac_try;;
20373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20374 (eval "$ac_compile") 2>conftest.er1
20376 grep -v '^ *+' conftest.er1 >conftest.err
20378 cat conftest.err >&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); } && {
20381 test -z "$ac_c_werror_flag" ||
20382 test ! -s conftest.err
20383 } && test -s conftest.$ac_objext; then
20386 cat >conftest.$ac_ext <<_ACEOF
20389 cat confdefs.h >>conftest.$ac_ext
20390 cat >>conftest.$ac_ext <<_ACEOF
20391 /* end confdefs.h. */
20392 $ac_includes_default
20393 typedef long ac__type_sizeof_;
20397 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20404 rm -f conftest.$ac_objext
20405 if { (ac_try="$ac_compile"
20406 case "(($ac_try" in
20407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20408 *) ac_try_echo=$ac_try;;
20410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20411 (eval "$ac_compile") 2>conftest.er1
20413 grep -v '^ *+' conftest.er1 >conftest.err
20415 cat conftest.err >&5
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); } && {
20418 test -z "$ac_c_werror_flag" ||
20419 test ! -s conftest.err
20420 } && test -s conftest.$ac_objext; then
20421 ac_hi=$ac_mid; break
20423 echo "$as_me: failed program was:" >&5
20424 sed 's/^/| /' conftest.$ac_ext >&5
20426 ac_lo=`expr $ac_mid + 1`
20427 if test $ac_lo -le $ac_mid; then
20431 ac_mid=`expr 2 '*' $ac_mid + 1`
20434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20437 echo "$as_me: failed program was:" >&5
20438 sed 's/^/| /' conftest.$ac_ext >&5
20440 cat >conftest.$ac_ext <<_ACEOF
20443 cat confdefs.h >>conftest.$ac_ext
20444 cat >>conftest.$ac_ext <<_ACEOF
20445 /* end confdefs.h. */
20446 $ac_includes_default
20447 typedef long ac__type_sizeof_;
20451 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20458 rm -f conftest.$ac_objext
20459 if { (ac_try="$ac_compile"
20460 case "(($ac_try" in
20461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20462 *) ac_try_echo=$ac_try;;
20464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20465 (eval "$ac_compile") 2>conftest.er1
20467 grep -v '^ *+' conftest.er1 >conftest.err
20469 cat conftest.err >&5
20470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471 (exit $ac_status); } && {
20472 test -z "$ac_c_werror_flag" ||
20473 test ! -s conftest.err
20474 } && test -s conftest.$ac_objext; then
20477 cat >conftest.$ac_ext <<_ACEOF
20480 cat confdefs.h >>conftest.$ac_ext
20481 cat >>conftest.$ac_ext <<_ACEOF
20482 /* end confdefs.h. */
20483 $ac_includes_default
20484 typedef long ac__type_sizeof_;
20488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20495 rm -f conftest.$ac_objext
20496 if { (ac_try="$ac_compile"
20497 case "(($ac_try" in
20498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20499 *) ac_try_echo=$ac_try;;
20501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20502 (eval "$ac_compile") 2>conftest.er1
20504 grep -v '^ *+' conftest.er1 >conftest.err
20506 cat conftest.err >&5
20507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20508 (exit $ac_status); } && {
20509 test -z "$ac_c_werror_flag" ||
20510 test ! -s conftest.err
20511 } && test -s conftest.$ac_objext; then
20512 ac_lo=$ac_mid; break
20514 echo "$as_me: failed program was:" >&5
20515 sed 's/^/| /' conftest.$ac_ext >&5
20517 ac_hi=`expr '(' $ac_mid ')' - 1`
20518 if test $ac_mid -le $ac_hi; then
20522 ac_mid=`expr 2 '*' $ac_mid`
20525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20528 echo "$as_me: failed program was:" >&5
20529 sed 's/^/| /' conftest.$ac_ext >&5
20534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20538 # Binary search between lo and hi bounds.
20539 while test "x$ac_lo" != "x$ac_hi"; do
20540 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20541 cat >conftest.$ac_ext <<_ACEOF
20544 cat confdefs.h >>conftest.$ac_ext
20545 cat >>conftest.$ac_ext <<_ACEOF
20546 /* end confdefs.h. */
20547 $ac_includes_default
20548 typedef long ac__type_sizeof_;
20552 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20559 rm -f conftest.$ac_objext
20560 if { (ac_try="$ac_compile"
20561 case "(($ac_try" in
20562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20563 *) ac_try_echo=$ac_try;;
20565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20566 (eval "$ac_compile") 2>conftest.er1
20568 grep -v '^ *+' conftest.er1 >conftest.err
20570 cat conftest.err >&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); } && {
20573 test -z "$ac_c_werror_flag" ||
20574 test ! -s conftest.err
20575 } && test -s conftest.$ac_objext; then
20578 echo "$as_me: failed program was:" >&5
20579 sed 's/^/| /' conftest.$ac_ext >&5
20581 ac_lo=`expr '(' $ac_mid ')' + 1`
20584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20587 ?*) ac_cv_sizeof_long=$ac_lo;;
20588 '') if test "$ac_cv_type_long" = yes; then
20589 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20590 See \`config.log' for more details." >&5
20591 echo "$as_me: error: cannot compute sizeof (long)
20592 See \`config.log' for more details." >&2;}
20593 { (exit 77); exit 77; }; }
20595 ac_cv_sizeof_long=0
20599 cat >conftest.$ac_ext <<_ACEOF
20602 cat confdefs.h >>conftest.$ac_ext
20603 cat >>conftest.$ac_ext <<_ACEOF
20604 /* end confdefs.h. */
20605 $ac_includes_default
20606 typedef long ac__type_sizeof_;
20607 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20608 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20610 #include <stdlib.h>
20615 FILE *f = fopen ("conftest.val", "w");
20618 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20620 long int i = longval ();
20621 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20623 fprintf (f, "%ld\n", i);
20627 unsigned long int i = ulongval ();
20628 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20630 fprintf (f, "%lu\n", i);
20632 return ferror (f) || fclose (f) != 0;
20638 rm -f conftest$ac_exeext
20639 if { (ac_try="$ac_link"
20640 case "(($ac_try" in
20641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20642 *) ac_try_echo=$ac_try;;
20644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20645 (eval "$ac_link") 2>&5
20647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20649 { (case "(($ac_try" in
20650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20651 *) ac_try_echo=$ac_try;;
20653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20654 (eval "$ac_try") 2>&5
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); }; }; then
20658 ac_cv_sizeof_long=`cat conftest.val`
20660 echo "$as_me: program exited with status $ac_status" >&5
20661 echo "$as_me: failed program was:" >&5
20662 sed 's/^/| /' conftest.$ac_ext >&5
20664 ( exit $ac_status )
20665 if test "$ac_cv_type_long" = yes; then
20666 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20667 See \`config.log' for more details." >&5
20668 echo "$as_me: error: cannot compute sizeof (long)
20669 See \`config.log' for more details." >&2;}
20670 { (exit 77); exit 77; }; }
20672 ac_cv_sizeof_long=0
20675 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20679 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20680 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20684 cat >>confdefs.h <<_ACEOF
20685 #define SIZEOF_LONG $ac_cv_sizeof_long
20689 { echo "$as_me:$LINENO: checking for size_t" >&5
20690 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20691 if test "${ac_cv_type_size_t+set}" = set; then
20692 echo $ECHO_N "(cached) $ECHO_C" >&6
20694 cat >conftest.$ac_ext <<_ACEOF
20697 cat confdefs.h >>conftest.$ac_ext
20698 cat >>conftest.$ac_ext <<_ACEOF
20699 /* end confdefs.h. */
20700 $ac_includes_default
20701 typedef size_t ac__type_new_;
20705 if ((ac__type_new_ *) 0)
20707 if (sizeof (ac__type_new_))
20713 rm -f conftest.$ac_objext
20714 if { (ac_try="$ac_compile"
20715 case "(($ac_try" in
20716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20717 *) ac_try_echo=$ac_try;;
20719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20720 (eval "$ac_compile") 2>conftest.er1
20722 grep -v '^ *+' conftest.er1 >conftest.err
20724 cat conftest.err >&5
20725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20726 (exit $ac_status); } && {
20727 test -z "$ac_c_werror_flag" ||
20728 test ! -s conftest.err
20729 } && test -s conftest.$ac_objext; then
20730 ac_cv_type_size_t=yes
20732 echo "$as_me: failed program was:" >&5
20733 sed 's/^/| /' conftest.$ac_ext >&5
20735 ac_cv_type_size_t=no
20738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20740 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20741 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20743 # The cast to long int works around a bug in the HP C Compiler
20744 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20745 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20746 # This bug is HP SR number 8606223364.
20747 { echo "$as_me:$LINENO: checking size of size_t" >&5
20748 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20749 if test "${ac_cv_sizeof_size_t+set}" = set; then
20750 echo $ECHO_N "(cached) $ECHO_C" >&6
20752 if test "$cross_compiling" = yes; then
20753 # Depending upon the size, compute the lo and hi bounds.
20754 cat >conftest.$ac_ext <<_ACEOF
20757 cat confdefs.h >>conftest.$ac_ext
20758 cat >>conftest.$ac_ext <<_ACEOF
20759 /* end confdefs.h. */
20760 $ac_includes_default
20761 typedef size_t ac__type_sizeof_;
20765 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20772 rm -f conftest.$ac_objext
20773 if { (ac_try="$ac_compile"
20774 case "(($ac_try" in
20775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20776 *) ac_try_echo=$ac_try;;
20778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20779 (eval "$ac_compile") 2>conftest.er1
20781 grep -v '^ *+' conftest.er1 >conftest.err
20783 cat conftest.err >&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); } && {
20786 test -z "$ac_c_werror_flag" ||
20787 test ! -s conftest.err
20788 } && test -s conftest.$ac_objext; then
20791 cat >conftest.$ac_ext <<_ACEOF
20794 cat confdefs.h >>conftest.$ac_ext
20795 cat >>conftest.$ac_ext <<_ACEOF
20796 /* end confdefs.h. */
20797 $ac_includes_default
20798 typedef size_t ac__type_sizeof_;
20802 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20809 rm -f conftest.$ac_objext
20810 if { (ac_try="$ac_compile"
20811 case "(($ac_try" in
20812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20813 *) ac_try_echo=$ac_try;;
20815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20816 (eval "$ac_compile") 2>conftest.er1
20818 grep -v '^ *+' conftest.er1 >conftest.err
20820 cat conftest.err >&5
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); } && {
20823 test -z "$ac_c_werror_flag" ||
20824 test ! -s conftest.err
20825 } && test -s conftest.$ac_objext; then
20826 ac_hi=$ac_mid; break
20828 echo "$as_me: failed program was:" >&5
20829 sed 's/^/| /' conftest.$ac_ext >&5
20831 ac_lo=`expr $ac_mid + 1`
20832 if test $ac_lo -le $ac_mid; then
20836 ac_mid=`expr 2 '*' $ac_mid + 1`
20839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20842 echo "$as_me: failed program was:" >&5
20843 sed 's/^/| /' conftest.$ac_ext >&5
20845 cat >conftest.$ac_ext <<_ACEOF
20848 cat confdefs.h >>conftest.$ac_ext
20849 cat >>conftest.$ac_ext <<_ACEOF
20850 /* end confdefs.h. */
20851 $ac_includes_default
20852 typedef size_t ac__type_sizeof_;
20856 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20863 rm -f conftest.$ac_objext
20864 if { (ac_try="$ac_compile"
20865 case "(($ac_try" in
20866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20867 *) ac_try_echo=$ac_try;;
20869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20870 (eval "$ac_compile") 2>conftest.er1
20872 grep -v '^ *+' conftest.er1 >conftest.err
20874 cat conftest.err >&5
20875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); } && {
20877 test -z "$ac_c_werror_flag" ||
20878 test ! -s conftest.err
20879 } && test -s conftest.$ac_objext; then
20882 cat >conftest.$ac_ext <<_ACEOF
20885 cat confdefs.h >>conftest.$ac_ext
20886 cat >>conftest.$ac_ext <<_ACEOF
20887 /* end confdefs.h. */
20888 $ac_includes_default
20889 typedef size_t ac__type_sizeof_;
20893 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20900 rm -f conftest.$ac_objext
20901 if { (ac_try="$ac_compile"
20902 case "(($ac_try" in
20903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20904 *) ac_try_echo=$ac_try;;
20906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20907 (eval "$ac_compile") 2>conftest.er1
20909 grep -v '^ *+' conftest.er1 >conftest.err
20911 cat conftest.err >&5
20912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20913 (exit $ac_status); } && {
20914 test -z "$ac_c_werror_flag" ||
20915 test ! -s conftest.err
20916 } && test -s conftest.$ac_objext; then
20917 ac_lo=$ac_mid; break
20919 echo "$as_me: failed program was:" >&5
20920 sed 's/^/| /' conftest.$ac_ext >&5
20922 ac_hi=`expr '(' $ac_mid ')' - 1`
20923 if test $ac_mid -le $ac_hi; then
20927 ac_mid=`expr 2 '*' $ac_mid`
20930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20933 echo "$as_me: failed program was:" >&5
20934 sed 's/^/| /' conftest.$ac_ext >&5
20939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20943 # Binary search between lo and hi bounds.
20944 while test "x$ac_lo" != "x$ac_hi"; do
20945 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20946 cat >conftest.$ac_ext <<_ACEOF
20949 cat confdefs.h >>conftest.$ac_ext
20950 cat >>conftest.$ac_ext <<_ACEOF
20951 /* end confdefs.h. */
20952 $ac_includes_default
20953 typedef size_t ac__type_sizeof_;
20957 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20964 rm -f conftest.$ac_objext
20965 if { (ac_try="$ac_compile"
20966 case "(($ac_try" in
20967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20968 *) ac_try_echo=$ac_try;;
20970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20971 (eval "$ac_compile") 2>conftest.er1
20973 grep -v '^ *+' conftest.er1 >conftest.err
20975 cat conftest.err >&5
20976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20977 (exit $ac_status); } && {
20978 test -z "$ac_c_werror_flag" ||
20979 test ! -s conftest.err
20980 } && test -s conftest.$ac_objext; then
20983 echo "$as_me: failed program was:" >&5
20984 sed 's/^/| /' conftest.$ac_ext >&5
20986 ac_lo=`expr '(' $ac_mid ')' + 1`
20989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20992 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20993 '') if test "$ac_cv_type_size_t" = yes; then
20994 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20995 See \`config.log' for more details." >&5
20996 echo "$as_me: error: cannot compute sizeof (size_t)
20997 See \`config.log' for more details." >&2;}
20998 { (exit 77); exit 77; }; }
21000 ac_cv_sizeof_size_t=0
21004 cat >conftest.$ac_ext <<_ACEOF
21007 cat confdefs.h >>conftest.$ac_ext
21008 cat >>conftest.$ac_ext <<_ACEOF
21009 /* end confdefs.h. */
21010 $ac_includes_default
21011 typedef size_t ac__type_sizeof_;
21012 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21013 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21015 #include <stdlib.h>
21020 FILE *f = fopen ("conftest.val", "w");
21023 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21025 long int i = longval ();
21026 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21028 fprintf (f, "%ld\n", i);
21032 unsigned long int i = ulongval ();
21033 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21035 fprintf (f, "%lu\n", i);
21037 return ferror (f) || fclose (f) != 0;
21043 rm -f conftest$ac_exeext
21044 if { (ac_try="$ac_link"
21045 case "(($ac_try" in
21046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21047 *) ac_try_echo=$ac_try;;
21049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21050 (eval "$ac_link") 2>&5
21052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21053 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21054 { (case "(($ac_try" in
21055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21056 *) ac_try_echo=$ac_try;;
21058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21059 (eval "$ac_try") 2>&5
21061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062 (exit $ac_status); }; }; then
21063 ac_cv_sizeof_size_t=`cat conftest.val`
21065 echo "$as_me: program exited with status $ac_status" >&5
21066 echo "$as_me: failed program was:" >&5
21067 sed 's/^/| /' conftest.$ac_ext >&5
21069 ( exit $ac_status )
21070 if test "$ac_cv_type_size_t" = yes; then
21071 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21072 See \`config.log' for more details." >&5
21073 echo "$as_me: error: cannot compute sizeof (size_t)
21074 See \`config.log' for more details." >&2;}
21075 { (exit 77); exit 77; }; }
21077 ac_cv_sizeof_size_t=0
21080 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21084 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21085 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21089 cat >>confdefs.h <<_ACEOF
21090 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21097 { echo "$as_me:$LINENO: checking for long long" >&5
21098 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21099 if test "${ac_cv_type_long_long+set}" = set; then
21100 echo $ECHO_N "(cached) $ECHO_C" >&6
21102 cat >conftest.$ac_ext <<_ACEOF
21105 cat confdefs.h >>conftest.$ac_ext
21106 cat >>conftest.$ac_ext <<_ACEOF
21107 /* end confdefs.h. */
21108 $ac_includes_default
21109 typedef long long ac__type_new_;
21113 if ((ac__type_new_ *) 0)
21115 if (sizeof (ac__type_new_))
21121 rm -f conftest.$ac_objext
21122 if { (ac_try="$ac_compile"
21123 case "(($ac_try" in
21124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21125 *) ac_try_echo=$ac_try;;
21127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21128 (eval "$ac_compile") 2>conftest.er1
21130 grep -v '^ *+' conftest.er1 >conftest.err
21132 cat conftest.err >&5
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); } && {
21135 test -z "$ac_c_werror_flag" ||
21136 test ! -s conftest.err
21137 } && test -s conftest.$ac_objext; then
21138 ac_cv_type_long_long=yes
21140 echo "$as_me: failed program was:" >&5
21141 sed 's/^/| /' conftest.$ac_ext >&5
21143 ac_cv_type_long_long=no
21146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21148 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21149 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21151 # The cast to long int works around a bug in the HP C Compiler
21152 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21153 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21154 # This bug is HP SR number 8606223364.
21155 { echo "$as_me:$LINENO: checking size of long long" >&5
21156 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21157 if test "${ac_cv_sizeof_long_long+set}" = set; then
21158 echo $ECHO_N "(cached) $ECHO_C" >&6
21160 if test "$cross_compiling" = yes; then
21161 # Depending upon the size, compute the lo and hi bounds.
21162 cat >conftest.$ac_ext <<_ACEOF
21165 cat confdefs.h >>conftest.$ac_ext
21166 cat >>conftest.$ac_ext <<_ACEOF
21167 /* end confdefs.h. */
21168 $ac_includes_default
21169 typedef long long ac__type_sizeof_;
21173 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21180 rm -f conftest.$ac_objext
21181 if { (ac_try="$ac_compile"
21182 case "(($ac_try" in
21183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21184 *) ac_try_echo=$ac_try;;
21186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21187 (eval "$ac_compile") 2>conftest.er1
21189 grep -v '^ *+' conftest.er1 >conftest.err
21191 cat conftest.err >&5
21192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21193 (exit $ac_status); } && {
21194 test -z "$ac_c_werror_flag" ||
21195 test ! -s conftest.err
21196 } && test -s conftest.$ac_objext; then
21199 cat >conftest.$ac_ext <<_ACEOF
21202 cat confdefs.h >>conftest.$ac_ext
21203 cat >>conftest.$ac_ext <<_ACEOF
21204 /* end confdefs.h. */
21205 $ac_includes_default
21206 typedef long long ac__type_sizeof_;
21210 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21217 rm -f conftest.$ac_objext
21218 if { (ac_try="$ac_compile"
21219 case "(($ac_try" in
21220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21221 *) ac_try_echo=$ac_try;;
21223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21224 (eval "$ac_compile") 2>conftest.er1
21226 grep -v '^ *+' conftest.er1 >conftest.err
21228 cat conftest.err >&5
21229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21230 (exit $ac_status); } && {
21231 test -z "$ac_c_werror_flag" ||
21232 test ! -s conftest.err
21233 } && test -s conftest.$ac_objext; then
21234 ac_hi=$ac_mid; break
21236 echo "$as_me: failed program was:" >&5
21237 sed 's/^/| /' conftest.$ac_ext >&5
21239 ac_lo=`expr $ac_mid + 1`
21240 if test $ac_lo -le $ac_mid; then
21244 ac_mid=`expr 2 '*' $ac_mid + 1`
21247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21250 echo "$as_me: failed program was:" >&5
21251 sed 's/^/| /' conftest.$ac_ext >&5
21253 cat >conftest.$ac_ext <<_ACEOF
21256 cat confdefs.h >>conftest.$ac_ext
21257 cat >>conftest.$ac_ext <<_ACEOF
21258 /* end confdefs.h. */
21259 $ac_includes_default
21260 typedef long long ac__type_sizeof_;
21264 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21271 rm -f conftest.$ac_objext
21272 if { (ac_try="$ac_compile"
21273 case "(($ac_try" in
21274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21275 *) ac_try_echo=$ac_try;;
21277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21278 (eval "$ac_compile") 2>conftest.er1
21280 grep -v '^ *+' conftest.er1 >conftest.err
21282 cat conftest.err >&5
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); } && {
21285 test -z "$ac_c_werror_flag" ||
21286 test ! -s conftest.err
21287 } && test -s conftest.$ac_objext; then
21290 cat >conftest.$ac_ext <<_ACEOF
21293 cat confdefs.h >>conftest.$ac_ext
21294 cat >>conftest.$ac_ext <<_ACEOF
21295 /* end confdefs.h. */
21296 $ac_includes_default
21297 typedef long long ac__type_sizeof_;
21301 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21308 rm -f conftest.$ac_objext
21309 if { (ac_try="$ac_compile"
21310 case "(($ac_try" in
21311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21312 *) ac_try_echo=$ac_try;;
21314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21315 (eval "$ac_compile") 2>conftest.er1
21317 grep -v '^ *+' conftest.er1 >conftest.err
21319 cat conftest.err >&5
21320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21321 (exit $ac_status); } && {
21322 test -z "$ac_c_werror_flag" ||
21323 test ! -s conftest.err
21324 } && test -s conftest.$ac_objext; then
21325 ac_lo=$ac_mid; break
21327 echo "$as_me: failed program was:" >&5
21328 sed 's/^/| /' conftest.$ac_ext >&5
21330 ac_hi=`expr '(' $ac_mid ')' - 1`
21331 if test $ac_mid -le $ac_hi; then
21335 ac_mid=`expr 2 '*' $ac_mid`
21338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21341 echo "$as_me: failed program was:" >&5
21342 sed 's/^/| /' conftest.$ac_ext >&5
21347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21351 # Binary search between lo and hi bounds.
21352 while test "x$ac_lo" != "x$ac_hi"; do
21353 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21354 cat >conftest.$ac_ext <<_ACEOF
21357 cat confdefs.h >>conftest.$ac_ext
21358 cat >>conftest.$ac_ext <<_ACEOF
21359 /* end confdefs.h. */
21360 $ac_includes_default
21361 typedef long long ac__type_sizeof_;
21365 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21372 rm -f conftest.$ac_objext
21373 if { (ac_try="$ac_compile"
21374 case "(($ac_try" in
21375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21376 *) ac_try_echo=$ac_try;;
21378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21379 (eval "$ac_compile") 2>conftest.er1
21381 grep -v '^ *+' conftest.er1 >conftest.err
21383 cat conftest.err >&5
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); } && {
21386 test -z "$ac_c_werror_flag" ||
21387 test ! -s conftest.err
21388 } && test -s conftest.$ac_objext; then
21391 echo "$as_me: failed program was:" >&5
21392 sed 's/^/| /' conftest.$ac_ext >&5
21394 ac_lo=`expr '(' $ac_mid ')' + 1`
21397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21400 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21401 '') if test "$ac_cv_type_long_long" = yes; then
21402 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21403 See \`config.log' for more details." >&5
21404 echo "$as_me: error: cannot compute sizeof (long long)
21405 See \`config.log' for more details." >&2;}
21406 { (exit 77); exit 77; }; }
21408 ac_cv_sizeof_long_long=0
21412 cat >conftest.$ac_ext <<_ACEOF
21415 cat confdefs.h >>conftest.$ac_ext
21416 cat >>conftest.$ac_ext <<_ACEOF
21417 /* end confdefs.h. */
21418 $ac_includes_default
21419 typedef long long ac__type_sizeof_;
21420 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21421 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21423 #include <stdlib.h>
21428 FILE *f = fopen ("conftest.val", "w");
21431 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21433 long int i = longval ();
21434 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21436 fprintf (f, "%ld\n", i);
21440 unsigned long int i = ulongval ();
21441 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21443 fprintf (f, "%lu\n", i);
21445 return ferror (f) || fclose (f) != 0;
21451 rm -f conftest$ac_exeext
21452 if { (ac_try="$ac_link"
21453 case "(($ac_try" in
21454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21455 *) ac_try_echo=$ac_try;;
21457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21458 (eval "$ac_link") 2>&5
21460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21461 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21462 { (case "(($ac_try" in
21463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21464 *) ac_try_echo=$ac_try;;
21466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21467 (eval "$ac_try") 2>&5
21469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21470 (exit $ac_status); }; }; then
21471 ac_cv_sizeof_long_long=`cat conftest.val`
21473 echo "$as_me: program exited with status $ac_status" >&5
21474 echo "$as_me: failed program was:" >&5
21475 sed 's/^/| /' conftest.$ac_ext >&5
21477 ( exit $ac_status )
21478 if test "$ac_cv_type_long_long" = yes; then
21479 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21480 See \`config.log' for more details." >&5
21481 echo "$as_me: error: cannot compute sizeof (long long)
21482 See \`config.log' for more details." >&2;}
21483 { (exit 77); exit 77; }; }
21485 ac_cv_sizeof_long_long=0
21488 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21492 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21493 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21497 cat >>confdefs.h <<_ACEOF
21498 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21504 { echo "$as_me:$LINENO: checking for long long" >&5
21505 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21506 if test "${ac_cv_type_long_long+set}" = set; then
21507 echo $ECHO_N "(cached) $ECHO_C" >&6
21509 cat >conftest.$ac_ext <<_ACEOF
21512 cat confdefs.h >>conftest.$ac_ext
21513 cat >>conftest.$ac_ext <<_ACEOF
21514 /* end confdefs.h. */
21515 $ac_includes_default
21516 typedef long long ac__type_new_;
21520 if ((ac__type_new_ *) 0)
21522 if (sizeof (ac__type_new_))
21528 rm -f conftest.$ac_objext
21529 if { (ac_try="$ac_compile"
21530 case "(($ac_try" in
21531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21532 *) ac_try_echo=$ac_try;;
21534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21535 (eval "$ac_compile") 2>conftest.er1
21537 grep -v '^ *+' conftest.er1 >conftest.err
21539 cat conftest.err >&5
21540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21541 (exit $ac_status); } && {
21542 test -z "$ac_c_werror_flag" ||
21543 test ! -s conftest.err
21544 } && test -s conftest.$ac_objext; then
21545 ac_cv_type_long_long=yes
21547 echo "$as_me: failed program was:" >&5
21548 sed 's/^/| /' conftest.$ac_ext >&5
21550 ac_cv_type_long_long=no
21553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21555 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21556 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21558 # The cast to long int works around a bug in the HP C Compiler
21559 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21560 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21561 # This bug is HP SR number 8606223364.
21562 { echo "$as_me:$LINENO: checking size of long long" >&5
21563 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21564 if test "${ac_cv_sizeof_long_long+set}" = set; then
21565 echo $ECHO_N "(cached) $ECHO_C" >&6
21567 if test "$cross_compiling" = yes; then
21568 # Depending upon the size, compute the lo and hi bounds.
21569 cat >conftest.$ac_ext <<_ACEOF
21572 cat confdefs.h >>conftest.$ac_ext
21573 cat >>conftest.$ac_ext <<_ACEOF
21574 /* end confdefs.h. */
21575 $ac_includes_default
21576 typedef long long ac__type_sizeof_;
21580 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21587 rm -f conftest.$ac_objext
21588 if { (ac_try="$ac_compile"
21589 case "(($ac_try" in
21590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21591 *) ac_try_echo=$ac_try;;
21593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21594 (eval "$ac_compile") 2>conftest.er1
21596 grep -v '^ *+' conftest.er1 >conftest.err
21598 cat conftest.err >&5
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); } && {
21601 test -z "$ac_c_werror_flag" ||
21602 test ! -s conftest.err
21603 } && test -s conftest.$ac_objext; then
21606 cat >conftest.$ac_ext <<_ACEOF
21609 cat confdefs.h >>conftest.$ac_ext
21610 cat >>conftest.$ac_ext <<_ACEOF
21611 /* end confdefs.h. */
21612 $ac_includes_default
21613 typedef long long ac__type_sizeof_;
21617 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21624 rm -f conftest.$ac_objext
21625 if { (ac_try="$ac_compile"
21626 case "(($ac_try" in
21627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21628 *) ac_try_echo=$ac_try;;
21630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21631 (eval "$ac_compile") 2>conftest.er1
21633 grep -v '^ *+' conftest.er1 >conftest.err
21635 cat conftest.err >&5
21636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637 (exit $ac_status); } && {
21638 test -z "$ac_c_werror_flag" ||
21639 test ! -s conftest.err
21640 } && test -s conftest.$ac_objext; then
21641 ac_hi=$ac_mid; break
21643 echo "$as_me: failed program was:" >&5
21644 sed 's/^/| /' conftest.$ac_ext >&5
21646 ac_lo=`expr $ac_mid + 1`
21647 if test $ac_lo -le $ac_mid; then
21651 ac_mid=`expr 2 '*' $ac_mid + 1`
21654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21657 echo "$as_me: failed program was:" >&5
21658 sed 's/^/| /' conftest.$ac_ext >&5
21660 cat >conftest.$ac_ext <<_ACEOF
21663 cat confdefs.h >>conftest.$ac_ext
21664 cat >>conftest.$ac_ext <<_ACEOF
21665 /* end confdefs.h. */
21666 $ac_includes_default
21667 typedef long long ac__type_sizeof_;
21671 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21678 rm -f conftest.$ac_objext
21679 if { (ac_try="$ac_compile"
21680 case "(($ac_try" in
21681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21682 *) ac_try_echo=$ac_try;;
21684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21685 (eval "$ac_compile") 2>conftest.er1
21687 grep -v '^ *+' conftest.er1 >conftest.err
21689 cat conftest.err >&5
21690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21691 (exit $ac_status); } && {
21692 test -z "$ac_c_werror_flag" ||
21693 test ! -s conftest.err
21694 } && test -s conftest.$ac_objext; then
21697 cat >conftest.$ac_ext <<_ACEOF
21700 cat confdefs.h >>conftest.$ac_ext
21701 cat >>conftest.$ac_ext <<_ACEOF
21702 /* end confdefs.h. */
21703 $ac_includes_default
21704 typedef long long ac__type_sizeof_;
21708 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21715 rm -f conftest.$ac_objext
21716 if { (ac_try="$ac_compile"
21717 case "(($ac_try" in
21718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21719 *) ac_try_echo=$ac_try;;
21721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21722 (eval "$ac_compile") 2>conftest.er1
21724 grep -v '^ *+' conftest.er1 >conftest.err
21726 cat conftest.err >&5
21727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728 (exit $ac_status); } && {
21729 test -z "$ac_c_werror_flag" ||
21730 test ! -s conftest.err
21731 } && test -s conftest.$ac_objext; then
21732 ac_lo=$ac_mid; break
21734 echo "$as_me: failed program was:" >&5
21735 sed 's/^/| /' conftest.$ac_ext >&5
21737 ac_hi=`expr '(' $ac_mid ')' - 1`
21738 if test $ac_mid -le $ac_hi; then
21742 ac_mid=`expr 2 '*' $ac_mid`
21745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21748 echo "$as_me: failed program was:" >&5
21749 sed 's/^/| /' conftest.$ac_ext >&5
21754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21758 # Binary search between lo and hi bounds.
21759 while test "x$ac_lo" != "x$ac_hi"; do
21760 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21761 cat >conftest.$ac_ext <<_ACEOF
21764 cat confdefs.h >>conftest.$ac_ext
21765 cat >>conftest.$ac_ext <<_ACEOF
21766 /* end confdefs.h. */
21767 $ac_includes_default
21768 typedef long long ac__type_sizeof_;
21772 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21779 rm -f conftest.$ac_objext
21780 if { (ac_try="$ac_compile"
21781 case "(($ac_try" in
21782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21783 *) ac_try_echo=$ac_try;;
21785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21786 (eval "$ac_compile") 2>conftest.er1
21788 grep -v '^ *+' conftest.er1 >conftest.err
21790 cat conftest.err >&5
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); } && {
21793 test -z "$ac_c_werror_flag" ||
21794 test ! -s conftest.err
21795 } && test -s conftest.$ac_objext; then
21798 echo "$as_me: failed program was:" >&5
21799 sed 's/^/| /' conftest.$ac_ext >&5
21801 ac_lo=`expr '(' $ac_mid ')' + 1`
21804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21807 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21808 '') if test "$ac_cv_type_long_long" = yes; then
21809 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21810 See \`config.log' for more details." >&5
21811 echo "$as_me: error: cannot compute sizeof (long long)
21812 See \`config.log' for more details." >&2;}
21813 { (exit 77); exit 77; }; }
21815 ac_cv_sizeof_long_long=0
21819 cat >conftest.$ac_ext <<_ACEOF
21822 cat confdefs.h >>conftest.$ac_ext
21823 cat >>conftest.$ac_ext <<_ACEOF
21824 /* end confdefs.h. */
21825 $ac_includes_default
21826 typedef long long ac__type_sizeof_;
21827 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21828 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21830 #include <stdlib.h>
21835 FILE *f = fopen ("conftest.val", "w");
21838 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21840 long int i = longval ();
21841 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21843 fprintf (f, "%ld\n", i);
21847 unsigned long int i = ulongval ();
21848 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21850 fprintf (f, "%lu\n", i);
21852 return ferror (f) || fclose (f) != 0;
21858 rm -f conftest$ac_exeext
21859 if { (ac_try="$ac_link"
21860 case "(($ac_try" in
21861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21862 *) ac_try_echo=$ac_try;;
21864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21865 (eval "$ac_link") 2>&5
21867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21868 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21869 { (case "(($ac_try" in
21870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21871 *) ac_try_echo=$ac_try;;
21873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21874 (eval "$ac_try") 2>&5
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); }; }; then
21878 ac_cv_sizeof_long_long=`cat conftest.val`
21880 echo "$as_me: program exited with status $ac_status" >&5
21881 echo "$as_me: failed program was:" >&5
21882 sed 's/^/| /' conftest.$ac_ext >&5
21884 ( exit $ac_status )
21885 if test "$ac_cv_type_long_long" = yes; then
21886 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21887 See \`config.log' for more details." >&5
21888 echo "$as_me: error: cannot compute sizeof (long long)
21889 See \`config.log' for more details." >&2;}
21890 { (exit 77); exit 77; }; }
21892 ac_cv_sizeof_long_long=0
21895 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21899 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21900 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21904 cat >>confdefs.h <<_ACEOF
21905 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21909 if test "$ac_cv_sizeof_long_long" != 0; then
21910 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21914 { echo "$as_me:$LINENO: checking for long long" >&5
21915 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21916 if test "${ac_cv_type_long_long+set}" = set; then
21917 echo $ECHO_N "(cached) $ECHO_C" >&6
21919 cat >conftest.$ac_ext <<_ACEOF
21922 cat confdefs.h >>conftest.$ac_ext
21923 cat >>conftest.$ac_ext <<_ACEOF
21924 /* end confdefs.h. */
21925 $ac_includes_default
21926 typedef long long ac__type_new_;
21930 if ((ac__type_new_ *) 0)
21932 if (sizeof (ac__type_new_))
21938 rm -f conftest.$ac_objext
21939 if { (ac_try="$ac_compile"
21940 case "(($ac_try" in
21941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21942 *) ac_try_echo=$ac_try;;
21944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21945 (eval "$ac_compile") 2>conftest.er1
21947 grep -v '^ *+' conftest.er1 >conftest.err
21949 cat conftest.err >&5
21950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951 (exit $ac_status); } && {
21952 test -z "$ac_c_werror_flag" ||
21953 test ! -s conftest.err
21954 } && test -s conftest.$ac_objext; then
21955 ac_cv_type_long_long=yes
21957 echo "$as_me: failed program was:" >&5
21958 sed 's/^/| /' conftest.$ac_ext >&5
21960 ac_cv_type_long_long=no
21963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21965 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21966 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21968 # The cast to long int works around a bug in the HP C Compiler
21969 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21970 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21971 # This bug is HP SR number 8606223364.
21972 { echo "$as_me:$LINENO: checking size of long long" >&5
21973 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21974 if test "${ac_cv_sizeof_long_long+set}" = set; then
21975 echo $ECHO_N "(cached) $ECHO_C" >&6
21977 if test "$cross_compiling" = yes; then
21978 # Depending upon the size, compute the lo and hi bounds.
21979 cat >conftest.$ac_ext <<_ACEOF
21982 cat confdefs.h >>conftest.$ac_ext
21983 cat >>conftest.$ac_ext <<_ACEOF
21984 /* end confdefs.h. */
21985 $ac_includes_default
21986 typedef long long ac__type_sizeof_;
21990 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21997 rm -f conftest.$ac_objext
21998 if { (ac_try="$ac_compile"
21999 case "(($ac_try" in
22000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22001 *) ac_try_echo=$ac_try;;
22003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22004 (eval "$ac_compile") 2>conftest.er1
22006 grep -v '^ *+' conftest.er1 >conftest.err
22008 cat conftest.err >&5
22009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22010 (exit $ac_status); } && {
22011 test -z "$ac_c_werror_flag" ||
22012 test ! -s conftest.err
22013 } && test -s conftest.$ac_objext; then
22016 cat >conftest.$ac_ext <<_ACEOF
22019 cat confdefs.h >>conftest.$ac_ext
22020 cat >>conftest.$ac_ext <<_ACEOF
22021 /* end confdefs.h. */
22022 $ac_includes_default
22023 typedef long long ac__type_sizeof_;
22027 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22034 rm -f conftest.$ac_objext
22035 if { (ac_try="$ac_compile"
22036 case "(($ac_try" in
22037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22038 *) ac_try_echo=$ac_try;;
22040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22041 (eval "$ac_compile") 2>conftest.er1
22043 grep -v '^ *+' conftest.er1 >conftest.err
22045 cat conftest.err >&5
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); } && {
22048 test -z "$ac_c_werror_flag" ||
22049 test ! -s conftest.err
22050 } && test -s conftest.$ac_objext; then
22051 ac_hi=$ac_mid; break
22053 echo "$as_me: failed program was:" >&5
22054 sed 's/^/| /' conftest.$ac_ext >&5
22056 ac_lo=`expr $ac_mid + 1`
22057 if test $ac_lo -le $ac_mid; then
22061 ac_mid=`expr 2 '*' $ac_mid + 1`
22064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22067 echo "$as_me: failed program was:" >&5
22068 sed 's/^/| /' conftest.$ac_ext >&5
22070 cat >conftest.$ac_ext <<_ACEOF
22073 cat confdefs.h >>conftest.$ac_ext
22074 cat >>conftest.$ac_ext <<_ACEOF
22075 /* end confdefs.h. */
22076 $ac_includes_default
22077 typedef long long ac__type_sizeof_;
22081 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22088 rm -f conftest.$ac_objext
22089 if { (ac_try="$ac_compile"
22090 case "(($ac_try" in
22091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22092 *) ac_try_echo=$ac_try;;
22094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22095 (eval "$ac_compile") 2>conftest.er1
22097 grep -v '^ *+' conftest.er1 >conftest.err
22099 cat conftest.err >&5
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); } && {
22102 test -z "$ac_c_werror_flag" ||
22103 test ! -s conftest.err
22104 } && test -s conftest.$ac_objext; then
22107 cat >conftest.$ac_ext <<_ACEOF
22110 cat confdefs.h >>conftest.$ac_ext
22111 cat >>conftest.$ac_ext <<_ACEOF
22112 /* end confdefs.h. */
22113 $ac_includes_default
22114 typedef long long ac__type_sizeof_;
22118 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22125 rm -f conftest.$ac_objext
22126 if { (ac_try="$ac_compile"
22127 case "(($ac_try" in
22128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22129 *) ac_try_echo=$ac_try;;
22131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22132 (eval "$ac_compile") 2>conftest.er1
22134 grep -v '^ *+' conftest.er1 >conftest.err
22136 cat conftest.err >&5
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); } && {
22139 test -z "$ac_c_werror_flag" ||
22140 test ! -s conftest.err
22141 } && test -s conftest.$ac_objext; then
22142 ac_lo=$ac_mid; break
22144 echo "$as_me: failed program was:" >&5
22145 sed 's/^/| /' conftest.$ac_ext >&5
22147 ac_hi=`expr '(' $ac_mid ')' - 1`
22148 if test $ac_mid -le $ac_hi; then
22152 ac_mid=`expr 2 '*' $ac_mid`
22155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22158 echo "$as_me: failed program was:" >&5
22159 sed 's/^/| /' conftest.$ac_ext >&5
22164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22168 # Binary search between lo and hi bounds.
22169 while test "x$ac_lo" != "x$ac_hi"; do
22170 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22171 cat >conftest.$ac_ext <<_ACEOF
22174 cat confdefs.h >>conftest.$ac_ext
22175 cat >>conftest.$ac_ext <<_ACEOF
22176 /* end confdefs.h. */
22177 $ac_includes_default
22178 typedef long long ac__type_sizeof_;
22182 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22189 rm -f conftest.$ac_objext
22190 if { (ac_try="$ac_compile"
22191 case "(($ac_try" in
22192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22193 *) ac_try_echo=$ac_try;;
22195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22196 (eval "$ac_compile") 2>conftest.er1
22198 grep -v '^ *+' conftest.er1 >conftest.err
22200 cat conftest.err >&5
22201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22202 (exit $ac_status); } && {
22203 test -z "$ac_c_werror_flag" ||
22204 test ! -s conftest.err
22205 } && test -s conftest.$ac_objext; then
22208 echo "$as_me: failed program was:" >&5
22209 sed 's/^/| /' conftest.$ac_ext >&5
22211 ac_lo=`expr '(' $ac_mid ')' + 1`
22214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22217 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22218 '') if test "$ac_cv_type_long_long" = yes; then
22219 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22220 See \`config.log' for more details." >&5
22221 echo "$as_me: error: cannot compute sizeof (long long)
22222 See \`config.log' for more details." >&2;}
22223 { (exit 77); exit 77; }; }
22225 ac_cv_sizeof_long_long=0
22229 cat >conftest.$ac_ext <<_ACEOF
22232 cat confdefs.h >>conftest.$ac_ext
22233 cat >>conftest.$ac_ext <<_ACEOF
22234 /* end confdefs.h. */
22235 $ac_includes_default
22236 typedef long long ac__type_sizeof_;
22237 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22238 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22240 #include <stdlib.h>
22245 FILE *f = fopen ("conftest.val", "w");
22248 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22250 long int i = longval ();
22251 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22253 fprintf (f, "%ld\n", i);
22257 unsigned long int i = ulongval ();
22258 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22260 fprintf (f, "%lu\n", i);
22262 return ferror (f) || fclose (f) != 0;
22268 rm -f conftest$ac_exeext
22269 if { (ac_try="$ac_link"
22270 case "(($ac_try" in
22271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22272 *) ac_try_echo=$ac_try;;
22274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22275 (eval "$ac_link") 2>&5
22277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22279 { (case "(($ac_try" in
22280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22281 *) ac_try_echo=$ac_try;;
22283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22284 (eval "$ac_try") 2>&5
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); }; }; then
22288 ac_cv_sizeof_long_long=`cat conftest.val`
22290 echo "$as_me: program exited with status $ac_status" >&5
22291 echo "$as_me: failed program was:" >&5
22292 sed 's/^/| /' conftest.$ac_ext >&5
22294 ( exit $ac_status )
22295 if test "$ac_cv_type_long_long" = yes; then
22296 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22297 See \`config.log' for more details." >&5
22298 echo "$as_me: error: cannot compute sizeof (long long)
22299 See \`config.log' for more details." >&2;}
22300 { (exit 77); exit 77; }; }
22302 ac_cv_sizeof_long_long=0
22305 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22309 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22310 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22314 cat >>confdefs.h <<_ACEOF
22315 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22321 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22322 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22323 if test "${ac_cv_type_wchar_t+set}" = set; then
22324 echo $ECHO_N "(cached) $ECHO_C" >&6
22326 cat >conftest.$ac_ext <<_ACEOF
22329 cat confdefs.h >>conftest.$ac_ext
22330 cat >>conftest.$ac_ext <<_ACEOF
22331 /* end confdefs.h. */
22333 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22334 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22335 # error "fake wchar_t"
22337 #ifdef HAVE_WCHAR_H
22339 # include <stddef.h>
22341 # include <wchar.h>
22343 #ifdef HAVE_STDLIB_H
22344 # include <stdlib.h>
22350 typedef wchar_t ac__type_new_;
22354 if ((ac__type_new_ *) 0)
22356 if (sizeof (ac__type_new_))
22362 rm -f conftest.$ac_objext
22363 if { (ac_try="$ac_compile"
22364 case "(($ac_try" in
22365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22366 *) ac_try_echo=$ac_try;;
22368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22369 (eval "$ac_compile") 2>conftest.er1
22371 grep -v '^ *+' conftest.er1 >conftest.err
22373 cat conftest.err >&5
22374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22375 (exit $ac_status); } && {
22376 test -z "$ac_c_werror_flag" ||
22377 test ! -s conftest.err
22378 } && test -s conftest.$ac_objext; then
22379 ac_cv_type_wchar_t=yes
22381 echo "$as_me: failed program was:" >&5
22382 sed 's/^/| /' conftest.$ac_ext >&5
22384 ac_cv_type_wchar_t=no
22387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22389 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22390 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22392 # The cast to long int works around a bug in the HP C Compiler
22393 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22394 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22395 # This bug is HP SR number 8606223364.
22396 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22397 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22398 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22399 echo $ECHO_N "(cached) $ECHO_C" >&6
22401 if test "$cross_compiling" = yes; then
22402 # Depending upon the size, compute the lo and hi bounds.
22403 cat >conftest.$ac_ext <<_ACEOF
22406 cat confdefs.h >>conftest.$ac_ext
22407 cat >>conftest.$ac_ext <<_ACEOF
22408 /* end confdefs.h. */
22410 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22411 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22412 # error "fake wchar_t"
22414 #ifdef HAVE_WCHAR_H
22416 # include <stddef.h>
22418 # include <wchar.h>
22420 #ifdef HAVE_STDLIB_H
22421 # include <stdlib.h>
22427 typedef wchar_t ac__type_sizeof_;
22431 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22438 rm -f conftest.$ac_objext
22439 if { (ac_try="$ac_compile"
22440 case "(($ac_try" in
22441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22442 *) ac_try_echo=$ac_try;;
22444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22445 (eval "$ac_compile") 2>conftest.er1
22447 grep -v '^ *+' conftest.er1 >conftest.err
22449 cat conftest.err >&5
22450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22451 (exit $ac_status); } && {
22452 test -z "$ac_c_werror_flag" ||
22453 test ! -s conftest.err
22454 } && test -s conftest.$ac_objext; then
22457 cat >conftest.$ac_ext <<_ACEOF
22460 cat confdefs.h >>conftest.$ac_ext
22461 cat >>conftest.$ac_ext <<_ACEOF
22462 /* end confdefs.h. */
22464 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22465 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22466 # error "fake wchar_t"
22468 #ifdef HAVE_WCHAR_H
22470 # include <stddef.h>
22472 # include <wchar.h>
22474 #ifdef HAVE_STDLIB_H
22475 # include <stdlib.h>
22481 typedef wchar_t ac__type_sizeof_;
22485 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22492 rm -f conftest.$ac_objext
22493 if { (ac_try="$ac_compile"
22494 case "(($ac_try" in
22495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22496 *) ac_try_echo=$ac_try;;
22498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22499 (eval "$ac_compile") 2>conftest.er1
22501 grep -v '^ *+' conftest.er1 >conftest.err
22503 cat conftest.err >&5
22504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22505 (exit $ac_status); } && {
22506 test -z "$ac_c_werror_flag" ||
22507 test ! -s conftest.err
22508 } && test -s conftest.$ac_objext; then
22509 ac_hi=$ac_mid; break
22511 echo "$as_me: failed program was:" >&5
22512 sed 's/^/| /' conftest.$ac_ext >&5
22514 ac_lo=`expr $ac_mid + 1`
22515 if test $ac_lo -le $ac_mid; then
22519 ac_mid=`expr 2 '*' $ac_mid + 1`
22522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22525 echo "$as_me: failed program was:" >&5
22526 sed 's/^/| /' conftest.$ac_ext >&5
22528 cat >conftest.$ac_ext <<_ACEOF
22531 cat confdefs.h >>conftest.$ac_ext
22532 cat >>conftest.$ac_ext <<_ACEOF
22533 /* end confdefs.h. */
22535 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22536 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22537 # error "fake wchar_t"
22539 #ifdef HAVE_WCHAR_H
22541 # include <stddef.h>
22543 # include <wchar.h>
22545 #ifdef HAVE_STDLIB_H
22546 # include <stdlib.h>
22552 typedef wchar_t ac__type_sizeof_;
22556 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22563 rm -f conftest.$ac_objext
22564 if { (ac_try="$ac_compile"
22565 case "(($ac_try" in
22566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22567 *) ac_try_echo=$ac_try;;
22569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22570 (eval "$ac_compile") 2>conftest.er1
22572 grep -v '^ *+' conftest.er1 >conftest.err
22574 cat conftest.err >&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); } && {
22577 test -z "$ac_c_werror_flag" ||
22578 test ! -s conftest.err
22579 } && test -s conftest.$ac_objext; then
22582 cat >conftest.$ac_ext <<_ACEOF
22585 cat confdefs.h >>conftest.$ac_ext
22586 cat >>conftest.$ac_ext <<_ACEOF
22587 /* end confdefs.h. */
22589 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22590 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22591 # error "fake wchar_t"
22593 #ifdef HAVE_WCHAR_H
22595 # include <stddef.h>
22597 # include <wchar.h>
22599 #ifdef HAVE_STDLIB_H
22600 # include <stdlib.h>
22606 typedef wchar_t ac__type_sizeof_;
22610 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22617 rm -f conftest.$ac_objext
22618 if { (ac_try="$ac_compile"
22619 case "(($ac_try" in
22620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22621 *) ac_try_echo=$ac_try;;
22623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22624 (eval "$ac_compile") 2>conftest.er1
22626 grep -v '^ *+' conftest.er1 >conftest.err
22628 cat conftest.err >&5
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); } && {
22631 test -z "$ac_c_werror_flag" ||
22632 test ! -s conftest.err
22633 } && test -s conftest.$ac_objext; then
22634 ac_lo=$ac_mid; break
22636 echo "$as_me: failed program was:" >&5
22637 sed 's/^/| /' conftest.$ac_ext >&5
22639 ac_hi=`expr '(' $ac_mid ')' - 1`
22640 if test $ac_mid -le $ac_hi; then
22644 ac_mid=`expr 2 '*' $ac_mid`
22647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22650 echo "$as_me: failed program was:" >&5
22651 sed 's/^/| /' conftest.$ac_ext >&5
22656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22660 # Binary search between lo and hi bounds.
22661 while test "x$ac_lo" != "x$ac_hi"; do
22662 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22663 cat >conftest.$ac_ext <<_ACEOF
22666 cat confdefs.h >>conftest.$ac_ext
22667 cat >>conftest.$ac_ext <<_ACEOF
22668 /* end confdefs.h. */
22670 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22671 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22672 # error "fake wchar_t"
22674 #ifdef HAVE_WCHAR_H
22676 # include <stddef.h>
22678 # include <wchar.h>
22680 #ifdef HAVE_STDLIB_H
22681 # include <stdlib.h>
22687 typedef wchar_t ac__type_sizeof_;
22691 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22698 rm -f conftest.$ac_objext
22699 if { (ac_try="$ac_compile"
22700 case "(($ac_try" in
22701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22702 *) ac_try_echo=$ac_try;;
22704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22705 (eval "$ac_compile") 2>conftest.er1
22707 grep -v '^ *+' conftest.er1 >conftest.err
22709 cat conftest.err >&5
22710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711 (exit $ac_status); } && {
22712 test -z "$ac_c_werror_flag" ||
22713 test ! -s conftest.err
22714 } && test -s conftest.$ac_objext; then
22717 echo "$as_me: failed program was:" >&5
22718 sed 's/^/| /' conftest.$ac_ext >&5
22720 ac_lo=`expr '(' $ac_mid ')' + 1`
22723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22726 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22727 '') if test "$ac_cv_type_wchar_t" = yes; then
22728 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22729 See \`config.log' for more details." >&5
22730 echo "$as_me: error: cannot compute sizeof (wchar_t)
22731 See \`config.log' for more details." >&2;}
22732 { (exit 77); exit 77; }; }
22734 ac_cv_sizeof_wchar_t=0
22738 cat >conftest.$ac_ext <<_ACEOF
22741 cat confdefs.h >>conftest.$ac_ext
22742 cat >>conftest.$ac_ext <<_ACEOF
22743 /* end confdefs.h. */
22745 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22746 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22747 # error "fake wchar_t"
22749 #ifdef HAVE_WCHAR_H
22751 # include <stddef.h>
22753 # include <wchar.h>
22755 #ifdef HAVE_STDLIB_H
22756 # include <stdlib.h>
22762 typedef wchar_t ac__type_sizeof_;
22763 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22764 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22766 #include <stdlib.h>
22771 FILE *f = fopen ("conftest.val", "w");
22774 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22776 long int i = longval ();
22777 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22779 fprintf (f, "%ld\n", i);
22783 unsigned long int i = ulongval ();
22784 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22786 fprintf (f, "%lu\n", i);
22788 return ferror (f) || fclose (f) != 0;
22794 rm -f conftest$ac_exeext
22795 if { (ac_try="$ac_link"
22796 case "(($ac_try" in
22797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22798 *) ac_try_echo=$ac_try;;
22800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22801 (eval "$ac_link") 2>&5
22803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22804 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22805 { (case "(($ac_try" in
22806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22807 *) ac_try_echo=$ac_try;;
22809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22810 (eval "$ac_try") 2>&5
22812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22813 (exit $ac_status); }; }; then
22814 ac_cv_sizeof_wchar_t=`cat conftest.val`
22816 echo "$as_me: program exited with status $ac_status" >&5
22817 echo "$as_me: failed program was:" >&5
22818 sed 's/^/| /' conftest.$ac_ext >&5
22820 ( exit $ac_status )
22821 if test "$ac_cv_type_wchar_t" = yes; then
22822 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22823 See \`config.log' for more details." >&5
22824 echo "$as_me: error: cannot compute sizeof (wchar_t)
22825 See \`config.log' for more details." >&2;}
22826 { (exit 77); exit 77; }; }
22828 ac_cv_sizeof_wchar_t=0
22831 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22835 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22836 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22840 cat >>confdefs.h <<_ACEOF
22841 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22845 if test "$ac_cv_sizeof_wchar_t" != 0; then
22851 { echo "$as_me:$LINENO: checking for va_copy" >&5
22852 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22853 if test "${wx_cv_func_va_copy+set}" = set; then
22854 echo $ECHO_N "(cached) $ECHO_C" >&6
22858 ac_cpp='$CXXCPP $CPPFLAGS'
22859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22863 cat >conftest.$ac_ext <<_ACEOF
22865 #include <stdarg.h>
22866 void foo(char *f, ...)
22880 rm -f conftest.$ac_objext conftest$ac_exeext
22881 if { (ac_try="$ac_link"
22882 case "(($ac_try" in
22883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22884 *) ac_try_echo=$ac_try;;
22886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22887 (eval "$ac_link") 2>conftest.er1
22889 grep -v '^ *+' conftest.er1 >conftest.err
22891 cat conftest.err >&5
22892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22893 (exit $ac_status); } && {
22894 test -z "$ac_cxx_werror_flag" ||
22895 test ! -s conftest.err
22896 } && test -s conftest$ac_exeext &&
22897 $as_test_x conftest$ac_exeext; then
22898 wx_cv_func_va_copy=yes
22900 echo "$as_me: failed program was:" >&5
22901 sed 's/^/| /' conftest.$ac_ext >&5
22903 wx_cv_func_va_copy=no
22907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22908 conftest$ac_exeext conftest.$ac_ext
22910 ac_cpp='$CPP $CPPFLAGS'
22911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22918 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22919 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22921 if test $wx_cv_func_va_copy = "yes"; then
22922 cat >>confdefs.h <<\_ACEOF
22923 #define HAVE_VA_COPY 1
22927 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22928 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22929 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22930 echo $ECHO_N "(cached) $ECHO_C" >&6
22933 if test "$cross_compiling" = yes; then
22934 wx_cv_type_va_list_lvalue=yes
22937 cat >conftest.$ac_ext <<_ACEOF
22939 #include <stdarg.h>
22940 int foo(char *f, ...)
22945 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22953 return foo("hi", 17);
22956 rm -f conftest$ac_exeext
22957 if { (ac_try="$ac_link"
22958 case "(($ac_try" in
22959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22960 *) ac_try_echo=$ac_try;;
22962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22963 (eval "$ac_link") 2>&5
22965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22966 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22967 { (case "(($ac_try" in
22968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22969 *) ac_try_echo=$ac_try;;
22971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22972 (eval "$ac_try") 2>&5
22974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22975 (exit $ac_status); }; }; then
22976 wx_cv_type_va_list_lvalue=yes
22978 echo "$as_me: program exited with status $ac_status" >&5
22979 echo "$as_me: failed program was:" >&5
22980 sed 's/^/| /' conftest.$ac_ext >&5
22982 ( exit $ac_status )
22983 wx_cv_type_va_list_lvalue=no
22985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22992 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22993 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22995 if test $wx_cv_type_va_list_lvalue != "yes"; then
22996 cat >>confdefs.h <<\_ACEOF
22997 #define VA_LIST_IS_ARRAY 1
23003 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23005 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23006 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23007 if test "${wx_cv_have_variadic_macros+set}" = set; then
23008 echo $ECHO_N "(cached) $ECHO_C" >&6
23012 ac_cpp='$CXXCPP $CPPFLAGS'
23013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23017 cat >conftest.$ac_ext <<_ACEOF
23020 cat confdefs.h >>conftest.$ac_ext
23021 cat >>conftest.$ac_ext <<_ACEOF
23022 /* end confdefs.h. */
23025 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23031 test("%s %d %p", "test", 1, 0);
23038 rm -f conftest.$ac_objext
23039 if { (ac_try="$ac_compile"
23040 case "(($ac_try" in
23041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23042 *) ac_try_echo=$ac_try;;
23044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23045 (eval "$ac_compile") 2>conftest.er1
23047 grep -v '^ *+' conftest.er1 >conftest.err
23049 cat conftest.err >&5
23050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23051 (exit $ac_status); } && {
23052 test -z "$ac_cxx_werror_flag" ||
23053 test ! -s conftest.err
23054 } && test -s conftest.$ac_objext; then
23055 wx_cv_have_variadic_macros=yes
23057 echo "$as_me: failed program was:" >&5
23058 sed 's/^/| /' conftest.$ac_ext >&5
23060 wx_cv_have_variadic_macros=no
23064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23066 ac_cpp='$CPP $CPPFLAGS'
23067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23074 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23075 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23077 if test $wx_cv_have_variadic_macros = "yes"; then
23078 cat >>confdefs.h <<\_ACEOF
23079 #define HAVE_VARIADIC_MACROS 1
23085 # Check whether --enable-largefile was given.
23086 if test "${enable_largefile+set}" = set; then
23087 enableval=$enable_largefile;
23090 if test "$enable_largefile" != no; then
23093 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23094 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23095 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23096 echo $ECHO_N "(cached) $ECHO_C" >&6
23099 cat >conftest.$ac_ext <<_ACEOF
23102 cat confdefs.h >>conftest.$ac_ext
23103 cat >>conftest.$ac_ext <<_ACEOF
23104 /* end confdefs.h. */
23105 #define _FILE_OFFSET_BITS 64
23106 #include <sys/types.h>
23111 unsigned int field: sizeof(off_t) == 8;
23118 rm -f conftest.$ac_objext
23119 if { (ac_try="$ac_compile"
23120 case "(($ac_try" in
23121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23122 *) ac_try_echo=$ac_try;;
23124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23125 (eval "$ac_compile") 2>conftest.er1
23127 grep -v '^ *+' conftest.er1 >conftest.err
23129 cat conftest.err >&5
23130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23131 (exit $ac_status); } && {
23132 test -z "$ac_c_werror_flag" ||
23133 test ! -s conftest.err
23134 } && test -s conftest.$ac_objext; then
23135 ac_cv_sys_file_offset_bits=64
23137 echo "$as_me: failed program was:" >&5
23138 sed 's/^/| /' conftest.$ac_ext >&5
23140 ac_cv_sys_file_offset_bits=no
23143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23147 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23148 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23150 if test "$ac_cv_sys_file_offset_bits" != no; then
23152 cat >>confdefs.h <<_ACEOF
23153 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23158 if test "x$wx_largefile" != "xyes"; then
23160 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23161 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23162 if test "${ac_cv_sys_large_files+set}" = set; then
23163 echo $ECHO_N "(cached) $ECHO_C" >&6
23166 cat >conftest.$ac_ext <<_ACEOF
23169 cat confdefs.h >>conftest.$ac_ext
23170 cat >>conftest.$ac_ext <<_ACEOF
23171 /* end confdefs.h. */
23172 #define _LARGE_FILES 1
23173 #include <sys/types.h>
23178 unsigned int field: sizeof(off_t) == 8;
23185 rm -f conftest.$ac_objext
23186 if { (ac_try="$ac_compile"
23187 case "(($ac_try" in
23188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23189 *) ac_try_echo=$ac_try;;
23191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23192 (eval "$ac_compile") 2>conftest.er1
23194 grep -v '^ *+' conftest.er1 >conftest.err
23196 cat conftest.err >&5
23197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198 (exit $ac_status); } && {
23199 test -z "$ac_c_werror_flag" ||
23200 test ! -s conftest.err
23201 } && test -s conftest.$ac_objext; then
23202 ac_cv_sys_large_files=1
23204 echo "$as_me: failed program was:" >&5
23205 sed 's/^/| /' conftest.$ac_ext >&5
23207 ac_cv_sys_large_files=no
23210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23214 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23215 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23217 if test "$ac_cv_sys_large_files" != no; then
23219 cat >>confdefs.h <<_ACEOF
23220 #define _LARGE_FILES $ac_cv_sys_large_files
23227 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23228 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23229 if test "x$wx_largefile" = "xyes"; then
23230 cat >>confdefs.h <<\_ACEOF
23231 #define HAVE_LARGEFILE_SUPPORT 1
23235 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23236 echo "${ECHO_T}$wx_largefile" >&6; }
23240 if test "x$wx_largefile" = "xyes"; then
23241 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23242 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23244 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23245 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23246 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23247 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23248 echo $ECHO_N "(cached) $ECHO_C" >&6
23252 ac_cpp='$CXXCPP $CPPFLAGS'
23253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23257 cat >conftest.$ac_ext <<_ACEOF
23260 cat confdefs.h >>conftest.$ac_ext
23261 cat >>conftest.$ac_ext <<_ACEOF
23262 /* end confdefs.h. */
23268 #ifndef __STDC_EXT__
23276 rm -f conftest.$ac_objext
23277 if { (ac_try="$ac_compile"
23278 case "(($ac_try" in
23279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23280 *) ac_try_echo=$ac_try;;
23282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23283 (eval "$ac_compile") 2>conftest.er1
23285 grep -v '^ *+' conftest.er1 >conftest.err
23287 cat conftest.err >&5
23288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23289 (exit $ac_status); } && {
23290 test -z "$ac_cxx_werror_flag" ||
23291 test ! -s conftest.err
23292 } && test -s conftest.$ac_objext; then
23293 wx_cv_STDC_EXT_required=no
23295 echo "$as_me: failed program was:" >&5
23296 sed 's/^/| /' conftest.$ac_ext >&5
23298 wx_cv_STDC_EXT_required=yes
23302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23304 ac_cpp='$CPP $CPPFLAGS'
23305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23312 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23313 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23314 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23315 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23319 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23321 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23322 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23323 if test "${ac_cv_sys_largefile_source+set}" = set; then
23324 echo $ECHO_N "(cached) $ECHO_C" >&6
23327 cat >conftest.$ac_ext <<_ACEOF
23330 cat confdefs.h >>conftest.$ac_ext
23331 cat >>conftest.$ac_ext <<_ACEOF
23332 /* end confdefs.h. */
23333 #include <sys/types.h> /* for off_t */
23338 int (*fp) (FILE *, off_t, int) = fseeko;
23339 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23344 rm -f conftest.$ac_objext conftest$ac_exeext
23345 if { (ac_try="$ac_link"
23346 case "(($ac_try" in
23347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23348 *) ac_try_echo=$ac_try;;
23350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23351 (eval "$ac_link") 2>conftest.er1
23353 grep -v '^ *+' conftest.er1 >conftest.err
23355 cat conftest.err >&5
23356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23357 (exit $ac_status); } && {
23358 test -z "$ac_c_werror_flag" ||
23359 test ! -s conftest.err
23360 } && test -s conftest$ac_exeext &&
23361 $as_test_x conftest$ac_exeext; then
23362 ac_cv_sys_largefile_source=no; break
23364 echo "$as_me: failed program was:" >&5
23365 sed 's/^/| /' conftest.$ac_ext >&5
23370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23371 conftest$ac_exeext conftest.$ac_ext
23372 cat >conftest.$ac_ext <<_ACEOF
23375 cat confdefs.h >>conftest.$ac_ext
23376 cat >>conftest.$ac_ext <<_ACEOF
23377 /* end confdefs.h. */
23378 #define _LARGEFILE_SOURCE 1
23379 #include <sys/types.h> /* for off_t */
23384 int (*fp) (FILE *, off_t, int) = fseeko;
23385 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23390 rm -f conftest.$ac_objext conftest$ac_exeext
23391 if { (ac_try="$ac_link"
23392 case "(($ac_try" in
23393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23394 *) ac_try_echo=$ac_try;;
23396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23397 (eval "$ac_link") 2>conftest.er1
23399 grep -v '^ *+' conftest.er1 >conftest.err
23401 cat conftest.err >&5
23402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403 (exit $ac_status); } && {
23404 test -z "$ac_c_werror_flag" ||
23405 test ! -s conftest.err
23406 } && test -s conftest$ac_exeext &&
23407 $as_test_x conftest$ac_exeext; then
23408 ac_cv_sys_largefile_source=1; break
23410 echo "$as_me: failed program was:" >&5
23411 sed 's/^/| /' conftest.$ac_ext >&5
23416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23417 conftest$ac_exeext conftest.$ac_ext
23418 ac_cv_sys_largefile_source=unknown
23422 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23423 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23424 case $ac_cv_sys_largefile_source in #(
23427 cat >>confdefs.h <<_ACEOF
23428 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23434 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23435 # in glibc 2.1.3, but that breaks too many other things.
23436 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23437 if test $ac_cv_sys_largefile_source != unknown; then
23439 cat >>confdefs.h <<\_ACEOF
23440 #define HAVE_FSEEKO 1
23445 if test "$ac_cv_sys_largefile_source" != no; then
23446 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23450 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23451 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23452 if test "${ac_cv_c_bigendian+set}" = set; then
23453 echo $ECHO_N "(cached) $ECHO_C" >&6
23455 ac_cv_c_bigendian=unknown
23456 # See if sys/param.h defines the BYTE_ORDER macro.
23457 cat >conftest.$ac_ext <<_ACEOF
23460 cat confdefs.h >>conftest.$ac_ext
23461 cat >>conftest.$ac_ext <<_ACEOF
23462 /* end confdefs.h. */
23463 #include <sys/types.h>
23464 #include <sys/param.h>
23469 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23470 bogus endian macros
23476 rm -f conftest.$ac_objext
23477 if { (ac_try="$ac_compile"
23478 case "(($ac_try" in
23479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23480 *) ac_try_echo=$ac_try;;
23482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23483 (eval "$ac_compile") 2>conftest.er1
23485 grep -v '^ *+' conftest.er1 >conftest.err
23487 cat conftest.err >&5
23488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23489 (exit $ac_status); } && {
23490 test -z "$ac_c_werror_flag" ||
23491 test ! -s conftest.err
23492 } && test -s conftest.$ac_objext; then
23493 # It does; now see whether it defined to BIG_ENDIAN or not.
23494 cat >conftest.$ac_ext <<_ACEOF
23497 cat confdefs.h >>conftest.$ac_ext
23498 cat >>conftest.$ac_ext <<_ACEOF
23499 /* end confdefs.h. */
23500 #include <sys/types.h>
23501 #include <sys/param.h>
23506 #if BYTE_ORDER != BIG_ENDIAN
23513 rm -f conftest.$ac_objext
23514 if { (ac_try="$ac_compile"
23515 case "(($ac_try" in
23516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23517 *) ac_try_echo=$ac_try;;
23519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23520 (eval "$ac_compile") 2>conftest.er1
23522 grep -v '^ *+' conftest.er1 >conftest.err
23524 cat conftest.err >&5
23525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23526 (exit $ac_status); } && {
23527 test -z "$ac_c_werror_flag" ||
23528 test ! -s conftest.err
23529 } && test -s conftest.$ac_objext; then
23530 ac_cv_c_bigendian=yes
23532 echo "$as_me: failed program was:" >&5
23533 sed 's/^/| /' conftest.$ac_ext >&5
23535 ac_cv_c_bigendian=no
23538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23540 echo "$as_me: failed program was:" >&5
23541 sed 's/^/| /' conftest.$ac_ext >&5
23546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23547 if test $ac_cv_c_bigendian = unknown; then
23548 if test "$cross_compiling" = yes; then
23549 ac_cv_c_bigendian=unknown
23551 cat >conftest.$ac_ext <<_ACEOF
23554 cat confdefs.h >>conftest.$ac_ext
23555 cat >>conftest.$ac_ext <<_ACEOF
23556 /* end confdefs.h. */
23558 /* Are we little or big endian? From Harbison&Steele. */
23562 char c[sizeof (long)];
23565 exit (u.c[sizeof (long) - 1] == 1);
23568 rm -f conftest$ac_exeext
23569 if { (ac_try="$ac_link"
23570 case "(($ac_try" in
23571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23572 *) ac_try_echo=$ac_try;;
23574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23575 (eval "$ac_link") 2>&5
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23579 { (case "(($ac_try" in
23580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23581 *) ac_try_echo=$ac_try;;
23583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23584 (eval "$ac_try") 2>&5
23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587 (exit $ac_status); }; }; then
23588 ac_cv_c_bigendian=no
23590 echo "$as_me: program exited with status $ac_status" >&5
23591 echo "$as_me: failed program was:" >&5
23592 sed 's/^/| /' conftest.$ac_ext >&5
23594 ( exit $ac_status )
23595 ac_cv_c_bigendian=yes
23597 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23603 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23604 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23605 if test $ac_cv_c_bigendian = unknown; then
23606 { 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
23607 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;}
23609 if test $ac_cv_c_bigendian = yes; then
23610 cat >>confdefs.h <<\_ACEOF
23611 #define WORDS_BIGENDIAN 1
23620 ac_cpp='$CXXCPP $CPPFLAGS'
23621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23627 for ac_header in iostream
23629 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23630 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23632 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23633 echo $ECHO_N "(cached) $ECHO_C" >&6
23635 cat >conftest.$ac_ext <<_ACEOF
23638 cat confdefs.h >>conftest.$ac_ext
23639 cat >>conftest.$ac_ext <<_ACEOF
23640 /* end confdefs.h. */
23643 #include <$ac_header>
23645 rm -f conftest.$ac_objext
23646 if { (ac_try="$ac_compile"
23647 case "(($ac_try" in
23648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23649 *) ac_try_echo=$ac_try;;
23651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23652 (eval "$ac_compile") 2>conftest.er1
23654 grep -v '^ *+' conftest.er1 >conftest.err
23656 cat conftest.err >&5
23657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23658 (exit $ac_status); } && {
23659 test -z "$ac_cxx_werror_flag" ||
23660 test ! -s conftest.err
23661 } && test -s conftest.$ac_objext; then
23662 eval "$as_ac_Header=yes"
23664 echo "$as_me: failed program was:" >&5
23665 sed 's/^/| /' conftest.$ac_ext >&5
23667 eval "$as_ac_Header=no"
23670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23672 ac_res=`eval echo '${'$as_ac_Header'}'`
23673 { echo "$as_me:$LINENO: result: $ac_res" >&5
23674 echo "${ECHO_T}$ac_res" >&6; }
23675 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23676 cat >>confdefs.h <<_ACEOF
23677 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23685 if test "$ac_cv_header_iostream" = "yes" ; then
23688 cat >>confdefs.h <<\_ACEOF
23689 #define wxUSE_IOSTREAMH 1
23695 ac_cpp='$CPP $CPPFLAGS'
23696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23703 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23704 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23705 if test "${wx_cv_cpp_bool+set}" = set; then
23706 echo $ECHO_N "(cached) $ECHO_C" >&6
23711 ac_cpp='$CXXCPP $CPPFLAGS'
23712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23717 cat >conftest.$ac_ext <<_ACEOF
23720 cat confdefs.h >>conftest.$ac_ext
23721 cat >>conftest.$ac_ext <<_ACEOF
23722 /* end confdefs.h. */
23737 rm -f conftest.$ac_objext
23738 if { (ac_try="$ac_compile"
23739 case "(($ac_try" in
23740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23741 *) ac_try_echo=$ac_try;;
23743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23744 (eval "$ac_compile") 2>conftest.er1
23746 grep -v '^ *+' conftest.er1 >conftest.err
23748 cat conftest.err >&5
23749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750 (exit $ac_status); } && {
23751 test -z "$ac_cxx_werror_flag" ||
23752 test ! -s conftest.err
23753 } && test -s conftest.$ac_objext; then
23758 echo "$as_me: failed program was:" >&5
23759 sed 's/^/| /' conftest.$ac_ext >&5
23767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23770 ac_cpp='$CPP $CPPFLAGS'
23771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23777 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23778 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23780 if test "$wx_cv_cpp_bool" = "yes"; then
23781 cat >>confdefs.h <<\_ACEOF
23782 #define HAVE_BOOL 1
23789 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23790 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23791 if test "${wx_cv_explicit+set}" = set; then
23792 echo $ECHO_N "(cached) $ECHO_C" >&6
23797 ac_cpp='$CXXCPP $CPPFLAGS'
23798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23803 cat >conftest.$ac_ext <<_ACEOF
23806 cat confdefs.h >>conftest.$ac_ext
23807 cat >>conftest.$ac_ext <<_ACEOF
23808 /* end confdefs.h. */
23810 class Foo { public: explicit Foo(int) {} };
23822 rm -f conftest.$ac_objext
23823 if { (ac_try="$ac_compile"
23824 case "(($ac_try" in
23825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23826 *) ac_try_echo=$ac_try;;
23828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23829 (eval "$ac_compile") 2>conftest.er1
23831 grep -v '^ *+' conftest.er1 >conftest.err
23833 cat conftest.err >&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); } && {
23836 test -z "$ac_cxx_werror_flag" ||
23837 test ! -s conftest.err
23838 } && test -s conftest.$ac_objext; then
23840 cat >conftest.$ac_ext <<_ACEOF
23843 cat confdefs.h >>conftest.$ac_ext
23844 cat >>conftest.$ac_ext <<_ACEOF
23845 /* end confdefs.h. */
23847 class Foo { public: explicit Foo(int) {} };
23848 static void TakeFoo(const Foo& foo) { }
23861 rm -f conftest.$ac_objext
23862 if { (ac_try="$ac_compile"
23863 case "(($ac_try" in
23864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23865 *) ac_try_echo=$ac_try;;
23867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23868 (eval "$ac_compile") 2>conftest.er1
23870 grep -v '^ *+' conftest.er1 >conftest.err
23872 cat conftest.err >&5
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); } && {
23875 test -z "$ac_cxx_werror_flag" ||
23876 test ! -s conftest.err
23877 } && test -s conftest.$ac_objext; then
23880 echo "$as_me: failed program was:" >&5
23881 sed 's/^/| /' conftest.$ac_ext >&5
23887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23890 echo "$as_me: failed program was:" >&5
23891 sed 's/^/| /' conftest.$ac_ext >&5
23897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23900 ac_cpp='$CPP $CPPFLAGS'
23901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23907 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23908 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23910 if test "$wx_cv_explicit" = "yes"; then
23911 cat >>confdefs.h <<\_ACEOF
23912 #define HAVE_EXPLICIT 1
23918 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23919 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23920 if test "${ac_cv_cxx_const_cast+set}" = set; then
23921 echo $ECHO_N "(cached) $ECHO_C" >&6
23925 ac_cpp='$CXXCPP $CPPFLAGS'
23926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23930 cat >conftest.$ac_ext <<_ACEOF
23933 cat confdefs.h >>conftest.$ac_ext
23934 cat >>conftest.$ac_ext <<_ACEOF
23935 /* end confdefs.h. */
23940 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23945 rm -f conftest.$ac_objext
23946 if { (ac_try="$ac_compile"
23947 case "(($ac_try" in
23948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23949 *) ac_try_echo=$ac_try;;
23951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23952 (eval "$ac_compile") 2>conftest.er1
23954 grep -v '^ *+' conftest.er1 >conftest.err
23956 cat conftest.err >&5
23957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23958 (exit $ac_status); } && {
23959 test -z "$ac_cxx_werror_flag" ||
23960 test ! -s conftest.err
23961 } && test -s conftest.$ac_objext; then
23962 ac_cv_cxx_const_cast=yes
23964 echo "$as_me: failed program was:" >&5
23965 sed 's/^/| /' conftest.$ac_ext >&5
23967 ac_cv_cxx_const_cast=no
23970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23972 ac_cpp='$CPP $CPPFLAGS'
23973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23979 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23980 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23981 if test "$ac_cv_cxx_const_cast" = yes; then
23983 cat >>confdefs.h <<\_ACEOF
23984 #define HAVE_CONST_CAST
23989 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23990 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23991 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23992 echo $ECHO_N "(cached) $ECHO_C" >&6
23996 ac_cpp='$CXXCPP $CPPFLAGS'
23997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24001 cat >conftest.$ac_ext <<_ACEOF
24004 cat confdefs.h >>conftest.$ac_ext
24005 cat >>conftest.$ac_ext <<_ACEOF
24006 /* end confdefs.h. */
24007 #include <typeinfo>
24008 class Base { public : Base () {} virtual void f () = 0;};
24009 class Derived : public Base { public : Derived () {} virtual void f () {} };
24010 class Unrelated { public : Unrelated () {} };
24011 int g (Unrelated&) { return 0; }
24016 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24021 rm -f conftest.$ac_objext
24022 if { (ac_try="$ac_compile"
24023 case "(($ac_try" in
24024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24025 *) ac_try_echo=$ac_try;;
24027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24028 (eval "$ac_compile") 2>conftest.er1
24030 grep -v '^ *+' conftest.er1 >conftest.err
24032 cat conftest.err >&5
24033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24034 (exit $ac_status); } && {
24035 test -z "$ac_cxx_werror_flag" ||
24036 test ! -s conftest.err
24037 } && test -s conftest.$ac_objext; then
24038 ac_cv_cxx_reinterpret_cast=yes
24040 echo "$as_me: failed program was:" >&5
24041 sed 's/^/| /' conftest.$ac_ext >&5
24043 ac_cv_cxx_reinterpret_cast=no
24046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24048 ac_cpp='$CPP $CPPFLAGS'
24049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24055 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24056 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24057 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24059 cat >>confdefs.h <<\_ACEOF
24060 #define HAVE_REINTERPRET_CAST
24065 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24066 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24067 if test "${ac_cv_cxx_static_cast+set}" = set; then
24068 echo $ECHO_N "(cached) $ECHO_C" >&6
24072 ac_cpp='$CXXCPP $CPPFLAGS'
24073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24077 cat >conftest.$ac_ext <<_ACEOF
24080 cat confdefs.h >>conftest.$ac_ext
24081 cat >>conftest.$ac_ext <<_ACEOF
24082 /* end confdefs.h. */
24083 #include <typeinfo>
24084 class Base { public : Base () {} virtual void f () = 0; };
24085 class Derived : public Base { public : Derived () {} virtual void f () {} };
24086 int g (Derived&) { return 0; }
24091 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24096 rm -f conftest.$ac_objext
24097 if { (ac_try="$ac_compile"
24098 case "(($ac_try" in
24099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24100 *) ac_try_echo=$ac_try;;
24102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24103 (eval "$ac_compile") 2>conftest.er1
24105 grep -v '^ *+' conftest.er1 >conftest.err
24107 cat conftest.err >&5
24108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24109 (exit $ac_status); } && {
24110 test -z "$ac_cxx_werror_flag" ||
24111 test ! -s conftest.err
24112 } && test -s conftest.$ac_objext; then
24113 ac_cv_cxx_static_cast=yes
24115 echo "$as_me: failed program was:" >&5
24116 sed 's/^/| /' conftest.$ac_ext >&5
24118 ac_cv_cxx_static_cast=no
24121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24123 ac_cpp='$CPP $CPPFLAGS'
24124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24130 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24131 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24132 if test "$ac_cv_cxx_static_cast" = yes; then
24134 cat >>confdefs.h <<\_ACEOF
24135 #define HAVE_STATIC_CAST
24141 if test "x$SUNCXX" = xyes; then
24142 CXXFLAGS="-features=tmplife $CXXFLAGS"
24145 if test "x$SUNCC" = xyes; then
24146 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24149 if test "x$SGICC" = "xyes"; then
24150 CFLAGS="-woff 3970 $CFLAGS"
24152 if test "x$SGICXX" = "xyes"; then
24153 CXXFLAGS="-woff 3970 $CXXFLAGS"
24156 if test "x$HPCC" = "xyes"; then
24157 CFLAGS="+W 2011,2450 $CFLAGS"
24159 if test "x$HPCXX" = "xyes"; then
24160 CXXFLAGS="+W 2340 $CXXFLAGS"
24163 if test "x$COMPAQCXX" = "xyes"; then
24164 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24168 ac_cpp='$CXXCPP $CPPFLAGS'
24169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24174 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24175 if test "$wxUSE_UNICODE" = "yes"; then
24176 std_string="std::wstring"
24177 char_type="wchar_t"
24179 std_string="std::string"
24183 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24184 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24185 if test "${wx_cv_class_stdstring+set}" = set; then
24186 echo $ECHO_N "(cached) $ECHO_C" >&6
24189 cat >conftest.$ac_ext <<_ACEOF
24192 cat confdefs.h >>conftest.$ac_ext
24193 cat >>conftest.$ac_ext <<_ACEOF
24194 /* end confdefs.h. */
24204 rm -f conftest.$ac_objext
24205 if { (ac_try="$ac_compile"
24206 case "(($ac_try" in
24207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24208 *) ac_try_echo=$ac_try;;
24210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24211 (eval "$ac_compile") 2>conftest.er1
24213 grep -v '^ *+' conftest.er1 >conftest.err
24215 cat conftest.err >&5
24216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24217 (exit $ac_status); } && {
24218 test -z "$ac_cxx_werror_flag" ||
24219 test ! -s conftest.err
24220 } && test -s conftest.$ac_objext; then
24221 wx_cv_class_stdstring=yes
24223 echo "$as_me: failed program was:" >&5
24224 sed 's/^/| /' conftest.$ac_ext >&5
24226 wx_cv_class_stdstring=no
24230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24234 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24235 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24237 if test "$wx_cv_class_stdstring" = yes; then
24238 if test "$wxUSE_UNICODE" = "yes"; then
24239 cat >>confdefs.h <<\_ACEOF
24240 #define HAVE_STD_WSTRING 1
24245 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24246 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24247 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24248 echo $ECHO_N "(cached) $ECHO_C" >&6
24251 cat >conftest.$ac_ext <<_ACEOF
24254 cat confdefs.h >>conftest.$ac_ext
24255 cat >>conftest.$ac_ext <<_ACEOF
24256 /* end confdefs.h. */
24258 #ifdef HAVE_WCHAR_H
24260 # include <stddef.h>
24262 # include <wchar.h>
24264 #ifdef HAVE_STDLIB_H
24265 # include <stdlib.h>
24273 std::basic_string<$char_type> foo;
24274 const $char_type* dummy = foo.c_str();
24279 rm -f conftest.$ac_objext
24280 if { (ac_try="$ac_compile"
24281 case "(($ac_try" in
24282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24283 *) ac_try_echo=$ac_try;;
24285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24286 (eval "$ac_compile") 2>conftest.er1
24288 grep -v '^ *+' conftest.er1 >conftest.err
24290 cat conftest.err >&5
24291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24292 (exit $ac_status); } && {
24293 test -z "$ac_cxx_werror_flag" ||
24294 test ! -s conftest.err
24295 } && test -s conftest.$ac_objext; then
24296 wx_cv_class_stdbasicstring=yes
24298 echo "$as_me: failed program was:" >&5
24299 sed 's/^/| /' conftest.$ac_ext >&5
24301 wx_cv_class_stdbasicstring=no
24305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24309 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24310 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24312 if test "$wx_cv_class_stdbasicstring" != yes; then
24313 if test "$wxUSE_STL" = "yes"; then
24314 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24315 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24316 { (exit 1); exit 1; }; }
24317 elif test "$wxUSE_STD_STRING" = "yes"; then
24318 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24319 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24320 { (exit 1); exit 1; }; }
24322 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24323 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24324 wxUSE_STD_STRING=no
24330 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24331 { echo "$as_me:$LINENO: checking for std::istream" >&5
24332 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24333 if test "${ac_cv_type_std__istream+set}" = set; then
24334 echo $ECHO_N "(cached) $ECHO_C" >&6
24336 cat >conftest.$ac_ext <<_ACEOF
24339 cat confdefs.h >>conftest.$ac_ext
24340 cat >>conftest.$ac_ext <<_ACEOF
24341 /* end confdefs.h. */
24342 #include <iostream>
24344 typedef std::istream ac__type_new_;
24348 if ((ac__type_new_ *) 0)
24350 if (sizeof (ac__type_new_))
24356 rm -f conftest.$ac_objext
24357 if { (ac_try="$ac_compile"
24358 case "(($ac_try" in
24359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24360 *) ac_try_echo=$ac_try;;
24362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24363 (eval "$ac_compile") 2>conftest.er1
24365 grep -v '^ *+' conftest.er1 >conftest.err
24367 cat conftest.err >&5
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); } && {
24370 test -z "$ac_cxx_werror_flag" ||
24371 test ! -s conftest.err
24372 } && test -s conftest.$ac_objext; then
24373 ac_cv_type_std__istream=yes
24375 echo "$as_me: failed program was:" >&5
24376 sed 's/^/| /' conftest.$ac_ext >&5
24378 ac_cv_type_std__istream=no
24381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24383 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24384 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24385 if test $ac_cv_type_std__istream = yes; then
24387 cat >>confdefs.h <<_ACEOF
24388 #define HAVE_STD__ISTREAM 1
24393 wxUSE_STD_IOSTREAM=no
24395 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24396 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24397 if test "${ac_cv_type_std__ostream+set}" = set; then
24398 echo $ECHO_N "(cached) $ECHO_C" >&6
24400 cat >conftest.$ac_ext <<_ACEOF
24403 cat confdefs.h >>conftest.$ac_ext
24404 cat >>conftest.$ac_ext <<_ACEOF
24405 /* end confdefs.h. */
24406 #include <iostream>
24408 typedef std::ostream ac__type_new_;
24412 if ((ac__type_new_ *) 0)
24414 if (sizeof (ac__type_new_))
24420 rm -f conftest.$ac_objext
24421 if { (ac_try="$ac_compile"
24422 case "(($ac_try" in
24423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24424 *) ac_try_echo=$ac_try;;
24426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24427 (eval "$ac_compile") 2>conftest.er1
24429 grep -v '^ *+' conftest.er1 >conftest.err
24431 cat conftest.err >&5
24432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433 (exit $ac_status); } && {
24434 test -z "$ac_cxx_werror_flag" ||
24435 test ! -s conftest.err
24436 } && test -s conftest.$ac_objext; then
24437 ac_cv_type_std__ostream=yes
24439 echo "$as_me: failed program was:" >&5
24440 sed 's/^/| /' conftest.$ac_ext >&5
24442 ac_cv_type_std__ostream=no
24445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24447 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24448 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24449 if test $ac_cv_type_std__ostream = yes; then
24451 cat >>confdefs.h <<_ACEOF
24452 #define HAVE_STD__OSTREAM 1
24457 wxUSE_STD_IOSTREAM=no
24461 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24462 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24463 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24464 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24465 { (exit 1); exit 1; }; }
24467 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24468 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24473 if test "$wxUSE_STL" = "yes"; then
24474 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24475 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24476 if test "${wx_cv_lib_stl+set}" = set; then
24477 echo $ECHO_N "(cached) $ECHO_C" >&6
24479 cat >conftest.$ac_ext <<_ACEOF
24482 cat confdefs.h >>conftest.$ac_ext
24483 cat >>conftest.$ac_ext <<_ACEOF
24484 /* end confdefs.h. */
24486 #include <functional>
24487 #include <algorithm>
24493 std::vector<int> moo;
24494 std::list<int> foo;
24495 std::vector<int>::iterator it =
24496 std::find_if(moo.begin(), moo.end(),
24497 std::bind2nd(std::less<int>(), 3));
24502 rm -f conftest.$ac_objext
24503 if { (ac_try="$ac_compile"
24504 case "(($ac_try" in
24505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24506 *) ac_try_echo=$ac_try;;
24508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24509 (eval "$ac_compile") 2>conftest.er1
24511 grep -v '^ *+' conftest.er1 >conftest.err
24513 cat conftest.err >&5
24514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24515 (exit $ac_status); } && {
24516 test -z "$ac_cxx_werror_flag" ||
24517 test ! -s conftest.err
24518 } && test -s conftest.$ac_objext; then
24521 echo "$as_me: failed program was:" >&5
24522 sed 's/^/| /' conftest.$ac_ext >&5
24528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24531 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24532 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24534 if test "$wx_cv_lib_stl" != yes; then
24535 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24536 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24537 { (exit 1); exit 1; }; }
24540 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24541 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24542 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24543 echo $ECHO_N "(cached) $ECHO_C" >&6
24545 cat >conftest.$ac_ext <<_ACEOF
24548 cat confdefs.h >>conftest.$ac_ext
24549 cat >>conftest.$ac_ext <<_ACEOF
24550 /* end confdefs.h. */
24555 std::string foo, bar;
24557 foo.compare(1, 1, bar);
24558 foo.compare(1, 1, bar, 1, 1);
24560 foo.compare(1, 1, "");
24561 foo.compare(1, 1, "", 2);
24566 rm -f conftest.$ac_objext
24567 if { (ac_try="$ac_compile"
24568 case "(($ac_try" in
24569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24570 *) ac_try_echo=$ac_try;;
24572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24573 (eval "$ac_compile") 2>conftest.er1
24575 grep -v '^ *+' conftest.er1 >conftest.err
24577 cat conftest.err >&5
24578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24579 (exit $ac_status); } && {
24580 test -z "$ac_cxx_werror_flag" ||
24581 test ! -s conftest.err
24582 } && test -s conftest.$ac_objext; then
24583 wx_cv_func_stdstring_compare=yes
24585 echo "$as_me: failed program was:" >&5
24586 sed 's/^/| /' conftest.$ac_ext >&5
24588 wx_cv_func_stdstring_compare=no
24592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24595 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24596 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24598 if test "$wx_cv_func_stdstring_compare" = yes; then
24599 cat >>confdefs.h <<\_ACEOF
24600 #define HAVE_STD_STRING_COMPARE 1
24605 { echo "$as_me:$LINENO: checking for hash_map" >&5
24606 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24607 if test "${ac_cv_header_hash_map+set}" = set; then
24608 echo $ECHO_N "(cached) $ECHO_C" >&6
24610 cat >conftest.$ac_ext <<_ACEOF
24613 cat confdefs.h >>conftest.$ac_ext
24614 cat >>conftest.$ac_ext <<_ACEOF
24615 /* end confdefs.h. */
24619 #include <hash_map>
24621 rm -f conftest.$ac_objext
24622 if { (ac_try="$ac_compile"
24623 case "(($ac_try" in
24624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24625 *) ac_try_echo=$ac_try;;
24627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24628 (eval "$ac_compile") 2>conftest.er1
24630 grep -v '^ *+' conftest.er1 >conftest.err
24632 cat conftest.err >&5
24633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24634 (exit $ac_status); } && {
24635 test -z "$ac_cxx_werror_flag" ||
24636 test ! -s conftest.err
24637 } && test -s conftest.$ac_objext; then
24638 ac_cv_header_hash_map=yes
24640 echo "$as_me: failed program was:" >&5
24641 sed 's/^/| /' conftest.$ac_ext >&5
24643 ac_cv_header_hash_map=no
24646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24648 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24649 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24650 if test $ac_cv_header_hash_map = yes; then
24651 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24652 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24653 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24654 echo $ECHO_N "(cached) $ECHO_C" >&6
24656 cat >conftest.$ac_ext <<_ACEOF
24659 cat confdefs.h >>conftest.$ac_ext
24660 cat >>conftest.$ac_ext <<_ACEOF
24661 /* end confdefs.h. */
24662 #include <hash_map>
24663 #include <hash_set>
24667 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24668 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24673 rm -f conftest.$ac_objext
24674 if { (ac_try="$ac_compile"
24675 case "(($ac_try" in
24676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24677 *) ac_try_echo=$ac_try;;
24679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24680 (eval "$ac_compile") 2>conftest.er1
24682 grep -v '^ *+' conftest.er1 >conftest.err
24684 cat conftest.err >&5
24685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686 (exit $ac_status); } && {
24687 test -z "$ac_cxx_werror_flag" ||
24688 test ! -s conftest.err
24689 } && test -s conftest.$ac_objext; then
24690 wx_cv_class_stdhashmapset=yes
24692 echo "$as_me: failed program was:" >&5
24693 sed 's/^/| /' conftest.$ac_ext >&5
24695 wx_cv_class_stdhashmapset=no
24698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24702 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24703 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24708 if test "$wx_cv_class_stdhashmapset" = yes; then
24709 cat >>confdefs.h <<\_ACEOF
24710 #define HAVE_HASH_MAP 1
24713 cat >>confdefs.h <<\_ACEOF
24714 #define HAVE_STD_HASH_MAP 1
24719 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24720 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24721 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24722 echo $ECHO_N "(cached) $ECHO_C" >&6
24724 cat >conftest.$ac_ext <<_ACEOF
24727 cat confdefs.h >>conftest.$ac_ext
24728 cat >>conftest.$ac_ext <<_ACEOF
24729 /* end confdefs.h. */
24733 #include <ext/hash_map>
24735 rm -f conftest.$ac_objext
24736 if { (ac_try="$ac_compile"
24737 case "(($ac_try" in
24738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24739 *) ac_try_echo=$ac_try;;
24741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24742 (eval "$ac_compile") 2>conftest.er1
24744 grep -v '^ *+' conftest.er1 >conftest.err
24746 cat conftest.err >&5
24747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24748 (exit $ac_status); } && {
24749 test -z "$ac_cxx_werror_flag" ||
24750 test ! -s conftest.err
24751 } && test -s conftest.$ac_objext; then
24752 ac_cv_header_ext_hash_map=yes
24754 echo "$as_me: failed program was:" >&5
24755 sed 's/^/| /' conftest.$ac_ext >&5
24757 ac_cv_header_ext_hash_map=no
24760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24762 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24763 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24764 if test $ac_cv_header_ext_hash_map = yes; then
24765 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24766 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24767 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24768 echo $ECHO_N "(cached) $ECHO_C" >&6
24770 cat >conftest.$ac_ext <<_ACEOF
24773 cat confdefs.h >>conftest.$ac_ext
24774 cat >>conftest.$ac_ext <<_ACEOF
24775 /* end confdefs.h. */
24776 #include <ext/hash_map>
24777 #include <ext/hash_set>
24781 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24782 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24787 rm -f conftest.$ac_objext
24788 if { (ac_try="$ac_compile"
24789 case "(($ac_try" in
24790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24791 *) ac_try_echo=$ac_try;;
24793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24794 (eval "$ac_compile") 2>conftest.er1
24796 grep -v '^ *+' conftest.er1 >conftest.err
24798 cat conftest.err >&5
24799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24800 (exit $ac_status); } && {
24801 test -z "$ac_cxx_werror_flag" ||
24802 test ! -s conftest.err
24803 } && test -s conftest.$ac_objext; then
24804 wx_cv_class_gnuhashmapset=yes
24806 echo "$as_me: failed program was:" >&5
24807 sed 's/^/| /' conftest.$ac_ext >&5
24809 wx_cv_class_gnuhashmapset=no
24812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24816 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24817 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24822 if test "$wx_cv_class_gnuhashmapset" = yes; then
24823 cat >>confdefs.h <<\_ACEOF
24824 #define HAVE_EXT_HASH_MAP 1
24827 cat >>confdefs.h <<\_ACEOF
24828 #define HAVE_GNU_CXX_HASH_MAP 1
24836 if test -n "$GCC"; then
24837 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
24838 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
24839 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24840 echo $ECHO_N "(cached) $ECHO_C" >&6
24843 cat >conftest.$ac_ext <<_ACEOF
24846 cat confdefs.h >>conftest.$ac_ext
24847 cat >>conftest.$ac_ext <<_ACEOF
24848 /* end confdefs.h. */
24854 unsigned int value=0;
24855 /* wxAtomicInc doesn't use return value here */
24856 __sync_fetch_and_add(&value, 2);
24857 __sync_sub_and_fetch(&value, 1);
24858 /* but wxAtomicDec does, so mimic that: */
24859 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
24865 rm -f conftest.$ac_objext conftest$ac_exeext
24866 if { (ac_try="$ac_link"
24867 case "(($ac_try" in
24868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24869 *) ac_try_echo=$ac_try;;
24871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24872 (eval "$ac_link") 2>conftest.er1
24874 grep -v '^ *+' conftest.er1 >conftest.err
24876 cat conftest.err >&5
24877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24878 (exit $ac_status); } && {
24879 test -z "$ac_cxx_werror_flag" ||
24880 test ! -s conftest.err
24881 } && test -s conftest$ac_exeext &&
24882 $as_test_x conftest$ac_exeext; then
24883 wx_cv_cc_gcc_atomic_builtins=yes
24885 echo "$as_me: failed program was:" >&5
24886 sed 's/^/| /' conftest.$ac_ext >&5
24888 wx_cv_cc_gcc_atomic_builtins=no
24891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24892 conftest$ac_exeext conftest.$ac_ext
24896 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24897 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24898 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24899 cat >>confdefs.h <<\_ACEOF
24900 #define HAVE_GCC_ATOMIC_BUILTINS 1
24908 ac_cpp='$CPP $CPPFLAGS'
24909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24916 /usr/local/include \
24918 /usr/Motif-2.1/include \
24919 /usr/Motif-1.2/include \
24920 /usr/include/Motif1.2 \
24923 /usr/openwin/include \
24927 /usr/X11R6/include \
24928 /usr/X11R6.4/include \
24929 /usr/X11R5/include \
24930 /usr/X11R4/include \
24932 /usr/include/X11R6 \
24933 /usr/include/X11R5 \
24934 /usr/include/X11R4 \
24936 /usr/local/X11R6/include \
24937 /usr/local/X11R5/include \
24938 /usr/local/X11R4/include \
24940 /usr/local/include/X11R6 \
24941 /usr/local/include/X11R5 \
24942 /usr/local/include/X11R4 \
24946 /usr/local/X11/include \
24947 /usr/local/include/X11 \
24949 /usr/XFree86/include/X11 \
24952 /usr/openwin/share/include"
24954 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24955 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24959 if test "${wx_cv_std_libpath+set}" = set; then
24960 echo $ECHO_N "(cached) $ECHO_C" >&6
24963 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24964 for e in a so sl dylib dll.a; do
24966 if test -f $libc; then
24969 cat >conftest.$ac_ext <<_ACEOF
24970 int main() { return 0; }
24972 rm -f conftest.$ac_objext conftest$ac_exeext
24973 if { (ac_try="$ac_link"
24974 case "(($ac_try" in
24975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24976 *) ac_try_echo=$ac_try;;
24978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24979 (eval "$ac_link") 2>conftest.er1
24981 grep -v '^ *+' conftest.er1 >conftest.err
24983 cat conftest.err >&5
24984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24985 (exit $ac_status); } && {
24986 test -z "$ac_c_werror_flag" ||
24987 test ! -s conftest.err
24988 } && test -s conftest$ac_exeext &&
24989 $as_test_x conftest$ac_exeext; then
24990 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24992 echo "$as_me: failed program was:" >&5
24993 sed 's/^/| /' conftest.$ac_ext >&5
24998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24999 conftest$ac_exeext conftest.$ac_ext
25001 if test "x$wx_cv_std_libpath" != "x"; then
25007 if test "x$wx_cv_std_libpath" = "x"; then
25008 wx_cv_std_libpath="lib"
25017 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25018 wx_cv_std_libpath="lib/64"
25020 wx_cv_std_libpath="lib"
25025 if test "$ac_cv_sizeof_void_p" = 8 -a \
25026 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25027 wx_cv_std_libpath="lib64"
25029 wx_cv_std_libpath="lib"
25034 wx_cv_std_libpath="lib";
25038 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25039 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25041 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25043 if test "$build" != "$host" -a "$GCC" = yes; then
25044 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25045 cross_root=`dirname $cross_root`
25046 cross_root=`dirname $cross_root`
25048 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25049 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25050 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25052 if test -z "$PKG_CONFIG_PATH"; then
25053 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25054 export PKG_CONFIG_PATH
25057 if test -z "$x_includes" -o "$x_includes" = NONE; then
25060 for ac_dir in $SEARCH_INCLUDE /usr/include;
25062 if test -f "$ac_dir/X11/Intrinsic.h"; then
25063 ac_find_includes=$ac_dir
25068 x_includes=$ac_find_includes
25070 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25073 for ac_dir in $SEARCH_LIB;
25075 for ac_extension in a so sl dylib dll.a; do
25076 if test -f "$ac_dir/libXt.$ac_extension"; then
25077 ac_find_libraries=$ac_dir
25083 x_libraries=$ac_find_libraries
25089 cat >confcache <<\_ACEOF
25090 # This file is a shell script that caches the results of configure
25091 # tests run on this system so they can be shared between configure
25092 # scripts and configure runs, see configure's option --config-cache.
25093 # It is not useful on other systems. If it contains results you don't
25094 # want to keep, you may remove or edit it.
25096 # config.status only pays attention to the cache file if you give it
25097 # the --recheck option to rerun configure.
25099 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25100 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25101 # following values.
25105 # The following way of writing the cache mishandles newlines in values,
25106 # but we know of no workaround that is simple, portable, and efficient.
25107 # So, we kill variables containing newlines.
25108 # Ultrix sh set writes to stderr and can't be redirected directly,
25109 # and sets the high bit in the cache file unless we assign to the vars.
25111 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25112 eval ac_val=\$$ac_var
25116 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25117 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25120 _ | IFS | as_nl) ;; #(
25121 *) $as_unset $ac_var ;;
25127 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25128 *${as_nl}ac_space=\ *)
25129 # `set' does not quote correctly, so add quotes (double-quote
25130 # substitution turns \\\\ into \\, and sed turns \\ into \).
25133 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25136 # `set' quotes correctly as required by POSIX, so do not add quotes.
25137 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25146 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25148 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25150 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25151 if test -w "$cache_file"; then
25152 test "x$cache_file" != "x/dev/null" &&
25153 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25154 echo "$as_me: updating cache $cache_file" >&6;}
25155 cat confcache >$cache_file
25157 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25158 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25163 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25164 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25165 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25166 if test "${wx_cv_lib_glibc21+set}" = set; then
25167 echo $ECHO_N "(cached) $ECHO_C" >&6
25170 cat >conftest.$ac_ext <<_ACEOF
25173 cat confdefs.h >>conftest.$ac_ext
25174 cat >>conftest.$ac_ext <<_ACEOF
25175 /* end confdefs.h. */
25176 #include <features.h>
25181 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25189 rm -f conftest.$ac_objext
25190 if { (ac_try="$ac_compile"
25191 case "(($ac_try" in
25192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25193 *) ac_try_echo=$ac_try;;
25195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25196 (eval "$ac_compile") 2>conftest.er1
25198 grep -v '^ *+' conftest.er1 >conftest.err
25200 cat conftest.err >&5
25201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25202 (exit $ac_status); } && {
25203 test -z "$ac_c_werror_flag" ||
25204 test ! -s conftest.err
25205 } && test -s conftest.$ac_objext; then
25207 wx_cv_lib_glibc21=yes
25210 echo "$as_me: failed program was:" >&5
25211 sed 's/^/| /' conftest.$ac_ext >&5
25214 wx_cv_lib_glibc21=no
25219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25222 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25223 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25224 if test "$wx_cv_lib_glibc21" = "yes"; then
25225 cat >>confdefs.h <<\_ACEOF
25226 #define wxHAVE_GLIBC2 1
25232 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25233 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25234 cat >>confdefs.h <<\_ACEOF
25235 #define _GNU_SOURCE 1
25246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25247 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25249 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25250 echo $ECHO_N "(cached) $ECHO_C" >&6
25252 cat >conftest.$ac_ext <<_ACEOF
25255 cat confdefs.h >>conftest.$ac_ext
25256 cat >>conftest.$ac_ext <<_ACEOF
25257 /* end confdefs.h. */
25258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25260 #define $ac_func innocuous_$ac_func
25262 /* System header to define __stub macros and hopefully few prototypes,
25263 which can conflict with char $ac_func (); below.
25264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25265 <limits.h> exists even on freestanding compilers. */
25268 # include <limits.h>
25270 # include <assert.h>
25275 /* Override any GCC internal prototype to avoid an error.
25276 Use char because int might match the return type of a GCC
25277 builtin and then its argument prototype would still apply. */
25282 /* The GNU C library defines this for functions which it implements
25283 to always fail with ENOSYS. Some functions are actually named
25284 something starting with __ and the normal name is an alias. */
25285 #if defined __stub_$ac_func || defined __stub___$ac_func
25292 return $ac_func ();
25297 rm -f conftest.$ac_objext conftest$ac_exeext
25298 if { (ac_try="$ac_link"
25299 case "(($ac_try" in
25300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25301 *) ac_try_echo=$ac_try;;
25303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25304 (eval "$ac_link") 2>conftest.er1
25306 grep -v '^ *+' conftest.er1 >conftest.err
25308 cat conftest.err >&5
25309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25310 (exit $ac_status); } && {
25311 test -z "$ac_c_werror_flag" ||
25312 test ! -s conftest.err
25313 } && test -s conftest$ac_exeext &&
25314 $as_test_x conftest$ac_exeext; then
25315 eval "$as_ac_var=yes"
25317 echo "$as_me: failed program was:" >&5
25318 sed 's/^/| /' conftest.$ac_ext >&5
25320 eval "$as_ac_var=no"
25323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25324 conftest$ac_exeext conftest.$ac_ext
25326 ac_res=`eval echo '${'$as_ac_var'}'`
25327 { echo "$as_me:$LINENO: result: $ac_res" >&5
25328 echo "${ECHO_T}$ac_res" >&6; }
25329 if test `eval echo '${'$as_ac_var'}'` = yes; then
25330 cat >>confdefs.h <<_ACEOF
25331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25338 for ac_func in floor
25340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25341 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25343 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25344 echo $ECHO_N "(cached) $ECHO_C" >&6
25346 cat >conftest.$ac_ext <<_ACEOF
25349 cat confdefs.h >>conftest.$ac_ext
25350 cat >>conftest.$ac_ext <<_ACEOF
25351 /* end confdefs.h. */
25352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25354 #define $ac_func innocuous_$ac_func
25356 /* System header to define __stub macros and hopefully few prototypes,
25357 which can conflict with char $ac_func (); below.
25358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25359 <limits.h> exists even on freestanding compilers. */
25362 # include <limits.h>
25364 # include <assert.h>
25369 /* Override any GCC internal prototype to avoid an error.
25370 Use char because int might match the return type of a GCC
25371 builtin and then its argument prototype would still apply. */
25376 /* The GNU C library defines this for functions which it implements
25377 to always fail with ENOSYS. Some functions are actually named
25378 something starting with __ and the normal name is an alias. */
25379 #if defined __stub_$ac_func || defined __stub___$ac_func
25386 return $ac_func ();
25391 rm -f conftest.$ac_objext conftest$ac_exeext
25392 if { (ac_try="$ac_link"
25393 case "(($ac_try" in
25394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25395 *) ac_try_echo=$ac_try;;
25397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25398 (eval "$ac_link") 2>conftest.er1
25400 grep -v '^ *+' conftest.er1 >conftest.err
25402 cat conftest.err >&5
25403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25404 (exit $ac_status); } && {
25405 test -z "$ac_c_werror_flag" ||
25406 test ! -s conftest.err
25407 } && test -s conftest$ac_exeext &&
25408 $as_test_x conftest$ac_exeext; then
25409 eval "$as_ac_var=yes"
25411 echo "$as_me: failed program was:" >&5
25412 sed 's/^/| /' conftest.$ac_ext >&5
25414 eval "$as_ac_var=no"
25417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25418 conftest$ac_exeext conftest.$ac_ext
25420 ac_res=`eval echo '${'$as_ac_var'}'`
25421 { echo "$as_me:$LINENO: result: $ac_res" >&5
25422 echo "${ECHO_T}$ac_res" >&6; }
25423 if test `eval echo '${'$as_ac_var'}'` = yes; then
25424 cat >>confdefs.h <<_ACEOF
25425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25431 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25432 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25433 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25434 { echo "$as_me:$LINENO: result: yes" >&5
25435 echo "${ECHO_T}yes" >&6; }
25437 { echo "$as_me:$LINENO: result: no" >&5
25438 echo "${ECHO_T}no" >&6; }
25440 # use different functions to avoid configure caching
25446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25447 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25449 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25450 echo $ECHO_N "(cached) $ECHO_C" >&6
25452 cat >conftest.$ac_ext <<_ACEOF
25455 cat confdefs.h >>conftest.$ac_ext
25456 cat >>conftest.$ac_ext <<_ACEOF
25457 /* end confdefs.h. */
25458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25460 #define $ac_func innocuous_$ac_func
25462 /* System header to define __stub macros and hopefully few prototypes,
25463 which can conflict with char $ac_func (); below.
25464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25465 <limits.h> exists even on freestanding compilers. */
25468 # include <limits.h>
25470 # include <assert.h>
25475 /* Override any GCC internal prototype to avoid an error.
25476 Use char because int might match the return type of a GCC
25477 builtin and then its argument prototype would still apply. */
25482 /* The GNU C library defines this for functions which it implements
25483 to always fail with ENOSYS. Some functions are actually named
25484 something starting with __ and the normal name is an alias. */
25485 #if defined __stub_$ac_func || defined __stub___$ac_func
25492 return $ac_func ();
25497 rm -f conftest.$ac_objext conftest$ac_exeext
25498 if { (ac_try="$ac_link"
25499 case "(($ac_try" in
25500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25501 *) ac_try_echo=$ac_try;;
25503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25504 (eval "$ac_link") 2>conftest.er1
25506 grep -v '^ *+' conftest.er1 >conftest.err
25508 cat conftest.err >&5
25509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25510 (exit $ac_status); } && {
25511 test -z "$ac_c_werror_flag" ||
25512 test ! -s conftest.err
25513 } && test -s conftest$ac_exeext &&
25514 $as_test_x conftest$ac_exeext; then
25515 eval "$as_ac_var=yes"
25517 echo "$as_me: failed program was:" >&5
25518 sed 's/^/| /' conftest.$ac_ext >&5
25520 eval "$as_ac_var=no"
25523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25524 conftest$ac_exeext conftest.$ac_ext
25526 ac_res=`eval echo '${'$as_ac_var'}'`
25527 { echo "$as_me:$LINENO: result: $ac_res" >&5
25528 echo "${ECHO_T}$ac_res" >&6; }
25529 if test `eval echo '${'$as_ac_var'}'` = yes; then
25530 cat >>confdefs.h <<_ACEOF
25531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25538 for ac_func in ceil
25540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25541 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25543 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25544 echo $ECHO_N "(cached) $ECHO_C" >&6
25546 cat >conftest.$ac_ext <<_ACEOF
25549 cat confdefs.h >>conftest.$ac_ext
25550 cat >>conftest.$ac_ext <<_ACEOF
25551 /* end confdefs.h. */
25552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25554 #define $ac_func innocuous_$ac_func
25556 /* System header to define __stub macros and hopefully few prototypes,
25557 which can conflict with char $ac_func (); below.
25558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25559 <limits.h> exists even on freestanding compilers. */
25562 # include <limits.h>
25564 # include <assert.h>
25569 /* Override any GCC internal prototype to avoid an error.
25570 Use char because int might match the return type of a GCC
25571 builtin and then its argument prototype would still apply. */
25576 /* The GNU C library defines this for functions which it implements
25577 to always fail with ENOSYS. Some functions are actually named
25578 something starting with __ and the normal name is an alias. */
25579 #if defined __stub_$ac_func || defined __stub___$ac_func
25586 return $ac_func ();
25591 rm -f conftest.$ac_objext conftest$ac_exeext
25592 if { (ac_try="$ac_link"
25593 case "(($ac_try" in
25594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25595 *) ac_try_echo=$ac_try;;
25597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25598 (eval "$ac_link") 2>conftest.er1
25600 grep -v '^ *+' conftest.er1 >conftest.err
25602 cat conftest.err >&5
25603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25604 (exit $ac_status); } && {
25605 test -z "$ac_c_werror_flag" ||
25606 test ! -s conftest.err
25607 } && test -s conftest$ac_exeext &&
25608 $as_test_x conftest$ac_exeext; then
25609 eval "$as_ac_var=yes"
25611 echo "$as_me: failed program was:" >&5
25612 sed 's/^/| /' conftest.$ac_ext >&5
25614 eval "$as_ac_var=no"
25617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25618 conftest$ac_exeext conftest.$ac_ext
25620 ac_res=`eval echo '${'$as_ac_var'}'`
25621 { echo "$as_me:$LINENO: result: $ac_res" >&5
25622 echo "${ECHO_T}$ac_res" >&6; }
25623 if test `eval echo '${'$as_ac_var'}'` = yes; then
25624 cat >>confdefs.h <<_ACEOF
25625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25631 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25632 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25633 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25634 { echo "$as_me:$LINENO: result: yes" >&5
25635 echo "${ECHO_T}yes" >&6; }
25637 { echo "$as_me:$LINENO: result: no" >&5
25638 echo "${ECHO_T}no" >&6; }
25639 # not sure we should warn the user, crash, etc.
25644 ac_cpp='$CXXCPP $CPPFLAGS'
25645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25649 if test "wxUSE_UNICODE" = "yes"; then
25651 for wx_func in wcstoull
25653 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25654 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25655 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25656 echo $ECHO_N "(cached) $ECHO_C" >&6
25659 cat >conftest.$ac_ext <<_ACEOF
25663 cat confdefs.h >>conftest.$ac_ext
25664 cat >>conftest.$ac_ext <<_ACEOF
25665 /* end confdefs.h. */
25668 $ac_includes_default
25684 rm -f conftest.$ac_objext conftest$ac_exeext
25685 if { (ac_try="$ac_link"
25686 case "(($ac_try" in
25687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25688 *) ac_try_echo=$ac_try;;
25690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25691 (eval "$ac_link") 2>conftest.er1
25693 grep -v '^ *+' conftest.er1 >conftest.err
25695 cat conftest.err >&5
25696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25697 (exit $ac_status); } && {
25698 test -z "$ac_cxx_werror_flag" ||
25699 test ! -s conftest.err
25700 } && test -s conftest$ac_exeext &&
25701 $as_test_x conftest$ac_exeext; then
25702 eval wx_cv_func_$wx_func=yes
25704 echo "$as_me: failed program was:" >&5
25705 sed 's/^/| /' conftest.$ac_ext >&5
25707 eval wx_cv_func_$wx_func=no
25710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25711 conftest$ac_exeext conftest.$ac_ext
25714 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25715 { echo "$as_me:$LINENO: result: $ac_res" >&5
25716 echo "${ECHO_T}$ac_res" >&6; }
25718 if eval test \$wx_cv_func_$wx_func = yes
25720 cat >>confdefs.h <<_ACEOF
25721 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25733 for wx_func in strtoull
25735 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25736 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25737 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25738 echo $ECHO_N "(cached) $ECHO_C" >&6
25741 cat >conftest.$ac_ext <<_ACEOF
25745 cat confdefs.h >>conftest.$ac_ext
25746 cat >>conftest.$ac_ext <<_ACEOF
25747 /* end confdefs.h. */
25750 $ac_includes_default
25766 rm -f conftest.$ac_objext conftest$ac_exeext
25767 if { (ac_try="$ac_link"
25768 case "(($ac_try" in
25769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25770 *) ac_try_echo=$ac_try;;
25772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25773 (eval "$ac_link") 2>conftest.er1
25775 grep -v '^ *+' conftest.er1 >conftest.err
25777 cat conftest.err >&5
25778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25779 (exit $ac_status); } && {
25780 test -z "$ac_cxx_werror_flag" ||
25781 test ! -s conftest.err
25782 } && test -s conftest$ac_exeext &&
25783 $as_test_x conftest$ac_exeext; then
25784 eval wx_cv_func_$wx_func=yes
25786 echo "$as_me: failed program was:" >&5
25787 sed 's/^/| /' conftest.$ac_ext >&5
25789 eval wx_cv_func_$wx_func=no
25792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25793 conftest$ac_exeext conftest.$ac_ext
25796 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25797 { echo "$as_me:$LINENO: result: $ac_res" >&5
25798 echo "${ECHO_T}$ac_res" >&6; }
25800 if eval test \$wx_cv_func_$wx_func = yes
25802 cat >>confdefs.h <<_ACEOF
25803 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25815 ac_cpp='$CPP $CPPFLAGS'
25816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25823 if test "$wxUSE_REGEX" != "no"; then
25824 cat >>confdefs.h <<\_ACEOF
25825 #define wxUSE_REGEX 1
25829 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25830 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25831 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25832 wxUSE_REGEX=builtin
25835 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25836 { echo "$as_me:$LINENO: checking for regex.h" >&5
25837 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25838 if test "${ac_cv_header_regex_h+set}" = set; then
25839 echo $ECHO_N "(cached) $ECHO_C" >&6
25841 cat >conftest.$ac_ext <<_ACEOF
25844 cat confdefs.h >>conftest.$ac_ext
25845 cat >>conftest.$ac_ext <<_ACEOF
25846 /* end confdefs.h. */
25851 rm -f conftest.$ac_objext
25852 if { (ac_try="$ac_compile"
25853 case "(($ac_try" in
25854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25855 *) ac_try_echo=$ac_try;;
25857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25858 (eval "$ac_compile") 2>conftest.er1
25860 grep -v '^ *+' conftest.er1 >conftest.err
25862 cat conftest.err >&5
25863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25864 (exit $ac_status); } && {
25865 test -z "$ac_c_werror_flag" ||
25866 test ! -s conftest.err
25867 } && test -s conftest.$ac_objext; then
25868 ac_cv_header_regex_h=yes
25870 echo "$as_me: failed program was:" >&5
25871 sed 's/^/| /' conftest.$ac_ext >&5
25873 ac_cv_header_regex_h=no
25876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25878 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25879 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25880 if test $ac_cv_header_regex_h = yes; then
25883 for ac_func in regcomp re_search
25885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25886 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25888 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25889 echo $ECHO_N "(cached) $ECHO_C" >&6
25891 cat >conftest.$ac_ext <<_ACEOF
25894 cat confdefs.h >>conftest.$ac_ext
25895 cat >>conftest.$ac_ext <<_ACEOF
25896 /* end confdefs.h. */
25897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25899 #define $ac_func innocuous_$ac_func
25901 /* System header to define __stub macros and hopefully few prototypes,
25902 which can conflict with char $ac_func (); below.
25903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25904 <limits.h> exists even on freestanding compilers. */
25907 # include <limits.h>
25909 # include <assert.h>
25914 /* Override any GCC internal prototype to avoid an error.
25915 Use char because int might match the return type of a GCC
25916 builtin and then its argument prototype would still apply. */
25921 /* The GNU C library defines this for functions which it implements
25922 to always fail with ENOSYS. Some functions are actually named
25923 something starting with __ and the normal name is an alias. */
25924 #if defined __stub_$ac_func || defined __stub___$ac_func
25931 return $ac_func ();
25936 rm -f conftest.$ac_objext conftest$ac_exeext
25937 if { (ac_try="$ac_link"
25938 case "(($ac_try" in
25939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25940 *) ac_try_echo=$ac_try;;
25942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25943 (eval "$ac_link") 2>conftest.er1
25945 grep -v '^ *+' conftest.er1 >conftest.err
25947 cat conftest.err >&5
25948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25949 (exit $ac_status); } && {
25950 test -z "$ac_c_werror_flag" ||
25951 test ! -s conftest.err
25952 } && test -s conftest$ac_exeext &&
25953 $as_test_x conftest$ac_exeext; then
25954 eval "$as_ac_var=yes"
25956 echo "$as_me: failed program was:" >&5
25957 sed 's/^/| /' conftest.$ac_ext >&5
25959 eval "$as_ac_var=no"
25962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25963 conftest$ac_exeext conftest.$ac_ext
25965 ac_res=`eval echo '${'$as_ac_var'}'`
25966 { echo "$as_me:$LINENO: result: $ac_res" >&5
25967 echo "${ECHO_T}$ac_res" >&6; }
25968 if test `eval echo '${'$as_ac_var'}'` = yes; then
25969 cat >>confdefs.h <<_ACEOF
25970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25980 if test "x$ac_cv_func_regcomp" != "xyes"; then
25981 if test "$wxUSE_REGEX" = "sys" ; then
25982 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25983 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25984 { (exit 1); exit 1; }; }
25986 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25987 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25988 wxUSE_REGEX=builtin
25992 cat >>confdefs.h <<\_ACEOF
25993 #define WX_NO_REGEX_ADVANCED 1
26002 if test "$wxUSE_ZLIB" != "no" ; then
26003 cat >>confdefs.h <<\_ACEOF
26004 #define wxUSE_ZLIB 1
26008 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26009 if test "$USE_DARWIN" = 1; then
26010 system_zlib_h_ok="yes"
26012 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26013 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26014 if test "${ac_cv_header_zlib_h+set}" = set; then
26015 echo $ECHO_N "(cached) $ECHO_C" >&6
26017 if test "$cross_compiling" = yes; then
26018 unset ac_cv_header_zlib_h
26021 cat >conftest.$ac_ext <<_ACEOF
26024 cat confdefs.h >>conftest.$ac_ext
26025 cat >>conftest.$ac_ext <<_ACEOF
26026 /* end confdefs.h. */
26033 FILE *f=fopen("conftestval", "w");
26036 ZLIB_VERSION[0] == '1' &&
26037 (ZLIB_VERSION[2] > '1' ||
26038 (ZLIB_VERSION[2] == '1' &&
26039 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26044 rm -f conftest$ac_exeext
26045 if { (ac_try="$ac_link"
26046 case "(($ac_try" in
26047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26048 *) ac_try_echo=$ac_try;;
26050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26051 (eval "$ac_link") 2>&5
26053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26055 { (case "(($ac_try" in
26056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26057 *) ac_try_echo=$ac_try;;
26059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26060 (eval "$ac_try") 2>&5
26062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26063 (exit $ac_status); }; }; then
26064 ac_cv_header_zlib_h=`cat conftestval`
26066 echo "$as_me: program exited with status $ac_status" >&5
26067 echo "$as_me: failed program was:" >&5
26068 sed 's/^/| /' conftest.$ac_ext >&5
26070 ( exit $ac_status )
26071 ac_cv_header_zlib_h=no
26073 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26079 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26080 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26081 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26082 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26083 if test "${ac_cv_header_zlib_h+set}" = set; then
26084 echo $ECHO_N "(cached) $ECHO_C" >&6
26086 cat >conftest.$ac_ext <<_ACEOF
26089 cat confdefs.h >>conftest.$ac_ext
26090 cat >>conftest.$ac_ext <<_ACEOF
26091 /* end confdefs.h. */
26096 rm -f conftest.$ac_objext
26097 if { (ac_try="$ac_compile"
26098 case "(($ac_try" in
26099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26100 *) ac_try_echo=$ac_try;;
26102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26103 (eval "$ac_compile") 2>conftest.er1
26105 grep -v '^ *+' conftest.er1 >conftest.err
26107 cat conftest.err >&5
26108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109 (exit $ac_status); } && {
26110 test -z "$ac_c_werror_flag" ||
26111 test ! -s conftest.err
26112 } && test -s conftest.$ac_objext; then
26113 ac_cv_header_zlib_h=yes
26115 echo "$as_me: failed program was:" >&5
26116 sed 's/^/| /' conftest.$ac_ext >&5
26118 ac_cv_header_zlib_h=no
26121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26123 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26124 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26128 system_zlib_h_ok=$ac_cv_header_zlib_h
26131 if test "$system_zlib_h_ok" = "yes"; then
26132 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26133 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26134 if test "${ac_cv_lib_z_deflate+set}" = set; then
26135 echo $ECHO_N "(cached) $ECHO_C" >&6
26137 ac_check_lib_save_LIBS=$LIBS
26139 cat >conftest.$ac_ext <<_ACEOF
26142 cat confdefs.h >>conftest.$ac_ext
26143 cat >>conftest.$ac_ext <<_ACEOF
26144 /* end confdefs.h. */
26146 /* Override any GCC internal prototype to avoid an error.
26147 Use char because int might match the return type of a GCC
26148 builtin and then its argument prototype would still apply. */
26161 rm -f conftest.$ac_objext conftest$ac_exeext
26162 if { (ac_try="$ac_link"
26163 case "(($ac_try" in
26164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26165 *) ac_try_echo=$ac_try;;
26167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26168 (eval "$ac_link") 2>conftest.er1
26170 grep -v '^ *+' conftest.er1 >conftest.err
26172 cat conftest.err >&5
26173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26174 (exit $ac_status); } && {
26175 test -z "$ac_c_werror_flag" ||
26176 test ! -s conftest.err
26177 } && test -s conftest$ac_exeext &&
26178 $as_test_x conftest$ac_exeext; then
26179 ac_cv_lib_z_deflate=yes
26181 echo "$as_me: failed program was:" >&5
26182 sed 's/^/| /' conftest.$ac_ext >&5
26184 ac_cv_lib_z_deflate=no
26187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26188 conftest$ac_exeext conftest.$ac_ext
26189 LIBS=$ac_check_lib_save_LIBS
26191 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26192 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26193 if test $ac_cv_lib_z_deflate = yes; then
26199 if test "x$ZLIB_LINK" = "x" ; then
26200 if test "$wxUSE_ZLIB" = "sys" ; then
26201 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26202 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26203 { (exit 1); exit 1; }; }
26205 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26206 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26217 if test "$wxUSE_LIBPNG" != "no" ; then
26218 cat >>confdefs.h <<\_ACEOF
26219 #define wxUSE_LIBPNG 1
26223 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26224 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26225 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26229 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26230 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26231 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26232 wxUSE_LIBPNG=builtin
26235 if test "$wxUSE_MGL" != 1 ; then
26236 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26237 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26238 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26239 if test "${ac_cv_header_png_h+set}" = set; then
26240 echo $ECHO_N "(cached) $ECHO_C" >&6
26242 if test "$cross_compiling" = yes; then
26243 unset ac_cv_header_png_h
26246 cat >conftest.$ac_ext <<_ACEOF
26249 cat confdefs.h >>conftest.$ac_ext
26250 cat >>conftest.$ac_ext <<_ACEOF
26251 /* end confdefs.h. */
26258 FILE *f=fopen("conftestval", "w");
26261 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26266 rm -f conftest$ac_exeext
26267 if { (ac_try="$ac_link"
26268 case "(($ac_try" in
26269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26270 *) ac_try_echo=$ac_try;;
26272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26273 (eval "$ac_link") 2>&5
26275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26276 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26277 { (case "(($ac_try" in
26278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26279 *) ac_try_echo=$ac_try;;
26281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26282 (eval "$ac_try") 2>&5
26284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26285 (exit $ac_status); }; }; then
26286 ac_cv_header_png_h=`cat conftestval`
26288 echo "$as_me: program exited with status $ac_status" >&5
26289 echo "$as_me: failed program was:" >&5
26290 sed 's/^/| /' conftest.$ac_ext >&5
26292 ( exit $ac_status )
26293 ac_cv_header_png_h=no
26295 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26301 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26302 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26303 { echo "$as_me:$LINENO: checking for png.h" >&5
26304 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26305 if test "${ac_cv_header_png_h+set}" = set; then
26306 echo $ECHO_N "(cached) $ECHO_C" >&6
26308 cat >conftest.$ac_ext <<_ACEOF
26311 cat confdefs.h >>conftest.$ac_ext
26312 cat >>conftest.$ac_ext <<_ACEOF
26313 /* end confdefs.h. */
26318 rm -f conftest.$ac_objext
26319 if { (ac_try="$ac_compile"
26320 case "(($ac_try" in
26321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26322 *) ac_try_echo=$ac_try;;
26324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26325 (eval "$ac_compile") 2>conftest.er1
26327 grep -v '^ *+' conftest.er1 >conftest.err
26329 cat conftest.err >&5
26330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26331 (exit $ac_status); } && {
26332 test -z "$ac_c_werror_flag" ||
26333 test ! -s conftest.err
26334 } && test -s conftest.$ac_objext; then
26335 ac_cv_header_png_h=yes
26337 echo "$as_me: failed program was:" >&5
26338 sed 's/^/| /' conftest.$ac_ext >&5
26340 ac_cv_header_png_h=no
26343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26345 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26346 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26350 if test "$ac_cv_header_png_h" = "yes"; then
26351 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26352 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26353 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26354 echo $ECHO_N "(cached) $ECHO_C" >&6
26356 ac_check_lib_save_LIBS=$LIBS
26357 LIBS="-lpng -lz -lm $LIBS"
26358 cat >conftest.$ac_ext <<_ACEOF
26361 cat confdefs.h >>conftest.$ac_ext
26362 cat >>conftest.$ac_ext <<_ACEOF
26363 /* end confdefs.h. */
26365 /* Override any GCC internal prototype to avoid an error.
26366 Use char because int might match the return type of a GCC
26367 builtin and then its argument prototype would still apply. */
26371 char png_check_sig ();
26375 return png_check_sig ();
26380 rm -f conftest.$ac_objext conftest$ac_exeext
26381 if { (ac_try="$ac_link"
26382 case "(($ac_try" in
26383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26384 *) ac_try_echo=$ac_try;;
26386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26387 (eval "$ac_link") 2>conftest.er1
26389 grep -v '^ *+' conftest.er1 >conftest.err
26391 cat conftest.err >&5
26392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26393 (exit $ac_status); } && {
26394 test -z "$ac_c_werror_flag" ||
26395 test ! -s conftest.err
26396 } && test -s conftest$ac_exeext &&
26397 $as_test_x conftest$ac_exeext; then
26398 ac_cv_lib_png_png_check_sig=yes
26400 echo "$as_me: failed program was:" >&5
26401 sed 's/^/| /' conftest.$ac_ext >&5
26403 ac_cv_lib_png_png_check_sig=no
26406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26407 conftest$ac_exeext conftest.$ac_ext
26408 LIBS=$ac_check_lib_save_LIBS
26410 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26411 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26412 if test $ac_cv_lib_png_png_check_sig = yes; then
26413 PNG_LINK=" -lpng -lz"
26418 if test "x$PNG_LINK" = "x" ; then
26419 if test "$wxUSE_LIBPNG" = "sys" ; then
26420 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26421 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26422 { (exit 1); exit 1; }; }
26424 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26425 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26426 wxUSE_LIBPNG=builtin
26437 if test "$wxUSE_LIBJPEG" != "no" ; then
26438 cat >>confdefs.h <<\_ACEOF
26439 #define wxUSE_LIBJPEG 1
26443 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26444 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26445 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26449 if test "$wxUSE_MGL" != 1 ; then
26450 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26451 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26452 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26453 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26454 echo $ECHO_N "(cached) $ECHO_C" >&6
26456 cat >conftest.$ac_ext <<_ACEOF
26459 cat confdefs.h >>conftest.$ac_ext
26460 cat >>conftest.$ac_ext <<_ACEOF
26461 /* end confdefs.h. */
26463 #undef HAVE_STDLIB_H
26465 #include <jpeglib.h>
26476 rm -f conftest.$ac_objext
26477 if { (ac_try="$ac_compile"
26478 case "(($ac_try" in
26479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26480 *) ac_try_echo=$ac_try;;
26482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26483 (eval "$ac_compile") 2>conftest.er1
26485 grep -v '^ *+' conftest.er1 >conftest.err
26487 cat conftest.err >&5
26488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26489 (exit $ac_status); } && {
26490 test -z "$ac_c_werror_flag" ||
26491 test ! -s conftest.err
26492 } && test -s conftest.$ac_objext; then
26493 ac_cv_header_jpeglib_h=yes
26495 echo "$as_me: failed program was:" >&5
26496 sed 's/^/| /' conftest.$ac_ext >&5
26498 ac_cv_header_jpeglib_h=no
26502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26506 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26507 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26509 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26510 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26511 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26512 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26513 echo $ECHO_N "(cached) $ECHO_C" >&6
26515 ac_check_lib_save_LIBS=$LIBS
26516 LIBS="-ljpeg $LIBS"
26517 cat >conftest.$ac_ext <<_ACEOF
26520 cat confdefs.h >>conftest.$ac_ext
26521 cat >>conftest.$ac_ext <<_ACEOF
26522 /* end confdefs.h. */
26524 /* Override any GCC internal prototype to avoid an error.
26525 Use char because int might match the return type of a GCC
26526 builtin and then its argument prototype would still apply. */
26530 char jpeg_read_header ();
26534 return jpeg_read_header ();
26539 rm -f conftest.$ac_objext conftest$ac_exeext
26540 if { (ac_try="$ac_link"
26541 case "(($ac_try" in
26542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26543 *) ac_try_echo=$ac_try;;
26545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26546 (eval "$ac_link") 2>conftest.er1
26548 grep -v '^ *+' conftest.er1 >conftest.err
26550 cat conftest.err >&5
26551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26552 (exit $ac_status); } && {
26553 test -z "$ac_c_werror_flag" ||
26554 test ! -s conftest.err
26555 } && test -s conftest$ac_exeext &&
26556 $as_test_x conftest$ac_exeext; then
26557 ac_cv_lib_jpeg_jpeg_read_header=yes
26559 echo "$as_me: failed program was:" >&5
26560 sed 's/^/| /' conftest.$ac_ext >&5
26562 ac_cv_lib_jpeg_jpeg_read_header=no
26565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26566 conftest$ac_exeext conftest.$ac_ext
26567 LIBS=$ac_check_lib_save_LIBS
26569 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26570 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26571 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26572 JPEG_LINK=" -ljpeg"
26577 if test "x$JPEG_LINK" = "x" ; then
26578 if test "$wxUSE_LIBJPEG" = "sys" ; then
26579 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26580 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26581 { (exit 1); exit 1; }; }
26583 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26584 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26585 wxUSE_LIBJPEG=builtin
26590 if test "$wxUSE_MSW" = 1; then
26591 { echo "$as_me:$LINENO: checking for boolean" >&5
26592 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26593 if test "${ac_cv_type_boolean+set}" = set; then
26594 echo $ECHO_N "(cached) $ECHO_C" >&6
26596 cat >conftest.$ac_ext <<_ACEOF
26599 cat confdefs.h >>conftest.$ac_ext
26600 cat >>conftest.$ac_ext <<_ACEOF
26601 /* end confdefs.h. */
26602 #include <windows.h>
26604 typedef boolean ac__type_new_;
26608 if ((ac__type_new_ *) 0)
26610 if (sizeof (ac__type_new_))
26616 rm -f conftest.$ac_objext
26617 if { (ac_try="$ac_compile"
26618 case "(($ac_try" in
26619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26620 *) ac_try_echo=$ac_try;;
26622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26623 (eval "$ac_compile") 2>conftest.er1
26625 grep -v '^ *+' conftest.er1 >conftest.err
26627 cat conftest.err >&5
26628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26629 (exit $ac_status); } && {
26630 test -z "$ac_c_werror_flag" ||
26631 test ! -s conftest.err
26632 } && test -s conftest.$ac_objext; then
26633 ac_cv_type_boolean=yes
26635 echo "$as_me: failed program was:" >&5
26636 sed 's/^/| /' conftest.$ac_ext >&5
26638 ac_cv_type_boolean=no
26641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26643 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26644 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26645 if test $ac_cv_type_boolean = yes; then
26647 cat >>confdefs.h <<_ACEOF
26648 #define HAVE_BOOLEAN 1
26652 { echo "$as_me:$LINENO: checking for boolean" >&5
26653 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26654 if test "${ac_cv_type_boolean+set}" = set; then
26655 echo $ECHO_N "(cached) $ECHO_C" >&6
26657 cat >conftest.$ac_ext <<_ACEOF
26660 cat confdefs.h >>conftest.$ac_ext
26661 cat >>conftest.$ac_ext <<_ACEOF
26662 /* end confdefs.h. */
26664 #undef HAVE_BOOLEAN
26666 #include <jpeglib.h>
26669 typedef boolean ac__type_new_;
26673 if ((ac__type_new_ *) 0)
26675 if (sizeof (ac__type_new_))
26681 rm -f conftest.$ac_objext
26682 if { (ac_try="$ac_compile"
26683 case "(($ac_try" in
26684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26685 *) ac_try_echo=$ac_try;;
26687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26688 (eval "$ac_compile") 2>conftest.er1
26690 grep -v '^ *+' conftest.er1 >conftest.err
26692 cat conftest.err >&5
26693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26694 (exit $ac_status); } && {
26695 test -z "$ac_c_werror_flag" ||
26696 test ! -s conftest.err
26697 } && test -s conftest.$ac_objext; then
26698 ac_cv_type_boolean=yes
26700 echo "$as_me: failed program was:" >&5
26701 sed 's/^/| /' conftest.$ac_ext >&5
26703 ac_cv_type_boolean=no
26706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26708 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26709 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26711 # The cast to long int works around a bug in the HP C Compiler
26712 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26713 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26714 # This bug is HP SR number 8606223364.
26715 { echo "$as_me:$LINENO: checking size of boolean" >&5
26716 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26717 if test "${ac_cv_sizeof_boolean+set}" = set; then
26718 echo $ECHO_N "(cached) $ECHO_C" >&6
26720 if test "$cross_compiling" = yes; then
26721 # Depending upon the size, compute the lo and hi bounds.
26722 cat >conftest.$ac_ext <<_ACEOF
26725 cat confdefs.h >>conftest.$ac_ext
26726 cat >>conftest.$ac_ext <<_ACEOF
26727 /* end confdefs.h. */
26729 #undef HAVE_BOOLEAN
26731 #include <jpeglib.h>
26734 typedef boolean ac__type_sizeof_;
26738 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26745 rm -f conftest.$ac_objext
26746 if { (ac_try="$ac_compile"
26747 case "(($ac_try" in
26748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26749 *) ac_try_echo=$ac_try;;
26751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26752 (eval "$ac_compile") 2>conftest.er1
26754 grep -v '^ *+' conftest.er1 >conftest.err
26756 cat conftest.err >&5
26757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26758 (exit $ac_status); } && {
26759 test -z "$ac_c_werror_flag" ||
26760 test ! -s conftest.err
26761 } && test -s conftest.$ac_objext; then
26764 cat >conftest.$ac_ext <<_ACEOF
26767 cat confdefs.h >>conftest.$ac_ext
26768 cat >>conftest.$ac_ext <<_ACEOF
26769 /* end confdefs.h. */
26771 #undef HAVE_BOOLEAN
26773 #include <jpeglib.h>
26776 typedef boolean ac__type_sizeof_;
26780 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26787 rm -f conftest.$ac_objext
26788 if { (ac_try="$ac_compile"
26789 case "(($ac_try" in
26790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26791 *) ac_try_echo=$ac_try;;
26793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26794 (eval "$ac_compile") 2>conftest.er1
26796 grep -v '^ *+' conftest.er1 >conftest.err
26798 cat conftest.err >&5
26799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800 (exit $ac_status); } && {
26801 test -z "$ac_c_werror_flag" ||
26802 test ! -s conftest.err
26803 } && test -s conftest.$ac_objext; then
26804 ac_hi=$ac_mid; break
26806 echo "$as_me: failed program was:" >&5
26807 sed 's/^/| /' conftest.$ac_ext >&5
26809 ac_lo=`expr $ac_mid + 1`
26810 if test $ac_lo -le $ac_mid; then
26814 ac_mid=`expr 2 '*' $ac_mid + 1`
26817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26820 echo "$as_me: failed program was:" >&5
26821 sed 's/^/| /' conftest.$ac_ext >&5
26823 cat >conftest.$ac_ext <<_ACEOF
26826 cat confdefs.h >>conftest.$ac_ext
26827 cat >>conftest.$ac_ext <<_ACEOF
26828 /* end confdefs.h. */
26830 #undef HAVE_BOOLEAN
26832 #include <jpeglib.h>
26835 typedef boolean ac__type_sizeof_;
26839 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26846 rm -f conftest.$ac_objext
26847 if { (ac_try="$ac_compile"
26848 case "(($ac_try" in
26849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26850 *) ac_try_echo=$ac_try;;
26852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26853 (eval "$ac_compile") 2>conftest.er1
26855 grep -v '^ *+' conftest.er1 >conftest.err
26857 cat conftest.err >&5
26858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26859 (exit $ac_status); } && {
26860 test -z "$ac_c_werror_flag" ||
26861 test ! -s conftest.err
26862 } && test -s conftest.$ac_objext; then
26865 cat >conftest.$ac_ext <<_ACEOF
26868 cat confdefs.h >>conftest.$ac_ext
26869 cat >>conftest.$ac_ext <<_ACEOF
26870 /* end confdefs.h. */
26872 #undef HAVE_BOOLEAN
26874 #include <jpeglib.h>
26877 typedef boolean ac__type_sizeof_;
26881 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26888 rm -f conftest.$ac_objext
26889 if { (ac_try="$ac_compile"
26890 case "(($ac_try" in
26891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26892 *) ac_try_echo=$ac_try;;
26894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26895 (eval "$ac_compile") 2>conftest.er1
26897 grep -v '^ *+' conftest.er1 >conftest.err
26899 cat conftest.err >&5
26900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26901 (exit $ac_status); } && {
26902 test -z "$ac_c_werror_flag" ||
26903 test ! -s conftest.err
26904 } && test -s conftest.$ac_objext; then
26905 ac_lo=$ac_mid; break
26907 echo "$as_me: failed program was:" >&5
26908 sed 's/^/| /' conftest.$ac_ext >&5
26910 ac_hi=`expr '(' $ac_mid ')' - 1`
26911 if test $ac_mid -le $ac_hi; then
26915 ac_mid=`expr 2 '*' $ac_mid`
26918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26921 echo "$as_me: failed program was:" >&5
26922 sed 's/^/| /' conftest.$ac_ext >&5
26927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26931 # Binary search between lo and hi bounds.
26932 while test "x$ac_lo" != "x$ac_hi"; do
26933 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26934 cat >conftest.$ac_ext <<_ACEOF
26937 cat confdefs.h >>conftest.$ac_ext
26938 cat >>conftest.$ac_ext <<_ACEOF
26939 /* end confdefs.h. */
26941 #undef HAVE_BOOLEAN
26943 #include <jpeglib.h>
26946 typedef boolean ac__type_sizeof_;
26950 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26957 rm -f conftest.$ac_objext
26958 if { (ac_try="$ac_compile"
26959 case "(($ac_try" in
26960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26961 *) ac_try_echo=$ac_try;;
26963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26964 (eval "$ac_compile") 2>conftest.er1
26966 grep -v '^ *+' conftest.er1 >conftest.err
26968 cat conftest.err >&5
26969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26970 (exit $ac_status); } && {
26971 test -z "$ac_c_werror_flag" ||
26972 test ! -s conftest.err
26973 } && test -s conftest.$ac_objext; then
26976 echo "$as_me: failed program was:" >&5
26977 sed 's/^/| /' conftest.$ac_ext >&5
26979 ac_lo=`expr '(' $ac_mid ')' + 1`
26982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26985 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26986 '') if test "$ac_cv_type_boolean" = yes; then
26987 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26988 See \`config.log' for more details." >&5
26989 echo "$as_me: error: cannot compute sizeof (boolean)
26990 See \`config.log' for more details." >&2;}
26991 { (exit 77); exit 77; }; }
26993 ac_cv_sizeof_boolean=0
26997 cat >conftest.$ac_ext <<_ACEOF
27000 cat confdefs.h >>conftest.$ac_ext
27001 cat >>conftest.$ac_ext <<_ACEOF
27002 /* end confdefs.h. */
27004 #undef HAVE_BOOLEAN
27006 #include <jpeglib.h>
27009 typedef boolean ac__type_sizeof_;
27010 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27011 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27013 #include <stdlib.h>
27018 FILE *f = fopen ("conftest.val", "w");
27021 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27023 long int i = longval ();
27024 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27026 fprintf (f, "%ld\n", i);
27030 unsigned long int i = ulongval ();
27031 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27033 fprintf (f, "%lu\n", i);
27035 return ferror (f) || fclose (f) != 0;
27041 rm -f conftest$ac_exeext
27042 if { (ac_try="$ac_link"
27043 case "(($ac_try" in
27044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27045 *) ac_try_echo=$ac_try;;
27047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27048 (eval "$ac_link") 2>&5
27050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27051 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27052 { (case "(($ac_try" in
27053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27054 *) ac_try_echo=$ac_try;;
27056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27057 (eval "$ac_try") 2>&5
27059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27060 (exit $ac_status); }; }; then
27061 ac_cv_sizeof_boolean=`cat conftest.val`
27063 echo "$as_me: program exited with status $ac_status" >&5
27064 echo "$as_me: failed program was:" >&5
27065 sed 's/^/| /' conftest.$ac_ext >&5
27067 ( exit $ac_status )
27068 if test "$ac_cv_type_boolean" = yes; then
27069 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27070 See \`config.log' for more details." >&5
27071 echo "$as_me: error: cannot compute sizeof (boolean)
27072 See \`config.log' for more details." >&2;}
27073 { (exit 77); exit 77; }; }
27075 ac_cv_sizeof_boolean=0
27078 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27082 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27083 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27087 cat >>confdefs.h <<_ACEOF
27088 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27092 cat >>confdefs.h <<_ACEOF
27093 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27107 TIFF_PREREQ_LINKS=-lm
27108 if test "$wxUSE_LIBTIFF" != "no" ; then
27109 cat >>confdefs.h <<\_ACEOF
27110 #define wxUSE_LIBTIFF 1
27114 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27115 if test "$wxUSE_LIBJPEG" = "sys"; then
27116 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27118 if test "$wxUSE_ZLIB" = "sys"; then
27119 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27121 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27122 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27123 if test "${ac_cv_header_tiffio_h+set}" = set; then
27124 echo $ECHO_N "(cached) $ECHO_C" >&6
27126 cat >conftest.$ac_ext <<_ACEOF
27129 cat confdefs.h >>conftest.$ac_ext
27130 cat >>conftest.$ac_ext <<_ACEOF
27131 /* end confdefs.h. */
27135 #include <tiffio.h>
27137 rm -f conftest.$ac_objext
27138 if { (ac_try="$ac_compile"
27139 case "(($ac_try" in
27140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27141 *) ac_try_echo=$ac_try;;
27143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27144 (eval "$ac_compile") 2>conftest.er1
27146 grep -v '^ *+' conftest.er1 >conftest.err
27148 cat conftest.err >&5
27149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27150 (exit $ac_status); } && {
27151 test -z "$ac_c_werror_flag" ||
27152 test ! -s conftest.err
27153 } && test -s conftest.$ac_objext; then
27154 ac_cv_header_tiffio_h=yes
27156 echo "$as_me: failed program was:" >&5
27157 sed 's/^/| /' conftest.$ac_ext >&5
27159 ac_cv_header_tiffio_h=no
27162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27164 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27165 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27166 if test $ac_cv_header_tiffio_h = yes; then
27168 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27169 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27170 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27171 echo $ECHO_N "(cached) $ECHO_C" >&6
27173 ac_check_lib_save_LIBS=$LIBS
27174 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27175 cat >conftest.$ac_ext <<_ACEOF
27178 cat confdefs.h >>conftest.$ac_ext
27179 cat >>conftest.$ac_ext <<_ACEOF
27180 /* end confdefs.h. */
27182 /* Override any GCC internal prototype to avoid an error.
27183 Use char because int might match the return type of a GCC
27184 builtin and then its argument prototype would still apply. */
27192 return TIFFError ();
27197 rm -f conftest.$ac_objext conftest$ac_exeext
27198 if { (ac_try="$ac_link"
27199 case "(($ac_try" in
27200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27201 *) ac_try_echo=$ac_try;;
27203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27204 (eval "$ac_link") 2>conftest.er1
27206 grep -v '^ *+' conftest.er1 >conftest.err
27208 cat conftest.err >&5
27209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27210 (exit $ac_status); } && {
27211 test -z "$ac_c_werror_flag" ||
27212 test ! -s conftest.err
27213 } && test -s conftest$ac_exeext &&
27214 $as_test_x conftest$ac_exeext; then
27215 ac_cv_lib_tiff_TIFFError=yes
27217 echo "$as_me: failed program was:" >&5
27218 sed 's/^/| /' conftest.$ac_ext >&5
27220 ac_cv_lib_tiff_TIFFError=no
27223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27224 conftest$ac_exeext conftest.$ac_ext
27225 LIBS=$ac_check_lib_save_LIBS
27227 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27228 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27229 if test $ac_cv_lib_tiff_TIFFError = yes; then
27230 TIFF_LINK=" -ltiff"
27238 if test "x$TIFF_LINK" = "x" ; then
27239 if test "$wxUSE_LIBTIFF" = "sys" ; then
27240 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27241 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27242 { (exit 1); exit 1; }; }
27244 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27245 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27246 wxUSE_LIBTIFF=builtin
27252 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27253 if test "$wxUSE_LIBJPEG" = "no"; then
27254 ac_configure_args="$ac_configure_args --disable-jpeg"
27256 subdirs="$subdirs src/tiff"
27262 if test "$wxUSE_WCHAR_T" != "yes"; then
27263 if test "$wxUSE_EXPAT" != "no"; then
27264 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27265 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27268 if test "$wxUSE_XML" != "no"; then
27269 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27270 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27275 if test "$wxUSE_EXPAT" != "no"; then
27277 cat >>confdefs.h <<\_ACEOF
27278 #define wxUSE_EXPAT 1
27281 cat >>confdefs.h <<\_ACEOF
27282 #define wxUSE_XML 1
27286 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27287 { echo "$as_me:$LINENO: checking for expat.h" >&5
27288 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27289 if test "${ac_cv_header_expat_h+set}" = set; then
27290 echo $ECHO_N "(cached) $ECHO_C" >&6
27292 cat >conftest.$ac_ext <<_ACEOF
27295 cat confdefs.h >>conftest.$ac_ext
27296 cat >>conftest.$ac_ext <<_ACEOF
27297 /* end confdefs.h. */
27302 rm -f conftest.$ac_objext
27303 if { (ac_try="$ac_compile"
27304 case "(($ac_try" in
27305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27306 *) ac_try_echo=$ac_try;;
27308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27309 (eval "$ac_compile") 2>conftest.er1
27311 grep -v '^ *+' conftest.er1 >conftest.err
27313 cat conftest.err >&5
27314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27315 (exit $ac_status); } && {
27316 test -z "$ac_c_werror_flag" ||
27317 test ! -s conftest.err
27318 } && test -s conftest.$ac_objext; then
27319 ac_cv_header_expat_h=yes
27321 echo "$as_me: failed program was:" >&5
27322 sed 's/^/| /' conftest.$ac_ext >&5
27324 ac_cv_header_expat_h=no
27327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27329 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27330 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27331 if test $ac_cv_header_expat_h = yes; then
27336 if test "x$found_expat_h" = "x1"; then
27337 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27338 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27339 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27340 echo $ECHO_N "(cached) $ECHO_C" >&6
27344 ac_cpp='$CXXCPP $CPPFLAGS'
27345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27349 cat >conftest.$ac_ext <<_ACEOF
27352 cat confdefs.h >>conftest.$ac_ext
27353 cat >>conftest.$ac_ext <<_ACEOF
27354 /* end confdefs.h. */
27364 rm -f conftest.$ac_objext
27365 if { (ac_try="$ac_compile"
27366 case "(($ac_try" in
27367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27368 *) ac_try_echo=$ac_try;;
27370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27371 (eval "$ac_compile") 2>conftest.er1
27373 grep -v '^ *+' conftest.er1 >conftest.err
27375 cat conftest.err >&5
27376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27377 (exit $ac_status); } && {
27378 test -z "$ac_cxx_werror_flag" ||
27379 test ! -s conftest.err
27380 } && test -s conftest.$ac_objext; then
27381 wx_cv_expat_is_not_broken=yes
27383 echo "$as_me: failed program was:" >&5
27384 sed 's/^/| /' conftest.$ac_ext >&5
27386 wx_cv_expat_is_not_broken=no
27390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27392 ac_cpp='$CPP $CPPFLAGS'
27393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27400 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27401 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27402 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27403 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27404 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27405 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27406 echo $ECHO_N "(cached) $ECHO_C" >&6
27408 ac_check_lib_save_LIBS=$LIBS
27409 LIBS="-lexpat $LIBS"
27410 cat >conftest.$ac_ext <<_ACEOF
27413 cat confdefs.h >>conftest.$ac_ext
27414 cat >>conftest.$ac_ext <<_ACEOF
27415 /* end confdefs.h. */
27417 /* Override any GCC internal prototype to avoid an error.
27418 Use char because int might match the return type of a GCC
27419 builtin and then its argument prototype would still apply. */
27423 char XML_ParserCreate ();
27427 return XML_ParserCreate ();
27432 rm -f conftest.$ac_objext conftest$ac_exeext
27433 if { (ac_try="$ac_link"
27434 case "(($ac_try" in
27435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27436 *) ac_try_echo=$ac_try;;
27438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27439 (eval "$ac_link") 2>conftest.er1
27441 grep -v '^ *+' conftest.er1 >conftest.err
27443 cat conftest.err >&5
27444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27445 (exit $ac_status); } && {
27446 test -z "$ac_c_werror_flag" ||
27447 test ! -s conftest.err
27448 } && test -s conftest$ac_exeext &&
27449 $as_test_x conftest$ac_exeext; then
27450 ac_cv_lib_expat_XML_ParserCreate=yes
27452 echo "$as_me: failed program was:" >&5
27453 sed 's/^/| /' conftest.$ac_ext >&5
27455 ac_cv_lib_expat_XML_ParserCreate=no
27458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27459 conftest$ac_exeext conftest.$ac_ext
27460 LIBS=$ac_check_lib_save_LIBS
27462 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27463 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27464 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27465 EXPAT_LINK=" -lexpat"
27470 if test "x$EXPAT_LINK" = "x" ; then
27471 if test "$wxUSE_EXPAT" = "sys" ; then
27472 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27473 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27474 { (exit 1); exit 1; }; }
27476 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27477 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27478 wxUSE_EXPAT=builtin
27484 if test "$wxUSE_EXPAT" = "builtin" ; then
27485 subdirs="$subdirs src/expat"
27492 if test "$wxUSE_LIBMSPACK" != "no"; then
27493 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27494 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27495 if test "${ac_cv_header_mspack_h+set}" = set; then
27496 echo $ECHO_N "(cached) $ECHO_C" >&6
27498 cat >conftest.$ac_ext <<_ACEOF
27501 cat confdefs.h >>conftest.$ac_ext
27502 cat >>conftest.$ac_ext <<_ACEOF
27503 /* end confdefs.h. */
27506 #include <mspack.h>
27508 rm -f conftest.$ac_objext
27509 if { (ac_try="$ac_compile"
27510 case "(($ac_try" in
27511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27512 *) ac_try_echo=$ac_try;;
27514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27515 (eval "$ac_compile") 2>conftest.er1
27517 grep -v '^ *+' conftest.er1 >conftest.err
27519 cat conftest.err >&5
27520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27521 (exit $ac_status); } && {
27522 test -z "$ac_c_werror_flag" ||
27523 test ! -s conftest.err
27524 } && test -s conftest.$ac_objext; then
27525 ac_cv_header_mspack_h=yes
27527 echo "$as_me: failed program was:" >&5
27528 sed 's/^/| /' conftest.$ac_ext >&5
27530 ac_cv_header_mspack_h=no
27533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27535 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27536 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27537 if test $ac_cv_header_mspack_h = yes; then
27542 if test "x$found_mspack_h" = "x1"; then
27543 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27544 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27545 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27546 echo $ECHO_N "(cached) $ECHO_C" >&6
27548 ac_check_lib_save_LIBS=$LIBS
27549 LIBS="-lmspack $LIBS"
27550 cat >conftest.$ac_ext <<_ACEOF
27553 cat confdefs.h >>conftest.$ac_ext
27554 cat >>conftest.$ac_ext <<_ACEOF
27555 /* end confdefs.h. */
27557 /* Override any GCC internal prototype to avoid an error.
27558 Use char because int might match the return type of a GCC
27559 builtin and then its argument prototype would still apply. */
27563 char mspack_create_chm_decompressor ();
27567 return mspack_create_chm_decompressor ();
27572 rm -f conftest.$ac_objext conftest$ac_exeext
27573 if { (ac_try="$ac_link"
27574 case "(($ac_try" in
27575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27576 *) ac_try_echo=$ac_try;;
27578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27579 (eval "$ac_link") 2>conftest.er1
27581 grep -v '^ *+' conftest.er1 >conftest.err
27583 cat conftest.err >&5
27584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27585 (exit $ac_status); } && {
27586 test -z "$ac_c_werror_flag" ||
27587 test ! -s conftest.err
27588 } && test -s conftest$ac_exeext &&
27589 $as_test_x conftest$ac_exeext; then
27590 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27592 echo "$as_me: failed program was:" >&5
27593 sed 's/^/| /' conftest.$ac_ext >&5
27595 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27599 conftest$ac_exeext conftest.$ac_ext
27600 LIBS=$ac_check_lib_save_LIBS
27602 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27603 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27604 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27605 MSPACK_LINK=" -lmspack"
27609 if test "x$MSPACK_LINK" = "x" ; then
27614 if test "$wxUSE_LIBMSPACK" != "no"; then
27615 cat >>confdefs.h <<\_ACEOF
27616 #define wxUSE_LIBMSPACK 1
27630 if test "$USE_WIN32" = 1 ; then
27632 for ac_header in w32api.h
27634 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27635 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27637 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27638 echo $ECHO_N "(cached) $ECHO_C" >&6
27640 cat >conftest.$ac_ext <<_ACEOF
27643 cat confdefs.h >>conftest.$ac_ext
27644 cat >>conftest.$ac_ext <<_ACEOF
27645 /* end confdefs.h. */
27648 #include <$ac_header>
27650 rm -f conftest.$ac_objext
27651 if { (ac_try="$ac_compile"
27652 case "(($ac_try" in
27653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27654 *) ac_try_echo=$ac_try;;
27656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27657 (eval "$ac_compile") 2>conftest.er1
27659 grep -v '^ *+' conftest.er1 >conftest.err
27661 cat conftest.err >&5
27662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27663 (exit $ac_status); } && {
27664 test -z "$ac_c_werror_flag" ||
27665 test ! -s conftest.err
27666 } && test -s conftest.$ac_objext; then
27667 eval "$as_ac_Header=yes"
27669 echo "$as_me: failed program was:" >&5
27670 sed 's/^/| /' conftest.$ac_ext >&5
27672 eval "$as_ac_Header=no"
27675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27677 ac_res=`eval echo '${'$as_ac_Header'}'`
27678 { echo "$as_me:$LINENO: result: $ac_res" >&5
27679 echo "${ECHO_T}$ac_res" >&6; }
27680 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27681 cat >>confdefs.h <<_ACEOF
27682 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27689 { echo "$as_me:$LINENO: checking for windows.h" >&5
27690 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27691 if test "${ac_cv_header_windows_h+set}" = set; then
27692 echo $ECHO_N "(cached) $ECHO_C" >&6
27694 cat >conftest.$ac_ext <<_ACEOF
27697 cat confdefs.h >>conftest.$ac_ext
27698 cat >>conftest.$ac_ext <<_ACEOF
27699 /* end confdefs.h. */
27702 #include <windows.h>
27704 rm -f conftest.$ac_objext
27705 if { (ac_try="$ac_compile"
27706 case "(($ac_try" in
27707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27708 *) ac_try_echo=$ac_try;;
27710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27711 (eval "$ac_compile") 2>conftest.er1
27713 grep -v '^ *+' conftest.er1 >conftest.err
27715 cat conftest.err >&5
27716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27717 (exit $ac_status); } && {
27718 test -z "$ac_c_werror_flag" ||
27719 test ! -s conftest.err
27720 } && test -s conftest.$ac_objext; then
27721 ac_cv_header_windows_h=yes
27723 echo "$as_me: failed program was:" >&5
27724 sed 's/^/| /' conftest.$ac_ext >&5
27726 ac_cv_header_windows_h=no
27729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27731 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27732 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27733 if test $ac_cv_header_windows_h = yes; then
27737 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27738 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27739 { (exit 1); exit 1; }; }
27745 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27747 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27748 LIBS="$LIBS -loleacc"
27753 LIBS="$LIBS -lkernel32 -luser32"
27756 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27757 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27759 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27761 WIN32INSTALL=win32install
27763 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27764 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27765 if test "${ac_cv_header_pbt_h+set}" = set; then
27766 echo $ECHO_N "(cached) $ECHO_C" >&6
27768 cat >conftest.$ac_ext <<_ACEOF
27771 cat confdefs.h >>conftest.$ac_ext
27772 cat >>conftest.$ac_ext <<_ACEOF
27773 /* end confdefs.h. */
27778 rm -f conftest.$ac_objext
27779 if { (ac_try="$ac_compile"
27780 case "(($ac_try" in
27781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27782 *) ac_try_echo=$ac_try;;
27784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27785 (eval "$ac_compile") 2>conftest.er1
27787 grep -v '^ *+' conftest.er1 >conftest.err
27789 cat conftest.err >&5
27790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27791 (exit $ac_status); } && {
27792 test -z "$ac_c_werror_flag" ||
27793 test ! -s conftest.err
27794 } && test -s conftest.$ac_objext; then
27795 ac_cv_header_pbt_h=yes
27797 echo "$as_me: failed program was:" >&5
27798 sed 's/^/| /' conftest.$ac_ext >&5
27800 ac_cv_header_pbt_h=no
27803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27805 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27806 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27807 if test $ac_cv_header_pbt_h = yes; then
27810 cat >>confdefs.h <<\_ACEOF
27811 #define NEED_PBT_H 1
27819 if test "$wxUSE_GUI" = "yes"; then
27829 if test "$wxUSE_COCOA" = 1 ; then
27830 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27831 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27832 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27833 wxUSE_PRINTING_ARCHITECTURE=no
27835 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27836 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27837 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27838 wxUSE_DRAG_AND_DROP=no
27840 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27841 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27842 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27847 if test "$wxUSE_MSW" = 1 ; then
27853 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27857 if test "$wxUSE_GTK" = 1; then
27858 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27859 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27861 gtk_version_cached=1
27862 if test "${wx_cv_lib_gtk+set}" = set; then
27863 echo $ECHO_N "(cached) $ECHO_C" >&6
27866 gtk_version_cached=0
27867 { echo "$as_me:$LINENO: result: " >&5
27868 echo "${ECHO_T}" >&6; }
27871 if test "$wxUSE_THREADS" = "yes"; then
27872 GTK_MODULES=gthread
27876 if test "x$wxGTK_VERSION" != "x1"
27880 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27885 # Check whether --enable-gtktest was given.
27886 if test "${enable_gtktest+set}" = set; then
27887 enableval=$enable_gtktest;
27893 pkg_config_args=gtk+-2.0
27894 for module in . $GTK_MODULES
27898 pkg_config_args="$pkg_config_args gthread-2.0"
27905 # Extract the first word of "pkg-config", so it can be a program name with args.
27906 set dummy pkg-config; ac_word=$2
27907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27909 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27910 echo $ECHO_N "(cached) $ECHO_C" >&6
27912 case $PKG_CONFIG in
27914 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27918 for as_dir in $PATH
27921 test -z "$as_dir" && as_dir=.
27922 for ac_exec_ext in '' $ac_executable_extensions; do
27923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27924 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27932 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27936 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27937 if test -n "$PKG_CONFIG"; then
27938 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27939 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27941 { echo "$as_me:$LINENO: result: no" >&5
27942 echo "${ECHO_T}no" >&6; }
27947 if test x$PKG_CONFIG != xno ; then
27948 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27951 echo "*** pkg-config too old; version 0.7 or better required."
27959 min_gtk_version=2.4.0
27960 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27961 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27963 if test x$PKG_CONFIG != xno ; then
27964 ## don't try to run the test against uninstalled libtool libs
27965 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27966 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27970 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27977 if test x"$no_gtk" = x ; then
27978 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27979 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27980 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27981 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27982 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27983 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27984 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27985 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27986 if test "x$enable_gtktest" = "xyes" ; then
27987 ac_save_CFLAGS="$CFLAGS"
27988 ac_save_LIBS="$LIBS"
27989 CFLAGS="$CFLAGS $GTK_CFLAGS"
27990 LIBS="$GTK_LIBS $LIBS"
27992 if test "$cross_compiling" = yes; then
27993 echo $ac_n "cross compiling; assumed OK... $ac_c"
27995 cat >conftest.$ac_ext <<_ACEOF
27998 cat confdefs.h >>conftest.$ac_ext
27999 cat >>conftest.$ac_ext <<_ACEOF
28000 /* end confdefs.h. */
28002 #include <gtk/gtk.h>
28004 #include <stdlib.h>
28009 int major, minor, micro;
28012 system ("touch conf.gtktest");
28014 /* HP/UX 9 (%@#!) writes to sscanf strings */
28015 tmp_version = g_strdup("$min_gtk_version");
28016 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28017 printf("%s, bad version string\n", "$min_gtk_version");
28021 if ((gtk_major_version != $gtk_config_major_version) ||
28022 (gtk_minor_version != $gtk_config_minor_version) ||
28023 (gtk_micro_version != $gtk_config_micro_version))
28025 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28026 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28027 gtk_major_version, gtk_minor_version, gtk_micro_version);
28028 printf ("*** was found! If pkg-config was correct, then it is best\n");
28029 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28030 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28031 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28032 printf("*** required on your system.\n");
28033 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28034 printf("*** to point to the correct configuration files\n");
28036 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28037 (gtk_minor_version != GTK_MINOR_VERSION) ||
28038 (gtk_micro_version != GTK_MICRO_VERSION))
28040 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28041 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28042 printf("*** library (version %d.%d.%d)\n",
28043 gtk_major_version, gtk_minor_version, gtk_micro_version);
28047 if ((gtk_major_version > major) ||
28048 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28049 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28055 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28056 gtk_major_version, gtk_minor_version, gtk_micro_version);
28057 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28058 major, minor, micro);
28059 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28061 printf("*** If you have already installed a sufficiently new version, this error\n");
28062 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28063 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28064 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28065 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28066 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28067 printf("*** so that the correct libraries are found at run-time))\n");
28074 rm -f conftest$ac_exeext
28075 if { (ac_try="$ac_link"
28076 case "(($ac_try" in
28077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28078 *) ac_try_echo=$ac_try;;
28080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28081 (eval "$ac_link") 2>&5
28083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28084 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28085 { (case "(($ac_try" in
28086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28087 *) ac_try_echo=$ac_try;;
28089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28090 (eval "$ac_try") 2>&5
28092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28093 (exit $ac_status); }; }; then
28096 echo "$as_me: program exited with status $ac_status" >&5
28097 echo "$as_me: failed program was:" >&5
28098 sed 's/^/| /' conftest.$ac_ext >&5
28100 ( exit $ac_status )
28103 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28107 CFLAGS="$ac_save_CFLAGS"
28108 LIBS="$ac_save_LIBS"
28111 if test "x$no_gtk" = x ; then
28112 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28113 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28116 { echo "$as_me:$LINENO: result: no" >&5
28117 echo "${ECHO_T}no" >&6; }
28118 if test "$PKG_CONFIG" = "no" ; then
28119 echo "*** A new enough version of pkg-config was not found."
28120 echo "*** See http://pkgconfig.sourceforge.net"
28122 if test -f conf.gtktest ; then
28125 echo "*** Could not run GTK+ test program, checking why..."
28126 ac_save_CFLAGS="$CFLAGS"
28127 ac_save_LIBS="$LIBS"
28128 CFLAGS="$CFLAGS $GTK_CFLAGS"
28129 LIBS="$LIBS $GTK_LIBS"
28130 cat >conftest.$ac_ext <<_ACEOF
28133 cat confdefs.h >>conftest.$ac_ext
28134 cat >>conftest.$ac_ext <<_ACEOF
28135 /* end confdefs.h. */
28137 #include <gtk/gtk.h>
28143 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28148 rm -f conftest.$ac_objext conftest$ac_exeext
28149 if { (ac_try="$ac_link"
28150 case "(($ac_try" in
28151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28152 *) ac_try_echo=$ac_try;;
28154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28155 (eval "$ac_link") 2>conftest.er1
28157 grep -v '^ *+' conftest.er1 >conftest.err
28159 cat conftest.err >&5
28160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28161 (exit $ac_status); } && {
28162 test -z "$ac_c_werror_flag" ||
28163 test ! -s conftest.err
28164 } && test -s conftest$ac_exeext &&
28165 $as_test_x conftest$ac_exeext; then
28166 echo "*** The test program compiled, but did not run. This usually means"
28167 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28168 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28169 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28170 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28171 echo "*** is required on your system"
28173 echo "*** If you have an old version installed, it is best to remove it, although"
28174 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28176 echo "$as_me: failed program was:" >&5
28177 sed 's/^/| /' conftest.$ac_ext >&5
28179 echo "*** The test program failed to compile or link. See the file config.log for the"
28180 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28184 conftest$ac_exeext conftest.$ac_ext
28185 CFLAGS="$ac_save_CFLAGS"
28186 LIBS="$ac_save_LIBS"
28200 if test "$wxUSE_SHARED" != "yes"; then
28201 GTK_LIBS="$GTK_LIBS -lX11"
28206 if test -z "$wx_cv_lib_gtk"; then
28207 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28209 # Check whether --with-gtk-prefix was given.
28210 if test "${with_gtk_prefix+set}" = set; then
28211 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28213 gtk_config_prefix=""
28217 # Check whether --with-gtk-exec-prefix was given.
28218 if test "${with_gtk_exec_prefix+set}" = set; then
28219 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28221 gtk_config_exec_prefix=""
28224 # Check whether --enable-gtktest was given.
28225 if test "${enable_gtktest+set}" = set; then
28226 enableval=$enable_gtktest;
28232 for module in . $GTK_MODULES
28236 gtk_config_args="$gtk_config_args gthread"
28241 if test x$gtk_config_exec_prefix != x ; then
28242 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28243 if test x${GTK_CONFIG+set} != xset ; then
28244 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28247 if test x$gtk_config_prefix != x ; then
28248 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28249 if test x${GTK_CONFIG+set} != xset ; then
28250 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28254 # Extract the first word of "gtk-config", so it can be a program name with args.
28255 set dummy gtk-config; ac_word=$2
28256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28258 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28259 echo $ECHO_N "(cached) $ECHO_C" >&6
28261 case $GTK_CONFIG in
28263 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28267 for as_dir in $PATH
28270 test -z "$as_dir" && as_dir=.
28271 for ac_exec_ext in '' $ac_executable_extensions; do
28272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28273 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28281 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28285 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28286 if test -n "$GTK_CONFIG"; then
28287 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28288 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28290 { echo "$as_me:$LINENO: result: no" >&5
28291 echo "${ECHO_T}no" >&6; }
28295 min_gtk_version=1.2.7
28296 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28297 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28299 if test "$GTK_CONFIG" = "no" ; then
28302 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28303 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28304 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28305 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28306 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28307 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28308 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28309 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28310 if test "x$enable_gtktest" = "xyes" ; then
28311 ac_save_CFLAGS="$CFLAGS"
28312 ac_save_LIBS="$LIBS"
28313 CFLAGS="$CFLAGS $GTK_CFLAGS"
28314 LIBS="$GTK_LIBS $LIBS"
28316 if test "$cross_compiling" = yes; then
28317 echo $ac_n "cross compiling; assumed OK... $ac_c"
28319 cat >conftest.$ac_ext <<_ACEOF
28322 cat confdefs.h >>conftest.$ac_ext
28323 cat >>conftest.$ac_ext <<_ACEOF
28324 /* end confdefs.h. */
28326 #include <gtk/gtk.h>
28328 #include <stdlib.h>
28333 int major, minor, micro;
28336 system ("touch conf.gtktest");
28338 /* HP/UX 9 (%@#!) writes to sscanf strings */
28339 tmp_version = g_strdup("$min_gtk_version");
28340 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28341 printf("%s, bad version string\n", "$min_gtk_version");
28345 if ((gtk_major_version != $gtk_config_major_version) ||
28346 (gtk_minor_version != $gtk_config_minor_version) ||
28347 (gtk_micro_version != $gtk_config_micro_version))
28349 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28350 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28351 gtk_major_version, gtk_minor_version, gtk_micro_version);
28352 printf ("*** was found! If gtk-config was correct, then it is best\n");
28353 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28354 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28355 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28356 printf("*** required on your system.\n");
28357 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28358 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28359 printf("*** before re-running configure\n");
28361 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28362 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28363 (gtk_minor_version != GTK_MINOR_VERSION) ||
28364 (gtk_micro_version != GTK_MICRO_VERSION))
28366 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28367 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28368 printf("*** library (version %d.%d.%d)\n",
28369 gtk_major_version, gtk_minor_version, gtk_micro_version);
28371 #endif /* defined (GTK_MAJOR_VERSION) ... */
28374 if ((gtk_major_version > major) ||
28375 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28376 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28382 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28383 gtk_major_version, gtk_minor_version, gtk_micro_version);
28384 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28385 major, minor, micro);
28386 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28388 printf("*** If you have already installed a sufficiently new version, this error\n");
28389 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28390 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28391 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28392 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28393 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28394 printf("*** so that the correct libraries are found at run-time))\n");
28401 rm -f conftest$ac_exeext
28402 if { (ac_try="$ac_link"
28403 case "(($ac_try" in
28404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28405 *) ac_try_echo=$ac_try;;
28407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28408 (eval "$ac_link") 2>&5
28410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28412 { (case "(($ac_try" in
28413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28414 *) ac_try_echo=$ac_try;;
28416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28417 (eval "$ac_try") 2>&5
28419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28420 (exit $ac_status); }; }; then
28423 echo "$as_me: program exited with status $ac_status" >&5
28424 echo "$as_me: failed program was:" >&5
28425 sed 's/^/| /' conftest.$ac_ext >&5
28427 ( exit $ac_status )
28430 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28434 CFLAGS="$ac_save_CFLAGS"
28435 LIBS="$ac_save_LIBS"
28438 if test "x$no_gtk" = x ; then
28439 { echo "$as_me:$LINENO: result: yes" >&5
28440 echo "${ECHO_T}yes" >&6; }
28441 wx_cv_lib_gtk=1.2.7
28443 { echo "$as_me:$LINENO: result: no" >&5
28444 echo "${ECHO_T}no" >&6; }
28445 if test "$GTK_CONFIG" = "no" ; then
28446 echo "*** The gtk-config script installed by GTK could not be found"
28447 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28448 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28449 echo "*** full path to gtk-config."
28451 if test -f conf.gtktest ; then
28454 echo "*** Could not run GTK test program, checking why..."
28455 CFLAGS="$CFLAGS $GTK_CFLAGS"
28456 LIBS="$LIBS $GTK_LIBS"
28457 cat >conftest.$ac_ext <<_ACEOF
28460 cat confdefs.h >>conftest.$ac_ext
28461 cat >>conftest.$ac_ext <<_ACEOF
28462 /* end confdefs.h. */
28464 #include <gtk/gtk.h>
28470 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28475 rm -f conftest.$ac_objext conftest$ac_exeext
28476 if { (ac_try="$ac_link"
28477 case "(($ac_try" in
28478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28479 *) ac_try_echo=$ac_try;;
28481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28482 (eval "$ac_link") 2>conftest.er1
28484 grep -v '^ *+' conftest.er1 >conftest.err
28486 cat conftest.err >&5
28487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28488 (exit $ac_status); } && {
28489 test -z "$ac_c_werror_flag" ||
28490 test ! -s conftest.err
28491 } && test -s conftest$ac_exeext &&
28492 $as_test_x conftest$ac_exeext; then
28493 echo "*** The test program compiled, but did not run. This usually means"
28494 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28495 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28496 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28497 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28498 echo "*** is required on your system"
28500 echo "*** If you have an old version installed, it is best to remove it, although"
28501 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28503 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28504 echo "*** came with the system with the command"
28506 echo "*** rpm --erase --nodeps gtk gtk-devel"
28508 echo "$as_me: failed program was:" >&5
28509 sed 's/^/| /' conftest.$ac_ext >&5
28511 echo "*** The test program failed to compile or link. See the file config.log for the"
28512 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28513 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28514 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28518 conftest$ac_exeext conftest.$ac_ext
28519 CFLAGS="$ac_save_CFLAGS"
28520 LIBS="$ac_save_LIBS"
28532 if test -z "$wx_cv_lib_gtk"; then
28534 # Check whether --with-gtk-prefix was given.
28535 if test "${with_gtk_prefix+set}" = set; then
28536 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28538 gtk_config_prefix=""
28542 # Check whether --with-gtk-exec-prefix was given.
28543 if test "${with_gtk_exec_prefix+set}" = set; then
28544 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28546 gtk_config_exec_prefix=""
28549 # Check whether --enable-gtktest was given.
28550 if test "${enable_gtktest+set}" = set; then
28551 enableval=$enable_gtktest;
28557 for module in . $GTK_MODULES
28561 gtk_config_args="$gtk_config_args gthread"
28566 if test x$gtk_config_exec_prefix != x ; then
28567 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28568 if test x${GTK_CONFIG+set} != xset ; then
28569 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28572 if test x$gtk_config_prefix != x ; then
28573 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28574 if test x${GTK_CONFIG+set} != xset ; then
28575 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28579 # Extract the first word of "gtk-config", so it can be a program name with args.
28580 set dummy gtk-config; ac_word=$2
28581 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28583 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28584 echo $ECHO_N "(cached) $ECHO_C" >&6
28586 case $GTK_CONFIG in
28588 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28592 for as_dir in $PATH
28595 test -z "$as_dir" && as_dir=.
28596 for ac_exec_ext in '' $ac_executable_extensions; do
28597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28598 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28606 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28610 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28611 if test -n "$GTK_CONFIG"; then
28612 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28613 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28615 { echo "$as_me:$LINENO: result: no" >&5
28616 echo "${ECHO_T}no" >&6; }
28620 min_gtk_version=1.2.3
28621 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28622 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28624 if test "$GTK_CONFIG" = "no" ; then
28627 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28628 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28629 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28630 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28631 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28632 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28633 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28634 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28635 if test "x$enable_gtktest" = "xyes" ; then
28636 ac_save_CFLAGS="$CFLAGS"
28637 ac_save_LIBS="$LIBS"
28638 CFLAGS="$CFLAGS $GTK_CFLAGS"
28639 LIBS="$GTK_LIBS $LIBS"
28641 if test "$cross_compiling" = yes; then
28642 echo $ac_n "cross compiling; assumed OK... $ac_c"
28644 cat >conftest.$ac_ext <<_ACEOF
28647 cat confdefs.h >>conftest.$ac_ext
28648 cat >>conftest.$ac_ext <<_ACEOF
28649 /* end confdefs.h. */
28651 #include <gtk/gtk.h>
28653 #include <stdlib.h>
28658 int major, minor, micro;
28661 system ("touch conf.gtktest");
28663 /* HP/UX 9 (%@#!) writes to sscanf strings */
28664 tmp_version = g_strdup("$min_gtk_version");
28665 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28666 printf("%s, bad version string\n", "$min_gtk_version");
28670 if ((gtk_major_version != $gtk_config_major_version) ||
28671 (gtk_minor_version != $gtk_config_minor_version) ||
28672 (gtk_micro_version != $gtk_config_micro_version))
28674 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28675 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28676 gtk_major_version, gtk_minor_version, gtk_micro_version);
28677 printf ("*** was found! If gtk-config was correct, then it is best\n");
28678 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28679 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28680 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28681 printf("*** required on your system.\n");
28682 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28683 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28684 printf("*** before re-running configure\n");
28686 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28687 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28688 (gtk_minor_version != GTK_MINOR_VERSION) ||
28689 (gtk_micro_version != GTK_MICRO_VERSION))
28691 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28692 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28693 printf("*** library (version %d.%d.%d)\n",
28694 gtk_major_version, gtk_minor_version, gtk_micro_version);
28696 #endif /* defined (GTK_MAJOR_VERSION) ... */
28699 if ((gtk_major_version > major) ||
28700 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28701 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28707 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28708 gtk_major_version, gtk_minor_version, gtk_micro_version);
28709 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28710 major, minor, micro);
28711 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28713 printf("*** If you have already installed a sufficiently new version, this error\n");
28714 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28715 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28716 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28717 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28718 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28719 printf("*** so that the correct libraries are found at run-time))\n");
28726 rm -f conftest$ac_exeext
28727 if { (ac_try="$ac_link"
28728 case "(($ac_try" in
28729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28730 *) ac_try_echo=$ac_try;;
28732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28733 (eval "$ac_link") 2>&5
28735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28736 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28737 { (case "(($ac_try" in
28738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28739 *) ac_try_echo=$ac_try;;
28741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28742 (eval "$ac_try") 2>&5
28744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28745 (exit $ac_status); }; }; then
28748 echo "$as_me: program exited with status $ac_status" >&5
28749 echo "$as_me: failed program was:" >&5
28750 sed 's/^/| /' conftest.$ac_ext >&5
28752 ( exit $ac_status )
28755 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28759 CFLAGS="$ac_save_CFLAGS"
28760 LIBS="$ac_save_LIBS"
28763 if test "x$no_gtk" = x ; then
28764 { echo "$as_me:$LINENO: result: yes" >&5
28765 echo "${ECHO_T}yes" >&6; }
28766 wx_cv_lib_gtk=1.2.3
28768 { echo "$as_me:$LINENO: result: no" >&5
28769 echo "${ECHO_T}no" >&6; }
28770 if test "$GTK_CONFIG" = "no" ; then
28771 echo "*** The gtk-config script installed by GTK could not be found"
28772 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28773 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28774 echo "*** full path to gtk-config."
28776 if test -f conf.gtktest ; then
28779 echo "*** Could not run GTK test program, checking why..."
28780 CFLAGS="$CFLAGS $GTK_CFLAGS"
28781 LIBS="$LIBS $GTK_LIBS"
28782 cat >conftest.$ac_ext <<_ACEOF
28785 cat confdefs.h >>conftest.$ac_ext
28786 cat >>conftest.$ac_ext <<_ACEOF
28787 /* end confdefs.h. */
28789 #include <gtk/gtk.h>
28795 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28800 rm -f conftest.$ac_objext conftest$ac_exeext
28801 if { (ac_try="$ac_link"
28802 case "(($ac_try" in
28803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28804 *) ac_try_echo=$ac_try;;
28806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28807 (eval "$ac_link") 2>conftest.er1
28809 grep -v '^ *+' conftest.er1 >conftest.err
28811 cat conftest.err >&5
28812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28813 (exit $ac_status); } && {
28814 test -z "$ac_c_werror_flag" ||
28815 test ! -s conftest.err
28816 } && test -s conftest$ac_exeext &&
28817 $as_test_x conftest$ac_exeext; then
28818 echo "*** The test program compiled, but did not run. This usually means"
28819 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28820 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28821 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28822 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28823 echo "*** is required on your system"
28825 echo "*** If you have an old version installed, it is best to remove it, although"
28826 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28828 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28829 echo "*** came with the system with the command"
28831 echo "*** rpm --erase --nodeps gtk gtk-devel"
28833 echo "$as_me: failed program was:" >&5
28834 sed 's/^/| /' conftest.$ac_ext >&5
28836 echo "*** The test program failed to compile or link. See the file config.log for the"
28837 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28838 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28839 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28843 conftest$ac_exeext conftest.$ac_ext
28844 CFLAGS="$ac_save_CFLAGS"
28845 LIBS="$ac_save_LIBS"
28860 if test -z "$wx_cv_lib_gtk"; then
28863 wx_cv_cflags_gtk=$GTK_CFLAGS
28864 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28871 if test "$gtk_version_cached" = 1; then
28872 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28873 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28876 case "$wx_cv_lib_gtk" in
28885 *) { { echo "$as_me:$LINENO: error:
28886 The development files for GTK+ were not found. For GTK+ 2, please
28887 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28888 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28889 and that the version is 1.2.3 or above. Also check that the
28890 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28891 --libs' are in the LD_LIBRARY_PATH or equivalent.
28893 echo "$as_me: error:
28894 The development files for GTK+ were not found. For GTK+ 2, please
28895 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28896 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28897 and that the version is 1.2.3 or above. Also check that the
28898 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28899 --libs' are in the LD_LIBRARY_PATH or equivalent.
28901 { (exit 1); exit 1; }; }
28905 if test "$WXGTK2" = 1; then
28906 save_CFLAGS="$CFLAGS"
28908 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28909 LIBS="$LIBS $wx_cv_libs_gtk"
28911 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28912 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28913 cat >conftest.$ac_ext <<_ACEOF
28916 cat confdefs.h >>conftest.$ac_ext
28917 cat >>conftest.$ac_ext <<_ACEOF
28918 /* end confdefs.h. */
28920 #include <gtk/gtk.h>
28926 #if !GTK_CHECK_VERSION(2,10,0)
28934 rm -f conftest.$ac_objext
28935 if { (ac_try="$ac_compile"
28936 case "(($ac_try" in
28937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28938 *) ac_try_echo=$ac_try;;
28940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28941 (eval "$ac_compile") 2>conftest.er1
28943 grep -v '^ *+' conftest.er1 >conftest.err
28945 cat conftest.err >&5
28946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28947 (exit $ac_status); } && {
28948 test -z "$ac_c_werror_flag" ||
28949 test ! -s conftest.err
28950 } && test -s conftest.$ac_objext; then
28952 cat >>confdefs.h <<\_ACEOF
28953 #define __WXGTK210__ 1
28956 cat >>confdefs.h <<\_ACEOF
28957 #define __WXGTK26__ 1
28960 { echo "$as_me:$LINENO: result: yes" >&5
28961 echo "${ECHO_T}yes" >&6; }
28965 echo "$as_me: failed program was:" >&5
28966 sed 's/^/| /' conftest.$ac_ext >&5
28969 { echo "$as_me:$LINENO: result: no" >&5
28970 echo "${ECHO_T}no" >&6; }
28975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28977 if test "$ac_wxgtk210" = 0; then
28978 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28979 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28980 cat >conftest.$ac_ext <<_ACEOF
28983 cat confdefs.h >>conftest.$ac_ext
28984 cat >>conftest.$ac_ext <<_ACEOF
28985 /* end confdefs.h. */
28987 #include <gtk/gtk.h>
28993 #if !GTK_CHECK_VERSION(2,6,0)
29001 rm -f conftest.$ac_objext
29002 if { (ac_try="$ac_compile"
29003 case "(($ac_try" in
29004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29005 *) ac_try_echo=$ac_try;;
29007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29008 (eval "$ac_compile") 2>conftest.er1
29010 grep -v '^ *+' conftest.er1 >conftest.err
29012 cat conftest.err >&5
29013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29014 (exit $ac_status); } && {
29015 test -z "$ac_c_werror_flag" ||
29016 test ! -s conftest.err
29017 } && test -s conftest.$ac_objext; then
29019 cat >>confdefs.h <<\_ACEOF
29020 #define __WXGTK26__ 1
29023 { echo "$as_me:$LINENO: result: yes" >&5
29024 echo "${ECHO_T}yes" >&6; }
29028 echo "$as_me: failed program was:" >&5
29029 sed 's/^/| /' conftest.$ac_ext >&5
29032 { echo "$as_me:$LINENO: result: no" >&5
29033 echo "${ECHO_T}no" >&6; }
29038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29041 CFLAGS="$save_CFLAGS"
29044 if test "$wxUSE_UNICODE" = "yes"; then
29045 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29046 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29050 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29051 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29052 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29053 echo $ECHO_N "(cached) $ECHO_C" >&6
29055 ac_check_lib_save_LIBS=$LIBS
29057 cat >conftest.$ac_ext <<_ACEOF
29060 cat confdefs.h >>conftest.$ac_ext
29061 cat >>conftest.$ac_ext <<_ACEOF
29062 /* end confdefs.h. */
29064 /* Override any GCC internal prototype to avoid an error.
29065 Use char because int might match the return type of a GCC
29066 builtin and then its argument prototype would still apply. */
29070 char gdk_im_open ();
29074 return gdk_im_open ();
29079 rm -f conftest.$ac_objext conftest$ac_exeext
29080 if { (ac_try="$ac_link"
29081 case "(($ac_try" in
29082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29083 *) ac_try_echo=$ac_try;;
29085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29086 (eval "$ac_link") 2>conftest.er1
29088 grep -v '^ *+' conftest.er1 >conftest.err
29090 cat conftest.err >&5
29091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29092 (exit $ac_status); } && {
29093 test -z "$ac_c_werror_flag" ||
29094 test ! -s conftest.err
29095 } && test -s conftest$ac_exeext &&
29096 $as_test_x conftest$ac_exeext; then
29097 ac_cv_lib_gdk_gdk_im_open=yes
29099 echo "$as_me: failed program was:" >&5
29100 sed 's/^/| /' conftest.$ac_ext >&5
29102 ac_cv_lib_gdk_gdk_im_open=no
29105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29106 conftest$ac_exeext conftest.$ac_ext
29107 LIBS=$ac_check_lib_save_LIBS
29109 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29110 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29111 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29112 cat >>confdefs.h <<\_ACEOF
29119 if test "$USE_DARWIN" != 1; then
29121 for ac_func in poll
29123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29124 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29126 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29127 echo $ECHO_N "(cached) $ECHO_C" >&6
29129 cat >conftest.$ac_ext <<_ACEOF
29132 cat confdefs.h >>conftest.$ac_ext
29133 cat >>conftest.$ac_ext <<_ACEOF
29134 /* end confdefs.h. */
29135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29137 #define $ac_func innocuous_$ac_func
29139 /* System header to define __stub macros and hopefully few prototypes,
29140 which can conflict with char $ac_func (); below.
29141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29142 <limits.h> exists even on freestanding compilers. */
29145 # include <limits.h>
29147 # include <assert.h>
29152 /* Override any GCC internal prototype to avoid an error.
29153 Use char because int might match the return type of a GCC
29154 builtin and then its argument prototype would still apply. */
29159 /* The GNU C library defines this for functions which it implements
29160 to always fail with ENOSYS. Some functions are actually named
29161 something starting with __ and the normal name is an alias. */
29162 #if defined __stub_$ac_func || defined __stub___$ac_func
29169 return $ac_func ();
29174 rm -f conftest.$ac_objext conftest$ac_exeext
29175 if { (ac_try="$ac_link"
29176 case "(($ac_try" in
29177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29178 *) ac_try_echo=$ac_try;;
29180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29181 (eval "$ac_link") 2>conftest.er1
29183 grep -v '^ *+' conftest.er1 >conftest.err
29185 cat conftest.err >&5
29186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29187 (exit $ac_status); } && {
29188 test -z "$ac_c_werror_flag" ||
29189 test ! -s conftest.err
29190 } && test -s conftest$ac_exeext &&
29191 $as_test_x conftest$ac_exeext; then
29192 eval "$as_ac_var=yes"
29194 echo "$as_me: failed program was:" >&5
29195 sed 's/^/| /' conftest.$ac_ext >&5
29197 eval "$as_ac_var=no"
29200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29201 conftest$ac_exeext conftest.$ac_ext
29203 ac_res=`eval echo '${'$as_ac_var'}'`
29204 { echo "$as_me:$LINENO: result: $ac_res" >&5
29205 echo "${ECHO_T}$ac_res" >&6; }
29206 if test `eval echo '${'$as_ac_var'}'` = yes; then
29207 cat >>confdefs.h <<_ACEOF
29208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29217 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29218 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29220 AFMINSTALL=afminstall
29224 if test "$wxUSE_GPE" = "yes"; then
29225 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29226 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29229 for ac_dir in $SEARCH_LIB;
29231 for ac_extension in a so sl dylib dll.a; do
29232 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29233 ac_find_libraries=$ac_dir
29239 if test "$ac_find_libraries" != "" ; then
29241 if test "$ac_find_libraries" = "default location"; then
29244 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29246 if test $result = 0; then
29249 ac_path_to_link=" -L$ac_find_libraries"
29253 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29255 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29256 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29258 { echo "$as_me:$LINENO: result: not found" >&5
29259 echo "${ECHO_T}not found" >&6; }
29265 if test "$wxUSE_MGL" = 1; then
29266 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29267 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29268 if test "x$MGL_ROOT" = x ; then
29269 { echo "$as_me:$LINENO: result: not found" >&5
29270 echo "${ECHO_T}not found" >&6; }
29271 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29272 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29273 { (exit 1); exit 1; }; }
29275 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29276 echo "${ECHO_T}$MGL_ROOT" >&6; }
29279 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29280 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29283 if test "x$wxUSE_SHARED" = xyes ; then
29284 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29286 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29290 mgl_os_candidates="dos32/dj2"
29293 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29294 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29295 { (exit 1); exit 1; }; }
29301 for mgl_os_i in $mgl_os_candidates ; do
29302 if test "x$mgl_os" = x ; then
29303 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29304 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29305 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29310 if test "x$mgl_lib_type" = x ; then
29311 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29312 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29313 mgl_lib_type=release
29320 if test "x$mgl_os" = x ; then
29321 { echo "$as_me:$LINENO: result: not found" >&5
29322 echo "${ECHO_T}not found" >&6; }
29323 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29324 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29325 { (exit 1); exit 1; }; }
29327 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29328 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29330 wxUSE_UNIVERSAL="yes"
29332 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29333 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29335 AFMINSTALL=afminstall
29340 if test "$wxUSE_DFB" = 1; then
29343 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29344 if test -n "$ac_tool_prefix"; then
29345 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29346 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29349 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29350 echo $ECHO_N "(cached) $ECHO_C" >&6
29352 case $PKG_CONFIG in
29354 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29358 for as_dir in $PATH
29361 test -z "$as_dir" && as_dir=.
29362 for ac_exec_ext in '' $ac_executable_extensions; do
29363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29364 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29375 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29376 if test -n "$PKG_CONFIG"; then
29377 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29378 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29380 { echo "$as_me:$LINENO: result: no" >&5
29381 echo "${ECHO_T}no" >&6; }
29386 if test -z "$ac_cv_path_PKG_CONFIG"; then
29387 ac_pt_PKG_CONFIG=$PKG_CONFIG
29388 # Extract the first word of "pkg-config", so it can be a program name with args.
29389 set dummy pkg-config; ac_word=$2
29390 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29392 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29393 echo $ECHO_N "(cached) $ECHO_C" >&6
29395 case $ac_pt_PKG_CONFIG in
29397 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29401 for as_dir in $PATH
29404 test -z "$as_dir" && as_dir=.
29405 for ac_exec_ext in '' $ac_executable_extensions; do
29406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29407 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29418 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29419 if test -n "$ac_pt_PKG_CONFIG"; then
29420 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29421 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29423 { echo "$as_me:$LINENO: result: no" >&5
29424 echo "${ECHO_T}no" >&6; }
29427 if test "x$ac_pt_PKG_CONFIG" = x; then
29430 case $cross_compiling:$ac_tool_warned in
29432 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29433 whose name does not start with the host triplet. If you think this
29434 configuration is useful to you, please write to autoconf@gnu.org." >&5
29435 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29436 whose name does not start with the host triplet. If you think this
29437 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29438 ac_tool_warned=yes ;;
29440 PKG_CONFIG=$ac_pt_PKG_CONFIG
29443 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29447 if test -n "$PKG_CONFIG"; then
29448 _pkg_min_version=0.9.0
29449 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29450 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29451 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29452 { echo "$as_me:$LINENO: result: yes" >&5
29453 echo "${ECHO_T}yes" >&6; }
29455 { echo "$as_me:$LINENO: result: no" >&5
29456 echo "${ECHO_T}no" >&6; }
29464 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29465 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29467 if test -n "$PKG_CONFIG"; then
29468 if test -n "$DIRECTFB_CFLAGS"; then
29469 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29471 if test -n "$PKG_CONFIG" && \
29472 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29473 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29476 (exit $ac_status); }; then
29477 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29485 if test -n "$PKG_CONFIG"; then
29486 if test -n "$DIRECTFB_LIBS"; then
29487 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29489 if test -n "$PKG_CONFIG" && \
29490 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29491 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29494 (exit $ac_status); }; then
29495 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29506 if test $pkg_failed = yes; then
29508 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29509 _pkg_short_errors_supported=yes
29511 _pkg_short_errors_supported=no
29513 if test $_pkg_short_errors_supported = yes; then
29514 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29516 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29518 # Put the nasty error message in config.log where it belongs
29519 echo "$DIRECTFB_PKG_ERRORS" >&5
29522 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29523 echo "$as_me: error: DirectFB not found." >&2;}
29524 { (exit 1); exit 1; }; }
29527 elif test $pkg_failed = untried; then
29529 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29530 echo "$as_me: error: DirectFB not found." >&2;}
29531 { (exit 1); exit 1; }; }
29535 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29536 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29537 { echo "$as_me:$LINENO: result: yes" >&5
29538 echo "${ECHO_T}yes" >&6; }
29540 wxUSE_UNIVERSAL="yes"
29541 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29542 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29549 if test "$wxUSE_MICROWIN" = 1; then
29550 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29551 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29552 if test "x$MICROWINDOWS" = x ; then
29553 { echo "$as_me:$LINENO: result: not found" >&5
29554 echo "${ECHO_T}not found" >&6; }
29555 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29556 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29557 { (exit 1); exit 1; }; }
29559 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29560 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29563 if test -f $MICROWINDOWS/lib/libmwin.a; then
29564 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29565 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29567 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29568 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29569 { (exit 1); exit 1; }; }
29572 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29573 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29575 wxUSE_UNIVERSAL="yes"
29577 AFMINSTALL=afminstall
29579 GUIDIST=MICROWIN_DIST
29581 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29584 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29585 { echo "$as_me:$LINENO: checking for X" >&5
29586 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29589 # Check whether --with-x was given.
29590 if test "${with_x+set}" = set; then
29594 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29595 if test "x$with_x" = xno; then
29596 # The user explicitly disabled X.
29599 case $x_includes,$x_libraries in #(
29600 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29601 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29602 { (exit 1); exit 1; }; };; #(
29603 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29604 echo $ECHO_N "(cached) $ECHO_C" >&6
29606 # One or both of the vars are not set, and there is no cached value.
29607 ac_x_includes=no ac_x_libraries=no
29608 rm -f -r conftest.dir
29609 if mkdir conftest.dir; then
29611 cat >Imakefile <<'_ACEOF'
29613 @echo incroot='${INCROOT}'
29615 @echo usrlibdir='${USRLIBDIR}'
29617 @echo libdir='${LIBDIR}'
29619 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29620 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29621 for ac_var in incroot usrlibdir libdir; do
29622 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29624 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29625 for ac_extension in a so sl; do
29626 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29627 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29628 ac_im_usrlibdir=$ac_im_libdir; break
29631 # Screen out bogus values from the imake configuration. They are
29632 # bogus both because they are the default anyway, and because
29633 # using them would break gcc on systems where it needs fixed includes.
29634 case $ac_im_incroot in
29635 /usr/include) ac_x_includes= ;;
29636 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29638 case $ac_im_usrlibdir in
29639 /usr/lib | /lib) ;;
29640 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29644 rm -f -r conftest.dir
29647 # Standard set of common directories for X headers.
29648 # Check X11 before X11Rn because it is often a symlink to the current release.
29660 /usr/local/X11/include
29661 /usr/local/X11R6/include
29662 /usr/local/X11R5/include
29663 /usr/local/X11R4/include
29665 /usr/local/include/X11
29666 /usr/local/include/X11R6
29667 /usr/local/include/X11R5
29668 /usr/local/include/X11R4
29672 /usr/XFree86/include/X11
29676 /usr/unsupported/include
29677 /usr/athena/include
29678 /usr/local/x11r5/include
29679 /usr/lpp/Xamples/include
29681 /usr/openwin/include
29682 /usr/openwin/share/include'
29684 if test "$ac_x_includes" = no; then
29685 # Guess where to find include files, by looking for Xlib.h.
29686 # First, try using that file with no special directory specified.
29687 cat >conftest.$ac_ext <<_ACEOF
29690 cat confdefs.h >>conftest.$ac_ext
29691 cat >>conftest.$ac_ext <<_ACEOF
29692 /* end confdefs.h. */
29693 #include <X11/Xlib.h>
29695 if { (ac_try="$ac_cpp conftest.$ac_ext"
29696 case "(($ac_try" in
29697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29698 *) ac_try_echo=$ac_try;;
29700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29701 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29703 grep -v '^ *+' conftest.er1 >conftest.err
29705 cat conftest.err >&5
29706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29707 (exit $ac_status); } >/dev/null && {
29708 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29709 test ! -s conftest.err
29711 # We can compile using X headers with no special include directory.
29714 echo "$as_me: failed program was:" >&5
29715 sed 's/^/| /' conftest.$ac_ext >&5
29717 for ac_dir in $ac_x_header_dirs; do
29718 if test -r "$ac_dir/X11/Xlib.h"; then
29719 ac_x_includes=$ac_dir
29725 rm -f conftest.err conftest.$ac_ext
29726 fi # $ac_x_includes = no
29728 if test "$ac_x_libraries" = no; then
29729 # Check for the libraries.
29730 # See if we find them without any special options.
29731 # Don't add to $LIBS permanently.
29734 cat >conftest.$ac_ext <<_ACEOF
29737 cat confdefs.h >>conftest.$ac_ext
29738 cat >>conftest.$ac_ext <<_ACEOF
29739 /* end confdefs.h. */
29740 #include <X11/Xlib.h>
29749 rm -f conftest.$ac_objext conftest$ac_exeext
29750 if { (ac_try="$ac_link"
29751 case "(($ac_try" in
29752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29753 *) ac_try_echo=$ac_try;;
29755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29756 (eval "$ac_link") 2>conftest.er1
29758 grep -v '^ *+' conftest.er1 >conftest.err
29760 cat conftest.err >&5
29761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29762 (exit $ac_status); } && {
29763 test -z "$ac_c_werror_flag" ||
29764 test ! -s conftest.err
29765 } && test -s conftest$ac_exeext &&
29766 $as_test_x conftest$ac_exeext; then
29768 # We can link X programs with no special library path.
29771 echo "$as_me: failed program was:" >&5
29772 sed 's/^/| /' conftest.$ac_ext >&5
29775 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29777 # Don't even attempt the hair of trying to link an X program!
29778 for ac_extension in a so sl; do
29779 if test -r "$ac_dir/libX11.$ac_extension"; then
29780 ac_x_libraries=$ac_dir
29787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29788 conftest$ac_exeext conftest.$ac_ext
29789 fi # $ac_x_libraries = no
29791 case $ac_x_includes,$ac_x_libraries in #(
29792 no,* | *,no | *\'*)
29793 # Didn't find X, or a directory has "'" in its name.
29794 ac_cv_have_x="have_x=no";; #(
29796 # Record where we found X for the cache.
29797 ac_cv_have_x="have_x=yes\
29798 ac_x_includes='$ac_x_includes'\
29799 ac_x_libraries='$ac_x_libraries'"
29805 eval "$ac_cv_have_x"
29808 if test "$have_x" != yes; then
29809 { echo "$as_me:$LINENO: result: $have_x" >&5
29810 echo "${ECHO_T}$have_x" >&6; }
29813 # If each of the values was on the command line, it overrides each guess.
29814 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29815 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29816 # Update the cache value to reflect the command line values.
29817 ac_cv_have_x="have_x=yes\
29818 ac_x_includes='$x_includes'\
29819 ac_x_libraries='$x_libraries'"
29820 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29821 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29824 if test "$no_x" = yes; then
29825 # Not all programs may use this symbol, but it does not hurt to define it.
29827 cat >>confdefs.h <<\_ACEOF
29828 #define X_DISPLAY_MISSING 1
29831 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29833 if test -n "$x_includes"; then
29834 X_CFLAGS="$X_CFLAGS -I$x_includes"
29837 # It would also be nice to do this for all -L options, not just this one.
29838 if test -n "$x_libraries"; then
29839 X_LIBS="$X_LIBS -L$x_libraries"
29840 # For Solaris; some versions of Sun CC require a space after -R and
29841 # others require no space. Words are not sufficient . . . .
29842 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29843 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29844 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29845 ac_xsave_c_werror_flag=$ac_c_werror_flag
29846 ac_c_werror_flag=yes
29847 cat >conftest.$ac_ext <<_ACEOF
29850 cat confdefs.h >>conftest.$ac_ext
29851 cat >>conftest.$ac_ext <<_ACEOF
29852 /* end confdefs.h. */
29862 rm -f conftest.$ac_objext conftest$ac_exeext
29863 if { (ac_try="$ac_link"
29864 case "(($ac_try" in
29865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29866 *) ac_try_echo=$ac_try;;
29868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29869 (eval "$ac_link") 2>conftest.er1
29871 grep -v '^ *+' conftest.er1 >conftest.err
29873 cat conftest.err >&5
29874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29875 (exit $ac_status); } && {
29876 test -z "$ac_c_werror_flag" ||
29877 test ! -s conftest.err
29878 } && test -s conftest$ac_exeext &&
29879 $as_test_x conftest$ac_exeext; then
29880 { echo "$as_me:$LINENO: result: no" >&5
29881 echo "${ECHO_T}no" >&6; }
29882 X_LIBS="$X_LIBS -R$x_libraries"
29884 echo "$as_me: failed program was:" >&5
29885 sed 's/^/| /' conftest.$ac_ext >&5
29887 LIBS="$ac_xsave_LIBS -R $x_libraries"
29888 cat >conftest.$ac_ext <<_ACEOF
29891 cat confdefs.h >>conftest.$ac_ext
29892 cat >>conftest.$ac_ext <<_ACEOF
29893 /* end confdefs.h. */
29903 rm -f conftest.$ac_objext conftest$ac_exeext
29904 if { (ac_try="$ac_link"
29905 case "(($ac_try" in
29906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29907 *) ac_try_echo=$ac_try;;
29909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29910 (eval "$ac_link") 2>conftest.er1
29912 grep -v '^ *+' conftest.er1 >conftest.err
29914 cat conftest.err >&5
29915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29916 (exit $ac_status); } && {
29917 test -z "$ac_c_werror_flag" ||
29918 test ! -s conftest.err
29919 } && test -s conftest$ac_exeext &&
29920 $as_test_x conftest$ac_exeext; then
29921 { echo "$as_me:$LINENO: result: yes" >&5
29922 echo "${ECHO_T}yes" >&6; }
29923 X_LIBS="$X_LIBS -R $x_libraries"
29925 echo "$as_me: failed program was:" >&5
29926 sed 's/^/| /' conftest.$ac_ext >&5
29928 { echo "$as_me:$LINENO: result: neither works" >&5
29929 echo "${ECHO_T}neither works" >&6; }
29932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29933 conftest$ac_exeext conftest.$ac_ext
29936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29937 conftest$ac_exeext conftest.$ac_ext
29938 ac_c_werror_flag=$ac_xsave_c_werror_flag
29939 LIBS=$ac_xsave_LIBS
29942 # Check for system-dependent libraries X programs must link with.
29943 # Do this before checking for the system-independent R6 libraries
29944 # (-lICE), since we may need -lsocket or whatever for X linking.
29946 if test "$ISC" = yes; then
29947 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29949 # Martyn Johnson says this is needed for Ultrix, if the X
29950 # libraries were built with DECnet support. And Karl Berry says
29951 # the Alpha needs dnet_stub (dnet does not exist).
29952 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29953 cat >conftest.$ac_ext <<_ACEOF
29956 cat confdefs.h >>conftest.$ac_ext
29957 cat >>conftest.$ac_ext <<_ACEOF
29958 /* end confdefs.h. */
29960 /* Override any GCC internal prototype to avoid an error.
29961 Use char because int might match the return type of a GCC
29962 builtin and then its argument prototype would still apply. */
29966 char XOpenDisplay ();
29970 return XOpenDisplay ();
29975 rm -f conftest.$ac_objext conftest$ac_exeext
29976 if { (ac_try="$ac_link"
29977 case "(($ac_try" in
29978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29979 *) ac_try_echo=$ac_try;;
29981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29982 (eval "$ac_link") 2>conftest.er1
29984 grep -v '^ *+' conftest.er1 >conftest.err
29986 cat conftest.err >&5
29987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29988 (exit $ac_status); } && {
29989 test -z "$ac_c_werror_flag" ||
29990 test ! -s conftest.err
29991 } && test -s conftest$ac_exeext &&
29992 $as_test_x conftest$ac_exeext; then
29995 echo "$as_me: failed program was:" >&5
29996 sed 's/^/| /' conftest.$ac_ext >&5
29998 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29999 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30000 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30001 echo $ECHO_N "(cached) $ECHO_C" >&6
30003 ac_check_lib_save_LIBS=$LIBS
30004 LIBS="-ldnet $LIBS"
30005 cat >conftest.$ac_ext <<_ACEOF
30008 cat confdefs.h >>conftest.$ac_ext
30009 cat >>conftest.$ac_ext <<_ACEOF
30010 /* end confdefs.h. */
30012 /* Override any GCC internal prototype to avoid an error.
30013 Use char because int might match the return type of a GCC
30014 builtin and then its argument prototype would still apply. */
30022 return dnet_ntoa ();
30027 rm -f conftest.$ac_objext conftest$ac_exeext
30028 if { (ac_try="$ac_link"
30029 case "(($ac_try" in
30030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30031 *) ac_try_echo=$ac_try;;
30033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30034 (eval "$ac_link") 2>conftest.er1
30036 grep -v '^ *+' conftest.er1 >conftest.err
30038 cat conftest.err >&5
30039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30040 (exit $ac_status); } && {
30041 test -z "$ac_c_werror_flag" ||
30042 test ! -s conftest.err
30043 } && test -s conftest$ac_exeext &&
30044 $as_test_x conftest$ac_exeext; then
30045 ac_cv_lib_dnet_dnet_ntoa=yes
30047 echo "$as_me: failed program was:" >&5
30048 sed 's/^/| /' conftest.$ac_ext >&5
30050 ac_cv_lib_dnet_dnet_ntoa=no
30053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30054 conftest$ac_exeext conftest.$ac_ext
30055 LIBS=$ac_check_lib_save_LIBS
30057 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30058 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30059 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30060 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30063 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30064 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30065 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30066 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30067 echo $ECHO_N "(cached) $ECHO_C" >&6
30069 ac_check_lib_save_LIBS=$LIBS
30070 LIBS="-ldnet_stub $LIBS"
30071 cat >conftest.$ac_ext <<_ACEOF
30074 cat confdefs.h >>conftest.$ac_ext
30075 cat >>conftest.$ac_ext <<_ACEOF
30076 /* end confdefs.h. */
30078 /* Override any GCC internal prototype to avoid an error.
30079 Use char because int might match the return type of a GCC
30080 builtin and then its argument prototype would still apply. */
30088 return dnet_ntoa ();
30093 rm -f conftest.$ac_objext conftest$ac_exeext
30094 if { (ac_try="$ac_link"
30095 case "(($ac_try" in
30096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30097 *) ac_try_echo=$ac_try;;
30099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30100 (eval "$ac_link") 2>conftest.er1
30102 grep -v '^ *+' conftest.er1 >conftest.err
30104 cat conftest.err >&5
30105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30106 (exit $ac_status); } && {
30107 test -z "$ac_c_werror_flag" ||
30108 test ! -s conftest.err
30109 } && test -s conftest$ac_exeext &&
30110 $as_test_x conftest$ac_exeext; then
30111 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30113 echo "$as_me: failed program was:" >&5
30114 sed 's/^/| /' conftest.$ac_ext >&5
30116 ac_cv_lib_dnet_stub_dnet_ntoa=no
30119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30120 conftest$ac_exeext conftest.$ac_ext
30121 LIBS=$ac_check_lib_save_LIBS
30123 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30124 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30125 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30126 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30133 conftest$ac_exeext conftest.$ac_ext
30134 LIBS="$ac_xsave_LIBS"
30136 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30137 # to get the SysV transport functions.
30138 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30140 # The nsl library prevents programs from opening the X display
30141 # on Irix 5.2, according to T.E. Dickey.
30142 # The functions gethostbyname, getservbyname, and inet_addr are
30143 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30144 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30145 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30146 if test "${ac_cv_func_gethostbyname+set}" = set; then
30147 echo $ECHO_N "(cached) $ECHO_C" >&6
30149 cat >conftest.$ac_ext <<_ACEOF
30152 cat confdefs.h >>conftest.$ac_ext
30153 cat >>conftest.$ac_ext <<_ACEOF
30154 /* end confdefs.h. */
30155 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30157 #define gethostbyname innocuous_gethostbyname
30159 /* System header to define __stub macros and hopefully few prototypes,
30160 which can conflict with char gethostbyname (); below.
30161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30162 <limits.h> exists even on freestanding compilers. */
30165 # include <limits.h>
30167 # include <assert.h>
30170 #undef gethostbyname
30172 /* Override any GCC internal prototype to avoid an error.
30173 Use char because int might match the return type of a GCC
30174 builtin and then its argument prototype would still apply. */
30178 char gethostbyname ();
30179 /* The GNU C library defines this for functions which it implements
30180 to always fail with ENOSYS. Some functions are actually named
30181 something starting with __ and the normal name is an alias. */
30182 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30189 return gethostbyname ();
30194 rm -f conftest.$ac_objext conftest$ac_exeext
30195 if { (ac_try="$ac_link"
30196 case "(($ac_try" in
30197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30198 *) ac_try_echo=$ac_try;;
30200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30201 (eval "$ac_link") 2>conftest.er1
30203 grep -v '^ *+' conftest.er1 >conftest.err
30205 cat conftest.err >&5
30206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30207 (exit $ac_status); } && {
30208 test -z "$ac_c_werror_flag" ||
30209 test ! -s conftest.err
30210 } && test -s conftest$ac_exeext &&
30211 $as_test_x conftest$ac_exeext; then
30212 ac_cv_func_gethostbyname=yes
30214 echo "$as_me: failed program was:" >&5
30215 sed 's/^/| /' conftest.$ac_ext >&5
30217 ac_cv_func_gethostbyname=no
30220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30221 conftest$ac_exeext conftest.$ac_ext
30223 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30224 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30226 if test $ac_cv_func_gethostbyname = no; then
30227 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30228 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30229 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30230 echo $ECHO_N "(cached) $ECHO_C" >&6
30232 ac_check_lib_save_LIBS=$LIBS
30234 cat >conftest.$ac_ext <<_ACEOF
30237 cat confdefs.h >>conftest.$ac_ext
30238 cat >>conftest.$ac_ext <<_ACEOF
30239 /* end confdefs.h. */
30241 /* Override any GCC internal prototype to avoid an error.
30242 Use char because int might match the return type of a GCC
30243 builtin and then its argument prototype would still apply. */
30247 char gethostbyname ();
30251 return gethostbyname ();
30256 rm -f conftest.$ac_objext conftest$ac_exeext
30257 if { (ac_try="$ac_link"
30258 case "(($ac_try" in
30259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30260 *) ac_try_echo=$ac_try;;
30262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30263 (eval "$ac_link") 2>conftest.er1
30265 grep -v '^ *+' conftest.er1 >conftest.err
30267 cat conftest.err >&5
30268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30269 (exit $ac_status); } && {
30270 test -z "$ac_c_werror_flag" ||
30271 test ! -s conftest.err
30272 } && test -s conftest$ac_exeext &&
30273 $as_test_x conftest$ac_exeext; then
30274 ac_cv_lib_nsl_gethostbyname=yes
30276 echo "$as_me: failed program was:" >&5
30277 sed 's/^/| /' conftest.$ac_ext >&5
30279 ac_cv_lib_nsl_gethostbyname=no
30282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30283 conftest$ac_exeext conftest.$ac_ext
30284 LIBS=$ac_check_lib_save_LIBS
30286 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30287 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30288 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30289 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30292 if test $ac_cv_lib_nsl_gethostbyname = no; then
30293 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30294 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30295 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30296 echo $ECHO_N "(cached) $ECHO_C" >&6
30298 ac_check_lib_save_LIBS=$LIBS
30300 cat >conftest.$ac_ext <<_ACEOF
30303 cat confdefs.h >>conftest.$ac_ext
30304 cat >>conftest.$ac_ext <<_ACEOF
30305 /* end confdefs.h. */
30307 /* Override any GCC internal prototype to avoid an error.
30308 Use char because int might match the return type of a GCC
30309 builtin and then its argument prototype would still apply. */
30313 char gethostbyname ();
30317 return gethostbyname ();
30322 rm -f conftest.$ac_objext conftest$ac_exeext
30323 if { (ac_try="$ac_link"
30324 case "(($ac_try" in
30325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30326 *) ac_try_echo=$ac_try;;
30328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30329 (eval "$ac_link") 2>conftest.er1
30331 grep -v '^ *+' conftest.er1 >conftest.err
30333 cat conftest.err >&5
30334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30335 (exit $ac_status); } && {
30336 test -z "$ac_c_werror_flag" ||
30337 test ! -s conftest.err
30338 } && test -s conftest$ac_exeext &&
30339 $as_test_x conftest$ac_exeext; then
30340 ac_cv_lib_bsd_gethostbyname=yes
30342 echo "$as_me: failed program was:" >&5
30343 sed 's/^/| /' conftest.$ac_ext >&5
30345 ac_cv_lib_bsd_gethostbyname=no
30348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30349 conftest$ac_exeext conftest.$ac_ext
30350 LIBS=$ac_check_lib_save_LIBS
30352 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30353 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30354 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30355 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30361 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30362 # socket/setsockopt and other routines are undefined under SCO ODT
30363 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30364 # on later versions), says Simon Leinen: it contains gethostby*
30365 # variants that don't use the name server (or something). -lsocket
30366 # must be given before -lnsl if both are needed. We assume that
30367 # if connect needs -lnsl, so does gethostbyname.
30368 { echo "$as_me:$LINENO: checking for connect" >&5
30369 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30370 if test "${ac_cv_func_connect+set}" = set; then
30371 echo $ECHO_N "(cached) $ECHO_C" >&6
30373 cat >conftest.$ac_ext <<_ACEOF
30376 cat confdefs.h >>conftest.$ac_ext
30377 cat >>conftest.$ac_ext <<_ACEOF
30378 /* end confdefs.h. */
30379 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30381 #define connect innocuous_connect
30383 /* System header to define __stub macros and hopefully few prototypes,
30384 which can conflict with char connect (); below.
30385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30386 <limits.h> exists even on freestanding compilers. */
30389 # include <limits.h>
30391 # include <assert.h>
30396 /* Override any GCC internal prototype to avoid an error.
30397 Use char because int might match the return type of a GCC
30398 builtin and then its argument prototype would still apply. */
30403 /* The GNU C library defines this for functions which it implements
30404 to always fail with ENOSYS. Some functions are actually named
30405 something starting with __ and the normal name is an alias. */
30406 #if defined __stub_connect || defined __stub___connect
30418 rm -f conftest.$ac_objext conftest$ac_exeext
30419 if { (ac_try="$ac_link"
30420 case "(($ac_try" in
30421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30422 *) ac_try_echo=$ac_try;;
30424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30425 (eval "$ac_link") 2>conftest.er1
30427 grep -v '^ *+' conftest.er1 >conftest.err
30429 cat conftest.err >&5
30430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30431 (exit $ac_status); } && {
30432 test -z "$ac_c_werror_flag" ||
30433 test ! -s conftest.err
30434 } && test -s conftest$ac_exeext &&
30435 $as_test_x conftest$ac_exeext; then
30436 ac_cv_func_connect=yes
30438 echo "$as_me: failed program was:" >&5
30439 sed 's/^/| /' conftest.$ac_ext >&5
30441 ac_cv_func_connect=no
30444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30445 conftest$ac_exeext conftest.$ac_ext
30447 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30448 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30450 if test $ac_cv_func_connect = no; then
30451 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30452 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30453 if test "${ac_cv_lib_socket_connect+set}" = set; then
30454 echo $ECHO_N "(cached) $ECHO_C" >&6
30456 ac_check_lib_save_LIBS=$LIBS
30457 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30458 cat >conftest.$ac_ext <<_ACEOF
30461 cat confdefs.h >>conftest.$ac_ext
30462 cat >>conftest.$ac_ext <<_ACEOF
30463 /* end confdefs.h. */
30465 /* Override any GCC internal prototype to avoid an error.
30466 Use char because int might match the return type of a GCC
30467 builtin and then its argument prototype would still apply. */
30480 rm -f conftest.$ac_objext conftest$ac_exeext
30481 if { (ac_try="$ac_link"
30482 case "(($ac_try" in
30483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30484 *) ac_try_echo=$ac_try;;
30486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30487 (eval "$ac_link") 2>conftest.er1
30489 grep -v '^ *+' conftest.er1 >conftest.err
30491 cat conftest.err >&5
30492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30493 (exit $ac_status); } && {
30494 test -z "$ac_c_werror_flag" ||
30495 test ! -s conftest.err
30496 } && test -s conftest$ac_exeext &&
30497 $as_test_x conftest$ac_exeext; then
30498 ac_cv_lib_socket_connect=yes
30500 echo "$as_me: failed program was:" >&5
30501 sed 's/^/| /' conftest.$ac_ext >&5
30503 ac_cv_lib_socket_connect=no
30506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30507 conftest$ac_exeext conftest.$ac_ext
30508 LIBS=$ac_check_lib_save_LIBS
30510 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30511 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30512 if test $ac_cv_lib_socket_connect = yes; then
30513 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30518 # Guillermo Gomez says -lposix is necessary on A/UX.
30519 { echo "$as_me:$LINENO: checking for remove" >&5
30520 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30521 if test "${ac_cv_func_remove+set}" = set; then
30522 echo $ECHO_N "(cached) $ECHO_C" >&6
30524 cat >conftest.$ac_ext <<_ACEOF
30527 cat confdefs.h >>conftest.$ac_ext
30528 cat >>conftest.$ac_ext <<_ACEOF
30529 /* end confdefs.h. */
30530 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30532 #define remove innocuous_remove
30534 /* System header to define __stub macros and hopefully few prototypes,
30535 which can conflict with char remove (); below.
30536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30537 <limits.h> exists even on freestanding compilers. */
30540 # include <limits.h>
30542 # include <assert.h>
30547 /* Override any GCC internal prototype to avoid an error.
30548 Use char because int might match the return type of a GCC
30549 builtin and then its argument prototype would still apply. */
30554 /* The GNU C library defines this for functions which it implements
30555 to always fail with ENOSYS. Some functions are actually named
30556 something starting with __ and the normal name is an alias. */
30557 #if defined __stub_remove || defined __stub___remove
30569 rm -f conftest.$ac_objext conftest$ac_exeext
30570 if { (ac_try="$ac_link"
30571 case "(($ac_try" in
30572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30573 *) ac_try_echo=$ac_try;;
30575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30576 (eval "$ac_link") 2>conftest.er1
30578 grep -v '^ *+' conftest.er1 >conftest.err
30580 cat conftest.err >&5
30581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30582 (exit $ac_status); } && {
30583 test -z "$ac_c_werror_flag" ||
30584 test ! -s conftest.err
30585 } && test -s conftest$ac_exeext &&
30586 $as_test_x conftest$ac_exeext; then
30587 ac_cv_func_remove=yes
30589 echo "$as_me: failed program was:" >&5
30590 sed 's/^/| /' conftest.$ac_ext >&5
30592 ac_cv_func_remove=no
30595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30596 conftest$ac_exeext conftest.$ac_ext
30598 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30599 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30601 if test $ac_cv_func_remove = no; then
30602 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30603 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30604 if test "${ac_cv_lib_posix_remove+set}" = set; then
30605 echo $ECHO_N "(cached) $ECHO_C" >&6
30607 ac_check_lib_save_LIBS=$LIBS
30608 LIBS="-lposix $LIBS"
30609 cat >conftest.$ac_ext <<_ACEOF
30612 cat confdefs.h >>conftest.$ac_ext
30613 cat >>conftest.$ac_ext <<_ACEOF
30614 /* end confdefs.h. */
30616 /* Override any GCC internal prototype to avoid an error.
30617 Use char because int might match the return type of a GCC
30618 builtin and then its argument prototype would still apply. */
30631 rm -f conftest.$ac_objext conftest$ac_exeext
30632 if { (ac_try="$ac_link"
30633 case "(($ac_try" in
30634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30635 *) ac_try_echo=$ac_try;;
30637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30638 (eval "$ac_link") 2>conftest.er1
30640 grep -v '^ *+' conftest.er1 >conftest.err
30642 cat conftest.err >&5
30643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30644 (exit $ac_status); } && {
30645 test -z "$ac_c_werror_flag" ||
30646 test ! -s conftest.err
30647 } && test -s conftest$ac_exeext &&
30648 $as_test_x conftest$ac_exeext; then
30649 ac_cv_lib_posix_remove=yes
30651 echo "$as_me: failed program was:" >&5
30652 sed 's/^/| /' conftest.$ac_ext >&5
30654 ac_cv_lib_posix_remove=no
30657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30658 conftest$ac_exeext conftest.$ac_ext
30659 LIBS=$ac_check_lib_save_LIBS
30661 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30662 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30663 if test $ac_cv_lib_posix_remove = yes; then
30664 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30669 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30670 { echo "$as_me:$LINENO: checking for shmat" >&5
30671 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30672 if test "${ac_cv_func_shmat+set}" = set; then
30673 echo $ECHO_N "(cached) $ECHO_C" >&6
30675 cat >conftest.$ac_ext <<_ACEOF
30678 cat confdefs.h >>conftest.$ac_ext
30679 cat >>conftest.$ac_ext <<_ACEOF
30680 /* end confdefs.h. */
30681 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30683 #define shmat innocuous_shmat
30685 /* System header to define __stub macros and hopefully few prototypes,
30686 which can conflict with char shmat (); below.
30687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30688 <limits.h> exists even on freestanding compilers. */
30691 # include <limits.h>
30693 # include <assert.h>
30698 /* Override any GCC internal prototype to avoid an error.
30699 Use char because int might match the return type of a GCC
30700 builtin and then its argument prototype would still apply. */
30705 /* The GNU C library defines this for functions which it implements
30706 to always fail with ENOSYS. Some functions are actually named
30707 something starting with __ and the normal name is an alias. */
30708 #if defined __stub_shmat || defined __stub___shmat
30720 rm -f conftest.$ac_objext conftest$ac_exeext
30721 if { (ac_try="$ac_link"
30722 case "(($ac_try" in
30723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30724 *) ac_try_echo=$ac_try;;
30726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30727 (eval "$ac_link") 2>conftest.er1
30729 grep -v '^ *+' conftest.er1 >conftest.err
30731 cat conftest.err >&5
30732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30733 (exit $ac_status); } && {
30734 test -z "$ac_c_werror_flag" ||
30735 test ! -s conftest.err
30736 } && test -s conftest$ac_exeext &&
30737 $as_test_x conftest$ac_exeext; then
30738 ac_cv_func_shmat=yes
30740 echo "$as_me: failed program was:" >&5
30741 sed 's/^/| /' conftest.$ac_ext >&5
30743 ac_cv_func_shmat=no
30746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30747 conftest$ac_exeext conftest.$ac_ext
30749 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30750 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30752 if test $ac_cv_func_shmat = no; then
30753 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30754 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30755 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30756 echo $ECHO_N "(cached) $ECHO_C" >&6
30758 ac_check_lib_save_LIBS=$LIBS
30760 cat >conftest.$ac_ext <<_ACEOF
30763 cat confdefs.h >>conftest.$ac_ext
30764 cat >>conftest.$ac_ext <<_ACEOF
30765 /* end confdefs.h. */
30767 /* Override any GCC internal prototype to avoid an error.
30768 Use char because int might match the return type of a GCC
30769 builtin and then its argument prototype would still apply. */
30782 rm -f conftest.$ac_objext conftest$ac_exeext
30783 if { (ac_try="$ac_link"
30784 case "(($ac_try" in
30785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30786 *) ac_try_echo=$ac_try;;
30788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30789 (eval "$ac_link") 2>conftest.er1
30791 grep -v '^ *+' conftest.er1 >conftest.err
30793 cat conftest.err >&5
30794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30795 (exit $ac_status); } && {
30796 test -z "$ac_c_werror_flag" ||
30797 test ! -s conftest.err
30798 } && test -s conftest$ac_exeext &&
30799 $as_test_x conftest$ac_exeext; then
30800 ac_cv_lib_ipc_shmat=yes
30802 echo "$as_me: failed program was:" >&5
30803 sed 's/^/| /' conftest.$ac_ext >&5
30805 ac_cv_lib_ipc_shmat=no
30808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30809 conftest$ac_exeext conftest.$ac_ext
30810 LIBS=$ac_check_lib_save_LIBS
30812 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30813 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30814 if test $ac_cv_lib_ipc_shmat = yes; then
30815 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30821 # Check for libraries that X11R6 Xt/Xaw programs need.
30822 ac_save_LDFLAGS=$LDFLAGS
30823 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30824 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30825 # check for ICE first), but we must link in the order -lSM -lICE or
30826 # we get undefined symbols. So assume we have SM if we have ICE.
30827 # These have to be linked with before -lX11, unlike the other
30828 # libraries we check for below, so use a different variable.
30829 # John Interrante, Karl Berry
30830 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30831 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30832 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30833 echo $ECHO_N "(cached) $ECHO_C" >&6
30835 ac_check_lib_save_LIBS=$LIBS
30836 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30837 cat >conftest.$ac_ext <<_ACEOF
30840 cat confdefs.h >>conftest.$ac_ext
30841 cat >>conftest.$ac_ext <<_ACEOF
30842 /* end confdefs.h. */
30844 /* Override any GCC internal prototype to avoid an error.
30845 Use char because int might match the return type of a GCC
30846 builtin and then its argument prototype would still apply. */
30850 char IceConnectionNumber ();
30854 return IceConnectionNumber ();
30859 rm -f conftest.$ac_objext conftest$ac_exeext
30860 if { (ac_try="$ac_link"
30861 case "(($ac_try" in
30862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30863 *) ac_try_echo=$ac_try;;
30865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30866 (eval "$ac_link") 2>conftest.er1
30868 grep -v '^ *+' conftest.er1 >conftest.err
30870 cat conftest.err >&5
30871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30872 (exit $ac_status); } && {
30873 test -z "$ac_c_werror_flag" ||
30874 test ! -s conftest.err
30875 } && test -s conftest$ac_exeext &&
30876 $as_test_x conftest$ac_exeext; then
30877 ac_cv_lib_ICE_IceConnectionNumber=yes
30879 echo "$as_me: failed program was:" >&5
30880 sed 's/^/| /' conftest.$ac_ext >&5
30882 ac_cv_lib_ICE_IceConnectionNumber=no
30885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30886 conftest$ac_exeext conftest.$ac_ext
30887 LIBS=$ac_check_lib_save_LIBS
30889 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30890 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30891 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30892 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30895 LDFLAGS=$ac_save_LDFLAGS
30900 if test "$no_x" = "yes"; then
30901 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30902 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30903 { (exit 1); exit 1; }; }
30906 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30907 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30908 AFMINSTALL=afminstall
30909 COMPILED_X_PROGRAM=0
30913 if test "$wxUSE_X11" = 1; then
30914 if test "$wxUSE_NANOX" = "yes"; then
30915 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30916 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30917 if test "x$MICROWIN" = x ; then
30918 { echo "$as_me:$LINENO: result: not found" >&5
30919 echo "${ECHO_T}not found" >&6; }
30920 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30921 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30922 { (exit 1); exit 1; }; }
30924 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30925 echo "${ECHO_T}$MICROWIN" >&6; }
30926 cat >>confdefs.h <<\_ACEOF
30927 #define wxUSE_NANOX 1
30933 if test "$wxUSE_UNICODE" = "yes"; then
30936 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30937 if test -n "$ac_tool_prefix"; then
30938 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30939 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30940 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30942 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30943 echo $ECHO_N "(cached) $ECHO_C" >&6
30945 case $PKG_CONFIG in
30947 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30951 for as_dir in $PATH
30954 test -z "$as_dir" && as_dir=.
30955 for ac_exec_ext in '' $ac_executable_extensions; do
30956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30957 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30968 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30969 if test -n "$PKG_CONFIG"; then
30970 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30971 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30973 { echo "$as_me:$LINENO: result: no" >&5
30974 echo "${ECHO_T}no" >&6; }
30979 if test -z "$ac_cv_path_PKG_CONFIG"; then
30980 ac_pt_PKG_CONFIG=$PKG_CONFIG
30981 # Extract the first word of "pkg-config", so it can be a program name with args.
30982 set dummy pkg-config; ac_word=$2
30983 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30985 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30986 echo $ECHO_N "(cached) $ECHO_C" >&6
30988 case $ac_pt_PKG_CONFIG in
30990 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30994 for as_dir in $PATH
30997 test -z "$as_dir" && as_dir=.
30998 for ac_exec_ext in '' $ac_executable_extensions; do
30999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31000 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31011 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31012 if test -n "$ac_pt_PKG_CONFIG"; then
31013 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31014 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31016 { echo "$as_me:$LINENO: result: no" >&5
31017 echo "${ECHO_T}no" >&6; }
31020 if test "x$ac_pt_PKG_CONFIG" = x; then
31023 case $cross_compiling:$ac_tool_warned in
31025 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31026 whose name does not start with the host triplet. If you think this
31027 configuration is useful to you, please write to autoconf@gnu.org." >&5
31028 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31029 whose name does not start with the host triplet. If you think this
31030 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31031 ac_tool_warned=yes ;;
31033 PKG_CONFIG=$ac_pt_PKG_CONFIG
31036 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31040 if test -n "$PKG_CONFIG"; then
31041 _pkg_min_version=0.9.0
31042 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31043 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31044 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31045 { echo "$as_me:$LINENO: result: yes" >&5
31046 echo "${ECHO_T}yes" >&6; }
31048 { echo "$as_me:$LINENO: result: no" >&5
31049 echo "${ECHO_T}no" >&6; }
31057 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31058 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31060 if test -n "$PKG_CONFIG"; then
31061 if test -n "$PANGOX_CFLAGS"; then
31062 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31064 if test -n "$PKG_CONFIG" && \
31065 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31066 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31069 (exit $ac_status); }; then
31070 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31078 if test -n "$PKG_CONFIG"; then
31079 if test -n "$PANGOX_LIBS"; then
31080 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31082 if test -n "$PKG_CONFIG" && \
31083 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31084 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); }; then
31088 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31099 if test $pkg_failed = yes; then
31101 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31102 _pkg_short_errors_supported=yes
31104 _pkg_short_errors_supported=no
31106 if test $_pkg_short_errors_supported = yes; then
31107 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31109 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31111 # Put the nasty error message in config.log where it belongs
31112 echo "$PANGOX_PKG_ERRORS" >&5
31115 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31116 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31117 { (exit 1); exit 1; }; }
31120 elif test $pkg_failed = untried; then
31122 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31123 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31124 { (exit 1); exit 1; }; }
31128 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31129 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31130 { echo "$as_me:$LINENO: result: yes" >&5
31131 echo "${ECHO_T}yes" >&6; }
31133 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31134 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31135 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31140 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31141 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31143 if test -n "$PKG_CONFIG"; then
31144 if test -n "$PANGOFT2_CFLAGS"; then
31145 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31147 if test -n "$PKG_CONFIG" && \
31148 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31149 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31152 (exit $ac_status); }; then
31153 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31161 if test -n "$PKG_CONFIG"; then
31162 if test -n "$PANGOFT2_LIBS"; then
31163 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31165 if test -n "$PKG_CONFIG" && \
31166 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31167 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31170 (exit $ac_status); }; then
31171 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31182 if test $pkg_failed = yes; then
31184 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31185 _pkg_short_errors_supported=yes
31187 _pkg_short_errors_supported=no
31189 if test $_pkg_short_errors_supported = yes; then
31190 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31192 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31194 # Put the nasty error message in config.log where it belongs
31195 echo "$PANGOFT2_PKG_ERRORS" >&5
31198 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31199 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31200 wxUSE_PRINTING_ARCHITECTURE="no"
31203 elif test $pkg_failed = untried; then
31205 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31206 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31207 wxUSE_PRINTING_ARCHITECTURE="no"
31211 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31212 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31213 { echo "$as_me:$LINENO: result: yes" >&5
31214 echo "${ECHO_T}yes" >&6; }
31216 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31217 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31218 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31223 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31224 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31226 if test -n "$PKG_CONFIG"; then
31227 if test -n "$PANGOXFT_CFLAGS"; then
31228 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31230 if test -n "$PKG_CONFIG" && \
31231 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31232 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31235 (exit $ac_status); }; then
31236 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31244 if test -n "$PKG_CONFIG"; then
31245 if test -n "$PANGOXFT_LIBS"; then
31246 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31248 if test -n "$PKG_CONFIG" && \
31249 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31250 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31253 (exit $ac_status); }; then
31254 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31265 if test $pkg_failed = yes; then
31267 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31268 _pkg_short_errors_supported=yes
31270 _pkg_short_errors_supported=no
31272 if test $_pkg_short_errors_supported = yes; then
31273 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31275 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31277 # Put the nasty error message in config.log where it belongs
31278 echo "$PANGOXFT_PKG_ERRORS" >&5
31281 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31282 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31285 elif test $pkg_failed = untried; then
31287 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31288 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31292 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31293 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31294 { echo "$as_me:$LINENO: result: yes" >&5
31295 echo "${ECHO_T}yes" >&6; }
31297 cat >>confdefs.h <<\_ACEOF
31298 #define HAVE_PANGO_XFT 1
31301 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31302 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31303 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31307 LIBS="$LIBS $PANGOX_LIBS"
31309 for ac_func in pango_font_family_is_monospace
31311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31312 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31314 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31315 echo $ECHO_N "(cached) $ECHO_C" >&6
31317 cat >conftest.$ac_ext <<_ACEOF
31320 cat confdefs.h >>conftest.$ac_ext
31321 cat >>conftest.$ac_ext <<_ACEOF
31322 /* end confdefs.h. */
31323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31325 #define $ac_func innocuous_$ac_func
31327 /* System header to define __stub macros and hopefully few prototypes,
31328 which can conflict with char $ac_func (); below.
31329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31330 <limits.h> exists even on freestanding compilers. */
31333 # include <limits.h>
31335 # include <assert.h>
31340 /* Override any GCC internal prototype to avoid an error.
31341 Use char because int might match the return type of a GCC
31342 builtin and then its argument prototype would still apply. */
31347 /* The GNU C library defines this for functions which it implements
31348 to always fail with ENOSYS. Some functions are actually named
31349 something starting with __ and the normal name is an alias. */
31350 #if defined __stub_$ac_func || defined __stub___$ac_func
31357 return $ac_func ();
31362 rm -f conftest.$ac_objext conftest$ac_exeext
31363 if { (ac_try="$ac_link"
31364 case "(($ac_try" in
31365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31366 *) ac_try_echo=$ac_try;;
31368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31369 (eval "$ac_link") 2>conftest.er1
31371 grep -v '^ *+' conftest.er1 >conftest.err
31373 cat conftest.err >&5
31374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31375 (exit $ac_status); } && {
31376 test -z "$ac_c_werror_flag" ||
31377 test ! -s conftest.err
31378 } && test -s conftest$ac_exeext &&
31379 $as_test_x conftest$ac_exeext; then
31380 eval "$as_ac_var=yes"
31382 echo "$as_me: failed program was:" >&5
31383 sed 's/^/| /' conftest.$ac_ext >&5
31385 eval "$as_ac_var=no"
31388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31389 conftest$ac_exeext conftest.$ac_ext
31391 ac_res=`eval echo '${'$as_ac_var'}'`
31392 { echo "$as_me:$LINENO: result: $ac_res" >&5
31393 echo "${ECHO_T}$ac_res" >&6; }
31394 if test `eval echo '${'$as_ac_var'}'` = yes; then
31395 cat >>confdefs.h <<_ACEOF
31396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31405 wxUSE_UNIVERSAL="yes"
31407 if test "$wxUSE_NANOX" = "yes"; then
31408 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31409 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"
31410 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31412 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31419 if test "$wxUSE_MOTIF" = 1; then
31420 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31421 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31424 for ac_dir in $SEARCH_INCLUDE /usr/include;
31426 if test -f "$ac_dir/Xm/Xm.h"; then
31427 ac_find_includes=$ac_dir
31432 if test "$ac_find_includes" != "" ; then
31433 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31434 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31436 if test "x$ac_find_includes" = "x/usr/include"; then
31437 ac_path_to_include=""
31439 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31441 if test $result = 0; then
31442 ac_path_to_include=""
31444 ac_path_to_include=" -I$ac_find_includes"
31448 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31450 save_CFLAGS=$CFLAGS
31451 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31453 cat >conftest.$ac_ext <<_ACEOF
31456 cat confdefs.h >>conftest.$ac_ext
31457 cat >>conftest.$ac_ext <<_ACEOF
31458 /* end confdefs.h. */
31467 version = xmUseVersion;
31473 rm -f conftest.$ac_objext
31474 if { (ac_try="$ac_compile"
31475 case "(($ac_try" in
31476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31477 *) ac_try_echo=$ac_try;;
31479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31480 (eval "$ac_compile") 2>conftest.er1
31482 grep -v '^ *+' conftest.er1 >conftest.err
31484 cat conftest.err >&5
31485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31486 (exit $ac_status); } && {
31487 test -z "$ac_c_werror_flag" ||
31488 test ! -s conftest.err
31489 } && test -s conftest.$ac_objext; then
31491 { echo "$as_me:$LINENO: result: found in default search path" >&5
31492 echo "${ECHO_T}found in default search path" >&6; }
31493 COMPILED_X_PROGRAM=1
31496 echo "$as_me: failed program was:" >&5
31497 sed 's/^/| /' conftest.$ac_ext >&5
31500 { echo "$as_me:$LINENO: result: no" >&5
31501 echo "${ECHO_T}no" >&6; }
31502 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31503 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31504 { (exit 1); exit 1; }; }
31509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31511 CFLAGS=$save_CFLAGS
31515 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31516 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31519 for ac_dir in $SEARCH_LIB;
31521 for ac_extension in a so sl dylib dll.a; do
31522 if test -f "$ac_dir/libXm.$ac_extension"; then
31523 ac_find_libraries=$ac_dir
31530 if test "x$ac_find_libraries" != "x" ; then
31531 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31532 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31535 if test "$ac_find_libraries" = "default location"; then
31538 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31540 if test $result = 0; then
31543 ac_path_to_link=" -L$ac_find_libraries"
31547 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31549 save_CFLAGS=$CFLAGS
31550 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31552 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31554 cat >conftest.$ac_ext <<_ACEOF
31557 cat confdefs.h >>conftest.$ac_ext
31558 cat >>conftest.$ac_ext <<_ACEOF
31559 /* end confdefs.h. */
31568 version = xmUseVersion;
31574 rm -f conftest.$ac_objext conftest$ac_exeext
31575 if { (ac_try="$ac_link"
31576 case "(($ac_try" in
31577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31578 *) ac_try_echo=$ac_try;;
31580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31581 (eval "$ac_link") 2>conftest.er1
31583 grep -v '^ *+' conftest.er1 >conftest.err
31585 cat conftest.err >&5
31586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31587 (exit $ac_status); } && {
31588 test -z "$ac_c_werror_flag" ||
31589 test ! -s conftest.err
31590 } && test -s conftest$ac_exeext &&
31591 $as_test_x conftest$ac_exeext; then
31593 { echo "$as_me:$LINENO: result: found in default search path" >&5
31594 echo "${ECHO_T}found in default search path" >&6; }
31595 COMPILED_X_PROGRAM=1
31598 echo "$as_me: failed program was:" >&5
31599 sed 's/^/| /' conftest.$ac_ext >&5
31602 { echo "$as_me:$LINENO: result: no" >&5
31603 echo "${ECHO_T}no" >&6; }
31604 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31605 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31606 { (exit 1); exit 1; }; }
31611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31612 conftest$ac_exeext conftest.$ac_ext
31614 CFLAGS=$save_CFLAGS
31618 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31619 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31623 for libp in "" " -lXp"; do
31624 if test "$libs_found" = 0; then
31625 for libsm_ice in "" " -lSM -lICE"; do
31626 if test "$libs_found" = 0; then
31628 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31629 save_CFLAGS=$CFLAGS
31630 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31632 cat >conftest.$ac_ext <<_ACEOF
31635 cat confdefs.h >>conftest.$ac_ext
31636 cat >>conftest.$ac_ext <<_ACEOF
31637 /* end confdefs.h. */
31640 #include <Xm/List.h>
31646 XmString string = NULL;
31649 XmListAddItem(w, string, position);
31655 rm -f conftest.$ac_objext conftest$ac_exeext
31656 if { (ac_try="$ac_link"
31657 case "(($ac_try" in
31658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31659 *) ac_try_echo=$ac_try;;
31661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31662 (eval "$ac_link") 2>conftest.er1
31664 grep -v '^ *+' conftest.er1 >conftest.err
31666 cat conftest.err >&5
31667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31668 (exit $ac_status); } && {
31669 test -z "$ac_c_werror_flag" ||
31670 test ! -s conftest.err
31671 } && test -s conftest$ac_exeext &&
31672 $as_test_x conftest$ac_exeext; then
31675 libsm_ice_link="$libsm_ice"
31676 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31677 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31681 echo "$as_me: failed program was:" >&5
31682 sed 's/^/| /' conftest.$ac_ext >&5
31688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31689 conftest$ac_exeext conftest.$ac_ext
31692 CFLAGS=$save_CFLAGS
31698 if test "$libs_found" = 0; then
31699 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31700 echo "${ECHO_T}can't find the right libraries" >&6; }
31701 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31702 echo "$as_me: error: can't link a simple motif program" >&2;}
31703 { (exit 1); exit 1; }; }
31706 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31707 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31708 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31709 echo $ECHO_N "(cached) $ECHO_C" >&6
31711 ac_check_lib_save_LIBS=$LIBS
31713 cat >conftest.$ac_ext <<_ACEOF
31716 cat confdefs.h >>conftest.$ac_ext
31717 cat >>conftest.$ac_ext <<_ACEOF
31718 /* end confdefs.h. */
31720 /* Override any GCC internal prototype to avoid an error.
31721 Use char because int might match the return type of a GCC
31722 builtin and then its argument prototype would still apply. */
31726 char SgCreateList ();
31730 return SgCreateList ();
31735 rm -f conftest.$ac_objext conftest$ac_exeext
31736 if { (ac_try="$ac_link"
31737 case "(($ac_try" in
31738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31739 *) ac_try_echo=$ac_try;;
31741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31742 (eval "$ac_link") 2>conftest.er1
31744 grep -v '^ *+' conftest.er1 >conftest.err
31746 cat conftest.err >&5
31747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31748 (exit $ac_status); } && {
31749 test -z "$ac_c_werror_flag" ||
31750 test ! -s conftest.err
31751 } && test -s conftest$ac_exeext &&
31752 $as_test_x conftest$ac_exeext; then
31753 ac_cv_lib_Sgm_SgCreateList=yes
31755 echo "$as_me: failed program was:" >&5
31756 sed 's/^/| /' conftest.$ac_ext >&5
31758 ac_cv_lib_Sgm_SgCreateList=no
31761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31762 conftest$ac_exeext conftest.$ac_ext
31763 LIBS=$ac_check_lib_save_LIBS
31765 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31766 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31767 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31768 libsgm_link=" -lSgm"
31772 save_CFLAGS=$CFLAGS
31773 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31775 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31776 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31777 if test "${wx_cv_lib_motif2+set}" = set; then
31778 echo $ECHO_N "(cached) $ECHO_C" >&6
31780 cat >conftest.$ac_ext <<_ACEOF
31783 cat confdefs.h >>conftest.$ac_ext
31784 cat >>conftest.$ac_ext <<_ACEOF
31785 /* end confdefs.h. */
31793 #if XmVersion < 2000
31801 rm -f conftest.$ac_objext
31802 if { (ac_try="$ac_compile"
31803 case "(($ac_try" in
31804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31805 *) ac_try_echo=$ac_try;;
31807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31808 (eval "$ac_compile") 2>conftest.er1
31810 grep -v '^ *+' conftest.er1 >conftest.err
31812 cat conftest.err >&5
31813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31814 (exit $ac_status); } && {
31815 test -z "$ac_c_werror_flag" ||
31816 test ! -s conftest.err
31817 } && test -s conftest.$ac_objext; then
31818 wx_cv_lib_motif2="yes"
31820 echo "$as_me: failed program was:" >&5
31821 sed 's/^/| /' conftest.$ac_ext >&5
31823 wx_cv_lib_motif2="no"
31826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31828 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31829 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31830 if test "$wx_cv_lib_motif2" = "yes"; then
31831 cat >>confdefs.h <<\_ACEOF
31832 #define __WXMOTIF20__ 1
31836 cat >>confdefs.h <<\_ACEOF
31837 #define __WXMOTIF20__ 0
31842 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31843 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31844 if test "${wx_cv_lib_lesstif+set}" = set; then
31845 echo $ECHO_N "(cached) $ECHO_C" >&6
31847 cat >conftest.$ac_ext <<_ACEOF
31850 cat confdefs.h >>conftest.$ac_ext
31851 cat >>conftest.$ac_ext <<_ACEOF
31852 /* end confdefs.h. */
31860 #if !defined(LesstifVersion) || LesstifVersion <= 0
31868 rm -f conftest.$ac_objext
31869 if { (ac_try="$ac_compile"
31870 case "(($ac_try" in
31871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31872 *) ac_try_echo=$ac_try;;
31874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31875 (eval "$ac_compile") 2>conftest.er1
31877 grep -v '^ *+' conftest.er1 >conftest.err
31879 cat conftest.err >&5
31880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31881 (exit $ac_status); } && {
31882 test -z "$ac_c_werror_flag" ||
31883 test ! -s conftest.err
31884 } && test -s conftest.$ac_objext; then
31885 wx_cv_lib_lesstif="yes"
31887 echo "$as_me: failed program was:" >&5
31888 sed 's/^/| /' conftest.$ac_ext >&5
31890 wx_cv_lib_lesstif="no"
31893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31896 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31897 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31898 if test "$wx_cv_lib_lesstif" = "yes"; then
31899 cat >>confdefs.h <<\_ACEOF
31900 #define __WXLESSTIF__ 1
31904 cat >>confdefs.h <<\_ACEOF
31905 #define __WXLESSTIF__ 0
31910 CFLAGS=$save_CFLAGS
31912 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31917 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31918 if test "$wxUSE_LIBXPM" = "sys"; then
31919 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31920 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31923 for ac_dir in $SEARCH_LIB;
31925 for ac_extension in a so sl dylib dll.a; do
31926 if test -f "$ac_dir/libXpm.$ac_extension"; then
31927 ac_find_libraries=$ac_dir
31933 if test "$ac_find_libraries" != "" ; then
31935 if test "$ac_find_libraries" = "default location"; then
31938 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31940 if test $result = 0; then
31943 ac_path_to_link=" -L$ac_find_libraries"
31947 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31948 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31949 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31951 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31952 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31953 if test "${wx_cv_x11_xpm_h+set}" = set; then
31954 echo $ECHO_N "(cached) $ECHO_C" >&6
31957 save_CFLAGS=$CFLAGS
31958 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31960 cat >conftest.$ac_ext <<_ACEOF
31963 cat confdefs.h >>conftest.$ac_ext
31964 cat >>conftest.$ac_ext <<_ACEOF
31965 /* end confdefs.h. */
31967 #include <X11/xpm.h>
31974 version = XpmLibraryVersion();
31980 rm -f conftest.$ac_objext
31981 if { (ac_try="$ac_compile"
31982 case "(($ac_try" in
31983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31984 *) ac_try_echo=$ac_try;;
31986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31987 (eval "$ac_compile") 2>conftest.er1
31989 grep -v '^ *+' conftest.er1 >conftest.err
31991 cat conftest.err >&5
31992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31993 (exit $ac_status); } && {
31994 test -z "$ac_c_werror_flag" ||
31995 test ! -s conftest.err
31996 } && test -s conftest.$ac_objext; then
31997 wx_cv_x11_xpm_h=yes
31999 echo "$as_me: failed program was:" >&5
32000 sed 's/^/| /' conftest.$ac_ext >&5
32006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32008 CFLAGS=$save_CFLAGS
32012 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32013 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32015 if test $wx_cv_x11_xpm_h = "yes"; then
32016 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32017 cat >>confdefs.h <<\_ACEOF
32018 #define wxHAVE_LIB_XPM 1
32022 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32023 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32029 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32030 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32031 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32032 echo $ECHO_N "(cached) $ECHO_C" >&6
32034 ac_check_lib_save_LIBS=$LIBS
32035 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32036 cat >conftest.$ac_ext <<_ACEOF
32039 cat confdefs.h >>conftest.$ac_ext
32040 cat >>conftest.$ac_ext <<_ACEOF
32041 /* end confdefs.h. */
32043 /* Override any GCC internal prototype to avoid an error.
32044 Use char because int might match the return type of a GCC
32045 builtin and then its argument prototype would still apply. */
32049 char XShapeQueryExtension ();
32053 return XShapeQueryExtension ();
32058 rm -f conftest.$ac_objext conftest$ac_exeext
32059 if { (ac_try="$ac_link"
32060 case "(($ac_try" in
32061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32062 *) ac_try_echo=$ac_try;;
32064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32065 (eval "$ac_link") 2>conftest.er1
32067 grep -v '^ *+' conftest.er1 >conftest.err
32069 cat conftest.err >&5
32070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32071 (exit $ac_status); } && {
32072 test -z "$ac_c_werror_flag" ||
32073 test ! -s conftest.err
32074 } && test -s conftest$ac_exeext &&
32075 $as_test_x conftest$ac_exeext; then
32076 ac_cv_lib_Xext_XShapeQueryExtension=yes
32078 echo "$as_me: failed program was:" >&5
32079 sed 's/^/| /' conftest.$ac_ext >&5
32081 ac_cv_lib_Xext_XShapeQueryExtension=no
32084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32085 conftest$ac_exeext conftest.$ac_ext
32086 LIBS=$ac_check_lib_save_LIBS
32088 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32089 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32090 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32092 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32098 if test "$wxHAVE_XEXT_LIB" = 1; then
32099 save_CFLAGS="$CFLAGS"
32100 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32102 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32103 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32104 cat >conftest.$ac_ext <<_ACEOF
32107 cat confdefs.h >>conftest.$ac_ext
32108 cat >>conftest.$ac_ext <<_ACEOF
32109 /* end confdefs.h. */
32111 #include <X11/Xlib.h>
32112 #include <X11/extensions/shape.h>
32118 int dummy1, dummy2;
32119 XShapeQueryExtension((Display*)NULL,
32120 (int*)NULL, (int*)NULL);
32126 rm -f conftest.$ac_objext
32127 if { (ac_try="$ac_compile"
32128 case "(($ac_try" in
32129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32130 *) ac_try_echo=$ac_try;;
32132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32133 (eval "$ac_compile") 2>conftest.er1
32135 grep -v '^ *+' conftest.er1 >conftest.err
32137 cat conftest.err >&5
32138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32139 (exit $ac_status); } && {
32140 test -z "$ac_c_werror_flag" ||
32141 test ! -s conftest.err
32142 } && test -s conftest.$ac_objext; then
32144 cat >>confdefs.h <<\_ACEOF
32145 #define HAVE_XSHAPE 1
32148 { echo "$as_me:$LINENO: result: found" >&5
32149 echo "${ECHO_T}found" >&6; }
32152 echo "$as_me: failed program was:" >&5
32153 sed 's/^/| /' conftest.$ac_ext >&5
32156 { echo "$as_me:$LINENO: result: not found" >&5
32157 echo "${ECHO_T}not found" >&6; }
32161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32162 CFLAGS="$save_CFLAGS"
32167 if test "$wxUSE_MAC" = 1; then
32168 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32169 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32170 if test "$GCC" = yes; then
32171 { echo "$as_me:$LINENO: result: gcc" >&5
32172 echo "${ECHO_T}gcc" >&6; }
32173 CPPFLAGS_PASCAL="-fpascal-strings"
32174 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32175 { echo "$as_me:$LINENO: result: xlc" >&5
32176 echo "${ECHO_T}xlc" >&6; }
32177 CPPFLAGS_PASCAL="-qmacpstr"
32179 { echo "$as_me:$LINENO: result: none" >&5
32180 echo "${ECHO_T}none" >&6; }
32183 if test "x$wxUSE_UNIX" = "xyes"; then
32184 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32186 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32191 WXBASEPORT="_carbon"
32194 if test "$wxUSE_COCOA" = 1; then
32199 if test "$wxUSE_PM" = 1; then
32202 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32203 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32204 if test "${wx_cv_spbcdata+set}" = set; then
32205 echo $ECHO_N "(cached) $ECHO_C" >&6
32208 cat >conftest.$ac_ext <<_ACEOF
32211 cat confdefs.h >>conftest.$ac_ext
32212 cat >>conftest.$ac_ext <<_ACEOF
32213 /* end confdefs.h. */
32228 rm -f conftest.$ac_objext
32229 if { (ac_try="$ac_compile"
32230 case "(($ac_try" in
32231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32232 *) ac_try_echo=$ac_try;;
32234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32235 (eval "$ac_compile") 2>conftest.er1
32237 grep -v '^ *+' conftest.er1 >conftest.err
32239 cat conftest.err >&5
32240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32241 (exit $ac_status); } && {
32242 test -z "$ac_c_werror_flag" ||
32243 test ! -s conftest.err
32244 } && test -s conftest.$ac_objext; then
32247 echo "$as_me: failed program was:" >&5
32248 sed 's/^/| /' conftest.$ac_ext >&5
32254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32258 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32259 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32261 if test $wx_cv_spbcdata = "yes"; then
32262 cat >>confdefs.h <<\_ACEOF
32263 #define HAVE_SPBCDATA 1
32269 if test "$TOOLKIT" = "PM" ; then
32272 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32275 if test "$wxUSE_UNIVERSAL" = "yes"; then
32276 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32280 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32281 DISTDIR="wx\$(TOOLKIT)"
32287 if test "$USE_WIN32" = 1 ; then
32291 GUIDIST="BASE_DIST"
32297 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32298 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32299 wxUSE_UNICODE_UTF8=yes
32300 elif test "$USE_OS2" = 1 ; then
32301 wxUSE_UNICODE_UTF8=yes
32303 wxUSE_UNICODE_UTF8=no
32308 if test "$wxUSE_GUI" = "yes"; then
32309 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32311 for ac_header in X11/Xlib.h
32313 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32314 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32316 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32317 echo $ECHO_N "(cached) $ECHO_C" >&6
32319 cat >conftest.$ac_ext <<_ACEOF
32322 cat confdefs.h >>conftest.$ac_ext
32323 cat >>conftest.$ac_ext <<_ACEOF
32324 /* end confdefs.h. */
32327 #include <$ac_header>
32329 rm -f conftest.$ac_objext
32330 if { (ac_try="$ac_compile"
32331 case "(($ac_try" in
32332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32333 *) ac_try_echo=$ac_try;;
32335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32336 (eval "$ac_compile") 2>conftest.er1
32338 grep -v '^ *+' conftest.er1 >conftest.err
32340 cat conftest.err >&5
32341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32342 (exit $ac_status); } && {
32343 test -z "$ac_c_werror_flag" ||
32344 test ! -s conftest.err
32345 } && test -s conftest.$ac_objext; then
32346 eval "$as_ac_Header=yes"
32348 echo "$as_me: failed program was:" >&5
32349 sed 's/^/| /' conftest.$ac_ext >&5
32351 eval "$as_ac_Header=no"
32354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32356 ac_res=`eval echo '${'$as_ac_Header'}'`
32357 { echo "$as_me:$LINENO: result: $ac_res" >&5
32358 echo "${ECHO_T}$ac_res" >&6; }
32359 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32360 cat >>confdefs.h <<_ACEOF
32361 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32369 for ac_header in X11/XKBlib.h
32371 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32372 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32374 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32375 echo $ECHO_N "(cached) $ECHO_C" >&6
32377 cat >conftest.$ac_ext <<_ACEOF
32380 cat confdefs.h >>conftest.$ac_ext
32381 cat >>conftest.$ac_ext <<_ACEOF
32382 /* end confdefs.h. */
32384 #if HAVE_X11_XLIB_H
32385 #include <X11/Xlib.h>
32389 #include <$ac_header>
32391 rm -f conftest.$ac_objext
32392 if { (ac_try="$ac_compile"
32393 case "(($ac_try" in
32394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32395 *) ac_try_echo=$ac_try;;
32397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32398 (eval "$ac_compile") 2>conftest.er1
32400 grep -v '^ *+' conftest.er1 >conftest.err
32402 cat conftest.err >&5
32403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32404 (exit $ac_status); } && {
32405 test -z "$ac_c_werror_flag" ||
32406 test ! -s conftest.err
32407 } && test -s conftest.$ac_objext; then
32408 eval "$as_ac_Header=yes"
32410 echo "$as_me: failed program was:" >&5
32411 sed 's/^/| /' conftest.$ac_ext >&5
32413 eval "$as_ac_Header=no"
32416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32418 ac_res=`eval echo '${'$as_ac_Header'}'`
32419 { echo "$as_me:$LINENO: result: $ac_res" >&5
32420 echo "${ECHO_T}$ac_res" >&6; }
32421 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32422 cat >>confdefs.h <<_ACEOF
32423 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32435 if test "$wxUSE_DISPLAY" = "yes"; then
32436 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32437 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32438 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32441 for ac_dir in $SEARCH_LIB;
32443 for ac_extension in a so sl dylib dll.a; do
32444 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32445 ac_find_libraries=$ac_dir
32451 if test "$ac_find_libraries" != "" ; then
32453 if test "$ac_find_libraries" = "default location"; then
32456 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32458 if test $result = 0; then
32461 ac_path_to_link=" -L$ac_find_libraries"
32465 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32466 LDFLAGS="$LDFLAGS $ac_path_to_link"
32468 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32469 { echo "$as_me:$LINENO: result: yes" >&5
32470 echo "${ECHO_T}yes" >&6; }
32472 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32473 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32476 for ac_dir in $SEARCH_LIB;
32478 for ac_extension in a so sl dylib dll.a; do
32479 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32480 ac_find_libraries=$ac_dir
32486 if test "$ac_find_libraries" != "" ; then
32487 { echo "$as_me:$LINENO: result: yes" >&5
32488 echo "${ECHO_T}yes" >&6; }
32490 for ac_header in X11/extensions/xf86vmode.h
32492 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32493 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32495 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32496 echo $ECHO_N "(cached) $ECHO_C" >&6
32498 cat >conftest.$ac_ext <<_ACEOF
32501 cat confdefs.h >>conftest.$ac_ext
32502 cat >>conftest.$ac_ext <<_ACEOF
32503 /* end confdefs.h. */
32505 #if HAVE_X11_XLIB_H
32506 #include <X11/Xlib.h>
32510 #include <$ac_header>
32512 rm -f conftest.$ac_objext
32513 if { (ac_try="$ac_compile"
32514 case "(($ac_try" in
32515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32516 *) ac_try_echo=$ac_try;;
32518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32519 (eval "$ac_compile") 2>conftest.er1
32521 grep -v '^ *+' conftest.er1 >conftest.err
32523 cat conftest.err >&5
32524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32525 (exit $ac_status); } && {
32526 test -z "$ac_c_werror_flag" ||
32527 test ! -s conftest.err
32528 } && test -s conftest.$ac_objext; then
32529 eval "$as_ac_Header=yes"
32531 echo "$as_me: failed program was:" >&5
32532 sed 's/^/| /' conftest.$ac_ext >&5
32534 eval "$as_ac_Header=no"
32537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32539 ac_res=`eval echo '${'$as_ac_Header'}'`
32540 { echo "$as_me:$LINENO: result: $ac_res" >&5
32541 echo "${ECHO_T}$ac_res" >&6; }
32542 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32543 cat >>confdefs.h <<_ACEOF
32544 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32547 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32554 { echo "$as_me:$LINENO: result: no" >&5
32555 echo "${ECHO_T}no" >&6; }
32559 { echo "$as_me:$LINENO: result: no" >&5
32560 echo "${ECHO_T}no" >&6; }
32561 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32562 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32565 elif test "$wxUSE_MSW" = 1; then
32566 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32567 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32568 if test "${ac_cv_header_ddraw_h+set}" = set; then
32569 echo $ECHO_N "(cached) $ECHO_C" >&6
32571 cat >conftest.$ac_ext <<_ACEOF
32574 cat confdefs.h >>conftest.$ac_ext
32575 cat >>conftest.$ac_ext <<_ACEOF
32576 /* end confdefs.h. */
32577 #include <windows.h>
32581 rm -f conftest.$ac_objext
32582 if { (ac_try="$ac_compile"
32583 case "(($ac_try" in
32584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32585 *) ac_try_echo=$ac_try;;
32587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32588 (eval "$ac_compile") 2>conftest.er1
32590 grep -v '^ *+' conftest.er1 >conftest.err
32592 cat conftest.err >&5
32593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32594 (exit $ac_status); } && {
32595 test -z "$ac_c_werror_flag" ||
32596 test ! -s conftest.err
32597 } && test -s conftest.$ac_objext; then
32598 ac_cv_header_ddraw_h=yes
32600 echo "$as_me: failed program was:" >&5
32601 sed 's/^/| /' conftest.$ac_ext >&5
32603 ac_cv_header_ddraw_h=no
32606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32608 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32609 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32615 if test "$wxUSE_DETECT_SM" = "yes"; then
32616 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32617 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32618 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32621 for ac_dir in $SEARCH_LIB;
32623 for ac_extension in a so sl dylib dll.a; do
32624 if test -f "$ac_dir/libSM.$ac_extension"; then
32625 ac_find_libraries=$ac_dir
32631 if test "$ac_find_libraries" != "" ; then
32633 if test "$ac_find_libraries" = "default location"; then
32636 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32638 if test $result = 0; then
32641 ac_path_to_link=" -L$ac_find_libraries"
32645 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32646 LDFLAGS="$LDFLAGS $ac_path_to_link"
32648 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32649 { echo "$as_me:$LINENO: result: yes" >&5
32650 echo "${ECHO_T}yes" >&6; }
32652 { echo "$as_me:$LINENO: result: no" >&5
32653 echo "${ECHO_T}no" >&6; }
32654 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32655 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32656 wxUSE_DETECT_SM="no"
32659 wxUSE_DETECT_SM="no"
32666 if test "$wxUSE_OPENGL" = "yes"; then
32667 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32668 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32669 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32671 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32672 OPENGL_LIBS="-framework OpenGL -framework AGL"
32673 elif test "$wxUSE_MSW" = 1; then
32674 OPENGL_LIBS="-lopengl32 -lglu32"
32676 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32677 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32680 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32682 if test -f "$ac_dir/GL/gl.h"; then
32683 ac_find_includes=$ac_dir
32688 if test "$ac_find_includes" != "" ; then
32689 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32690 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32692 if test "x$ac_find_includes" = "x/usr/include"; then
32693 ac_path_to_include=""
32695 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32697 if test $result = 0; then
32698 ac_path_to_include=""
32700 ac_path_to_include=" -I$ac_find_includes"
32704 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32706 { echo "$as_me:$LINENO: result: not found" >&5
32707 echo "${ECHO_T}not found" >&6; }
32710 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32711 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32712 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32713 echo $ECHO_N "(cached) $ECHO_C" >&6
32715 cat >conftest.$ac_ext <<_ACEOF
32718 cat confdefs.h >>conftest.$ac_ext
32719 cat >>conftest.$ac_ext <<_ACEOF
32720 /* end confdefs.h. */
32725 rm -f conftest.$ac_objext
32726 if { (ac_try="$ac_compile"
32727 case "(($ac_try" in
32728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32729 *) ac_try_echo=$ac_try;;
32731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32732 (eval "$ac_compile") 2>conftest.er1
32734 grep -v '^ *+' conftest.er1 >conftest.err
32736 cat conftest.err >&5
32737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32738 (exit $ac_status); } && {
32739 test -z "$ac_c_werror_flag" ||
32740 test ! -s conftest.err
32741 } && test -s conftest.$ac_objext; then
32742 ac_cv_header_GL_gl_h=yes
32744 echo "$as_me: failed program was:" >&5
32745 sed 's/^/| /' conftest.$ac_ext >&5
32747 ac_cv_header_GL_gl_h=no
32750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32752 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32753 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32754 if test $ac_cv_header_GL_gl_h = yes; then
32756 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32757 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32758 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32759 echo $ECHO_N "(cached) $ECHO_C" >&6
32761 cat >conftest.$ac_ext <<_ACEOF
32764 cat confdefs.h >>conftest.$ac_ext
32765 cat >>conftest.$ac_ext <<_ACEOF
32766 /* end confdefs.h. */
32769 #include <GL/glu.h>
32771 rm -f conftest.$ac_objext
32772 if { (ac_try="$ac_compile"
32773 case "(($ac_try" in
32774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32775 *) ac_try_echo=$ac_try;;
32777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32778 (eval "$ac_compile") 2>conftest.er1
32780 grep -v '^ *+' conftest.er1 >conftest.err
32782 cat conftest.err >&5
32783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32784 (exit $ac_status); } && {
32785 test -z "$ac_c_werror_flag" ||
32786 test ! -s conftest.err
32787 } && test -s conftest.$ac_objext; then
32788 ac_cv_header_GL_glu_h=yes
32790 echo "$as_me: failed program was:" >&5
32791 sed 's/^/| /' conftest.$ac_ext >&5
32793 ac_cv_header_GL_glu_h=no
32796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32798 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32799 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32800 if test $ac_cv_header_GL_glu_h = yes; then
32804 { echo "$as_me:$LINENO: checking for -lGL" >&5
32805 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32808 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32810 for ac_extension in a so sl dylib dll.a; do
32811 if test -f "$ac_dir/libGL.$ac_extension"; then
32812 ac_find_libraries=$ac_dir
32818 if test "$ac_find_libraries" != "" ; then
32819 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32820 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32823 if test "$ac_find_libraries" = "default location"; then
32826 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32828 if test $result = 0; then
32831 ac_path_to_link=" -L$ac_find_libraries"
32835 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32836 LDFLAGS_GL="$ac_path_to_link"
32839 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32840 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32843 for ac_dir in $SEARCH_LIB;
32845 for ac_extension in a so sl dylib dll.a; do
32846 if test -f "$ac_dir/libGLU.$ac_extension"; then
32847 ac_find_libraries=$ac_dir
32853 if test "$ac_find_libraries" != "" ; then
32855 if test "$ac_find_libraries" = "default location"; then
32858 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32860 if test $result = 0; then
32863 ac_path_to_link=" -L$ac_find_libraries"
32867 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32868 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32869 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32873 OPENGL_LIBS="-lGL -lGLU"
32874 { echo "$as_me:$LINENO: result: yes" >&5
32875 echo "${ECHO_T}yes" >&6; }
32877 { echo "$as_me:$LINENO: result: no" >&5
32878 echo "${ECHO_T}no" >&6; }
32881 { echo "$as_me:$LINENO: result: no" >&5
32882 echo "${ECHO_T}no" >&6; }
32885 if test "$found_gl" != 1; then
32886 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32887 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32890 for ac_dir in $SEARCH_LIB;
32892 for ac_extension in a so sl dylib dll.a; do
32893 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32894 ac_find_libraries=$ac_dir
32900 if test "$ac_find_libraries" != "" ; then
32902 if test "$ac_find_libraries" = "default location"; then
32905 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32907 if test $result = 0; then
32910 ac_path_to_link=" -L$ac_find_libraries"
32914 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32915 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32916 { echo "$as_me:$LINENO: result: yes" >&5
32917 echo "${ECHO_T}yes" >&6; }
32919 { echo "$as_me:$LINENO: result: no" >&5
32920 echo "${ECHO_T}no" >&6; }
32932 if test "x$OPENGL_LIBS" = "x"; then
32933 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32934 echo "$as_me: error: OpenGL libraries not available" >&2;}
32935 { (exit 1); exit 1; }; }
32939 if test "$wxUSE_OPENGL" = "yes"; then
32941 cat >>confdefs.h <<\_ACEOF
32942 #define wxUSE_OPENGL 1
32945 cat >>confdefs.h <<\_ACEOF
32946 #define wxUSE_GLCANVAS 1
32949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32954 if test -n "$TOOLKIT" ; then
32955 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32960 if test "$wxUSE_SHARED" = "yes"; then
32964 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32965 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32970 if test "$wxUSE_SHARED" = "yes"; then
32974 *-*-cygwin* | *-*-mingw* )
32975 wx_cv_version_script=no
32979 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32980 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32981 if test "${wx_cv_version_script+set}" = set; then
32982 echo $ECHO_N "(cached) $ECHO_C" >&6
32985 echo "VER_1 { *; };" >conftest.sym
32986 echo "int main() { return 0; }" >conftest.cpp
32989 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32990 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32992 (eval $ac_try) 2>&5
32994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32995 (exit $ac_status); }; } ; then
32996 if test -s conftest.stderr ; then
32997 wx_cv_version_script=no
32999 wx_cv_version_script=yes
33002 wx_cv_version_script=no
33005 if test $wx_cv_version_script = yes
33007 echo "struct B { virtual ~B() { } }; \
33008 struct D : public B { }; \
33009 void F() { D d; }" > conftest.cpp
33012 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33013 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33015 (eval $ac_try) 2>&5
33017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33018 (exit $ac_status); }; } &&
33020 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33021 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33023 (eval $ac_try) 2>&5
33025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33026 (exit $ac_status); }; }
33029 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33030 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33032 (eval $ac_try) 2>&5
33034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33035 (exit $ac_status); }; }
33037 wx_cv_version_script=yes
33039 wx_cv_version_script=no
33044 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33045 rm -f conftest1.output conftest2.output conftest3.output
33048 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33049 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33051 if test $wx_cv_version_script = yes ; then
33052 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33058 if test "$wxUSE_VISIBILITY" != "no"; then
33061 if test -n "$GCC"; then
33062 CFLAGS_VISIBILITY="-fvisibility=hidden"
33063 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33064 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33065 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33066 if test "${wx_cv_cc_visibility+set}" = set; then
33067 echo $ECHO_N "(cached) $ECHO_C" >&6
33070 wx_save_CXXFLAGS="$CXXFLAGS"
33071 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33073 ac_cpp='$CXXCPP $CPPFLAGS'
33074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33078 cat >conftest.$ac_ext <<_ACEOF
33081 cat confdefs.h >>conftest.$ac_ext
33082 cat >>conftest.$ac_ext <<_ACEOF
33083 /* end confdefs.h. */
33085 /* we need gcc >= 4.0, older versions with visibility support
33086 didn't have class visibility: */
33087 #if defined(__GNUC__) && __GNUC__ < 4
33088 error this gcc is too old;
33091 /* visibility only makes sense for ELF shared libs: */
33092 #if !defined(__ELF__) && !defined(__APPLE__)
33093 error this platform has no visibility;
33096 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33097 extern __attribute__((__visibility__("default"))) int exportedvar;
33098 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33099 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33100 class __attribute__((__visibility__("default"))) Foo {
33112 rm -f conftest.$ac_objext
33113 if { (ac_try="$ac_compile"
33114 case "(($ac_try" in
33115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33116 *) ac_try_echo=$ac_try;;
33118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33119 (eval "$ac_compile") 2>conftest.er1
33121 grep -v '^ *+' conftest.er1 >conftest.err
33123 cat conftest.err >&5
33124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33125 (exit $ac_status); } && {
33126 test -z "$ac_cxx_werror_flag" ||
33127 test ! -s conftest.err
33128 } && test -s conftest.$ac_objext; then
33129 wx_cv_cc_visibility=yes
33131 echo "$as_me: failed program was:" >&5
33132 sed 's/^/| /' conftest.$ac_ext >&5
33134 wx_cv_cc_visibility=no
33137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33139 ac_cpp='$CPP $CPPFLAGS'
33140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33144 CXXFLAGS="$wx_save_CXXFLAGS"
33147 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33148 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33149 if test $wx_cv_cc_visibility = yes; then
33150 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33151 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33152 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33153 echo $ECHO_N "(cached) $ECHO_C" >&6
33156 wx_save_CXXFLAGS="$CXXFLAGS"
33157 wx_save_LDFLAGS="$LDFLAGS"
33158 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33159 LDFLAGS="$LDFLAGS -shared -fPIC"
33161 ac_cpp='$CXXCPP $CPPFLAGS'
33162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33166 cat >conftest.$ac_ext <<_ACEOF
33169 cat confdefs.h >>conftest.$ac_ext
33170 cat >>conftest.$ac_ext <<_ACEOF
33171 /* end confdefs.h. */
33179 std::string s("hello");
33186 rm -f conftest.$ac_objext conftest$ac_exeext
33187 if { (ac_try="$ac_link"
33188 case "(($ac_try" in
33189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33190 *) ac_try_echo=$ac_try;;
33192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33193 (eval "$ac_link") 2>conftest.er1
33195 grep -v '^ *+' conftest.er1 >conftest.err
33197 cat conftest.err >&5
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); } && {
33200 test -z "$ac_cxx_werror_flag" ||
33201 test ! -s conftest.err
33202 } && test -s conftest$ac_exeext &&
33203 $as_test_x conftest$ac_exeext; then
33204 wx_cv_cc_broken_libstdcxx_visibility=no
33206 echo "$as_me: failed program was:" >&5
33207 sed 's/^/| /' conftest.$ac_ext >&5
33209 wx_cv_cc_broken_libstdcxx_visibility=yes
33212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33213 conftest$ac_exeext conftest.$ac_ext
33215 ac_cpp='$CPP $CPPFLAGS'
33216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33220 CXXFLAGS="$wx_save_CXXFLAGS"
33221 LDFLAGS="$wx_save_LDFLAGS"
33224 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33225 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33227 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33228 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33229 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33230 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33231 echo $ECHO_N "(cached) $ECHO_C" >&6
33235 ac_cpp='$CXXCPP $CPPFLAGS'
33236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33240 cat >conftest.$ac_ext <<_ACEOF
33243 cat confdefs.h >>conftest.$ac_ext
33244 cat >>conftest.$ac_ext <<_ACEOF
33245 /* end confdefs.h. */
33247 #pragma GCC visibility push(default)
33249 #pragma GCC visibility pop
33255 std::string s("hello");
33262 rm -f conftest.$ac_objext conftest$ac_exeext
33263 if { (ac_try="$ac_link"
33264 case "(($ac_try" in
33265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33266 *) ac_try_echo=$ac_try;;
33268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33269 (eval "$ac_link") 2>conftest.er1
33271 grep -v '^ *+' conftest.er1 >conftest.err
33273 cat conftest.err >&5
33274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33275 (exit $ac_status); } && {
33276 test -z "$ac_cxx_werror_flag" ||
33277 test ! -s conftest.err
33278 } && test -s conftest$ac_exeext &&
33279 $as_test_x conftest$ac_exeext; then
33280 wx_cv_cc_visibility_workaround=no
33282 echo "$as_me: failed program was:" >&5
33283 sed 's/^/| /' conftest.$ac_ext >&5
33285 wx_cv_cc_visibility_workaround=yes
33288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33289 conftest$ac_exeext conftest.$ac_ext
33291 ac_cpp='$CPP $CPPFLAGS'
33292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33299 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33300 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33302 if test $wx_cv_cc_visibility_workaround = no; then
33303 wx_cv_cc_visibility=no
33308 if test $wx_cv_cc_visibility = yes; then
33309 cat >>confdefs.h <<\_ACEOF
33310 #define HAVE_VISIBILITY 1
33313 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33314 cat >>confdefs.h <<\_ACEOF
33315 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33320 CFLAGS_VISIBILITY=""
33321 CXXFLAGS_VISIBILITY=""
33329 if test "x$SUNCXX" = xyes; then
33330 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33331 WXCONFIG_RPATH="-R\$libdir"
33334 *-*-linux* | *-*-gnu* )
33335 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33336 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33341 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33343 saveLdflags="$LDFLAGS"
33344 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33345 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33346 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33347 cat >conftest.$ac_ext <<_ACEOF
33350 cat confdefs.h >>conftest.$ac_ext
33351 cat >>conftest.$ac_ext <<_ACEOF
33352 /* end confdefs.h. */
33362 rm -f conftest.$ac_objext conftest$ac_exeext
33363 if { (ac_try="$ac_link"
33364 case "(($ac_try" in
33365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33366 *) ac_try_echo=$ac_try;;
33368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33369 (eval "$ac_link") 2>conftest.er1
33371 grep -v '^ *+' conftest.er1 >conftest.err
33373 cat conftest.err >&5
33374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33375 (exit $ac_status); } && {
33376 test -z "$ac_c_werror_flag" ||
33377 test ! -s conftest.err
33378 } && test -s conftest$ac_exeext &&
33379 $as_test_x conftest$ac_exeext; then
33381 { echo "$as_me:$LINENO: result: yes" >&5
33382 echo "${ECHO_T}yes" >&6; }
33383 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33384 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33387 echo "$as_me: failed program was:" >&5
33388 sed 's/^/| /' conftest.$ac_ext >&5
33391 { echo "$as_me:$LINENO: result: no" >&5
33392 echo "${ECHO_T}no" >&6; }
33393 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33394 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33395 LDFLAGS="$saveLdflags -Wl,-R,/"
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,-R,\$(wx_top_builddir)/lib"
33433 WXCONFIG_RPATH="-Wl,-R,\$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; }
33445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33446 conftest$ac_exeext conftest.$ac_ext
33450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33451 conftest$ac_exeext conftest.$ac_ext
33452 LDFLAGS="$saveLdflags"
33456 install_name_tool=`which install_name_tool`
33457 if test "$install_name_tool" -a -x "$install_name_tool"; then
33458 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33459 cat <<EOF >change-install-names
33461 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33462 inst_cmd="install_name_tool "
33463 for i in \${libnames} ; do
33464 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33468 chmod +x change-install-names
33472 *-*-cygwin* | *-*-mingw32* )
33476 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33477 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33483 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33485 if test $wxUSE_RPATH = "no"; then
33486 SAMPLES_RPATH_FLAG=''
33487 SAMPLES_RPATH_POSTLINK=''
33495 config_linkage_component="-static"
33502 lib_unicode_suffix=
33504 if test "$wxUSE_UNICODE" = "yes"; then
33505 lib_unicode_suffix=u
33506 WX_CHARTYPE="unicode"
33511 WX_DEBUGTYPE="release"
33513 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33515 WX_DEBUGTYPE="debug"
33519 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33520 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33523 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33527 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33529 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33531 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33533 if test "$cross_compiling" = "yes"; then
33534 HOST_SUFFIX="-$host_alias"
33535 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33536 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33539 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33540 if test "${TOOLKIT_DIR}" = "os2"; then
33541 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33543 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33548 if test "$wxUSE_COCOA" = 1; then
33551 ac_cpp='$CPP $CPPFLAGS'
33552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33558 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33559 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33560 cat >conftest.$ac_ext <<_ACEOF
33563 cat confdefs.h >>conftest.$ac_ext
33564 cat >>conftest.$ac_ext <<_ACEOF
33565 /* end confdefs.h. */
33566 #include <AppKit/NSEvent.h>
33567 #include <CoreFoundation/CoreFoundation.h>
33577 rm -f conftest.$ac_objext
33578 if { (ac_try="$ac_compile"
33579 case "(($ac_try" in
33580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33581 *) ac_try_echo=$ac_try;;
33583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33584 (eval "$ac_compile") 2>conftest.er1
33586 grep -v '^ *+' conftest.er1 >conftest.err
33588 cat conftest.err >&5
33589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33590 (exit $ac_status); } && {
33591 test -z "$ac_c_werror_flag" ||
33592 test ! -s conftest.err
33593 } && test -s conftest.$ac_objext; then
33594 { echo "$as_me:$LINENO: result: no" >&5
33595 echo "${ECHO_T}no" >&6; }
33597 echo "$as_me: failed program was:" >&5
33598 sed 's/^/| /' conftest.$ac_ext >&5
33600 { echo "$as_me:$LINENO: result: yes" >&5
33601 echo "${ECHO_T}yes" >&6; }
33602 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33603 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33604 cat >conftest.$ac_ext <<_ACEOF
33607 cat confdefs.h >>conftest.$ac_ext
33608 cat >>conftest.$ac_ext <<_ACEOF
33609 /* end confdefs.h. */
33610 #define __Point__ 1
33611 #include <AppKit/NSEvent.h>
33612 #include <CoreFoundation/CoreFoundation.h>
33622 rm -f conftest.$ac_objext
33623 if { (ac_try="$ac_compile"
33624 case "(($ac_try" in
33625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33626 *) ac_try_echo=$ac_try;;
33628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33629 (eval "$ac_compile") 2>conftest.er1
33631 grep -v '^ *+' conftest.er1 >conftest.err
33633 cat conftest.err >&5
33634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33635 (exit $ac_status); } && {
33636 test -z "$ac_c_werror_flag" ||
33637 test ! -s conftest.err
33638 } && test -s conftest.$ac_objext; then
33639 { echo "$as_me:$LINENO: result: yes" >&5
33640 echo "${ECHO_T}yes" >&6; }
33641 cat >>confdefs.h <<\_ACEOF
33642 #define __Point__ 1
33647 echo "$as_me: failed program was:" >&5
33648 sed 's/^/| /' conftest.$ac_ext >&5
33650 { { echo "$as_me:$LINENO: error: no
33651 See \`config.log' for more details." >&5
33652 echo "$as_me: error: no
33653 See \`config.log' for more details." >&2;}
33654 { (exit 1); exit 1; }; }
33658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33664 ac_cpp='$CPP $CPPFLAGS'
33665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33672 { echo "$as_me:$LINENO: checking for mode_t" >&5
33673 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33674 if test "${ac_cv_type_mode_t+set}" = set; then
33675 echo $ECHO_N "(cached) $ECHO_C" >&6
33677 cat >conftest.$ac_ext <<_ACEOF
33680 cat confdefs.h >>conftest.$ac_ext
33681 cat >>conftest.$ac_ext <<_ACEOF
33682 /* end confdefs.h. */
33683 $ac_includes_default
33684 typedef mode_t ac__type_new_;
33688 if ((ac__type_new_ *) 0)
33690 if (sizeof (ac__type_new_))
33696 rm -f conftest.$ac_objext
33697 if { (ac_try="$ac_compile"
33698 case "(($ac_try" in
33699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33700 *) ac_try_echo=$ac_try;;
33702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33703 (eval "$ac_compile") 2>conftest.er1
33705 grep -v '^ *+' conftest.er1 >conftest.err
33707 cat conftest.err >&5
33708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33709 (exit $ac_status); } && {
33710 test -z "$ac_c_werror_flag" ||
33711 test ! -s conftest.err
33712 } && test -s conftest.$ac_objext; then
33713 ac_cv_type_mode_t=yes
33715 echo "$as_me: failed program was:" >&5
33716 sed 's/^/| /' conftest.$ac_ext >&5
33718 ac_cv_type_mode_t=no
33721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33723 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33724 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33725 if test $ac_cv_type_mode_t = yes; then
33729 cat >>confdefs.h <<_ACEOF
33735 { echo "$as_me:$LINENO: checking for off_t" >&5
33736 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33737 if test "${ac_cv_type_off_t+set}" = set; then
33738 echo $ECHO_N "(cached) $ECHO_C" >&6
33740 cat >conftest.$ac_ext <<_ACEOF
33743 cat confdefs.h >>conftest.$ac_ext
33744 cat >>conftest.$ac_ext <<_ACEOF
33745 /* end confdefs.h. */
33746 $ac_includes_default
33747 typedef off_t ac__type_new_;
33751 if ((ac__type_new_ *) 0)
33753 if (sizeof (ac__type_new_))
33759 rm -f conftest.$ac_objext
33760 if { (ac_try="$ac_compile"
33761 case "(($ac_try" in
33762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33763 *) ac_try_echo=$ac_try;;
33765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33766 (eval "$ac_compile") 2>conftest.er1
33768 grep -v '^ *+' conftest.er1 >conftest.err
33770 cat conftest.err >&5
33771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33772 (exit $ac_status); } && {
33773 test -z "$ac_c_werror_flag" ||
33774 test ! -s conftest.err
33775 } && test -s conftest.$ac_objext; then
33776 ac_cv_type_off_t=yes
33778 echo "$as_me: failed program was:" >&5
33779 sed 's/^/| /' conftest.$ac_ext >&5
33781 ac_cv_type_off_t=no
33784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33786 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33787 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33788 if test $ac_cv_type_off_t = yes; then
33792 cat >>confdefs.h <<_ACEOF
33793 #define off_t long int
33798 { echo "$as_me:$LINENO: checking for pid_t" >&5
33799 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33800 if test "${ac_cv_type_pid_t+set}" = set; then
33801 echo $ECHO_N "(cached) $ECHO_C" >&6
33803 cat >conftest.$ac_ext <<_ACEOF
33806 cat confdefs.h >>conftest.$ac_ext
33807 cat >>conftest.$ac_ext <<_ACEOF
33808 /* end confdefs.h. */
33809 $ac_includes_default
33810 typedef pid_t ac__type_new_;
33814 if ((ac__type_new_ *) 0)
33816 if (sizeof (ac__type_new_))
33822 rm -f conftest.$ac_objext
33823 if { (ac_try="$ac_compile"
33824 case "(($ac_try" in
33825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33826 *) ac_try_echo=$ac_try;;
33828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33829 (eval "$ac_compile") 2>conftest.er1
33831 grep -v '^ *+' conftest.er1 >conftest.err
33833 cat conftest.err >&5
33834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33835 (exit $ac_status); } && {
33836 test -z "$ac_c_werror_flag" ||
33837 test ! -s conftest.err
33838 } && test -s conftest.$ac_objext; then
33839 ac_cv_type_pid_t=yes
33841 echo "$as_me: failed program was:" >&5
33842 sed 's/^/| /' conftest.$ac_ext >&5
33844 ac_cv_type_pid_t=no
33847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33849 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33850 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33851 if test $ac_cv_type_pid_t = yes; then
33855 cat >>confdefs.h <<_ACEOF
33861 { echo "$as_me:$LINENO: checking for size_t" >&5
33862 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33863 if test "${ac_cv_type_size_t+set}" = set; then
33864 echo $ECHO_N "(cached) $ECHO_C" >&6
33866 cat >conftest.$ac_ext <<_ACEOF
33869 cat confdefs.h >>conftest.$ac_ext
33870 cat >>conftest.$ac_ext <<_ACEOF
33871 /* end confdefs.h. */
33872 $ac_includes_default
33873 typedef size_t ac__type_new_;
33877 if ((ac__type_new_ *) 0)
33879 if (sizeof (ac__type_new_))
33885 rm -f conftest.$ac_objext
33886 if { (ac_try="$ac_compile"
33887 case "(($ac_try" in
33888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33889 *) ac_try_echo=$ac_try;;
33891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33892 (eval "$ac_compile") 2>conftest.er1
33894 grep -v '^ *+' conftest.er1 >conftest.err
33896 cat conftest.err >&5
33897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33898 (exit $ac_status); } && {
33899 test -z "$ac_c_werror_flag" ||
33900 test ! -s conftest.err
33901 } && test -s conftest.$ac_objext; then
33902 ac_cv_type_size_t=yes
33904 echo "$as_me: failed program was:" >&5
33905 sed 's/^/| /' conftest.$ac_ext >&5
33907 ac_cv_type_size_t=no
33910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33912 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33913 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33914 if test $ac_cv_type_size_t = yes; then
33918 cat >>confdefs.h <<_ACEOF
33919 #define size_t unsigned int
33925 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33926 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33927 if test "${ac_cv_type_ssize_t+set}" = set; then
33928 echo $ECHO_N "(cached) $ECHO_C" >&6
33930 cat >conftest.$ac_ext <<_ACEOF
33933 cat confdefs.h >>conftest.$ac_ext
33934 cat >>conftest.$ac_ext <<_ACEOF
33935 /* end confdefs.h. */
33936 $ac_includes_default
33937 typedef ssize_t ac__type_new_;
33941 if ((ac__type_new_ *) 0)
33943 if (sizeof (ac__type_new_))
33949 rm -f conftest.$ac_objext
33950 if { (ac_try="$ac_compile"
33951 case "(($ac_try" in
33952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33953 *) ac_try_echo=$ac_try;;
33955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33956 (eval "$ac_compile") 2>conftest.er1
33958 grep -v '^ *+' conftest.er1 >conftest.err
33960 cat conftest.err >&5
33961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33962 (exit $ac_status); } && {
33963 test -z "$ac_c_werror_flag" ||
33964 test ! -s conftest.err
33965 } && test -s conftest.$ac_objext; then
33966 ac_cv_type_ssize_t=yes
33968 echo "$as_me: failed program was:" >&5
33969 sed 's/^/| /' conftest.$ac_ext >&5
33971 ac_cv_type_ssize_t=no
33974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33976 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33977 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33978 if test $ac_cv_type_ssize_t = yes; then
33980 cat >>confdefs.h <<_ACEOF
33981 #define HAVE_SSIZE_T 1
33989 ac_cpp='$CXXCPP $CPPFLAGS'
33990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33993 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33994 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33995 if test "${wx_cv_size_t_is_uint+set}" = set; then
33996 echo $ECHO_N "(cached) $ECHO_C" >&6
33999 cat >conftest.$ac_ext <<_ACEOF
34002 cat confdefs.h >>conftest.$ac_ext
34003 cat >>conftest.$ac_ext <<_ACEOF
34004 /* end confdefs.h. */
34005 #include <stddef.h>
34012 struct Foo { void foo(size_t); void foo(unsigned int); };
34020 rm -f conftest.$ac_objext
34021 if { (ac_try="$ac_compile"
34022 case "(($ac_try" in
34023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34024 *) ac_try_echo=$ac_try;;
34026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34027 (eval "$ac_compile") 2>conftest.er1
34029 grep -v '^ *+' conftest.er1 >conftest.err
34031 cat conftest.err >&5
34032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34033 (exit $ac_status); } && {
34034 test -z "$ac_cxx_werror_flag" ||
34035 test ! -s conftest.err
34036 } && test -s conftest.$ac_objext; then
34037 wx_cv_size_t_is_uint=no
34039 echo "$as_me: failed program was:" >&5
34040 sed 's/^/| /' conftest.$ac_ext >&5
34042 wx_cv_size_t_is_uint=yes
34046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34050 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34051 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34053 if test "$wx_cv_size_t_is_uint" = "yes"; then
34054 cat >>confdefs.h <<\_ACEOF
34055 #define wxSIZE_T_IS_UINT 1
34059 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34060 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34061 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34062 echo $ECHO_N "(cached) $ECHO_C" >&6
34064 cat >conftest.$ac_ext <<_ACEOF
34067 cat confdefs.h >>conftest.$ac_ext
34068 cat >>conftest.$ac_ext <<_ACEOF
34069 /* end confdefs.h. */
34070 #include <stddef.h>
34077 struct Foo { void foo(size_t); void foo(unsigned long); };
34085 rm -f conftest.$ac_objext
34086 if { (ac_try="$ac_compile"
34087 case "(($ac_try" in
34088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34089 *) ac_try_echo=$ac_try;;
34091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34092 (eval "$ac_compile") 2>conftest.er1
34094 grep -v '^ *+' conftest.er1 >conftest.err
34096 cat conftest.err >&5
34097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34098 (exit $ac_status); } && {
34099 test -z "$ac_cxx_werror_flag" ||
34100 test ! -s conftest.err
34101 } && test -s conftest.$ac_objext; then
34102 wx_cv_size_t_is_ulong=no
34104 echo "$as_me: failed program was:" >&5
34105 sed 's/^/| /' conftest.$ac_ext >&5
34107 wx_cv_size_t_is_ulong=yes
34111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34114 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34115 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34117 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34118 cat >>confdefs.h <<\_ACEOF
34119 #define wxSIZE_T_IS_ULONG 1
34125 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34126 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34127 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34128 echo $ECHO_N "(cached) $ECHO_C" >&6
34130 cat >conftest.$ac_ext <<_ACEOF
34133 cat confdefs.h >>conftest.$ac_ext
34134 cat >>conftest.$ac_ext <<_ACEOF
34135 /* end confdefs.h. */
34143 struct Foo { void foo(wchar_t);
34144 void foo(unsigned short);
34145 void foo(unsigned int);
34146 void foo(unsigned long); };
34154 rm -f conftest.$ac_objext
34155 if { (ac_try="$ac_compile"
34156 case "(($ac_try" in
34157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34158 *) ac_try_echo=$ac_try;;
34160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34161 (eval "$ac_compile") 2>conftest.er1
34163 grep -v '^ *+' conftest.er1 >conftest.err
34165 cat conftest.err >&5
34166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34167 (exit $ac_status); } && {
34168 test -z "$ac_cxx_werror_flag" ||
34169 test ! -s conftest.err
34170 } && test -s conftest.$ac_objext; then
34171 wx_cv_wchar_t_is_separate_type=yes
34173 echo "$as_me: failed program was:" >&5
34174 sed 's/^/| /' conftest.$ac_ext >&5
34176 wx_cv_wchar_t_is_separate_type=no
34180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34183 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34184 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34186 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34187 cat >>confdefs.h <<\_ACEOF
34188 #define wxWCHAR_T_IS_REAL_TYPE 1
34192 cat >>confdefs.h <<\_ACEOF
34193 #define wxWCHAR_T_IS_REAL_TYPE 0
34199 ac_cpp='$CPP $CPPFLAGS'
34200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34205 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34206 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34207 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34208 echo $ECHO_N "(cached) $ECHO_C" >&6
34211 cat >conftest.$ac_ext <<_ACEOF
34214 cat confdefs.h >>conftest.$ac_ext
34215 cat >>conftest.$ac_ext <<_ACEOF
34216 /* end confdefs.h. */
34230 rm -f conftest.$ac_objext
34231 if { (ac_try="$ac_compile"
34232 case "(($ac_try" in
34233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34234 *) ac_try_echo=$ac_try;;
34236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34237 (eval "$ac_compile") 2>conftest.er1
34239 grep -v '^ *+' conftest.er1 >conftest.err
34241 cat conftest.err >&5
34242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34243 (exit $ac_status); } && {
34244 test -z "$ac_c_werror_flag" ||
34245 test ! -s conftest.err
34246 } && test -s conftest.$ac_objext; then
34248 wx_cv_struct_pw_gecos=yes
34251 echo "$as_me: failed program was:" >&5
34252 sed 's/^/| /' conftest.$ac_ext >&5
34255 wx_cv_struct_pw_gecos=no
34260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34264 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34265 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34267 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34268 cat >>confdefs.h <<\_ACEOF
34269 #define HAVE_PW_GECOS 1
34275 if test "$wxUSE_WCHAR_T" = "yes"; then
34276 cat >>confdefs.h <<\_ACEOF
34277 #define wxUSE_WCHAR_T 1
34284 for ac_func in wcslen
34286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34287 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34289 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34290 echo $ECHO_N "(cached) $ECHO_C" >&6
34292 cat >conftest.$ac_ext <<_ACEOF
34295 cat confdefs.h >>conftest.$ac_ext
34296 cat >>conftest.$ac_ext <<_ACEOF
34297 /* end confdefs.h. */
34298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34300 #define $ac_func innocuous_$ac_func
34302 /* System header to define __stub macros and hopefully few prototypes,
34303 which can conflict with char $ac_func (); below.
34304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34305 <limits.h> exists even on freestanding compilers. */
34308 # include <limits.h>
34310 # include <assert.h>
34315 /* Override any GCC internal prototype to avoid an error.
34316 Use char because int might match the return type of a GCC
34317 builtin and then its argument prototype would still apply. */
34322 /* The GNU C library defines this for functions which it implements
34323 to always fail with ENOSYS. Some functions are actually named
34324 something starting with __ and the normal name is an alias. */
34325 #if defined __stub_$ac_func || defined __stub___$ac_func
34332 return $ac_func ();
34337 rm -f conftest.$ac_objext conftest$ac_exeext
34338 if { (ac_try="$ac_link"
34339 case "(($ac_try" in
34340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34341 *) ac_try_echo=$ac_try;;
34343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34344 (eval "$ac_link") 2>conftest.er1
34346 grep -v '^ *+' conftest.er1 >conftest.err
34348 cat conftest.err >&5
34349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34350 (exit $ac_status); } && {
34351 test -z "$ac_c_werror_flag" ||
34352 test ! -s conftest.err
34353 } && test -s conftest$ac_exeext &&
34354 $as_test_x conftest$ac_exeext; then
34355 eval "$as_ac_var=yes"
34357 echo "$as_me: failed program was:" >&5
34358 sed 's/^/| /' conftest.$ac_ext >&5
34360 eval "$as_ac_var=no"
34363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34364 conftest$ac_exeext conftest.$ac_ext
34366 ac_res=`eval echo '${'$as_ac_var'}'`
34367 { echo "$as_me:$LINENO: result: $ac_res" >&5
34368 echo "${ECHO_T}$ac_res" >&6; }
34369 if test `eval echo '${'$as_ac_var'}'` = yes; then
34370 cat >>confdefs.h <<_ACEOF
34371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34378 if test "$WCSLEN_FOUND" = 0; then
34379 if test "$TOOLKIT" = "MSW"; then
34380 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34381 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34382 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34383 echo $ECHO_N "(cached) $ECHO_C" >&6
34385 ac_check_lib_save_LIBS=$LIBS
34386 LIBS="-lmsvcrt $LIBS"
34387 cat >conftest.$ac_ext <<_ACEOF
34390 cat confdefs.h >>conftest.$ac_ext
34391 cat >>conftest.$ac_ext <<_ACEOF
34392 /* end confdefs.h. */
34394 /* Override any GCC internal prototype to avoid an error.
34395 Use char because int might match the return type of a GCC
34396 builtin and then its argument prototype would still apply. */
34409 rm -f conftest.$ac_objext conftest$ac_exeext
34410 if { (ac_try="$ac_link"
34411 case "(($ac_try" in
34412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34413 *) ac_try_echo=$ac_try;;
34415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34416 (eval "$ac_link") 2>conftest.er1
34418 grep -v '^ *+' conftest.er1 >conftest.err
34420 cat conftest.err >&5
34421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34422 (exit $ac_status); } && {
34423 test -z "$ac_c_werror_flag" ||
34424 test ! -s conftest.err
34425 } && test -s conftest$ac_exeext &&
34426 $as_test_x conftest$ac_exeext; then
34427 ac_cv_lib_msvcrt_wcslen=yes
34429 echo "$as_me: failed program was:" >&5
34430 sed 's/^/| /' conftest.$ac_ext >&5
34432 ac_cv_lib_msvcrt_wcslen=no
34435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34436 conftest$ac_exeext conftest.$ac_ext
34437 LIBS=$ac_check_lib_save_LIBS
34439 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34440 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34441 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34446 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34447 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34448 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34449 echo $ECHO_N "(cached) $ECHO_C" >&6
34451 ac_check_lib_save_LIBS=$LIBS
34453 cat >conftest.$ac_ext <<_ACEOF
34456 cat confdefs.h >>conftest.$ac_ext
34457 cat >>conftest.$ac_ext <<_ACEOF
34458 /* end confdefs.h. */
34460 /* Override any GCC internal prototype to avoid an error.
34461 Use char because int might match the return type of a GCC
34462 builtin and then its argument prototype would still apply. */
34475 rm -f conftest.$ac_objext conftest$ac_exeext
34476 if { (ac_try="$ac_link"
34477 case "(($ac_try" in
34478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34479 *) ac_try_echo=$ac_try;;
34481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34482 (eval "$ac_link") 2>conftest.er1
34484 grep -v '^ *+' conftest.er1 >conftest.err
34486 cat conftest.err >&5
34487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34488 (exit $ac_status); } && {
34489 test -z "$ac_c_werror_flag" ||
34490 test ! -s conftest.err
34491 } && test -s conftest$ac_exeext &&
34492 $as_test_x conftest$ac_exeext; then
34493 ac_cv_lib_w_wcslen=yes
34495 echo "$as_me: failed program was:" >&5
34496 sed 's/^/| /' conftest.$ac_ext >&5
34498 ac_cv_lib_w_wcslen=no
34501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34502 conftest$ac_exeext conftest.$ac_ext
34503 LIBS=$ac_check_lib_save_LIBS
34505 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34506 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34507 if test $ac_cv_lib_w_wcslen = yes; then
34517 if test "$WCSLEN_FOUND" = 1; then
34518 cat >>confdefs.h <<\_ACEOF
34519 #define HAVE_WCSLEN 1
34525 for ac_func in wcsdup
34527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34528 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34530 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34531 echo $ECHO_N "(cached) $ECHO_C" >&6
34533 cat >conftest.$ac_ext <<_ACEOF
34536 cat confdefs.h >>conftest.$ac_ext
34537 cat >>conftest.$ac_ext <<_ACEOF
34538 /* end confdefs.h. */
34539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34541 #define $ac_func innocuous_$ac_func
34543 /* System header to define __stub macros and hopefully few prototypes,
34544 which can conflict with char $ac_func (); below.
34545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34546 <limits.h> exists even on freestanding compilers. */
34549 # include <limits.h>
34551 # include <assert.h>
34556 /* Override any GCC internal prototype to avoid an error.
34557 Use char because int might match the return type of a GCC
34558 builtin and then its argument prototype would still apply. */
34563 /* The GNU C library defines this for functions which it implements
34564 to always fail with ENOSYS. Some functions are actually named
34565 something starting with __ and the normal name is an alias. */
34566 #if defined __stub_$ac_func || defined __stub___$ac_func
34573 return $ac_func ();
34578 rm -f conftest.$ac_objext conftest$ac_exeext
34579 if { (ac_try="$ac_link"
34580 case "(($ac_try" in
34581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34582 *) ac_try_echo=$ac_try;;
34584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34585 (eval "$ac_link") 2>conftest.er1
34587 grep -v '^ *+' conftest.er1 >conftest.err
34589 cat conftest.err >&5
34590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34591 (exit $ac_status); } && {
34592 test -z "$ac_c_werror_flag" ||
34593 test ! -s conftest.err
34594 } && test -s conftest$ac_exeext &&
34595 $as_test_x conftest$ac_exeext; then
34596 eval "$as_ac_var=yes"
34598 echo "$as_me: failed program was:" >&5
34599 sed 's/^/| /' conftest.$ac_ext >&5
34601 eval "$as_ac_var=no"
34604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34605 conftest$ac_exeext conftest.$ac_ext
34607 ac_res=`eval echo '${'$as_ac_var'}'`
34608 { echo "$as_me:$LINENO: result: $ac_res" >&5
34609 echo "${ECHO_T}$ac_res" >&6; }
34610 if test `eval echo '${'$as_ac_var'}'` = yes; then
34611 cat >>confdefs.h <<_ACEOF
34612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34619 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34620 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34623 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34624 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34625 if test "${ac_cv_type_mbstate_t+set}" = set; then
34626 echo $ECHO_N "(cached) $ECHO_C" >&6
34628 cat >conftest.$ac_ext <<_ACEOF
34631 cat confdefs.h >>conftest.$ac_ext
34632 cat >>conftest.$ac_ext <<_ACEOF
34633 /* end confdefs.h. */
34636 typedef mbstate_t ac__type_new_;
34640 if ((ac__type_new_ *) 0)
34642 if (sizeof (ac__type_new_))
34648 rm -f conftest.$ac_objext
34649 if { (ac_try="$ac_compile"
34650 case "(($ac_try" in
34651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34652 *) ac_try_echo=$ac_try;;
34654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34655 (eval "$ac_compile") 2>conftest.er1
34657 grep -v '^ *+' conftest.er1 >conftest.err
34659 cat conftest.err >&5
34660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34661 (exit $ac_status); } && {
34662 test -z "$ac_c_werror_flag" ||
34663 test ! -s conftest.err
34664 } && test -s conftest.$ac_objext; then
34665 ac_cv_type_mbstate_t=yes
34667 echo "$as_me: failed program was:" >&5
34668 sed 's/^/| /' conftest.$ac_ext >&5
34670 ac_cv_type_mbstate_t=no
34673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34675 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34676 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34677 if test $ac_cv_type_mbstate_t = yes; then
34679 cat >>confdefs.h <<_ACEOF
34680 #define HAVE_MBSTATE_T 1
34684 for ac_func in wcsrtombs
34686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34687 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34689 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34690 echo $ECHO_N "(cached) $ECHO_C" >&6
34692 cat >conftest.$ac_ext <<_ACEOF
34695 cat confdefs.h >>conftest.$ac_ext
34696 cat >>conftest.$ac_ext <<_ACEOF
34697 /* end confdefs.h. */
34698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34700 #define $ac_func innocuous_$ac_func
34702 /* System header to define __stub macros and hopefully few prototypes,
34703 which can conflict with char $ac_func (); below.
34704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34705 <limits.h> exists even on freestanding compilers. */
34708 # include <limits.h>
34710 # include <assert.h>
34715 /* Override any GCC internal prototype to avoid an error.
34716 Use char because int might match the return type of a GCC
34717 builtin and then its argument prototype would still apply. */
34722 /* The GNU C library defines this for functions which it implements
34723 to always fail with ENOSYS. Some functions are actually named
34724 something starting with __ and the normal name is an alias. */
34725 #if defined __stub_$ac_func || defined __stub___$ac_func
34732 return $ac_func ();
34737 rm -f conftest.$ac_objext conftest$ac_exeext
34738 if { (ac_try="$ac_link"
34739 case "(($ac_try" in
34740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34741 *) ac_try_echo=$ac_try;;
34743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34744 (eval "$ac_link") 2>conftest.er1
34746 grep -v '^ *+' conftest.er1 >conftest.err
34748 cat conftest.err >&5
34749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34750 (exit $ac_status); } && {
34751 test -z "$ac_c_werror_flag" ||
34752 test ! -s conftest.err
34753 } && test -s conftest$ac_exeext &&
34754 $as_test_x conftest$ac_exeext; then
34755 eval "$as_ac_var=yes"
34757 echo "$as_me: failed program was:" >&5
34758 sed 's/^/| /' conftest.$ac_ext >&5
34760 eval "$as_ac_var=no"
34763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34764 conftest$ac_exeext conftest.$ac_ext
34766 ac_res=`eval echo '${'$as_ac_var'}'`
34767 { echo "$as_me:$LINENO: result: $ac_res" >&5
34768 echo "${ECHO_T}$ac_res" >&6; }
34769 if test `eval echo '${'$as_ac_var'}'` = yes; then
34770 cat >>confdefs.h <<_ACEOF
34771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34780 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34781 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34786 for ac_func in snprintf vsnprintf
34788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34789 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34791 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34792 echo $ECHO_N "(cached) $ECHO_C" >&6
34794 cat >conftest.$ac_ext <<_ACEOF
34797 cat confdefs.h >>conftest.$ac_ext
34798 cat >>conftest.$ac_ext <<_ACEOF
34799 /* end confdefs.h. */
34800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34802 #define $ac_func innocuous_$ac_func
34804 /* System header to define __stub macros and hopefully few prototypes,
34805 which can conflict with char $ac_func (); below.
34806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34807 <limits.h> exists even on freestanding compilers. */
34810 # include <limits.h>
34812 # include <assert.h>
34817 /* Override any GCC internal prototype to avoid an error.
34818 Use char because int might match the return type of a GCC
34819 builtin and then its argument prototype would still apply. */
34824 /* The GNU C library defines this for functions which it implements
34825 to always fail with ENOSYS. Some functions are actually named
34826 something starting with __ and the normal name is an alias. */
34827 #if defined __stub_$ac_func || defined __stub___$ac_func
34834 return $ac_func ();
34839 rm -f conftest.$ac_objext conftest$ac_exeext
34840 if { (ac_try="$ac_link"
34841 case "(($ac_try" in
34842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34843 *) ac_try_echo=$ac_try;;
34845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34846 (eval "$ac_link") 2>conftest.er1
34848 grep -v '^ *+' conftest.er1 >conftest.err
34850 cat conftest.err >&5
34851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34852 (exit $ac_status); } && {
34853 test -z "$ac_c_werror_flag" ||
34854 test ! -s conftest.err
34855 } && test -s conftest$ac_exeext &&
34856 $as_test_x conftest$ac_exeext; then
34857 eval "$as_ac_var=yes"
34859 echo "$as_me: failed program was:" >&5
34860 sed 's/^/| /' conftest.$ac_ext >&5
34862 eval "$as_ac_var=no"
34865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34866 conftest$ac_exeext conftest.$ac_ext
34868 ac_res=`eval echo '${'$as_ac_var'}'`
34869 { echo "$as_me:$LINENO: result: $ac_res" >&5
34870 echo "${ECHO_T}$ac_res" >&6; }
34871 if test `eval echo '${'$as_ac_var'}'` = yes; then
34872 cat >>confdefs.h <<_ACEOF
34873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34880 if test "$ac_cv_func_vsnprintf" = "yes"; then
34881 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34882 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34883 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34884 echo $ECHO_N "(cached) $ECHO_C" >&6
34887 cat >conftest.$ac_ext <<_ACEOF
34890 cat confdefs.h >>conftest.$ac_ext
34891 cat >>conftest.$ac_ext <<_ACEOF
34892 /* end confdefs.h. */
34895 #include <stdarg.h>
34897 #if __MSL__ >= 0x6000
34899 using namespace std;
34909 vsnprintf(buf, 10u, "%s", ap);
34915 rm -f conftest.$ac_objext
34916 if { (ac_try="$ac_compile"
34917 case "(($ac_try" in
34918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34919 *) ac_try_echo=$ac_try;;
34921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34922 (eval "$ac_compile") 2>conftest.er1
34924 grep -v '^ *+' conftest.er1 >conftest.err
34926 cat conftest.err >&5
34927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34928 (exit $ac_status); } && {
34929 test -z "$ac_c_werror_flag" ||
34930 test ! -s conftest.err
34931 } && test -s conftest.$ac_objext; then
34932 wx_cv_func_vsnprintf_decl=yes
34934 echo "$as_me: failed program was:" >&5
34935 sed 's/^/| /' conftest.$ac_ext >&5
34937 wx_cv_func_vsnprintf_decl=no
34941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34945 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34946 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34948 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34949 cat >>confdefs.h <<\_ACEOF
34950 #define HAVE_VSNPRINTF_DECL 1
34954 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34955 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34956 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34957 echo $ECHO_N "(cached) $ECHO_C" >&6
34960 cat >conftest.$ac_ext <<_ACEOF
34963 cat confdefs.h >>conftest.$ac_ext
34964 cat >>conftest.$ac_ext <<_ACEOF
34965 /* end confdefs.h. */
34968 #include <stdarg.h>
34970 #if __MSL__ >= 0x6000
34972 using namespace std;
34982 const char *fmt = "%s";
34983 vsnprintf(buf, 10u, fmt, ap);
34989 rm -f conftest.$ac_objext
34990 if { (ac_try="$ac_compile"
34991 case "(($ac_try" in
34992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34993 *) ac_try_echo=$ac_try;;
34995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34996 (eval "$ac_compile") 2>conftest.er1
34998 grep -v '^ *+' conftest.er1 >conftest.err
35000 cat conftest.err >&5
35001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35002 (exit $ac_status); } && {
35003 test -z "$ac_c_werror_flag" ||
35004 test ! -s conftest.err
35005 } && test -s conftest.$ac_objext; then
35006 wx_cv_func_broken_vsnprintf_decl=no
35008 echo "$as_me: failed program was:" >&5
35009 sed 's/^/| /' conftest.$ac_ext >&5
35011 wx_cv_func_broken_vsnprintf_decl=yes
35015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35019 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35020 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35022 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35023 cat >>confdefs.h <<\_ACEOF
35024 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35031 if test "$ac_cv_func_snprintf" = "yes"; then
35032 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35033 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35034 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35035 echo $ECHO_N "(cached) $ECHO_C" >&6
35038 cat >conftest.$ac_ext <<_ACEOF
35041 cat confdefs.h >>conftest.$ac_ext
35042 cat >>conftest.$ac_ext <<_ACEOF
35043 /* end confdefs.h. */
35046 #include <stdarg.h>
35048 #if __MSL__ >= 0x6000
35050 using namespace std;
35059 snprintf(buf, 10u, "%s", "wx");
35065 rm -f conftest.$ac_objext
35066 if { (ac_try="$ac_compile"
35067 case "(($ac_try" in
35068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35069 *) ac_try_echo=$ac_try;;
35071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35072 (eval "$ac_compile") 2>conftest.er1
35074 grep -v '^ *+' conftest.er1 >conftest.err
35076 cat conftest.err >&5
35077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35078 (exit $ac_status); } && {
35079 test -z "$ac_c_werror_flag" ||
35080 test ! -s conftest.err
35081 } && test -s conftest.$ac_objext; then
35082 wx_cv_func_snprintf_decl=yes
35084 echo "$as_me: failed program was:" >&5
35085 sed 's/^/| /' conftest.$ac_ext >&5
35087 wx_cv_func_snprintf_decl=no
35091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35095 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35096 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35098 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35099 cat >>confdefs.h <<\_ACEOF
35100 #define HAVE_SNPRINTF_DECL 1
35105 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35107 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35108 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35109 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35110 echo $ECHO_N "(cached) $ECHO_C" >&6
35113 if test "$cross_compiling" = yes; then
35115 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35116 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35117 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35118 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35119 wx_cv_func_snprintf_pos_params=no
35123 cat >conftest.$ac_ext <<_ACEOF
35126 cat confdefs.h >>conftest.$ac_ext
35127 cat >>conftest.$ac_ext <<_ACEOF
35128 /* end confdefs.h. */
35135 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35136 if (strcmp ("2 3 1", buffer) == 0)
35142 rm -f conftest$ac_exeext
35143 if { (ac_try="$ac_link"
35144 case "(($ac_try" in
35145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35146 *) ac_try_echo=$ac_try;;
35148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35149 (eval "$ac_link") 2>&5
35151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35152 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35153 { (case "(($ac_try" in
35154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35155 *) ac_try_echo=$ac_try;;
35157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35158 (eval "$ac_try") 2>&5
35160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35161 (exit $ac_status); }; }; then
35162 wx_cv_func_snprintf_pos_params=no
35164 echo "$as_me: program exited with status $ac_status" >&5
35165 echo "$as_me: failed program was:" >&5
35166 sed 's/^/| /' conftest.$ac_ext >&5
35168 ( exit $ac_status )
35169 wx_cv_func_snprintf_pos_params=yes
35171 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35178 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35179 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35181 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35182 cat >>confdefs.h <<\_ACEOF
35183 #define HAVE_UNIX98_PRINTF 1
35190 if test "$wxUSE_UNICODE" = yes; then
35192 wchar_headers="#include <stdio.h>
35193 #include <wchar.h>"
35197 for ac_header in widec.h
35199 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35200 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35202 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35203 echo $ECHO_N "(cached) $ECHO_C" >&6
35205 cat >conftest.$ac_ext <<_ACEOF
35208 cat confdefs.h >>conftest.$ac_ext
35209 cat >>conftest.$ac_ext <<_ACEOF
35210 /* end confdefs.h. */
35211 $ac_includes_default
35213 #include <$ac_header>
35215 rm -f conftest.$ac_objext
35216 if { (ac_try="$ac_compile"
35217 case "(($ac_try" in
35218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35219 *) ac_try_echo=$ac_try;;
35221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35222 (eval "$ac_compile") 2>conftest.er1
35224 grep -v '^ *+' conftest.er1 >conftest.err
35226 cat conftest.err >&5
35227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35228 (exit $ac_status); } && {
35229 test -z "$ac_c_werror_flag" ||
35230 test ! -s conftest.err
35231 } && test -s conftest.$ac_objext; then
35232 eval "$as_ac_Header=yes"
35234 echo "$as_me: failed program was:" >&5
35235 sed 's/^/| /' conftest.$ac_ext >&5
35237 eval "$as_ac_Header=no"
35240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35242 ac_res=`eval echo '${'$as_ac_Header'}'`
35243 { echo "$as_me:$LINENO: result: $ac_res" >&5
35244 echo "${ECHO_T}$ac_res" >&6; }
35245 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35246 cat >>confdefs.h <<_ACEOF
35247 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35254 if test "$ac_cv_header_widec_h" = "yes"; then
35255 wchar_headers="$wchar_headers
35256 #include <widec.h>"
35261 for wx_func in putws fputws wprintf vswprintf
35263 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35264 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35265 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35266 echo $ECHO_N "(cached) $ECHO_C" >&6
35269 cat >conftest.$ac_ext <<_ACEOF
35273 cat confdefs.h >>conftest.$ac_ext
35274 cat >>conftest.$ac_ext <<_ACEOF
35275 /* end confdefs.h. */
35278 $ac_includes_default
35294 rm -f conftest.$ac_objext conftest$ac_exeext
35295 if { (ac_try="$ac_link"
35296 case "(($ac_try" in
35297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35298 *) ac_try_echo=$ac_try;;
35300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35301 (eval "$ac_link") 2>conftest.er1
35303 grep -v '^ *+' conftest.er1 >conftest.err
35305 cat conftest.err >&5
35306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35307 (exit $ac_status); } && {
35308 test -z "$ac_c_werror_flag" ||
35309 test ! -s conftest.err
35310 } && test -s conftest$ac_exeext &&
35311 $as_test_x conftest$ac_exeext; then
35312 eval wx_cv_func_$wx_func=yes
35314 echo "$as_me: failed program was:" >&5
35315 sed 's/^/| /' conftest.$ac_ext >&5
35317 eval wx_cv_func_$wx_func=no
35320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35321 conftest$ac_exeext conftest.$ac_ext
35324 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35325 { echo "$as_me:$LINENO: result: $ac_res" >&5
35326 echo "${ECHO_T}$ac_res" >&6; }
35328 if eval test \$wx_cv_func_$wx_func = yes
35330 cat >>confdefs.h <<_ACEOF
35331 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35342 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35343 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35344 cat >conftest.$ac_ext <<_ACEOF
35347 cat confdefs.h >>conftest.$ac_ext
35348 cat >>conftest.$ac_ext <<_ACEOF
35349 /* end confdefs.h. */
35359 rm -f conftest.$ac_objext
35360 if { (ac_try="$ac_compile"
35361 case "(($ac_try" in
35362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35363 *) ac_try_echo=$ac_try;;
35365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35366 (eval "$ac_compile") 2>conftest.er1
35368 grep -v '^ *+' conftest.er1 >conftest.err
35370 cat conftest.err >&5
35371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35372 (exit $ac_status); } && {
35373 test -z "$ac_c_werror_flag" ||
35374 test ! -s conftest.err
35375 } && test -s conftest.$ac_objext; then
35376 { echo "$as_me:$LINENO: result: yes" >&5
35377 echo "${ECHO_T}yes" >&6; }
35378 cat >>confdefs.h <<\_ACEOF
35379 #define HAVE__VSNWPRINTF 1
35383 echo "$as_me: failed program was:" >&5
35384 sed 's/^/| /' conftest.$ac_ext >&5
35386 { echo "$as_me:$LINENO: result: no" >&5
35387 echo "${ECHO_T}no" >&6; }
35390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35393 if test "$wxUSE_FILE" = "yes"; then
35395 for wx_func in fsync
35397 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35398 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35399 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35400 echo $ECHO_N "(cached) $ECHO_C" >&6
35403 cat >conftest.$ac_ext <<_ACEOF
35407 cat confdefs.h >>conftest.$ac_ext
35408 cat >>conftest.$ac_ext <<_ACEOF
35409 /* end confdefs.h. */
35412 $ac_includes_default
35428 rm -f conftest.$ac_objext conftest$ac_exeext
35429 if { (ac_try="$ac_link"
35430 case "(($ac_try" in
35431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35432 *) ac_try_echo=$ac_try;;
35434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35435 (eval "$ac_link") 2>conftest.er1
35437 grep -v '^ *+' conftest.er1 >conftest.err
35439 cat conftest.err >&5
35440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35441 (exit $ac_status); } && {
35442 test -z "$ac_c_werror_flag" ||
35443 test ! -s conftest.err
35444 } && test -s conftest$ac_exeext &&
35445 $as_test_x conftest$ac_exeext; then
35446 eval wx_cv_func_$wx_func=yes
35448 echo "$as_me: failed program was:" >&5
35449 sed 's/^/| /' conftest.$ac_ext >&5
35451 eval wx_cv_func_$wx_func=no
35454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35455 conftest$ac_exeext conftest.$ac_ext
35458 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35459 { echo "$as_me:$LINENO: result: $ac_res" >&5
35460 echo "${ECHO_T}$ac_res" >&6; }
35462 if eval test \$wx_cv_func_$wx_func = yes
35464 cat >>confdefs.h <<_ACEOF
35465 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35478 ac_cpp='$CXXCPP $CPPFLAGS'
35479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35484 for wx_func in round
35486 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35487 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35488 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35489 echo $ECHO_N "(cached) $ECHO_C" >&6
35492 cat >conftest.$ac_ext <<_ACEOF
35496 cat confdefs.h >>conftest.$ac_ext
35497 cat >>conftest.$ac_ext <<_ACEOF
35498 /* end confdefs.h. */
35501 $ac_includes_default
35517 rm -f conftest.$ac_objext conftest$ac_exeext
35518 if { (ac_try="$ac_link"
35519 case "(($ac_try" in
35520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35521 *) ac_try_echo=$ac_try;;
35523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35524 (eval "$ac_link") 2>conftest.er1
35526 grep -v '^ *+' conftest.er1 >conftest.err
35528 cat conftest.err >&5
35529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35530 (exit $ac_status); } && {
35531 test -z "$ac_cxx_werror_flag" ||
35532 test ! -s conftest.err
35533 } && test -s conftest$ac_exeext &&
35534 $as_test_x conftest$ac_exeext; then
35535 eval wx_cv_func_$wx_func=yes
35537 echo "$as_me: failed program was:" >&5
35538 sed 's/^/| /' conftest.$ac_ext >&5
35540 eval wx_cv_func_$wx_func=no
35543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35544 conftest$ac_exeext conftest.$ac_ext
35547 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35548 { echo "$as_me:$LINENO: result: $ac_res" >&5
35549 echo "${ECHO_T}$ac_res" >&6; }
35551 if eval test \$wx_cv_func_$wx_func = yes
35553 cat >>confdefs.h <<_ACEOF
35554 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35565 ac_cpp='$CPP $CPPFLAGS'
35566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35571 if test "$TOOLKIT" != "MSW"; then
35577 # Check whether --with-libiconv-prefix was given.
35578 if test "${with_libiconv_prefix+set}" = set; then
35579 withval=$with_libiconv_prefix;
35580 for dir in `echo "$withval" | tr : ' '`; do
35581 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35582 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35588 { echo "$as_me:$LINENO: checking for iconv" >&5
35589 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35590 if test "${am_cv_func_iconv+set}" = set; then
35591 echo $ECHO_N "(cached) $ECHO_C" >&6
35594 am_cv_func_iconv="no, consider installing GNU libiconv"
35596 cat >conftest.$ac_ext <<_ACEOF
35599 cat confdefs.h >>conftest.$ac_ext
35600 cat >>conftest.$ac_ext <<_ACEOF
35601 /* end confdefs.h. */
35602 #include <stdlib.h>
35607 iconv_t cd = iconv_open("","");
35608 iconv(cd,NULL,NULL,NULL,NULL);
35614 rm -f conftest.$ac_objext conftest$ac_exeext
35615 if { (ac_try="$ac_link"
35616 case "(($ac_try" in
35617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35618 *) ac_try_echo=$ac_try;;
35620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35621 (eval "$ac_link") 2>conftest.er1
35623 grep -v '^ *+' conftest.er1 >conftest.err
35625 cat conftest.err >&5
35626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35627 (exit $ac_status); } && {
35628 test -z "$ac_c_werror_flag" ||
35629 test ! -s conftest.err
35630 } && test -s conftest$ac_exeext &&
35631 $as_test_x conftest$ac_exeext; then
35632 am_cv_func_iconv=yes
35634 echo "$as_me: failed program was:" >&5
35635 sed 's/^/| /' conftest.$ac_ext >&5
35640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35641 conftest$ac_exeext conftest.$ac_ext
35642 if test "$am_cv_func_iconv" != yes; then
35643 am_save_LIBS="$LIBS"
35644 LIBS="$LIBS -liconv"
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_lib_iconv=yes
35682 am_cv_func_iconv=yes
35684 echo "$as_me: failed program was:" >&5
35685 sed 's/^/| /' conftest.$ac_ext >&5
35690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35691 conftest$ac_exeext conftest.$ac_ext
35692 LIBS="$am_save_LIBS"
35696 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35697 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35698 if test "$am_cv_func_iconv" = yes; then
35700 cat >>confdefs.h <<\_ACEOF
35701 #define HAVE_ICONV 1
35704 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35705 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35706 if test "${wx_cv_func_iconv_const+set}" = set; then
35707 echo $ECHO_N "(cached) $ECHO_C" >&6
35709 cat >conftest.$ac_ext <<_ACEOF
35712 cat confdefs.h >>conftest.$ac_ext
35713 cat >>conftest.$ac_ext <<_ACEOF
35714 /* end confdefs.h. */
35716 #include <stdlib.h>
35722 #if defined(__STDC__) || defined(__cplusplus)
35723 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35736 rm -f conftest.$ac_objext
35737 if { (ac_try="$ac_compile"
35738 case "(($ac_try" in
35739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35740 *) ac_try_echo=$ac_try;;
35742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35743 (eval "$ac_compile") 2>conftest.er1
35745 grep -v '^ *+' conftest.er1 >conftest.err
35747 cat conftest.err >&5
35748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35749 (exit $ac_status); } && {
35750 test -z "$ac_c_werror_flag" ||
35751 test ! -s conftest.err
35752 } && test -s conftest.$ac_objext; then
35753 wx_cv_func_iconv_const="no"
35755 echo "$as_me: failed program was:" >&5
35756 sed 's/^/| /' conftest.$ac_ext >&5
35758 wx_cv_func_iconv_const="yes"
35762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35765 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35766 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35769 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35770 iconv_const="const"
35774 cat >>confdefs.h <<_ACEOF
35775 #define ICONV_CONST $iconv_const
35780 if test "$am_cv_lib_iconv" = yes; then
35785 LIBS="$LIBICONV $LIBS"
35787 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35789 for ac_func in sigaction
35791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35792 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35794 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35795 echo $ECHO_N "(cached) $ECHO_C" >&6
35797 cat >conftest.$ac_ext <<_ACEOF
35800 cat confdefs.h >>conftest.$ac_ext
35801 cat >>conftest.$ac_ext <<_ACEOF
35802 /* end confdefs.h. */
35803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35805 #define $ac_func innocuous_$ac_func
35807 /* System header to define __stub macros and hopefully few prototypes,
35808 which can conflict with char $ac_func (); below.
35809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35810 <limits.h> exists even on freestanding compilers. */
35813 # include <limits.h>
35815 # include <assert.h>
35820 /* Override any GCC internal prototype to avoid an error.
35821 Use char because int might match the return type of a GCC
35822 builtin and then its argument prototype would still apply. */
35827 /* The GNU C library defines this for functions which it implements
35828 to always fail with ENOSYS. Some functions are actually named
35829 something starting with __ and the normal name is an alias. */
35830 #if defined __stub_$ac_func || defined __stub___$ac_func
35837 return $ac_func ();
35842 rm -f conftest.$ac_objext conftest$ac_exeext
35843 if { (ac_try="$ac_link"
35844 case "(($ac_try" in
35845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35846 *) ac_try_echo=$ac_try;;
35848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35849 (eval "$ac_link") 2>conftest.er1
35851 grep -v '^ *+' conftest.er1 >conftest.err
35853 cat conftest.err >&5
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); } && {
35856 test -z "$ac_c_werror_flag" ||
35857 test ! -s conftest.err
35858 } && test -s conftest$ac_exeext &&
35859 $as_test_x conftest$ac_exeext; then
35860 eval "$as_ac_var=yes"
35862 echo "$as_me: failed program was:" >&5
35863 sed 's/^/| /' conftest.$ac_ext >&5
35865 eval "$as_ac_var=no"
35868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35869 conftest$ac_exeext conftest.$ac_ext
35871 ac_res=`eval echo '${'$as_ac_var'}'`
35872 { echo "$as_me:$LINENO: result: $ac_res" >&5
35873 echo "${ECHO_T}$ac_res" >&6; }
35874 if test `eval echo '${'$as_ac_var'}'` = yes; then
35875 cat >>confdefs.h <<_ACEOF
35876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35883 if test "$ac_cv_func_sigaction" = "no"; then
35884 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35885 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35886 wxUSE_ON_FATAL_EXCEPTION=no
35889 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35890 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35891 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35892 if test "${wx_cv_type_sa_handler+set}" = set; then
35893 echo $ECHO_N "(cached) $ECHO_C" >&6
35897 ac_cpp='$CXXCPP $CPPFLAGS'
35898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35902 cat >conftest.$ac_ext <<_ACEOF
35905 cat confdefs.h >>conftest.$ac_ext
35906 cat >>conftest.$ac_ext <<_ACEOF
35907 /* end confdefs.h. */
35908 #include <signal.h>
35913 extern void testSigHandler(int);
35915 struct sigaction sa;
35916 sa.sa_handler = testSigHandler;
35922 rm -f conftest.$ac_objext
35923 if { (ac_try="$ac_compile"
35924 case "(($ac_try" in
35925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35926 *) ac_try_echo=$ac_try;;
35928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35929 (eval "$ac_compile") 2>conftest.er1
35931 grep -v '^ *+' conftest.er1 >conftest.err
35933 cat conftest.err >&5
35934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35935 (exit $ac_status); } && {
35936 test -z "$ac_cxx_werror_flag" ||
35937 test ! -s conftest.err
35938 } && test -s conftest.$ac_objext; then
35940 wx_cv_type_sa_handler=int
35943 echo "$as_me: failed program was:" >&5
35944 sed 's/^/| /' conftest.$ac_ext >&5
35947 wx_cv_type_sa_handler=void
35951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35953 ac_cpp='$CPP $CPPFLAGS'
35954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35960 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35961 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35963 cat >>confdefs.h <<_ACEOF
35964 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35970 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35971 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35972 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35973 if test "${wx_cv_func_backtrace+set}" = set; then
35974 echo $ECHO_N "(cached) $ECHO_C" >&6
35978 ac_cpp='$CXXCPP $CPPFLAGS'
35979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35983 cat >conftest.$ac_ext <<_ACEOF
35986 cat confdefs.h >>conftest.$ac_ext
35987 cat >>conftest.$ac_ext <<_ACEOF
35988 /* end confdefs.h. */
35989 #include <execinfo.h>
35997 backtrace(trace, 1);
35998 messages = backtrace_symbols(trace, 1);
36004 rm -f conftest.$ac_objext
36005 if { (ac_try="$ac_compile"
36006 case "(($ac_try" in
36007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36008 *) ac_try_echo=$ac_try;;
36010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36011 (eval "$ac_compile") 2>conftest.er1
36013 grep -v '^ *+' conftest.er1 >conftest.err
36015 cat conftest.err >&5
36016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36017 (exit $ac_status); } && {
36018 test -z "$ac_cxx_werror_flag" ||
36019 test ! -s conftest.err
36020 } && test -s conftest.$ac_objext; then
36021 wx_cv_func_backtrace=yes
36023 echo "$as_me: failed program was:" >&5
36024 sed 's/^/| /' conftest.$ac_ext >&5
36026 wx_cv_func_backtrace=no
36030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36032 ac_cpp='$CPP $CPPFLAGS'
36033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36040 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36041 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36044 if test "$wx_cv_func_backtrace" = "no"; then
36045 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36046 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36047 wxUSE_STACKWALKER=no
36049 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36050 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36051 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36052 echo $ECHO_N "(cached) $ECHO_C" >&6
36056 ac_cpp='$CXXCPP $CPPFLAGS'
36057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36061 cat >conftest.$ac_ext <<_ACEOF
36064 cat confdefs.h >>conftest.$ac_ext
36065 cat >>conftest.$ac_ext <<_ACEOF
36066 /* end confdefs.h. */
36067 #include <cxxabi.h>
36073 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36079 rm -f conftest.$ac_objext conftest$ac_exeext
36080 if { (ac_try="$ac_link"
36081 case "(($ac_try" in
36082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36083 *) ac_try_echo=$ac_try;;
36085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36086 (eval "$ac_link") 2>conftest.er1
36088 grep -v '^ *+' conftest.er1 >conftest.err
36090 cat conftest.err >&5
36091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36092 (exit $ac_status); } && {
36093 test -z "$ac_cxx_werror_flag" ||
36094 test ! -s conftest.err
36095 } && test -s conftest$ac_exeext &&
36096 $as_test_x conftest$ac_exeext; then
36097 wx_cv_func_cxa_demangle=yes
36099 echo "$as_me: failed program was:" >&5
36100 sed 's/^/| /' conftest.$ac_ext >&5
36102 wx_cv_func_cxa_demangle=no
36106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36107 conftest$ac_exeext conftest.$ac_ext
36109 ac_cpp='$CPP $CPPFLAGS'
36110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36117 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36118 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36120 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36121 cat >>confdefs.h <<\_ACEOF
36122 #define HAVE_CXA_DEMANGLE 1
36129 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36130 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36131 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36132 wxUSE_STACKWALKER=no
36138 for ac_func in mkstemp mktemp
36140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36141 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36143 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36144 echo $ECHO_N "(cached) $ECHO_C" >&6
36146 cat >conftest.$ac_ext <<_ACEOF
36149 cat confdefs.h >>conftest.$ac_ext
36150 cat >>conftest.$ac_ext <<_ACEOF
36151 /* end confdefs.h. */
36152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36154 #define $ac_func innocuous_$ac_func
36156 /* System header to define __stub macros and hopefully few prototypes,
36157 which can conflict with char $ac_func (); below.
36158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36159 <limits.h> exists even on freestanding compilers. */
36162 # include <limits.h>
36164 # include <assert.h>
36169 /* Override any GCC internal prototype to avoid an error.
36170 Use char because int might match the return type of a GCC
36171 builtin and then its argument prototype would still apply. */
36176 /* The GNU C library defines this for functions which it implements
36177 to always fail with ENOSYS. Some functions are actually named
36178 something starting with __ and the normal name is an alias. */
36179 #if defined __stub_$ac_func || defined __stub___$ac_func
36186 return $ac_func ();
36191 rm -f conftest.$ac_objext conftest$ac_exeext
36192 if { (ac_try="$ac_link"
36193 case "(($ac_try" in
36194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36195 *) ac_try_echo=$ac_try;;
36197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36198 (eval "$ac_link") 2>conftest.er1
36200 grep -v '^ *+' conftest.er1 >conftest.err
36202 cat conftest.err >&5
36203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36204 (exit $ac_status); } && {
36205 test -z "$ac_c_werror_flag" ||
36206 test ! -s conftest.err
36207 } && test -s conftest$ac_exeext &&
36208 $as_test_x conftest$ac_exeext; then
36209 eval "$as_ac_var=yes"
36211 echo "$as_me: failed program was:" >&5
36212 sed 's/^/| /' conftest.$ac_ext >&5
36214 eval "$as_ac_var=no"
36217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36218 conftest$ac_exeext conftest.$ac_ext
36220 ac_res=`eval echo '${'$as_ac_var'}'`
36221 { echo "$as_me:$LINENO: result: $ac_res" >&5
36222 echo "${ECHO_T}$ac_res" >&6; }
36223 if test `eval echo '${'$as_ac_var'}'` = yes; then
36224 cat >>confdefs.h <<_ACEOF
36225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36232 { echo "$as_me:$LINENO: checking for statfs" >&5
36233 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36234 if test "${wx_cv_func_statfs+set}" = set; then
36235 echo $ECHO_N "(cached) $ECHO_C" >&6
36237 cat >conftest.$ac_ext <<_ACEOF
36240 cat confdefs.h >>conftest.$ac_ext
36241 cat >>conftest.$ac_ext <<_ACEOF
36242 /* end confdefs.h. */
36244 #if defined(__BSD__)
36245 #include <sys/param.h>
36246 #include <sys/mount.h>
36248 #include <sys/vfs.h>
36266 rm -f conftest.$ac_objext
36267 if { (ac_try="$ac_compile"
36268 case "(($ac_try" in
36269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36270 *) ac_try_echo=$ac_try;;
36272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36273 (eval "$ac_compile") 2>conftest.er1
36275 grep -v '^ *+' conftest.er1 >conftest.err
36277 cat conftest.err >&5
36278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36279 (exit $ac_status); } && {
36280 test -z "$ac_c_werror_flag" ||
36281 test ! -s conftest.err
36282 } && test -s conftest.$ac_objext; then
36283 wx_cv_func_statfs=yes
36285 echo "$as_me: failed program was:" >&5
36286 sed 's/^/| /' conftest.$ac_ext >&5
36288 wx_cv_func_statfs=no
36292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36295 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36296 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36298 if test "$wx_cv_func_statfs" = "yes"; then
36299 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36300 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36301 if test "${wx_cv_func_statfs_decl+set}" = set; then
36302 echo $ECHO_N "(cached) $ECHO_C" >&6
36305 ac_cpp='$CXXCPP $CPPFLAGS'
36306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36310 cat >conftest.$ac_ext <<_ACEOF
36313 cat confdefs.h >>conftest.$ac_ext
36314 cat >>conftest.$ac_ext <<_ACEOF
36315 /* end confdefs.h. */
36317 #if defined(__BSD__)
36318 #include <sys/param.h>
36319 #include <sys/mount.h>
36321 #include <sys/vfs.h>
36335 rm -f conftest.$ac_objext
36336 if { (ac_try="$ac_compile"
36337 case "(($ac_try" in
36338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36339 *) ac_try_echo=$ac_try;;
36341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36342 (eval "$ac_compile") 2>conftest.er1
36344 grep -v '^ *+' conftest.er1 >conftest.err
36346 cat conftest.err >&5
36347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36348 (exit $ac_status); } && {
36349 test -z "$ac_cxx_werror_flag" ||
36350 test ! -s conftest.err
36351 } && test -s conftest.$ac_objext; then
36352 wx_cv_func_statfs_decl=yes
36354 echo "$as_me: failed program was:" >&5
36355 sed 's/^/| /' conftest.$ac_ext >&5
36357 wx_cv_func_statfs_decl=no
36361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36363 ac_cpp='$CPP $CPPFLAGS'
36364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36370 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36371 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36373 if test "$wx_cv_func_statfs_decl" = "yes"; then
36374 cat >>confdefs.h <<\_ACEOF
36375 #define HAVE_STATFS_DECL 1
36380 wx_cv_type_statvfs_t="struct statfs"
36381 cat >>confdefs.h <<\_ACEOF
36382 #define HAVE_STATFS 1
36386 { echo "$as_me:$LINENO: checking for statvfs" >&5
36387 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36388 if test "${wx_cv_func_statvfs+set}" = set; then
36389 echo $ECHO_N "(cached) $ECHO_C" >&6
36391 cat >conftest.$ac_ext <<_ACEOF
36394 cat confdefs.h >>conftest.$ac_ext
36395 cat >>conftest.$ac_ext <<_ACEOF
36396 /* end confdefs.h. */
36398 #include <stddef.h>
36399 #include <sys/statvfs.h>
36405 statvfs("/", NULL);
36411 rm -f conftest.$ac_objext
36412 if { (ac_try="$ac_compile"
36413 case "(($ac_try" in
36414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36415 *) ac_try_echo=$ac_try;;
36417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36418 (eval "$ac_compile") 2>conftest.er1
36420 grep -v '^ *+' conftest.er1 >conftest.err
36422 cat conftest.err >&5
36423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36424 (exit $ac_status); } && {
36425 test -z "$ac_c_werror_flag" ||
36426 test ! -s conftest.err
36427 } && test -s conftest.$ac_objext; then
36428 wx_cv_func_statvfs=yes
36430 echo "$as_me: failed program was:" >&5
36431 sed 's/^/| /' conftest.$ac_ext >&5
36433 wx_cv_func_statvfs=no
36437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36440 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36441 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36443 if test "$wx_cv_func_statvfs" = "yes"; then
36444 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36445 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36446 if test "${wx_cv_type_statvfs_t+set}" = set; then
36447 echo $ECHO_N "(cached) $ECHO_C" >&6
36450 ac_cpp='$CXXCPP $CPPFLAGS'
36451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36455 cat >conftest.$ac_ext <<_ACEOF
36458 cat confdefs.h >>conftest.$ac_ext
36459 cat >>conftest.$ac_ext <<_ACEOF
36460 /* end confdefs.h. */
36462 #include <sys/statvfs.h>
36479 rm -f conftest.$ac_objext
36480 if { (ac_try="$ac_compile"
36481 case "(($ac_try" in
36482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36483 *) ac_try_echo=$ac_try;;
36485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36486 (eval "$ac_compile") 2>conftest.er1
36488 grep -v '^ *+' conftest.er1 >conftest.err
36490 cat conftest.err >&5
36491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36492 (exit $ac_status); } && {
36493 test -z "$ac_cxx_werror_flag" ||
36494 test ! -s conftest.err
36495 } && test -s conftest.$ac_objext; then
36496 wx_cv_type_statvfs_t=statvfs_t
36498 echo "$as_me: failed program was:" >&5
36499 sed 's/^/| /' conftest.$ac_ext >&5
36502 cat >conftest.$ac_ext <<_ACEOF
36505 cat confdefs.h >>conftest.$ac_ext
36506 cat >>conftest.$ac_ext <<_ACEOF
36507 /* end confdefs.h. */
36509 #include <sys/statvfs.h>
36526 rm -f conftest.$ac_objext
36527 if { (ac_try="$ac_compile"
36528 case "(($ac_try" in
36529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36530 *) ac_try_echo=$ac_try;;
36532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36533 (eval "$ac_compile") 2>conftest.er1
36535 grep -v '^ *+' conftest.er1 >conftest.err
36537 cat conftest.err >&5
36538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36539 (exit $ac_status); } && {
36540 test -z "$ac_cxx_werror_flag" ||
36541 test ! -s conftest.err
36542 } && test -s conftest.$ac_objext; then
36543 wx_cv_type_statvfs_t="struct statvfs"
36545 echo "$as_me: failed program was:" >&5
36546 sed 's/^/| /' conftest.$ac_ext >&5
36548 wx_cv_type_statvfs_t="unknown"
36552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36559 ac_cpp='$CPP $CPPFLAGS'
36560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36566 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36567 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36569 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36570 cat >>confdefs.h <<\_ACEOF
36571 #define HAVE_STATVFS 1
36576 wx_cv_type_statvfs_t="unknown"
36580 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36581 cat >>confdefs.h <<_ACEOF
36582 #define WX_STATFS_T $wx_cv_type_statvfs_t
36586 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36587 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36590 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36593 for ac_func in fcntl flock
36595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36596 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36598 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36599 echo $ECHO_N "(cached) $ECHO_C" >&6
36601 cat >conftest.$ac_ext <<_ACEOF
36604 cat confdefs.h >>conftest.$ac_ext
36605 cat >>conftest.$ac_ext <<_ACEOF
36606 /* end confdefs.h. */
36607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36609 #define $ac_func innocuous_$ac_func
36611 /* System header to define __stub macros and hopefully few prototypes,
36612 which can conflict with char $ac_func (); below.
36613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36614 <limits.h> exists even on freestanding compilers. */
36617 # include <limits.h>
36619 # include <assert.h>
36624 /* Override any GCC internal prototype to avoid an error.
36625 Use char because int might match the return type of a GCC
36626 builtin and then its argument prototype would still apply. */
36631 /* The GNU C library defines this for functions which it implements
36632 to always fail with ENOSYS. Some functions are actually named
36633 something starting with __ and the normal name is an alias. */
36634 #if defined __stub_$ac_func || defined __stub___$ac_func
36641 return $ac_func ();
36646 rm -f conftest.$ac_objext conftest$ac_exeext
36647 if { (ac_try="$ac_link"
36648 case "(($ac_try" in
36649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36650 *) ac_try_echo=$ac_try;;
36652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36653 (eval "$ac_link") 2>conftest.er1
36655 grep -v '^ *+' conftest.er1 >conftest.err
36657 cat conftest.err >&5
36658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36659 (exit $ac_status); } && {
36660 test -z "$ac_c_werror_flag" ||
36661 test ! -s conftest.err
36662 } && test -s conftest$ac_exeext &&
36663 $as_test_x conftest$ac_exeext; then
36664 eval "$as_ac_var=yes"
36666 echo "$as_me: failed program was:" >&5
36667 sed 's/^/| /' conftest.$ac_ext >&5
36669 eval "$as_ac_var=no"
36672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36673 conftest$ac_exeext conftest.$ac_ext
36675 ac_res=`eval echo '${'$as_ac_var'}'`
36676 { echo "$as_me:$LINENO: result: $ac_res" >&5
36677 echo "${ECHO_T}$ac_res" >&6; }
36678 if test `eval echo '${'$as_ac_var'}'` = yes; then
36679 cat >>confdefs.h <<_ACEOF
36680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36687 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36688 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36689 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36690 wxUSE_SNGLINST_CHECKER=no
36696 for ac_func in setenv putenv
36698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36699 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36701 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36702 echo $ECHO_N "(cached) $ECHO_C" >&6
36704 cat >conftest.$ac_ext <<_ACEOF
36707 cat confdefs.h >>conftest.$ac_ext
36708 cat >>conftest.$ac_ext <<_ACEOF
36709 /* end confdefs.h. */
36710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36712 #define $ac_func innocuous_$ac_func
36714 /* System header to define __stub macros and hopefully few prototypes,
36715 which can conflict with char $ac_func (); below.
36716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36717 <limits.h> exists even on freestanding compilers. */
36720 # include <limits.h>
36722 # include <assert.h>
36727 /* Override any GCC internal prototype to avoid an error.
36728 Use char because int might match the return type of a GCC
36729 builtin and then its argument prototype would still apply. */
36734 /* The GNU C library defines this for functions which it implements
36735 to always fail with ENOSYS. Some functions are actually named
36736 something starting with __ and the normal name is an alias. */
36737 #if defined __stub_$ac_func || defined __stub___$ac_func
36744 return $ac_func ();
36749 rm -f conftest.$ac_objext conftest$ac_exeext
36750 if { (ac_try="$ac_link"
36751 case "(($ac_try" in
36752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36753 *) ac_try_echo=$ac_try;;
36755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36756 (eval "$ac_link") 2>conftest.er1
36758 grep -v '^ *+' conftest.er1 >conftest.err
36760 cat conftest.err >&5
36761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36762 (exit $ac_status); } && {
36763 test -z "$ac_c_werror_flag" ||
36764 test ! -s conftest.err
36765 } && test -s conftest$ac_exeext &&
36766 $as_test_x conftest$ac_exeext; then
36767 eval "$as_ac_var=yes"
36769 echo "$as_me: failed program was:" >&5
36770 sed 's/^/| /' conftest.$ac_ext >&5
36772 eval "$as_ac_var=no"
36775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36776 conftest$ac_exeext conftest.$ac_ext
36778 ac_res=`eval echo '${'$as_ac_var'}'`
36779 { echo "$as_me:$LINENO: result: $ac_res" >&5
36780 echo "${ECHO_T}$ac_res" >&6; }
36781 if test `eval echo '${'$as_ac_var'}'` = yes; then
36782 cat >>confdefs.h <<_ACEOF
36783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36789 if test "$ac_cv_func_setenv" = "yes"; then
36791 for ac_func in unsetenv
36793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36794 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36796 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36797 echo $ECHO_N "(cached) $ECHO_C" >&6
36799 cat >conftest.$ac_ext <<_ACEOF
36802 cat confdefs.h >>conftest.$ac_ext
36803 cat >>conftest.$ac_ext <<_ACEOF
36804 /* end confdefs.h. */
36805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36807 #define $ac_func innocuous_$ac_func
36809 /* System header to define __stub macros and hopefully few prototypes,
36810 which can conflict with char $ac_func (); below.
36811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36812 <limits.h> exists even on freestanding compilers. */
36815 # include <limits.h>
36817 # include <assert.h>
36822 /* Override any GCC internal prototype to avoid an error.
36823 Use char because int might match the return type of a GCC
36824 builtin and then its argument prototype would still apply. */
36829 /* The GNU C library defines this for functions which it implements
36830 to always fail with ENOSYS. Some functions are actually named
36831 something starting with __ and the normal name is an alias. */
36832 #if defined __stub_$ac_func || defined __stub___$ac_func
36839 return $ac_func ();
36844 rm -f conftest.$ac_objext conftest$ac_exeext
36845 if { (ac_try="$ac_link"
36846 case "(($ac_try" in
36847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36848 *) ac_try_echo=$ac_try;;
36850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36851 (eval "$ac_link") 2>conftest.er1
36853 grep -v '^ *+' conftest.er1 >conftest.err
36855 cat conftest.err >&5
36856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36857 (exit $ac_status); } && {
36858 test -z "$ac_c_werror_flag" ||
36859 test ! -s conftest.err
36860 } && test -s conftest$ac_exeext &&
36861 $as_test_x conftest$ac_exeext; then
36862 eval "$as_ac_var=yes"
36864 echo "$as_me: failed program was:" >&5
36865 sed 's/^/| /' conftest.$ac_ext >&5
36867 eval "$as_ac_var=no"
36870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36871 conftest$ac_exeext conftest.$ac_ext
36873 ac_res=`eval echo '${'$as_ac_var'}'`
36874 { echo "$as_me:$LINENO: result: $ac_res" >&5
36875 echo "${ECHO_T}$ac_res" >&6; }
36876 if test `eval echo '${'$as_ac_var'}'` = yes; then
36877 cat >>confdefs.h <<_ACEOF
36878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36886 HAVE_SOME_SLEEP_FUNC=0
36887 if test "$USE_BEOS" = 1; then
36888 cat >>confdefs.h <<\_ACEOF
36889 #define HAVE_SLEEP 1
36892 HAVE_SOME_SLEEP_FUNC=1
36895 if test "$USE_DARWIN" = 1; then
36896 cat >>confdefs.h <<\_ACEOF
36897 #define HAVE_USLEEP 1
36900 HAVE_SOME_SLEEP_FUNC=1
36903 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36906 for ac_func in nanosleep
36908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36909 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36911 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36912 echo $ECHO_N "(cached) $ECHO_C" >&6
36914 cat >conftest.$ac_ext <<_ACEOF
36917 cat confdefs.h >>conftest.$ac_ext
36918 cat >>conftest.$ac_ext <<_ACEOF
36919 /* end confdefs.h. */
36920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36922 #define $ac_func innocuous_$ac_func
36924 /* System header to define __stub macros and hopefully few prototypes,
36925 which can conflict with char $ac_func (); below.
36926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36927 <limits.h> exists even on freestanding compilers. */
36930 # include <limits.h>
36932 # include <assert.h>
36937 /* Override any GCC internal prototype to avoid an error.
36938 Use char because int might match the return type of a GCC
36939 builtin and then its argument prototype would still apply. */
36944 /* The GNU C library defines this for functions which it implements
36945 to always fail with ENOSYS. Some functions are actually named
36946 something starting with __ and the normal name is an alias. */
36947 #if defined __stub_$ac_func || defined __stub___$ac_func
36954 return $ac_func ();
36959 rm -f conftest.$ac_objext conftest$ac_exeext
36960 if { (ac_try="$ac_link"
36961 case "(($ac_try" in
36962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36963 *) ac_try_echo=$ac_try;;
36965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36966 (eval "$ac_link") 2>conftest.er1
36968 grep -v '^ *+' conftest.er1 >conftest.err
36970 cat conftest.err >&5
36971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36972 (exit $ac_status); } && {
36973 test -z "$ac_c_werror_flag" ||
36974 test ! -s conftest.err
36975 } && test -s conftest$ac_exeext &&
36976 $as_test_x conftest$ac_exeext; then
36977 eval "$as_ac_var=yes"
36979 echo "$as_me: failed program was:" >&5
36980 sed 's/^/| /' conftest.$ac_ext >&5
36982 eval "$as_ac_var=no"
36985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36986 conftest$ac_exeext conftest.$ac_ext
36988 ac_res=`eval echo '${'$as_ac_var'}'`
36989 { echo "$as_me:$LINENO: result: $ac_res" >&5
36990 echo "${ECHO_T}$ac_res" >&6; }
36991 if test `eval echo '${'$as_ac_var'}'` = yes; then
36992 cat >>confdefs.h <<_ACEOF
36993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36995 cat >>confdefs.h <<\_ACEOF
36996 #define HAVE_NANOSLEEP 1
37001 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37002 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37003 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37004 echo $ECHO_N "(cached) $ECHO_C" >&6
37006 ac_check_lib_save_LIBS=$LIBS
37007 LIBS="-lposix4 $LIBS"
37008 cat >conftest.$ac_ext <<_ACEOF
37011 cat confdefs.h >>conftest.$ac_ext
37012 cat >>conftest.$ac_ext <<_ACEOF
37013 /* end confdefs.h. */
37015 /* Override any GCC internal prototype to avoid an error.
37016 Use char because int might match the return type of a GCC
37017 builtin and then its argument prototype would still apply. */
37025 return nanosleep ();
37030 rm -f conftest.$ac_objext conftest$ac_exeext
37031 if { (ac_try="$ac_link"
37032 case "(($ac_try" in
37033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37034 *) ac_try_echo=$ac_try;;
37036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37037 (eval "$ac_link") 2>conftest.er1
37039 grep -v '^ *+' conftest.er1 >conftest.err
37041 cat conftest.err >&5
37042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37043 (exit $ac_status); } && {
37044 test -z "$ac_c_werror_flag" ||
37045 test ! -s conftest.err
37046 } && test -s conftest$ac_exeext &&
37047 $as_test_x conftest$ac_exeext; then
37048 ac_cv_lib_posix4_nanosleep=yes
37050 echo "$as_me: failed program was:" >&5
37051 sed 's/^/| /' conftest.$ac_ext >&5
37053 ac_cv_lib_posix4_nanosleep=no
37056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37057 conftest$ac_exeext conftest.$ac_ext
37058 LIBS=$ac_check_lib_save_LIBS
37060 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37061 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37062 if test $ac_cv_lib_posix4_nanosleep = yes; then
37064 cat >>confdefs.h <<\_ACEOF
37065 #define HAVE_NANOSLEEP 1
37068 POSIX4_LINK=" -lposix4"
37073 for wx_func in usleep
37075 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37076 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37077 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37078 echo $ECHO_N "(cached) $ECHO_C" >&6
37081 cat >conftest.$ac_ext <<_ACEOF
37085 cat confdefs.h >>conftest.$ac_ext
37086 cat >>conftest.$ac_ext <<_ACEOF
37087 /* end confdefs.h. */
37090 $ac_includes_default
37106 rm -f conftest.$ac_objext conftest$ac_exeext
37107 if { (ac_try="$ac_link"
37108 case "(($ac_try" in
37109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37110 *) ac_try_echo=$ac_try;;
37112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37113 (eval "$ac_link") 2>conftest.er1
37115 grep -v '^ *+' conftest.er1 >conftest.err
37117 cat conftest.err >&5
37118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37119 (exit $ac_status); } && {
37120 test -z "$ac_c_werror_flag" ||
37121 test ! -s conftest.err
37122 } && test -s conftest$ac_exeext &&
37123 $as_test_x conftest$ac_exeext; then
37124 eval wx_cv_func_$wx_func=yes
37126 echo "$as_me: failed program was:" >&5
37127 sed 's/^/| /' conftest.$ac_ext >&5
37129 eval wx_cv_func_$wx_func=no
37132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37133 conftest$ac_exeext conftest.$ac_ext
37136 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37137 { echo "$as_me:$LINENO: result: $ac_res" >&5
37138 echo "${ECHO_T}$ac_res" >&6; }
37140 if eval test \$wx_cv_func_$wx_func = yes
37142 cat >>confdefs.h <<_ACEOF
37143 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37149 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37150 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37167 for wx_func in uname
37169 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37170 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37171 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37172 echo $ECHO_N "(cached) $ECHO_C" >&6
37175 cat >conftest.$ac_ext <<_ACEOF
37179 cat confdefs.h >>conftest.$ac_ext
37180 cat >>conftest.$ac_ext <<_ACEOF
37181 /* end confdefs.h. */
37183 #include <sys/utsname.h>
37184 $ac_includes_default
37200 rm -f conftest.$ac_objext conftest$ac_exeext
37201 if { (ac_try="$ac_link"
37202 case "(($ac_try" in
37203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37204 *) ac_try_echo=$ac_try;;
37206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37207 (eval "$ac_link") 2>conftest.er1
37209 grep -v '^ *+' conftest.er1 >conftest.err
37211 cat conftest.err >&5
37212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37213 (exit $ac_status); } && {
37214 test -z "$ac_c_werror_flag" ||
37215 test ! -s conftest.err
37216 } && test -s conftest$ac_exeext &&
37217 $as_test_x conftest$ac_exeext; then
37218 eval wx_cv_func_$wx_func=yes
37220 echo "$as_me: failed program was:" >&5
37221 sed 's/^/| /' conftest.$ac_ext >&5
37223 eval wx_cv_func_$wx_func=no
37226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37227 conftest$ac_exeext conftest.$ac_ext
37230 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37231 { echo "$as_me:$LINENO: result: $ac_res" >&5
37232 echo "${ECHO_T}$ac_res" >&6; }
37234 if eval test \$wx_cv_func_$wx_func = yes
37236 cat >>confdefs.h <<_ACEOF
37237 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37247 if test "$wx_cv_func_uname" != yes; then
37249 for wx_func in gethostname
37251 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37252 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37253 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37254 echo $ECHO_N "(cached) $ECHO_C" >&6
37257 cat >conftest.$ac_ext <<_ACEOF
37261 cat confdefs.h >>conftest.$ac_ext
37262 cat >>conftest.$ac_ext <<_ACEOF
37263 /* end confdefs.h. */
37266 $ac_includes_default
37282 rm -f conftest.$ac_objext conftest$ac_exeext
37283 if { (ac_try="$ac_link"
37284 case "(($ac_try" in
37285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37286 *) ac_try_echo=$ac_try;;
37288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37289 (eval "$ac_link") 2>conftest.er1
37291 grep -v '^ *+' conftest.er1 >conftest.err
37293 cat conftest.err >&5
37294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37295 (exit $ac_status); } && {
37296 test -z "$ac_c_werror_flag" ||
37297 test ! -s conftest.err
37298 } && test -s conftest$ac_exeext &&
37299 $as_test_x conftest$ac_exeext; then
37300 eval wx_cv_func_$wx_func=yes
37302 echo "$as_me: failed program was:" >&5
37303 sed 's/^/| /' conftest.$ac_ext >&5
37305 eval wx_cv_func_$wx_func=no
37308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37309 conftest$ac_exeext conftest.$ac_ext
37312 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37313 { echo "$as_me:$LINENO: result: $ac_res" >&5
37314 echo "${ECHO_T}$ac_res" >&6; }
37316 if eval test \$wx_cv_func_$wx_func = yes
37318 cat >>confdefs.h <<_ACEOF
37319 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37332 for wx_func in strtok_r
37334 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37335 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37336 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37337 echo $ECHO_N "(cached) $ECHO_C" >&6
37340 cat >conftest.$ac_ext <<_ACEOF
37344 cat confdefs.h >>conftest.$ac_ext
37345 cat >>conftest.$ac_ext <<_ACEOF
37346 /* end confdefs.h. */
37349 $ac_includes_default
37365 rm -f conftest.$ac_objext conftest$ac_exeext
37366 if { (ac_try="$ac_link"
37367 case "(($ac_try" in
37368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37369 *) ac_try_echo=$ac_try;;
37371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37372 (eval "$ac_link") 2>conftest.er1
37374 grep -v '^ *+' conftest.er1 >conftest.err
37376 cat conftest.err >&5
37377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37378 (exit $ac_status); } && {
37379 test -z "$ac_c_werror_flag" ||
37380 test ! -s conftest.err
37381 } && test -s conftest$ac_exeext &&
37382 $as_test_x conftest$ac_exeext; then
37383 eval wx_cv_func_$wx_func=yes
37385 echo "$as_me: failed program was:" >&5
37386 sed 's/^/| /' conftest.$ac_ext >&5
37388 eval wx_cv_func_$wx_func=no
37391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37392 conftest$ac_exeext conftest.$ac_ext
37395 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37396 { echo "$as_me:$LINENO: result: $ac_res" >&5
37397 echo "${ECHO_T}$ac_res" >&6; }
37399 if eval test \$wx_cv_func_$wx_func = yes
37401 cat >>confdefs.h <<_ACEOF
37402 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37415 for ac_func in inet_addr
37417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37418 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37420 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37421 echo $ECHO_N "(cached) $ECHO_C" >&6
37423 cat >conftest.$ac_ext <<_ACEOF
37426 cat confdefs.h >>conftest.$ac_ext
37427 cat >>conftest.$ac_ext <<_ACEOF
37428 /* end confdefs.h. */
37429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37431 #define $ac_func innocuous_$ac_func
37433 /* System header to define __stub macros and hopefully few prototypes,
37434 which can conflict with char $ac_func (); below.
37435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37436 <limits.h> exists even on freestanding compilers. */
37439 # include <limits.h>
37441 # include <assert.h>
37446 /* Override any GCC internal prototype to avoid an error.
37447 Use char because int might match the return type of a GCC
37448 builtin and then its argument prototype would still apply. */
37453 /* The GNU C library defines this for functions which it implements
37454 to always fail with ENOSYS. Some functions are actually named
37455 something starting with __ and the normal name is an alias. */
37456 #if defined __stub_$ac_func || defined __stub___$ac_func
37463 return $ac_func ();
37468 rm -f conftest.$ac_objext conftest$ac_exeext
37469 if { (ac_try="$ac_link"
37470 case "(($ac_try" in
37471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37472 *) ac_try_echo=$ac_try;;
37474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37475 (eval "$ac_link") 2>conftest.er1
37477 grep -v '^ *+' conftest.er1 >conftest.err
37479 cat conftest.err >&5
37480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37481 (exit $ac_status); } && {
37482 test -z "$ac_c_werror_flag" ||
37483 test ! -s conftest.err
37484 } && test -s conftest$ac_exeext &&
37485 $as_test_x conftest$ac_exeext; then
37486 eval "$as_ac_var=yes"
37488 echo "$as_me: failed program was:" >&5
37489 sed 's/^/| /' conftest.$ac_ext >&5
37491 eval "$as_ac_var=no"
37494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37495 conftest$ac_exeext conftest.$ac_ext
37497 ac_res=`eval echo '${'$as_ac_var'}'`
37498 { echo "$as_me:$LINENO: result: $ac_res" >&5
37499 echo "${ECHO_T}$ac_res" >&6; }
37500 if test `eval echo '${'$as_ac_var'}'` = yes; then
37501 cat >>confdefs.h <<_ACEOF
37502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37504 cat >>confdefs.h <<\_ACEOF
37505 #define HAVE_INET_ADDR 1
37510 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37511 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37512 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37513 echo $ECHO_N "(cached) $ECHO_C" >&6
37515 ac_check_lib_save_LIBS=$LIBS
37517 cat >conftest.$ac_ext <<_ACEOF
37520 cat confdefs.h >>conftest.$ac_ext
37521 cat >>conftest.$ac_ext <<_ACEOF
37522 /* end confdefs.h. */
37524 /* Override any GCC internal prototype to avoid an error.
37525 Use char because int might match the return type of a GCC
37526 builtin and then its argument prototype would still apply. */
37534 return inet_addr ();
37539 rm -f conftest.$ac_objext conftest$ac_exeext
37540 if { (ac_try="$ac_link"
37541 case "(($ac_try" in
37542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37543 *) ac_try_echo=$ac_try;;
37545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37546 (eval "$ac_link") 2>conftest.er1
37548 grep -v '^ *+' conftest.er1 >conftest.err
37550 cat conftest.err >&5
37551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37552 (exit $ac_status); } && {
37553 test -z "$ac_c_werror_flag" ||
37554 test ! -s conftest.err
37555 } && test -s conftest$ac_exeext &&
37556 $as_test_x conftest$ac_exeext; then
37557 ac_cv_lib_nsl_inet_addr=yes
37559 echo "$as_me: failed program was:" >&5
37560 sed 's/^/| /' conftest.$ac_ext >&5
37562 ac_cv_lib_nsl_inet_addr=no
37565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37566 conftest$ac_exeext conftest.$ac_ext
37567 LIBS=$ac_check_lib_save_LIBS
37569 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37570 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37571 if test $ac_cv_lib_nsl_inet_addr = yes; then
37575 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37576 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37577 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37578 echo $ECHO_N "(cached) $ECHO_C" >&6
37580 ac_check_lib_save_LIBS=$LIBS
37581 LIBS="-lresolv $LIBS"
37582 cat >conftest.$ac_ext <<_ACEOF
37585 cat confdefs.h >>conftest.$ac_ext
37586 cat >>conftest.$ac_ext <<_ACEOF
37587 /* end confdefs.h. */
37589 /* Override any GCC internal prototype to avoid an error.
37590 Use char because int might match the return type of a GCC
37591 builtin and then its argument prototype would still apply. */
37599 return inet_addr ();
37604 rm -f conftest.$ac_objext conftest$ac_exeext
37605 if { (ac_try="$ac_link"
37606 case "(($ac_try" in
37607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37608 *) ac_try_echo=$ac_try;;
37610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37611 (eval "$ac_link") 2>conftest.er1
37613 grep -v '^ *+' conftest.er1 >conftest.err
37615 cat conftest.err >&5
37616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37617 (exit $ac_status); } && {
37618 test -z "$ac_c_werror_flag" ||
37619 test ! -s conftest.err
37620 } && test -s conftest$ac_exeext &&
37621 $as_test_x conftest$ac_exeext; then
37622 ac_cv_lib_resolv_inet_addr=yes
37624 echo "$as_me: failed program was:" >&5
37625 sed 's/^/| /' conftest.$ac_ext >&5
37627 ac_cv_lib_resolv_inet_addr=no
37630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37631 conftest$ac_exeext conftest.$ac_ext
37632 LIBS=$ac_check_lib_save_LIBS
37634 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37635 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37636 if test $ac_cv_lib_resolv_inet_addr = yes; then
37640 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37641 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37642 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37643 echo $ECHO_N "(cached) $ECHO_C" >&6
37645 ac_check_lib_save_LIBS=$LIBS
37646 LIBS="-lsocket $LIBS"
37647 cat >conftest.$ac_ext <<_ACEOF
37650 cat confdefs.h >>conftest.$ac_ext
37651 cat >>conftest.$ac_ext <<_ACEOF
37652 /* end confdefs.h. */
37654 /* Override any GCC internal prototype to avoid an error.
37655 Use char because int might match the return type of a GCC
37656 builtin and then its argument prototype would still apply. */
37664 return inet_addr ();
37669 rm -f conftest.$ac_objext conftest$ac_exeext
37670 if { (ac_try="$ac_link"
37671 case "(($ac_try" in
37672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37673 *) ac_try_echo=$ac_try;;
37675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37676 (eval "$ac_link") 2>conftest.er1
37678 grep -v '^ *+' conftest.er1 >conftest.err
37680 cat conftest.err >&5
37681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37682 (exit $ac_status); } && {
37683 test -z "$ac_c_werror_flag" ||
37684 test ! -s conftest.err
37685 } && test -s conftest$ac_exeext &&
37686 $as_test_x conftest$ac_exeext; then
37687 ac_cv_lib_socket_inet_addr=yes
37689 echo "$as_me: failed program was:" >&5
37690 sed 's/^/| /' conftest.$ac_ext >&5
37692 ac_cv_lib_socket_inet_addr=no
37695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37696 conftest$ac_exeext conftest.$ac_ext
37697 LIBS=$ac_check_lib_save_LIBS
37699 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37700 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37701 if test $ac_cv_lib_socket_inet_addr = yes; then
37721 for ac_func in inet_aton
37723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37724 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37726 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37727 echo $ECHO_N "(cached) $ECHO_C" >&6
37729 cat >conftest.$ac_ext <<_ACEOF
37732 cat confdefs.h >>conftest.$ac_ext
37733 cat >>conftest.$ac_ext <<_ACEOF
37734 /* end confdefs.h. */
37735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37737 #define $ac_func innocuous_$ac_func
37739 /* System header to define __stub macros and hopefully few prototypes,
37740 which can conflict with char $ac_func (); below.
37741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37742 <limits.h> exists even on freestanding compilers. */
37745 # include <limits.h>
37747 # include <assert.h>
37752 /* Override any GCC internal prototype to avoid an error.
37753 Use char because int might match the return type of a GCC
37754 builtin and then its argument prototype would still apply. */
37759 /* The GNU C library defines this for functions which it implements
37760 to always fail with ENOSYS. Some functions are actually named
37761 something starting with __ and the normal name is an alias. */
37762 #if defined __stub_$ac_func || defined __stub___$ac_func
37769 return $ac_func ();
37774 rm -f conftest.$ac_objext conftest$ac_exeext
37775 if { (ac_try="$ac_link"
37776 case "(($ac_try" in
37777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37778 *) ac_try_echo=$ac_try;;
37780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37781 (eval "$ac_link") 2>conftest.er1
37783 grep -v '^ *+' conftest.er1 >conftest.err
37785 cat conftest.err >&5
37786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37787 (exit $ac_status); } && {
37788 test -z "$ac_c_werror_flag" ||
37789 test ! -s conftest.err
37790 } && test -s conftest$ac_exeext &&
37791 $as_test_x conftest$ac_exeext; then
37792 eval "$as_ac_var=yes"
37794 echo "$as_me: failed program was:" >&5
37795 sed 's/^/| /' conftest.$ac_ext >&5
37797 eval "$as_ac_var=no"
37800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37801 conftest$ac_exeext conftest.$ac_ext
37803 ac_res=`eval echo '${'$as_ac_var'}'`
37804 { echo "$as_me:$LINENO: result: $ac_res" >&5
37805 echo "${ECHO_T}$ac_res" >&6; }
37806 if test `eval echo '${'$as_ac_var'}'` = yes; then
37807 cat >>confdefs.h <<_ACEOF
37808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37810 cat >>confdefs.h <<\_ACEOF
37811 #define HAVE_INET_ATON 1
37816 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37817 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37818 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37819 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37820 echo $ECHO_N "(cached) $ECHO_C" >&6
37822 ac_check_lib_save_LIBS=$LIBS
37823 LIBS="-l$INET_LINK $LIBS"
37824 cat >conftest.$ac_ext <<_ACEOF
37827 cat confdefs.h >>conftest.$ac_ext
37828 cat >>conftest.$ac_ext <<_ACEOF
37829 /* end confdefs.h. */
37831 /* Override any GCC internal prototype to avoid an error.
37832 Use char because int might match the return type of a GCC
37833 builtin and then its argument prototype would still apply. */
37841 return inet_aton ();
37846 rm -f conftest.$ac_objext conftest$ac_exeext
37847 if { (ac_try="$ac_link"
37848 case "(($ac_try" in
37849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37850 *) ac_try_echo=$ac_try;;
37852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37853 (eval "$ac_link") 2>conftest.er1
37855 grep -v '^ *+' conftest.er1 >conftest.err
37857 cat conftest.err >&5
37858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37859 (exit $ac_status); } && {
37860 test -z "$ac_c_werror_flag" ||
37861 test ! -s conftest.err
37862 } && test -s conftest$ac_exeext &&
37863 $as_test_x conftest$ac_exeext; then
37864 eval "$as_ac_Lib=yes"
37866 echo "$as_me: failed program was:" >&5
37867 sed 's/^/| /' conftest.$ac_ext >&5
37869 eval "$as_ac_Lib=no"
37872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37873 conftest$ac_exeext conftest.$ac_ext
37874 LIBS=$ac_check_lib_save_LIBS
37876 ac_res=`eval echo '${'$as_ac_Lib'}'`
37877 { echo "$as_me:$LINENO: result: $ac_res" >&5
37878 echo "${ECHO_T}$ac_res" >&6; }
37879 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37880 cat >>confdefs.h <<\_ACEOF
37881 #define HAVE_INET_ATON 1
37891 if test "x$INET_LINK" != "x"; then
37892 cat >>confdefs.h <<\_ACEOF
37893 #define HAVE_INET_ADDR 1
37896 INET_LINK=" -l$INET_LINK"
37900 for wx_func in fdopen
37902 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37903 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37904 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37905 echo $ECHO_N "(cached) $ECHO_C" >&6
37908 cat >conftest.$ac_ext <<_ACEOF
37912 cat confdefs.h >>conftest.$ac_ext
37913 cat >>conftest.$ac_ext <<_ACEOF
37914 /* end confdefs.h. */
37917 $ac_includes_default
37933 rm -f conftest.$ac_objext conftest$ac_exeext
37934 if { (ac_try="$ac_link"
37935 case "(($ac_try" in
37936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37937 *) ac_try_echo=$ac_try;;
37939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37940 (eval "$ac_link") 2>conftest.er1
37942 grep -v '^ *+' conftest.er1 >conftest.err
37944 cat conftest.err >&5
37945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37946 (exit $ac_status); } && {
37947 test -z "$ac_c_werror_flag" ||
37948 test ! -s conftest.err
37949 } && test -s conftest$ac_exeext &&
37950 $as_test_x conftest$ac_exeext; then
37951 eval wx_cv_func_$wx_func=yes
37953 echo "$as_me: failed program was:" >&5
37954 sed 's/^/| /' conftest.$ac_ext >&5
37956 eval wx_cv_func_$wx_func=no
37959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37960 conftest$ac_exeext conftest.$ac_ext
37963 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37964 { echo "$as_me:$LINENO: result: $ac_res" >&5
37965 echo "${ECHO_T}$ac_res" >&6; }
37967 if eval test \$wx_cv_func_$wx_func = yes
37969 cat >>confdefs.h <<_ACEOF
37970 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37981 if test "$wxUSE_TARSTREAM" = "yes"; then
37983 for wx_func in sysconf
37985 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37986 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37987 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37988 echo $ECHO_N "(cached) $ECHO_C" >&6
37991 cat >conftest.$ac_ext <<_ACEOF
37995 cat confdefs.h >>conftest.$ac_ext
37996 cat >>conftest.$ac_ext <<_ACEOF
37997 /* end confdefs.h. */
38000 $ac_includes_default
38016 rm -f conftest.$ac_objext conftest$ac_exeext
38017 if { (ac_try="$ac_link"
38018 case "(($ac_try" in
38019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38020 *) ac_try_echo=$ac_try;;
38022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38023 (eval "$ac_link") 2>conftest.er1
38025 grep -v '^ *+' conftest.er1 >conftest.err
38027 cat conftest.err >&5
38028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38029 (exit $ac_status); } && {
38030 test -z "$ac_c_werror_flag" ||
38031 test ! -s conftest.err
38032 } && test -s conftest$ac_exeext &&
38033 $as_test_x conftest$ac_exeext; then
38034 eval wx_cv_func_$wx_func=yes
38036 echo "$as_me: failed program was:" >&5
38037 sed 's/^/| /' conftest.$ac_ext >&5
38039 eval wx_cv_func_$wx_func=no
38042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38043 conftest$ac_exeext conftest.$ac_ext
38046 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38047 { echo "$as_me:$LINENO: result: $ac_res" >&5
38048 echo "${ECHO_T}$ac_res" >&6; }
38050 if eval test \$wx_cv_func_$wx_func = yes
38052 cat >>confdefs.h <<_ACEOF
38053 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38065 for wx_func in getpwuid_r
38067 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38068 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38069 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38070 echo $ECHO_N "(cached) $ECHO_C" >&6
38073 cat >conftest.$ac_ext <<_ACEOF
38077 cat confdefs.h >>conftest.$ac_ext
38078 cat >>conftest.$ac_ext <<_ACEOF
38079 /* end confdefs.h. */
38085 $ac_includes_default
38095 struct passwd pw, *ppw;
38097 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38105 rm -f conftest.$ac_objext conftest$ac_exeext
38106 if { (ac_try="$ac_link"
38107 case "(($ac_try" in
38108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38109 *) ac_try_echo=$ac_try;;
38111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38112 (eval "$ac_link") 2>conftest.er1
38114 grep -v '^ *+' conftest.er1 >conftest.err
38116 cat conftest.err >&5
38117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38118 (exit $ac_status); } && {
38119 test -z "$ac_c_werror_flag" ||
38120 test ! -s conftest.err
38121 } && test -s conftest$ac_exeext &&
38122 $as_test_x conftest$ac_exeext; then
38123 eval wx_cv_func_$wx_func=yes
38125 echo "$as_me: failed program was:" >&5
38126 sed 's/^/| /' conftest.$ac_ext >&5
38128 eval wx_cv_func_$wx_func=no
38131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38132 conftest$ac_exeext conftest.$ac_ext
38135 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38136 { echo "$as_me:$LINENO: result: $ac_res" >&5
38137 echo "${ECHO_T}$ac_res" >&6; }
38139 if eval test \$wx_cv_func_$wx_func = yes
38141 cat >>confdefs.h <<_ACEOF
38142 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38154 for wx_func in getgrgid_r
38156 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38157 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38158 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38159 echo $ECHO_N "(cached) $ECHO_C" >&6
38162 cat >conftest.$ac_ext <<_ACEOF
38166 cat confdefs.h >>conftest.$ac_ext
38167 cat >>conftest.$ac_ext <<_ACEOF
38168 /* end confdefs.h. */
38174 $ac_includes_default
38184 struct group grp, *pgrp;
38186 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38194 rm -f conftest.$ac_objext conftest$ac_exeext
38195 if { (ac_try="$ac_link"
38196 case "(($ac_try" in
38197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38198 *) ac_try_echo=$ac_try;;
38200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38201 (eval "$ac_link") 2>conftest.er1
38203 grep -v '^ *+' conftest.er1 >conftest.err
38205 cat conftest.err >&5
38206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38207 (exit $ac_status); } && {
38208 test -z "$ac_c_werror_flag" ||
38209 test ! -s conftest.err
38210 } && test -s conftest$ac_exeext &&
38211 $as_test_x conftest$ac_exeext; then
38212 eval wx_cv_func_$wx_func=yes
38214 echo "$as_me: failed program was:" >&5
38215 sed 's/^/| /' conftest.$ac_ext >&5
38217 eval wx_cv_func_$wx_func=no
38220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38221 conftest$ac_exeext conftest.$ac_ext
38224 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38225 { echo "$as_me:$LINENO: result: $ac_res" >&5
38226 echo "${ECHO_T}$ac_res" >&6; }
38228 if eval test \$wx_cv_func_$wx_func = yes
38230 cat >>confdefs.h <<_ACEOF
38231 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38247 cat >confcache <<\_ACEOF
38248 # This file is a shell script that caches the results of configure
38249 # tests run on this system so they can be shared between configure
38250 # scripts and configure runs, see configure's option --config-cache.
38251 # It is not useful on other systems. If it contains results you don't
38252 # want to keep, you may remove or edit it.
38254 # config.status only pays attention to the cache file if you give it
38255 # the --recheck option to rerun configure.
38257 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38258 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38259 # following values.
38263 # The following way of writing the cache mishandles newlines in values,
38264 # but we know of no workaround that is simple, portable, and efficient.
38265 # So, we kill variables containing newlines.
38266 # Ultrix sh set writes to stderr and can't be redirected directly,
38267 # and sets the high bit in the cache file unless we assign to the vars.
38269 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38270 eval ac_val=\$$ac_var
38274 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38275 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38278 _ | IFS | as_nl) ;; #(
38279 *) $as_unset $ac_var ;;
38285 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38286 *${as_nl}ac_space=\ *)
38287 # `set' does not quote correctly, so add quotes (double-quote
38288 # substitution turns \\\\ into \\, and sed turns \\ into \).
38291 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38294 # `set' quotes correctly as required by POSIX, so do not add quotes.
38295 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38304 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38306 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38308 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38309 if test -w "$cache_file"; then
38310 test "x$cache_file" != "x/dev/null" &&
38311 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38312 echo "$as_me: updating cache $cache_file" >&6;}
38313 cat confcache >$cache_file
38315 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38316 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38322 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38328 if test "$wxUSE_THREADS" = "yes" ; then
38329 if test "$USE_BEOS" = 1; then
38330 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38331 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38336 if test "$wxUSE_THREADS" = "yes" ; then
38339 THREAD_OPTS="-pthread"
38340 if test "x$SUNCXX" = xyes; then
38341 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38345 *-*-solaris2* | *-*-sunos4* )
38346 if test "x$GCC" = "xyes"; then
38347 THREAD_OPTS="-pthreads $THREAD_OPTS"
38351 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38353 *-*-darwin* | *-*-cygwin* )
38357 THREAD_OPTS="pthreads"
38360 if test "x$GCC" = "xyes"; then
38361 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38369 if test "x$GCC" = "xyes"; then
38375 if test "x$GCC" != "xyes"; then
38376 THREAD_OPTS="-Ethread"
38381 THREAD_OPTS="$THREAD_OPTS pthread none"
38384 for flag in $THREAD_OPTS; do
38387 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38388 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38392 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38393 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38394 THREADS_CFLAGS="$flag"
38398 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38399 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38400 THREADS_LINK="-l$flag"
38405 save_CFLAGS="$CFLAGS"
38406 LIBS="$THREADS_LINK $LIBS"
38407 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38409 cat >conftest.$ac_ext <<_ACEOF
38412 cat confdefs.h >>conftest.$ac_ext
38413 cat >>conftest.$ac_ext <<_ACEOF
38414 /* end confdefs.h. */
38415 #include <pthread.h>
38419 pthread_create(0,0,0,0);
38424 rm -f conftest.$ac_objext conftest$ac_exeext
38425 if { (ac_try="$ac_link"
38426 case "(($ac_try" in
38427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38428 *) ac_try_echo=$ac_try;;
38430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38431 (eval "$ac_link") 2>conftest.er1
38433 grep -v '^ *+' conftest.er1 >conftest.err
38435 cat conftest.err >&5
38436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38437 (exit $ac_status); } && {
38438 test -z "$ac_c_werror_flag" ||
38439 test ! -s conftest.err
38440 } && test -s conftest$ac_exeext &&
38441 $as_test_x conftest$ac_exeext; then
38444 echo "$as_me: failed program was:" >&5
38445 sed 's/^/| /' conftest.$ac_ext >&5
38450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38451 conftest$ac_exeext conftest.$ac_ext
38454 CFLAGS="$save_CFLAGS"
38456 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38457 echo "${ECHO_T}$THREADS_OK" >&6; }
38458 if test "x$THREADS_OK" = "xyes"; then
38466 if test "x$THREADS_OK" != "xyes"; then
38468 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38469 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38471 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38472 LIBS="$THREADS_LINK $LIBS"
38474 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38475 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38479 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38480 flag="-D_THREAD_SAFE"
38483 flag="-D_THREAD_SAFE"
38486 flag="-D_REENTRANT"
38487 if test "x$GCC" != "xyes"; then
38488 flag="$flag -D_RWSTD_MULTI_THREAD"
38491 *solaris* | alpha*-osf*)
38492 flag="-D_REENTRANT"
38495 { echo "$as_me:$LINENO: result: ${flag}" >&5
38496 echo "${ECHO_T}${flag}" >&6; }
38497 if test "x$flag" != xno; then
38498 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38501 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38505 if test "$wxUSE_THREADS" = "yes" ; then
38507 for ac_func in thr_setconcurrency
38509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38510 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38512 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38513 echo $ECHO_N "(cached) $ECHO_C" >&6
38515 cat >conftest.$ac_ext <<_ACEOF
38518 cat confdefs.h >>conftest.$ac_ext
38519 cat >>conftest.$ac_ext <<_ACEOF
38520 /* end confdefs.h. */
38521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38523 #define $ac_func innocuous_$ac_func
38525 /* System header to define __stub macros and hopefully few prototypes,
38526 which can conflict with char $ac_func (); below.
38527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38528 <limits.h> exists even on freestanding compilers. */
38531 # include <limits.h>
38533 # include <assert.h>
38538 /* Override any GCC internal prototype to avoid an error.
38539 Use char because int might match the return type of a GCC
38540 builtin and then its argument prototype would still apply. */
38545 /* The GNU C library defines this for functions which it implements
38546 to always fail with ENOSYS. Some functions are actually named
38547 something starting with __ and the normal name is an alias. */
38548 #if defined __stub_$ac_func || defined __stub___$ac_func
38555 return $ac_func ();
38560 rm -f conftest.$ac_objext conftest$ac_exeext
38561 if { (ac_try="$ac_link"
38562 case "(($ac_try" in
38563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38564 *) ac_try_echo=$ac_try;;
38566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38567 (eval "$ac_link") 2>conftest.er1
38569 grep -v '^ *+' conftest.er1 >conftest.err
38571 cat conftest.err >&5
38572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38573 (exit $ac_status); } && {
38574 test -z "$ac_c_werror_flag" ||
38575 test ! -s conftest.err
38576 } && test -s conftest$ac_exeext &&
38577 $as_test_x conftest$ac_exeext; then
38578 eval "$as_ac_var=yes"
38580 echo "$as_me: failed program was:" >&5
38581 sed 's/^/| /' conftest.$ac_ext >&5
38583 eval "$as_ac_var=no"
38586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38587 conftest$ac_exeext conftest.$ac_ext
38589 ac_res=`eval echo '${'$as_ac_var'}'`
38590 { echo "$as_me:$LINENO: result: $ac_res" >&5
38591 echo "${ECHO_T}$ac_res" >&6; }
38592 if test `eval echo '${'$as_ac_var'}'` = yes; then
38593 cat >>confdefs.h <<_ACEOF
38594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38601 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38602 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38603 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38604 echo $ECHO_N "(cached) $ECHO_C" >&6
38608 ac_cpp='$CXXCPP $CPPFLAGS'
38609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38613 cat >conftest.$ac_ext <<_ACEOF
38616 cat confdefs.h >>conftest.$ac_ext
38617 cat >>conftest.$ac_ext <<_ACEOF
38618 /* end confdefs.h. */
38619 #include <pthread.h>
38620 void ThreadCleanupFunc(void *p);
38627 pthread_cleanup_push(ThreadCleanupFunc, p);
38628 pthread_cleanup_pop(0);
38634 rm -f conftest.$ac_objext
38635 if { (ac_try="$ac_compile"
38636 case "(($ac_try" in
38637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38638 *) ac_try_echo=$ac_try;;
38640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38641 (eval "$ac_compile") 2>conftest.er1
38643 grep -v '^ *+' conftest.er1 >conftest.err
38645 cat conftest.err >&5
38646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38647 (exit $ac_status); } && {
38648 test -z "$ac_cxx_werror_flag" ||
38649 test ! -s conftest.err
38650 } && test -s conftest.$ac_objext; then
38652 wx_cv_func_pthread_cleanup=yes
38655 echo "$as_me: failed program was:" >&5
38656 sed 's/^/| /' conftest.$ac_ext >&5
38659 wx_cv_func_pthread_cleanup=no
38664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38666 ac_cpp='$CPP $CPPFLAGS'
38667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38673 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38674 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38675 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38676 cat >>confdefs.h <<\_ACEOF
38677 #define wxHAVE_PTHREAD_CLEANUP 1
38683 for ac_header in sched.h
38685 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38686 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38688 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38689 echo $ECHO_N "(cached) $ECHO_C" >&6
38691 cat >conftest.$ac_ext <<_ACEOF
38694 cat confdefs.h >>conftest.$ac_ext
38695 cat >>conftest.$ac_ext <<_ACEOF
38696 /* end confdefs.h. */
38697 $ac_includes_default
38699 #include <$ac_header>
38701 rm -f conftest.$ac_objext
38702 if { (ac_try="$ac_compile"
38703 case "(($ac_try" in
38704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38705 *) ac_try_echo=$ac_try;;
38707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38708 (eval "$ac_compile") 2>conftest.er1
38710 grep -v '^ *+' conftest.er1 >conftest.err
38712 cat conftest.err >&5
38713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38714 (exit $ac_status); } && {
38715 test -z "$ac_c_werror_flag" ||
38716 test ! -s conftest.err
38717 } && test -s conftest.$ac_objext; then
38718 eval "$as_ac_Header=yes"
38720 echo "$as_me: failed program was:" >&5
38721 sed 's/^/| /' conftest.$ac_ext >&5
38723 eval "$as_ac_Header=no"
38726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38728 ac_res=`eval echo '${'$as_ac_Header'}'`
38729 { echo "$as_me:$LINENO: result: $ac_res" >&5
38730 echo "${ECHO_T}$ac_res" >&6; }
38731 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38732 cat >>confdefs.h <<_ACEOF
38733 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38740 if test "$ac_cv_header_sched_h" = "yes"; then
38741 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38742 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38743 if test "${ac_cv_func_sched_yield+set}" = set; then
38744 echo $ECHO_N "(cached) $ECHO_C" >&6
38746 cat >conftest.$ac_ext <<_ACEOF
38749 cat confdefs.h >>conftest.$ac_ext
38750 cat >>conftest.$ac_ext <<_ACEOF
38751 /* end confdefs.h. */
38752 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38754 #define sched_yield innocuous_sched_yield
38756 /* System header to define __stub macros and hopefully few prototypes,
38757 which can conflict with char sched_yield (); below.
38758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38759 <limits.h> exists even on freestanding compilers. */
38762 # include <limits.h>
38764 # include <assert.h>
38769 /* Override any GCC internal prototype to avoid an error.
38770 Use char because int might match the return type of a GCC
38771 builtin and then its argument prototype would still apply. */
38775 char sched_yield ();
38776 /* The GNU C library defines this for functions which it implements
38777 to always fail with ENOSYS. Some functions are actually named
38778 something starting with __ and the normal name is an alias. */
38779 #if defined __stub_sched_yield || defined __stub___sched_yield
38786 return sched_yield ();
38791 rm -f conftest.$ac_objext conftest$ac_exeext
38792 if { (ac_try="$ac_link"
38793 case "(($ac_try" in
38794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38795 *) ac_try_echo=$ac_try;;
38797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38798 (eval "$ac_link") 2>conftest.er1
38800 grep -v '^ *+' conftest.er1 >conftest.err
38802 cat conftest.err >&5
38803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38804 (exit $ac_status); } && {
38805 test -z "$ac_c_werror_flag" ||
38806 test ! -s conftest.err
38807 } && test -s conftest$ac_exeext &&
38808 $as_test_x conftest$ac_exeext; then
38809 ac_cv_func_sched_yield=yes
38811 echo "$as_me: failed program was:" >&5
38812 sed 's/^/| /' conftest.$ac_ext >&5
38814 ac_cv_func_sched_yield=no
38817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38818 conftest$ac_exeext conftest.$ac_ext
38820 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38821 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38822 if test $ac_cv_func_sched_yield = yes; then
38823 cat >>confdefs.h <<\_ACEOF
38824 #define HAVE_SCHED_YIELD 1
38829 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38830 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38831 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38832 echo $ECHO_N "(cached) $ECHO_C" >&6
38834 ac_check_lib_save_LIBS=$LIBS
38835 LIBS="-lposix4 $LIBS"
38836 cat >conftest.$ac_ext <<_ACEOF
38839 cat confdefs.h >>conftest.$ac_ext
38840 cat >>conftest.$ac_ext <<_ACEOF
38841 /* end confdefs.h. */
38843 /* Override any GCC internal prototype to avoid an error.
38844 Use char because int might match the return type of a GCC
38845 builtin and then its argument prototype would still apply. */
38849 char sched_yield ();
38853 return sched_yield ();
38858 rm -f conftest.$ac_objext conftest$ac_exeext
38859 if { (ac_try="$ac_link"
38860 case "(($ac_try" in
38861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38862 *) ac_try_echo=$ac_try;;
38864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38865 (eval "$ac_link") 2>conftest.er1
38867 grep -v '^ *+' conftest.er1 >conftest.err
38869 cat conftest.err >&5
38870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38871 (exit $ac_status); } && {
38872 test -z "$ac_c_werror_flag" ||
38873 test ! -s conftest.err
38874 } && test -s conftest$ac_exeext &&
38875 $as_test_x conftest$ac_exeext; then
38876 ac_cv_lib_posix4_sched_yield=yes
38878 echo "$as_me: failed program was:" >&5
38879 sed 's/^/| /' conftest.$ac_ext >&5
38881 ac_cv_lib_posix4_sched_yield=no
38884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38885 conftest$ac_exeext conftest.$ac_ext
38886 LIBS=$ac_check_lib_save_LIBS
38888 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38889 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38890 if test $ac_cv_lib_posix4_sched_yield = yes; then
38891 cat >>confdefs.h <<\_ACEOF
38892 #define HAVE_SCHED_YIELD 1
38894 POSIX4_LINK=" -lposix4"
38896 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38897 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38908 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38909 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38910 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38911 echo $ECHO_N "(cached) $ECHO_C" >&6
38913 cat >conftest.$ac_ext <<_ACEOF
38916 cat confdefs.h >>conftest.$ac_ext
38917 cat >>conftest.$ac_ext <<_ACEOF
38918 /* end confdefs.h. */
38919 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38921 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38923 /* System header to define __stub macros and hopefully few prototypes,
38924 which can conflict with char pthread_attr_getschedpolicy (); below.
38925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38926 <limits.h> exists even on freestanding compilers. */
38929 # include <limits.h>
38931 # include <assert.h>
38934 #undef pthread_attr_getschedpolicy
38936 /* Override any GCC internal prototype to avoid an error.
38937 Use char because int might match the return type of a GCC
38938 builtin and then its argument prototype would still apply. */
38942 char pthread_attr_getschedpolicy ();
38943 /* The GNU C library defines this for functions which it implements
38944 to always fail with ENOSYS. Some functions are actually named
38945 something starting with __ and the normal name is an alias. */
38946 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38953 return pthread_attr_getschedpolicy ();
38958 rm -f conftest.$ac_objext conftest$ac_exeext
38959 if { (ac_try="$ac_link"
38960 case "(($ac_try" in
38961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38962 *) ac_try_echo=$ac_try;;
38964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38965 (eval "$ac_link") 2>conftest.er1
38967 grep -v '^ *+' conftest.er1 >conftest.err
38969 cat conftest.err >&5
38970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38971 (exit $ac_status); } && {
38972 test -z "$ac_c_werror_flag" ||
38973 test ! -s conftest.err
38974 } && test -s conftest$ac_exeext &&
38975 $as_test_x conftest$ac_exeext; then
38976 ac_cv_func_pthread_attr_getschedpolicy=yes
38978 echo "$as_me: failed program was:" >&5
38979 sed 's/^/| /' conftest.$ac_ext >&5
38981 ac_cv_func_pthread_attr_getschedpolicy=no
38984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38985 conftest$ac_exeext conftest.$ac_ext
38987 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38988 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38989 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38990 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38991 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38992 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38993 echo $ECHO_N "(cached) $ECHO_C" >&6
38995 cat >conftest.$ac_ext <<_ACEOF
38998 cat confdefs.h >>conftest.$ac_ext
38999 cat >>conftest.$ac_ext <<_ACEOF
39000 /* end confdefs.h. */
39001 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39003 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39005 /* System header to define __stub macros and hopefully few prototypes,
39006 which can conflict with char pthread_attr_setschedparam (); below.
39007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39008 <limits.h> exists even on freestanding compilers. */
39011 # include <limits.h>
39013 # include <assert.h>
39016 #undef pthread_attr_setschedparam
39018 /* Override any GCC internal prototype to avoid an error.
39019 Use char because int might match the return type of a GCC
39020 builtin and then its argument prototype would still apply. */
39024 char pthread_attr_setschedparam ();
39025 /* The GNU C library defines this for functions which it implements
39026 to always fail with ENOSYS. Some functions are actually named
39027 something starting with __ and the normal name is an alias. */
39028 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39035 return pthread_attr_setschedparam ();
39040 rm -f conftest.$ac_objext conftest$ac_exeext
39041 if { (ac_try="$ac_link"
39042 case "(($ac_try" in
39043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39044 *) ac_try_echo=$ac_try;;
39046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39047 (eval "$ac_link") 2>conftest.er1
39049 grep -v '^ *+' conftest.er1 >conftest.err
39051 cat conftest.err >&5
39052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39053 (exit $ac_status); } && {
39054 test -z "$ac_c_werror_flag" ||
39055 test ! -s conftest.err
39056 } && test -s conftest$ac_exeext &&
39057 $as_test_x conftest$ac_exeext; then
39058 ac_cv_func_pthread_attr_setschedparam=yes
39060 echo "$as_me: failed program was:" >&5
39061 sed 's/^/| /' conftest.$ac_ext >&5
39063 ac_cv_func_pthread_attr_setschedparam=no
39066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39067 conftest$ac_exeext conftest.$ac_ext
39069 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39070 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39071 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39072 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39073 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39074 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39075 echo $ECHO_N "(cached) $ECHO_C" >&6
39077 cat >conftest.$ac_ext <<_ACEOF
39080 cat confdefs.h >>conftest.$ac_ext
39081 cat >>conftest.$ac_ext <<_ACEOF
39082 /* end confdefs.h. */
39083 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39085 #define sched_get_priority_max innocuous_sched_get_priority_max
39087 /* System header to define __stub macros and hopefully few prototypes,
39088 which can conflict with char sched_get_priority_max (); below.
39089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39090 <limits.h> exists even on freestanding compilers. */
39093 # include <limits.h>
39095 # include <assert.h>
39098 #undef sched_get_priority_max
39100 /* Override any GCC internal prototype to avoid an error.
39101 Use char because int might match the return type of a GCC
39102 builtin and then its argument prototype would still apply. */
39106 char sched_get_priority_max ();
39107 /* The GNU C library defines this for functions which it implements
39108 to always fail with ENOSYS. Some functions are actually named
39109 something starting with __ and the normal name is an alias. */
39110 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39117 return sched_get_priority_max ();
39122 rm -f conftest.$ac_objext conftest$ac_exeext
39123 if { (ac_try="$ac_link"
39124 case "(($ac_try" in
39125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39126 *) ac_try_echo=$ac_try;;
39128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39129 (eval "$ac_link") 2>conftest.er1
39131 grep -v '^ *+' conftest.er1 >conftest.err
39133 cat conftest.err >&5
39134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39135 (exit $ac_status); } && {
39136 test -z "$ac_c_werror_flag" ||
39137 test ! -s conftest.err
39138 } && test -s conftest$ac_exeext &&
39139 $as_test_x conftest$ac_exeext; then
39140 ac_cv_func_sched_get_priority_max=yes
39142 echo "$as_me: failed program was:" >&5
39143 sed 's/^/| /' conftest.$ac_ext >&5
39145 ac_cv_func_sched_get_priority_max=no
39148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39149 conftest$ac_exeext conftest.$ac_ext
39151 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39152 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39153 if test $ac_cv_func_sched_get_priority_max = yes; then
39156 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39157 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39158 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39159 echo $ECHO_N "(cached) $ECHO_C" >&6
39161 ac_check_lib_save_LIBS=$LIBS
39162 LIBS="-lposix4 $LIBS"
39163 cat >conftest.$ac_ext <<_ACEOF
39166 cat confdefs.h >>conftest.$ac_ext
39167 cat >>conftest.$ac_ext <<_ACEOF
39168 /* end confdefs.h. */
39170 /* Override any GCC internal prototype to avoid an error.
39171 Use char because int might match the return type of a GCC
39172 builtin and then its argument prototype would still apply. */
39176 char sched_get_priority_max ();
39180 return sched_get_priority_max ();
39185 rm -f conftest.$ac_objext conftest$ac_exeext
39186 if { (ac_try="$ac_link"
39187 case "(($ac_try" in
39188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39189 *) ac_try_echo=$ac_try;;
39191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39192 (eval "$ac_link") 2>conftest.er1
39194 grep -v '^ *+' conftest.er1 >conftest.err
39196 cat conftest.err >&5
39197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39198 (exit $ac_status); } && {
39199 test -z "$ac_c_werror_flag" ||
39200 test ! -s conftest.err
39201 } && test -s conftest$ac_exeext &&
39202 $as_test_x conftest$ac_exeext; then
39203 ac_cv_lib_posix4_sched_get_priority_max=yes
39205 echo "$as_me: failed program was:" >&5
39206 sed 's/^/| /' conftest.$ac_ext >&5
39208 ac_cv_lib_posix4_sched_get_priority_max=no
39211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39212 conftest$ac_exeext conftest.$ac_ext
39213 LIBS=$ac_check_lib_save_LIBS
39215 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39216 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39217 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39220 POSIX4_LINK=" -lposix4"
39234 if test "$HAVE_PRIOR_FUNCS" = 1; then
39235 cat >>confdefs.h <<\_ACEOF
39236 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39240 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39241 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39244 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39245 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39246 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39247 echo $ECHO_N "(cached) $ECHO_C" >&6
39249 cat >conftest.$ac_ext <<_ACEOF
39252 cat confdefs.h >>conftest.$ac_ext
39253 cat >>conftest.$ac_ext <<_ACEOF
39254 /* end confdefs.h. */
39255 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39257 #define pthread_cancel innocuous_pthread_cancel
39259 /* System header to define __stub macros and hopefully few prototypes,
39260 which can conflict with char pthread_cancel (); below.
39261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39262 <limits.h> exists even on freestanding compilers. */
39265 # include <limits.h>
39267 # include <assert.h>
39270 #undef pthread_cancel
39272 /* Override any GCC internal prototype to avoid an error.
39273 Use char because int might match the return type of a GCC
39274 builtin and then its argument prototype would still apply. */
39278 char pthread_cancel ();
39279 /* The GNU C library defines this for functions which it implements
39280 to always fail with ENOSYS. Some functions are actually named
39281 something starting with __ and the normal name is an alias. */
39282 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39289 return pthread_cancel ();
39294 rm -f conftest.$ac_objext conftest$ac_exeext
39295 if { (ac_try="$ac_link"
39296 case "(($ac_try" in
39297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39298 *) ac_try_echo=$ac_try;;
39300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39301 (eval "$ac_link") 2>conftest.er1
39303 grep -v '^ *+' conftest.er1 >conftest.err
39305 cat conftest.err >&5
39306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39307 (exit $ac_status); } && {
39308 test -z "$ac_c_werror_flag" ||
39309 test ! -s conftest.err
39310 } && test -s conftest$ac_exeext &&
39311 $as_test_x conftest$ac_exeext; then
39312 ac_cv_func_pthread_cancel=yes
39314 echo "$as_me: failed program was:" >&5
39315 sed 's/^/| /' conftest.$ac_ext >&5
39317 ac_cv_func_pthread_cancel=no
39320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39321 conftest$ac_exeext conftest.$ac_ext
39323 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39324 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39325 if test $ac_cv_func_pthread_cancel = yes; then
39326 cat >>confdefs.h <<\_ACEOF
39327 #define HAVE_PTHREAD_CANCEL 1
39331 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39332 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39336 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39337 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39338 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39339 echo $ECHO_N "(cached) $ECHO_C" >&6
39341 cat >conftest.$ac_ext <<_ACEOF
39344 cat confdefs.h >>conftest.$ac_ext
39345 cat >>conftest.$ac_ext <<_ACEOF
39346 /* end confdefs.h. */
39347 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39349 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39351 /* System header to define __stub macros and hopefully few prototypes,
39352 which can conflict with char pthread_mutex_timedlock (); below.
39353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39354 <limits.h> exists even on freestanding compilers. */
39357 # include <limits.h>
39359 # include <assert.h>
39362 #undef pthread_mutex_timedlock
39364 /* Override any GCC internal prototype to avoid an error.
39365 Use char because int might match the return type of a GCC
39366 builtin and then its argument prototype would still apply. */
39370 char pthread_mutex_timedlock ();
39371 /* The GNU C library defines this for functions which it implements
39372 to always fail with ENOSYS. Some functions are actually named
39373 something starting with __ and the normal name is an alias. */
39374 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39381 return pthread_mutex_timedlock ();
39386 rm -f conftest.$ac_objext conftest$ac_exeext
39387 if { (ac_try="$ac_link"
39388 case "(($ac_try" in
39389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39390 *) ac_try_echo=$ac_try;;
39392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39393 (eval "$ac_link") 2>conftest.er1
39395 grep -v '^ *+' conftest.er1 >conftest.err
39397 cat conftest.err >&5
39398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39399 (exit $ac_status); } && {
39400 test -z "$ac_c_werror_flag" ||
39401 test ! -s conftest.err
39402 } && test -s conftest$ac_exeext &&
39403 $as_test_x conftest$ac_exeext; then
39404 ac_cv_func_pthread_mutex_timedlock=yes
39406 echo "$as_me: failed program was:" >&5
39407 sed 's/^/| /' conftest.$ac_ext >&5
39409 ac_cv_func_pthread_mutex_timedlock=no
39412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39413 conftest$ac_exeext conftest.$ac_ext
39415 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39416 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39417 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39418 cat >>confdefs.h <<\_ACEOF
39419 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39423 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39424 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39428 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39429 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39430 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39431 echo $ECHO_N "(cached) $ECHO_C" >&6
39433 cat >conftest.$ac_ext <<_ACEOF
39436 cat confdefs.h >>conftest.$ac_ext
39437 cat >>conftest.$ac_ext <<_ACEOF
39438 /* end confdefs.h. */
39439 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39441 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39443 /* System header to define __stub macros and hopefully few prototypes,
39444 which can conflict with char pthread_attr_setstacksize (); below.
39445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39446 <limits.h> exists even on freestanding compilers. */
39449 # include <limits.h>
39451 # include <assert.h>
39454 #undef pthread_attr_setstacksize
39456 /* Override any GCC internal prototype to avoid an error.
39457 Use char because int might match the return type of a GCC
39458 builtin and then its argument prototype would still apply. */
39462 char pthread_attr_setstacksize ();
39463 /* The GNU C library defines this for functions which it implements
39464 to always fail with ENOSYS. Some functions are actually named
39465 something starting with __ and the normal name is an alias. */
39466 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39473 return pthread_attr_setstacksize ();
39478 rm -f conftest.$ac_objext conftest$ac_exeext
39479 if { (ac_try="$ac_link"
39480 case "(($ac_try" in
39481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39482 *) ac_try_echo=$ac_try;;
39484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39485 (eval "$ac_link") 2>conftest.er1
39487 grep -v '^ *+' conftest.er1 >conftest.err
39489 cat conftest.err >&5
39490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39491 (exit $ac_status); } && {
39492 test -z "$ac_c_werror_flag" ||
39493 test ! -s conftest.err
39494 } && test -s conftest$ac_exeext &&
39495 $as_test_x conftest$ac_exeext; then
39496 ac_cv_func_pthread_attr_setstacksize=yes
39498 echo "$as_me: failed program was:" >&5
39499 sed 's/^/| /' conftest.$ac_ext >&5
39501 ac_cv_func_pthread_attr_setstacksize=no
39504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39505 conftest$ac_exeext conftest.$ac_ext
39507 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39508 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39509 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39510 cat >>confdefs.h <<\_ACEOF
39511 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39518 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39519 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39520 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39521 echo $ECHO_N "(cached) $ECHO_C" >&6
39524 cat >conftest.$ac_ext <<_ACEOF
39527 cat confdefs.h >>conftest.$ac_ext
39528 cat >>conftest.$ac_ext <<_ACEOF
39529 /* end confdefs.h. */
39530 #include <pthread.h>
39535 pthread_mutexattr_t attr;
39536 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39542 rm -f conftest.$ac_objext
39543 if { (ac_try="$ac_compile"
39544 case "(($ac_try" in
39545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39546 *) ac_try_echo=$ac_try;;
39548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39549 (eval "$ac_compile") 2>conftest.er1
39551 grep -v '^ *+' conftest.er1 >conftest.err
39553 cat conftest.err >&5
39554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39555 (exit $ac_status); } && {
39556 test -z "$ac_c_werror_flag" ||
39557 test ! -s conftest.err
39558 } && test -s conftest.$ac_objext; then
39559 wx_cv_type_pthread_mutexattr_t=yes
39561 echo "$as_me: failed program was:" >&5
39562 sed 's/^/| /' conftest.$ac_ext >&5
39564 wx_cv_type_pthread_mutexattr_t=no
39568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39571 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39572 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39574 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39575 cat >>confdefs.h <<\_ACEOF
39576 #define HAVE_PTHREAD_MUTEXATTR_T 1
39580 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39581 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39582 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39583 echo $ECHO_N "(cached) $ECHO_C" >&6
39586 cat >conftest.$ac_ext <<_ACEOF
39589 cat confdefs.h >>conftest.$ac_ext
39590 cat >>conftest.$ac_ext <<_ACEOF
39591 /* end confdefs.h. */
39592 #include <pthread.h>
39597 pthread_mutexattr_t attr;
39598 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39604 rm -f conftest.$ac_objext
39605 if { (ac_try="$ac_compile"
39606 case "(($ac_try" in
39607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39608 *) ac_try_echo=$ac_try;;
39610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39611 (eval "$ac_compile") 2>conftest.er1
39613 grep -v '^ *+' conftest.er1 >conftest.err
39615 cat conftest.err >&5
39616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39617 (exit $ac_status); } && {
39618 test -z "$ac_c_werror_flag" ||
39619 test ! -s conftest.err
39620 } && test -s conftest.$ac_objext; then
39621 wx_cv_func_pthread_mutexattr_settype_decl=yes
39623 echo "$as_me: failed program was:" >&5
39624 sed 's/^/| /' conftest.$ac_ext >&5
39626 wx_cv_func_pthread_mutexattr_settype_decl=no
39630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39633 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39634 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39635 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39636 cat >>confdefs.h <<\_ACEOF
39637 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39642 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39643 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39644 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39645 echo $ECHO_N "(cached) $ECHO_C" >&6
39648 cat >conftest.$ac_ext <<_ACEOF
39651 cat confdefs.h >>conftest.$ac_ext
39652 cat >>conftest.$ac_ext <<_ACEOF
39653 /* end confdefs.h. */
39654 #include <pthread.h>
39659 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39665 rm -f conftest.$ac_objext
39666 if { (ac_try="$ac_compile"
39667 case "(($ac_try" in
39668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39669 *) ac_try_echo=$ac_try;;
39671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39672 (eval "$ac_compile") 2>conftest.er1
39674 grep -v '^ *+' conftest.er1 >conftest.err
39676 cat conftest.err >&5
39677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39678 (exit $ac_status); } && {
39679 test -z "$ac_c_werror_flag" ||
39680 test ! -s conftest.err
39681 } && test -s conftest.$ac_objext; then
39683 wx_cv_type_pthread_rec_mutex_init=yes
39686 echo "$as_me: failed program was:" >&5
39687 sed 's/^/| /' conftest.$ac_ext >&5
39690 wx_cv_type_pthread_rec_mutex_init=no
39695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39698 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39699 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39700 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39701 cat >>confdefs.h <<\_ACEOF
39702 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39706 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39707 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39713 if test "$wxUSE_THREADS" = "yes" ; then
39716 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39717 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39718 if test "${wx_cv_cflags_mthread+set}" = set; then
39719 echo $ECHO_N "(cached) $ECHO_C" >&6
39722 CFLAGS_OLD="$CFLAGS"
39723 CFLAGS="-mthreads $CFLAGS"
39724 cat >conftest.$ac_ext <<_ACEOF
39727 cat confdefs.h >>conftest.$ac_ext
39728 cat >>conftest.$ac_ext <<_ACEOF
39729 /* end confdefs.h. */
39739 rm -f conftest.$ac_objext
39740 if { (ac_try="$ac_compile"
39741 case "(($ac_try" in
39742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39743 *) ac_try_echo=$ac_try;;
39745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39746 (eval "$ac_compile") 2>conftest.er1
39748 grep -v '^ *+' conftest.er1 >conftest.err
39750 cat conftest.err >&5
39751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39752 (exit $ac_status); } && {
39753 test -z "$ac_c_werror_flag" ||
39754 test ! -s conftest.err
39755 } && test -s conftest.$ac_objext; then
39756 wx_cv_cflags_mthread=yes
39758 echo "$as_me: failed program was:" >&5
39759 sed 's/^/| /' conftest.$ac_ext >&5
39761 wx_cv_cflags_mthread=no
39765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39769 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39770 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39772 if test "$wx_cv_cflags_mthread" = "yes"; then
39773 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39774 LDFLAGS="$LDFLAGS -mthreads"
39776 CFLAGS="$CFLAGS_OLD"
39780 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39781 LDFLAGS="$LDFLAGS -Zmt"
39787 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39788 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39789 if test "${ac_cv_func_localtime_r+set}" = set; then
39790 echo $ECHO_N "(cached) $ECHO_C" >&6
39792 cat >conftest.$ac_ext <<_ACEOF
39795 cat confdefs.h >>conftest.$ac_ext
39796 cat >>conftest.$ac_ext <<_ACEOF
39797 /* end confdefs.h. */
39798 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39800 #define localtime_r innocuous_localtime_r
39802 /* System header to define __stub macros and hopefully few prototypes,
39803 which can conflict with char localtime_r (); below.
39804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39805 <limits.h> exists even on freestanding compilers. */
39808 # include <limits.h>
39810 # include <assert.h>
39815 /* Override any GCC internal prototype to avoid an error.
39816 Use char because int might match the return type of a GCC
39817 builtin and then its argument prototype would still apply. */
39821 char localtime_r ();
39822 /* The GNU C library defines this for functions which it implements
39823 to always fail with ENOSYS. Some functions are actually named
39824 something starting with __ and the normal name is an alias. */
39825 #if defined __stub_localtime_r || defined __stub___localtime_r
39832 return localtime_r ();
39837 rm -f conftest.$ac_objext conftest$ac_exeext
39838 if { (ac_try="$ac_link"
39839 case "(($ac_try" in
39840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39841 *) ac_try_echo=$ac_try;;
39843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39844 (eval "$ac_link") 2>conftest.er1
39846 grep -v '^ *+' conftest.er1 >conftest.err
39848 cat conftest.err >&5
39849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39850 (exit $ac_status); } && {
39851 test -z "$ac_c_werror_flag" ||
39852 test ! -s conftest.err
39853 } && test -s conftest$ac_exeext &&
39854 $as_test_x conftest$ac_exeext; then
39855 ac_cv_func_localtime_r=yes
39857 echo "$as_me: failed program was:" >&5
39858 sed 's/^/| /' conftest.$ac_ext >&5
39860 ac_cv_func_localtime_r=no
39863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39864 conftest$ac_exeext conftest.$ac_ext
39866 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39867 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39868 if test $ac_cv_func_localtime_r = yes; then
39869 cat >>confdefs.h <<\_ACEOF
39870 #define HAVE_LOCALTIME_R 1
39875 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39876 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39877 if test "${ac_cv_func_gmtime_r+set}" = set; then
39878 echo $ECHO_N "(cached) $ECHO_C" >&6
39880 cat >conftest.$ac_ext <<_ACEOF
39883 cat confdefs.h >>conftest.$ac_ext
39884 cat >>conftest.$ac_ext <<_ACEOF
39885 /* end confdefs.h. */
39886 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39888 #define gmtime_r innocuous_gmtime_r
39890 /* System header to define __stub macros and hopefully few prototypes,
39891 which can conflict with char gmtime_r (); below.
39892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39893 <limits.h> exists even on freestanding compilers. */
39896 # include <limits.h>
39898 # include <assert.h>
39903 /* Override any GCC internal prototype to avoid an error.
39904 Use char because int might match the return type of a GCC
39905 builtin and then its argument prototype would still apply. */
39910 /* The GNU C library defines this for functions which it implements
39911 to always fail with ENOSYS. Some functions are actually named
39912 something starting with __ and the normal name is an alias. */
39913 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39920 return gmtime_r ();
39925 rm -f conftest.$ac_objext conftest$ac_exeext
39926 if { (ac_try="$ac_link"
39927 case "(($ac_try" in
39928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39929 *) ac_try_echo=$ac_try;;
39931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39932 (eval "$ac_link") 2>conftest.er1
39934 grep -v '^ *+' conftest.er1 >conftest.err
39936 cat conftest.err >&5
39937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39938 (exit $ac_status); } && {
39939 test -z "$ac_c_werror_flag" ||
39940 test ! -s conftest.err
39941 } && test -s conftest$ac_exeext &&
39942 $as_test_x conftest$ac_exeext; then
39943 ac_cv_func_gmtime_r=yes
39945 echo "$as_me: failed program was:" >&5
39946 sed 's/^/| /' conftest.$ac_ext >&5
39948 ac_cv_func_gmtime_r=no
39951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39952 conftest$ac_exeext conftest.$ac_ext
39954 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39955 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39956 if test $ac_cv_func_gmtime_r = yes; then
39957 cat >>confdefs.h <<\_ACEOF
39958 #define HAVE_GMTIME_R 1
39967 ac_cpp='$CPP $CPPFLAGS'
39968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39972 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39973 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39975 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39976 echo $ECHO_N "(cached) $ECHO_C" >&6
39980 ################################################################
39982 ac_cv_func_which_gethostbyname_r=unknown
39985 # ONE ARGUMENT (sanity check)
39988 # This should fail, as there is no variant of gethostbyname_r() that takes
39989 # a single argument. If it actually compiles, then we can assume that
39990 # netdb.h is not declaring the function, and the compiler is thereby
39991 # assuming an implicit prototype. In which case, we're out of luck.
39993 cat >conftest.$ac_ext <<_ACEOF
39996 cat confdefs.h >>conftest.$ac_ext
39997 cat >>conftest.$ac_ext <<_ACEOF
39998 /* end confdefs.h. */
40004 char *name = "www.gnu.org";
40005 (void)gethostbyname_r(name) /* ; */
40011 rm -f conftest.$ac_objext
40012 if { (ac_try="$ac_compile"
40013 case "(($ac_try" in
40014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40015 *) ac_try_echo=$ac_try;;
40017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40018 (eval "$ac_compile") 2>conftest.er1
40020 grep -v '^ *+' conftest.er1 >conftest.err
40022 cat conftest.err >&5
40023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40024 (exit $ac_status); } && {
40025 test -z "$ac_c_werror_flag" ||
40026 test ! -s conftest.err
40027 } && test -s conftest.$ac_objext; then
40028 ac_cv_func_which_gethostbyname_r=no
40030 echo "$as_me: failed program was:" >&5
40031 sed 's/^/| /' conftest.$ac_ext >&5
40036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40043 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40045 cat >conftest.$ac_ext <<_ACEOF
40048 cat confdefs.h >>conftest.$ac_ext
40049 cat >>conftest.$ac_ext <<_ACEOF
40050 /* end confdefs.h. */
40056 char *name = "www.gnu.org";
40057 struct hostent ret, *retp;
40061 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40067 rm -f conftest.$ac_objext
40068 if { (ac_try="$ac_compile"
40069 case "(($ac_try" in
40070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40071 *) ac_try_echo=$ac_try;;
40073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40074 (eval "$ac_compile") 2>conftest.er1
40076 grep -v '^ *+' conftest.er1 >conftest.err
40078 cat conftest.err >&5
40079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40080 (exit $ac_status); } && {
40081 test -z "$ac_c_werror_flag" ||
40082 test ! -s conftest.err
40083 } && test -s conftest.$ac_objext; then
40084 ac_cv_func_which_gethostbyname_r=six
40086 echo "$as_me: failed program was:" >&5
40087 sed 's/^/| /' conftest.$ac_ext >&5
40092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40101 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40103 cat >conftest.$ac_ext <<_ACEOF
40106 cat confdefs.h >>conftest.$ac_ext
40107 cat >>conftest.$ac_ext <<_ACEOF
40108 /* end confdefs.h. */
40114 char *name = "www.gnu.org";
40115 struct hostent ret;
40119 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40125 rm -f conftest.$ac_objext
40126 if { (ac_try="$ac_compile"
40127 case "(($ac_try" in
40128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40129 *) ac_try_echo=$ac_try;;
40131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40132 (eval "$ac_compile") 2>conftest.er1
40134 grep -v '^ *+' conftest.er1 >conftest.err
40136 cat conftest.err >&5
40137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40138 (exit $ac_status); } && {
40139 test -z "$ac_c_werror_flag" ||
40140 test ! -s conftest.err
40141 } && test -s conftest.$ac_objext; then
40142 ac_cv_func_which_gethostbyname_r=five
40144 echo "$as_me: failed program was:" >&5
40145 sed 's/^/| /' conftest.$ac_ext >&5
40150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40156 # (e.g. AIX, HP-UX, Tru64)
40159 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40161 cat >conftest.$ac_ext <<_ACEOF
40164 cat confdefs.h >>conftest.$ac_ext
40165 cat >>conftest.$ac_ext <<_ACEOF
40166 /* end confdefs.h. */
40172 char *name = "www.gnu.org";
40173 struct hostent ret;
40174 struct hostent_data data;
40175 (void)gethostbyname_r(name, &ret, &data) /* ; */
40181 rm -f conftest.$ac_objext
40182 if { (ac_try="$ac_compile"
40183 case "(($ac_try" in
40184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40185 *) ac_try_echo=$ac_try;;
40187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40188 (eval "$ac_compile") 2>conftest.er1
40190 grep -v '^ *+' conftest.er1 >conftest.err
40192 cat conftest.err >&5
40193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40194 (exit $ac_status); } && {
40195 test -z "$ac_c_werror_flag" ||
40196 test ! -s conftest.err
40197 } && test -s conftest.$ac_objext; then
40198 ac_cv_func_which_gethostbyname_r=three
40200 echo "$as_me: failed program was:" >&5
40201 sed 's/^/| /' conftest.$ac_ext >&5
40206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40210 ################################################################
40215 case "$ac_cv_func_which_gethostbyname_r" in
40217 { echo "$as_me:$LINENO: result: three" >&5
40218 echo "${ECHO_T}three" >&6; }
40219 cat >>confdefs.h <<\_ACEOF
40220 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40226 { echo "$as_me:$LINENO: result: five" >&5
40227 echo "${ECHO_T}five" >&6; }
40228 cat >>confdefs.h <<\_ACEOF
40229 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40235 { echo "$as_me:$LINENO: result: six" >&5
40236 echo "${ECHO_T}six" >&6; }
40237 cat >>confdefs.h <<\_ACEOF
40238 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40244 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40245 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40249 { echo "$as_me:$LINENO: result: can't tell" >&5
40250 echo "${ECHO_T}can't tell" >&6; }
40254 { { echo "$as_me:$LINENO: error: internal error" >&5
40255 echo "$as_me: error: internal error" >&2;}
40256 { (exit 1); exit 1; }; }
40261 ac_cpp='$CPP $CPPFLAGS'
40262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40268 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40269 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40270 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40271 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40272 if test "${ac_cv_func_gethostbyname+set}" = set; then
40273 echo $ECHO_N "(cached) $ECHO_C" >&6
40275 cat >conftest.$ac_ext <<_ACEOF
40278 cat confdefs.h >>conftest.$ac_ext
40279 cat >>conftest.$ac_ext <<_ACEOF
40280 /* end confdefs.h. */
40281 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40283 #define gethostbyname innocuous_gethostbyname
40285 /* System header to define __stub macros and hopefully few prototypes,
40286 which can conflict with char gethostbyname (); below.
40287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40288 <limits.h> exists even on freestanding compilers. */
40291 # include <limits.h>
40293 # include <assert.h>
40296 #undef gethostbyname
40298 /* Override any GCC internal prototype to avoid an error.
40299 Use char because int might match the return type of a GCC
40300 builtin and then its argument prototype would still apply. */
40304 char gethostbyname ();
40305 /* The GNU C library defines this for functions which it implements
40306 to always fail with ENOSYS. Some functions are actually named
40307 something starting with __ and the normal name is an alias. */
40308 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40315 return gethostbyname ();
40320 rm -f conftest.$ac_objext conftest$ac_exeext
40321 if { (ac_try="$ac_link"
40322 case "(($ac_try" in
40323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40324 *) ac_try_echo=$ac_try;;
40326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40327 (eval "$ac_link") 2>conftest.er1
40329 grep -v '^ *+' conftest.er1 >conftest.err
40331 cat conftest.err >&5
40332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40333 (exit $ac_status); } && {
40334 test -z "$ac_c_werror_flag" ||
40335 test ! -s conftest.err
40336 } && test -s conftest$ac_exeext &&
40337 $as_test_x conftest$ac_exeext; then
40338 ac_cv_func_gethostbyname=yes
40340 echo "$as_me: failed program was:" >&5
40341 sed 's/^/| /' conftest.$ac_ext >&5
40343 ac_cv_func_gethostbyname=no
40346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40347 conftest$ac_exeext conftest.$ac_ext
40349 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40350 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40351 if test $ac_cv_func_gethostbyname = yes; then
40352 cat >>confdefs.h <<\_ACEOF
40353 #define HAVE_GETHOSTBYNAME 1
40360 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40361 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40362 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40363 echo $ECHO_N "(cached) $ECHO_C" >&6
40367 ac_cpp='$CXXCPP $CPPFLAGS'
40368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40373 cat >conftest.$ac_ext <<_ACEOF
40376 cat confdefs.h >>conftest.$ac_ext
40377 cat >>conftest.$ac_ext <<_ACEOF
40378 /* end confdefs.h. */
40386 struct servent *se, *res;
40389 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40395 rm -f conftest.$ac_objext
40396 if { (ac_try="$ac_compile"
40397 case "(($ac_try" in
40398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40399 *) ac_try_echo=$ac_try;;
40401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40402 (eval "$ac_compile") 2>conftest.er1
40404 grep -v '^ *+' conftest.er1 >conftest.err
40406 cat conftest.err >&5
40407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40408 (exit $ac_status); } && {
40409 test -z "$ac_cxx_werror_flag" ||
40410 test ! -s conftest.err
40411 } && test -s conftest.$ac_objext; then
40412 ac_cv_func_which_getservbyname_r=six
40414 echo "$as_me: failed program was:" >&5
40415 sed 's/^/| /' conftest.$ac_ext >&5
40418 cat >conftest.$ac_ext <<_ACEOF
40421 cat confdefs.h >>conftest.$ac_ext
40422 cat >>conftest.$ac_ext <<_ACEOF
40423 /* end confdefs.h. */
40431 struct servent *se;
40434 (void) getservbyname_r(name, proto, se, buffer, buflen)
40440 rm -f conftest.$ac_objext
40441 if { (ac_try="$ac_compile"
40442 case "(($ac_try" in
40443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40444 *) ac_try_echo=$ac_try;;
40446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40447 (eval "$ac_compile") 2>conftest.er1
40449 grep -v '^ *+' conftest.er1 >conftest.err
40451 cat conftest.err >&5
40452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40453 (exit $ac_status); } && {
40454 test -z "$ac_cxx_werror_flag" ||
40455 test ! -s conftest.err
40456 } && test -s conftest.$ac_objext; then
40457 ac_cv_func_which_getservbyname_r=five
40459 echo "$as_me: failed program was:" >&5
40460 sed 's/^/| /' conftest.$ac_ext >&5
40463 cat >conftest.$ac_ext <<_ACEOF
40466 cat confdefs.h >>conftest.$ac_ext
40467 cat >>conftest.$ac_ext <<_ACEOF
40468 /* end confdefs.h. */
40476 struct servent *se;
40477 struct servent_data data;
40478 (void) getservbyname_r(name, proto, se, &data);
40484 rm -f conftest.$ac_objext
40485 if { (ac_try="$ac_compile"
40486 case "(($ac_try" in
40487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40488 *) ac_try_echo=$ac_try;;
40490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40491 (eval "$ac_compile") 2>conftest.er1
40493 grep -v '^ *+' conftest.er1 >conftest.err
40495 cat conftest.err >&5
40496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40497 (exit $ac_status); } && {
40498 test -z "$ac_cxx_werror_flag" ||
40499 test ! -s conftest.err
40500 } && test -s conftest.$ac_objext; then
40501 ac_cv_func_which_getservbyname_r=four
40503 echo "$as_me: failed program was:" >&5
40504 sed 's/^/| /' conftest.$ac_ext >&5
40506 ac_cv_func_which_getservbyname_r=no
40510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40522 ac_cpp='$CPP $CPPFLAGS'
40523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40530 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40531 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40533 if test $ac_cv_func_which_getservbyname_r = six; then
40534 cat >>confdefs.h <<\_ACEOF
40535 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40538 elif test $ac_cv_func_which_getservbyname_r = five; then
40539 cat >>confdefs.h <<\_ACEOF
40540 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40543 elif test $ac_cv_func_which_getservbyname_r = four; then
40544 cat >>confdefs.h <<\_ACEOF
40545 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40551 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40552 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40554 for ac_func in getservbyname
40556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40557 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40559 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40560 echo $ECHO_N "(cached) $ECHO_C" >&6
40562 cat >conftest.$ac_ext <<_ACEOF
40565 cat confdefs.h >>conftest.$ac_ext
40566 cat >>conftest.$ac_ext <<_ACEOF
40567 /* end confdefs.h. */
40568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40570 #define $ac_func innocuous_$ac_func
40572 /* System header to define __stub macros and hopefully few prototypes,
40573 which can conflict with char $ac_func (); below.
40574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40575 <limits.h> exists even on freestanding compilers. */
40578 # include <limits.h>
40580 # include <assert.h>
40585 /* Override any GCC internal prototype to avoid an error.
40586 Use char because int might match the return type of a GCC
40587 builtin and then its argument prototype would still apply. */
40592 /* The GNU C library defines this for functions which it implements
40593 to always fail with ENOSYS. Some functions are actually named
40594 something starting with __ and the normal name is an alias. */
40595 #if defined __stub_$ac_func || defined __stub___$ac_func
40602 return $ac_func ();
40607 rm -f conftest.$ac_objext conftest$ac_exeext
40608 if { (ac_try="$ac_link"
40609 case "(($ac_try" in
40610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40611 *) ac_try_echo=$ac_try;;
40613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40614 (eval "$ac_link") 2>conftest.er1
40616 grep -v '^ *+' conftest.er1 >conftest.err
40618 cat conftest.err >&5
40619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40620 (exit $ac_status); } && {
40621 test -z "$ac_c_werror_flag" ||
40622 test ! -s conftest.err
40623 } && test -s conftest$ac_exeext &&
40624 $as_test_x conftest$ac_exeext; then
40625 eval "$as_ac_var=yes"
40627 echo "$as_me: failed program was:" >&5
40628 sed 's/^/| /' conftest.$ac_ext >&5
40630 eval "$as_ac_var=no"
40633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40634 conftest$ac_exeext conftest.$ac_ext
40636 ac_res=`eval echo '${'$as_ac_var'}'`
40637 { echo "$as_me:$LINENO: result: $ac_res" >&5
40638 echo "${ECHO_T}$ac_res" >&6; }
40639 if test `eval echo '${'$as_ac_var'}'` = yes; then
40640 cat >>confdefs.h <<_ACEOF
40641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40643 cat >>confdefs.h <<\_ACEOF
40644 #define HAVE_GETSERVBYNAME 1
40652 if test "$wxUSE_THREADS" = "yes"; then
40653 cat >>confdefs.h <<\_ACEOF
40654 #define wxUSE_THREADS 1
40658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40660 if test "$wx_cv_func_strtok_r" = "yes"; then
40661 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40662 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40663 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40664 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40665 { echo "$as_me:$LINENO: result: yes" >&5
40666 echo "${ECHO_T}yes" >&6; }
40668 { echo "$as_me:$LINENO: result: no" >&5
40669 echo "${ECHO_T}no" >&6; }
40674 if test "$WXGTK2" = 1 ; then
40675 cat >>confdefs.h <<_ACEOF
40676 #define __WXGTK20__ $WXGTK2
40682 if test "$WXGTK12" = 1 ; then
40683 cat >>confdefs.h <<_ACEOF
40684 #define __WXGTK12__ $WXGTK12
40689 if test "$WXGTK127" = 1 ; then
40690 cat >>confdefs.h <<_ACEOF
40691 #define __WXGTK127__ $WXGTK127
40696 if test "$WXGPE" = 1 ; then
40697 cat >>confdefs.h <<_ACEOF
40698 #define __WXGPE__ $WXGPE
40704 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40709 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40710 wxUSE_DEBUG_INFO=yes
40711 if test "$GCC" = yes; then
40712 DEBUG_CFLAGS="-ggdb"
40716 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40717 cat >>confdefs.h <<\_ACEOF
40721 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40723 if test "$wxUSE_GTK" = 1 ; then
40724 if test "x$wxGTK_VERSION" = "x1" ; then
40725 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40730 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40731 cat >>confdefs.h <<\_ACEOF
40732 #define wxUSE_MEMORY_TRACING 1
40735 cat >>confdefs.h <<\_ACEOF
40736 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40739 cat >>confdefs.h <<\_ACEOF
40740 #define wxUSE_DEBUG_NEW_ALWAYS 1
40743 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40746 if test "$wxUSE_DMALLOC" = "yes" ; then
40747 DMALLOC_LIBS="-ldmallocthcxx"
40751 if test "$wxUSE_PROFILE" = "yes" ; then
40752 PROFILE_FLAGS=" -pg"
40755 if test "$GCC" = "yes" ; then
40756 if test "$wxUSE_NO_RTTI" = "yes" ; then
40757 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40759 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40760 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40762 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40763 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40768 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40771 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40777 if test "$wxUSE_OPTIMISE" = "no" ; then
40778 if test "$GCC" = yes ; then
40779 OPTIMISE_CFLAGS="-O0"
40782 if test "$GCC" = yes ; then
40784 *-pc-os2_emx | *-pc-os2-emx )
40785 OPTIMISE_CFLAGS="-O2"
40788 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40792 OPTIMISE_CFLAGS="-O"
40797 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40798 cat >>confdefs.h <<\_ACEOF
40799 #define WXWIN_COMPATIBILITY_2_6 1
40803 WXWIN_COMPATIBILITY_2_8="yes"
40806 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40807 cat >>confdefs.h <<\_ACEOF
40808 #define WXWIN_COMPATIBILITY_2_8 1
40814 if test "$wxUSE_GUI" = "yes"; then
40815 cat >>confdefs.h <<\_ACEOF
40816 #define wxUSE_GUI 1
40823 if test "$wxUSE_UNIX" = "yes"; then
40824 cat >>confdefs.h <<\_ACEOF
40825 #define wxUSE_UNIX 1
40831 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40835 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40836 if test "$USE_DARWIN" = 1; then
40838 elif test "$USE_DOS" = 1; then
40842 for ac_func in dlopen
40844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40845 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40847 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40848 echo $ECHO_N "(cached) $ECHO_C" >&6
40850 cat >conftest.$ac_ext <<_ACEOF
40853 cat confdefs.h >>conftest.$ac_ext
40854 cat >>conftest.$ac_ext <<_ACEOF
40855 /* end confdefs.h. */
40856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40858 #define $ac_func innocuous_$ac_func
40860 /* System header to define __stub macros and hopefully few prototypes,
40861 which can conflict with char $ac_func (); below.
40862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40863 <limits.h> exists even on freestanding compilers. */
40866 # include <limits.h>
40868 # include <assert.h>
40873 /* Override any GCC internal prototype to avoid an error.
40874 Use char because int might match the return type of a GCC
40875 builtin and then its argument prototype would still apply. */
40880 /* The GNU C library defines this for functions which it implements
40881 to always fail with ENOSYS. Some functions are actually named
40882 something starting with __ and the normal name is an alias. */
40883 #if defined __stub_$ac_func || defined __stub___$ac_func
40890 return $ac_func ();
40895 rm -f conftest.$ac_objext conftest$ac_exeext
40896 if { (ac_try="$ac_link"
40897 case "(($ac_try" in
40898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40899 *) ac_try_echo=$ac_try;;
40901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40902 (eval "$ac_link") 2>conftest.er1
40904 grep -v '^ *+' conftest.er1 >conftest.err
40906 cat conftest.err >&5
40907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40908 (exit $ac_status); } && {
40909 test -z "$ac_c_werror_flag" ||
40910 test ! -s conftest.err
40911 } && test -s conftest$ac_exeext &&
40912 $as_test_x conftest$ac_exeext; then
40913 eval "$as_ac_var=yes"
40915 echo "$as_me: failed program was:" >&5
40916 sed 's/^/| /' conftest.$ac_ext >&5
40918 eval "$as_ac_var=no"
40921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40922 conftest$ac_exeext conftest.$ac_ext
40924 ac_res=`eval echo '${'$as_ac_var'}'`
40925 { echo "$as_me:$LINENO: result: $ac_res" >&5
40926 echo "${ECHO_T}$ac_res" >&6; }
40927 if test `eval echo '${'$as_ac_var'}'` = yes; then
40928 cat >>confdefs.h <<_ACEOF
40929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40932 cat >>confdefs.h <<\_ACEOF
40933 #define HAVE_DLOPEN 1
40940 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40941 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40942 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40943 echo $ECHO_N "(cached) $ECHO_C" >&6
40945 ac_check_lib_save_LIBS=$LIBS
40947 cat >conftest.$ac_ext <<_ACEOF
40950 cat confdefs.h >>conftest.$ac_ext
40951 cat >>conftest.$ac_ext <<_ACEOF
40952 /* end confdefs.h. */
40954 /* Override any GCC internal prototype to avoid an error.
40955 Use char because int might match the return type of a GCC
40956 builtin and then its argument prototype would still apply. */
40969 rm -f conftest.$ac_objext conftest$ac_exeext
40970 if { (ac_try="$ac_link"
40971 case "(($ac_try" in
40972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40973 *) ac_try_echo=$ac_try;;
40975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40976 (eval "$ac_link") 2>conftest.er1
40978 grep -v '^ *+' conftest.er1 >conftest.err
40980 cat conftest.err >&5
40981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40982 (exit $ac_status); } && {
40983 test -z "$ac_c_werror_flag" ||
40984 test ! -s conftest.err
40985 } && test -s conftest$ac_exeext &&
40986 $as_test_x conftest$ac_exeext; then
40987 ac_cv_lib_dl_dlopen=yes
40989 echo "$as_me: failed program was:" >&5
40990 sed 's/^/| /' conftest.$ac_ext >&5
40992 ac_cv_lib_dl_dlopen=no
40995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40996 conftest$ac_exeext conftest.$ac_ext
40997 LIBS=$ac_check_lib_save_LIBS
40999 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41000 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41001 if test $ac_cv_lib_dl_dlopen = yes; then
41003 cat >>confdefs.h <<\_ACEOF
41004 #define HAVE_DLOPEN 1
41008 DL_LINK=" -ldl$DL_LINK"
41013 for ac_func in shl_load
41015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41016 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41018 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41019 echo $ECHO_N "(cached) $ECHO_C" >&6
41021 cat >conftest.$ac_ext <<_ACEOF
41024 cat confdefs.h >>conftest.$ac_ext
41025 cat >>conftest.$ac_ext <<_ACEOF
41026 /* end confdefs.h. */
41027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41029 #define $ac_func innocuous_$ac_func
41031 /* System header to define __stub macros and hopefully few prototypes,
41032 which can conflict with char $ac_func (); below.
41033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41034 <limits.h> exists even on freestanding compilers. */
41037 # include <limits.h>
41039 # include <assert.h>
41044 /* Override any GCC internal prototype to avoid an error.
41045 Use char because int might match the return type of a GCC
41046 builtin and then its argument prototype would still apply. */
41051 /* The GNU C library defines this for functions which it implements
41052 to always fail with ENOSYS. Some functions are actually named
41053 something starting with __ and the normal name is an alias. */
41054 #if defined __stub_$ac_func || defined __stub___$ac_func
41061 return $ac_func ();
41066 rm -f conftest.$ac_objext conftest$ac_exeext
41067 if { (ac_try="$ac_link"
41068 case "(($ac_try" in
41069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41070 *) ac_try_echo=$ac_try;;
41072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41073 (eval "$ac_link") 2>conftest.er1
41075 grep -v '^ *+' conftest.er1 >conftest.err
41077 cat conftest.err >&5
41078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41079 (exit $ac_status); } && {
41080 test -z "$ac_c_werror_flag" ||
41081 test ! -s conftest.err
41082 } && test -s conftest$ac_exeext &&
41083 $as_test_x conftest$ac_exeext; then
41084 eval "$as_ac_var=yes"
41086 echo "$as_me: failed program was:" >&5
41087 sed 's/^/| /' conftest.$ac_ext >&5
41089 eval "$as_ac_var=no"
41092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41093 conftest$ac_exeext conftest.$ac_ext
41095 ac_res=`eval echo '${'$as_ac_var'}'`
41096 { echo "$as_me:$LINENO: result: $ac_res" >&5
41097 echo "${ECHO_T}$ac_res" >&6; }
41098 if test `eval echo '${'$as_ac_var'}'` = yes; then
41099 cat >>confdefs.h <<_ACEOF
41100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41103 cat >>confdefs.h <<\_ACEOF
41104 #define HAVE_SHL_LOAD 1
41111 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41112 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41113 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41114 echo $ECHO_N "(cached) $ECHO_C" >&6
41116 ac_check_lib_save_LIBS=$LIBS
41117 LIBS="-lshl_load $LIBS"
41118 cat >conftest.$ac_ext <<_ACEOF
41121 cat confdefs.h >>conftest.$ac_ext
41122 cat >>conftest.$ac_ext <<_ACEOF
41123 /* end confdefs.h. */
41125 /* Override any GCC internal prototype to avoid an error.
41126 Use char because int might match the return type of a GCC
41127 builtin and then its argument prototype would still apply. */
41140 rm -f conftest.$ac_objext conftest$ac_exeext
41141 if { (ac_try="$ac_link"
41142 case "(($ac_try" in
41143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41144 *) ac_try_echo=$ac_try;;
41146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41147 (eval "$ac_link") 2>conftest.er1
41149 grep -v '^ *+' conftest.er1 >conftest.err
41151 cat conftest.err >&5
41152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41153 (exit $ac_status); } && {
41154 test -z "$ac_c_werror_flag" ||
41155 test ! -s conftest.err
41156 } && test -s conftest$ac_exeext &&
41157 $as_test_x conftest$ac_exeext; then
41158 ac_cv_lib_shl_load_dld=yes
41160 echo "$as_me: failed program was:" >&5
41161 sed 's/^/| /' conftest.$ac_ext >&5
41163 ac_cv_lib_shl_load_dld=no
41166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41167 conftest$ac_exeext conftest.$ac_ext
41168 LIBS=$ac_check_lib_save_LIBS
41170 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41171 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41172 if test $ac_cv_lib_shl_load_dld = yes; then
41175 DL_LINK=" -ldld$DL_LINK"
41191 if test "$HAVE_DL_FUNCS" = 1; then
41193 for ac_func in dlerror
41195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41196 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41198 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41199 echo $ECHO_N "(cached) $ECHO_C" >&6
41201 cat >conftest.$ac_ext <<_ACEOF
41204 cat confdefs.h >>conftest.$ac_ext
41205 cat >>conftest.$ac_ext <<_ACEOF
41206 /* end confdefs.h. */
41207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41209 #define $ac_func innocuous_$ac_func
41211 /* System header to define __stub macros and hopefully few prototypes,
41212 which can conflict with char $ac_func (); below.
41213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41214 <limits.h> exists even on freestanding compilers. */
41217 # include <limits.h>
41219 # include <assert.h>
41224 /* Override any GCC internal prototype to avoid an error.
41225 Use char because int might match the return type of a GCC
41226 builtin and then its argument prototype would still apply. */
41231 /* The GNU C library defines this for functions which it implements
41232 to always fail with ENOSYS. Some functions are actually named
41233 something starting with __ and the normal name is an alias. */
41234 #if defined __stub_$ac_func || defined __stub___$ac_func
41241 return $ac_func ();
41246 rm -f conftest.$ac_objext conftest$ac_exeext
41247 if { (ac_try="$ac_link"
41248 case "(($ac_try" in
41249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41250 *) ac_try_echo=$ac_try;;
41252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41253 (eval "$ac_link") 2>conftest.er1
41255 grep -v '^ *+' conftest.er1 >conftest.err
41257 cat conftest.err >&5
41258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41259 (exit $ac_status); } && {
41260 test -z "$ac_c_werror_flag" ||
41261 test ! -s conftest.err
41262 } && test -s conftest$ac_exeext &&
41263 $as_test_x conftest$ac_exeext; then
41264 eval "$as_ac_var=yes"
41266 echo "$as_me: failed program was:" >&5
41267 sed 's/^/| /' conftest.$ac_ext >&5
41269 eval "$as_ac_var=no"
41272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41273 conftest$ac_exeext conftest.$ac_ext
41275 ac_res=`eval echo '${'$as_ac_var'}'`
41276 { echo "$as_me:$LINENO: result: $ac_res" >&5
41277 echo "${ECHO_T}$ac_res" >&6; }
41278 if test `eval echo '${'$as_ac_var'}'` = yes; then
41279 cat >>confdefs.h <<_ACEOF
41280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41282 cat >>confdefs.h <<\_ACEOF
41283 #define HAVE_DLERROR 1
41288 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41289 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41290 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41291 echo $ECHO_N "(cached) $ECHO_C" >&6
41293 ac_check_lib_save_LIBS=$LIBS
41295 cat >conftest.$ac_ext <<_ACEOF
41298 cat confdefs.h >>conftest.$ac_ext
41299 cat >>conftest.$ac_ext <<_ACEOF
41300 /* end confdefs.h. */
41302 /* Override any GCC internal prototype to avoid an error.
41303 Use char because int might match the return type of a GCC
41304 builtin and then its argument prototype would still apply. */
41317 rm -f conftest.$ac_objext conftest$ac_exeext
41318 if { (ac_try="$ac_link"
41319 case "(($ac_try" in
41320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41321 *) ac_try_echo=$ac_try;;
41323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41324 (eval "$ac_link") 2>conftest.er1
41326 grep -v '^ *+' conftest.er1 >conftest.err
41328 cat conftest.err >&5
41329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41330 (exit $ac_status); } && {
41331 test -z "$ac_c_werror_flag" ||
41332 test ! -s conftest.err
41333 } && test -s conftest$ac_exeext &&
41334 $as_test_x conftest$ac_exeext; then
41335 ac_cv_lib_dl_dlerror=yes
41337 echo "$as_me: failed program was:" >&5
41338 sed 's/^/| /' conftest.$ac_ext >&5
41340 ac_cv_lib_dl_dlerror=no
41343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41344 conftest$ac_exeext conftest.$ac_ext
41345 LIBS=$ac_check_lib_save_LIBS
41347 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41348 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41349 if test $ac_cv_lib_dl_dlerror = yes; then
41350 cat >>confdefs.h <<\_ACEOF
41351 #define HAVE_DLERROR 1
41364 if test "$HAVE_DL_FUNCS" = 0; then
41365 if test "$HAVE_SHL_FUNCS" = 0; then
41366 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41367 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41368 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41369 wxUSE_DYNAMIC_LOADER=no
41370 wxUSE_DYNLIB_CLASS=no
41372 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41373 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41380 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41381 cat >>confdefs.h <<\_ACEOF
41382 #define wxUSE_DYNAMIC_LOADER 1
41386 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41387 cat >>confdefs.h <<\_ACEOF
41388 #define wxUSE_DYNLIB_CLASS 1
41395 if test "$wxUSE_PLUGINS" = "yes" ; then
41396 if test "$wxUSE_SHARED" = "no" ; then
41397 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41398 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41401 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41402 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41403 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41406 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41407 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41408 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41411 if test "$wxUSE_PLUGINS" = "yes" ; then
41412 cat >>confdefs.h <<\_ACEOF
41413 #define wxUSE_PLUGINS 1
41420 if test "$wxUSE_STL" = "yes"; then
41421 cat >>confdefs.h <<\_ACEOF
41422 #define wxUSE_STL 1
41427 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41428 cat >>confdefs.h <<\_ACEOF
41429 #define wxUSE_EXTENDED_RTTI 1
41434 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41435 cat >>confdefs.h <<\_ACEOF
41436 #define wxUSE_APPLE_IEEE 1
41441 if test "$wxUSE_TIMER" = "yes"; then
41442 cat >>confdefs.h <<\_ACEOF
41443 #define wxUSE_TIMER 1
41448 if test "$USE_UNIX" = 1 ; then
41449 if test "$wxUSE_MGL" != 1; then
41450 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41451 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41452 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41453 echo $ECHO_N "(cached) $ECHO_C" >&6
41456 cat >conftest.$ac_ext <<_ACEOF
41459 cat confdefs.h >>conftest.$ac_ext
41460 cat >>conftest.$ac_ext <<_ACEOF
41461 /* end confdefs.h. */
41463 #include <sys/ioctl.h>
41464 #include <sys/soundcard.h>
41470 ioctl(0, SNDCTL_DSP_SPEED, 0);
41476 rm -f conftest.$ac_objext conftest$ac_exeext
41477 if { (ac_try="$ac_link"
41478 case "(($ac_try" in
41479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41480 *) ac_try_echo=$ac_try;;
41482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41483 (eval "$ac_link") 2>conftest.er1
41485 grep -v '^ *+' conftest.er1 >conftest.err
41487 cat conftest.err >&5
41488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41489 (exit $ac_status); } && {
41490 test -z "$ac_c_werror_flag" ||
41491 test ! -s conftest.err
41492 } && test -s conftest$ac_exeext &&
41493 $as_test_x conftest$ac_exeext; then
41494 ac_cv_header_sys_soundcard=yes
41496 echo "$as_me: failed program was:" >&5
41497 sed 's/^/| /' conftest.$ac_ext >&5
41501 LIBS="$saveLibs -lossaudio"
41502 cat >conftest.$ac_ext <<_ACEOF
41505 cat confdefs.h >>conftest.$ac_ext
41506 cat >>conftest.$ac_ext <<_ACEOF
41507 /* end confdefs.h. */
41509 #include <sys/ioctl.h>
41510 #include <sys/soundcard.h>
41516 ioctl(0, SNDCTL_DSP_SPEED, 0);
41522 rm -f conftest.$ac_objext conftest$ac_exeext
41523 if { (ac_try="$ac_link"
41524 case "(($ac_try" in
41525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41526 *) ac_try_echo=$ac_try;;
41528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41529 (eval "$ac_link") 2>conftest.er1
41531 grep -v '^ *+' conftest.er1 >conftest.err
41533 cat conftest.err >&5
41534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41535 (exit $ac_status); } && {
41536 test -z "$ac_c_werror_flag" ||
41537 test ! -s conftest.err
41538 } && test -s conftest$ac_exeext &&
41539 $as_test_x conftest$ac_exeext; then
41540 ac_cv_header_sys_soundcard=yes
41542 echo "$as_me: failed program was:" >&5
41543 sed 's/^/| /' conftest.$ac_ext >&5
41547 ac_cv_header_sys_soundcard=no
41552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41553 conftest$ac_exeext conftest.$ac_ext
41558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41559 conftest$ac_exeext conftest.$ac_ext
41562 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41563 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41566 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41567 cat >>confdefs.h <<\_ACEOF
41568 #define HAVE_SYS_SOUNDCARD_H 1
41575 if test "$wxUSE_SOUND" = "yes"; then
41576 if test "$USE_UNIX" = 1 ; then
41577 if test "$wxUSE_LIBSDL" != "no"; then
41579 # Check whether --with-sdl-prefix was given.
41580 if test "${with_sdl_prefix+set}" = set; then
41581 withval=$with_sdl_prefix; sdl_prefix="$withval"
41587 # Check whether --with-sdl-exec-prefix was given.
41588 if test "${with_sdl_exec_prefix+set}" = set; then
41589 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41594 # Check whether --enable-sdltest was given.
41595 if test "${enable_sdltest+set}" = set; then
41596 enableval=$enable_sdltest;
41602 if test x$sdl_exec_prefix != x ; then
41603 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41604 if test x${SDL_CONFIG+set} != xset ; then
41605 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41608 if test x$sdl_prefix != x ; then
41609 sdl_args="$sdl_args --prefix=$sdl_prefix"
41610 if test x${SDL_CONFIG+set} != xset ; then
41611 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41615 if test "x$prefix" != xNONE; then
41616 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41618 # Extract the first word of "sdl-config", so it can be a program name with args.
41619 set dummy sdl-config; ac_word=$2
41620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41622 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41623 echo $ECHO_N "(cached) $ECHO_C" >&6
41625 case $SDL_CONFIG in
41627 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41631 for as_dir in $PATH
41634 test -z "$as_dir" && as_dir=.
41635 for ac_exec_ext in '' $ac_executable_extensions; do
41636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41637 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41645 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41649 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41650 if test -n "$SDL_CONFIG"; then
41651 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41652 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41654 { echo "$as_me:$LINENO: result: no" >&5
41655 echo "${ECHO_T}no" >&6; }
41659 min_sdl_version=1.2.0
41660 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41661 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41663 if test "$SDL_CONFIG" = "no" ; then
41666 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41667 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41669 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41670 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41671 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41672 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41673 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41674 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41675 if test "x$enable_sdltest" = "xyes" ; then
41676 ac_save_CFLAGS="$CFLAGS"
41677 ac_save_CXXFLAGS="$CXXFLAGS"
41678 ac_save_LIBS="$LIBS"
41679 CFLAGS="$CFLAGS $SDL_CFLAGS"
41680 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41681 LIBS="$LIBS $SDL_LIBS"
41683 if test "$cross_compiling" = yes; then
41684 echo $ac_n "cross compiling; assumed OK... $ac_c"
41686 cat >conftest.$ac_ext <<_ACEOF
41689 cat confdefs.h >>conftest.$ac_ext
41690 cat >>conftest.$ac_ext <<_ACEOF
41691 /* end confdefs.h. */
41694 #include <stdlib.h>
41695 #include <string.h>
41699 my_strdup (char *str)
41705 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41706 strcpy (new_str, str);
41714 int main (int argc, char *argv[])
41716 int major, minor, micro;
41719 /* This hangs on some systems (?)
41720 system ("touch conf.sdltest");
41722 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41724 /* HP/UX 9 (%@#!) writes to sscanf strings */
41725 tmp_version = my_strdup("$min_sdl_version");
41726 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41727 printf("%s, bad version string\n", "$min_sdl_version");
41731 if (($sdl_major_version > major) ||
41732 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41733 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41739 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41740 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41741 printf("*** best to upgrade to the required version.\n");
41742 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41743 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41744 printf("*** config.cache before re-running configure\n");
41751 rm -f conftest$ac_exeext
41752 if { (ac_try="$ac_link"
41753 case "(($ac_try" in
41754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41755 *) ac_try_echo=$ac_try;;
41757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41758 (eval "$ac_link") 2>&5
41760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41761 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41762 { (case "(($ac_try" in
41763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41764 *) ac_try_echo=$ac_try;;
41766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41767 (eval "$ac_try") 2>&5
41769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41770 (exit $ac_status); }; }; then
41773 echo "$as_me: program exited with status $ac_status" >&5
41774 echo "$as_me: failed program was:" >&5
41775 sed 's/^/| /' conftest.$ac_ext >&5
41777 ( exit $ac_status )
41780 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41784 CFLAGS="$ac_save_CFLAGS"
41785 CXXFLAGS="$ac_save_CXXFLAGS"
41786 LIBS="$ac_save_LIBS"
41789 if test "x$no_sdl" = x ; then
41790 { echo "$as_me:$LINENO: result: yes" >&5
41791 echo "${ECHO_T}yes" >&6; }
41793 EXTRALIBS_SDL="$SDL_LIBS"
41794 CFLAGS="$SDL_CFLAGS $CFLAGS"
41795 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41796 cat >>confdefs.h <<\_ACEOF
41797 #define wxUSE_LIBSDL 1
41802 { echo "$as_me:$LINENO: result: no" >&5
41803 echo "${ECHO_T}no" >&6; }
41804 if test "$SDL_CONFIG" = "no" ; then
41805 echo "*** The sdl-config script installed by SDL could not be found"
41806 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41807 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41808 echo "*** full path to sdl-config."
41810 if test -f conf.sdltest ; then
41813 echo "*** Could not run SDL test program, checking why..."
41814 CFLAGS="$CFLAGS $SDL_CFLAGS"
41815 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41816 LIBS="$LIBS $SDL_LIBS"
41817 cat >conftest.$ac_ext <<_ACEOF
41820 cat confdefs.h >>conftest.$ac_ext
41821 cat >>conftest.$ac_ext <<_ACEOF
41822 /* end confdefs.h. */
41827 int main(int argc, char *argv[])
41830 #define main K_and_R_C_main
41840 rm -f conftest.$ac_objext conftest$ac_exeext
41841 if { (ac_try="$ac_link"
41842 case "(($ac_try" in
41843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41844 *) ac_try_echo=$ac_try;;
41846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41847 (eval "$ac_link") 2>conftest.er1
41849 grep -v '^ *+' conftest.er1 >conftest.err
41851 cat conftest.err >&5
41852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41853 (exit $ac_status); } && {
41854 test -z "$ac_c_werror_flag" ||
41855 test ! -s conftest.err
41856 } && test -s conftest$ac_exeext &&
41857 $as_test_x conftest$ac_exeext; then
41858 echo "*** The test program compiled, but did not run. This usually means"
41859 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41860 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41861 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41862 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41863 echo "*** is required on your system"
41865 echo "*** If you have an old version installed, it is best to remove it, although"
41866 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41868 echo "$as_me: failed program was:" >&5
41869 sed 's/^/| /' conftest.$ac_ext >&5
41871 echo "*** The test program failed to compile or link. See the file config.log for the"
41872 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41873 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41874 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41878 conftest$ac_exeext conftest.$ac_ext
41879 CFLAGS="$ac_save_CFLAGS"
41880 CXXFLAGS="$ac_save_CXXFLAGS"
41881 LIBS="$ac_save_LIBS"
41892 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41897 if test "$wxUSE_MGL" = 1; then
41898 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41899 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41905 if test "$wxUSE_SOUND" = "yes"; then
41906 cat >>confdefs.h <<\_ACEOF
41907 #define wxUSE_SOUND 1
41910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41913 if test "$WXGTK2" = 1; then
41916 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41917 if test -n "$ac_tool_prefix"; then
41918 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41919 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41920 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41922 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41923 echo $ECHO_N "(cached) $ECHO_C" >&6
41925 case $PKG_CONFIG in
41927 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41931 for as_dir in $PATH
41934 test -z "$as_dir" && as_dir=.
41935 for ac_exec_ext in '' $ac_executable_extensions; do
41936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41937 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41948 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41949 if test -n "$PKG_CONFIG"; then
41950 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41951 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41953 { echo "$as_me:$LINENO: result: no" >&5
41954 echo "${ECHO_T}no" >&6; }
41959 if test -z "$ac_cv_path_PKG_CONFIG"; then
41960 ac_pt_PKG_CONFIG=$PKG_CONFIG
41961 # Extract the first word of "pkg-config", so it can be a program name with args.
41962 set dummy pkg-config; ac_word=$2
41963 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41965 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41966 echo $ECHO_N "(cached) $ECHO_C" >&6
41968 case $ac_pt_PKG_CONFIG in
41970 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41974 for as_dir in $PATH
41977 test -z "$as_dir" && as_dir=.
41978 for ac_exec_ext in '' $ac_executable_extensions; do
41979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41980 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41991 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41992 if test -n "$ac_pt_PKG_CONFIG"; then
41993 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41994 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41996 { echo "$as_me:$LINENO: result: no" >&5
41997 echo "${ECHO_T}no" >&6; }
42000 if test "x$ac_pt_PKG_CONFIG" = x; then
42003 case $cross_compiling:$ac_tool_warned in
42005 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42006 whose name does not start with the host triplet. If you think this
42007 configuration is useful to you, please write to autoconf@gnu.org." >&5
42008 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42009 whose name does not start with the host triplet. If you think this
42010 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42011 ac_tool_warned=yes ;;
42013 PKG_CONFIG=$ac_pt_PKG_CONFIG
42016 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42020 if test -n "$PKG_CONFIG"; then
42021 _pkg_min_version=0.9.0
42022 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42023 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42024 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42025 { echo "$as_me:$LINENO: result: yes" >&5
42026 echo "${ECHO_T}yes" >&6; }
42028 { echo "$as_me:$LINENO: result: no" >&5
42029 echo "${ECHO_T}no" >&6; }
42035 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42037 if test "$wxUSE_GTKPRINT" = "yes" ; then
42041 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42042 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42044 if test -n "$PKG_CONFIG"; then
42045 if test -n "$GTKPRINT_CFLAGS"; then
42046 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42048 if test -n "$PKG_CONFIG" && \
42049 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42050 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42053 (exit $ac_status); }; then
42054 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42062 if test -n "$PKG_CONFIG"; then
42063 if test -n "$GTKPRINT_LIBS"; then
42064 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42066 if test -n "$PKG_CONFIG" && \
42067 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42068 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42071 (exit $ac_status); }; then
42072 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42083 if test $pkg_failed = yes; then
42085 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42086 _pkg_short_errors_supported=yes
42088 _pkg_short_errors_supported=no
42090 if test $_pkg_short_errors_supported = yes; then
42091 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42093 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42095 # Put the nasty error message in config.log where it belongs
42096 echo "$GTKPRINT_PKG_ERRORS" >&5
42099 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42100 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42101 wxUSE_GTKPRINT="no"
42104 elif test $pkg_failed = untried; then
42106 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42107 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42108 wxUSE_GTKPRINT="no"
42112 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42113 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42114 { echo "$as_me:$LINENO: result: yes" >&5
42115 echo "${ECHO_T}yes" >&6; }
42117 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42118 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42119 cat >>confdefs.h <<\_ACEOF
42120 #define wxUSE_GTKPRINT 1
42127 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42131 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42132 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42134 if test -n "$PKG_CONFIG"; then
42135 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42136 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42138 if test -n "$PKG_CONFIG" && \
42139 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42140 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42143 (exit $ac_status); }; then
42144 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42152 if test -n "$PKG_CONFIG"; then
42153 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42154 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42156 if test -n "$PKG_CONFIG" && \
42157 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42158 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42161 (exit $ac_status); }; then
42162 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42173 if test $pkg_failed = yes; then
42175 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42176 _pkg_short_errors_supported=yes
42178 _pkg_short_errors_supported=no
42180 if test $_pkg_short_errors_supported = yes; then
42181 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42183 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42185 # Put the nasty error message in config.log where it belongs
42186 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42189 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42190 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42191 wxUSE_LIBGNOMEPRINT="no"
42194 elif test $pkg_failed = untried; then
42196 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42197 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42198 wxUSE_LIBGNOMEPRINT="no"
42202 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42203 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42204 { echo "$as_me:$LINENO: result: yes" >&5
42205 echo "${ECHO_T}yes" >&6; }
42207 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42208 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42209 cat >>confdefs.h <<\_ACEOF
42210 #define wxUSE_LIBGNOMEPRINT 1
42218 if test "$wxUSE_MIMETYPE" = "yes" ; then
42219 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42223 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42224 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42226 if test -n "$PKG_CONFIG"; then
42227 if test -n "$GNOMEVFS_CFLAGS"; then
42228 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42230 if test -n "$PKG_CONFIG" && \
42231 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42232 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42235 (exit $ac_status); }; then
42236 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42244 if test -n "$PKG_CONFIG"; then
42245 if test -n "$GNOMEVFS_LIBS"; then
42246 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42248 if test -n "$PKG_CONFIG" && \
42249 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42250 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42253 (exit $ac_status); }; then
42254 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42265 if test $pkg_failed = yes; then
42267 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42268 _pkg_short_errors_supported=yes
42270 _pkg_short_errors_supported=no
42272 if test $_pkg_short_errors_supported = yes; then
42273 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42275 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42277 # Put the nasty error message in config.log where it belongs
42278 echo "$GNOMEVFS_PKG_ERRORS" >&5
42281 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42282 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42283 wxUSE_LIBGNOMEVFS="no"
42286 elif test $pkg_failed = untried; then
42288 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42289 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42290 wxUSE_LIBGNOMEVFS="no"
42294 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42295 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42296 { echo "$as_me:$LINENO: result: yes" >&5
42297 echo "${ECHO_T}yes" >&6; }
42299 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42300 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42301 cat >>confdefs.h <<\_ACEOF
42302 #define wxUSE_LIBGNOMEVFS 1
42310 if test "$wxUSE_LIBHILDON" = "yes" ; then
42313 { echo "$as_me:$LINENO: checking for HILDON" >&5
42314 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42316 if test -n "$PKG_CONFIG"; then
42317 if test -n "$HILDON_CFLAGS"; then
42318 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42320 if test -n "$PKG_CONFIG" && \
42321 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42322 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42325 (exit $ac_status); }; then
42326 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42334 if test -n "$PKG_CONFIG"; then
42335 if test -n "$HILDON_LIBS"; then
42336 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42338 if test -n "$PKG_CONFIG" && \
42339 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42340 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42343 (exit $ac_status); }; then
42344 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42355 if test $pkg_failed = yes; then
42357 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42358 _pkg_short_errors_supported=yes
42360 _pkg_short_errors_supported=no
42362 if test $_pkg_short_errors_supported = yes; then
42363 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42365 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42367 # Put the nasty error message in config.log where it belongs
42368 echo "$HILDON_PKG_ERRORS" >&5
42371 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42372 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42373 wxUSE_LIBHILDON="no"
42376 elif test $pkg_failed = untried; then
42378 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42379 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42380 wxUSE_LIBHILDON="no"
42384 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42385 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42386 { echo "$as_me:$LINENO: result: yes" >&5
42387 echo "${ECHO_T}yes" >&6; }
42389 EXTRALIBS_HILDON="$HILDON_LIBS"
42390 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42391 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42392 cat >>confdefs.h <<\_ACEOF
42393 #define wxUSE_LIBHILDON 1
42401 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42402 cat >>confdefs.h <<\_ACEOF
42403 #define wxUSE_CMDLINE_PARSER 1
42408 if test "$wxUSE_STOPWATCH" = "yes"; then
42409 cat >>confdefs.h <<\_ACEOF
42410 #define wxUSE_STOPWATCH 1
42415 if test "$wxUSE_DATETIME" = "yes"; then
42416 cat >>confdefs.h <<\_ACEOF
42417 #define wxUSE_DATETIME 1
42422 if test "$wxUSE_FILE" = "yes"; then
42423 cat >>confdefs.h <<\_ACEOF
42424 #define wxUSE_FILE 1
42429 if test "$wxUSE_FFILE" = "yes"; then
42430 cat >>confdefs.h <<\_ACEOF
42431 #define wxUSE_FFILE 1
42436 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42437 if test "$wxUSE_STREAMS" != yes; then
42438 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42439 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42440 wxUSE_ARCHIVE_STREAMS=no
42442 cat >>confdefs.h <<\_ACEOF
42443 #define wxUSE_ARCHIVE_STREAMS 1
42449 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42450 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42451 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42452 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42453 elif test "$wxUSE_ZLIB" = "no"; then
42454 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42455 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42457 cat >>confdefs.h <<\_ACEOF
42458 #define wxUSE_ZIPSTREAM 1
42464 if test "$wxUSE_TARSTREAM" = "yes"; then
42465 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42466 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42467 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42469 cat >>confdefs.h <<\_ACEOF
42470 #define wxUSE_TARSTREAM 1
42476 if test "$wxUSE_FILESYSTEM" = "yes"; then
42477 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42478 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42479 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42480 wxUSE_FILESYSTEM=no
42482 cat >>confdefs.h <<\_ACEOF
42483 #define wxUSE_FILESYSTEM 1
42489 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42490 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42491 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42492 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42494 cat >>confdefs.h <<\_ACEOF
42495 #define wxUSE_FS_ARCHIVE 1
42501 if test "$wxUSE_FS_ZIP" = "yes"; then
42502 if test "$wxUSE_FS_ARCHIVE" != yes; then
42503 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42504 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42506 cat >>confdefs.h <<\_ACEOF
42507 #define wxUSE_FS_ZIP 1
42513 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42514 if test "$USE_UNIX" != 1; then
42515 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42516 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42517 wxUSE_ON_FATAL_EXCEPTION=no
42519 cat >>confdefs.h <<\_ACEOF
42520 #define wxUSE_ON_FATAL_EXCEPTION 1
42526 if test "$wxUSE_STACKWALKER" = "yes"; then
42527 cat >>confdefs.h <<\_ACEOF
42528 #define wxUSE_STACKWALKER 1
42533 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42534 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42535 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42536 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42537 wxUSE_DEBUGREPORT=no
42539 cat >>confdefs.h <<\_ACEOF
42540 #define wxUSE_DEBUGREPORT 1
42543 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42549 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42550 cat >>confdefs.h <<\_ACEOF
42551 #define wxUSE_SNGLINST_CHECKER 1
42556 if test "$wxUSE_BUSYINFO" = "yes"; then
42557 cat >>confdefs.h <<\_ACEOF
42558 #define wxUSE_BUSYINFO 1
42563 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42564 cat >>confdefs.h <<\_ACEOF
42565 #define wxUSE_STD_IOSTREAM 1
42570 if test "$wxUSE_STD_STRING" = "yes"; then
42571 cat >>confdefs.h <<\_ACEOF
42572 #define wxUSE_STD_STRING 1
42577 if test "$wxUSE_STDPATHS" = "yes"; then
42578 cat >>confdefs.h <<\_ACEOF
42579 #define wxUSE_STDPATHS 1
42584 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42585 cat >>confdefs.h <<\_ACEOF
42586 #define wxUSE_TEXTBUFFER 1
42591 if test "$wxUSE_TEXTFILE" = "yes"; then
42592 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42593 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42594 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42596 cat >>confdefs.h <<\_ACEOF
42597 #define wxUSE_TEXTFILE 1
42603 if test "$wxUSE_CONFIG" = "yes" ; then
42604 if test "$wxUSE_TEXTFILE" != "yes"; then
42605 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42606 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42608 cat >>confdefs.h <<\_ACEOF
42609 #define wxUSE_CONFIG 1
42612 cat >>confdefs.h <<\_ACEOF
42613 #define wxUSE_CONFIG_NATIVE 1
42616 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42620 if test "$wxUSE_INTL" = "yes" ; then
42621 if test "$wxUSE_FILE" != "yes"; then
42622 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42623 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42625 cat >>confdefs.h <<\_ACEOF
42626 #define wxUSE_INTL 1
42629 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42630 GUIDIST="$GUIDIST INTL_DIST"
42634 if test "$wxUSE_LOG" = "yes"; then
42635 cat >>confdefs.h <<\_ACEOF
42636 #define wxUSE_LOG 1
42640 if test "$wxUSE_LOGGUI" = "yes"; then
42641 cat >>confdefs.h <<\_ACEOF
42642 #define wxUSE_LOGGUI 1
42647 if test "$wxUSE_LOGWINDOW" = "yes"; then
42648 cat >>confdefs.h <<\_ACEOF
42649 #define wxUSE_LOGWINDOW 1
42654 if test "$wxUSE_LOGDIALOG" = "yes"; then
42655 cat >>confdefs.h <<\_ACEOF
42656 #define wxUSE_LOG_DIALOG 1
42661 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42664 if test "$wxUSE_LONGLONG" = "yes"; then
42665 cat >>confdefs.h <<\_ACEOF
42666 #define wxUSE_LONGLONG 1
42671 if test "$wxUSE_GEOMETRY" = "yes"; then
42672 cat >>confdefs.h <<\_ACEOF
42673 #define wxUSE_GEOMETRY 1
42678 if test "$wxUSE_BASE64" = "yes"; then
42679 cat >>confdefs.h <<\_ACEOF
42680 #define wxUSE_BASE64 1
42685 if test "$wxUSE_STREAMS" = "yes" ; then
42686 cat >>confdefs.h <<\_ACEOF
42687 #define wxUSE_STREAMS 1
42692 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42693 cat >>confdefs.h <<\_ACEOF
42694 #define wxUSE_PRINTF_POS_PARAMS 1
42699 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42700 cat >>confdefs.h <<\_ACEOF
42701 #define wxUSE_OBJC_UNIQUIFYING 1
42707 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42708 cat >>confdefs.h <<\_ACEOF
42709 #define wxUSE_CONSOLE_EVENTLOOP 1
42713 if test "$wxUSE_UNIX" = "yes"; then
42714 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42715 cat >>confdefs.h <<\_ACEOF
42716 #define wxUSE_SELECT_DISPATCHER 1
42721 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42723 for ac_header in sys/epoll.h
42725 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42726 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42728 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42729 echo $ECHO_N "(cached) $ECHO_C" >&6
42731 cat >conftest.$ac_ext <<_ACEOF
42734 cat confdefs.h >>conftest.$ac_ext
42735 cat >>conftest.$ac_ext <<_ACEOF
42736 /* end confdefs.h. */
42737 $ac_includes_default
42739 #include <$ac_header>
42741 rm -f conftest.$ac_objext
42742 if { (ac_try="$ac_compile"
42743 case "(($ac_try" in
42744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42745 *) ac_try_echo=$ac_try;;
42747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42748 (eval "$ac_compile") 2>conftest.er1
42750 grep -v '^ *+' conftest.er1 >conftest.err
42752 cat conftest.err >&5
42753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42754 (exit $ac_status); } && {
42755 test -z "$ac_c_werror_flag" ||
42756 test ! -s conftest.err
42757 } && test -s conftest.$ac_objext; then
42758 eval "$as_ac_Header=yes"
42760 echo "$as_me: failed program was:" >&5
42761 sed 's/^/| /' conftest.$ac_ext >&5
42763 eval "$as_ac_Header=no"
42766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42768 ac_res=`eval echo '${'$as_ac_Header'}'`
42769 { echo "$as_me:$LINENO: result: $ac_res" >&5
42770 echo "${ECHO_T}$ac_res" >&6; }
42771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42772 cat >>confdefs.h <<_ACEOF
42773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42780 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42781 cat >>confdefs.h <<\_ACEOF
42782 #define wxUSE_EPOLL_DISPATCHER 1
42786 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42787 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42796 for ac_func in gettimeofday ftime
42798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42799 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42801 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42802 echo $ECHO_N "(cached) $ECHO_C" >&6
42804 cat >conftest.$ac_ext <<_ACEOF
42807 cat confdefs.h >>conftest.$ac_ext
42808 cat >>conftest.$ac_ext <<_ACEOF
42809 /* end confdefs.h. */
42810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42812 #define $ac_func innocuous_$ac_func
42814 /* System header to define __stub macros and hopefully few prototypes,
42815 which can conflict with char $ac_func (); below.
42816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42817 <limits.h> exists even on freestanding compilers. */
42820 # include <limits.h>
42822 # include <assert.h>
42827 /* Override any GCC internal prototype to avoid an error.
42828 Use char because int might match the return type of a GCC
42829 builtin and then its argument prototype would still apply. */
42834 /* The GNU C library defines this for functions which it implements
42835 to always fail with ENOSYS. Some functions are actually named
42836 something starting with __ and the normal name is an alias. */
42837 #if defined __stub_$ac_func || defined __stub___$ac_func
42844 return $ac_func ();
42849 rm -f conftest.$ac_objext conftest$ac_exeext
42850 if { (ac_try="$ac_link"
42851 case "(($ac_try" in
42852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42853 *) ac_try_echo=$ac_try;;
42855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42856 (eval "$ac_link") 2>conftest.er1
42858 grep -v '^ *+' conftest.er1 >conftest.err
42860 cat conftest.err >&5
42861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42862 (exit $ac_status); } && {
42863 test -z "$ac_c_werror_flag" ||
42864 test ! -s conftest.err
42865 } && test -s conftest$ac_exeext &&
42866 $as_test_x conftest$ac_exeext; then
42867 eval "$as_ac_var=yes"
42869 echo "$as_me: failed program was:" >&5
42870 sed 's/^/| /' conftest.$ac_ext >&5
42872 eval "$as_ac_var=no"
42875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42876 conftest$ac_exeext conftest.$ac_ext
42878 ac_res=`eval echo '${'$as_ac_var'}'`
42879 { echo "$as_me:$LINENO: result: $ac_res" >&5
42880 echo "${ECHO_T}$ac_res" >&6; }
42881 if test `eval echo '${'$as_ac_var'}'` = yes; then
42882 cat >>confdefs.h <<_ACEOF
42883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42890 if test "$ac_cv_func_gettimeofday" = "yes"; then
42891 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42892 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42893 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42894 echo $ECHO_N "(cached) $ECHO_C" >&6
42897 cat >conftest.$ac_ext <<_ACEOF
42900 cat confdefs.h >>conftest.$ac_ext
42901 cat >>conftest.$ac_ext <<_ACEOF
42902 /* end confdefs.h. */
42904 #include <sys/time.h>
42905 #include <unistd.h>
42912 gettimeofday(&tv, NULL);
42918 rm -f conftest.$ac_objext
42919 if { (ac_try="$ac_compile"
42920 case "(($ac_try" in
42921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42922 *) ac_try_echo=$ac_try;;
42924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42925 (eval "$ac_compile") 2>conftest.er1
42927 grep -v '^ *+' conftest.er1 >conftest.err
42929 cat conftest.err >&5
42930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42931 (exit $ac_status); } && {
42932 test -z "$ac_c_werror_flag" ||
42933 test ! -s conftest.err
42934 } && test -s conftest.$ac_objext; then
42935 wx_cv_func_gettimeofday_has_2_args=yes
42937 echo "$as_me: failed program was:" >&5
42938 sed 's/^/| /' conftest.$ac_ext >&5
42940 cat >conftest.$ac_ext <<_ACEOF
42943 cat confdefs.h >>conftest.$ac_ext
42944 cat >>conftest.$ac_ext <<_ACEOF
42945 /* end confdefs.h. */
42947 #include <sys/time.h>
42948 #include <unistd.h>
42961 rm -f conftest.$ac_objext
42962 if { (ac_try="$ac_compile"
42963 case "(($ac_try" in
42964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42965 *) ac_try_echo=$ac_try;;
42967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42968 (eval "$ac_compile") 2>conftest.er1
42970 grep -v '^ *+' conftest.er1 >conftest.err
42972 cat conftest.err >&5
42973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42974 (exit $ac_status); } && {
42975 test -z "$ac_c_werror_flag" ||
42976 test ! -s conftest.err
42977 } && test -s conftest.$ac_objext; then
42978 wx_cv_func_gettimeofday_has_2_args=no
42980 echo "$as_me: failed program was:" >&5
42981 sed 's/^/| /' conftest.$ac_ext >&5
42984 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42985 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42986 wx_cv_func_gettimeofday_has_2_args=unknown
42991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42998 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42999 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43001 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43002 cat >>confdefs.h <<\_ACEOF
43003 #define WX_GETTIMEOFDAY_NO_TZ 1
43009 if test "$wxUSE_DATETIME" = "yes"; then
43010 { echo "$as_me:$LINENO: checking for strptime" >&5
43011 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43012 if test "${ac_cv_func_strptime+set}" = set; then
43013 echo $ECHO_N "(cached) $ECHO_C" >&6
43015 cat >conftest.$ac_ext <<_ACEOF
43018 cat confdefs.h >>conftest.$ac_ext
43019 cat >>conftest.$ac_ext <<_ACEOF
43020 /* end confdefs.h. */
43021 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43023 #define strptime innocuous_strptime
43025 /* System header to define __stub macros and hopefully few prototypes,
43026 which can conflict with char strptime (); below.
43027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43028 <limits.h> exists even on freestanding compilers. */
43031 # include <limits.h>
43033 # include <assert.h>
43038 /* Override any GCC internal prototype to avoid an error.
43039 Use char because int might match the return type of a GCC
43040 builtin and then its argument prototype would still apply. */
43045 /* The GNU C library defines this for functions which it implements
43046 to always fail with ENOSYS. Some functions are actually named
43047 something starting with __ and the normal name is an alias. */
43048 #if defined __stub_strptime || defined __stub___strptime
43055 return strptime ();
43060 rm -f conftest.$ac_objext conftest$ac_exeext
43061 if { (ac_try="$ac_link"
43062 case "(($ac_try" in
43063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43064 *) ac_try_echo=$ac_try;;
43066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43067 (eval "$ac_link") 2>conftest.er1
43069 grep -v '^ *+' conftest.er1 >conftest.err
43071 cat conftest.err >&5
43072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43073 (exit $ac_status); } && {
43074 test -z "$ac_c_werror_flag" ||
43075 test ! -s conftest.err
43076 } && test -s conftest$ac_exeext &&
43077 $as_test_x conftest$ac_exeext; then
43078 ac_cv_func_strptime=yes
43080 echo "$as_me: failed program was:" >&5
43081 sed 's/^/| /' conftest.$ac_ext >&5
43083 ac_cv_func_strptime=no
43086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43087 conftest$ac_exeext conftest.$ac_ext
43089 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43090 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43092 if test "$ac_cv_func_strptime" = "yes"; then
43093 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43094 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43095 if test "${wx_cv_func_strptime_decl+set}" = set; then
43096 echo $ECHO_N "(cached) $ECHO_C" >&6
43100 ac_cpp='$CXXCPP $CPPFLAGS'
43101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43105 cat >conftest.$ac_ext <<_ACEOF
43108 cat confdefs.h >>conftest.$ac_ext
43109 cat >>conftest.$ac_ext <<_ACEOF
43110 /* end confdefs.h. */
43119 strptime("foo", "bar", &t);
43125 rm -f conftest.$ac_objext
43126 if { (ac_try="$ac_compile"
43127 case "(($ac_try" in
43128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43129 *) ac_try_echo=$ac_try;;
43131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43132 (eval "$ac_compile") 2>conftest.er1
43134 grep -v '^ *+' conftest.er1 >conftest.err
43136 cat conftest.err >&5
43137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43138 (exit $ac_status); } && {
43139 test -z "$ac_cxx_werror_flag" ||
43140 test ! -s conftest.err
43141 } && test -s conftest.$ac_objext; then
43142 wx_cv_func_strptime_decl=yes
43144 echo "$as_me: failed program was:" >&5
43145 sed 's/^/| /' conftest.$ac_ext >&5
43147 wx_cv_func_strptime_decl=no
43151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43153 ac_cpp='$CPP $CPPFLAGS'
43154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43161 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43162 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43164 if test "$wx_cv_func_strptime_decl" = "yes"; then
43165 cat >>confdefs.h <<\_ACEOF
43166 #define HAVE_STRPTIME_DECL 1
43170 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43172 if test "$ac_cv_func_strptime" = "yes"; then
43173 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43174 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43175 if test "${wx_cv_func_strptime_ok+set}" = set; then
43176 echo $ECHO_N "(cached) $ECHO_C" >&6
43178 if test "$cross_compiling" = yes; then
43179 wx_cv_func_strptime_ok=no
43182 cat >conftest.$ac_ext <<_ACEOF
43184 #include <stdlib.h>
43186 #include "confdefs.h"
43193 return !!strptime("", "%x", &t);
43197 rm -f conftest$ac_exeext
43198 if { (ac_try="$ac_link"
43199 case "(($ac_try" in
43200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43201 *) ac_try_echo=$ac_try;;
43203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43204 (eval "$ac_link") 2>&5
43206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43207 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43208 { (case "(($ac_try" in
43209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43210 *) ac_try_echo=$ac_try;;
43212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43213 (eval "$ac_try") 2>&5
43215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43216 (exit $ac_status); }; }; then
43217 wx_cv_func_strptime_ok=yes
43219 echo "$as_me: program exited with status $ac_status" >&5
43220 echo "$as_me: failed program was:" >&5
43221 sed 's/^/| /' conftest.$ac_ext >&5
43223 ( exit $ac_status )
43224 wx_cv_func_strptime_ok=no
43226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43232 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43233 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43235 if test "$wx_cv_func_strptime_ok" = "yes"; then
43236 cat >>confdefs.h <<\_ACEOF
43237 #define HAVE_STRPTIME 1
43243 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43244 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43245 if test "${wx_cv_var_timezone+set}" = set; then
43246 echo $ECHO_N "(cached) $ECHO_C" >&6
43250 ac_cpp='$CXXCPP $CPPFLAGS'
43251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43255 cat >conftest.$ac_ext <<_ACEOF
43258 cat confdefs.h >>conftest.$ac_ext
43259 cat >>conftest.$ac_ext <<_ACEOF
43260 /* end confdefs.h. */
43275 rm -f conftest.$ac_objext
43276 if { (ac_try="$ac_compile"
43277 case "(($ac_try" in
43278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43279 *) ac_try_echo=$ac_try;;
43281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43282 (eval "$ac_compile") 2>conftest.er1
43284 grep -v '^ *+' conftest.er1 >conftest.err
43286 cat conftest.err >&5
43287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43288 (exit $ac_status); } && {
43289 test -z "$ac_cxx_werror_flag" ||
43290 test ! -s conftest.err
43291 } && test -s conftest.$ac_objext; then
43293 wx_cv_var_timezone=timezone
43296 echo "$as_me: failed program was:" >&5
43297 sed 's/^/| /' conftest.$ac_ext >&5
43300 cat >conftest.$ac_ext <<_ACEOF
43303 cat confdefs.h >>conftest.$ac_ext
43304 cat >>conftest.$ac_ext <<_ACEOF
43305 /* end confdefs.h. */
43320 rm -f conftest.$ac_objext
43321 if { (ac_try="$ac_compile"
43322 case "(($ac_try" in
43323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43324 *) ac_try_echo=$ac_try;;
43326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43327 (eval "$ac_compile") 2>conftest.er1
43329 grep -v '^ *+' conftest.er1 >conftest.err
43331 cat conftest.err >&5
43332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43333 (exit $ac_status); } && {
43334 test -z "$ac_cxx_werror_flag" ||
43335 test ! -s conftest.err
43336 } && test -s conftest.$ac_objext; then
43338 wx_cv_var_timezone=_timezone
43341 echo "$as_me: failed program was:" >&5
43342 sed 's/^/| /' conftest.$ac_ext >&5
43345 cat >conftest.$ac_ext <<_ACEOF
43348 cat confdefs.h >>conftest.$ac_ext
43349 cat >>conftest.$ac_ext <<_ACEOF
43350 /* end confdefs.h. */
43365 rm -f conftest.$ac_objext
43366 if { (ac_try="$ac_compile"
43367 case "(($ac_try" in
43368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43369 *) ac_try_echo=$ac_try;;
43371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43372 (eval "$ac_compile") 2>conftest.er1
43374 grep -v '^ *+' conftest.er1 >conftest.err
43376 cat conftest.err >&5
43377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43378 (exit $ac_status); } && {
43379 test -z "$ac_cxx_werror_flag" ||
43380 test ! -s conftest.err
43381 } && test -s conftest.$ac_objext; then
43383 wx_cv_var_timezone=__timezone
43386 echo "$as_me: failed program was:" >&5
43387 sed 's/^/| /' conftest.$ac_ext >&5
43390 if test "$USE_DOS" = 0 ; then
43391 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43392 echo "$as_me: WARNING: no timezone variable" >&2;}
43398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43410 ac_cpp='$CPP $CPPFLAGS'
43411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43418 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43419 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43421 if test "x$wx_cv_var_timezone" != x ; then
43422 cat >>confdefs.h <<_ACEOF
43423 #define WX_TIMEZONE $wx_cv_var_timezone
43429 for ac_func in localtime
43431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43432 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43434 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43435 echo $ECHO_N "(cached) $ECHO_C" >&6
43437 cat >conftest.$ac_ext <<_ACEOF
43440 cat confdefs.h >>conftest.$ac_ext
43441 cat >>conftest.$ac_ext <<_ACEOF
43442 /* end confdefs.h. */
43443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43445 #define $ac_func innocuous_$ac_func
43447 /* System header to define __stub macros and hopefully few prototypes,
43448 which can conflict with char $ac_func (); below.
43449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43450 <limits.h> exists even on freestanding compilers. */
43453 # include <limits.h>
43455 # include <assert.h>
43460 /* Override any GCC internal prototype to avoid an error.
43461 Use char because int might match the return type of a GCC
43462 builtin and then its argument prototype would still apply. */
43467 /* The GNU C library defines this for functions which it implements
43468 to always fail with ENOSYS. Some functions are actually named
43469 something starting with __ and the normal name is an alias. */
43470 #if defined __stub_$ac_func || defined __stub___$ac_func
43477 return $ac_func ();
43482 rm -f conftest.$ac_objext conftest$ac_exeext
43483 if { (ac_try="$ac_link"
43484 case "(($ac_try" in
43485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43486 *) ac_try_echo=$ac_try;;
43488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43489 (eval "$ac_link") 2>conftest.er1
43491 grep -v '^ *+' conftest.er1 >conftest.err
43493 cat conftest.err >&5
43494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43495 (exit $ac_status); } && {
43496 test -z "$ac_c_werror_flag" ||
43497 test ! -s conftest.err
43498 } && test -s conftest$ac_exeext &&
43499 $as_test_x conftest$ac_exeext; then
43500 eval "$as_ac_var=yes"
43502 echo "$as_me: failed program was:" >&5
43503 sed 's/^/| /' conftest.$ac_ext >&5
43505 eval "$as_ac_var=no"
43508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43509 conftest$ac_exeext conftest.$ac_ext
43511 ac_res=`eval echo '${'$as_ac_var'}'`
43512 { echo "$as_me:$LINENO: result: $ac_res" >&5
43513 echo "${ECHO_T}$ac_res" >&6; }
43514 if test `eval echo '${'$as_ac_var'}'` = yes; then
43515 cat >>confdefs.h <<_ACEOF
43516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43523 if test "$ac_cv_func_localtime" = "yes"; then
43524 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43525 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43526 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43527 echo $ECHO_N "(cached) $ECHO_C" >&6
43530 cat >conftest.$ac_ext <<_ACEOF
43533 cat confdefs.h >>conftest.$ac_ext
43534 cat >>conftest.$ac_ext <<_ACEOF
43535 /* end confdefs.h. */
43550 rm -f conftest.$ac_objext
43551 if { (ac_try="$ac_compile"
43552 case "(($ac_try" in
43553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43554 *) ac_try_echo=$ac_try;;
43556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43557 (eval "$ac_compile") 2>conftest.er1
43559 grep -v '^ *+' conftest.er1 >conftest.err
43561 cat conftest.err >&5
43562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43563 (exit $ac_status); } && {
43564 test -z "$ac_c_werror_flag" ||
43565 test ! -s conftest.err
43566 } && test -s conftest.$ac_objext; then
43568 wx_cv_struct_tm_has_gmtoff=yes
43571 echo "$as_me: failed program was:" >&5
43572 sed 's/^/| /' conftest.$ac_ext >&5
43574 wx_cv_struct_tm_has_gmtoff=no
43578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43581 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43582 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43585 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43586 cat >>confdefs.h <<\_ACEOF
43587 #define WX_GMTOFF_IN_TM 1
43592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43596 if test "$wxUSE_SOCKETS" = "yes"; then
43597 if test "$wxUSE_MGL" = 1; then
43598 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43599 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43604 if test "$wxUSE_SOCKETS" = "yes"; then
43605 if test "$TOOLKIT" != "MSW"; then
43606 { echo "$as_me:$LINENO: checking for socket" >&5
43607 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43608 if test "${ac_cv_func_socket+set}" = set; then
43609 echo $ECHO_N "(cached) $ECHO_C" >&6
43611 cat >conftest.$ac_ext <<_ACEOF
43614 cat confdefs.h >>conftest.$ac_ext
43615 cat >>conftest.$ac_ext <<_ACEOF
43616 /* end confdefs.h. */
43617 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43619 #define socket innocuous_socket
43621 /* System header to define __stub macros and hopefully few prototypes,
43622 which can conflict with char socket (); below.
43623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43624 <limits.h> exists even on freestanding compilers. */
43627 # include <limits.h>
43629 # include <assert.h>
43634 /* Override any GCC internal prototype to avoid an error.
43635 Use char because int might match the return type of a GCC
43636 builtin and then its argument prototype would still apply. */
43641 /* The GNU C library defines this for functions which it implements
43642 to always fail with ENOSYS. Some functions are actually named
43643 something starting with __ and the normal name is an alias. */
43644 #if defined __stub_socket || defined __stub___socket
43656 rm -f conftest.$ac_objext conftest$ac_exeext
43657 if { (ac_try="$ac_link"
43658 case "(($ac_try" in
43659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43660 *) ac_try_echo=$ac_try;;
43662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43663 (eval "$ac_link") 2>conftest.er1
43665 grep -v '^ *+' conftest.er1 >conftest.err
43667 cat conftest.err >&5
43668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43669 (exit $ac_status); } && {
43670 test -z "$ac_c_werror_flag" ||
43671 test ! -s conftest.err
43672 } && test -s conftest$ac_exeext &&
43673 $as_test_x conftest$ac_exeext; then
43674 ac_cv_func_socket=yes
43676 echo "$as_me: failed program was:" >&5
43677 sed 's/^/| /' conftest.$ac_ext >&5
43679 ac_cv_func_socket=no
43682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43683 conftest$ac_exeext conftest.$ac_ext
43685 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43686 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43687 if test $ac_cv_func_socket = yes; then
43691 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43692 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43693 if test "${ac_cv_lib_socket_socket+set}" = set; then
43694 echo $ECHO_N "(cached) $ECHO_C" >&6
43696 ac_check_lib_save_LIBS=$LIBS
43697 LIBS="-lsocket $LIBS"
43698 cat >conftest.$ac_ext <<_ACEOF
43701 cat confdefs.h >>conftest.$ac_ext
43702 cat >>conftest.$ac_ext <<_ACEOF
43703 /* end confdefs.h. */
43705 /* Override any GCC internal prototype to avoid an error.
43706 Use char because int might match the return type of a GCC
43707 builtin and then its argument prototype would still apply. */
43720 rm -f conftest.$ac_objext conftest$ac_exeext
43721 if { (ac_try="$ac_link"
43722 case "(($ac_try" in
43723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43724 *) ac_try_echo=$ac_try;;
43726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43727 (eval "$ac_link") 2>conftest.er1
43729 grep -v '^ *+' conftest.er1 >conftest.err
43731 cat conftest.err >&5
43732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43733 (exit $ac_status); } && {
43734 test -z "$ac_c_werror_flag" ||
43735 test ! -s conftest.err
43736 } && test -s conftest$ac_exeext &&
43737 $as_test_x conftest$ac_exeext; then
43738 ac_cv_lib_socket_socket=yes
43740 echo "$as_me: failed program was:" >&5
43741 sed 's/^/| /' conftest.$ac_ext >&5
43743 ac_cv_lib_socket_socket=no
43746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43747 conftest$ac_exeext conftest.$ac_ext
43748 LIBS=$ac_check_lib_save_LIBS
43750 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43751 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43752 if test $ac_cv_lib_socket_socket = yes; then
43753 if test "$INET_LINK" != " -lsocket"; then
43754 INET_LINK="$INET_LINK -lsocket"
43758 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43759 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43772 if test "$wxUSE_SOCKETS" = "yes" ; then
43773 if test "$TOOLKIT" != "MSW"; then
43774 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43775 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43776 if test "${wx_cv_type_getsockname3+set}" = set; then
43777 echo $ECHO_N "(cached) $ECHO_C" >&6
43781 ac_cpp='$CXXCPP $CPPFLAGS'
43782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43786 cat >conftest.$ac_ext <<_ACEOF
43789 cat confdefs.h >>conftest.$ac_ext
43790 cat >>conftest.$ac_ext <<_ACEOF
43791 /* end confdefs.h. */
43793 #include <sys/types.h>
43794 #include <sys/socket.h>
43801 getsockname(0, 0, &len);
43807 rm -f conftest.$ac_objext
43808 if { (ac_try="$ac_compile"
43809 case "(($ac_try" in
43810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43811 *) ac_try_echo=$ac_try;;
43813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43814 (eval "$ac_compile") 2>conftest.er1
43816 grep -v '^ *+' conftest.er1 >conftest.err
43818 cat conftest.err >&5
43819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43820 (exit $ac_status); } && {
43821 test -z "$ac_cxx_werror_flag" ||
43822 test ! -s conftest.err
43823 } && test -s conftest.$ac_objext; then
43824 wx_cv_type_getsockname3=socklen_t
43826 echo "$as_me: failed program was:" >&5
43827 sed 's/^/| /' conftest.$ac_ext >&5
43830 CFLAGS_OLD="$CFLAGS"
43831 if test "$GCC" = yes ; then
43832 CFLAGS="-Werror $CFLAGS"
43835 cat >conftest.$ac_ext <<_ACEOF
43838 cat confdefs.h >>conftest.$ac_ext
43839 cat >>conftest.$ac_ext <<_ACEOF
43840 /* end confdefs.h. */
43842 #include <sys/types.h>
43843 #include <sys/socket.h>
43850 getsockname(0, 0, &len);
43856 rm -f conftest.$ac_objext
43857 if { (ac_try="$ac_compile"
43858 case "(($ac_try" in
43859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43860 *) ac_try_echo=$ac_try;;
43862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43863 (eval "$ac_compile") 2>conftest.er1
43865 grep -v '^ *+' conftest.er1 >conftest.err
43867 cat conftest.err >&5
43868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43869 (exit $ac_status); } && {
43870 test -z "$ac_cxx_werror_flag" ||
43871 test ! -s conftest.err
43872 } && test -s conftest.$ac_objext; then
43873 wx_cv_type_getsockname3=size_t
43875 echo "$as_me: failed program was:" >&5
43876 sed 's/^/| /' conftest.$ac_ext >&5
43878 cat >conftest.$ac_ext <<_ACEOF
43881 cat confdefs.h >>conftest.$ac_ext
43882 cat >>conftest.$ac_ext <<_ACEOF
43883 /* end confdefs.h. */
43885 #include <sys/types.h>
43886 #include <sys/socket.h>
43893 getsockname(0, 0, &len);
43899 rm -f conftest.$ac_objext
43900 if { (ac_try="$ac_compile"
43901 case "(($ac_try" in
43902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43903 *) ac_try_echo=$ac_try;;
43905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43906 (eval "$ac_compile") 2>conftest.er1
43908 grep -v '^ *+' conftest.er1 >conftest.err
43910 cat conftest.err >&5
43911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43912 (exit $ac_status); } && {
43913 test -z "$ac_cxx_werror_flag" ||
43914 test ! -s conftest.err
43915 } && test -s conftest.$ac_objext; then
43916 wx_cv_type_getsockname3=int
43918 echo "$as_me: failed program was:" >&5
43919 sed 's/^/| /' conftest.$ac_ext >&5
43921 wx_cv_type_getsockname3=unknown
43925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43931 CFLAGS="$CFLAGS_OLD"
43936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43938 ac_cpp='$CPP $CPPFLAGS'
43939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43945 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43946 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43948 if test "$wx_cv_type_getsockname3" = "unknown"; then
43950 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43951 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43953 cat >>confdefs.h <<_ACEOF
43954 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43958 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43959 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43960 if test "${wx_cv_type_getsockopt5+set}" = set; then
43961 echo $ECHO_N "(cached) $ECHO_C" >&6
43965 ac_cpp='$CXXCPP $CPPFLAGS'
43966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43970 cat >conftest.$ac_ext <<_ACEOF
43973 cat confdefs.h >>conftest.$ac_ext
43974 cat >>conftest.$ac_ext <<_ACEOF
43975 /* end confdefs.h. */
43977 #include <sys/types.h>
43978 #include <sys/socket.h>
43985 getsockopt(0, 0, 0, 0, &len);
43991 rm -f conftest.$ac_objext
43992 if { (ac_try="$ac_compile"
43993 case "(($ac_try" in
43994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43995 *) ac_try_echo=$ac_try;;
43997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43998 (eval "$ac_compile") 2>conftest.er1
44000 grep -v '^ *+' conftest.er1 >conftest.err
44002 cat conftest.err >&5
44003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44004 (exit $ac_status); } && {
44005 test -z "$ac_cxx_werror_flag" ||
44006 test ! -s conftest.err
44007 } && test -s conftest.$ac_objext; then
44008 wx_cv_type_getsockopt5=socklen_t
44010 echo "$as_me: failed program was:" >&5
44011 sed 's/^/| /' conftest.$ac_ext >&5
44014 cat >conftest.$ac_ext <<_ACEOF
44017 cat confdefs.h >>conftest.$ac_ext
44018 cat >>conftest.$ac_ext <<_ACEOF
44019 /* end confdefs.h. */
44021 #include <sys/types.h>
44022 #include <sys/socket.h>
44029 getsockopt(0, 0, 0, 0, &len);
44035 rm -f conftest.$ac_objext
44036 if { (ac_try="$ac_compile"
44037 case "(($ac_try" in
44038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44039 *) ac_try_echo=$ac_try;;
44041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44042 (eval "$ac_compile") 2>conftest.er1
44044 grep -v '^ *+' conftest.er1 >conftest.err
44046 cat conftest.err >&5
44047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44048 (exit $ac_status); } && {
44049 test -z "$ac_cxx_werror_flag" ||
44050 test ! -s conftest.err
44051 } && test -s conftest.$ac_objext; then
44052 wx_cv_type_getsockopt5=size_t
44054 echo "$as_me: failed program was:" >&5
44055 sed 's/^/| /' conftest.$ac_ext >&5
44057 cat >conftest.$ac_ext <<_ACEOF
44060 cat confdefs.h >>conftest.$ac_ext
44061 cat >>conftest.$ac_ext <<_ACEOF
44062 /* end confdefs.h. */
44064 #include <sys/types.h>
44065 #include <sys/socket.h>
44072 getsockopt(0, 0, 0, 0, &len);
44078 rm -f conftest.$ac_objext
44079 if { (ac_try="$ac_compile"
44080 case "(($ac_try" in
44081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44082 *) ac_try_echo=$ac_try;;
44084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44085 (eval "$ac_compile") 2>conftest.er1
44087 grep -v '^ *+' conftest.er1 >conftest.err
44089 cat conftest.err >&5
44090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44091 (exit $ac_status); } && {
44092 test -z "$ac_cxx_werror_flag" ||
44093 test ! -s conftest.err
44094 } && test -s conftest.$ac_objext; then
44095 wx_cv_type_getsockopt5=int
44097 echo "$as_me: failed program was:" >&5
44098 sed 's/^/| /' conftest.$ac_ext >&5
44100 wx_cv_type_getsockopt5=unknown
44104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44115 ac_cpp='$CPP $CPPFLAGS'
44116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44122 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44123 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44125 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44127 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44128 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44130 cat >>confdefs.h <<_ACEOF
44131 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44138 if test "$wxUSE_SOCKETS" = "yes" ; then
44139 if test "$wxUSE_IPV6" = "yes"; then
44140 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44141 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44142 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44143 echo $ECHO_N "(cached) $ECHO_C" >&6
44146 cat >conftest.$ac_ext <<_ACEOF
44149 cat confdefs.h >>conftest.$ac_ext
44150 cat >>conftest.$ac_ext <<_ACEOF
44151 /* end confdefs.h. */
44153 #include <sys/types.h>
44154 #include <sys/socket.h>
44155 #include <netinet/in.h>
44161 struct sockaddr_in6 sa6;
44167 rm -f conftest.$ac_objext
44168 if { (ac_try="$ac_compile"
44169 case "(($ac_try" in
44170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44171 *) ac_try_echo=$ac_try;;
44173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44174 (eval "$ac_compile") 2>conftest.er1
44176 grep -v '^ *+' conftest.er1 >conftest.err
44178 cat conftest.err >&5
44179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44180 (exit $ac_status); } && {
44181 test -z "$ac_c_werror_flag" ||
44182 test ! -s conftest.err
44183 } && test -s conftest.$ac_objext; then
44184 wx_cv_type_sockaddr_in6=yes
44186 echo "$as_me: failed program was:" >&5
44187 sed 's/^/| /' conftest.$ac_ext >&5
44189 wx_cv_type_sockaddr_in6=no
44193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44197 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44198 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44200 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44201 cat >>confdefs.h <<\_ACEOF
44202 #define wxUSE_IPV6 1
44206 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44207 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44211 cat >>confdefs.h <<\_ACEOF
44212 #define wxUSE_SOCKETS 1
44215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44218 if test "$wxUSE_PROTOCOL" = "yes"; then
44219 if test "$wxUSE_SOCKETS" != "yes"; then
44220 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44221 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44226 if test "$wxUSE_PROTOCOL" = "yes"; then
44227 cat >>confdefs.h <<\_ACEOF
44228 #define wxUSE_PROTOCOL 1
44232 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44233 cat >>confdefs.h <<\_ACEOF
44234 #define wxUSE_PROTOCOL_HTTP 1
44238 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44239 cat >>confdefs.h <<\_ACEOF
44240 #define wxUSE_PROTOCOL_FTP 1
44244 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44245 cat >>confdefs.h <<\_ACEOF
44246 #define wxUSE_PROTOCOL_FILE 1
44251 if test "$wxUSE_FS_INET" = "yes"; then
44252 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44253 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44258 if test "$wxUSE_URL" = "yes"; then
44259 if test "$wxUSE_PROTOCOL" != "yes"; then
44260 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44261 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44264 if test "$wxUSE_URL" = "yes"; then
44265 cat >>confdefs.h <<\_ACEOF
44266 #define wxUSE_URL 1
44272 if test "$wxUSE_VARIANT" = "yes"; then
44273 cat >>confdefs.h <<\_ACEOF
44274 #define wxUSE_VARIANT 1
44279 if test "$wxUSE_FS_INET" = "yes"; then
44280 cat >>confdefs.h <<\_ACEOF
44281 #define wxUSE_FS_INET 1
44287 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44290 if test "$TOOLKIT" = "MSW"; then
44293 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44294 if test "$USE_DARWIN" = 1; then
44295 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44296 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44298 ac_cpp='$CXXCPP $CPPFLAGS'
44299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44303 cat >conftest.$ac_ext <<_ACEOF
44306 cat confdefs.h >>conftest.$ac_ext
44307 cat >>conftest.$ac_ext <<_ACEOF
44308 /* end confdefs.h. */
44309 #include <IOKit/hid/IOHIDLib.h>
44313 IOHIDQueueInterface *qi = NULL;
44314 IOHIDCallbackFunction cb = NULL;
44315 qi->setEventCallout(NULL, cb, NULL, NULL);
44320 rm -f conftest.$ac_objext
44321 if { (ac_try="$ac_compile"
44322 case "(($ac_try" in
44323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44324 *) ac_try_echo=$ac_try;;
44326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44327 (eval "$ac_compile") 2>conftest.er1
44329 grep -v '^ *+' conftest.er1 >conftest.err
44331 cat conftest.err >&5
44332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44333 (exit $ac_status); } && {
44334 test -z "$ac_cxx_werror_flag" ||
44335 test ! -s conftest.err
44336 } && test -s conftest.$ac_objext; then
44340 echo "$as_me: failed program was:" >&5
44341 sed 's/^/| /' conftest.$ac_ext >&5
44346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44348 ac_cpp='$CPP $CPPFLAGS'
44349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44353 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44354 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44358 if test "$wxUSE_MGL" != 1; then
44360 for ac_header in linux/joystick.h
44362 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44363 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44365 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44366 echo $ECHO_N "(cached) $ECHO_C" >&6
44368 cat >conftest.$ac_ext <<_ACEOF
44371 cat confdefs.h >>conftest.$ac_ext
44372 cat >>conftest.$ac_ext <<_ACEOF
44373 /* end confdefs.h. */
44374 $ac_includes_default
44376 #include <$ac_header>
44378 rm -f conftest.$ac_objext
44379 if { (ac_try="$ac_compile"
44380 case "(($ac_try" in
44381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44382 *) ac_try_echo=$ac_try;;
44384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44385 (eval "$ac_compile") 2>conftest.er1
44387 grep -v '^ *+' conftest.er1 >conftest.err
44389 cat conftest.err >&5
44390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44391 (exit $ac_status); } && {
44392 test -z "$ac_c_werror_flag" ||
44393 test ! -s conftest.err
44394 } && test -s conftest.$ac_objext; then
44395 eval "$as_ac_Header=yes"
44397 echo "$as_me: failed program was:" >&5
44398 sed 's/^/| /' conftest.$ac_ext >&5
44400 eval "$as_ac_Header=no"
44403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44405 ac_res=`eval echo '${'$as_ac_Header'}'`
44406 { echo "$as_me:$LINENO: result: $ac_res" >&5
44407 echo "${ECHO_T}$ac_res" >&6; }
44408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44409 cat >>confdefs.h <<_ACEOF
44410 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44420 if test "$wxUSE_JOYSTICK" = "yes"; then
44421 cat >>confdefs.h <<\_ACEOF
44422 #define wxUSE_JOYSTICK 1
44425 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44427 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44428 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44434 if test "$wxUSE_FONTENUM" = "yes" ; then
44435 cat >>confdefs.h <<\_ACEOF
44436 #define wxUSE_FONTENUM 1
44441 if test "$wxUSE_FONTMAP" = "yes" ; then
44442 cat >>confdefs.h <<\_ACEOF
44443 #define wxUSE_FONTMAP 1
44448 if test "$wxUSE_UNICODE" = "yes" ; then
44449 cat >>confdefs.h <<\_ACEOF
44450 #define wxUSE_UNICODE 1
44454 if test "$USE_WIN32" != 1; then
44455 wxUSE_UNICODE_MSLU=no
44458 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44459 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44460 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44461 if test "${ac_cv_lib_unicows_main+set}" = set; then
44462 echo $ECHO_N "(cached) $ECHO_C" >&6
44464 ac_check_lib_save_LIBS=$LIBS
44465 LIBS="-lunicows $LIBS"
44466 cat >conftest.$ac_ext <<_ACEOF
44469 cat confdefs.h >>conftest.$ac_ext
44470 cat >>conftest.$ac_ext <<_ACEOF
44471 /* end confdefs.h. */
44482 rm -f conftest.$ac_objext conftest$ac_exeext
44483 if { (ac_try="$ac_link"
44484 case "(($ac_try" in
44485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44486 *) ac_try_echo=$ac_try;;
44488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44489 (eval "$ac_link") 2>conftest.er1
44491 grep -v '^ *+' conftest.er1 >conftest.err
44493 cat conftest.err >&5
44494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44495 (exit $ac_status); } && {
44496 test -z "$ac_c_werror_flag" ||
44497 test ! -s conftest.err
44498 } && test -s conftest$ac_exeext &&
44499 $as_test_x conftest$ac_exeext; then
44500 ac_cv_lib_unicows_main=yes
44502 echo "$as_me: failed program was:" >&5
44503 sed 's/^/| /' conftest.$ac_ext >&5
44505 ac_cv_lib_unicows_main=no
44508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44509 conftest$ac_exeext conftest.$ac_ext
44510 LIBS=$ac_check_lib_save_LIBS
44512 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44513 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44514 if test $ac_cv_lib_unicows_main = yes; then
44516 cat >>confdefs.h <<\_ACEOF
44517 #define wxUSE_UNICODE_MSLU 1
44523 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44524 Applications will only run on Windows NT/2000/XP!" >&5
44525 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44526 Applications will only run on Windows NT/2000/XP!" >&2;}
44527 wxUSE_UNICODE_MSLU=no
44534 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44535 cat >>confdefs.h <<\_ACEOF
44536 #define wxUSE_UNICODE_UTF8 1
44540 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44541 cat >>confdefs.h <<\_ACEOF
44542 #define wxUSE_UTF8_LOCALE_ONLY 1
44549 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44550 cat >>confdefs.h <<\_ACEOF
44551 #define wxUSE_CONSTRAINTS 1
44554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44557 if test "$wxUSE_MDI" = "yes"; then
44558 cat >>confdefs.h <<\_ACEOF
44559 #define wxUSE_MDI 1
44563 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44564 cat >>confdefs.h <<\_ACEOF
44565 #define wxUSE_MDI_ARCHITECTURE 1
44568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44572 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44573 cat >>confdefs.h <<\_ACEOF
44574 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44578 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44579 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44583 if test "$wxUSE_HELP" = "yes"; then
44584 cat >>confdefs.h <<\_ACEOF
44585 #define wxUSE_HELP 1
44588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44590 if test "$wxUSE_MSW" = 1; then
44591 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44592 cat >>confdefs.h <<\_ACEOF
44593 #define wxUSE_MS_HTML_HELP 1
44599 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44600 if test "$wxUSE_HTML" = "yes"; then
44601 cat >>confdefs.h <<\_ACEOF
44602 #define wxUSE_WXHTML_HELP 1
44606 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44607 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44608 wxUSE_WXHTML_HELP=no
44613 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44614 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44615 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44616 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44618 cat >>confdefs.h <<\_ACEOF
44619 #define wxUSE_PRINTING_ARCHITECTURE 1
44623 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44626 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44627 cat >>confdefs.h <<\_ACEOF
44628 #define wxUSE_POSTSCRIPT 1
44633 cat >>confdefs.h <<\_ACEOF
44634 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44638 if test "$wxUSE_SVG" = "yes"; then
44639 cat >>confdefs.h <<\_ACEOF
44640 #define wxUSE_SVG 1
44646 if test "$wxUSE_METAFILE" = "yes"; then
44647 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44648 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44649 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44655 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44656 -o "$wxUSE_CLIPBOARD" = "yes" \
44657 -o "$wxUSE_OLE" = "yes" \
44658 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44659 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44660 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44661 if test "${ac_cv_header_ole2_h+set}" = set; then
44662 echo $ECHO_N "(cached) $ECHO_C" >&6
44664 cat >conftest.$ac_ext <<_ACEOF
44667 cat confdefs.h >>conftest.$ac_ext
44668 cat >>conftest.$ac_ext <<_ACEOF
44669 /* end confdefs.h. */
44674 rm -f conftest.$ac_objext
44675 if { (ac_try="$ac_compile"
44676 case "(($ac_try" in
44677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44678 *) ac_try_echo=$ac_try;;
44680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44681 (eval "$ac_compile") 2>conftest.er1
44683 grep -v '^ *+' conftest.er1 >conftest.err
44685 cat conftest.err >&5
44686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44687 (exit $ac_status); } && {
44688 test -z "$ac_c_werror_flag" ||
44689 test ! -s conftest.err
44690 } && test -s conftest.$ac_objext; then
44691 ac_cv_header_ole2_h=yes
44693 echo "$as_me: failed program was:" >&5
44694 sed 's/^/| /' conftest.$ac_ext >&5
44696 ac_cv_header_ole2_h=no
44699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44701 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44702 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44706 if test "$ac_cv_header_ole2_h" = "yes" ; then
44707 if test "$GCC" = yes ; then
44708 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44709 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44710 cat >conftest.$ac_ext <<_ACEOF
44713 cat confdefs.h >>conftest.$ac_ext
44714 cat >>conftest.$ac_ext <<_ACEOF
44715 /* end confdefs.h. */
44716 #include <windows.h>
44726 rm -f conftest.$ac_objext
44727 if { (ac_try="$ac_compile"
44728 case "(($ac_try" in
44729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44730 *) ac_try_echo=$ac_try;;
44732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44733 (eval "$ac_compile") 2>conftest.er1
44735 grep -v '^ *+' conftest.er1 >conftest.err
44737 cat conftest.err >&5
44738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44739 (exit $ac_status); } && {
44740 test -z "$ac_c_werror_flag" ||
44741 test ! -s conftest.err
44742 } && test -s conftest.$ac_objext; then
44743 { echo "$as_me:$LINENO: result: no" >&5
44744 echo "${ECHO_T}no" >&6; }
44746 echo "$as_me: failed program was:" >&5
44747 sed 's/^/| /' conftest.$ac_ext >&5
44749 { echo "$as_me:$LINENO: result: yes" >&5
44750 echo "${ECHO_T}yes" >&6; }
44751 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44755 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44756 if test "$wxUSE_OLE" = "yes" ; then
44757 cat >>confdefs.h <<\_ACEOF
44758 #define wxUSE_OLE 1
44761 cat >>confdefs.h <<\_ACEOF
44762 #define wxUSE_OLE_AUTOMATION 1
44765 cat >>confdefs.h <<\_ACEOF
44766 #define wxUSE_ACTIVEX 1
44769 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44773 if test "$wxUSE_DATAOBJ" = "yes" ; then
44774 cat >>confdefs.h <<\_ACEOF
44775 #define wxUSE_DATAOBJ 1
44780 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44781 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44784 wxUSE_DRAG_AND_DROP=no
44789 if test "$wxUSE_METAFILE" = "yes"; then
44790 cat >>confdefs.h <<\_ACEOF
44791 #define wxUSE_METAFILE 1
44795 cat >>confdefs.h <<\_ACEOF
44796 #define wxUSE_ENH_METAFILE 1
44802 if test "$wxUSE_IPC" = "yes"; then
44803 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44804 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44805 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44809 if test "$wxUSE_IPC" = "yes"; then
44810 cat >>confdefs.h <<\_ACEOF
44811 #define wxUSE_IPC 1
44814 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44818 if test "$wxUSE_DATAOBJ" = "yes"; then
44819 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44820 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44821 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44824 cat >>confdefs.h <<\_ACEOF
44825 #define wxUSE_DATAOBJ 1
44830 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44831 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44833 wxUSE_DRAG_AND_DROP=no
44836 if test "$wxUSE_CLIPBOARD" = "yes"; then
44837 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44838 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44839 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44843 if test "$wxUSE_CLIPBOARD" = "yes"; then
44844 cat >>confdefs.h <<\_ACEOF
44845 #define wxUSE_CLIPBOARD 1
44851 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44852 if test "$wxUSE_GTK" = 1; then
44853 if test "$WXGTK12" != 1; then
44854 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44855 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44856 wxUSE_DRAG_AND_DROP=no
44860 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44861 "$wxUSE_DFB" = 1; then
44862 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44863 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44864 wxUSE_DRAG_AND_DROP=no
44867 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44868 cat >>confdefs.h <<\_ACEOF
44869 #define wxUSE_DRAG_AND_DROP 1
44876 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44877 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44880 if test "$wxUSE_SPLINES" = "yes" ; then
44881 cat >>confdefs.h <<\_ACEOF
44882 #define wxUSE_SPLINES 1
44887 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44888 cat >>confdefs.h <<\_ACEOF
44889 #define wxUSE_MOUSEWHEEL 1
44896 if test "$wxUSE_CONTROLS" = "yes"; then
44900 if test "$wxUSE_ACCEL" = "yes"; then
44901 cat >>confdefs.h <<\_ACEOF
44902 #define wxUSE_ACCEL 1
44908 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44909 cat >>confdefs.h <<\_ACEOF
44910 #define wxUSE_ANIMATIONCTRL 1
44914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44917 if test "$wxUSE_BUTTON" = "yes"; then
44918 cat >>confdefs.h <<\_ACEOF
44919 #define wxUSE_BUTTON 1
44925 if test "$wxUSE_BMPBUTTON" = "yes"; then
44926 cat >>confdefs.h <<\_ACEOF
44927 #define wxUSE_BMPBUTTON 1
44933 if test "$wxUSE_CALCTRL" = "yes"; then
44934 cat >>confdefs.h <<\_ACEOF
44935 #define wxUSE_CALENDARCTRL 1
44939 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44942 if test "$wxUSE_CARET" = "yes"; then
44943 cat >>confdefs.h <<\_ACEOF
44944 #define wxUSE_CARET 1
44948 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44951 if test "$wxUSE_COLLPANE" = "yes"; then
44952 cat >>confdefs.h <<\_ACEOF
44953 #define wxUSE_COLLPANE 1
44957 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44960 if test "$wxUSE_COMBOBOX" = "yes"; then
44961 cat >>confdefs.h <<\_ACEOF
44962 #define wxUSE_COMBOBOX 1
44968 if test "$wxUSE_COMBOCTRL" = "yes"; then
44969 cat >>confdefs.h <<\_ACEOF
44970 #define wxUSE_COMBOCTRL 1
44976 if test "$wxUSE_CHOICE" = "yes"; then
44977 cat >>confdefs.h <<\_ACEOF
44978 #define wxUSE_CHOICE 1
44984 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44985 cat >>confdefs.h <<\_ACEOF
44986 #define wxUSE_CHOICEBOOK 1
44992 if test "$wxUSE_CHECKBOX" = "yes"; then
44993 cat >>confdefs.h <<\_ACEOF
44994 #define wxUSE_CHECKBOX 1
45000 if test "$wxUSE_CHECKLST" = "yes"; then
45001 cat >>confdefs.h <<\_ACEOF
45002 #define wxUSE_CHECKLISTBOX 1
45008 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45009 cat >>confdefs.h <<\_ACEOF
45010 #define wxUSE_COLOURPICKERCTRL 1
45016 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45017 cat >>confdefs.h <<\_ACEOF
45018 #define wxUSE_DATEPICKCTRL 1
45024 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45025 cat >>confdefs.h <<\_ACEOF
45026 #define wxUSE_DIRPICKERCTRL 1
45032 if test "$wxUSE_FILECTRL" = "yes"; then
45033 cat >>confdefs.h <<\_ACEOF
45034 #define wxUSE_FILECTRL 1
45040 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45041 cat >>confdefs.h <<\_ACEOF
45042 #define wxUSE_FILEPICKERCTRL 1
45048 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45049 cat >>confdefs.h <<\_ACEOF
45050 #define wxUSE_FONTPICKERCTRL 1
45056 if test "$wxUSE_DISPLAY" = "yes"; then
45057 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45058 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45059 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45062 cat >>confdefs.h <<\_ACEOF
45063 #define wxUSE_DISPLAY 1
45066 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45070 if test "$wxUSE_DETECT_SM" = "yes"; then
45071 cat >>confdefs.h <<\_ACEOF
45072 #define wxUSE_DETECT_SM 1
45077 if test "$wxUSE_GAUGE" = "yes"; then
45078 cat >>confdefs.h <<\_ACEOF
45079 #define wxUSE_GAUGE 1
45085 if test "$wxUSE_GRID" = "yes"; then
45086 cat >>confdefs.h <<\_ACEOF
45087 #define wxUSE_GRID 1
45091 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45094 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45095 cat >>confdefs.h <<\_ACEOF
45096 #define wxUSE_HYPERLINKCTRL 1
45102 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45103 cat >>confdefs.h <<\_ACEOF
45104 #define wxUSE_BITMAPCOMBOBOX 1
45110 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45111 cat >>confdefs.h <<\_ACEOF
45112 #define wxUSE_DATAVIEWCTRL 1
45116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45119 if test "$wxUSE_IMAGLIST" = "yes"; then
45120 cat >>confdefs.h <<\_ACEOF
45121 #define wxUSE_IMAGLIST 1
45126 if test "$wxUSE_LISTBOOK" = "yes"; then
45127 cat >>confdefs.h <<\_ACEOF
45128 #define wxUSE_LISTBOOK 1
45134 if test "$wxUSE_LISTBOX" = "yes"; then
45135 cat >>confdefs.h <<\_ACEOF
45136 #define wxUSE_LISTBOX 1
45142 if test "$wxUSE_LISTCTRL" = "yes"; then
45143 if test "$wxUSE_IMAGLIST" = "yes"; then
45144 cat >>confdefs.h <<\_ACEOF
45145 #define wxUSE_LISTCTRL 1
45149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45151 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45152 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45156 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45157 cat >>confdefs.h <<\_ACEOF
45158 #define wxUSE_EDITABLELISTBOX 1
45162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45165 if test "$wxUSE_NOTEBOOK" = "yes"; then
45166 cat >>confdefs.h <<\_ACEOF
45167 #define wxUSE_NOTEBOOK 1
45171 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45174 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45175 cat >>confdefs.h <<\_ACEOF
45176 #define wxUSE_NOTIFICATION_MESSAGE 1
45181 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45182 cat >>confdefs.h <<\_ACEOF
45183 #define wxUSE_ODCOMBOBOX 1
45187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45190 if test "$wxUSE_RADIOBOX" = "yes"; then
45191 cat >>confdefs.h <<\_ACEOF
45192 #define wxUSE_RADIOBOX 1
45198 if test "$wxUSE_RADIOBTN" = "yes"; then
45199 cat >>confdefs.h <<\_ACEOF
45200 #define wxUSE_RADIOBTN 1
45206 if test "$wxUSE_SASH" = "yes"; then
45207 cat >>confdefs.h <<\_ACEOF
45208 #define wxUSE_SASH 1
45211 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45214 if test "$wxUSE_SCROLLBAR" = "yes"; then
45215 cat >>confdefs.h <<\_ACEOF
45216 #define wxUSE_SCROLLBAR 1
45220 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45223 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45224 cat >>confdefs.h <<\_ACEOF
45225 #define wxUSE_SEARCHCTRL 1
45231 if test "$wxUSE_SLIDER" = "yes"; then
45232 cat >>confdefs.h <<\_ACEOF
45233 #define wxUSE_SLIDER 1
45239 if test "$wxUSE_SPINBTN" = "yes"; then
45240 cat >>confdefs.h <<\_ACEOF
45241 #define wxUSE_SPINBTN 1
45247 if test "$wxUSE_SPINCTRL" = "yes"; then
45248 cat >>confdefs.h <<\_ACEOF
45249 #define wxUSE_SPINCTRL 1
45255 if test "$wxUSE_SPLITTER" = "yes"; then
45256 cat >>confdefs.h <<\_ACEOF
45257 #define wxUSE_SPLITTER 1
45260 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45263 if test "$wxUSE_STATBMP" = "yes"; then
45264 cat >>confdefs.h <<\_ACEOF
45265 #define wxUSE_STATBMP 1
45271 if test "$wxUSE_STATBOX" = "yes"; then
45272 cat >>confdefs.h <<\_ACEOF
45273 #define wxUSE_STATBOX 1
45279 if test "$wxUSE_STATTEXT" = "yes"; then
45280 cat >>confdefs.h <<\_ACEOF
45281 #define wxUSE_STATTEXT 1
45287 if test "$wxUSE_STATLINE" = "yes"; then
45288 cat >>confdefs.h <<\_ACEOF
45289 #define wxUSE_STATLINE 1
45295 if test "$wxUSE_STATUSBAR" = "yes"; then
45296 cat >>confdefs.h <<\_ACEOF
45297 #define wxUSE_NATIVE_STATUSBAR 1
45300 cat >>confdefs.h <<\_ACEOF
45301 #define wxUSE_STATUSBAR 1
45306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45309 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45310 cat >>confdefs.h <<\_ACEOF
45311 #define wxUSE_TAB_DIALOG 1
45316 if test "$wxUSE_TEXTCTRL" = "yes"; then
45317 cat >>confdefs.h <<\_ACEOF
45318 #define wxUSE_TEXTCTRL 1
45322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45325 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45326 if test "$wxUSE_COCOA" = 1 ; then
45327 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45328 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45332 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45333 cat >>confdefs.h <<\_ACEOF
45334 #define wxUSE_TOGGLEBTN 1
45341 if test "$wxUSE_TOOLBAR" = "yes"; then
45342 cat >>confdefs.h <<\_ACEOF
45343 #define wxUSE_TOOLBAR 1
45348 if test "$wxUSE_UNIVERSAL" = "yes"; then
45349 wxUSE_TOOLBAR_NATIVE="no"
45351 wxUSE_TOOLBAR_NATIVE="yes"
45352 cat >>confdefs.h <<\_ACEOF
45353 #define wxUSE_TOOLBAR_NATIVE 1
45358 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45361 if test "$wxUSE_TOOLTIPS" = "yes"; then
45362 if test "$wxUSE_MOTIF" = 1; then
45363 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45364 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45366 if test "$wxUSE_UNIVERSAL" = "yes"; then
45367 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45368 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45370 cat >>confdefs.h <<\_ACEOF
45371 #define wxUSE_TOOLTIPS 1
45378 if test "$wxUSE_TREEBOOK" = "yes"; then
45379 cat >>confdefs.h <<\_ACEOF
45380 #define wxUSE_TREEBOOK 1
45386 if test "$wxUSE_TOOLBOOK" = "yes"; then
45387 cat >>confdefs.h <<\_ACEOF
45388 #define wxUSE_TOOLBOOK 1
45394 if test "$wxUSE_TREECTRL" = "yes"; then
45395 if test "$wxUSE_IMAGLIST" = "yes"; then
45396 cat >>confdefs.h <<\_ACEOF
45397 #define wxUSE_TREECTRL 1
45401 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45403 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45404 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45408 if test "$wxUSE_POPUPWIN" = "yes"; then
45409 if test "$wxUSE_COCOA" = 1 ; then
45410 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45411 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45413 if test "$wxUSE_PM" = 1; then
45414 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45415 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45417 cat >>confdefs.h <<\_ACEOF
45418 #define wxUSE_POPUPWIN 1
45421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45428 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45429 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45430 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45431 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45433 cat >>confdefs.h <<\_ACEOF
45434 #define wxUSE_DIALUP_MANAGER 1
45437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45441 if test "$wxUSE_TIPWINDOW" = "yes"; then
45442 if test "$wxUSE_PM" = 1; then
45443 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45444 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45446 cat >>confdefs.h <<\_ACEOF
45447 #define wxUSE_TIPWINDOW 1
45453 if test "$USES_CONTROLS" = 1; then
45454 cat >>confdefs.h <<\_ACEOF
45455 #define wxUSE_CONTROLS 1
45461 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45462 cat >>confdefs.h <<\_ACEOF
45463 #define wxUSE_ACCESSIBILITY 1
45466 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45469 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45470 cat >>confdefs.h <<\_ACEOF
45471 #define wxUSE_DRAGIMAGE 1
45474 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45477 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45478 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45479 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45480 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45482 cat >>confdefs.h <<\_ACEOF
45483 #define wxUSE_EXCEPTIONS 1
45486 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45491 if test "$wxUSE_HTML" = "yes"; then
45492 cat >>confdefs.h <<\_ACEOF
45493 #define wxUSE_HTML 1
45497 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45498 if test "$wxUSE_MAC" = 1; then
45499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45502 if test "$wxUSE_WEBKIT" = "yes"; then
45503 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45504 old_CPPFLAGS="$CPPFLAGS"
45505 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45506 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45507 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45508 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45509 echo $ECHO_N "(cached) $ECHO_C" >&6
45511 cat >conftest.$ac_ext <<_ACEOF
45514 cat confdefs.h >>conftest.$ac_ext
45515 cat >>conftest.$ac_ext <<_ACEOF
45516 /* end confdefs.h. */
45518 #include <Carbon/Carbon.h>
45519 #include <WebKit/WebKit.h>
45522 #include <WebKit/HIWebView.h>
45524 rm -f conftest.$ac_objext
45525 if { (ac_try="$ac_compile"
45526 case "(($ac_try" in
45527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45528 *) ac_try_echo=$ac_try;;
45530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45531 (eval "$ac_compile") 2>conftest.er1
45533 grep -v '^ *+' conftest.er1 >conftest.err
45535 cat conftest.err >&5
45536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45537 (exit $ac_status); } && {
45538 test -z "$ac_c_werror_flag" ||
45539 test ! -s conftest.err
45540 } && test -s conftest.$ac_objext; then
45541 ac_cv_header_WebKit_HIWebView_h=yes
45543 echo "$as_me: failed program was:" >&5
45544 sed 's/^/| /' conftest.$ac_ext >&5
45546 ac_cv_header_WebKit_HIWebView_h=no
45549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45551 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45552 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45553 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45555 cat >>confdefs.h <<\_ACEOF
45556 #define wxUSE_WEBKIT 1
45559 WEBKIT_LINK="-framework WebKit"
45563 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45564 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45570 CPPFLAGS="$old_CPPFLAGS"
45571 elif test "$wxUSE_COCOA" = 1; then
45572 cat >>confdefs.h <<\_ACEOF
45573 #define wxUSE_WEBKIT 1
45582 if test "$wxUSE_XRC" = "yes"; then
45583 if test "$wxUSE_XML" != "yes"; then
45584 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45585 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45588 cat >>confdefs.h <<\_ACEOF
45589 #define wxUSE_XRC 1
45593 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45598 if test "$wxUSE_AUI" = "yes"; then
45599 cat >>confdefs.h <<\_ACEOF
45600 #define wxUSE_AUI 1
45604 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45608 if test "$wxUSE_STC" = "yes"; then
45609 cat >>confdefs.h <<\_ACEOF
45610 #define wxUSE_STC 1
45614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45617 if test "$wxUSE_MENUS" = "yes"; then
45618 cat >>confdefs.h <<\_ACEOF
45619 #define wxUSE_MENUS 1
45622 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45625 if test "$wxUSE_METAFILE" = "yes"; then
45626 cat >>confdefs.h <<\_ACEOF
45627 #define wxUSE_METAFILE 1
45632 if test "$wxUSE_MIMETYPE" = "yes"; then
45633 cat >>confdefs.h <<\_ACEOF
45634 #define wxUSE_MIMETYPE 1
45639 if test "$wxUSE_MINIFRAME" = "yes"; then
45640 cat >>confdefs.h <<\_ACEOF
45641 #define wxUSE_MINIFRAME 1
45646 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45647 cat >>confdefs.h <<\_ACEOF
45648 #define wxUSE_SYSTEM_OPTIONS 1
45653 if test "$wxUSE_TASKBARICON" = "yes"; then
45654 cat >>confdefs.h <<\_ACEOF
45655 #define wxUSE_TASKBARICON 1
45658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45662 if test "$wxUSE_VALIDATORS" = "yes"; then
45663 cat >>confdefs.h <<\_ACEOF
45664 #define wxUSE_VALIDATORS 1
45667 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45670 if test "$wxUSE_PALETTE" = "yes" ; then
45671 if test "$wxUSE_DFB" = 1; then
45672 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45673 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45676 cat >>confdefs.h <<\_ACEOF
45677 #define wxUSE_PALETTE 1
45683 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45684 LIBS=" -lunicows $LIBS"
45688 if test "$wxUSE_RICHTEXT" = "yes"; then
45689 cat >>confdefs.h <<\_ACEOF
45690 #define wxUSE_RICHTEXT 1
45694 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45698 if test "$wxUSE_IMAGE" = "yes" ; then
45699 cat >>confdefs.h <<\_ACEOF
45700 #define wxUSE_IMAGE 1
45704 if test "$wxUSE_GIF" = "yes" ; then
45705 cat >>confdefs.h <<\_ACEOF
45706 #define wxUSE_GIF 1
45711 if test "$wxUSE_PCX" = "yes" ; then
45712 cat >>confdefs.h <<\_ACEOF
45713 #define wxUSE_PCX 1
45718 if test "$wxUSE_TGA" = "yes" ; then
45719 cat >>confdefs.h <<\_ACEOF
45720 #define wxUSE_TGA 1
45725 if test "$wxUSE_IFF" = "yes" ; then
45726 cat >>confdefs.h <<\_ACEOF
45727 #define wxUSE_IFF 1
45732 if test "$wxUSE_PNM" = "yes" ; then
45733 cat >>confdefs.h <<\_ACEOF
45734 #define wxUSE_PNM 1
45739 if test "$wxUSE_XPM" = "yes" ; then
45740 cat >>confdefs.h <<\_ACEOF
45741 #define wxUSE_XPM 1
45746 if test "$wxUSE_ICO_CUR" = "yes" ; then
45747 cat >>confdefs.h <<\_ACEOF
45748 #define wxUSE_ICO_CUR 1
45755 if test "$wxUSE_ABOUTDLG" = "yes"; then
45756 cat >>confdefs.h <<\_ACEOF
45757 #define wxUSE_ABOUTDLG 1
45762 if test "$wxUSE_CHOICEDLG" = "yes"; then
45763 cat >>confdefs.h <<\_ACEOF
45764 #define wxUSE_CHOICEDLG 1
45769 if test "$wxUSE_COLOURDLG" = "yes"; then
45770 cat >>confdefs.h <<\_ACEOF
45771 #define wxUSE_COLOURDLG 1
45776 if test "$wxUSE_FILEDLG" = "yes"; then
45777 cat >>confdefs.h <<\_ACEOF
45778 #define wxUSE_FILEDLG 1
45783 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45784 cat >>confdefs.h <<\_ACEOF
45785 #define wxUSE_FINDREPLDLG 1
45790 if test "$wxUSE_FONTDLG" = "yes"; then
45791 cat >>confdefs.h <<\_ACEOF
45792 #define wxUSE_FONTDLG 1
45797 if test "$wxUSE_DIRDLG" = "yes"; then
45798 if test "$wxUSE_TREECTRL" != "yes"; then
45799 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45800 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45802 cat >>confdefs.h <<\_ACEOF
45803 #define wxUSE_DIRDLG 1
45809 if test "$wxUSE_MSGDLG" = "yes"; then
45810 cat >>confdefs.h <<\_ACEOF
45811 #define wxUSE_MSGDLG 1
45816 if test "$wxUSE_NUMBERDLG" = "yes"; then
45817 cat >>confdefs.h <<\_ACEOF
45818 #define wxUSE_NUMBERDLG 1
45823 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45824 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45825 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45826 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45828 cat >>confdefs.h <<\_ACEOF
45829 #define wxUSE_PROGRESSDLG 1
45835 if test "$wxUSE_SPLASH" = "yes"; then
45836 cat >>confdefs.h <<\_ACEOF
45837 #define wxUSE_SPLASH 1
45840 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45843 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45844 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45845 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45846 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45848 cat >>confdefs.h <<\_ACEOF
45849 #define wxUSE_STARTUP_TIPS 1
45855 if test "$wxUSE_TEXTDLG" = "yes"; then
45856 cat >>confdefs.h <<\_ACEOF
45857 #define wxUSE_TEXTDLG 1
45862 if test "$wxUSE_WIZARDDLG" = "yes"; then
45863 cat >>confdefs.h <<\_ACEOF
45864 #define wxUSE_WIZARDDLG 1
45867 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45871 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45872 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45873 cat >>confdefs.h <<\_ACEOF
45874 #define wxUSE_OWNER_DRAWN 1
45881 if test "$wxUSE_MSW" = 1 ; then
45883 if test "$wxUSE_DC_CACHEING" = "yes"; then
45884 cat >>confdefs.h <<\_ACEOF
45885 #define wxUSE_DC_CACHEING 1
45890 if test "$wxUSE_DIB" = "yes"; then
45891 cat >>confdefs.h <<\_ACEOF
45892 #define wxUSE_WXDIB 1
45897 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45898 cat >>confdefs.h <<\_ACEOF
45899 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45904 if test "$wxUSE_UXTHEME" = "yes"; then
45905 cat >>confdefs.h <<\_ACEOF
45906 #define wxUSE_UXTHEME 1
45913 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
45914 cat >>confdefs.h <<\_ACEOF
45915 #define wxUSE_AUTOID_MANAGEMENT 1
45920 if test "$USE_WIN32" = 1 ; then
45921 if test "$wxUSE_INICONF" = "yes"; then
45922 cat >>confdefs.h <<\_ACEOF
45923 #define wxUSE_INICONF 1
45928 if test "$wxUSE_REGKEY" = "yes"; then
45929 cat >>confdefs.h <<\_ACEOF
45930 #define wxUSE_REGKEY 1
45937 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45938 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45939 cat >>confdefs.h <<\_ACEOF
45940 #define wxUSE_GRAPHICS_CONTEXT 1
45943 elif test "$wxUSE_GTK" != 1; then
45944 cat >>confdefs.h <<\_ACEOF
45945 #define wxUSE_GRAPHICS_CONTEXT 1
45951 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45952 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45954 if test -n "$PKG_CONFIG"; then
45955 if test -n "$CAIRO_CFLAGS"; then
45956 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45958 if test -n "$PKG_CONFIG" && \
45959 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45960 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45963 (exit $ac_status); }; then
45964 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45972 if test -n "$PKG_CONFIG"; then
45973 if test -n "$CAIRO_LIBS"; then
45974 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45976 if test -n "$PKG_CONFIG" && \
45977 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45978 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45981 (exit $ac_status); }; then
45982 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45993 if test $pkg_failed = yes; then
45995 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45996 _pkg_short_errors_supported=yes
45998 _pkg_short_errors_supported=no
46000 if test $_pkg_short_errors_supported = yes; then
46001 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46003 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46005 # Put the nasty error message in config.log where it belongs
46006 echo "$CAIRO_PKG_ERRORS" >&5
46008 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46009 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46011 elif test $pkg_failed = untried; then
46012 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46013 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46016 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46017 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46018 { echo "$as_me:$LINENO: result: yes" >&5
46019 echo "${ECHO_T}yes" >&6; }
46020 cat >>confdefs.h <<\_ACEOF
46021 #define wxUSE_GRAPHICS_CONTEXT 1
46031 if test "$wxUSE_MEDIACTRL" = "yes"; then
46034 if test "$wxUSE_GTK" = 1; then
46035 wxUSE_GSTREAMER="no"
46037 GST_VERSION_MAJOR=0
46038 GST_VERSION_MINOR=10
46039 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46041 if test "$wxUSE_GSTREAMER8" = "no"; then
46044 { echo "$as_me:$LINENO: checking for GST" >&5
46045 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46047 if test -n "$PKG_CONFIG"; then
46048 if test -n "$GST_CFLAGS"; then
46049 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46051 if test -n "$PKG_CONFIG" && \
46052 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46053 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46056 (exit $ac_status); }; then
46057 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46065 if test -n "$PKG_CONFIG"; then
46066 if test -n "$GST_LIBS"; then
46067 pkg_cv_GST_LIBS="$GST_LIBS"
46069 if test -n "$PKG_CONFIG" && \
46070 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46071 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46074 (exit $ac_status); }; then
46075 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46086 if test $pkg_failed = yes; then
46088 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46089 _pkg_short_errors_supported=yes
46091 _pkg_short_errors_supported=no
46093 if test $_pkg_short_errors_supported = yes; then
46094 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46096 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46098 # Put the nasty error message in config.log where it belongs
46099 echo "$GST_PKG_ERRORS" >&5
46102 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46103 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46104 GST_VERSION_MINOR=8
46107 elif test $pkg_failed = untried; then
46109 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46110 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46111 GST_VERSION_MINOR=8
46115 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46116 GST_LIBS=$pkg_cv_GST_LIBS
46117 { echo "$as_me:$LINENO: result: yes" >&5
46118 echo "${ECHO_T}yes" >&6; }
46120 wxUSE_GSTREAMER="yes"
46121 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46125 GST_VERSION_MINOR=8
46128 if test $GST_VERSION_MINOR = "8"; then
46129 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46132 { echo "$as_me:$LINENO: checking for GST" >&5
46133 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46135 if test -n "$PKG_CONFIG"; then
46136 if test -n "$GST_CFLAGS"; then
46137 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46139 if test -n "$PKG_CONFIG" && \
46140 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46141 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46144 (exit $ac_status); }; then
46145 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46153 if test -n "$PKG_CONFIG"; then
46154 if test -n "$GST_LIBS"; then
46155 pkg_cv_GST_LIBS="$GST_LIBS"
46157 if test -n "$PKG_CONFIG" && \
46158 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46159 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46162 (exit $ac_status); }; then
46163 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46174 if test $pkg_failed = yes; then
46176 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46177 _pkg_short_errors_supported=yes
46179 _pkg_short_errors_supported=no
46181 if test $_pkg_short_errors_supported = yes; then
46182 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46184 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46186 # Put the nasty error message in config.log where it belongs
46187 echo "$GST_PKG_ERRORS" >&5
46190 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46191 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46193 elif test $pkg_failed = untried; then
46195 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46196 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46199 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46200 GST_LIBS=$pkg_cv_GST_LIBS
46201 { echo "$as_me:$LINENO: result: yes" >&5
46202 echo "${ECHO_T}yes" >&6; }
46203 wxUSE_GSTREAMER="yes"
46208 if test "$wxUSE_GSTREAMER" = "yes"; then
46209 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46210 EXTRALIBS_MEDIA="$GST_LIBS"
46212 cat >>confdefs.h <<\_ACEOF
46213 #define wxUSE_GSTREAMER 1
46221 if test $USE_MEDIA = 1; then
46222 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46223 cat >>confdefs.h <<\_ACEOF
46224 #define wxUSE_MEDIACTRL 1
46231 if test "$cross_compiling" = "yes"; then
46234 OSINFO=`uname -s -r -m`
46235 OSINFO="\"$OSINFO\""
46238 cat >>confdefs.h <<_ACEOF
46239 #define WXWIN_OS_DESCRIPTION $OSINFO
46244 if test "x$prefix" != "xNONE"; then
46247 wxPREFIX=$ac_default_prefix
46250 cat >>confdefs.h <<_ACEOF
46251 #define wxINSTALL_PREFIX "$wxPREFIX"
46257 STD_BASE_LIBS="base"
46259 BUILT_WX_LIBS="base"
46260 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46262 if test "$wxUSE_SOCKETS" = "yes" ; then
46263 STD_BASE_LIBS="net $STD_BASE_LIBS"
46264 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46266 if test "$wxUSE_XML" = "yes" ; then
46267 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46268 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46271 if test "$wxUSE_GUI" = "yes"; then
46272 STD_GUI_LIBS="adv core"
46273 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46275 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46276 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46277 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46279 if test "$wxUSE_HTML" = "yes" ; then
46280 STD_GUI_LIBS="html $STD_GUI_LIBS"
46281 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46283 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46284 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46286 if test "$wxUSE_OPENGL" = "yes" ; then
46287 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46289 if test "$wxUSE_AUI" = "yes" ; then
46290 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46292 if test "$wxUSE_STC" = "yes" ; then
46293 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46295 if test "$wxUSE_XRC" = "yes" ; then
46296 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46297 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46308 if test "$wxUSE_MAC" = 1 ; then
46309 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46310 if test "$USE_DARWIN" = 1; then
46311 LDFLAGS="$LDFLAGS -framework QuickTime"
46313 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46316 if test "$USE_DARWIN" = 1; then
46317 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46319 LDFLAGS="$LDFLAGS -lCarbonLib"
46322 if test "$wxUSE_COCOA" = 1 ; then
46323 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46324 if test "$wxUSE_MEDIACTRL" = "yes"; then
46325 LDFLAGS="$LDFLAGS -framework QuickTime"
46328 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46329 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46332 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46334 if test "$wxUSE_GUI" = "yes"; then
46337 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46338 erase event exec font image minimal mobile \
46339 mobile/wxedit mobile/styles render \
46340 shaped svg taborder vscroll widgets"
46342 if test "$wxUSE_MONOLITHIC" != "yes"; then
46343 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46345 if test "$TOOLKIT" = "MSW"; then
46346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46347 if test "$wxUSE_UNIVERSAL" != "yes"; then
46348 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46351 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46355 SAMPLES_SUBDIRS="console"
46356 if test "$wxUSE_SOCKETS" = "yes" ; then
46357 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46362 if test "x$INTELCC" = "xyes" ; then
46363 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46364 elif test "$GCC" = yes ; then
46365 CWARNINGS="-Wall -Wundef"
46368 if test "x$INTELCXX" = "xyes" ; then
46369 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46370 elif test "$GXX" = yes ; then
46371 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46375 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46376 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46379 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46380 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46381 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46384 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46385 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46386 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46388 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46391 if test "x$MWCC" = "xyes"; then
46393 CC="$CC -cwd source -I-"
46394 CXX="$CXX -cwd source -I-"
46399 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46400 EXTRALIBS_XML="$EXPAT_LINK"
46401 EXTRALIBS_HTML="$MSPACK_LINK"
46402 EXTRALIBS_MEDIA="$GST_LIBS"
46403 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46404 if test "$wxUSE_GUI" = "yes"; then
46405 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46407 if test "$wxUSE_OPENGL" = "yes"; then
46408 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46411 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46413 WXCONFIG_LIBS="$LIBS"
46415 if test "$wxUSE_REGEX" = "builtin" ; then
46416 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46418 if test "$wxUSE_EXPAT" = "builtin" ; then
46419 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46421 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46422 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46424 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46425 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46427 if test "$wxUSE_LIBPNG" = "builtin" ; then
46428 wxconfig_3rdparty="png $wxconfig_3rdparty"
46430 if test "$wxUSE_ZLIB" = "builtin" ; then
46431 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46434 for i in $wxconfig_3rdparty ; do
46435 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46439 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46442 case "$wxUNIV_THEMES" in
46444 cat >>confdefs.h <<\_ACEOF
46445 #define wxUSE_ALL_THEMES 1
46451 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46452 cat >>confdefs.h <<_ACEOF
46453 #define wxUSE_THEME_$t 1
46469 if test $wxUSE_MONOLITHIC = "yes" ; then
46475 if test $wxUSE_PLUGINS = "yes" ; then
46481 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46487 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46519 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
46530 TOOLKIT_DESC="GTK+"
46531 if test "$WXGTK2" = 1; then
46532 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46533 if test "$wxUSE_GTKPRINT" = "yes" ; then
46534 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46536 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46537 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46539 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46540 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46542 if test "$wxUSE_LIBHILDON" = "yes"; then
46543 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46546 if test "$TOOLKIT_EXTRA" != ""; then
46547 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46553 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46557 TOOLKIT_DESC="base only"
46561 if test "$wxUSE_WINE" = "yes"; then
46562 BAKEFILE_FORCE_PLATFORM=win32
46565 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46567 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46568 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46569 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46570 echo $ECHO_N "(cached) $ECHO_C" >&6
46573 echo '#include <stdio.h>
46574 const wchar_t test_var[] = L"awidetest";' > conftest.h
46576 echo '#include "conftest.h"
46579 printf("%ls", test_var);
46583 wx_cv_gcc_pch_bug="pch not supported"
46585 if $CXX conftest.h >/dev/null 2>&1
46589 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46591 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46592 grep awidetest >/dev/null
46594 wx_cv_gcc_pch_bug=no
46596 wx_cv_gcc_pch_bug=yes
46601 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46604 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46605 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46607 if test "$wx_cv_gcc_pch_bug" = yes; then
46615 if test "x$BAKEFILE_HOST" = "x"; then
46616 if test "x${host}" = "x" ; then
46617 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46618 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46619 { (exit 1); exit 1; }; }
46622 BAKEFILE_HOST="${host}"
46625 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46627 if test -n "$ac_tool_prefix"; then
46628 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46629 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46632 if test "${ac_cv_prog_RANLIB+set}" = set; then
46633 echo $ECHO_N "(cached) $ECHO_C" >&6
46635 if test -n "$RANLIB"; then
46636 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46639 for as_dir in $PATH
46642 test -z "$as_dir" && as_dir=.
46643 for ac_exec_ext in '' $ac_executable_extensions; do
46644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46645 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46655 RANLIB=$ac_cv_prog_RANLIB
46656 if test -n "$RANLIB"; then
46657 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46658 echo "${ECHO_T}$RANLIB" >&6; }
46660 { echo "$as_me:$LINENO: result: no" >&5
46661 echo "${ECHO_T}no" >&6; }
46666 if test -z "$ac_cv_prog_RANLIB"; then
46667 ac_ct_RANLIB=$RANLIB
46668 # Extract the first word of "ranlib", so it can be a program name with args.
46669 set dummy ranlib; ac_word=$2
46670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46672 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46673 echo $ECHO_N "(cached) $ECHO_C" >&6
46675 if test -n "$ac_ct_RANLIB"; then
46676 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46679 for as_dir in $PATH
46682 test -z "$as_dir" && as_dir=.
46683 for ac_exec_ext in '' $ac_executable_extensions; do
46684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46685 ac_cv_prog_ac_ct_RANLIB="ranlib"
46686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46695 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46696 if test -n "$ac_ct_RANLIB"; then
46697 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46698 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46700 { echo "$as_me:$LINENO: result: no" >&5
46701 echo "${ECHO_T}no" >&6; }
46704 if test "x$ac_ct_RANLIB" = x; then
46707 case $cross_compiling:$ac_tool_warned in
46709 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46710 whose name does not start with the host triplet. If you think this
46711 configuration is useful to you, please write to autoconf@gnu.org." >&5
46712 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46713 whose name does not start with the host triplet. If you think this
46714 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46715 ac_tool_warned=yes ;;
46717 RANLIB=$ac_ct_RANLIB
46720 RANLIB="$ac_cv_prog_RANLIB"
46723 # Find a good install program. We prefer a C program (faster),
46724 # so one script is as good as another. But avoid the broken or
46725 # incompatible versions:
46726 # SysV /etc/install, /usr/sbin/install
46727 # SunOS /usr/etc/install
46728 # IRIX /sbin/install
46730 # AmigaOS /C/install, which installs bootblocks on floppy discs
46731 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46732 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46733 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46734 # OS/2's system install, which has a completely different semantic
46735 # ./install, which can be erroneously created by make from ./install.sh.
46736 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46737 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46738 if test -z "$INSTALL"; then
46739 if test "${ac_cv_path_install+set}" = set; then
46740 echo $ECHO_N "(cached) $ECHO_C" >&6
46742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46743 for as_dir in $PATH
46746 test -z "$as_dir" && as_dir=.
46747 # Account for people who put trailing slashes in PATH elements.
46749 ./ | .// | /cC/* | \
46750 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46751 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46754 # OSF1 and SCO ODT 3.0 have their own names for install.
46755 # Don't use installbsd from OSF since it installs stuff as root
46757 for ac_prog in ginstall scoinst install; do
46758 for ac_exec_ext in '' $ac_executable_extensions; do
46759 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46760 if test $ac_prog = install &&
46761 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46762 # AIX install. It has an incompatible calling convention.
46764 elif test $ac_prog = install &&
46765 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46766 # program-specific install script used by HP pwplus--don't use.
46769 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46782 if test "${ac_cv_path_install+set}" = set; then
46783 INSTALL=$ac_cv_path_install
46785 # As a last resort, use the slow shell script. Don't cache a
46786 # value for INSTALL within a source directory, because that will
46787 # break other packages using the cache if that directory is
46788 # removed, or if the value is a relative name.
46789 INSTALL=$ac_install_sh
46792 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46793 echo "${ECHO_T}$INSTALL" >&6; }
46795 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46796 # It thinks the first close brace ends the variable substitution.
46797 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46799 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46801 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46803 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46804 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46806 if test "$LN_S" = "ln -s"; then
46807 { echo "$as_me:$LINENO: result: yes" >&5
46808 echo "${ECHO_T}yes" >&6; }
46810 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46811 echo "${ECHO_T}no, using $LN_S" >&6; }
46815 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46816 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46817 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46818 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46819 echo $ECHO_N "(cached) $ECHO_C" >&6
46821 cat >conftest.make <<\_ACEOF
46824 @echo '@@@%%%=$(MAKE)=@@@%%%'
46826 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46827 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46828 *@@@%%%=?*=@@@%%%*)
46829 eval ac_cv_prog_make_${ac_make}_set=yes;;
46831 eval ac_cv_prog_make_${ac_make}_set=no;;
46833 rm -f conftest.make
46835 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46836 { echo "$as_me:$LINENO: result: yes" >&5
46837 echo "${ECHO_T}yes" >&6; }
46840 { echo "$as_me:$LINENO: result: no" >&5
46841 echo "${ECHO_T}no" >&6; }
46842 SET_MAKE="MAKE=${MAKE-make}"
46847 if test "x$SUNCXX" = "xyes"; then
46849 AROPTIONS="-xar -o"
46851 elif test "x$SGICC" = "xyes"; then
46856 if test -n "$ac_tool_prefix"; then
46857 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46858 set dummy ${ac_tool_prefix}ar; ac_word=$2
46859 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46861 if test "${ac_cv_prog_AR+set}" = set; then
46862 echo $ECHO_N "(cached) $ECHO_C" >&6
46864 if test -n "$AR"; then
46865 ac_cv_prog_AR="$AR" # Let the user override the test.
46867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46868 for as_dir in $PATH
46871 test -z "$as_dir" && as_dir=.
46872 for ac_exec_ext in '' $ac_executable_extensions; do
46873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46874 ac_cv_prog_AR="${ac_tool_prefix}ar"
46875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46885 if test -n "$AR"; then
46886 { echo "$as_me:$LINENO: result: $AR" >&5
46887 echo "${ECHO_T}$AR" >&6; }
46889 { echo "$as_me:$LINENO: result: no" >&5
46890 echo "${ECHO_T}no" >&6; }
46895 if test -z "$ac_cv_prog_AR"; then
46897 # Extract the first word of "ar", so it can be a program name with args.
46898 set dummy ar; ac_word=$2
46899 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46901 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46902 echo $ECHO_N "(cached) $ECHO_C" >&6
46904 if test -n "$ac_ct_AR"; then
46905 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46908 for as_dir in $PATH
46911 test -z "$as_dir" && as_dir=.
46912 for ac_exec_ext in '' $ac_executable_extensions; do
46913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46914 ac_cv_prog_ac_ct_AR="ar"
46915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46924 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46925 if test -n "$ac_ct_AR"; then
46926 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46927 echo "${ECHO_T}$ac_ct_AR" >&6; }
46929 { echo "$as_me:$LINENO: result: no" >&5
46930 echo "${ECHO_T}no" >&6; }
46933 if test "x$ac_ct_AR" = x; then
46936 case $cross_compiling:$ac_tool_warned in
46938 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46939 whose name does not start with the host triplet. If you think this
46940 configuration is useful to you, please write to autoconf@gnu.org." >&5
46941 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46942 whose name does not start with the host triplet. If you think this
46943 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46944 ac_tool_warned=yes ;;
46949 AR="$ac_cv_prog_AR"
46956 if test -n "$ac_tool_prefix"; then
46957 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46958 set dummy ${ac_tool_prefix}strip; ac_word=$2
46959 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46961 if test "${ac_cv_prog_STRIP+set}" = set; then
46962 echo $ECHO_N "(cached) $ECHO_C" >&6
46964 if test -n "$STRIP"; then
46965 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46968 for as_dir in $PATH
46971 test -z "$as_dir" && as_dir=.
46972 for ac_exec_ext in '' $ac_executable_extensions; do
46973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46974 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46984 STRIP=$ac_cv_prog_STRIP
46985 if test -n "$STRIP"; then
46986 { echo "$as_me:$LINENO: result: $STRIP" >&5
46987 echo "${ECHO_T}$STRIP" >&6; }
46989 { echo "$as_me:$LINENO: result: no" >&5
46990 echo "${ECHO_T}no" >&6; }
46995 if test -z "$ac_cv_prog_STRIP"; then
46997 # Extract the first word of "strip", so it can be a program name with args.
46998 set dummy strip; ac_word=$2
46999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47001 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47002 echo $ECHO_N "(cached) $ECHO_C" >&6
47004 if test -n "$ac_ct_STRIP"; then
47005 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47008 for as_dir in $PATH
47011 test -z "$as_dir" && as_dir=.
47012 for ac_exec_ext in '' $ac_executable_extensions; do
47013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47014 ac_cv_prog_ac_ct_STRIP="strip"
47015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47024 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47025 if test -n "$ac_ct_STRIP"; then
47026 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47027 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47029 { echo "$as_me:$LINENO: result: no" >&5
47030 echo "${ECHO_T}no" >&6; }
47033 if test "x$ac_ct_STRIP" = x; then
47036 case $cross_compiling:$ac_tool_warned in
47038 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47039 whose name does not start with the host triplet. If you think this
47040 configuration is useful to you, please write to autoconf@gnu.org." >&5
47041 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47042 whose name does not start with the host triplet. If you think this
47043 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47044 ac_tool_warned=yes ;;
47049 STRIP="$ac_cv_prog_STRIP"
47052 if test -n "$ac_tool_prefix"; then
47053 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47054 set dummy ${ac_tool_prefix}nm; ac_word=$2
47055 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47057 if test "${ac_cv_prog_NM+set}" = set; then
47058 echo $ECHO_N "(cached) $ECHO_C" >&6
47060 if test -n "$NM"; then
47061 ac_cv_prog_NM="$NM" # Let the user override the test.
47063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47064 for as_dir in $PATH
47067 test -z "$as_dir" && as_dir=.
47068 for ac_exec_ext in '' $ac_executable_extensions; do
47069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47070 ac_cv_prog_NM="${ac_tool_prefix}nm"
47071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47081 if test -n "$NM"; then
47082 { echo "$as_me:$LINENO: result: $NM" >&5
47083 echo "${ECHO_T}$NM" >&6; }
47085 { echo "$as_me:$LINENO: result: no" >&5
47086 echo "${ECHO_T}no" >&6; }
47091 if test -z "$ac_cv_prog_NM"; then
47093 # Extract the first word of "nm", so it can be a program name with args.
47094 set dummy nm; ac_word=$2
47095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47097 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47098 echo $ECHO_N "(cached) $ECHO_C" >&6
47100 if test -n "$ac_ct_NM"; then
47101 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47104 for as_dir in $PATH
47107 test -z "$as_dir" && as_dir=.
47108 for ac_exec_ext in '' $ac_executable_extensions; do
47109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47110 ac_cv_prog_ac_ct_NM="nm"
47111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47120 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47121 if test -n "$ac_ct_NM"; then
47122 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47123 echo "${ECHO_T}$ac_ct_NM" >&6; }
47125 { echo "$as_me:$LINENO: result: no" >&5
47126 echo "${ECHO_T}no" >&6; }
47129 if test "x$ac_ct_NM" = x; then
47132 case $cross_compiling:$ac_tool_warned in
47134 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47135 whose name does not start with the host triplet. If you think this
47136 configuration is useful to you, please write to autoconf@gnu.org." >&5
47137 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47138 whose name does not start with the host triplet. If you think this
47139 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47140 ac_tool_warned=yes ;;
47145 NM="$ac_cv_prog_NM"
47149 case ${BAKEFILE_HOST} in
47151 INSTALL_DIR="mkdir -p"
47154 INSTALL_DIR='$(INSTALL) -d'
47160 case ${BAKEFILE_HOST} in
47161 *-*-cygwin* | *-*-mingw32* )
47162 LDFLAGS_GUI="-mwindows"
47168 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47169 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47170 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47171 echo $ECHO_N "(cached) $ECHO_C" >&6
47174 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47175 egrep -s GNU > /dev/null); then
47176 bakefile_cv_prog_makeisgnu="yes"
47178 bakefile_cv_prog_makeisgnu="no"
47182 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47183 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47185 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47202 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47203 case "${BAKEFILE_HOST}" in
47210 *-pc-os2_emx | *-pc-os2-emx )
47220 powerpc-apple-macos* )
47229 case "$BAKEFILE_FORCE_PLATFORM" in
47264 # Check whether --enable-omf was given.
47265 if test "${enable_omf+set}" = set; then
47266 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47270 case "${BAKEFILE_HOST}" in
47272 if test "x$GCC" = "xyes"; then
47273 CFLAGS="$CFLAGS -fno-common"
47274 CXXFLAGS="$CXXFLAGS -fno-common"
47276 if test "x$XLCC" = "xyes"; then
47277 CFLAGS="$CFLAGS -qnocommon"
47278 CXXFLAGS="$CXXFLAGS -qnocommon"
47282 *-pc-os2_emx | *-pc-os2-emx )
47283 if test "x$bk_os2_use_omf" = "xyes" ; then
47286 LDFLAGS="-Zomf $LDFLAGS"
47287 CFLAGS="-Zomf $CFLAGS"
47288 CXXFLAGS="-Zomf $CXXFLAGS"
47296 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47302 SO_SUFFIX_MODULE="so"
47307 DLLPREFIX_MODULE=""
47311 case "${BAKEFILE_HOST}" in
47314 SO_SUFFIX_MODULE="sl"
47318 SO_SUFFIX_MODULE="a"
47322 SO_SUFFIX_MODULE="dll"
47323 DLLIMP_SUFFIX="dll.a"
47330 SO_SUFFIX_MODULE="dll"
47331 DLLIMP_SUFFIX="dll.a"
47341 *-pc-os2_emx | *-pc-os2-emx )
47343 SO_SUFFIX_MODULE="dll"
47344 DLLIMP_SUFFIX=$OS2_LIBEXT
47348 LIBEXT=".$OS2_LIBEXT"
47353 SO_SUFFIX_MODULE="bundle"
47357 if test "x$DLLIMP_SUFFIX" = "x" ; then
47358 DLLIMP_SUFFIX="$SO_SUFFIX"
47373 if test "x$GCC" = "xyes"; then
47377 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47378 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47381 case "${BAKEFILE_HOST}" in
47383 if test "x$GCC" != "xyes"; then
47384 LDFLAGS="$LDFLAGS -L/usr/lib"
47386 SHARED_LD_CC="${CC} -b -o"
47387 SHARED_LD_CXX="${CXX} -b -o"
47393 if test "$INTELCC" = "yes"; then
47395 elif test "x$SUNCXX" = "xyes"; then
47396 SHARED_LD_CC="${CC} -G -o"
47397 SHARED_LD_CXX="${CXX} -G -o"
47403 if test "x$SUNCXX" = xyes ; then
47404 SHARED_LD_CC="${CC} -G -o"
47405 SHARED_LD_CXX="${CXX} -G -o"
47413 cat <<EOF >shared-ld-sh
47415 #-----------------------------------------------------------------------------
47416 #-- Name: distrib/mac/shared-ld-sh
47417 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47418 #-- Author: Gilles Depeyrot
47419 #-- Copyright: (c) 2002 Gilles Depeyrot
47420 #-- Licence: any use permitted
47421 #-----------------------------------------------------------------------------
47426 linking_flag="-dynamiclib"
47427 ldargs="-r -keep_private_externs -nostdlib"
47429 while test ${D}# -gt 0; do
47436 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47437 # collect these options and values
47438 args="${D}{args} ${D}1 ${D}2"
47443 # collect these load args
47444 ldargs="${D}{ldargs} ${D}1"
47447 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47448 # collect these options
47449 args="${D}{args} ${D}1"
47452 -dynamiclib|-bundle)
47453 linking_flag="${D}1"
47457 echo "shared-ld: unhandled option '${D}1'"
47461 *.o | *.a | *.dylib)
47462 # collect object files
47463 objects="${D}{objects} ${D}1"
47467 echo "shared-ld: unhandled argument '${D}1'"
47478 # Link one module containing all the others
47480 if test ${D}{verbose} = 1; then
47481 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47483 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47487 # Link the shared library from the single module created, but only if the
47488 # previous command didn't fail:
47490 if test ${D}{status} = 0; then
47491 if test ${D}{verbose} = 1; then
47492 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47494 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47499 # Remove intermediate module
47501 rm -f master.${D}${D}.o
47506 chmod +x shared-ld-sh
47508 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47509 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47512 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47513 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47514 if test "${bakefile_cv_gcc31+set}" = set; then
47515 echo $ECHO_N "(cached) $ECHO_C" >&6
47518 cat >conftest.$ac_ext <<_ACEOF
47521 cat confdefs.h >>conftest.$ac_ext
47522 cat >>conftest.$ac_ext <<_ACEOF
47523 /* end confdefs.h. */
47529 #if (__GNUC__ < 3) || \
47530 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47538 rm -f conftest.$ac_objext
47539 if { (ac_try="$ac_compile"
47540 case "(($ac_try" in
47541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47542 *) ac_try_echo=$ac_try;;
47544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47545 (eval "$ac_compile") 2>conftest.er1
47547 grep -v '^ *+' conftest.er1 >conftest.err
47549 cat conftest.err >&5
47550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47551 (exit $ac_status); } && {
47552 test -z "$ac_c_werror_flag" ||
47553 test ! -s conftest.err
47554 } && test -s conftest.$ac_objext; then
47556 bakefile_cv_gcc31=yes
47559 echo "$as_me: failed program was:" >&5
47560 sed 's/^/| /' conftest.$ac_ext >&5
47563 bakefile_cv_gcc31=no
47568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47571 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47572 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47573 if test "$bakefile_cv_gcc31" = "no"; then
47574 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47575 SHARED_LD_CXX="$SHARED_LD_CC"
47577 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47578 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47581 if test "x$GCC" == "xyes"; then
47582 PIC_FLAG="-dynamic -fPIC"
47584 if test "x$XLCC" = "xyes"; then
47585 PIC_FLAG="-dynamic -DPIC"
47590 if test "x$GCC" = "xyes"; then
47593 case "${BAKEFILE_HOST}" in
47595 LD_EXPFULL="-Wl,-bexpfull"
47599 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47600 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47602 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47603 set dummy makeC++SharedLib; ac_word=$2
47604 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47606 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47607 echo $ECHO_N "(cached) $ECHO_C" >&6
47609 if test -n "$AIX_CXX_LD"; then
47610 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47613 for as_dir in $PATH
47616 test -z "$as_dir" && as_dir=.
47617 for ac_exec_ext in '' $ac_executable_extensions; do
47618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47619 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47627 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47630 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47631 if test -n "$AIX_CXX_LD"; then
47632 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47633 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47635 { echo "$as_me:$LINENO: result: no" >&5
47636 echo "${ECHO_T}no" >&6; }
47640 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47641 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47646 SHARED_LD_CC="${LD} -nostart -o"
47647 SHARED_LD_CXX="${LD} -nostart -o"
47651 if test "x$GCC" != "xyes"; then
47656 *-*-cygwin* | *-*-mingw32* )
47658 SHARED_LD_CC="\$(CC) -shared -o"
47659 SHARED_LD_CXX="\$(CXX) -shared -o"
47663 *-pc-os2_emx | *-pc-os2-emx )
47664 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47665 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47669 cat <<EOF >dllar.sh
47672 # dllar - a tool to build both a .dll and an .a file
47673 # from a set of object (.o) files for EMX/OS2.
47675 # Written by Andrew Zabolotny, bit@freya.etu.ru
47676 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47678 # This script will accept a set of files on the command line.
47679 # All the public symbols from the .o files will be exported into
47680 # a .DEF file, then linker will be run (through gcc) against them to
47681 # build a shared library consisting of all given .o files. All libraries
47682 # (.a) will be first decompressed into component .o files then act as
47683 # described above. You can optionally give a description (-d "description")
47684 # which will be put into .DLL. To see the list of accepted options (as well
47685 # as command-line format) simply run this program without options. The .DLL
47686 # is built to be imported by name (there is no guarantee that new versions
47687 # of the library you build will have same ordinals for same symbols).
47689 # dllar is free software; you can redistribute it and/or modify
47690 # it under the terms of the GNU General Public License as published by
47691 # the Free Software Foundation; either version 2, or (at your option)
47692 # any later version.
47694 # dllar is distributed in the hope that it will be useful,
47695 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47696 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47697 # GNU General Public License for more details.
47699 # You should have received a copy of the GNU General Public License
47700 # along with dllar; see the file COPYING. If not, write to the Free
47701 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47704 # To successfuly run this program you will need:
47705 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47706 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47708 # (used to build the .dll)
47710 # (used to create .def file from .o files)
47712 # (used to create .a file from .def file)
47713 # - GNU text utilites (cat, sort, uniq)
47714 # used to process emxexp output
47715 # - GNU file utilities (mv, rm)
47717 # - lxlite (optional, see flag below)
47718 # (used for general .dll cleanup)
47725 # basnam, variant of basename, which does _not_ remove the path, _iff_
47726 # second argument (suffix to remove) is given
47730 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47733 echo ${D}1 | sed 's/'${D}2'${D}//'
47736 echo "error in basnam ${D}*"
47742 # Cleanup temporary files and output
47745 for i in ${D}inputFiles ; do
47748 rm -rf \`basnam ${D}i !\`
47755 # Kill result in case of failure as there is just to many stupid make/nmake
47756 # things out there which doesn't do this.
47757 if [ ${D}# -eq 0 ]; then
47758 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47762 # Print usage and exit script with rc=1.
47764 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47765 echo ' [-name-mangler-script script.sh]'
47766 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47767 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47768 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47769 echo ' [*.o] [*.a]'
47770 echo '*> "output_file" should have no extension.'
47771 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47772 echo ' The import library name is derived from this and is set to "name".a,'
47773 echo ' unless overridden by -import'
47774 echo '*> "importlib_name" should have no extension.'
47775 echo ' If it has the .o, or .a extension, it is automatically removed.'
47776 echo ' This name is used as the import library name and may be longer and'
47777 echo ' more descriptive than the DLL name which has to follow the old '
47778 echo ' 8.3 convention of FAT.'
47779 echo '*> "script.sh may be given to override the output_file name by a'
47780 echo ' different name. It is mainly useful if the regular make process'
47781 echo ' of some package does not take into account OS/2 restriction of'
47782 echo ' DLL name lengths. It takes the importlib name as input and is'
47783 echo ' supposed to procude a shorter name as output. The script should'
47784 echo ' expect to get importlib_name without extension and should produce'
47785 echo ' a (max.) 8 letter name without extension.'
47786 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47787 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47788 echo ' These flags will be put at the start of GCC command line.'
47789 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47790 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47791 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47792 echo ' If the last character of a symbol is "*", all symbols beginning'
47793 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47794 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47795 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47796 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47797 echo ' C runtime DLLs.'
47798 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47799 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47800 echo ' unchanged to GCC at the end of command line.'
47801 echo '*> If you create a DLL from a library and you do not specify -o,'
47802 echo ' the basename for DLL and import library will be set to library name,'
47803 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47804 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47805 echo ' library will be renamed into gcc_s.a.'
47808 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47809 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47814 # Execute a command.
47815 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47816 # @Uses Whatever CleanUp() uses.
47822 if [ ${D}rcCmd -ne 0 ]; then
47823 echo "command failed, exit code="${D}rcCmd
47838 CFLAGS="-s -Zcrtdll"
47840 EXPORT_BY_ORDINALS=0
47845 case ${D}curDirS in
47849 curDirS=${D}{curDirS}"/"
47852 # Parse commandline
47855 while [ ${D}1 ]; do
47858 EXPORT_BY_ORDINALS=1;
47868 -name-mangler-script)
47889 exclude_symbols=${D}{exclude_symbols}${D}1" "
47893 library_flags=${D}{library_flags}${D}1" "
47912 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47915 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47916 if [ ${D}omfLinking -eq 1 ]; then
47917 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47919 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47924 if [ ${D}libsToLink -ne 0 ]; then
47925 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47927 for file in ${D}1 ; do
47928 if [ -f ${D}file ]; then
47929 inputFiles="${D}{inputFiles} ${D}file"
47933 if [ ${D}found -eq 0 ]; then
47934 echo "ERROR: No file(s) found: "${D}1
47941 done # iterate cmdline words
47944 if [ -z "${D}inputFiles" ]; then
47945 echo "dllar: no input files"
47949 # Now extract all .o files from .a files
47951 for file in ${D}inputFiles ; do
47962 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47967 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47969 if [ ${D}? -ne 0 ]; then
47970 echo "Failed to create subdirectory ./${D}dirname"
47974 # Append '!' to indicate archive
47975 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47976 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47979 for subfile in ${D}dirname/*.o* ; do
47980 if [ -f ${D}subfile ]; then
47982 if [ -s ${D}subfile ]; then
47983 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47984 newInputFiles="${D}newInputFiles ${D}subfile"
47988 if [ ${D}found -eq 0 ]; then
47989 echo "WARNING: there are no files in archive \\'${D}file\\'"
47993 newInputFiles="${D}{newInputFiles} ${D}file"
47997 inputFiles="${D}newInputFiles"
47999 # Output filename(s).
48001 if [ -z ${D}outFile ]; then
48003 set outFile ${D}inputFiles; outFile=${D}2
48006 # If it is an archive, remove the '!' and the '_%' suffixes
48007 case ${D}outFile in
48009 outFile=\`basnam ${D}outFile _%!\`
48014 case ${D}outFile in
48016 outFile=\`basnam ${D}outFile .dll\`
48019 outFile=\`basnam ${D}outFile .DLL\`
48022 outFile=\`basnam ${D}outFile .o\`
48025 outFile=\`basnam ${D}outFile .obj\`
48028 outFile=\`basnam ${D}outFile .a\`
48031 outFile=\`basnam ${D}outFile .lib\`
48036 case ${D}outimpFile in
48038 outimpFile=\`basnam ${D}outimpFile .a\`
48041 outimpFile=\`basnam ${D}outimpFile .lib\`
48046 if [ -z ${D}outimpFile ]; then
48047 outimpFile=${D}outFile
48049 defFile="${D}{outFile}.def"
48050 arcFile="${D}{outimpFile}.a"
48051 arcFile2="${D}{outimpFile}.lib"
48053 #create ${D}dllFile as something matching 8.3 restrictions,
48054 if [ -z ${D}renameScript ] ; then
48055 dllFile="${D}outFile"
48057 dllFile=\`${D}renameScript ${D}outimpFile\`
48060 if [ ${D}do_backup -ne 0 ] ; then
48061 if [ -f ${D}arcFile ] ; then
48062 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48064 if [ -f ${D}arcFile2 ] ; then
48065 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48069 # Extract public symbols from all the object files.
48070 tmpdefFile=${D}{defFile}_%
48071 rm -f ${D}tmpdefFile
48072 for file in ${D}inputFiles ; do
48077 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48082 # Create the def file.
48084 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48085 dllFile="${D}{dllFile}.dll"
48086 if [ ! -z ${D}description ]; then
48087 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48089 echo "EXPORTS" >> ${D}defFile
48091 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48092 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48094 # Checks if the export is ok or not.
48095 for word in ${D}exclude_symbols; do
48096 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48097 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48101 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48102 sed "=" < ${D}tmpdefFile | \\
48106 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48108 ' > ${D}{tmpdefFile}%
48109 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48111 rm -f ${D}{tmpdefFile}%
48113 cat ${D}tmpdefFile >> ${D}defFile
48114 rm -f ${D}tmpdefFile
48116 # Do linking, create implib, and apply lxlite.
48118 for file in ${D}inputFiles ; do
48123 gccCmdl="${D}gccCmdl ${D}file"
48127 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48128 touch "${D}{outFile}.dll"
48130 doCommand "emximp -o ${D}arcFile ${D}defFile"
48131 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48133 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48136 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48138 doCommand "emxomf -s -l ${D}arcFile"
48148 powerpc-apple-macos* | \
48149 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48159 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48160 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48161 { (exit 1); exit 1; }; }
48164 if test "x$PIC_FLAG" != "x" ; then
48165 PIC_FLAG="$PIC_FLAG -DPIC"
48168 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48169 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48171 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48172 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48191 case "${BAKEFILE_HOST}" in
48192 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48193 if test "x$SUNCXX" = "xyes"; then
48196 SONAME_FLAG="-Wl,-soname,"
48231 # Check whether --enable-dependency-tracking was given.
48232 if test "${enable_dependency_tracking+set}" = set; then
48233 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48237 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48238 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48241 if test "x$bk_use_trackdeps" = "xno" ; then
48243 { echo "$as_me:$LINENO: result: disabled" >&5
48244 echo "${ECHO_T}disabled" >&6; }
48248 if test "x$GCC" = "xyes"; then
48250 case "${BAKEFILE_HOST}" in
48252 DEPSFLAG="-no-cpp-precomp -MMD"
48258 { echo "$as_me:$LINENO: result: gcc" >&5
48259 echo "${ECHO_T}gcc" >&6; }
48260 elif test "x$MWCC" = "xyes"; then
48263 { echo "$as_me:$LINENO: result: mwcc" >&5
48264 echo "${ECHO_T}mwcc" >&6; }
48265 elif test "x$SUNCC" = "xyes"; then
48268 { echo "$as_me:$LINENO: result: Sun cc" >&5
48269 echo "${ECHO_T}Sun cc" >&6; }
48270 elif test "x$SGICC" = "xyes"; then
48273 { echo "$as_me:$LINENO: result: SGI cc" >&5
48274 echo "${ECHO_T}SGI cc" >&6; }
48275 elif test "x$HPCC" = "xyes"; then
48278 { echo "$as_me:$LINENO: result: HP cc" >&5
48279 echo "${ECHO_T}HP cc" >&6; }
48280 elif test "x$COMPAQCC" = "xyes"; then
48283 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48284 echo "${ECHO_T}Compaq cc" >&6; }
48287 { echo "$as_me:$LINENO: result: none" >&5
48288 echo "${ECHO_T}none" >&6; }
48291 if test $DEPS_TRACKING = 1 ; then
48297 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48298 # script. It is used to track C/C++ files dependencies in portable way.
48300 # Permission is given to use this file in any way.
48302 DEPSMODE=${DEPSMODE}
48304 DEPSFLAG="${DEPSFLAG}"
48306 mkdir -p ${D}DEPSDIR
48308 if test ${D}DEPSMODE = gcc ; then
48309 ${D}* ${D}{DEPSFLAG}
48311 if test ${D}{status} != 0 ; then
48314 # move created file to the location we want it in:
48315 while test ${D}# -gt 0; do
48329 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48330 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48331 if test -f ${D}depfile ; then
48332 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48335 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48336 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48337 if test ! -f ${D}depfile ; then
48338 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48339 depfile="${D}objfile.d"
48341 if test -f ${D}depfile ; then
48342 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48347 elif test ${D}DEPSMODE = mwcc ; then
48348 ${D}* || exit ${D}?
48349 # Run mwcc again with -MM and redirect into the dep file we want
48350 # NOTE: We can't use shift here because we need ${D}* to be valid
48352 for arg in ${D}* ; do
48353 if test "${D}prevarg" = "-o"; then
48366 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48368 elif test ${D}DEPSMODE = unixcc; then
48369 ${D}* || exit ${D}?
48370 # Run compiler again with deps flag and redirect into the dep file.
48371 # It doesn't work if the '-o FILE' option is used, but without it the
48372 # dependency file will contain the wrong name for the object. So it is
48373 # removed from the command line, and the dep file is fixed with sed.
48375 while test ${D}# -gt 0; do
48382 eval arg${D}#=\\${D}1
48383 cmd="${D}cmd \\${D}arg${D}#"
48388 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48397 BK_DEPS="`pwd`/bk-deps"
48405 case ${BAKEFILE_HOST} in
48406 *-*-cygwin* | *-*-mingw32* )
48407 if test -n "$ac_tool_prefix"; then
48408 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48409 set dummy ${ac_tool_prefix}windres; ac_word=$2
48410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48412 if test "${ac_cv_prog_WINDRES+set}" = set; then
48413 echo $ECHO_N "(cached) $ECHO_C" >&6
48415 if test -n "$WINDRES"; then
48416 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48419 for as_dir in $PATH
48422 test -z "$as_dir" && as_dir=.
48423 for ac_exec_ext in '' $ac_executable_extensions; do
48424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48425 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48435 WINDRES=$ac_cv_prog_WINDRES
48436 if test -n "$WINDRES"; then
48437 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48438 echo "${ECHO_T}$WINDRES" >&6; }
48440 { echo "$as_me:$LINENO: result: no" >&5
48441 echo "${ECHO_T}no" >&6; }
48446 if test -z "$ac_cv_prog_WINDRES"; then
48447 ac_ct_WINDRES=$WINDRES
48448 # Extract the first word of "windres", so it can be a program name with args.
48449 set dummy windres; ac_word=$2
48450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48452 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48453 echo $ECHO_N "(cached) $ECHO_C" >&6
48455 if test -n "$ac_ct_WINDRES"; then
48456 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48459 for as_dir in $PATH
48462 test -z "$as_dir" && as_dir=.
48463 for ac_exec_ext in '' $ac_executable_extensions; do
48464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48465 ac_cv_prog_ac_ct_WINDRES="windres"
48466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48475 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48476 if test -n "$ac_ct_WINDRES"; then
48477 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48478 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48480 { echo "$as_me:$LINENO: result: no" >&5
48481 echo "${ECHO_T}no" >&6; }
48484 if test "x$ac_ct_WINDRES" = x; then
48487 case $cross_compiling:$ac_tool_warned in
48489 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48490 whose name does not start with the host triplet. If you think this
48491 configuration is useful to you, please write to autoconf@gnu.org." >&5
48492 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48493 whose name does not start with the host triplet. If you think this
48494 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48495 ac_tool_warned=yes ;;
48497 WINDRES=$ac_ct_WINDRES
48500 WINDRES="$ac_cv_prog_WINDRES"
48505 *-*-darwin* | powerpc-apple-macos* )
48506 # Extract the first word of "Rez", so it can be a program name with args.
48507 set dummy Rez; ac_word=$2
48508 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48510 if test "${ac_cv_prog_REZ+set}" = set; then
48511 echo $ECHO_N "(cached) $ECHO_C" >&6
48513 if test -n "$REZ"; then
48514 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48517 for as_dir in $PATH
48520 test -z "$as_dir" && as_dir=.
48521 for ac_exec_ext in '' $ac_executable_extensions; do
48522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48523 ac_cv_prog_REZ="Rez"
48524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48531 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48534 REZ=$ac_cv_prog_REZ
48535 if test -n "$REZ"; then
48536 { echo "$as_me:$LINENO: result: $REZ" >&5
48537 echo "${ECHO_T}$REZ" >&6; }
48539 { echo "$as_me:$LINENO: result: no" >&5
48540 echo "${ECHO_T}no" >&6; }
48544 # Extract the first word of "SetFile", so it can be a program name with args.
48545 set dummy SetFile; ac_word=$2
48546 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48548 if test "${ac_cv_prog_SETFILE+set}" = set; then
48549 echo $ECHO_N "(cached) $ECHO_C" >&6
48551 if test -n "$SETFILE"; then
48552 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48555 for as_dir in $PATH
48558 test -z "$as_dir" && as_dir=.
48559 for ac_exec_ext in '' $ac_executable_extensions; do
48560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48561 ac_cv_prog_SETFILE="SetFile"
48562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48569 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48572 SETFILE=$ac_cv_prog_SETFILE
48573 if test -n "$SETFILE"; then
48574 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48575 echo "${ECHO_T}$SETFILE" >&6; }
48577 { echo "$as_me:$LINENO: result: no" >&5
48578 echo "${ECHO_T}no" >&6; }
48590 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
48593 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
48597 # Check whether --enable-precomp-headers was given.
48598 if test "${enable_precomp_headers+set}" = set; then
48599 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48608 case ${BAKEFILE_HOST} in
48614 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48615 if test "x$GCC" = "xyes"; then
48616 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48617 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48618 cat >conftest.$ac_ext <<_ACEOF
48621 cat confdefs.h >>conftest.$ac_ext
48622 cat >>conftest.$ac_ext <<_ACEOF
48623 /* end confdefs.h. */
48629 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48630 There is no PCH support
48633 There is no PCH support
48635 #if (__GNUC__ == 3) && \
48636 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48637 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48638 ( defined(__INTEL_COMPILER) )
48639 There is no PCH support
48646 rm -f conftest.$ac_objext
48647 if { (ac_try="$ac_compile"
48648 case "(($ac_try" in
48649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48650 *) ac_try_echo=$ac_try;;
48652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48653 (eval "$ac_compile") 2>conftest.er1
48655 grep -v '^ *+' conftest.er1 >conftest.err
48657 cat conftest.err >&5
48658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48659 (exit $ac_status); } && {
48660 test -z "$ac_c_werror_flag" ||
48661 test ! -s conftest.err
48662 } && test -s conftest.$ac_objext; then
48664 { echo "$as_me:$LINENO: result: yes" >&5
48665 echo "${ECHO_T}yes" >&6; }
48669 echo "$as_me: failed program was:" >&5
48670 sed 's/^/| /' conftest.$ac_ext >&5
48673 cat >conftest.$ac_ext <<_ACEOF
48676 cat confdefs.h >>conftest.$ac_ext
48677 cat >>conftest.$ac_ext <<_ACEOF
48678 /* end confdefs.h. */
48684 #if !defined(__INTEL_COMPILER) || \
48685 (__INTEL_COMPILER < 800)
48686 There is no PCH support
48693 rm -f conftest.$ac_objext
48694 if { (ac_try="$ac_compile"
48695 case "(($ac_try" in
48696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48697 *) ac_try_echo=$ac_try;;
48699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48700 (eval "$ac_compile") 2>conftest.er1
48702 grep -v '^ *+' conftest.er1 >conftest.err
48704 cat conftest.err >&5
48705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48706 (exit $ac_status); } && {
48707 test -z "$ac_c_werror_flag" ||
48708 test ! -s conftest.err
48709 } && test -s conftest.$ac_objext; then
48711 { echo "$as_me:$LINENO: result: yes" >&5
48712 echo "${ECHO_T}yes" >&6; }
48716 echo "$as_me: failed program was:" >&5
48717 sed 's/^/| /' conftest.$ac_ext >&5
48720 { echo "$as_me:$LINENO: result: no" >&5
48721 echo "${ECHO_T}no" >&6; }
48725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48730 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48734 cat <<EOF >bk-make-pch
48737 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48738 # script. It is used to generated precompiled headers.
48740 # Permission is given to use this file in any way.
48750 while test ${D}{#} -gt 0; do
48754 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48755 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48756 headerfile="${D}{incdir}/${D}{header}"
48759 -use-pch|-use_pch )
48764 if test ${D}add_to_cmdline = 1 ; then
48765 compiler="${D}{compiler} ${D}{1}"
48770 if test "x${D}{headerfile}" = "x" ; then
48771 echo "error: can't find header ${D}{header} in include paths" >&2
48773 if test -f ${D}{outfile} ; then
48774 rm -f ${D}{outfile}
48776 mkdir -p \`dirname ${D}{outfile}\`
48778 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48780 if test "x${GCC_PCH}" = "x1" ; then
48781 # can do this because gcc is >= 3.4:
48782 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48783 elif test "x${ICC_PCH}" = "x1" ; then
48784 filename=pch_gen-${D}${D}
48785 file=${D}{filename}.c
48786 dfile=${D}{filename}.d
48787 cat > ${D}file <<EOT
48788 #include "${D}header"
48790 # using -MF icc complains about differing command lines in creation/use
48791 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48792 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48793 rm -f ${D}file ${D}dfile ${D}{filename}.o
48799 chmod +x bk-make-pch
48800 BK_MAKE_PCH="`pwd`/bk-make-pch"
48809 COND_BUILD_DEBUG="#"
48810 if test "x$BUILD" = "xdebug" ; then
48811 COND_BUILD_DEBUG=""
48814 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48815 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48816 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48819 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48820 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48821 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48824 COND_BUILD_DEBUG_UNICODE_0="#"
48825 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48826 COND_BUILD_DEBUG_UNICODE_0=""
48829 COND_BUILD_DEBUG_UNICODE_1="#"
48830 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48831 COND_BUILD_DEBUG_UNICODE_1=""
48834 COND_BUILD_RELEASE="#"
48835 if test "x$BUILD" = "xrelease" ; then
48836 COND_BUILD_RELEASE=""
48839 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48840 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48841 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48844 COND_BUILD_RELEASE_UNICODE_0="#"
48845 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48846 COND_BUILD_RELEASE_UNICODE_0=""
48849 COND_BUILD_RELEASE_UNICODE_1="#"
48850 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48851 COND_BUILD_RELEASE_UNICODE_1=""
48854 COND_DEBUG_FLAG_1="#"
48855 if test "x$DEBUG_FLAG" = "x1" ; then
48856 COND_DEBUG_FLAG_1=""
48859 COND_DEBUG_INFO_0="#"
48860 if test "x$DEBUG_INFO" = "x0" ; then
48861 COND_DEBUG_INFO_0=""
48864 COND_DEBUG_INFO_1="#"
48865 if test "x$DEBUG_INFO" = "x1" ; then
48866 COND_DEBUG_INFO_1=""
48869 COND_DEPS_TRACKING_0="#"
48870 if test "x$DEPS_TRACKING" = "x0" ; then
48871 COND_DEPS_TRACKING_0=""
48874 COND_DEPS_TRACKING_1="#"
48875 if test "x$DEPS_TRACKING" = "x1" ; then
48876 COND_DEPS_TRACKING_1=""
48880 if test "x$GCC_PCH" = "x1" ; then
48885 if test "x$ICC_PCH" = "x1" ; then
48889 COND_MONOLITHIC_0="#"
48890 if test "x$MONOLITHIC" = "x0" ; then
48891 COND_MONOLITHIC_0=""
48894 COND_MONOLITHIC_0_SHARED_0="#"
48895 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48896 COND_MONOLITHIC_0_SHARED_0=""
48899 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48900 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48901 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48904 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48905 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48906 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48909 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48910 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48911 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48914 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48915 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48916 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48919 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48920 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48921 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48924 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48925 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48926 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48929 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48930 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48931 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48934 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48935 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48936 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48939 COND_MONOLITHIC_0_SHARED_1="#"
48940 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48941 COND_MONOLITHIC_0_SHARED_1=""
48944 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48945 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48946 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48949 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48950 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48951 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48954 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48955 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48956 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48959 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48960 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48961 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48964 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48965 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48966 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48969 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48970 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48971 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48974 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48975 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48976 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48979 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48980 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48981 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48984 COND_MONOLITHIC_0_USE_AUI_1="#"
48985 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48986 COND_MONOLITHIC_0_USE_AUI_1=""
48989 COND_MONOLITHIC_0_USE_GUI_1="#"
48990 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48991 COND_MONOLITHIC_0_USE_GUI_1=""
48994 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48995 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48996 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48999 COND_MONOLITHIC_0_USE_HTML_1="#"
49000 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49001 COND_MONOLITHIC_0_USE_HTML_1=""
49004 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49005 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49006 COND_MONOLITHIC_0_USE_MEDIA_1=""
49009 COND_MONOLITHIC_0_USE_QA_1="#"
49010 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49011 COND_MONOLITHIC_0_USE_QA_1=""
49014 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49015 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49016 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49019 COND_MONOLITHIC_0_USE_STC_1="#"
49020 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49021 COND_MONOLITHIC_0_USE_STC_1=""
49024 COND_MONOLITHIC_0_USE_XRC_1="#"
49025 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49026 COND_MONOLITHIC_0_USE_XRC_1=""
49029 COND_MONOLITHIC_1="#"
49030 if test "x$MONOLITHIC" = "x1" ; then
49031 COND_MONOLITHIC_1=""
49034 COND_MONOLITHIC_1_SHARED_0="#"
49035 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49036 COND_MONOLITHIC_1_SHARED_0=""
49039 COND_MONOLITHIC_1_SHARED_1="#"
49040 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49041 COND_MONOLITHIC_1_SHARED_1=""
49044 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49045 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49046 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49049 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49050 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49051 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49054 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49055 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49056 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49059 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49060 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49061 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49064 COND_PLATFORM_MACOSX_1="#"
49065 if test "x$PLATFORM_MACOSX" = "x1" ; then
49066 COND_PLATFORM_MACOSX_1=""
49069 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49070 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49071 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49074 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49075 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49076 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49079 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49080 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49081 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49084 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49085 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49086 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49089 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49090 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49091 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49094 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49095 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49096 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49099 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49100 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49101 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49104 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49105 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49106 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49109 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49110 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49111 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49114 COND_PLATFORM_MACOS_1="#"
49115 if test "x$PLATFORM_MACOS" = "x1" ; then
49116 COND_PLATFORM_MACOS_1=""
49119 COND_PLATFORM_MAC_1="#"
49120 if test "x$PLATFORM_MAC" = "x1" ; then
49121 COND_PLATFORM_MAC_1=""
49124 COND_PLATFORM_MSDOS_0="#"
49125 if test "x$PLATFORM_MSDOS" = "x0" ; then
49126 COND_PLATFORM_MSDOS_0=""
49129 COND_PLATFORM_MSDOS_1="#"
49130 if test "x$PLATFORM_MSDOS" = "x1" ; then
49131 COND_PLATFORM_MSDOS_1=""
49134 COND_PLATFORM_OS2_1="#"
49135 if test "x$PLATFORM_OS2" = "x1" ; then
49136 COND_PLATFORM_OS2_1=""
49139 COND_PLATFORM_UNIX_0="#"
49140 if test "x$PLATFORM_UNIX" = "x0" ; then
49141 COND_PLATFORM_UNIX_0=""
49144 COND_PLATFORM_UNIX_1="#"
49145 if test "x$PLATFORM_UNIX" = "x1" ; then
49146 COND_PLATFORM_UNIX_1=""
49149 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49150 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49151 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49154 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49155 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49156 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49159 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49160 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49161 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49164 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49165 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49166 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49169 COND_PLATFORM_WIN32_0="#"
49170 if test "x$PLATFORM_WIN32" = "x0" ; then
49171 COND_PLATFORM_WIN32_0=""
49174 COND_PLATFORM_WIN32_1="#"
49175 if test "x$PLATFORM_WIN32" = "x1" ; then
49176 COND_PLATFORM_WIN32_1=""
49180 if test "x$SHARED" = "x0" ; then
49184 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49185 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49186 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49189 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49190 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49191 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49194 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49195 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49196 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49199 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49200 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49201 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49204 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49205 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49206 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49209 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49210 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49211 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49214 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49215 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49216 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49219 COND_SHARED_0_USE_STC_1="#"
49220 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49221 COND_SHARED_0_USE_STC_1=""
49224 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49225 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49226 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49229 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49230 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49231 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49234 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49235 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49236 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49240 if test "x$SHARED" = "x1" ; then
49244 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49245 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49246 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49250 if test "x$TOOLKIT" = "x" ; then
49254 COND_TOOLKIT_COCOA="#"
49255 if test "x$TOOLKIT" = "xCOCOA" ; then
49256 COND_TOOLKIT_COCOA=""
49259 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49260 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49261 COND_TOOLKIT_COCOA_USE_GUI_1=""
49264 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49265 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49266 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49269 COND_TOOLKIT_DFB="#"
49270 if test "x$TOOLKIT" = "xDFB" ; then
49271 COND_TOOLKIT_DFB=""
49274 COND_TOOLKIT_DFB_USE_GUI_1="#"
49275 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49276 COND_TOOLKIT_DFB_USE_GUI_1=""
49279 COND_TOOLKIT_GTK="#"
49280 if test "x$TOOLKIT" = "xGTK" ; then
49281 COND_TOOLKIT_GTK=""
49284 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49285 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49286 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49289 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49290 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49291 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49294 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49295 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49296 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49299 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49300 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49301 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49304 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49305 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49306 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49309 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49310 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49311 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49314 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49315 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49316 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49319 COND_TOOLKIT_GTK_USE_GUI_1="#"
49320 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49321 COND_TOOLKIT_GTK_USE_GUI_1=""
49324 COND_TOOLKIT_MAC="#"
49325 if test "x$TOOLKIT" = "xMAC" ; then
49326 COND_TOOLKIT_MAC=""
49329 COND_TOOLKIT_MAC_USE_GUI_1="#"
49330 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49331 COND_TOOLKIT_MAC_USE_GUI_1=""
49334 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49335 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49336 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49339 COND_TOOLKIT_MGL="#"
49340 if test "x$TOOLKIT" = "xMGL" ; then
49341 COND_TOOLKIT_MGL=""
49344 COND_TOOLKIT_MGL_USE_GUI_1="#"
49345 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49346 COND_TOOLKIT_MGL_USE_GUI_1=""
49349 COND_TOOLKIT_MOTIF="#"
49350 if test "x$TOOLKIT" = "xMOTIF" ; then
49351 COND_TOOLKIT_MOTIF=""
49354 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49355 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49356 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49359 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49360 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49361 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49364 COND_TOOLKIT_MSW="#"
49365 if test "x$TOOLKIT" = "xMSW" ; then
49366 COND_TOOLKIT_MSW=""
49369 COND_TOOLKIT_MSW_USE_GUI_1="#"
49370 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49371 COND_TOOLKIT_MSW_USE_GUI_1=""
49374 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49375 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49376 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49379 COND_TOOLKIT_MSW_WXUNIV_0="#"
49380 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49381 COND_TOOLKIT_MSW_WXUNIV_0=""
49384 COND_TOOLKIT_PM="#"
49385 if test "x$TOOLKIT" = "xPM" ; then
49389 COND_TOOLKIT_PM_USE_GUI_1="#"
49390 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49391 COND_TOOLKIT_PM_USE_GUI_1=""
49394 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49395 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49396 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49399 COND_TOOLKIT_WINCE="#"
49400 if test "x$TOOLKIT" = "xWINCE" ; then
49401 COND_TOOLKIT_WINCE=""
49404 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49405 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49406 COND_TOOLKIT_WINCE_USE_GUI_1=""
49409 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49410 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49411 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49414 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49415 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49416 COND_TOOLKIT_WINCE_WXUNIV_0=""
49419 COND_TOOLKIT_X11="#"
49420 if test "x$TOOLKIT" = "xX11" ; then
49421 COND_TOOLKIT_X11=""
49424 COND_TOOLKIT_X11_USE_GUI_1="#"
49425 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49426 COND_TOOLKIT_X11_USE_GUI_1=""
49430 if test "x$UNICODE" = "x1" ; then
49434 COND_USE_EXCEPTIONS_0="#"
49435 if test "x$USE_EXCEPTIONS" = "x0" ; then
49436 COND_USE_EXCEPTIONS_0=""
49439 COND_USE_EXCEPTIONS_1="#"
49440 if test "x$USE_EXCEPTIONS" = "x1" ; then
49441 COND_USE_EXCEPTIONS_1=""
49445 if test "x$USE_GUI" = "x0" ; then
49450 if test "x$USE_GUI" = "x1" ; then
49454 COND_USE_GUI_1_USE_OPENGL_1="#"
49455 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49456 COND_USE_GUI_1_USE_OPENGL_1=""
49459 COND_USE_GUI_1_WXUNIV_0="#"
49460 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49461 COND_USE_GUI_1_WXUNIV_0=""
49464 COND_USE_GUI_1_WXUNIV_1="#"
49465 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49466 COND_USE_GUI_1_WXUNIV_1=""
49469 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49470 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49471 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49474 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49475 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49476 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49479 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49480 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49481 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49484 COND_USE_OPENGL_1="#"
49485 if test "x$USE_OPENGL" = "x1" ; then
49486 COND_USE_OPENGL_1=""
49490 if test "x$USE_PCH" = "x1" ; then
49494 COND_USE_PLUGINS_0="#"
49495 if test "x$USE_PLUGINS" = "x0" ; then
49496 COND_USE_PLUGINS_0=""
49499 COND_USE_RTTI_0="#"
49500 if test "x$USE_RTTI" = "x0" ; then
49504 COND_USE_RTTI_1="#"
49505 if test "x$USE_RTTI" = "x1" ; then
49509 COND_USE_SOSYMLINKS_1="#"
49510 if test "x$USE_SOSYMLINKS" = "x1" ; then
49511 COND_USE_SOSYMLINKS_1=""
49514 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49515 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49516 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49519 COND_USE_SOVERLINUX_1="#"
49520 if test "x$USE_SOVERLINUX" = "x1" ; then
49521 COND_USE_SOVERLINUX_1=""
49524 COND_USE_SOVERSION_0="#"
49525 if test "x$USE_SOVERSION" = "x0" ; then
49526 COND_USE_SOVERSION_0=""
49529 COND_USE_SOVERSOLARIS_1="#"
49530 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49531 COND_USE_SOVERSOLARIS_1=""
49535 if test "x$USE_STC" = "x1" ; then
49539 COND_USE_THREADS_0="#"
49540 if test "x$USE_THREADS" = "x0" ; then
49541 COND_USE_THREADS_0=""
49544 COND_USE_THREADS_1="#"
49545 if test "x$USE_THREADS" = "x1" ; then
49546 COND_USE_THREADS_1=""
49550 if test "x$USE_XRC" = "x1" ; then
49554 COND_WINDOWS_IMPLIB_1="#"
49555 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49556 COND_WINDOWS_IMPLIB_1=""
49559 COND_WITH_PLUGIN_SDL_1="#"
49560 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49561 COND_WITH_PLUGIN_SDL_1=""
49565 if test "x$WXUNIV" = "x0" ; then
49570 if test "x$WXUNIV" = "x1" ; then
49574 COND_WXUSE_EXPAT_BUILTIN="#"
49575 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49576 COND_WXUSE_EXPAT_BUILTIN=""
49579 COND_WXUSE_LIBJPEG_BUILTIN="#"
49580 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49581 COND_WXUSE_LIBJPEG_BUILTIN=""
49584 COND_WXUSE_LIBPNG_BUILTIN="#"
49585 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49586 COND_WXUSE_LIBPNG_BUILTIN=""
49589 COND_WXUSE_LIBTIFF_BUILTIN="#"
49590 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49591 COND_WXUSE_LIBTIFF_BUILTIN=""
49594 COND_WXUSE_REGEX_BUILTIN="#"
49595 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49596 COND_WXUSE_REGEX_BUILTIN=""
49599 COND_WXUSE_ZLIB_BUILTIN="#"
49600 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49601 COND_WXUSE_ZLIB_BUILTIN=""
49606 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49607 { { 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
49608 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;}
49609 { (exit 1); exit 1; }; }
49612 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49613 { { 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
49614 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;}
49615 { (exit 1); exit 1; }; }
49622 ?:* ) # Drive letter, considered as absolute.
49625 INSTALL=`pwd`/${INSTALL} ;;
49628 if test "$wxUSE_GUI" = "yes"; then
49630 if test "$wxUSE_MSW" = 1 ; then
49631 if test "x$WINDRES" = "x"; then
49632 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49633 echo "$as_me: error: Required windres program not found" >&2;}
49634 { (exit 1); exit 1; }; }
49640 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49641 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49642 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49644 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49646 # Extract the first word of "DeRez", so it can be a program name with args.
49647 set dummy DeRez; ac_word=$2
49648 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49650 if test "${ac_cv_prog_DEREZ+set}" = set; then
49651 echo $ECHO_N "(cached) $ECHO_C" >&6
49653 if test -n "$DEREZ"; then
49654 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
49656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49657 for as_dir in $PATH
49660 test -z "$as_dir" && as_dir=.
49661 for ac_exec_ext in '' $ac_executable_extensions; do
49662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49663 ac_cv_prog_DEREZ="DeRez"
49664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49671 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
49674 DEREZ=$ac_cv_prog_DEREZ
49675 if test -n "$DEREZ"; then
49676 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49677 echo "${ECHO_T}$DEREZ" >&6; }
49679 { echo "$as_me:$LINENO: result: no" >&5
49680 echo "${ECHO_T}no" >&6; }
49685 MACSETFILE="\$(SETFILE)"
49687 if test "$wxUSE_MAC" = 1; then
49688 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49690 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
49692 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49693 RESCOMP="cat /dev/null \| $REZ"
49694 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49700 if test "$wxUSE_PM" = 1; then
49702 WXCONFIG_RESFLAGS="-ep"
49704 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
49706 POSTLINK_COMMAND="@true"
49713 if test $GCC_PCH = 1
49715 if test "$wx_cv_gcc_pch_bug" = yes; then
49716 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49717 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49718 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49719 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49720 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49721 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49724 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49728 if test "$wxUSE_MAC" = 1 ; then
49729 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49730 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49736 if test "$wxUSE_SHARED" = "yes"; then
49738 *-pc-os2_emx | *-pc-os2-emx )
49739 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49740 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49741 cp -p ${srcdir}/src/os2/dllnames.sh .
49742 cp -p ${srcdir}/src/os2/dllar.sh .
49746 if test "$wxUSE_OMF" = "yes"; then
49748 *-pc-os2_emx | *-pc-os2-emx )
49749 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49750 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49751 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49756 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49761 if test "$GCC" = yes; then
49762 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
49763 LIBS=`echo $LIBS | sed 's/-mt//'`
49764 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49769 if test "x$SUNCXX" = xyes; then
49770 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
49771 LIBS=`echo $LIBS | sed 's/-pthread//'`
49772 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49777 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
49778 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49780 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49841 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49842 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49843 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49844 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49845 echo $ECHO_N "(cached) $ECHO_C" >&6
49847 cat >conftest.make <<\_ACEOF
49850 @echo '@@@%%%=$(MAKE)=@@@%%%'
49852 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49853 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49854 *@@@%%%=?*=@@@%%%*)
49855 eval ac_cv_prog_make_${ac_make}_set=yes;;
49857 eval ac_cv_prog_make_${ac_make}_set=no;;
49859 rm -f conftest.make
49861 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49862 { echo "$as_me:$LINENO: result: yes" >&5
49863 echo "${ECHO_T}yes" >&6; }
49866 { echo "$as_me:$LINENO: result: no" >&5
49867 echo "${ECHO_T}no" >&6; }
49868 SET_MAKE="MAKE=${MAKE-make}"
49873 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49876 if test "$USE_WIN32" = 1; then
49877 ac_config_commands="$ac_config_commands
49883 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49886 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49889 if test "$wx_cv_version_script" = "yes"; then
49890 ac_config_files="$ac_config_files version-script"
49893 ac_config_files="$ac_config_files Makefile"
49896 ac_config_commands="$ac_config_commands wx-config"
49900 if test "$wxWITH_SUBDIRS" != "no"; then
49901 if test "$wxUSE_GUI" = "yes"; then
49902 SUBDIRS="samples demos utils"
49904 SUBDIRS="samples utils"
49909 # Check whether --with-cppunit-prefix was given.
49910 if test "${with_cppunit_prefix+set}" = set; then
49911 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49913 cppunit_config_prefix=""
49917 # Check whether --with-cppunit-exec-prefix was given.
49918 if test "${with_cppunit_exec_prefix+set}" = set; then
49919 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49921 cppunit_config_exec_prefix=""
49925 if test x$cppunit_config_exec_prefix != x ; then
49926 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49927 if test x${CPPUNIT_CONFIG+set} != xset ; then
49928 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49931 if test x$cppunit_config_prefix != x ; then
49932 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49933 if test x${CPPUNIT_CONFIG+set} != xset ; then
49934 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49938 # Extract the first word of "cppunit-config", so it can be a program name with args.
49939 set dummy cppunit-config; ac_word=$2
49940 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49942 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49943 echo $ECHO_N "(cached) $ECHO_C" >&6
49945 case $CPPUNIT_CONFIG in
49947 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49951 for as_dir in $PATH
49954 test -z "$as_dir" && as_dir=.
49955 for ac_exec_ext in '' $ac_executable_extensions; do
49956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49957 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49965 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49969 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49970 if test -n "$CPPUNIT_CONFIG"; then
49971 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49972 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49974 { echo "$as_me:$LINENO: result: no" >&5
49975 echo "${ECHO_T}no" >&6; }
49979 cppunit_version_min=1.8.0
49981 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49982 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49984 if test "$CPPUNIT_CONFIG" = "no" ; then
49985 { echo "$as_me:$LINENO: result: no" >&5
49986 echo "${ECHO_T}no" >&6; }
49989 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49990 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49991 cppunit_version=`$CPPUNIT_CONFIG --version`
49993 cppunit_major_version=`echo $cppunit_version | \
49994 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49995 cppunit_minor_version=`echo $cppunit_version | \
49996 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49997 cppunit_micro_version=`echo $cppunit_version | \
49998 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50000 cppunit_major_min=`echo $cppunit_version_min | \
50001 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50002 cppunit_minor_min=`echo $cppunit_version_min | \
50003 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50004 cppunit_micro_min=`echo $cppunit_version_min | \
50005 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50007 cppunit_version_proper=`expr \
50008 $cppunit_major_version \> $cppunit_major_min \| \
50009 $cppunit_major_version \= $cppunit_major_min \& \
50010 $cppunit_minor_version \> $cppunit_minor_min \| \
50011 $cppunit_major_version \= $cppunit_major_min \& \
50012 $cppunit_minor_version \= $cppunit_minor_min \& \
50013 $cppunit_micro_version \>= $cppunit_micro_min `
50015 if test "$cppunit_version_proper" = "1" ; then
50016 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50017 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50019 { echo "$as_me:$LINENO: result: no" >&5
50020 echo "${ECHO_T}no" >&6; }
50025 if test "x$no_cppunit" = x ; then
50026 SUBDIRS="$SUBDIRS tests"
50037 for subdir in $SUBDIRS; do
50038 if test -d ${srcdir}/${subdir} ; then
50039 if test "$wxUSE_GUI" = "yes"; then
50040 if test ${subdir} = "samples"; then
50041 makefiles="samples/Makefile.in $makefiles"
50042 for sample in $SAMPLES_SUBDIRS; do
50043 if test -d $srcdir/samples/$sample; then
50044 makefiles="samples/$sample/Makefile.in $makefiles"
50048 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
50049 eval "disabled=\$$disabled_var"
50050 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50051 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50054 if test ${subdir} = "samples"; then
50055 makefiles="samples/Makefile.in $makefiles"
50056 for sample in `echo $SAMPLES_SUBDIRS`; do
50057 if test -d $srcdir/samples/$sample; then
50058 makefiles="samples/$sample/Makefile.in $makefiles"
50061 elif test ${subdir} = "utils"; then
50063 for util in HelpGen tex2rtf ; do
50064 if test -d $srcdir/utils/$util ; then
50065 makefiles="utils/$util/Makefile.in \
50066 utils/$util/src/Makefile.in \
50071 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50075 for mkin in $makefiles ; do
50076 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50077 ac_config_files="$ac_config_files $mk"
50083 cat >confcache <<\_ACEOF
50084 # This file is a shell script that caches the results of configure
50085 # tests run on this system so they can be shared between configure
50086 # scripts and configure runs, see configure's option --config-cache.
50087 # It is not useful on other systems. If it contains results you don't
50088 # want to keep, you may remove or edit it.
50090 # config.status only pays attention to the cache file if you give it
50091 # the --recheck option to rerun configure.
50093 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50094 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50095 # following values.
50099 # The following way of writing the cache mishandles newlines in values,
50100 # but we know of no workaround that is simple, portable, and efficient.
50101 # So, we kill variables containing newlines.
50102 # Ultrix sh set writes to stderr and can't be redirected directly,
50103 # and sets the high bit in the cache file unless we assign to the vars.
50105 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50106 eval ac_val=\$$ac_var
50110 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50111 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50114 _ | IFS | as_nl) ;; #(
50115 *) $as_unset $ac_var ;;
50121 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50122 *${as_nl}ac_space=\ *)
50123 # `set' does not quote correctly, so add quotes (double-quote
50124 # substitution turns \\\\ into \\, and sed turns \\ into \).
50127 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50130 # `set' quotes correctly as required by POSIX, so do not add quotes.
50131 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50140 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50142 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50144 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50145 if test -w "$cache_file"; then
50146 test "x$cache_file" != "x/dev/null" &&
50147 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50148 echo "$as_me: updating cache $cache_file" >&6;}
50149 cat confcache >$cache_file
50151 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50152 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50157 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50158 # Let make expand exec_prefix.
50159 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50161 DEFS=-DHAVE_CONFIG_H
50165 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50166 # 1. Remove the extension, and $U if already installed.
50167 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50168 ac_i=`echo "$ac_i" | sed "$ac_script"`
50169 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50170 # will be set to the directory where LIBOBJS objects are built.
50171 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50172 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50174 LIBOBJS=$ac_libobjs
50176 LTLIBOBJS=$ac_ltlibobjs
50180 : ${CONFIG_STATUS=./config.status}
50181 ac_clean_files_save=$ac_clean_files
50182 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50183 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50184 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50185 cat >$CONFIG_STATUS <<_ACEOF
50187 # Generated by $as_me.
50188 # Run this file to recreate the current configuration.
50189 # Compiler output produced by configure, useful for debugging
50190 # configure, is in config.log if it exists.
50193 ac_cs_recheck=false
50195 SHELL=\${CONFIG_SHELL-$SHELL}
50198 cat >>$CONFIG_STATUS <<\_ACEOF
50199 ## --------------------- ##
50200 ## M4sh Initialization. ##
50201 ## --------------------- ##
50203 # Be more Bourne compatible
50204 DUALCASE=1; export DUALCASE # for MKS sh
50205 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50208 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50209 # is contrary to our usage. Disable this feature.
50210 alias -g '${1+"$@"}'='"$@"'
50211 setopt NO_GLOB_SUBST
50213 case `(set -o) 2>/dev/null` in
50214 *posix*) set -o posix ;;
50223 # Avoid depending upon Character Ranges.
50224 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50225 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50226 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50227 as_cr_digits='0123456789'
50228 as_cr_alnum=$as_cr_Letters$as_cr_digits
50230 # The user is always right.
50231 if test "${PATH_SEPARATOR+set}" != set; then
50232 echo "#! /bin/sh" >conf$$.sh
50233 echo "exit 0" >>conf$$.sh
50235 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50243 # Support unset when possible.
50244 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50252 # We need space, tab and new line, in precisely that order. Quoting is
50253 # there to prevent editors from complaining about space-tab.
50254 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50255 # splitting by setting IFS to empty value.)
50260 # Find who we are. Look in the path if we contain no directory separator.
50262 *[\\/]* ) as_myself=$0 ;;
50263 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50264 for as_dir in $PATH
50267 test -z "$as_dir" && as_dir=.
50268 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50274 # We did not find ourselves, most probably we were run as `sh COMMAND'
50275 # in which case we are not to be found in the path.
50276 if test "x$as_myself" = x; then
50279 if test ! -f "$as_myself"; then
50280 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50281 { (exit 1); exit 1; }
50284 # Work around bugs in pre-3.0 UWIN ksh.
50285 for as_var in ENV MAIL MAILPATH
50286 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50294 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50295 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50296 LC_TELEPHONE LC_TIME
50298 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50299 eval $as_var=C; export $as_var
50301 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50305 # Required to use basename.
50306 if expr a : '\(a\)' >/dev/null 2>&1 &&
50307 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50313 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50314 as_basename=basename
50320 # Name of the executable.
50321 as_me=`$as_basename -- "$0" ||
50322 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50323 X"$0" : 'X\(//\)$' \| \
50324 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50326 sed '/^.*\/\([^/][^/]*\)\/*$/{
50345 as_lineno_1=$LINENO
50346 as_lineno_2=$LINENO
50347 test "x$as_lineno_1" != "x$as_lineno_2" &&
50348 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50350 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50351 # uniformly replaced by the line number. The first 'sed' inserts a
50352 # line-number line after each line using $LINENO; the second 'sed'
50353 # does the real work. The second script uses 'N' to pair each
50354 # line-number line with the line containing $LINENO, and appends
50355 # trailing '-' during substitution so that $LINENO is not a special
50356 # case at line end.
50357 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50358 # scripts with optimization help from Paolo Bonzini. Blame Lee
50359 # E. McMahon (1931-1989) for sed's syntax. :-)
50371 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50374 ' >$as_me.lineno &&
50375 chmod +x "$as_me.lineno" ||
50376 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50377 { (exit 1); exit 1; }; }
50379 # Don't try to exec as it changes $[0], causing all sort of problems
50380 # (the dirname of $[0] is not the place where we might find the
50381 # original and so on. Autoconf is especially sensitive to this).
50382 . "./$as_me.lineno"
50383 # Exit status is that of the last command.
50388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
50394 ECHO_C= ECHO_N= ECHO_T=
50395 case `echo -n x` in
50397 case `echo 'x\c'` in
50398 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
50405 if expr a : '\(a\)' >/dev/null 2>&1 &&
50406 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50412 rm -f conf$$ conf$$.exe conf$$.file
50413 if test -d conf$$.dir; then
50414 rm -f conf$$.dir/conf$$.file
50420 if ln -s conf$$.file conf$$ 2>/dev/null; then
50422 # ... but there are two gotchas:
50423 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50424 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50425 # In both cases, we have to default to `cp -p'.
50426 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50428 elif ln conf$$.file conf$$ 2>/dev/null; then
50433 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50434 rmdir conf$$.dir 2>/dev/null
50436 if mkdir -p . 2>/dev/null; then
50439 test -d ./-p && rmdir ./-p
50443 if test -x / >/dev/null 2>&1; then
50444 as_test_x='test -x'
50446 if ls -dL / >/dev/null 2>&1; then
50453 if test -d "$1"; then
50459 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50460 ???[sx]*):;;*)false;;esac;fi
50464 as_executable_p=$as_test_x
50466 # Sed expression to map a string onto a valid CPP name.
50467 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50469 # Sed expression to map a string onto a valid variable name.
50470 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50475 # Save the log message, to keep $[0] and so on meaningful, and to
50476 # report actual input values of CONFIG_FILES etc. instead of their
50477 # values after options handling.
50479 This file was extended by wxWidgets $as_me 2.9.0, which was
50480 generated by GNU Autoconf 2.61. Invocation command line was
50482 CONFIG_FILES = $CONFIG_FILES
50483 CONFIG_HEADERS = $CONFIG_HEADERS
50484 CONFIG_LINKS = $CONFIG_LINKS
50485 CONFIG_COMMANDS = $CONFIG_COMMANDS
50488 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50493 cat >>$CONFIG_STATUS <<_ACEOF
50494 # Files that config.status was made for.
50495 config_files="$ac_config_files"
50496 config_headers="$ac_config_headers"
50497 config_commands="$ac_config_commands"
50501 cat >>$CONFIG_STATUS <<\_ACEOF
50503 \`$as_me' instantiates files from templates according to the
50504 current configuration.
50506 Usage: $0 [OPTIONS] [FILE]...
50508 -h, --help print this help, then exit
50509 -V, --version print version number and configuration settings, then exit
50510 -q, --quiet do not print progress messages
50511 -d, --debug don't remove temporary files
50512 --recheck update $as_me by reconfiguring in the same conditions
50513 --file=FILE[:TEMPLATE]
50514 instantiate the configuration file FILE
50515 --header=FILE[:TEMPLATE]
50516 instantiate the configuration header FILE
50518 Configuration files:
50521 Configuration headers:
50524 Configuration commands:
50527 Report bugs to <bug-autoconf@gnu.org>."
50530 cat >>$CONFIG_STATUS <<_ACEOF
50532 wxWidgets config.status 2.9.0
50533 configured by $0, generated by GNU Autoconf 2.61,
50534 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50536 Copyright (C) 2006 Free Software Foundation, Inc.
50537 This config.status script is free software; the Free Software Foundation
50538 gives unlimited permission to copy, distribute and modify it."
50545 cat >>$CONFIG_STATUS <<\_ACEOF
50546 # If no file are specified by the user, then we need to provide default
50547 # value. By we need to know if files were specified by the user.
50553 ac_option=`expr "X$1" : 'X\([^=]*\)='`
50554 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
50565 # Handling of the options.
50566 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50568 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50569 echo "$ac_cs_version"; exit ;;
50570 --debug | --debu | --deb | --de | --d | -d )
50572 --file | --fil | --fi | --f )
50574 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50575 ac_need_defaults=false;;
50576 --header | --heade | --head | --hea )
50578 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50579 ac_need_defaults=false;;
50581 # Conflict between --help and --header
50582 { echo "$as_me: error: ambiguous option: $1
50583 Try \`$0 --help' for more information." >&2
50584 { (exit 1); exit 1; }; };;
50585 --help | --hel | -h )
50586 echo "$ac_cs_usage"; exit ;;
50587 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50588 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50591 # This is an error.
50592 -*) { echo "$as_me: error: unrecognized option: $1
50593 Try \`$0 --help' for more information." >&2
50594 { (exit 1); exit 1; }; } ;;
50596 *) ac_config_targets="$ac_config_targets $1"
50597 ac_need_defaults=false ;;
50603 ac_configure_extra_args=
50605 if $ac_cs_silent; then
50607 ac_configure_extra_args="$ac_configure_extra_args --silent"
50611 cat >>$CONFIG_STATUS <<_ACEOF
50612 if \$ac_cs_recheck; then
50613 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50614 CONFIG_SHELL=$SHELL
50615 export CONFIG_SHELL
50616 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50620 cat >>$CONFIG_STATUS <<\_ACEOF
50624 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50625 ## Running $as_me. ##
50631 cat >>$CONFIG_STATUS <<_ACEOF
50637 infile="$srcdir/include/wx/msw/genrcdefs.h"
50638 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50641 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50642 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50643 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50649 cat >>$CONFIG_STATUS <<\_ACEOF
50651 # Handling of arguments.
50652 for ac_config_target in $ac_config_targets
50654 case $ac_config_target in
50655 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50656 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50657 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50658 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50659 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
50660 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50661 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50662 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
50664 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50665 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50666 { (exit 1); exit 1; }; };;
50671 # If the user did not use the arguments to specify the items to instantiate,
50672 # then the envvar interface is used. Set only those that are not.
50673 # We use the long form for the default assignment because of an extremely
50674 # bizarre bug on SunOS 4.1.3.
50675 if $ac_need_defaults; then
50676 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50677 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50678 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50681 # Have a temporary directory for convenience. Make it in the build tree
50682 # simply because there is no reason against having it here, and in addition,
50683 # creating and moving files from /tmp can sometimes cause problems.
50684 # Hook for its removal unless debugging.
50685 # Note that there is a small window in which the directory will not be cleaned:
50686 # after its creation but before its name has been assigned to `$tmp'.
50690 trap 'exit_status=$?
50691 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50693 trap '{ (exit 1); exit 1; }' 1 2 13 15
50695 # Create a (secure) tmp directory for tmp files.
50698 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50699 test -n "$tmp" && test -d "$tmp"
50702 tmp=./conf$$-$RANDOM
50703 (umask 077 && mkdir "$tmp")
50706 echo "$me: cannot create a temporary directory in ." >&2
50707 { (exit 1); exit 1; }
50711 # Set up the sed scripts for CONFIG_FILES section.
50714 # No need to generate the scripts if there are no CONFIG_FILES.
50715 # This happens for instance when ./config.status config.h
50716 if test -n "$CONFIG_FILES"; then
50723 for ac_last_try in false false false false false :; do
50724 cat >conf$$subs.sed <<_ACEOF
50725 SHELL!$SHELL$ac_delim
50726 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50727 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50728 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50729 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50730 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50731 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50732 exec_prefix!$exec_prefix$ac_delim
50733 prefix!$prefix$ac_delim
50734 program_transform_name!$program_transform_name$ac_delim
50735 bindir!$bindir$ac_delim
50736 sbindir!$sbindir$ac_delim
50737 libexecdir!$libexecdir$ac_delim
50738 datarootdir!$datarootdir$ac_delim
50739 datadir!$datadir$ac_delim
50740 sysconfdir!$sysconfdir$ac_delim
50741 sharedstatedir!$sharedstatedir$ac_delim
50742 localstatedir!$localstatedir$ac_delim
50743 includedir!$includedir$ac_delim
50744 oldincludedir!$oldincludedir$ac_delim
50745 docdir!$docdir$ac_delim
50746 infodir!$infodir$ac_delim
50747 htmldir!$htmldir$ac_delim
50748 dvidir!$dvidir$ac_delim
50749 pdfdir!$pdfdir$ac_delim
50750 psdir!$psdir$ac_delim
50751 libdir!$libdir$ac_delim
50752 localedir!$localedir$ac_delim
50753 mandir!$mandir$ac_delim
50754 DEFS!$DEFS$ac_delim
50755 ECHO_C!$ECHO_C$ac_delim
50756 ECHO_N!$ECHO_N$ac_delim
50757 ECHO_T!$ECHO_T$ac_delim
50758 LIBS!$LIBS$ac_delim
50759 build_alias!$build_alias$ac_delim
50760 host_alias!$host_alias$ac_delim
50761 target_alias!$target_alias$ac_delim
50762 build!$build$ac_delim
50763 build_cpu!$build_cpu$ac_delim
50764 build_vendor!$build_vendor$ac_delim
50765 build_os!$build_os$ac_delim
50766 host!$host$ac_delim
50767 host_cpu!$host_cpu$ac_delim
50768 host_vendor!$host_vendor$ac_delim
50769 host_os!$host_os$ac_delim
50770 target!$target$ac_delim
50771 target_cpu!$target_cpu$ac_delim
50772 target_vendor!$target_vendor$ac_delim
50773 target_os!$target_os$ac_delim
50774 wx_top_builddir!$wx_top_builddir$ac_delim
50776 CFLAGS!$CFLAGS$ac_delim
50777 LDFLAGS!$LDFLAGS$ac_delim
50778 CPPFLAGS!$CPPFLAGS$ac_delim
50779 ac_ct_CC!$ac_ct_CC$ac_delim
50780 EXEEXT!$EXEEXT$ac_delim
50781 OBJEXT!$OBJEXT$ac_delim
50783 GREP!$GREP$ac_delim
50784 EGREP!$EGREP$ac_delim
50786 CXXFLAGS!$CXXFLAGS$ac_delim
50787 ac_ct_CXX!$ac_ct_CXX$ac_delim
50789 subdirs!$subdirs$ac_delim
50790 PKG_CONFIG!$PKG_CONFIG$ac_delim
50791 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50792 GTK_LIBS!$GTK_LIBS$ac_delim
50793 GTK_CONFIG!$GTK_CONFIG$ac_delim
50794 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50795 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50796 XMKMF!$XMKMF$ac_delim
50797 X_CFLAGS!$X_CFLAGS$ac_delim
50798 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50799 X_LIBS!$X_LIBS$ac_delim
50800 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50801 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50802 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50803 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50804 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50805 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50806 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50807 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50808 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50809 LIBICONV!$LIBICONV$ac_delim
50810 SDL_CONFIG!$SDL_CONFIG$ac_delim
50811 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50812 SDL_LIBS!$SDL_LIBS$ac_delim
50813 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50814 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50815 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50816 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50817 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50818 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50819 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50820 HILDON_LIBS!$HILDON_LIBS$ac_delim
50821 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50824 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50826 elif $ac_last_try; then
50827 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50828 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50829 { (exit 1); exit 1; }; }
50831 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50835 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50836 if test -n "$ac_eof"; then
50837 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50838 ac_eof=`expr $ac_eof + 1`
50841 cat >>$CONFIG_STATUS <<_ACEOF
50842 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50843 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50846 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50847 s/^/s,@/; s/!/@,|#_!!_#|/
50850 s/'"$ac_delim"'$/,g/; t
50852 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50853 ' >>$CONFIG_STATUS <conf$$subs.sed
50854 rm -f conf$$subs.sed
50855 cat >>$CONFIG_STATUS <<_ACEOF
50861 for ac_last_try in false false false false false :; do
50862 cat >conf$$subs.sed <<_ACEOF
50863 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50864 GST_CFLAGS!$GST_CFLAGS$ac_delim
50865 GST_LIBS!$GST_LIBS$ac_delim
50866 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50867 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50868 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50869 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50870 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50871 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50872 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50873 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50874 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50875 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50876 VENDOR!$VENDOR$ac_delim
50877 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50878 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50879 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50880 WXUNIV!$WXUNIV$ac_delim
50881 MONOLITHIC!$MONOLITHIC$ac_delim
50882 USE_PLUGINS!$USE_PLUGINS$ac_delim
50883 CXXWARNINGS!$CXXWARNINGS$ac_delim
50884 EXTRALIBS!$EXTRALIBS$ac_delim
50885 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50886 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50887 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
50888 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50889 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50890 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50891 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50892 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50893 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50894 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50895 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50896 UNICODE!$UNICODE$ac_delim
50897 BUILD!$BUILD$ac_delim
50898 DEBUG_INFO!$DEBUG_INFO$ac_delim
50899 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50900 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50901 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50902 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50903 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50904 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50905 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50906 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50907 RANLIB!$RANLIB$ac_delim
50908 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50909 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50910 INSTALL_DATA!$INSTALL_DATA$ac_delim
50911 LN_S!$LN_S$ac_delim
50912 SET_MAKE!$SET_MAKE$ac_delim
50913 MAKE_SET!$MAKE_SET$ac_delim
50914 AROPTIONS!$AROPTIONS$ac_delim
50915 STRIP!$STRIP$ac_delim
50917 INSTALL_DIR!$INSTALL_DIR$ac_delim
50918 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50919 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50920 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50921 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50922 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50923 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50924 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50925 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50926 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50927 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50928 SO_SUFFIX!$SO_SUFFIX$ac_delim
50929 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50930 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50931 LIBPREFIX!$LIBPREFIX$ac_delim
50932 LIBEXT!$LIBEXT$ac_delim
50933 DLLPREFIX!$DLLPREFIX$ac_delim
50934 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50935 dlldir!$dlldir$ac_delim
50936 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50937 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50938 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50939 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50940 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50941 PIC_FLAG!$PIC_FLAG$ac_delim
50942 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50943 USE_SOVERSION!$USE_SOVERSION$ac_delim
50944 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50945 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50946 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50947 USE_MACVERSION!$USE_MACVERSION$ac_delim
50948 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50949 SONAME_FLAG!$SONAME_FLAG$ac_delim
50950 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50951 BK_DEPS!$BK_DEPS$ac_delim
50952 WINDRES!$WINDRES$ac_delim
50954 SETFILE!$SETFILE$ac_delim
50955 GCC_PCH!$GCC_PCH$ac_delim
50956 ICC_PCH!$ICC_PCH$ac_delim
50957 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50958 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50959 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50962 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50964 elif $ac_last_try; then
50965 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50966 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50967 { (exit 1); exit 1; }; }
50969 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50973 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50974 if test -n "$ac_eof"; then
50975 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50976 ac_eof=`expr $ac_eof + 1`
50979 cat >>$CONFIG_STATUS <<_ACEOF
50980 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50981 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50984 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50985 s/^/s,@/; s/!/@,|#_!!_#|/
50988 s/'"$ac_delim"'$/,g/; t
50990 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50991 ' >>$CONFIG_STATUS <conf$$subs.sed
50992 rm -f conf$$subs.sed
50993 cat >>$CONFIG_STATUS <<_ACEOF
50999 for ac_last_try in false false false false false :; do
51000 cat >conf$$subs.sed <<_ACEOF
51001 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51002 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51003 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51004 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51005 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51006 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51007 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51008 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51009 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51010 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51011 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51012 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51013 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51014 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51015 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51016 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51017 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51018 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51019 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51020 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51021 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51022 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51023 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51024 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51025 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51026 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51027 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51028 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51029 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51030 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51031 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51032 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51033 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51034 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51035 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51036 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51037 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51038 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51039 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51040 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51041 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51042 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51043 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51044 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51045 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51046 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51047 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51048 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51049 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51050 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51051 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
51052 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
51053 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
51054 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
51055 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
51056 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
51057 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
51058 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51059 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51060 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51061 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51062 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51063 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51064 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51065 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51066 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51067 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51068 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51069 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51070 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51071 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51072 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51073 COND_SHARED_0!$COND_SHARED_0$ac_delim
51074 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51075 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51076 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51077 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51078 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51079 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51080 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51081 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51082 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51083 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51084 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51085 COND_SHARED_1!$COND_SHARED_1$ac_delim
51086 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51087 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51088 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51089 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51090 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51091 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51092 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51093 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51094 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51095 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51096 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51097 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51100 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51102 elif $ac_last_try; then
51103 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51104 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51105 { (exit 1); exit 1; }; }
51107 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51111 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51112 if test -n "$ac_eof"; then
51113 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51114 ac_eof=`expr $ac_eof + 1`
51117 cat >>$CONFIG_STATUS <<_ACEOF
51118 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51119 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51122 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51123 s/^/s,@/; s/!/@,|#_!!_#|/
51126 s/'"$ac_delim"'$/,g/; t
51128 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51129 ' >>$CONFIG_STATUS <conf$$subs.sed
51130 rm -f conf$$subs.sed
51131 cat >>$CONFIG_STATUS <<_ACEOF
51137 for ac_last_try in false false false false false :; do
51138 cat >conf$$subs.sed <<_ACEOF
51139 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51140 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51141 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51142 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51143 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51144 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51145 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51146 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51147 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51148 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51149 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51150 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51151 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51152 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51153 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51154 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51155 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51156 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51157 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51158 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51159 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51160 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51161 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51162 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51163 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51164 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51165 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51166 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51167 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51168 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51169 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51170 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51171 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51172 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51173 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51174 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51175 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51176 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51177 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51178 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51179 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51180 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51181 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51182 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51183 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51184 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51185 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51186 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51187 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51188 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51189 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51190 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51191 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51192 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51193 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51194 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51195 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51196 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51197 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51198 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51199 DEREZ!$DEREZ$ac_delim
51200 SHARED!$SHARED$ac_delim
51201 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51202 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51203 USE_GUI!$USE_GUI$ac_delim
51204 AFMINSTALL!$AFMINSTALL$ac_delim
51205 WIN32INSTALL!$WIN32INSTALL$ac_delim
51206 TOOLKIT!$TOOLKIT$ac_delim
51207 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51208 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51209 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51210 cross_compiling!$cross_compiling$ac_delim
51211 WIDGET_SET!$WIDGET_SET$ac_delim
51212 WX_RELEASE!$WX_RELEASE$ac_delim
51213 WX_VERSION!$WX_VERSION$ac_delim
51214 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51215 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51216 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51217 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51218 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51219 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51220 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51221 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51222 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51223 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51224 GUIDIST!$GUIDIST$ac_delim
51225 DISTDIR!$DISTDIR$ac_delim
51226 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51227 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51228 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51229 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51230 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51231 RESCOMP!$RESCOMP$ac_delim
51232 RESFLAGS!$RESFLAGS$ac_delim
51233 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51234 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51235 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51238 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51240 elif $ac_last_try; then
51241 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51242 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51243 { (exit 1); exit 1; }; }
51245 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51249 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51250 if test -n "$ac_eof"; then
51251 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51252 ac_eof=`expr $ac_eof + 1`
51255 cat >>$CONFIG_STATUS <<_ACEOF
51256 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51257 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51260 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51261 s/^/s,@/; s/!/@,|#_!!_#|/
51264 s/'"$ac_delim"'$/,g/; t
51266 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51267 ' >>$CONFIG_STATUS <conf$$subs.sed
51268 rm -f conf$$subs.sed
51269 cat >>$CONFIG_STATUS <<_ACEOF
51275 for ac_last_try in false false false false false :; do
51276 cat >conf$$subs.sed <<_ACEOF
51277 LIBWXMACRES!$LIBWXMACRES$ac_delim
51278 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51279 MACSETFILE!$MACSETFILE$ac_delim
51281 DLLTOOL!$DLLTOOL$ac_delim
51282 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51283 LIBOBJS!$LIBOBJS$ac_delim
51284 LTLIBOBJS!$LTLIBOBJS$ac_delim
51287 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 8; then
51289 elif $ac_last_try; then
51290 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51291 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51292 { (exit 1); exit 1; }; }
51294 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51298 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51299 if test -n "$ac_eof"; then
51300 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51301 ac_eof=`expr $ac_eof + 1`
51304 cat >>$CONFIG_STATUS <<_ACEOF
51305 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51306 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51309 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51310 s/^/s,@/; s/!/@,|#_!!_#|/
51313 s/'"$ac_delim"'$/,g/; t
51315 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51316 ' >>$CONFIG_STATUS <conf$$subs.sed
51317 rm -f conf$$subs.sed
51318 cat >>$CONFIG_STATUS <<_ACEOF
51325 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51326 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51327 # trailing colons and then remove the whole line if VPATH becomes empty
51328 # (actually we leave an empty line to preserve line numbers).
51329 if test "x$srcdir" = x.; then
51330 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51331 s/:*\$(srcdir):*/:/
51332 s/:*\${srcdir}:*/:/
51334 s/^\([^=]*=[ ]*\):*/\1/
51340 cat >>$CONFIG_STATUS <<\_ACEOF
51341 fi # test -n "$CONFIG_FILES"
51344 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51347 :[FHLC]) ac_mode=$ac_tag; continue;;
51349 case $ac_mode$ac_tag in
51351 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51352 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51353 { (exit 1); exit 1; }; };;
51354 :[FH]-) ac_tag=-:-;;
51355 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
51372 -) ac_f="$tmp/stdin";;
51373 *) # Look for the file first in the build tree, then in the source tree
51374 # (if the path is not absolute). The absolute path cannot be DOS-style,
51375 # because $ac_f cannot contain `:'.
51379 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
51381 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51382 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51383 { (exit 1); exit 1; }; };;
51385 ac_file_inputs="$ac_file_inputs $ac_f"
51388 # Let's still pretend it is `configure' which instantiates (i.e., don't
51389 # use $as_me), people would be surprised to read:
51390 # /* config.h. Generated by config.status. */
51391 configure_input="Generated from "`IFS=:
51392 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51393 if test x"$ac_file" != x-; then
51394 configure_input="$ac_file. $configure_input"
51395 { echo "$as_me:$LINENO: creating $ac_file" >&5
51396 echo "$as_me: creating $ac_file" >&6;}
51400 *:-:* | *:-) cat >"$tmp/stdin";;
51405 ac_dir=`$as_dirname -- "$ac_file" ||
51406 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51407 X"$ac_file" : 'X\(//\)[^/]' \| \
51408 X"$ac_file" : 'X\(//\)$' \| \
51409 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51415 /^X\(\/\/\)[^/].*/{
51430 -*) as_dir=./$as_dir;;
51432 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51436 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51437 *) as_qdir=$as_dir;;
51439 as_dirs="'$as_qdir' $as_dirs"
51440 as_dir=`$as_dirname -- "$as_dir" ||
51441 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51442 X"$as_dir" : 'X\(//\)[^/]' \| \
51443 X"$as_dir" : 'X\(//\)$' \| \
51444 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51450 /^X\(\/\/\)[^/].*/{
51463 test -d "$as_dir" && break
51465 test -z "$as_dirs" || eval "mkdir $as_dirs"
51466 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51467 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51468 { (exit 1); exit 1; }; }; }
51472 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51474 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51475 # A ".." for each directory in $ac_dir_suffix.
51476 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51477 case $ac_top_builddir_sub in
51478 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51479 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51482 ac_abs_top_builddir=$ac_pwd
51483 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51484 # for backward compatibility:
51485 ac_top_builddir=$ac_top_build_prefix
51488 .) # We are building in place.
51490 ac_top_srcdir=$ac_top_builddir_sub
51491 ac_abs_top_srcdir=$ac_pwd ;;
51492 [\\/]* | ?:[\\/]* ) # Absolute name.
51493 ac_srcdir=$srcdir$ac_dir_suffix;
51494 ac_top_srcdir=$srcdir
51495 ac_abs_top_srcdir=$srcdir ;;
51496 *) # Relative name.
51497 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51498 ac_top_srcdir=$ac_top_build_prefix$srcdir
51499 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51501 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51511 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51512 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
51516 cat >>$CONFIG_STATUS <<\_ACEOF
51517 # If the template does not know about datarootdir, expand it.
51518 # FIXME: This hack should be removed a few years after 2.60.
51519 ac_datarootdir_hack=; ac_datarootdir_seen=
51521 case `sed -n '/datarootdir/ {
51530 ' $ac_file_inputs` in
51531 *datarootdir*) ac_datarootdir_seen=yes;;
51532 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
51533 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51534 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51536 cat >>$CONFIG_STATUS <<_ACEOF
51537 ac_datarootdir_hack='
51538 s&@datadir@&$datadir&g
51539 s&@docdir@&$docdir&g
51540 s&@infodir@&$infodir&g
51541 s&@localedir@&$localedir&g
51542 s&@mandir@&$mandir&g
51543 s&\\\${datarootdir}&$datarootdir&g' ;;
51547 # Neutralize VPATH when `$srcdir' = `.'.
51548 # Shell code in configure.ac might set extrasub.
51549 # FIXME: do we really want to maintain this feature?
51550 cat >>$CONFIG_STATUS <<_ACEOF
51554 cat >>$CONFIG_STATUS <<\_ACEOF
51556 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51557 s&@configure_input@&$configure_input&;t t
51558 s&@top_builddir@&$ac_top_builddir_sub&;t t
51559 s&@srcdir@&$ac_srcdir&;t t
51560 s&@abs_srcdir@&$ac_abs_srcdir&;t t
51561 s&@top_srcdir@&$ac_top_srcdir&;t t
51562 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
51563 s&@builddir@&$ac_builddir&;t t
51564 s&@abs_builddir@&$ac_abs_builddir&;t t
51565 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
51566 s&@INSTALL@&$ac_INSTALL&;t t
51567 $ac_datarootdir_hack
51568 " $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
51570 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51571 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
51572 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
51573 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51574 which seems to be undefined. Please make sure it is defined." >&5
51575 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51576 which seems to be undefined. Please make sure it is defined." >&2;}
51580 -) cat "$tmp/out"; rm -f "$tmp/out";;
51581 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51590 # Transform confdefs.h into a sed script `conftest.defines', that
51591 # substitutes the proper values into config.h.in to produce config.h.
51592 rm -f conftest.defines conftest.tail
51593 # First, append a space to every undef/define line, to ease matching.
51594 echo 's/$/ /' >conftest.defines
51595 # Then, protect against being on the right side of a sed subst, or in
51596 # an unquoted here document, in config.status. If some macros were
51597 # called several times there might be several #defines for the same
51598 # symbol, which is useless. But do not sort them, since the last
51599 # AC_DEFINE must be honored.
51600 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
51601 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51602 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51603 # PARAMS is the parameter list in the macro definition--in most cases, it's
51604 # just an empty string.
51605 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51606 ac_dB='\\)[ (].*,\\1define\\2'
51614 s/^[ ]*#[ ]*define[ ][ ]*//
51619 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51620 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51621 ' >>conftest.defines
51623 # Remove the space that was appended to ease matching.
51624 # Then replace #undef with comments. This is necessary, for
51625 # example, in the case of _POSIX_SOURCE, which is predefined and required
51626 # on some systems where configure will not decide to define it.
51627 # (The regexp can be short, since the line contains either #define or #undef.)
51629 s,^[ #]*u.*,/* & */,' >>conftest.defines
51631 # Break up conftest.defines:
51632 ac_max_sed_lines=50
51634 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51635 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51636 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51638 ac_in='$ac_file_inputs'
51639 ac_out='"$tmp/out1"'
51640 ac_nxt='"$tmp/out2"'
51644 # Write a here document:
51645 cat >>$CONFIG_STATUS <<_ACEOF
51646 # First, check the format of the line:
51647 cat >"\$tmp/defines.sed" <<\\CEOF
51648 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51649 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51653 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
51655 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51656 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
51657 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
51658 grep . conftest.tail >/dev/null || break
51659 rm -f conftest.defines
51660 mv conftest.tail conftest.defines
51662 rm -f conftest.defines conftest.tail
51664 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51665 cat >>$CONFIG_STATUS <<\_ACEOF
51666 if test x"$ac_file" != x-; then
51667 echo "/* $configure_input */" >"$tmp/config.h"
51668 cat "$ac_result" >>"$tmp/config.h"
51669 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
51670 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51671 echo "$as_me: $ac_file is unchanged" >&6;}
51674 mv "$tmp/config.h" $ac_file
51677 echo "/* $configure_input */"
51683 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51684 echo "$as_me: executing $ac_file commands" >&6;}
51689 case $ac_file$ac_mode in
51691 mkdir -p $outdir &&
51692 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51694 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51695 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51696 "wx-config":C) rm -f wx-config
51697 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51704 { (exit 0); exit 0; }
51706 chmod +x $CONFIG_STATUS
51707 ac_clean_files=$ac_clean_files_save
51710 # configure is writing to config.log, and then calls config.status.
51711 # config.status does its own redirection, appending to config.log.
51712 # Unfortunately, on DOS this fails, as config.log is still kept open
51713 # by configure, so config.status won't be able to write to it; its
51714 # output is simply discarded. So we exec the FD to /dev/null,
51715 # effectively closing config.log, so it can be properly (re)opened and
51716 # appended to by config.status. When coming back to configure, we
51717 # need to make the FD available again.
51718 if test "$no_create" != yes; then
51720 ac_config_status_args=
51721 test "$silent" = yes &&
51722 ac_config_status_args="$ac_config_status_args --quiet"
51724 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51726 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51727 # would make configure fail if this is the last instruction.
51728 $ac_cs_success || { (exit 1); exit 1; }
51732 # CONFIG_SUBDIRS section.
51734 if test "$no_recursion" != yes; then
51736 # Remove --cache-file and --srcdir arguments so they do not pile up.
51737 ac_sub_configure_args=
51739 eval "set x $ac_configure_args"
51743 if test -n "$ac_prev"; then
51748 -cache-file | --cache-file | --cache-fil | --cache-fi \
51749 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51750 ac_prev=cache_file ;;
51751 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51752 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51755 --config-cache | -C)
51757 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51759 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51761 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51763 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51767 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51769 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51773 # Always prepend --prefix to ensure using the same prefix
51774 # in subdir configurations.
51775 ac_arg="--prefix=$prefix"
51777 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51779 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51782 if test "$silent" = yes; then
51783 ac_sub_configure_args="--silent $ac_sub_configure_args"
51787 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51789 # Do not complain, so a configure script can configure whichever
51790 # parts of a large source tree are present.
51791 test -d "$srcdir/$ac_dir" || continue
51793 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51794 echo "$as_me:$LINENO: $ac_msg" >&5
51798 -*) as_dir=./$as_dir;;
51800 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51804 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51805 *) as_qdir=$as_dir;;
51807 as_dirs="'$as_qdir' $as_dirs"
51808 as_dir=`$as_dirname -- "$as_dir" ||
51809 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51810 X"$as_dir" : 'X\(//\)[^/]' \| \
51811 X"$as_dir" : 'X\(//\)$' \| \
51812 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51814 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51818 /^X\(\/\/\)[^/].*/{
51831 test -d "$as_dir" && break
51833 test -z "$as_dirs" || eval "mkdir $as_dirs"
51834 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51835 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51836 { (exit 1); exit 1; }; }; }
51840 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51842 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51843 # A ".." for each directory in $ac_dir_suffix.
51844 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51845 case $ac_top_builddir_sub in
51846 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51847 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51850 ac_abs_top_builddir=$ac_pwd
51851 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51852 # for backward compatibility:
51853 ac_top_builddir=$ac_top_build_prefix
51856 .) # We are building in place.
51858 ac_top_srcdir=$ac_top_builddir_sub
51859 ac_abs_top_srcdir=$ac_pwd ;;
51860 [\\/]* | ?:[\\/]* ) # Absolute name.
51861 ac_srcdir=$srcdir$ac_dir_suffix;
51862 ac_top_srcdir=$srcdir
51863 ac_abs_top_srcdir=$srcdir ;;
51864 *) # Relative name.
51865 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51866 ac_top_srcdir=$ac_top_build_prefix$srcdir
51867 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51869 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51874 # Check for guested configure; otherwise get Cygnus style configure.
51875 if test -f "$ac_srcdir/configure.gnu"; then
51876 ac_sub_configure=$ac_srcdir/configure.gnu
51877 elif test -f "$ac_srcdir/configure"; then
51878 ac_sub_configure=$ac_srcdir/configure
51879 elif test -f "$ac_srcdir/configure.in"; then
51880 # This should be Cygnus configure.
51881 ac_sub_configure=$ac_aux_dir/configure
51883 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51884 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51888 # The recursion is here.
51889 if test -n "$ac_sub_configure"; then
51890 # Make the cache file name correct relative to the subdirectory.
51891 case $cache_file in
51892 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51893 *) # Relative name.
51894 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
51897 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51898 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51899 # The eval makes quoting arguments work.
51900 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51901 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51902 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51903 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51904 { (exit 1); exit 1; }; }
51913 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51915 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51916 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51918 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51919 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51920 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
51921 if test "$wxUSE_UNICODE" = "yes"; then
51922 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51923 echo " (using UTF-8)"
51925 echo " (using wchar_t)"
51931 echo " What level of wxWidgets compatibility should be enabled?"
51932 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51933 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51935 echo " Which libraries should wxWidgets use?"
51936 echo " STL ${wxUSE_STL}"
51937 echo " jpeg ${wxUSE_LIBJPEG-none}"
51938 echo " png ${wxUSE_LIBPNG-none}"
51939 echo " regex ${wxUSE_REGEX}"
51940 echo " tiff ${wxUSE_LIBTIFF-none}"
51941 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51942 echo " xpm ${wxUSE_LIBXPM-none}"
51944 echo " zlib ${wxUSE_ZLIB}"
51945 echo " expat ${wxUSE_EXPAT}"
51946 echo " libmspack ${wxUSE_LIBMSPACK}"
51947 echo " sdl ${wxUSE_LIBSDL}"