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 # otherwise configure stops on leopard for universal_binary
17708 wxUSE_MACOSX_VERSION_MIN=10.4
17711 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17712 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17713 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17714 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17715 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17716 retest_macosx_linking=yes
17719 if test "x$retest_macosx_linking" = "xyes"; then
17721 ac_cpp='$CPP $CPPFLAGS'
17722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17726 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17727 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17728 cat >conftest.$ac_ext <<_ACEOF
17731 cat confdefs.h >>conftest.$ac_ext
17732 cat >>conftest.$ac_ext <<_ACEOF
17733 /* end confdefs.h. */
17743 rm -f conftest.$ac_objext conftest$ac_exeext
17744 if { (ac_try="$ac_link"
17745 case "(($ac_try" in
17746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17747 *) ac_try_echo=$ac_try;;
17749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17750 (eval "$ac_link") 2>conftest.er1
17752 grep -v '^ *+' conftest.er1 >conftest.err
17754 cat conftest.err >&5
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); } && {
17757 test -z "$ac_c_werror_flag" ||
17758 test ! -s conftest.err
17759 } && test -s conftest$ac_exeext &&
17760 $as_test_x conftest$ac_exeext; then
17761 { echo "$as_me:$LINENO: result: yes" >&5
17762 echo "${ECHO_T}yes" >&6; }
17764 echo "$as_me: failed program was:" >&5
17765 sed 's/^/| /' conftest.$ac_ext >&5
17767 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17768 See \`config.log' for more details." >&5
17769 echo "$as_me: error: no. Try a different SDK
17770 See \`config.log' for more details." >&2;}
17771 { (exit 1); exit 1; }; }; exit 1
17774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17775 conftest$ac_exeext conftest.$ac_ext
17777 ac_cpp='$CPP $CPPFLAGS'
17778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17784 ac_cpp='$CXXCPP $CPPFLAGS'
17785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17789 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17790 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17791 cat >conftest.$ac_ext <<_ACEOF
17794 cat confdefs.h >>conftest.$ac_ext
17795 cat >>conftest.$ac_ext <<_ACEOF
17796 /* end confdefs.h. */
17806 rm -f conftest.$ac_objext conftest$ac_exeext
17807 if { (ac_try="$ac_link"
17808 case "(($ac_try" in
17809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17810 *) ac_try_echo=$ac_try;;
17812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17813 (eval "$ac_link") 2>conftest.er1
17815 grep -v '^ *+' conftest.er1 >conftest.err
17817 cat conftest.err >&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); } && {
17820 test -z "$ac_cxx_werror_flag" ||
17821 test ! -s conftest.err
17822 } && test -s conftest$ac_exeext &&
17823 $as_test_x conftest$ac_exeext; then
17824 { echo "$as_me:$LINENO: result: yes" >&5
17825 echo "${ECHO_T}yes" >&6; }
17827 echo "$as_me: failed program was:" >&5
17828 sed 's/^/| /' conftest.$ac_ext >&5
17830 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17831 See \`config.log' for more details." >&5
17832 echo "$as_me: error: no. Try a different SDK
17833 See \`config.log' for more details." >&2;}
17834 { (exit 1); exit 1; }; }; exit 1
17837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17838 conftest$ac_exeext conftest.$ac_ext
17840 ac_cpp='$CPP $CPPFLAGS'
17841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17851 INSTALL_PROGRAM="cp -fp"
17852 INSTALL_DATA="cp -fp"
17859 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17860 CXXFLAGS="-qunique $CXXFLAGS"
17864 powerpc-*-darwin* )
17865 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17866 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17867 cat >conftest.$ac_ext <<_ACEOF
17870 cat confdefs.h >>conftest.$ac_ext
17871 cat >>conftest.$ac_ext <<_ACEOF
17872 /* end confdefs.h. */
17877 #ifndef __POWERPC__
17878 choke me for lack of PowerPC
17885 rm -f conftest.$ac_objext
17886 if { (ac_try="$ac_compile"
17887 case "(($ac_try" in
17888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17889 *) ac_try_echo=$ac_try;;
17891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17892 (eval "$ac_compile") 2>conftest.er1
17894 grep -v '^ *+' conftest.er1 >conftest.err
17896 cat conftest.err >&5
17897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898 (exit $ac_status); } && {
17899 test -z "$ac_c_werror_flag" ||
17900 test ! -s conftest.err
17901 } && test -s conftest.$ac_objext; then
17902 { echo "$as_me:$LINENO: result: yes" >&5
17903 echo "${ECHO_T}yes" >&6; }
17905 echo "$as_me: failed program was:" >&5
17906 sed 's/^/| /' conftest.$ac_ext >&5
17908 { echo "$as_me:$LINENO: result: no" >&5
17909 echo "${ECHO_T}no" >&6; }
17910 cat >>confdefs.h <<\_ACEOF
17911 #define __POWERPC__ 1
17917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17923 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17924 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17925 cat >conftest.$ac_ext <<_ACEOF
17928 cat confdefs.h >>conftest.$ac_ext
17929 cat >>conftest.$ac_ext <<_ACEOF
17930 /* end confdefs.h. */
17931 #include <CoreFoundation/CFBase.h>
17941 rm -f conftest.$ac_objext
17942 if { (ac_try="$ac_compile"
17943 case "(($ac_try" in
17944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17945 *) ac_try_echo=$ac_try;;
17947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17948 (eval "$ac_compile") 2>conftest.er1
17950 grep -v '^ *+' conftest.er1 >conftest.err
17952 cat conftest.err >&5
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); } && {
17955 test -z "$ac_c_werror_flag" ||
17956 test ! -s conftest.err
17957 } && test -s conftest.$ac_objext; then
17958 { echo "$as_me:$LINENO: result: yes" >&5
17959 echo "${ECHO_T}yes" >&6; }
17961 echo "$as_me: failed program was:" >&5
17962 sed 's/^/| /' conftest.$ac_ext >&5
17964 { echo "$as_me:$LINENO: result: no" >&5
17965 echo "${ECHO_T}no" >&6; }
17966 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17967 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17968 cat >conftest.$ac_ext <<_ACEOF
17971 cat confdefs.h >>conftest.$ac_ext
17972 cat >>conftest.$ac_ext <<_ACEOF
17973 /* end confdefs.h. */
17974 #define __CF_USE_FRAMEWORK_INCLUDES__
17975 #include <CoreFoundation/CFBase.h>
17985 rm -f conftest.$ac_objext
17986 if { (ac_try="$ac_compile"
17987 case "(($ac_try" in
17988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17989 *) ac_try_echo=$ac_try;;
17991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17992 (eval "$ac_compile") 2>conftest.er1
17994 grep -v '^ *+' conftest.er1 >conftest.err
17996 cat conftest.err >&5
17997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17998 (exit $ac_status); } && {
17999 test -z "$ac_c_werror_flag" ||
18000 test ! -s conftest.err
18001 } && test -s conftest.$ac_objext; then
18002 { echo "$as_me:$LINENO: result: yes" >&5
18003 echo "${ECHO_T}yes" >&6; }
18004 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18006 echo "$as_me: failed program was:" >&5
18007 sed 's/^/| /' conftest.$ac_ext >&5
18009 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18010 See \`config.log' for more details." >&5
18011 echo "$as_me: error: no. CoreFoundation not available.
18012 See \`config.log' for more details." >&2;}
18013 { (exit 1); exit 1; }; }
18017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18027 doesnt_want_win32=0
18030 if test "$wxUSE_MSW" = 1 ; then
18033 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18034 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18035 if test "${wx_cv_nocygwin+set}" = set; then
18036 echo $ECHO_N "(cached) $ECHO_C" >&6
18039 cat >conftest.$ac_ext <<_ACEOF
18042 cat confdefs.h >>conftest.$ac_ext
18043 cat >>conftest.$ac_ext <<_ACEOF
18044 /* end confdefs.h. */
18058 rm -f conftest.$ac_objext
18059 if { (ac_try="$ac_compile"
18060 case "(($ac_try" in
18061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18062 *) ac_try_echo=$ac_try;;
18064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18065 (eval "$ac_compile") 2>conftest.er1
18067 grep -v '^ *+' conftest.er1 >conftest.err
18069 cat conftest.err >&5
18070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071 (exit $ac_status); } && {
18072 test -z "$ac_c_werror_flag" ||
18073 test ! -s conftest.err
18074 } && test -s conftest.$ac_objext; then
18077 echo "$as_me: failed program was:" >&5
18078 sed 's/^/| /' conftest.$ac_ext >&5
18084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18088 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18089 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18091 if test "$wx_cv_nocygwin" = "yes"; then
18094 doesnt_want_win32=1
18097 if test "$wants_win32" = 1 ; then
18098 BAKEFILE_FORCE_PLATFORM=win32
18106 if test "$wxUSE_WINE" = "yes"; then
18108 LDFLAGS_GUI="-mwindows"
18111 if test "$wants_win32" = 1 ; then
18114 cat >>confdefs.h <<\_ACEOF
18115 #define __WIN32__ 1
18118 cat >>confdefs.h <<\_ACEOF
18119 #define __WIN95__ 1
18122 cat >>confdefs.h <<\_ACEOF
18123 #define __WINDOWS__ 1
18126 cat >>confdefs.h <<\_ACEOF
18127 #define __GNUWIN32__ 1
18130 cat >>confdefs.h <<\_ACEOF
18135 if test "$doesnt_want_win32" = 1 ; then
18140 if test "$USE_UNIX" = 1 ; then
18142 cat >>confdefs.h <<\_ACEOF
18149 *-pc-os2_emx | *-pc-os2-emx )
18150 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18151 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18152 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18153 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18154 echo $ECHO_N "(cached) $ECHO_C" >&6
18156 ac_check_lib_save_LIBS=$LIBS
18157 LIBS="-lcExt $LIBS"
18158 cat >conftest.$ac_ext <<_ACEOF
18161 cat confdefs.h >>conftest.$ac_ext
18162 cat >>conftest.$ac_ext <<_ACEOF
18163 /* end confdefs.h. */
18165 /* Override any GCC internal prototype to avoid an error.
18166 Use char because int might match the return type of a GCC
18167 builtin and then its argument prototype would still apply. */
18180 rm -f conftest.$ac_objext conftest$ac_exeext
18181 if { (ac_try="$ac_link"
18182 case "(($ac_try" in
18183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18184 *) ac_try_echo=$ac_try;;
18186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18187 (eval "$ac_link") 2>conftest.er1
18189 grep -v '^ *+' conftest.er1 >conftest.err
18191 cat conftest.err >&5
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); } && {
18194 test -z "$ac_c_werror_flag" ||
18195 test ! -s conftest.err
18196 } && test -s conftest$ac_exeext &&
18197 $as_test_x conftest$ac_exeext; then
18198 ac_cv_lib_cExt_drand48=yes
18200 echo "$as_me: failed program was:" >&5
18201 sed 's/^/| /' conftest.$ac_ext >&5
18203 ac_cv_lib_cExt_drand48=no
18206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18207 conftest$ac_exeext conftest.$ac_ext
18208 LIBS=$ac_check_lib_save_LIBS
18210 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18211 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18212 if test $ac_cv_lib_cExt_drand48 = yes; then
18213 LIBS="$LIBS -lcExt"
18217 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18219 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18220 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18221 if test "${wx_cv_gccversion+set}" = set; then
18222 echo $ECHO_N "(cached) $ECHO_C" >&6
18225 if test "$cross_compiling" = yes; then
18226 wx_cv_gccversion="EMX2"
18229 cat >conftest.$ac_ext <<_ACEOF
18232 cat confdefs.h >>conftest.$ac_ext
18233 cat >>conftest.$ac_ext <<_ACEOF
18234 /* end confdefs.h. */
18240 FILE *f=fopen("conftestval", "w");
18245 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18247 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18257 rm -f conftest$ac_exeext
18258 if { (ac_try="$ac_link"
18259 case "(($ac_try" in
18260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18261 *) ac_try_echo=$ac_try;;
18263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18264 (eval "$ac_link") 2>&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18268 { (case "(($ac_try" in
18269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18270 *) ac_try_echo=$ac_try;;
18272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18273 (eval "$ac_try") 2>&5
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); }; }; then
18277 wx_cv_gccversion=`cat conftestval`
18279 echo "$as_me: program exited with status $ac_status" >&5
18280 echo "$as_me: failed program was:" >&5
18281 sed 's/^/| /' conftest.$ac_ext >&5
18283 ( exit $ac_status )
18284 wx_cv_gccversion="EMX2"
18286 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18292 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18293 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18294 if test "$wx_cv_gccversion" = "EMX2"; then
18295 LIBS="$LIBS -lstdcpp"
18296 LDFLAGS="$LDFLAGS -Zsysv-signals"
18298 if test "$wx_cv_gccversion" = "EMX3"; then
18299 LIBS="$LIBS -lstdcxx -lgcc"
18300 LDFLAGS="$LDFLAGS -Zsysv-signals"
18302 LIBS="$LIBS -lstdc++"
18305 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18306 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18307 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18314 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18315 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18316 if test "${ac_cv_string_strcasecmp+set}" = set; then
18317 echo $ECHO_N "(cached) $ECHO_C" >&6
18320 cat >conftest.$ac_ext <<_ACEOF
18323 cat confdefs.h >>conftest.$ac_ext
18324 cat >>conftest.$ac_ext <<_ACEOF
18325 /* end confdefs.h. */
18327 #include <string.h>
18333 strcasecmp("foo", "bar");
18339 rm -f conftest.$ac_objext conftest$ac_exeext
18340 if { (ac_try="$ac_link"
18341 case "(($ac_try" in
18342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18343 *) ac_try_echo=$ac_try;;
18345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18346 (eval "$ac_link") 2>conftest.er1
18348 grep -v '^ *+' conftest.er1 >conftest.err
18350 cat conftest.err >&5
18351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18352 (exit $ac_status); } && {
18353 test -z "$ac_c_werror_flag" ||
18354 test ! -s conftest.err
18355 } && test -s conftest$ac_exeext &&
18356 $as_test_x conftest$ac_exeext; then
18357 ac_cv_string_strcasecmp=yes
18359 echo "$as_me: failed program was:" >&5
18360 sed 's/^/| /' conftest.$ac_ext >&5
18362 ac_cv_string_strcasecmp=no
18366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18367 conftest$ac_exeext conftest.$ac_ext
18370 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18371 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18373 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18374 cat >>confdefs.h <<\_ACEOF
18375 #define HAVE_STRCASECMP_IN_STRING_H 1
18379 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18380 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18381 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18382 echo $ECHO_N "(cached) $ECHO_C" >&6
18385 cat >conftest.$ac_ext <<_ACEOF
18388 cat confdefs.h >>conftest.$ac_ext
18389 cat >>conftest.$ac_ext <<_ACEOF
18390 /* end confdefs.h. */
18392 #include <strings.h>
18398 strcasecmp("foo", "bar");
18404 rm -f conftest.$ac_objext conftest$ac_exeext
18405 if { (ac_try="$ac_link"
18406 case "(($ac_try" in
18407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18408 *) ac_try_echo=$ac_try;;
18410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18411 (eval "$ac_link") 2>conftest.er1
18413 grep -v '^ *+' conftest.er1 >conftest.err
18415 cat conftest.err >&5
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); } && {
18418 test -z "$ac_c_werror_flag" ||
18419 test ! -s conftest.err
18420 } && test -s conftest$ac_exeext &&
18421 $as_test_x conftest$ac_exeext; then
18422 ac_cv_strings_strcasecmp=yes
18424 echo "$as_me: failed program was:" >&5
18425 sed 's/^/| /' conftest.$ac_ext >&5
18427 ac_cv_strings_strcasecmp=no
18431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18432 conftest$ac_exeext conftest.$ac_ext
18435 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18436 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18438 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18439 cat >>confdefs.h <<\_ACEOF
18440 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18444 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18445 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18446 { (exit 1); exit 1; }; }
18454 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18455 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18456 if test "${ac_cv_header_stdc+set}" = set; then
18457 echo $ECHO_N "(cached) $ECHO_C" >&6
18459 cat >conftest.$ac_ext <<_ACEOF
18462 cat confdefs.h >>conftest.$ac_ext
18463 cat >>conftest.$ac_ext <<_ACEOF
18464 /* end confdefs.h. */
18465 #include <stdlib.h>
18466 #include <stdarg.h>
18467 #include <string.h>
18478 rm -f conftest.$ac_objext
18479 if { (ac_try="$ac_compile"
18480 case "(($ac_try" in
18481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18482 *) ac_try_echo=$ac_try;;
18484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18485 (eval "$ac_compile") 2>conftest.er1
18487 grep -v '^ *+' conftest.er1 >conftest.err
18489 cat conftest.err >&5
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); } && {
18492 test -z "$ac_c_werror_flag" ||
18493 test ! -s conftest.err
18494 } && test -s conftest.$ac_objext; then
18495 ac_cv_header_stdc=yes
18497 echo "$as_me: failed program was:" >&5
18498 sed 's/^/| /' conftest.$ac_ext >&5
18500 ac_cv_header_stdc=no
18503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18505 if test $ac_cv_header_stdc = yes; then
18506 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18507 cat >conftest.$ac_ext <<_ACEOF
18510 cat confdefs.h >>conftest.$ac_ext
18511 cat >>conftest.$ac_ext <<_ACEOF
18512 /* end confdefs.h. */
18513 #include <string.h>
18516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18517 $EGREP "memchr" >/dev/null 2>&1; then
18520 ac_cv_header_stdc=no
18526 if test $ac_cv_header_stdc = yes; then
18527 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18528 cat >conftest.$ac_ext <<_ACEOF
18531 cat confdefs.h >>conftest.$ac_ext
18532 cat >>conftest.$ac_ext <<_ACEOF
18533 /* end confdefs.h. */
18534 #include <stdlib.h>
18537 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18538 $EGREP "free" >/dev/null 2>&1; then
18541 ac_cv_header_stdc=no
18547 if test $ac_cv_header_stdc = yes; then
18548 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18549 if test "$cross_compiling" = yes; then
18552 cat >conftest.$ac_ext <<_ACEOF
18555 cat confdefs.h >>conftest.$ac_ext
18556 cat >>conftest.$ac_ext <<_ACEOF
18557 /* end confdefs.h. */
18559 #include <stdlib.h>
18560 #if ((' ' & 0x0FF) == 0x020)
18561 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18562 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18564 # define ISLOWER(c) \
18565 (('a' <= (c) && (c) <= 'i') \
18566 || ('j' <= (c) && (c) <= 'r') \
18567 || ('s' <= (c) && (c) <= 'z'))
18568 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18571 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18576 for (i = 0; i < 256; i++)
18577 if (XOR (islower (i), ISLOWER (i))
18578 || toupper (i) != TOUPPER (i))
18583 rm -f conftest$ac_exeext
18584 if { (ac_try="$ac_link"
18585 case "(($ac_try" in
18586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18587 *) ac_try_echo=$ac_try;;
18589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18590 (eval "$ac_link") 2>&5
18592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18594 { (case "(($ac_try" in
18595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18596 *) ac_try_echo=$ac_try;;
18598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18599 (eval "$ac_try") 2>&5
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); }; }; then
18605 echo "$as_me: program exited with status $ac_status" >&5
18606 echo "$as_me: failed program was:" >&5
18607 sed 's/^/| /' conftest.$ac_ext >&5
18609 ( exit $ac_status )
18610 ac_cv_header_stdc=no
18612 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18618 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18619 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18620 if test $ac_cv_header_stdc = yes; then
18622 cat >>confdefs.h <<\_ACEOF
18623 #define STDC_HEADERS 1
18628 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18638 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18639 inttypes.h stdint.h unistd.h
18641 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18642 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18644 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18645 echo $ECHO_N "(cached) $ECHO_C" >&6
18647 cat >conftest.$ac_ext <<_ACEOF
18650 cat confdefs.h >>conftest.$ac_ext
18651 cat >>conftest.$ac_ext <<_ACEOF
18652 /* end confdefs.h. */
18653 $ac_includes_default
18655 #include <$ac_header>
18657 rm -f conftest.$ac_objext
18658 if { (ac_try="$ac_compile"
18659 case "(($ac_try" in
18660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18661 *) ac_try_echo=$ac_try;;
18663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18664 (eval "$ac_compile") 2>conftest.er1
18666 grep -v '^ *+' conftest.er1 >conftest.err
18668 cat conftest.err >&5
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); } && {
18671 test -z "$ac_c_werror_flag" ||
18672 test ! -s conftest.err
18673 } && test -s conftest.$ac_objext; then
18674 eval "$as_ac_Header=yes"
18676 echo "$as_me: failed program was:" >&5
18677 sed 's/^/| /' conftest.$ac_ext >&5
18679 eval "$as_ac_Header=no"
18682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18684 ac_res=`eval echo '${'$as_ac_Header'}'`
18685 { echo "$as_me:$LINENO: result: $ac_res" >&5
18686 echo "${ECHO_T}$ac_res" >&6; }
18687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18688 cat >>confdefs.h <<_ACEOF
18689 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18699 for ac_header in langinfo.h wchar.h
18701 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18702 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18703 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18704 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18705 echo $ECHO_N "(cached) $ECHO_C" >&6
18707 cat >conftest.$ac_ext <<_ACEOF
18710 cat confdefs.h >>conftest.$ac_ext
18711 cat >>conftest.$ac_ext <<_ACEOF
18712 /* end confdefs.h. */
18713 $ac_includes_default
18715 #include <$ac_header>
18717 rm -f conftest.$ac_objext
18718 if { (ac_try="$ac_compile"
18719 case "(($ac_try" in
18720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18721 *) ac_try_echo=$ac_try;;
18723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18724 (eval "$ac_compile") 2>conftest.er1
18726 grep -v '^ *+' conftest.er1 >conftest.err
18728 cat conftest.err >&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); } && {
18731 test -z "$ac_c_werror_flag" ||
18732 test ! -s conftest.err
18733 } && test -s conftest.$ac_objext; then
18734 eval "$as_ac_Header=yes"
18736 echo "$as_me: failed program was:" >&5
18737 sed 's/^/| /' conftest.$ac_ext >&5
18739 eval "$as_ac_Header=no"
18742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18744 ac_res=`eval echo '${'$as_ac_Header'}'`
18745 { echo "$as_me:$LINENO: result: $ac_res" >&5
18746 echo "${ECHO_T}$ac_res" >&6; }
18747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18748 cat >>confdefs.h <<_ACEOF
18749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18757 if test "$ac_cv_header_wchar_h" != "yes"; then
18759 for ac_header in wcstr.h
18761 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18762 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18764 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18765 echo $ECHO_N "(cached) $ECHO_C" >&6
18767 cat >conftest.$ac_ext <<_ACEOF
18770 cat confdefs.h >>conftest.$ac_ext
18771 cat >>conftest.$ac_ext <<_ACEOF
18772 /* end confdefs.h. */
18773 $ac_includes_default
18775 #include <$ac_header>
18777 rm -f conftest.$ac_objext
18778 if { (ac_try="$ac_compile"
18779 case "(($ac_try" in
18780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18781 *) ac_try_echo=$ac_try;;
18783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18784 (eval "$ac_compile") 2>conftest.er1
18786 grep -v '^ *+' conftest.er1 >conftest.err
18788 cat conftest.err >&5
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); } && {
18791 test -z "$ac_c_werror_flag" ||
18792 test ! -s conftest.err
18793 } && test -s conftest.$ac_objext; then
18794 eval "$as_ac_Header=yes"
18796 echo "$as_me: failed program was:" >&5
18797 sed 's/^/| /' conftest.$ac_ext >&5
18799 eval "$as_ac_Header=no"
18802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18804 ac_res=`eval echo '${'$as_ac_Header'}'`
18805 { echo "$as_me:$LINENO: result: $ac_res" >&5
18806 echo "${ECHO_T}$ac_res" >&6; }
18807 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18808 cat >>confdefs.h <<_ACEOF
18809 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18819 *-pc-os2_emx | *-pc-os2-emx )
18820 if test $ac_cv_header_langinfo_h = "yes" \
18821 -a \( "$wx_cv_gccversion" = "EMX2" \
18822 -o "$wx_cv_gccversion" = "EMX3" \
18823 -o "$wx_cv_gccversion" = "Innotek5" \); then
18824 LIBS="$LIBS -lintl"
18829 if test "$USE_UNIX" = 1 ; then
18831 for ac_header in sys/select.h
18833 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18834 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18836 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18837 echo $ECHO_N "(cached) $ECHO_C" >&6
18839 cat >conftest.$ac_ext <<_ACEOF
18842 cat confdefs.h >>conftest.$ac_ext
18843 cat >>conftest.$ac_ext <<_ACEOF
18844 /* end confdefs.h. */
18845 $ac_includes_default
18847 #include <$ac_header>
18849 rm -f conftest.$ac_objext
18850 if { (ac_try="$ac_compile"
18851 case "(($ac_try" in
18852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18853 *) ac_try_echo=$ac_try;;
18855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18856 (eval "$ac_compile") 2>conftest.er1
18858 grep -v '^ *+' conftest.er1 >conftest.err
18860 cat conftest.err >&5
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); } && {
18863 test -z "$ac_c_werror_flag" ||
18864 test ! -s conftest.err
18865 } && test -s conftest.$ac_objext; then
18866 eval "$as_ac_Header=yes"
18868 echo "$as_me: failed program was:" >&5
18869 sed 's/^/| /' conftest.$ac_ext >&5
18871 eval "$as_ac_Header=no"
18874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18876 ac_res=`eval echo '${'$as_ac_Header'}'`
18877 { echo "$as_me:$LINENO: result: $ac_res" >&5
18878 echo "${ECHO_T}$ac_res" >&6; }
18879 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18880 cat >>confdefs.h <<_ACEOF
18881 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18891 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18892 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18893 if test "${ac_cv_c_const+set}" = set; then
18894 echo $ECHO_N "(cached) $ECHO_C" >&6
18896 cat >conftest.$ac_ext <<_ACEOF
18899 cat confdefs.h >>conftest.$ac_ext
18900 cat >>conftest.$ac_ext <<_ACEOF
18901 /* end confdefs.h. */
18906 /* FIXME: Include the comments suggested by Paul. */
18907 #ifndef __cplusplus
18908 /* Ultrix mips cc rejects this. */
18909 typedef int charset[2];
18911 /* SunOS 4.1.1 cc rejects this. */
18912 char const *const *pcpcc;
18914 /* NEC SVR4.0.2 mips cc rejects this. */
18915 struct point {int x, y;};
18916 static struct point const zero = {0,0};
18917 /* AIX XL C 1.02.0.0 rejects this.
18918 It does not let you subtract one const X* pointer from another in
18919 an arm of an if-expression whose if-part is not a constant
18921 const char *g = "string";
18922 pcpcc = &g + (g ? g-g : 0);
18923 /* HPUX 7.0 cc rejects these. */
18925 ppc = (char**) pcpcc;
18926 pcpcc = (char const *const *) ppc;
18927 { /* SCO 3.2v4 cc rejects this. */
18929 char const *s = 0 ? (char *) 0 : (char const *) 0;
18934 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18935 int x[] = {25, 17};
18936 const int *foo = &x[0];
18939 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18940 typedef const int *iptr;
18944 { /* AIX XL C 1.02.0.0 rejects this saying
18945 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18946 struct s { int j; const int *ap[3]; };
18947 struct s *b; b->j = 5;
18949 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18950 const int foo = 10;
18951 if (!foo) return 0;
18953 return !cs[0] && !zero.x;
18960 rm -f conftest.$ac_objext
18961 if { (ac_try="$ac_compile"
18962 case "(($ac_try" in
18963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18964 *) ac_try_echo=$ac_try;;
18966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18967 (eval "$ac_compile") 2>conftest.er1
18969 grep -v '^ *+' conftest.er1 >conftest.err
18971 cat conftest.err >&5
18972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973 (exit $ac_status); } && {
18974 test -z "$ac_c_werror_flag" ||
18975 test ! -s conftest.err
18976 } && test -s conftest.$ac_objext; then
18979 echo "$as_me: failed program was:" >&5
18980 sed 's/^/| /' conftest.$ac_ext >&5
18985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18987 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18988 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18989 if test $ac_cv_c_const = no; then
18991 cat >>confdefs.h <<\_ACEOF
18997 { echo "$as_me:$LINENO: checking for inline" >&5
18998 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18999 if test "${ac_cv_c_inline+set}" = set; then
19000 echo $ECHO_N "(cached) $ECHO_C" >&6
19003 for ac_kw in inline __inline__ __inline; do
19004 cat >conftest.$ac_ext <<_ACEOF
19007 cat confdefs.h >>conftest.$ac_ext
19008 cat >>conftest.$ac_ext <<_ACEOF
19009 /* end confdefs.h. */
19010 #ifndef __cplusplus
19012 static $ac_kw foo_t static_foo () {return 0; }
19013 $ac_kw foo_t foo () {return 0; }
19017 rm -f conftest.$ac_objext
19018 if { (ac_try="$ac_compile"
19019 case "(($ac_try" in
19020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19021 *) ac_try_echo=$ac_try;;
19023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19024 (eval "$ac_compile") 2>conftest.er1
19026 grep -v '^ *+' conftest.er1 >conftest.err
19028 cat conftest.err >&5
19029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19030 (exit $ac_status); } && {
19031 test -z "$ac_c_werror_flag" ||
19032 test ! -s conftest.err
19033 } && test -s conftest.$ac_objext; then
19034 ac_cv_c_inline=$ac_kw
19036 echo "$as_me: failed program was:" >&5
19037 sed 's/^/| /' conftest.$ac_ext >&5
19042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19043 test "$ac_cv_c_inline" != no && break
19047 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19048 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19051 case $ac_cv_c_inline in
19054 case $ac_cv_c_inline in
19056 *) ac_val=$ac_cv_c_inline;;
19058 cat >>confdefs.h <<_ACEOF
19059 #ifndef __cplusplus
19060 #define inline $ac_val
19067 { echo "$as_me:$LINENO: checking for short" >&5
19068 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19069 if test "${ac_cv_type_short+set}" = set; then
19070 echo $ECHO_N "(cached) $ECHO_C" >&6
19072 cat >conftest.$ac_ext <<_ACEOF
19075 cat confdefs.h >>conftest.$ac_ext
19076 cat >>conftest.$ac_ext <<_ACEOF
19077 /* end confdefs.h. */
19078 $ac_includes_default
19079 typedef short ac__type_new_;
19083 if ((ac__type_new_ *) 0)
19085 if (sizeof (ac__type_new_))
19091 rm -f conftest.$ac_objext
19092 if { (ac_try="$ac_compile"
19093 case "(($ac_try" in
19094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19095 *) ac_try_echo=$ac_try;;
19097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19098 (eval "$ac_compile") 2>conftest.er1
19100 grep -v '^ *+' conftest.er1 >conftest.err
19102 cat conftest.err >&5
19103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104 (exit $ac_status); } && {
19105 test -z "$ac_c_werror_flag" ||
19106 test ! -s conftest.err
19107 } && test -s conftest.$ac_objext; then
19108 ac_cv_type_short=yes
19110 echo "$as_me: failed program was:" >&5
19111 sed 's/^/| /' conftest.$ac_ext >&5
19113 ac_cv_type_short=no
19116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19118 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19119 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19121 # The cast to long int works around a bug in the HP C Compiler
19122 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19123 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19124 # This bug is HP SR number 8606223364.
19125 { echo "$as_me:$LINENO: checking size of short" >&5
19126 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19127 if test "${ac_cv_sizeof_short+set}" = set; then
19128 echo $ECHO_N "(cached) $ECHO_C" >&6
19130 if test "$cross_compiling" = yes; then
19131 # Depending upon the size, compute the lo and hi bounds.
19132 cat >conftest.$ac_ext <<_ACEOF
19135 cat confdefs.h >>conftest.$ac_ext
19136 cat >>conftest.$ac_ext <<_ACEOF
19137 /* end confdefs.h. */
19138 $ac_includes_default
19139 typedef short ac__type_sizeof_;
19143 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19150 rm -f conftest.$ac_objext
19151 if { (ac_try="$ac_compile"
19152 case "(($ac_try" in
19153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19154 *) ac_try_echo=$ac_try;;
19156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19157 (eval "$ac_compile") 2>conftest.er1
19159 grep -v '^ *+' conftest.er1 >conftest.err
19161 cat conftest.err >&5
19162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163 (exit $ac_status); } && {
19164 test -z "$ac_c_werror_flag" ||
19165 test ! -s conftest.err
19166 } && test -s conftest.$ac_objext; then
19169 cat >conftest.$ac_ext <<_ACEOF
19172 cat confdefs.h >>conftest.$ac_ext
19173 cat >>conftest.$ac_ext <<_ACEOF
19174 /* end confdefs.h. */
19175 $ac_includes_default
19176 typedef short ac__type_sizeof_;
19180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19187 rm -f conftest.$ac_objext
19188 if { (ac_try="$ac_compile"
19189 case "(($ac_try" in
19190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19191 *) ac_try_echo=$ac_try;;
19193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19194 (eval "$ac_compile") 2>conftest.er1
19196 grep -v '^ *+' conftest.er1 >conftest.err
19198 cat conftest.err >&5
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); } && {
19201 test -z "$ac_c_werror_flag" ||
19202 test ! -s conftest.err
19203 } && test -s conftest.$ac_objext; then
19204 ac_hi=$ac_mid; break
19206 echo "$as_me: failed program was:" >&5
19207 sed 's/^/| /' conftest.$ac_ext >&5
19209 ac_lo=`expr $ac_mid + 1`
19210 if test $ac_lo -le $ac_mid; then
19214 ac_mid=`expr 2 '*' $ac_mid + 1`
19217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19220 echo "$as_me: failed program was:" >&5
19221 sed 's/^/| /' conftest.$ac_ext >&5
19223 cat >conftest.$ac_ext <<_ACEOF
19226 cat confdefs.h >>conftest.$ac_ext
19227 cat >>conftest.$ac_ext <<_ACEOF
19228 /* end confdefs.h. */
19229 $ac_includes_default
19230 typedef short ac__type_sizeof_;
19234 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19241 rm -f conftest.$ac_objext
19242 if { (ac_try="$ac_compile"
19243 case "(($ac_try" in
19244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19245 *) ac_try_echo=$ac_try;;
19247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19248 (eval "$ac_compile") 2>conftest.er1
19250 grep -v '^ *+' conftest.er1 >conftest.err
19252 cat conftest.err >&5
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); } && {
19255 test -z "$ac_c_werror_flag" ||
19256 test ! -s conftest.err
19257 } && test -s conftest.$ac_objext; then
19260 cat >conftest.$ac_ext <<_ACEOF
19263 cat confdefs.h >>conftest.$ac_ext
19264 cat >>conftest.$ac_ext <<_ACEOF
19265 /* end confdefs.h. */
19266 $ac_includes_default
19267 typedef short ac__type_sizeof_;
19271 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19278 rm -f conftest.$ac_objext
19279 if { (ac_try="$ac_compile"
19280 case "(($ac_try" in
19281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19282 *) ac_try_echo=$ac_try;;
19284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19285 (eval "$ac_compile") 2>conftest.er1
19287 grep -v '^ *+' conftest.er1 >conftest.err
19289 cat conftest.err >&5
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); } && {
19292 test -z "$ac_c_werror_flag" ||
19293 test ! -s conftest.err
19294 } && test -s conftest.$ac_objext; then
19295 ac_lo=$ac_mid; break
19297 echo "$as_me: failed program was:" >&5
19298 sed 's/^/| /' conftest.$ac_ext >&5
19300 ac_hi=`expr '(' $ac_mid ')' - 1`
19301 if test $ac_mid -le $ac_hi; then
19305 ac_mid=`expr 2 '*' $ac_mid`
19308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19311 echo "$as_me: failed program was:" >&5
19312 sed 's/^/| /' conftest.$ac_ext >&5
19317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19321 # Binary search between lo and hi bounds.
19322 while test "x$ac_lo" != "x$ac_hi"; do
19323 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19324 cat >conftest.$ac_ext <<_ACEOF
19327 cat confdefs.h >>conftest.$ac_ext
19328 cat >>conftest.$ac_ext <<_ACEOF
19329 /* end confdefs.h. */
19330 $ac_includes_default
19331 typedef short ac__type_sizeof_;
19335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19342 rm -f conftest.$ac_objext
19343 if { (ac_try="$ac_compile"
19344 case "(($ac_try" in
19345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19346 *) ac_try_echo=$ac_try;;
19348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19349 (eval "$ac_compile") 2>conftest.er1
19351 grep -v '^ *+' conftest.er1 >conftest.err
19353 cat conftest.err >&5
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); } && {
19356 test -z "$ac_c_werror_flag" ||
19357 test ! -s conftest.err
19358 } && test -s conftest.$ac_objext; then
19361 echo "$as_me: failed program was:" >&5
19362 sed 's/^/| /' conftest.$ac_ext >&5
19364 ac_lo=`expr '(' $ac_mid ')' + 1`
19367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19370 ?*) ac_cv_sizeof_short=$ac_lo;;
19371 '') if test "$ac_cv_type_short" = yes; then
19372 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19373 See \`config.log' for more details." >&5
19374 echo "$as_me: error: cannot compute sizeof (short)
19375 See \`config.log' for more details." >&2;}
19376 { (exit 77); exit 77; }; }
19378 ac_cv_sizeof_short=0
19382 cat >conftest.$ac_ext <<_ACEOF
19385 cat confdefs.h >>conftest.$ac_ext
19386 cat >>conftest.$ac_ext <<_ACEOF
19387 /* end confdefs.h. */
19388 $ac_includes_default
19389 typedef short ac__type_sizeof_;
19390 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19391 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19393 #include <stdlib.h>
19398 FILE *f = fopen ("conftest.val", "w");
19401 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19403 long int i = longval ();
19404 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19406 fprintf (f, "%ld\n", i);
19410 unsigned long int i = ulongval ();
19411 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19413 fprintf (f, "%lu\n", i);
19415 return ferror (f) || fclose (f) != 0;
19421 rm -f conftest$ac_exeext
19422 if { (ac_try="$ac_link"
19423 case "(($ac_try" in
19424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19425 *) ac_try_echo=$ac_try;;
19427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19428 (eval "$ac_link") 2>&5
19430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19431 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19432 { (case "(($ac_try" in
19433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19434 *) ac_try_echo=$ac_try;;
19436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19437 (eval "$ac_try") 2>&5
19439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440 (exit $ac_status); }; }; then
19441 ac_cv_sizeof_short=`cat conftest.val`
19443 echo "$as_me: program exited with status $ac_status" >&5
19444 echo "$as_me: failed program was:" >&5
19445 sed 's/^/| /' conftest.$ac_ext >&5
19447 ( exit $ac_status )
19448 if test "$ac_cv_type_short" = yes; then
19449 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19450 See \`config.log' for more details." >&5
19451 echo "$as_me: error: cannot compute sizeof (short)
19452 See \`config.log' for more details." >&2;}
19453 { (exit 77); exit 77; }; }
19455 ac_cv_sizeof_short=0
19458 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19462 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19463 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19467 cat >>confdefs.h <<_ACEOF
19468 #define SIZEOF_SHORT $ac_cv_sizeof_short
19472 { echo "$as_me:$LINENO: checking for void *" >&5
19473 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19474 if test "${ac_cv_type_void_p+set}" = set; then
19475 echo $ECHO_N "(cached) $ECHO_C" >&6
19477 cat >conftest.$ac_ext <<_ACEOF
19480 cat confdefs.h >>conftest.$ac_ext
19481 cat >>conftest.$ac_ext <<_ACEOF
19482 /* end confdefs.h. */
19483 $ac_includes_default
19484 typedef void * ac__type_new_;
19488 if ((ac__type_new_ *) 0)
19490 if (sizeof (ac__type_new_))
19496 rm -f conftest.$ac_objext
19497 if { (ac_try="$ac_compile"
19498 case "(($ac_try" in
19499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19500 *) ac_try_echo=$ac_try;;
19502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19503 (eval "$ac_compile") 2>conftest.er1
19505 grep -v '^ *+' conftest.er1 >conftest.err
19507 cat conftest.err >&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); } && {
19510 test -z "$ac_c_werror_flag" ||
19511 test ! -s conftest.err
19512 } && test -s conftest.$ac_objext; then
19513 ac_cv_type_void_p=yes
19515 echo "$as_me: failed program was:" >&5
19516 sed 's/^/| /' conftest.$ac_ext >&5
19518 ac_cv_type_void_p=no
19521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19523 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19524 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19526 # The cast to long int works around a bug in the HP C Compiler
19527 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19528 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19529 # This bug is HP SR number 8606223364.
19530 { echo "$as_me:$LINENO: checking size of void *" >&5
19531 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19532 if test "${ac_cv_sizeof_void_p+set}" = set; then
19533 echo $ECHO_N "(cached) $ECHO_C" >&6
19535 if test "$cross_compiling" = yes; then
19536 # Depending upon the size, compute the lo and hi bounds.
19537 cat >conftest.$ac_ext <<_ACEOF
19540 cat confdefs.h >>conftest.$ac_ext
19541 cat >>conftest.$ac_ext <<_ACEOF
19542 /* end confdefs.h. */
19543 $ac_includes_default
19544 typedef void * ac__type_sizeof_;
19548 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19555 rm -f conftest.$ac_objext
19556 if { (ac_try="$ac_compile"
19557 case "(($ac_try" in
19558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19559 *) ac_try_echo=$ac_try;;
19561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19562 (eval "$ac_compile") 2>conftest.er1
19564 grep -v '^ *+' conftest.er1 >conftest.err
19566 cat conftest.err >&5
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); } && {
19569 test -z "$ac_c_werror_flag" ||
19570 test ! -s conftest.err
19571 } && test -s conftest.$ac_objext; then
19574 cat >conftest.$ac_ext <<_ACEOF
19577 cat confdefs.h >>conftest.$ac_ext
19578 cat >>conftest.$ac_ext <<_ACEOF
19579 /* end confdefs.h. */
19580 $ac_includes_default
19581 typedef void * ac__type_sizeof_;
19585 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19592 rm -f conftest.$ac_objext
19593 if { (ac_try="$ac_compile"
19594 case "(($ac_try" in
19595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19596 *) ac_try_echo=$ac_try;;
19598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19599 (eval "$ac_compile") 2>conftest.er1
19601 grep -v '^ *+' conftest.er1 >conftest.err
19603 cat conftest.err >&5
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); } && {
19606 test -z "$ac_c_werror_flag" ||
19607 test ! -s conftest.err
19608 } && test -s conftest.$ac_objext; then
19609 ac_hi=$ac_mid; break
19611 echo "$as_me: failed program was:" >&5
19612 sed 's/^/| /' conftest.$ac_ext >&5
19614 ac_lo=`expr $ac_mid + 1`
19615 if test $ac_lo -le $ac_mid; then
19619 ac_mid=`expr 2 '*' $ac_mid + 1`
19622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19625 echo "$as_me: failed program was:" >&5
19626 sed 's/^/| /' conftest.$ac_ext >&5
19628 cat >conftest.$ac_ext <<_ACEOF
19631 cat confdefs.h >>conftest.$ac_ext
19632 cat >>conftest.$ac_ext <<_ACEOF
19633 /* end confdefs.h. */
19634 $ac_includes_default
19635 typedef void * ac__type_sizeof_;
19639 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19646 rm -f conftest.$ac_objext
19647 if { (ac_try="$ac_compile"
19648 case "(($ac_try" in
19649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19650 *) ac_try_echo=$ac_try;;
19652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19653 (eval "$ac_compile") 2>conftest.er1
19655 grep -v '^ *+' conftest.er1 >conftest.err
19657 cat conftest.err >&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); } && {
19660 test -z "$ac_c_werror_flag" ||
19661 test ! -s conftest.err
19662 } && test -s conftest.$ac_objext; then
19665 cat >conftest.$ac_ext <<_ACEOF
19668 cat confdefs.h >>conftest.$ac_ext
19669 cat >>conftest.$ac_ext <<_ACEOF
19670 /* end confdefs.h. */
19671 $ac_includes_default
19672 typedef void * ac__type_sizeof_;
19676 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19683 rm -f conftest.$ac_objext
19684 if { (ac_try="$ac_compile"
19685 case "(($ac_try" in
19686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19687 *) ac_try_echo=$ac_try;;
19689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19690 (eval "$ac_compile") 2>conftest.er1
19692 grep -v '^ *+' conftest.er1 >conftest.err
19694 cat conftest.err >&5
19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696 (exit $ac_status); } && {
19697 test -z "$ac_c_werror_flag" ||
19698 test ! -s conftest.err
19699 } && test -s conftest.$ac_objext; then
19700 ac_lo=$ac_mid; break
19702 echo "$as_me: failed program was:" >&5
19703 sed 's/^/| /' conftest.$ac_ext >&5
19705 ac_hi=`expr '(' $ac_mid ')' - 1`
19706 if test $ac_mid -le $ac_hi; then
19710 ac_mid=`expr 2 '*' $ac_mid`
19713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19716 echo "$as_me: failed program was:" >&5
19717 sed 's/^/| /' conftest.$ac_ext >&5
19722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19726 # Binary search between lo and hi bounds.
19727 while test "x$ac_lo" != "x$ac_hi"; do
19728 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19729 cat >conftest.$ac_ext <<_ACEOF
19732 cat confdefs.h >>conftest.$ac_ext
19733 cat >>conftest.$ac_ext <<_ACEOF
19734 /* end confdefs.h. */
19735 $ac_includes_default
19736 typedef void * ac__type_sizeof_;
19740 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19747 rm -f conftest.$ac_objext
19748 if { (ac_try="$ac_compile"
19749 case "(($ac_try" in
19750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19751 *) ac_try_echo=$ac_try;;
19753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19754 (eval "$ac_compile") 2>conftest.er1
19756 grep -v '^ *+' conftest.er1 >conftest.err
19758 cat conftest.err >&5
19759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19760 (exit $ac_status); } && {
19761 test -z "$ac_c_werror_flag" ||
19762 test ! -s conftest.err
19763 } && test -s conftest.$ac_objext; then
19766 echo "$as_me: failed program was:" >&5
19767 sed 's/^/| /' conftest.$ac_ext >&5
19769 ac_lo=`expr '(' $ac_mid ')' + 1`
19772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19775 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19776 '') if test "$ac_cv_type_void_p" = yes; then
19777 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19778 See \`config.log' for more details." >&5
19779 echo "$as_me: error: cannot compute sizeof (void *)
19780 See \`config.log' for more details." >&2;}
19781 { (exit 77); exit 77; }; }
19783 ac_cv_sizeof_void_p=0
19787 cat >conftest.$ac_ext <<_ACEOF
19790 cat confdefs.h >>conftest.$ac_ext
19791 cat >>conftest.$ac_ext <<_ACEOF
19792 /* end confdefs.h. */
19793 $ac_includes_default
19794 typedef void * ac__type_sizeof_;
19795 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19796 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19798 #include <stdlib.h>
19803 FILE *f = fopen ("conftest.val", "w");
19806 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19808 long int i = longval ();
19809 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19811 fprintf (f, "%ld\n", i);
19815 unsigned long int i = ulongval ();
19816 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19818 fprintf (f, "%lu\n", i);
19820 return ferror (f) || fclose (f) != 0;
19826 rm -f conftest$ac_exeext
19827 if { (ac_try="$ac_link"
19828 case "(($ac_try" in
19829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19830 *) ac_try_echo=$ac_try;;
19832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19833 (eval "$ac_link") 2>&5
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19837 { (case "(($ac_try" in
19838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19839 *) ac_try_echo=$ac_try;;
19841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19842 (eval "$ac_try") 2>&5
19844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845 (exit $ac_status); }; }; then
19846 ac_cv_sizeof_void_p=`cat conftest.val`
19848 echo "$as_me: program exited with status $ac_status" >&5
19849 echo "$as_me: failed program was:" >&5
19850 sed 's/^/| /' conftest.$ac_ext >&5
19852 ( exit $ac_status )
19853 if test "$ac_cv_type_void_p" = yes; then
19854 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19855 See \`config.log' for more details." >&5
19856 echo "$as_me: error: cannot compute sizeof (void *)
19857 See \`config.log' for more details." >&2;}
19858 { (exit 77); exit 77; }; }
19860 ac_cv_sizeof_void_p=0
19863 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19867 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19868 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19872 cat >>confdefs.h <<_ACEOF
19873 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19877 { echo "$as_me:$LINENO: checking for int" >&5
19878 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19879 if test "${ac_cv_type_int+set}" = set; then
19880 echo $ECHO_N "(cached) $ECHO_C" >&6
19882 cat >conftest.$ac_ext <<_ACEOF
19885 cat confdefs.h >>conftest.$ac_ext
19886 cat >>conftest.$ac_ext <<_ACEOF
19887 /* end confdefs.h. */
19888 $ac_includes_default
19889 typedef int ac__type_new_;
19893 if ((ac__type_new_ *) 0)
19895 if (sizeof (ac__type_new_))
19901 rm -f conftest.$ac_objext
19902 if { (ac_try="$ac_compile"
19903 case "(($ac_try" in
19904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19905 *) ac_try_echo=$ac_try;;
19907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19908 (eval "$ac_compile") 2>conftest.er1
19910 grep -v '^ *+' conftest.er1 >conftest.err
19912 cat conftest.err >&5
19913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19914 (exit $ac_status); } && {
19915 test -z "$ac_c_werror_flag" ||
19916 test ! -s conftest.err
19917 } && test -s conftest.$ac_objext; then
19920 echo "$as_me: failed program was:" >&5
19921 sed 's/^/| /' conftest.$ac_ext >&5
19926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19928 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19929 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19931 # The cast to long int works around a bug in the HP C Compiler
19932 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19933 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19934 # This bug is HP SR number 8606223364.
19935 { echo "$as_me:$LINENO: checking size of int" >&5
19936 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19937 if test "${ac_cv_sizeof_int+set}" = set; then
19938 echo $ECHO_N "(cached) $ECHO_C" >&6
19940 if test "$cross_compiling" = yes; then
19941 # Depending upon the size, compute the lo and hi bounds.
19942 cat >conftest.$ac_ext <<_ACEOF
19945 cat confdefs.h >>conftest.$ac_ext
19946 cat >>conftest.$ac_ext <<_ACEOF
19947 /* end confdefs.h. */
19948 $ac_includes_default
19949 typedef int ac__type_sizeof_;
19953 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19960 rm -f conftest.$ac_objext
19961 if { (ac_try="$ac_compile"
19962 case "(($ac_try" in
19963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19964 *) ac_try_echo=$ac_try;;
19966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19967 (eval "$ac_compile") 2>conftest.er1
19969 grep -v '^ *+' conftest.er1 >conftest.err
19971 cat conftest.err >&5
19972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19973 (exit $ac_status); } && {
19974 test -z "$ac_c_werror_flag" ||
19975 test ! -s conftest.err
19976 } && test -s conftest.$ac_objext; then
19979 cat >conftest.$ac_ext <<_ACEOF
19982 cat confdefs.h >>conftest.$ac_ext
19983 cat >>conftest.$ac_ext <<_ACEOF
19984 /* end confdefs.h. */
19985 $ac_includes_default
19986 typedef int ac__type_sizeof_;
19990 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19997 rm -f conftest.$ac_objext
19998 if { (ac_try="$ac_compile"
19999 case "(($ac_try" in
20000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20001 *) ac_try_echo=$ac_try;;
20003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20004 (eval "$ac_compile") 2>conftest.er1
20006 grep -v '^ *+' conftest.er1 >conftest.err
20008 cat conftest.err >&5
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); } && {
20011 test -z "$ac_c_werror_flag" ||
20012 test ! -s conftest.err
20013 } && test -s conftest.$ac_objext; then
20014 ac_hi=$ac_mid; break
20016 echo "$as_me: failed program was:" >&5
20017 sed 's/^/| /' conftest.$ac_ext >&5
20019 ac_lo=`expr $ac_mid + 1`
20020 if test $ac_lo -le $ac_mid; then
20024 ac_mid=`expr 2 '*' $ac_mid + 1`
20027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20030 echo "$as_me: failed program was:" >&5
20031 sed 's/^/| /' conftest.$ac_ext >&5
20033 cat >conftest.$ac_ext <<_ACEOF
20036 cat confdefs.h >>conftest.$ac_ext
20037 cat >>conftest.$ac_ext <<_ACEOF
20038 /* end confdefs.h. */
20039 $ac_includes_default
20040 typedef int ac__type_sizeof_;
20044 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20051 rm -f conftest.$ac_objext
20052 if { (ac_try="$ac_compile"
20053 case "(($ac_try" in
20054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20055 *) ac_try_echo=$ac_try;;
20057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20058 (eval "$ac_compile") 2>conftest.er1
20060 grep -v '^ *+' conftest.er1 >conftest.err
20062 cat conftest.err >&5
20063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20064 (exit $ac_status); } && {
20065 test -z "$ac_c_werror_flag" ||
20066 test ! -s conftest.err
20067 } && test -s conftest.$ac_objext; then
20070 cat >conftest.$ac_ext <<_ACEOF
20073 cat confdefs.h >>conftest.$ac_ext
20074 cat >>conftest.$ac_ext <<_ACEOF
20075 /* end confdefs.h. */
20076 $ac_includes_default
20077 typedef int ac__type_sizeof_;
20081 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20088 rm -f conftest.$ac_objext
20089 if { (ac_try="$ac_compile"
20090 case "(($ac_try" in
20091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20092 *) ac_try_echo=$ac_try;;
20094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20095 (eval "$ac_compile") 2>conftest.er1
20097 grep -v '^ *+' conftest.er1 >conftest.err
20099 cat conftest.err >&5
20100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20101 (exit $ac_status); } && {
20102 test -z "$ac_c_werror_flag" ||
20103 test ! -s conftest.err
20104 } && test -s conftest.$ac_objext; then
20105 ac_lo=$ac_mid; break
20107 echo "$as_me: failed program was:" >&5
20108 sed 's/^/| /' conftest.$ac_ext >&5
20110 ac_hi=`expr '(' $ac_mid ')' - 1`
20111 if test $ac_mid -le $ac_hi; then
20115 ac_mid=`expr 2 '*' $ac_mid`
20118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20121 echo "$as_me: failed program was:" >&5
20122 sed 's/^/| /' conftest.$ac_ext >&5
20127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20131 # Binary search between lo and hi bounds.
20132 while test "x$ac_lo" != "x$ac_hi"; do
20133 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20134 cat >conftest.$ac_ext <<_ACEOF
20137 cat confdefs.h >>conftest.$ac_ext
20138 cat >>conftest.$ac_ext <<_ACEOF
20139 /* end confdefs.h. */
20140 $ac_includes_default
20141 typedef int ac__type_sizeof_;
20145 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20152 rm -f conftest.$ac_objext
20153 if { (ac_try="$ac_compile"
20154 case "(($ac_try" in
20155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20156 *) ac_try_echo=$ac_try;;
20158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20159 (eval "$ac_compile") 2>conftest.er1
20161 grep -v '^ *+' conftest.er1 >conftest.err
20163 cat conftest.err >&5
20164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20165 (exit $ac_status); } && {
20166 test -z "$ac_c_werror_flag" ||
20167 test ! -s conftest.err
20168 } && test -s conftest.$ac_objext; then
20171 echo "$as_me: failed program was:" >&5
20172 sed 's/^/| /' conftest.$ac_ext >&5
20174 ac_lo=`expr '(' $ac_mid ')' + 1`
20177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20180 ?*) ac_cv_sizeof_int=$ac_lo;;
20181 '') if test "$ac_cv_type_int" = yes; then
20182 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20183 See \`config.log' for more details." >&5
20184 echo "$as_me: error: cannot compute sizeof (int)
20185 See \`config.log' for more details." >&2;}
20186 { (exit 77); exit 77; }; }
20192 cat >conftest.$ac_ext <<_ACEOF
20195 cat confdefs.h >>conftest.$ac_ext
20196 cat >>conftest.$ac_ext <<_ACEOF
20197 /* end confdefs.h. */
20198 $ac_includes_default
20199 typedef int ac__type_sizeof_;
20200 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20201 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20203 #include <stdlib.h>
20208 FILE *f = fopen ("conftest.val", "w");
20211 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20213 long int i = longval ();
20214 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20216 fprintf (f, "%ld\n", i);
20220 unsigned long int i = ulongval ();
20221 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20223 fprintf (f, "%lu\n", i);
20225 return ferror (f) || fclose (f) != 0;
20231 rm -f conftest$ac_exeext
20232 if { (ac_try="$ac_link"
20233 case "(($ac_try" in
20234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20235 *) ac_try_echo=$ac_try;;
20237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20238 (eval "$ac_link") 2>&5
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20242 { (case "(($ac_try" in
20243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20244 *) ac_try_echo=$ac_try;;
20246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20247 (eval "$ac_try") 2>&5
20249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20250 (exit $ac_status); }; }; then
20251 ac_cv_sizeof_int=`cat conftest.val`
20253 echo "$as_me: program exited with status $ac_status" >&5
20254 echo "$as_me: failed program was:" >&5
20255 sed 's/^/| /' conftest.$ac_ext >&5
20257 ( exit $ac_status )
20258 if test "$ac_cv_type_int" = yes; then
20259 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20260 See \`config.log' for more details." >&5
20261 echo "$as_me: error: cannot compute sizeof (int)
20262 See \`config.log' for more details." >&2;}
20263 { (exit 77); exit 77; }; }
20268 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20272 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20273 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20277 cat >>confdefs.h <<_ACEOF
20278 #define SIZEOF_INT $ac_cv_sizeof_int
20282 { echo "$as_me:$LINENO: checking for long" >&5
20283 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20284 if test "${ac_cv_type_long+set}" = set; then
20285 echo $ECHO_N "(cached) $ECHO_C" >&6
20287 cat >conftest.$ac_ext <<_ACEOF
20290 cat confdefs.h >>conftest.$ac_ext
20291 cat >>conftest.$ac_ext <<_ACEOF
20292 /* end confdefs.h. */
20293 $ac_includes_default
20294 typedef long ac__type_new_;
20298 if ((ac__type_new_ *) 0)
20300 if (sizeof (ac__type_new_))
20306 rm -f conftest.$ac_objext
20307 if { (ac_try="$ac_compile"
20308 case "(($ac_try" in
20309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20310 *) ac_try_echo=$ac_try;;
20312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20313 (eval "$ac_compile") 2>conftest.er1
20315 grep -v '^ *+' conftest.er1 >conftest.err
20317 cat conftest.err >&5
20318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20319 (exit $ac_status); } && {
20320 test -z "$ac_c_werror_flag" ||
20321 test ! -s conftest.err
20322 } && test -s conftest.$ac_objext; then
20323 ac_cv_type_long=yes
20325 echo "$as_me: failed program was:" >&5
20326 sed 's/^/| /' conftest.$ac_ext >&5
20331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20333 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20334 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20336 # The cast to long int works around a bug in the HP C Compiler
20337 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20338 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20339 # This bug is HP SR number 8606223364.
20340 { echo "$as_me:$LINENO: checking size of long" >&5
20341 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20342 if test "${ac_cv_sizeof_long+set}" = set; then
20343 echo $ECHO_N "(cached) $ECHO_C" >&6
20345 if test "$cross_compiling" = yes; then
20346 # Depending upon the size, compute the lo and hi bounds.
20347 cat >conftest.$ac_ext <<_ACEOF
20350 cat confdefs.h >>conftest.$ac_ext
20351 cat >>conftest.$ac_ext <<_ACEOF
20352 /* end confdefs.h. */
20353 $ac_includes_default
20354 typedef long ac__type_sizeof_;
20358 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20365 rm -f conftest.$ac_objext
20366 if { (ac_try="$ac_compile"
20367 case "(($ac_try" in
20368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20369 *) ac_try_echo=$ac_try;;
20371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20372 (eval "$ac_compile") 2>conftest.er1
20374 grep -v '^ *+' conftest.er1 >conftest.err
20376 cat conftest.err >&5
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); } && {
20379 test -z "$ac_c_werror_flag" ||
20380 test ! -s conftest.err
20381 } && test -s conftest.$ac_objext; then
20384 cat >conftest.$ac_ext <<_ACEOF
20387 cat confdefs.h >>conftest.$ac_ext
20388 cat >>conftest.$ac_ext <<_ACEOF
20389 /* end confdefs.h. */
20390 $ac_includes_default
20391 typedef long ac__type_sizeof_;
20395 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20402 rm -f conftest.$ac_objext
20403 if { (ac_try="$ac_compile"
20404 case "(($ac_try" in
20405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20406 *) ac_try_echo=$ac_try;;
20408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20409 (eval "$ac_compile") 2>conftest.er1
20411 grep -v '^ *+' conftest.er1 >conftest.err
20413 cat conftest.err >&5
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); } && {
20416 test -z "$ac_c_werror_flag" ||
20417 test ! -s conftest.err
20418 } && test -s conftest.$ac_objext; then
20419 ac_hi=$ac_mid; break
20421 echo "$as_me: failed program was:" >&5
20422 sed 's/^/| /' conftest.$ac_ext >&5
20424 ac_lo=`expr $ac_mid + 1`
20425 if test $ac_lo -le $ac_mid; then
20429 ac_mid=`expr 2 '*' $ac_mid + 1`
20432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20435 echo "$as_me: failed program was:" >&5
20436 sed 's/^/| /' conftest.$ac_ext >&5
20438 cat >conftest.$ac_ext <<_ACEOF
20441 cat confdefs.h >>conftest.$ac_ext
20442 cat >>conftest.$ac_ext <<_ACEOF
20443 /* end confdefs.h. */
20444 $ac_includes_default
20445 typedef long ac__type_sizeof_;
20449 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20456 rm -f conftest.$ac_objext
20457 if { (ac_try="$ac_compile"
20458 case "(($ac_try" in
20459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20460 *) ac_try_echo=$ac_try;;
20462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20463 (eval "$ac_compile") 2>conftest.er1
20465 grep -v '^ *+' conftest.er1 >conftest.err
20467 cat conftest.err >&5
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); } && {
20470 test -z "$ac_c_werror_flag" ||
20471 test ! -s conftest.err
20472 } && test -s conftest.$ac_objext; then
20475 cat >conftest.$ac_ext <<_ACEOF
20478 cat confdefs.h >>conftest.$ac_ext
20479 cat >>conftest.$ac_ext <<_ACEOF
20480 /* end confdefs.h. */
20481 $ac_includes_default
20482 typedef long ac__type_sizeof_;
20486 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20493 rm -f conftest.$ac_objext
20494 if { (ac_try="$ac_compile"
20495 case "(($ac_try" in
20496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20497 *) ac_try_echo=$ac_try;;
20499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20500 (eval "$ac_compile") 2>conftest.er1
20502 grep -v '^ *+' conftest.er1 >conftest.err
20504 cat conftest.err >&5
20505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20506 (exit $ac_status); } && {
20507 test -z "$ac_c_werror_flag" ||
20508 test ! -s conftest.err
20509 } && test -s conftest.$ac_objext; then
20510 ac_lo=$ac_mid; break
20512 echo "$as_me: failed program was:" >&5
20513 sed 's/^/| /' conftest.$ac_ext >&5
20515 ac_hi=`expr '(' $ac_mid ')' - 1`
20516 if test $ac_mid -le $ac_hi; then
20520 ac_mid=`expr 2 '*' $ac_mid`
20523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20526 echo "$as_me: failed program was:" >&5
20527 sed 's/^/| /' conftest.$ac_ext >&5
20532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20536 # Binary search between lo and hi bounds.
20537 while test "x$ac_lo" != "x$ac_hi"; do
20538 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20539 cat >conftest.$ac_ext <<_ACEOF
20542 cat confdefs.h >>conftest.$ac_ext
20543 cat >>conftest.$ac_ext <<_ACEOF
20544 /* end confdefs.h. */
20545 $ac_includes_default
20546 typedef long ac__type_sizeof_;
20550 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20557 rm -f conftest.$ac_objext
20558 if { (ac_try="$ac_compile"
20559 case "(($ac_try" in
20560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20561 *) ac_try_echo=$ac_try;;
20563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20564 (eval "$ac_compile") 2>conftest.er1
20566 grep -v '^ *+' conftest.er1 >conftest.err
20568 cat conftest.err >&5
20569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20570 (exit $ac_status); } && {
20571 test -z "$ac_c_werror_flag" ||
20572 test ! -s conftest.err
20573 } && test -s conftest.$ac_objext; then
20576 echo "$as_me: failed program was:" >&5
20577 sed 's/^/| /' conftest.$ac_ext >&5
20579 ac_lo=`expr '(' $ac_mid ')' + 1`
20582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20585 ?*) ac_cv_sizeof_long=$ac_lo;;
20586 '') if test "$ac_cv_type_long" = yes; then
20587 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20588 See \`config.log' for more details." >&5
20589 echo "$as_me: error: cannot compute sizeof (long)
20590 See \`config.log' for more details." >&2;}
20591 { (exit 77); exit 77; }; }
20593 ac_cv_sizeof_long=0
20597 cat >conftest.$ac_ext <<_ACEOF
20600 cat confdefs.h >>conftest.$ac_ext
20601 cat >>conftest.$ac_ext <<_ACEOF
20602 /* end confdefs.h. */
20603 $ac_includes_default
20604 typedef long ac__type_sizeof_;
20605 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20606 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20608 #include <stdlib.h>
20613 FILE *f = fopen ("conftest.val", "w");
20616 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20618 long int i = longval ();
20619 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20621 fprintf (f, "%ld\n", i);
20625 unsigned long int i = ulongval ();
20626 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20628 fprintf (f, "%lu\n", i);
20630 return ferror (f) || fclose (f) != 0;
20636 rm -f conftest$ac_exeext
20637 if { (ac_try="$ac_link"
20638 case "(($ac_try" in
20639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20640 *) ac_try_echo=$ac_try;;
20642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20643 (eval "$ac_link") 2>&5
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20647 { (case "(($ac_try" in
20648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20649 *) ac_try_echo=$ac_try;;
20651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20652 (eval "$ac_try") 2>&5
20654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20655 (exit $ac_status); }; }; then
20656 ac_cv_sizeof_long=`cat conftest.val`
20658 echo "$as_me: program exited with status $ac_status" >&5
20659 echo "$as_me: failed program was:" >&5
20660 sed 's/^/| /' conftest.$ac_ext >&5
20662 ( exit $ac_status )
20663 if test "$ac_cv_type_long" = yes; then
20664 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20665 See \`config.log' for more details." >&5
20666 echo "$as_me: error: cannot compute sizeof (long)
20667 See \`config.log' for more details." >&2;}
20668 { (exit 77); exit 77; }; }
20670 ac_cv_sizeof_long=0
20673 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20677 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20678 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20682 cat >>confdefs.h <<_ACEOF
20683 #define SIZEOF_LONG $ac_cv_sizeof_long
20687 { echo "$as_me:$LINENO: checking for size_t" >&5
20688 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20689 if test "${ac_cv_type_size_t+set}" = set; then
20690 echo $ECHO_N "(cached) $ECHO_C" >&6
20692 cat >conftest.$ac_ext <<_ACEOF
20695 cat confdefs.h >>conftest.$ac_ext
20696 cat >>conftest.$ac_ext <<_ACEOF
20697 /* end confdefs.h. */
20698 $ac_includes_default
20699 typedef size_t ac__type_new_;
20703 if ((ac__type_new_ *) 0)
20705 if (sizeof (ac__type_new_))
20711 rm -f conftest.$ac_objext
20712 if { (ac_try="$ac_compile"
20713 case "(($ac_try" in
20714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20715 *) ac_try_echo=$ac_try;;
20717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20718 (eval "$ac_compile") 2>conftest.er1
20720 grep -v '^ *+' conftest.er1 >conftest.err
20722 cat conftest.err >&5
20723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20724 (exit $ac_status); } && {
20725 test -z "$ac_c_werror_flag" ||
20726 test ! -s conftest.err
20727 } && test -s conftest.$ac_objext; then
20728 ac_cv_type_size_t=yes
20730 echo "$as_me: failed program was:" >&5
20731 sed 's/^/| /' conftest.$ac_ext >&5
20733 ac_cv_type_size_t=no
20736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20738 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20739 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20741 # The cast to long int works around a bug in the HP C Compiler
20742 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20743 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20744 # This bug is HP SR number 8606223364.
20745 { echo "$as_me:$LINENO: checking size of size_t" >&5
20746 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20747 if test "${ac_cv_sizeof_size_t+set}" = set; then
20748 echo $ECHO_N "(cached) $ECHO_C" >&6
20750 if test "$cross_compiling" = yes; then
20751 # Depending upon the size, compute the lo and hi bounds.
20752 cat >conftest.$ac_ext <<_ACEOF
20755 cat confdefs.h >>conftest.$ac_ext
20756 cat >>conftest.$ac_ext <<_ACEOF
20757 /* end confdefs.h. */
20758 $ac_includes_default
20759 typedef size_t ac__type_sizeof_;
20763 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20770 rm -f conftest.$ac_objext
20771 if { (ac_try="$ac_compile"
20772 case "(($ac_try" in
20773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20774 *) ac_try_echo=$ac_try;;
20776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20777 (eval "$ac_compile") 2>conftest.er1
20779 grep -v '^ *+' conftest.er1 >conftest.err
20781 cat conftest.err >&5
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); } && {
20784 test -z "$ac_c_werror_flag" ||
20785 test ! -s conftest.err
20786 } && test -s conftest.$ac_objext; then
20789 cat >conftest.$ac_ext <<_ACEOF
20792 cat confdefs.h >>conftest.$ac_ext
20793 cat >>conftest.$ac_ext <<_ACEOF
20794 /* end confdefs.h. */
20795 $ac_includes_default
20796 typedef size_t ac__type_sizeof_;
20800 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20807 rm -f conftest.$ac_objext
20808 if { (ac_try="$ac_compile"
20809 case "(($ac_try" in
20810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20811 *) ac_try_echo=$ac_try;;
20813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20814 (eval "$ac_compile") 2>conftest.er1
20816 grep -v '^ *+' conftest.er1 >conftest.err
20818 cat conftest.err >&5
20819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20820 (exit $ac_status); } && {
20821 test -z "$ac_c_werror_flag" ||
20822 test ! -s conftest.err
20823 } && test -s conftest.$ac_objext; then
20824 ac_hi=$ac_mid; break
20826 echo "$as_me: failed program was:" >&5
20827 sed 's/^/| /' conftest.$ac_ext >&5
20829 ac_lo=`expr $ac_mid + 1`
20830 if test $ac_lo -le $ac_mid; then
20834 ac_mid=`expr 2 '*' $ac_mid + 1`
20837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20840 echo "$as_me: failed program was:" >&5
20841 sed 's/^/| /' conftest.$ac_ext >&5
20843 cat >conftest.$ac_ext <<_ACEOF
20846 cat confdefs.h >>conftest.$ac_ext
20847 cat >>conftest.$ac_ext <<_ACEOF
20848 /* end confdefs.h. */
20849 $ac_includes_default
20850 typedef size_t ac__type_sizeof_;
20854 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20861 rm -f conftest.$ac_objext
20862 if { (ac_try="$ac_compile"
20863 case "(($ac_try" in
20864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20865 *) ac_try_echo=$ac_try;;
20867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20868 (eval "$ac_compile") 2>conftest.er1
20870 grep -v '^ *+' conftest.er1 >conftest.err
20872 cat conftest.err >&5
20873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20874 (exit $ac_status); } && {
20875 test -z "$ac_c_werror_flag" ||
20876 test ! -s conftest.err
20877 } && test -s conftest.$ac_objext; then
20880 cat >conftest.$ac_ext <<_ACEOF
20883 cat confdefs.h >>conftest.$ac_ext
20884 cat >>conftest.$ac_ext <<_ACEOF
20885 /* end confdefs.h. */
20886 $ac_includes_default
20887 typedef size_t ac__type_sizeof_;
20891 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20898 rm -f conftest.$ac_objext
20899 if { (ac_try="$ac_compile"
20900 case "(($ac_try" in
20901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20902 *) ac_try_echo=$ac_try;;
20904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20905 (eval "$ac_compile") 2>conftest.er1
20907 grep -v '^ *+' conftest.er1 >conftest.err
20909 cat conftest.err >&5
20910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20911 (exit $ac_status); } && {
20912 test -z "$ac_c_werror_flag" ||
20913 test ! -s conftest.err
20914 } && test -s conftest.$ac_objext; then
20915 ac_lo=$ac_mid; break
20917 echo "$as_me: failed program was:" >&5
20918 sed 's/^/| /' conftest.$ac_ext >&5
20920 ac_hi=`expr '(' $ac_mid ')' - 1`
20921 if test $ac_mid -le $ac_hi; then
20925 ac_mid=`expr 2 '*' $ac_mid`
20928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20931 echo "$as_me: failed program was:" >&5
20932 sed 's/^/| /' conftest.$ac_ext >&5
20937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20941 # Binary search between lo and hi bounds.
20942 while test "x$ac_lo" != "x$ac_hi"; do
20943 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20944 cat >conftest.$ac_ext <<_ACEOF
20947 cat confdefs.h >>conftest.$ac_ext
20948 cat >>conftest.$ac_ext <<_ACEOF
20949 /* end confdefs.h. */
20950 $ac_includes_default
20951 typedef size_t ac__type_sizeof_;
20955 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20962 rm -f conftest.$ac_objext
20963 if { (ac_try="$ac_compile"
20964 case "(($ac_try" in
20965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20966 *) ac_try_echo=$ac_try;;
20968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20969 (eval "$ac_compile") 2>conftest.er1
20971 grep -v '^ *+' conftest.er1 >conftest.err
20973 cat conftest.err >&5
20974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20975 (exit $ac_status); } && {
20976 test -z "$ac_c_werror_flag" ||
20977 test ! -s conftest.err
20978 } && test -s conftest.$ac_objext; then
20981 echo "$as_me: failed program was:" >&5
20982 sed 's/^/| /' conftest.$ac_ext >&5
20984 ac_lo=`expr '(' $ac_mid ')' + 1`
20987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20990 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20991 '') if test "$ac_cv_type_size_t" = yes; then
20992 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20993 See \`config.log' for more details." >&5
20994 echo "$as_me: error: cannot compute sizeof (size_t)
20995 See \`config.log' for more details." >&2;}
20996 { (exit 77); exit 77; }; }
20998 ac_cv_sizeof_size_t=0
21002 cat >conftest.$ac_ext <<_ACEOF
21005 cat confdefs.h >>conftest.$ac_ext
21006 cat >>conftest.$ac_ext <<_ACEOF
21007 /* end confdefs.h. */
21008 $ac_includes_default
21009 typedef size_t ac__type_sizeof_;
21010 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21011 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21013 #include <stdlib.h>
21018 FILE *f = fopen ("conftest.val", "w");
21021 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21023 long int i = longval ();
21024 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21026 fprintf (f, "%ld\n", i);
21030 unsigned long int i = ulongval ();
21031 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21033 fprintf (f, "%lu\n", i);
21035 return ferror (f) || fclose (f) != 0;
21041 rm -f conftest$ac_exeext
21042 if { (ac_try="$ac_link"
21043 case "(($ac_try" in
21044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21045 *) ac_try_echo=$ac_try;;
21047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21048 (eval "$ac_link") 2>&5
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21052 { (case "(($ac_try" in
21053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21054 *) ac_try_echo=$ac_try;;
21056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21057 (eval "$ac_try") 2>&5
21059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21060 (exit $ac_status); }; }; then
21061 ac_cv_sizeof_size_t=`cat conftest.val`
21063 echo "$as_me: program exited with status $ac_status" >&5
21064 echo "$as_me: failed program was:" >&5
21065 sed 's/^/| /' conftest.$ac_ext >&5
21067 ( exit $ac_status )
21068 if test "$ac_cv_type_size_t" = yes; then
21069 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21070 See \`config.log' for more details." >&5
21071 echo "$as_me: error: cannot compute sizeof (size_t)
21072 See \`config.log' for more details." >&2;}
21073 { (exit 77); exit 77; }; }
21075 ac_cv_sizeof_size_t=0
21078 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21082 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21083 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21087 cat >>confdefs.h <<_ACEOF
21088 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21095 { echo "$as_me:$LINENO: checking for long long" >&5
21096 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21097 if test "${ac_cv_type_long_long+set}" = set; then
21098 echo $ECHO_N "(cached) $ECHO_C" >&6
21100 cat >conftest.$ac_ext <<_ACEOF
21103 cat confdefs.h >>conftest.$ac_ext
21104 cat >>conftest.$ac_ext <<_ACEOF
21105 /* end confdefs.h. */
21106 $ac_includes_default
21107 typedef long long ac__type_new_;
21111 if ((ac__type_new_ *) 0)
21113 if (sizeof (ac__type_new_))
21119 rm -f conftest.$ac_objext
21120 if { (ac_try="$ac_compile"
21121 case "(($ac_try" in
21122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21123 *) ac_try_echo=$ac_try;;
21125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21126 (eval "$ac_compile") 2>conftest.er1
21128 grep -v '^ *+' conftest.er1 >conftest.err
21130 cat conftest.err >&5
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); } && {
21133 test -z "$ac_c_werror_flag" ||
21134 test ! -s conftest.err
21135 } && test -s conftest.$ac_objext; then
21136 ac_cv_type_long_long=yes
21138 echo "$as_me: failed program was:" >&5
21139 sed 's/^/| /' conftest.$ac_ext >&5
21141 ac_cv_type_long_long=no
21144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21146 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21147 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21149 # The cast to long int works around a bug in the HP C Compiler
21150 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21151 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21152 # This bug is HP SR number 8606223364.
21153 { echo "$as_me:$LINENO: checking size of long long" >&5
21154 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21155 if test "${ac_cv_sizeof_long_long+set}" = set; then
21156 echo $ECHO_N "(cached) $ECHO_C" >&6
21158 if test "$cross_compiling" = yes; then
21159 # Depending upon the size, compute the lo and hi bounds.
21160 cat >conftest.$ac_ext <<_ACEOF
21163 cat confdefs.h >>conftest.$ac_ext
21164 cat >>conftest.$ac_ext <<_ACEOF
21165 /* end confdefs.h. */
21166 $ac_includes_default
21167 typedef long long ac__type_sizeof_;
21171 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21178 rm -f conftest.$ac_objext
21179 if { (ac_try="$ac_compile"
21180 case "(($ac_try" in
21181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21182 *) ac_try_echo=$ac_try;;
21184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21185 (eval "$ac_compile") 2>conftest.er1
21187 grep -v '^ *+' conftest.er1 >conftest.err
21189 cat conftest.err >&5
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); } && {
21192 test -z "$ac_c_werror_flag" ||
21193 test ! -s conftest.err
21194 } && test -s conftest.$ac_objext; then
21197 cat >conftest.$ac_ext <<_ACEOF
21200 cat confdefs.h >>conftest.$ac_ext
21201 cat >>conftest.$ac_ext <<_ACEOF
21202 /* end confdefs.h. */
21203 $ac_includes_default
21204 typedef long long ac__type_sizeof_;
21208 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21215 rm -f conftest.$ac_objext
21216 if { (ac_try="$ac_compile"
21217 case "(($ac_try" in
21218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21219 *) ac_try_echo=$ac_try;;
21221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21222 (eval "$ac_compile") 2>conftest.er1
21224 grep -v '^ *+' conftest.er1 >conftest.err
21226 cat conftest.err >&5
21227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228 (exit $ac_status); } && {
21229 test -z "$ac_c_werror_flag" ||
21230 test ! -s conftest.err
21231 } && test -s conftest.$ac_objext; then
21232 ac_hi=$ac_mid; break
21234 echo "$as_me: failed program was:" >&5
21235 sed 's/^/| /' conftest.$ac_ext >&5
21237 ac_lo=`expr $ac_mid + 1`
21238 if test $ac_lo -le $ac_mid; then
21242 ac_mid=`expr 2 '*' $ac_mid + 1`
21245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21248 echo "$as_me: failed program was:" >&5
21249 sed 's/^/| /' conftest.$ac_ext >&5
21251 cat >conftest.$ac_ext <<_ACEOF
21254 cat confdefs.h >>conftest.$ac_ext
21255 cat >>conftest.$ac_ext <<_ACEOF
21256 /* end confdefs.h. */
21257 $ac_includes_default
21258 typedef long long ac__type_sizeof_;
21262 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21269 rm -f conftest.$ac_objext
21270 if { (ac_try="$ac_compile"
21271 case "(($ac_try" in
21272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21273 *) ac_try_echo=$ac_try;;
21275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21276 (eval "$ac_compile") 2>conftest.er1
21278 grep -v '^ *+' conftest.er1 >conftest.err
21280 cat conftest.err >&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); } && {
21283 test -z "$ac_c_werror_flag" ||
21284 test ! -s conftest.err
21285 } && test -s conftest.$ac_objext; then
21288 cat >conftest.$ac_ext <<_ACEOF
21291 cat confdefs.h >>conftest.$ac_ext
21292 cat >>conftest.$ac_ext <<_ACEOF
21293 /* end confdefs.h. */
21294 $ac_includes_default
21295 typedef long long ac__type_sizeof_;
21299 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21306 rm -f conftest.$ac_objext
21307 if { (ac_try="$ac_compile"
21308 case "(($ac_try" in
21309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21310 *) ac_try_echo=$ac_try;;
21312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21313 (eval "$ac_compile") 2>conftest.er1
21315 grep -v '^ *+' conftest.er1 >conftest.err
21317 cat conftest.err >&5
21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319 (exit $ac_status); } && {
21320 test -z "$ac_c_werror_flag" ||
21321 test ! -s conftest.err
21322 } && test -s conftest.$ac_objext; then
21323 ac_lo=$ac_mid; break
21325 echo "$as_me: failed program was:" >&5
21326 sed 's/^/| /' conftest.$ac_ext >&5
21328 ac_hi=`expr '(' $ac_mid ')' - 1`
21329 if test $ac_mid -le $ac_hi; then
21333 ac_mid=`expr 2 '*' $ac_mid`
21336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21339 echo "$as_me: failed program was:" >&5
21340 sed 's/^/| /' conftest.$ac_ext >&5
21345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21349 # Binary search between lo and hi bounds.
21350 while test "x$ac_lo" != "x$ac_hi"; do
21351 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21352 cat >conftest.$ac_ext <<_ACEOF
21355 cat confdefs.h >>conftest.$ac_ext
21356 cat >>conftest.$ac_ext <<_ACEOF
21357 /* end confdefs.h. */
21358 $ac_includes_default
21359 typedef long long ac__type_sizeof_;
21363 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21370 rm -f conftest.$ac_objext
21371 if { (ac_try="$ac_compile"
21372 case "(($ac_try" in
21373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21374 *) ac_try_echo=$ac_try;;
21376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21377 (eval "$ac_compile") 2>conftest.er1
21379 grep -v '^ *+' conftest.er1 >conftest.err
21381 cat conftest.err >&5
21382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21383 (exit $ac_status); } && {
21384 test -z "$ac_c_werror_flag" ||
21385 test ! -s conftest.err
21386 } && test -s conftest.$ac_objext; then
21389 echo "$as_me: failed program was:" >&5
21390 sed 's/^/| /' conftest.$ac_ext >&5
21392 ac_lo=`expr '(' $ac_mid ')' + 1`
21395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21398 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21399 '') if test "$ac_cv_type_long_long" = yes; then
21400 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21401 See \`config.log' for more details." >&5
21402 echo "$as_me: error: cannot compute sizeof (long long)
21403 See \`config.log' for more details." >&2;}
21404 { (exit 77); exit 77; }; }
21406 ac_cv_sizeof_long_long=0
21410 cat >conftest.$ac_ext <<_ACEOF
21413 cat confdefs.h >>conftest.$ac_ext
21414 cat >>conftest.$ac_ext <<_ACEOF
21415 /* end confdefs.h. */
21416 $ac_includes_default
21417 typedef long long ac__type_sizeof_;
21418 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21419 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21421 #include <stdlib.h>
21426 FILE *f = fopen ("conftest.val", "w");
21429 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21431 long int i = longval ();
21432 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21434 fprintf (f, "%ld\n", i);
21438 unsigned long int i = ulongval ();
21439 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21441 fprintf (f, "%lu\n", i);
21443 return ferror (f) || fclose (f) != 0;
21449 rm -f conftest$ac_exeext
21450 if { (ac_try="$ac_link"
21451 case "(($ac_try" in
21452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21453 *) ac_try_echo=$ac_try;;
21455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21456 (eval "$ac_link") 2>&5
21458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21459 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21460 { (case "(($ac_try" in
21461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21462 *) ac_try_echo=$ac_try;;
21464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21465 (eval "$ac_try") 2>&5
21467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468 (exit $ac_status); }; }; then
21469 ac_cv_sizeof_long_long=`cat conftest.val`
21471 echo "$as_me: program exited with status $ac_status" >&5
21472 echo "$as_me: failed program was:" >&5
21473 sed 's/^/| /' conftest.$ac_ext >&5
21475 ( exit $ac_status )
21476 if test "$ac_cv_type_long_long" = yes; then
21477 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21478 See \`config.log' for more details." >&5
21479 echo "$as_me: error: cannot compute sizeof (long long)
21480 See \`config.log' for more details." >&2;}
21481 { (exit 77); exit 77; }; }
21483 ac_cv_sizeof_long_long=0
21486 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21490 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21491 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21495 cat >>confdefs.h <<_ACEOF
21496 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21502 { echo "$as_me:$LINENO: checking for long long" >&5
21503 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21504 if test "${ac_cv_type_long_long+set}" = set; then
21505 echo $ECHO_N "(cached) $ECHO_C" >&6
21507 cat >conftest.$ac_ext <<_ACEOF
21510 cat confdefs.h >>conftest.$ac_ext
21511 cat >>conftest.$ac_ext <<_ACEOF
21512 /* end confdefs.h. */
21513 $ac_includes_default
21514 typedef long long ac__type_new_;
21518 if ((ac__type_new_ *) 0)
21520 if (sizeof (ac__type_new_))
21526 rm -f conftest.$ac_objext
21527 if { (ac_try="$ac_compile"
21528 case "(($ac_try" in
21529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21530 *) ac_try_echo=$ac_try;;
21532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21533 (eval "$ac_compile") 2>conftest.er1
21535 grep -v '^ *+' conftest.er1 >conftest.err
21537 cat conftest.err >&5
21538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21539 (exit $ac_status); } && {
21540 test -z "$ac_c_werror_flag" ||
21541 test ! -s conftest.err
21542 } && test -s conftest.$ac_objext; then
21543 ac_cv_type_long_long=yes
21545 echo "$as_me: failed program was:" >&5
21546 sed 's/^/| /' conftest.$ac_ext >&5
21548 ac_cv_type_long_long=no
21551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21553 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21554 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21556 # The cast to long int works around a bug in the HP C Compiler
21557 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21558 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21559 # This bug is HP SR number 8606223364.
21560 { echo "$as_me:$LINENO: checking size of long long" >&5
21561 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21562 if test "${ac_cv_sizeof_long_long+set}" = set; then
21563 echo $ECHO_N "(cached) $ECHO_C" >&6
21565 if test "$cross_compiling" = yes; then
21566 # Depending upon the size, compute the lo and hi bounds.
21567 cat >conftest.$ac_ext <<_ACEOF
21570 cat confdefs.h >>conftest.$ac_ext
21571 cat >>conftest.$ac_ext <<_ACEOF
21572 /* end confdefs.h. */
21573 $ac_includes_default
21574 typedef long long ac__type_sizeof_;
21578 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21585 rm -f conftest.$ac_objext
21586 if { (ac_try="$ac_compile"
21587 case "(($ac_try" in
21588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21589 *) ac_try_echo=$ac_try;;
21591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21592 (eval "$ac_compile") 2>conftest.er1
21594 grep -v '^ *+' conftest.er1 >conftest.err
21596 cat conftest.err >&5
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); } && {
21599 test -z "$ac_c_werror_flag" ||
21600 test ! -s conftest.err
21601 } && test -s conftest.$ac_objext; then
21604 cat >conftest.$ac_ext <<_ACEOF
21607 cat confdefs.h >>conftest.$ac_ext
21608 cat >>conftest.$ac_ext <<_ACEOF
21609 /* end confdefs.h. */
21610 $ac_includes_default
21611 typedef long long ac__type_sizeof_;
21615 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21622 rm -f conftest.$ac_objext
21623 if { (ac_try="$ac_compile"
21624 case "(($ac_try" in
21625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21626 *) ac_try_echo=$ac_try;;
21628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21629 (eval "$ac_compile") 2>conftest.er1
21631 grep -v '^ *+' conftest.er1 >conftest.err
21633 cat conftest.err >&5
21634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635 (exit $ac_status); } && {
21636 test -z "$ac_c_werror_flag" ||
21637 test ! -s conftest.err
21638 } && test -s conftest.$ac_objext; then
21639 ac_hi=$ac_mid; break
21641 echo "$as_me: failed program was:" >&5
21642 sed 's/^/| /' conftest.$ac_ext >&5
21644 ac_lo=`expr $ac_mid + 1`
21645 if test $ac_lo -le $ac_mid; then
21649 ac_mid=`expr 2 '*' $ac_mid + 1`
21652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21655 echo "$as_me: failed program was:" >&5
21656 sed 's/^/| /' conftest.$ac_ext >&5
21658 cat >conftest.$ac_ext <<_ACEOF
21661 cat confdefs.h >>conftest.$ac_ext
21662 cat >>conftest.$ac_ext <<_ACEOF
21663 /* end confdefs.h. */
21664 $ac_includes_default
21665 typedef long long ac__type_sizeof_;
21669 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21676 rm -f conftest.$ac_objext
21677 if { (ac_try="$ac_compile"
21678 case "(($ac_try" in
21679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21680 *) ac_try_echo=$ac_try;;
21682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21683 (eval "$ac_compile") 2>conftest.er1
21685 grep -v '^ *+' conftest.er1 >conftest.err
21687 cat conftest.err >&5
21688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21689 (exit $ac_status); } && {
21690 test -z "$ac_c_werror_flag" ||
21691 test ! -s conftest.err
21692 } && test -s conftest.$ac_objext; then
21695 cat >conftest.$ac_ext <<_ACEOF
21698 cat confdefs.h >>conftest.$ac_ext
21699 cat >>conftest.$ac_ext <<_ACEOF
21700 /* end confdefs.h. */
21701 $ac_includes_default
21702 typedef long long ac__type_sizeof_;
21706 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21713 rm -f conftest.$ac_objext
21714 if { (ac_try="$ac_compile"
21715 case "(($ac_try" in
21716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21717 *) ac_try_echo=$ac_try;;
21719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21720 (eval "$ac_compile") 2>conftest.er1
21722 grep -v '^ *+' conftest.er1 >conftest.err
21724 cat conftest.err >&5
21725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21726 (exit $ac_status); } && {
21727 test -z "$ac_c_werror_flag" ||
21728 test ! -s conftest.err
21729 } && test -s conftest.$ac_objext; then
21730 ac_lo=$ac_mid; break
21732 echo "$as_me: failed program was:" >&5
21733 sed 's/^/| /' conftest.$ac_ext >&5
21735 ac_hi=`expr '(' $ac_mid ')' - 1`
21736 if test $ac_mid -le $ac_hi; then
21740 ac_mid=`expr 2 '*' $ac_mid`
21743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21746 echo "$as_me: failed program was:" >&5
21747 sed 's/^/| /' conftest.$ac_ext >&5
21752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21756 # Binary search between lo and hi bounds.
21757 while test "x$ac_lo" != "x$ac_hi"; do
21758 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21759 cat >conftest.$ac_ext <<_ACEOF
21762 cat confdefs.h >>conftest.$ac_ext
21763 cat >>conftest.$ac_ext <<_ACEOF
21764 /* end confdefs.h. */
21765 $ac_includes_default
21766 typedef long long ac__type_sizeof_;
21770 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21777 rm -f conftest.$ac_objext
21778 if { (ac_try="$ac_compile"
21779 case "(($ac_try" in
21780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21781 *) ac_try_echo=$ac_try;;
21783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21784 (eval "$ac_compile") 2>conftest.er1
21786 grep -v '^ *+' conftest.er1 >conftest.err
21788 cat conftest.err >&5
21789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21790 (exit $ac_status); } && {
21791 test -z "$ac_c_werror_flag" ||
21792 test ! -s conftest.err
21793 } && test -s conftest.$ac_objext; then
21796 echo "$as_me: failed program was:" >&5
21797 sed 's/^/| /' conftest.$ac_ext >&5
21799 ac_lo=`expr '(' $ac_mid ')' + 1`
21802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21805 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21806 '') if test "$ac_cv_type_long_long" = yes; then
21807 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21808 See \`config.log' for more details." >&5
21809 echo "$as_me: error: cannot compute sizeof (long long)
21810 See \`config.log' for more details." >&2;}
21811 { (exit 77); exit 77; }; }
21813 ac_cv_sizeof_long_long=0
21817 cat >conftest.$ac_ext <<_ACEOF
21820 cat confdefs.h >>conftest.$ac_ext
21821 cat >>conftest.$ac_ext <<_ACEOF
21822 /* end confdefs.h. */
21823 $ac_includes_default
21824 typedef long long ac__type_sizeof_;
21825 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21826 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21828 #include <stdlib.h>
21833 FILE *f = fopen ("conftest.val", "w");
21836 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21838 long int i = longval ();
21839 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21841 fprintf (f, "%ld\n", i);
21845 unsigned long int i = ulongval ();
21846 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21848 fprintf (f, "%lu\n", i);
21850 return ferror (f) || fclose (f) != 0;
21856 rm -f conftest$ac_exeext
21857 if { (ac_try="$ac_link"
21858 case "(($ac_try" in
21859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21860 *) ac_try_echo=$ac_try;;
21862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21863 (eval "$ac_link") 2>&5
21865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21866 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21867 { (case "(($ac_try" in
21868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21869 *) ac_try_echo=$ac_try;;
21871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21872 (eval "$ac_try") 2>&5
21874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21875 (exit $ac_status); }; }; then
21876 ac_cv_sizeof_long_long=`cat conftest.val`
21878 echo "$as_me: program exited with status $ac_status" >&5
21879 echo "$as_me: failed program was:" >&5
21880 sed 's/^/| /' conftest.$ac_ext >&5
21882 ( exit $ac_status )
21883 if test "$ac_cv_type_long_long" = yes; then
21884 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21885 See \`config.log' for more details." >&5
21886 echo "$as_me: error: cannot compute sizeof (long long)
21887 See \`config.log' for more details." >&2;}
21888 { (exit 77); exit 77; }; }
21890 ac_cv_sizeof_long_long=0
21893 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21897 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21898 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21902 cat >>confdefs.h <<_ACEOF
21903 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21907 if test "$ac_cv_sizeof_long_long" != 0; then
21908 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21912 { echo "$as_me:$LINENO: checking for long long" >&5
21913 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21914 if test "${ac_cv_type_long_long+set}" = set; then
21915 echo $ECHO_N "(cached) $ECHO_C" >&6
21917 cat >conftest.$ac_ext <<_ACEOF
21920 cat confdefs.h >>conftest.$ac_ext
21921 cat >>conftest.$ac_ext <<_ACEOF
21922 /* end confdefs.h. */
21923 $ac_includes_default
21924 typedef long long ac__type_new_;
21928 if ((ac__type_new_ *) 0)
21930 if (sizeof (ac__type_new_))
21936 rm -f conftest.$ac_objext
21937 if { (ac_try="$ac_compile"
21938 case "(($ac_try" in
21939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21940 *) ac_try_echo=$ac_try;;
21942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21943 (eval "$ac_compile") 2>conftest.er1
21945 grep -v '^ *+' conftest.er1 >conftest.err
21947 cat conftest.err >&5
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); } && {
21950 test -z "$ac_c_werror_flag" ||
21951 test ! -s conftest.err
21952 } && test -s conftest.$ac_objext; then
21953 ac_cv_type_long_long=yes
21955 echo "$as_me: failed program was:" >&5
21956 sed 's/^/| /' conftest.$ac_ext >&5
21958 ac_cv_type_long_long=no
21961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21963 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21964 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21966 # The cast to long int works around a bug in the HP C Compiler
21967 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21968 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21969 # This bug is HP SR number 8606223364.
21970 { echo "$as_me:$LINENO: checking size of long long" >&5
21971 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21972 if test "${ac_cv_sizeof_long_long+set}" = set; then
21973 echo $ECHO_N "(cached) $ECHO_C" >&6
21975 if test "$cross_compiling" = yes; then
21976 # Depending upon the size, compute the lo and hi bounds.
21977 cat >conftest.$ac_ext <<_ACEOF
21980 cat confdefs.h >>conftest.$ac_ext
21981 cat >>conftest.$ac_ext <<_ACEOF
21982 /* end confdefs.h. */
21983 $ac_includes_default
21984 typedef long long ac__type_sizeof_;
21988 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21995 rm -f conftest.$ac_objext
21996 if { (ac_try="$ac_compile"
21997 case "(($ac_try" in
21998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21999 *) ac_try_echo=$ac_try;;
22001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22002 (eval "$ac_compile") 2>conftest.er1
22004 grep -v '^ *+' conftest.er1 >conftest.err
22006 cat conftest.err >&5
22007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22008 (exit $ac_status); } && {
22009 test -z "$ac_c_werror_flag" ||
22010 test ! -s conftest.err
22011 } && test -s conftest.$ac_objext; then
22014 cat >conftest.$ac_ext <<_ACEOF
22017 cat confdefs.h >>conftest.$ac_ext
22018 cat >>conftest.$ac_ext <<_ACEOF
22019 /* end confdefs.h. */
22020 $ac_includes_default
22021 typedef long long ac__type_sizeof_;
22025 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22032 rm -f conftest.$ac_objext
22033 if { (ac_try="$ac_compile"
22034 case "(($ac_try" in
22035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22036 *) ac_try_echo=$ac_try;;
22038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22039 (eval "$ac_compile") 2>conftest.er1
22041 grep -v '^ *+' conftest.er1 >conftest.err
22043 cat conftest.err >&5
22044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22045 (exit $ac_status); } && {
22046 test -z "$ac_c_werror_flag" ||
22047 test ! -s conftest.err
22048 } && test -s conftest.$ac_objext; then
22049 ac_hi=$ac_mid; break
22051 echo "$as_me: failed program was:" >&5
22052 sed 's/^/| /' conftest.$ac_ext >&5
22054 ac_lo=`expr $ac_mid + 1`
22055 if test $ac_lo -le $ac_mid; then
22059 ac_mid=`expr 2 '*' $ac_mid + 1`
22062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22065 echo "$as_me: failed program was:" >&5
22066 sed 's/^/| /' conftest.$ac_ext >&5
22068 cat >conftest.$ac_ext <<_ACEOF
22071 cat confdefs.h >>conftest.$ac_ext
22072 cat >>conftest.$ac_ext <<_ACEOF
22073 /* end confdefs.h. */
22074 $ac_includes_default
22075 typedef long long ac__type_sizeof_;
22079 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22086 rm -f conftest.$ac_objext
22087 if { (ac_try="$ac_compile"
22088 case "(($ac_try" in
22089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22090 *) ac_try_echo=$ac_try;;
22092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22093 (eval "$ac_compile") 2>conftest.er1
22095 grep -v '^ *+' conftest.er1 >conftest.err
22097 cat conftest.err >&5
22098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22099 (exit $ac_status); } && {
22100 test -z "$ac_c_werror_flag" ||
22101 test ! -s conftest.err
22102 } && test -s conftest.$ac_objext; then
22105 cat >conftest.$ac_ext <<_ACEOF
22108 cat confdefs.h >>conftest.$ac_ext
22109 cat >>conftest.$ac_ext <<_ACEOF
22110 /* end confdefs.h. */
22111 $ac_includes_default
22112 typedef long long ac__type_sizeof_;
22116 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22123 rm -f conftest.$ac_objext
22124 if { (ac_try="$ac_compile"
22125 case "(($ac_try" in
22126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22127 *) ac_try_echo=$ac_try;;
22129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22130 (eval "$ac_compile") 2>conftest.er1
22132 grep -v '^ *+' conftest.er1 >conftest.err
22134 cat conftest.err >&5
22135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136 (exit $ac_status); } && {
22137 test -z "$ac_c_werror_flag" ||
22138 test ! -s conftest.err
22139 } && test -s conftest.$ac_objext; then
22140 ac_lo=$ac_mid; break
22142 echo "$as_me: failed program was:" >&5
22143 sed 's/^/| /' conftest.$ac_ext >&5
22145 ac_hi=`expr '(' $ac_mid ')' - 1`
22146 if test $ac_mid -le $ac_hi; then
22150 ac_mid=`expr 2 '*' $ac_mid`
22153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22156 echo "$as_me: failed program was:" >&5
22157 sed 's/^/| /' conftest.$ac_ext >&5
22162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22166 # Binary search between lo and hi bounds.
22167 while test "x$ac_lo" != "x$ac_hi"; do
22168 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22169 cat >conftest.$ac_ext <<_ACEOF
22172 cat confdefs.h >>conftest.$ac_ext
22173 cat >>conftest.$ac_ext <<_ACEOF
22174 /* end confdefs.h. */
22175 $ac_includes_default
22176 typedef long long ac__type_sizeof_;
22180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22187 rm -f conftest.$ac_objext
22188 if { (ac_try="$ac_compile"
22189 case "(($ac_try" in
22190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22191 *) ac_try_echo=$ac_try;;
22193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22194 (eval "$ac_compile") 2>conftest.er1
22196 grep -v '^ *+' conftest.er1 >conftest.err
22198 cat conftest.err >&5
22199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22200 (exit $ac_status); } && {
22201 test -z "$ac_c_werror_flag" ||
22202 test ! -s conftest.err
22203 } && test -s conftest.$ac_objext; then
22206 echo "$as_me: failed program was:" >&5
22207 sed 's/^/| /' conftest.$ac_ext >&5
22209 ac_lo=`expr '(' $ac_mid ')' + 1`
22212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22215 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22216 '') if test "$ac_cv_type_long_long" = yes; then
22217 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22218 See \`config.log' for more details." >&5
22219 echo "$as_me: error: cannot compute sizeof (long long)
22220 See \`config.log' for more details." >&2;}
22221 { (exit 77); exit 77; }; }
22223 ac_cv_sizeof_long_long=0
22227 cat >conftest.$ac_ext <<_ACEOF
22230 cat confdefs.h >>conftest.$ac_ext
22231 cat >>conftest.$ac_ext <<_ACEOF
22232 /* end confdefs.h. */
22233 $ac_includes_default
22234 typedef long long ac__type_sizeof_;
22235 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22236 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22238 #include <stdlib.h>
22243 FILE *f = fopen ("conftest.val", "w");
22246 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22248 long int i = longval ();
22249 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22251 fprintf (f, "%ld\n", i);
22255 unsigned long int i = ulongval ();
22256 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22258 fprintf (f, "%lu\n", i);
22260 return ferror (f) || fclose (f) != 0;
22266 rm -f conftest$ac_exeext
22267 if { (ac_try="$ac_link"
22268 case "(($ac_try" in
22269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22270 *) ac_try_echo=$ac_try;;
22272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22273 (eval "$ac_link") 2>&5
22275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22276 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22277 { (case "(($ac_try" in
22278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22279 *) ac_try_echo=$ac_try;;
22281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22282 (eval "$ac_try") 2>&5
22284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22285 (exit $ac_status); }; }; then
22286 ac_cv_sizeof_long_long=`cat conftest.val`
22288 echo "$as_me: program exited with status $ac_status" >&5
22289 echo "$as_me: failed program was:" >&5
22290 sed 's/^/| /' conftest.$ac_ext >&5
22292 ( exit $ac_status )
22293 if test "$ac_cv_type_long_long" = yes; then
22294 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22295 See \`config.log' for more details." >&5
22296 echo "$as_me: error: cannot compute sizeof (long long)
22297 See \`config.log' for more details." >&2;}
22298 { (exit 77); exit 77; }; }
22300 ac_cv_sizeof_long_long=0
22303 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22307 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22308 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22312 cat >>confdefs.h <<_ACEOF
22313 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22319 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22320 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22321 if test "${ac_cv_type_wchar_t+set}" = set; then
22322 echo $ECHO_N "(cached) $ECHO_C" >&6
22324 cat >conftest.$ac_ext <<_ACEOF
22327 cat confdefs.h >>conftest.$ac_ext
22328 cat >>conftest.$ac_ext <<_ACEOF
22329 /* end confdefs.h. */
22331 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22332 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22333 # error "fake wchar_t"
22335 #ifdef HAVE_WCHAR_H
22337 # include <stddef.h>
22339 # include <wchar.h>
22341 #ifdef HAVE_STDLIB_H
22342 # include <stdlib.h>
22348 typedef wchar_t ac__type_new_;
22352 if ((ac__type_new_ *) 0)
22354 if (sizeof (ac__type_new_))
22360 rm -f conftest.$ac_objext
22361 if { (ac_try="$ac_compile"
22362 case "(($ac_try" in
22363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22364 *) ac_try_echo=$ac_try;;
22366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22367 (eval "$ac_compile") 2>conftest.er1
22369 grep -v '^ *+' conftest.er1 >conftest.err
22371 cat conftest.err >&5
22372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22373 (exit $ac_status); } && {
22374 test -z "$ac_c_werror_flag" ||
22375 test ! -s conftest.err
22376 } && test -s conftest.$ac_objext; then
22377 ac_cv_type_wchar_t=yes
22379 echo "$as_me: failed program was:" >&5
22380 sed 's/^/| /' conftest.$ac_ext >&5
22382 ac_cv_type_wchar_t=no
22385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22387 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22388 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22390 # The cast to long int works around a bug in the HP C Compiler
22391 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22392 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22393 # This bug is HP SR number 8606223364.
22394 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22395 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22396 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22397 echo $ECHO_N "(cached) $ECHO_C" >&6
22399 if test "$cross_compiling" = yes; then
22400 # Depending upon the size, compute the lo and hi bounds.
22401 cat >conftest.$ac_ext <<_ACEOF
22404 cat confdefs.h >>conftest.$ac_ext
22405 cat >>conftest.$ac_ext <<_ACEOF
22406 /* end confdefs.h. */
22408 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22409 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22410 # error "fake wchar_t"
22412 #ifdef HAVE_WCHAR_H
22414 # include <stddef.h>
22416 # include <wchar.h>
22418 #ifdef HAVE_STDLIB_H
22419 # include <stdlib.h>
22425 typedef wchar_t ac__type_sizeof_;
22429 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22436 rm -f conftest.$ac_objext
22437 if { (ac_try="$ac_compile"
22438 case "(($ac_try" in
22439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22440 *) ac_try_echo=$ac_try;;
22442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22443 (eval "$ac_compile") 2>conftest.er1
22445 grep -v '^ *+' conftest.er1 >conftest.err
22447 cat conftest.err >&5
22448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22449 (exit $ac_status); } && {
22450 test -z "$ac_c_werror_flag" ||
22451 test ! -s conftest.err
22452 } && test -s conftest.$ac_objext; then
22455 cat >conftest.$ac_ext <<_ACEOF
22458 cat confdefs.h >>conftest.$ac_ext
22459 cat >>conftest.$ac_ext <<_ACEOF
22460 /* end confdefs.h. */
22462 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22463 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22464 # error "fake wchar_t"
22466 #ifdef HAVE_WCHAR_H
22468 # include <stddef.h>
22470 # include <wchar.h>
22472 #ifdef HAVE_STDLIB_H
22473 # include <stdlib.h>
22479 typedef wchar_t ac__type_sizeof_;
22483 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22490 rm -f conftest.$ac_objext
22491 if { (ac_try="$ac_compile"
22492 case "(($ac_try" in
22493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22494 *) ac_try_echo=$ac_try;;
22496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22497 (eval "$ac_compile") 2>conftest.er1
22499 grep -v '^ *+' conftest.er1 >conftest.err
22501 cat conftest.err >&5
22502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22503 (exit $ac_status); } && {
22504 test -z "$ac_c_werror_flag" ||
22505 test ! -s conftest.err
22506 } && test -s conftest.$ac_objext; then
22507 ac_hi=$ac_mid; break
22509 echo "$as_me: failed program was:" >&5
22510 sed 's/^/| /' conftest.$ac_ext >&5
22512 ac_lo=`expr $ac_mid + 1`
22513 if test $ac_lo -le $ac_mid; then
22517 ac_mid=`expr 2 '*' $ac_mid + 1`
22520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22523 echo "$as_me: failed program was:" >&5
22524 sed 's/^/| /' conftest.$ac_ext >&5
22526 cat >conftest.$ac_ext <<_ACEOF
22529 cat confdefs.h >>conftest.$ac_ext
22530 cat >>conftest.$ac_ext <<_ACEOF
22531 /* end confdefs.h. */
22533 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22534 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22535 # error "fake wchar_t"
22537 #ifdef HAVE_WCHAR_H
22539 # include <stddef.h>
22541 # include <wchar.h>
22543 #ifdef HAVE_STDLIB_H
22544 # include <stdlib.h>
22550 typedef wchar_t ac__type_sizeof_;
22554 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22561 rm -f conftest.$ac_objext
22562 if { (ac_try="$ac_compile"
22563 case "(($ac_try" in
22564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22565 *) ac_try_echo=$ac_try;;
22567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22568 (eval "$ac_compile") 2>conftest.er1
22570 grep -v '^ *+' conftest.er1 >conftest.err
22572 cat conftest.err >&5
22573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22574 (exit $ac_status); } && {
22575 test -z "$ac_c_werror_flag" ||
22576 test ! -s conftest.err
22577 } && test -s conftest.$ac_objext; then
22580 cat >conftest.$ac_ext <<_ACEOF
22583 cat confdefs.h >>conftest.$ac_ext
22584 cat >>conftest.$ac_ext <<_ACEOF
22585 /* end confdefs.h. */
22587 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22588 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22589 # error "fake wchar_t"
22591 #ifdef HAVE_WCHAR_H
22593 # include <stddef.h>
22595 # include <wchar.h>
22597 #ifdef HAVE_STDLIB_H
22598 # include <stdlib.h>
22604 typedef wchar_t ac__type_sizeof_;
22608 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22615 rm -f conftest.$ac_objext
22616 if { (ac_try="$ac_compile"
22617 case "(($ac_try" in
22618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22619 *) ac_try_echo=$ac_try;;
22621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22622 (eval "$ac_compile") 2>conftest.er1
22624 grep -v '^ *+' conftest.er1 >conftest.err
22626 cat conftest.err >&5
22627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22628 (exit $ac_status); } && {
22629 test -z "$ac_c_werror_flag" ||
22630 test ! -s conftest.err
22631 } && test -s conftest.$ac_objext; then
22632 ac_lo=$ac_mid; break
22634 echo "$as_me: failed program was:" >&5
22635 sed 's/^/| /' conftest.$ac_ext >&5
22637 ac_hi=`expr '(' $ac_mid ')' - 1`
22638 if test $ac_mid -le $ac_hi; then
22642 ac_mid=`expr 2 '*' $ac_mid`
22645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22648 echo "$as_me: failed program was:" >&5
22649 sed 's/^/| /' conftest.$ac_ext >&5
22654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22658 # Binary search between lo and hi bounds.
22659 while test "x$ac_lo" != "x$ac_hi"; do
22660 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22661 cat >conftest.$ac_ext <<_ACEOF
22664 cat confdefs.h >>conftest.$ac_ext
22665 cat >>conftest.$ac_ext <<_ACEOF
22666 /* end confdefs.h. */
22668 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22669 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22670 # error "fake wchar_t"
22672 #ifdef HAVE_WCHAR_H
22674 # include <stddef.h>
22676 # include <wchar.h>
22678 #ifdef HAVE_STDLIB_H
22679 # include <stdlib.h>
22685 typedef wchar_t ac__type_sizeof_;
22689 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22696 rm -f conftest.$ac_objext
22697 if { (ac_try="$ac_compile"
22698 case "(($ac_try" in
22699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22700 *) ac_try_echo=$ac_try;;
22702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22703 (eval "$ac_compile") 2>conftest.er1
22705 grep -v '^ *+' conftest.er1 >conftest.err
22707 cat conftest.err >&5
22708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22709 (exit $ac_status); } && {
22710 test -z "$ac_c_werror_flag" ||
22711 test ! -s conftest.err
22712 } && test -s conftest.$ac_objext; then
22715 echo "$as_me: failed program was:" >&5
22716 sed 's/^/| /' conftest.$ac_ext >&5
22718 ac_lo=`expr '(' $ac_mid ')' + 1`
22721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22724 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22725 '') if test "$ac_cv_type_wchar_t" = yes; then
22726 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22727 See \`config.log' for more details." >&5
22728 echo "$as_me: error: cannot compute sizeof (wchar_t)
22729 See \`config.log' for more details." >&2;}
22730 { (exit 77); exit 77; }; }
22732 ac_cv_sizeof_wchar_t=0
22736 cat >conftest.$ac_ext <<_ACEOF
22739 cat confdefs.h >>conftest.$ac_ext
22740 cat >>conftest.$ac_ext <<_ACEOF
22741 /* end confdefs.h. */
22743 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22744 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22745 # error "fake wchar_t"
22747 #ifdef HAVE_WCHAR_H
22749 # include <stddef.h>
22751 # include <wchar.h>
22753 #ifdef HAVE_STDLIB_H
22754 # include <stdlib.h>
22760 typedef wchar_t ac__type_sizeof_;
22761 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22762 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22764 #include <stdlib.h>
22769 FILE *f = fopen ("conftest.val", "w");
22772 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22774 long int i = longval ();
22775 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22777 fprintf (f, "%ld\n", i);
22781 unsigned long int i = ulongval ();
22782 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22784 fprintf (f, "%lu\n", i);
22786 return ferror (f) || fclose (f) != 0;
22792 rm -f conftest$ac_exeext
22793 if { (ac_try="$ac_link"
22794 case "(($ac_try" in
22795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22796 *) ac_try_echo=$ac_try;;
22798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22799 (eval "$ac_link") 2>&5
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22803 { (case "(($ac_try" in
22804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22805 *) ac_try_echo=$ac_try;;
22807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22808 (eval "$ac_try") 2>&5
22810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22811 (exit $ac_status); }; }; then
22812 ac_cv_sizeof_wchar_t=`cat conftest.val`
22814 echo "$as_me: program exited with status $ac_status" >&5
22815 echo "$as_me: failed program was:" >&5
22816 sed 's/^/| /' conftest.$ac_ext >&5
22818 ( exit $ac_status )
22819 if test "$ac_cv_type_wchar_t" = yes; then
22820 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22821 See \`config.log' for more details." >&5
22822 echo "$as_me: error: cannot compute sizeof (wchar_t)
22823 See \`config.log' for more details." >&2;}
22824 { (exit 77); exit 77; }; }
22826 ac_cv_sizeof_wchar_t=0
22829 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22833 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22834 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22838 cat >>confdefs.h <<_ACEOF
22839 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22843 if test "$ac_cv_sizeof_wchar_t" != 0; then
22849 { echo "$as_me:$LINENO: checking for va_copy" >&5
22850 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22851 if test "${wx_cv_func_va_copy+set}" = set; then
22852 echo $ECHO_N "(cached) $ECHO_C" >&6
22856 ac_cpp='$CXXCPP $CPPFLAGS'
22857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22861 cat >conftest.$ac_ext <<_ACEOF
22863 #include <stdarg.h>
22864 void foo(char *f, ...)
22878 rm -f conftest.$ac_objext conftest$ac_exeext
22879 if { (ac_try="$ac_link"
22880 case "(($ac_try" in
22881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22882 *) ac_try_echo=$ac_try;;
22884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22885 (eval "$ac_link") 2>conftest.er1
22887 grep -v '^ *+' conftest.er1 >conftest.err
22889 cat conftest.err >&5
22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891 (exit $ac_status); } && {
22892 test -z "$ac_cxx_werror_flag" ||
22893 test ! -s conftest.err
22894 } && test -s conftest$ac_exeext &&
22895 $as_test_x conftest$ac_exeext; then
22896 wx_cv_func_va_copy=yes
22898 echo "$as_me: failed program was:" >&5
22899 sed 's/^/| /' conftest.$ac_ext >&5
22901 wx_cv_func_va_copy=no
22905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22906 conftest$ac_exeext conftest.$ac_ext
22908 ac_cpp='$CPP $CPPFLAGS'
22909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22916 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22917 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22919 if test $wx_cv_func_va_copy = "yes"; then
22920 cat >>confdefs.h <<\_ACEOF
22921 #define HAVE_VA_COPY 1
22925 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22926 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22927 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22928 echo $ECHO_N "(cached) $ECHO_C" >&6
22931 if test "$cross_compiling" = yes; then
22932 wx_cv_type_va_list_lvalue=yes
22935 cat >conftest.$ac_ext <<_ACEOF
22937 #include <stdarg.h>
22938 int foo(char *f, ...)
22943 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22951 return foo("hi", 17);
22954 rm -f conftest$ac_exeext
22955 if { (ac_try="$ac_link"
22956 case "(($ac_try" in
22957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22958 *) ac_try_echo=$ac_try;;
22960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22961 (eval "$ac_link") 2>&5
22963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22964 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22965 { (case "(($ac_try" in
22966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22967 *) ac_try_echo=$ac_try;;
22969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22970 (eval "$ac_try") 2>&5
22972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22973 (exit $ac_status); }; }; then
22974 wx_cv_type_va_list_lvalue=yes
22976 echo "$as_me: program exited with status $ac_status" >&5
22977 echo "$as_me: failed program was:" >&5
22978 sed 's/^/| /' conftest.$ac_ext >&5
22980 ( exit $ac_status )
22981 wx_cv_type_va_list_lvalue=no
22983 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22990 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22991 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22993 if test $wx_cv_type_va_list_lvalue != "yes"; then
22994 cat >>confdefs.h <<\_ACEOF
22995 #define VA_LIST_IS_ARRAY 1
23001 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23003 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23004 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23005 if test "${wx_cv_have_variadic_macros+set}" = set; then
23006 echo $ECHO_N "(cached) $ECHO_C" >&6
23010 ac_cpp='$CXXCPP $CPPFLAGS'
23011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23015 cat >conftest.$ac_ext <<_ACEOF
23018 cat confdefs.h >>conftest.$ac_ext
23019 cat >>conftest.$ac_ext <<_ACEOF
23020 /* end confdefs.h. */
23023 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23029 test("%s %d %p", "test", 1, 0);
23036 rm -f conftest.$ac_objext
23037 if { (ac_try="$ac_compile"
23038 case "(($ac_try" in
23039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23040 *) ac_try_echo=$ac_try;;
23042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23043 (eval "$ac_compile") 2>conftest.er1
23045 grep -v '^ *+' conftest.er1 >conftest.err
23047 cat conftest.err >&5
23048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23049 (exit $ac_status); } && {
23050 test -z "$ac_cxx_werror_flag" ||
23051 test ! -s conftest.err
23052 } && test -s conftest.$ac_objext; then
23053 wx_cv_have_variadic_macros=yes
23055 echo "$as_me: failed program was:" >&5
23056 sed 's/^/| /' conftest.$ac_ext >&5
23058 wx_cv_have_variadic_macros=no
23062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23064 ac_cpp='$CPP $CPPFLAGS'
23065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23072 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23073 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23075 if test $wx_cv_have_variadic_macros = "yes"; then
23076 cat >>confdefs.h <<\_ACEOF
23077 #define HAVE_VARIADIC_MACROS 1
23083 # Check whether --enable-largefile was given.
23084 if test "${enable_largefile+set}" = set; then
23085 enableval=$enable_largefile;
23088 if test "$enable_largefile" != no; then
23091 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23092 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23093 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23094 echo $ECHO_N "(cached) $ECHO_C" >&6
23097 cat >conftest.$ac_ext <<_ACEOF
23100 cat confdefs.h >>conftest.$ac_ext
23101 cat >>conftest.$ac_ext <<_ACEOF
23102 /* end confdefs.h. */
23103 #define _FILE_OFFSET_BITS 64
23104 #include <sys/types.h>
23109 unsigned int field: sizeof(off_t) == 8;
23116 rm -f conftest.$ac_objext
23117 if { (ac_try="$ac_compile"
23118 case "(($ac_try" in
23119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23120 *) ac_try_echo=$ac_try;;
23122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23123 (eval "$ac_compile") 2>conftest.er1
23125 grep -v '^ *+' conftest.er1 >conftest.err
23127 cat conftest.err >&5
23128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23129 (exit $ac_status); } && {
23130 test -z "$ac_c_werror_flag" ||
23131 test ! -s conftest.err
23132 } && test -s conftest.$ac_objext; then
23133 ac_cv_sys_file_offset_bits=64
23135 echo "$as_me: failed program was:" >&5
23136 sed 's/^/| /' conftest.$ac_ext >&5
23138 ac_cv_sys_file_offset_bits=no
23141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23145 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23146 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23148 if test "$ac_cv_sys_file_offset_bits" != no; then
23150 cat >>confdefs.h <<_ACEOF
23151 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23156 if test "x$wx_largefile" != "xyes"; then
23158 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23159 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23160 if test "${ac_cv_sys_large_files+set}" = set; then
23161 echo $ECHO_N "(cached) $ECHO_C" >&6
23164 cat >conftest.$ac_ext <<_ACEOF
23167 cat confdefs.h >>conftest.$ac_ext
23168 cat >>conftest.$ac_ext <<_ACEOF
23169 /* end confdefs.h. */
23170 #define _LARGE_FILES 1
23171 #include <sys/types.h>
23176 unsigned int field: sizeof(off_t) == 8;
23183 rm -f conftest.$ac_objext
23184 if { (ac_try="$ac_compile"
23185 case "(($ac_try" in
23186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23187 *) ac_try_echo=$ac_try;;
23189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23190 (eval "$ac_compile") 2>conftest.er1
23192 grep -v '^ *+' conftest.er1 >conftest.err
23194 cat conftest.err >&5
23195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23196 (exit $ac_status); } && {
23197 test -z "$ac_c_werror_flag" ||
23198 test ! -s conftest.err
23199 } && test -s conftest.$ac_objext; then
23200 ac_cv_sys_large_files=1
23202 echo "$as_me: failed program was:" >&5
23203 sed 's/^/| /' conftest.$ac_ext >&5
23205 ac_cv_sys_large_files=no
23208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23212 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23213 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23215 if test "$ac_cv_sys_large_files" != no; then
23217 cat >>confdefs.h <<_ACEOF
23218 #define _LARGE_FILES $ac_cv_sys_large_files
23225 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23226 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23227 if test "x$wx_largefile" = "xyes"; then
23228 cat >>confdefs.h <<\_ACEOF
23229 #define HAVE_LARGEFILE_SUPPORT 1
23233 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23234 echo "${ECHO_T}$wx_largefile" >&6; }
23238 if test "x$wx_largefile" = "xyes"; then
23239 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23240 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23242 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23243 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23244 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23245 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23246 echo $ECHO_N "(cached) $ECHO_C" >&6
23250 ac_cpp='$CXXCPP $CPPFLAGS'
23251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23255 cat >conftest.$ac_ext <<_ACEOF
23258 cat confdefs.h >>conftest.$ac_ext
23259 cat >>conftest.$ac_ext <<_ACEOF
23260 /* end confdefs.h. */
23266 #ifndef __STDC_EXT__
23274 rm -f conftest.$ac_objext
23275 if { (ac_try="$ac_compile"
23276 case "(($ac_try" in
23277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23278 *) ac_try_echo=$ac_try;;
23280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23281 (eval "$ac_compile") 2>conftest.er1
23283 grep -v '^ *+' conftest.er1 >conftest.err
23285 cat conftest.err >&5
23286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23287 (exit $ac_status); } && {
23288 test -z "$ac_cxx_werror_flag" ||
23289 test ! -s conftest.err
23290 } && test -s conftest.$ac_objext; then
23291 wx_cv_STDC_EXT_required=no
23293 echo "$as_me: failed program was:" >&5
23294 sed 's/^/| /' conftest.$ac_ext >&5
23296 wx_cv_STDC_EXT_required=yes
23300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23302 ac_cpp='$CPP $CPPFLAGS'
23303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23310 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23311 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23312 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23313 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23317 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23319 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23320 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23321 if test "${ac_cv_sys_largefile_source+set}" = set; then
23322 echo $ECHO_N "(cached) $ECHO_C" >&6
23325 cat >conftest.$ac_ext <<_ACEOF
23328 cat confdefs.h >>conftest.$ac_ext
23329 cat >>conftest.$ac_ext <<_ACEOF
23330 /* end confdefs.h. */
23331 #include <sys/types.h> /* for off_t */
23336 int (*fp) (FILE *, off_t, int) = fseeko;
23337 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23342 rm -f conftest.$ac_objext conftest$ac_exeext
23343 if { (ac_try="$ac_link"
23344 case "(($ac_try" in
23345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23346 *) ac_try_echo=$ac_try;;
23348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23349 (eval "$ac_link") 2>conftest.er1
23351 grep -v '^ *+' conftest.er1 >conftest.err
23353 cat conftest.err >&5
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); } && {
23356 test -z "$ac_c_werror_flag" ||
23357 test ! -s conftest.err
23358 } && test -s conftest$ac_exeext &&
23359 $as_test_x conftest$ac_exeext; then
23360 ac_cv_sys_largefile_source=no; break
23362 echo "$as_me: failed program was:" >&5
23363 sed 's/^/| /' conftest.$ac_ext >&5
23368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23369 conftest$ac_exeext conftest.$ac_ext
23370 cat >conftest.$ac_ext <<_ACEOF
23373 cat confdefs.h >>conftest.$ac_ext
23374 cat >>conftest.$ac_ext <<_ACEOF
23375 /* end confdefs.h. */
23376 #define _LARGEFILE_SOURCE 1
23377 #include <sys/types.h> /* for off_t */
23382 int (*fp) (FILE *, off_t, int) = fseeko;
23383 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23388 rm -f conftest.$ac_objext conftest$ac_exeext
23389 if { (ac_try="$ac_link"
23390 case "(($ac_try" in
23391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23392 *) ac_try_echo=$ac_try;;
23394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23395 (eval "$ac_link") 2>conftest.er1
23397 grep -v '^ *+' conftest.er1 >conftest.err
23399 cat conftest.err >&5
23400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23401 (exit $ac_status); } && {
23402 test -z "$ac_c_werror_flag" ||
23403 test ! -s conftest.err
23404 } && test -s conftest$ac_exeext &&
23405 $as_test_x conftest$ac_exeext; then
23406 ac_cv_sys_largefile_source=1; break
23408 echo "$as_me: failed program was:" >&5
23409 sed 's/^/| /' conftest.$ac_ext >&5
23414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23415 conftest$ac_exeext conftest.$ac_ext
23416 ac_cv_sys_largefile_source=unknown
23420 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23421 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23422 case $ac_cv_sys_largefile_source in #(
23425 cat >>confdefs.h <<_ACEOF
23426 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23432 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23433 # in glibc 2.1.3, but that breaks too many other things.
23434 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23435 if test $ac_cv_sys_largefile_source != unknown; then
23437 cat >>confdefs.h <<\_ACEOF
23438 #define HAVE_FSEEKO 1
23443 if test "$ac_cv_sys_largefile_source" != no; then
23444 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23448 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23449 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23450 if test "${ac_cv_c_bigendian+set}" = set; then
23451 echo $ECHO_N "(cached) $ECHO_C" >&6
23453 ac_cv_c_bigendian=unknown
23454 # See if sys/param.h defines the BYTE_ORDER macro.
23455 cat >conftest.$ac_ext <<_ACEOF
23458 cat confdefs.h >>conftest.$ac_ext
23459 cat >>conftest.$ac_ext <<_ACEOF
23460 /* end confdefs.h. */
23461 #include <sys/types.h>
23462 #include <sys/param.h>
23467 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23468 bogus endian macros
23474 rm -f conftest.$ac_objext
23475 if { (ac_try="$ac_compile"
23476 case "(($ac_try" in
23477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23478 *) ac_try_echo=$ac_try;;
23480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23481 (eval "$ac_compile") 2>conftest.er1
23483 grep -v '^ *+' conftest.er1 >conftest.err
23485 cat conftest.err >&5
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); } && {
23488 test -z "$ac_c_werror_flag" ||
23489 test ! -s conftest.err
23490 } && test -s conftest.$ac_objext; then
23491 # It does; now see whether it defined to BIG_ENDIAN or not.
23492 cat >conftest.$ac_ext <<_ACEOF
23495 cat confdefs.h >>conftest.$ac_ext
23496 cat >>conftest.$ac_ext <<_ACEOF
23497 /* end confdefs.h. */
23498 #include <sys/types.h>
23499 #include <sys/param.h>
23504 #if BYTE_ORDER != BIG_ENDIAN
23511 rm -f conftest.$ac_objext
23512 if { (ac_try="$ac_compile"
23513 case "(($ac_try" in
23514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23515 *) ac_try_echo=$ac_try;;
23517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23518 (eval "$ac_compile") 2>conftest.er1
23520 grep -v '^ *+' conftest.er1 >conftest.err
23522 cat conftest.err >&5
23523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23524 (exit $ac_status); } && {
23525 test -z "$ac_c_werror_flag" ||
23526 test ! -s conftest.err
23527 } && test -s conftest.$ac_objext; then
23528 ac_cv_c_bigendian=yes
23530 echo "$as_me: failed program was:" >&5
23531 sed 's/^/| /' conftest.$ac_ext >&5
23533 ac_cv_c_bigendian=no
23536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23538 echo "$as_me: failed program was:" >&5
23539 sed 's/^/| /' conftest.$ac_ext >&5
23544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23545 if test $ac_cv_c_bigendian = unknown; then
23546 if test "$cross_compiling" = yes; then
23547 ac_cv_c_bigendian=unknown
23549 cat >conftest.$ac_ext <<_ACEOF
23552 cat confdefs.h >>conftest.$ac_ext
23553 cat >>conftest.$ac_ext <<_ACEOF
23554 /* end confdefs.h. */
23556 /* Are we little or big endian? From Harbison&Steele. */
23560 char c[sizeof (long)];
23563 exit (u.c[sizeof (long) - 1] == 1);
23566 rm -f conftest$ac_exeext
23567 if { (ac_try="$ac_link"
23568 case "(($ac_try" in
23569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23570 *) ac_try_echo=$ac_try;;
23572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23573 (eval "$ac_link") 2>&5
23575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23576 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23577 { (case "(($ac_try" in
23578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23579 *) ac_try_echo=$ac_try;;
23581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23582 (eval "$ac_try") 2>&5
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); }; }; then
23586 ac_cv_c_bigendian=no
23588 echo "$as_me: program exited with status $ac_status" >&5
23589 echo "$as_me: failed program was:" >&5
23590 sed 's/^/| /' conftest.$ac_ext >&5
23592 ( exit $ac_status )
23593 ac_cv_c_bigendian=yes
23595 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23601 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23602 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23603 if test $ac_cv_c_bigendian = unknown; then
23604 { 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
23605 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;}
23607 if test $ac_cv_c_bigendian = yes; then
23608 cat >>confdefs.h <<\_ACEOF
23609 #define WORDS_BIGENDIAN 1
23618 ac_cpp='$CXXCPP $CPPFLAGS'
23619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23625 for ac_header in iostream
23627 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23628 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23630 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23631 echo $ECHO_N "(cached) $ECHO_C" >&6
23633 cat >conftest.$ac_ext <<_ACEOF
23636 cat confdefs.h >>conftest.$ac_ext
23637 cat >>conftest.$ac_ext <<_ACEOF
23638 /* end confdefs.h. */
23641 #include <$ac_header>
23643 rm -f conftest.$ac_objext
23644 if { (ac_try="$ac_compile"
23645 case "(($ac_try" in
23646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23647 *) ac_try_echo=$ac_try;;
23649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23650 (eval "$ac_compile") 2>conftest.er1
23652 grep -v '^ *+' conftest.er1 >conftest.err
23654 cat conftest.err >&5
23655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23656 (exit $ac_status); } && {
23657 test -z "$ac_cxx_werror_flag" ||
23658 test ! -s conftest.err
23659 } && test -s conftest.$ac_objext; then
23660 eval "$as_ac_Header=yes"
23662 echo "$as_me: failed program was:" >&5
23663 sed 's/^/| /' conftest.$ac_ext >&5
23665 eval "$as_ac_Header=no"
23668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23670 ac_res=`eval echo '${'$as_ac_Header'}'`
23671 { echo "$as_me:$LINENO: result: $ac_res" >&5
23672 echo "${ECHO_T}$ac_res" >&6; }
23673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23674 cat >>confdefs.h <<_ACEOF
23675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23683 if test "$ac_cv_header_iostream" = "yes" ; then
23686 cat >>confdefs.h <<\_ACEOF
23687 #define wxUSE_IOSTREAMH 1
23693 ac_cpp='$CPP $CPPFLAGS'
23694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23701 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23702 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23703 if test "${wx_cv_cpp_bool+set}" = set; then
23704 echo $ECHO_N "(cached) $ECHO_C" >&6
23709 ac_cpp='$CXXCPP $CPPFLAGS'
23710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23715 cat >conftest.$ac_ext <<_ACEOF
23718 cat confdefs.h >>conftest.$ac_ext
23719 cat >>conftest.$ac_ext <<_ACEOF
23720 /* end confdefs.h. */
23735 rm -f conftest.$ac_objext
23736 if { (ac_try="$ac_compile"
23737 case "(($ac_try" in
23738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23739 *) ac_try_echo=$ac_try;;
23741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23742 (eval "$ac_compile") 2>conftest.er1
23744 grep -v '^ *+' conftest.er1 >conftest.err
23746 cat conftest.err >&5
23747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 (exit $ac_status); } && {
23749 test -z "$ac_cxx_werror_flag" ||
23750 test ! -s conftest.err
23751 } && test -s conftest.$ac_objext; then
23756 echo "$as_me: failed program was:" >&5
23757 sed 's/^/| /' conftest.$ac_ext >&5
23765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23768 ac_cpp='$CPP $CPPFLAGS'
23769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23775 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23776 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23778 if test "$wx_cv_cpp_bool" = "yes"; then
23779 cat >>confdefs.h <<\_ACEOF
23780 #define HAVE_BOOL 1
23787 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23788 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23789 if test "${wx_cv_explicit+set}" = set; then
23790 echo $ECHO_N "(cached) $ECHO_C" >&6
23795 ac_cpp='$CXXCPP $CPPFLAGS'
23796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23801 cat >conftest.$ac_ext <<_ACEOF
23804 cat confdefs.h >>conftest.$ac_ext
23805 cat >>conftest.$ac_ext <<_ACEOF
23806 /* end confdefs.h. */
23808 class Foo { public: explicit Foo(int) {} };
23820 rm -f conftest.$ac_objext
23821 if { (ac_try="$ac_compile"
23822 case "(($ac_try" in
23823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23824 *) ac_try_echo=$ac_try;;
23826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23827 (eval "$ac_compile") 2>conftest.er1
23829 grep -v '^ *+' conftest.er1 >conftest.err
23831 cat conftest.err >&5
23832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23833 (exit $ac_status); } && {
23834 test -z "$ac_cxx_werror_flag" ||
23835 test ! -s conftest.err
23836 } && test -s conftest.$ac_objext; then
23838 cat >conftest.$ac_ext <<_ACEOF
23841 cat confdefs.h >>conftest.$ac_ext
23842 cat >>conftest.$ac_ext <<_ACEOF
23843 /* end confdefs.h. */
23845 class Foo { public: explicit Foo(int) {} };
23846 static void TakeFoo(const Foo& foo) { }
23859 rm -f conftest.$ac_objext
23860 if { (ac_try="$ac_compile"
23861 case "(($ac_try" in
23862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23863 *) ac_try_echo=$ac_try;;
23865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23866 (eval "$ac_compile") 2>conftest.er1
23868 grep -v '^ *+' conftest.er1 >conftest.err
23870 cat conftest.err >&5
23871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23872 (exit $ac_status); } && {
23873 test -z "$ac_cxx_werror_flag" ||
23874 test ! -s conftest.err
23875 } && test -s conftest.$ac_objext; then
23878 echo "$as_me: failed program was:" >&5
23879 sed 's/^/| /' conftest.$ac_ext >&5
23885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23888 echo "$as_me: failed program was:" >&5
23889 sed 's/^/| /' conftest.$ac_ext >&5
23895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23898 ac_cpp='$CPP $CPPFLAGS'
23899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23905 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23906 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23908 if test "$wx_cv_explicit" = "yes"; then
23909 cat >>confdefs.h <<\_ACEOF
23910 #define HAVE_EXPLICIT 1
23916 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23917 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23918 if test "${ac_cv_cxx_const_cast+set}" = set; then
23919 echo $ECHO_N "(cached) $ECHO_C" >&6
23923 ac_cpp='$CXXCPP $CPPFLAGS'
23924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23928 cat >conftest.$ac_ext <<_ACEOF
23931 cat confdefs.h >>conftest.$ac_ext
23932 cat >>conftest.$ac_ext <<_ACEOF
23933 /* end confdefs.h. */
23938 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23943 rm -f conftest.$ac_objext
23944 if { (ac_try="$ac_compile"
23945 case "(($ac_try" in
23946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23947 *) ac_try_echo=$ac_try;;
23949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23950 (eval "$ac_compile") 2>conftest.er1
23952 grep -v '^ *+' conftest.er1 >conftest.err
23954 cat conftest.err >&5
23955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23956 (exit $ac_status); } && {
23957 test -z "$ac_cxx_werror_flag" ||
23958 test ! -s conftest.err
23959 } && test -s conftest.$ac_objext; then
23960 ac_cv_cxx_const_cast=yes
23962 echo "$as_me: failed program was:" >&5
23963 sed 's/^/| /' conftest.$ac_ext >&5
23965 ac_cv_cxx_const_cast=no
23968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23970 ac_cpp='$CPP $CPPFLAGS'
23971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23977 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23978 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23979 if test "$ac_cv_cxx_const_cast" = yes; then
23981 cat >>confdefs.h <<\_ACEOF
23982 #define HAVE_CONST_CAST
23987 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23988 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23989 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23990 echo $ECHO_N "(cached) $ECHO_C" >&6
23994 ac_cpp='$CXXCPP $CPPFLAGS'
23995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23999 cat >conftest.$ac_ext <<_ACEOF
24002 cat confdefs.h >>conftest.$ac_ext
24003 cat >>conftest.$ac_ext <<_ACEOF
24004 /* end confdefs.h. */
24005 #include <typeinfo>
24006 class Base { public : Base () {} virtual void f () = 0;};
24007 class Derived : public Base { public : Derived () {} virtual void f () {} };
24008 class Unrelated { public : Unrelated () {} };
24009 int g (Unrelated&) { return 0; }
24014 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24019 rm -f conftest.$ac_objext
24020 if { (ac_try="$ac_compile"
24021 case "(($ac_try" in
24022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24023 *) ac_try_echo=$ac_try;;
24025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24026 (eval "$ac_compile") 2>conftest.er1
24028 grep -v '^ *+' conftest.er1 >conftest.err
24030 cat conftest.err >&5
24031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24032 (exit $ac_status); } && {
24033 test -z "$ac_cxx_werror_flag" ||
24034 test ! -s conftest.err
24035 } && test -s conftest.$ac_objext; then
24036 ac_cv_cxx_reinterpret_cast=yes
24038 echo "$as_me: failed program was:" >&5
24039 sed 's/^/| /' conftest.$ac_ext >&5
24041 ac_cv_cxx_reinterpret_cast=no
24044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24046 ac_cpp='$CPP $CPPFLAGS'
24047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24053 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24054 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24055 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24057 cat >>confdefs.h <<\_ACEOF
24058 #define HAVE_REINTERPRET_CAST
24063 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24064 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24065 if test "${ac_cv_cxx_static_cast+set}" = set; then
24066 echo $ECHO_N "(cached) $ECHO_C" >&6
24070 ac_cpp='$CXXCPP $CPPFLAGS'
24071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24075 cat >conftest.$ac_ext <<_ACEOF
24078 cat confdefs.h >>conftest.$ac_ext
24079 cat >>conftest.$ac_ext <<_ACEOF
24080 /* end confdefs.h. */
24081 #include <typeinfo>
24082 class Base { public : Base () {} virtual void f () = 0; };
24083 class Derived : public Base { public : Derived () {} virtual void f () {} };
24084 int g (Derived&) { return 0; }
24089 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24094 rm -f conftest.$ac_objext
24095 if { (ac_try="$ac_compile"
24096 case "(($ac_try" in
24097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24098 *) ac_try_echo=$ac_try;;
24100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24101 (eval "$ac_compile") 2>conftest.er1
24103 grep -v '^ *+' conftest.er1 >conftest.err
24105 cat conftest.err >&5
24106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24107 (exit $ac_status); } && {
24108 test -z "$ac_cxx_werror_flag" ||
24109 test ! -s conftest.err
24110 } && test -s conftest.$ac_objext; then
24111 ac_cv_cxx_static_cast=yes
24113 echo "$as_me: failed program was:" >&5
24114 sed 's/^/| /' conftest.$ac_ext >&5
24116 ac_cv_cxx_static_cast=no
24119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24121 ac_cpp='$CPP $CPPFLAGS'
24122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24128 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24129 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24130 if test "$ac_cv_cxx_static_cast" = yes; then
24132 cat >>confdefs.h <<\_ACEOF
24133 #define HAVE_STATIC_CAST
24139 if test "x$SUNCXX" = xyes; then
24140 CXXFLAGS="-features=tmplife $CXXFLAGS"
24143 if test "x$SUNCC" = xyes; then
24144 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24147 if test "x$SGICC" = "xyes"; then
24148 CFLAGS="-woff 3970 $CFLAGS"
24150 if test "x$SGICXX" = "xyes"; then
24151 CXXFLAGS="-woff 3970 $CXXFLAGS"
24154 if test "x$HPCC" = "xyes"; then
24155 CFLAGS="+W 2011,2450 $CFLAGS"
24157 if test "x$HPCXX" = "xyes"; then
24158 CXXFLAGS="+W 2340 $CXXFLAGS"
24161 if test "x$COMPAQCXX" = "xyes"; then
24162 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24166 ac_cpp='$CXXCPP $CPPFLAGS'
24167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24172 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24173 if test "$wxUSE_UNICODE" = "yes"; then
24174 std_string="std::wstring"
24175 char_type="wchar_t"
24177 std_string="std::string"
24181 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24182 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24183 if test "${wx_cv_class_stdstring+set}" = set; then
24184 echo $ECHO_N "(cached) $ECHO_C" >&6
24187 cat >conftest.$ac_ext <<_ACEOF
24190 cat confdefs.h >>conftest.$ac_ext
24191 cat >>conftest.$ac_ext <<_ACEOF
24192 /* end confdefs.h. */
24202 rm -f conftest.$ac_objext
24203 if { (ac_try="$ac_compile"
24204 case "(($ac_try" in
24205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24206 *) ac_try_echo=$ac_try;;
24208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24209 (eval "$ac_compile") 2>conftest.er1
24211 grep -v '^ *+' conftest.er1 >conftest.err
24213 cat conftest.err >&5
24214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24215 (exit $ac_status); } && {
24216 test -z "$ac_cxx_werror_flag" ||
24217 test ! -s conftest.err
24218 } && test -s conftest.$ac_objext; then
24219 wx_cv_class_stdstring=yes
24221 echo "$as_me: failed program was:" >&5
24222 sed 's/^/| /' conftest.$ac_ext >&5
24224 wx_cv_class_stdstring=no
24228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24232 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24233 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24235 if test "$wx_cv_class_stdstring" = yes; then
24236 if test "$wxUSE_UNICODE" = "yes"; then
24237 cat >>confdefs.h <<\_ACEOF
24238 #define HAVE_STD_WSTRING 1
24243 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24244 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24245 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24246 echo $ECHO_N "(cached) $ECHO_C" >&6
24249 cat >conftest.$ac_ext <<_ACEOF
24252 cat confdefs.h >>conftest.$ac_ext
24253 cat >>conftest.$ac_ext <<_ACEOF
24254 /* end confdefs.h. */
24256 #ifdef HAVE_WCHAR_H
24258 # include <stddef.h>
24260 # include <wchar.h>
24262 #ifdef HAVE_STDLIB_H
24263 # include <stdlib.h>
24271 std::basic_string<$char_type> foo;
24272 const $char_type* dummy = foo.c_str();
24277 rm -f conftest.$ac_objext
24278 if { (ac_try="$ac_compile"
24279 case "(($ac_try" in
24280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24281 *) ac_try_echo=$ac_try;;
24283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24284 (eval "$ac_compile") 2>conftest.er1
24286 grep -v '^ *+' conftest.er1 >conftest.err
24288 cat conftest.err >&5
24289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24290 (exit $ac_status); } && {
24291 test -z "$ac_cxx_werror_flag" ||
24292 test ! -s conftest.err
24293 } && test -s conftest.$ac_objext; then
24294 wx_cv_class_stdbasicstring=yes
24296 echo "$as_me: failed program was:" >&5
24297 sed 's/^/| /' conftest.$ac_ext >&5
24299 wx_cv_class_stdbasicstring=no
24303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24307 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24308 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24310 if test "$wx_cv_class_stdbasicstring" != yes; then
24311 if test "$wxUSE_STL" = "yes"; then
24312 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24313 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24314 { (exit 1); exit 1; }; }
24315 elif test "$wxUSE_STD_STRING" = "yes"; then
24316 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24317 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24318 { (exit 1); exit 1; }; }
24320 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24321 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24322 wxUSE_STD_STRING=no
24328 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24329 { echo "$as_me:$LINENO: checking for std::istream" >&5
24330 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24331 if test "${ac_cv_type_std__istream+set}" = set; then
24332 echo $ECHO_N "(cached) $ECHO_C" >&6
24334 cat >conftest.$ac_ext <<_ACEOF
24337 cat confdefs.h >>conftest.$ac_ext
24338 cat >>conftest.$ac_ext <<_ACEOF
24339 /* end confdefs.h. */
24340 #include <iostream>
24342 typedef std::istream ac__type_new_;
24346 if ((ac__type_new_ *) 0)
24348 if (sizeof (ac__type_new_))
24354 rm -f conftest.$ac_objext
24355 if { (ac_try="$ac_compile"
24356 case "(($ac_try" in
24357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24358 *) ac_try_echo=$ac_try;;
24360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24361 (eval "$ac_compile") 2>conftest.er1
24363 grep -v '^ *+' conftest.er1 >conftest.err
24365 cat conftest.err >&5
24366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24367 (exit $ac_status); } && {
24368 test -z "$ac_cxx_werror_flag" ||
24369 test ! -s conftest.err
24370 } && test -s conftest.$ac_objext; then
24371 ac_cv_type_std__istream=yes
24373 echo "$as_me: failed program was:" >&5
24374 sed 's/^/| /' conftest.$ac_ext >&5
24376 ac_cv_type_std__istream=no
24379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24381 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24382 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24383 if test $ac_cv_type_std__istream = yes; then
24385 cat >>confdefs.h <<_ACEOF
24386 #define HAVE_STD__ISTREAM 1
24391 wxUSE_STD_IOSTREAM=no
24393 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24394 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24395 if test "${ac_cv_type_std__ostream+set}" = set; then
24396 echo $ECHO_N "(cached) $ECHO_C" >&6
24398 cat >conftest.$ac_ext <<_ACEOF
24401 cat confdefs.h >>conftest.$ac_ext
24402 cat >>conftest.$ac_ext <<_ACEOF
24403 /* end confdefs.h. */
24404 #include <iostream>
24406 typedef std::ostream ac__type_new_;
24410 if ((ac__type_new_ *) 0)
24412 if (sizeof (ac__type_new_))
24418 rm -f conftest.$ac_objext
24419 if { (ac_try="$ac_compile"
24420 case "(($ac_try" in
24421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24422 *) ac_try_echo=$ac_try;;
24424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24425 (eval "$ac_compile") 2>conftest.er1
24427 grep -v '^ *+' conftest.er1 >conftest.err
24429 cat conftest.err >&5
24430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24431 (exit $ac_status); } && {
24432 test -z "$ac_cxx_werror_flag" ||
24433 test ! -s conftest.err
24434 } && test -s conftest.$ac_objext; then
24435 ac_cv_type_std__ostream=yes
24437 echo "$as_me: failed program was:" >&5
24438 sed 's/^/| /' conftest.$ac_ext >&5
24440 ac_cv_type_std__ostream=no
24443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24445 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24446 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24447 if test $ac_cv_type_std__ostream = yes; then
24449 cat >>confdefs.h <<_ACEOF
24450 #define HAVE_STD__OSTREAM 1
24455 wxUSE_STD_IOSTREAM=no
24459 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24460 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24461 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24462 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24463 { (exit 1); exit 1; }; }
24465 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24466 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24471 if test "$wxUSE_STL" = "yes"; then
24472 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24473 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24474 if test "${wx_cv_lib_stl+set}" = set; then
24475 echo $ECHO_N "(cached) $ECHO_C" >&6
24477 cat >conftest.$ac_ext <<_ACEOF
24480 cat confdefs.h >>conftest.$ac_ext
24481 cat >>conftest.$ac_ext <<_ACEOF
24482 /* end confdefs.h. */
24484 #include <functional>
24485 #include <algorithm>
24491 std::vector<int> moo;
24492 std::list<int> foo;
24493 std::vector<int>::iterator it =
24494 std::find_if(moo.begin(), moo.end(),
24495 std::bind2nd(std::less<int>(), 3));
24500 rm -f conftest.$ac_objext
24501 if { (ac_try="$ac_compile"
24502 case "(($ac_try" in
24503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24504 *) ac_try_echo=$ac_try;;
24506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24507 (eval "$ac_compile") 2>conftest.er1
24509 grep -v '^ *+' conftest.er1 >conftest.err
24511 cat conftest.err >&5
24512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24513 (exit $ac_status); } && {
24514 test -z "$ac_cxx_werror_flag" ||
24515 test ! -s conftest.err
24516 } && test -s conftest.$ac_objext; then
24519 echo "$as_me: failed program was:" >&5
24520 sed 's/^/| /' conftest.$ac_ext >&5
24526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24529 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24530 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24532 if test "$wx_cv_lib_stl" != yes; then
24533 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24534 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24535 { (exit 1); exit 1; }; }
24538 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24539 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24540 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24541 echo $ECHO_N "(cached) $ECHO_C" >&6
24543 cat >conftest.$ac_ext <<_ACEOF
24546 cat confdefs.h >>conftest.$ac_ext
24547 cat >>conftest.$ac_ext <<_ACEOF
24548 /* end confdefs.h. */
24553 std::string foo, bar;
24555 foo.compare(1, 1, bar);
24556 foo.compare(1, 1, bar, 1, 1);
24558 foo.compare(1, 1, "");
24559 foo.compare(1, 1, "", 2);
24564 rm -f conftest.$ac_objext
24565 if { (ac_try="$ac_compile"
24566 case "(($ac_try" in
24567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24568 *) ac_try_echo=$ac_try;;
24570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24571 (eval "$ac_compile") 2>conftest.er1
24573 grep -v '^ *+' conftest.er1 >conftest.err
24575 cat conftest.err >&5
24576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24577 (exit $ac_status); } && {
24578 test -z "$ac_cxx_werror_flag" ||
24579 test ! -s conftest.err
24580 } && test -s conftest.$ac_objext; then
24581 wx_cv_func_stdstring_compare=yes
24583 echo "$as_me: failed program was:" >&5
24584 sed 's/^/| /' conftest.$ac_ext >&5
24586 wx_cv_func_stdstring_compare=no
24590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24593 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24594 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24596 if test "$wx_cv_func_stdstring_compare" = yes; then
24597 cat >>confdefs.h <<\_ACEOF
24598 #define HAVE_STD_STRING_COMPARE 1
24603 { echo "$as_me:$LINENO: checking for hash_map" >&5
24604 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24605 if test "${ac_cv_header_hash_map+set}" = set; then
24606 echo $ECHO_N "(cached) $ECHO_C" >&6
24608 cat >conftest.$ac_ext <<_ACEOF
24611 cat confdefs.h >>conftest.$ac_ext
24612 cat >>conftest.$ac_ext <<_ACEOF
24613 /* end confdefs.h. */
24617 #include <hash_map>
24619 rm -f conftest.$ac_objext
24620 if { (ac_try="$ac_compile"
24621 case "(($ac_try" in
24622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24623 *) ac_try_echo=$ac_try;;
24625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24626 (eval "$ac_compile") 2>conftest.er1
24628 grep -v '^ *+' conftest.er1 >conftest.err
24630 cat conftest.err >&5
24631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24632 (exit $ac_status); } && {
24633 test -z "$ac_cxx_werror_flag" ||
24634 test ! -s conftest.err
24635 } && test -s conftest.$ac_objext; then
24636 ac_cv_header_hash_map=yes
24638 echo "$as_me: failed program was:" >&5
24639 sed 's/^/| /' conftest.$ac_ext >&5
24641 ac_cv_header_hash_map=no
24644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24646 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24647 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24648 if test $ac_cv_header_hash_map = yes; then
24649 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24650 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24651 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24652 echo $ECHO_N "(cached) $ECHO_C" >&6
24654 cat >conftest.$ac_ext <<_ACEOF
24657 cat confdefs.h >>conftest.$ac_ext
24658 cat >>conftest.$ac_ext <<_ACEOF
24659 /* end confdefs.h. */
24660 #include <hash_map>
24661 #include <hash_set>
24665 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24666 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24671 rm -f conftest.$ac_objext
24672 if { (ac_try="$ac_compile"
24673 case "(($ac_try" in
24674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24675 *) ac_try_echo=$ac_try;;
24677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24678 (eval "$ac_compile") 2>conftest.er1
24680 grep -v '^ *+' conftest.er1 >conftest.err
24682 cat conftest.err >&5
24683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24684 (exit $ac_status); } && {
24685 test -z "$ac_cxx_werror_flag" ||
24686 test ! -s conftest.err
24687 } && test -s conftest.$ac_objext; then
24688 wx_cv_class_stdhashmapset=yes
24690 echo "$as_me: failed program was:" >&5
24691 sed 's/^/| /' conftest.$ac_ext >&5
24693 wx_cv_class_stdhashmapset=no
24696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24700 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24701 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24706 if test "$wx_cv_class_stdhashmapset" = yes; then
24707 cat >>confdefs.h <<\_ACEOF
24708 #define HAVE_HASH_MAP 1
24711 cat >>confdefs.h <<\_ACEOF
24712 #define HAVE_STD_HASH_MAP 1
24717 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24718 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24719 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24720 echo $ECHO_N "(cached) $ECHO_C" >&6
24722 cat >conftest.$ac_ext <<_ACEOF
24725 cat confdefs.h >>conftest.$ac_ext
24726 cat >>conftest.$ac_ext <<_ACEOF
24727 /* end confdefs.h. */
24731 #include <ext/hash_map>
24733 rm -f conftest.$ac_objext
24734 if { (ac_try="$ac_compile"
24735 case "(($ac_try" in
24736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24737 *) ac_try_echo=$ac_try;;
24739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24740 (eval "$ac_compile") 2>conftest.er1
24742 grep -v '^ *+' conftest.er1 >conftest.err
24744 cat conftest.err >&5
24745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24746 (exit $ac_status); } && {
24747 test -z "$ac_cxx_werror_flag" ||
24748 test ! -s conftest.err
24749 } && test -s conftest.$ac_objext; then
24750 ac_cv_header_ext_hash_map=yes
24752 echo "$as_me: failed program was:" >&5
24753 sed 's/^/| /' conftest.$ac_ext >&5
24755 ac_cv_header_ext_hash_map=no
24758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24760 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24761 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24762 if test $ac_cv_header_ext_hash_map = yes; then
24763 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24764 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24765 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24766 echo $ECHO_N "(cached) $ECHO_C" >&6
24768 cat >conftest.$ac_ext <<_ACEOF
24771 cat confdefs.h >>conftest.$ac_ext
24772 cat >>conftest.$ac_ext <<_ACEOF
24773 /* end confdefs.h. */
24774 #include <ext/hash_map>
24775 #include <ext/hash_set>
24779 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24780 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24785 rm -f conftest.$ac_objext
24786 if { (ac_try="$ac_compile"
24787 case "(($ac_try" in
24788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24789 *) ac_try_echo=$ac_try;;
24791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24792 (eval "$ac_compile") 2>conftest.er1
24794 grep -v '^ *+' conftest.er1 >conftest.err
24796 cat conftest.err >&5
24797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24798 (exit $ac_status); } && {
24799 test -z "$ac_cxx_werror_flag" ||
24800 test ! -s conftest.err
24801 } && test -s conftest.$ac_objext; then
24802 wx_cv_class_gnuhashmapset=yes
24804 echo "$as_me: failed program was:" >&5
24805 sed 's/^/| /' conftest.$ac_ext >&5
24807 wx_cv_class_gnuhashmapset=no
24810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24814 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24815 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24820 if test "$wx_cv_class_gnuhashmapset" = yes; then
24821 cat >>confdefs.h <<\_ACEOF
24822 #define HAVE_EXT_HASH_MAP 1
24825 cat >>confdefs.h <<\_ACEOF
24826 #define HAVE_GNU_CXX_HASH_MAP 1
24834 if test -n "$GCC"; then
24835 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
24836 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
24837 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24838 echo $ECHO_N "(cached) $ECHO_C" >&6
24841 cat >conftest.$ac_ext <<_ACEOF
24844 cat confdefs.h >>conftest.$ac_ext
24845 cat >>conftest.$ac_ext <<_ACEOF
24846 /* end confdefs.h. */
24852 unsigned int value=0;
24853 /* wxAtomicInc doesn't use return value here */
24854 __sync_fetch_and_add(&value, 2);
24855 __sync_sub_and_fetch(&value, 1);
24856 /* but wxAtomicDec does, so mimic that: */
24857 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
24863 rm -f conftest.$ac_objext conftest$ac_exeext
24864 if { (ac_try="$ac_link"
24865 case "(($ac_try" in
24866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24867 *) ac_try_echo=$ac_try;;
24869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24870 (eval "$ac_link") 2>conftest.er1
24872 grep -v '^ *+' conftest.er1 >conftest.err
24874 cat conftest.err >&5
24875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24876 (exit $ac_status); } && {
24877 test -z "$ac_cxx_werror_flag" ||
24878 test ! -s conftest.err
24879 } && test -s conftest$ac_exeext &&
24880 $as_test_x conftest$ac_exeext; then
24881 wx_cv_cc_gcc_atomic_builtins=yes
24883 echo "$as_me: failed program was:" >&5
24884 sed 's/^/| /' conftest.$ac_ext >&5
24886 wx_cv_cc_gcc_atomic_builtins=no
24889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24890 conftest$ac_exeext conftest.$ac_ext
24894 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24895 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24896 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24897 cat >>confdefs.h <<\_ACEOF
24898 #define HAVE_GCC_ATOMIC_BUILTINS 1
24906 ac_cpp='$CPP $CPPFLAGS'
24907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24914 /usr/local/include \
24916 /usr/Motif-2.1/include \
24917 /usr/Motif-1.2/include \
24918 /usr/include/Motif1.2 \
24921 /usr/openwin/include \
24925 /usr/X11R6/include \
24926 /usr/X11R6.4/include \
24927 /usr/X11R5/include \
24928 /usr/X11R4/include \
24930 /usr/include/X11R6 \
24931 /usr/include/X11R5 \
24932 /usr/include/X11R4 \
24934 /usr/local/X11R6/include \
24935 /usr/local/X11R5/include \
24936 /usr/local/X11R4/include \
24938 /usr/local/include/X11R6 \
24939 /usr/local/include/X11R5 \
24940 /usr/local/include/X11R4 \
24944 /usr/local/X11/include \
24945 /usr/local/include/X11 \
24947 /usr/XFree86/include/X11 \
24950 /usr/openwin/share/include"
24952 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24953 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24957 if test "${wx_cv_std_libpath+set}" = set; then
24958 echo $ECHO_N "(cached) $ECHO_C" >&6
24961 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24962 for e in a so sl dylib dll.a; do
24964 if test -f $libc; then
24967 cat >conftest.$ac_ext <<_ACEOF
24968 int main() { return 0; }
24970 rm -f conftest.$ac_objext conftest$ac_exeext
24971 if { (ac_try="$ac_link"
24972 case "(($ac_try" in
24973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24974 *) ac_try_echo=$ac_try;;
24976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24977 (eval "$ac_link") 2>conftest.er1
24979 grep -v '^ *+' conftest.er1 >conftest.err
24981 cat conftest.err >&5
24982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24983 (exit $ac_status); } && {
24984 test -z "$ac_c_werror_flag" ||
24985 test ! -s conftest.err
24986 } && test -s conftest$ac_exeext &&
24987 $as_test_x conftest$ac_exeext; then
24988 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24990 echo "$as_me: failed program was:" >&5
24991 sed 's/^/| /' conftest.$ac_ext >&5
24996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24997 conftest$ac_exeext conftest.$ac_ext
24999 if test "x$wx_cv_std_libpath" != "x"; then
25005 if test "x$wx_cv_std_libpath" = "x"; then
25006 wx_cv_std_libpath="lib"
25015 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25016 wx_cv_std_libpath="lib/64"
25018 wx_cv_std_libpath="lib"
25023 if test "$ac_cv_sizeof_void_p" = 8 -a \
25024 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25025 wx_cv_std_libpath="lib64"
25027 wx_cv_std_libpath="lib"
25032 wx_cv_std_libpath="lib";
25036 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25037 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25039 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25041 if test "$build" != "$host" -a "$GCC" = yes; then
25042 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25043 cross_root=`dirname $cross_root`
25044 cross_root=`dirname $cross_root`
25046 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25047 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25048 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25050 if test -z "$PKG_CONFIG_PATH"; then
25051 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25052 export PKG_CONFIG_PATH
25055 if test -z "$x_includes" -o "$x_includes" = NONE; then
25058 for ac_dir in $SEARCH_INCLUDE /usr/include;
25060 if test -f "$ac_dir/X11/Intrinsic.h"; then
25061 ac_find_includes=$ac_dir
25066 x_includes=$ac_find_includes
25068 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25071 for ac_dir in $SEARCH_LIB;
25073 for ac_extension in a so sl dylib dll.a; do
25074 if test -f "$ac_dir/libXt.$ac_extension"; then
25075 ac_find_libraries=$ac_dir
25081 x_libraries=$ac_find_libraries
25087 cat >confcache <<\_ACEOF
25088 # This file is a shell script that caches the results of configure
25089 # tests run on this system so they can be shared between configure
25090 # scripts and configure runs, see configure's option --config-cache.
25091 # It is not useful on other systems. If it contains results you don't
25092 # want to keep, you may remove or edit it.
25094 # config.status only pays attention to the cache file if you give it
25095 # the --recheck option to rerun configure.
25097 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25098 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25099 # following values.
25103 # The following way of writing the cache mishandles newlines in values,
25104 # but we know of no workaround that is simple, portable, and efficient.
25105 # So, we kill variables containing newlines.
25106 # Ultrix sh set writes to stderr and can't be redirected directly,
25107 # and sets the high bit in the cache file unless we assign to the vars.
25109 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25110 eval ac_val=\$$ac_var
25114 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25115 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25118 _ | IFS | as_nl) ;; #(
25119 *) $as_unset $ac_var ;;
25125 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25126 *${as_nl}ac_space=\ *)
25127 # `set' does not quote correctly, so add quotes (double-quote
25128 # substitution turns \\\\ into \\, and sed turns \\ into \).
25131 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25134 # `set' quotes correctly as required by POSIX, so do not add quotes.
25135 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25144 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25146 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25148 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25149 if test -w "$cache_file"; then
25150 test "x$cache_file" != "x/dev/null" &&
25151 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25152 echo "$as_me: updating cache $cache_file" >&6;}
25153 cat confcache >$cache_file
25155 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25156 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25161 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25162 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25163 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25164 if test "${wx_cv_lib_glibc21+set}" = set; then
25165 echo $ECHO_N "(cached) $ECHO_C" >&6
25168 cat >conftest.$ac_ext <<_ACEOF
25171 cat confdefs.h >>conftest.$ac_ext
25172 cat >>conftest.$ac_ext <<_ACEOF
25173 /* end confdefs.h. */
25174 #include <features.h>
25179 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25187 rm -f conftest.$ac_objext
25188 if { (ac_try="$ac_compile"
25189 case "(($ac_try" in
25190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25191 *) ac_try_echo=$ac_try;;
25193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25194 (eval "$ac_compile") 2>conftest.er1
25196 grep -v '^ *+' conftest.er1 >conftest.err
25198 cat conftest.err >&5
25199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25200 (exit $ac_status); } && {
25201 test -z "$ac_c_werror_flag" ||
25202 test ! -s conftest.err
25203 } && test -s conftest.$ac_objext; then
25205 wx_cv_lib_glibc21=yes
25208 echo "$as_me: failed program was:" >&5
25209 sed 's/^/| /' conftest.$ac_ext >&5
25212 wx_cv_lib_glibc21=no
25217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25220 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25221 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25222 if test "$wx_cv_lib_glibc21" = "yes"; then
25223 cat >>confdefs.h <<\_ACEOF
25224 #define wxHAVE_GLIBC2 1
25230 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25231 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25232 cat >>confdefs.h <<\_ACEOF
25233 #define _GNU_SOURCE 1
25244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25245 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25247 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25248 echo $ECHO_N "(cached) $ECHO_C" >&6
25250 cat >conftest.$ac_ext <<_ACEOF
25253 cat confdefs.h >>conftest.$ac_ext
25254 cat >>conftest.$ac_ext <<_ACEOF
25255 /* end confdefs.h. */
25256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25258 #define $ac_func innocuous_$ac_func
25260 /* System header to define __stub macros and hopefully few prototypes,
25261 which can conflict with char $ac_func (); below.
25262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25263 <limits.h> exists even on freestanding compilers. */
25266 # include <limits.h>
25268 # include <assert.h>
25273 /* Override any GCC internal prototype to avoid an error.
25274 Use char because int might match the return type of a GCC
25275 builtin and then its argument prototype would still apply. */
25280 /* The GNU C library defines this for functions which it implements
25281 to always fail with ENOSYS. Some functions are actually named
25282 something starting with __ and the normal name is an alias. */
25283 #if defined __stub_$ac_func || defined __stub___$ac_func
25290 return $ac_func ();
25295 rm -f conftest.$ac_objext conftest$ac_exeext
25296 if { (ac_try="$ac_link"
25297 case "(($ac_try" in
25298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25299 *) ac_try_echo=$ac_try;;
25301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25302 (eval "$ac_link") 2>conftest.er1
25304 grep -v '^ *+' conftest.er1 >conftest.err
25306 cat conftest.err >&5
25307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25308 (exit $ac_status); } && {
25309 test -z "$ac_c_werror_flag" ||
25310 test ! -s conftest.err
25311 } && test -s conftest$ac_exeext &&
25312 $as_test_x conftest$ac_exeext; then
25313 eval "$as_ac_var=yes"
25315 echo "$as_me: failed program was:" >&5
25316 sed 's/^/| /' conftest.$ac_ext >&5
25318 eval "$as_ac_var=no"
25321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25322 conftest$ac_exeext conftest.$ac_ext
25324 ac_res=`eval echo '${'$as_ac_var'}'`
25325 { echo "$as_me:$LINENO: result: $ac_res" >&5
25326 echo "${ECHO_T}$ac_res" >&6; }
25327 if test `eval echo '${'$as_ac_var'}'` = yes; then
25328 cat >>confdefs.h <<_ACEOF
25329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25336 for ac_func in floor
25338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25339 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25341 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25342 echo $ECHO_N "(cached) $ECHO_C" >&6
25344 cat >conftest.$ac_ext <<_ACEOF
25347 cat confdefs.h >>conftest.$ac_ext
25348 cat >>conftest.$ac_ext <<_ACEOF
25349 /* end confdefs.h. */
25350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25352 #define $ac_func innocuous_$ac_func
25354 /* System header to define __stub macros and hopefully few prototypes,
25355 which can conflict with char $ac_func (); below.
25356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25357 <limits.h> exists even on freestanding compilers. */
25360 # include <limits.h>
25362 # include <assert.h>
25367 /* Override any GCC internal prototype to avoid an error.
25368 Use char because int might match the return type of a GCC
25369 builtin and then its argument prototype would still apply. */
25374 /* The GNU C library defines this for functions which it implements
25375 to always fail with ENOSYS. Some functions are actually named
25376 something starting with __ and the normal name is an alias. */
25377 #if defined __stub_$ac_func || defined __stub___$ac_func
25384 return $ac_func ();
25389 rm -f conftest.$ac_objext conftest$ac_exeext
25390 if { (ac_try="$ac_link"
25391 case "(($ac_try" in
25392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25393 *) ac_try_echo=$ac_try;;
25395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25396 (eval "$ac_link") 2>conftest.er1
25398 grep -v '^ *+' conftest.er1 >conftest.err
25400 cat conftest.err >&5
25401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25402 (exit $ac_status); } && {
25403 test -z "$ac_c_werror_flag" ||
25404 test ! -s conftest.err
25405 } && test -s conftest$ac_exeext &&
25406 $as_test_x conftest$ac_exeext; then
25407 eval "$as_ac_var=yes"
25409 echo "$as_me: failed program was:" >&5
25410 sed 's/^/| /' conftest.$ac_ext >&5
25412 eval "$as_ac_var=no"
25415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25416 conftest$ac_exeext conftest.$ac_ext
25418 ac_res=`eval echo '${'$as_ac_var'}'`
25419 { echo "$as_me:$LINENO: result: $ac_res" >&5
25420 echo "${ECHO_T}$ac_res" >&6; }
25421 if test `eval echo '${'$as_ac_var'}'` = yes; then
25422 cat >>confdefs.h <<_ACEOF
25423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25429 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25430 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25431 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25432 { echo "$as_me:$LINENO: result: yes" >&5
25433 echo "${ECHO_T}yes" >&6; }
25435 { echo "$as_me:$LINENO: result: no" >&5
25436 echo "${ECHO_T}no" >&6; }
25438 # use different functions to avoid configure caching
25444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25445 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25447 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25448 echo $ECHO_N "(cached) $ECHO_C" >&6
25450 cat >conftest.$ac_ext <<_ACEOF
25453 cat confdefs.h >>conftest.$ac_ext
25454 cat >>conftest.$ac_ext <<_ACEOF
25455 /* end confdefs.h. */
25456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25458 #define $ac_func innocuous_$ac_func
25460 /* System header to define __stub macros and hopefully few prototypes,
25461 which can conflict with char $ac_func (); below.
25462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25463 <limits.h> exists even on freestanding compilers. */
25466 # include <limits.h>
25468 # include <assert.h>
25473 /* Override any GCC internal prototype to avoid an error.
25474 Use char because int might match the return type of a GCC
25475 builtin and then its argument prototype would still apply. */
25480 /* The GNU C library defines this for functions which it implements
25481 to always fail with ENOSYS. Some functions are actually named
25482 something starting with __ and the normal name is an alias. */
25483 #if defined __stub_$ac_func || defined __stub___$ac_func
25490 return $ac_func ();
25495 rm -f conftest.$ac_objext conftest$ac_exeext
25496 if { (ac_try="$ac_link"
25497 case "(($ac_try" in
25498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25499 *) ac_try_echo=$ac_try;;
25501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25502 (eval "$ac_link") 2>conftest.er1
25504 grep -v '^ *+' conftest.er1 >conftest.err
25506 cat conftest.err >&5
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); } && {
25509 test -z "$ac_c_werror_flag" ||
25510 test ! -s conftest.err
25511 } && test -s conftest$ac_exeext &&
25512 $as_test_x conftest$ac_exeext; then
25513 eval "$as_ac_var=yes"
25515 echo "$as_me: failed program was:" >&5
25516 sed 's/^/| /' conftest.$ac_ext >&5
25518 eval "$as_ac_var=no"
25521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25522 conftest$ac_exeext conftest.$ac_ext
25524 ac_res=`eval echo '${'$as_ac_var'}'`
25525 { echo "$as_me:$LINENO: result: $ac_res" >&5
25526 echo "${ECHO_T}$ac_res" >&6; }
25527 if test `eval echo '${'$as_ac_var'}'` = yes; then
25528 cat >>confdefs.h <<_ACEOF
25529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25536 for ac_func in ceil
25538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25539 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25541 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25542 echo $ECHO_N "(cached) $ECHO_C" >&6
25544 cat >conftest.$ac_ext <<_ACEOF
25547 cat confdefs.h >>conftest.$ac_ext
25548 cat >>conftest.$ac_ext <<_ACEOF
25549 /* end confdefs.h. */
25550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25552 #define $ac_func innocuous_$ac_func
25554 /* System header to define __stub macros and hopefully few prototypes,
25555 which can conflict with char $ac_func (); below.
25556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25557 <limits.h> exists even on freestanding compilers. */
25560 # include <limits.h>
25562 # include <assert.h>
25567 /* Override any GCC internal prototype to avoid an error.
25568 Use char because int might match the return type of a GCC
25569 builtin and then its argument prototype would still apply. */
25574 /* The GNU C library defines this for functions which it implements
25575 to always fail with ENOSYS. Some functions are actually named
25576 something starting with __ and the normal name is an alias. */
25577 #if defined __stub_$ac_func || defined __stub___$ac_func
25584 return $ac_func ();
25589 rm -f conftest.$ac_objext conftest$ac_exeext
25590 if { (ac_try="$ac_link"
25591 case "(($ac_try" in
25592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25593 *) ac_try_echo=$ac_try;;
25595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25596 (eval "$ac_link") 2>conftest.er1
25598 grep -v '^ *+' conftest.er1 >conftest.err
25600 cat conftest.err >&5
25601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25602 (exit $ac_status); } && {
25603 test -z "$ac_c_werror_flag" ||
25604 test ! -s conftest.err
25605 } && test -s conftest$ac_exeext &&
25606 $as_test_x conftest$ac_exeext; then
25607 eval "$as_ac_var=yes"
25609 echo "$as_me: failed program was:" >&5
25610 sed 's/^/| /' conftest.$ac_ext >&5
25612 eval "$as_ac_var=no"
25615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25616 conftest$ac_exeext conftest.$ac_ext
25618 ac_res=`eval echo '${'$as_ac_var'}'`
25619 { echo "$as_me:$LINENO: result: $ac_res" >&5
25620 echo "${ECHO_T}$ac_res" >&6; }
25621 if test `eval echo '${'$as_ac_var'}'` = yes; then
25622 cat >>confdefs.h <<_ACEOF
25623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25629 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25630 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25631 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25632 { echo "$as_me:$LINENO: result: yes" >&5
25633 echo "${ECHO_T}yes" >&6; }
25635 { echo "$as_me:$LINENO: result: no" >&5
25636 echo "${ECHO_T}no" >&6; }
25637 # not sure we should warn the user, crash, etc.
25642 ac_cpp='$CXXCPP $CPPFLAGS'
25643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25647 if test "wxUSE_UNICODE" = "yes"; then
25649 for wx_func in wcstoull
25651 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25652 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25653 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25654 echo $ECHO_N "(cached) $ECHO_C" >&6
25657 cat >conftest.$ac_ext <<_ACEOF
25661 cat confdefs.h >>conftest.$ac_ext
25662 cat >>conftest.$ac_ext <<_ACEOF
25663 /* end confdefs.h. */
25666 $ac_includes_default
25682 rm -f conftest.$ac_objext conftest$ac_exeext
25683 if { (ac_try="$ac_link"
25684 case "(($ac_try" in
25685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25686 *) ac_try_echo=$ac_try;;
25688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25689 (eval "$ac_link") 2>conftest.er1
25691 grep -v '^ *+' conftest.er1 >conftest.err
25693 cat conftest.err >&5
25694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25695 (exit $ac_status); } && {
25696 test -z "$ac_cxx_werror_flag" ||
25697 test ! -s conftest.err
25698 } && test -s conftest$ac_exeext &&
25699 $as_test_x conftest$ac_exeext; then
25700 eval wx_cv_func_$wx_func=yes
25702 echo "$as_me: failed program was:" >&5
25703 sed 's/^/| /' conftest.$ac_ext >&5
25705 eval wx_cv_func_$wx_func=no
25708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25709 conftest$ac_exeext conftest.$ac_ext
25712 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25713 { echo "$as_me:$LINENO: result: $ac_res" >&5
25714 echo "${ECHO_T}$ac_res" >&6; }
25716 if eval test \$wx_cv_func_$wx_func = yes
25718 cat >>confdefs.h <<_ACEOF
25719 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25731 for wx_func in strtoull
25733 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25734 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25735 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25736 echo $ECHO_N "(cached) $ECHO_C" >&6
25739 cat >conftest.$ac_ext <<_ACEOF
25743 cat confdefs.h >>conftest.$ac_ext
25744 cat >>conftest.$ac_ext <<_ACEOF
25745 /* end confdefs.h. */
25748 $ac_includes_default
25764 rm -f conftest.$ac_objext conftest$ac_exeext
25765 if { (ac_try="$ac_link"
25766 case "(($ac_try" in
25767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25768 *) ac_try_echo=$ac_try;;
25770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25771 (eval "$ac_link") 2>conftest.er1
25773 grep -v '^ *+' conftest.er1 >conftest.err
25775 cat conftest.err >&5
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); } && {
25778 test -z "$ac_cxx_werror_flag" ||
25779 test ! -s conftest.err
25780 } && test -s conftest$ac_exeext &&
25781 $as_test_x conftest$ac_exeext; then
25782 eval wx_cv_func_$wx_func=yes
25784 echo "$as_me: failed program was:" >&5
25785 sed 's/^/| /' conftest.$ac_ext >&5
25787 eval wx_cv_func_$wx_func=no
25790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25791 conftest$ac_exeext conftest.$ac_ext
25794 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25795 { echo "$as_me:$LINENO: result: $ac_res" >&5
25796 echo "${ECHO_T}$ac_res" >&6; }
25798 if eval test \$wx_cv_func_$wx_func = yes
25800 cat >>confdefs.h <<_ACEOF
25801 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25813 ac_cpp='$CPP $CPPFLAGS'
25814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25821 if test "$wxUSE_REGEX" != "no"; then
25822 cat >>confdefs.h <<\_ACEOF
25823 #define wxUSE_REGEX 1
25827 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25828 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25829 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25830 wxUSE_REGEX=builtin
25833 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25834 { echo "$as_me:$LINENO: checking for regex.h" >&5
25835 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25836 if test "${ac_cv_header_regex_h+set}" = set; then
25837 echo $ECHO_N "(cached) $ECHO_C" >&6
25839 cat >conftest.$ac_ext <<_ACEOF
25842 cat confdefs.h >>conftest.$ac_ext
25843 cat >>conftest.$ac_ext <<_ACEOF
25844 /* end confdefs.h. */
25849 rm -f conftest.$ac_objext
25850 if { (ac_try="$ac_compile"
25851 case "(($ac_try" in
25852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25853 *) ac_try_echo=$ac_try;;
25855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25856 (eval "$ac_compile") 2>conftest.er1
25858 grep -v '^ *+' conftest.er1 >conftest.err
25860 cat conftest.err >&5
25861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25862 (exit $ac_status); } && {
25863 test -z "$ac_c_werror_flag" ||
25864 test ! -s conftest.err
25865 } && test -s conftest.$ac_objext; then
25866 ac_cv_header_regex_h=yes
25868 echo "$as_me: failed program was:" >&5
25869 sed 's/^/| /' conftest.$ac_ext >&5
25871 ac_cv_header_regex_h=no
25874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25876 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25877 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25878 if test $ac_cv_header_regex_h = yes; then
25881 for ac_func in regcomp re_search
25883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25884 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25886 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25887 echo $ECHO_N "(cached) $ECHO_C" >&6
25889 cat >conftest.$ac_ext <<_ACEOF
25892 cat confdefs.h >>conftest.$ac_ext
25893 cat >>conftest.$ac_ext <<_ACEOF
25894 /* end confdefs.h. */
25895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25897 #define $ac_func innocuous_$ac_func
25899 /* System header to define __stub macros and hopefully few prototypes,
25900 which can conflict with char $ac_func (); below.
25901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25902 <limits.h> exists even on freestanding compilers. */
25905 # include <limits.h>
25907 # include <assert.h>
25912 /* Override any GCC internal prototype to avoid an error.
25913 Use char because int might match the return type of a GCC
25914 builtin and then its argument prototype would still apply. */
25919 /* The GNU C library defines this for functions which it implements
25920 to always fail with ENOSYS. Some functions are actually named
25921 something starting with __ and the normal name is an alias. */
25922 #if defined __stub_$ac_func || defined __stub___$ac_func
25929 return $ac_func ();
25934 rm -f conftest.$ac_objext conftest$ac_exeext
25935 if { (ac_try="$ac_link"
25936 case "(($ac_try" in
25937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25938 *) ac_try_echo=$ac_try;;
25940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25941 (eval "$ac_link") 2>conftest.er1
25943 grep -v '^ *+' conftest.er1 >conftest.err
25945 cat conftest.err >&5
25946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947 (exit $ac_status); } && {
25948 test -z "$ac_c_werror_flag" ||
25949 test ! -s conftest.err
25950 } && test -s conftest$ac_exeext &&
25951 $as_test_x conftest$ac_exeext; then
25952 eval "$as_ac_var=yes"
25954 echo "$as_me: failed program was:" >&5
25955 sed 's/^/| /' conftest.$ac_ext >&5
25957 eval "$as_ac_var=no"
25960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25961 conftest$ac_exeext conftest.$ac_ext
25963 ac_res=`eval echo '${'$as_ac_var'}'`
25964 { echo "$as_me:$LINENO: result: $ac_res" >&5
25965 echo "${ECHO_T}$ac_res" >&6; }
25966 if test `eval echo '${'$as_ac_var'}'` = yes; then
25967 cat >>confdefs.h <<_ACEOF
25968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25978 if test "x$ac_cv_func_regcomp" != "xyes"; then
25979 if test "$wxUSE_REGEX" = "sys" ; then
25980 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25981 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25982 { (exit 1); exit 1; }; }
25984 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25985 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25986 wxUSE_REGEX=builtin
25990 cat >>confdefs.h <<\_ACEOF
25991 #define WX_NO_REGEX_ADVANCED 1
26000 if test "$wxUSE_ZLIB" != "no" ; then
26001 cat >>confdefs.h <<\_ACEOF
26002 #define wxUSE_ZLIB 1
26006 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26007 if test "$USE_DARWIN" = 1; then
26008 system_zlib_h_ok="yes"
26010 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26011 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26012 if test "${ac_cv_header_zlib_h+set}" = set; then
26013 echo $ECHO_N "(cached) $ECHO_C" >&6
26015 if test "$cross_compiling" = yes; then
26016 unset ac_cv_header_zlib_h
26019 cat >conftest.$ac_ext <<_ACEOF
26022 cat confdefs.h >>conftest.$ac_ext
26023 cat >>conftest.$ac_ext <<_ACEOF
26024 /* end confdefs.h. */
26031 FILE *f=fopen("conftestval", "w");
26034 ZLIB_VERSION[0] == '1' &&
26035 (ZLIB_VERSION[2] > '1' ||
26036 (ZLIB_VERSION[2] == '1' &&
26037 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26042 rm -f conftest$ac_exeext
26043 if { (ac_try="$ac_link"
26044 case "(($ac_try" in
26045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26046 *) ac_try_echo=$ac_try;;
26048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26049 (eval "$ac_link") 2>&5
26051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26052 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26053 { (case "(($ac_try" in
26054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26055 *) ac_try_echo=$ac_try;;
26057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26058 (eval "$ac_try") 2>&5
26060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26061 (exit $ac_status); }; }; then
26062 ac_cv_header_zlib_h=`cat conftestval`
26064 echo "$as_me: program exited with status $ac_status" >&5
26065 echo "$as_me: failed program was:" >&5
26066 sed 's/^/| /' conftest.$ac_ext >&5
26068 ( exit $ac_status )
26069 ac_cv_header_zlib_h=no
26071 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26077 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26078 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26079 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26080 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26081 if test "${ac_cv_header_zlib_h+set}" = set; then
26082 echo $ECHO_N "(cached) $ECHO_C" >&6
26084 cat >conftest.$ac_ext <<_ACEOF
26087 cat confdefs.h >>conftest.$ac_ext
26088 cat >>conftest.$ac_ext <<_ACEOF
26089 /* end confdefs.h. */
26094 rm -f conftest.$ac_objext
26095 if { (ac_try="$ac_compile"
26096 case "(($ac_try" in
26097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26098 *) ac_try_echo=$ac_try;;
26100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26101 (eval "$ac_compile") 2>conftest.er1
26103 grep -v '^ *+' conftest.er1 >conftest.err
26105 cat conftest.err >&5
26106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26107 (exit $ac_status); } && {
26108 test -z "$ac_c_werror_flag" ||
26109 test ! -s conftest.err
26110 } && test -s conftest.$ac_objext; then
26111 ac_cv_header_zlib_h=yes
26113 echo "$as_me: failed program was:" >&5
26114 sed 's/^/| /' conftest.$ac_ext >&5
26116 ac_cv_header_zlib_h=no
26119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26121 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26122 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26126 system_zlib_h_ok=$ac_cv_header_zlib_h
26129 if test "$system_zlib_h_ok" = "yes"; then
26130 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26131 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26132 if test "${ac_cv_lib_z_deflate+set}" = set; then
26133 echo $ECHO_N "(cached) $ECHO_C" >&6
26135 ac_check_lib_save_LIBS=$LIBS
26137 cat >conftest.$ac_ext <<_ACEOF
26140 cat confdefs.h >>conftest.$ac_ext
26141 cat >>conftest.$ac_ext <<_ACEOF
26142 /* end confdefs.h. */
26144 /* Override any GCC internal prototype to avoid an error.
26145 Use char because int might match the return type of a GCC
26146 builtin and then its argument prototype would still apply. */
26159 rm -f conftest.$ac_objext conftest$ac_exeext
26160 if { (ac_try="$ac_link"
26161 case "(($ac_try" in
26162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26163 *) ac_try_echo=$ac_try;;
26165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26166 (eval "$ac_link") 2>conftest.er1
26168 grep -v '^ *+' conftest.er1 >conftest.err
26170 cat conftest.err >&5
26171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26172 (exit $ac_status); } && {
26173 test -z "$ac_c_werror_flag" ||
26174 test ! -s conftest.err
26175 } && test -s conftest$ac_exeext &&
26176 $as_test_x conftest$ac_exeext; then
26177 ac_cv_lib_z_deflate=yes
26179 echo "$as_me: failed program was:" >&5
26180 sed 's/^/| /' conftest.$ac_ext >&5
26182 ac_cv_lib_z_deflate=no
26185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26186 conftest$ac_exeext conftest.$ac_ext
26187 LIBS=$ac_check_lib_save_LIBS
26189 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26190 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26191 if test $ac_cv_lib_z_deflate = yes; then
26197 if test "x$ZLIB_LINK" = "x" ; then
26198 if test "$wxUSE_ZLIB" = "sys" ; then
26199 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26200 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26201 { (exit 1); exit 1; }; }
26203 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26204 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26215 if test "$wxUSE_LIBPNG" != "no" ; then
26216 cat >>confdefs.h <<\_ACEOF
26217 #define wxUSE_LIBPNG 1
26221 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26222 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26223 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26227 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26228 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26229 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26230 wxUSE_LIBPNG=builtin
26233 if test "$wxUSE_MGL" != 1 ; then
26234 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26235 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26236 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26237 if test "${ac_cv_header_png_h+set}" = set; then
26238 echo $ECHO_N "(cached) $ECHO_C" >&6
26240 if test "$cross_compiling" = yes; then
26241 unset ac_cv_header_png_h
26244 cat >conftest.$ac_ext <<_ACEOF
26247 cat confdefs.h >>conftest.$ac_ext
26248 cat >>conftest.$ac_ext <<_ACEOF
26249 /* end confdefs.h. */
26256 FILE *f=fopen("conftestval", "w");
26259 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26264 rm -f conftest$ac_exeext
26265 if { (ac_try="$ac_link"
26266 case "(($ac_try" in
26267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26268 *) ac_try_echo=$ac_try;;
26270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26271 (eval "$ac_link") 2>&5
26273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26274 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26275 { (case "(($ac_try" in
26276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26277 *) ac_try_echo=$ac_try;;
26279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26280 (eval "$ac_try") 2>&5
26282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26283 (exit $ac_status); }; }; then
26284 ac_cv_header_png_h=`cat conftestval`
26286 echo "$as_me: program exited with status $ac_status" >&5
26287 echo "$as_me: failed program was:" >&5
26288 sed 's/^/| /' conftest.$ac_ext >&5
26290 ( exit $ac_status )
26291 ac_cv_header_png_h=no
26293 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26299 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26300 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26301 { echo "$as_me:$LINENO: checking for png.h" >&5
26302 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26303 if test "${ac_cv_header_png_h+set}" = set; then
26304 echo $ECHO_N "(cached) $ECHO_C" >&6
26306 cat >conftest.$ac_ext <<_ACEOF
26309 cat confdefs.h >>conftest.$ac_ext
26310 cat >>conftest.$ac_ext <<_ACEOF
26311 /* end confdefs.h. */
26316 rm -f conftest.$ac_objext
26317 if { (ac_try="$ac_compile"
26318 case "(($ac_try" in
26319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26320 *) ac_try_echo=$ac_try;;
26322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26323 (eval "$ac_compile") 2>conftest.er1
26325 grep -v '^ *+' conftest.er1 >conftest.err
26327 cat conftest.err >&5
26328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26329 (exit $ac_status); } && {
26330 test -z "$ac_c_werror_flag" ||
26331 test ! -s conftest.err
26332 } && test -s conftest.$ac_objext; then
26333 ac_cv_header_png_h=yes
26335 echo "$as_me: failed program was:" >&5
26336 sed 's/^/| /' conftest.$ac_ext >&5
26338 ac_cv_header_png_h=no
26341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26343 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26344 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26348 if test "$ac_cv_header_png_h" = "yes"; then
26349 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26350 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26351 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26352 echo $ECHO_N "(cached) $ECHO_C" >&6
26354 ac_check_lib_save_LIBS=$LIBS
26355 LIBS="-lpng -lz -lm $LIBS"
26356 cat >conftest.$ac_ext <<_ACEOF
26359 cat confdefs.h >>conftest.$ac_ext
26360 cat >>conftest.$ac_ext <<_ACEOF
26361 /* end confdefs.h. */
26363 /* Override any GCC internal prototype to avoid an error.
26364 Use char because int might match the return type of a GCC
26365 builtin and then its argument prototype would still apply. */
26369 char png_check_sig ();
26373 return png_check_sig ();
26378 rm -f conftest.$ac_objext conftest$ac_exeext
26379 if { (ac_try="$ac_link"
26380 case "(($ac_try" in
26381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26382 *) ac_try_echo=$ac_try;;
26384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26385 (eval "$ac_link") 2>conftest.er1
26387 grep -v '^ *+' conftest.er1 >conftest.err
26389 cat conftest.err >&5
26390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26391 (exit $ac_status); } && {
26392 test -z "$ac_c_werror_flag" ||
26393 test ! -s conftest.err
26394 } && test -s conftest$ac_exeext &&
26395 $as_test_x conftest$ac_exeext; then
26396 ac_cv_lib_png_png_check_sig=yes
26398 echo "$as_me: failed program was:" >&5
26399 sed 's/^/| /' conftest.$ac_ext >&5
26401 ac_cv_lib_png_png_check_sig=no
26404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26405 conftest$ac_exeext conftest.$ac_ext
26406 LIBS=$ac_check_lib_save_LIBS
26408 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26409 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26410 if test $ac_cv_lib_png_png_check_sig = yes; then
26411 PNG_LINK=" -lpng -lz"
26416 if test "x$PNG_LINK" = "x" ; then
26417 if test "$wxUSE_LIBPNG" = "sys" ; then
26418 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26419 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26420 { (exit 1); exit 1; }; }
26422 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26423 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26424 wxUSE_LIBPNG=builtin
26435 if test "$wxUSE_LIBJPEG" != "no" ; then
26436 cat >>confdefs.h <<\_ACEOF
26437 #define wxUSE_LIBJPEG 1
26441 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26442 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26443 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26447 if test "$wxUSE_MGL" != 1 ; then
26448 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26449 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26450 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26451 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26452 echo $ECHO_N "(cached) $ECHO_C" >&6
26454 cat >conftest.$ac_ext <<_ACEOF
26457 cat confdefs.h >>conftest.$ac_ext
26458 cat >>conftest.$ac_ext <<_ACEOF
26459 /* end confdefs.h. */
26461 #undef HAVE_STDLIB_H
26463 #include <jpeglib.h>
26474 rm -f conftest.$ac_objext
26475 if { (ac_try="$ac_compile"
26476 case "(($ac_try" in
26477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26478 *) ac_try_echo=$ac_try;;
26480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26481 (eval "$ac_compile") 2>conftest.er1
26483 grep -v '^ *+' conftest.er1 >conftest.err
26485 cat conftest.err >&5
26486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 (exit $ac_status); } && {
26488 test -z "$ac_c_werror_flag" ||
26489 test ! -s conftest.err
26490 } && test -s conftest.$ac_objext; then
26491 ac_cv_header_jpeglib_h=yes
26493 echo "$as_me: failed program was:" >&5
26494 sed 's/^/| /' conftest.$ac_ext >&5
26496 ac_cv_header_jpeglib_h=no
26500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26504 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26505 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26507 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26508 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26509 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26510 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26511 echo $ECHO_N "(cached) $ECHO_C" >&6
26513 ac_check_lib_save_LIBS=$LIBS
26514 LIBS="-ljpeg $LIBS"
26515 cat >conftest.$ac_ext <<_ACEOF
26518 cat confdefs.h >>conftest.$ac_ext
26519 cat >>conftest.$ac_ext <<_ACEOF
26520 /* end confdefs.h. */
26522 /* Override any GCC internal prototype to avoid an error.
26523 Use char because int might match the return type of a GCC
26524 builtin and then its argument prototype would still apply. */
26528 char jpeg_read_header ();
26532 return jpeg_read_header ();
26537 rm -f conftest.$ac_objext conftest$ac_exeext
26538 if { (ac_try="$ac_link"
26539 case "(($ac_try" in
26540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26541 *) ac_try_echo=$ac_try;;
26543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26544 (eval "$ac_link") 2>conftest.er1
26546 grep -v '^ *+' conftest.er1 >conftest.err
26548 cat conftest.err >&5
26549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26550 (exit $ac_status); } && {
26551 test -z "$ac_c_werror_flag" ||
26552 test ! -s conftest.err
26553 } && test -s conftest$ac_exeext &&
26554 $as_test_x conftest$ac_exeext; then
26555 ac_cv_lib_jpeg_jpeg_read_header=yes
26557 echo "$as_me: failed program was:" >&5
26558 sed 's/^/| /' conftest.$ac_ext >&5
26560 ac_cv_lib_jpeg_jpeg_read_header=no
26563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26564 conftest$ac_exeext conftest.$ac_ext
26565 LIBS=$ac_check_lib_save_LIBS
26567 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26568 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26569 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26570 JPEG_LINK=" -ljpeg"
26575 if test "x$JPEG_LINK" = "x" ; then
26576 if test "$wxUSE_LIBJPEG" = "sys" ; then
26577 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26578 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26579 { (exit 1); exit 1; }; }
26581 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26582 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26583 wxUSE_LIBJPEG=builtin
26588 if test "$wxUSE_MSW" = 1; then
26589 { echo "$as_me:$LINENO: checking for boolean" >&5
26590 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26591 if test "${ac_cv_type_boolean+set}" = set; then
26592 echo $ECHO_N "(cached) $ECHO_C" >&6
26594 cat >conftest.$ac_ext <<_ACEOF
26597 cat confdefs.h >>conftest.$ac_ext
26598 cat >>conftest.$ac_ext <<_ACEOF
26599 /* end confdefs.h. */
26600 #include <windows.h>
26602 typedef boolean ac__type_new_;
26606 if ((ac__type_new_ *) 0)
26608 if (sizeof (ac__type_new_))
26614 rm -f conftest.$ac_objext
26615 if { (ac_try="$ac_compile"
26616 case "(($ac_try" in
26617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26618 *) ac_try_echo=$ac_try;;
26620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26621 (eval "$ac_compile") 2>conftest.er1
26623 grep -v '^ *+' conftest.er1 >conftest.err
26625 cat conftest.err >&5
26626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26627 (exit $ac_status); } && {
26628 test -z "$ac_c_werror_flag" ||
26629 test ! -s conftest.err
26630 } && test -s conftest.$ac_objext; then
26631 ac_cv_type_boolean=yes
26633 echo "$as_me: failed program was:" >&5
26634 sed 's/^/| /' conftest.$ac_ext >&5
26636 ac_cv_type_boolean=no
26639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26641 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26642 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26643 if test $ac_cv_type_boolean = yes; then
26645 cat >>confdefs.h <<_ACEOF
26646 #define HAVE_BOOLEAN 1
26650 { echo "$as_me:$LINENO: checking for boolean" >&5
26651 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26652 if test "${ac_cv_type_boolean+set}" = set; then
26653 echo $ECHO_N "(cached) $ECHO_C" >&6
26655 cat >conftest.$ac_ext <<_ACEOF
26658 cat confdefs.h >>conftest.$ac_ext
26659 cat >>conftest.$ac_ext <<_ACEOF
26660 /* end confdefs.h. */
26662 #undef HAVE_BOOLEAN
26664 #include <jpeglib.h>
26667 typedef boolean ac__type_new_;
26671 if ((ac__type_new_ *) 0)
26673 if (sizeof (ac__type_new_))
26679 rm -f conftest.$ac_objext
26680 if { (ac_try="$ac_compile"
26681 case "(($ac_try" in
26682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26683 *) ac_try_echo=$ac_try;;
26685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26686 (eval "$ac_compile") 2>conftest.er1
26688 grep -v '^ *+' conftest.er1 >conftest.err
26690 cat conftest.err >&5
26691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26692 (exit $ac_status); } && {
26693 test -z "$ac_c_werror_flag" ||
26694 test ! -s conftest.err
26695 } && test -s conftest.$ac_objext; then
26696 ac_cv_type_boolean=yes
26698 echo "$as_me: failed program was:" >&5
26699 sed 's/^/| /' conftest.$ac_ext >&5
26701 ac_cv_type_boolean=no
26704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26706 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26707 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26709 # The cast to long int works around a bug in the HP C Compiler
26710 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26711 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26712 # This bug is HP SR number 8606223364.
26713 { echo "$as_me:$LINENO: checking size of boolean" >&5
26714 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26715 if test "${ac_cv_sizeof_boolean+set}" = set; then
26716 echo $ECHO_N "(cached) $ECHO_C" >&6
26718 if test "$cross_compiling" = yes; then
26719 # Depending upon the size, compute the lo and hi bounds.
26720 cat >conftest.$ac_ext <<_ACEOF
26723 cat confdefs.h >>conftest.$ac_ext
26724 cat >>conftest.$ac_ext <<_ACEOF
26725 /* end confdefs.h. */
26727 #undef HAVE_BOOLEAN
26729 #include <jpeglib.h>
26732 typedef boolean ac__type_sizeof_;
26736 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26743 rm -f conftest.$ac_objext
26744 if { (ac_try="$ac_compile"
26745 case "(($ac_try" in
26746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26747 *) ac_try_echo=$ac_try;;
26749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26750 (eval "$ac_compile") 2>conftest.er1
26752 grep -v '^ *+' conftest.er1 >conftest.err
26754 cat conftest.err >&5
26755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26756 (exit $ac_status); } && {
26757 test -z "$ac_c_werror_flag" ||
26758 test ! -s conftest.err
26759 } && test -s conftest.$ac_objext; then
26762 cat >conftest.$ac_ext <<_ACEOF
26765 cat confdefs.h >>conftest.$ac_ext
26766 cat >>conftest.$ac_ext <<_ACEOF
26767 /* end confdefs.h. */
26769 #undef HAVE_BOOLEAN
26771 #include <jpeglib.h>
26774 typedef boolean ac__type_sizeof_;
26778 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26785 rm -f conftest.$ac_objext
26786 if { (ac_try="$ac_compile"
26787 case "(($ac_try" in
26788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26789 *) ac_try_echo=$ac_try;;
26791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26792 (eval "$ac_compile") 2>conftest.er1
26794 grep -v '^ *+' conftest.er1 >conftest.err
26796 cat conftest.err >&5
26797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26798 (exit $ac_status); } && {
26799 test -z "$ac_c_werror_flag" ||
26800 test ! -s conftest.err
26801 } && test -s conftest.$ac_objext; then
26802 ac_hi=$ac_mid; break
26804 echo "$as_me: failed program was:" >&5
26805 sed 's/^/| /' conftest.$ac_ext >&5
26807 ac_lo=`expr $ac_mid + 1`
26808 if test $ac_lo -le $ac_mid; then
26812 ac_mid=`expr 2 '*' $ac_mid + 1`
26815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26818 echo "$as_me: failed program was:" >&5
26819 sed 's/^/| /' conftest.$ac_ext >&5
26821 cat >conftest.$ac_ext <<_ACEOF
26824 cat confdefs.h >>conftest.$ac_ext
26825 cat >>conftest.$ac_ext <<_ACEOF
26826 /* end confdefs.h. */
26828 #undef HAVE_BOOLEAN
26830 #include <jpeglib.h>
26833 typedef boolean ac__type_sizeof_;
26837 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26844 rm -f conftest.$ac_objext
26845 if { (ac_try="$ac_compile"
26846 case "(($ac_try" in
26847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26848 *) ac_try_echo=$ac_try;;
26850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26851 (eval "$ac_compile") 2>conftest.er1
26853 grep -v '^ *+' conftest.er1 >conftest.err
26855 cat conftest.err >&5
26856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26857 (exit $ac_status); } && {
26858 test -z "$ac_c_werror_flag" ||
26859 test ! -s conftest.err
26860 } && test -s conftest.$ac_objext; then
26863 cat >conftest.$ac_ext <<_ACEOF
26866 cat confdefs.h >>conftest.$ac_ext
26867 cat >>conftest.$ac_ext <<_ACEOF
26868 /* end confdefs.h. */
26870 #undef HAVE_BOOLEAN
26872 #include <jpeglib.h>
26875 typedef boolean ac__type_sizeof_;
26879 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26886 rm -f conftest.$ac_objext
26887 if { (ac_try="$ac_compile"
26888 case "(($ac_try" in
26889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26890 *) ac_try_echo=$ac_try;;
26892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26893 (eval "$ac_compile") 2>conftest.er1
26895 grep -v '^ *+' conftest.er1 >conftest.err
26897 cat conftest.err >&5
26898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899 (exit $ac_status); } && {
26900 test -z "$ac_c_werror_flag" ||
26901 test ! -s conftest.err
26902 } && test -s conftest.$ac_objext; then
26903 ac_lo=$ac_mid; break
26905 echo "$as_me: failed program was:" >&5
26906 sed 's/^/| /' conftest.$ac_ext >&5
26908 ac_hi=`expr '(' $ac_mid ')' - 1`
26909 if test $ac_mid -le $ac_hi; then
26913 ac_mid=`expr 2 '*' $ac_mid`
26916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26919 echo "$as_me: failed program was:" >&5
26920 sed 's/^/| /' conftest.$ac_ext >&5
26925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26929 # Binary search between lo and hi bounds.
26930 while test "x$ac_lo" != "x$ac_hi"; do
26931 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26932 cat >conftest.$ac_ext <<_ACEOF
26935 cat confdefs.h >>conftest.$ac_ext
26936 cat >>conftest.$ac_ext <<_ACEOF
26937 /* end confdefs.h. */
26939 #undef HAVE_BOOLEAN
26941 #include <jpeglib.h>
26944 typedef boolean ac__type_sizeof_;
26948 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26955 rm -f conftest.$ac_objext
26956 if { (ac_try="$ac_compile"
26957 case "(($ac_try" in
26958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26959 *) ac_try_echo=$ac_try;;
26961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26962 (eval "$ac_compile") 2>conftest.er1
26964 grep -v '^ *+' conftest.er1 >conftest.err
26966 cat conftest.err >&5
26967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26968 (exit $ac_status); } && {
26969 test -z "$ac_c_werror_flag" ||
26970 test ! -s conftest.err
26971 } && test -s conftest.$ac_objext; then
26974 echo "$as_me: failed program was:" >&5
26975 sed 's/^/| /' conftest.$ac_ext >&5
26977 ac_lo=`expr '(' $ac_mid ')' + 1`
26980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26983 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26984 '') if test "$ac_cv_type_boolean" = yes; then
26985 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26986 See \`config.log' for more details." >&5
26987 echo "$as_me: error: cannot compute sizeof (boolean)
26988 See \`config.log' for more details." >&2;}
26989 { (exit 77); exit 77; }; }
26991 ac_cv_sizeof_boolean=0
26995 cat >conftest.$ac_ext <<_ACEOF
26998 cat confdefs.h >>conftest.$ac_ext
26999 cat >>conftest.$ac_ext <<_ACEOF
27000 /* end confdefs.h. */
27002 #undef HAVE_BOOLEAN
27004 #include <jpeglib.h>
27007 typedef boolean ac__type_sizeof_;
27008 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27009 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27011 #include <stdlib.h>
27016 FILE *f = fopen ("conftest.val", "w");
27019 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27021 long int i = longval ();
27022 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27024 fprintf (f, "%ld\n", i);
27028 unsigned long int i = ulongval ();
27029 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27031 fprintf (f, "%lu\n", i);
27033 return ferror (f) || fclose (f) != 0;
27039 rm -f conftest$ac_exeext
27040 if { (ac_try="$ac_link"
27041 case "(($ac_try" in
27042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27043 *) ac_try_echo=$ac_try;;
27045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27046 (eval "$ac_link") 2>&5
27048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27049 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27050 { (case "(($ac_try" in
27051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27052 *) ac_try_echo=$ac_try;;
27054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27055 (eval "$ac_try") 2>&5
27057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27058 (exit $ac_status); }; }; then
27059 ac_cv_sizeof_boolean=`cat conftest.val`
27061 echo "$as_me: program exited with status $ac_status" >&5
27062 echo "$as_me: failed program was:" >&5
27063 sed 's/^/| /' conftest.$ac_ext >&5
27065 ( exit $ac_status )
27066 if test "$ac_cv_type_boolean" = yes; then
27067 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27068 See \`config.log' for more details." >&5
27069 echo "$as_me: error: cannot compute sizeof (boolean)
27070 See \`config.log' for more details." >&2;}
27071 { (exit 77); exit 77; }; }
27073 ac_cv_sizeof_boolean=0
27076 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27080 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27081 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27085 cat >>confdefs.h <<_ACEOF
27086 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27090 cat >>confdefs.h <<_ACEOF
27091 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27105 TIFF_PREREQ_LINKS=-lm
27106 if test "$wxUSE_LIBTIFF" != "no" ; then
27107 cat >>confdefs.h <<\_ACEOF
27108 #define wxUSE_LIBTIFF 1
27112 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27113 if test "$wxUSE_LIBJPEG" = "sys"; then
27114 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27116 if test "$wxUSE_ZLIB" = "sys"; then
27117 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27119 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27120 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27121 if test "${ac_cv_header_tiffio_h+set}" = set; then
27122 echo $ECHO_N "(cached) $ECHO_C" >&6
27124 cat >conftest.$ac_ext <<_ACEOF
27127 cat confdefs.h >>conftest.$ac_ext
27128 cat >>conftest.$ac_ext <<_ACEOF
27129 /* end confdefs.h. */
27133 #include <tiffio.h>
27135 rm -f conftest.$ac_objext
27136 if { (ac_try="$ac_compile"
27137 case "(($ac_try" in
27138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27139 *) ac_try_echo=$ac_try;;
27141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27142 (eval "$ac_compile") 2>conftest.er1
27144 grep -v '^ *+' conftest.er1 >conftest.err
27146 cat conftest.err >&5
27147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27148 (exit $ac_status); } && {
27149 test -z "$ac_c_werror_flag" ||
27150 test ! -s conftest.err
27151 } && test -s conftest.$ac_objext; then
27152 ac_cv_header_tiffio_h=yes
27154 echo "$as_me: failed program was:" >&5
27155 sed 's/^/| /' conftest.$ac_ext >&5
27157 ac_cv_header_tiffio_h=no
27160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27162 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27163 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27164 if test $ac_cv_header_tiffio_h = yes; then
27166 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27167 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27168 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27169 echo $ECHO_N "(cached) $ECHO_C" >&6
27171 ac_check_lib_save_LIBS=$LIBS
27172 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27173 cat >conftest.$ac_ext <<_ACEOF
27176 cat confdefs.h >>conftest.$ac_ext
27177 cat >>conftest.$ac_ext <<_ACEOF
27178 /* end confdefs.h. */
27180 /* Override any GCC internal prototype to avoid an error.
27181 Use char because int might match the return type of a GCC
27182 builtin and then its argument prototype would still apply. */
27190 return TIFFError ();
27195 rm -f conftest.$ac_objext conftest$ac_exeext
27196 if { (ac_try="$ac_link"
27197 case "(($ac_try" in
27198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27199 *) ac_try_echo=$ac_try;;
27201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27202 (eval "$ac_link") 2>conftest.er1
27204 grep -v '^ *+' conftest.er1 >conftest.err
27206 cat conftest.err >&5
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); } && {
27209 test -z "$ac_c_werror_flag" ||
27210 test ! -s conftest.err
27211 } && test -s conftest$ac_exeext &&
27212 $as_test_x conftest$ac_exeext; then
27213 ac_cv_lib_tiff_TIFFError=yes
27215 echo "$as_me: failed program was:" >&5
27216 sed 's/^/| /' conftest.$ac_ext >&5
27218 ac_cv_lib_tiff_TIFFError=no
27221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27222 conftest$ac_exeext conftest.$ac_ext
27223 LIBS=$ac_check_lib_save_LIBS
27225 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27226 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27227 if test $ac_cv_lib_tiff_TIFFError = yes; then
27228 TIFF_LINK=" -ltiff"
27236 if test "x$TIFF_LINK" = "x" ; then
27237 if test "$wxUSE_LIBTIFF" = "sys" ; then
27238 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27239 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27240 { (exit 1); exit 1; }; }
27242 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27243 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27244 wxUSE_LIBTIFF=builtin
27250 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27251 if test "$wxUSE_LIBJPEG" = "no"; then
27252 ac_configure_args="$ac_configure_args --disable-jpeg"
27254 subdirs="$subdirs src/tiff"
27260 if test "$wxUSE_WCHAR_T" != "yes"; then
27261 if test "$wxUSE_EXPAT" != "no"; then
27262 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27263 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27266 if test "$wxUSE_XML" != "no"; then
27267 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27268 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27273 if test "$wxUSE_EXPAT" != "no"; then
27275 cat >>confdefs.h <<\_ACEOF
27276 #define wxUSE_EXPAT 1
27279 cat >>confdefs.h <<\_ACEOF
27280 #define wxUSE_XML 1
27284 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27285 { echo "$as_me:$LINENO: checking for expat.h" >&5
27286 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27287 if test "${ac_cv_header_expat_h+set}" = set; then
27288 echo $ECHO_N "(cached) $ECHO_C" >&6
27290 cat >conftest.$ac_ext <<_ACEOF
27293 cat confdefs.h >>conftest.$ac_ext
27294 cat >>conftest.$ac_ext <<_ACEOF
27295 /* end confdefs.h. */
27300 rm -f conftest.$ac_objext
27301 if { (ac_try="$ac_compile"
27302 case "(($ac_try" in
27303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27304 *) ac_try_echo=$ac_try;;
27306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27307 (eval "$ac_compile") 2>conftest.er1
27309 grep -v '^ *+' conftest.er1 >conftest.err
27311 cat conftest.err >&5
27312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27313 (exit $ac_status); } && {
27314 test -z "$ac_c_werror_flag" ||
27315 test ! -s conftest.err
27316 } && test -s conftest.$ac_objext; then
27317 ac_cv_header_expat_h=yes
27319 echo "$as_me: failed program was:" >&5
27320 sed 's/^/| /' conftest.$ac_ext >&5
27322 ac_cv_header_expat_h=no
27325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27327 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27328 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27329 if test $ac_cv_header_expat_h = yes; then
27334 if test "x$found_expat_h" = "x1"; then
27335 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27336 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27337 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27338 echo $ECHO_N "(cached) $ECHO_C" >&6
27342 ac_cpp='$CXXCPP $CPPFLAGS'
27343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27347 cat >conftest.$ac_ext <<_ACEOF
27350 cat confdefs.h >>conftest.$ac_ext
27351 cat >>conftest.$ac_ext <<_ACEOF
27352 /* end confdefs.h. */
27362 rm -f conftest.$ac_objext
27363 if { (ac_try="$ac_compile"
27364 case "(($ac_try" in
27365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27366 *) ac_try_echo=$ac_try;;
27368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27369 (eval "$ac_compile") 2>conftest.er1
27371 grep -v '^ *+' conftest.er1 >conftest.err
27373 cat conftest.err >&5
27374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27375 (exit $ac_status); } && {
27376 test -z "$ac_cxx_werror_flag" ||
27377 test ! -s conftest.err
27378 } && test -s conftest.$ac_objext; then
27379 wx_cv_expat_is_not_broken=yes
27381 echo "$as_me: failed program was:" >&5
27382 sed 's/^/| /' conftest.$ac_ext >&5
27384 wx_cv_expat_is_not_broken=no
27388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27390 ac_cpp='$CPP $CPPFLAGS'
27391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27398 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27399 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27400 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27401 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27402 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27403 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27404 echo $ECHO_N "(cached) $ECHO_C" >&6
27406 ac_check_lib_save_LIBS=$LIBS
27407 LIBS="-lexpat $LIBS"
27408 cat >conftest.$ac_ext <<_ACEOF
27411 cat confdefs.h >>conftest.$ac_ext
27412 cat >>conftest.$ac_ext <<_ACEOF
27413 /* end confdefs.h. */
27415 /* Override any GCC internal prototype to avoid an error.
27416 Use char because int might match the return type of a GCC
27417 builtin and then its argument prototype would still apply. */
27421 char XML_ParserCreate ();
27425 return XML_ParserCreate ();
27430 rm -f conftest.$ac_objext conftest$ac_exeext
27431 if { (ac_try="$ac_link"
27432 case "(($ac_try" in
27433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27434 *) ac_try_echo=$ac_try;;
27436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27437 (eval "$ac_link") 2>conftest.er1
27439 grep -v '^ *+' conftest.er1 >conftest.err
27441 cat conftest.err >&5
27442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27443 (exit $ac_status); } && {
27444 test -z "$ac_c_werror_flag" ||
27445 test ! -s conftest.err
27446 } && test -s conftest$ac_exeext &&
27447 $as_test_x conftest$ac_exeext; then
27448 ac_cv_lib_expat_XML_ParserCreate=yes
27450 echo "$as_me: failed program was:" >&5
27451 sed 's/^/| /' conftest.$ac_ext >&5
27453 ac_cv_lib_expat_XML_ParserCreate=no
27456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27457 conftest$ac_exeext conftest.$ac_ext
27458 LIBS=$ac_check_lib_save_LIBS
27460 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27461 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27462 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27463 EXPAT_LINK=" -lexpat"
27468 if test "x$EXPAT_LINK" = "x" ; then
27469 if test "$wxUSE_EXPAT" = "sys" ; then
27470 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27471 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27472 { (exit 1); exit 1; }; }
27474 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27475 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27476 wxUSE_EXPAT=builtin
27482 if test "$wxUSE_EXPAT" = "builtin" ; then
27483 subdirs="$subdirs src/expat"
27490 if test "$wxUSE_LIBMSPACK" != "no"; then
27491 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27492 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27493 if test "${ac_cv_header_mspack_h+set}" = set; then
27494 echo $ECHO_N "(cached) $ECHO_C" >&6
27496 cat >conftest.$ac_ext <<_ACEOF
27499 cat confdefs.h >>conftest.$ac_ext
27500 cat >>conftest.$ac_ext <<_ACEOF
27501 /* end confdefs.h. */
27504 #include <mspack.h>
27506 rm -f conftest.$ac_objext
27507 if { (ac_try="$ac_compile"
27508 case "(($ac_try" in
27509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27510 *) ac_try_echo=$ac_try;;
27512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27513 (eval "$ac_compile") 2>conftest.er1
27515 grep -v '^ *+' conftest.er1 >conftest.err
27517 cat conftest.err >&5
27518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27519 (exit $ac_status); } && {
27520 test -z "$ac_c_werror_flag" ||
27521 test ! -s conftest.err
27522 } && test -s conftest.$ac_objext; then
27523 ac_cv_header_mspack_h=yes
27525 echo "$as_me: failed program was:" >&5
27526 sed 's/^/| /' conftest.$ac_ext >&5
27528 ac_cv_header_mspack_h=no
27531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27533 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27534 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27535 if test $ac_cv_header_mspack_h = yes; then
27540 if test "x$found_mspack_h" = "x1"; then
27541 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27542 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27543 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27544 echo $ECHO_N "(cached) $ECHO_C" >&6
27546 ac_check_lib_save_LIBS=$LIBS
27547 LIBS="-lmspack $LIBS"
27548 cat >conftest.$ac_ext <<_ACEOF
27551 cat confdefs.h >>conftest.$ac_ext
27552 cat >>conftest.$ac_ext <<_ACEOF
27553 /* end confdefs.h. */
27555 /* Override any GCC internal prototype to avoid an error.
27556 Use char because int might match the return type of a GCC
27557 builtin and then its argument prototype would still apply. */
27561 char mspack_create_chm_decompressor ();
27565 return mspack_create_chm_decompressor ();
27570 rm -f conftest.$ac_objext conftest$ac_exeext
27571 if { (ac_try="$ac_link"
27572 case "(($ac_try" in
27573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27574 *) ac_try_echo=$ac_try;;
27576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27577 (eval "$ac_link") 2>conftest.er1
27579 grep -v '^ *+' conftest.er1 >conftest.err
27581 cat conftest.err >&5
27582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27583 (exit $ac_status); } && {
27584 test -z "$ac_c_werror_flag" ||
27585 test ! -s conftest.err
27586 } && test -s conftest$ac_exeext &&
27587 $as_test_x conftest$ac_exeext; then
27588 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27590 echo "$as_me: failed program was:" >&5
27591 sed 's/^/| /' conftest.$ac_ext >&5
27593 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27597 conftest$ac_exeext conftest.$ac_ext
27598 LIBS=$ac_check_lib_save_LIBS
27600 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27601 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27602 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27603 MSPACK_LINK=" -lmspack"
27607 if test "x$MSPACK_LINK" = "x" ; then
27612 if test "$wxUSE_LIBMSPACK" != "no"; then
27613 cat >>confdefs.h <<\_ACEOF
27614 #define wxUSE_LIBMSPACK 1
27628 if test "$USE_WIN32" = 1 ; then
27630 for ac_header in w32api.h
27632 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27633 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27635 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27636 echo $ECHO_N "(cached) $ECHO_C" >&6
27638 cat >conftest.$ac_ext <<_ACEOF
27641 cat confdefs.h >>conftest.$ac_ext
27642 cat >>conftest.$ac_ext <<_ACEOF
27643 /* end confdefs.h. */
27646 #include <$ac_header>
27648 rm -f conftest.$ac_objext
27649 if { (ac_try="$ac_compile"
27650 case "(($ac_try" in
27651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27652 *) ac_try_echo=$ac_try;;
27654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27655 (eval "$ac_compile") 2>conftest.er1
27657 grep -v '^ *+' conftest.er1 >conftest.err
27659 cat conftest.err >&5
27660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27661 (exit $ac_status); } && {
27662 test -z "$ac_c_werror_flag" ||
27663 test ! -s conftest.err
27664 } && test -s conftest.$ac_objext; then
27665 eval "$as_ac_Header=yes"
27667 echo "$as_me: failed program was:" >&5
27668 sed 's/^/| /' conftest.$ac_ext >&5
27670 eval "$as_ac_Header=no"
27673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27675 ac_res=`eval echo '${'$as_ac_Header'}'`
27676 { echo "$as_me:$LINENO: result: $ac_res" >&5
27677 echo "${ECHO_T}$ac_res" >&6; }
27678 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27679 cat >>confdefs.h <<_ACEOF
27680 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27687 { echo "$as_me:$LINENO: checking for windows.h" >&5
27688 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27689 if test "${ac_cv_header_windows_h+set}" = set; then
27690 echo $ECHO_N "(cached) $ECHO_C" >&6
27692 cat >conftest.$ac_ext <<_ACEOF
27695 cat confdefs.h >>conftest.$ac_ext
27696 cat >>conftest.$ac_ext <<_ACEOF
27697 /* end confdefs.h. */
27700 #include <windows.h>
27702 rm -f conftest.$ac_objext
27703 if { (ac_try="$ac_compile"
27704 case "(($ac_try" in
27705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27706 *) ac_try_echo=$ac_try;;
27708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27709 (eval "$ac_compile") 2>conftest.er1
27711 grep -v '^ *+' conftest.er1 >conftest.err
27713 cat conftest.err >&5
27714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27715 (exit $ac_status); } && {
27716 test -z "$ac_c_werror_flag" ||
27717 test ! -s conftest.err
27718 } && test -s conftest.$ac_objext; then
27719 ac_cv_header_windows_h=yes
27721 echo "$as_me: failed program was:" >&5
27722 sed 's/^/| /' conftest.$ac_ext >&5
27724 ac_cv_header_windows_h=no
27727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27729 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27730 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27731 if test $ac_cv_header_windows_h = yes; then
27735 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27736 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27737 { (exit 1); exit 1; }; }
27743 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27745 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27746 LIBS="$LIBS -loleacc"
27751 LIBS="$LIBS -lkernel32 -luser32"
27754 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27755 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27757 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27759 WIN32INSTALL=win32install
27761 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27762 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27763 if test "${ac_cv_header_pbt_h+set}" = set; then
27764 echo $ECHO_N "(cached) $ECHO_C" >&6
27766 cat >conftest.$ac_ext <<_ACEOF
27769 cat confdefs.h >>conftest.$ac_ext
27770 cat >>conftest.$ac_ext <<_ACEOF
27771 /* end confdefs.h. */
27776 rm -f conftest.$ac_objext
27777 if { (ac_try="$ac_compile"
27778 case "(($ac_try" in
27779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27780 *) ac_try_echo=$ac_try;;
27782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27783 (eval "$ac_compile") 2>conftest.er1
27785 grep -v '^ *+' conftest.er1 >conftest.err
27787 cat conftest.err >&5
27788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27789 (exit $ac_status); } && {
27790 test -z "$ac_c_werror_flag" ||
27791 test ! -s conftest.err
27792 } && test -s conftest.$ac_objext; then
27793 ac_cv_header_pbt_h=yes
27795 echo "$as_me: failed program was:" >&5
27796 sed 's/^/| /' conftest.$ac_ext >&5
27798 ac_cv_header_pbt_h=no
27801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27803 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27804 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27805 if test $ac_cv_header_pbt_h = yes; then
27808 cat >>confdefs.h <<\_ACEOF
27809 #define NEED_PBT_H 1
27817 if test "$wxUSE_GUI" = "yes"; then
27827 if test "$wxUSE_COCOA" = 1 ; then
27828 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27829 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27830 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27831 wxUSE_PRINTING_ARCHITECTURE=no
27833 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27834 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27835 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27836 wxUSE_DRAG_AND_DROP=no
27838 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27839 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27840 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27845 if test "$wxUSE_MSW" = 1 ; then
27851 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27855 if test "$wxUSE_GTK" = 1; then
27856 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27857 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27859 gtk_version_cached=1
27860 if test "${wx_cv_lib_gtk+set}" = set; then
27861 echo $ECHO_N "(cached) $ECHO_C" >&6
27864 gtk_version_cached=0
27865 { echo "$as_me:$LINENO: result: " >&5
27866 echo "${ECHO_T}" >&6; }
27869 if test "$wxUSE_THREADS" = "yes"; then
27870 GTK_MODULES=gthread
27874 if test "x$wxGTK_VERSION" != "x1"
27878 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27883 # Check whether --enable-gtktest was given.
27884 if test "${enable_gtktest+set}" = set; then
27885 enableval=$enable_gtktest;
27891 pkg_config_args=gtk+-2.0
27892 for module in . $GTK_MODULES
27896 pkg_config_args="$pkg_config_args gthread-2.0"
27903 # Extract the first word of "pkg-config", so it can be a program name with args.
27904 set dummy pkg-config; ac_word=$2
27905 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27907 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27908 echo $ECHO_N "(cached) $ECHO_C" >&6
27910 case $PKG_CONFIG in
27912 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27916 for as_dir in $PATH
27919 test -z "$as_dir" && as_dir=.
27920 for ac_exec_ext in '' $ac_executable_extensions; do
27921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27922 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27930 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27934 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27935 if test -n "$PKG_CONFIG"; then
27936 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27937 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27939 { echo "$as_me:$LINENO: result: no" >&5
27940 echo "${ECHO_T}no" >&6; }
27945 if test x$PKG_CONFIG != xno ; then
27946 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27949 echo "*** pkg-config too old; version 0.7 or better required."
27957 min_gtk_version=2.4.0
27958 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27959 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27961 if test x$PKG_CONFIG != xno ; then
27962 ## don't try to run the test against uninstalled libtool libs
27963 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27964 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27968 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27975 if test x"$no_gtk" = x ; then
27976 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27977 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27978 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27979 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27980 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27981 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27982 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27983 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27984 if test "x$enable_gtktest" = "xyes" ; then
27985 ac_save_CFLAGS="$CFLAGS"
27986 ac_save_LIBS="$LIBS"
27987 CFLAGS="$CFLAGS $GTK_CFLAGS"
27988 LIBS="$GTK_LIBS $LIBS"
27990 if test "$cross_compiling" = yes; then
27991 echo $ac_n "cross compiling; assumed OK... $ac_c"
27993 cat >conftest.$ac_ext <<_ACEOF
27996 cat confdefs.h >>conftest.$ac_ext
27997 cat >>conftest.$ac_ext <<_ACEOF
27998 /* end confdefs.h. */
28000 #include <gtk/gtk.h>
28002 #include <stdlib.h>
28007 int major, minor, micro;
28010 system ("touch conf.gtktest");
28012 /* HP/UX 9 (%@#!) writes to sscanf strings */
28013 tmp_version = g_strdup("$min_gtk_version");
28014 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28015 printf("%s, bad version string\n", "$min_gtk_version");
28019 if ((gtk_major_version != $gtk_config_major_version) ||
28020 (gtk_minor_version != $gtk_config_minor_version) ||
28021 (gtk_micro_version != $gtk_config_micro_version))
28023 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28024 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28025 gtk_major_version, gtk_minor_version, gtk_micro_version);
28026 printf ("*** was found! If pkg-config was correct, then it is best\n");
28027 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28028 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28029 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28030 printf("*** required on your system.\n");
28031 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28032 printf("*** to point to the correct configuration files\n");
28034 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28035 (gtk_minor_version != GTK_MINOR_VERSION) ||
28036 (gtk_micro_version != GTK_MICRO_VERSION))
28038 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28039 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28040 printf("*** library (version %d.%d.%d)\n",
28041 gtk_major_version, gtk_minor_version, gtk_micro_version);
28045 if ((gtk_major_version > major) ||
28046 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28047 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28053 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28054 gtk_major_version, gtk_minor_version, gtk_micro_version);
28055 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28056 major, minor, micro);
28057 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28059 printf("*** If you have already installed a sufficiently new version, this error\n");
28060 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28061 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28062 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28063 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28064 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28065 printf("*** so that the correct libraries are found at run-time))\n");
28072 rm -f conftest$ac_exeext
28073 if { (ac_try="$ac_link"
28074 case "(($ac_try" in
28075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28076 *) ac_try_echo=$ac_try;;
28078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28079 (eval "$ac_link") 2>&5
28081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28082 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28083 { (case "(($ac_try" in
28084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28085 *) ac_try_echo=$ac_try;;
28087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28088 (eval "$ac_try") 2>&5
28090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28091 (exit $ac_status); }; }; then
28094 echo "$as_me: program exited with status $ac_status" >&5
28095 echo "$as_me: failed program was:" >&5
28096 sed 's/^/| /' conftest.$ac_ext >&5
28098 ( exit $ac_status )
28101 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28105 CFLAGS="$ac_save_CFLAGS"
28106 LIBS="$ac_save_LIBS"
28109 if test "x$no_gtk" = x ; then
28110 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28111 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28114 { echo "$as_me:$LINENO: result: no" >&5
28115 echo "${ECHO_T}no" >&6; }
28116 if test "$PKG_CONFIG" = "no" ; then
28117 echo "*** A new enough version of pkg-config was not found."
28118 echo "*** See http://pkgconfig.sourceforge.net"
28120 if test -f conf.gtktest ; then
28123 echo "*** Could not run GTK+ test program, checking why..."
28124 ac_save_CFLAGS="$CFLAGS"
28125 ac_save_LIBS="$LIBS"
28126 CFLAGS="$CFLAGS $GTK_CFLAGS"
28127 LIBS="$LIBS $GTK_LIBS"
28128 cat >conftest.$ac_ext <<_ACEOF
28131 cat confdefs.h >>conftest.$ac_ext
28132 cat >>conftest.$ac_ext <<_ACEOF
28133 /* end confdefs.h. */
28135 #include <gtk/gtk.h>
28141 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28146 rm -f conftest.$ac_objext conftest$ac_exeext
28147 if { (ac_try="$ac_link"
28148 case "(($ac_try" in
28149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28150 *) ac_try_echo=$ac_try;;
28152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28153 (eval "$ac_link") 2>conftest.er1
28155 grep -v '^ *+' conftest.er1 >conftest.err
28157 cat conftest.err >&5
28158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28159 (exit $ac_status); } && {
28160 test -z "$ac_c_werror_flag" ||
28161 test ! -s conftest.err
28162 } && test -s conftest$ac_exeext &&
28163 $as_test_x conftest$ac_exeext; then
28164 echo "*** The test program compiled, but did not run. This usually means"
28165 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28166 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28167 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28168 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28169 echo "*** is required on your system"
28171 echo "*** If you have an old version installed, it is best to remove it, although"
28172 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28174 echo "$as_me: failed program was:" >&5
28175 sed 's/^/| /' conftest.$ac_ext >&5
28177 echo "*** The test program failed to compile or link. See the file config.log for the"
28178 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28182 conftest$ac_exeext conftest.$ac_ext
28183 CFLAGS="$ac_save_CFLAGS"
28184 LIBS="$ac_save_LIBS"
28198 if test "$wxUSE_SHARED" != "yes"; then
28199 GTK_LIBS="$GTK_LIBS -lX11"
28204 if test -z "$wx_cv_lib_gtk"; then
28205 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28207 # Check whether --with-gtk-prefix was given.
28208 if test "${with_gtk_prefix+set}" = set; then
28209 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28211 gtk_config_prefix=""
28215 # Check whether --with-gtk-exec-prefix was given.
28216 if test "${with_gtk_exec_prefix+set}" = set; then
28217 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28219 gtk_config_exec_prefix=""
28222 # Check whether --enable-gtktest was given.
28223 if test "${enable_gtktest+set}" = set; then
28224 enableval=$enable_gtktest;
28230 for module in . $GTK_MODULES
28234 gtk_config_args="$gtk_config_args gthread"
28239 if test x$gtk_config_exec_prefix != x ; then
28240 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28241 if test x${GTK_CONFIG+set} != xset ; then
28242 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28245 if test x$gtk_config_prefix != x ; then
28246 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28247 if test x${GTK_CONFIG+set} != xset ; then
28248 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28252 # Extract the first word of "gtk-config", so it can be a program name with args.
28253 set dummy gtk-config; ac_word=$2
28254 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28256 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28257 echo $ECHO_N "(cached) $ECHO_C" >&6
28259 case $GTK_CONFIG in
28261 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28265 for as_dir in $PATH
28268 test -z "$as_dir" && as_dir=.
28269 for ac_exec_ext in '' $ac_executable_extensions; do
28270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28271 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28279 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28283 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28284 if test -n "$GTK_CONFIG"; then
28285 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28286 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28288 { echo "$as_me:$LINENO: result: no" >&5
28289 echo "${ECHO_T}no" >&6; }
28293 min_gtk_version=1.2.7
28294 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28295 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28297 if test "$GTK_CONFIG" = "no" ; then
28300 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28301 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28302 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28303 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28304 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28305 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28306 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28307 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28308 if test "x$enable_gtktest" = "xyes" ; then
28309 ac_save_CFLAGS="$CFLAGS"
28310 ac_save_LIBS="$LIBS"
28311 CFLAGS="$CFLAGS $GTK_CFLAGS"
28312 LIBS="$GTK_LIBS $LIBS"
28314 if test "$cross_compiling" = yes; then
28315 echo $ac_n "cross compiling; assumed OK... $ac_c"
28317 cat >conftest.$ac_ext <<_ACEOF
28320 cat confdefs.h >>conftest.$ac_ext
28321 cat >>conftest.$ac_ext <<_ACEOF
28322 /* end confdefs.h. */
28324 #include <gtk/gtk.h>
28326 #include <stdlib.h>
28331 int major, minor, micro;
28334 system ("touch conf.gtktest");
28336 /* HP/UX 9 (%@#!) writes to sscanf strings */
28337 tmp_version = g_strdup("$min_gtk_version");
28338 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28339 printf("%s, bad version string\n", "$min_gtk_version");
28343 if ((gtk_major_version != $gtk_config_major_version) ||
28344 (gtk_minor_version != $gtk_config_minor_version) ||
28345 (gtk_micro_version != $gtk_config_micro_version))
28347 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28348 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28349 gtk_major_version, gtk_minor_version, gtk_micro_version);
28350 printf ("*** was found! If gtk-config was correct, then it is best\n");
28351 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28352 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28353 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28354 printf("*** required on your system.\n");
28355 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28356 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28357 printf("*** before re-running configure\n");
28359 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28360 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28361 (gtk_minor_version != GTK_MINOR_VERSION) ||
28362 (gtk_micro_version != GTK_MICRO_VERSION))
28364 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28365 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28366 printf("*** library (version %d.%d.%d)\n",
28367 gtk_major_version, gtk_minor_version, gtk_micro_version);
28369 #endif /* defined (GTK_MAJOR_VERSION) ... */
28372 if ((gtk_major_version > major) ||
28373 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28374 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28380 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28381 gtk_major_version, gtk_minor_version, gtk_micro_version);
28382 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28383 major, minor, micro);
28384 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28386 printf("*** If you have already installed a sufficiently new version, this error\n");
28387 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28388 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28389 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28390 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28391 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28392 printf("*** so that the correct libraries are found at run-time))\n");
28399 rm -f conftest$ac_exeext
28400 if { (ac_try="$ac_link"
28401 case "(($ac_try" in
28402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28403 *) ac_try_echo=$ac_try;;
28405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28406 (eval "$ac_link") 2>&5
28408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28409 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28410 { (case "(($ac_try" in
28411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28412 *) ac_try_echo=$ac_try;;
28414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28415 (eval "$ac_try") 2>&5
28417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28418 (exit $ac_status); }; }; then
28421 echo "$as_me: program exited with status $ac_status" >&5
28422 echo "$as_me: failed program was:" >&5
28423 sed 's/^/| /' conftest.$ac_ext >&5
28425 ( exit $ac_status )
28428 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28432 CFLAGS="$ac_save_CFLAGS"
28433 LIBS="$ac_save_LIBS"
28436 if test "x$no_gtk" = x ; then
28437 { echo "$as_me:$LINENO: result: yes" >&5
28438 echo "${ECHO_T}yes" >&6; }
28439 wx_cv_lib_gtk=1.2.7
28441 { echo "$as_me:$LINENO: result: no" >&5
28442 echo "${ECHO_T}no" >&6; }
28443 if test "$GTK_CONFIG" = "no" ; then
28444 echo "*** The gtk-config script installed by GTK could not be found"
28445 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28446 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28447 echo "*** full path to gtk-config."
28449 if test -f conf.gtktest ; then
28452 echo "*** Could not run GTK test program, checking why..."
28453 CFLAGS="$CFLAGS $GTK_CFLAGS"
28454 LIBS="$LIBS $GTK_LIBS"
28455 cat >conftest.$ac_ext <<_ACEOF
28458 cat confdefs.h >>conftest.$ac_ext
28459 cat >>conftest.$ac_ext <<_ACEOF
28460 /* end confdefs.h. */
28462 #include <gtk/gtk.h>
28468 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28473 rm -f conftest.$ac_objext conftest$ac_exeext
28474 if { (ac_try="$ac_link"
28475 case "(($ac_try" in
28476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28477 *) ac_try_echo=$ac_try;;
28479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28480 (eval "$ac_link") 2>conftest.er1
28482 grep -v '^ *+' conftest.er1 >conftest.err
28484 cat conftest.err >&5
28485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28486 (exit $ac_status); } && {
28487 test -z "$ac_c_werror_flag" ||
28488 test ! -s conftest.err
28489 } && test -s conftest$ac_exeext &&
28490 $as_test_x conftest$ac_exeext; then
28491 echo "*** The test program compiled, but did not run. This usually means"
28492 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28493 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28494 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28495 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28496 echo "*** is required on your system"
28498 echo "*** If you have an old version installed, it is best to remove it, although"
28499 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28501 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28502 echo "*** came with the system with the command"
28504 echo "*** rpm --erase --nodeps gtk gtk-devel"
28506 echo "$as_me: failed program was:" >&5
28507 sed 's/^/| /' conftest.$ac_ext >&5
28509 echo "*** The test program failed to compile or link. See the file config.log for the"
28510 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28511 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28512 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28516 conftest$ac_exeext conftest.$ac_ext
28517 CFLAGS="$ac_save_CFLAGS"
28518 LIBS="$ac_save_LIBS"
28530 if test -z "$wx_cv_lib_gtk"; then
28532 # Check whether --with-gtk-prefix was given.
28533 if test "${with_gtk_prefix+set}" = set; then
28534 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28536 gtk_config_prefix=""
28540 # Check whether --with-gtk-exec-prefix was given.
28541 if test "${with_gtk_exec_prefix+set}" = set; then
28542 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28544 gtk_config_exec_prefix=""
28547 # Check whether --enable-gtktest was given.
28548 if test "${enable_gtktest+set}" = set; then
28549 enableval=$enable_gtktest;
28555 for module in . $GTK_MODULES
28559 gtk_config_args="$gtk_config_args gthread"
28564 if test x$gtk_config_exec_prefix != x ; then
28565 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28566 if test x${GTK_CONFIG+set} != xset ; then
28567 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28570 if test x$gtk_config_prefix != x ; then
28571 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28572 if test x${GTK_CONFIG+set} != xset ; then
28573 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28577 # Extract the first word of "gtk-config", so it can be a program name with args.
28578 set dummy gtk-config; ac_word=$2
28579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28581 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28582 echo $ECHO_N "(cached) $ECHO_C" >&6
28584 case $GTK_CONFIG in
28586 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28590 for as_dir in $PATH
28593 test -z "$as_dir" && as_dir=.
28594 for ac_exec_ext in '' $ac_executable_extensions; do
28595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28596 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28604 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28608 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28609 if test -n "$GTK_CONFIG"; then
28610 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28611 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28613 { echo "$as_me:$LINENO: result: no" >&5
28614 echo "${ECHO_T}no" >&6; }
28618 min_gtk_version=1.2.3
28619 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28620 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28622 if test "$GTK_CONFIG" = "no" ; then
28625 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28626 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28627 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28628 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28629 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28630 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28631 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28632 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28633 if test "x$enable_gtktest" = "xyes" ; then
28634 ac_save_CFLAGS="$CFLAGS"
28635 ac_save_LIBS="$LIBS"
28636 CFLAGS="$CFLAGS $GTK_CFLAGS"
28637 LIBS="$GTK_LIBS $LIBS"
28639 if test "$cross_compiling" = yes; then
28640 echo $ac_n "cross compiling; assumed OK... $ac_c"
28642 cat >conftest.$ac_ext <<_ACEOF
28645 cat confdefs.h >>conftest.$ac_ext
28646 cat >>conftest.$ac_ext <<_ACEOF
28647 /* end confdefs.h. */
28649 #include <gtk/gtk.h>
28651 #include <stdlib.h>
28656 int major, minor, micro;
28659 system ("touch conf.gtktest");
28661 /* HP/UX 9 (%@#!) writes to sscanf strings */
28662 tmp_version = g_strdup("$min_gtk_version");
28663 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28664 printf("%s, bad version string\n", "$min_gtk_version");
28668 if ((gtk_major_version != $gtk_config_major_version) ||
28669 (gtk_minor_version != $gtk_config_minor_version) ||
28670 (gtk_micro_version != $gtk_config_micro_version))
28672 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28673 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28674 gtk_major_version, gtk_minor_version, gtk_micro_version);
28675 printf ("*** was found! If gtk-config was correct, then it is best\n");
28676 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28677 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28678 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28679 printf("*** required on your system.\n");
28680 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28681 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28682 printf("*** before re-running configure\n");
28684 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28685 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28686 (gtk_minor_version != GTK_MINOR_VERSION) ||
28687 (gtk_micro_version != GTK_MICRO_VERSION))
28689 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28690 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28691 printf("*** library (version %d.%d.%d)\n",
28692 gtk_major_version, gtk_minor_version, gtk_micro_version);
28694 #endif /* defined (GTK_MAJOR_VERSION) ... */
28697 if ((gtk_major_version > major) ||
28698 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28699 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28705 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28706 gtk_major_version, gtk_minor_version, gtk_micro_version);
28707 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28708 major, minor, micro);
28709 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28711 printf("*** If you have already installed a sufficiently new version, this error\n");
28712 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28713 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28714 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28715 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28716 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28717 printf("*** so that the correct libraries are found at run-time))\n");
28724 rm -f conftest$ac_exeext
28725 if { (ac_try="$ac_link"
28726 case "(($ac_try" in
28727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28728 *) ac_try_echo=$ac_try;;
28730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28731 (eval "$ac_link") 2>&5
28733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28734 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28735 { (case "(($ac_try" in
28736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28737 *) ac_try_echo=$ac_try;;
28739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28740 (eval "$ac_try") 2>&5
28742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28743 (exit $ac_status); }; }; then
28746 echo "$as_me: program exited with status $ac_status" >&5
28747 echo "$as_me: failed program was:" >&5
28748 sed 's/^/| /' conftest.$ac_ext >&5
28750 ( exit $ac_status )
28753 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28757 CFLAGS="$ac_save_CFLAGS"
28758 LIBS="$ac_save_LIBS"
28761 if test "x$no_gtk" = x ; then
28762 { echo "$as_me:$LINENO: result: yes" >&5
28763 echo "${ECHO_T}yes" >&6; }
28764 wx_cv_lib_gtk=1.2.3
28766 { echo "$as_me:$LINENO: result: no" >&5
28767 echo "${ECHO_T}no" >&6; }
28768 if test "$GTK_CONFIG" = "no" ; then
28769 echo "*** The gtk-config script installed by GTK could not be found"
28770 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28771 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28772 echo "*** full path to gtk-config."
28774 if test -f conf.gtktest ; then
28777 echo "*** Could not run GTK test program, checking why..."
28778 CFLAGS="$CFLAGS $GTK_CFLAGS"
28779 LIBS="$LIBS $GTK_LIBS"
28780 cat >conftest.$ac_ext <<_ACEOF
28783 cat confdefs.h >>conftest.$ac_ext
28784 cat >>conftest.$ac_ext <<_ACEOF
28785 /* end confdefs.h. */
28787 #include <gtk/gtk.h>
28793 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28798 rm -f conftest.$ac_objext conftest$ac_exeext
28799 if { (ac_try="$ac_link"
28800 case "(($ac_try" in
28801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28802 *) ac_try_echo=$ac_try;;
28804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28805 (eval "$ac_link") 2>conftest.er1
28807 grep -v '^ *+' conftest.er1 >conftest.err
28809 cat conftest.err >&5
28810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28811 (exit $ac_status); } && {
28812 test -z "$ac_c_werror_flag" ||
28813 test ! -s conftest.err
28814 } && test -s conftest$ac_exeext &&
28815 $as_test_x conftest$ac_exeext; then
28816 echo "*** The test program compiled, but did not run. This usually means"
28817 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28818 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28819 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28820 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28821 echo "*** is required on your system"
28823 echo "*** If you have an old version installed, it is best to remove it, although"
28824 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28826 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28827 echo "*** came with the system with the command"
28829 echo "*** rpm --erase --nodeps gtk gtk-devel"
28831 echo "$as_me: failed program was:" >&5
28832 sed 's/^/| /' conftest.$ac_ext >&5
28834 echo "*** The test program failed to compile or link. See the file config.log for the"
28835 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28836 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28837 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28841 conftest$ac_exeext conftest.$ac_ext
28842 CFLAGS="$ac_save_CFLAGS"
28843 LIBS="$ac_save_LIBS"
28858 if test -z "$wx_cv_lib_gtk"; then
28861 wx_cv_cflags_gtk=$GTK_CFLAGS
28862 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28869 if test "$gtk_version_cached" = 1; then
28870 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28871 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28874 case "$wx_cv_lib_gtk" in
28883 *) { { echo "$as_me:$LINENO: error:
28884 The development files for GTK+ were not found. For GTK+ 2, please
28885 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28886 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28887 and that the version is 1.2.3 or above. Also check that the
28888 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28889 --libs' are in the LD_LIBRARY_PATH or equivalent.
28891 echo "$as_me: error:
28892 The development files for GTK+ were not found. For GTK+ 2, please
28893 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28894 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28895 and that the version is 1.2.3 or above. Also check that the
28896 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28897 --libs' are in the LD_LIBRARY_PATH or equivalent.
28899 { (exit 1); exit 1; }; }
28903 if test "$WXGTK2" = 1; then
28904 save_CFLAGS="$CFLAGS"
28906 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28907 LIBS="$LIBS $wx_cv_libs_gtk"
28909 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28910 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28911 cat >conftest.$ac_ext <<_ACEOF
28914 cat confdefs.h >>conftest.$ac_ext
28915 cat >>conftest.$ac_ext <<_ACEOF
28916 /* end confdefs.h. */
28918 #include <gtk/gtk.h>
28924 #if !GTK_CHECK_VERSION(2,10,0)
28932 rm -f conftest.$ac_objext
28933 if { (ac_try="$ac_compile"
28934 case "(($ac_try" in
28935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28936 *) ac_try_echo=$ac_try;;
28938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28939 (eval "$ac_compile") 2>conftest.er1
28941 grep -v '^ *+' conftest.er1 >conftest.err
28943 cat conftest.err >&5
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); } && {
28946 test -z "$ac_c_werror_flag" ||
28947 test ! -s conftest.err
28948 } && test -s conftest.$ac_objext; then
28950 cat >>confdefs.h <<\_ACEOF
28951 #define __WXGTK210__ 1
28954 cat >>confdefs.h <<\_ACEOF
28955 #define __WXGTK26__ 1
28958 { echo "$as_me:$LINENO: result: yes" >&5
28959 echo "${ECHO_T}yes" >&6; }
28963 echo "$as_me: failed program was:" >&5
28964 sed 's/^/| /' conftest.$ac_ext >&5
28967 { echo "$as_me:$LINENO: result: no" >&5
28968 echo "${ECHO_T}no" >&6; }
28973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28975 if test "$ac_wxgtk210" = 0; then
28976 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28977 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28978 cat >conftest.$ac_ext <<_ACEOF
28981 cat confdefs.h >>conftest.$ac_ext
28982 cat >>conftest.$ac_ext <<_ACEOF
28983 /* end confdefs.h. */
28985 #include <gtk/gtk.h>
28991 #if !GTK_CHECK_VERSION(2,6,0)
28999 rm -f conftest.$ac_objext
29000 if { (ac_try="$ac_compile"
29001 case "(($ac_try" in
29002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29003 *) ac_try_echo=$ac_try;;
29005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29006 (eval "$ac_compile") 2>conftest.er1
29008 grep -v '^ *+' conftest.er1 >conftest.err
29010 cat conftest.err >&5
29011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29012 (exit $ac_status); } && {
29013 test -z "$ac_c_werror_flag" ||
29014 test ! -s conftest.err
29015 } && test -s conftest.$ac_objext; then
29017 cat >>confdefs.h <<\_ACEOF
29018 #define __WXGTK26__ 1
29021 { echo "$as_me:$LINENO: result: yes" >&5
29022 echo "${ECHO_T}yes" >&6; }
29026 echo "$as_me: failed program was:" >&5
29027 sed 's/^/| /' conftest.$ac_ext >&5
29030 { echo "$as_me:$LINENO: result: no" >&5
29031 echo "${ECHO_T}no" >&6; }
29036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29039 CFLAGS="$save_CFLAGS"
29042 if test "$wxUSE_UNICODE" = "yes"; then
29043 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29044 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29048 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29049 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29050 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29051 echo $ECHO_N "(cached) $ECHO_C" >&6
29053 ac_check_lib_save_LIBS=$LIBS
29055 cat >conftest.$ac_ext <<_ACEOF
29058 cat confdefs.h >>conftest.$ac_ext
29059 cat >>conftest.$ac_ext <<_ACEOF
29060 /* end confdefs.h. */
29062 /* Override any GCC internal prototype to avoid an error.
29063 Use char because int might match the return type of a GCC
29064 builtin and then its argument prototype would still apply. */
29068 char gdk_im_open ();
29072 return gdk_im_open ();
29077 rm -f conftest.$ac_objext conftest$ac_exeext
29078 if { (ac_try="$ac_link"
29079 case "(($ac_try" in
29080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29081 *) ac_try_echo=$ac_try;;
29083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29084 (eval "$ac_link") 2>conftest.er1
29086 grep -v '^ *+' conftest.er1 >conftest.err
29088 cat conftest.err >&5
29089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29090 (exit $ac_status); } && {
29091 test -z "$ac_c_werror_flag" ||
29092 test ! -s conftest.err
29093 } && test -s conftest$ac_exeext &&
29094 $as_test_x conftest$ac_exeext; then
29095 ac_cv_lib_gdk_gdk_im_open=yes
29097 echo "$as_me: failed program was:" >&5
29098 sed 's/^/| /' conftest.$ac_ext >&5
29100 ac_cv_lib_gdk_gdk_im_open=no
29103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29104 conftest$ac_exeext conftest.$ac_ext
29105 LIBS=$ac_check_lib_save_LIBS
29107 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29108 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29109 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29110 cat >>confdefs.h <<\_ACEOF
29117 if test "$USE_DARWIN" != 1; then
29119 for ac_func in poll
29121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29122 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29124 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29125 echo $ECHO_N "(cached) $ECHO_C" >&6
29127 cat >conftest.$ac_ext <<_ACEOF
29130 cat confdefs.h >>conftest.$ac_ext
29131 cat >>conftest.$ac_ext <<_ACEOF
29132 /* end confdefs.h. */
29133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29135 #define $ac_func innocuous_$ac_func
29137 /* System header to define __stub macros and hopefully few prototypes,
29138 which can conflict with char $ac_func (); below.
29139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29140 <limits.h> exists even on freestanding compilers. */
29143 # include <limits.h>
29145 # include <assert.h>
29150 /* Override any GCC internal prototype to avoid an error.
29151 Use char because int might match the return type of a GCC
29152 builtin and then its argument prototype would still apply. */
29157 /* The GNU C library defines this for functions which it implements
29158 to always fail with ENOSYS. Some functions are actually named
29159 something starting with __ and the normal name is an alias. */
29160 #if defined __stub_$ac_func || defined __stub___$ac_func
29167 return $ac_func ();
29172 rm -f conftest.$ac_objext conftest$ac_exeext
29173 if { (ac_try="$ac_link"
29174 case "(($ac_try" in
29175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29176 *) ac_try_echo=$ac_try;;
29178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29179 (eval "$ac_link") 2>conftest.er1
29181 grep -v '^ *+' conftest.er1 >conftest.err
29183 cat conftest.err >&5
29184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29185 (exit $ac_status); } && {
29186 test -z "$ac_c_werror_flag" ||
29187 test ! -s conftest.err
29188 } && test -s conftest$ac_exeext &&
29189 $as_test_x conftest$ac_exeext; then
29190 eval "$as_ac_var=yes"
29192 echo "$as_me: failed program was:" >&5
29193 sed 's/^/| /' conftest.$ac_ext >&5
29195 eval "$as_ac_var=no"
29198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29199 conftest$ac_exeext conftest.$ac_ext
29201 ac_res=`eval echo '${'$as_ac_var'}'`
29202 { echo "$as_me:$LINENO: result: $ac_res" >&5
29203 echo "${ECHO_T}$ac_res" >&6; }
29204 if test `eval echo '${'$as_ac_var'}'` = yes; then
29205 cat >>confdefs.h <<_ACEOF
29206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29215 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29216 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29218 AFMINSTALL=afminstall
29222 if test "$wxUSE_GPE" = "yes"; then
29223 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29224 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29227 for ac_dir in $SEARCH_LIB;
29229 for ac_extension in a so sl dylib dll.a; do
29230 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29231 ac_find_libraries=$ac_dir
29237 if test "$ac_find_libraries" != "" ; then
29239 if test "$ac_find_libraries" = "default location"; then
29242 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29244 if test $result = 0; then
29247 ac_path_to_link=" -L$ac_find_libraries"
29251 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29253 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29254 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29256 { echo "$as_me:$LINENO: result: not found" >&5
29257 echo "${ECHO_T}not found" >&6; }
29263 if test "$wxUSE_MGL" = 1; then
29264 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29265 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29266 if test "x$MGL_ROOT" = x ; then
29267 { echo "$as_me:$LINENO: result: not found" >&5
29268 echo "${ECHO_T}not found" >&6; }
29269 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29270 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29271 { (exit 1); exit 1; }; }
29273 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29274 echo "${ECHO_T}$MGL_ROOT" >&6; }
29277 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29278 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29281 if test "x$wxUSE_SHARED" = xyes ; then
29282 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29284 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29288 mgl_os_candidates="dos32/dj2"
29291 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29292 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29293 { (exit 1); exit 1; }; }
29299 for mgl_os_i in $mgl_os_candidates ; do
29300 if test "x$mgl_os" = x ; then
29301 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29302 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29303 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29308 if test "x$mgl_lib_type" = x ; then
29309 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29310 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29311 mgl_lib_type=release
29318 if test "x$mgl_os" = x ; then
29319 { echo "$as_me:$LINENO: result: not found" >&5
29320 echo "${ECHO_T}not found" >&6; }
29321 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29322 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29323 { (exit 1); exit 1; }; }
29325 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29326 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29328 wxUSE_UNIVERSAL="yes"
29330 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29331 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29333 AFMINSTALL=afminstall
29338 if test "$wxUSE_DFB" = 1; then
29341 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29342 if test -n "$ac_tool_prefix"; then
29343 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29344 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29347 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29348 echo $ECHO_N "(cached) $ECHO_C" >&6
29350 case $PKG_CONFIG in
29352 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29356 for as_dir in $PATH
29359 test -z "$as_dir" && as_dir=.
29360 for ac_exec_ext in '' $ac_executable_extensions; do
29361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29362 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29373 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29374 if test -n "$PKG_CONFIG"; then
29375 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29376 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29378 { echo "$as_me:$LINENO: result: no" >&5
29379 echo "${ECHO_T}no" >&6; }
29384 if test -z "$ac_cv_path_PKG_CONFIG"; then
29385 ac_pt_PKG_CONFIG=$PKG_CONFIG
29386 # Extract the first word of "pkg-config", so it can be a program name with args.
29387 set dummy pkg-config; ac_word=$2
29388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29390 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29391 echo $ECHO_N "(cached) $ECHO_C" >&6
29393 case $ac_pt_PKG_CONFIG in
29395 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29399 for as_dir in $PATH
29402 test -z "$as_dir" && as_dir=.
29403 for ac_exec_ext in '' $ac_executable_extensions; do
29404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29405 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29416 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29417 if test -n "$ac_pt_PKG_CONFIG"; then
29418 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29419 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29421 { echo "$as_me:$LINENO: result: no" >&5
29422 echo "${ECHO_T}no" >&6; }
29425 if test "x$ac_pt_PKG_CONFIG" = x; then
29428 case $cross_compiling:$ac_tool_warned in
29430 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29431 whose name does not start with the host triplet. If you think this
29432 configuration is useful to you, please write to autoconf@gnu.org." >&5
29433 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29434 whose name does not start with the host triplet. If you think this
29435 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29436 ac_tool_warned=yes ;;
29438 PKG_CONFIG=$ac_pt_PKG_CONFIG
29441 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29445 if test -n "$PKG_CONFIG"; then
29446 _pkg_min_version=0.9.0
29447 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29448 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29449 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29450 { echo "$as_me:$LINENO: result: yes" >&5
29451 echo "${ECHO_T}yes" >&6; }
29453 { echo "$as_me:$LINENO: result: no" >&5
29454 echo "${ECHO_T}no" >&6; }
29462 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29463 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29465 if test -n "$PKG_CONFIG"; then
29466 if test -n "$DIRECTFB_CFLAGS"; then
29467 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29469 if test -n "$PKG_CONFIG" && \
29470 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29471 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29474 (exit $ac_status); }; then
29475 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29483 if test -n "$PKG_CONFIG"; then
29484 if test -n "$DIRECTFB_LIBS"; then
29485 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29487 if test -n "$PKG_CONFIG" && \
29488 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29489 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29492 (exit $ac_status); }; then
29493 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29504 if test $pkg_failed = yes; then
29506 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29507 _pkg_short_errors_supported=yes
29509 _pkg_short_errors_supported=no
29511 if test $_pkg_short_errors_supported = yes; then
29512 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29514 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29516 # Put the nasty error message in config.log where it belongs
29517 echo "$DIRECTFB_PKG_ERRORS" >&5
29520 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29521 echo "$as_me: error: DirectFB not found." >&2;}
29522 { (exit 1); exit 1; }; }
29525 elif test $pkg_failed = untried; then
29527 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29528 echo "$as_me: error: DirectFB not found." >&2;}
29529 { (exit 1); exit 1; }; }
29533 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29534 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29535 { echo "$as_me:$LINENO: result: yes" >&5
29536 echo "${ECHO_T}yes" >&6; }
29538 wxUSE_UNIVERSAL="yes"
29539 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29540 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29547 if test "$wxUSE_MICROWIN" = 1; then
29548 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29549 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29550 if test "x$MICROWINDOWS" = x ; then
29551 { echo "$as_me:$LINENO: result: not found" >&5
29552 echo "${ECHO_T}not found" >&6; }
29553 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29554 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29555 { (exit 1); exit 1; }; }
29557 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29558 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29561 if test -f $MICROWINDOWS/lib/libmwin.a; then
29562 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29563 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29565 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29566 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29567 { (exit 1); exit 1; }; }
29570 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29571 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29573 wxUSE_UNIVERSAL="yes"
29575 AFMINSTALL=afminstall
29577 GUIDIST=MICROWIN_DIST
29579 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29582 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29583 { echo "$as_me:$LINENO: checking for X" >&5
29584 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29587 # Check whether --with-x was given.
29588 if test "${with_x+set}" = set; then
29592 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29593 if test "x$with_x" = xno; then
29594 # The user explicitly disabled X.
29597 case $x_includes,$x_libraries in #(
29598 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29599 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29600 { (exit 1); exit 1; }; };; #(
29601 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29602 echo $ECHO_N "(cached) $ECHO_C" >&6
29604 # One or both of the vars are not set, and there is no cached value.
29605 ac_x_includes=no ac_x_libraries=no
29606 rm -f -r conftest.dir
29607 if mkdir conftest.dir; then
29609 cat >Imakefile <<'_ACEOF'
29611 @echo incroot='${INCROOT}'
29613 @echo usrlibdir='${USRLIBDIR}'
29615 @echo libdir='${LIBDIR}'
29617 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29618 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29619 for ac_var in incroot usrlibdir libdir; do
29620 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29622 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29623 for ac_extension in a so sl; do
29624 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29625 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29626 ac_im_usrlibdir=$ac_im_libdir; break
29629 # Screen out bogus values from the imake configuration. They are
29630 # bogus both because they are the default anyway, and because
29631 # using them would break gcc on systems where it needs fixed includes.
29632 case $ac_im_incroot in
29633 /usr/include) ac_x_includes= ;;
29634 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29636 case $ac_im_usrlibdir in
29637 /usr/lib | /lib) ;;
29638 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29642 rm -f -r conftest.dir
29645 # Standard set of common directories for X headers.
29646 # Check X11 before X11Rn because it is often a symlink to the current release.
29658 /usr/local/X11/include
29659 /usr/local/X11R6/include
29660 /usr/local/X11R5/include
29661 /usr/local/X11R4/include
29663 /usr/local/include/X11
29664 /usr/local/include/X11R6
29665 /usr/local/include/X11R5
29666 /usr/local/include/X11R4
29670 /usr/XFree86/include/X11
29674 /usr/unsupported/include
29675 /usr/athena/include
29676 /usr/local/x11r5/include
29677 /usr/lpp/Xamples/include
29679 /usr/openwin/include
29680 /usr/openwin/share/include'
29682 if test "$ac_x_includes" = no; then
29683 # Guess where to find include files, by looking for Xlib.h.
29684 # First, try using that file with no special directory specified.
29685 cat >conftest.$ac_ext <<_ACEOF
29688 cat confdefs.h >>conftest.$ac_ext
29689 cat >>conftest.$ac_ext <<_ACEOF
29690 /* end confdefs.h. */
29691 #include <X11/Xlib.h>
29693 if { (ac_try="$ac_cpp conftest.$ac_ext"
29694 case "(($ac_try" in
29695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29696 *) ac_try_echo=$ac_try;;
29698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29699 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29701 grep -v '^ *+' conftest.er1 >conftest.err
29703 cat conftest.err >&5
29704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29705 (exit $ac_status); } >/dev/null && {
29706 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29707 test ! -s conftest.err
29709 # We can compile using X headers with no special include directory.
29712 echo "$as_me: failed program was:" >&5
29713 sed 's/^/| /' conftest.$ac_ext >&5
29715 for ac_dir in $ac_x_header_dirs; do
29716 if test -r "$ac_dir/X11/Xlib.h"; then
29717 ac_x_includes=$ac_dir
29723 rm -f conftest.err conftest.$ac_ext
29724 fi # $ac_x_includes = no
29726 if test "$ac_x_libraries" = no; then
29727 # Check for the libraries.
29728 # See if we find them without any special options.
29729 # Don't add to $LIBS permanently.
29732 cat >conftest.$ac_ext <<_ACEOF
29735 cat confdefs.h >>conftest.$ac_ext
29736 cat >>conftest.$ac_ext <<_ACEOF
29737 /* end confdefs.h. */
29738 #include <X11/Xlib.h>
29747 rm -f conftest.$ac_objext conftest$ac_exeext
29748 if { (ac_try="$ac_link"
29749 case "(($ac_try" in
29750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29751 *) ac_try_echo=$ac_try;;
29753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29754 (eval "$ac_link") 2>conftest.er1
29756 grep -v '^ *+' conftest.er1 >conftest.err
29758 cat conftest.err >&5
29759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29760 (exit $ac_status); } && {
29761 test -z "$ac_c_werror_flag" ||
29762 test ! -s conftest.err
29763 } && test -s conftest$ac_exeext &&
29764 $as_test_x conftest$ac_exeext; then
29766 # We can link X programs with no special library path.
29769 echo "$as_me: failed program was:" >&5
29770 sed 's/^/| /' conftest.$ac_ext >&5
29773 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29775 # Don't even attempt the hair of trying to link an X program!
29776 for ac_extension in a so sl; do
29777 if test -r "$ac_dir/libX11.$ac_extension"; then
29778 ac_x_libraries=$ac_dir
29785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29786 conftest$ac_exeext conftest.$ac_ext
29787 fi # $ac_x_libraries = no
29789 case $ac_x_includes,$ac_x_libraries in #(
29790 no,* | *,no | *\'*)
29791 # Didn't find X, or a directory has "'" in its name.
29792 ac_cv_have_x="have_x=no";; #(
29794 # Record where we found X for the cache.
29795 ac_cv_have_x="have_x=yes\
29796 ac_x_includes='$ac_x_includes'\
29797 ac_x_libraries='$ac_x_libraries'"
29803 eval "$ac_cv_have_x"
29806 if test "$have_x" != yes; then
29807 { echo "$as_me:$LINENO: result: $have_x" >&5
29808 echo "${ECHO_T}$have_x" >&6; }
29811 # If each of the values was on the command line, it overrides each guess.
29812 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29813 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29814 # Update the cache value to reflect the command line values.
29815 ac_cv_have_x="have_x=yes\
29816 ac_x_includes='$x_includes'\
29817 ac_x_libraries='$x_libraries'"
29818 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29819 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29822 if test "$no_x" = yes; then
29823 # Not all programs may use this symbol, but it does not hurt to define it.
29825 cat >>confdefs.h <<\_ACEOF
29826 #define X_DISPLAY_MISSING 1
29829 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29831 if test -n "$x_includes"; then
29832 X_CFLAGS="$X_CFLAGS -I$x_includes"
29835 # It would also be nice to do this for all -L options, not just this one.
29836 if test -n "$x_libraries"; then
29837 X_LIBS="$X_LIBS -L$x_libraries"
29838 # For Solaris; some versions of Sun CC require a space after -R and
29839 # others require no space. Words are not sufficient . . . .
29840 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29841 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29842 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29843 ac_xsave_c_werror_flag=$ac_c_werror_flag
29844 ac_c_werror_flag=yes
29845 cat >conftest.$ac_ext <<_ACEOF
29848 cat confdefs.h >>conftest.$ac_ext
29849 cat >>conftest.$ac_ext <<_ACEOF
29850 /* end confdefs.h. */
29860 rm -f conftest.$ac_objext conftest$ac_exeext
29861 if { (ac_try="$ac_link"
29862 case "(($ac_try" in
29863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29864 *) ac_try_echo=$ac_try;;
29866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29867 (eval "$ac_link") 2>conftest.er1
29869 grep -v '^ *+' conftest.er1 >conftest.err
29871 cat conftest.err >&5
29872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29873 (exit $ac_status); } && {
29874 test -z "$ac_c_werror_flag" ||
29875 test ! -s conftest.err
29876 } && test -s conftest$ac_exeext &&
29877 $as_test_x conftest$ac_exeext; then
29878 { echo "$as_me:$LINENO: result: no" >&5
29879 echo "${ECHO_T}no" >&6; }
29880 X_LIBS="$X_LIBS -R$x_libraries"
29882 echo "$as_me: failed program was:" >&5
29883 sed 's/^/| /' conftest.$ac_ext >&5
29885 LIBS="$ac_xsave_LIBS -R $x_libraries"
29886 cat >conftest.$ac_ext <<_ACEOF
29889 cat confdefs.h >>conftest.$ac_ext
29890 cat >>conftest.$ac_ext <<_ACEOF
29891 /* end confdefs.h. */
29901 rm -f conftest.$ac_objext conftest$ac_exeext
29902 if { (ac_try="$ac_link"
29903 case "(($ac_try" in
29904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29905 *) ac_try_echo=$ac_try;;
29907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29908 (eval "$ac_link") 2>conftest.er1
29910 grep -v '^ *+' conftest.er1 >conftest.err
29912 cat conftest.err >&5
29913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29914 (exit $ac_status); } && {
29915 test -z "$ac_c_werror_flag" ||
29916 test ! -s conftest.err
29917 } && test -s conftest$ac_exeext &&
29918 $as_test_x conftest$ac_exeext; then
29919 { echo "$as_me:$LINENO: result: yes" >&5
29920 echo "${ECHO_T}yes" >&6; }
29921 X_LIBS="$X_LIBS -R $x_libraries"
29923 echo "$as_me: failed program was:" >&5
29924 sed 's/^/| /' conftest.$ac_ext >&5
29926 { echo "$as_me:$LINENO: result: neither works" >&5
29927 echo "${ECHO_T}neither works" >&6; }
29930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29931 conftest$ac_exeext conftest.$ac_ext
29934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29935 conftest$ac_exeext conftest.$ac_ext
29936 ac_c_werror_flag=$ac_xsave_c_werror_flag
29937 LIBS=$ac_xsave_LIBS
29940 # Check for system-dependent libraries X programs must link with.
29941 # Do this before checking for the system-independent R6 libraries
29942 # (-lICE), since we may need -lsocket or whatever for X linking.
29944 if test "$ISC" = yes; then
29945 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29947 # Martyn Johnson says this is needed for Ultrix, if the X
29948 # libraries were built with DECnet support. And Karl Berry says
29949 # the Alpha needs dnet_stub (dnet does not exist).
29950 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29951 cat >conftest.$ac_ext <<_ACEOF
29954 cat confdefs.h >>conftest.$ac_ext
29955 cat >>conftest.$ac_ext <<_ACEOF
29956 /* end confdefs.h. */
29958 /* Override any GCC internal prototype to avoid an error.
29959 Use char because int might match the return type of a GCC
29960 builtin and then its argument prototype would still apply. */
29964 char XOpenDisplay ();
29968 return XOpenDisplay ();
29973 rm -f conftest.$ac_objext conftest$ac_exeext
29974 if { (ac_try="$ac_link"
29975 case "(($ac_try" in
29976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29977 *) ac_try_echo=$ac_try;;
29979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29980 (eval "$ac_link") 2>conftest.er1
29982 grep -v '^ *+' conftest.er1 >conftest.err
29984 cat conftest.err >&5
29985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29986 (exit $ac_status); } && {
29987 test -z "$ac_c_werror_flag" ||
29988 test ! -s conftest.err
29989 } && test -s conftest$ac_exeext &&
29990 $as_test_x conftest$ac_exeext; then
29993 echo "$as_me: failed program was:" >&5
29994 sed 's/^/| /' conftest.$ac_ext >&5
29996 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29997 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29998 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29999 echo $ECHO_N "(cached) $ECHO_C" >&6
30001 ac_check_lib_save_LIBS=$LIBS
30002 LIBS="-ldnet $LIBS"
30003 cat >conftest.$ac_ext <<_ACEOF
30006 cat confdefs.h >>conftest.$ac_ext
30007 cat >>conftest.$ac_ext <<_ACEOF
30008 /* end confdefs.h. */
30010 /* Override any GCC internal prototype to avoid an error.
30011 Use char because int might match the return type of a GCC
30012 builtin and then its argument prototype would still apply. */
30020 return dnet_ntoa ();
30025 rm -f conftest.$ac_objext conftest$ac_exeext
30026 if { (ac_try="$ac_link"
30027 case "(($ac_try" in
30028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30029 *) ac_try_echo=$ac_try;;
30031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30032 (eval "$ac_link") 2>conftest.er1
30034 grep -v '^ *+' conftest.er1 >conftest.err
30036 cat conftest.err >&5
30037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30038 (exit $ac_status); } && {
30039 test -z "$ac_c_werror_flag" ||
30040 test ! -s conftest.err
30041 } && test -s conftest$ac_exeext &&
30042 $as_test_x conftest$ac_exeext; then
30043 ac_cv_lib_dnet_dnet_ntoa=yes
30045 echo "$as_me: failed program was:" >&5
30046 sed 's/^/| /' conftest.$ac_ext >&5
30048 ac_cv_lib_dnet_dnet_ntoa=no
30051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30052 conftest$ac_exeext conftest.$ac_ext
30053 LIBS=$ac_check_lib_save_LIBS
30055 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30056 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30057 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30058 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30061 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30062 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30063 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30064 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30065 echo $ECHO_N "(cached) $ECHO_C" >&6
30067 ac_check_lib_save_LIBS=$LIBS
30068 LIBS="-ldnet_stub $LIBS"
30069 cat >conftest.$ac_ext <<_ACEOF
30072 cat confdefs.h >>conftest.$ac_ext
30073 cat >>conftest.$ac_ext <<_ACEOF
30074 /* end confdefs.h. */
30076 /* Override any GCC internal prototype to avoid an error.
30077 Use char because int might match the return type of a GCC
30078 builtin and then its argument prototype would still apply. */
30086 return dnet_ntoa ();
30091 rm -f conftest.$ac_objext conftest$ac_exeext
30092 if { (ac_try="$ac_link"
30093 case "(($ac_try" in
30094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30095 *) ac_try_echo=$ac_try;;
30097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30098 (eval "$ac_link") 2>conftest.er1
30100 grep -v '^ *+' conftest.er1 >conftest.err
30102 cat conftest.err >&5
30103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30104 (exit $ac_status); } && {
30105 test -z "$ac_c_werror_flag" ||
30106 test ! -s conftest.err
30107 } && test -s conftest$ac_exeext &&
30108 $as_test_x conftest$ac_exeext; then
30109 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30111 echo "$as_me: failed program was:" >&5
30112 sed 's/^/| /' conftest.$ac_ext >&5
30114 ac_cv_lib_dnet_stub_dnet_ntoa=no
30117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30118 conftest$ac_exeext conftest.$ac_ext
30119 LIBS=$ac_check_lib_save_LIBS
30121 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30122 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30123 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30124 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30131 conftest$ac_exeext conftest.$ac_ext
30132 LIBS="$ac_xsave_LIBS"
30134 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30135 # to get the SysV transport functions.
30136 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30138 # The nsl library prevents programs from opening the X display
30139 # on Irix 5.2, according to T.E. Dickey.
30140 # The functions gethostbyname, getservbyname, and inet_addr are
30141 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30142 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30143 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30144 if test "${ac_cv_func_gethostbyname+set}" = set; then
30145 echo $ECHO_N "(cached) $ECHO_C" >&6
30147 cat >conftest.$ac_ext <<_ACEOF
30150 cat confdefs.h >>conftest.$ac_ext
30151 cat >>conftest.$ac_ext <<_ACEOF
30152 /* end confdefs.h. */
30153 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30155 #define gethostbyname innocuous_gethostbyname
30157 /* System header to define __stub macros and hopefully few prototypes,
30158 which can conflict with char gethostbyname (); below.
30159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30160 <limits.h> exists even on freestanding compilers. */
30163 # include <limits.h>
30165 # include <assert.h>
30168 #undef gethostbyname
30170 /* Override any GCC internal prototype to avoid an error.
30171 Use char because int might match the return type of a GCC
30172 builtin and then its argument prototype would still apply. */
30176 char gethostbyname ();
30177 /* The GNU C library defines this for functions which it implements
30178 to always fail with ENOSYS. Some functions are actually named
30179 something starting with __ and the normal name is an alias. */
30180 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30187 return gethostbyname ();
30192 rm -f conftest.$ac_objext conftest$ac_exeext
30193 if { (ac_try="$ac_link"
30194 case "(($ac_try" in
30195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30196 *) ac_try_echo=$ac_try;;
30198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30199 (eval "$ac_link") 2>conftest.er1
30201 grep -v '^ *+' conftest.er1 >conftest.err
30203 cat conftest.err >&5
30204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30205 (exit $ac_status); } && {
30206 test -z "$ac_c_werror_flag" ||
30207 test ! -s conftest.err
30208 } && test -s conftest$ac_exeext &&
30209 $as_test_x conftest$ac_exeext; then
30210 ac_cv_func_gethostbyname=yes
30212 echo "$as_me: failed program was:" >&5
30213 sed 's/^/| /' conftest.$ac_ext >&5
30215 ac_cv_func_gethostbyname=no
30218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30219 conftest$ac_exeext conftest.$ac_ext
30221 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30222 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30224 if test $ac_cv_func_gethostbyname = no; then
30225 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30226 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30227 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30228 echo $ECHO_N "(cached) $ECHO_C" >&6
30230 ac_check_lib_save_LIBS=$LIBS
30232 cat >conftest.$ac_ext <<_ACEOF
30235 cat confdefs.h >>conftest.$ac_ext
30236 cat >>conftest.$ac_ext <<_ACEOF
30237 /* end confdefs.h. */
30239 /* Override any GCC internal prototype to avoid an error.
30240 Use char because int might match the return type of a GCC
30241 builtin and then its argument prototype would still apply. */
30245 char gethostbyname ();
30249 return gethostbyname ();
30254 rm -f conftest.$ac_objext conftest$ac_exeext
30255 if { (ac_try="$ac_link"
30256 case "(($ac_try" in
30257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30258 *) ac_try_echo=$ac_try;;
30260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30261 (eval "$ac_link") 2>conftest.er1
30263 grep -v '^ *+' conftest.er1 >conftest.err
30265 cat conftest.err >&5
30266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30267 (exit $ac_status); } && {
30268 test -z "$ac_c_werror_flag" ||
30269 test ! -s conftest.err
30270 } && test -s conftest$ac_exeext &&
30271 $as_test_x conftest$ac_exeext; then
30272 ac_cv_lib_nsl_gethostbyname=yes
30274 echo "$as_me: failed program was:" >&5
30275 sed 's/^/| /' conftest.$ac_ext >&5
30277 ac_cv_lib_nsl_gethostbyname=no
30280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30281 conftest$ac_exeext conftest.$ac_ext
30282 LIBS=$ac_check_lib_save_LIBS
30284 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30285 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30286 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30287 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30290 if test $ac_cv_lib_nsl_gethostbyname = no; then
30291 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30292 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30293 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30294 echo $ECHO_N "(cached) $ECHO_C" >&6
30296 ac_check_lib_save_LIBS=$LIBS
30298 cat >conftest.$ac_ext <<_ACEOF
30301 cat confdefs.h >>conftest.$ac_ext
30302 cat >>conftest.$ac_ext <<_ACEOF
30303 /* end confdefs.h. */
30305 /* Override any GCC internal prototype to avoid an error.
30306 Use char because int might match the return type of a GCC
30307 builtin and then its argument prototype would still apply. */
30311 char gethostbyname ();
30315 return gethostbyname ();
30320 rm -f conftest.$ac_objext conftest$ac_exeext
30321 if { (ac_try="$ac_link"
30322 case "(($ac_try" in
30323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30324 *) ac_try_echo=$ac_try;;
30326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30327 (eval "$ac_link") 2>conftest.er1
30329 grep -v '^ *+' conftest.er1 >conftest.err
30331 cat conftest.err >&5
30332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30333 (exit $ac_status); } && {
30334 test -z "$ac_c_werror_flag" ||
30335 test ! -s conftest.err
30336 } && test -s conftest$ac_exeext &&
30337 $as_test_x conftest$ac_exeext; then
30338 ac_cv_lib_bsd_gethostbyname=yes
30340 echo "$as_me: failed program was:" >&5
30341 sed 's/^/| /' conftest.$ac_ext >&5
30343 ac_cv_lib_bsd_gethostbyname=no
30346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30347 conftest$ac_exeext conftest.$ac_ext
30348 LIBS=$ac_check_lib_save_LIBS
30350 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30351 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30352 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30353 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30359 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30360 # socket/setsockopt and other routines are undefined under SCO ODT
30361 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30362 # on later versions), says Simon Leinen: it contains gethostby*
30363 # variants that don't use the name server (or something). -lsocket
30364 # must be given before -lnsl if both are needed. We assume that
30365 # if connect needs -lnsl, so does gethostbyname.
30366 { echo "$as_me:$LINENO: checking for connect" >&5
30367 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30368 if test "${ac_cv_func_connect+set}" = set; then
30369 echo $ECHO_N "(cached) $ECHO_C" >&6
30371 cat >conftest.$ac_ext <<_ACEOF
30374 cat confdefs.h >>conftest.$ac_ext
30375 cat >>conftest.$ac_ext <<_ACEOF
30376 /* end confdefs.h. */
30377 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30379 #define connect innocuous_connect
30381 /* System header to define __stub macros and hopefully few prototypes,
30382 which can conflict with char connect (); below.
30383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30384 <limits.h> exists even on freestanding compilers. */
30387 # include <limits.h>
30389 # include <assert.h>
30394 /* Override any GCC internal prototype to avoid an error.
30395 Use char because int might match the return type of a GCC
30396 builtin and then its argument prototype would still apply. */
30401 /* The GNU C library defines this for functions which it implements
30402 to always fail with ENOSYS. Some functions are actually named
30403 something starting with __ and the normal name is an alias. */
30404 #if defined __stub_connect || defined __stub___connect
30416 rm -f conftest.$ac_objext conftest$ac_exeext
30417 if { (ac_try="$ac_link"
30418 case "(($ac_try" in
30419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30420 *) ac_try_echo=$ac_try;;
30422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30423 (eval "$ac_link") 2>conftest.er1
30425 grep -v '^ *+' conftest.er1 >conftest.err
30427 cat conftest.err >&5
30428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30429 (exit $ac_status); } && {
30430 test -z "$ac_c_werror_flag" ||
30431 test ! -s conftest.err
30432 } && test -s conftest$ac_exeext &&
30433 $as_test_x conftest$ac_exeext; then
30434 ac_cv_func_connect=yes
30436 echo "$as_me: failed program was:" >&5
30437 sed 's/^/| /' conftest.$ac_ext >&5
30439 ac_cv_func_connect=no
30442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30443 conftest$ac_exeext conftest.$ac_ext
30445 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30446 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30448 if test $ac_cv_func_connect = no; then
30449 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30450 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30451 if test "${ac_cv_lib_socket_connect+set}" = set; then
30452 echo $ECHO_N "(cached) $ECHO_C" >&6
30454 ac_check_lib_save_LIBS=$LIBS
30455 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30456 cat >conftest.$ac_ext <<_ACEOF
30459 cat confdefs.h >>conftest.$ac_ext
30460 cat >>conftest.$ac_ext <<_ACEOF
30461 /* end confdefs.h. */
30463 /* Override any GCC internal prototype to avoid an error.
30464 Use char because int might match the return type of a GCC
30465 builtin and then its argument prototype would still apply. */
30478 rm -f conftest.$ac_objext conftest$ac_exeext
30479 if { (ac_try="$ac_link"
30480 case "(($ac_try" in
30481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30482 *) ac_try_echo=$ac_try;;
30484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30485 (eval "$ac_link") 2>conftest.er1
30487 grep -v '^ *+' conftest.er1 >conftest.err
30489 cat conftest.err >&5
30490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30491 (exit $ac_status); } && {
30492 test -z "$ac_c_werror_flag" ||
30493 test ! -s conftest.err
30494 } && test -s conftest$ac_exeext &&
30495 $as_test_x conftest$ac_exeext; then
30496 ac_cv_lib_socket_connect=yes
30498 echo "$as_me: failed program was:" >&5
30499 sed 's/^/| /' conftest.$ac_ext >&5
30501 ac_cv_lib_socket_connect=no
30504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30505 conftest$ac_exeext conftest.$ac_ext
30506 LIBS=$ac_check_lib_save_LIBS
30508 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30509 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30510 if test $ac_cv_lib_socket_connect = yes; then
30511 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30516 # Guillermo Gomez says -lposix is necessary on A/UX.
30517 { echo "$as_me:$LINENO: checking for remove" >&5
30518 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30519 if test "${ac_cv_func_remove+set}" = set; then
30520 echo $ECHO_N "(cached) $ECHO_C" >&6
30522 cat >conftest.$ac_ext <<_ACEOF
30525 cat confdefs.h >>conftest.$ac_ext
30526 cat >>conftest.$ac_ext <<_ACEOF
30527 /* end confdefs.h. */
30528 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30530 #define remove innocuous_remove
30532 /* System header to define __stub macros and hopefully few prototypes,
30533 which can conflict with char remove (); below.
30534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30535 <limits.h> exists even on freestanding compilers. */
30538 # include <limits.h>
30540 # include <assert.h>
30545 /* Override any GCC internal prototype to avoid an error.
30546 Use char because int might match the return type of a GCC
30547 builtin and then its argument prototype would still apply. */
30552 /* The GNU C library defines this for functions which it implements
30553 to always fail with ENOSYS. Some functions are actually named
30554 something starting with __ and the normal name is an alias. */
30555 #if defined __stub_remove || defined __stub___remove
30567 rm -f conftest.$ac_objext conftest$ac_exeext
30568 if { (ac_try="$ac_link"
30569 case "(($ac_try" in
30570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30571 *) ac_try_echo=$ac_try;;
30573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30574 (eval "$ac_link") 2>conftest.er1
30576 grep -v '^ *+' conftest.er1 >conftest.err
30578 cat conftest.err >&5
30579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30580 (exit $ac_status); } && {
30581 test -z "$ac_c_werror_flag" ||
30582 test ! -s conftest.err
30583 } && test -s conftest$ac_exeext &&
30584 $as_test_x conftest$ac_exeext; then
30585 ac_cv_func_remove=yes
30587 echo "$as_me: failed program was:" >&5
30588 sed 's/^/| /' conftest.$ac_ext >&5
30590 ac_cv_func_remove=no
30593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30594 conftest$ac_exeext conftest.$ac_ext
30596 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30597 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30599 if test $ac_cv_func_remove = no; then
30600 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30601 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30602 if test "${ac_cv_lib_posix_remove+set}" = set; then
30603 echo $ECHO_N "(cached) $ECHO_C" >&6
30605 ac_check_lib_save_LIBS=$LIBS
30606 LIBS="-lposix $LIBS"
30607 cat >conftest.$ac_ext <<_ACEOF
30610 cat confdefs.h >>conftest.$ac_ext
30611 cat >>conftest.$ac_ext <<_ACEOF
30612 /* end confdefs.h. */
30614 /* Override any GCC internal prototype to avoid an error.
30615 Use char because int might match the return type of a GCC
30616 builtin and then its argument prototype would still apply. */
30629 rm -f conftest.$ac_objext conftest$ac_exeext
30630 if { (ac_try="$ac_link"
30631 case "(($ac_try" in
30632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30633 *) ac_try_echo=$ac_try;;
30635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30636 (eval "$ac_link") 2>conftest.er1
30638 grep -v '^ *+' conftest.er1 >conftest.err
30640 cat conftest.err >&5
30641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30642 (exit $ac_status); } && {
30643 test -z "$ac_c_werror_flag" ||
30644 test ! -s conftest.err
30645 } && test -s conftest$ac_exeext &&
30646 $as_test_x conftest$ac_exeext; then
30647 ac_cv_lib_posix_remove=yes
30649 echo "$as_me: failed program was:" >&5
30650 sed 's/^/| /' conftest.$ac_ext >&5
30652 ac_cv_lib_posix_remove=no
30655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30656 conftest$ac_exeext conftest.$ac_ext
30657 LIBS=$ac_check_lib_save_LIBS
30659 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30660 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30661 if test $ac_cv_lib_posix_remove = yes; then
30662 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30667 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30668 { echo "$as_me:$LINENO: checking for shmat" >&5
30669 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30670 if test "${ac_cv_func_shmat+set}" = set; then
30671 echo $ECHO_N "(cached) $ECHO_C" >&6
30673 cat >conftest.$ac_ext <<_ACEOF
30676 cat confdefs.h >>conftest.$ac_ext
30677 cat >>conftest.$ac_ext <<_ACEOF
30678 /* end confdefs.h. */
30679 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30681 #define shmat innocuous_shmat
30683 /* System header to define __stub macros and hopefully few prototypes,
30684 which can conflict with char shmat (); below.
30685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30686 <limits.h> exists even on freestanding compilers. */
30689 # include <limits.h>
30691 # include <assert.h>
30696 /* Override any GCC internal prototype to avoid an error.
30697 Use char because int might match the return type of a GCC
30698 builtin and then its argument prototype would still apply. */
30703 /* The GNU C library defines this for functions which it implements
30704 to always fail with ENOSYS. Some functions are actually named
30705 something starting with __ and the normal name is an alias. */
30706 #if defined __stub_shmat || defined __stub___shmat
30718 rm -f conftest.$ac_objext conftest$ac_exeext
30719 if { (ac_try="$ac_link"
30720 case "(($ac_try" in
30721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30722 *) ac_try_echo=$ac_try;;
30724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30725 (eval "$ac_link") 2>conftest.er1
30727 grep -v '^ *+' conftest.er1 >conftest.err
30729 cat conftest.err >&5
30730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731 (exit $ac_status); } && {
30732 test -z "$ac_c_werror_flag" ||
30733 test ! -s conftest.err
30734 } && test -s conftest$ac_exeext &&
30735 $as_test_x conftest$ac_exeext; then
30736 ac_cv_func_shmat=yes
30738 echo "$as_me: failed program was:" >&5
30739 sed 's/^/| /' conftest.$ac_ext >&5
30741 ac_cv_func_shmat=no
30744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30745 conftest$ac_exeext conftest.$ac_ext
30747 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30748 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30750 if test $ac_cv_func_shmat = no; then
30751 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30752 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30753 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30754 echo $ECHO_N "(cached) $ECHO_C" >&6
30756 ac_check_lib_save_LIBS=$LIBS
30758 cat >conftest.$ac_ext <<_ACEOF
30761 cat confdefs.h >>conftest.$ac_ext
30762 cat >>conftest.$ac_ext <<_ACEOF
30763 /* end confdefs.h. */
30765 /* Override any GCC internal prototype to avoid an error.
30766 Use char because int might match the return type of a GCC
30767 builtin and then its argument prototype would still apply. */
30780 rm -f conftest.$ac_objext conftest$ac_exeext
30781 if { (ac_try="$ac_link"
30782 case "(($ac_try" in
30783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30784 *) ac_try_echo=$ac_try;;
30786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30787 (eval "$ac_link") 2>conftest.er1
30789 grep -v '^ *+' conftest.er1 >conftest.err
30791 cat conftest.err >&5
30792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30793 (exit $ac_status); } && {
30794 test -z "$ac_c_werror_flag" ||
30795 test ! -s conftest.err
30796 } && test -s conftest$ac_exeext &&
30797 $as_test_x conftest$ac_exeext; then
30798 ac_cv_lib_ipc_shmat=yes
30800 echo "$as_me: failed program was:" >&5
30801 sed 's/^/| /' conftest.$ac_ext >&5
30803 ac_cv_lib_ipc_shmat=no
30806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30807 conftest$ac_exeext conftest.$ac_ext
30808 LIBS=$ac_check_lib_save_LIBS
30810 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30811 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30812 if test $ac_cv_lib_ipc_shmat = yes; then
30813 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30819 # Check for libraries that X11R6 Xt/Xaw programs need.
30820 ac_save_LDFLAGS=$LDFLAGS
30821 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30822 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30823 # check for ICE first), but we must link in the order -lSM -lICE or
30824 # we get undefined symbols. So assume we have SM if we have ICE.
30825 # These have to be linked with before -lX11, unlike the other
30826 # libraries we check for below, so use a different variable.
30827 # John Interrante, Karl Berry
30828 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30829 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30830 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30831 echo $ECHO_N "(cached) $ECHO_C" >&6
30833 ac_check_lib_save_LIBS=$LIBS
30834 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30835 cat >conftest.$ac_ext <<_ACEOF
30838 cat confdefs.h >>conftest.$ac_ext
30839 cat >>conftest.$ac_ext <<_ACEOF
30840 /* end confdefs.h. */
30842 /* Override any GCC internal prototype to avoid an error.
30843 Use char because int might match the return type of a GCC
30844 builtin and then its argument prototype would still apply. */
30848 char IceConnectionNumber ();
30852 return IceConnectionNumber ();
30857 rm -f conftest.$ac_objext conftest$ac_exeext
30858 if { (ac_try="$ac_link"
30859 case "(($ac_try" in
30860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30861 *) ac_try_echo=$ac_try;;
30863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30864 (eval "$ac_link") 2>conftest.er1
30866 grep -v '^ *+' conftest.er1 >conftest.err
30868 cat conftest.err >&5
30869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30870 (exit $ac_status); } && {
30871 test -z "$ac_c_werror_flag" ||
30872 test ! -s conftest.err
30873 } && test -s conftest$ac_exeext &&
30874 $as_test_x conftest$ac_exeext; then
30875 ac_cv_lib_ICE_IceConnectionNumber=yes
30877 echo "$as_me: failed program was:" >&5
30878 sed 's/^/| /' conftest.$ac_ext >&5
30880 ac_cv_lib_ICE_IceConnectionNumber=no
30883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30884 conftest$ac_exeext conftest.$ac_ext
30885 LIBS=$ac_check_lib_save_LIBS
30887 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30888 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30889 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30890 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30893 LDFLAGS=$ac_save_LDFLAGS
30898 if test "$no_x" = "yes"; then
30899 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30900 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30901 { (exit 1); exit 1; }; }
30904 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30905 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30906 AFMINSTALL=afminstall
30907 COMPILED_X_PROGRAM=0
30911 if test "$wxUSE_X11" = 1; then
30912 if test "$wxUSE_NANOX" = "yes"; then
30913 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30914 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30915 if test "x$MICROWIN" = x ; then
30916 { echo "$as_me:$LINENO: result: not found" >&5
30917 echo "${ECHO_T}not found" >&6; }
30918 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30919 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30920 { (exit 1); exit 1; }; }
30922 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30923 echo "${ECHO_T}$MICROWIN" >&6; }
30924 cat >>confdefs.h <<\_ACEOF
30925 #define wxUSE_NANOX 1
30931 if test "$wxUSE_UNICODE" = "yes"; then
30934 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30935 if test -n "$ac_tool_prefix"; then
30936 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30937 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30938 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30940 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30941 echo $ECHO_N "(cached) $ECHO_C" >&6
30943 case $PKG_CONFIG in
30945 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30949 for as_dir in $PATH
30952 test -z "$as_dir" && as_dir=.
30953 for ac_exec_ext in '' $ac_executable_extensions; do
30954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30955 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30966 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30967 if test -n "$PKG_CONFIG"; then
30968 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30969 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30971 { echo "$as_me:$LINENO: result: no" >&5
30972 echo "${ECHO_T}no" >&6; }
30977 if test -z "$ac_cv_path_PKG_CONFIG"; then
30978 ac_pt_PKG_CONFIG=$PKG_CONFIG
30979 # Extract the first word of "pkg-config", so it can be a program name with args.
30980 set dummy pkg-config; ac_word=$2
30981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30983 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30984 echo $ECHO_N "(cached) $ECHO_C" >&6
30986 case $ac_pt_PKG_CONFIG in
30988 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30992 for as_dir in $PATH
30995 test -z "$as_dir" && as_dir=.
30996 for ac_exec_ext in '' $ac_executable_extensions; do
30997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30998 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31009 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31010 if test -n "$ac_pt_PKG_CONFIG"; then
31011 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31012 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31014 { echo "$as_me:$LINENO: result: no" >&5
31015 echo "${ECHO_T}no" >&6; }
31018 if test "x$ac_pt_PKG_CONFIG" = x; then
31021 case $cross_compiling:$ac_tool_warned in
31023 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31024 whose name does not start with the host triplet. If you think this
31025 configuration is useful to you, please write to autoconf@gnu.org." >&5
31026 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31027 whose name does not start with the host triplet. If you think this
31028 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31029 ac_tool_warned=yes ;;
31031 PKG_CONFIG=$ac_pt_PKG_CONFIG
31034 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31038 if test -n "$PKG_CONFIG"; then
31039 _pkg_min_version=0.9.0
31040 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31041 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31042 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31043 { echo "$as_me:$LINENO: result: yes" >&5
31044 echo "${ECHO_T}yes" >&6; }
31046 { echo "$as_me:$LINENO: result: no" >&5
31047 echo "${ECHO_T}no" >&6; }
31055 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31056 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31058 if test -n "$PKG_CONFIG"; then
31059 if test -n "$PANGOX_CFLAGS"; then
31060 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31062 if test -n "$PKG_CONFIG" && \
31063 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31064 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31067 (exit $ac_status); }; then
31068 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31076 if test -n "$PKG_CONFIG"; then
31077 if test -n "$PANGOX_LIBS"; then
31078 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31080 if test -n "$PKG_CONFIG" && \
31081 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31082 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31085 (exit $ac_status); }; then
31086 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31097 if test $pkg_failed = yes; then
31099 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31100 _pkg_short_errors_supported=yes
31102 _pkg_short_errors_supported=no
31104 if test $_pkg_short_errors_supported = yes; then
31105 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31107 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31109 # Put the nasty error message in config.log where it belongs
31110 echo "$PANGOX_PKG_ERRORS" >&5
31113 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31114 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31115 { (exit 1); exit 1; }; }
31118 elif test $pkg_failed = untried; then
31120 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31121 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31122 { (exit 1); exit 1; }; }
31126 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31127 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31128 { echo "$as_me:$LINENO: result: yes" >&5
31129 echo "${ECHO_T}yes" >&6; }
31131 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31132 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31133 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31138 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31139 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31141 if test -n "$PKG_CONFIG"; then
31142 if test -n "$PANGOFT2_CFLAGS"; then
31143 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31145 if test -n "$PKG_CONFIG" && \
31146 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31147 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31150 (exit $ac_status); }; then
31151 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31159 if test -n "$PKG_CONFIG"; then
31160 if test -n "$PANGOFT2_LIBS"; then
31161 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31163 if test -n "$PKG_CONFIG" && \
31164 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31165 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31168 (exit $ac_status); }; then
31169 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31180 if test $pkg_failed = yes; then
31182 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31183 _pkg_short_errors_supported=yes
31185 _pkg_short_errors_supported=no
31187 if test $_pkg_short_errors_supported = yes; then
31188 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31190 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31192 # Put the nasty error message in config.log where it belongs
31193 echo "$PANGOFT2_PKG_ERRORS" >&5
31196 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31197 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31198 wxUSE_PRINTING_ARCHITECTURE="no"
31201 elif test $pkg_failed = untried; then
31203 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31204 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31205 wxUSE_PRINTING_ARCHITECTURE="no"
31209 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31210 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31211 { echo "$as_me:$LINENO: result: yes" >&5
31212 echo "${ECHO_T}yes" >&6; }
31214 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31215 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31216 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31221 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31222 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31224 if test -n "$PKG_CONFIG"; then
31225 if test -n "$PANGOXFT_CFLAGS"; then
31226 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31228 if test -n "$PKG_CONFIG" && \
31229 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31230 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31233 (exit $ac_status); }; then
31234 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31242 if test -n "$PKG_CONFIG"; then
31243 if test -n "$PANGOXFT_LIBS"; then
31244 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31246 if test -n "$PKG_CONFIG" && \
31247 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31248 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31251 (exit $ac_status); }; then
31252 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31263 if test $pkg_failed = yes; then
31265 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31266 _pkg_short_errors_supported=yes
31268 _pkg_short_errors_supported=no
31270 if test $_pkg_short_errors_supported = yes; then
31271 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31273 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31275 # Put the nasty error message in config.log where it belongs
31276 echo "$PANGOXFT_PKG_ERRORS" >&5
31279 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31280 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31283 elif test $pkg_failed = untried; then
31285 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31286 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31290 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31291 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31292 { echo "$as_me:$LINENO: result: yes" >&5
31293 echo "${ECHO_T}yes" >&6; }
31295 cat >>confdefs.h <<\_ACEOF
31296 #define HAVE_PANGO_XFT 1
31299 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31300 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31301 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31305 LIBS="$LIBS $PANGOX_LIBS"
31307 for ac_func in pango_font_family_is_monospace
31309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31310 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31312 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31313 echo $ECHO_N "(cached) $ECHO_C" >&6
31315 cat >conftest.$ac_ext <<_ACEOF
31318 cat confdefs.h >>conftest.$ac_ext
31319 cat >>conftest.$ac_ext <<_ACEOF
31320 /* end confdefs.h. */
31321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31323 #define $ac_func innocuous_$ac_func
31325 /* System header to define __stub macros and hopefully few prototypes,
31326 which can conflict with char $ac_func (); below.
31327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31328 <limits.h> exists even on freestanding compilers. */
31331 # include <limits.h>
31333 # include <assert.h>
31338 /* Override any GCC internal prototype to avoid an error.
31339 Use char because int might match the return type of a GCC
31340 builtin and then its argument prototype would still apply. */
31345 /* The GNU C library defines this for functions which it implements
31346 to always fail with ENOSYS. Some functions are actually named
31347 something starting with __ and the normal name is an alias. */
31348 #if defined __stub_$ac_func || defined __stub___$ac_func
31355 return $ac_func ();
31360 rm -f conftest.$ac_objext conftest$ac_exeext
31361 if { (ac_try="$ac_link"
31362 case "(($ac_try" in
31363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31364 *) ac_try_echo=$ac_try;;
31366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31367 (eval "$ac_link") 2>conftest.er1
31369 grep -v '^ *+' conftest.er1 >conftest.err
31371 cat conftest.err >&5
31372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31373 (exit $ac_status); } && {
31374 test -z "$ac_c_werror_flag" ||
31375 test ! -s conftest.err
31376 } && test -s conftest$ac_exeext &&
31377 $as_test_x conftest$ac_exeext; then
31378 eval "$as_ac_var=yes"
31380 echo "$as_me: failed program was:" >&5
31381 sed 's/^/| /' conftest.$ac_ext >&5
31383 eval "$as_ac_var=no"
31386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31387 conftest$ac_exeext conftest.$ac_ext
31389 ac_res=`eval echo '${'$as_ac_var'}'`
31390 { echo "$as_me:$LINENO: result: $ac_res" >&5
31391 echo "${ECHO_T}$ac_res" >&6; }
31392 if test `eval echo '${'$as_ac_var'}'` = yes; then
31393 cat >>confdefs.h <<_ACEOF
31394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31403 wxUSE_UNIVERSAL="yes"
31405 if test "$wxUSE_NANOX" = "yes"; then
31406 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31407 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"
31408 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31410 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31417 if test "$wxUSE_MOTIF" = 1; then
31418 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31419 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31422 for ac_dir in $SEARCH_INCLUDE /usr/include;
31424 if test -f "$ac_dir/Xm/Xm.h"; then
31425 ac_find_includes=$ac_dir
31430 if test "$ac_find_includes" != "" ; then
31431 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31432 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31434 if test "x$ac_find_includes" = "x/usr/include"; then
31435 ac_path_to_include=""
31437 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31439 if test $result = 0; then
31440 ac_path_to_include=""
31442 ac_path_to_include=" -I$ac_find_includes"
31446 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31448 save_CFLAGS=$CFLAGS
31449 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31451 cat >conftest.$ac_ext <<_ACEOF
31454 cat confdefs.h >>conftest.$ac_ext
31455 cat >>conftest.$ac_ext <<_ACEOF
31456 /* end confdefs.h. */
31465 version = xmUseVersion;
31471 rm -f conftest.$ac_objext
31472 if { (ac_try="$ac_compile"
31473 case "(($ac_try" in
31474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31475 *) ac_try_echo=$ac_try;;
31477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31478 (eval "$ac_compile") 2>conftest.er1
31480 grep -v '^ *+' conftest.er1 >conftest.err
31482 cat conftest.err >&5
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); } && {
31485 test -z "$ac_c_werror_flag" ||
31486 test ! -s conftest.err
31487 } && test -s conftest.$ac_objext; then
31489 { echo "$as_me:$LINENO: result: found in default search path" >&5
31490 echo "${ECHO_T}found in default search path" >&6; }
31491 COMPILED_X_PROGRAM=1
31494 echo "$as_me: failed program was:" >&5
31495 sed 's/^/| /' conftest.$ac_ext >&5
31498 { echo "$as_me:$LINENO: result: no" >&5
31499 echo "${ECHO_T}no" >&6; }
31500 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31501 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31502 { (exit 1); exit 1; }; }
31507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31509 CFLAGS=$save_CFLAGS
31513 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31514 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31517 for ac_dir in $SEARCH_LIB;
31519 for ac_extension in a so sl dylib dll.a; do
31520 if test -f "$ac_dir/libXm.$ac_extension"; then
31521 ac_find_libraries=$ac_dir
31528 if test "x$ac_find_libraries" != "x" ; then
31529 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31530 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31533 if test "$ac_find_libraries" = "default location"; then
31536 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31538 if test $result = 0; then
31541 ac_path_to_link=" -L$ac_find_libraries"
31545 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31547 save_CFLAGS=$CFLAGS
31548 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31550 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31552 cat >conftest.$ac_ext <<_ACEOF
31555 cat confdefs.h >>conftest.$ac_ext
31556 cat >>conftest.$ac_ext <<_ACEOF
31557 /* end confdefs.h. */
31566 version = xmUseVersion;
31572 rm -f conftest.$ac_objext conftest$ac_exeext
31573 if { (ac_try="$ac_link"
31574 case "(($ac_try" in
31575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31576 *) ac_try_echo=$ac_try;;
31578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31579 (eval "$ac_link") 2>conftest.er1
31581 grep -v '^ *+' conftest.er1 >conftest.err
31583 cat conftest.err >&5
31584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31585 (exit $ac_status); } && {
31586 test -z "$ac_c_werror_flag" ||
31587 test ! -s conftest.err
31588 } && test -s conftest$ac_exeext &&
31589 $as_test_x conftest$ac_exeext; then
31591 { echo "$as_me:$LINENO: result: found in default search path" >&5
31592 echo "${ECHO_T}found in default search path" >&6; }
31593 COMPILED_X_PROGRAM=1
31596 echo "$as_me: failed program was:" >&5
31597 sed 's/^/| /' conftest.$ac_ext >&5
31600 { echo "$as_me:$LINENO: result: no" >&5
31601 echo "${ECHO_T}no" >&6; }
31602 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31603 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31604 { (exit 1); exit 1; }; }
31609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31610 conftest$ac_exeext conftest.$ac_ext
31612 CFLAGS=$save_CFLAGS
31616 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31617 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31621 for libp in "" " -lXp"; do
31622 if test "$libs_found" = 0; then
31623 for libsm_ice in "" " -lSM -lICE"; do
31624 if test "$libs_found" = 0; then
31626 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31627 save_CFLAGS=$CFLAGS
31628 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31630 cat >conftest.$ac_ext <<_ACEOF
31633 cat confdefs.h >>conftest.$ac_ext
31634 cat >>conftest.$ac_ext <<_ACEOF
31635 /* end confdefs.h. */
31638 #include <Xm/List.h>
31644 XmString string = NULL;
31647 XmListAddItem(w, string, position);
31653 rm -f conftest.$ac_objext conftest$ac_exeext
31654 if { (ac_try="$ac_link"
31655 case "(($ac_try" in
31656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31657 *) ac_try_echo=$ac_try;;
31659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31660 (eval "$ac_link") 2>conftest.er1
31662 grep -v '^ *+' conftest.er1 >conftest.err
31664 cat conftest.err >&5
31665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31666 (exit $ac_status); } && {
31667 test -z "$ac_c_werror_flag" ||
31668 test ! -s conftest.err
31669 } && test -s conftest$ac_exeext &&
31670 $as_test_x conftest$ac_exeext; then
31673 libsm_ice_link="$libsm_ice"
31674 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31675 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31679 echo "$as_me: failed program was:" >&5
31680 sed 's/^/| /' conftest.$ac_ext >&5
31686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31687 conftest$ac_exeext conftest.$ac_ext
31690 CFLAGS=$save_CFLAGS
31696 if test "$libs_found" = 0; then
31697 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31698 echo "${ECHO_T}can't find the right libraries" >&6; }
31699 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31700 echo "$as_me: error: can't link a simple motif program" >&2;}
31701 { (exit 1); exit 1; }; }
31704 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31705 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31706 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31707 echo $ECHO_N "(cached) $ECHO_C" >&6
31709 ac_check_lib_save_LIBS=$LIBS
31711 cat >conftest.$ac_ext <<_ACEOF
31714 cat confdefs.h >>conftest.$ac_ext
31715 cat >>conftest.$ac_ext <<_ACEOF
31716 /* end confdefs.h. */
31718 /* Override any GCC internal prototype to avoid an error.
31719 Use char because int might match the return type of a GCC
31720 builtin and then its argument prototype would still apply. */
31724 char SgCreateList ();
31728 return SgCreateList ();
31733 rm -f conftest.$ac_objext conftest$ac_exeext
31734 if { (ac_try="$ac_link"
31735 case "(($ac_try" in
31736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31737 *) ac_try_echo=$ac_try;;
31739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31740 (eval "$ac_link") 2>conftest.er1
31742 grep -v '^ *+' conftest.er1 >conftest.err
31744 cat conftest.err >&5
31745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31746 (exit $ac_status); } && {
31747 test -z "$ac_c_werror_flag" ||
31748 test ! -s conftest.err
31749 } && test -s conftest$ac_exeext &&
31750 $as_test_x conftest$ac_exeext; then
31751 ac_cv_lib_Sgm_SgCreateList=yes
31753 echo "$as_me: failed program was:" >&5
31754 sed 's/^/| /' conftest.$ac_ext >&5
31756 ac_cv_lib_Sgm_SgCreateList=no
31759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31760 conftest$ac_exeext conftest.$ac_ext
31761 LIBS=$ac_check_lib_save_LIBS
31763 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31764 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31765 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31766 libsgm_link=" -lSgm"
31770 save_CFLAGS=$CFLAGS
31771 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31773 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31774 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31775 if test "${wx_cv_lib_motif2+set}" = set; then
31776 echo $ECHO_N "(cached) $ECHO_C" >&6
31778 cat >conftest.$ac_ext <<_ACEOF
31781 cat confdefs.h >>conftest.$ac_ext
31782 cat >>conftest.$ac_ext <<_ACEOF
31783 /* end confdefs.h. */
31791 #if XmVersion < 2000
31799 rm -f conftest.$ac_objext
31800 if { (ac_try="$ac_compile"
31801 case "(($ac_try" in
31802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31803 *) ac_try_echo=$ac_try;;
31805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31806 (eval "$ac_compile") 2>conftest.er1
31808 grep -v '^ *+' conftest.er1 >conftest.err
31810 cat conftest.err >&5
31811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31812 (exit $ac_status); } && {
31813 test -z "$ac_c_werror_flag" ||
31814 test ! -s conftest.err
31815 } && test -s conftest.$ac_objext; then
31816 wx_cv_lib_motif2="yes"
31818 echo "$as_me: failed program was:" >&5
31819 sed 's/^/| /' conftest.$ac_ext >&5
31821 wx_cv_lib_motif2="no"
31824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31826 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31827 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31828 if test "$wx_cv_lib_motif2" = "yes"; then
31829 cat >>confdefs.h <<\_ACEOF
31830 #define __WXMOTIF20__ 1
31834 cat >>confdefs.h <<\_ACEOF
31835 #define __WXMOTIF20__ 0
31840 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31841 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31842 if test "${wx_cv_lib_lesstif+set}" = set; then
31843 echo $ECHO_N "(cached) $ECHO_C" >&6
31845 cat >conftest.$ac_ext <<_ACEOF
31848 cat confdefs.h >>conftest.$ac_ext
31849 cat >>conftest.$ac_ext <<_ACEOF
31850 /* end confdefs.h. */
31858 #if !defined(LesstifVersion) || LesstifVersion <= 0
31866 rm -f conftest.$ac_objext
31867 if { (ac_try="$ac_compile"
31868 case "(($ac_try" in
31869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31870 *) ac_try_echo=$ac_try;;
31872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31873 (eval "$ac_compile") 2>conftest.er1
31875 grep -v '^ *+' conftest.er1 >conftest.err
31877 cat conftest.err >&5
31878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31879 (exit $ac_status); } && {
31880 test -z "$ac_c_werror_flag" ||
31881 test ! -s conftest.err
31882 } && test -s conftest.$ac_objext; then
31883 wx_cv_lib_lesstif="yes"
31885 echo "$as_me: failed program was:" >&5
31886 sed 's/^/| /' conftest.$ac_ext >&5
31888 wx_cv_lib_lesstif="no"
31891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31894 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31895 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31896 if test "$wx_cv_lib_lesstif" = "yes"; then
31897 cat >>confdefs.h <<\_ACEOF
31898 #define __WXLESSTIF__ 1
31902 cat >>confdefs.h <<\_ACEOF
31903 #define __WXLESSTIF__ 0
31908 CFLAGS=$save_CFLAGS
31910 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31915 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31916 if test "$wxUSE_LIBXPM" = "sys"; then
31917 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31918 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31921 for ac_dir in $SEARCH_LIB;
31923 for ac_extension in a so sl dylib dll.a; do
31924 if test -f "$ac_dir/libXpm.$ac_extension"; then
31925 ac_find_libraries=$ac_dir
31931 if test "$ac_find_libraries" != "" ; then
31933 if test "$ac_find_libraries" = "default location"; then
31936 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31938 if test $result = 0; then
31941 ac_path_to_link=" -L$ac_find_libraries"
31945 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31946 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31947 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31949 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31950 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31951 if test "${wx_cv_x11_xpm_h+set}" = set; then
31952 echo $ECHO_N "(cached) $ECHO_C" >&6
31955 save_CFLAGS=$CFLAGS
31956 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31958 cat >conftest.$ac_ext <<_ACEOF
31961 cat confdefs.h >>conftest.$ac_ext
31962 cat >>conftest.$ac_ext <<_ACEOF
31963 /* end confdefs.h. */
31965 #include <X11/xpm.h>
31972 version = XpmLibraryVersion();
31978 rm -f conftest.$ac_objext
31979 if { (ac_try="$ac_compile"
31980 case "(($ac_try" in
31981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31982 *) ac_try_echo=$ac_try;;
31984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31985 (eval "$ac_compile") 2>conftest.er1
31987 grep -v '^ *+' conftest.er1 >conftest.err
31989 cat conftest.err >&5
31990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31991 (exit $ac_status); } && {
31992 test -z "$ac_c_werror_flag" ||
31993 test ! -s conftest.err
31994 } && test -s conftest.$ac_objext; then
31995 wx_cv_x11_xpm_h=yes
31997 echo "$as_me: failed program was:" >&5
31998 sed 's/^/| /' conftest.$ac_ext >&5
32004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32006 CFLAGS=$save_CFLAGS
32010 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32011 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32013 if test $wx_cv_x11_xpm_h = "yes"; then
32014 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32015 cat >>confdefs.h <<\_ACEOF
32016 #define wxHAVE_LIB_XPM 1
32020 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32021 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32027 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32028 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32029 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32030 echo $ECHO_N "(cached) $ECHO_C" >&6
32032 ac_check_lib_save_LIBS=$LIBS
32033 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32034 cat >conftest.$ac_ext <<_ACEOF
32037 cat confdefs.h >>conftest.$ac_ext
32038 cat >>conftest.$ac_ext <<_ACEOF
32039 /* end confdefs.h. */
32041 /* Override any GCC internal prototype to avoid an error.
32042 Use char because int might match the return type of a GCC
32043 builtin and then its argument prototype would still apply. */
32047 char XShapeQueryExtension ();
32051 return XShapeQueryExtension ();
32056 rm -f conftest.$ac_objext conftest$ac_exeext
32057 if { (ac_try="$ac_link"
32058 case "(($ac_try" in
32059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32060 *) ac_try_echo=$ac_try;;
32062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32063 (eval "$ac_link") 2>conftest.er1
32065 grep -v '^ *+' conftest.er1 >conftest.err
32067 cat conftest.err >&5
32068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32069 (exit $ac_status); } && {
32070 test -z "$ac_c_werror_flag" ||
32071 test ! -s conftest.err
32072 } && test -s conftest$ac_exeext &&
32073 $as_test_x conftest$ac_exeext; then
32074 ac_cv_lib_Xext_XShapeQueryExtension=yes
32076 echo "$as_me: failed program was:" >&5
32077 sed 's/^/| /' conftest.$ac_ext >&5
32079 ac_cv_lib_Xext_XShapeQueryExtension=no
32082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32083 conftest$ac_exeext conftest.$ac_ext
32084 LIBS=$ac_check_lib_save_LIBS
32086 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32087 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32088 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32090 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32096 if test "$wxHAVE_XEXT_LIB" = 1; then
32097 save_CFLAGS="$CFLAGS"
32098 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32100 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32101 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32102 cat >conftest.$ac_ext <<_ACEOF
32105 cat confdefs.h >>conftest.$ac_ext
32106 cat >>conftest.$ac_ext <<_ACEOF
32107 /* end confdefs.h. */
32109 #include <X11/Xlib.h>
32110 #include <X11/extensions/shape.h>
32116 int dummy1, dummy2;
32117 XShapeQueryExtension((Display*)NULL,
32118 (int*)NULL, (int*)NULL);
32124 rm -f conftest.$ac_objext
32125 if { (ac_try="$ac_compile"
32126 case "(($ac_try" in
32127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32128 *) ac_try_echo=$ac_try;;
32130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32131 (eval "$ac_compile") 2>conftest.er1
32133 grep -v '^ *+' conftest.er1 >conftest.err
32135 cat conftest.err >&5
32136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32137 (exit $ac_status); } && {
32138 test -z "$ac_c_werror_flag" ||
32139 test ! -s conftest.err
32140 } && test -s conftest.$ac_objext; then
32142 cat >>confdefs.h <<\_ACEOF
32143 #define HAVE_XSHAPE 1
32146 { echo "$as_me:$LINENO: result: found" >&5
32147 echo "${ECHO_T}found" >&6; }
32150 echo "$as_me: failed program was:" >&5
32151 sed 's/^/| /' conftest.$ac_ext >&5
32154 { echo "$as_me:$LINENO: result: not found" >&5
32155 echo "${ECHO_T}not found" >&6; }
32159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32160 CFLAGS="$save_CFLAGS"
32165 if test "$wxUSE_MAC" = 1; then
32166 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32167 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32168 if test "$GCC" = yes; then
32169 { echo "$as_me:$LINENO: result: gcc" >&5
32170 echo "${ECHO_T}gcc" >&6; }
32171 CPPFLAGS_PASCAL="-fpascal-strings"
32172 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32173 { echo "$as_me:$LINENO: result: xlc" >&5
32174 echo "${ECHO_T}xlc" >&6; }
32175 CPPFLAGS_PASCAL="-qmacpstr"
32177 { echo "$as_me:$LINENO: result: none" >&5
32178 echo "${ECHO_T}none" >&6; }
32181 if test "x$wxUSE_UNIX" = "xyes"; then
32182 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32184 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32189 WXBASEPORT="_carbon"
32192 if test "$wxUSE_COCOA" = 1; then
32197 if test "$wxUSE_PM" = 1; then
32200 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32201 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32202 if test "${wx_cv_spbcdata+set}" = set; then
32203 echo $ECHO_N "(cached) $ECHO_C" >&6
32206 cat >conftest.$ac_ext <<_ACEOF
32209 cat confdefs.h >>conftest.$ac_ext
32210 cat >>conftest.$ac_ext <<_ACEOF
32211 /* end confdefs.h. */
32226 rm -f conftest.$ac_objext
32227 if { (ac_try="$ac_compile"
32228 case "(($ac_try" in
32229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32230 *) ac_try_echo=$ac_try;;
32232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32233 (eval "$ac_compile") 2>conftest.er1
32235 grep -v '^ *+' conftest.er1 >conftest.err
32237 cat conftest.err >&5
32238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32239 (exit $ac_status); } && {
32240 test -z "$ac_c_werror_flag" ||
32241 test ! -s conftest.err
32242 } && test -s conftest.$ac_objext; then
32245 echo "$as_me: failed program was:" >&5
32246 sed 's/^/| /' conftest.$ac_ext >&5
32252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32256 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32257 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32259 if test $wx_cv_spbcdata = "yes"; then
32260 cat >>confdefs.h <<\_ACEOF
32261 #define HAVE_SPBCDATA 1
32267 if test "$TOOLKIT" = "PM" ; then
32270 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32273 if test "$wxUSE_UNIVERSAL" = "yes"; then
32274 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32278 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32279 DISTDIR="wx\$(TOOLKIT)"
32285 if test "$USE_WIN32" = 1 ; then
32289 GUIDIST="BASE_DIST"
32295 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32296 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32297 wxUSE_UNICODE_UTF8=yes
32298 elif test "$USE_OS2" = 1 ; then
32299 wxUSE_UNICODE_UTF8=yes
32301 wxUSE_UNICODE_UTF8=no
32306 if test "$wxUSE_GUI" = "yes"; then
32307 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32309 for ac_header in X11/Xlib.h
32311 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32312 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32314 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32315 echo $ECHO_N "(cached) $ECHO_C" >&6
32317 cat >conftest.$ac_ext <<_ACEOF
32320 cat confdefs.h >>conftest.$ac_ext
32321 cat >>conftest.$ac_ext <<_ACEOF
32322 /* end confdefs.h. */
32325 #include <$ac_header>
32327 rm -f conftest.$ac_objext
32328 if { (ac_try="$ac_compile"
32329 case "(($ac_try" in
32330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32331 *) ac_try_echo=$ac_try;;
32333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32334 (eval "$ac_compile") 2>conftest.er1
32336 grep -v '^ *+' conftest.er1 >conftest.err
32338 cat conftest.err >&5
32339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32340 (exit $ac_status); } && {
32341 test -z "$ac_c_werror_flag" ||
32342 test ! -s conftest.err
32343 } && test -s conftest.$ac_objext; then
32344 eval "$as_ac_Header=yes"
32346 echo "$as_me: failed program was:" >&5
32347 sed 's/^/| /' conftest.$ac_ext >&5
32349 eval "$as_ac_Header=no"
32352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32354 ac_res=`eval echo '${'$as_ac_Header'}'`
32355 { echo "$as_me:$LINENO: result: $ac_res" >&5
32356 echo "${ECHO_T}$ac_res" >&6; }
32357 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32358 cat >>confdefs.h <<_ACEOF
32359 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32367 for ac_header in X11/XKBlib.h
32369 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32370 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32372 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32373 echo $ECHO_N "(cached) $ECHO_C" >&6
32375 cat >conftest.$ac_ext <<_ACEOF
32378 cat confdefs.h >>conftest.$ac_ext
32379 cat >>conftest.$ac_ext <<_ACEOF
32380 /* end confdefs.h. */
32382 #if HAVE_X11_XLIB_H
32383 #include <X11/Xlib.h>
32387 #include <$ac_header>
32389 rm -f conftest.$ac_objext
32390 if { (ac_try="$ac_compile"
32391 case "(($ac_try" in
32392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32393 *) ac_try_echo=$ac_try;;
32395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32396 (eval "$ac_compile") 2>conftest.er1
32398 grep -v '^ *+' conftest.er1 >conftest.err
32400 cat conftest.err >&5
32401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32402 (exit $ac_status); } && {
32403 test -z "$ac_c_werror_flag" ||
32404 test ! -s conftest.err
32405 } && test -s conftest.$ac_objext; then
32406 eval "$as_ac_Header=yes"
32408 echo "$as_me: failed program was:" >&5
32409 sed 's/^/| /' conftest.$ac_ext >&5
32411 eval "$as_ac_Header=no"
32414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32416 ac_res=`eval echo '${'$as_ac_Header'}'`
32417 { echo "$as_me:$LINENO: result: $ac_res" >&5
32418 echo "${ECHO_T}$ac_res" >&6; }
32419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32420 cat >>confdefs.h <<_ACEOF
32421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32433 if test "$wxUSE_DISPLAY" = "yes"; then
32434 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32435 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32436 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32439 for ac_dir in $SEARCH_LIB;
32441 for ac_extension in a so sl dylib dll.a; do
32442 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32443 ac_find_libraries=$ac_dir
32449 if test "$ac_find_libraries" != "" ; then
32451 if test "$ac_find_libraries" = "default location"; then
32454 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32456 if test $result = 0; then
32459 ac_path_to_link=" -L$ac_find_libraries"
32463 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32464 LDFLAGS="$LDFLAGS $ac_path_to_link"
32466 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32467 { echo "$as_me:$LINENO: result: yes" >&5
32468 echo "${ECHO_T}yes" >&6; }
32470 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32471 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32474 for ac_dir in $SEARCH_LIB;
32476 for ac_extension in a so sl dylib dll.a; do
32477 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32478 ac_find_libraries=$ac_dir
32484 if test "$ac_find_libraries" != "" ; then
32485 { echo "$as_me:$LINENO: result: yes" >&5
32486 echo "${ECHO_T}yes" >&6; }
32488 for ac_header in X11/extensions/xf86vmode.h
32490 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32491 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32493 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32494 echo $ECHO_N "(cached) $ECHO_C" >&6
32496 cat >conftest.$ac_ext <<_ACEOF
32499 cat confdefs.h >>conftest.$ac_ext
32500 cat >>conftest.$ac_ext <<_ACEOF
32501 /* end confdefs.h. */
32503 #if HAVE_X11_XLIB_H
32504 #include <X11/Xlib.h>
32508 #include <$ac_header>
32510 rm -f conftest.$ac_objext
32511 if { (ac_try="$ac_compile"
32512 case "(($ac_try" in
32513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32514 *) ac_try_echo=$ac_try;;
32516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32517 (eval "$ac_compile") 2>conftest.er1
32519 grep -v '^ *+' conftest.er1 >conftest.err
32521 cat conftest.err >&5
32522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32523 (exit $ac_status); } && {
32524 test -z "$ac_c_werror_flag" ||
32525 test ! -s conftest.err
32526 } && test -s conftest.$ac_objext; then
32527 eval "$as_ac_Header=yes"
32529 echo "$as_me: failed program was:" >&5
32530 sed 's/^/| /' conftest.$ac_ext >&5
32532 eval "$as_ac_Header=no"
32535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32537 ac_res=`eval echo '${'$as_ac_Header'}'`
32538 { echo "$as_me:$LINENO: result: $ac_res" >&5
32539 echo "${ECHO_T}$ac_res" >&6; }
32540 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32541 cat >>confdefs.h <<_ACEOF
32542 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32545 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32552 { echo "$as_me:$LINENO: result: no" >&5
32553 echo "${ECHO_T}no" >&6; }
32557 { echo "$as_me:$LINENO: result: no" >&5
32558 echo "${ECHO_T}no" >&6; }
32559 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32560 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32563 elif test "$wxUSE_MSW" = 1; then
32564 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32565 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32566 if test "${ac_cv_header_ddraw_h+set}" = set; then
32567 echo $ECHO_N "(cached) $ECHO_C" >&6
32569 cat >conftest.$ac_ext <<_ACEOF
32572 cat confdefs.h >>conftest.$ac_ext
32573 cat >>conftest.$ac_ext <<_ACEOF
32574 /* end confdefs.h. */
32575 #include <windows.h>
32579 rm -f conftest.$ac_objext
32580 if { (ac_try="$ac_compile"
32581 case "(($ac_try" in
32582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32583 *) ac_try_echo=$ac_try;;
32585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32586 (eval "$ac_compile") 2>conftest.er1
32588 grep -v '^ *+' conftest.er1 >conftest.err
32590 cat conftest.err >&5
32591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32592 (exit $ac_status); } && {
32593 test -z "$ac_c_werror_flag" ||
32594 test ! -s conftest.err
32595 } && test -s conftest.$ac_objext; then
32596 ac_cv_header_ddraw_h=yes
32598 echo "$as_me: failed program was:" >&5
32599 sed 's/^/| /' conftest.$ac_ext >&5
32601 ac_cv_header_ddraw_h=no
32604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32606 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32607 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32613 if test "$wxUSE_DETECT_SM" = "yes"; then
32614 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32615 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32616 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32619 for ac_dir in $SEARCH_LIB;
32621 for ac_extension in a so sl dylib dll.a; do
32622 if test -f "$ac_dir/libSM.$ac_extension"; then
32623 ac_find_libraries=$ac_dir
32629 if test "$ac_find_libraries" != "" ; then
32631 if test "$ac_find_libraries" = "default location"; then
32634 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32636 if test $result = 0; then
32639 ac_path_to_link=" -L$ac_find_libraries"
32643 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32644 LDFLAGS="$LDFLAGS $ac_path_to_link"
32646 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32647 { echo "$as_me:$LINENO: result: yes" >&5
32648 echo "${ECHO_T}yes" >&6; }
32650 { echo "$as_me:$LINENO: result: no" >&5
32651 echo "${ECHO_T}no" >&6; }
32652 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32653 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32654 wxUSE_DETECT_SM="no"
32657 wxUSE_DETECT_SM="no"
32664 if test "$wxUSE_OPENGL" = "yes"; then
32665 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32666 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32667 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32669 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32670 OPENGL_LIBS="-framework OpenGL -framework AGL"
32671 elif test "$wxUSE_MSW" = 1; then
32672 OPENGL_LIBS="-lopengl32 -lglu32"
32674 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32675 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32678 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32680 if test -f "$ac_dir/GL/gl.h"; then
32681 ac_find_includes=$ac_dir
32686 if test "$ac_find_includes" != "" ; then
32687 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32688 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32690 if test "x$ac_find_includes" = "x/usr/include"; then
32691 ac_path_to_include=""
32693 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32695 if test $result = 0; then
32696 ac_path_to_include=""
32698 ac_path_to_include=" -I$ac_find_includes"
32702 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32704 { echo "$as_me:$LINENO: result: not found" >&5
32705 echo "${ECHO_T}not found" >&6; }
32708 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32709 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32710 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32711 echo $ECHO_N "(cached) $ECHO_C" >&6
32713 cat >conftest.$ac_ext <<_ACEOF
32716 cat confdefs.h >>conftest.$ac_ext
32717 cat >>conftest.$ac_ext <<_ACEOF
32718 /* end confdefs.h. */
32723 rm -f conftest.$ac_objext
32724 if { (ac_try="$ac_compile"
32725 case "(($ac_try" in
32726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32727 *) ac_try_echo=$ac_try;;
32729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32730 (eval "$ac_compile") 2>conftest.er1
32732 grep -v '^ *+' conftest.er1 >conftest.err
32734 cat conftest.err >&5
32735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736 (exit $ac_status); } && {
32737 test -z "$ac_c_werror_flag" ||
32738 test ! -s conftest.err
32739 } && test -s conftest.$ac_objext; then
32740 ac_cv_header_GL_gl_h=yes
32742 echo "$as_me: failed program was:" >&5
32743 sed 's/^/| /' conftest.$ac_ext >&5
32745 ac_cv_header_GL_gl_h=no
32748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32750 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32751 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32752 if test $ac_cv_header_GL_gl_h = yes; then
32754 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32755 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32756 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32757 echo $ECHO_N "(cached) $ECHO_C" >&6
32759 cat >conftest.$ac_ext <<_ACEOF
32762 cat confdefs.h >>conftest.$ac_ext
32763 cat >>conftest.$ac_ext <<_ACEOF
32764 /* end confdefs.h. */
32767 #include <GL/glu.h>
32769 rm -f conftest.$ac_objext
32770 if { (ac_try="$ac_compile"
32771 case "(($ac_try" in
32772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32773 *) ac_try_echo=$ac_try;;
32775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32776 (eval "$ac_compile") 2>conftest.er1
32778 grep -v '^ *+' conftest.er1 >conftest.err
32780 cat conftest.err >&5
32781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32782 (exit $ac_status); } && {
32783 test -z "$ac_c_werror_flag" ||
32784 test ! -s conftest.err
32785 } && test -s conftest.$ac_objext; then
32786 ac_cv_header_GL_glu_h=yes
32788 echo "$as_me: failed program was:" >&5
32789 sed 's/^/| /' conftest.$ac_ext >&5
32791 ac_cv_header_GL_glu_h=no
32794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32796 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32797 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32798 if test $ac_cv_header_GL_glu_h = yes; then
32802 { echo "$as_me:$LINENO: checking for -lGL" >&5
32803 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32806 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32808 for ac_extension in a so sl dylib dll.a; do
32809 if test -f "$ac_dir/libGL.$ac_extension"; then
32810 ac_find_libraries=$ac_dir
32816 if test "$ac_find_libraries" != "" ; then
32817 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32818 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32821 if test "$ac_find_libraries" = "default location"; then
32824 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32826 if test $result = 0; then
32829 ac_path_to_link=" -L$ac_find_libraries"
32833 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32834 LDFLAGS_GL="$ac_path_to_link"
32837 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32838 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32841 for ac_dir in $SEARCH_LIB;
32843 for ac_extension in a so sl dylib dll.a; do
32844 if test -f "$ac_dir/libGLU.$ac_extension"; then
32845 ac_find_libraries=$ac_dir
32851 if test "$ac_find_libraries" != "" ; then
32853 if test "$ac_find_libraries" = "default location"; then
32856 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32858 if test $result = 0; then
32861 ac_path_to_link=" -L$ac_find_libraries"
32865 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32866 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32867 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32871 OPENGL_LIBS="-lGL -lGLU"
32872 { echo "$as_me:$LINENO: result: yes" >&5
32873 echo "${ECHO_T}yes" >&6; }
32875 { echo "$as_me:$LINENO: result: no" >&5
32876 echo "${ECHO_T}no" >&6; }
32879 { echo "$as_me:$LINENO: result: no" >&5
32880 echo "${ECHO_T}no" >&6; }
32883 if test "$found_gl" != 1; then
32884 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32885 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32888 for ac_dir in $SEARCH_LIB;
32890 for ac_extension in a so sl dylib dll.a; do
32891 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32892 ac_find_libraries=$ac_dir
32898 if test "$ac_find_libraries" != "" ; then
32900 if test "$ac_find_libraries" = "default location"; then
32903 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32905 if test $result = 0; then
32908 ac_path_to_link=" -L$ac_find_libraries"
32912 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32913 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32914 { echo "$as_me:$LINENO: result: yes" >&5
32915 echo "${ECHO_T}yes" >&6; }
32917 { echo "$as_me:$LINENO: result: no" >&5
32918 echo "${ECHO_T}no" >&6; }
32930 if test "x$OPENGL_LIBS" = "x"; then
32931 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32932 echo "$as_me: error: OpenGL libraries not available" >&2;}
32933 { (exit 1); exit 1; }; }
32937 if test "$wxUSE_OPENGL" = "yes"; then
32939 cat >>confdefs.h <<\_ACEOF
32940 #define wxUSE_OPENGL 1
32943 cat >>confdefs.h <<\_ACEOF
32944 #define wxUSE_GLCANVAS 1
32947 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32952 if test -n "$TOOLKIT" ; then
32953 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32958 if test "$wxUSE_SHARED" = "yes"; then
32962 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32963 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32968 if test "$wxUSE_SHARED" = "yes"; then
32972 *-*-cygwin* | *-*-mingw* )
32973 wx_cv_version_script=no
32977 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32978 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32979 if test "${wx_cv_version_script+set}" = set; then
32980 echo $ECHO_N "(cached) $ECHO_C" >&6
32983 echo "VER_1 { *; };" >conftest.sym
32984 echo "int main() { return 0; }" >conftest.cpp
32987 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32988 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32990 (eval $ac_try) 2>&5
32992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993 (exit $ac_status); }; } ; then
32994 if test -s conftest.stderr ; then
32995 wx_cv_version_script=no
32997 wx_cv_version_script=yes
33000 wx_cv_version_script=no
33003 if test $wx_cv_version_script = yes
33005 echo "struct B { virtual ~B() { } }; \
33006 struct D : public B { }; \
33007 void F() { D d; }" > conftest.cpp
33010 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33011 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33013 (eval $ac_try) 2>&5
33015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33016 (exit $ac_status); }; } &&
33018 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33019 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33021 (eval $ac_try) 2>&5
33023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33024 (exit $ac_status); }; }
33027 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33028 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33030 (eval $ac_try) 2>&5
33032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33033 (exit $ac_status); }; }
33035 wx_cv_version_script=yes
33037 wx_cv_version_script=no
33042 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33043 rm -f conftest1.output conftest2.output conftest3.output
33046 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33047 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33049 if test $wx_cv_version_script = yes ; then
33050 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33056 if test "$wxUSE_VISIBILITY" != "no"; then
33059 if test -n "$GCC"; then
33060 CFLAGS_VISIBILITY="-fvisibility=hidden"
33061 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33062 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33063 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33064 if test "${wx_cv_cc_visibility+set}" = set; then
33065 echo $ECHO_N "(cached) $ECHO_C" >&6
33068 wx_save_CXXFLAGS="$CXXFLAGS"
33069 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33071 ac_cpp='$CXXCPP $CPPFLAGS'
33072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33076 cat >conftest.$ac_ext <<_ACEOF
33079 cat confdefs.h >>conftest.$ac_ext
33080 cat >>conftest.$ac_ext <<_ACEOF
33081 /* end confdefs.h. */
33083 /* we need gcc >= 4.0, older versions with visibility support
33084 didn't have class visibility: */
33085 #if defined(__GNUC__) && __GNUC__ < 4
33086 error this gcc is too old;
33089 /* visibility only makes sense for ELF shared libs: */
33090 #if !defined(__ELF__) && !defined(__APPLE__)
33091 error this platform has no visibility;
33094 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33095 extern __attribute__((__visibility__("default"))) int exportedvar;
33096 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33097 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33098 class __attribute__((__visibility__("default"))) Foo {
33110 rm -f conftest.$ac_objext
33111 if { (ac_try="$ac_compile"
33112 case "(($ac_try" in
33113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33114 *) ac_try_echo=$ac_try;;
33116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33117 (eval "$ac_compile") 2>conftest.er1
33119 grep -v '^ *+' conftest.er1 >conftest.err
33121 cat conftest.err >&5
33122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33123 (exit $ac_status); } && {
33124 test -z "$ac_cxx_werror_flag" ||
33125 test ! -s conftest.err
33126 } && test -s conftest.$ac_objext; then
33127 wx_cv_cc_visibility=yes
33129 echo "$as_me: failed program was:" >&5
33130 sed 's/^/| /' conftest.$ac_ext >&5
33132 wx_cv_cc_visibility=no
33135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33137 ac_cpp='$CPP $CPPFLAGS'
33138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33142 CXXFLAGS="$wx_save_CXXFLAGS"
33145 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33146 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33147 if test $wx_cv_cc_visibility = yes; then
33148 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33149 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33150 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33151 echo $ECHO_N "(cached) $ECHO_C" >&6
33154 wx_save_CXXFLAGS="$CXXFLAGS"
33155 wx_save_LDFLAGS="$LDFLAGS"
33156 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33157 LDFLAGS="$LDFLAGS -shared -fPIC"
33159 ac_cpp='$CXXCPP $CPPFLAGS'
33160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33164 cat >conftest.$ac_ext <<_ACEOF
33167 cat confdefs.h >>conftest.$ac_ext
33168 cat >>conftest.$ac_ext <<_ACEOF
33169 /* end confdefs.h. */
33177 std::string s("hello");
33184 rm -f conftest.$ac_objext conftest$ac_exeext
33185 if { (ac_try="$ac_link"
33186 case "(($ac_try" in
33187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33188 *) ac_try_echo=$ac_try;;
33190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33191 (eval "$ac_link") 2>conftest.er1
33193 grep -v '^ *+' conftest.er1 >conftest.err
33195 cat conftest.err >&5
33196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33197 (exit $ac_status); } && {
33198 test -z "$ac_cxx_werror_flag" ||
33199 test ! -s conftest.err
33200 } && test -s conftest$ac_exeext &&
33201 $as_test_x conftest$ac_exeext; then
33202 wx_cv_cc_broken_libstdcxx_visibility=no
33204 echo "$as_me: failed program was:" >&5
33205 sed 's/^/| /' conftest.$ac_ext >&5
33207 wx_cv_cc_broken_libstdcxx_visibility=yes
33210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33211 conftest$ac_exeext conftest.$ac_ext
33213 ac_cpp='$CPP $CPPFLAGS'
33214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33218 CXXFLAGS="$wx_save_CXXFLAGS"
33219 LDFLAGS="$wx_save_LDFLAGS"
33222 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33223 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33225 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33226 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33227 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33228 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33229 echo $ECHO_N "(cached) $ECHO_C" >&6
33233 ac_cpp='$CXXCPP $CPPFLAGS'
33234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33238 cat >conftest.$ac_ext <<_ACEOF
33241 cat confdefs.h >>conftest.$ac_ext
33242 cat >>conftest.$ac_ext <<_ACEOF
33243 /* end confdefs.h. */
33245 #pragma GCC visibility push(default)
33247 #pragma GCC visibility pop
33253 std::string s("hello");
33260 rm -f conftest.$ac_objext conftest$ac_exeext
33261 if { (ac_try="$ac_link"
33262 case "(($ac_try" in
33263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33264 *) ac_try_echo=$ac_try;;
33266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33267 (eval "$ac_link") 2>conftest.er1
33269 grep -v '^ *+' conftest.er1 >conftest.err
33271 cat conftest.err >&5
33272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33273 (exit $ac_status); } && {
33274 test -z "$ac_cxx_werror_flag" ||
33275 test ! -s conftest.err
33276 } && test -s conftest$ac_exeext &&
33277 $as_test_x conftest$ac_exeext; then
33278 wx_cv_cc_visibility_workaround=no
33280 echo "$as_me: failed program was:" >&5
33281 sed 's/^/| /' conftest.$ac_ext >&5
33283 wx_cv_cc_visibility_workaround=yes
33286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33287 conftest$ac_exeext conftest.$ac_ext
33289 ac_cpp='$CPP $CPPFLAGS'
33290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33297 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33298 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33300 if test $wx_cv_cc_visibility_workaround = no; then
33301 wx_cv_cc_visibility=no
33306 if test $wx_cv_cc_visibility = yes; then
33307 cat >>confdefs.h <<\_ACEOF
33308 #define HAVE_VISIBILITY 1
33311 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33312 cat >>confdefs.h <<\_ACEOF
33313 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33318 CFLAGS_VISIBILITY=""
33319 CXXFLAGS_VISIBILITY=""
33327 if test "x$SUNCXX" = xyes; then
33328 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33329 WXCONFIG_RPATH="-R\$libdir"
33332 *-*-linux* | *-*-gnu* )
33333 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33334 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33339 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33341 saveLdflags="$LDFLAGS"
33342 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33343 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33344 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33345 cat >conftest.$ac_ext <<_ACEOF
33348 cat confdefs.h >>conftest.$ac_ext
33349 cat >>conftest.$ac_ext <<_ACEOF
33350 /* end confdefs.h. */
33360 rm -f conftest.$ac_objext conftest$ac_exeext
33361 if { (ac_try="$ac_link"
33362 case "(($ac_try" in
33363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33364 *) ac_try_echo=$ac_try;;
33366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33367 (eval "$ac_link") 2>conftest.er1
33369 grep -v '^ *+' conftest.er1 >conftest.err
33371 cat conftest.err >&5
33372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33373 (exit $ac_status); } && {
33374 test -z "$ac_c_werror_flag" ||
33375 test ! -s conftest.err
33376 } && test -s conftest$ac_exeext &&
33377 $as_test_x conftest$ac_exeext; then
33379 { echo "$as_me:$LINENO: result: yes" >&5
33380 echo "${ECHO_T}yes" >&6; }
33381 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33382 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33385 echo "$as_me: failed program was:" >&5
33386 sed 's/^/| /' conftest.$ac_ext >&5
33389 { echo "$as_me:$LINENO: result: no" >&5
33390 echo "${ECHO_T}no" >&6; }
33391 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33392 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33393 LDFLAGS="$saveLdflags -Wl,-R,/"
33394 cat >conftest.$ac_ext <<_ACEOF
33397 cat confdefs.h >>conftest.$ac_ext
33398 cat >>conftest.$ac_ext <<_ACEOF
33399 /* end confdefs.h. */
33409 rm -f conftest.$ac_objext conftest$ac_exeext
33410 if { (ac_try="$ac_link"
33411 case "(($ac_try" in
33412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33413 *) ac_try_echo=$ac_try;;
33415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33416 (eval "$ac_link") 2>conftest.er1
33418 grep -v '^ *+' conftest.er1 >conftest.err
33420 cat conftest.err >&5
33421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33422 (exit $ac_status); } && {
33423 test -z "$ac_c_werror_flag" ||
33424 test ! -s conftest.err
33425 } && test -s conftest$ac_exeext &&
33426 $as_test_x conftest$ac_exeext; then
33428 { echo "$as_me:$LINENO: result: yes" >&5
33429 echo "${ECHO_T}yes" >&6; }
33430 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33431 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33434 echo "$as_me: failed program was:" >&5
33435 sed 's/^/| /' conftest.$ac_ext >&5
33438 { echo "$as_me:$LINENO: result: no" >&5
33439 echo "${ECHO_T}no" >&6; }
33443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33444 conftest$ac_exeext conftest.$ac_ext
33448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33449 conftest$ac_exeext conftest.$ac_ext
33450 LDFLAGS="$saveLdflags"
33454 install_name_tool=`which install_name_tool`
33455 if test "$install_name_tool" -a -x "$install_name_tool"; then
33456 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33457 cat <<EOF >change-install-names
33459 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33460 inst_cmd="install_name_tool "
33461 for i in \${libnames} ; do
33462 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33466 chmod +x change-install-names
33470 *-*-cygwin* | *-*-mingw32* )
33474 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33475 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33481 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33483 if test $wxUSE_RPATH = "no"; then
33484 SAMPLES_RPATH_FLAG=''
33485 SAMPLES_RPATH_POSTLINK=''
33493 config_linkage_component="-static"
33500 lib_unicode_suffix=
33502 if test "$wxUSE_UNICODE" = "yes"; then
33503 lib_unicode_suffix=u
33504 WX_CHARTYPE="unicode"
33509 WX_DEBUGTYPE="release"
33511 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33513 WX_DEBUGTYPE="debug"
33517 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33518 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33521 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33525 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33527 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33529 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33531 if test "$cross_compiling" = "yes"; then
33532 HOST_SUFFIX="-$host_alias"
33533 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33534 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33537 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33538 if test "${TOOLKIT_DIR}" = "os2"; then
33539 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33541 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33546 if test "$wxUSE_COCOA" = 1; then
33549 ac_cpp='$CPP $CPPFLAGS'
33550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33556 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33557 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33558 cat >conftest.$ac_ext <<_ACEOF
33561 cat confdefs.h >>conftest.$ac_ext
33562 cat >>conftest.$ac_ext <<_ACEOF
33563 /* end confdefs.h. */
33564 #include <AppKit/NSEvent.h>
33565 #include <CoreFoundation/CoreFoundation.h>
33575 rm -f conftest.$ac_objext
33576 if { (ac_try="$ac_compile"
33577 case "(($ac_try" in
33578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33579 *) ac_try_echo=$ac_try;;
33581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33582 (eval "$ac_compile") 2>conftest.er1
33584 grep -v '^ *+' conftest.er1 >conftest.err
33586 cat conftest.err >&5
33587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33588 (exit $ac_status); } && {
33589 test -z "$ac_c_werror_flag" ||
33590 test ! -s conftest.err
33591 } && test -s conftest.$ac_objext; then
33592 { echo "$as_me:$LINENO: result: no" >&5
33593 echo "${ECHO_T}no" >&6; }
33595 echo "$as_me: failed program was:" >&5
33596 sed 's/^/| /' conftest.$ac_ext >&5
33598 { echo "$as_me:$LINENO: result: yes" >&5
33599 echo "${ECHO_T}yes" >&6; }
33600 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33601 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33602 cat >conftest.$ac_ext <<_ACEOF
33605 cat confdefs.h >>conftest.$ac_ext
33606 cat >>conftest.$ac_ext <<_ACEOF
33607 /* end confdefs.h. */
33608 #define __Point__ 1
33609 #include <AppKit/NSEvent.h>
33610 #include <CoreFoundation/CoreFoundation.h>
33620 rm -f conftest.$ac_objext
33621 if { (ac_try="$ac_compile"
33622 case "(($ac_try" in
33623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33624 *) ac_try_echo=$ac_try;;
33626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33627 (eval "$ac_compile") 2>conftest.er1
33629 grep -v '^ *+' conftest.er1 >conftest.err
33631 cat conftest.err >&5
33632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33633 (exit $ac_status); } && {
33634 test -z "$ac_c_werror_flag" ||
33635 test ! -s conftest.err
33636 } && test -s conftest.$ac_objext; then
33637 { echo "$as_me:$LINENO: result: yes" >&5
33638 echo "${ECHO_T}yes" >&6; }
33639 cat >>confdefs.h <<\_ACEOF
33640 #define __Point__ 1
33645 echo "$as_me: failed program was:" >&5
33646 sed 's/^/| /' conftest.$ac_ext >&5
33648 { { echo "$as_me:$LINENO: error: no
33649 See \`config.log' for more details." >&5
33650 echo "$as_me: error: no
33651 See \`config.log' for more details." >&2;}
33652 { (exit 1); exit 1; }; }
33656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33662 ac_cpp='$CPP $CPPFLAGS'
33663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33670 { echo "$as_me:$LINENO: checking for mode_t" >&5
33671 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33672 if test "${ac_cv_type_mode_t+set}" = set; then
33673 echo $ECHO_N "(cached) $ECHO_C" >&6
33675 cat >conftest.$ac_ext <<_ACEOF
33678 cat confdefs.h >>conftest.$ac_ext
33679 cat >>conftest.$ac_ext <<_ACEOF
33680 /* end confdefs.h. */
33681 $ac_includes_default
33682 typedef mode_t ac__type_new_;
33686 if ((ac__type_new_ *) 0)
33688 if (sizeof (ac__type_new_))
33694 rm -f conftest.$ac_objext
33695 if { (ac_try="$ac_compile"
33696 case "(($ac_try" in
33697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33698 *) ac_try_echo=$ac_try;;
33700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33701 (eval "$ac_compile") 2>conftest.er1
33703 grep -v '^ *+' conftest.er1 >conftest.err
33705 cat conftest.err >&5
33706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33707 (exit $ac_status); } && {
33708 test -z "$ac_c_werror_flag" ||
33709 test ! -s conftest.err
33710 } && test -s conftest.$ac_objext; then
33711 ac_cv_type_mode_t=yes
33713 echo "$as_me: failed program was:" >&5
33714 sed 's/^/| /' conftest.$ac_ext >&5
33716 ac_cv_type_mode_t=no
33719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33721 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33722 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33723 if test $ac_cv_type_mode_t = yes; then
33727 cat >>confdefs.h <<_ACEOF
33733 { echo "$as_me:$LINENO: checking for off_t" >&5
33734 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33735 if test "${ac_cv_type_off_t+set}" = set; then
33736 echo $ECHO_N "(cached) $ECHO_C" >&6
33738 cat >conftest.$ac_ext <<_ACEOF
33741 cat confdefs.h >>conftest.$ac_ext
33742 cat >>conftest.$ac_ext <<_ACEOF
33743 /* end confdefs.h. */
33744 $ac_includes_default
33745 typedef off_t ac__type_new_;
33749 if ((ac__type_new_ *) 0)
33751 if (sizeof (ac__type_new_))
33757 rm -f conftest.$ac_objext
33758 if { (ac_try="$ac_compile"
33759 case "(($ac_try" in
33760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33761 *) ac_try_echo=$ac_try;;
33763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33764 (eval "$ac_compile") 2>conftest.er1
33766 grep -v '^ *+' conftest.er1 >conftest.err
33768 cat conftest.err >&5
33769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33770 (exit $ac_status); } && {
33771 test -z "$ac_c_werror_flag" ||
33772 test ! -s conftest.err
33773 } && test -s conftest.$ac_objext; then
33774 ac_cv_type_off_t=yes
33776 echo "$as_me: failed program was:" >&5
33777 sed 's/^/| /' conftest.$ac_ext >&5
33779 ac_cv_type_off_t=no
33782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33784 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33785 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33786 if test $ac_cv_type_off_t = yes; then
33790 cat >>confdefs.h <<_ACEOF
33791 #define off_t long int
33796 { echo "$as_me:$LINENO: checking for pid_t" >&5
33797 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33798 if test "${ac_cv_type_pid_t+set}" = set; then
33799 echo $ECHO_N "(cached) $ECHO_C" >&6
33801 cat >conftest.$ac_ext <<_ACEOF
33804 cat confdefs.h >>conftest.$ac_ext
33805 cat >>conftest.$ac_ext <<_ACEOF
33806 /* end confdefs.h. */
33807 $ac_includes_default
33808 typedef pid_t ac__type_new_;
33812 if ((ac__type_new_ *) 0)
33814 if (sizeof (ac__type_new_))
33820 rm -f conftest.$ac_objext
33821 if { (ac_try="$ac_compile"
33822 case "(($ac_try" in
33823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33824 *) ac_try_echo=$ac_try;;
33826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33827 (eval "$ac_compile") 2>conftest.er1
33829 grep -v '^ *+' conftest.er1 >conftest.err
33831 cat conftest.err >&5
33832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33833 (exit $ac_status); } && {
33834 test -z "$ac_c_werror_flag" ||
33835 test ! -s conftest.err
33836 } && test -s conftest.$ac_objext; then
33837 ac_cv_type_pid_t=yes
33839 echo "$as_me: failed program was:" >&5
33840 sed 's/^/| /' conftest.$ac_ext >&5
33842 ac_cv_type_pid_t=no
33845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33847 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33848 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33849 if test $ac_cv_type_pid_t = yes; then
33853 cat >>confdefs.h <<_ACEOF
33859 { echo "$as_me:$LINENO: checking for size_t" >&5
33860 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33861 if test "${ac_cv_type_size_t+set}" = set; then
33862 echo $ECHO_N "(cached) $ECHO_C" >&6
33864 cat >conftest.$ac_ext <<_ACEOF
33867 cat confdefs.h >>conftest.$ac_ext
33868 cat >>conftest.$ac_ext <<_ACEOF
33869 /* end confdefs.h. */
33870 $ac_includes_default
33871 typedef size_t ac__type_new_;
33875 if ((ac__type_new_ *) 0)
33877 if (sizeof (ac__type_new_))
33883 rm -f conftest.$ac_objext
33884 if { (ac_try="$ac_compile"
33885 case "(($ac_try" in
33886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33887 *) ac_try_echo=$ac_try;;
33889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33890 (eval "$ac_compile") 2>conftest.er1
33892 grep -v '^ *+' conftest.er1 >conftest.err
33894 cat conftest.err >&5
33895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33896 (exit $ac_status); } && {
33897 test -z "$ac_c_werror_flag" ||
33898 test ! -s conftest.err
33899 } && test -s conftest.$ac_objext; then
33900 ac_cv_type_size_t=yes
33902 echo "$as_me: failed program was:" >&5
33903 sed 's/^/| /' conftest.$ac_ext >&5
33905 ac_cv_type_size_t=no
33908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33910 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33911 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33912 if test $ac_cv_type_size_t = yes; then
33916 cat >>confdefs.h <<_ACEOF
33917 #define size_t unsigned int
33923 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33924 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33925 if test "${ac_cv_type_ssize_t+set}" = set; then
33926 echo $ECHO_N "(cached) $ECHO_C" >&6
33928 cat >conftest.$ac_ext <<_ACEOF
33931 cat confdefs.h >>conftest.$ac_ext
33932 cat >>conftest.$ac_ext <<_ACEOF
33933 /* end confdefs.h. */
33934 $ac_includes_default
33935 typedef ssize_t ac__type_new_;
33939 if ((ac__type_new_ *) 0)
33941 if (sizeof (ac__type_new_))
33947 rm -f conftest.$ac_objext
33948 if { (ac_try="$ac_compile"
33949 case "(($ac_try" in
33950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33951 *) ac_try_echo=$ac_try;;
33953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33954 (eval "$ac_compile") 2>conftest.er1
33956 grep -v '^ *+' conftest.er1 >conftest.err
33958 cat conftest.err >&5
33959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33960 (exit $ac_status); } && {
33961 test -z "$ac_c_werror_flag" ||
33962 test ! -s conftest.err
33963 } && test -s conftest.$ac_objext; then
33964 ac_cv_type_ssize_t=yes
33966 echo "$as_me: failed program was:" >&5
33967 sed 's/^/| /' conftest.$ac_ext >&5
33969 ac_cv_type_ssize_t=no
33972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33974 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33975 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33976 if test $ac_cv_type_ssize_t = yes; then
33978 cat >>confdefs.h <<_ACEOF
33979 #define HAVE_SSIZE_T 1
33987 ac_cpp='$CXXCPP $CPPFLAGS'
33988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33991 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33992 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33993 if test "${wx_cv_size_t_is_uint+set}" = set; then
33994 echo $ECHO_N "(cached) $ECHO_C" >&6
33997 cat >conftest.$ac_ext <<_ACEOF
34000 cat confdefs.h >>conftest.$ac_ext
34001 cat >>conftest.$ac_ext <<_ACEOF
34002 /* end confdefs.h. */
34003 #include <stddef.h>
34010 struct Foo { void foo(size_t); void foo(unsigned int); };
34018 rm -f conftest.$ac_objext
34019 if { (ac_try="$ac_compile"
34020 case "(($ac_try" in
34021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34022 *) ac_try_echo=$ac_try;;
34024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34025 (eval "$ac_compile") 2>conftest.er1
34027 grep -v '^ *+' conftest.er1 >conftest.err
34029 cat conftest.err >&5
34030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34031 (exit $ac_status); } && {
34032 test -z "$ac_cxx_werror_flag" ||
34033 test ! -s conftest.err
34034 } && test -s conftest.$ac_objext; then
34035 wx_cv_size_t_is_uint=no
34037 echo "$as_me: failed program was:" >&5
34038 sed 's/^/| /' conftest.$ac_ext >&5
34040 wx_cv_size_t_is_uint=yes
34044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34048 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34049 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34051 if test "$wx_cv_size_t_is_uint" = "yes"; then
34052 cat >>confdefs.h <<\_ACEOF
34053 #define wxSIZE_T_IS_UINT 1
34057 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34058 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34059 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34060 echo $ECHO_N "(cached) $ECHO_C" >&6
34062 cat >conftest.$ac_ext <<_ACEOF
34065 cat confdefs.h >>conftest.$ac_ext
34066 cat >>conftest.$ac_ext <<_ACEOF
34067 /* end confdefs.h. */
34068 #include <stddef.h>
34075 struct Foo { void foo(size_t); void foo(unsigned long); };
34083 rm -f conftest.$ac_objext
34084 if { (ac_try="$ac_compile"
34085 case "(($ac_try" in
34086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34087 *) ac_try_echo=$ac_try;;
34089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34090 (eval "$ac_compile") 2>conftest.er1
34092 grep -v '^ *+' conftest.er1 >conftest.err
34094 cat conftest.err >&5
34095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34096 (exit $ac_status); } && {
34097 test -z "$ac_cxx_werror_flag" ||
34098 test ! -s conftest.err
34099 } && test -s conftest.$ac_objext; then
34100 wx_cv_size_t_is_ulong=no
34102 echo "$as_me: failed program was:" >&5
34103 sed 's/^/| /' conftest.$ac_ext >&5
34105 wx_cv_size_t_is_ulong=yes
34109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34112 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34113 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34115 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34116 cat >>confdefs.h <<\_ACEOF
34117 #define wxSIZE_T_IS_ULONG 1
34123 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34124 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34125 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34126 echo $ECHO_N "(cached) $ECHO_C" >&6
34128 cat >conftest.$ac_ext <<_ACEOF
34131 cat confdefs.h >>conftest.$ac_ext
34132 cat >>conftest.$ac_ext <<_ACEOF
34133 /* end confdefs.h. */
34141 struct Foo { void foo(wchar_t);
34142 void foo(unsigned short);
34143 void foo(unsigned int);
34144 void foo(unsigned long); };
34152 rm -f conftest.$ac_objext
34153 if { (ac_try="$ac_compile"
34154 case "(($ac_try" in
34155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34156 *) ac_try_echo=$ac_try;;
34158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34159 (eval "$ac_compile") 2>conftest.er1
34161 grep -v '^ *+' conftest.er1 >conftest.err
34163 cat conftest.err >&5
34164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34165 (exit $ac_status); } && {
34166 test -z "$ac_cxx_werror_flag" ||
34167 test ! -s conftest.err
34168 } && test -s conftest.$ac_objext; then
34169 wx_cv_wchar_t_is_separate_type=yes
34171 echo "$as_me: failed program was:" >&5
34172 sed 's/^/| /' conftest.$ac_ext >&5
34174 wx_cv_wchar_t_is_separate_type=no
34178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34181 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34182 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34184 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34185 cat >>confdefs.h <<\_ACEOF
34186 #define wxWCHAR_T_IS_REAL_TYPE 1
34190 cat >>confdefs.h <<\_ACEOF
34191 #define wxWCHAR_T_IS_REAL_TYPE 0
34197 ac_cpp='$CPP $CPPFLAGS'
34198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34203 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34204 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34205 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34206 echo $ECHO_N "(cached) $ECHO_C" >&6
34209 cat >conftest.$ac_ext <<_ACEOF
34212 cat confdefs.h >>conftest.$ac_ext
34213 cat >>conftest.$ac_ext <<_ACEOF
34214 /* end confdefs.h. */
34228 rm -f conftest.$ac_objext
34229 if { (ac_try="$ac_compile"
34230 case "(($ac_try" in
34231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34232 *) ac_try_echo=$ac_try;;
34234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34235 (eval "$ac_compile") 2>conftest.er1
34237 grep -v '^ *+' conftest.er1 >conftest.err
34239 cat conftest.err >&5
34240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34241 (exit $ac_status); } && {
34242 test -z "$ac_c_werror_flag" ||
34243 test ! -s conftest.err
34244 } && test -s conftest.$ac_objext; then
34246 wx_cv_struct_pw_gecos=yes
34249 echo "$as_me: failed program was:" >&5
34250 sed 's/^/| /' conftest.$ac_ext >&5
34253 wx_cv_struct_pw_gecos=no
34258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34262 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34263 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34265 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34266 cat >>confdefs.h <<\_ACEOF
34267 #define HAVE_PW_GECOS 1
34273 if test "$wxUSE_WCHAR_T" = "yes"; then
34274 cat >>confdefs.h <<\_ACEOF
34275 #define wxUSE_WCHAR_T 1
34282 for ac_func in wcslen
34284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34285 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34287 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34288 echo $ECHO_N "(cached) $ECHO_C" >&6
34290 cat >conftest.$ac_ext <<_ACEOF
34293 cat confdefs.h >>conftest.$ac_ext
34294 cat >>conftest.$ac_ext <<_ACEOF
34295 /* end confdefs.h. */
34296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34298 #define $ac_func innocuous_$ac_func
34300 /* System header to define __stub macros and hopefully few prototypes,
34301 which can conflict with char $ac_func (); below.
34302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34303 <limits.h> exists even on freestanding compilers. */
34306 # include <limits.h>
34308 # include <assert.h>
34313 /* Override any GCC internal prototype to avoid an error.
34314 Use char because int might match the return type of a GCC
34315 builtin and then its argument prototype would still apply. */
34320 /* The GNU C library defines this for functions which it implements
34321 to always fail with ENOSYS. Some functions are actually named
34322 something starting with __ and the normal name is an alias. */
34323 #if defined __stub_$ac_func || defined __stub___$ac_func
34330 return $ac_func ();
34335 rm -f conftest.$ac_objext conftest$ac_exeext
34336 if { (ac_try="$ac_link"
34337 case "(($ac_try" in
34338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34339 *) ac_try_echo=$ac_try;;
34341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34342 (eval "$ac_link") 2>conftest.er1
34344 grep -v '^ *+' conftest.er1 >conftest.err
34346 cat conftest.err >&5
34347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34348 (exit $ac_status); } && {
34349 test -z "$ac_c_werror_flag" ||
34350 test ! -s conftest.err
34351 } && test -s conftest$ac_exeext &&
34352 $as_test_x conftest$ac_exeext; then
34353 eval "$as_ac_var=yes"
34355 echo "$as_me: failed program was:" >&5
34356 sed 's/^/| /' conftest.$ac_ext >&5
34358 eval "$as_ac_var=no"
34361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34362 conftest$ac_exeext conftest.$ac_ext
34364 ac_res=`eval echo '${'$as_ac_var'}'`
34365 { echo "$as_me:$LINENO: result: $ac_res" >&5
34366 echo "${ECHO_T}$ac_res" >&6; }
34367 if test `eval echo '${'$as_ac_var'}'` = yes; then
34368 cat >>confdefs.h <<_ACEOF
34369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34376 if test "$WCSLEN_FOUND" = 0; then
34377 if test "$TOOLKIT" = "MSW"; then
34378 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34379 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34380 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34381 echo $ECHO_N "(cached) $ECHO_C" >&6
34383 ac_check_lib_save_LIBS=$LIBS
34384 LIBS="-lmsvcrt $LIBS"
34385 cat >conftest.$ac_ext <<_ACEOF
34388 cat confdefs.h >>conftest.$ac_ext
34389 cat >>conftest.$ac_ext <<_ACEOF
34390 /* end confdefs.h. */
34392 /* Override any GCC internal prototype to avoid an error.
34393 Use char because int might match the return type of a GCC
34394 builtin and then its argument prototype would still apply. */
34407 rm -f conftest.$ac_objext conftest$ac_exeext
34408 if { (ac_try="$ac_link"
34409 case "(($ac_try" in
34410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34411 *) ac_try_echo=$ac_try;;
34413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34414 (eval "$ac_link") 2>conftest.er1
34416 grep -v '^ *+' conftest.er1 >conftest.err
34418 cat conftest.err >&5
34419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34420 (exit $ac_status); } && {
34421 test -z "$ac_c_werror_flag" ||
34422 test ! -s conftest.err
34423 } && test -s conftest$ac_exeext &&
34424 $as_test_x conftest$ac_exeext; then
34425 ac_cv_lib_msvcrt_wcslen=yes
34427 echo "$as_me: failed program was:" >&5
34428 sed 's/^/| /' conftest.$ac_ext >&5
34430 ac_cv_lib_msvcrt_wcslen=no
34433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34434 conftest$ac_exeext conftest.$ac_ext
34435 LIBS=$ac_check_lib_save_LIBS
34437 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34438 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34439 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34444 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34445 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34446 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34447 echo $ECHO_N "(cached) $ECHO_C" >&6
34449 ac_check_lib_save_LIBS=$LIBS
34451 cat >conftest.$ac_ext <<_ACEOF
34454 cat confdefs.h >>conftest.$ac_ext
34455 cat >>conftest.$ac_ext <<_ACEOF
34456 /* end confdefs.h. */
34458 /* Override any GCC internal prototype to avoid an error.
34459 Use char because int might match the return type of a GCC
34460 builtin and then its argument prototype would still apply. */
34473 rm -f conftest.$ac_objext conftest$ac_exeext
34474 if { (ac_try="$ac_link"
34475 case "(($ac_try" in
34476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34477 *) ac_try_echo=$ac_try;;
34479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34480 (eval "$ac_link") 2>conftest.er1
34482 grep -v '^ *+' conftest.er1 >conftest.err
34484 cat conftest.err >&5
34485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34486 (exit $ac_status); } && {
34487 test -z "$ac_c_werror_flag" ||
34488 test ! -s conftest.err
34489 } && test -s conftest$ac_exeext &&
34490 $as_test_x conftest$ac_exeext; then
34491 ac_cv_lib_w_wcslen=yes
34493 echo "$as_me: failed program was:" >&5
34494 sed 's/^/| /' conftest.$ac_ext >&5
34496 ac_cv_lib_w_wcslen=no
34499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34500 conftest$ac_exeext conftest.$ac_ext
34501 LIBS=$ac_check_lib_save_LIBS
34503 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34504 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34505 if test $ac_cv_lib_w_wcslen = yes; then
34515 if test "$WCSLEN_FOUND" = 1; then
34516 cat >>confdefs.h <<\_ACEOF
34517 #define HAVE_WCSLEN 1
34523 for ac_func in wcsdup
34525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34526 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34528 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34529 echo $ECHO_N "(cached) $ECHO_C" >&6
34531 cat >conftest.$ac_ext <<_ACEOF
34534 cat confdefs.h >>conftest.$ac_ext
34535 cat >>conftest.$ac_ext <<_ACEOF
34536 /* end confdefs.h. */
34537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34539 #define $ac_func innocuous_$ac_func
34541 /* System header to define __stub macros and hopefully few prototypes,
34542 which can conflict with char $ac_func (); below.
34543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34544 <limits.h> exists even on freestanding compilers. */
34547 # include <limits.h>
34549 # include <assert.h>
34554 /* Override any GCC internal prototype to avoid an error.
34555 Use char because int might match the return type of a GCC
34556 builtin and then its argument prototype would still apply. */
34561 /* The GNU C library defines this for functions which it implements
34562 to always fail with ENOSYS. Some functions are actually named
34563 something starting with __ and the normal name is an alias. */
34564 #if defined __stub_$ac_func || defined __stub___$ac_func
34571 return $ac_func ();
34576 rm -f conftest.$ac_objext conftest$ac_exeext
34577 if { (ac_try="$ac_link"
34578 case "(($ac_try" in
34579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34580 *) ac_try_echo=$ac_try;;
34582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34583 (eval "$ac_link") 2>conftest.er1
34585 grep -v '^ *+' conftest.er1 >conftest.err
34587 cat conftest.err >&5
34588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34589 (exit $ac_status); } && {
34590 test -z "$ac_c_werror_flag" ||
34591 test ! -s conftest.err
34592 } && test -s conftest$ac_exeext &&
34593 $as_test_x conftest$ac_exeext; then
34594 eval "$as_ac_var=yes"
34596 echo "$as_me: failed program was:" >&5
34597 sed 's/^/| /' conftest.$ac_ext >&5
34599 eval "$as_ac_var=no"
34602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34603 conftest$ac_exeext conftest.$ac_ext
34605 ac_res=`eval echo '${'$as_ac_var'}'`
34606 { echo "$as_me:$LINENO: result: $ac_res" >&5
34607 echo "${ECHO_T}$ac_res" >&6; }
34608 if test `eval echo '${'$as_ac_var'}'` = yes; then
34609 cat >>confdefs.h <<_ACEOF
34610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34617 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34618 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34621 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34622 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34623 if test "${ac_cv_type_mbstate_t+set}" = set; then
34624 echo $ECHO_N "(cached) $ECHO_C" >&6
34626 cat >conftest.$ac_ext <<_ACEOF
34629 cat confdefs.h >>conftest.$ac_ext
34630 cat >>conftest.$ac_ext <<_ACEOF
34631 /* end confdefs.h. */
34634 typedef mbstate_t ac__type_new_;
34638 if ((ac__type_new_ *) 0)
34640 if (sizeof (ac__type_new_))
34646 rm -f conftest.$ac_objext
34647 if { (ac_try="$ac_compile"
34648 case "(($ac_try" in
34649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34650 *) ac_try_echo=$ac_try;;
34652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34653 (eval "$ac_compile") 2>conftest.er1
34655 grep -v '^ *+' conftest.er1 >conftest.err
34657 cat conftest.err >&5
34658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34659 (exit $ac_status); } && {
34660 test -z "$ac_c_werror_flag" ||
34661 test ! -s conftest.err
34662 } && test -s conftest.$ac_objext; then
34663 ac_cv_type_mbstate_t=yes
34665 echo "$as_me: failed program was:" >&5
34666 sed 's/^/| /' conftest.$ac_ext >&5
34668 ac_cv_type_mbstate_t=no
34671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34673 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34674 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34675 if test $ac_cv_type_mbstate_t = yes; then
34677 cat >>confdefs.h <<_ACEOF
34678 #define HAVE_MBSTATE_T 1
34682 for ac_func in wcsrtombs
34684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34685 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34687 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34688 echo $ECHO_N "(cached) $ECHO_C" >&6
34690 cat >conftest.$ac_ext <<_ACEOF
34693 cat confdefs.h >>conftest.$ac_ext
34694 cat >>conftest.$ac_ext <<_ACEOF
34695 /* end confdefs.h. */
34696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34698 #define $ac_func innocuous_$ac_func
34700 /* System header to define __stub macros and hopefully few prototypes,
34701 which can conflict with char $ac_func (); below.
34702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34703 <limits.h> exists even on freestanding compilers. */
34706 # include <limits.h>
34708 # include <assert.h>
34713 /* Override any GCC internal prototype to avoid an error.
34714 Use char because int might match the return type of a GCC
34715 builtin and then its argument prototype would still apply. */
34720 /* The GNU C library defines this for functions which it implements
34721 to always fail with ENOSYS. Some functions are actually named
34722 something starting with __ and the normal name is an alias. */
34723 #if defined __stub_$ac_func || defined __stub___$ac_func
34730 return $ac_func ();
34735 rm -f conftest.$ac_objext conftest$ac_exeext
34736 if { (ac_try="$ac_link"
34737 case "(($ac_try" in
34738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34739 *) ac_try_echo=$ac_try;;
34741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34742 (eval "$ac_link") 2>conftest.er1
34744 grep -v '^ *+' conftest.er1 >conftest.err
34746 cat conftest.err >&5
34747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34748 (exit $ac_status); } && {
34749 test -z "$ac_c_werror_flag" ||
34750 test ! -s conftest.err
34751 } && test -s conftest$ac_exeext &&
34752 $as_test_x conftest$ac_exeext; then
34753 eval "$as_ac_var=yes"
34755 echo "$as_me: failed program was:" >&5
34756 sed 's/^/| /' conftest.$ac_ext >&5
34758 eval "$as_ac_var=no"
34761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34762 conftest$ac_exeext conftest.$ac_ext
34764 ac_res=`eval echo '${'$as_ac_var'}'`
34765 { echo "$as_me:$LINENO: result: $ac_res" >&5
34766 echo "${ECHO_T}$ac_res" >&6; }
34767 if test `eval echo '${'$as_ac_var'}'` = yes; then
34768 cat >>confdefs.h <<_ACEOF
34769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34778 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34779 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34784 for ac_func in snprintf vsnprintf
34786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34787 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34789 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34790 echo $ECHO_N "(cached) $ECHO_C" >&6
34792 cat >conftest.$ac_ext <<_ACEOF
34795 cat confdefs.h >>conftest.$ac_ext
34796 cat >>conftest.$ac_ext <<_ACEOF
34797 /* end confdefs.h. */
34798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34800 #define $ac_func innocuous_$ac_func
34802 /* System header to define __stub macros and hopefully few prototypes,
34803 which can conflict with char $ac_func (); below.
34804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34805 <limits.h> exists even on freestanding compilers. */
34808 # include <limits.h>
34810 # include <assert.h>
34815 /* Override any GCC internal prototype to avoid an error.
34816 Use char because int might match the return type of a GCC
34817 builtin and then its argument prototype would still apply. */
34822 /* The GNU C library defines this for functions which it implements
34823 to always fail with ENOSYS. Some functions are actually named
34824 something starting with __ and the normal name is an alias. */
34825 #if defined __stub_$ac_func || defined __stub___$ac_func
34832 return $ac_func ();
34837 rm -f conftest.$ac_objext conftest$ac_exeext
34838 if { (ac_try="$ac_link"
34839 case "(($ac_try" in
34840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34841 *) ac_try_echo=$ac_try;;
34843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34844 (eval "$ac_link") 2>conftest.er1
34846 grep -v '^ *+' conftest.er1 >conftest.err
34848 cat conftest.err >&5
34849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34850 (exit $ac_status); } && {
34851 test -z "$ac_c_werror_flag" ||
34852 test ! -s conftest.err
34853 } && test -s conftest$ac_exeext &&
34854 $as_test_x conftest$ac_exeext; then
34855 eval "$as_ac_var=yes"
34857 echo "$as_me: failed program was:" >&5
34858 sed 's/^/| /' conftest.$ac_ext >&5
34860 eval "$as_ac_var=no"
34863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34864 conftest$ac_exeext conftest.$ac_ext
34866 ac_res=`eval echo '${'$as_ac_var'}'`
34867 { echo "$as_me:$LINENO: result: $ac_res" >&5
34868 echo "${ECHO_T}$ac_res" >&6; }
34869 if test `eval echo '${'$as_ac_var'}'` = yes; then
34870 cat >>confdefs.h <<_ACEOF
34871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34878 if test "$ac_cv_func_vsnprintf" = "yes"; then
34879 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34880 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34881 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34882 echo $ECHO_N "(cached) $ECHO_C" >&6
34885 cat >conftest.$ac_ext <<_ACEOF
34888 cat confdefs.h >>conftest.$ac_ext
34889 cat >>conftest.$ac_ext <<_ACEOF
34890 /* end confdefs.h. */
34893 #include <stdarg.h>
34895 #if __MSL__ >= 0x6000
34897 using namespace std;
34907 vsnprintf(buf, 10u, "%s", ap);
34913 rm -f conftest.$ac_objext
34914 if { (ac_try="$ac_compile"
34915 case "(($ac_try" in
34916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34917 *) ac_try_echo=$ac_try;;
34919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34920 (eval "$ac_compile") 2>conftest.er1
34922 grep -v '^ *+' conftest.er1 >conftest.err
34924 cat conftest.err >&5
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); } && {
34927 test -z "$ac_c_werror_flag" ||
34928 test ! -s conftest.err
34929 } && test -s conftest.$ac_objext; then
34930 wx_cv_func_vsnprintf_decl=yes
34932 echo "$as_me: failed program was:" >&5
34933 sed 's/^/| /' conftest.$ac_ext >&5
34935 wx_cv_func_vsnprintf_decl=no
34939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34943 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34944 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34946 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34947 cat >>confdefs.h <<\_ACEOF
34948 #define HAVE_VSNPRINTF_DECL 1
34952 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34953 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34954 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34955 echo $ECHO_N "(cached) $ECHO_C" >&6
34958 cat >conftest.$ac_ext <<_ACEOF
34961 cat confdefs.h >>conftest.$ac_ext
34962 cat >>conftest.$ac_ext <<_ACEOF
34963 /* end confdefs.h. */
34966 #include <stdarg.h>
34968 #if __MSL__ >= 0x6000
34970 using namespace std;
34980 const char *fmt = "%s";
34981 vsnprintf(buf, 10u, fmt, ap);
34987 rm -f conftest.$ac_objext
34988 if { (ac_try="$ac_compile"
34989 case "(($ac_try" in
34990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34991 *) ac_try_echo=$ac_try;;
34993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34994 (eval "$ac_compile") 2>conftest.er1
34996 grep -v '^ *+' conftest.er1 >conftest.err
34998 cat conftest.err >&5
34999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35000 (exit $ac_status); } && {
35001 test -z "$ac_c_werror_flag" ||
35002 test ! -s conftest.err
35003 } && test -s conftest.$ac_objext; then
35004 wx_cv_func_broken_vsnprintf_decl=no
35006 echo "$as_me: failed program was:" >&5
35007 sed 's/^/| /' conftest.$ac_ext >&5
35009 wx_cv_func_broken_vsnprintf_decl=yes
35013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35017 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35018 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35020 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35021 cat >>confdefs.h <<\_ACEOF
35022 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35029 if test "$ac_cv_func_snprintf" = "yes"; then
35030 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35031 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35032 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35033 echo $ECHO_N "(cached) $ECHO_C" >&6
35036 cat >conftest.$ac_ext <<_ACEOF
35039 cat confdefs.h >>conftest.$ac_ext
35040 cat >>conftest.$ac_ext <<_ACEOF
35041 /* end confdefs.h. */
35044 #include <stdarg.h>
35046 #if __MSL__ >= 0x6000
35048 using namespace std;
35057 snprintf(buf, 10u, "%s", "wx");
35063 rm -f conftest.$ac_objext
35064 if { (ac_try="$ac_compile"
35065 case "(($ac_try" in
35066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35067 *) ac_try_echo=$ac_try;;
35069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35070 (eval "$ac_compile") 2>conftest.er1
35072 grep -v '^ *+' conftest.er1 >conftest.err
35074 cat conftest.err >&5
35075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35076 (exit $ac_status); } && {
35077 test -z "$ac_c_werror_flag" ||
35078 test ! -s conftest.err
35079 } && test -s conftest.$ac_objext; then
35080 wx_cv_func_snprintf_decl=yes
35082 echo "$as_me: failed program was:" >&5
35083 sed 's/^/| /' conftest.$ac_ext >&5
35085 wx_cv_func_snprintf_decl=no
35089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35093 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35094 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35096 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35097 cat >>confdefs.h <<\_ACEOF
35098 #define HAVE_SNPRINTF_DECL 1
35103 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35105 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35106 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35107 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35108 echo $ECHO_N "(cached) $ECHO_C" >&6
35111 if test "$cross_compiling" = yes; then
35113 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35114 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35115 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35116 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35117 wx_cv_func_snprintf_pos_params=no
35121 cat >conftest.$ac_ext <<_ACEOF
35124 cat confdefs.h >>conftest.$ac_ext
35125 cat >>conftest.$ac_ext <<_ACEOF
35126 /* end confdefs.h. */
35133 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35134 if (strcmp ("2 3 1", buffer) == 0)
35140 rm -f conftest$ac_exeext
35141 if { (ac_try="$ac_link"
35142 case "(($ac_try" in
35143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35144 *) ac_try_echo=$ac_try;;
35146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35147 (eval "$ac_link") 2>&5
35149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35150 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35151 { (case "(($ac_try" in
35152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35153 *) ac_try_echo=$ac_try;;
35155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35156 (eval "$ac_try") 2>&5
35158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35159 (exit $ac_status); }; }; then
35160 wx_cv_func_snprintf_pos_params=no
35162 echo "$as_me: program exited with status $ac_status" >&5
35163 echo "$as_me: failed program was:" >&5
35164 sed 's/^/| /' conftest.$ac_ext >&5
35166 ( exit $ac_status )
35167 wx_cv_func_snprintf_pos_params=yes
35169 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35176 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35177 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35179 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35180 cat >>confdefs.h <<\_ACEOF
35181 #define HAVE_UNIX98_PRINTF 1
35188 if test "$wxUSE_UNICODE" = yes; then
35190 wchar_headers="#include <stdio.h>
35191 #include <wchar.h>"
35195 for ac_header in widec.h
35197 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35198 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35200 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35201 echo $ECHO_N "(cached) $ECHO_C" >&6
35203 cat >conftest.$ac_ext <<_ACEOF
35206 cat confdefs.h >>conftest.$ac_ext
35207 cat >>conftest.$ac_ext <<_ACEOF
35208 /* end confdefs.h. */
35209 $ac_includes_default
35211 #include <$ac_header>
35213 rm -f conftest.$ac_objext
35214 if { (ac_try="$ac_compile"
35215 case "(($ac_try" in
35216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35217 *) ac_try_echo=$ac_try;;
35219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35220 (eval "$ac_compile") 2>conftest.er1
35222 grep -v '^ *+' conftest.er1 >conftest.err
35224 cat conftest.err >&5
35225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35226 (exit $ac_status); } && {
35227 test -z "$ac_c_werror_flag" ||
35228 test ! -s conftest.err
35229 } && test -s conftest.$ac_objext; then
35230 eval "$as_ac_Header=yes"
35232 echo "$as_me: failed program was:" >&5
35233 sed 's/^/| /' conftest.$ac_ext >&5
35235 eval "$as_ac_Header=no"
35238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35240 ac_res=`eval echo '${'$as_ac_Header'}'`
35241 { echo "$as_me:$LINENO: result: $ac_res" >&5
35242 echo "${ECHO_T}$ac_res" >&6; }
35243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35244 cat >>confdefs.h <<_ACEOF
35245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35252 if test "$ac_cv_header_widec_h" = "yes"; then
35253 wchar_headers="$wchar_headers
35254 #include <widec.h>"
35259 for wx_func in putws fputws wprintf vswprintf
35261 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35262 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35263 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35264 echo $ECHO_N "(cached) $ECHO_C" >&6
35267 cat >conftest.$ac_ext <<_ACEOF
35271 cat confdefs.h >>conftest.$ac_ext
35272 cat >>conftest.$ac_ext <<_ACEOF
35273 /* end confdefs.h. */
35276 $ac_includes_default
35292 rm -f conftest.$ac_objext conftest$ac_exeext
35293 if { (ac_try="$ac_link"
35294 case "(($ac_try" in
35295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35296 *) ac_try_echo=$ac_try;;
35298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35299 (eval "$ac_link") 2>conftest.er1
35301 grep -v '^ *+' conftest.er1 >conftest.err
35303 cat conftest.err >&5
35304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35305 (exit $ac_status); } && {
35306 test -z "$ac_c_werror_flag" ||
35307 test ! -s conftest.err
35308 } && test -s conftest$ac_exeext &&
35309 $as_test_x conftest$ac_exeext; then
35310 eval wx_cv_func_$wx_func=yes
35312 echo "$as_me: failed program was:" >&5
35313 sed 's/^/| /' conftest.$ac_ext >&5
35315 eval wx_cv_func_$wx_func=no
35318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35319 conftest$ac_exeext conftest.$ac_ext
35322 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35323 { echo "$as_me:$LINENO: result: $ac_res" >&5
35324 echo "${ECHO_T}$ac_res" >&6; }
35326 if eval test \$wx_cv_func_$wx_func = yes
35328 cat >>confdefs.h <<_ACEOF
35329 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35340 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35341 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35342 cat >conftest.$ac_ext <<_ACEOF
35345 cat confdefs.h >>conftest.$ac_ext
35346 cat >>conftest.$ac_ext <<_ACEOF
35347 /* end confdefs.h. */
35357 rm -f conftest.$ac_objext
35358 if { (ac_try="$ac_compile"
35359 case "(($ac_try" in
35360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35361 *) ac_try_echo=$ac_try;;
35363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35364 (eval "$ac_compile") 2>conftest.er1
35366 grep -v '^ *+' conftest.er1 >conftest.err
35368 cat conftest.err >&5
35369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35370 (exit $ac_status); } && {
35371 test -z "$ac_c_werror_flag" ||
35372 test ! -s conftest.err
35373 } && test -s conftest.$ac_objext; then
35374 { echo "$as_me:$LINENO: result: yes" >&5
35375 echo "${ECHO_T}yes" >&6; }
35376 cat >>confdefs.h <<\_ACEOF
35377 #define HAVE__VSNWPRINTF 1
35381 echo "$as_me: failed program was:" >&5
35382 sed 's/^/| /' conftest.$ac_ext >&5
35384 { echo "$as_me:$LINENO: result: no" >&5
35385 echo "${ECHO_T}no" >&6; }
35388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35391 if test "$wxUSE_FILE" = "yes"; then
35393 for wx_func in fsync
35395 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35396 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35397 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35398 echo $ECHO_N "(cached) $ECHO_C" >&6
35401 cat >conftest.$ac_ext <<_ACEOF
35405 cat confdefs.h >>conftest.$ac_ext
35406 cat >>conftest.$ac_ext <<_ACEOF
35407 /* end confdefs.h. */
35410 $ac_includes_default
35426 rm -f conftest.$ac_objext conftest$ac_exeext
35427 if { (ac_try="$ac_link"
35428 case "(($ac_try" in
35429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35430 *) ac_try_echo=$ac_try;;
35432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35433 (eval "$ac_link") 2>conftest.er1
35435 grep -v '^ *+' conftest.er1 >conftest.err
35437 cat conftest.err >&5
35438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35439 (exit $ac_status); } && {
35440 test -z "$ac_c_werror_flag" ||
35441 test ! -s conftest.err
35442 } && test -s conftest$ac_exeext &&
35443 $as_test_x conftest$ac_exeext; then
35444 eval wx_cv_func_$wx_func=yes
35446 echo "$as_me: failed program was:" >&5
35447 sed 's/^/| /' conftest.$ac_ext >&5
35449 eval wx_cv_func_$wx_func=no
35452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35453 conftest$ac_exeext conftest.$ac_ext
35456 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35457 { echo "$as_me:$LINENO: result: $ac_res" >&5
35458 echo "${ECHO_T}$ac_res" >&6; }
35460 if eval test \$wx_cv_func_$wx_func = yes
35462 cat >>confdefs.h <<_ACEOF
35463 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35476 ac_cpp='$CXXCPP $CPPFLAGS'
35477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35482 for wx_func in round
35484 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35485 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35486 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35487 echo $ECHO_N "(cached) $ECHO_C" >&6
35490 cat >conftest.$ac_ext <<_ACEOF
35494 cat confdefs.h >>conftest.$ac_ext
35495 cat >>conftest.$ac_ext <<_ACEOF
35496 /* end confdefs.h. */
35499 $ac_includes_default
35515 rm -f conftest.$ac_objext conftest$ac_exeext
35516 if { (ac_try="$ac_link"
35517 case "(($ac_try" in
35518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35519 *) ac_try_echo=$ac_try;;
35521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35522 (eval "$ac_link") 2>conftest.er1
35524 grep -v '^ *+' conftest.er1 >conftest.err
35526 cat conftest.err >&5
35527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35528 (exit $ac_status); } && {
35529 test -z "$ac_cxx_werror_flag" ||
35530 test ! -s conftest.err
35531 } && test -s conftest$ac_exeext &&
35532 $as_test_x conftest$ac_exeext; then
35533 eval wx_cv_func_$wx_func=yes
35535 echo "$as_me: failed program was:" >&5
35536 sed 's/^/| /' conftest.$ac_ext >&5
35538 eval wx_cv_func_$wx_func=no
35541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35542 conftest$ac_exeext conftest.$ac_ext
35545 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35546 { echo "$as_me:$LINENO: result: $ac_res" >&5
35547 echo "${ECHO_T}$ac_res" >&6; }
35549 if eval test \$wx_cv_func_$wx_func = yes
35551 cat >>confdefs.h <<_ACEOF
35552 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35563 ac_cpp='$CPP $CPPFLAGS'
35564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35569 if test "$TOOLKIT" != "MSW"; then
35575 # Check whether --with-libiconv-prefix was given.
35576 if test "${with_libiconv_prefix+set}" = set; then
35577 withval=$with_libiconv_prefix;
35578 for dir in `echo "$withval" | tr : ' '`; do
35579 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35580 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35586 { echo "$as_me:$LINENO: checking for iconv" >&5
35587 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35588 if test "${am_cv_func_iconv+set}" = set; then
35589 echo $ECHO_N "(cached) $ECHO_C" >&6
35592 am_cv_func_iconv="no, consider installing GNU libiconv"
35594 cat >conftest.$ac_ext <<_ACEOF
35597 cat confdefs.h >>conftest.$ac_ext
35598 cat >>conftest.$ac_ext <<_ACEOF
35599 /* end confdefs.h. */
35600 #include <stdlib.h>
35605 iconv_t cd = iconv_open("","");
35606 iconv(cd,NULL,NULL,NULL,NULL);
35612 rm -f conftest.$ac_objext conftest$ac_exeext
35613 if { (ac_try="$ac_link"
35614 case "(($ac_try" in
35615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35616 *) ac_try_echo=$ac_try;;
35618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35619 (eval "$ac_link") 2>conftest.er1
35621 grep -v '^ *+' conftest.er1 >conftest.err
35623 cat conftest.err >&5
35624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35625 (exit $ac_status); } && {
35626 test -z "$ac_c_werror_flag" ||
35627 test ! -s conftest.err
35628 } && test -s conftest$ac_exeext &&
35629 $as_test_x conftest$ac_exeext; then
35630 am_cv_func_iconv=yes
35632 echo "$as_me: failed program was:" >&5
35633 sed 's/^/| /' conftest.$ac_ext >&5
35638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35639 conftest$ac_exeext conftest.$ac_ext
35640 if test "$am_cv_func_iconv" != yes; then
35641 am_save_LIBS="$LIBS"
35642 LIBS="$LIBS -liconv"
35643 cat >conftest.$ac_ext <<_ACEOF
35646 cat confdefs.h >>conftest.$ac_ext
35647 cat >>conftest.$ac_ext <<_ACEOF
35648 /* end confdefs.h. */
35649 #include <stdlib.h>
35654 iconv_t cd = iconv_open("","");
35655 iconv(cd,NULL,NULL,NULL,NULL);
35661 rm -f conftest.$ac_objext conftest$ac_exeext
35662 if { (ac_try="$ac_link"
35663 case "(($ac_try" in
35664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35665 *) ac_try_echo=$ac_try;;
35667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35668 (eval "$ac_link") 2>conftest.er1
35670 grep -v '^ *+' conftest.er1 >conftest.err
35672 cat conftest.err >&5
35673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35674 (exit $ac_status); } && {
35675 test -z "$ac_c_werror_flag" ||
35676 test ! -s conftest.err
35677 } && test -s conftest$ac_exeext &&
35678 $as_test_x conftest$ac_exeext; then
35679 am_cv_lib_iconv=yes
35680 am_cv_func_iconv=yes
35682 echo "$as_me: failed program was:" >&5
35683 sed 's/^/| /' conftest.$ac_ext >&5
35688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35689 conftest$ac_exeext conftest.$ac_ext
35690 LIBS="$am_save_LIBS"
35694 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35695 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35696 if test "$am_cv_func_iconv" = yes; then
35698 cat >>confdefs.h <<\_ACEOF
35699 #define HAVE_ICONV 1
35702 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35703 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35704 if test "${wx_cv_func_iconv_const+set}" = set; then
35705 echo $ECHO_N "(cached) $ECHO_C" >&6
35707 cat >conftest.$ac_ext <<_ACEOF
35710 cat confdefs.h >>conftest.$ac_ext
35711 cat >>conftest.$ac_ext <<_ACEOF
35712 /* end confdefs.h. */
35714 #include <stdlib.h>
35720 #if defined(__STDC__) || defined(__cplusplus)
35721 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35734 rm -f conftest.$ac_objext
35735 if { (ac_try="$ac_compile"
35736 case "(($ac_try" in
35737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35738 *) ac_try_echo=$ac_try;;
35740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35741 (eval "$ac_compile") 2>conftest.er1
35743 grep -v '^ *+' conftest.er1 >conftest.err
35745 cat conftest.err >&5
35746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35747 (exit $ac_status); } && {
35748 test -z "$ac_c_werror_flag" ||
35749 test ! -s conftest.err
35750 } && test -s conftest.$ac_objext; then
35751 wx_cv_func_iconv_const="no"
35753 echo "$as_me: failed program was:" >&5
35754 sed 's/^/| /' conftest.$ac_ext >&5
35756 wx_cv_func_iconv_const="yes"
35760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35763 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35764 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35767 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35768 iconv_const="const"
35772 cat >>confdefs.h <<_ACEOF
35773 #define ICONV_CONST $iconv_const
35778 if test "$am_cv_lib_iconv" = yes; then
35783 LIBS="$LIBICONV $LIBS"
35785 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35787 for ac_func in sigaction
35789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35790 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35792 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35793 echo $ECHO_N "(cached) $ECHO_C" >&6
35795 cat >conftest.$ac_ext <<_ACEOF
35798 cat confdefs.h >>conftest.$ac_ext
35799 cat >>conftest.$ac_ext <<_ACEOF
35800 /* end confdefs.h. */
35801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35803 #define $ac_func innocuous_$ac_func
35805 /* System header to define __stub macros and hopefully few prototypes,
35806 which can conflict with char $ac_func (); below.
35807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35808 <limits.h> exists even on freestanding compilers. */
35811 # include <limits.h>
35813 # include <assert.h>
35818 /* Override any GCC internal prototype to avoid an error.
35819 Use char because int might match the return type of a GCC
35820 builtin and then its argument prototype would still apply. */
35825 /* The GNU C library defines this for functions which it implements
35826 to always fail with ENOSYS. Some functions are actually named
35827 something starting with __ and the normal name is an alias. */
35828 #if defined __stub_$ac_func || defined __stub___$ac_func
35835 return $ac_func ();
35840 rm -f conftest.$ac_objext conftest$ac_exeext
35841 if { (ac_try="$ac_link"
35842 case "(($ac_try" in
35843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35844 *) ac_try_echo=$ac_try;;
35846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35847 (eval "$ac_link") 2>conftest.er1
35849 grep -v '^ *+' conftest.er1 >conftest.err
35851 cat conftest.err >&5
35852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35853 (exit $ac_status); } && {
35854 test -z "$ac_c_werror_flag" ||
35855 test ! -s conftest.err
35856 } && test -s conftest$ac_exeext &&
35857 $as_test_x conftest$ac_exeext; then
35858 eval "$as_ac_var=yes"
35860 echo "$as_me: failed program was:" >&5
35861 sed 's/^/| /' conftest.$ac_ext >&5
35863 eval "$as_ac_var=no"
35866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35867 conftest$ac_exeext conftest.$ac_ext
35869 ac_res=`eval echo '${'$as_ac_var'}'`
35870 { echo "$as_me:$LINENO: result: $ac_res" >&5
35871 echo "${ECHO_T}$ac_res" >&6; }
35872 if test `eval echo '${'$as_ac_var'}'` = yes; then
35873 cat >>confdefs.h <<_ACEOF
35874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35881 if test "$ac_cv_func_sigaction" = "no"; then
35882 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35883 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35884 wxUSE_ON_FATAL_EXCEPTION=no
35887 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35888 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35889 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35890 if test "${wx_cv_type_sa_handler+set}" = set; then
35891 echo $ECHO_N "(cached) $ECHO_C" >&6
35895 ac_cpp='$CXXCPP $CPPFLAGS'
35896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35900 cat >conftest.$ac_ext <<_ACEOF
35903 cat confdefs.h >>conftest.$ac_ext
35904 cat >>conftest.$ac_ext <<_ACEOF
35905 /* end confdefs.h. */
35906 #include <signal.h>
35911 extern void testSigHandler(int);
35913 struct sigaction sa;
35914 sa.sa_handler = testSigHandler;
35920 rm -f conftest.$ac_objext
35921 if { (ac_try="$ac_compile"
35922 case "(($ac_try" in
35923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35924 *) ac_try_echo=$ac_try;;
35926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35927 (eval "$ac_compile") 2>conftest.er1
35929 grep -v '^ *+' conftest.er1 >conftest.err
35931 cat conftest.err >&5
35932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35933 (exit $ac_status); } && {
35934 test -z "$ac_cxx_werror_flag" ||
35935 test ! -s conftest.err
35936 } && test -s conftest.$ac_objext; then
35938 wx_cv_type_sa_handler=int
35941 echo "$as_me: failed program was:" >&5
35942 sed 's/^/| /' conftest.$ac_ext >&5
35945 wx_cv_type_sa_handler=void
35949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35951 ac_cpp='$CPP $CPPFLAGS'
35952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35958 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35959 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35961 cat >>confdefs.h <<_ACEOF
35962 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35968 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35969 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35970 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35971 if test "${wx_cv_func_backtrace+set}" = set; then
35972 echo $ECHO_N "(cached) $ECHO_C" >&6
35976 ac_cpp='$CXXCPP $CPPFLAGS'
35977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35981 cat >conftest.$ac_ext <<_ACEOF
35984 cat confdefs.h >>conftest.$ac_ext
35985 cat >>conftest.$ac_ext <<_ACEOF
35986 /* end confdefs.h. */
35987 #include <execinfo.h>
35995 backtrace(trace, 1);
35996 messages = backtrace_symbols(trace, 1);
36002 rm -f conftest.$ac_objext
36003 if { (ac_try="$ac_compile"
36004 case "(($ac_try" in
36005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36006 *) ac_try_echo=$ac_try;;
36008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36009 (eval "$ac_compile") 2>conftest.er1
36011 grep -v '^ *+' conftest.er1 >conftest.err
36013 cat conftest.err >&5
36014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36015 (exit $ac_status); } && {
36016 test -z "$ac_cxx_werror_flag" ||
36017 test ! -s conftest.err
36018 } && test -s conftest.$ac_objext; then
36019 wx_cv_func_backtrace=yes
36021 echo "$as_me: failed program was:" >&5
36022 sed 's/^/| /' conftest.$ac_ext >&5
36024 wx_cv_func_backtrace=no
36028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36030 ac_cpp='$CPP $CPPFLAGS'
36031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36038 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36039 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36042 if test "$wx_cv_func_backtrace" = "no"; then
36043 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36044 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36045 wxUSE_STACKWALKER=no
36047 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36048 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36049 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36050 echo $ECHO_N "(cached) $ECHO_C" >&6
36054 ac_cpp='$CXXCPP $CPPFLAGS'
36055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36059 cat >conftest.$ac_ext <<_ACEOF
36062 cat confdefs.h >>conftest.$ac_ext
36063 cat >>conftest.$ac_ext <<_ACEOF
36064 /* end confdefs.h. */
36065 #include <cxxabi.h>
36071 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36077 rm -f conftest.$ac_objext conftest$ac_exeext
36078 if { (ac_try="$ac_link"
36079 case "(($ac_try" in
36080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36081 *) ac_try_echo=$ac_try;;
36083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36084 (eval "$ac_link") 2>conftest.er1
36086 grep -v '^ *+' conftest.er1 >conftest.err
36088 cat conftest.err >&5
36089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36090 (exit $ac_status); } && {
36091 test -z "$ac_cxx_werror_flag" ||
36092 test ! -s conftest.err
36093 } && test -s conftest$ac_exeext &&
36094 $as_test_x conftest$ac_exeext; then
36095 wx_cv_func_cxa_demangle=yes
36097 echo "$as_me: failed program was:" >&5
36098 sed 's/^/| /' conftest.$ac_ext >&5
36100 wx_cv_func_cxa_demangle=no
36104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36105 conftest$ac_exeext conftest.$ac_ext
36107 ac_cpp='$CPP $CPPFLAGS'
36108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36115 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36116 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36118 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36119 cat >>confdefs.h <<\_ACEOF
36120 #define HAVE_CXA_DEMANGLE 1
36127 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36128 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36129 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36130 wxUSE_STACKWALKER=no
36136 for ac_func in mkstemp mktemp
36138 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36139 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36141 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36142 echo $ECHO_N "(cached) $ECHO_C" >&6
36144 cat >conftest.$ac_ext <<_ACEOF
36147 cat confdefs.h >>conftest.$ac_ext
36148 cat >>conftest.$ac_ext <<_ACEOF
36149 /* end confdefs.h. */
36150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36152 #define $ac_func innocuous_$ac_func
36154 /* System header to define __stub macros and hopefully few prototypes,
36155 which can conflict with char $ac_func (); below.
36156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36157 <limits.h> exists even on freestanding compilers. */
36160 # include <limits.h>
36162 # include <assert.h>
36167 /* Override any GCC internal prototype to avoid an error.
36168 Use char because int might match the return type of a GCC
36169 builtin and then its argument prototype would still apply. */
36174 /* The GNU C library defines this for functions which it implements
36175 to always fail with ENOSYS. Some functions are actually named
36176 something starting with __ and the normal name is an alias. */
36177 #if defined __stub_$ac_func || defined __stub___$ac_func
36184 return $ac_func ();
36189 rm -f conftest.$ac_objext conftest$ac_exeext
36190 if { (ac_try="$ac_link"
36191 case "(($ac_try" in
36192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36193 *) ac_try_echo=$ac_try;;
36195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36196 (eval "$ac_link") 2>conftest.er1
36198 grep -v '^ *+' conftest.er1 >conftest.err
36200 cat conftest.err >&5
36201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36202 (exit $ac_status); } && {
36203 test -z "$ac_c_werror_flag" ||
36204 test ! -s conftest.err
36205 } && test -s conftest$ac_exeext &&
36206 $as_test_x conftest$ac_exeext; then
36207 eval "$as_ac_var=yes"
36209 echo "$as_me: failed program was:" >&5
36210 sed 's/^/| /' conftest.$ac_ext >&5
36212 eval "$as_ac_var=no"
36215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36216 conftest$ac_exeext conftest.$ac_ext
36218 ac_res=`eval echo '${'$as_ac_var'}'`
36219 { echo "$as_me:$LINENO: result: $ac_res" >&5
36220 echo "${ECHO_T}$ac_res" >&6; }
36221 if test `eval echo '${'$as_ac_var'}'` = yes; then
36222 cat >>confdefs.h <<_ACEOF
36223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36230 { echo "$as_me:$LINENO: checking for statfs" >&5
36231 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36232 if test "${wx_cv_func_statfs+set}" = set; then
36233 echo $ECHO_N "(cached) $ECHO_C" >&6
36235 cat >conftest.$ac_ext <<_ACEOF
36238 cat confdefs.h >>conftest.$ac_ext
36239 cat >>conftest.$ac_ext <<_ACEOF
36240 /* end confdefs.h. */
36242 #if defined(__BSD__)
36243 #include <sys/param.h>
36244 #include <sys/mount.h>
36246 #include <sys/vfs.h>
36264 rm -f conftest.$ac_objext
36265 if { (ac_try="$ac_compile"
36266 case "(($ac_try" in
36267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36268 *) ac_try_echo=$ac_try;;
36270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36271 (eval "$ac_compile") 2>conftest.er1
36273 grep -v '^ *+' conftest.er1 >conftest.err
36275 cat conftest.err >&5
36276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36277 (exit $ac_status); } && {
36278 test -z "$ac_c_werror_flag" ||
36279 test ! -s conftest.err
36280 } && test -s conftest.$ac_objext; then
36281 wx_cv_func_statfs=yes
36283 echo "$as_me: failed program was:" >&5
36284 sed 's/^/| /' conftest.$ac_ext >&5
36286 wx_cv_func_statfs=no
36290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36293 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36294 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36296 if test "$wx_cv_func_statfs" = "yes"; then
36297 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36298 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36299 if test "${wx_cv_func_statfs_decl+set}" = set; then
36300 echo $ECHO_N "(cached) $ECHO_C" >&6
36303 ac_cpp='$CXXCPP $CPPFLAGS'
36304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36308 cat >conftest.$ac_ext <<_ACEOF
36311 cat confdefs.h >>conftest.$ac_ext
36312 cat >>conftest.$ac_ext <<_ACEOF
36313 /* end confdefs.h. */
36315 #if defined(__BSD__)
36316 #include <sys/param.h>
36317 #include <sys/mount.h>
36319 #include <sys/vfs.h>
36333 rm -f conftest.$ac_objext
36334 if { (ac_try="$ac_compile"
36335 case "(($ac_try" in
36336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36337 *) ac_try_echo=$ac_try;;
36339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36340 (eval "$ac_compile") 2>conftest.er1
36342 grep -v '^ *+' conftest.er1 >conftest.err
36344 cat conftest.err >&5
36345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36346 (exit $ac_status); } && {
36347 test -z "$ac_cxx_werror_flag" ||
36348 test ! -s conftest.err
36349 } && test -s conftest.$ac_objext; then
36350 wx_cv_func_statfs_decl=yes
36352 echo "$as_me: failed program was:" >&5
36353 sed 's/^/| /' conftest.$ac_ext >&5
36355 wx_cv_func_statfs_decl=no
36359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36361 ac_cpp='$CPP $CPPFLAGS'
36362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36368 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36369 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36371 if test "$wx_cv_func_statfs_decl" = "yes"; then
36372 cat >>confdefs.h <<\_ACEOF
36373 #define HAVE_STATFS_DECL 1
36378 wx_cv_type_statvfs_t="struct statfs"
36379 cat >>confdefs.h <<\_ACEOF
36380 #define HAVE_STATFS 1
36384 { echo "$as_me:$LINENO: checking for statvfs" >&5
36385 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36386 if test "${wx_cv_func_statvfs+set}" = set; then
36387 echo $ECHO_N "(cached) $ECHO_C" >&6
36389 cat >conftest.$ac_ext <<_ACEOF
36392 cat confdefs.h >>conftest.$ac_ext
36393 cat >>conftest.$ac_ext <<_ACEOF
36394 /* end confdefs.h. */
36396 #include <stddef.h>
36397 #include <sys/statvfs.h>
36403 statvfs("/", NULL);
36409 rm -f conftest.$ac_objext
36410 if { (ac_try="$ac_compile"
36411 case "(($ac_try" in
36412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36413 *) ac_try_echo=$ac_try;;
36415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36416 (eval "$ac_compile") 2>conftest.er1
36418 grep -v '^ *+' conftest.er1 >conftest.err
36420 cat conftest.err >&5
36421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36422 (exit $ac_status); } && {
36423 test -z "$ac_c_werror_flag" ||
36424 test ! -s conftest.err
36425 } && test -s conftest.$ac_objext; then
36426 wx_cv_func_statvfs=yes
36428 echo "$as_me: failed program was:" >&5
36429 sed 's/^/| /' conftest.$ac_ext >&5
36431 wx_cv_func_statvfs=no
36435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36438 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36439 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36441 if test "$wx_cv_func_statvfs" = "yes"; then
36442 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36443 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36444 if test "${wx_cv_type_statvfs_t+set}" = set; then
36445 echo $ECHO_N "(cached) $ECHO_C" >&6
36448 ac_cpp='$CXXCPP $CPPFLAGS'
36449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36453 cat >conftest.$ac_ext <<_ACEOF
36456 cat confdefs.h >>conftest.$ac_ext
36457 cat >>conftest.$ac_ext <<_ACEOF
36458 /* end confdefs.h. */
36460 #include <sys/statvfs.h>
36477 rm -f conftest.$ac_objext
36478 if { (ac_try="$ac_compile"
36479 case "(($ac_try" in
36480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36481 *) ac_try_echo=$ac_try;;
36483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36484 (eval "$ac_compile") 2>conftest.er1
36486 grep -v '^ *+' conftest.er1 >conftest.err
36488 cat conftest.err >&5
36489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36490 (exit $ac_status); } && {
36491 test -z "$ac_cxx_werror_flag" ||
36492 test ! -s conftest.err
36493 } && test -s conftest.$ac_objext; then
36494 wx_cv_type_statvfs_t=statvfs_t
36496 echo "$as_me: failed program was:" >&5
36497 sed 's/^/| /' conftest.$ac_ext >&5
36500 cat >conftest.$ac_ext <<_ACEOF
36503 cat confdefs.h >>conftest.$ac_ext
36504 cat >>conftest.$ac_ext <<_ACEOF
36505 /* end confdefs.h. */
36507 #include <sys/statvfs.h>
36524 rm -f conftest.$ac_objext
36525 if { (ac_try="$ac_compile"
36526 case "(($ac_try" in
36527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36528 *) ac_try_echo=$ac_try;;
36530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36531 (eval "$ac_compile") 2>conftest.er1
36533 grep -v '^ *+' conftest.er1 >conftest.err
36535 cat conftest.err >&5
36536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36537 (exit $ac_status); } && {
36538 test -z "$ac_cxx_werror_flag" ||
36539 test ! -s conftest.err
36540 } && test -s conftest.$ac_objext; then
36541 wx_cv_type_statvfs_t="struct statvfs"
36543 echo "$as_me: failed program was:" >&5
36544 sed 's/^/| /' conftest.$ac_ext >&5
36546 wx_cv_type_statvfs_t="unknown"
36550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36557 ac_cpp='$CPP $CPPFLAGS'
36558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36564 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36565 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36567 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36568 cat >>confdefs.h <<\_ACEOF
36569 #define HAVE_STATVFS 1
36574 wx_cv_type_statvfs_t="unknown"
36578 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36579 cat >>confdefs.h <<_ACEOF
36580 #define WX_STATFS_T $wx_cv_type_statvfs_t
36584 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36585 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36588 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36591 for ac_func in fcntl flock
36593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36594 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36596 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36597 echo $ECHO_N "(cached) $ECHO_C" >&6
36599 cat >conftest.$ac_ext <<_ACEOF
36602 cat confdefs.h >>conftest.$ac_ext
36603 cat >>conftest.$ac_ext <<_ACEOF
36604 /* end confdefs.h. */
36605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36607 #define $ac_func innocuous_$ac_func
36609 /* System header to define __stub macros and hopefully few prototypes,
36610 which can conflict with char $ac_func (); below.
36611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36612 <limits.h> exists even on freestanding compilers. */
36615 # include <limits.h>
36617 # include <assert.h>
36622 /* Override any GCC internal prototype to avoid an error.
36623 Use char because int might match the return type of a GCC
36624 builtin and then its argument prototype would still apply. */
36629 /* The GNU C library defines this for functions which it implements
36630 to always fail with ENOSYS. Some functions are actually named
36631 something starting with __ and the normal name is an alias. */
36632 #if defined __stub_$ac_func || defined __stub___$ac_func
36639 return $ac_func ();
36644 rm -f conftest.$ac_objext conftest$ac_exeext
36645 if { (ac_try="$ac_link"
36646 case "(($ac_try" in
36647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36648 *) ac_try_echo=$ac_try;;
36650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36651 (eval "$ac_link") 2>conftest.er1
36653 grep -v '^ *+' conftest.er1 >conftest.err
36655 cat conftest.err >&5
36656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36657 (exit $ac_status); } && {
36658 test -z "$ac_c_werror_flag" ||
36659 test ! -s conftest.err
36660 } && test -s conftest$ac_exeext &&
36661 $as_test_x conftest$ac_exeext; then
36662 eval "$as_ac_var=yes"
36664 echo "$as_me: failed program was:" >&5
36665 sed 's/^/| /' conftest.$ac_ext >&5
36667 eval "$as_ac_var=no"
36670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36671 conftest$ac_exeext conftest.$ac_ext
36673 ac_res=`eval echo '${'$as_ac_var'}'`
36674 { echo "$as_me:$LINENO: result: $ac_res" >&5
36675 echo "${ECHO_T}$ac_res" >&6; }
36676 if test `eval echo '${'$as_ac_var'}'` = yes; then
36677 cat >>confdefs.h <<_ACEOF
36678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36685 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36686 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36687 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36688 wxUSE_SNGLINST_CHECKER=no
36694 for ac_func in setenv putenv
36696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36697 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36699 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36700 echo $ECHO_N "(cached) $ECHO_C" >&6
36702 cat >conftest.$ac_ext <<_ACEOF
36705 cat confdefs.h >>conftest.$ac_ext
36706 cat >>conftest.$ac_ext <<_ACEOF
36707 /* end confdefs.h. */
36708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36710 #define $ac_func innocuous_$ac_func
36712 /* System header to define __stub macros and hopefully few prototypes,
36713 which can conflict with char $ac_func (); below.
36714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36715 <limits.h> exists even on freestanding compilers. */
36718 # include <limits.h>
36720 # include <assert.h>
36725 /* Override any GCC internal prototype to avoid an error.
36726 Use char because int might match the return type of a GCC
36727 builtin and then its argument prototype would still apply. */
36732 /* The GNU C library defines this for functions which it implements
36733 to always fail with ENOSYS. Some functions are actually named
36734 something starting with __ and the normal name is an alias. */
36735 #if defined __stub_$ac_func || defined __stub___$ac_func
36742 return $ac_func ();
36747 rm -f conftest.$ac_objext conftest$ac_exeext
36748 if { (ac_try="$ac_link"
36749 case "(($ac_try" in
36750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36751 *) ac_try_echo=$ac_try;;
36753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36754 (eval "$ac_link") 2>conftest.er1
36756 grep -v '^ *+' conftest.er1 >conftest.err
36758 cat conftest.err >&5
36759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36760 (exit $ac_status); } && {
36761 test -z "$ac_c_werror_flag" ||
36762 test ! -s conftest.err
36763 } && test -s conftest$ac_exeext &&
36764 $as_test_x conftest$ac_exeext; then
36765 eval "$as_ac_var=yes"
36767 echo "$as_me: failed program was:" >&5
36768 sed 's/^/| /' conftest.$ac_ext >&5
36770 eval "$as_ac_var=no"
36773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36774 conftest$ac_exeext conftest.$ac_ext
36776 ac_res=`eval echo '${'$as_ac_var'}'`
36777 { echo "$as_me:$LINENO: result: $ac_res" >&5
36778 echo "${ECHO_T}$ac_res" >&6; }
36779 if test `eval echo '${'$as_ac_var'}'` = yes; then
36780 cat >>confdefs.h <<_ACEOF
36781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36787 if test "$ac_cv_func_setenv" = "yes"; then
36789 for ac_func in unsetenv
36791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36792 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36794 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36795 echo $ECHO_N "(cached) $ECHO_C" >&6
36797 cat >conftest.$ac_ext <<_ACEOF
36800 cat confdefs.h >>conftest.$ac_ext
36801 cat >>conftest.$ac_ext <<_ACEOF
36802 /* end confdefs.h. */
36803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36805 #define $ac_func innocuous_$ac_func
36807 /* System header to define __stub macros and hopefully few prototypes,
36808 which can conflict with char $ac_func (); below.
36809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36810 <limits.h> exists even on freestanding compilers. */
36813 # include <limits.h>
36815 # include <assert.h>
36820 /* Override any GCC internal prototype to avoid an error.
36821 Use char because int might match the return type of a GCC
36822 builtin and then its argument prototype would still apply. */
36827 /* The GNU C library defines this for functions which it implements
36828 to always fail with ENOSYS. Some functions are actually named
36829 something starting with __ and the normal name is an alias. */
36830 #if defined __stub_$ac_func || defined __stub___$ac_func
36837 return $ac_func ();
36842 rm -f conftest.$ac_objext conftest$ac_exeext
36843 if { (ac_try="$ac_link"
36844 case "(($ac_try" in
36845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36846 *) ac_try_echo=$ac_try;;
36848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36849 (eval "$ac_link") 2>conftest.er1
36851 grep -v '^ *+' conftest.er1 >conftest.err
36853 cat conftest.err >&5
36854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36855 (exit $ac_status); } && {
36856 test -z "$ac_c_werror_flag" ||
36857 test ! -s conftest.err
36858 } && test -s conftest$ac_exeext &&
36859 $as_test_x conftest$ac_exeext; then
36860 eval "$as_ac_var=yes"
36862 echo "$as_me: failed program was:" >&5
36863 sed 's/^/| /' conftest.$ac_ext >&5
36865 eval "$as_ac_var=no"
36868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36869 conftest$ac_exeext conftest.$ac_ext
36871 ac_res=`eval echo '${'$as_ac_var'}'`
36872 { echo "$as_me:$LINENO: result: $ac_res" >&5
36873 echo "${ECHO_T}$ac_res" >&6; }
36874 if test `eval echo '${'$as_ac_var'}'` = yes; then
36875 cat >>confdefs.h <<_ACEOF
36876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36884 HAVE_SOME_SLEEP_FUNC=0
36885 if test "$USE_BEOS" = 1; then
36886 cat >>confdefs.h <<\_ACEOF
36887 #define HAVE_SLEEP 1
36890 HAVE_SOME_SLEEP_FUNC=1
36893 if test "$USE_DARWIN" = 1; then
36894 cat >>confdefs.h <<\_ACEOF
36895 #define HAVE_USLEEP 1
36898 HAVE_SOME_SLEEP_FUNC=1
36901 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36904 for ac_func in nanosleep
36906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36907 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36909 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36910 echo $ECHO_N "(cached) $ECHO_C" >&6
36912 cat >conftest.$ac_ext <<_ACEOF
36915 cat confdefs.h >>conftest.$ac_ext
36916 cat >>conftest.$ac_ext <<_ACEOF
36917 /* end confdefs.h. */
36918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36920 #define $ac_func innocuous_$ac_func
36922 /* System header to define __stub macros and hopefully few prototypes,
36923 which can conflict with char $ac_func (); below.
36924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36925 <limits.h> exists even on freestanding compilers. */
36928 # include <limits.h>
36930 # include <assert.h>
36935 /* Override any GCC internal prototype to avoid an error.
36936 Use char because int might match the return type of a GCC
36937 builtin and then its argument prototype would still apply. */
36942 /* The GNU C library defines this for functions which it implements
36943 to always fail with ENOSYS. Some functions are actually named
36944 something starting with __ and the normal name is an alias. */
36945 #if defined __stub_$ac_func || defined __stub___$ac_func
36952 return $ac_func ();
36957 rm -f conftest.$ac_objext conftest$ac_exeext
36958 if { (ac_try="$ac_link"
36959 case "(($ac_try" in
36960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36961 *) ac_try_echo=$ac_try;;
36963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36964 (eval "$ac_link") 2>conftest.er1
36966 grep -v '^ *+' conftest.er1 >conftest.err
36968 cat conftest.err >&5
36969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36970 (exit $ac_status); } && {
36971 test -z "$ac_c_werror_flag" ||
36972 test ! -s conftest.err
36973 } && test -s conftest$ac_exeext &&
36974 $as_test_x conftest$ac_exeext; then
36975 eval "$as_ac_var=yes"
36977 echo "$as_me: failed program was:" >&5
36978 sed 's/^/| /' conftest.$ac_ext >&5
36980 eval "$as_ac_var=no"
36983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36984 conftest$ac_exeext conftest.$ac_ext
36986 ac_res=`eval echo '${'$as_ac_var'}'`
36987 { echo "$as_me:$LINENO: result: $ac_res" >&5
36988 echo "${ECHO_T}$ac_res" >&6; }
36989 if test `eval echo '${'$as_ac_var'}'` = yes; then
36990 cat >>confdefs.h <<_ACEOF
36991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36993 cat >>confdefs.h <<\_ACEOF
36994 #define HAVE_NANOSLEEP 1
36999 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37000 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37001 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37002 echo $ECHO_N "(cached) $ECHO_C" >&6
37004 ac_check_lib_save_LIBS=$LIBS
37005 LIBS="-lposix4 $LIBS"
37006 cat >conftest.$ac_ext <<_ACEOF
37009 cat confdefs.h >>conftest.$ac_ext
37010 cat >>conftest.$ac_ext <<_ACEOF
37011 /* end confdefs.h. */
37013 /* Override any GCC internal prototype to avoid an error.
37014 Use char because int might match the return type of a GCC
37015 builtin and then its argument prototype would still apply. */
37023 return nanosleep ();
37028 rm -f conftest.$ac_objext conftest$ac_exeext
37029 if { (ac_try="$ac_link"
37030 case "(($ac_try" in
37031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37032 *) ac_try_echo=$ac_try;;
37034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37035 (eval "$ac_link") 2>conftest.er1
37037 grep -v '^ *+' conftest.er1 >conftest.err
37039 cat conftest.err >&5
37040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37041 (exit $ac_status); } && {
37042 test -z "$ac_c_werror_flag" ||
37043 test ! -s conftest.err
37044 } && test -s conftest$ac_exeext &&
37045 $as_test_x conftest$ac_exeext; then
37046 ac_cv_lib_posix4_nanosleep=yes
37048 echo "$as_me: failed program was:" >&5
37049 sed 's/^/| /' conftest.$ac_ext >&5
37051 ac_cv_lib_posix4_nanosleep=no
37054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37055 conftest$ac_exeext conftest.$ac_ext
37056 LIBS=$ac_check_lib_save_LIBS
37058 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37059 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37060 if test $ac_cv_lib_posix4_nanosleep = yes; then
37062 cat >>confdefs.h <<\_ACEOF
37063 #define HAVE_NANOSLEEP 1
37066 POSIX4_LINK=" -lposix4"
37071 for wx_func in usleep
37073 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37074 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37075 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37076 echo $ECHO_N "(cached) $ECHO_C" >&6
37079 cat >conftest.$ac_ext <<_ACEOF
37083 cat confdefs.h >>conftest.$ac_ext
37084 cat >>conftest.$ac_ext <<_ACEOF
37085 /* end confdefs.h. */
37088 $ac_includes_default
37104 rm -f conftest.$ac_objext conftest$ac_exeext
37105 if { (ac_try="$ac_link"
37106 case "(($ac_try" in
37107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37108 *) ac_try_echo=$ac_try;;
37110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37111 (eval "$ac_link") 2>conftest.er1
37113 grep -v '^ *+' conftest.er1 >conftest.err
37115 cat conftest.err >&5
37116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37117 (exit $ac_status); } && {
37118 test -z "$ac_c_werror_flag" ||
37119 test ! -s conftest.err
37120 } && test -s conftest$ac_exeext &&
37121 $as_test_x conftest$ac_exeext; then
37122 eval wx_cv_func_$wx_func=yes
37124 echo "$as_me: failed program was:" >&5
37125 sed 's/^/| /' conftest.$ac_ext >&5
37127 eval wx_cv_func_$wx_func=no
37130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37131 conftest$ac_exeext conftest.$ac_ext
37134 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37135 { echo "$as_me:$LINENO: result: $ac_res" >&5
37136 echo "${ECHO_T}$ac_res" >&6; }
37138 if eval test \$wx_cv_func_$wx_func = yes
37140 cat >>confdefs.h <<_ACEOF
37141 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37147 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37148 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37165 for wx_func in uname
37167 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37168 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37169 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37170 echo $ECHO_N "(cached) $ECHO_C" >&6
37173 cat >conftest.$ac_ext <<_ACEOF
37177 cat confdefs.h >>conftest.$ac_ext
37178 cat >>conftest.$ac_ext <<_ACEOF
37179 /* end confdefs.h. */
37181 #include <sys/utsname.h>
37182 $ac_includes_default
37198 rm -f conftest.$ac_objext conftest$ac_exeext
37199 if { (ac_try="$ac_link"
37200 case "(($ac_try" in
37201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37202 *) ac_try_echo=$ac_try;;
37204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37205 (eval "$ac_link") 2>conftest.er1
37207 grep -v '^ *+' conftest.er1 >conftest.err
37209 cat conftest.err >&5
37210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37211 (exit $ac_status); } && {
37212 test -z "$ac_c_werror_flag" ||
37213 test ! -s conftest.err
37214 } && test -s conftest$ac_exeext &&
37215 $as_test_x conftest$ac_exeext; then
37216 eval wx_cv_func_$wx_func=yes
37218 echo "$as_me: failed program was:" >&5
37219 sed 's/^/| /' conftest.$ac_ext >&5
37221 eval wx_cv_func_$wx_func=no
37224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37225 conftest$ac_exeext conftest.$ac_ext
37228 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37229 { echo "$as_me:$LINENO: result: $ac_res" >&5
37230 echo "${ECHO_T}$ac_res" >&6; }
37232 if eval test \$wx_cv_func_$wx_func = yes
37234 cat >>confdefs.h <<_ACEOF
37235 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37245 if test "$wx_cv_func_uname" != yes; then
37247 for wx_func in gethostname
37249 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37250 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37251 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37252 echo $ECHO_N "(cached) $ECHO_C" >&6
37255 cat >conftest.$ac_ext <<_ACEOF
37259 cat confdefs.h >>conftest.$ac_ext
37260 cat >>conftest.$ac_ext <<_ACEOF
37261 /* end confdefs.h. */
37264 $ac_includes_default
37280 rm -f conftest.$ac_objext conftest$ac_exeext
37281 if { (ac_try="$ac_link"
37282 case "(($ac_try" in
37283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37284 *) ac_try_echo=$ac_try;;
37286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37287 (eval "$ac_link") 2>conftest.er1
37289 grep -v '^ *+' conftest.er1 >conftest.err
37291 cat conftest.err >&5
37292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37293 (exit $ac_status); } && {
37294 test -z "$ac_c_werror_flag" ||
37295 test ! -s conftest.err
37296 } && test -s conftest$ac_exeext &&
37297 $as_test_x conftest$ac_exeext; then
37298 eval wx_cv_func_$wx_func=yes
37300 echo "$as_me: failed program was:" >&5
37301 sed 's/^/| /' conftest.$ac_ext >&5
37303 eval wx_cv_func_$wx_func=no
37306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37307 conftest$ac_exeext conftest.$ac_ext
37310 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37311 { echo "$as_me:$LINENO: result: $ac_res" >&5
37312 echo "${ECHO_T}$ac_res" >&6; }
37314 if eval test \$wx_cv_func_$wx_func = yes
37316 cat >>confdefs.h <<_ACEOF
37317 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37330 for wx_func in strtok_r
37332 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37333 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37334 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37335 echo $ECHO_N "(cached) $ECHO_C" >&6
37338 cat >conftest.$ac_ext <<_ACEOF
37342 cat confdefs.h >>conftest.$ac_ext
37343 cat >>conftest.$ac_ext <<_ACEOF
37344 /* end confdefs.h. */
37347 $ac_includes_default
37363 rm -f conftest.$ac_objext conftest$ac_exeext
37364 if { (ac_try="$ac_link"
37365 case "(($ac_try" in
37366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37367 *) ac_try_echo=$ac_try;;
37369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37370 (eval "$ac_link") 2>conftest.er1
37372 grep -v '^ *+' conftest.er1 >conftest.err
37374 cat conftest.err >&5
37375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37376 (exit $ac_status); } && {
37377 test -z "$ac_c_werror_flag" ||
37378 test ! -s conftest.err
37379 } && test -s conftest$ac_exeext &&
37380 $as_test_x conftest$ac_exeext; then
37381 eval wx_cv_func_$wx_func=yes
37383 echo "$as_me: failed program was:" >&5
37384 sed 's/^/| /' conftest.$ac_ext >&5
37386 eval wx_cv_func_$wx_func=no
37389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37390 conftest$ac_exeext conftest.$ac_ext
37393 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37394 { echo "$as_me:$LINENO: result: $ac_res" >&5
37395 echo "${ECHO_T}$ac_res" >&6; }
37397 if eval test \$wx_cv_func_$wx_func = yes
37399 cat >>confdefs.h <<_ACEOF
37400 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37413 for ac_func in inet_addr
37415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37416 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37418 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37419 echo $ECHO_N "(cached) $ECHO_C" >&6
37421 cat >conftest.$ac_ext <<_ACEOF
37424 cat confdefs.h >>conftest.$ac_ext
37425 cat >>conftest.$ac_ext <<_ACEOF
37426 /* end confdefs.h. */
37427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37429 #define $ac_func innocuous_$ac_func
37431 /* System header to define __stub macros and hopefully few prototypes,
37432 which can conflict with char $ac_func (); below.
37433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37434 <limits.h> exists even on freestanding compilers. */
37437 # include <limits.h>
37439 # include <assert.h>
37444 /* Override any GCC internal prototype to avoid an error.
37445 Use char because int might match the return type of a GCC
37446 builtin and then its argument prototype would still apply. */
37451 /* The GNU C library defines this for functions which it implements
37452 to always fail with ENOSYS. Some functions are actually named
37453 something starting with __ and the normal name is an alias. */
37454 #if defined __stub_$ac_func || defined __stub___$ac_func
37461 return $ac_func ();
37466 rm -f conftest.$ac_objext conftest$ac_exeext
37467 if { (ac_try="$ac_link"
37468 case "(($ac_try" in
37469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37470 *) ac_try_echo=$ac_try;;
37472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37473 (eval "$ac_link") 2>conftest.er1
37475 grep -v '^ *+' conftest.er1 >conftest.err
37477 cat conftest.err >&5
37478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37479 (exit $ac_status); } && {
37480 test -z "$ac_c_werror_flag" ||
37481 test ! -s conftest.err
37482 } && test -s conftest$ac_exeext &&
37483 $as_test_x conftest$ac_exeext; then
37484 eval "$as_ac_var=yes"
37486 echo "$as_me: failed program was:" >&5
37487 sed 's/^/| /' conftest.$ac_ext >&5
37489 eval "$as_ac_var=no"
37492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37493 conftest$ac_exeext conftest.$ac_ext
37495 ac_res=`eval echo '${'$as_ac_var'}'`
37496 { echo "$as_me:$LINENO: result: $ac_res" >&5
37497 echo "${ECHO_T}$ac_res" >&6; }
37498 if test `eval echo '${'$as_ac_var'}'` = yes; then
37499 cat >>confdefs.h <<_ACEOF
37500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37502 cat >>confdefs.h <<\_ACEOF
37503 #define HAVE_INET_ADDR 1
37508 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37509 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37510 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37511 echo $ECHO_N "(cached) $ECHO_C" >&6
37513 ac_check_lib_save_LIBS=$LIBS
37515 cat >conftest.$ac_ext <<_ACEOF
37518 cat confdefs.h >>conftest.$ac_ext
37519 cat >>conftest.$ac_ext <<_ACEOF
37520 /* end confdefs.h. */
37522 /* Override any GCC internal prototype to avoid an error.
37523 Use char because int might match the return type of a GCC
37524 builtin and then its argument prototype would still apply. */
37532 return inet_addr ();
37537 rm -f conftest.$ac_objext conftest$ac_exeext
37538 if { (ac_try="$ac_link"
37539 case "(($ac_try" in
37540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37541 *) ac_try_echo=$ac_try;;
37543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37544 (eval "$ac_link") 2>conftest.er1
37546 grep -v '^ *+' conftest.er1 >conftest.err
37548 cat conftest.err >&5
37549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37550 (exit $ac_status); } && {
37551 test -z "$ac_c_werror_flag" ||
37552 test ! -s conftest.err
37553 } && test -s conftest$ac_exeext &&
37554 $as_test_x conftest$ac_exeext; then
37555 ac_cv_lib_nsl_inet_addr=yes
37557 echo "$as_me: failed program was:" >&5
37558 sed 's/^/| /' conftest.$ac_ext >&5
37560 ac_cv_lib_nsl_inet_addr=no
37563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37564 conftest$ac_exeext conftest.$ac_ext
37565 LIBS=$ac_check_lib_save_LIBS
37567 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37568 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37569 if test $ac_cv_lib_nsl_inet_addr = yes; then
37573 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37574 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37575 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37576 echo $ECHO_N "(cached) $ECHO_C" >&6
37578 ac_check_lib_save_LIBS=$LIBS
37579 LIBS="-lresolv $LIBS"
37580 cat >conftest.$ac_ext <<_ACEOF
37583 cat confdefs.h >>conftest.$ac_ext
37584 cat >>conftest.$ac_ext <<_ACEOF
37585 /* end confdefs.h. */
37587 /* Override any GCC internal prototype to avoid an error.
37588 Use char because int might match the return type of a GCC
37589 builtin and then its argument prototype would still apply. */
37597 return inet_addr ();
37602 rm -f conftest.$ac_objext conftest$ac_exeext
37603 if { (ac_try="$ac_link"
37604 case "(($ac_try" in
37605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37606 *) ac_try_echo=$ac_try;;
37608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37609 (eval "$ac_link") 2>conftest.er1
37611 grep -v '^ *+' conftest.er1 >conftest.err
37613 cat conftest.err >&5
37614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37615 (exit $ac_status); } && {
37616 test -z "$ac_c_werror_flag" ||
37617 test ! -s conftest.err
37618 } && test -s conftest$ac_exeext &&
37619 $as_test_x conftest$ac_exeext; then
37620 ac_cv_lib_resolv_inet_addr=yes
37622 echo "$as_me: failed program was:" >&5
37623 sed 's/^/| /' conftest.$ac_ext >&5
37625 ac_cv_lib_resolv_inet_addr=no
37628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37629 conftest$ac_exeext conftest.$ac_ext
37630 LIBS=$ac_check_lib_save_LIBS
37632 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37633 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37634 if test $ac_cv_lib_resolv_inet_addr = yes; then
37638 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37639 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37640 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37641 echo $ECHO_N "(cached) $ECHO_C" >&6
37643 ac_check_lib_save_LIBS=$LIBS
37644 LIBS="-lsocket $LIBS"
37645 cat >conftest.$ac_ext <<_ACEOF
37648 cat confdefs.h >>conftest.$ac_ext
37649 cat >>conftest.$ac_ext <<_ACEOF
37650 /* end confdefs.h. */
37652 /* Override any GCC internal prototype to avoid an error.
37653 Use char because int might match the return type of a GCC
37654 builtin and then its argument prototype would still apply. */
37662 return inet_addr ();
37667 rm -f conftest.$ac_objext conftest$ac_exeext
37668 if { (ac_try="$ac_link"
37669 case "(($ac_try" in
37670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37671 *) ac_try_echo=$ac_try;;
37673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37674 (eval "$ac_link") 2>conftest.er1
37676 grep -v '^ *+' conftest.er1 >conftest.err
37678 cat conftest.err >&5
37679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37680 (exit $ac_status); } && {
37681 test -z "$ac_c_werror_flag" ||
37682 test ! -s conftest.err
37683 } && test -s conftest$ac_exeext &&
37684 $as_test_x conftest$ac_exeext; then
37685 ac_cv_lib_socket_inet_addr=yes
37687 echo "$as_me: failed program was:" >&5
37688 sed 's/^/| /' conftest.$ac_ext >&5
37690 ac_cv_lib_socket_inet_addr=no
37693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37694 conftest$ac_exeext conftest.$ac_ext
37695 LIBS=$ac_check_lib_save_LIBS
37697 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37698 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37699 if test $ac_cv_lib_socket_inet_addr = yes; then
37719 for ac_func in inet_aton
37721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37722 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37724 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37725 echo $ECHO_N "(cached) $ECHO_C" >&6
37727 cat >conftest.$ac_ext <<_ACEOF
37730 cat confdefs.h >>conftest.$ac_ext
37731 cat >>conftest.$ac_ext <<_ACEOF
37732 /* end confdefs.h. */
37733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37735 #define $ac_func innocuous_$ac_func
37737 /* System header to define __stub macros and hopefully few prototypes,
37738 which can conflict with char $ac_func (); below.
37739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37740 <limits.h> exists even on freestanding compilers. */
37743 # include <limits.h>
37745 # include <assert.h>
37750 /* Override any GCC internal prototype to avoid an error.
37751 Use char because int might match the return type of a GCC
37752 builtin and then its argument prototype would still apply. */
37757 /* The GNU C library defines this for functions which it implements
37758 to always fail with ENOSYS. Some functions are actually named
37759 something starting with __ and the normal name is an alias. */
37760 #if defined __stub_$ac_func || defined __stub___$ac_func
37767 return $ac_func ();
37772 rm -f conftest.$ac_objext conftest$ac_exeext
37773 if { (ac_try="$ac_link"
37774 case "(($ac_try" in
37775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37776 *) ac_try_echo=$ac_try;;
37778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37779 (eval "$ac_link") 2>conftest.er1
37781 grep -v '^ *+' conftest.er1 >conftest.err
37783 cat conftest.err >&5
37784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37785 (exit $ac_status); } && {
37786 test -z "$ac_c_werror_flag" ||
37787 test ! -s conftest.err
37788 } && test -s conftest$ac_exeext &&
37789 $as_test_x conftest$ac_exeext; then
37790 eval "$as_ac_var=yes"
37792 echo "$as_me: failed program was:" >&5
37793 sed 's/^/| /' conftest.$ac_ext >&5
37795 eval "$as_ac_var=no"
37798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37799 conftest$ac_exeext conftest.$ac_ext
37801 ac_res=`eval echo '${'$as_ac_var'}'`
37802 { echo "$as_me:$LINENO: result: $ac_res" >&5
37803 echo "${ECHO_T}$ac_res" >&6; }
37804 if test `eval echo '${'$as_ac_var'}'` = yes; then
37805 cat >>confdefs.h <<_ACEOF
37806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37808 cat >>confdefs.h <<\_ACEOF
37809 #define HAVE_INET_ATON 1
37814 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37815 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37816 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37817 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37818 echo $ECHO_N "(cached) $ECHO_C" >&6
37820 ac_check_lib_save_LIBS=$LIBS
37821 LIBS="-l$INET_LINK $LIBS"
37822 cat >conftest.$ac_ext <<_ACEOF
37825 cat confdefs.h >>conftest.$ac_ext
37826 cat >>conftest.$ac_ext <<_ACEOF
37827 /* end confdefs.h. */
37829 /* Override any GCC internal prototype to avoid an error.
37830 Use char because int might match the return type of a GCC
37831 builtin and then its argument prototype would still apply. */
37839 return inet_aton ();
37844 rm -f conftest.$ac_objext conftest$ac_exeext
37845 if { (ac_try="$ac_link"
37846 case "(($ac_try" in
37847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37848 *) ac_try_echo=$ac_try;;
37850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37851 (eval "$ac_link") 2>conftest.er1
37853 grep -v '^ *+' conftest.er1 >conftest.err
37855 cat conftest.err >&5
37856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37857 (exit $ac_status); } && {
37858 test -z "$ac_c_werror_flag" ||
37859 test ! -s conftest.err
37860 } && test -s conftest$ac_exeext &&
37861 $as_test_x conftest$ac_exeext; then
37862 eval "$as_ac_Lib=yes"
37864 echo "$as_me: failed program was:" >&5
37865 sed 's/^/| /' conftest.$ac_ext >&5
37867 eval "$as_ac_Lib=no"
37870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37871 conftest$ac_exeext conftest.$ac_ext
37872 LIBS=$ac_check_lib_save_LIBS
37874 ac_res=`eval echo '${'$as_ac_Lib'}'`
37875 { echo "$as_me:$LINENO: result: $ac_res" >&5
37876 echo "${ECHO_T}$ac_res" >&6; }
37877 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37878 cat >>confdefs.h <<\_ACEOF
37879 #define HAVE_INET_ATON 1
37889 if test "x$INET_LINK" != "x"; then
37890 cat >>confdefs.h <<\_ACEOF
37891 #define HAVE_INET_ADDR 1
37894 INET_LINK=" -l$INET_LINK"
37898 for wx_func in fdopen
37900 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37901 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37902 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37903 echo $ECHO_N "(cached) $ECHO_C" >&6
37906 cat >conftest.$ac_ext <<_ACEOF
37910 cat confdefs.h >>conftest.$ac_ext
37911 cat >>conftest.$ac_ext <<_ACEOF
37912 /* end confdefs.h. */
37915 $ac_includes_default
37931 rm -f conftest.$ac_objext conftest$ac_exeext
37932 if { (ac_try="$ac_link"
37933 case "(($ac_try" in
37934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37935 *) ac_try_echo=$ac_try;;
37937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37938 (eval "$ac_link") 2>conftest.er1
37940 grep -v '^ *+' conftest.er1 >conftest.err
37942 cat conftest.err >&5
37943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37944 (exit $ac_status); } && {
37945 test -z "$ac_c_werror_flag" ||
37946 test ! -s conftest.err
37947 } && test -s conftest$ac_exeext &&
37948 $as_test_x conftest$ac_exeext; then
37949 eval wx_cv_func_$wx_func=yes
37951 echo "$as_me: failed program was:" >&5
37952 sed 's/^/| /' conftest.$ac_ext >&5
37954 eval wx_cv_func_$wx_func=no
37957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37958 conftest$ac_exeext conftest.$ac_ext
37961 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37962 { echo "$as_me:$LINENO: result: $ac_res" >&5
37963 echo "${ECHO_T}$ac_res" >&6; }
37965 if eval test \$wx_cv_func_$wx_func = yes
37967 cat >>confdefs.h <<_ACEOF
37968 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37979 if test "$wxUSE_TARSTREAM" = "yes"; then
37981 for wx_func in sysconf
37983 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37984 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37985 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37986 echo $ECHO_N "(cached) $ECHO_C" >&6
37989 cat >conftest.$ac_ext <<_ACEOF
37993 cat confdefs.h >>conftest.$ac_ext
37994 cat >>conftest.$ac_ext <<_ACEOF
37995 /* end confdefs.h. */
37998 $ac_includes_default
38014 rm -f conftest.$ac_objext conftest$ac_exeext
38015 if { (ac_try="$ac_link"
38016 case "(($ac_try" in
38017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38018 *) ac_try_echo=$ac_try;;
38020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38021 (eval "$ac_link") 2>conftest.er1
38023 grep -v '^ *+' conftest.er1 >conftest.err
38025 cat conftest.err >&5
38026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38027 (exit $ac_status); } && {
38028 test -z "$ac_c_werror_flag" ||
38029 test ! -s conftest.err
38030 } && test -s conftest$ac_exeext &&
38031 $as_test_x conftest$ac_exeext; then
38032 eval wx_cv_func_$wx_func=yes
38034 echo "$as_me: failed program was:" >&5
38035 sed 's/^/| /' conftest.$ac_ext >&5
38037 eval wx_cv_func_$wx_func=no
38040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38041 conftest$ac_exeext conftest.$ac_ext
38044 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38045 { echo "$as_me:$LINENO: result: $ac_res" >&5
38046 echo "${ECHO_T}$ac_res" >&6; }
38048 if eval test \$wx_cv_func_$wx_func = yes
38050 cat >>confdefs.h <<_ACEOF
38051 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38063 for wx_func in getpwuid_r
38065 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38066 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38067 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38068 echo $ECHO_N "(cached) $ECHO_C" >&6
38071 cat >conftest.$ac_ext <<_ACEOF
38075 cat confdefs.h >>conftest.$ac_ext
38076 cat >>conftest.$ac_ext <<_ACEOF
38077 /* end confdefs.h. */
38083 $ac_includes_default
38093 struct passwd pw, *ppw;
38095 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38103 rm -f conftest.$ac_objext conftest$ac_exeext
38104 if { (ac_try="$ac_link"
38105 case "(($ac_try" in
38106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38107 *) ac_try_echo=$ac_try;;
38109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38110 (eval "$ac_link") 2>conftest.er1
38112 grep -v '^ *+' conftest.er1 >conftest.err
38114 cat conftest.err >&5
38115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38116 (exit $ac_status); } && {
38117 test -z "$ac_c_werror_flag" ||
38118 test ! -s conftest.err
38119 } && test -s conftest$ac_exeext &&
38120 $as_test_x conftest$ac_exeext; then
38121 eval wx_cv_func_$wx_func=yes
38123 echo "$as_me: failed program was:" >&5
38124 sed 's/^/| /' conftest.$ac_ext >&5
38126 eval wx_cv_func_$wx_func=no
38129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38130 conftest$ac_exeext conftest.$ac_ext
38133 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38134 { echo "$as_me:$LINENO: result: $ac_res" >&5
38135 echo "${ECHO_T}$ac_res" >&6; }
38137 if eval test \$wx_cv_func_$wx_func = yes
38139 cat >>confdefs.h <<_ACEOF
38140 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38152 for wx_func in getgrgid_r
38154 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38155 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38156 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38157 echo $ECHO_N "(cached) $ECHO_C" >&6
38160 cat >conftest.$ac_ext <<_ACEOF
38164 cat confdefs.h >>conftest.$ac_ext
38165 cat >>conftest.$ac_ext <<_ACEOF
38166 /* end confdefs.h. */
38172 $ac_includes_default
38182 struct group grp, *pgrp;
38184 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38192 rm -f conftest.$ac_objext conftest$ac_exeext
38193 if { (ac_try="$ac_link"
38194 case "(($ac_try" in
38195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38196 *) ac_try_echo=$ac_try;;
38198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38199 (eval "$ac_link") 2>conftest.er1
38201 grep -v '^ *+' conftest.er1 >conftest.err
38203 cat conftest.err >&5
38204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38205 (exit $ac_status); } && {
38206 test -z "$ac_c_werror_flag" ||
38207 test ! -s conftest.err
38208 } && test -s conftest$ac_exeext &&
38209 $as_test_x conftest$ac_exeext; then
38210 eval wx_cv_func_$wx_func=yes
38212 echo "$as_me: failed program was:" >&5
38213 sed 's/^/| /' conftest.$ac_ext >&5
38215 eval wx_cv_func_$wx_func=no
38218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38219 conftest$ac_exeext conftest.$ac_ext
38222 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38223 { echo "$as_me:$LINENO: result: $ac_res" >&5
38224 echo "${ECHO_T}$ac_res" >&6; }
38226 if eval test \$wx_cv_func_$wx_func = yes
38228 cat >>confdefs.h <<_ACEOF
38229 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38245 cat >confcache <<\_ACEOF
38246 # This file is a shell script that caches the results of configure
38247 # tests run on this system so they can be shared between configure
38248 # scripts and configure runs, see configure's option --config-cache.
38249 # It is not useful on other systems. If it contains results you don't
38250 # want to keep, you may remove or edit it.
38252 # config.status only pays attention to the cache file if you give it
38253 # the --recheck option to rerun configure.
38255 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38256 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38257 # following values.
38261 # The following way of writing the cache mishandles newlines in values,
38262 # but we know of no workaround that is simple, portable, and efficient.
38263 # So, we kill variables containing newlines.
38264 # Ultrix sh set writes to stderr and can't be redirected directly,
38265 # and sets the high bit in the cache file unless we assign to the vars.
38267 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38268 eval ac_val=\$$ac_var
38272 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38273 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38276 _ | IFS | as_nl) ;; #(
38277 *) $as_unset $ac_var ;;
38283 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38284 *${as_nl}ac_space=\ *)
38285 # `set' does not quote correctly, so add quotes (double-quote
38286 # substitution turns \\\\ into \\, and sed turns \\ into \).
38289 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38292 # `set' quotes correctly as required by POSIX, so do not add quotes.
38293 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38302 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38304 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38306 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38307 if test -w "$cache_file"; then
38308 test "x$cache_file" != "x/dev/null" &&
38309 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38310 echo "$as_me: updating cache $cache_file" >&6;}
38311 cat confcache >$cache_file
38313 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38314 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38320 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38326 if test "$wxUSE_THREADS" = "yes" ; then
38327 if test "$USE_BEOS" = 1; then
38328 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38329 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38334 if test "$wxUSE_THREADS" = "yes" ; then
38337 THREAD_OPTS="-pthread"
38338 if test "x$SUNCXX" = xyes; then
38339 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38343 *-*-solaris2* | *-*-sunos4* )
38344 if test "x$GCC" = "xyes"; then
38345 THREAD_OPTS="-pthreads $THREAD_OPTS"
38349 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38351 *-*-darwin* | *-*-cygwin* )
38355 THREAD_OPTS="pthreads"
38358 if test "x$GCC" = "xyes"; then
38359 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38367 if test "x$GCC" = "xyes"; then
38373 if test "x$GCC" != "xyes"; then
38374 THREAD_OPTS="-Ethread"
38379 THREAD_OPTS="$THREAD_OPTS pthread none"
38382 for flag in $THREAD_OPTS; do
38385 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38386 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38390 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38391 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38392 THREADS_CFLAGS="$flag"
38396 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38397 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38398 THREADS_LINK="-l$flag"
38403 save_CFLAGS="$CFLAGS"
38404 LIBS="$THREADS_LINK $LIBS"
38405 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38407 cat >conftest.$ac_ext <<_ACEOF
38410 cat confdefs.h >>conftest.$ac_ext
38411 cat >>conftest.$ac_ext <<_ACEOF
38412 /* end confdefs.h. */
38413 #include <pthread.h>
38417 pthread_create(0,0,0,0);
38422 rm -f conftest.$ac_objext conftest$ac_exeext
38423 if { (ac_try="$ac_link"
38424 case "(($ac_try" in
38425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38426 *) ac_try_echo=$ac_try;;
38428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38429 (eval "$ac_link") 2>conftest.er1
38431 grep -v '^ *+' conftest.er1 >conftest.err
38433 cat conftest.err >&5
38434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38435 (exit $ac_status); } && {
38436 test -z "$ac_c_werror_flag" ||
38437 test ! -s conftest.err
38438 } && test -s conftest$ac_exeext &&
38439 $as_test_x conftest$ac_exeext; then
38442 echo "$as_me: failed program was:" >&5
38443 sed 's/^/| /' conftest.$ac_ext >&5
38448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38449 conftest$ac_exeext conftest.$ac_ext
38452 CFLAGS="$save_CFLAGS"
38454 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38455 echo "${ECHO_T}$THREADS_OK" >&6; }
38456 if test "x$THREADS_OK" = "xyes"; then
38464 if test "x$THREADS_OK" != "xyes"; then
38466 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38467 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38469 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38470 LIBS="$THREADS_LINK $LIBS"
38472 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38473 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38477 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38478 flag="-D_THREAD_SAFE"
38481 flag="-D_THREAD_SAFE"
38484 flag="-D_REENTRANT"
38485 if test "x$GCC" != "xyes"; then
38486 flag="$flag -D_RWSTD_MULTI_THREAD"
38489 *solaris* | alpha*-osf*)
38490 flag="-D_REENTRANT"
38493 { echo "$as_me:$LINENO: result: ${flag}" >&5
38494 echo "${ECHO_T}${flag}" >&6; }
38495 if test "x$flag" != xno; then
38496 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38499 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38503 if test "$wxUSE_THREADS" = "yes" ; then
38505 for ac_func in thr_setconcurrency
38507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38508 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38510 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38511 echo $ECHO_N "(cached) $ECHO_C" >&6
38513 cat >conftest.$ac_ext <<_ACEOF
38516 cat confdefs.h >>conftest.$ac_ext
38517 cat >>conftest.$ac_ext <<_ACEOF
38518 /* end confdefs.h. */
38519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38521 #define $ac_func innocuous_$ac_func
38523 /* System header to define __stub macros and hopefully few prototypes,
38524 which can conflict with char $ac_func (); below.
38525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38526 <limits.h> exists even on freestanding compilers. */
38529 # include <limits.h>
38531 # include <assert.h>
38536 /* Override any GCC internal prototype to avoid an error.
38537 Use char because int might match the return type of a GCC
38538 builtin and then its argument prototype would still apply. */
38543 /* The GNU C library defines this for functions which it implements
38544 to always fail with ENOSYS. Some functions are actually named
38545 something starting with __ and the normal name is an alias. */
38546 #if defined __stub_$ac_func || defined __stub___$ac_func
38553 return $ac_func ();
38558 rm -f conftest.$ac_objext conftest$ac_exeext
38559 if { (ac_try="$ac_link"
38560 case "(($ac_try" in
38561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38562 *) ac_try_echo=$ac_try;;
38564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38565 (eval "$ac_link") 2>conftest.er1
38567 grep -v '^ *+' conftest.er1 >conftest.err
38569 cat conftest.err >&5
38570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38571 (exit $ac_status); } && {
38572 test -z "$ac_c_werror_flag" ||
38573 test ! -s conftest.err
38574 } && test -s conftest$ac_exeext &&
38575 $as_test_x conftest$ac_exeext; then
38576 eval "$as_ac_var=yes"
38578 echo "$as_me: failed program was:" >&5
38579 sed 's/^/| /' conftest.$ac_ext >&5
38581 eval "$as_ac_var=no"
38584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38585 conftest$ac_exeext conftest.$ac_ext
38587 ac_res=`eval echo '${'$as_ac_var'}'`
38588 { echo "$as_me:$LINENO: result: $ac_res" >&5
38589 echo "${ECHO_T}$ac_res" >&6; }
38590 if test `eval echo '${'$as_ac_var'}'` = yes; then
38591 cat >>confdefs.h <<_ACEOF
38592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38599 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38600 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38601 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38602 echo $ECHO_N "(cached) $ECHO_C" >&6
38606 ac_cpp='$CXXCPP $CPPFLAGS'
38607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38611 cat >conftest.$ac_ext <<_ACEOF
38614 cat confdefs.h >>conftest.$ac_ext
38615 cat >>conftest.$ac_ext <<_ACEOF
38616 /* end confdefs.h. */
38617 #include <pthread.h>
38618 void ThreadCleanupFunc(void *p);
38625 pthread_cleanup_push(ThreadCleanupFunc, p);
38626 pthread_cleanup_pop(0);
38632 rm -f conftest.$ac_objext
38633 if { (ac_try="$ac_compile"
38634 case "(($ac_try" in
38635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38636 *) ac_try_echo=$ac_try;;
38638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38639 (eval "$ac_compile") 2>conftest.er1
38641 grep -v '^ *+' conftest.er1 >conftest.err
38643 cat conftest.err >&5
38644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38645 (exit $ac_status); } && {
38646 test -z "$ac_cxx_werror_flag" ||
38647 test ! -s conftest.err
38648 } && test -s conftest.$ac_objext; then
38650 wx_cv_func_pthread_cleanup=yes
38653 echo "$as_me: failed program was:" >&5
38654 sed 's/^/| /' conftest.$ac_ext >&5
38657 wx_cv_func_pthread_cleanup=no
38662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38664 ac_cpp='$CPP $CPPFLAGS'
38665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38671 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38672 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38673 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38674 cat >>confdefs.h <<\_ACEOF
38675 #define wxHAVE_PTHREAD_CLEANUP 1
38681 for ac_header in sched.h
38683 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38684 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38686 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38687 echo $ECHO_N "(cached) $ECHO_C" >&6
38689 cat >conftest.$ac_ext <<_ACEOF
38692 cat confdefs.h >>conftest.$ac_ext
38693 cat >>conftest.$ac_ext <<_ACEOF
38694 /* end confdefs.h. */
38695 $ac_includes_default
38697 #include <$ac_header>
38699 rm -f conftest.$ac_objext
38700 if { (ac_try="$ac_compile"
38701 case "(($ac_try" in
38702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38703 *) ac_try_echo=$ac_try;;
38705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38706 (eval "$ac_compile") 2>conftest.er1
38708 grep -v '^ *+' conftest.er1 >conftest.err
38710 cat conftest.err >&5
38711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38712 (exit $ac_status); } && {
38713 test -z "$ac_c_werror_flag" ||
38714 test ! -s conftest.err
38715 } && test -s conftest.$ac_objext; then
38716 eval "$as_ac_Header=yes"
38718 echo "$as_me: failed program was:" >&5
38719 sed 's/^/| /' conftest.$ac_ext >&5
38721 eval "$as_ac_Header=no"
38724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38726 ac_res=`eval echo '${'$as_ac_Header'}'`
38727 { echo "$as_me:$LINENO: result: $ac_res" >&5
38728 echo "${ECHO_T}$ac_res" >&6; }
38729 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38730 cat >>confdefs.h <<_ACEOF
38731 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38738 if test "$ac_cv_header_sched_h" = "yes"; then
38739 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38740 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38741 if test "${ac_cv_func_sched_yield+set}" = set; then
38742 echo $ECHO_N "(cached) $ECHO_C" >&6
38744 cat >conftest.$ac_ext <<_ACEOF
38747 cat confdefs.h >>conftest.$ac_ext
38748 cat >>conftest.$ac_ext <<_ACEOF
38749 /* end confdefs.h. */
38750 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38752 #define sched_yield innocuous_sched_yield
38754 /* System header to define __stub macros and hopefully few prototypes,
38755 which can conflict with char sched_yield (); below.
38756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38757 <limits.h> exists even on freestanding compilers. */
38760 # include <limits.h>
38762 # include <assert.h>
38767 /* Override any GCC internal prototype to avoid an error.
38768 Use char because int might match the return type of a GCC
38769 builtin and then its argument prototype would still apply. */
38773 char sched_yield ();
38774 /* The GNU C library defines this for functions which it implements
38775 to always fail with ENOSYS. Some functions are actually named
38776 something starting with __ and the normal name is an alias. */
38777 #if defined __stub_sched_yield || defined __stub___sched_yield
38784 return sched_yield ();
38789 rm -f conftest.$ac_objext conftest$ac_exeext
38790 if { (ac_try="$ac_link"
38791 case "(($ac_try" in
38792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38793 *) ac_try_echo=$ac_try;;
38795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38796 (eval "$ac_link") 2>conftest.er1
38798 grep -v '^ *+' conftest.er1 >conftest.err
38800 cat conftest.err >&5
38801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38802 (exit $ac_status); } && {
38803 test -z "$ac_c_werror_flag" ||
38804 test ! -s conftest.err
38805 } && test -s conftest$ac_exeext &&
38806 $as_test_x conftest$ac_exeext; then
38807 ac_cv_func_sched_yield=yes
38809 echo "$as_me: failed program was:" >&5
38810 sed 's/^/| /' conftest.$ac_ext >&5
38812 ac_cv_func_sched_yield=no
38815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38816 conftest$ac_exeext conftest.$ac_ext
38818 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38819 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38820 if test $ac_cv_func_sched_yield = yes; then
38821 cat >>confdefs.h <<\_ACEOF
38822 #define HAVE_SCHED_YIELD 1
38827 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38828 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38829 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38830 echo $ECHO_N "(cached) $ECHO_C" >&6
38832 ac_check_lib_save_LIBS=$LIBS
38833 LIBS="-lposix4 $LIBS"
38834 cat >conftest.$ac_ext <<_ACEOF
38837 cat confdefs.h >>conftest.$ac_ext
38838 cat >>conftest.$ac_ext <<_ACEOF
38839 /* end confdefs.h. */
38841 /* Override any GCC internal prototype to avoid an error.
38842 Use char because int might match the return type of a GCC
38843 builtin and then its argument prototype would still apply. */
38847 char sched_yield ();
38851 return sched_yield ();
38856 rm -f conftest.$ac_objext conftest$ac_exeext
38857 if { (ac_try="$ac_link"
38858 case "(($ac_try" in
38859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38860 *) ac_try_echo=$ac_try;;
38862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38863 (eval "$ac_link") 2>conftest.er1
38865 grep -v '^ *+' conftest.er1 >conftest.err
38867 cat conftest.err >&5
38868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38869 (exit $ac_status); } && {
38870 test -z "$ac_c_werror_flag" ||
38871 test ! -s conftest.err
38872 } && test -s conftest$ac_exeext &&
38873 $as_test_x conftest$ac_exeext; then
38874 ac_cv_lib_posix4_sched_yield=yes
38876 echo "$as_me: failed program was:" >&5
38877 sed 's/^/| /' conftest.$ac_ext >&5
38879 ac_cv_lib_posix4_sched_yield=no
38882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38883 conftest$ac_exeext conftest.$ac_ext
38884 LIBS=$ac_check_lib_save_LIBS
38886 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38887 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38888 if test $ac_cv_lib_posix4_sched_yield = yes; then
38889 cat >>confdefs.h <<\_ACEOF
38890 #define HAVE_SCHED_YIELD 1
38892 POSIX4_LINK=" -lposix4"
38894 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38895 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38906 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38907 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38908 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38909 echo $ECHO_N "(cached) $ECHO_C" >&6
38911 cat >conftest.$ac_ext <<_ACEOF
38914 cat confdefs.h >>conftest.$ac_ext
38915 cat >>conftest.$ac_ext <<_ACEOF
38916 /* end confdefs.h. */
38917 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38919 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38921 /* System header to define __stub macros and hopefully few prototypes,
38922 which can conflict with char pthread_attr_getschedpolicy (); below.
38923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38924 <limits.h> exists even on freestanding compilers. */
38927 # include <limits.h>
38929 # include <assert.h>
38932 #undef pthread_attr_getschedpolicy
38934 /* Override any GCC internal prototype to avoid an error.
38935 Use char because int might match the return type of a GCC
38936 builtin and then its argument prototype would still apply. */
38940 char pthread_attr_getschedpolicy ();
38941 /* The GNU C library defines this for functions which it implements
38942 to always fail with ENOSYS. Some functions are actually named
38943 something starting with __ and the normal name is an alias. */
38944 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38951 return pthread_attr_getschedpolicy ();
38956 rm -f conftest.$ac_objext conftest$ac_exeext
38957 if { (ac_try="$ac_link"
38958 case "(($ac_try" in
38959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38960 *) ac_try_echo=$ac_try;;
38962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38963 (eval "$ac_link") 2>conftest.er1
38965 grep -v '^ *+' conftest.er1 >conftest.err
38967 cat conftest.err >&5
38968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38969 (exit $ac_status); } && {
38970 test -z "$ac_c_werror_flag" ||
38971 test ! -s conftest.err
38972 } && test -s conftest$ac_exeext &&
38973 $as_test_x conftest$ac_exeext; then
38974 ac_cv_func_pthread_attr_getschedpolicy=yes
38976 echo "$as_me: failed program was:" >&5
38977 sed 's/^/| /' conftest.$ac_ext >&5
38979 ac_cv_func_pthread_attr_getschedpolicy=no
38982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38983 conftest$ac_exeext conftest.$ac_ext
38985 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38986 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38987 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38988 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38989 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38990 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38991 echo $ECHO_N "(cached) $ECHO_C" >&6
38993 cat >conftest.$ac_ext <<_ACEOF
38996 cat confdefs.h >>conftest.$ac_ext
38997 cat >>conftest.$ac_ext <<_ACEOF
38998 /* end confdefs.h. */
38999 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39001 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39003 /* System header to define __stub macros and hopefully few prototypes,
39004 which can conflict with char pthread_attr_setschedparam (); below.
39005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39006 <limits.h> exists even on freestanding compilers. */
39009 # include <limits.h>
39011 # include <assert.h>
39014 #undef pthread_attr_setschedparam
39016 /* Override any GCC internal prototype to avoid an error.
39017 Use char because int might match the return type of a GCC
39018 builtin and then its argument prototype would still apply. */
39022 char pthread_attr_setschedparam ();
39023 /* The GNU C library defines this for functions which it implements
39024 to always fail with ENOSYS. Some functions are actually named
39025 something starting with __ and the normal name is an alias. */
39026 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39033 return pthread_attr_setschedparam ();
39038 rm -f conftest.$ac_objext conftest$ac_exeext
39039 if { (ac_try="$ac_link"
39040 case "(($ac_try" in
39041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39042 *) ac_try_echo=$ac_try;;
39044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39045 (eval "$ac_link") 2>conftest.er1
39047 grep -v '^ *+' conftest.er1 >conftest.err
39049 cat conftest.err >&5
39050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39051 (exit $ac_status); } && {
39052 test -z "$ac_c_werror_flag" ||
39053 test ! -s conftest.err
39054 } && test -s conftest$ac_exeext &&
39055 $as_test_x conftest$ac_exeext; then
39056 ac_cv_func_pthread_attr_setschedparam=yes
39058 echo "$as_me: failed program was:" >&5
39059 sed 's/^/| /' conftest.$ac_ext >&5
39061 ac_cv_func_pthread_attr_setschedparam=no
39064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39065 conftest$ac_exeext conftest.$ac_ext
39067 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39068 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39069 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39070 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39071 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39072 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39073 echo $ECHO_N "(cached) $ECHO_C" >&6
39075 cat >conftest.$ac_ext <<_ACEOF
39078 cat confdefs.h >>conftest.$ac_ext
39079 cat >>conftest.$ac_ext <<_ACEOF
39080 /* end confdefs.h. */
39081 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39083 #define sched_get_priority_max innocuous_sched_get_priority_max
39085 /* System header to define __stub macros and hopefully few prototypes,
39086 which can conflict with char sched_get_priority_max (); below.
39087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39088 <limits.h> exists even on freestanding compilers. */
39091 # include <limits.h>
39093 # include <assert.h>
39096 #undef sched_get_priority_max
39098 /* Override any GCC internal prototype to avoid an error.
39099 Use char because int might match the return type of a GCC
39100 builtin and then its argument prototype would still apply. */
39104 char sched_get_priority_max ();
39105 /* The GNU C library defines this for functions which it implements
39106 to always fail with ENOSYS. Some functions are actually named
39107 something starting with __ and the normal name is an alias. */
39108 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39115 return sched_get_priority_max ();
39120 rm -f conftest.$ac_objext conftest$ac_exeext
39121 if { (ac_try="$ac_link"
39122 case "(($ac_try" in
39123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39124 *) ac_try_echo=$ac_try;;
39126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39127 (eval "$ac_link") 2>conftest.er1
39129 grep -v '^ *+' conftest.er1 >conftest.err
39131 cat conftest.err >&5
39132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39133 (exit $ac_status); } && {
39134 test -z "$ac_c_werror_flag" ||
39135 test ! -s conftest.err
39136 } && test -s conftest$ac_exeext &&
39137 $as_test_x conftest$ac_exeext; then
39138 ac_cv_func_sched_get_priority_max=yes
39140 echo "$as_me: failed program was:" >&5
39141 sed 's/^/| /' conftest.$ac_ext >&5
39143 ac_cv_func_sched_get_priority_max=no
39146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39147 conftest$ac_exeext conftest.$ac_ext
39149 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39150 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39151 if test $ac_cv_func_sched_get_priority_max = yes; then
39154 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39155 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39156 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39157 echo $ECHO_N "(cached) $ECHO_C" >&6
39159 ac_check_lib_save_LIBS=$LIBS
39160 LIBS="-lposix4 $LIBS"
39161 cat >conftest.$ac_ext <<_ACEOF
39164 cat confdefs.h >>conftest.$ac_ext
39165 cat >>conftest.$ac_ext <<_ACEOF
39166 /* end confdefs.h. */
39168 /* Override any GCC internal prototype to avoid an error.
39169 Use char because int might match the return type of a GCC
39170 builtin and then its argument prototype would still apply. */
39174 char sched_get_priority_max ();
39178 return sched_get_priority_max ();
39183 rm -f conftest.$ac_objext conftest$ac_exeext
39184 if { (ac_try="$ac_link"
39185 case "(($ac_try" in
39186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39187 *) ac_try_echo=$ac_try;;
39189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39190 (eval "$ac_link") 2>conftest.er1
39192 grep -v '^ *+' conftest.er1 >conftest.err
39194 cat conftest.err >&5
39195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39196 (exit $ac_status); } && {
39197 test -z "$ac_c_werror_flag" ||
39198 test ! -s conftest.err
39199 } && test -s conftest$ac_exeext &&
39200 $as_test_x conftest$ac_exeext; then
39201 ac_cv_lib_posix4_sched_get_priority_max=yes
39203 echo "$as_me: failed program was:" >&5
39204 sed 's/^/| /' conftest.$ac_ext >&5
39206 ac_cv_lib_posix4_sched_get_priority_max=no
39209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39210 conftest$ac_exeext conftest.$ac_ext
39211 LIBS=$ac_check_lib_save_LIBS
39213 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39214 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39215 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39218 POSIX4_LINK=" -lposix4"
39232 if test "$HAVE_PRIOR_FUNCS" = 1; then
39233 cat >>confdefs.h <<\_ACEOF
39234 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39238 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39239 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39242 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39243 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39244 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39245 echo $ECHO_N "(cached) $ECHO_C" >&6
39247 cat >conftest.$ac_ext <<_ACEOF
39250 cat confdefs.h >>conftest.$ac_ext
39251 cat >>conftest.$ac_ext <<_ACEOF
39252 /* end confdefs.h. */
39253 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39255 #define pthread_cancel innocuous_pthread_cancel
39257 /* System header to define __stub macros and hopefully few prototypes,
39258 which can conflict with char pthread_cancel (); below.
39259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39260 <limits.h> exists even on freestanding compilers. */
39263 # include <limits.h>
39265 # include <assert.h>
39268 #undef pthread_cancel
39270 /* Override any GCC internal prototype to avoid an error.
39271 Use char because int might match the return type of a GCC
39272 builtin and then its argument prototype would still apply. */
39276 char pthread_cancel ();
39277 /* The GNU C library defines this for functions which it implements
39278 to always fail with ENOSYS. Some functions are actually named
39279 something starting with __ and the normal name is an alias. */
39280 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39287 return pthread_cancel ();
39292 rm -f conftest.$ac_objext conftest$ac_exeext
39293 if { (ac_try="$ac_link"
39294 case "(($ac_try" in
39295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39296 *) ac_try_echo=$ac_try;;
39298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39299 (eval "$ac_link") 2>conftest.er1
39301 grep -v '^ *+' conftest.er1 >conftest.err
39303 cat conftest.err >&5
39304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39305 (exit $ac_status); } && {
39306 test -z "$ac_c_werror_flag" ||
39307 test ! -s conftest.err
39308 } && test -s conftest$ac_exeext &&
39309 $as_test_x conftest$ac_exeext; then
39310 ac_cv_func_pthread_cancel=yes
39312 echo "$as_me: failed program was:" >&5
39313 sed 's/^/| /' conftest.$ac_ext >&5
39315 ac_cv_func_pthread_cancel=no
39318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39319 conftest$ac_exeext conftest.$ac_ext
39321 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39322 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39323 if test $ac_cv_func_pthread_cancel = yes; then
39324 cat >>confdefs.h <<\_ACEOF
39325 #define HAVE_PTHREAD_CANCEL 1
39329 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39330 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39334 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39335 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39336 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39337 echo $ECHO_N "(cached) $ECHO_C" >&6
39339 cat >conftest.$ac_ext <<_ACEOF
39342 cat confdefs.h >>conftest.$ac_ext
39343 cat >>conftest.$ac_ext <<_ACEOF
39344 /* end confdefs.h. */
39345 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39347 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39349 /* System header to define __stub macros and hopefully few prototypes,
39350 which can conflict with char pthread_mutex_timedlock (); below.
39351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39352 <limits.h> exists even on freestanding compilers. */
39355 # include <limits.h>
39357 # include <assert.h>
39360 #undef pthread_mutex_timedlock
39362 /* Override any GCC internal prototype to avoid an error.
39363 Use char because int might match the return type of a GCC
39364 builtin and then its argument prototype would still apply. */
39368 char pthread_mutex_timedlock ();
39369 /* The GNU C library defines this for functions which it implements
39370 to always fail with ENOSYS. Some functions are actually named
39371 something starting with __ and the normal name is an alias. */
39372 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39379 return pthread_mutex_timedlock ();
39384 rm -f conftest.$ac_objext conftest$ac_exeext
39385 if { (ac_try="$ac_link"
39386 case "(($ac_try" in
39387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39388 *) ac_try_echo=$ac_try;;
39390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39391 (eval "$ac_link") 2>conftest.er1
39393 grep -v '^ *+' conftest.er1 >conftest.err
39395 cat conftest.err >&5
39396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39397 (exit $ac_status); } && {
39398 test -z "$ac_c_werror_flag" ||
39399 test ! -s conftest.err
39400 } && test -s conftest$ac_exeext &&
39401 $as_test_x conftest$ac_exeext; then
39402 ac_cv_func_pthread_mutex_timedlock=yes
39404 echo "$as_me: failed program was:" >&5
39405 sed 's/^/| /' conftest.$ac_ext >&5
39407 ac_cv_func_pthread_mutex_timedlock=no
39410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39411 conftest$ac_exeext conftest.$ac_ext
39413 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39414 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39415 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39416 cat >>confdefs.h <<\_ACEOF
39417 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39421 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39422 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39426 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39427 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39428 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39429 echo $ECHO_N "(cached) $ECHO_C" >&6
39431 cat >conftest.$ac_ext <<_ACEOF
39434 cat confdefs.h >>conftest.$ac_ext
39435 cat >>conftest.$ac_ext <<_ACEOF
39436 /* end confdefs.h. */
39437 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39439 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39441 /* System header to define __stub macros and hopefully few prototypes,
39442 which can conflict with char pthread_attr_setstacksize (); below.
39443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39444 <limits.h> exists even on freestanding compilers. */
39447 # include <limits.h>
39449 # include <assert.h>
39452 #undef pthread_attr_setstacksize
39454 /* Override any GCC internal prototype to avoid an error.
39455 Use char because int might match the return type of a GCC
39456 builtin and then its argument prototype would still apply. */
39460 char pthread_attr_setstacksize ();
39461 /* The GNU C library defines this for functions which it implements
39462 to always fail with ENOSYS. Some functions are actually named
39463 something starting with __ and the normal name is an alias. */
39464 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39471 return pthread_attr_setstacksize ();
39476 rm -f conftest.$ac_objext conftest$ac_exeext
39477 if { (ac_try="$ac_link"
39478 case "(($ac_try" in
39479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39480 *) ac_try_echo=$ac_try;;
39482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39483 (eval "$ac_link") 2>conftest.er1
39485 grep -v '^ *+' conftest.er1 >conftest.err
39487 cat conftest.err >&5
39488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39489 (exit $ac_status); } && {
39490 test -z "$ac_c_werror_flag" ||
39491 test ! -s conftest.err
39492 } && test -s conftest$ac_exeext &&
39493 $as_test_x conftest$ac_exeext; then
39494 ac_cv_func_pthread_attr_setstacksize=yes
39496 echo "$as_me: failed program was:" >&5
39497 sed 's/^/| /' conftest.$ac_ext >&5
39499 ac_cv_func_pthread_attr_setstacksize=no
39502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39503 conftest$ac_exeext conftest.$ac_ext
39505 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39506 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39507 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39508 cat >>confdefs.h <<\_ACEOF
39509 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39516 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39517 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39518 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39519 echo $ECHO_N "(cached) $ECHO_C" >&6
39522 cat >conftest.$ac_ext <<_ACEOF
39525 cat confdefs.h >>conftest.$ac_ext
39526 cat >>conftest.$ac_ext <<_ACEOF
39527 /* end confdefs.h. */
39528 #include <pthread.h>
39533 pthread_mutexattr_t attr;
39534 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39540 rm -f conftest.$ac_objext
39541 if { (ac_try="$ac_compile"
39542 case "(($ac_try" in
39543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39544 *) ac_try_echo=$ac_try;;
39546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39547 (eval "$ac_compile") 2>conftest.er1
39549 grep -v '^ *+' conftest.er1 >conftest.err
39551 cat conftest.err >&5
39552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39553 (exit $ac_status); } && {
39554 test -z "$ac_c_werror_flag" ||
39555 test ! -s conftest.err
39556 } && test -s conftest.$ac_objext; then
39557 wx_cv_type_pthread_mutexattr_t=yes
39559 echo "$as_me: failed program was:" >&5
39560 sed 's/^/| /' conftest.$ac_ext >&5
39562 wx_cv_type_pthread_mutexattr_t=no
39566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39569 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39570 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39572 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39573 cat >>confdefs.h <<\_ACEOF
39574 #define HAVE_PTHREAD_MUTEXATTR_T 1
39578 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39579 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39580 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39581 echo $ECHO_N "(cached) $ECHO_C" >&6
39584 cat >conftest.$ac_ext <<_ACEOF
39587 cat confdefs.h >>conftest.$ac_ext
39588 cat >>conftest.$ac_ext <<_ACEOF
39589 /* end confdefs.h. */
39590 #include <pthread.h>
39595 pthread_mutexattr_t attr;
39596 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39602 rm -f conftest.$ac_objext
39603 if { (ac_try="$ac_compile"
39604 case "(($ac_try" in
39605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39606 *) ac_try_echo=$ac_try;;
39608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39609 (eval "$ac_compile") 2>conftest.er1
39611 grep -v '^ *+' conftest.er1 >conftest.err
39613 cat conftest.err >&5
39614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39615 (exit $ac_status); } && {
39616 test -z "$ac_c_werror_flag" ||
39617 test ! -s conftest.err
39618 } && test -s conftest.$ac_objext; then
39619 wx_cv_func_pthread_mutexattr_settype_decl=yes
39621 echo "$as_me: failed program was:" >&5
39622 sed 's/^/| /' conftest.$ac_ext >&5
39624 wx_cv_func_pthread_mutexattr_settype_decl=no
39628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39631 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39632 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39633 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39634 cat >>confdefs.h <<\_ACEOF
39635 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39640 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39641 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39642 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39643 echo $ECHO_N "(cached) $ECHO_C" >&6
39646 cat >conftest.$ac_ext <<_ACEOF
39649 cat confdefs.h >>conftest.$ac_ext
39650 cat >>conftest.$ac_ext <<_ACEOF
39651 /* end confdefs.h. */
39652 #include <pthread.h>
39657 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39663 rm -f conftest.$ac_objext
39664 if { (ac_try="$ac_compile"
39665 case "(($ac_try" in
39666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39667 *) ac_try_echo=$ac_try;;
39669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39670 (eval "$ac_compile") 2>conftest.er1
39672 grep -v '^ *+' conftest.er1 >conftest.err
39674 cat conftest.err >&5
39675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39676 (exit $ac_status); } && {
39677 test -z "$ac_c_werror_flag" ||
39678 test ! -s conftest.err
39679 } && test -s conftest.$ac_objext; then
39681 wx_cv_type_pthread_rec_mutex_init=yes
39684 echo "$as_me: failed program was:" >&5
39685 sed 's/^/| /' conftest.$ac_ext >&5
39688 wx_cv_type_pthread_rec_mutex_init=no
39693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39696 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39697 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39698 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39699 cat >>confdefs.h <<\_ACEOF
39700 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39704 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39705 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39711 if test "$wxUSE_THREADS" = "yes" ; then
39714 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39715 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39716 if test "${wx_cv_cflags_mthread+set}" = set; then
39717 echo $ECHO_N "(cached) $ECHO_C" >&6
39720 CFLAGS_OLD="$CFLAGS"
39721 CFLAGS="-mthreads $CFLAGS"
39722 cat >conftest.$ac_ext <<_ACEOF
39725 cat confdefs.h >>conftest.$ac_ext
39726 cat >>conftest.$ac_ext <<_ACEOF
39727 /* end confdefs.h. */
39737 rm -f conftest.$ac_objext
39738 if { (ac_try="$ac_compile"
39739 case "(($ac_try" in
39740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39741 *) ac_try_echo=$ac_try;;
39743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39744 (eval "$ac_compile") 2>conftest.er1
39746 grep -v '^ *+' conftest.er1 >conftest.err
39748 cat conftest.err >&5
39749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39750 (exit $ac_status); } && {
39751 test -z "$ac_c_werror_flag" ||
39752 test ! -s conftest.err
39753 } && test -s conftest.$ac_objext; then
39754 wx_cv_cflags_mthread=yes
39756 echo "$as_me: failed program was:" >&5
39757 sed 's/^/| /' conftest.$ac_ext >&5
39759 wx_cv_cflags_mthread=no
39763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39767 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39768 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39770 if test "$wx_cv_cflags_mthread" = "yes"; then
39771 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39772 LDFLAGS="$LDFLAGS -mthreads"
39774 CFLAGS="$CFLAGS_OLD"
39778 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39779 LDFLAGS="$LDFLAGS -Zmt"
39785 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39786 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39787 if test "${ac_cv_func_localtime_r+set}" = set; then
39788 echo $ECHO_N "(cached) $ECHO_C" >&6
39790 cat >conftest.$ac_ext <<_ACEOF
39793 cat confdefs.h >>conftest.$ac_ext
39794 cat >>conftest.$ac_ext <<_ACEOF
39795 /* end confdefs.h. */
39796 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39798 #define localtime_r innocuous_localtime_r
39800 /* System header to define __stub macros and hopefully few prototypes,
39801 which can conflict with char localtime_r (); below.
39802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39803 <limits.h> exists even on freestanding compilers. */
39806 # include <limits.h>
39808 # include <assert.h>
39813 /* Override any GCC internal prototype to avoid an error.
39814 Use char because int might match the return type of a GCC
39815 builtin and then its argument prototype would still apply. */
39819 char localtime_r ();
39820 /* The GNU C library defines this for functions which it implements
39821 to always fail with ENOSYS. Some functions are actually named
39822 something starting with __ and the normal name is an alias. */
39823 #if defined __stub_localtime_r || defined __stub___localtime_r
39830 return localtime_r ();
39835 rm -f conftest.$ac_objext conftest$ac_exeext
39836 if { (ac_try="$ac_link"
39837 case "(($ac_try" in
39838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39839 *) ac_try_echo=$ac_try;;
39841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39842 (eval "$ac_link") 2>conftest.er1
39844 grep -v '^ *+' conftest.er1 >conftest.err
39846 cat conftest.err >&5
39847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39848 (exit $ac_status); } && {
39849 test -z "$ac_c_werror_flag" ||
39850 test ! -s conftest.err
39851 } && test -s conftest$ac_exeext &&
39852 $as_test_x conftest$ac_exeext; then
39853 ac_cv_func_localtime_r=yes
39855 echo "$as_me: failed program was:" >&5
39856 sed 's/^/| /' conftest.$ac_ext >&5
39858 ac_cv_func_localtime_r=no
39861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39862 conftest$ac_exeext conftest.$ac_ext
39864 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39865 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39866 if test $ac_cv_func_localtime_r = yes; then
39867 cat >>confdefs.h <<\_ACEOF
39868 #define HAVE_LOCALTIME_R 1
39873 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39874 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39875 if test "${ac_cv_func_gmtime_r+set}" = set; then
39876 echo $ECHO_N "(cached) $ECHO_C" >&6
39878 cat >conftest.$ac_ext <<_ACEOF
39881 cat confdefs.h >>conftest.$ac_ext
39882 cat >>conftest.$ac_ext <<_ACEOF
39883 /* end confdefs.h. */
39884 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39886 #define gmtime_r innocuous_gmtime_r
39888 /* System header to define __stub macros and hopefully few prototypes,
39889 which can conflict with char gmtime_r (); below.
39890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39891 <limits.h> exists even on freestanding compilers. */
39894 # include <limits.h>
39896 # include <assert.h>
39901 /* Override any GCC internal prototype to avoid an error.
39902 Use char because int might match the return type of a GCC
39903 builtin and then its argument prototype would still apply. */
39908 /* The GNU C library defines this for functions which it implements
39909 to always fail with ENOSYS. Some functions are actually named
39910 something starting with __ and the normal name is an alias. */
39911 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39918 return gmtime_r ();
39923 rm -f conftest.$ac_objext conftest$ac_exeext
39924 if { (ac_try="$ac_link"
39925 case "(($ac_try" in
39926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39927 *) ac_try_echo=$ac_try;;
39929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39930 (eval "$ac_link") 2>conftest.er1
39932 grep -v '^ *+' conftest.er1 >conftest.err
39934 cat conftest.err >&5
39935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39936 (exit $ac_status); } && {
39937 test -z "$ac_c_werror_flag" ||
39938 test ! -s conftest.err
39939 } && test -s conftest$ac_exeext &&
39940 $as_test_x conftest$ac_exeext; then
39941 ac_cv_func_gmtime_r=yes
39943 echo "$as_me: failed program was:" >&5
39944 sed 's/^/| /' conftest.$ac_ext >&5
39946 ac_cv_func_gmtime_r=no
39949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39950 conftest$ac_exeext conftest.$ac_ext
39952 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39953 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39954 if test $ac_cv_func_gmtime_r = yes; then
39955 cat >>confdefs.h <<\_ACEOF
39956 #define HAVE_GMTIME_R 1
39965 ac_cpp='$CPP $CPPFLAGS'
39966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39970 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39971 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39973 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39974 echo $ECHO_N "(cached) $ECHO_C" >&6
39978 ################################################################
39980 ac_cv_func_which_gethostbyname_r=unknown
39983 # ONE ARGUMENT (sanity check)
39986 # This should fail, as there is no variant of gethostbyname_r() that takes
39987 # a single argument. If it actually compiles, then we can assume that
39988 # netdb.h is not declaring the function, and the compiler is thereby
39989 # assuming an implicit prototype. In which case, we're out of luck.
39991 cat >conftest.$ac_ext <<_ACEOF
39994 cat confdefs.h >>conftest.$ac_ext
39995 cat >>conftest.$ac_ext <<_ACEOF
39996 /* end confdefs.h. */
40002 char *name = "www.gnu.org";
40003 (void)gethostbyname_r(name) /* ; */
40009 rm -f conftest.$ac_objext
40010 if { (ac_try="$ac_compile"
40011 case "(($ac_try" in
40012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40013 *) ac_try_echo=$ac_try;;
40015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40016 (eval "$ac_compile") 2>conftest.er1
40018 grep -v '^ *+' conftest.er1 >conftest.err
40020 cat conftest.err >&5
40021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40022 (exit $ac_status); } && {
40023 test -z "$ac_c_werror_flag" ||
40024 test ! -s conftest.err
40025 } && test -s conftest.$ac_objext; then
40026 ac_cv_func_which_gethostbyname_r=no
40028 echo "$as_me: failed program was:" >&5
40029 sed 's/^/| /' conftest.$ac_ext >&5
40034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40041 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40043 cat >conftest.$ac_ext <<_ACEOF
40046 cat confdefs.h >>conftest.$ac_ext
40047 cat >>conftest.$ac_ext <<_ACEOF
40048 /* end confdefs.h. */
40054 char *name = "www.gnu.org";
40055 struct hostent ret, *retp;
40059 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40065 rm -f conftest.$ac_objext
40066 if { (ac_try="$ac_compile"
40067 case "(($ac_try" in
40068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40069 *) ac_try_echo=$ac_try;;
40071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40072 (eval "$ac_compile") 2>conftest.er1
40074 grep -v '^ *+' conftest.er1 >conftest.err
40076 cat conftest.err >&5
40077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40078 (exit $ac_status); } && {
40079 test -z "$ac_c_werror_flag" ||
40080 test ! -s conftest.err
40081 } && test -s conftest.$ac_objext; then
40082 ac_cv_func_which_gethostbyname_r=six
40084 echo "$as_me: failed program was:" >&5
40085 sed 's/^/| /' conftest.$ac_ext >&5
40090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40099 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40101 cat >conftest.$ac_ext <<_ACEOF
40104 cat confdefs.h >>conftest.$ac_ext
40105 cat >>conftest.$ac_ext <<_ACEOF
40106 /* end confdefs.h. */
40112 char *name = "www.gnu.org";
40113 struct hostent ret;
40117 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40123 rm -f conftest.$ac_objext
40124 if { (ac_try="$ac_compile"
40125 case "(($ac_try" in
40126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40127 *) ac_try_echo=$ac_try;;
40129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40130 (eval "$ac_compile") 2>conftest.er1
40132 grep -v '^ *+' conftest.er1 >conftest.err
40134 cat conftest.err >&5
40135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40136 (exit $ac_status); } && {
40137 test -z "$ac_c_werror_flag" ||
40138 test ! -s conftest.err
40139 } && test -s conftest.$ac_objext; then
40140 ac_cv_func_which_gethostbyname_r=five
40142 echo "$as_me: failed program was:" >&5
40143 sed 's/^/| /' conftest.$ac_ext >&5
40148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40154 # (e.g. AIX, HP-UX, Tru64)
40157 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40159 cat >conftest.$ac_ext <<_ACEOF
40162 cat confdefs.h >>conftest.$ac_ext
40163 cat >>conftest.$ac_ext <<_ACEOF
40164 /* end confdefs.h. */
40170 char *name = "www.gnu.org";
40171 struct hostent ret;
40172 struct hostent_data data;
40173 (void)gethostbyname_r(name, &ret, &data) /* ; */
40179 rm -f conftest.$ac_objext
40180 if { (ac_try="$ac_compile"
40181 case "(($ac_try" in
40182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40183 *) ac_try_echo=$ac_try;;
40185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40186 (eval "$ac_compile") 2>conftest.er1
40188 grep -v '^ *+' conftest.er1 >conftest.err
40190 cat conftest.err >&5
40191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40192 (exit $ac_status); } && {
40193 test -z "$ac_c_werror_flag" ||
40194 test ! -s conftest.err
40195 } && test -s conftest.$ac_objext; then
40196 ac_cv_func_which_gethostbyname_r=three
40198 echo "$as_me: failed program was:" >&5
40199 sed 's/^/| /' conftest.$ac_ext >&5
40204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40208 ################################################################
40213 case "$ac_cv_func_which_gethostbyname_r" in
40215 { echo "$as_me:$LINENO: result: three" >&5
40216 echo "${ECHO_T}three" >&6; }
40217 cat >>confdefs.h <<\_ACEOF
40218 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40224 { echo "$as_me:$LINENO: result: five" >&5
40225 echo "${ECHO_T}five" >&6; }
40226 cat >>confdefs.h <<\_ACEOF
40227 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40233 { echo "$as_me:$LINENO: result: six" >&5
40234 echo "${ECHO_T}six" >&6; }
40235 cat >>confdefs.h <<\_ACEOF
40236 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40242 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40243 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40247 { echo "$as_me:$LINENO: result: can't tell" >&5
40248 echo "${ECHO_T}can't tell" >&6; }
40252 { { echo "$as_me:$LINENO: error: internal error" >&5
40253 echo "$as_me: error: internal error" >&2;}
40254 { (exit 1); exit 1; }; }
40259 ac_cpp='$CPP $CPPFLAGS'
40260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40266 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40267 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40268 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40269 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40270 if test "${ac_cv_func_gethostbyname+set}" = set; then
40271 echo $ECHO_N "(cached) $ECHO_C" >&6
40273 cat >conftest.$ac_ext <<_ACEOF
40276 cat confdefs.h >>conftest.$ac_ext
40277 cat >>conftest.$ac_ext <<_ACEOF
40278 /* end confdefs.h. */
40279 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40281 #define gethostbyname innocuous_gethostbyname
40283 /* System header to define __stub macros and hopefully few prototypes,
40284 which can conflict with char gethostbyname (); below.
40285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40286 <limits.h> exists even on freestanding compilers. */
40289 # include <limits.h>
40291 # include <assert.h>
40294 #undef gethostbyname
40296 /* Override any GCC internal prototype to avoid an error.
40297 Use char because int might match the return type of a GCC
40298 builtin and then its argument prototype would still apply. */
40302 char gethostbyname ();
40303 /* The GNU C library defines this for functions which it implements
40304 to always fail with ENOSYS. Some functions are actually named
40305 something starting with __ and the normal name is an alias. */
40306 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40313 return gethostbyname ();
40318 rm -f conftest.$ac_objext conftest$ac_exeext
40319 if { (ac_try="$ac_link"
40320 case "(($ac_try" in
40321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40322 *) ac_try_echo=$ac_try;;
40324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40325 (eval "$ac_link") 2>conftest.er1
40327 grep -v '^ *+' conftest.er1 >conftest.err
40329 cat conftest.err >&5
40330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40331 (exit $ac_status); } && {
40332 test -z "$ac_c_werror_flag" ||
40333 test ! -s conftest.err
40334 } && test -s conftest$ac_exeext &&
40335 $as_test_x conftest$ac_exeext; then
40336 ac_cv_func_gethostbyname=yes
40338 echo "$as_me: failed program was:" >&5
40339 sed 's/^/| /' conftest.$ac_ext >&5
40341 ac_cv_func_gethostbyname=no
40344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40345 conftest$ac_exeext conftest.$ac_ext
40347 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40348 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40349 if test $ac_cv_func_gethostbyname = yes; then
40350 cat >>confdefs.h <<\_ACEOF
40351 #define HAVE_GETHOSTBYNAME 1
40358 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40359 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40360 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40361 echo $ECHO_N "(cached) $ECHO_C" >&6
40365 ac_cpp='$CXXCPP $CPPFLAGS'
40366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40371 cat >conftest.$ac_ext <<_ACEOF
40374 cat confdefs.h >>conftest.$ac_ext
40375 cat >>conftest.$ac_ext <<_ACEOF
40376 /* end confdefs.h. */
40384 struct servent *se, *res;
40387 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40393 rm -f conftest.$ac_objext
40394 if { (ac_try="$ac_compile"
40395 case "(($ac_try" in
40396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40397 *) ac_try_echo=$ac_try;;
40399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40400 (eval "$ac_compile") 2>conftest.er1
40402 grep -v '^ *+' conftest.er1 >conftest.err
40404 cat conftest.err >&5
40405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40406 (exit $ac_status); } && {
40407 test -z "$ac_cxx_werror_flag" ||
40408 test ! -s conftest.err
40409 } && test -s conftest.$ac_objext; then
40410 ac_cv_func_which_getservbyname_r=six
40412 echo "$as_me: failed program was:" >&5
40413 sed 's/^/| /' conftest.$ac_ext >&5
40416 cat >conftest.$ac_ext <<_ACEOF
40419 cat confdefs.h >>conftest.$ac_ext
40420 cat >>conftest.$ac_ext <<_ACEOF
40421 /* end confdefs.h. */
40429 struct servent *se;
40432 (void) getservbyname_r(name, proto, se, buffer, buflen)
40438 rm -f conftest.$ac_objext
40439 if { (ac_try="$ac_compile"
40440 case "(($ac_try" in
40441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40442 *) ac_try_echo=$ac_try;;
40444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40445 (eval "$ac_compile") 2>conftest.er1
40447 grep -v '^ *+' conftest.er1 >conftest.err
40449 cat conftest.err >&5
40450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40451 (exit $ac_status); } && {
40452 test -z "$ac_cxx_werror_flag" ||
40453 test ! -s conftest.err
40454 } && test -s conftest.$ac_objext; then
40455 ac_cv_func_which_getservbyname_r=five
40457 echo "$as_me: failed program was:" >&5
40458 sed 's/^/| /' conftest.$ac_ext >&5
40461 cat >conftest.$ac_ext <<_ACEOF
40464 cat confdefs.h >>conftest.$ac_ext
40465 cat >>conftest.$ac_ext <<_ACEOF
40466 /* end confdefs.h. */
40474 struct servent *se;
40475 struct servent_data data;
40476 (void) getservbyname_r(name, proto, se, &data);
40482 rm -f conftest.$ac_objext
40483 if { (ac_try="$ac_compile"
40484 case "(($ac_try" in
40485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40486 *) ac_try_echo=$ac_try;;
40488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40489 (eval "$ac_compile") 2>conftest.er1
40491 grep -v '^ *+' conftest.er1 >conftest.err
40493 cat conftest.err >&5
40494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40495 (exit $ac_status); } && {
40496 test -z "$ac_cxx_werror_flag" ||
40497 test ! -s conftest.err
40498 } && test -s conftest.$ac_objext; then
40499 ac_cv_func_which_getservbyname_r=four
40501 echo "$as_me: failed program was:" >&5
40502 sed 's/^/| /' conftest.$ac_ext >&5
40504 ac_cv_func_which_getservbyname_r=no
40508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40520 ac_cpp='$CPP $CPPFLAGS'
40521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40528 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40529 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40531 if test $ac_cv_func_which_getservbyname_r = six; then
40532 cat >>confdefs.h <<\_ACEOF
40533 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40536 elif test $ac_cv_func_which_getservbyname_r = five; then
40537 cat >>confdefs.h <<\_ACEOF
40538 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40541 elif test $ac_cv_func_which_getservbyname_r = four; then
40542 cat >>confdefs.h <<\_ACEOF
40543 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40549 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40550 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40552 for ac_func in getservbyname
40554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40555 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40557 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40558 echo $ECHO_N "(cached) $ECHO_C" >&6
40560 cat >conftest.$ac_ext <<_ACEOF
40563 cat confdefs.h >>conftest.$ac_ext
40564 cat >>conftest.$ac_ext <<_ACEOF
40565 /* end confdefs.h. */
40566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40568 #define $ac_func innocuous_$ac_func
40570 /* System header to define __stub macros and hopefully few prototypes,
40571 which can conflict with char $ac_func (); below.
40572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40573 <limits.h> exists even on freestanding compilers. */
40576 # include <limits.h>
40578 # include <assert.h>
40583 /* Override any GCC internal prototype to avoid an error.
40584 Use char because int might match the return type of a GCC
40585 builtin and then its argument prototype would still apply. */
40590 /* The GNU C library defines this for functions which it implements
40591 to always fail with ENOSYS. Some functions are actually named
40592 something starting with __ and the normal name is an alias. */
40593 #if defined __stub_$ac_func || defined __stub___$ac_func
40600 return $ac_func ();
40605 rm -f conftest.$ac_objext conftest$ac_exeext
40606 if { (ac_try="$ac_link"
40607 case "(($ac_try" in
40608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40609 *) ac_try_echo=$ac_try;;
40611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40612 (eval "$ac_link") 2>conftest.er1
40614 grep -v '^ *+' conftest.er1 >conftest.err
40616 cat conftest.err >&5
40617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40618 (exit $ac_status); } && {
40619 test -z "$ac_c_werror_flag" ||
40620 test ! -s conftest.err
40621 } && test -s conftest$ac_exeext &&
40622 $as_test_x conftest$ac_exeext; then
40623 eval "$as_ac_var=yes"
40625 echo "$as_me: failed program was:" >&5
40626 sed 's/^/| /' conftest.$ac_ext >&5
40628 eval "$as_ac_var=no"
40631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40632 conftest$ac_exeext conftest.$ac_ext
40634 ac_res=`eval echo '${'$as_ac_var'}'`
40635 { echo "$as_me:$LINENO: result: $ac_res" >&5
40636 echo "${ECHO_T}$ac_res" >&6; }
40637 if test `eval echo '${'$as_ac_var'}'` = yes; then
40638 cat >>confdefs.h <<_ACEOF
40639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40641 cat >>confdefs.h <<\_ACEOF
40642 #define HAVE_GETSERVBYNAME 1
40650 if test "$wxUSE_THREADS" = "yes"; then
40651 cat >>confdefs.h <<\_ACEOF
40652 #define wxUSE_THREADS 1
40656 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40658 if test "$wx_cv_func_strtok_r" = "yes"; then
40659 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40660 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40661 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40662 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40663 { echo "$as_me:$LINENO: result: yes" >&5
40664 echo "${ECHO_T}yes" >&6; }
40666 { echo "$as_me:$LINENO: result: no" >&5
40667 echo "${ECHO_T}no" >&6; }
40672 if test "$WXGTK2" = 1 ; then
40673 cat >>confdefs.h <<_ACEOF
40674 #define __WXGTK20__ $WXGTK2
40680 if test "$WXGTK12" = 1 ; then
40681 cat >>confdefs.h <<_ACEOF
40682 #define __WXGTK12__ $WXGTK12
40687 if test "$WXGTK127" = 1 ; then
40688 cat >>confdefs.h <<_ACEOF
40689 #define __WXGTK127__ $WXGTK127
40694 if test "$WXGPE" = 1 ; then
40695 cat >>confdefs.h <<_ACEOF
40696 #define __WXGPE__ $WXGPE
40702 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40707 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40708 wxUSE_DEBUG_INFO=yes
40709 if test "$GCC" = yes; then
40710 DEBUG_CFLAGS="-ggdb"
40714 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40715 cat >>confdefs.h <<\_ACEOF
40719 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40721 if test "$wxUSE_GTK" = 1 ; then
40722 if test "x$wxGTK_VERSION" = "x1" ; then
40723 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40728 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40729 cat >>confdefs.h <<\_ACEOF
40730 #define wxUSE_MEMORY_TRACING 1
40733 cat >>confdefs.h <<\_ACEOF
40734 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40737 cat >>confdefs.h <<\_ACEOF
40738 #define wxUSE_DEBUG_NEW_ALWAYS 1
40741 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40744 if test "$wxUSE_DMALLOC" = "yes" ; then
40745 DMALLOC_LIBS="-ldmallocthcxx"
40749 if test "$wxUSE_PROFILE" = "yes" ; then
40750 PROFILE_FLAGS=" -pg"
40753 if test "$GCC" = "yes" ; then
40754 if test "$wxUSE_NO_RTTI" = "yes" ; then
40755 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40757 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40758 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40760 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40761 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40766 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40769 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40775 if test "$wxUSE_OPTIMISE" = "no" ; then
40776 if test "$GCC" = yes ; then
40777 OPTIMISE_CFLAGS="-O0"
40780 if test "$GCC" = yes ; then
40782 *-pc-os2_emx | *-pc-os2-emx )
40783 OPTIMISE_CFLAGS="-O2"
40786 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40790 OPTIMISE_CFLAGS="-O"
40795 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40796 cat >>confdefs.h <<\_ACEOF
40797 #define WXWIN_COMPATIBILITY_2_6 1
40801 WXWIN_COMPATIBILITY_2_8="yes"
40804 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40805 cat >>confdefs.h <<\_ACEOF
40806 #define WXWIN_COMPATIBILITY_2_8 1
40812 if test "$wxUSE_GUI" = "yes"; then
40813 cat >>confdefs.h <<\_ACEOF
40814 #define wxUSE_GUI 1
40821 if test "$wxUSE_UNIX" = "yes"; then
40822 cat >>confdefs.h <<\_ACEOF
40823 #define wxUSE_UNIX 1
40829 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40833 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40834 if test "$USE_DARWIN" = 1; then
40836 elif test "$USE_DOS" = 1; then
40840 for ac_func in dlopen
40842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40843 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40845 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40846 echo $ECHO_N "(cached) $ECHO_C" >&6
40848 cat >conftest.$ac_ext <<_ACEOF
40851 cat confdefs.h >>conftest.$ac_ext
40852 cat >>conftest.$ac_ext <<_ACEOF
40853 /* end confdefs.h. */
40854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40856 #define $ac_func innocuous_$ac_func
40858 /* System header to define __stub macros and hopefully few prototypes,
40859 which can conflict with char $ac_func (); below.
40860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40861 <limits.h> exists even on freestanding compilers. */
40864 # include <limits.h>
40866 # include <assert.h>
40871 /* Override any GCC internal prototype to avoid an error.
40872 Use char because int might match the return type of a GCC
40873 builtin and then its argument prototype would still apply. */
40878 /* The GNU C library defines this for functions which it implements
40879 to always fail with ENOSYS. Some functions are actually named
40880 something starting with __ and the normal name is an alias. */
40881 #if defined __stub_$ac_func || defined __stub___$ac_func
40888 return $ac_func ();
40893 rm -f conftest.$ac_objext conftest$ac_exeext
40894 if { (ac_try="$ac_link"
40895 case "(($ac_try" in
40896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40897 *) ac_try_echo=$ac_try;;
40899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40900 (eval "$ac_link") 2>conftest.er1
40902 grep -v '^ *+' conftest.er1 >conftest.err
40904 cat conftest.err >&5
40905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40906 (exit $ac_status); } && {
40907 test -z "$ac_c_werror_flag" ||
40908 test ! -s conftest.err
40909 } && test -s conftest$ac_exeext &&
40910 $as_test_x conftest$ac_exeext; then
40911 eval "$as_ac_var=yes"
40913 echo "$as_me: failed program was:" >&5
40914 sed 's/^/| /' conftest.$ac_ext >&5
40916 eval "$as_ac_var=no"
40919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40920 conftest$ac_exeext conftest.$ac_ext
40922 ac_res=`eval echo '${'$as_ac_var'}'`
40923 { echo "$as_me:$LINENO: result: $ac_res" >&5
40924 echo "${ECHO_T}$ac_res" >&6; }
40925 if test `eval echo '${'$as_ac_var'}'` = yes; then
40926 cat >>confdefs.h <<_ACEOF
40927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40930 cat >>confdefs.h <<\_ACEOF
40931 #define HAVE_DLOPEN 1
40938 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40939 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40940 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40941 echo $ECHO_N "(cached) $ECHO_C" >&6
40943 ac_check_lib_save_LIBS=$LIBS
40945 cat >conftest.$ac_ext <<_ACEOF
40948 cat confdefs.h >>conftest.$ac_ext
40949 cat >>conftest.$ac_ext <<_ACEOF
40950 /* end confdefs.h. */
40952 /* Override any GCC internal prototype to avoid an error.
40953 Use char because int might match the return type of a GCC
40954 builtin and then its argument prototype would still apply. */
40967 rm -f conftest.$ac_objext conftest$ac_exeext
40968 if { (ac_try="$ac_link"
40969 case "(($ac_try" in
40970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40971 *) ac_try_echo=$ac_try;;
40973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40974 (eval "$ac_link") 2>conftest.er1
40976 grep -v '^ *+' conftest.er1 >conftest.err
40978 cat conftest.err >&5
40979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40980 (exit $ac_status); } && {
40981 test -z "$ac_c_werror_flag" ||
40982 test ! -s conftest.err
40983 } && test -s conftest$ac_exeext &&
40984 $as_test_x conftest$ac_exeext; then
40985 ac_cv_lib_dl_dlopen=yes
40987 echo "$as_me: failed program was:" >&5
40988 sed 's/^/| /' conftest.$ac_ext >&5
40990 ac_cv_lib_dl_dlopen=no
40993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40994 conftest$ac_exeext conftest.$ac_ext
40995 LIBS=$ac_check_lib_save_LIBS
40997 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40998 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40999 if test $ac_cv_lib_dl_dlopen = yes; then
41001 cat >>confdefs.h <<\_ACEOF
41002 #define HAVE_DLOPEN 1
41006 DL_LINK=" -ldl$DL_LINK"
41011 for ac_func in shl_load
41013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41014 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41016 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41017 echo $ECHO_N "(cached) $ECHO_C" >&6
41019 cat >conftest.$ac_ext <<_ACEOF
41022 cat confdefs.h >>conftest.$ac_ext
41023 cat >>conftest.$ac_ext <<_ACEOF
41024 /* end confdefs.h. */
41025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41027 #define $ac_func innocuous_$ac_func
41029 /* System header to define __stub macros and hopefully few prototypes,
41030 which can conflict with char $ac_func (); below.
41031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41032 <limits.h> exists even on freestanding compilers. */
41035 # include <limits.h>
41037 # include <assert.h>
41042 /* Override any GCC internal prototype to avoid an error.
41043 Use char because int might match the return type of a GCC
41044 builtin and then its argument prototype would still apply. */
41049 /* The GNU C library defines this for functions which it implements
41050 to always fail with ENOSYS. Some functions are actually named
41051 something starting with __ and the normal name is an alias. */
41052 #if defined __stub_$ac_func || defined __stub___$ac_func
41059 return $ac_func ();
41064 rm -f conftest.$ac_objext conftest$ac_exeext
41065 if { (ac_try="$ac_link"
41066 case "(($ac_try" in
41067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41068 *) ac_try_echo=$ac_try;;
41070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41071 (eval "$ac_link") 2>conftest.er1
41073 grep -v '^ *+' conftest.er1 >conftest.err
41075 cat conftest.err >&5
41076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41077 (exit $ac_status); } && {
41078 test -z "$ac_c_werror_flag" ||
41079 test ! -s conftest.err
41080 } && test -s conftest$ac_exeext &&
41081 $as_test_x conftest$ac_exeext; then
41082 eval "$as_ac_var=yes"
41084 echo "$as_me: failed program was:" >&5
41085 sed 's/^/| /' conftest.$ac_ext >&5
41087 eval "$as_ac_var=no"
41090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41091 conftest$ac_exeext conftest.$ac_ext
41093 ac_res=`eval echo '${'$as_ac_var'}'`
41094 { echo "$as_me:$LINENO: result: $ac_res" >&5
41095 echo "${ECHO_T}$ac_res" >&6; }
41096 if test `eval echo '${'$as_ac_var'}'` = yes; then
41097 cat >>confdefs.h <<_ACEOF
41098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41101 cat >>confdefs.h <<\_ACEOF
41102 #define HAVE_SHL_LOAD 1
41109 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41110 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41111 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41112 echo $ECHO_N "(cached) $ECHO_C" >&6
41114 ac_check_lib_save_LIBS=$LIBS
41115 LIBS="-lshl_load $LIBS"
41116 cat >conftest.$ac_ext <<_ACEOF
41119 cat confdefs.h >>conftest.$ac_ext
41120 cat >>conftest.$ac_ext <<_ACEOF
41121 /* end confdefs.h. */
41123 /* Override any GCC internal prototype to avoid an error.
41124 Use char because int might match the return type of a GCC
41125 builtin and then its argument prototype would still apply. */
41138 rm -f conftest.$ac_objext conftest$ac_exeext
41139 if { (ac_try="$ac_link"
41140 case "(($ac_try" in
41141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41142 *) ac_try_echo=$ac_try;;
41144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41145 (eval "$ac_link") 2>conftest.er1
41147 grep -v '^ *+' conftest.er1 >conftest.err
41149 cat conftest.err >&5
41150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41151 (exit $ac_status); } && {
41152 test -z "$ac_c_werror_flag" ||
41153 test ! -s conftest.err
41154 } && test -s conftest$ac_exeext &&
41155 $as_test_x conftest$ac_exeext; then
41156 ac_cv_lib_shl_load_dld=yes
41158 echo "$as_me: failed program was:" >&5
41159 sed 's/^/| /' conftest.$ac_ext >&5
41161 ac_cv_lib_shl_load_dld=no
41164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41165 conftest$ac_exeext conftest.$ac_ext
41166 LIBS=$ac_check_lib_save_LIBS
41168 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41169 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41170 if test $ac_cv_lib_shl_load_dld = yes; then
41173 DL_LINK=" -ldld$DL_LINK"
41189 if test "$HAVE_DL_FUNCS" = 1; then
41191 for ac_func in dlerror
41193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41194 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41196 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41197 echo $ECHO_N "(cached) $ECHO_C" >&6
41199 cat >conftest.$ac_ext <<_ACEOF
41202 cat confdefs.h >>conftest.$ac_ext
41203 cat >>conftest.$ac_ext <<_ACEOF
41204 /* end confdefs.h. */
41205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41207 #define $ac_func innocuous_$ac_func
41209 /* System header to define __stub macros and hopefully few prototypes,
41210 which can conflict with char $ac_func (); below.
41211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41212 <limits.h> exists even on freestanding compilers. */
41215 # include <limits.h>
41217 # include <assert.h>
41222 /* Override any GCC internal prototype to avoid an error.
41223 Use char because int might match the return type of a GCC
41224 builtin and then its argument prototype would still apply. */
41229 /* The GNU C library defines this for functions which it implements
41230 to always fail with ENOSYS. Some functions are actually named
41231 something starting with __ and the normal name is an alias. */
41232 #if defined __stub_$ac_func || defined __stub___$ac_func
41239 return $ac_func ();
41244 rm -f conftest.$ac_objext conftest$ac_exeext
41245 if { (ac_try="$ac_link"
41246 case "(($ac_try" in
41247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41248 *) ac_try_echo=$ac_try;;
41250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41251 (eval "$ac_link") 2>conftest.er1
41253 grep -v '^ *+' conftest.er1 >conftest.err
41255 cat conftest.err >&5
41256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41257 (exit $ac_status); } && {
41258 test -z "$ac_c_werror_flag" ||
41259 test ! -s conftest.err
41260 } && test -s conftest$ac_exeext &&
41261 $as_test_x conftest$ac_exeext; then
41262 eval "$as_ac_var=yes"
41264 echo "$as_me: failed program was:" >&5
41265 sed 's/^/| /' conftest.$ac_ext >&5
41267 eval "$as_ac_var=no"
41270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41271 conftest$ac_exeext conftest.$ac_ext
41273 ac_res=`eval echo '${'$as_ac_var'}'`
41274 { echo "$as_me:$LINENO: result: $ac_res" >&5
41275 echo "${ECHO_T}$ac_res" >&6; }
41276 if test `eval echo '${'$as_ac_var'}'` = yes; then
41277 cat >>confdefs.h <<_ACEOF
41278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41280 cat >>confdefs.h <<\_ACEOF
41281 #define HAVE_DLERROR 1
41286 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41287 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41288 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41289 echo $ECHO_N "(cached) $ECHO_C" >&6
41291 ac_check_lib_save_LIBS=$LIBS
41293 cat >conftest.$ac_ext <<_ACEOF
41296 cat confdefs.h >>conftest.$ac_ext
41297 cat >>conftest.$ac_ext <<_ACEOF
41298 /* end confdefs.h. */
41300 /* Override any GCC internal prototype to avoid an error.
41301 Use char because int might match the return type of a GCC
41302 builtin and then its argument prototype would still apply. */
41315 rm -f conftest.$ac_objext conftest$ac_exeext
41316 if { (ac_try="$ac_link"
41317 case "(($ac_try" in
41318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41319 *) ac_try_echo=$ac_try;;
41321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41322 (eval "$ac_link") 2>conftest.er1
41324 grep -v '^ *+' conftest.er1 >conftest.err
41326 cat conftest.err >&5
41327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41328 (exit $ac_status); } && {
41329 test -z "$ac_c_werror_flag" ||
41330 test ! -s conftest.err
41331 } && test -s conftest$ac_exeext &&
41332 $as_test_x conftest$ac_exeext; then
41333 ac_cv_lib_dl_dlerror=yes
41335 echo "$as_me: failed program was:" >&5
41336 sed 's/^/| /' conftest.$ac_ext >&5
41338 ac_cv_lib_dl_dlerror=no
41341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41342 conftest$ac_exeext conftest.$ac_ext
41343 LIBS=$ac_check_lib_save_LIBS
41345 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41346 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41347 if test $ac_cv_lib_dl_dlerror = yes; then
41348 cat >>confdefs.h <<\_ACEOF
41349 #define HAVE_DLERROR 1
41362 if test "$HAVE_DL_FUNCS" = 0; then
41363 if test "$HAVE_SHL_FUNCS" = 0; then
41364 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41365 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41366 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41367 wxUSE_DYNAMIC_LOADER=no
41368 wxUSE_DYNLIB_CLASS=no
41370 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41371 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41378 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41379 cat >>confdefs.h <<\_ACEOF
41380 #define wxUSE_DYNAMIC_LOADER 1
41384 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41385 cat >>confdefs.h <<\_ACEOF
41386 #define wxUSE_DYNLIB_CLASS 1
41393 if test "$wxUSE_PLUGINS" = "yes" ; then
41394 if test "$wxUSE_SHARED" = "no" ; then
41395 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41396 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41399 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41400 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41401 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41404 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41405 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41406 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41409 if test "$wxUSE_PLUGINS" = "yes" ; then
41410 cat >>confdefs.h <<\_ACEOF
41411 #define wxUSE_PLUGINS 1
41418 if test "$wxUSE_STL" = "yes"; then
41419 cat >>confdefs.h <<\_ACEOF
41420 #define wxUSE_STL 1
41425 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41426 cat >>confdefs.h <<\_ACEOF
41427 #define wxUSE_EXTENDED_RTTI 1
41432 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41433 cat >>confdefs.h <<\_ACEOF
41434 #define wxUSE_APPLE_IEEE 1
41439 if test "$wxUSE_TIMER" = "yes"; then
41440 cat >>confdefs.h <<\_ACEOF
41441 #define wxUSE_TIMER 1
41446 if test "$USE_UNIX" = 1 ; then
41447 if test "$wxUSE_MGL" != 1; then
41448 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41449 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41450 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41451 echo $ECHO_N "(cached) $ECHO_C" >&6
41454 cat >conftest.$ac_ext <<_ACEOF
41457 cat confdefs.h >>conftest.$ac_ext
41458 cat >>conftest.$ac_ext <<_ACEOF
41459 /* end confdefs.h. */
41461 #include <sys/ioctl.h>
41462 #include <sys/soundcard.h>
41468 ioctl(0, SNDCTL_DSP_SPEED, 0);
41474 rm -f conftest.$ac_objext conftest$ac_exeext
41475 if { (ac_try="$ac_link"
41476 case "(($ac_try" in
41477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41478 *) ac_try_echo=$ac_try;;
41480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41481 (eval "$ac_link") 2>conftest.er1
41483 grep -v '^ *+' conftest.er1 >conftest.err
41485 cat conftest.err >&5
41486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41487 (exit $ac_status); } && {
41488 test -z "$ac_c_werror_flag" ||
41489 test ! -s conftest.err
41490 } && test -s conftest$ac_exeext &&
41491 $as_test_x conftest$ac_exeext; then
41492 ac_cv_header_sys_soundcard=yes
41494 echo "$as_me: failed program was:" >&5
41495 sed 's/^/| /' conftest.$ac_ext >&5
41499 LIBS="$saveLibs -lossaudio"
41500 cat >conftest.$ac_ext <<_ACEOF
41503 cat confdefs.h >>conftest.$ac_ext
41504 cat >>conftest.$ac_ext <<_ACEOF
41505 /* end confdefs.h. */
41507 #include <sys/ioctl.h>
41508 #include <sys/soundcard.h>
41514 ioctl(0, SNDCTL_DSP_SPEED, 0);
41520 rm -f conftest.$ac_objext conftest$ac_exeext
41521 if { (ac_try="$ac_link"
41522 case "(($ac_try" in
41523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41524 *) ac_try_echo=$ac_try;;
41526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41527 (eval "$ac_link") 2>conftest.er1
41529 grep -v '^ *+' conftest.er1 >conftest.err
41531 cat conftest.err >&5
41532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41533 (exit $ac_status); } && {
41534 test -z "$ac_c_werror_flag" ||
41535 test ! -s conftest.err
41536 } && test -s conftest$ac_exeext &&
41537 $as_test_x conftest$ac_exeext; then
41538 ac_cv_header_sys_soundcard=yes
41540 echo "$as_me: failed program was:" >&5
41541 sed 's/^/| /' conftest.$ac_ext >&5
41545 ac_cv_header_sys_soundcard=no
41550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41551 conftest$ac_exeext conftest.$ac_ext
41556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41557 conftest$ac_exeext conftest.$ac_ext
41560 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41561 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41564 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41565 cat >>confdefs.h <<\_ACEOF
41566 #define HAVE_SYS_SOUNDCARD_H 1
41573 if test "$wxUSE_SOUND" = "yes"; then
41574 if test "$USE_UNIX" = 1 ; then
41575 if test "$wxUSE_LIBSDL" != "no"; then
41577 # Check whether --with-sdl-prefix was given.
41578 if test "${with_sdl_prefix+set}" = set; then
41579 withval=$with_sdl_prefix; sdl_prefix="$withval"
41585 # Check whether --with-sdl-exec-prefix was given.
41586 if test "${with_sdl_exec_prefix+set}" = set; then
41587 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41592 # Check whether --enable-sdltest was given.
41593 if test "${enable_sdltest+set}" = set; then
41594 enableval=$enable_sdltest;
41600 if test x$sdl_exec_prefix != x ; then
41601 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41602 if test x${SDL_CONFIG+set} != xset ; then
41603 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41606 if test x$sdl_prefix != x ; then
41607 sdl_args="$sdl_args --prefix=$sdl_prefix"
41608 if test x${SDL_CONFIG+set} != xset ; then
41609 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41613 if test "x$prefix" != xNONE; then
41614 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41616 # Extract the first word of "sdl-config", so it can be a program name with args.
41617 set dummy sdl-config; ac_word=$2
41618 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41620 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41621 echo $ECHO_N "(cached) $ECHO_C" >&6
41623 case $SDL_CONFIG in
41625 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41629 for as_dir in $PATH
41632 test -z "$as_dir" && as_dir=.
41633 for ac_exec_ext in '' $ac_executable_extensions; do
41634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41635 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41643 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41647 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41648 if test -n "$SDL_CONFIG"; then
41649 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41650 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41652 { echo "$as_me:$LINENO: result: no" >&5
41653 echo "${ECHO_T}no" >&6; }
41657 min_sdl_version=1.2.0
41658 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41659 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41661 if test "$SDL_CONFIG" = "no" ; then
41664 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41665 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41667 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41668 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41669 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41670 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41671 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41672 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41673 if test "x$enable_sdltest" = "xyes" ; then
41674 ac_save_CFLAGS="$CFLAGS"
41675 ac_save_CXXFLAGS="$CXXFLAGS"
41676 ac_save_LIBS="$LIBS"
41677 CFLAGS="$CFLAGS $SDL_CFLAGS"
41678 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41679 LIBS="$LIBS $SDL_LIBS"
41681 if test "$cross_compiling" = yes; then
41682 echo $ac_n "cross compiling; assumed OK... $ac_c"
41684 cat >conftest.$ac_ext <<_ACEOF
41687 cat confdefs.h >>conftest.$ac_ext
41688 cat >>conftest.$ac_ext <<_ACEOF
41689 /* end confdefs.h. */
41692 #include <stdlib.h>
41693 #include <string.h>
41697 my_strdup (char *str)
41703 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41704 strcpy (new_str, str);
41712 int main (int argc, char *argv[])
41714 int major, minor, micro;
41717 /* This hangs on some systems (?)
41718 system ("touch conf.sdltest");
41720 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41722 /* HP/UX 9 (%@#!) writes to sscanf strings */
41723 tmp_version = my_strdup("$min_sdl_version");
41724 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41725 printf("%s, bad version string\n", "$min_sdl_version");
41729 if (($sdl_major_version > major) ||
41730 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41731 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41737 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41738 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41739 printf("*** best to upgrade to the required version.\n");
41740 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41741 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41742 printf("*** config.cache before re-running configure\n");
41749 rm -f conftest$ac_exeext
41750 if { (ac_try="$ac_link"
41751 case "(($ac_try" in
41752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41753 *) ac_try_echo=$ac_try;;
41755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41756 (eval "$ac_link") 2>&5
41758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41759 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41760 { (case "(($ac_try" in
41761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41762 *) ac_try_echo=$ac_try;;
41764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41765 (eval "$ac_try") 2>&5
41767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41768 (exit $ac_status); }; }; then
41771 echo "$as_me: program exited with status $ac_status" >&5
41772 echo "$as_me: failed program was:" >&5
41773 sed 's/^/| /' conftest.$ac_ext >&5
41775 ( exit $ac_status )
41778 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41782 CFLAGS="$ac_save_CFLAGS"
41783 CXXFLAGS="$ac_save_CXXFLAGS"
41784 LIBS="$ac_save_LIBS"
41787 if test "x$no_sdl" = x ; then
41788 { echo "$as_me:$LINENO: result: yes" >&5
41789 echo "${ECHO_T}yes" >&6; }
41791 EXTRALIBS_SDL="$SDL_LIBS"
41792 CFLAGS="$SDL_CFLAGS $CFLAGS"
41793 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41794 cat >>confdefs.h <<\_ACEOF
41795 #define wxUSE_LIBSDL 1
41800 { echo "$as_me:$LINENO: result: no" >&5
41801 echo "${ECHO_T}no" >&6; }
41802 if test "$SDL_CONFIG" = "no" ; then
41803 echo "*** The sdl-config script installed by SDL could not be found"
41804 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41805 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41806 echo "*** full path to sdl-config."
41808 if test -f conf.sdltest ; then
41811 echo "*** Could not run SDL test program, checking why..."
41812 CFLAGS="$CFLAGS $SDL_CFLAGS"
41813 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41814 LIBS="$LIBS $SDL_LIBS"
41815 cat >conftest.$ac_ext <<_ACEOF
41818 cat confdefs.h >>conftest.$ac_ext
41819 cat >>conftest.$ac_ext <<_ACEOF
41820 /* end confdefs.h. */
41825 int main(int argc, char *argv[])
41828 #define main K_and_R_C_main
41838 rm -f conftest.$ac_objext conftest$ac_exeext
41839 if { (ac_try="$ac_link"
41840 case "(($ac_try" in
41841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41842 *) ac_try_echo=$ac_try;;
41844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41845 (eval "$ac_link") 2>conftest.er1
41847 grep -v '^ *+' conftest.er1 >conftest.err
41849 cat conftest.err >&5
41850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41851 (exit $ac_status); } && {
41852 test -z "$ac_c_werror_flag" ||
41853 test ! -s conftest.err
41854 } && test -s conftest$ac_exeext &&
41855 $as_test_x conftest$ac_exeext; then
41856 echo "*** The test program compiled, but did not run. This usually means"
41857 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41858 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41859 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41860 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41861 echo "*** is required on your system"
41863 echo "*** If you have an old version installed, it is best to remove it, although"
41864 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41866 echo "$as_me: failed program was:" >&5
41867 sed 's/^/| /' conftest.$ac_ext >&5
41869 echo "*** The test program failed to compile or link. See the file config.log for the"
41870 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41871 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41872 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41876 conftest$ac_exeext conftest.$ac_ext
41877 CFLAGS="$ac_save_CFLAGS"
41878 CXXFLAGS="$ac_save_CXXFLAGS"
41879 LIBS="$ac_save_LIBS"
41890 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41895 if test "$wxUSE_MGL" = 1; then
41896 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41897 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41903 if test "$wxUSE_SOUND" = "yes"; then
41904 cat >>confdefs.h <<\_ACEOF
41905 #define wxUSE_SOUND 1
41908 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41911 if test "$WXGTK2" = 1; then
41914 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41915 if test -n "$ac_tool_prefix"; then
41916 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41917 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41920 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41921 echo $ECHO_N "(cached) $ECHO_C" >&6
41923 case $PKG_CONFIG in
41925 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41929 for as_dir in $PATH
41932 test -z "$as_dir" && as_dir=.
41933 for ac_exec_ext in '' $ac_executable_extensions; do
41934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41935 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41946 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41947 if test -n "$PKG_CONFIG"; then
41948 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41949 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41951 { echo "$as_me:$LINENO: result: no" >&5
41952 echo "${ECHO_T}no" >&6; }
41957 if test -z "$ac_cv_path_PKG_CONFIG"; then
41958 ac_pt_PKG_CONFIG=$PKG_CONFIG
41959 # Extract the first word of "pkg-config", so it can be a program name with args.
41960 set dummy pkg-config; ac_word=$2
41961 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41963 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41964 echo $ECHO_N "(cached) $ECHO_C" >&6
41966 case $ac_pt_PKG_CONFIG in
41968 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41972 for as_dir in $PATH
41975 test -z "$as_dir" && as_dir=.
41976 for ac_exec_ext in '' $ac_executable_extensions; do
41977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41978 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41989 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41990 if test -n "$ac_pt_PKG_CONFIG"; then
41991 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41992 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41994 { echo "$as_me:$LINENO: result: no" >&5
41995 echo "${ECHO_T}no" >&6; }
41998 if test "x$ac_pt_PKG_CONFIG" = x; then
42001 case $cross_compiling:$ac_tool_warned in
42003 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42004 whose name does not start with the host triplet. If you think this
42005 configuration is useful to you, please write to autoconf@gnu.org." >&5
42006 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42007 whose name does not start with the host triplet. If you think this
42008 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42009 ac_tool_warned=yes ;;
42011 PKG_CONFIG=$ac_pt_PKG_CONFIG
42014 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42018 if test -n "$PKG_CONFIG"; then
42019 _pkg_min_version=0.9.0
42020 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42021 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42022 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42023 { echo "$as_me:$LINENO: result: yes" >&5
42024 echo "${ECHO_T}yes" >&6; }
42026 { echo "$as_me:$LINENO: result: no" >&5
42027 echo "${ECHO_T}no" >&6; }
42033 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42035 if test "$wxUSE_GTKPRINT" = "yes" ; then
42039 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42040 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42042 if test -n "$PKG_CONFIG"; then
42043 if test -n "$GTKPRINT_CFLAGS"; then
42044 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42046 if test -n "$PKG_CONFIG" && \
42047 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42048 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42051 (exit $ac_status); }; then
42052 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42060 if test -n "$PKG_CONFIG"; then
42061 if test -n "$GTKPRINT_LIBS"; then
42062 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42064 if test -n "$PKG_CONFIG" && \
42065 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42066 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42069 (exit $ac_status); }; then
42070 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42081 if test $pkg_failed = yes; then
42083 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42084 _pkg_short_errors_supported=yes
42086 _pkg_short_errors_supported=no
42088 if test $_pkg_short_errors_supported = yes; then
42089 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42091 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42093 # Put the nasty error message in config.log where it belongs
42094 echo "$GTKPRINT_PKG_ERRORS" >&5
42097 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42098 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42099 wxUSE_GTKPRINT="no"
42102 elif test $pkg_failed = untried; then
42104 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42105 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42106 wxUSE_GTKPRINT="no"
42110 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42111 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42112 { echo "$as_me:$LINENO: result: yes" >&5
42113 echo "${ECHO_T}yes" >&6; }
42115 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42116 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42117 cat >>confdefs.h <<\_ACEOF
42118 #define wxUSE_GTKPRINT 1
42125 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42129 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42130 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42132 if test -n "$PKG_CONFIG"; then
42133 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42134 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42136 if test -n "$PKG_CONFIG" && \
42137 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42138 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42141 (exit $ac_status); }; then
42142 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42150 if test -n "$PKG_CONFIG"; then
42151 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42152 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42154 if test -n "$PKG_CONFIG" && \
42155 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42156 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42159 (exit $ac_status); }; then
42160 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42171 if test $pkg_failed = yes; then
42173 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42174 _pkg_short_errors_supported=yes
42176 _pkg_short_errors_supported=no
42178 if test $_pkg_short_errors_supported = yes; then
42179 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42181 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42183 # Put the nasty error message in config.log where it belongs
42184 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42187 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42188 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42189 wxUSE_LIBGNOMEPRINT="no"
42192 elif test $pkg_failed = untried; then
42194 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42195 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42196 wxUSE_LIBGNOMEPRINT="no"
42200 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42201 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42202 { echo "$as_me:$LINENO: result: yes" >&5
42203 echo "${ECHO_T}yes" >&6; }
42205 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42206 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42207 cat >>confdefs.h <<\_ACEOF
42208 #define wxUSE_LIBGNOMEPRINT 1
42216 if test "$wxUSE_MIMETYPE" = "yes" ; then
42217 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42221 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42222 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42224 if test -n "$PKG_CONFIG"; then
42225 if test -n "$GNOMEVFS_CFLAGS"; then
42226 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42228 if test -n "$PKG_CONFIG" && \
42229 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42230 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42233 (exit $ac_status); }; then
42234 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42242 if test -n "$PKG_CONFIG"; then
42243 if test -n "$GNOMEVFS_LIBS"; then
42244 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42246 if test -n "$PKG_CONFIG" && \
42247 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42248 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42251 (exit $ac_status); }; then
42252 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42263 if test $pkg_failed = yes; then
42265 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42266 _pkg_short_errors_supported=yes
42268 _pkg_short_errors_supported=no
42270 if test $_pkg_short_errors_supported = yes; then
42271 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42273 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42275 # Put the nasty error message in config.log where it belongs
42276 echo "$GNOMEVFS_PKG_ERRORS" >&5
42279 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42280 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42281 wxUSE_LIBGNOMEVFS="no"
42284 elif test $pkg_failed = untried; then
42286 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42287 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42288 wxUSE_LIBGNOMEVFS="no"
42292 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42293 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42294 { echo "$as_me:$LINENO: result: yes" >&5
42295 echo "${ECHO_T}yes" >&6; }
42297 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42298 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42299 cat >>confdefs.h <<\_ACEOF
42300 #define wxUSE_LIBGNOMEVFS 1
42308 if test "$wxUSE_LIBHILDON" = "yes" ; then
42311 { echo "$as_me:$LINENO: checking for HILDON" >&5
42312 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42314 if test -n "$PKG_CONFIG"; then
42315 if test -n "$HILDON_CFLAGS"; then
42316 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42318 if test -n "$PKG_CONFIG" && \
42319 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42320 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42323 (exit $ac_status); }; then
42324 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42332 if test -n "$PKG_CONFIG"; then
42333 if test -n "$HILDON_LIBS"; then
42334 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42336 if test -n "$PKG_CONFIG" && \
42337 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42338 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42341 (exit $ac_status); }; then
42342 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42353 if test $pkg_failed = yes; then
42355 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42356 _pkg_short_errors_supported=yes
42358 _pkg_short_errors_supported=no
42360 if test $_pkg_short_errors_supported = yes; then
42361 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42363 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42365 # Put the nasty error message in config.log where it belongs
42366 echo "$HILDON_PKG_ERRORS" >&5
42369 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42370 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42371 wxUSE_LIBHILDON="no"
42374 elif test $pkg_failed = untried; then
42376 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42377 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42378 wxUSE_LIBHILDON="no"
42382 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42383 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42384 { echo "$as_me:$LINENO: result: yes" >&5
42385 echo "${ECHO_T}yes" >&6; }
42387 EXTRALIBS_HILDON="$HILDON_LIBS"
42388 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42389 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42390 cat >>confdefs.h <<\_ACEOF
42391 #define wxUSE_LIBHILDON 1
42399 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42400 cat >>confdefs.h <<\_ACEOF
42401 #define wxUSE_CMDLINE_PARSER 1
42406 if test "$wxUSE_STOPWATCH" = "yes"; then
42407 cat >>confdefs.h <<\_ACEOF
42408 #define wxUSE_STOPWATCH 1
42413 if test "$wxUSE_DATETIME" = "yes"; then
42414 cat >>confdefs.h <<\_ACEOF
42415 #define wxUSE_DATETIME 1
42420 if test "$wxUSE_FILE" = "yes"; then
42421 cat >>confdefs.h <<\_ACEOF
42422 #define wxUSE_FILE 1
42427 if test "$wxUSE_FFILE" = "yes"; then
42428 cat >>confdefs.h <<\_ACEOF
42429 #define wxUSE_FFILE 1
42434 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42435 if test "$wxUSE_STREAMS" != yes; then
42436 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42437 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42438 wxUSE_ARCHIVE_STREAMS=no
42440 cat >>confdefs.h <<\_ACEOF
42441 #define wxUSE_ARCHIVE_STREAMS 1
42447 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42448 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42449 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42450 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42451 elif test "$wxUSE_ZLIB" = "no"; then
42452 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42453 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42455 cat >>confdefs.h <<\_ACEOF
42456 #define wxUSE_ZIPSTREAM 1
42462 if test "$wxUSE_TARSTREAM" = "yes"; then
42463 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42464 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42465 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42467 cat >>confdefs.h <<\_ACEOF
42468 #define wxUSE_TARSTREAM 1
42474 if test "$wxUSE_FILESYSTEM" = "yes"; then
42475 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42476 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42477 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42478 wxUSE_FILESYSTEM=no
42480 cat >>confdefs.h <<\_ACEOF
42481 #define wxUSE_FILESYSTEM 1
42487 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42488 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42489 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42490 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42492 cat >>confdefs.h <<\_ACEOF
42493 #define wxUSE_FS_ARCHIVE 1
42499 if test "$wxUSE_FS_ZIP" = "yes"; then
42500 if test "$wxUSE_FS_ARCHIVE" != yes; then
42501 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42502 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42504 cat >>confdefs.h <<\_ACEOF
42505 #define wxUSE_FS_ZIP 1
42511 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42512 if test "$USE_UNIX" != 1; then
42513 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42514 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42515 wxUSE_ON_FATAL_EXCEPTION=no
42517 cat >>confdefs.h <<\_ACEOF
42518 #define wxUSE_ON_FATAL_EXCEPTION 1
42524 if test "$wxUSE_STACKWALKER" = "yes"; then
42525 cat >>confdefs.h <<\_ACEOF
42526 #define wxUSE_STACKWALKER 1
42531 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42532 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42533 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42534 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42535 wxUSE_DEBUGREPORT=no
42537 cat >>confdefs.h <<\_ACEOF
42538 #define wxUSE_DEBUGREPORT 1
42541 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42547 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42548 cat >>confdefs.h <<\_ACEOF
42549 #define wxUSE_SNGLINST_CHECKER 1
42554 if test "$wxUSE_BUSYINFO" = "yes"; then
42555 cat >>confdefs.h <<\_ACEOF
42556 #define wxUSE_BUSYINFO 1
42561 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42562 cat >>confdefs.h <<\_ACEOF
42563 #define wxUSE_STD_IOSTREAM 1
42568 if test "$wxUSE_STD_STRING" = "yes"; then
42569 cat >>confdefs.h <<\_ACEOF
42570 #define wxUSE_STD_STRING 1
42575 if test "$wxUSE_STDPATHS" = "yes"; then
42576 cat >>confdefs.h <<\_ACEOF
42577 #define wxUSE_STDPATHS 1
42582 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42583 cat >>confdefs.h <<\_ACEOF
42584 #define wxUSE_TEXTBUFFER 1
42589 if test "$wxUSE_TEXTFILE" = "yes"; then
42590 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42591 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42592 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42594 cat >>confdefs.h <<\_ACEOF
42595 #define wxUSE_TEXTFILE 1
42601 if test "$wxUSE_CONFIG" = "yes" ; then
42602 if test "$wxUSE_TEXTFILE" != "yes"; then
42603 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42604 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42606 cat >>confdefs.h <<\_ACEOF
42607 #define wxUSE_CONFIG 1
42610 cat >>confdefs.h <<\_ACEOF
42611 #define wxUSE_CONFIG_NATIVE 1
42614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42618 if test "$wxUSE_INTL" = "yes" ; then
42619 if test "$wxUSE_FILE" != "yes"; then
42620 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42621 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42623 cat >>confdefs.h <<\_ACEOF
42624 #define wxUSE_INTL 1
42627 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42628 GUIDIST="$GUIDIST INTL_DIST"
42632 if test "$wxUSE_LOG" = "yes"; then
42633 cat >>confdefs.h <<\_ACEOF
42634 #define wxUSE_LOG 1
42638 if test "$wxUSE_LOGGUI" = "yes"; then
42639 cat >>confdefs.h <<\_ACEOF
42640 #define wxUSE_LOGGUI 1
42645 if test "$wxUSE_LOGWINDOW" = "yes"; then
42646 cat >>confdefs.h <<\_ACEOF
42647 #define wxUSE_LOGWINDOW 1
42652 if test "$wxUSE_LOGDIALOG" = "yes"; then
42653 cat >>confdefs.h <<\_ACEOF
42654 #define wxUSE_LOG_DIALOG 1
42659 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42662 if test "$wxUSE_LONGLONG" = "yes"; then
42663 cat >>confdefs.h <<\_ACEOF
42664 #define wxUSE_LONGLONG 1
42669 if test "$wxUSE_GEOMETRY" = "yes"; then
42670 cat >>confdefs.h <<\_ACEOF
42671 #define wxUSE_GEOMETRY 1
42676 if test "$wxUSE_BASE64" = "yes"; then
42677 cat >>confdefs.h <<\_ACEOF
42678 #define wxUSE_BASE64 1
42683 if test "$wxUSE_STREAMS" = "yes" ; then
42684 cat >>confdefs.h <<\_ACEOF
42685 #define wxUSE_STREAMS 1
42690 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42691 cat >>confdefs.h <<\_ACEOF
42692 #define wxUSE_PRINTF_POS_PARAMS 1
42697 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42698 cat >>confdefs.h <<\_ACEOF
42699 #define wxUSE_OBJC_UNIQUIFYING 1
42705 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42706 cat >>confdefs.h <<\_ACEOF
42707 #define wxUSE_CONSOLE_EVENTLOOP 1
42711 if test "$wxUSE_UNIX" = "yes"; then
42712 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42713 cat >>confdefs.h <<\_ACEOF
42714 #define wxUSE_SELECT_DISPATCHER 1
42719 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42721 for ac_header in sys/epoll.h
42723 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42724 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42726 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42727 echo $ECHO_N "(cached) $ECHO_C" >&6
42729 cat >conftest.$ac_ext <<_ACEOF
42732 cat confdefs.h >>conftest.$ac_ext
42733 cat >>conftest.$ac_ext <<_ACEOF
42734 /* end confdefs.h. */
42735 $ac_includes_default
42737 #include <$ac_header>
42739 rm -f conftest.$ac_objext
42740 if { (ac_try="$ac_compile"
42741 case "(($ac_try" in
42742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42743 *) ac_try_echo=$ac_try;;
42745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42746 (eval "$ac_compile") 2>conftest.er1
42748 grep -v '^ *+' conftest.er1 >conftest.err
42750 cat conftest.err >&5
42751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42752 (exit $ac_status); } && {
42753 test -z "$ac_c_werror_flag" ||
42754 test ! -s conftest.err
42755 } && test -s conftest.$ac_objext; then
42756 eval "$as_ac_Header=yes"
42758 echo "$as_me: failed program was:" >&5
42759 sed 's/^/| /' conftest.$ac_ext >&5
42761 eval "$as_ac_Header=no"
42764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42766 ac_res=`eval echo '${'$as_ac_Header'}'`
42767 { echo "$as_me:$LINENO: result: $ac_res" >&5
42768 echo "${ECHO_T}$ac_res" >&6; }
42769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42770 cat >>confdefs.h <<_ACEOF
42771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42778 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42779 cat >>confdefs.h <<\_ACEOF
42780 #define wxUSE_EPOLL_DISPATCHER 1
42784 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42785 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42794 for ac_func in gettimeofday ftime
42796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42797 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42799 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42800 echo $ECHO_N "(cached) $ECHO_C" >&6
42802 cat >conftest.$ac_ext <<_ACEOF
42805 cat confdefs.h >>conftest.$ac_ext
42806 cat >>conftest.$ac_ext <<_ACEOF
42807 /* end confdefs.h. */
42808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42810 #define $ac_func innocuous_$ac_func
42812 /* System header to define __stub macros and hopefully few prototypes,
42813 which can conflict with char $ac_func (); below.
42814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42815 <limits.h> exists even on freestanding compilers. */
42818 # include <limits.h>
42820 # include <assert.h>
42825 /* Override any GCC internal prototype to avoid an error.
42826 Use char because int might match the return type of a GCC
42827 builtin and then its argument prototype would still apply. */
42832 /* The GNU C library defines this for functions which it implements
42833 to always fail with ENOSYS. Some functions are actually named
42834 something starting with __ and the normal name is an alias. */
42835 #if defined __stub_$ac_func || defined __stub___$ac_func
42842 return $ac_func ();
42847 rm -f conftest.$ac_objext conftest$ac_exeext
42848 if { (ac_try="$ac_link"
42849 case "(($ac_try" in
42850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42851 *) ac_try_echo=$ac_try;;
42853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42854 (eval "$ac_link") 2>conftest.er1
42856 grep -v '^ *+' conftest.er1 >conftest.err
42858 cat conftest.err >&5
42859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42860 (exit $ac_status); } && {
42861 test -z "$ac_c_werror_flag" ||
42862 test ! -s conftest.err
42863 } && test -s conftest$ac_exeext &&
42864 $as_test_x conftest$ac_exeext; then
42865 eval "$as_ac_var=yes"
42867 echo "$as_me: failed program was:" >&5
42868 sed 's/^/| /' conftest.$ac_ext >&5
42870 eval "$as_ac_var=no"
42873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42874 conftest$ac_exeext conftest.$ac_ext
42876 ac_res=`eval echo '${'$as_ac_var'}'`
42877 { echo "$as_me:$LINENO: result: $ac_res" >&5
42878 echo "${ECHO_T}$ac_res" >&6; }
42879 if test `eval echo '${'$as_ac_var'}'` = yes; then
42880 cat >>confdefs.h <<_ACEOF
42881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42888 if test "$ac_cv_func_gettimeofday" = "yes"; then
42889 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42890 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42891 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42892 echo $ECHO_N "(cached) $ECHO_C" >&6
42895 cat >conftest.$ac_ext <<_ACEOF
42898 cat confdefs.h >>conftest.$ac_ext
42899 cat >>conftest.$ac_ext <<_ACEOF
42900 /* end confdefs.h. */
42902 #include <sys/time.h>
42903 #include <unistd.h>
42910 gettimeofday(&tv, NULL);
42916 rm -f conftest.$ac_objext
42917 if { (ac_try="$ac_compile"
42918 case "(($ac_try" in
42919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42920 *) ac_try_echo=$ac_try;;
42922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42923 (eval "$ac_compile") 2>conftest.er1
42925 grep -v '^ *+' conftest.er1 >conftest.err
42927 cat conftest.err >&5
42928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42929 (exit $ac_status); } && {
42930 test -z "$ac_c_werror_flag" ||
42931 test ! -s conftest.err
42932 } && test -s conftest.$ac_objext; then
42933 wx_cv_func_gettimeofday_has_2_args=yes
42935 echo "$as_me: failed program was:" >&5
42936 sed 's/^/| /' conftest.$ac_ext >&5
42938 cat >conftest.$ac_ext <<_ACEOF
42941 cat confdefs.h >>conftest.$ac_ext
42942 cat >>conftest.$ac_ext <<_ACEOF
42943 /* end confdefs.h. */
42945 #include <sys/time.h>
42946 #include <unistd.h>
42959 rm -f conftest.$ac_objext
42960 if { (ac_try="$ac_compile"
42961 case "(($ac_try" in
42962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42963 *) ac_try_echo=$ac_try;;
42965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42966 (eval "$ac_compile") 2>conftest.er1
42968 grep -v '^ *+' conftest.er1 >conftest.err
42970 cat conftest.err >&5
42971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42972 (exit $ac_status); } && {
42973 test -z "$ac_c_werror_flag" ||
42974 test ! -s conftest.err
42975 } && test -s conftest.$ac_objext; then
42976 wx_cv_func_gettimeofday_has_2_args=no
42978 echo "$as_me: failed program was:" >&5
42979 sed 's/^/| /' conftest.$ac_ext >&5
42982 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42983 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42984 wx_cv_func_gettimeofday_has_2_args=unknown
42989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42996 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42997 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42999 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43000 cat >>confdefs.h <<\_ACEOF
43001 #define WX_GETTIMEOFDAY_NO_TZ 1
43007 if test "$wxUSE_DATETIME" = "yes"; then
43008 { echo "$as_me:$LINENO: checking for strptime" >&5
43009 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43010 if test "${ac_cv_func_strptime+set}" = set; then
43011 echo $ECHO_N "(cached) $ECHO_C" >&6
43013 cat >conftest.$ac_ext <<_ACEOF
43016 cat confdefs.h >>conftest.$ac_ext
43017 cat >>conftest.$ac_ext <<_ACEOF
43018 /* end confdefs.h. */
43019 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43021 #define strptime innocuous_strptime
43023 /* System header to define __stub macros and hopefully few prototypes,
43024 which can conflict with char strptime (); below.
43025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43026 <limits.h> exists even on freestanding compilers. */
43029 # include <limits.h>
43031 # include <assert.h>
43036 /* Override any GCC internal prototype to avoid an error.
43037 Use char because int might match the return type of a GCC
43038 builtin and then its argument prototype would still apply. */
43043 /* The GNU C library defines this for functions which it implements
43044 to always fail with ENOSYS. Some functions are actually named
43045 something starting with __ and the normal name is an alias. */
43046 #if defined __stub_strptime || defined __stub___strptime
43053 return strptime ();
43058 rm -f conftest.$ac_objext conftest$ac_exeext
43059 if { (ac_try="$ac_link"
43060 case "(($ac_try" in
43061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43062 *) ac_try_echo=$ac_try;;
43064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43065 (eval "$ac_link") 2>conftest.er1
43067 grep -v '^ *+' conftest.er1 >conftest.err
43069 cat conftest.err >&5
43070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43071 (exit $ac_status); } && {
43072 test -z "$ac_c_werror_flag" ||
43073 test ! -s conftest.err
43074 } && test -s conftest$ac_exeext &&
43075 $as_test_x conftest$ac_exeext; then
43076 ac_cv_func_strptime=yes
43078 echo "$as_me: failed program was:" >&5
43079 sed 's/^/| /' conftest.$ac_ext >&5
43081 ac_cv_func_strptime=no
43084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43085 conftest$ac_exeext conftest.$ac_ext
43087 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43088 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43090 if test "$ac_cv_func_strptime" = "yes"; then
43091 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43092 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43093 if test "${wx_cv_func_strptime_decl+set}" = set; then
43094 echo $ECHO_N "(cached) $ECHO_C" >&6
43098 ac_cpp='$CXXCPP $CPPFLAGS'
43099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43103 cat >conftest.$ac_ext <<_ACEOF
43106 cat confdefs.h >>conftest.$ac_ext
43107 cat >>conftest.$ac_ext <<_ACEOF
43108 /* end confdefs.h. */
43117 strptime("foo", "bar", &t);
43123 rm -f conftest.$ac_objext
43124 if { (ac_try="$ac_compile"
43125 case "(($ac_try" in
43126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43127 *) ac_try_echo=$ac_try;;
43129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43130 (eval "$ac_compile") 2>conftest.er1
43132 grep -v '^ *+' conftest.er1 >conftest.err
43134 cat conftest.err >&5
43135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43136 (exit $ac_status); } && {
43137 test -z "$ac_cxx_werror_flag" ||
43138 test ! -s conftest.err
43139 } && test -s conftest.$ac_objext; then
43140 wx_cv_func_strptime_decl=yes
43142 echo "$as_me: failed program was:" >&5
43143 sed 's/^/| /' conftest.$ac_ext >&5
43145 wx_cv_func_strptime_decl=no
43149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43151 ac_cpp='$CPP $CPPFLAGS'
43152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43159 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43160 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43162 if test "$wx_cv_func_strptime_decl" = "yes"; then
43163 cat >>confdefs.h <<\_ACEOF
43164 #define HAVE_STRPTIME_DECL 1
43168 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43170 if test "$ac_cv_func_strptime" = "yes"; then
43171 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43172 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43173 if test "${wx_cv_func_strptime_ok+set}" = set; then
43174 echo $ECHO_N "(cached) $ECHO_C" >&6
43176 if test "$cross_compiling" = yes; then
43177 wx_cv_func_strptime_ok=no
43180 cat >conftest.$ac_ext <<_ACEOF
43182 #include <stdlib.h>
43184 #include "confdefs.h"
43191 return !!strptime("", "%x", &t);
43195 rm -f conftest$ac_exeext
43196 if { (ac_try="$ac_link"
43197 case "(($ac_try" in
43198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43199 *) ac_try_echo=$ac_try;;
43201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43202 (eval "$ac_link") 2>&5
43204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43205 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43206 { (case "(($ac_try" in
43207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43208 *) ac_try_echo=$ac_try;;
43210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43211 (eval "$ac_try") 2>&5
43213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43214 (exit $ac_status); }; }; then
43215 wx_cv_func_strptime_ok=yes
43217 echo "$as_me: program exited with status $ac_status" >&5
43218 echo "$as_me: failed program was:" >&5
43219 sed 's/^/| /' conftest.$ac_ext >&5
43221 ( exit $ac_status )
43222 wx_cv_func_strptime_ok=no
43224 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43230 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43231 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43233 if test "$wx_cv_func_strptime_ok" = "yes"; then
43234 cat >>confdefs.h <<\_ACEOF
43235 #define HAVE_STRPTIME 1
43241 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43242 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43243 if test "${wx_cv_var_timezone+set}" = set; then
43244 echo $ECHO_N "(cached) $ECHO_C" >&6
43248 ac_cpp='$CXXCPP $CPPFLAGS'
43249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43253 cat >conftest.$ac_ext <<_ACEOF
43256 cat confdefs.h >>conftest.$ac_ext
43257 cat >>conftest.$ac_ext <<_ACEOF
43258 /* end confdefs.h. */
43273 rm -f conftest.$ac_objext
43274 if { (ac_try="$ac_compile"
43275 case "(($ac_try" in
43276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43277 *) ac_try_echo=$ac_try;;
43279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43280 (eval "$ac_compile") 2>conftest.er1
43282 grep -v '^ *+' conftest.er1 >conftest.err
43284 cat conftest.err >&5
43285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43286 (exit $ac_status); } && {
43287 test -z "$ac_cxx_werror_flag" ||
43288 test ! -s conftest.err
43289 } && test -s conftest.$ac_objext; then
43291 wx_cv_var_timezone=timezone
43294 echo "$as_me: failed program was:" >&5
43295 sed 's/^/| /' conftest.$ac_ext >&5
43298 cat >conftest.$ac_ext <<_ACEOF
43301 cat confdefs.h >>conftest.$ac_ext
43302 cat >>conftest.$ac_ext <<_ACEOF
43303 /* end confdefs.h. */
43318 rm -f conftest.$ac_objext
43319 if { (ac_try="$ac_compile"
43320 case "(($ac_try" in
43321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43322 *) ac_try_echo=$ac_try;;
43324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43325 (eval "$ac_compile") 2>conftest.er1
43327 grep -v '^ *+' conftest.er1 >conftest.err
43329 cat conftest.err >&5
43330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43331 (exit $ac_status); } && {
43332 test -z "$ac_cxx_werror_flag" ||
43333 test ! -s conftest.err
43334 } && test -s conftest.$ac_objext; then
43336 wx_cv_var_timezone=_timezone
43339 echo "$as_me: failed program was:" >&5
43340 sed 's/^/| /' conftest.$ac_ext >&5
43343 cat >conftest.$ac_ext <<_ACEOF
43346 cat confdefs.h >>conftest.$ac_ext
43347 cat >>conftest.$ac_ext <<_ACEOF
43348 /* end confdefs.h. */
43363 rm -f conftest.$ac_objext
43364 if { (ac_try="$ac_compile"
43365 case "(($ac_try" in
43366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43367 *) ac_try_echo=$ac_try;;
43369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43370 (eval "$ac_compile") 2>conftest.er1
43372 grep -v '^ *+' conftest.er1 >conftest.err
43374 cat conftest.err >&5
43375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43376 (exit $ac_status); } && {
43377 test -z "$ac_cxx_werror_flag" ||
43378 test ! -s conftest.err
43379 } && test -s conftest.$ac_objext; then
43381 wx_cv_var_timezone=__timezone
43384 echo "$as_me: failed program was:" >&5
43385 sed 's/^/| /' conftest.$ac_ext >&5
43388 if test "$USE_DOS" = 0 ; then
43389 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43390 echo "$as_me: WARNING: no timezone variable" >&2;}
43396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43408 ac_cpp='$CPP $CPPFLAGS'
43409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43416 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43417 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43419 if test "x$wx_cv_var_timezone" != x ; then
43420 cat >>confdefs.h <<_ACEOF
43421 #define WX_TIMEZONE $wx_cv_var_timezone
43427 for ac_func in localtime
43429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43430 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43432 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43433 echo $ECHO_N "(cached) $ECHO_C" >&6
43435 cat >conftest.$ac_ext <<_ACEOF
43438 cat confdefs.h >>conftest.$ac_ext
43439 cat >>conftest.$ac_ext <<_ACEOF
43440 /* end confdefs.h. */
43441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43443 #define $ac_func innocuous_$ac_func
43445 /* System header to define __stub macros and hopefully few prototypes,
43446 which can conflict with char $ac_func (); below.
43447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43448 <limits.h> exists even on freestanding compilers. */
43451 # include <limits.h>
43453 # include <assert.h>
43458 /* Override any GCC internal prototype to avoid an error.
43459 Use char because int might match the return type of a GCC
43460 builtin and then its argument prototype would still apply. */
43465 /* The GNU C library defines this for functions which it implements
43466 to always fail with ENOSYS. Some functions are actually named
43467 something starting with __ and the normal name is an alias. */
43468 #if defined __stub_$ac_func || defined __stub___$ac_func
43475 return $ac_func ();
43480 rm -f conftest.$ac_objext conftest$ac_exeext
43481 if { (ac_try="$ac_link"
43482 case "(($ac_try" in
43483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43484 *) ac_try_echo=$ac_try;;
43486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43487 (eval "$ac_link") 2>conftest.er1
43489 grep -v '^ *+' conftest.er1 >conftest.err
43491 cat conftest.err >&5
43492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43493 (exit $ac_status); } && {
43494 test -z "$ac_c_werror_flag" ||
43495 test ! -s conftest.err
43496 } && test -s conftest$ac_exeext &&
43497 $as_test_x conftest$ac_exeext; then
43498 eval "$as_ac_var=yes"
43500 echo "$as_me: failed program was:" >&5
43501 sed 's/^/| /' conftest.$ac_ext >&5
43503 eval "$as_ac_var=no"
43506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43507 conftest$ac_exeext conftest.$ac_ext
43509 ac_res=`eval echo '${'$as_ac_var'}'`
43510 { echo "$as_me:$LINENO: result: $ac_res" >&5
43511 echo "${ECHO_T}$ac_res" >&6; }
43512 if test `eval echo '${'$as_ac_var'}'` = yes; then
43513 cat >>confdefs.h <<_ACEOF
43514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43521 if test "$ac_cv_func_localtime" = "yes"; then
43522 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43523 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43524 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43525 echo $ECHO_N "(cached) $ECHO_C" >&6
43528 cat >conftest.$ac_ext <<_ACEOF
43531 cat confdefs.h >>conftest.$ac_ext
43532 cat >>conftest.$ac_ext <<_ACEOF
43533 /* end confdefs.h. */
43548 rm -f conftest.$ac_objext
43549 if { (ac_try="$ac_compile"
43550 case "(($ac_try" in
43551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43552 *) ac_try_echo=$ac_try;;
43554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43555 (eval "$ac_compile") 2>conftest.er1
43557 grep -v '^ *+' conftest.er1 >conftest.err
43559 cat conftest.err >&5
43560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43561 (exit $ac_status); } && {
43562 test -z "$ac_c_werror_flag" ||
43563 test ! -s conftest.err
43564 } && test -s conftest.$ac_objext; then
43566 wx_cv_struct_tm_has_gmtoff=yes
43569 echo "$as_me: failed program was:" >&5
43570 sed 's/^/| /' conftest.$ac_ext >&5
43572 wx_cv_struct_tm_has_gmtoff=no
43576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43579 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43580 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43583 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43584 cat >>confdefs.h <<\_ACEOF
43585 #define WX_GMTOFF_IN_TM 1
43590 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43594 if test "$wxUSE_SOCKETS" = "yes"; then
43595 if test "$wxUSE_MGL" = 1; then
43596 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43597 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43602 if test "$wxUSE_SOCKETS" = "yes"; then
43603 if test "$TOOLKIT" != "MSW"; then
43604 { echo "$as_me:$LINENO: checking for socket" >&5
43605 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43606 if test "${ac_cv_func_socket+set}" = set; then
43607 echo $ECHO_N "(cached) $ECHO_C" >&6
43609 cat >conftest.$ac_ext <<_ACEOF
43612 cat confdefs.h >>conftest.$ac_ext
43613 cat >>conftest.$ac_ext <<_ACEOF
43614 /* end confdefs.h. */
43615 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43617 #define socket innocuous_socket
43619 /* System header to define __stub macros and hopefully few prototypes,
43620 which can conflict with char socket (); below.
43621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43622 <limits.h> exists even on freestanding compilers. */
43625 # include <limits.h>
43627 # include <assert.h>
43632 /* Override any GCC internal prototype to avoid an error.
43633 Use char because int might match the return type of a GCC
43634 builtin and then its argument prototype would still apply. */
43639 /* The GNU C library defines this for functions which it implements
43640 to always fail with ENOSYS. Some functions are actually named
43641 something starting with __ and the normal name is an alias. */
43642 #if defined __stub_socket || defined __stub___socket
43654 rm -f conftest.$ac_objext conftest$ac_exeext
43655 if { (ac_try="$ac_link"
43656 case "(($ac_try" in
43657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43658 *) ac_try_echo=$ac_try;;
43660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43661 (eval "$ac_link") 2>conftest.er1
43663 grep -v '^ *+' conftest.er1 >conftest.err
43665 cat conftest.err >&5
43666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43667 (exit $ac_status); } && {
43668 test -z "$ac_c_werror_flag" ||
43669 test ! -s conftest.err
43670 } && test -s conftest$ac_exeext &&
43671 $as_test_x conftest$ac_exeext; then
43672 ac_cv_func_socket=yes
43674 echo "$as_me: failed program was:" >&5
43675 sed 's/^/| /' conftest.$ac_ext >&5
43677 ac_cv_func_socket=no
43680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43681 conftest$ac_exeext conftest.$ac_ext
43683 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43684 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43685 if test $ac_cv_func_socket = yes; then
43689 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43690 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43691 if test "${ac_cv_lib_socket_socket+set}" = set; then
43692 echo $ECHO_N "(cached) $ECHO_C" >&6
43694 ac_check_lib_save_LIBS=$LIBS
43695 LIBS="-lsocket $LIBS"
43696 cat >conftest.$ac_ext <<_ACEOF
43699 cat confdefs.h >>conftest.$ac_ext
43700 cat >>conftest.$ac_ext <<_ACEOF
43701 /* end confdefs.h. */
43703 /* Override any GCC internal prototype to avoid an error.
43704 Use char because int might match the return type of a GCC
43705 builtin and then its argument prototype would still apply. */
43718 rm -f conftest.$ac_objext conftest$ac_exeext
43719 if { (ac_try="$ac_link"
43720 case "(($ac_try" in
43721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43722 *) ac_try_echo=$ac_try;;
43724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43725 (eval "$ac_link") 2>conftest.er1
43727 grep -v '^ *+' conftest.er1 >conftest.err
43729 cat conftest.err >&5
43730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43731 (exit $ac_status); } && {
43732 test -z "$ac_c_werror_flag" ||
43733 test ! -s conftest.err
43734 } && test -s conftest$ac_exeext &&
43735 $as_test_x conftest$ac_exeext; then
43736 ac_cv_lib_socket_socket=yes
43738 echo "$as_me: failed program was:" >&5
43739 sed 's/^/| /' conftest.$ac_ext >&5
43741 ac_cv_lib_socket_socket=no
43744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43745 conftest$ac_exeext conftest.$ac_ext
43746 LIBS=$ac_check_lib_save_LIBS
43748 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43749 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43750 if test $ac_cv_lib_socket_socket = yes; then
43751 if test "$INET_LINK" != " -lsocket"; then
43752 INET_LINK="$INET_LINK -lsocket"
43756 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43757 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43770 if test "$wxUSE_SOCKETS" = "yes" ; then
43771 if test "$TOOLKIT" != "MSW"; then
43772 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43773 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43774 if test "${wx_cv_type_getsockname3+set}" = set; then
43775 echo $ECHO_N "(cached) $ECHO_C" >&6
43779 ac_cpp='$CXXCPP $CPPFLAGS'
43780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43784 cat >conftest.$ac_ext <<_ACEOF
43787 cat confdefs.h >>conftest.$ac_ext
43788 cat >>conftest.$ac_ext <<_ACEOF
43789 /* end confdefs.h. */
43791 #include <sys/types.h>
43792 #include <sys/socket.h>
43799 getsockname(0, 0, &len);
43805 rm -f conftest.$ac_objext
43806 if { (ac_try="$ac_compile"
43807 case "(($ac_try" in
43808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43809 *) ac_try_echo=$ac_try;;
43811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43812 (eval "$ac_compile") 2>conftest.er1
43814 grep -v '^ *+' conftest.er1 >conftest.err
43816 cat conftest.err >&5
43817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43818 (exit $ac_status); } && {
43819 test -z "$ac_cxx_werror_flag" ||
43820 test ! -s conftest.err
43821 } && test -s conftest.$ac_objext; then
43822 wx_cv_type_getsockname3=socklen_t
43824 echo "$as_me: failed program was:" >&5
43825 sed 's/^/| /' conftest.$ac_ext >&5
43828 CFLAGS_OLD="$CFLAGS"
43829 if test "$GCC" = yes ; then
43830 CFLAGS="-Werror $CFLAGS"
43833 cat >conftest.$ac_ext <<_ACEOF
43836 cat confdefs.h >>conftest.$ac_ext
43837 cat >>conftest.$ac_ext <<_ACEOF
43838 /* end confdefs.h. */
43840 #include <sys/types.h>
43841 #include <sys/socket.h>
43848 getsockname(0, 0, &len);
43854 rm -f conftest.$ac_objext
43855 if { (ac_try="$ac_compile"
43856 case "(($ac_try" in
43857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43858 *) ac_try_echo=$ac_try;;
43860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43861 (eval "$ac_compile") 2>conftest.er1
43863 grep -v '^ *+' conftest.er1 >conftest.err
43865 cat conftest.err >&5
43866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43867 (exit $ac_status); } && {
43868 test -z "$ac_cxx_werror_flag" ||
43869 test ! -s conftest.err
43870 } && test -s conftest.$ac_objext; then
43871 wx_cv_type_getsockname3=size_t
43873 echo "$as_me: failed program was:" >&5
43874 sed 's/^/| /' conftest.$ac_ext >&5
43876 cat >conftest.$ac_ext <<_ACEOF
43879 cat confdefs.h >>conftest.$ac_ext
43880 cat >>conftest.$ac_ext <<_ACEOF
43881 /* end confdefs.h. */
43883 #include <sys/types.h>
43884 #include <sys/socket.h>
43891 getsockname(0, 0, &len);
43897 rm -f conftest.$ac_objext
43898 if { (ac_try="$ac_compile"
43899 case "(($ac_try" in
43900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43901 *) ac_try_echo=$ac_try;;
43903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43904 (eval "$ac_compile") 2>conftest.er1
43906 grep -v '^ *+' conftest.er1 >conftest.err
43908 cat conftest.err >&5
43909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43910 (exit $ac_status); } && {
43911 test -z "$ac_cxx_werror_flag" ||
43912 test ! -s conftest.err
43913 } && test -s conftest.$ac_objext; then
43914 wx_cv_type_getsockname3=int
43916 echo "$as_me: failed program was:" >&5
43917 sed 's/^/| /' conftest.$ac_ext >&5
43919 wx_cv_type_getsockname3=unknown
43923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43929 CFLAGS="$CFLAGS_OLD"
43934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43936 ac_cpp='$CPP $CPPFLAGS'
43937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43943 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43944 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43946 if test "$wx_cv_type_getsockname3" = "unknown"; then
43948 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43949 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43951 cat >>confdefs.h <<_ACEOF
43952 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43956 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43957 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43958 if test "${wx_cv_type_getsockopt5+set}" = set; then
43959 echo $ECHO_N "(cached) $ECHO_C" >&6
43963 ac_cpp='$CXXCPP $CPPFLAGS'
43964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43968 cat >conftest.$ac_ext <<_ACEOF
43971 cat confdefs.h >>conftest.$ac_ext
43972 cat >>conftest.$ac_ext <<_ACEOF
43973 /* end confdefs.h. */
43975 #include <sys/types.h>
43976 #include <sys/socket.h>
43983 getsockopt(0, 0, 0, 0, &len);
43989 rm -f conftest.$ac_objext
43990 if { (ac_try="$ac_compile"
43991 case "(($ac_try" in
43992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43993 *) ac_try_echo=$ac_try;;
43995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43996 (eval "$ac_compile") 2>conftest.er1
43998 grep -v '^ *+' conftest.er1 >conftest.err
44000 cat conftest.err >&5
44001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44002 (exit $ac_status); } && {
44003 test -z "$ac_cxx_werror_flag" ||
44004 test ! -s conftest.err
44005 } && test -s conftest.$ac_objext; then
44006 wx_cv_type_getsockopt5=socklen_t
44008 echo "$as_me: failed program was:" >&5
44009 sed 's/^/| /' conftest.$ac_ext >&5
44012 cat >conftest.$ac_ext <<_ACEOF
44015 cat confdefs.h >>conftest.$ac_ext
44016 cat >>conftest.$ac_ext <<_ACEOF
44017 /* end confdefs.h. */
44019 #include <sys/types.h>
44020 #include <sys/socket.h>
44027 getsockopt(0, 0, 0, 0, &len);
44033 rm -f conftest.$ac_objext
44034 if { (ac_try="$ac_compile"
44035 case "(($ac_try" in
44036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44037 *) ac_try_echo=$ac_try;;
44039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44040 (eval "$ac_compile") 2>conftest.er1
44042 grep -v '^ *+' conftest.er1 >conftest.err
44044 cat conftest.err >&5
44045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44046 (exit $ac_status); } && {
44047 test -z "$ac_cxx_werror_flag" ||
44048 test ! -s conftest.err
44049 } && test -s conftest.$ac_objext; then
44050 wx_cv_type_getsockopt5=size_t
44052 echo "$as_me: failed program was:" >&5
44053 sed 's/^/| /' conftest.$ac_ext >&5
44055 cat >conftest.$ac_ext <<_ACEOF
44058 cat confdefs.h >>conftest.$ac_ext
44059 cat >>conftest.$ac_ext <<_ACEOF
44060 /* end confdefs.h. */
44062 #include <sys/types.h>
44063 #include <sys/socket.h>
44070 getsockopt(0, 0, 0, 0, &len);
44076 rm -f conftest.$ac_objext
44077 if { (ac_try="$ac_compile"
44078 case "(($ac_try" in
44079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44080 *) ac_try_echo=$ac_try;;
44082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44083 (eval "$ac_compile") 2>conftest.er1
44085 grep -v '^ *+' conftest.er1 >conftest.err
44087 cat conftest.err >&5
44088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44089 (exit $ac_status); } && {
44090 test -z "$ac_cxx_werror_flag" ||
44091 test ! -s conftest.err
44092 } && test -s conftest.$ac_objext; then
44093 wx_cv_type_getsockopt5=int
44095 echo "$as_me: failed program was:" >&5
44096 sed 's/^/| /' conftest.$ac_ext >&5
44098 wx_cv_type_getsockopt5=unknown
44102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44113 ac_cpp='$CPP $CPPFLAGS'
44114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44120 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44121 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44123 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44125 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44126 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44128 cat >>confdefs.h <<_ACEOF
44129 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44136 if test "$wxUSE_SOCKETS" = "yes" ; then
44137 if test "$wxUSE_IPV6" = "yes"; then
44138 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44139 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44140 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44141 echo $ECHO_N "(cached) $ECHO_C" >&6
44144 cat >conftest.$ac_ext <<_ACEOF
44147 cat confdefs.h >>conftest.$ac_ext
44148 cat >>conftest.$ac_ext <<_ACEOF
44149 /* end confdefs.h. */
44151 #include <sys/types.h>
44152 #include <sys/socket.h>
44153 #include <netinet/in.h>
44159 struct sockaddr_in6 sa6;
44165 rm -f conftest.$ac_objext
44166 if { (ac_try="$ac_compile"
44167 case "(($ac_try" in
44168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44169 *) ac_try_echo=$ac_try;;
44171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44172 (eval "$ac_compile") 2>conftest.er1
44174 grep -v '^ *+' conftest.er1 >conftest.err
44176 cat conftest.err >&5
44177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44178 (exit $ac_status); } && {
44179 test -z "$ac_c_werror_flag" ||
44180 test ! -s conftest.err
44181 } && test -s conftest.$ac_objext; then
44182 wx_cv_type_sockaddr_in6=yes
44184 echo "$as_me: failed program was:" >&5
44185 sed 's/^/| /' conftest.$ac_ext >&5
44187 wx_cv_type_sockaddr_in6=no
44191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44195 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44196 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44198 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44199 cat >>confdefs.h <<\_ACEOF
44200 #define wxUSE_IPV6 1
44204 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44205 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44209 cat >>confdefs.h <<\_ACEOF
44210 #define wxUSE_SOCKETS 1
44213 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44216 if test "$wxUSE_PROTOCOL" = "yes"; then
44217 if test "$wxUSE_SOCKETS" != "yes"; then
44218 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44219 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44224 if test "$wxUSE_PROTOCOL" = "yes"; then
44225 cat >>confdefs.h <<\_ACEOF
44226 #define wxUSE_PROTOCOL 1
44230 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44231 cat >>confdefs.h <<\_ACEOF
44232 #define wxUSE_PROTOCOL_HTTP 1
44236 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44237 cat >>confdefs.h <<\_ACEOF
44238 #define wxUSE_PROTOCOL_FTP 1
44242 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44243 cat >>confdefs.h <<\_ACEOF
44244 #define wxUSE_PROTOCOL_FILE 1
44249 if test "$wxUSE_FS_INET" = "yes"; then
44250 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44251 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44256 if test "$wxUSE_URL" = "yes"; then
44257 if test "$wxUSE_PROTOCOL" != "yes"; then
44258 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44259 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44262 if test "$wxUSE_URL" = "yes"; then
44263 cat >>confdefs.h <<\_ACEOF
44264 #define wxUSE_URL 1
44270 if test "$wxUSE_VARIANT" = "yes"; then
44271 cat >>confdefs.h <<\_ACEOF
44272 #define wxUSE_VARIANT 1
44277 if test "$wxUSE_FS_INET" = "yes"; then
44278 cat >>confdefs.h <<\_ACEOF
44279 #define wxUSE_FS_INET 1
44285 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44288 if test "$TOOLKIT" = "MSW"; then
44291 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44292 if test "$USE_DARWIN" = 1; then
44293 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44294 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44296 ac_cpp='$CXXCPP $CPPFLAGS'
44297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44301 cat >conftest.$ac_ext <<_ACEOF
44304 cat confdefs.h >>conftest.$ac_ext
44305 cat >>conftest.$ac_ext <<_ACEOF
44306 /* end confdefs.h. */
44307 #include <IOKit/hid/IOHIDLib.h>
44311 IOHIDQueueInterface *qi = NULL;
44312 IOHIDCallbackFunction cb = NULL;
44313 qi->setEventCallout(NULL, cb, NULL, NULL);
44318 rm -f conftest.$ac_objext
44319 if { (ac_try="$ac_compile"
44320 case "(($ac_try" in
44321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44322 *) ac_try_echo=$ac_try;;
44324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44325 (eval "$ac_compile") 2>conftest.er1
44327 grep -v '^ *+' conftest.er1 >conftest.err
44329 cat conftest.err >&5
44330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44331 (exit $ac_status); } && {
44332 test -z "$ac_cxx_werror_flag" ||
44333 test ! -s conftest.err
44334 } && test -s conftest.$ac_objext; then
44338 echo "$as_me: failed program was:" >&5
44339 sed 's/^/| /' conftest.$ac_ext >&5
44344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44346 ac_cpp='$CPP $CPPFLAGS'
44347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44351 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44352 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44356 if test "$wxUSE_MGL" != 1; then
44358 for ac_header in linux/joystick.h
44360 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44361 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44364 echo $ECHO_N "(cached) $ECHO_C" >&6
44366 cat >conftest.$ac_ext <<_ACEOF
44369 cat confdefs.h >>conftest.$ac_ext
44370 cat >>conftest.$ac_ext <<_ACEOF
44371 /* end confdefs.h. */
44372 $ac_includes_default
44374 #include <$ac_header>
44376 rm -f conftest.$ac_objext
44377 if { (ac_try="$ac_compile"
44378 case "(($ac_try" in
44379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44380 *) ac_try_echo=$ac_try;;
44382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44383 (eval "$ac_compile") 2>conftest.er1
44385 grep -v '^ *+' conftest.er1 >conftest.err
44387 cat conftest.err >&5
44388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44389 (exit $ac_status); } && {
44390 test -z "$ac_c_werror_flag" ||
44391 test ! -s conftest.err
44392 } && test -s conftest.$ac_objext; then
44393 eval "$as_ac_Header=yes"
44395 echo "$as_me: failed program was:" >&5
44396 sed 's/^/| /' conftest.$ac_ext >&5
44398 eval "$as_ac_Header=no"
44401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44403 ac_res=`eval echo '${'$as_ac_Header'}'`
44404 { echo "$as_me:$LINENO: result: $ac_res" >&5
44405 echo "${ECHO_T}$ac_res" >&6; }
44406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44407 cat >>confdefs.h <<_ACEOF
44408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44418 if test "$wxUSE_JOYSTICK" = "yes"; then
44419 cat >>confdefs.h <<\_ACEOF
44420 #define wxUSE_JOYSTICK 1
44423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44425 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44426 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44432 if test "$wxUSE_FONTENUM" = "yes" ; then
44433 cat >>confdefs.h <<\_ACEOF
44434 #define wxUSE_FONTENUM 1
44439 if test "$wxUSE_FONTMAP" = "yes" ; then
44440 cat >>confdefs.h <<\_ACEOF
44441 #define wxUSE_FONTMAP 1
44446 if test "$wxUSE_UNICODE" = "yes" ; then
44447 cat >>confdefs.h <<\_ACEOF
44448 #define wxUSE_UNICODE 1
44452 if test "$USE_WIN32" != 1; then
44453 wxUSE_UNICODE_MSLU=no
44456 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44457 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44458 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44459 if test "${ac_cv_lib_unicows_main+set}" = set; then
44460 echo $ECHO_N "(cached) $ECHO_C" >&6
44462 ac_check_lib_save_LIBS=$LIBS
44463 LIBS="-lunicows $LIBS"
44464 cat >conftest.$ac_ext <<_ACEOF
44467 cat confdefs.h >>conftest.$ac_ext
44468 cat >>conftest.$ac_ext <<_ACEOF
44469 /* end confdefs.h. */
44480 rm -f conftest.$ac_objext conftest$ac_exeext
44481 if { (ac_try="$ac_link"
44482 case "(($ac_try" in
44483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44484 *) ac_try_echo=$ac_try;;
44486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44487 (eval "$ac_link") 2>conftest.er1
44489 grep -v '^ *+' conftest.er1 >conftest.err
44491 cat conftest.err >&5
44492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44493 (exit $ac_status); } && {
44494 test -z "$ac_c_werror_flag" ||
44495 test ! -s conftest.err
44496 } && test -s conftest$ac_exeext &&
44497 $as_test_x conftest$ac_exeext; then
44498 ac_cv_lib_unicows_main=yes
44500 echo "$as_me: failed program was:" >&5
44501 sed 's/^/| /' conftest.$ac_ext >&5
44503 ac_cv_lib_unicows_main=no
44506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44507 conftest$ac_exeext conftest.$ac_ext
44508 LIBS=$ac_check_lib_save_LIBS
44510 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44511 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44512 if test $ac_cv_lib_unicows_main = yes; then
44514 cat >>confdefs.h <<\_ACEOF
44515 #define wxUSE_UNICODE_MSLU 1
44521 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44522 Applications will only run on Windows NT/2000/XP!" >&5
44523 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44524 Applications will only run on Windows NT/2000/XP!" >&2;}
44525 wxUSE_UNICODE_MSLU=no
44532 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44533 cat >>confdefs.h <<\_ACEOF
44534 #define wxUSE_UNICODE_UTF8 1
44538 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44539 cat >>confdefs.h <<\_ACEOF
44540 #define wxUSE_UTF8_LOCALE_ONLY 1
44547 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44548 cat >>confdefs.h <<\_ACEOF
44549 #define wxUSE_CONSTRAINTS 1
44552 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44555 if test "$wxUSE_MDI" = "yes"; then
44556 cat >>confdefs.h <<\_ACEOF
44557 #define wxUSE_MDI 1
44561 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44562 cat >>confdefs.h <<\_ACEOF
44563 #define wxUSE_MDI_ARCHITECTURE 1
44566 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44570 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44571 cat >>confdefs.h <<\_ACEOF
44572 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44575 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44576 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44581 if test "$wxUSE_HELP" = "yes"; then
44582 cat >>confdefs.h <<\_ACEOF
44583 #define wxUSE_HELP 1
44586 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44588 if test "$wxUSE_MSW" = 1; then
44589 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44590 cat >>confdefs.h <<\_ACEOF
44591 #define wxUSE_MS_HTML_HELP 1
44597 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44598 if test "$wxUSE_HTML" = "yes"; then
44599 cat >>confdefs.h <<\_ACEOF
44600 #define wxUSE_WXHTML_HELP 1
44604 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44605 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44606 wxUSE_WXHTML_HELP=no
44611 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44612 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44613 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44614 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44616 cat >>confdefs.h <<\_ACEOF
44617 #define wxUSE_PRINTING_ARCHITECTURE 1
44621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44624 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44625 cat >>confdefs.h <<\_ACEOF
44626 #define wxUSE_POSTSCRIPT 1
44631 cat >>confdefs.h <<\_ACEOF
44632 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44636 if test "$wxUSE_SVG" = "yes"; then
44637 cat >>confdefs.h <<\_ACEOF
44638 #define wxUSE_SVG 1
44644 if test "$wxUSE_METAFILE" = "yes"; then
44645 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44646 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44647 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44653 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44654 -o "$wxUSE_CLIPBOARD" = "yes" \
44655 -o "$wxUSE_OLE" = "yes" \
44656 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44657 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44658 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44659 if test "${ac_cv_header_ole2_h+set}" = set; then
44660 echo $ECHO_N "(cached) $ECHO_C" >&6
44662 cat >conftest.$ac_ext <<_ACEOF
44665 cat confdefs.h >>conftest.$ac_ext
44666 cat >>conftest.$ac_ext <<_ACEOF
44667 /* end confdefs.h. */
44672 rm -f conftest.$ac_objext
44673 if { (ac_try="$ac_compile"
44674 case "(($ac_try" in
44675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44676 *) ac_try_echo=$ac_try;;
44678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44679 (eval "$ac_compile") 2>conftest.er1
44681 grep -v '^ *+' conftest.er1 >conftest.err
44683 cat conftest.err >&5
44684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44685 (exit $ac_status); } && {
44686 test -z "$ac_c_werror_flag" ||
44687 test ! -s conftest.err
44688 } && test -s conftest.$ac_objext; then
44689 ac_cv_header_ole2_h=yes
44691 echo "$as_me: failed program was:" >&5
44692 sed 's/^/| /' conftest.$ac_ext >&5
44694 ac_cv_header_ole2_h=no
44697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44699 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44700 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44704 if test "$ac_cv_header_ole2_h" = "yes" ; then
44705 if test "$GCC" = yes ; then
44706 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44707 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44708 cat >conftest.$ac_ext <<_ACEOF
44711 cat confdefs.h >>conftest.$ac_ext
44712 cat >>conftest.$ac_ext <<_ACEOF
44713 /* end confdefs.h. */
44714 #include <windows.h>
44724 rm -f conftest.$ac_objext
44725 if { (ac_try="$ac_compile"
44726 case "(($ac_try" in
44727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44728 *) ac_try_echo=$ac_try;;
44730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44731 (eval "$ac_compile") 2>conftest.er1
44733 grep -v '^ *+' conftest.er1 >conftest.err
44735 cat conftest.err >&5
44736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44737 (exit $ac_status); } && {
44738 test -z "$ac_c_werror_flag" ||
44739 test ! -s conftest.err
44740 } && test -s conftest.$ac_objext; then
44741 { echo "$as_me:$LINENO: result: no" >&5
44742 echo "${ECHO_T}no" >&6; }
44744 echo "$as_me: failed program was:" >&5
44745 sed 's/^/| /' conftest.$ac_ext >&5
44747 { echo "$as_me:$LINENO: result: yes" >&5
44748 echo "${ECHO_T}yes" >&6; }
44749 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44753 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44754 if test "$wxUSE_OLE" = "yes" ; then
44755 cat >>confdefs.h <<\_ACEOF
44756 #define wxUSE_OLE 1
44759 cat >>confdefs.h <<\_ACEOF
44760 #define wxUSE_OLE_AUTOMATION 1
44763 cat >>confdefs.h <<\_ACEOF
44764 #define wxUSE_ACTIVEX 1
44767 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44771 if test "$wxUSE_DATAOBJ" = "yes" ; then
44772 cat >>confdefs.h <<\_ACEOF
44773 #define wxUSE_DATAOBJ 1
44778 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44779 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44782 wxUSE_DRAG_AND_DROP=no
44787 if test "$wxUSE_METAFILE" = "yes"; then
44788 cat >>confdefs.h <<\_ACEOF
44789 #define wxUSE_METAFILE 1
44793 cat >>confdefs.h <<\_ACEOF
44794 #define wxUSE_ENH_METAFILE 1
44800 if test "$wxUSE_IPC" = "yes"; then
44801 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44802 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44803 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44807 if test "$wxUSE_IPC" = "yes"; then
44808 cat >>confdefs.h <<\_ACEOF
44809 #define wxUSE_IPC 1
44812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44816 if test "$wxUSE_DATAOBJ" = "yes"; then
44817 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44818 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44819 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44822 cat >>confdefs.h <<\_ACEOF
44823 #define wxUSE_DATAOBJ 1
44828 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44829 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44831 wxUSE_DRAG_AND_DROP=no
44834 if test "$wxUSE_CLIPBOARD" = "yes"; then
44835 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44836 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44837 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44841 if test "$wxUSE_CLIPBOARD" = "yes"; then
44842 cat >>confdefs.h <<\_ACEOF
44843 #define wxUSE_CLIPBOARD 1
44849 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44850 if test "$wxUSE_GTK" = 1; then
44851 if test "$WXGTK12" != 1; then
44852 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44853 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44854 wxUSE_DRAG_AND_DROP=no
44858 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44859 "$wxUSE_DFB" = 1; then
44860 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44861 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44862 wxUSE_DRAG_AND_DROP=no
44865 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44866 cat >>confdefs.h <<\_ACEOF
44867 #define wxUSE_DRAG_AND_DROP 1
44874 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44875 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44878 if test "$wxUSE_SPLINES" = "yes" ; then
44879 cat >>confdefs.h <<\_ACEOF
44880 #define wxUSE_SPLINES 1
44885 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44886 cat >>confdefs.h <<\_ACEOF
44887 #define wxUSE_MOUSEWHEEL 1
44894 if test "$wxUSE_CONTROLS" = "yes"; then
44898 if test "$wxUSE_ACCEL" = "yes"; then
44899 cat >>confdefs.h <<\_ACEOF
44900 #define wxUSE_ACCEL 1
44906 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44907 cat >>confdefs.h <<\_ACEOF
44908 #define wxUSE_ANIMATIONCTRL 1
44912 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44915 if test "$wxUSE_BUTTON" = "yes"; then
44916 cat >>confdefs.h <<\_ACEOF
44917 #define wxUSE_BUTTON 1
44923 if test "$wxUSE_BMPBUTTON" = "yes"; then
44924 cat >>confdefs.h <<\_ACEOF
44925 #define wxUSE_BMPBUTTON 1
44931 if test "$wxUSE_CALCTRL" = "yes"; then
44932 cat >>confdefs.h <<\_ACEOF
44933 #define wxUSE_CALENDARCTRL 1
44937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44940 if test "$wxUSE_CARET" = "yes"; then
44941 cat >>confdefs.h <<\_ACEOF
44942 #define wxUSE_CARET 1
44946 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44949 if test "$wxUSE_COLLPANE" = "yes"; then
44950 cat >>confdefs.h <<\_ACEOF
44951 #define wxUSE_COLLPANE 1
44955 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44958 if test "$wxUSE_COMBOBOX" = "yes"; then
44959 cat >>confdefs.h <<\_ACEOF
44960 #define wxUSE_COMBOBOX 1
44966 if test "$wxUSE_COMBOCTRL" = "yes"; then
44967 cat >>confdefs.h <<\_ACEOF
44968 #define wxUSE_COMBOCTRL 1
44974 if test "$wxUSE_CHOICE" = "yes"; then
44975 cat >>confdefs.h <<\_ACEOF
44976 #define wxUSE_CHOICE 1
44982 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44983 cat >>confdefs.h <<\_ACEOF
44984 #define wxUSE_CHOICEBOOK 1
44990 if test "$wxUSE_CHECKBOX" = "yes"; then
44991 cat >>confdefs.h <<\_ACEOF
44992 #define wxUSE_CHECKBOX 1
44998 if test "$wxUSE_CHECKLST" = "yes"; then
44999 cat >>confdefs.h <<\_ACEOF
45000 #define wxUSE_CHECKLISTBOX 1
45006 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45007 cat >>confdefs.h <<\_ACEOF
45008 #define wxUSE_COLOURPICKERCTRL 1
45014 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45015 cat >>confdefs.h <<\_ACEOF
45016 #define wxUSE_DATEPICKCTRL 1
45022 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45023 cat >>confdefs.h <<\_ACEOF
45024 #define wxUSE_DIRPICKERCTRL 1
45030 if test "$wxUSE_FILECTRL" = "yes"; then
45031 cat >>confdefs.h <<\_ACEOF
45032 #define wxUSE_FILECTRL 1
45038 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45039 cat >>confdefs.h <<\_ACEOF
45040 #define wxUSE_FILEPICKERCTRL 1
45046 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45047 cat >>confdefs.h <<\_ACEOF
45048 #define wxUSE_FONTPICKERCTRL 1
45054 if test "$wxUSE_DISPLAY" = "yes"; then
45055 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45056 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45057 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45060 cat >>confdefs.h <<\_ACEOF
45061 #define wxUSE_DISPLAY 1
45064 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45068 if test "$wxUSE_DETECT_SM" = "yes"; then
45069 cat >>confdefs.h <<\_ACEOF
45070 #define wxUSE_DETECT_SM 1
45075 if test "$wxUSE_GAUGE" = "yes"; then
45076 cat >>confdefs.h <<\_ACEOF
45077 #define wxUSE_GAUGE 1
45083 if test "$wxUSE_GRID" = "yes"; then
45084 cat >>confdefs.h <<\_ACEOF
45085 #define wxUSE_GRID 1
45089 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45092 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45093 cat >>confdefs.h <<\_ACEOF
45094 #define wxUSE_HYPERLINKCTRL 1
45100 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45101 cat >>confdefs.h <<\_ACEOF
45102 #define wxUSE_BITMAPCOMBOBOX 1
45108 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45109 cat >>confdefs.h <<\_ACEOF
45110 #define wxUSE_DATAVIEWCTRL 1
45114 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45117 if test "$wxUSE_IMAGLIST" = "yes"; then
45118 cat >>confdefs.h <<\_ACEOF
45119 #define wxUSE_IMAGLIST 1
45124 if test "$wxUSE_LISTBOOK" = "yes"; then
45125 cat >>confdefs.h <<\_ACEOF
45126 #define wxUSE_LISTBOOK 1
45132 if test "$wxUSE_LISTBOX" = "yes"; then
45133 cat >>confdefs.h <<\_ACEOF
45134 #define wxUSE_LISTBOX 1
45140 if test "$wxUSE_LISTCTRL" = "yes"; then
45141 if test "$wxUSE_IMAGLIST" = "yes"; then
45142 cat >>confdefs.h <<\_ACEOF
45143 #define wxUSE_LISTCTRL 1
45147 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45149 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45150 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45154 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45155 cat >>confdefs.h <<\_ACEOF
45156 #define wxUSE_EDITABLELISTBOX 1
45160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45163 if test "$wxUSE_NOTEBOOK" = "yes"; then
45164 cat >>confdefs.h <<\_ACEOF
45165 #define wxUSE_NOTEBOOK 1
45169 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45172 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45173 cat >>confdefs.h <<\_ACEOF
45174 #define wxUSE_NOTIFICATION_MESSAGE 1
45179 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45180 cat >>confdefs.h <<\_ACEOF
45181 #define wxUSE_ODCOMBOBOX 1
45185 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45188 if test "$wxUSE_RADIOBOX" = "yes"; then
45189 cat >>confdefs.h <<\_ACEOF
45190 #define wxUSE_RADIOBOX 1
45196 if test "$wxUSE_RADIOBTN" = "yes"; then
45197 cat >>confdefs.h <<\_ACEOF
45198 #define wxUSE_RADIOBTN 1
45204 if test "$wxUSE_SASH" = "yes"; then
45205 cat >>confdefs.h <<\_ACEOF
45206 #define wxUSE_SASH 1
45209 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45212 if test "$wxUSE_SCROLLBAR" = "yes"; then
45213 cat >>confdefs.h <<\_ACEOF
45214 #define wxUSE_SCROLLBAR 1
45218 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45221 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45222 cat >>confdefs.h <<\_ACEOF
45223 #define wxUSE_SEARCHCTRL 1
45229 if test "$wxUSE_SLIDER" = "yes"; then
45230 cat >>confdefs.h <<\_ACEOF
45231 #define wxUSE_SLIDER 1
45237 if test "$wxUSE_SPINBTN" = "yes"; then
45238 cat >>confdefs.h <<\_ACEOF
45239 #define wxUSE_SPINBTN 1
45245 if test "$wxUSE_SPINCTRL" = "yes"; then
45246 cat >>confdefs.h <<\_ACEOF
45247 #define wxUSE_SPINCTRL 1
45253 if test "$wxUSE_SPLITTER" = "yes"; then
45254 cat >>confdefs.h <<\_ACEOF
45255 #define wxUSE_SPLITTER 1
45258 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45261 if test "$wxUSE_STATBMP" = "yes"; then
45262 cat >>confdefs.h <<\_ACEOF
45263 #define wxUSE_STATBMP 1
45269 if test "$wxUSE_STATBOX" = "yes"; then
45270 cat >>confdefs.h <<\_ACEOF
45271 #define wxUSE_STATBOX 1
45277 if test "$wxUSE_STATTEXT" = "yes"; then
45278 cat >>confdefs.h <<\_ACEOF
45279 #define wxUSE_STATTEXT 1
45285 if test "$wxUSE_STATLINE" = "yes"; then
45286 cat >>confdefs.h <<\_ACEOF
45287 #define wxUSE_STATLINE 1
45293 if test "$wxUSE_STATUSBAR" = "yes"; then
45294 cat >>confdefs.h <<\_ACEOF
45295 #define wxUSE_NATIVE_STATUSBAR 1
45298 cat >>confdefs.h <<\_ACEOF
45299 #define wxUSE_STATUSBAR 1
45304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45307 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45308 cat >>confdefs.h <<\_ACEOF
45309 #define wxUSE_TAB_DIALOG 1
45314 if test "$wxUSE_TEXTCTRL" = "yes"; then
45315 cat >>confdefs.h <<\_ACEOF
45316 #define wxUSE_TEXTCTRL 1
45320 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45323 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45324 if test "$wxUSE_COCOA" = 1 ; then
45325 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45326 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45330 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45331 cat >>confdefs.h <<\_ACEOF
45332 #define wxUSE_TOGGLEBTN 1
45339 if test "$wxUSE_TOOLBAR" = "yes"; then
45340 cat >>confdefs.h <<\_ACEOF
45341 #define wxUSE_TOOLBAR 1
45346 if test "$wxUSE_UNIVERSAL" = "yes"; then
45347 wxUSE_TOOLBAR_NATIVE="no"
45349 wxUSE_TOOLBAR_NATIVE="yes"
45350 cat >>confdefs.h <<\_ACEOF
45351 #define wxUSE_TOOLBAR_NATIVE 1
45356 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45359 if test "$wxUSE_TOOLTIPS" = "yes"; then
45360 if test "$wxUSE_MOTIF" = 1; then
45361 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45362 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45364 if test "$wxUSE_UNIVERSAL" = "yes"; then
45365 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45366 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45368 cat >>confdefs.h <<\_ACEOF
45369 #define wxUSE_TOOLTIPS 1
45376 if test "$wxUSE_TREEBOOK" = "yes"; then
45377 cat >>confdefs.h <<\_ACEOF
45378 #define wxUSE_TREEBOOK 1
45384 if test "$wxUSE_TOOLBOOK" = "yes"; then
45385 cat >>confdefs.h <<\_ACEOF
45386 #define wxUSE_TOOLBOOK 1
45392 if test "$wxUSE_TREECTRL" = "yes"; then
45393 if test "$wxUSE_IMAGLIST" = "yes"; then
45394 cat >>confdefs.h <<\_ACEOF
45395 #define wxUSE_TREECTRL 1
45399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45401 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45402 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45406 if test "$wxUSE_POPUPWIN" = "yes"; then
45407 if test "$wxUSE_COCOA" = 1 ; then
45408 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45409 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45411 if test "$wxUSE_PM" = 1; then
45412 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45413 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45415 cat >>confdefs.h <<\_ACEOF
45416 #define wxUSE_POPUPWIN 1
45419 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45426 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45427 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45428 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45429 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45431 cat >>confdefs.h <<\_ACEOF
45432 #define wxUSE_DIALUP_MANAGER 1
45435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45439 if test "$wxUSE_TIPWINDOW" = "yes"; then
45440 if test "$wxUSE_PM" = 1; then
45441 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45442 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45444 cat >>confdefs.h <<\_ACEOF
45445 #define wxUSE_TIPWINDOW 1
45451 if test "$USES_CONTROLS" = 1; then
45452 cat >>confdefs.h <<\_ACEOF
45453 #define wxUSE_CONTROLS 1
45459 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45460 cat >>confdefs.h <<\_ACEOF
45461 #define wxUSE_ACCESSIBILITY 1
45464 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45467 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45468 cat >>confdefs.h <<\_ACEOF
45469 #define wxUSE_DRAGIMAGE 1
45472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45475 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45476 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45477 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45478 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45480 cat >>confdefs.h <<\_ACEOF
45481 #define wxUSE_EXCEPTIONS 1
45484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45489 if test "$wxUSE_HTML" = "yes"; then
45490 cat >>confdefs.h <<\_ACEOF
45491 #define wxUSE_HTML 1
45495 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45496 if test "$wxUSE_MAC" = 1; then
45497 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45500 if test "$wxUSE_WEBKIT" = "yes"; then
45501 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45502 old_CPPFLAGS="$CPPFLAGS"
45503 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45504 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45505 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45506 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45507 echo $ECHO_N "(cached) $ECHO_C" >&6
45509 cat >conftest.$ac_ext <<_ACEOF
45512 cat confdefs.h >>conftest.$ac_ext
45513 cat >>conftest.$ac_ext <<_ACEOF
45514 /* end confdefs.h. */
45516 #include <Carbon/Carbon.h>
45517 #include <WebKit/WebKit.h>
45520 #include <WebKit/HIWebView.h>
45522 rm -f conftest.$ac_objext
45523 if { (ac_try="$ac_compile"
45524 case "(($ac_try" in
45525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45526 *) ac_try_echo=$ac_try;;
45528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45529 (eval "$ac_compile") 2>conftest.er1
45531 grep -v '^ *+' conftest.er1 >conftest.err
45533 cat conftest.err >&5
45534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45535 (exit $ac_status); } && {
45536 test -z "$ac_c_werror_flag" ||
45537 test ! -s conftest.err
45538 } && test -s conftest.$ac_objext; then
45539 ac_cv_header_WebKit_HIWebView_h=yes
45541 echo "$as_me: failed program was:" >&5
45542 sed 's/^/| /' conftest.$ac_ext >&5
45544 ac_cv_header_WebKit_HIWebView_h=no
45547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45549 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45550 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45551 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45553 cat >>confdefs.h <<\_ACEOF
45554 #define wxUSE_WEBKIT 1
45557 WEBKIT_LINK="-framework WebKit"
45561 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45562 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45568 CPPFLAGS="$old_CPPFLAGS"
45569 elif test "$wxUSE_COCOA" = 1; then
45570 cat >>confdefs.h <<\_ACEOF
45571 #define wxUSE_WEBKIT 1
45580 if test "$wxUSE_XRC" = "yes"; then
45581 if test "$wxUSE_XML" != "yes"; then
45582 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45583 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45586 cat >>confdefs.h <<\_ACEOF
45587 #define wxUSE_XRC 1
45591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45596 if test "$wxUSE_AUI" = "yes"; then
45597 cat >>confdefs.h <<\_ACEOF
45598 #define wxUSE_AUI 1
45602 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45606 if test "$wxUSE_STC" = "yes"; then
45607 cat >>confdefs.h <<\_ACEOF
45608 #define wxUSE_STC 1
45612 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45615 if test "$wxUSE_MENUS" = "yes"; then
45616 cat >>confdefs.h <<\_ACEOF
45617 #define wxUSE_MENUS 1
45620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45623 if test "$wxUSE_METAFILE" = "yes"; then
45624 cat >>confdefs.h <<\_ACEOF
45625 #define wxUSE_METAFILE 1
45630 if test "$wxUSE_MIMETYPE" = "yes"; then
45631 cat >>confdefs.h <<\_ACEOF
45632 #define wxUSE_MIMETYPE 1
45637 if test "$wxUSE_MINIFRAME" = "yes"; then
45638 cat >>confdefs.h <<\_ACEOF
45639 #define wxUSE_MINIFRAME 1
45644 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45645 cat >>confdefs.h <<\_ACEOF
45646 #define wxUSE_SYSTEM_OPTIONS 1
45651 if test "$wxUSE_TASKBARICON" = "yes"; then
45652 cat >>confdefs.h <<\_ACEOF
45653 #define wxUSE_TASKBARICON 1
45656 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45660 if test "$wxUSE_VALIDATORS" = "yes"; then
45661 cat >>confdefs.h <<\_ACEOF
45662 #define wxUSE_VALIDATORS 1
45665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45668 if test "$wxUSE_PALETTE" = "yes" ; then
45669 if test "$wxUSE_DFB" = 1; then
45670 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45671 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45674 cat >>confdefs.h <<\_ACEOF
45675 #define wxUSE_PALETTE 1
45681 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45682 LIBS=" -lunicows $LIBS"
45686 if test "$wxUSE_RICHTEXT" = "yes"; then
45687 cat >>confdefs.h <<\_ACEOF
45688 #define wxUSE_RICHTEXT 1
45692 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45696 if test "$wxUSE_IMAGE" = "yes" ; then
45697 cat >>confdefs.h <<\_ACEOF
45698 #define wxUSE_IMAGE 1
45702 if test "$wxUSE_GIF" = "yes" ; then
45703 cat >>confdefs.h <<\_ACEOF
45704 #define wxUSE_GIF 1
45709 if test "$wxUSE_PCX" = "yes" ; then
45710 cat >>confdefs.h <<\_ACEOF
45711 #define wxUSE_PCX 1
45716 if test "$wxUSE_TGA" = "yes" ; then
45717 cat >>confdefs.h <<\_ACEOF
45718 #define wxUSE_TGA 1
45723 if test "$wxUSE_IFF" = "yes" ; then
45724 cat >>confdefs.h <<\_ACEOF
45725 #define wxUSE_IFF 1
45730 if test "$wxUSE_PNM" = "yes" ; then
45731 cat >>confdefs.h <<\_ACEOF
45732 #define wxUSE_PNM 1
45737 if test "$wxUSE_XPM" = "yes" ; then
45738 cat >>confdefs.h <<\_ACEOF
45739 #define wxUSE_XPM 1
45744 if test "$wxUSE_ICO_CUR" = "yes" ; then
45745 cat >>confdefs.h <<\_ACEOF
45746 #define wxUSE_ICO_CUR 1
45753 if test "$wxUSE_ABOUTDLG" = "yes"; then
45754 cat >>confdefs.h <<\_ACEOF
45755 #define wxUSE_ABOUTDLG 1
45760 if test "$wxUSE_CHOICEDLG" = "yes"; then
45761 cat >>confdefs.h <<\_ACEOF
45762 #define wxUSE_CHOICEDLG 1
45767 if test "$wxUSE_COLOURDLG" = "yes"; then
45768 cat >>confdefs.h <<\_ACEOF
45769 #define wxUSE_COLOURDLG 1
45774 if test "$wxUSE_FILEDLG" = "yes"; then
45775 cat >>confdefs.h <<\_ACEOF
45776 #define wxUSE_FILEDLG 1
45781 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45782 cat >>confdefs.h <<\_ACEOF
45783 #define wxUSE_FINDREPLDLG 1
45788 if test "$wxUSE_FONTDLG" = "yes"; then
45789 cat >>confdefs.h <<\_ACEOF
45790 #define wxUSE_FONTDLG 1
45795 if test "$wxUSE_DIRDLG" = "yes"; then
45796 if test "$wxUSE_TREECTRL" != "yes"; then
45797 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45798 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45800 cat >>confdefs.h <<\_ACEOF
45801 #define wxUSE_DIRDLG 1
45807 if test "$wxUSE_MSGDLG" = "yes"; then
45808 cat >>confdefs.h <<\_ACEOF
45809 #define wxUSE_MSGDLG 1
45814 if test "$wxUSE_NUMBERDLG" = "yes"; then
45815 cat >>confdefs.h <<\_ACEOF
45816 #define wxUSE_NUMBERDLG 1
45821 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45822 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45823 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45824 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45826 cat >>confdefs.h <<\_ACEOF
45827 #define wxUSE_PROGRESSDLG 1
45833 if test "$wxUSE_SPLASH" = "yes"; then
45834 cat >>confdefs.h <<\_ACEOF
45835 #define wxUSE_SPLASH 1
45838 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45841 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45842 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45843 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45844 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45846 cat >>confdefs.h <<\_ACEOF
45847 #define wxUSE_STARTUP_TIPS 1
45853 if test "$wxUSE_TEXTDLG" = "yes"; then
45854 cat >>confdefs.h <<\_ACEOF
45855 #define wxUSE_TEXTDLG 1
45860 if test "$wxUSE_WIZARDDLG" = "yes"; then
45861 cat >>confdefs.h <<\_ACEOF
45862 #define wxUSE_WIZARDDLG 1
45865 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45869 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45870 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45871 cat >>confdefs.h <<\_ACEOF
45872 #define wxUSE_OWNER_DRAWN 1
45879 if test "$wxUSE_MSW" = 1 ; then
45881 if test "$wxUSE_DC_CACHEING" = "yes"; then
45882 cat >>confdefs.h <<\_ACEOF
45883 #define wxUSE_DC_CACHEING 1
45888 if test "$wxUSE_DIB" = "yes"; then
45889 cat >>confdefs.h <<\_ACEOF
45890 #define wxUSE_WXDIB 1
45895 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45896 cat >>confdefs.h <<\_ACEOF
45897 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45902 if test "$wxUSE_UXTHEME" = "yes"; then
45903 cat >>confdefs.h <<\_ACEOF
45904 #define wxUSE_UXTHEME 1
45911 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
45912 cat >>confdefs.h <<\_ACEOF
45913 #define wxUSE_AUTOID_MANAGEMENT 1
45918 if test "$USE_WIN32" = 1 ; then
45919 if test "$wxUSE_INICONF" = "yes"; then
45920 cat >>confdefs.h <<\_ACEOF
45921 #define wxUSE_INICONF 1
45926 if test "$wxUSE_REGKEY" = "yes"; then
45927 cat >>confdefs.h <<\_ACEOF
45928 #define wxUSE_REGKEY 1
45935 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45936 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45937 cat >>confdefs.h <<\_ACEOF
45938 #define wxUSE_GRAPHICS_CONTEXT 1
45941 elif test "$wxUSE_GTK" != 1; then
45942 cat >>confdefs.h <<\_ACEOF
45943 #define wxUSE_GRAPHICS_CONTEXT 1
45949 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45950 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45952 if test -n "$PKG_CONFIG"; then
45953 if test -n "$CAIRO_CFLAGS"; then
45954 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45956 if test -n "$PKG_CONFIG" && \
45957 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45958 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45961 (exit $ac_status); }; then
45962 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45970 if test -n "$PKG_CONFIG"; then
45971 if test -n "$CAIRO_LIBS"; then
45972 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45974 if test -n "$PKG_CONFIG" && \
45975 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45976 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45979 (exit $ac_status); }; then
45980 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45991 if test $pkg_failed = yes; then
45993 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45994 _pkg_short_errors_supported=yes
45996 _pkg_short_errors_supported=no
45998 if test $_pkg_short_errors_supported = yes; then
45999 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46001 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46003 # Put the nasty error message in config.log where it belongs
46004 echo "$CAIRO_PKG_ERRORS" >&5
46006 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46007 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46009 elif test $pkg_failed = untried; then
46010 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46011 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46014 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46015 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46016 { echo "$as_me:$LINENO: result: yes" >&5
46017 echo "${ECHO_T}yes" >&6; }
46018 cat >>confdefs.h <<\_ACEOF
46019 #define wxUSE_GRAPHICS_CONTEXT 1
46029 if test "$wxUSE_MEDIACTRL" = "yes"; then
46032 if test "$wxUSE_GTK" = 1; then
46033 wxUSE_GSTREAMER="no"
46035 GST_VERSION_MAJOR=0
46036 GST_VERSION_MINOR=10
46037 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46039 if test "$wxUSE_GSTREAMER8" = "no"; then
46042 { echo "$as_me:$LINENO: checking for GST" >&5
46043 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46045 if test -n "$PKG_CONFIG"; then
46046 if test -n "$GST_CFLAGS"; then
46047 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46049 if test -n "$PKG_CONFIG" && \
46050 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46051 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46054 (exit $ac_status); }; then
46055 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46063 if test -n "$PKG_CONFIG"; then
46064 if test -n "$GST_LIBS"; then
46065 pkg_cv_GST_LIBS="$GST_LIBS"
46067 if test -n "$PKG_CONFIG" && \
46068 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46069 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46072 (exit $ac_status); }; then
46073 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46084 if test $pkg_failed = yes; then
46086 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46087 _pkg_short_errors_supported=yes
46089 _pkg_short_errors_supported=no
46091 if test $_pkg_short_errors_supported = yes; then
46092 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46094 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46096 # Put the nasty error message in config.log where it belongs
46097 echo "$GST_PKG_ERRORS" >&5
46100 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46101 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46102 GST_VERSION_MINOR=8
46105 elif test $pkg_failed = untried; then
46107 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46108 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46109 GST_VERSION_MINOR=8
46113 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46114 GST_LIBS=$pkg_cv_GST_LIBS
46115 { echo "$as_me:$LINENO: result: yes" >&5
46116 echo "${ECHO_T}yes" >&6; }
46118 wxUSE_GSTREAMER="yes"
46119 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46123 GST_VERSION_MINOR=8
46126 if test $GST_VERSION_MINOR = "8"; then
46127 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46130 { echo "$as_me:$LINENO: checking for GST" >&5
46131 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46133 if test -n "$PKG_CONFIG"; then
46134 if test -n "$GST_CFLAGS"; then
46135 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46137 if test -n "$PKG_CONFIG" && \
46138 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46139 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46142 (exit $ac_status); }; then
46143 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46151 if test -n "$PKG_CONFIG"; then
46152 if test -n "$GST_LIBS"; then
46153 pkg_cv_GST_LIBS="$GST_LIBS"
46155 if test -n "$PKG_CONFIG" && \
46156 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46157 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46160 (exit $ac_status); }; then
46161 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46172 if test $pkg_failed = yes; then
46174 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46175 _pkg_short_errors_supported=yes
46177 _pkg_short_errors_supported=no
46179 if test $_pkg_short_errors_supported = yes; then
46180 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46182 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46184 # Put the nasty error message in config.log where it belongs
46185 echo "$GST_PKG_ERRORS" >&5
46188 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46189 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46191 elif test $pkg_failed = untried; then
46193 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46194 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46197 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46198 GST_LIBS=$pkg_cv_GST_LIBS
46199 { echo "$as_me:$LINENO: result: yes" >&5
46200 echo "${ECHO_T}yes" >&6; }
46201 wxUSE_GSTREAMER="yes"
46206 if test "$wxUSE_GSTREAMER" = "yes"; then
46207 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46208 EXTRALIBS_MEDIA="$GST_LIBS"
46210 cat >>confdefs.h <<\_ACEOF
46211 #define wxUSE_GSTREAMER 1
46219 if test $USE_MEDIA = 1; then
46220 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46221 cat >>confdefs.h <<\_ACEOF
46222 #define wxUSE_MEDIACTRL 1
46229 if test "$cross_compiling" = "yes"; then
46232 OSINFO=`uname -s -r -m`
46233 OSINFO="\"$OSINFO\""
46236 cat >>confdefs.h <<_ACEOF
46237 #define WXWIN_OS_DESCRIPTION $OSINFO
46242 if test "x$prefix" != "xNONE"; then
46245 wxPREFIX=$ac_default_prefix
46248 cat >>confdefs.h <<_ACEOF
46249 #define wxINSTALL_PREFIX "$wxPREFIX"
46255 STD_BASE_LIBS="base"
46257 BUILT_WX_LIBS="base"
46258 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46260 if test "$wxUSE_SOCKETS" = "yes" ; then
46261 STD_BASE_LIBS="net $STD_BASE_LIBS"
46262 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46264 if test "$wxUSE_XML" = "yes" ; then
46265 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46266 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46269 if test "$wxUSE_GUI" = "yes"; then
46270 STD_GUI_LIBS="adv core"
46271 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46273 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46274 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46275 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46277 if test "$wxUSE_HTML" = "yes" ; then
46278 STD_GUI_LIBS="html $STD_GUI_LIBS"
46279 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46281 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46282 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46284 if test "$wxUSE_OPENGL" = "yes" ; then
46285 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46287 if test "$wxUSE_AUI" = "yes" ; then
46288 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46290 if test "$wxUSE_STC" = "yes" ; then
46291 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46293 if test "$wxUSE_XRC" = "yes" ; then
46294 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46295 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46306 if test "$wxUSE_MAC" = 1 ; then
46307 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46308 if test "$USE_DARWIN" = 1; then
46309 LDFLAGS="$LDFLAGS -framework QuickTime"
46311 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46314 if test "$USE_DARWIN" = 1; then
46315 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46317 LDFLAGS="$LDFLAGS -lCarbonLib"
46320 if test "$wxUSE_COCOA" = 1 ; then
46321 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46322 if test "$wxUSE_MEDIACTRL" = "yes"; then
46323 LDFLAGS="$LDFLAGS -framework QuickTime"
46326 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46327 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46330 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46332 if test "$wxUSE_GUI" = "yes"; then
46335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46336 erase event exec font image minimal mobile \
46337 mobile/wxedit mobile/styles render \
46338 shaped svg taborder vscroll widgets"
46340 if test "$wxUSE_MONOLITHIC" != "yes"; then
46341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46343 if test "$TOOLKIT" = "MSW"; then
46344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46345 if test "$wxUSE_UNIVERSAL" != "yes"; then
46346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46349 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46350 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46353 SAMPLES_SUBDIRS="console"
46354 if test "$wxUSE_SOCKETS" = "yes" ; then
46355 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46360 if test "x$INTELCC" = "xyes" ; then
46361 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46362 elif test "$GCC" = yes ; then
46363 CWARNINGS="-Wall -Wundef"
46366 if test "x$INTELCXX" = "xyes" ; then
46367 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46368 elif test "$GXX" = yes ; then
46369 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46373 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46374 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46377 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46378 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46379 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46382 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46383 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46384 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46386 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46389 if test "x$MWCC" = "xyes"; then
46391 CC="$CC -cwd source -I-"
46392 CXX="$CXX -cwd source -I-"
46397 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46398 EXTRALIBS_XML="$EXPAT_LINK"
46399 EXTRALIBS_HTML="$MSPACK_LINK"
46400 EXTRALIBS_MEDIA="$GST_LIBS"
46401 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46402 if test "$wxUSE_GUI" = "yes"; then
46403 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46405 if test "$wxUSE_OPENGL" = "yes"; then
46406 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46409 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46411 WXCONFIG_LIBS="$LIBS"
46413 if test "$wxUSE_REGEX" = "builtin" ; then
46414 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46416 if test "$wxUSE_EXPAT" = "builtin" ; then
46417 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46419 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46420 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46422 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46423 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46425 if test "$wxUSE_LIBPNG" = "builtin" ; then
46426 wxconfig_3rdparty="png $wxconfig_3rdparty"
46428 if test "$wxUSE_ZLIB" = "builtin" ; then
46429 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46432 for i in $wxconfig_3rdparty ; do
46433 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46437 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46440 case "$wxUNIV_THEMES" in
46442 cat >>confdefs.h <<\_ACEOF
46443 #define wxUSE_ALL_THEMES 1
46449 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46450 cat >>confdefs.h <<_ACEOF
46451 #define wxUSE_THEME_$t 1
46467 if test $wxUSE_MONOLITHIC = "yes" ; then
46473 if test $wxUSE_PLUGINS = "yes" ; then
46479 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46485 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46517 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
46528 TOOLKIT_DESC="GTK+"
46529 if test "$WXGTK2" = 1; then
46530 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46531 if test "$wxUSE_GTKPRINT" = "yes" ; then
46532 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46534 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46535 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46537 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46538 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46540 if test "$wxUSE_LIBHILDON" = "yes"; then
46541 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46544 if test "$TOOLKIT_EXTRA" != ""; then
46545 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46551 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46555 TOOLKIT_DESC="base only"
46559 if test "$wxUSE_WINE" = "yes"; then
46560 BAKEFILE_FORCE_PLATFORM=win32
46563 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46565 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46566 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46567 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46568 echo $ECHO_N "(cached) $ECHO_C" >&6
46571 echo '#include <stdio.h>
46572 const wchar_t test_var[] = L"awidetest";' > conftest.h
46574 echo '#include "conftest.h"
46577 printf("%ls", test_var);
46581 wx_cv_gcc_pch_bug="pch not supported"
46583 if $CXX conftest.h >/dev/null 2>&1
46587 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46589 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46590 grep awidetest >/dev/null
46592 wx_cv_gcc_pch_bug=no
46594 wx_cv_gcc_pch_bug=yes
46599 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46602 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46603 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46605 if test "$wx_cv_gcc_pch_bug" = yes; then
46613 if test "x$BAKEFILE_HOST" = "x"; then
46614 if test "x${host}" = "x" ; then
46615 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46616 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46617 { (exit 1); exit 1; }; }
46620 BAKEFILE_HOST="${host}"
46623 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46625 if test -n "$ac_tool_prefix"; then
46626 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46627 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46630 if test "${ac_cv_prog_RANLIB+set}" = set; then
46631 echo $ECHO_N "(cached) $ECHO_C" >&6
46633 if test -n "$RANLIB"; then
46634 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46637 for as_dir in $PATH
46640 test -z "$as_dir" && as_dir=.
46641 for ac_exec_ext in '' $ac_executable_extensions; do
46642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46643 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46653 RANLIB=$ac_cv_prog_RANLIB
46654 if test -n "$RANLIB"; then
46655 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46656 echo "${ECHO_T}$RANLIB" >&6; }
46658 { echo "$as_me:$LINENO: result: no" >&5
46659 echo "${ECHO_T}no" >&6; }
46664 if test -z "$ac_cv_prog_RANLIB"; then
46665 ac_ct_RANLIB=$RANLIB
46666 # Extract the first word of "ranlib", so it can be a program name with args.
46667 set dummy ranlib; ac_word=$2
46668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46670 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46671 echo $ECHO_N "(cached) $ECHO_C" >&6
46673 if test -n "$ac_ct_RANLIB"; then
46674 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46677 for as_dir in $PATH
46680 test -z "$as_dir" && as_dir=.
46681 for ac_exec_ext in '' $ac_executable_extensions; do
46682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46683 ac_cv_prog_ac_ct_RANLIB="ranlib"
46684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46693 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46694 if test -n "$ac_ct_RANLIB"; then
46695 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46696 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46698 { echo "$as_me:$LINENO: result: no" >&5
46699 echo "${ECHO_T}no" >&6; }
46702 if test "x$ac_ct_RANLIB" = x; then
46705 case $cross_compiling:$ac_tool_warned in
46707 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46708 whose name does not start with the host triplet. If you think this
46709 configuration is useful to you, please write to autoconf@gnu.org." >&5
46710 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46711 whose name does not start with the host triplet. If you think this
46712 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46713 ac_tool_warned=yes ;;
46715 RANLIB=$ac_ct_RANLIB
46718 RANLIB="$ac_cv_prog_RANLIB"
46721 # Find a good install program. We prefer a C program (faster),
46722 # so one script is as good as another. But avoid the broken or
46723 # incompatible versions:
46724 # SysV /etc/install, /usr/sbin/install
46725 # SunOS /usr/etc/install
46726 # IRIX /sbin/install
46728 # AmigaOS /C/install, which installs bootblocks on floppy discs
46729 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46730 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46731 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46732 # OS/2's system install, which has a completely different semantic
46733 # ./install, which can be erroneously created by make from ./install.sh.
46734 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46735 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46736 if test -z "$INSTALL"; then
46737 if test "${ac_cv_path_install+set}" = set; then
46738 echo $ECHO_N "(cached) $ECHO_C" >&6
46740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46741 for as_dir in $PATH
46744 test -z "$as_dir" && as_dir=.
46745 # Account for people who put trailing slashes in PATH elements.
46747 ./ | .// | /cC/* | \
46748 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46749 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46752 # OSF1 and SCO ODT 3.0 have their own names for install.
46753 # Don't use installbsd from OSF since it installs stuff as root
46755 for ac_prog in ginstall scoinst install; do
46756 for ac_exec_ext in '' $ac_executable_extensions; do
46757 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46758 if test $ac_prog = install &&
46759 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46760 # AIX install. It has an incompatible calling convention.
46762 elif test $ac_prog = install &&
46763 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46764 # program-specific install script used by HP pwplus--don't use.
46767 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46780 if test "${ac_cv_path_install+set}" = set; then
46781 INSTALL=$ac_cv_path_install
46783 # As a last resort, use the slow shell script. Don't cache a
46784 # value for INSTALL within a source directory, because that will
46785 # break other packages using the cache if that directory is
46786 # removed, or if the value is a relative name.
46787 INSTALL=$ac_install_sh
46790 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46791 echo "${ECHO_T}$INSTALL" >&6; }
46793 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46794 # It thinks the first close brace ends the variable substitution.
46795 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46797 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46799 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46801 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46802 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46804 if test "$LN_S" = "ln -s"; then
46805 { echo "$as_me:$LINENO: result: yes" >&5
46806 echo "${ECHO_T}yes" >&6; }
46808 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46809 echo "${ECHO_T}no, using $LN_S" >&6; }
46813 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46814 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46815 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46816 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46817 echo $ECHO_N "(cached) $ECHO_C" >&6
46819 cat >conftest.make <<\_ACEOF
46822 @echo '@@@%%%=$(MAKE)=@@@%%%'
46824 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46825 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46826 *@@@%%%=?*=@@@%%%*)
46827 eval ac_cv_prog_make_${ac_make}_set=yes;;
46829 eval ac_cv_prog_make_${ac_make}_set=no;;
46831 rm -f conftest.make
46833 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46834 { echo "$as_me:$LINENO: result: yes" >&5
46835 echo "${ECHO_T}yes" >&6; }
46838 { echo "$as_me:$LINENO: result: no" >&5
46839 echo "${ECHO_T}no" >&6; }
46840 SET_MAKE="MAKE=${MAKE-make}"
46845 if test "x$SUNCXX" = "xyes"; then
46847 AROPTIONS="-xar -o"
46849 elif test "x$SGICC" = "xyes"; then
46854 if test -n "$ac_tool_prefix"; then
46855 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46856 set dummy ${ac_tool_prefix}ar; ac_word=$2
46857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46859 if test "${ac_cv_prog_AR+set}" = set; then
46860 echo $ECHO_N "(cached) $ECHO_C" >&6
46862 if test -n "$AR"; then
46863 ac_cv_prog_AR="$AR" # Let the user override the test.
46865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46866 for as_dir in $PATH
46869 test -z "$as_dir" && as_dir=.
46870 for ac_exec_ext in '' $ac_executable_extensions; do
46871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46872 ac_cv_prog_AR="${ac_tool_prefix}ar"
46873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46883 if test -n "$AR"; then
46884 { echo "$as_me:$LINENO: result: $AR" >&5
46885 echo "${ECHO_T}$AR" >&6; }
46887 { echo "$as_me:$LINENO: result: no" >&5
46888 echo "${ECHO_T}no" >&6; }
46893 if test -z "$ac_cv_prog_AR"; then
46895 # Extract the first word of "ar", so it can be a program name with args.
46896 set dummy ar; ac_word=$2
46897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46899 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46900 echo $ECHO_N "(cached) $ECHO_C" >&6
46902 if test -n "$ac_ct_AR"; then
46903 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46906 for as_dir in $PATH
46909 test -z "$as_dir" && as_dir=.
46910 for ac_exec_ext in '' $ac_executable_extensions; do
46911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46912 ac_cv_prog_ac_ct_AR="ar"
46913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46922 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46923 if test -n "$ac_ct_AR"; then
46924 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46925 echo "${ECHO_T}$ac_ct_AR" >&6; }
46927 { echo "$as_me:$LINENO: result: no" >&5
46928 echo "${ECHO_T}no" >&6; }
46931 if test "x$ac_ct_AR" = x; then
46934 case $cross_compiling:$ac_tool_warned in
46936 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46937 whose name does not start with the host triplet. If you think this
46938 configuration is useful to you, please write to autoconf@gnu.org." >&5
46939 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46940 whose name does not start with the host triplet. If you think this
46941 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46942 ac_tool_warned=yes ;;
46947 AR="$ac_cv_prog_AR"
46954 if test -n "$ac_tool_prefix"; then
46955 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46956 set dummy ${ac_tool_prefix}strip; ac_word=$2
46957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46959 if test "${ac_cv_prog_STRIP+set}" = set; then
46960 echo $ECHO_N "(cached) $ECHO_C" >&6
46962 if test -n "$STRIP"; then
46963 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46966 for as_dir in $PATH
46969 test -z "$as_dir" && as_dir=.
46970 for ac_exec_ext in '' $ac_executable_extensions; do
46971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46972 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46982 STRIP=$ac_cv_prog_STRIP
46983 if test -n "$STRIP"; then
46984 { echo "$as_me:$LINENO: result: $STRIP" >&5
46985 echo "${ECHO_T}$STRIP" >&6; }
46987 { echo "$as_me:$LINENO: result: no" >&5
46988 echo "${ECHO_T}no" >&6; }
46993 if test -z "$ac_cv_prog_STRIP"; then
46995 # Extract the first word of "strip", so it can be a program name with args.
46996 set dummy strip; ac_word=$2
46997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46999 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47000 echo $ECHO_N "(cached) $ECHO_C" >&6
47002 if test -n "$ac_ct_STRIP"; then
47003 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47006 for as_dir in $PATH
47009 test -z "$as_dir" && as_dir=.
47010 for ac_exec_ext in '' $ac_executable_extensions; do
47011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47012 ac_cv_prog_ac_ct_STRIP="strip"
47013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47022 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47023 if test -n "$ac_ct_STRIP"; then
47024 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47025 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47027 { echo "$as_me:$LINENO: result: no" >&5
47028 echo "${ECHO_T}no" >&6; }
47031 if test "x$ac_ct_STRIP" = x; then
47034 case $cross_compiling:$ac_tool_warned in
47036 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47037 whose name does not start with the host triplet. If you think this
47038 configuration is useful to you, please write to autoconf@gnu.org." >&5
47039 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47040 whose name does not start with the host triplet. If you think this
47041 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47042 ac_tool_warned=yes ;;
47047 STRIP="$ac_cv_prog_STRIP"
47050 if test -n "$ac_tool_prefix"; then
47051 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47052 set dummy ${ac_tool_prefix}nm; ac_word=$2
47053 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47055 if test "${ac_cv_prog_NM+set}" = set; then
47056 echo $ECHO_N "(cached) $ECHO_C" >&6
47058 if test -n "$NM"; then
47059 ac_cv_prog_NM="$NM" # Let the user override the test.
47061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47062 for as_dir in $PATH
47065 test -z "$as_dir" && as_dir=.
47066 for ac_exec_ext in '' $ac_executable_extensions; do
47067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47068 ac_cv_prog_NM="${ac_tool_prefix}nm"
47069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47079 if test -n "$NM"; then
47080 { echo "$as_me:$LINENO: result: $NM" >&5
47081 echo "${ECHO_T}$NM" >&6; }
47083 { echo "$as_me:$LINENO: result: no" >&5
47084 echo "${ECHO_T}no" >&6; }
47089 if test -z "$ac_cv_prog_NM"; then
47091 # Extract the first word of "nm", so it can be a program name with args.
47092 set dummy nm; ac_word=$2
47093 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47095 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47096 echo $ECHO_N "(cached) $ECHO_C" >&6
47098 if test -n "$ac_ct_NM"; then
47099 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47102 for as_dir in $PATH
47105 test -z "$as_dir" && as_dir=.
47106 for ac_exec_ext in '' $ac_executable_extensions; do
47107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47108 ac_cv_prog_ac_ct_NM="nm"
47109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47118 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47119 if test -n "$ac_ct_NM"; then
47120 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47121 echo "${ECHO_T}$ac_ct_NM" >&6; }
47123 { echo "$as_me:$LINENO: result: no" >&5
47124 echo "${ECHO_T}no" >&6; }
47127 if test "x$ac_ct_NM" = x; then
47130 case $cross_compiling:$ac_tool_warned in
47132 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47133 whose name does not start with the host triplet. If you think this
47134 configuration is useful to you, please write to autoconf@gnu.org." >&5
47135 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47136 whose name does not start with the host triplet. If you think this
47137 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47138 ac_tool_warned=yes ;;
47143 NM="$ac_cv_prog_NM"
47147 case ${BAKEFILE_HOST} in
47149 INSTALL_DIR="mkdir -p"
47152 INSTALL_DIR='$(INSTALL) -d'
47158 case ${BAKEFILE_HOST} in
47159 *-*-cygwin* | *-*-mingw32* )
47160 LDFLAGS_GUI="-mwindows"
47166 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47167 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47168 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47169 echo $ECHO_N "(cached) $ECHO_C" >&6
47172 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47173 egrep -s GNU > /dev/null); then
47174 bakefile_cv_prog_makeisgnu="yes"
47176 bakefile_cv_prog_makeisgnu="no"
47180 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47181 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47183 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47200 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47201 case "${BAKEFILE_HOST}" in
47208 *-pc-os2_emx | *-pc-os2-emx )
47218 powerpc-apple-macos* )
47227 case "$BAKEFILE_FORCE_PLATFORM" in
47262 # Check whether --enable-omf was given.
47263 if test "${enable_omf+set}" = set; then
47264 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47268 case "${BAKEFILE_HOST}" in
47270 if test "x$GCC" = "xyes"; then
47271 CFLAGS="$CFLAGS -fno-common"
47272 CXXFLAGS="$CXXFLAGS -fno-common"
47274 if test "x$XLCC" = "xyes"; then
47275 CFLAGS="$CFLAGS -qnocommon"
47276 CXXFLAGS="$CXXFLAGS -qnocommon"
47280 *-pc-os2_emx | *-pc-os2-emx )
47281 if test "x$bk_os2_use_omf" = "xyes" ; then
47284 LDFLAGS="-Zomf $LDFLAGS"
47285 CFLAGS="-Zomf $CFLAGS"
47286 CXXFLAGS="-Zomf $CXXFLAGS"
47294 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47300 SO_SUFFIX_MODULE="so"
47305 DLLPREFIX_MODULE=""
47309 case "${BAKEFILE_HOST}" in
47312 SO_SUFFIX_MODULE="sl"
47316 SO_SUFFIX_MODULE="a"
47320 SO_SUFFIX_MODULE="dll"
47321 DLLIMP_SUFFIX="dll.a"
47328 SO_SUFFIX_MODULE="dll"
47329 DLLIMP_SUFFIX="dll.a"
47339 *-pc-os2_emx | *-pc-os2-emx )
47341 SO_SUFFIX_MODULE="dll"
47342 DLLIMP_SUFFIX=$OS2_LIBEXT
47346 LIBEXT=".$OS2_LIBEXT"
47351 SO_SUFFIX_MODULE="bundle"
47355 if test "x$DLLIMP_SUFFIX" = "x" ; then
47356 DLLIMP_SUFFIX="$SO_SUFFIX"
47371 if test "x$GCC" = "xyes"; then
47375 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47376 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47379 case "${BAKEFILE_HOST}" in
47381 if test "x$GCC" != "xyes"; then
47382 LDFLAGS="$LDFLAGS -L/usr/lib"
47384 SHARED_LD_CC="${CC} -b -o"
47385 SHARED_LD_CXX="${CXX} -b -o"
47391 if test "$INTELCC" = "yes"; then
47393 elif test "x$SUNCXX" = "xyes"; then
47394 SHARED_LD_CC="${CC} -G -o"
47395 SHARED_LD_CXX="${CXX} -G -o"
47401 if test "x$SUNCXX" = xyes ; then
47402 SHARED_LD_CC="${CC} -G -o"
47403 SHARED_LD_CXX="${CXX} -G -o"
47411 cat <<EOF >shared-ld-sh
47413 #-----------------------------------------------------------------------------
47414 #-- Name: distrib/mac/shared-ld-sh
47415 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47416 #-- Author: Gilles Depeyrot
47417 #-- Copyright: (c) 2002 Gilles Depeyrot
47418 #-- Licence: any use permitted
47419 #-----------------------------------------------------------------------------
47424 linking_flag="-dynamiclib"
47425 ldargs="-r -keep_private_externs -nostdlib"
47427 while test ${D}# -gt 0; do
47434 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47435 # collect these options and values
47436 args="${D}{args} ${D}1 ${D}2"
47441 # collect these load args
47442 ldargs="${D}{ldargs} ${D}1"
47445 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47446 # collect these options
47447 args="${D}{args} ${D}1"
47450 -dynamiclib|-bundle)
47451 linking_flag="${D}1"
47455 echo "shared-ld: unhandled option '${D}1'"
47459 *.o | *.a | *.dylib)
47460 # collect object files
47461 objects="${D}{objects} ${D}1"
47465 echo "shared-ld: unhandled argument '${D}1'"
47476 # Link one module containing all the others
47478 if test ${D}{verbose} = 1; then
47479 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47481 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47485 # Link the shared library from the single module created, but only if the
47486 # previous command didn't fail:
47488 if test ${D}{status} = 0; then
47489 if test ${D}{verbose} = 1; then
47490 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47492 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47497 # Remove intermediate module
47499 rm -f master.${D}${D}.o
47504 chmod +x shared-ld-sh
47506 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47507 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47510 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47511 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47512 if test "${bakefile_cv_gcc31+set}" = set; then
47513 echo $ECHO_N "(cached) $ECHO_C" >&6
47516 cat >conftest.$ac_ext <<_ACEOF
47519 cat confdefs.h >>conftest.$ac_ext
47520 cat >>conftest.$ac_ext <<_ACEOF
47521 /* end confdefs.h. */
47527 #if (__GNUC__ < 3) || \
47528 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47536 rm -f conftest.$ac_objext
47537 if { (ac_try="$ac_compile"
47538 case "(($ac_try" in
47539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47540 *) ac_try_echo=$ac_try;;
47542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47543 (eval "$ac_compile") 2>conftest.er1
47545 grep -v '^ *+' conftest.er1 >conftest.err
47547 cat conftest.err >&5
47548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47549 (exit $ac_status); } && {
47550 test -z "$ac_c_werror_flag" ||
47551 test ! -s conftest.err
47552 } && test -s conftest.$ac_objext; then
47554 bakefile_cv_gcc31=yes
47557 echo "$as_me: failed program was:" >&5
47558 sed 's/^/| /' conftest.$ac_ext >&5
47561 bakefile_cv_gcc31=no
47566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47569 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47570 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47571 if test "$bakefile_cv_gcc31" = "no"; then
47572 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47573 SHARED_LD_CXX="$SHARED_LD_CC"
47575 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47576 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47579 if test "x$GCC" == "xyes"; then
47580 PIC_FLAG="-dynamic -fPIC"
47582 if test "x$XLCC" = "xyes"; then
47583 PIC_FLAG="-dynamic -DPIC"
47588 if test "x$GCC" = "xyes"; then
47591 case "${BAKEFILE_HOST}" in
47593 LD_EXPFULL="-Wl,-bexpfull"
47597 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47598 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47600 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47601 set dummy makeC++SharedLib; ac_word=$2
47602 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47604 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47605 echo $ECHO_N "(cached) $ECHO_C" >&6
47607 if test -n "$AIX_CXX_LD"; then
47608 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47611 for as_dir in $PATH
47614 test -z "$as_dir" && as_dir=.
47615 for ac_exec_ext in '' $ac_executable_extensions; do
47616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47617 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47625 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47628 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47629 if test -n "$AIX_CXX_LD"; then
47630 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47631 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47633 { echo "$as_me:$LINENO: result: no" >&5
47634 echo "${ECHO_T}no" >&6; }
47638 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47639 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47644 SHARED_LD_CC="${LD} -nostart -o"
47645 SHARED_LD_CXX="${LD} -nostart -o"
47649 if test "x$GCC" != "xyes"; then
47654 *-*-cygwin* | *-*-mingw32* )
47656 SHARED_LD_CC="\$(CC) -shared -o"
47657 SHARED_LD_CXX="\$(CXX) -shared -o"
47661 *-pc-os2_emx | *-pc-os2-emx )
47662 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47663 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47667 cat <<EOF >dllar.sh
47670 # dllar - a tool to build both a .dll and an .a file
47671 # from a set of object (.o) files for EMX/OS2.
47673 # Written by Andrew Zabolotny, bit@freya.etu.ru
47674 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47676 # This script will accept a set of files on the command line.
47677 # All the public symbols from the .o files will be exported into
47678 # a .DEF file, then linker will be run (through gcc) against them to
47679 # build a shared library consisting of all given .o files. All libraries
47680 # (.a) will be first decompressed into component .o files then act as
47681 # described above. You can optionally give a description (-d "description")
47682 # which will be put into .DLL. To see the list of accepted options (as well
47683 # as command-line format) simply run this program without options. The .DLL
47684 # is built to be imported by name (there is no guarantee that new versions
47685 # of the library you build will have same ordinals for same symbols).
47687 # dllar is free software; you can redistribute it and/or modify
47688 # it under the terms of the GNU General Public License as published by
47689 # the Free Software Foundation; either version 2, or (at your option)
47690 # any later version.
47692 # dllar is distributed in the hope that it will be useful,
47693 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47694 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47695 # GNU General Public License for more details.
47697 # You should have received a copy of the GNU General Public License
47698 # along with dllar; see the file COPYING. If not, write to the Free
47699 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47702 # To successfuly run this program you will need:
47703 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47704 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47706 # (used to build the .dll)
47708 # (used to create .def file from .o files)
47710 # (used to create .a file from .def file)
47711 # - GNU text utilites (cat, sort, uniq)
47712 # used to process emxexp output
47713 # - GNU file utilities (mv, rm)
47715 # - lxlite (optional, see flag below)
47716 # (used for general .dll cleanup)
47723 # basnam, variant of basename, which does _not_ remove the path, _iff_
47724 # second argument (suffix to remove) is given
47728 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47731 echo ${D}1 | sed 's/'${D}2'${D}//'
47734 echo "error in basnam ${D}*"
47740 # Cleanup temporary files and output
47743 for i in ${D}inputFiles ; do
47746 rm -rf \`basnam ${D}i !\`
47753 # Kill result in case of failure as there is just to many stupid make/nmake
47754 # things out there which doesn't do this.
47755 if [ ${D}# -eq 0 ]; then
47756 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47760 # Print usage and exit script with rc=1.
47762 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47763 echo ' [-name-mangler-script script.sh]'
47764 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47765 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47766 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47767 echo ' [*.o] [*.a]'
47768 echo '*> "output_file" should have no extension.'
47769 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47770 echo ' The import library name is derived from this and is set to "name".a,'
47771 echo ' unless overridden by -import'
47772 echo '*> "importlib_name" should have no extension.'
47773 echo ' If it has the .o, or .a extension, it is automatically removed.'
47774 echo ' This name is used as the import library name and may be longer and'
47775 echo ' more descriptive than the DLL name which has to follow the old '
47776 echo ' 8.3 convention of FAT.'
47777 echo '*> "script.sh may be given to override the output_file name by a'
47778 echo ' different name. It is mainly useful if the regular make process'
47779 echo ' of some package does not take into account OS/2 restriction of'
47780 echo ' DLL name lengths. It takes the importlib name as input and is'
47781 echo ' supposed to procude a shorter name as output. The script should'
47782 echo ' expect to get importlib_name without extension and should produce'
47783 echo ' a (max.) 8 letter name without extension.'
47784 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47785 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47786 echo ' These flags will be put at the start of GCC command line.'
47787 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47788 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47789 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47790 echo ' If the last character of a symbol is "*", all symbols beginning'
47791 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47792 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47793 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47794 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47795 echo ' C runtime DLLs.'
47796 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47797 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47798 echo ' unchanged to GCC at the end of command line.'
47799 echo '*> If you create a DLL from a library and you do not specify -o,'
47800 echo ' the basename for DLL and import library will be set to library name,'
47801 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47802 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47803 echo ' library will be renamed into gcc_s.a.'
47806 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47807 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47812 # Execute a command.
47813 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47814 # @Uses Whatever CleanUp() uses.
47820 if [ ${D}rcCmd -ne 0 ]; then
47821 echo "command failed, exit code="${D}rcCmd
47836 CFLAGS="-s -Zcrtdll"
47838 EXPORT_BY_ORDINALS=0
47843 case ${D}curDirS in
47847 curDirS=${D}{curDirS}"/"
47850 # Parse commandline
47853 while [ ${D}1 ]; do
47856 EXPORT_BY_ORDINALS=1;
47866 -name-mangler-script)
47887 exclude_symbols=${D}{exclude_symbols}${D}1" "
47891 library_flags=${D}{library_flags}${D}1" "
47910 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47913 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47914 if [ ${D}omfLinking -eq 1 ]; then
47915 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47917 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47922 if [ ${D}libsToLink -ne 0 ]; then
47923 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47925 for file in ${D}1 ; do
47926 if [ -f ${D}file ]; then
47927 inputFiles="${D}{inputFiles} ${D}file"
47931 if [ ${D}found -eq 0 ]; then
47932 echo "ERROR: No file(s) found: "${D}1
47939 done # iterate cmdline words
47942 if [ -z "${D}inputFiles" ]; then
47943 echo "dllar: no input files"
47947 # Now extract all .o files from .a files
47949 for file in ${D}inputFiles ; do
47960 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47965 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47967 if [ ${D}? -ne 0 ]; then
47968 echo "Failed to create subdirectory ./${D}dirname"
47972 # Append '!' to indicate archive
47973 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47974 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47977 for subfile in ${D}dirname/*.o* ; do
47978 if [ -f ${D}subfile ]; then
47980 if [ -s ${D}subfile ]; then
47981 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47982 newInputFiles="${D}newInputFiles ${D}subfile"
47986 if [ ${D}found -eq 0 ]; then
47987 echo "WARNING: there are no files in archive \\'${D}file\\'"
47991 newInputFiles="${D}{newInputFiles} ${D}file"
47995 inputFiles="${D}newInputFiles"
47997 # Output filename(s).
47999 if [ -z ${D}outFile ]; then
48001 set outFile ${D}inputFiles; outFile=${D}2
48004 # If it is an archive, remove the '!' and the '_%' suffixes
48005 case ${D}outFile in
48007 outFile=\`basnam ${D}outFile _%!\`
48012 case ${D}outFile in
48014 outFile=\`basnam ${D}outFile .dll\`
48017 outFile=\`basnam ${D}outFile .DLL\`
48020 outFile=\`basnam ${D}outFile .o\`
48023 outFile=\`basnam ${D}outFile .obj\`
48026 outFile=\`basnam ${D}outFile .a\`
48029 outFile=\`basnam ${D}outFile .lib\`
48034 case ${D}outimpFile in
48036 outimpFile=\`basnam ${D}outimpFile .a\`
48039 outimpFile=\`basnam ${D}outimpFile .lib\`
48044 if [ -z ${D}outimpFile ]; then
48045 outimpFile=${D}outFile
48047 defFile="${D}{outFile}.def"
48048 arcFile="${D}{outimpFile}.a"
48049 arcFile2="${D}{outimpFile}.lib"
48051 #create ${D}dllFile as something matching 8.3 restrictions,
48052 if [ -z ${D}renameScript ] ; then
48053 dllFile="${D}outFile"
48055 dllFile=\`${D}renameScript ${D}outimpFile\`
48058 if [ ${D}do_backup -ne 0 ] ; then
48059 if [ -f ${D}arcFile ] ; then
48060 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48062 if [ -f ${D}arcFile2 ] ; then
48063 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48067 # Extract public symbols from all the object files.
48068 tmpdefFile=${D}{defFile}_%
48069 rm -f ${D}tmpdefFile
48070 for file in ${D}inputFiles ; do
48075 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48080 # Create the def file.
48082 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48083 dllFile="${D}{dllFile}.dll"
48084 if [ ! -z ${D}description ]; then
48085 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48087 echo "EXPORTS" >> ${D}defFile
48089 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48090 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48092 # Checks if the export is ok or not.
48093 for word in ${D}exclude_symbols; do
48094 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48095 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48099 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48100 sed "=" < ${D}tmpdefFile | \\
48104 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48106 ' > ${D}{tmpdefFile}%
48107 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48109 rm -f ${D}{tmpdefFile}%
48111 cat ${D}tmpdefFile >> ${D}defFile
48112 rm -f ${D}tmpdefFile
48114 # Do linking, create implib, and apply lxlite.
48116 for file in ${D}inputFiles ; do
48121 gccCmdl="${D}gccCmdl ${D}file"
48125 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48126 touch "${D}{outFile}.dll"
48128 doCommand "emximp -o ${D}arcFile ${D}defFile"
48129 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48131 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48134 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48136 doCommand "emxomf -s -l ${D}arcFile"
48146 powerpc-apple-macos* | \
48147 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48157 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48158 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48159 { (exit 1); exit 1; }; }
48162 if test "x$PIC_FLAG" != "x" ; then
48163 PIC_FLAG="$PIC_FLAG -DPIC"
48166 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48167 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48169 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48170 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48189 case "${BAKEFILE_HOST}" in
48190 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48191 if test "x$SUNCXX" = "xyes"; then
48194 SONAME_FLAG="-Wl,-soname,"
48229 # Check whether --enable-dependency-tracking was given.
48230 if test "${enable_dependency_tracking+set}" = set; then
48231 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48235 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48236 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48239 if test "x$bk_use_trackdeps" = "xno" ; then
48241 { echo "$as_me:$LINENO: result: disabled" >&5
48242 echo "${ECHO_T}disabled" >&6; }
48246 if test "x$GCC" = "xyes"; then
48248 case "${BAKEFILE_HOST}" in
48250 DEPSFLAG="-no-cpp-precomp -MMD"
48256 { echo "$as_me:$LINENO: result: gcc" >&5
48257 echo "${ECHO_T}gcc" >&6; }
48258 elif test "x$MWCC" = "xyes"; then
48261 { echo "$as_me:$LINENO: result: mwcc" >&5
48262 echo "${ECHO_T}mwcc" >&6; }
48263 elif test "x$SUNCC" = "xyes"; then
48266 { echo "$as_me:$LINENO: result: Sun cc" >&5
48267 echo "${ECHO_T}Sun cc" >&6; }
48268 elif test "x$SGICC" = "xyes"; then
48271 { echo "$as_me:$LINENO: result: SGI cc" >&5
48272 echo "${ECHO_T}SGI cc" >&6; }
48273 elif test "x$HPCC" = "xyes"; then
48276 { echo "$as_me:$LINENO: result: HP cc" >&5
48277 echo "${ECHO_T}HP cc" >&6; }
48278 elif test "x$COMPAQCC" = "xyes"; then
48281 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48282 echo "${ECHO_T}Compaq cc" >&6; }
48285 { echo "$as_me:$LINENO: result: none" >&5
48286 echo "${ECHO_T}none" >&6; }
48289 if test $DEPS_TRACKING = 1 ; then
48295 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48296 # script. It is used to track C/C++ files dependencies in portable way.
48298 # Permission is given to use this file in any way.
48300 DEPSMODE=${DEPSMODE}
48302 DEPSFLAG="${DEPSFLAG}"
48304 mkdir -p ${D}DEPSDIR
48306 if test ${D}DEPSMODE = gcc ; then
48307 ${D}* ${D}{DEPSFLAG}
48309 if test ${D}{status} != 0 ; then
48312 # move created file to the location we want it in:
48313 while test ${D}# -gt 0; do
48327 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48328 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48329 if test -f ${D}depfile ; then
48330 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48333 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48334 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48335 if test ! -f ${D}depfile ; then
48336 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48337 depfile="${D}objfile.d"
48339 if test -f ${D}depfile ; then
48340 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48345 elif test ${D}DEPSMODE = mwcc ; then
48346 ${D}* || exit ${D}?
48347 # Run mwcc again with -MM and redirect into the dep file we want
48348 # NOTE: We can't use shift here because we need ${D}* to be valid
48350 for arg in ${D}* ; do
48351 if test "${D}prevarg" = "-o"; then
48364 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48366 elif test ${D}DEPSMODE = unixcc; then
48367 ${D}* || exit ${D}?
48368 # Run compiler again with deps flag and redirect into the dep file.
48369 # It doesn't work if the '-o FILE' option is used, but without it the
48370 # dependency file will contain the wrong name for the object. So it is
48371 # removed from the command line, and the dep file is fixed with sed.
48373 while test ${D}# -gt 0; do
48380 eval arg${D}#=\\${D}1
48381 cmd="${D}cmd \\${D}arg${D}#"
48386 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48395 BK_DEPS="`pwd`/bk-deps"
48403 case ${BAKEFILE_HOST} in
48404 *-*-cygwin* | *-*-mingw32* )
48405 if test -n "$ac_tool_prefix"; then
48406 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48407 set dummy ${ac_tool_prefix}windres; ac_word=$2
48408 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48410 if test "${ac_cv_prog_WINDRES+set}" = set; then
48411 echo $ECHO_N "(cached) $ECHO_C" >&6
48413 if test -n "$WINDRES"; then
48414 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48417 for as_dir in $PATH
48420 test -z "$as_dir" && as_dir=.
48421 for ac_exec_ext in '' $ac_executable_extensions; do
48422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48423 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48433 WINDRES=$ac_cv_prog_WINDRES
48434 if test -n "$WINDRES"; then
48435 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48436 echo "${ECHO_T}$WINDRES" >&6; }
48438 { echo "$as_me:$LINENO: result: no" >&5
48439 echo "${ECHO_T}no" >&6; }
48444 if test -z "$ac_cv_prog_WINDRES"; then
48445 ac_ct_WINDRES=$WINDRES
48446 # Extract the first word of "windres", so it can be a program name with args.
48447 set dummy windres; ac_word=$2
48448 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48450 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48451 echo $ECHO_N "(cached) $ECHO_C" >&6
48453 if test -n "$ac_ct_WINDRES"; then
48454 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48457 for as_dir in $PATH
48460 test -z "$as_dir" && as_dir=.
48461 for ac_exec_ext in '' $ac_executable_extensions; do
48462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48463 ac_cv_prog_ac_ct_WINDRES="windres"
48464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48473 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48474 if test -n "$ac_ct_WINDRES"; then
48475 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48476 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48478 { echo "$as_me:$LINENO: result: no" >&5
48479 echo "${ECHO_T}no" >&6; }
48482 if test "x$ac_ct_WINDRES" = x; then
48485 case $cross_compiling:$ac_tool_warned in
48487 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48488 whose name does not start with the host triplet. If you think this
48489 configuration is useful to you, please write to autoconf@gnu.org." >&5
48490 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48491 whose name does not start with the host triplet. If you think this
48492 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48493 ac_tool_warned=yes ;;
48495 WINDRES=$ac_ct_WINDRES
48498 WINDRES="$ac_cv_prog_WINDRES"
48503 *-*-darwin* | powerpc-apple-macos* )
48504 # Extract the first word of "Rez", so it can be a program name with args.
48505 set dummy Rez; ac_word=$2
48506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48508 if test "${ac_cv_prog_REZ+set}" = set; then
48509 echo $ECHO_N "(cached) $ECHO_C" >&6
48511 if test -n "$REZ"; then
48512 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48515 for as_dir in $PATH
48518 test -z "$as_dir" && as_dir=.
48519 for ac_exec_ext in '' $ac_executable_extensions; do
48520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48521 ac_cv_prog_REZ="Rez"
48522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48529 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48532 REZ=$ac_cv_prog_REZ
48533 if test -n "$REZ"; then
48534 { echo "$as_me:$LINENO: result: $REZ" >&5
48535 echo "${ECHO_T}$REZ" >&6; }
48537 { echo "$as_me:$LINENO: result: no" >&5
48538 echo "${ECHO_T}no" >&6; }
48542 # Extract the first word of "SetFile", so it can be a program name with args.
48543 set dummy SetFile; ac_word=$2
48544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48546 if test "${ac_cv_prog_SETFILE+set}" = set; then
48547 echo $ECHO_N "(cached) $ECHO_C" >&6
48549 if test -n "$SETFILE"; then
48550 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48553 for as_dir in $PATH
48556 test -z "$as_dir" && as_dir=.
48557 for ac_exec_ext in '' $ac_executable_extensions; do
48558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48559 ac_cv_prog_SETFILE="SetFile"
48560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48567 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48570 SETFILE=$ac_cv_prog_SETFILE
48571 if test -n "$SETFILE"; then
48572 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48573 echo "${ECHO_T}$SETFILE" >&6; }
48575 { echo "$as_me:$LINENO: result: no" >&5
48576 echo "${ECHO_T}no" >&6; }
48588 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
48591 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
48595 # Check whether --enable-precomp-headers was given.
48596 if test "${enable_precomp_headers+set}" = set; then
48597 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48606 case ${BAKEFILE_HOST} in
48612 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48613 if test "x$GCC" = "xyes"; then
48614 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48615 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48616 cat >conftest.$ac_ext <<_ACEOF
48619 cat confdefs.h >>conftest.$ac_ext
48620 cat >>conftest.$ac_ext <<_ACEOF
48621 /* end confdefs.h. */
48627 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48628 There is no PCH support
48631 There is no PCH support
48633 #if (__GNUC__ == 3) && \
48634 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48635 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48636 ( defined(__INTEL_COMPILER) )
48637 There is no PCH support
48644 rm -f conftest.$ac_objext
48645 if { (ac_try="$ac_compile"
48646 case "(($ac_try" in
48647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48648 *) ac_try_echo=$ac_try;;
48650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48651 (eval "$ac_compile") 2>conftest.er1
48653 grep -v '^ *+' conftest.er1 >conftest.err
48655 cat conftest.err >&5
48656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48657 (exit $ac_status); } && {
48658 test -z "$ac_c_werror_flag" ||
48659 test ! -s conftest.err
48660 } && test -s conftest.$ac_objext; then
48662 { echo "$as_me:$LINENO: result: yes" >&5
48663 echo "${ECHO_T}yes" >&6; }
48667 echo "$as_me: failed program was:" >&5
48668 sed 's/^/| /' conftest.$ac_ext >&5
48671 cat >conftest.$ac_ext <<_ACEOF
48674 cat confdefs.h >>conftest.$ac_ext
48675 cat >>conftest.$ac_ext <<_ACEOF
48676 /* end confdefs.h. */
48682 #if !defined(__INTEL_COMPILER) || \
48683 (__INTEL_COMPILER < 800)
48684 There is no PCH support
48691 rm -f conftest.$ac_objext
48692 if { (ac_try="$ac_compile"
48693 case "(($ac_try" in
48694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48695 *) ac_try_echo=$ac_try;;
48697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48698 (eval "$ac_compile") 2>conftest.er1
48700 grep -v '^ *+' conftest.er1 >conftest.err
48702 cat conftest.err >&5
48703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48704 (exit $ac_status); } && {
48705 test -z "$ac_c_werror_flag" ||
48706 test ! -s conftest.err
48707 } && test -s conftest.$ac_objext; then
48709 { echo "$as_me:$LINENO: result: yes" >&5
48710 echo "${ECHO_T}yes" >&6; }
48714 echo "$as_me: failed program was:" >&5
48715 sed 's/^/| /' conftest.$ac_ext >&5
48718 { echo "$as_me:$LINENO: result: no" >&5
48719 echo "${ECHO_T}no" >&6; }
48723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48728 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48732 cat <<EOF >bk-make-pch
48735 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48736 # script. It is used to generated precompiled headers.
48738 # Permission is given to use this file in any way.
48748 while test ${D}{#} -gt 0; do
48752 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48753 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48754 headerfile="${D}{incdir}/${D}{header}"
48757 -use-pch|-use_pch )
48762 if test ${D}add_to_cmdline = 1 ; then
48763 compiler="${D}{compiler} ${D}{1}"
48768 if test "x${D}{headerfile}" = "x" ; then
48769 echo "error: can't find header ${D}{header} in include paths" >&2
48771 if test -f ${D}{outfile} ; then
48772 rm -f ${D}{outfile}
48774 mkdir -p \`dirname ${D}{outfile}\`
48776 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48778 if test "x${GCC_PCH}" = "x1" ; then
48779 # can do this because gcc is >= 3.4:
48780 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48781 elif test "x${ICC_PCH}" = "x1" ; then
48782 filename=pch_gen-${D}${D}
48783 file=${D}{filename}.c
48784 dfile=${D}{filename}.d
48785 cat > ${D}file <<EOT
48786 #include "${D}header"
48788 # using -MF icc complains about differing command lines in creation/use
48789 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48790 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48791 rm -f ${D}file ${D}dfile ${D}{filename}.o
48797 chmod +x bk-make-pch
48798 BK_MAKE_PCH="`pwd`/bk-make-pch"
48807 COND_BUILD_DEBUG="#"
48808 if test "x$BUILD" = "xdebug" ; then
48809 COND_BUILD_DEBUG=""
48812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48813 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48814 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48817 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48818 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48819 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48822 COND_BUILD_DEBUG_UNICODE_0="#"
48823 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48824 COND_BUILD_DEBUG_UNICODE_0=""
48827 COND_BUILD_DEBUG_UNICODE_1="#"
48828 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48829 COND_BUILD_DEBUG_UNICODE_1=""
48832 COND_BUILD_RELEASE="#"
48833 if test "x$BUILD" = "xrelease" ; then
48834 COND_BUILD_RELEASE=""
48837 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48838 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48839 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48842 COND_BUILD_RELEASE_UNICODE_0="#"
48843 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48844 COND_BUILD_RELEASE_UNICODE_0=""
48847 COND_BUILD_RELEASE_UNICODE_1="#"
48848 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48849 COND_BUILD_RELEASE_UNICODE_1=""
48852 COND_DEBUG_FLAG_1="#"
48853 if test "x$DEBUG_FLAG" = "x1" ; then
48854 COND_DEBUG_FLAG_1=""
48857 COND_DEBUG_INFO_0="#"
48858 if test "x$DEBUG_INFO" = "x0" ; then
48859 COND_DEBUG_INFO_0=""
48862 COND_DEBUG_INFO_1="#"
48863 if test "x$DEBUG_INFO" = "x1" ; then
48864 COND_DEBUG_INFO_1=""
48867 COND_DEPS_TRACKING_0="#"
48868 if test "x$DEPS_TRACKING" = "x0" ; then
48869 COND_DEPS_TRACKING_0=""
48872 COND_DEPS_TRACKING_1="#"
48873 if test "x$DEPS_TRACKING" = "x1" ; then
48874 COND_DEPS_TRACKING_1=""
48878 if test "x$GCC_PCH" = "x1" ; then
48883 if test "x$ICC_PCH" = "x1" ; then
48887 COND_MONOLITHIC_0="#"
48888 if test "x$MONOLITHIC" = "x0" ; then
48889 COND_MONOLITHIC_0=""
48892 COND_MONOLITHIC_0_SHARED_0="#"
48893 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48894 COND_MONOLITHIC_0_SHARED_0=""
48897 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48898 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48899 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48902 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48903 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48904 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48907 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48908 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48909 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48912 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48913 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48914 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48917 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48918 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48919 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48922 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48923 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48924 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48927 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48928 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48929 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48932 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48933 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48934 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48937 COND_MONOLITHIC_0_SHARED_1="#"
48938 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48939 COND_MONOLITHIC_0_SHARED_1=""
48942 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48943 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48944 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48947 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48948 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48949 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48952 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48953 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48954 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48957 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48958 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48959 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48962 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48963 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48964 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48967 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48968 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48969 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48972 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48973 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48974 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48977 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48978 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48979 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48982 COND_MONOLITHIC_0_USE_AUI_1="#"
48983 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48984 COND_MONOLITHIC_0_USE_AUI_1=""
48987 COND_MONOLITHIC_0_USE_GUI_1="#"
48988 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48989 COND_MONOLITHIC_0_USE_GUI_1=""
48992 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48993 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48994 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48997 COND_MONOLITHIC_0_USE_HTML_1="#"
48998 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48999 COND_MONOLITHIC_0_USE_HTML_1=""
49002 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49003 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49004 COND_MONOLITHIC_0_USE_MEDIA_1=""
49007 COND_MONOLITHIC_0_USE_QA_1="#"
49008 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49009 COND_MONOLITHIC_0_USE_QA_1=""
49012 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49013 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49014 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49017 COND_MONOLITHIC_0_USE_STC_1="#"
49018 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49019 COND_MONOLITHIC_0_USE_STC_1=""
49022 COND_MONOLITHIC_0_USE_XRC_1="#"
49023 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49024 COND_MONOLITHIC_0_USE_XRC_1=""
49027 COND_MONOLITHIC_1="#"
49028 if test "x$MONOLITHIC" = "x1" ; then
49029 COND_MONOLITHIC_1=""
49032 COND_MONOLITHIC_1_SHARED_0="#"
49033 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49034 COND_MONOLITHIC_1_SHARED_0=""
49037 COND_MONOLITHIC_1_SHARED_1="#"
49038 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49039 COND_MONOLITHIC_1_SHARED_1=""
49042 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49043 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49044 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49047 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49048 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49049 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49052 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49053 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49054 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49057 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49058 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49059 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49062 COND_PLATFORM_MACOSX_1="#"
49063 if test "x$PLATFORM_MACOSX" = "x1" ; then
49064 COND_PLATFORM_MACOSX_1=""
49067 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49068 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49069 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49072 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49073 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49074 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49077 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49078 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49079 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49082 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49083 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49084 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49087 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49088 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49089 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49092 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49093 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49094 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49097 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49098 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49099 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49102 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49103 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49104 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49107 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49108 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49109 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49112 COND_PLATFORM_MACOS_1="#"
49113 if test "x$PLATFORM_MACOS" = "x1" ; then
49114 COND_PLATFORM_MACOS_1=""
49117 COND_PLATFORM_MAC_1="#"
49118 if test "x$PLATFORM_MAC" = "x1" ; then
49119 COND_PLATFORM_MAC_1=""
49122 COND_PLATFORM_MSDOS_0="#"
49123 if test "x$PLATFORM_MSDOS" = "x0" ; then
49124 COND_PLATFORM_MSDOS_0=""
49127 COND_PLATFORM_MSDOS_1="#"
49128 if test "x$PLATFORM_MSDOS" = "x1" ; then
49129 COND_PLATFORM_MSDOS_1=""
49132 COND_PLATFORM_OS2_1="#"
49133 if test "x$PLATFORM_OS2" = "x1" ; then
49134 COND_PLATFORM_OS2_1=""
49137 COND_PLATFORM_UNIX_0="#"
49138 if test "x$PLATFORM_UNIX" = "x0" ; then
49139 COND_PLATFORM_UNIX_0=""
49142 COND_PLATFORM_UNIX_1="#"
49143 if test "x$PLATFORM_UNIX" = "x1" ; then
49144 COND_PLATFORM_UNIX_1=""
49147 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49148 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49149 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49152 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49153 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49154 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49157 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49158 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49159 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49162 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49163 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49164 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49167 COND_PLATFORM_WIN32_0="#"
49168 if test "x$PLATFORM_WIN32" = "x0" ; then
49169 COND_PLATFORM_WIN32_0=""
49172 COND_PLATFORM_WIN32_1="#"
49173 if test "x$PLATFORM_WIN32" = "x1" ; then
49174 COND_PLATFORM_WIN32_1=""
49178 if test "x$SHARED" = "x0" ; then
49182 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49183 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49184 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49187 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49188 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49189 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49192 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49193 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49194 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49197 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49198 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49199 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49202 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49203 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49204 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49207 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49208 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49209 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49212 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49213 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49214 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49217 COND_SHARED_0_USE_STC_1="#"
49218 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49219 COND_SHARED_0_USE_STC_1=""
49222 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49223 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49224 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49227 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49228 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49229 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49232 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49233 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49234 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49238 if test "x$SHARED" = "x1" ; then
49242 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49243 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49244 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49248 if test "x$TOOLKIT" = "x" ; then
49252 COND_TOOLKIT_COCOA="#"
49253 if test "x$TOOLKIT" = "xCOCOA" ; then
49254 COND_TOOLKIT_COCOA=""
49257 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49258 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49259 COND_TOOLKIT_COCOA_USE_GUI_1=""
49262 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49263 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49264 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49267 COND_TOOLKIT_DFB="#"
49268 if test "x$TOOLKIT" = "xDFB" ; then
49269 COND_TOOLKIT_DFB=""
49272 COND_TOOLKIT_DFB_USE_GUI_1="#"
49273 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49274 COND_TOOLKIT_DFB_USE_GUI_1=""
49277 COND_TOOLKIT_GTK="#"
49278 if test "x$TOOLKIT" = "xGTK" ; then
49279 COND_TOOLKIT_GTK=""
49282 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49283 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49284 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49287 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49288 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49289 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49292 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49293 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49294 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49297 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49298 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49299 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49302 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49303 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49304 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49307 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49308 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49309 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49312 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49313 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49314 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49317 COND_TOOLKIT_GTK_USE_GUI_1="#"
49318 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49319 COND_TOOLKIT_GTK_USE_GUI_1=""
49322 COND_TOOLKIT_MAC="#"
49323 if test "x$TOOLKIT" = "xMAC" ; then
49324 COND_TOOLKIT_MAC=""
49327 COND_TOOLKIT_MAC_USE_GUI_1="#"
49328 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49329 COND_TOOLKIT_MAC_USE_GUI_1=""
49332 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49333 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49334 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49337 COND_TOOLKIT_MGL="#"
49338 if test "x$TOOLKIT" = "xMGL" ; then
49339 COND_TOOLKIT_MGL=""
49342 COND_TOOLKIT_MGL_USE_GUI_1="#"
49343 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49344 COND_TOOLKIT_MGL_USE_GUI_1=""
49347 COND_TOOLKIT_MOTIF="#"
49348 if test "x$TOOLKIT" = "xMOTIF" ; then
49349 COND_TOOLKIT_MOTIF=""
49352 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49353 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49354 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49357 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49358 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49359 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49362 COND_TOOLKIT_MSW="#"
49363 if test "x$TOOLKIT" = "xMSW" ; then
49364 COND_TOOLKIT_MSW=""
49367 COND_TOOLKIT_MSW_USE_GUI_1="#"
49368 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49369 COND_TOOLKIT_MSW_USE_GUI_1=""
49372 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49373 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49374 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49377 COND_TOOLKIT_MSW_WXUNIV_0="#"
49378 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49379 COND_TOOLKIT_MSW_WXUNIV_0=""
49382 COND_TOOLKIT_PM="#"
49383 if test "x$TOOLKIT" = "xPM" ; then
49387 COND_TOOLKIT_PM_USE_GUI_1="#"
49388 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49389 COND_TOOLKIT_PM_USE_GUI_1=""
49392 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49393 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49394 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49397 COND_TOOLKIT_WINCE="#"
49398 if test "x$TOOLKIT" = "xWINCE" ; then
49399 COND_TOOLKIT_WINCE=""
49402 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49403 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49404 COND_TOOLKIT_WINCE_USE_GUI_1=""
49407 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49408 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49409 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49412 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49413 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49414 COND_TOOLKIT_WINCE_WXUNIV_0=""
49417 COND_TOOLKIT_X11="#"
49418 if test "x$TOOLKIT" = "xX11" ; then
49419 COND_TOOLKIT_X11=""
49422 COND_TOOLKIT_X11_USE_GUI_1="#"
49423 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49424 COND_TOOLKIT_X11_USE_GUI_1=""
49428 if test "x$UNICODE" = "x1" ; then
49432 COND_USE_EXCEPTIONS_0="#"
49433 if test "x$USE_EXCEPTIONS" = "x0" ; then
49434 COND_USE_EXCEPTIONS_0=""
49437 COND_USE_EXCEPTIONS_1="#"
49438 if test "x$USE_EXCEPTIONS" = "x1" ; then
49439 COND_USE_EXCEPTIONS_1=""
49443 if test "x$USE_GUI" = "x0" ; then
49448 if test "x$USE_GUI" = "x1" ; then
49452 COND_USE_GUI_1_USE_OPENGL_1="#"
49453 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49454 COND_USE_GUI_1_USE_OPENGL_1=""
49457 COND_USE_GUI_1_WXUNIV_0="#"
49458 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49459 COND_USE_GUI_1_WXUNIV_0=""
49462 COND_USE_GUI_1_WXUNIV_1="#"
49463 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49464 COND_USE_GUI_1_WXUNIV_1=""
49467 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49468 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49469 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49472 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49473 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49474 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49477 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49478 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49479 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49482 COND_USE_OPENGL_1="#"
49483 if test "x$USE_OPENGL" = "x1" ; then
49484 COND_USE_OPENGL_1=""
49488 if test "x$USE_PCH" = "x1" ; then
49492 COND_USE_PLUGINS_0="#"
49493 if test "x$USE_PLUGINS" = "x0" ; then
49494 COND_USE_PLUGINS_0=""
49497 COND_USE_RTTI_0="#"
49498 if test "x$USE_RTTI" = "x0" ; then
49502 COND_USE_RTTI_1="#"
49503 if test "x$USE_RTTI" = "x1" ; then
49507 COND_USE_SOSYMLINKS_1="#"
49508 if test "x$USE_SOSYMLINKS" = "x1" ; then
49509 COND_USE_SOSYMLINKS_1=""
49512 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49513 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49514 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49517 COND_USE_SOVERLINUX_1="#"
49518 if test "x$USE_SOVERLINUX" = "x1" ; then
49519 COND_USE_SOVERLINUX_1=""
49522 COND_USE_SOVERSION_0="#"
49523 if test "x$USE_SOVERSION" = "x0" ; then
49524 COND_USE_SOVERSION_0=""
49527 COND_USE_SOVERSOLARIS_1="#"
49528 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49529 COND_USE_SOVERSOLARIS_1=""
49533 if test "x$USE_STC" = "x1" ; then
49537 COND_USE_THREADS_0="#"
49538 if test "x$USE_THREADS" = "x0" ; then
49539 COND_USE_THREADS_0=""
49542 COND_USE_THREADS_1="#"
49543 if test "x$USE_THREADS" = "x1" ; then
49544 COND_USE_THREADS_1=""
49548 if test "x$USE_XRC" = "x1" ; then
49552 COND_WINDOWS_IMPLIB_1="#"
49553 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49554 COND_WINDOWS_IMPLIB_1=""
49557 COND_WITH_PLUGIN_SDL_1="#"
49558 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49559 COND_WITH_PLUGIN_SDL_1=""
49563 if test "x$WXUNIV" = "x0" ; then
49568 if test "x$WXUNIV" = "x1" ; then
49572 COND_WXUSE_EXPAT_BUILTIN="#"
49573 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49574 COND_WXUSE_EXPAT_BUILTIN=""
49577 COND_WXUSE_LIBJPEG_BUILTIN="#"
49578 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49579 COND_WXUSE_LIBJPEG_BUILTIN=""
49582 COND_WXUSE_LIBPNG_BUILTIN="#"
49583 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49584 COND_WXUSE_LIBPNG_BUILTIN=""
49587 COND_WXUSE_LIBTIFF_BUILTIN="#"
49588 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49589 COND_WXUSE_LIBTIFF_BUILTIN=""
49592 COND_WXUSE_REGEX_BUILTIN="#"
49593 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49594 COND_WXUSE_REGEX_BUILTIN=""
49597 COND_WXUSE_ZLIB_BUILTIN="#"
49598 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49599 COND_WXUSE_ZLIB_BUILTIN=""
49604 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49605 { { 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
49606 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;}
49607 { (exit 1); exit 1; }; }
49610 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49611 { { 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
49612 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;}
49613 { (exit 1); exit 1; }; }
49620 ?:* ) # Drive letter, considered as absolute.
49623 INSTALL=`pwd`/${INSTALL} ;;
49626 if test "$wxUSE_GUI" = "yes"; then
49628 if test "$wxUSE_MSW" = 1 ; then
49629 if test "x$WINDRES" = "x"; then
49630 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49631 echo "$as_me: error: Required windres program not found" >&2;}
49632 { (exit 1); exit 1; }; }
49638 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49639 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49640 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49642 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49644 # Extract the first word of "DeRez", so it can be a program name with args.
49645 set dummy DeRez; ac_word=$2
49646 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49648 if test "${ac_cv_prog_DEREZ+set}" = set; then
49649 echo $ECHO_N "(cached) $ECHO_C" >&6
49651 if test -n "$DEREZ"; then
49652 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
49654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49655 for as_dir in $PATH
49658 test -z "$as_dir" && as_dir=.
49659 for ac_exec_ext in '' $ac_executable_extensions; do
49660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49661 ac_cv_prog_DEREZ="DeRez"
49662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49669 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
49672 DEREZ=$ac_cv_prog_DEREZ
49673 if test -n "$DEREZ"; then
49674 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49675 echo "${ECHO_T}$DEREZ" >&6; }
49677 { echo "$as_me:$LINENO: result: no" >&5
49678 echo "${ECHO_T}no" >&6; }
49683 MACSETFILE="\$(SETFILE)"
49685 if test "$wxUSE_MAC" = 1; then
49686 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49688 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
49690 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49691 RESCOMP="cat /dev/null \| $REZ"
49692 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49698 if test "$wxUSE_PM" = 1; then
49700 WXCONFIG_RESFLAGS="-ep"
49702 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
49704 POSTLINK_COMMAND="@true"
49711 if test $GCC_PCH = 1
49713 if test "$wx_cv_gcc_pch_bug" = yes; then
49714 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49715 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49716 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49717 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49718 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49719 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49722 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49726 if test "$wxUSE_MAC" = 1 ; then
49727 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49728 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49734 if test "$wxUSE_SHARED" = "yes"; then
49736 *-pc-os2_emx | *-pc-os2-emx )
49737 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49738 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49739 cp -p ${srcdir}/src/os2/dllnames.sh .
49740 cp -p ${srcdir}/src/os2/dllar.sh .
49744 if test "$wxUSE_OMF" = "yes"; then
49746 *-pc-os2_emx | *-pc-os2-emx )
49747 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49748 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49749 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49754 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49759 if test "$GCC" = yes; then
49760 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
49761 LIBS=`echo $LIBS | sed 's/-mt//'`
49762 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49767 if test "x$SUNCXX" = xyes; then
49768 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
49769 LIBS=`echo $LIBS | sed 's/-pthread//'`
49770 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49775 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
49776 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49778 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49839 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49840 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49841 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49842 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49843 echo $ECHO_N "(cached) $ECHO_C" >&6
49845 cat >conftest.make <<\_ACEOF
49848 @echo '@@@%%%=$(MAKE)=@@@%%%'
49850 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49851 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49852 *@@@%%%=?*=@@@%%%*)
49853 eval ac_cv_prog_make_${ac_make}_set=yes;;
49855 eval ac_cv_prog_make_${ac_make}_set=no;;
49857 rm -f conftest.make
49859 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49860 { echo "$as_me:$LINENO: result: yes" >&5
49861 echo "${ECHO_T}yes" >&6; }
49864 { echo "$as_me:$LINENO: result: no" >&5
49865 echo "${ECHO_T}no" >&6; }
49866 SET_MAKE="MAKE=${MAKE-make}"
49871 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49874 if test "$USE_WIN32" = 1; then
49875 ac_config_commands="$ac_config_commands
49881 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49884 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49887 if test "$wx_cv_version_script" = "yes"; then
49888 ac_config_files="$ac_config_files version-script"
49891 ac_config_files="$ac_config_files Makefile"
49894 ac_config_commands="$ac_config_commands wx-config"
49898 if test "$wxWITH_SUBDIRS" != "no"; then
49899 if test "$wxUSE_GUI" = "yes"; then
49900 SUBDIRS="samples demos utils"
49902 SUBDIRS="samples utils"
49907 # Check whether --with-cppunit-prefix was given.
49908 if test "${with_cppunit_prefix+set}" = set; then
49909 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49911 cppunit_config_prefix=""
49915 # Check whether --with-cppunit-exec-prefix was given.
49916 if test "${with_cppunit_exec_prefix+set}" = set; then
49917 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49919 cppunit_config_exec_prefix=""
49923 if test x$cppunit_config_exec_prefix != x ; then
49924 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49925 if test x${CPPUNIT_CONFIG+set} != xset ; then
49926 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49929 if test x$cppunit_config_prefix != x ; then
49930 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49931 if test x${CPPUNIT_CONFIG+set} != xset ; then
49932 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49936 # Extract the first word of "cppunit-config", so it can be a program name with args.
49937 set dummy cppunit-config; ac_word=$2
49938 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49940 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49941 echo $ECHO_N "(cached) $ECHO_C" >&6
49943 case $CPPUNIT_CONFIG in
49945 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49949 for as_dir in $PATH
49952 test -z "$as_dir" && as_dir=.
49953 for ac_exec_ext in '' $ac_executable_extensions; do
49954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49955 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49963 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49967 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49968 if test -n "$CPPUNIT_CONFIG"; then
49969 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49970 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49972 { echo "$as_me:$LINENO: result: no" >&5
49973 echo "${ECHO_T}no" >&6; }
49977 cppunit_version_min=1.8.0
49979 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49980 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49982 if test "$CPPUNIT_CONFIG" = "no" ; then
49983 { echo "$as_me:$LINENO: result: no" >&5
49984 echo "${ECHO_T}no" >&6; }
49987 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49988 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49989 cppunit_version=`$CPPUNIT_CONFIG --version`
49991 cppunit_major_version=`echo $cppunit_version | \
49992 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49993 cppunit_minor_version=`echo $cppunit_version | \
49994 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49995 cppunit_micro_version=`echo $cppunit_version | \
49996 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49998 cppunit_major_min=`echo $cppunit_version_min | \
49999 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50000 cppunit_minor_min=`echo $cppunit_version_min | \
50001 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50002 cppunit_micro_min=`echo $cppunit_version_min | \
50003 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50005 cppunit_version_proper=`expr \
50006 $cppunit_major_version \> $cppunit_major_min \| \
50007 $cppunit_major_version \= $cppunit_major_min \& \
50008 $cppunit_minor_version \> $cppunit_minor_min \| \
50009 $cppunit_major_version \= $cppunit_major_min \& \
50010 $cppunit_minor_version \= $cppunit_minor_min \& \
50011 $cppunit_micro_version \>= $cppunit_micro_min `
50013 if test "$cppunit_version_proper" = "1" ; then
50014 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50015 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50017 { echo "$as_me:$LINENO: result: no" >&5
50018 echo "${ECHO_T}no" >&6; }
50023 if test "x$no_cppunit" = x ; then
50024 SUBDIRS="$SUBDIRS tests"
50035 for subdir in $SUBDIRS; do
50036 if test -d ${srcdir}/${subdir} ; then
50037 if test "$wxUSE_GUI" = "yes"; then
50038 if test ${subdir} = "samples"; then
50039 makefiles="samples/Makefile.in $makefiles"
50040 for sample in $SAMPLES_SUBDIRS; do
50041 if test -d $srcdir/samples/$sample; then
50042 makefiles="samples/$sample/Makefile.in $makefiles"
50046 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
50047 eval "disabled=\$$disabled_var"
50048 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50049 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50052 if test ${subdir} = "samples"; then
50053 makefiles="samples/Makefile.in $makefiles"
50054 for sample in `echo $SAMPLES_SUBDIRS`; do
50055 if test -d $srcdir/samples/$sample; then
50056 makefiles="samples/$sample/Makefile.in $makefiles"
50059 elif test ${subdir} = "utils"; then
50061 for util in HelpGen tex2rtf ; do
50062 if test -d $srcdir/utils/$util ; then
50063 makefiles="utils/$util/Makefile.in \
50064 utils/$util/src/Makefile.in \
50069 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50073 for mkin in $makefiles ; do
50074 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50075 ac_config_files="$ac_config_files $mk"
50081 cat >confcache <<\_ACEOF
50082 # This file is a shell script that caches the results of configure
50083 # tests run on this system so they can be shared between configure
50084 # scripts and configure runs, see configure's option --config-cache.
50085 # It is not useful on other systems. If it contains results you don't
50086 # want to keep, you may remove or edit it.
50088 # config.status only pays attention to the cache file if you give it
50089 # the --recheck option to rerun configure.
50091 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50092 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50093 # following values.
50097 # The following way of writing the cache mishandles newlines in values,
50098 # but we know of no workaround that is simple, portable, and efficient.
50099 # So, we kill variables containing newlines.
50100 # Ultrix sh set writes to stderr and can't be redirected directly,
50101 # and sets the high bit in the cache file unless we assign to the vars.
50103 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50104 eval ac_val=\$$ac_var
50108 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50109 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50112 _ | IFS | as_nl) ;; #(
50113 *) $as_unset $ac_var ;;
50119 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50120 *${as_nl}ac_space=\ *)
50121 # `set' does not quote correctly, so add quotes (double-quote
50122 # substitution turns \\\\ into \\, and sed turns \\ into \).
50125 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50128 # `set' quotes correctly as required by POSIX, so do not add quotes.
50129 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50138 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50140 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50142 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50143 if test -w "$cache_file"; then
50144 test "x$cache_file" != "x/dev/null" &&
50145 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50146 echo "$as_me: updating cache $cache_file" >&6;}
50147 cat confcache >$cache_file
50149 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50150 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50155 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50156 # Let make expand exec_prefix.
50157 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50159 DEFS=-DHAVE_CONFIG_H
50163 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50164 # 1. Remove the extension, and $U if already installed.
50165 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50166 ac_i=`echo "$ac_i" | sed "$ac_script"`
50167 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50168 # will be set to the directory where LIBOBJS objects are built.
50169 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50170 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50172 LIBOBJS=$ac_libobjs
50174 LTLIBOBJS=$ac_ltlibobjs
50178 : ${CONFIG_STATUS=./config.status}
50179 ac_clean_files_save=$ac_clean_files
50180 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50181 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50182 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50183 cat >$CONFIG_STATUS <<_ACEOF
50185 # Generated by $as_me.
50186 # Run this file to recreate the current configuration.
50187 # Compiler output produced by configure, useful for debugging
50188 # configure, is in config.log if it exists.
50191 ac_cs_recheck=false
50193 SHELL=\${CONFIG_SHELL-$SHELL}
50196 cat >>$CONFIG_STATUS <<\_ACEOF
50197 ## --------------------- ##
50198 ## M4sh Initialization. ##
50199 ## --------------------- ##
50201 # Be more Bourne compatible
50202 DUALCASE=1; export DUALCASE # for MKS sh
50203 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50206 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50207 # is contrary to our usage. Disable this feature.
50208 alias -g '${1+"$@"}'='"$@"'
50209 setopt NO_GLOB_SUBST
50211 case `(set -o) 2>/dev/null` in
50212 *posix*) set -o posix ;;
50221 # Avoid depending upon Character Ranges.
50222 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50223 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50224 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50225 as_cr_digits='0123456789'
50226 as_cr_alnum=$as_cr_Letters$as_cr_digits
50228 # The user is always right.
50229 if test "${PATH_SEPARATOR+set}" != set; then
50230 echo "#! /bin/sh" >conf$$.sh
50231 echo "exit 0" >>conf$$.sh
50233 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50241 # Support unset when possible.
50242 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50250 # We need space, tab and new line, in precisely that order. Quoting is
50251 # there to prevent editors from complaining about space-tab.
50252 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50253 # splitting by setting IFS to empty value.)
50258 # Find who we are. Look in the path if we contain no directory separator.
50260 *[\\/]* ) as_myself=$0 ;;
50261 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50262 for as_dir in $PATH
50265 test -z "$as_dir" && as_dir=.
50266 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50272 # We did not find ourselves, most probably we were run as `sh COMMAND'
50273 # in which case we are not to be found in the path.
50274 if test "x$as_myself" = x; then
50277 if test ! -f "$as_myself"; then
50278 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50279 { (exit 1); exit 1; }
50282 # Work around bugs in pre-3.0 UWIN ksh.
50283 for as_var in ENV MAIL MAILPATH
50284 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50292 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50293 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50294 LC_TELEPHONE LC_TIME
50296 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50297 eval $as_var=C; export $as_var
50299 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50303 # Required to use basename.
50304 if expr a : '\(a\)' >/dev/null 2>&1 &&
50305 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50311 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50312 as_basename=basename
50318 # Name of the executable.
50319 as_me=`$as_basename -- "$0" ||
50320 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50321 X"$0" : 'X\(//\)$' \| \
50322 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50324 sed '/^.*\/\([^/][^/]*\)\/*$/{
50343 as_lineno_1=$LINENO
50344 as_lineno_2=$LINENO
50345 test "x$as_lineno_1" != "x$as_lineno_2" &&
50346 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50348 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50349 # uniformly replaced by the line number. The first 'sed' inserts a
50350 # line-number line after each line using $LINENO; the second 'sed'
50351 # does the real work. The second script uses 'N' to pair each
50352 # line-number line with the line containing $LINENO, and appends
50353 # trailing '-' during substitution so that $LINENO is not a special
50354 # case at line end.
50355 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50356 # scripts with optimization help from Paolo Bonzini. Blame Lee
50357 # E. McMahon (1931-1989) for sed's syntax. :-)
50369 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50372 ' >$as_me.lineno &&
50373 chmod +x "$as_me.lineno" ||
50374 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50375 { (exit 1); exit 1; }; }
50377 # Don't try to exec as it changes $[0], causing all sort of problems
50378 # (the dirname of $[0] is not the place where we might find the
50379 # original and so on. Autoconf is especially sensitive to this).
50380 . "./$as_me.lineno"
50381 # Exit status is that of the last command.
50386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
50392 ECHO_C= ECHO_N= ECHO_T=
50393 case `echo -n x` in
50395 case `echo 'x\c'` in
50396 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
50403 if expr a : '\(a\)' >/dev/null 2>&1 &&
50404 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50410 rm -f conf$$ conf$$.exe conf$$.file
50411 if test -d conf$$.dir; then
50412 rm -f conf$$.dir/conf$$.file
50418 if ln -s conf$$.file conf$$ 2>/dev/null; then
50420 # ... but there are two gotchas:
50421 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50422 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50423 # In both cases, we have to default to `cp -p'.
50424 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50426 elif ln conf$$.file conf$$ 2>/dev/null; then
50431 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50432 rmdir conf$$.dir 2>/dev/null
50434 if mkdir -p . 2>/dev/null; then
50437 test -d ./-p && rmdir ./-p
50441 if test -x / >/dev/null 2>&1; then
50442 as_test_x='test -x'
50444 if ls -dL / >/dev/null 2>&1; then
50451 if test -d "$1"; then
50457 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50458 ???[sx]*):;;*)false;;esac;fi
50462 as_executable_p=$as_test_x
50464 # Sed expression to map a string onto a valid CPP name.
50465 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50467 # Sed expression to map a string onto a valid variable name.
50468 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50473 # Save the log message, to keep $[0] and so on meaningful, and to
50474 # report actual input values of CONFIG_FILES etc. instead of their
50475 # values after options handling.
50477 This file was extended by wxWidgets $as_me 2.9.0, which was
50478 generated by GNU Autoconf 2.61. Invocation command line was
50480 CONFIG_FILES = $CONFIG_FILES
50481 CONFIG_HEADERS = $CONFIG_HEADERS
50482 CONFIG_LINKS = $CONFIG_LINKS
50483 CONFIG_COMMANDS = $CONFIG_COMMANDS
50486 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50491 cat >>$CONFIG_STATUS <<_ACEOF
50492 # Files that config.status was made for.
50493 config_files="$ac_config_files"
50494 config_headers="$ac_config_headers"
50495 config_commands="$ac_config_commands"
50499 cat >>$CONFIG_STATUS <<\_ACEOF
50501 \`$as_me' instantiates files from templates according to the
50502 current configuration.
50504 Usage: $0 [OPTIONS] [FILE]...
50506 -h, --help print this help, then exit
50507 -V, --version print version number and configuration settings, then exit
50508 -q, --quiet do not print progress messages
50509 -d, --debug don't remove temporary files
50510 --recheck update $as_me by reconfiguring in the same conditions
50511 --file=FILE[:TEMPLATE]
50512 instantiate the configuration file FILE
50513 --header=FILE[:TEMPLATE]
50514 instantiate the configuration header FILE
50516 Configuration files:
50519 Configuration headers:
50522 Configuration commands:
50525 Report bugs to <bug-autoconf@gnu.org>."
50528 cat >>$CONFIG_STATUS <<_ACEOF
50530 wxWidgets config.status 2.9.0
50531 configured by $0, generated by GNU Autoconf 2.61,
50532 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50534 Copyright (C) 2006 Free Software Foundation, Inc.
50535 This config.status script is free software; the Free Software Foundation
50536 gives unlimited permission to copy, distribute and modify it."
50543 cat >>$CONFIG_STATUS <<\_ACEOF
50544 # If no file are specified by the user, then we need to provide default
50545 # value. By we need to know if files were specified by the user.
50551 ac_option=`expr "X$1" : 'X\([^=]*\)='`
50552 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
50563 # Handling of the options.
50564 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50566 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50567 echo "$ac_cs_version"; exit ;;
50568 --debug | --debu | --deb | --de | --d | -d )
50570 --file | --fil | --fi | --f )
50572 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50573 ac_need_defaults=false;;
50574 --header | --heade | --head | --hea )
50576 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50577 ac_need_defaults=false;;
50579 # Conflict between --help and --header
50580 { echo "$as_me: error: ambiguous option: $1
50581 Try \`$0 --help' for more information." >&2
50582 { (exit 1); exit 1; }; };;
50583 --help | --hel | -h )
50584 echo "$ac_cs_usage"; exit ;;
50585 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50586 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50589 # This is an error.
50590 -*) { echo "$as_me: error: unrecognized option: $1
50591 Try \`$0 --help' for more information." >&2
50592 { (exit 1); exit 1; }; } ;;
50594 *) ac_config_targets="$ac_config_targets $1"
50595 ac_need_defaults=false ;;
50601 ac_configure_extra_args=
50603 if $ac_cs_silent; then
50605 ac_configure_extra_args="$ac_configure_extra_args --silent"
50609 cat >>$CONFIG_STATUS <<_ACEOF
50610 if \$ac_cs_recheck; then
50611 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50612 CONFIG_SHELL=$SHELL
50613 export CONFIG_SHELL
50614 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50618 cat >>$CONFIG_STATUS <<\_ACEOF
50622 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50623 ## Running $as_me. ##
50629 cat >>$CONFIG_STATUS <<_ACEOF
50635 infile="$srcdir/include/wx/msw/genrcdefs.h"
50636 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50639 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50640 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50641 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50647 cat >>$CONFIG_STATUS <<\_ACEOF
50649 # Handling of arguments.
50650 for ac_config_target in $ac_config_targets
50652 case $ac_config_target in
50653 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50654 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50655 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50656 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50657 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
50658 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50659 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50660 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
50662 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50663 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50664 { (exit 1); exit 1; }; };;
50669 # If the user did not use the arguments to specify the items to instantiate,
50670 # then the envvar interface is used. Set only those that are not.
50671 # We use the long form for the default assignment because of an extremely
50672 # bizarre bug on SunOS 4.1.3.
50673 if $ac_need_defaults; then
50674 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50675 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50676 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50679 # Have a temporary directory for convenience. Make it in the build tree
50680 # simply because there is no reason against having it here, and in addition,
50681 # creating and moving files from /tmp can sometimes cause problems.
50682 # Hook for its removal unless debugging.
50683 # Note that there is a small window in which the directory will not be cleaned:
50684 # after its creation but before its name has been assigned to `$tmp'.
50688 trap 'exit_status=$?
50689 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50691 trap '{ (exit 1); exit 1; }' 1 2 13 15
50693 # Create a (secure) tmp directory for tmp files.
50696 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50697 test -n "$tmp" && test -d "$tmp"
50700 tmp=./conf$$-$RANDOM
50701 (umask 077 && mkdir "$tmp")
50704 echo "$me: cannot create a temporary directory in ." >&2
50705 { (exit 1); exit 1; }
50709 # Set up the sed scripts for CONFIG_FILES section.
50712 # No need to generate the scripts if there are no CONFIG_FILES.
50713 # This happens for instance when ./config.status config.h
50714 if test -n "$CONFIG_FILES"; then
50721 for ac_last_try in false false false false false :; do
50722 cat >conf$$subs.sed <<_ACEOF
50723 SHELL!$SHELL$ac_delim
50724 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50725 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50726 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50727 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50728 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50729 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50730 exec_prefix!$exec_prefix$ac_delim
50731 prefix!$prefix$ac_delim
50732 program_transform_name!$program_transform_name$ac_delim
50733 bindir!$bindir$ac_delim
50734 sbindir!$sbindir$ac_delim
50735 libexecdir!$libexecdir$ac_delim
50736 datarootdir!$datarootdir$ac_delim
50737 datadir!$datadir$ac_delim
50738 sysconfdir!$sysconfdir$ac_delim
50739 sharedstatedir!$sharedstatedir$ac_delim
50740 localstatedir!$localstatedir$ac_delim
50741 includedir!$includedir$ac_delim
50742 oldincludedir!$oldincludedir$ac_delim
50743 docdir!$docdir$ac_delim
50744 infodir!$infodir$ac_delim
50745 htmldir!$htmldir$ac_delim
50746 dvidir!$dvidir$ac_delim
50747 pdfdir!$pdfdir$ac_delim
50748 psdir!$psdir$ac_delim
50749 libdir!$libdir$ac_delim
50750 localedir!$localedir$ac_delim
50751 mandir!$mandir$ac_delim
50752 DEFS!$DEFS$ac_delim
50753 ECHO_C!$ECHO_C$ac_delim
50754 ECHO_N!$ECHO_N$ac_delim
50755 ECHO_T!$ECHO_T$ac_delim
50756 LIBS!$LIBS$ac_delim
50757 build_alias!$build_alias$ac_delim
50758 host_alias!$host_alias$ac_delim
50759 target_alias!$target_alias$ac_delim
50760 build!$build$ac_delim
50761 build_cpu!$build_cpu$ac_delim
50762 build_vendor!$build_vendor$ac_delim
50763 build_os!$build_os$ac_delim
50764 host!$host$ac_delim
50765 host_cpu!$host_cpu$ac_delim
50766 host_vendor!$host_vendor$ac_delim
50767 host_os!$host_os$ac_delim
50768 target!$target$ac_delim
50769 target_cpu!$target_cpu$ac_delim
50770 target_vendor!$target_vendor$ac_delim
50771 target_os!$target_os$ac_delim
50772 wx_top_builddir!$wx_top_builddir$ac_delim
50774 CFLAGS!$CFLAGS$ac_delim
50775 LDFLAGS!$LDFLAGS$ac_delim
50776 CPPFLAGS!$CPPFLAGS$ac_delim
50777 ac_ct_CC!$ac_ct_CC$ac_delim
50778 EXEEXT!$EXEEXT$ac_delim
50779 OBJEXT!$OBJEXT$ac_delim
50781 GREP!$GREP$ac_delim
50782 EGREP!$EGREP$ac_delim
50784 CXXFLAGS!$CXXFLAGS$ac_delim
50785 ac_ct_CXX!$ac_ct_CXX$ac_delim
50787 subdirs!$subdirs$ac_delim
50788 PKG_CONFIG!$PKG_CONFIG$ac_delim
50789 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50790 GTK_LIBS!$GTK_LIBS$ac_delim
50791 GTK_CONFIG!$GTK_CONFIG$ac_delim
50792 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50793 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50794 XMKMF!$XMKMF$ac_delim
50795 X_CFLAGS!$X_CFLAGS$ac_delim
50796 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50797 X_LIBS!$X_LIBS$ac_delim
50798 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50799 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50800 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50801 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50802 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50803 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50804 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50805 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50806 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50807 LIBICONV!$LIBICONV$ac_delim
50808 SDL_CONFIG!$SDL_CONFIG$ac_delim
50809 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50810 SDL_LIBS!$SDL_LIBS$ac_delim
50811 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50812 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50813 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50814 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50815 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50816 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50817 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50818 HILDON_LIBS!$HILDON_LIBS$ac_delim
50819 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50822 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50824 elif $ac_last_try; then
50825 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50826 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50827 { (exit 1); exit 1; }; }
50829 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50833 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50834 if test -n "$ac_eof"; then
50835 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50836 ac_eof=`expr $ac_eof + 1`
50839 cat >>$CONFIG_STATUS <<_ACEOF
50840 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50841 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50844 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50845 s/^/s,@/; s/!/@,|#_!!_#|/
50848 s/'"$ac_delim"'$/,g/; t
50850 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50851 ' >>$CONFIG_STATUS <conf$$subs.sed
50852 rm -f conf$$subs.sed
50853 cat >>$CONFIG_STATUS <<_ACEOF
50859 for ac_last_try in false false false false false :; do
50860 cat >conf$$subs.sed <<_ACEOF
50861 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50862 GST_CFLAGS!$GST_CFLAGS$ac_delim
50863 GST_LIBS!$GST_LIBS$ac_delim
50864 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50865 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50866 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50867 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50868 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50869 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50870 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50871 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50872 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50873 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50874 VENDOR!$VENDOR$ac_delim
50875 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50876 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50877 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50878 WXUNIV!$WXUNIV$ac_delim
50879 MONOLITHIC!$MONOLITHIC$ac_delim
50880 USE_PLUGINS!$USE_PLUGINS$ac_delim
50881 CXXWARNINGS!$CXXWARNINGS$ac_delim
50882 EXTRALIBS!$EXTRALIBS$ac_delim
50883 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50884 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50885 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
50886 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50887 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50888 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50889 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50890 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50891 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50892 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50893 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50894 UNICODE!$UNICODE$ac_delim
50895 BUILD!$BUILD$ac_delim
50896 DEBUG_INFO!$DEBUG_INFO$ac_delim
50897 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50898 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50899 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50900 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50901 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50902 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50903 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50904 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50905 RANLIB!$RANLIB$ac_delim
50906 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50907 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50908 INSTALL_DATA!$INSTALL_DATA$ac_delim
50909 LN_S!$LN_S$ac_delim
50910 SET_MAKE!$SET_MAKE$ac_delim
50911 MAKE_SET!$MAKE_SET$ac_delim
50912 AROPTIONS!$AROPTIONS$ac_delim
50913 STRIP!$STRIP$ac_delim
50915 INSTALL_DIR!$INSTALL_DIR$ac_delim
50916 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50917 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50918 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50919 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50920 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50921 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50922 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50923 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50924 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50925 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50926 SO_SUFFIX!$SO_SUFFIX$ac_delim
50927 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50928 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50929 LIBPREFIX!$LIBPREFIX$ac_delim
50930 LIBEXT!$LIBEXT$ac_delim
50931 DLLPREFIX!$DLLPREFIX$ac_delim
50932 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50933 dlldir!$dlldir$ac_delim
50934 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50935 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50936 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50937 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50938 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50939 PIC_FLAG!$PIC_FLAG$ac_delim
50940 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50941 USE_SOVERSION!$USE_SOVERSION$ac_delim
50942 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50943 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50944 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50945 USE_MACVERSION!$USE_MACVERSION$ac_delim
50946 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50947 SONAME_FLAG!$SONAME_FLAG$ac_delim
50948 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50949 BK_DEPS!$BK_DEPS$ac_delim
50950 WINDRES!$WINDRES$ac_delim
50952 SETFILE!$SETFILE$ac_delim
50953 GCC_PCH!$GCC_PCH$ac_delim
50954 ICC_PCH!$ICC_PCH$ac_delim
50955 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50956 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50957 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50960 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50962 elif $ac_last_try; then
50963 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50964 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50965 { (exit 1); exit 1; }; }
50967 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50971 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50972 if test -n "$ac_eof"; then
50973 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50974 ac_eof=`expr $ac_eof + 1`
50977 cat >>$CONFIG_STATUS <<_ACEOF
50978 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50979 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50982 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50983 s/^/s,@/; s/!/@,|#_!!_#|/
50986 s/'"$ac_delim"'$/,g/; t
50988 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50989 ' >>$CONFIG_STATUS <conf$$subs.sed
50990 rm -f conf$$subs.sed
50991 cat >>$CONFIG_STATUS <<_ACEOF
50997 for ac_last_try in false false false false false :; do
50998 cat >conf$$subs.sed <<_ACEOF
50999 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51000 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51001 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51002 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51003 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51004 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51005 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51006 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51007 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51008 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51009 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51010 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51011 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51012 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51013 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51014 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51015 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51016 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51017 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51018 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51019 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51020 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51021 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51022 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51023 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51024 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51025 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51026 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51027 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51028 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51029 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51030 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51031 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51032 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51033 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51034 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51035 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51036 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51037 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51038 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51039 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51040 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51041 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51042 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51043 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51044 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51045 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51046 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51047 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51048 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51049 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
51050 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
51051 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
51052 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
51053 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
51054 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
51055 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
51056 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51057 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51058 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51059 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51060 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51061 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51062 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51063 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51064 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51065 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51066 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51067 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51068 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51069 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51070 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51071 COND_SHARED_0!$COND_SHARED_0$ac_delim
51072 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51073 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51074 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51075 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51076 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51077 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51078 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51079 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51080 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51081 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51082 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51083 COND_SHARED_1!$COND_SHARED_1$ac_delim
51084 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51085 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51086 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51087 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51088 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51089 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51090 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51091 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51092 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51093 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51094 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51095 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51098 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51100 elif $ac_last_try; then
51101 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51102 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51103 { (exit 1); exit 1; }; }
51105 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51109 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51110 if test -n "$ac_eof"; then
51111 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51112 ac_eof=`expr $ac_eof + 1`
51115 cat >>$CONFIG_STATUS <<_ACEOF
51116 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51117 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51120 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51121 s/^/s,@/; s/!/@,|#_!!_#|/
51124 s/'"$ac_delim"'$/,g/; t
51126 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51127 ' >>$CONFIG_STATUS <conf$$subs.sed
51128 rm -f conf$$subs.sed
51129 cat >>$CONFIG_STATUS <<_ACEOF
51135 for ac_last_try in false false false false false :; do
51136 cat >conf$$subs.sed <<_ACEOF
51137 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51138 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51139 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51140 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51141 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51142 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51143 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51144 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51145 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51146 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51147 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51148 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51149 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51150 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51151 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51152 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51153 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51154 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51155 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51156 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51157 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51158 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51159 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51160 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51161 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51162 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51163 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51164 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51165 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51166 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51167 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51168 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51169 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51170 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51171 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51172 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51173 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51174 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51175 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51176 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51177 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51178 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51179 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51180 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51181 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51182 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51183 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51184 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51185 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51186 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51187 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51188 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51189 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51190 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51191 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51192 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51193 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51194 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51195 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51196 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51197 DEREZ!$DEREZ$ac_delim
51198 SHARED!$SHARED$ac_delim
51199 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51200 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51201 USE_GUI!$USE_GUI$ac_delim
51202 AFMINSTALL!$AFMINSTALL$ac_delim
51203 WIN32INSTALL!$WIN32INSTALL$ac_delim
51204 TOOLKIT!$TOOLKIT$ac_delim
51205 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51206 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51207 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51208 cross_compiling!$cross_compiling$ac_delim
51209 WIDGET_SET!$WIDGET_SET$ac_delim
51210 WX_RELEASE!$WX_RELEASE$ac_delim
51211 WX_VERSION!$WX_VERSION$ac_delim
51212 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51213 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51214 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51215 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51216 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51217 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51218 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51219 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51220 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51221 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51222 GUIDIST!$GUIDIST$ac_delim
51223 DISTDIR!$DISTDIR$ac_delim
51224 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51225 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51226 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51227 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51228 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51229 RESCOMP!$RESCOMP$ac_delim
51230 RESFLAGS!$RESFLAGS$ac_delim
51231 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51232 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51233 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51236 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51238 elif $ac_last_try; then
51239 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51240 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51241 { (exit 1); exit 1; }; }
51243 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51247 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51248 if test -n "$ac_eof"; then
51249 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51250 ac_eof=`expr $ac_eof + 1`
51253 cat >>$CONFIG_STATUS <<_ACEOF
51254 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51255 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51258 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51259 s/^/s,@/; s/!/@,|#_!!_#|/
51262 s/'"$ac_delim"'$/,g/; t
51264 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51265 ' >>$CONFIG_STATUS <conf$$subs.sed
51266 rm -f conf$$subs.sed
51267 cat >>$CONFIG_STATUS <<_ACEOF
51273 for ac_last_try in false false false false false :; do
51274 cat >conf$$subs.sed <<_ACEOF
51275 LIBWXMACRES!$LIBWXMACRES$ac_delim
51276 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51277 MACSETFILE!$MACSETFILE$ac_delim
51279 DLLTOOL!$DLLTOOL$ac_delim
51280 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51281 LIBOBJS!$LIBOBJS$ac_delim
51282 LTLIBOBJS!$LTLIBOBJS$ac_delim
51285 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 8; then
51287 elif $ac_last_try; then
51288 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51289 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51290 { (exit 1); exit 1; }; }
51292 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51296 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51297 if test -n "$ac_eof"; then
51298 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51299 ac_eof=`expr $ac_eof + 1`
51302 cat >>$CONFIG_STATUS <<_ACEOF
51303 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51304 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51307 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51308 s/^/s,@/; s/!/@,|#_!!_#|/
51311 s/'"$ac_delim"'$/,g/; t
51313 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51314 ' >>$CONFIG_STATUS <conf$$subs.sed
51315 rm -f conf$$subs.sed
51316 cat >>$CONFIG_STATUS <<_ACEOF
51323 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51324 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51325 # trailing colons and then remove the whole line if VPATH becomes empty
51326 # (actually we leave an empty line to preserve line numbers).
51327 if test "x$srcdir" = x.; then
51328 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51329 s/:*\$(srcdir):*/:/
51330 s/:*\${srcdir}:*/:/
51332 s/^\([^=]*=[ ]*\):*/\1/
51338 cat >>$CONFIG_STATUS <<\_ACEOF
51339 fi # test -n "$CONFIG_FILES"
51342 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51345 :[FHLC]) ac_mode=$ac_tag; continue;;
51347 case $ac_mode$ac_tag in
51349 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51350 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51351 { (exit 1); exit 1; }; };;
51352 :[FH]-) ac_tag=-:-;;
51353 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
51370 -) ac_f="$tmp/stdin";;
51371 *) # Look for the file first in the build tree, then in the source tree
51372 # (if the path is not absolute). The absolute path cannot be DOS-style,
51373 # because $ac_f cannot contain `:'.
51377 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
51379 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51380 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51381 { (exit 1); exit 1; }; };;
51383 ac_file_inputs="$ac_file_inputs $ac_f"
51386 # Let's still pretend it is `configure' which instantiates (i.e., don't
51387 # use $as_me), people would be surprised to read:
51388 # /* config.h. Generated by config.status. */
51389 configure_input="Generated from "`IFS=:
51390 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51391 if test x"$ac_file" != x-; then
51392 configure_input="$ac_file. $configure_input"
51393 { echo "$as_me:$LINENO: creating $ac_file" >&5
51394 echo "$as_me: creating $ac_file" >&6;}
51398 *:-:* | *:-) cat >"$tmp/stdin";;
51403 ac_dir=`$as_dirname -- "$ac_file" ||
51404 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51405 X"$ac_file" : 'X\(//\)[^/]' \| \
51406 X"$ac_file" : 'X\(//\)$' \| \
51407 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51409 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51413 /^X\(\/\/\)[^/].*/{
51428 -*) as_dir=./$as_dir;;
51430 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51434 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51435 *) as_qdir=$as_dir;;
51437 as_dirs="'$as_qdir' $as_dirs"
51438 as_dir=`$as_dirname -- "$as_dir" ||
51439 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51440 X"$as_dir" : 'X\(//\)[^/]' \| \
51441 X"$as_dir" : 'X\(//\)$' \| \
51442 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51448 /^X\(\/\/\)[^/].*/{
51461 test -d "$as_dir" && break
51463 test -z "$as_dirs" || eval "mkdir $as_dirs"
51464 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51465 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51466 { (exit 1); exit 1; }; }; }
51470 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51472 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51473 # A ".." for each directory in $ac_dir_suffix.
51474 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51475 case $ac_top_builddir_sub in
51476 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51477 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51480 ac_abs_top_builddir=$ac_pwd
51481 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51482 # for backward compatibility:
51483 ac_top_builddir=$ac_top_build_prefix
51486 .) # We are building in place.
51488 ac_top_srcdir=$ac_top_builddir_sub
51489 ac_abs_top_srcdir=$ac_pwd ;;
51490 [\\/]* | ?:[\\/]* ) # Absolute name.
51491 ac_srcdir=$srcdir$ac_dir_suffix;
51492 ac_top_srcdir=$srcdir
51493 ac_abs_top_srcdir=$srcdir ;;
51494 *) # Relative name.
51495 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51496 ac_top_srcdir=$ac_top_build_prefix$srcdir
51497 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51499 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51509 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51510 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
51514 cat >>$CONFIG_STATUS <<\_ACEOF
51515 # If the template does not know about datarootdir, expand it.
51516 # FIXME: This hack should be removed a few years after 2.60.
51517 ac_datarootdir_hack=; ac_datarootdir_seen=
51519 case `sed -n '/datarootdir/ {
51528 ' $ac_file_inputs` in
51529 *datarootdir*) ac_datarootdir_seen=yes;;
51530 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
51531 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51532 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51534 cat >>$CONFIG_STATUS <<_ACEOF
51535 ac_datarootdir_hack='
51536 s&@datadir@&$datadir&g
51537 s&@docdir@&$docdir&g
51538 s&@infodir@&$infodir&g
51539 s&@localedir@&$localedir&g
51540 s&@mandir@&$mandir&g
51541 s&\\\${datarootdir}&$datarootdir&g' ;;
51545 # Neutralize VPATH when `$srcdir' = `.'.
51546 # Shell code in configure.ac might set extrasub.
51547 # FIXME: do we really want to maintain this feature?
51548 cat >>$CONFIG_STATUS <<_ACEOF
51552 cat >>$CONFIG_STATUS <<\_ACEOF
51554 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51555 s&@configure_input@&$configure_input&;t t
51556 s&@top_builddir@&$ac_top_builddir_sub&;t t
51557 s&@srcdir@&$ac_srcdir&;t t
51558 s&@abs_srcdir@&$ac_abs_srcdir&;t t
51559 s&@top_srcdir@&$ac_top_srcdir&;t t
51560 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
51561 s&@builddir@&$ac_builddir&;t t
51562 s&@abs_builddir@&$ac_abs_builddir&;t t
51563 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
51564 s&@INSTALL@&$ac_INSTALL&;t t
51565 $ac_datarootdir_hack
51566 " $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
51568 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51569 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
51570 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
51571 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51572 which seems to be undefined. Please make sure it is defined." >&5
51573 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51574 which seems to be undefined. Please make sure it is defined." >&2;}
51578 -) cat "$tmp/out"; rm -f "$tmp/out";;
51579 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51588 # Transform confdefs.h into a sed script `conftest.defines', that
51589 # substitutes the proper values into config.h.in to produce config.h.
51590 rm -f conftest.defines conftest.tail
51591 # First, append a space to every undef/define line, to ease matching.
51592 echo 's/$/ /' >conftest.defines
51593 # Then, protect against being on the right side of a sed subst, or in
51594 # an unquoted here document, in config.status. If some macros were
51595 # called several times there might be several #defines for the same
51596 # symbol, which is useless. But do not sort them, since the last
51597 # AC_DEFINE must be honored.
51598 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
51599 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51600 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51601 # PARAMS is the parameter list in the macro definition--in most cases, it's
51602 # just an empty string.
51603 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51604 ac_dB='\\)[ (].*,\\1define\\2'
51612 s/^[ ]*#[ ]*define[ ][ ]*//
51617 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51618 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51619 ' >>conftest.defines
51621 # Remove the space that was appended to ease matching.
51622 # Then replace #undef with comments. This is necessary, for
51623 # example, in the case of _POSIX_SOURCE, which is predefined and required
51624 # on some systems where configure will not decide to define it.
51625 # (The regexp can be short, since the line contains either #define or #undef.)
51627 s,^[ #]*u.*,/* & */,' >>conftest.defines
51629 # Break up conftest.defines:
51630 ac_max_sed_lines=50
51632 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51633 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51634 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51636 ac_in='$ac_file_inputs'
51637 ac_out='"$tmp/out1"'
51638 ac_nxt='"$tmp/out2"'
51642 # Write a here document:
51643 cat >>$CONFIG_STATUS <<_ACEOF
51644 # First, check the format of the line:
51645 cat >"\$tmp/defines.sed" <<\\CEOF
51646 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51647 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51651 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
51653 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51654 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
51655 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
51656 grep . conftest.tail >/dev/null || break
51657 rm -f conftest.defines
51658 mv conftest.tail conftest.defines
51660 rm -f conftest.defines conftest.tail
51662 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51663 cat >>$CONFIG_STATUS <<\_ACEOF
51664 if test x"$ac_file" != x-; then
51665 echo "/* $configure_input */" >"$tmp/config.h"
51666 cat "$ac_result" >>"$tmp/config.h"
51667 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
51668 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51669 echo "$as_me: $ac_file is unchanged" >&6;}
51672 mv "$tmp/config.h" $ac_file
51675 echo "/* $configure_input */"
51681 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51682 echo "$as_me: executing $ac_file commands" >&6;}
51687 case $ac_file$ac_mode in
51689 mkdir -p $outdir &&
51690 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51692 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51693 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51694 "wx-config":C) rm -f wx-config
51695 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51702 { (exit 0); exit 0; }
51704 chmod +x $CONFIG_STATUS
51705 ac_clean_files=$ac_clean_files_save
51708 # configure is writing to config.log, and then calls config.status.
51709 # config.status does its own redirection, appending to config.log.
51710 # Unfortunately, on DOS this fails, as config.log is still kept open
51711 # by configure, so config.status won't be able to write to it; its
51712 # output is simply discarded. So we exec the FD to /dev/null,
51713 # effectively closing config.log, so it can be properly (re)opened and
51714 # appended to by config.status. When coming back to configure, we
51715 # need to make the FD available again.
51716 if test "$no_create" != yes; then
51718 ac_config_status_args=
51719 test "$silent" = yes &&
51720 ac_config_status_args="$ac_config_status_args --quiet"
51722 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51724 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51725 # would make configure fail if this is the last instruction.
51726 $ac_cs_success || { (exit 1); exit 1; }
51730 # CONFIG_SUBDIRS section.
51732 if test "$no_recursion" != yes; then
51734 # Remove --cache-file and --srcdir arguments so they do not pile up.
51735 ac_sub_configure_args=
51737 eval "set x $ac_configure_args"
51741 if test -n "$ac_prev"; then
51746 -cache-file | --cache-file | --cache-fil | --cache-fi \
51747 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51748 ac_prev=cache_file ;;
51749 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51750 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51753 --config-cache | -C)
51755 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51757 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51759 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51761 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51765 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51767 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51771 # Always prepend --prefix to ensure using the same prefix
51772 # in subdir configurations.
51773 ac_arg="--prefix=$prefix"
51775 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51777 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51780 if test "$silent" = yes; then
51781 ac_sub_configure_args="--silent $ac_sub_configure_args"
51785 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51787 # Do not complain, so a configure script can configure whichever
51788 # parts of a large source tree are present.
51789 test -d "$srcdir/$ac_dir" || continue
51791 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51792 echo "$as_me:$LINENO: $ac_msg" >&5
51796 -*) as_dir=./$as_dir;;
51798 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51802 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51803 *) as_qdir=$as_dir;;
51805 as_dirs="'$as_qdir' $as_dirs"
51806 as_dir=`$as_dirname -- "$as_dir" ||
51807 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51808 X"$as_dir" : 'X\(//\)[^/]' \| \
51809 X"$as_dir" : 'X\(//\)$' \| \
51810 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51812 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51816 /^X\(\/\/\)[^/].*/{
51829 test -d "$as_dir" && break
51831 test -z "$as_dirs" || eval "mkdir $as_dirs"
51832 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51833 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51834 { (exit 1); exit 1; }; }; }
51838 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51840 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51841 # A ".." for each directory in $ac_dir_suffix.
51842 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51843 case $ac_top_builddir_sub in
51844 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51845 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51848 ac_abs_top_builddir=$ac_pwd
51849 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51850 # for backward compatibility:
51851 ac_top_builddir=$ac_top_build_prefix
51854 .) # We are building in place.
51856 ac_top_srcdir=$ac_top_builddir_sub
51857 ac_abs_top_srcdir=$ac_pwd ;;
51858 [\\/]* | ?:[\\/]* ) # Absolute name.
51859 ac_srcdir=$srcdir$ac_dir_suffix;
51860 ac_top_srcdir=$srcdir
51861 ac_abs_top_srcdir=$srcdir ;;
51862 *) # Relative name.
51863 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51864 ac_top_srcdir=$ac_top_build_prefix$srcdir
51865 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51867 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51872 # Check for guested configure; otherwise get Cygnus style configure.
51873 if test -f "$ac_srcdir/configure.gnu"; then
51874 ac_sub_configure=$ac_srcdir/configure.gnu
51875 elif test -f "$ac_srcdir/configure"; then
51876 ac_sub_configure=$ac_srcdir/configure
51877 elif test -f "$ac_srcdir/configure.in"; then
51878 # This should be Cygnus configure.
51879 ac_sub_configure=$ac_aux_dir/configure
51881 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51882 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51886 # The recursion is here.
51887 if test -n "$ac_sub_configure"; then
51888 # Make the cache file name correct relative to the subdirectory.
51889 case $cache_file in
51890 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51891 *) # Relative name.
51892 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
51895 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51896 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51897 # The eval makes quoting arguments work.
51898 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51899 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51900 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51901 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51902 { (exit 1); exit 1; }; }
51911 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51913 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51914 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51916 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51917 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51918 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
51919 if test "$wxUSE_UNICODE" = "yes"; then
51920 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51921 echo " (using UTF-8)"
51923 echo " (using wchar_t)"
51929 echo " What level of wxWidgets compatibility should be enabled?"
51930 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51931 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51933 echo " Which libraries should wxWidgets use?"
51934 echo " STL ${wxUSE_STL}"
51935 echo " jpeg ${wxUSE_LIBJPEG-none}"
51936 echo " png ${wxUSE_LIBPNG-none}"
51937 echo " regex ${wxUSE_REGEX}"
51938 echo " tiff ${wxUSE_LIBTIFF-none}"
51939 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51940 echo " xpm ${wxUSE_LIBXPM-none}"
51942 echo " zlib ${wxUSE_ZLIB}"
51943 echo " expat ${wxUSE_EXPAT}"
51944 echo " libmspack ${wxUSE_LIBMSPACK}"
51945 echo " sdl ${wxUSE_LIBSDL}"