2 # From configure.in Id: configure.in 52980 2008-04-02 12:05:27Z SN .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir=.
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
261 CONFIG_SHELL=$as_shell
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
289 as_func_ret_success () {
292 as_func_ret_failure () {
297 if as_func_success; then
301 echo as_func_success failed.
304 if as_func_failure; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure; then
318 echo as_func_ret_failure succeeded.
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
475 ECHO_C= ECHO_N= ECHO_T=
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
509 elif ln conf$$.file conf$$ 2>/dev/null; then
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
517 if mkdir -p . 2>/dev/null; then
520 test -d ./-p && rmdir ./-p
524 if test -x / >/dev/null 2>&1; then
527 if ls -dL / >/dev/null 2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev/null 6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix=/usr/local
567 ac_config_libobj_dir=.
573 SHELL=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
709 LIBGNOMEPRINTUI_CFLAGS
757 SAMPLES_RPATH_POSTLINK
813 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
814 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
815 COND_BUILD_DEBUG_UNICODE_0
816 COND_BUILD_DEBUG_UNICODE_1
818 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
819 COND_BUILD_RELEASE_UNICODE_0
820 COND_BUILD_RELEASE_UNICODE_1
829 COND_MONOLITHIC_0_SHARED_0
830 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
836 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
838 COND_MONOLITHIC_0_SHARED_1
839 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
845 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
846 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
847 COND_MONOLITHIC_0_USE_AUI_1
848 COND_MONOLITHIC_0_USE_GUI_1
849 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
850 COND_MONOLITHIC_0_USE_HTML_1
851 COND_MONOLITHIC_0_USE_MEDIA_1
852 COND_MONOLITHIC_0_USE_QA_1
853 COND_MONOLITHIC_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_USE_STC_1
855 COND_MONOLITHIC_0_USE_XRC_1
857 COND_MONOLITHIC_1_SHARED_0
858 COND_MONOLITHIC_1_SHARED_1
859 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
860 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_1
864 COND_PLATFORM_MACOSX_1_TOOLKIT_
865 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
866 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
870 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
871 COND_PLATFORM_MACOSX_1_USE_GUI_1
872 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
873 COND_PLATFORM_MACOS_1
876 COND_PLATFORM_MSDOS_0
877 COND_PLATFORM_MSDOS_1
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
882 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_GUI_1
884 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
885 COND_PLATFORM_WIN32_0
886 COND_PLATFORM_WIN32_1
888 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
890 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
891 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
895 COND_SHARED_0_USE_STC_1
896 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
897 COND_SHARED_0_WXUSE_REGEX_BUILTIN
898 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
900 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
903 COND_TOOLKIT_COCOA_USE_GUI_1
904 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
906 COND_TOOLKIT_DFB_USE_GUI_1
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_GTK_USE_GUI_1
917 COND_TOOLKIT_MAC_USE_GUI_1
918 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_MGL_USE_GUI_1
922 COND_TOOLKIT_MOTIF_USE_GUI_1
923 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_MSW_USE_GUI_1
926 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_MSW_WXUNIV_0
929 COND_TOOLKIT_PM_USE_GUI_1
930 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_WINCE_USE_GUI_1
933 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_WINCE_WXUNIV_0
936 COND_TOOLKIT_X11_USE_GUI_1
938 COND_USE_EXCEPTIONS_0
939 COND_USE_EXCEPTIONS_1
942 COND_USE_GUI_1_USE_OPENGL_1
943 COND_USE_GUI_1_WXUNIV_0
944 COND_USE_GUI_1_WXUNIV_1
945 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
946 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
947 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
953 COND_USE_SOSYMLINKS_1
954 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
955 COND_USE_SOVERLINUX_1
957 COND_USE_SOVERSOLARIS_1
962 COND_WINDOWS_IMPLIB_1
963 COND_WITH_PLUGIN_SDL_1
966 COND_WXUSE_EXPAT_BUILTIN
967 COND_WXUSE_LIBJPEG_BUILTIN
968 COND_WXUSE_LIBPNG_BUILTIN
969 COND_WXUSE_LIBTIFF_BUILTIN
970 COND_WXUSE_REGEX_BUILTIN
971 COND_WXUSE_ZLIB_BUILTIN
974 WX_LIBRARY_BASENAME_NOGUI
975 WX_LIBRARY_BASENAME_GUI
1007 WX_RESOURCES_MACOSX_ASCII
1008 WX_RESOURCES_MACOSX_DATA
1018 ac_precious_vars='build_alias
1042 LIBGNOMEPRINTUI_CFLAGS
1043 LIBGNOMEPRINTUI_LIBS
1052 ac_subdirs_all='src/tiff
1055 # Initialize some variables set by options.
1057 ac_init_version=false
1058 # The variables have the same names as the options, with
1059 # dashes changed to underlines.
1060 cache_file=/dev/null
1067 program_transform_name=s,x,x,
1075 # Installation directory options.
1076 # These are left unexpanded so users can "make install exec_prefix=/foo"
1077 # and all the variables that are supposed to be based on exec_prefix
1078 # by default will actually change.
1079 # Use braces instead of parens because sh, perl, etc. also accept them.
1080 # (The list follows the same order as the GNU Coding Standards.)
1081 bindir='${exec_prefix}/bin'
1082 sbindir='${exec_prefix}/sbin'
1083 libexecdir='${exec_prefix}/libexec'
1084 datarootdir='${prefix}/share'
1085 datadir='${datarootdir}'
1086 sysconfdir='${prefix}/etc'
1087 sharedstatedir='${prefix}/com'
1088 localstatedir='${prefix}/var'
1089 includedir='${prefix}/include'
1090 oldincludedir='/usr/include'
1091 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1092 infodir='${datarootdir}/info'
1097 libdir='${exec_prefix}/lib'
1098 localedir='${datarootdir}/locale'
1099 mandir='${datarootdir}/man'
1105 # If the previous option needs an argument, assign it.
1106 if test -n "$ac_prev"; then
1107 eval $ac_prev=\$ac_option
1113 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1117 # Accept the important Cygnus configure options, so we can diagnose typos.
1119 case $ac_dashdash$ac_option in
1123 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1125 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1126 bindir=$ac_optarg ;;
1128 -build | --build | --buil | --bui | --bu)
1129 ac_prev=build_alias ;;
1130 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1131 build_alias=$ac_optarg ;;
1133 -cache-file | --cache-file | --cache-fil | --cache-fi \
1134 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1135 ac_prev=cache_file ;;
1136 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1137 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1138 cache_file=$ac_optarg ;;
1140 --config-cache | -C)
1141 cache_file=config.cache ;;
1143 -datadir | --datadir | --datadi | --datad)
1145 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1146 datadir=$ac_optarg ;;
1148 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1149 | --dataroo | --dataro | --datar)
1150 ac_prev=datarootdir ;;
1151 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1152 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1153 datarootdir=$ac_optarg ;;
1155 -disable-* | --disable-*)
1156 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1159 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1160 { (exit 1); exit 1; }; }
1161 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1162 eval enable_$ac_feature=no ;;
1164 -docdir | --docdir | --docdi | --doc | --do)
1166 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1167 docdir=$ac_optarg ;;
1169 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1171 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1172 dvidir=$ac_optarg ;;
1174 -enable-* | --enable-*)
1175 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1178 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1179 { (exit 1); exit 1; }; }
1180 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1181 eval enable_$ac_feature=\$ac_optarg ;;
1183 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1184 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1185 | --exec | --exe | --ex)
1186 ac_prev=exec_prefix ;;
1187 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1188 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1189 | --exec=* | --exe=* | --ex=*)
1190 exec_prefix=$ac_optarg ;;
1192 -gas | --gas | --ga | --g)
1193 # Obsolete; use --with-gas.
1196 -help | --help | --hel | --he | -h)
1197 ac_init_help=long ;;
1198 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1199 ac_init_help=recursive ;;
1200 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1201 ac_init_help=short ;;
1203 -host | --host | --hos | --ho)
1204 ac_prev=host_alias ;;
1205 -host=* | --host=* | --hos=* | --ho=*)
1206 host_alias=$ac_optarg ;;
1208 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1210 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1212 htmldir=$ac_optarg ;;
1214 -includedir | --includedir | --includedi | --included | --include \
1215 | --includ | --inclu | --incl | --inc)
1216 ac_prev=includedir ;;
1217 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1218 | --includ=* | --inclu=* | --incl=* | --inc=*)
1219 includedir=$ac_optarg ;;
1221 -infodir | --infodir | --infodi | --infod | --info | --inf)
1223 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1224 infodir=$ac_optarg ;;
1226 -libdir | --libdir | --libdi | --libd)
1228 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1229 libdir=$ac_optarg ;;
1231 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1232 | --libexe | --libex | --libe)
1233 ac_prev=libexecdir ;;
1234 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1235 | --libexe=* | --libex=* | --libe=*)
1236 libexecdir=$ac_optarg ;;
1238 -localedir | --localedir | --localedi | --localed | --locale)
1239 ac_prev=localedir ;;
1240 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1241 localedir=$ac_optarg ;;
1243 -localstatedir | --localstatedir | --localstatedi | --localstated \
1244 | --localstate | --localstat | --localsta | --localst | --locals)
1245 ac_prev=localstatedir ;;
1246 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1247 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1248 localstatedir=$ac_optarg ;;
1250 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1252 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1253 mandir=$ac_optarg ;;
1255 -nfp | --nfp | --nf)
1256 # Obsolete; use --without-fp.
1259 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1260 | --no-cr | --no-c | -n)
1263 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1264 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1267 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1268 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1269 | --oldin | --oldi | --old | --ol | --o)
1270 ac_prev=oldincludedir ;;
1271 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1272 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1273 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1274 oldincludedir=$ac_optarg ;;
1276 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1278 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1279 prefix=$ac_optarg ;;
1281 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1282 | --program-pre | --program-pr | --program-p)
1283 ac_prev=program_prefix ;;
1284 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1285 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1286 program_prefix=$ac_optarg ;;
1288 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1289 | --program-suf | --program-su | --program-s)
1290 ac_prev=program_suffix ;;
1291 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1292 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1293 program_suffix=$ac_optarg ;;
1295 -program-transform-name | --program-transform-name \
1296 | --program-transform-nam | --program-transform-na \
1297 | --program-transform-n | --program-transform- \
1298 | --program-transform | --program-transfor \
1299 | --program-transfo | --program-transf \
1300 | --program-trans | --program-tran \
1301 | --progr-tra | --program-tr | --program-t)
1302 ac_prev=program_transform_name ;;
1303 -program-transform-name=* | --program-transform-name=* \
1304 | --program-transform-nam=* | --program-transform-na=* \
1305 | --program-transform-n=* | --program-transform-=* \
1306 | --program-transform=* | --program-transfor=* \
1307 | --program-transfo=* | --program-transf=* \
1308 | --program-trans=* | --program-tran=* \
1309 | --progr-tra=* | --program-tr=* | --program-t=*)
1310 program_transform_name=$ac_optarg ;;
1312 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1314 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1315 pdfdir=$ac_optarg ;;
1317 -psdir | --psdir | --psdi | --psd | --ps)
1319 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1322 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1323 | -silent | --silent | --silen | --sile | --sil)
1326 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1328 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1330 sbindir=$ac_optarg ;;
1332 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1333 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1334 | --sharedst | --shareds | --shared | --share | --shar \
1336 ac_prev=sharedstatedir ;;
1337 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1338 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1339 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1341 sharedstatedir=$ac_optarg ;;
1343 -site | --site | --sit)
1345 -site=* | --site=* | --sit=*)
1348 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1350 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1351 srcdir=$ac_optarg ;;
1353 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1354 | --syscon | --sysco | --sysc | --sys | --sy)
1355 ac_prev=sysconfdir ;;
1356 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1357 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1358 sysconfdir=$ac_optarg ;;
1360 -target | --target | --targe | --targ | --tar | --ta | --t)
1361 ac_prev=target_alias ;;
1362 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1363 target_alias=$ac_optarg ;;
1365 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1368 -version | --version | --versio | --versi | --vers | -V)
1369 ac_init_version=: ;;
1372 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1373 # Reject names that are not valid shell variable names.
1374 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1375 { echo "$as_me: error: invalid package name: $ac_package" >&2
1376 { (exit 1); exit 1; }; }
1377 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1378 eval with_$ac_package=\$ac_optarg ;;
1380 -without-* | --without-*)
1381 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1382 # Reject names that are not valid shell variable names.
1383 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1384 { echo "$as_me: error: invalid package name: $ac_package" >&2
1385 { (exit 1); exit 1; }; }
1386 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1387 eval with_$ac_package=no ;;
1390 # Obsolete; use --with-x.
1393 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1394 | --x-incl | --x-inc | --x-in | --x-i)
1395 ac_prev=x_includes ;;
1396 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1397 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1398 x_includes=$ac_optarg ;;
1400 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1401 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1402 ac_prev=x_libraries ;;
1403 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1404 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1405 x_libraries=$ac_optarg ;;
1407 -*) { echo "$as_me: error: unrecognized option: $ac_option
1408 Try \`$0 --help' for more information." >&2
1409 { (exit 1); exit 1; }; }
1413 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1414 # Reject names that are not valid shell variable names.
1415 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1416 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1417 { (exit 1); exit 1; }; }
1418 eval $ac_envvar=\$ac_optarg
1419 export $ac_envvar ;;
1422 # FIXME: should be removed in autoconf 3.0.
1423 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1424 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1425 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1426 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1432 if test -n "$ac_prev"; then
1433 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1434 { echo "$as_me: error: missing argument to $ac_option" >&2
1435 { (exit 1); exit 1; }; }
1438 # Be sure to have absolute directory names.
1439 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1440 datadir sysconfdir sharedstatedir localstatedir includedir \
1441 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1442 libdir localedir mandir
1444 eval ac_val=\$$ac_var
1446 [\\/$]* | ?:[\\/]* ) continue;;
1447 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1449 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1450 { (exit 1); exit 1; }; }
1453 # There might be people who depend on the old broken behavior: `$host'
1454 # used to hold the argument of --host etc.
1455 # FIXME: To remove some day.
1458 target=$target_alias
1460 # FIXME: To remove some day.
1461 if test "x$host_alias" != x; then
1462 if test "x$build_alias" = x; then
1463 cross_compiling=maybe
1464 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1465 If a cross compiler is detected then cross compile mode will be used." >&2
1466 elif test "x$build_alias" != "x$host_alias"; then
1472 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1474 test "$silent" = yes && exec 6>/dev/null
1477 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1478 ac_ls_di=`ls -di .` &&
1479 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1480 { echo "$as_me: error: Working directory cannot be determined" >&2
1481 { (exit 1); exit 1; }; }
1482 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1483 { echo "$as_me: error: pwd does not report name of working directory" >&2
1484 { (exit 1); exit 1; }; }
1487 # Find the source files, if location was not specified.
1488 if test -z "$srcdir"; then
1489 ac_srcdir_defaulted=yes
1490 # Try the directory containing this script, then the parent directory.
1491 ac_confdir=`$as_dirname -- "$0" ||
1492 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1493 X"$0" : 'X\(//\)[^/]' \| \
1494 X"$0" : 'X\(//\)$' \| \
1495 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1515 if test ! -r "$srcdir/$ac_unique_file"; then
1519 ac_srcdir_defaulted=no
1521 if test ! -r "$srcdir/$ac_unique_file"; then
1522 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1523 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1524 { (exit 1); exit 1; }; }
1526 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1528 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1529 { (exit 1); exit 1; }; }
1531 # When building in place, set srcdir=.
1532 if test "$ac_abs_confdir" = "$ac_pwd"; then
1535 # Remove unnecessary trailing slashes from srcdir.
1536 # Double slashes in file names in object file debugging info
1537 # mess up M-x gdb in Emacs.
1539 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1541 for ac_var in $ac_precious_vars; do
1542 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1543 eval ac_env_${ac_var}_value=\$${ac_var}
1544 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1545 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1549 # Report the --help message.
1551 if test "$ac_init_help" = "long"; then
1552 # Omit some internal or obsolete options to make the list less imposing.
1553 # This message is too long to be a string in the A/UX 3.1 sh.
1555 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1557 Usage: $0 [OPTION]... [VAR=VALUE]...
1559 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1560 VAR=VALUE. See below for descriptions of some of the useful variables.
1562 Defaults for the options are specified in brackets.
1565 -h, --help display this help and exit
1566 --help=short display options specific to this package
1567 --help=recursive display the short help of all the included packages
1568 -V, --version display version information and exit
1569 -q, --quiet, --silent do not print \`checking...' messages
1570 --cache-file=FILE cache test results in FILE [disabled]
1571 -C, --config-cache alias for \`--cache-file=config.cache'
1572 -n, --no-create do not create output files
1573 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1575 Installation directories:
1576 --prefix=PREFIX install architecture-independent files in PREFIX
1577 [$ac_default_prefix]
1578 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1581 By default, \`make install' will install all the files in
1582 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1583 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1584 for instance \`--prefix=\$HOME'.
1586 For better control, use the options below.
1588 Fine tuning of the installation directories:
1589 --bindir=DIR user executables [EPREFIX/bin]
1590 --sbindir=DIR system admin executables [EPREFIX/sbin]
1591 --libexecdir=DIR program executables [EPREFIX/libexec]
1592 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1593 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1594 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1595 --libdir=DIR object code libraries [EPREFIX/lib]
1596 --includedir=DIR C header files [PREFIX/include]
1597 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1598 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1599 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1600 --infodir=DIR info documentation [DATAROOTDIR/info]
1601 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1602 --mandir=DIR man documentation [DATAROOTDIR/man]
1603 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1604 --htmldir=DIR html documentation [DOCDIR]
1605 --dvidir=DIR dvi documentation [DOCDIR]
1606 --pdfdir=DIR pdf documentation [DOCDIR]
1607 --psdir=DIR ps documentation [DOCDIR]
1613 --x-includes=DIR X include files are in DIR
1614 --x-libraries=DIR X library files are in DIR
1617 --build=BUILD configure for building on BUILD [guessed]
1618 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1619 --target=TARGET configure for building compilers for TARGET [HOST]
1623 if test -n "$ac_init_help"; then
1624 case $ac_init_help in
1625 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1630 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1631 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1632 --disable-gui don't build GUI parts of the library
1633 --enable-monolithic build wxWidgets as single library
1634 --enable-plugins build parts of wxWidgets as loadable components
1635 --enable-official_build official build of wxWidgets (win32 DLL only)
1636 --enable-vendor=VENDOR vendor name (win32 DLL only)
1637 --disable-all-features disable all optional features to build minimal library
1638 --enable-universal use wxWidgets GUI controls instead of native ones
1639 --enable-nanox use NanoX
1640 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1641 --enable-gpe use GNOME PDA Environment features if possible
1642 --disable-shared create static library instead of shared
1643 --disable-optimise create optimised code
1644 --enable-debug same as debug_flag and debug_info
1645 --enable-stl use STL for containers
1646 --enable-std_iostreams use standard C++ stream classes
1647 --enable-std_string use standard C++ string classes
1648 --disable-unicode compile without Unicode support
1649 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1650 --enable-utf8 use UTF-8 representation for strings (Unix only)
1651 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1652 --enable-extended_rtti use extended RTTI (XTI)
1653 --enable-omf use OMF object format
1654 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1655 --enable-debug_info create code with debugging information
1656 --enable-debug_gdb create code with extra GDB debugging information
1657 --enable-debug_cntxt use wxDebugContext
1658 --enable-mem_tracing create code with memory tracing
1659 --enable-profile create code with profiling information
1660 --enable-no_rtti create code without RTTI information
1661 --enable-no_exceptions create code without C++ exceptions handling
1662 --enable-permissive compile code disregarding strict ANSI
1663 --enable-no_deps create code without dependency information
1664 --disable-vararg_macros don't use vararg macros, even if they are supported
1665 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1666 --enable-compat26 enable wxWidgets 2.6 compatibility
1667 --disable-compat28 disable wxWidgets 2.8 compatibility
1668 --disable-rpath disable use of rpath for uninstalled builds
1669 --enable-objc_uniquifying enable Objective-C class name uniquifying
1670 --disable-visibility disable use of ELF symbols visibility even if supported
1671 --enable-intl use internationalization system
1672 --enable-xlocale use x-locale support (requires wxLocale)
1673 --enable-config use wxConfig (and derived) classes
1674 --enable-protocols use wxProtocol and derived classes
1675 --enable-ftp use wxFTP (requires wxProtocol
1676 --enable-http use wxHTTP (requires wxProtocol
1677 --enable-fileproto use wxFileProto class (requires wxProtocol
1678 --enable-sockets use socket/network classes
1679 --enable-ipv6 enable IPv6 support in wxSocket
1680 --enable-ole use OLE classes (Win32 only)
1681 --enable-dataobj use data object classes
1682 --enable-ipc use interprocess communication (wxSocket etc.)
1683 --enable-baseevtloop use event loop in console programs too
1684 --enable-epollloop use wxEpollDispatcher class (Linux only)
1685 --enable-selectloop use wxSelectDispatcher class
1686 --enable-apple_ieee use the Apple IEEE codec
1687 --enable-arcstream use wxArchive streams
1688 --enable-base64 use base64 encoding/decoding functions
1689 --enable-backtrace use wxStackWalker class for getting backtraces
1690 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1691 --enable-cmdline use wxCmdLineParser class
1692 --enable-datetime use wxDateTime class
1693 --enable-debugreport use wxDebugReport class
1694 --enable-dialupman use dialup network classes
1695 --enable-dynlib use wxLibrary class for DLL loading
1696 --enable-dynamicloader use (new) wxDynamicLibrary class
1697 --enable-exceptions build exception-safe library
1698 --enable-ffile use wxFFile class
1699 --enable-file use wxFile class
1700 --enable-filesystem use virtual file systems classes
1701 --enable-fontenum use wxFontEnumerator class
1702 --enable-fontmap use font encodings conversion classes
1703 --enable-fs_archive use virtual archive filesystems
1704 --enable-fs_inet use virtual HTTP/FTP filesystems
1705 --enable-fs_zip now replaced by fs_archive
1706 --enable-geometry use geometry class
1707 --enable-log use logging system
1708 --enable-longlong use wxLongLong class
1709 --enable-mimetype use wxMimeTypesManager
1710 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1711 --enable-snglinst use wxSingleInstanceChecker class
1712 --enable-sound use wxSound class
1713 --enable-stdpaths use wxStandardPaths class
1714 --enable-stopwatch use wxStopWatch class
1715 --enable-streams use wxStream etc classes
1716 --enable-sysoptions use wxSystemOptions
1717 --enable-tarstream use wxTar streams
1718 --enable-textbuf use wxTextBuffer class
1719 --enable-textfile use wxTextFile class
1720 --enable-timer use wxTimer class
1721 --enable-variant use wxVariant class
1722 --enable-weakref make wxEvtHandler trackable with wxWeakRef<>
1723 --enable-zipstream use wxZip streams
1724 --enable-url use wxURL class
1725 --enable-protocol use wxProtocol class
1726 --enable-protocol-http HTTP support in wxProtocol
1727 --enable-protocol-ftp FTP support in wxProtocol
1728 --enable-protocol-file FILE support in wxProtocol
1729 --enable-threads use threads
1730 --enable-iniconf use wxIniConfig (Win32 only)
1731 --enable-regkey use wxRegKey class (Win32 only)
1732 --enable-docview use document view architecture
1733 --enable-help use help subsystem
1734 --enable-mshtmlhelp use MS HTML Help (win32)
1735 --enable-html use wxHTML sub-library
1736 --enable-htmlhelp use wxHTML-based help
1737 --enable-xrc use XRC resources sub-library
1738 --enable-aui use AUI docking library
1739 --enable-stc use wxStyledTextCtrl library
1740 --enable-constraints use layout-constraints system
1741 --enable-loggui use standard GUI logger
1742 --enable-logwin use wxLogWindow
1743 --enable-logdialog use wxLogDialog
1744 --enable-mdi use multiple document interface architecture
1745 --enable-mdidoc use docview architecture with MDI
1746 --enable-mediactrl use wxMediaCtrl class
1747 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1748 --enable-webkit use wxWebKitCtrl (Mac)
1749 --enable-richtext use wxRichTextCtrl
1750 --enable-graphics_ctx use graphics context 2D drawing API
1751 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1752 --enable-printarch use printing architecture
1753 --enable-svg use wxSVGFileDC device context
1754 --enable-clipboard use wxClipboard class
1755 --enable-dnd use Drag'n'Drop classes
1756 --enable-metafile use win32 metafiles
1757 --disable-controls disable compilation of all standard controls
1758 --enable-accel use accelerators
1759 --enable-animatectrl use wxAnimationCtrl class
1760 --enable-button use wxButton class
1761 --enable-bmpbutton use wxBitmapButton class
1762 --enable-bmpcombobox use wxBitmapComboBox class
1763 --enable-calendar use wxCalendarCtrl class
1764 --enable-caret use wxCaret class
1765 --enable-checkbox use wxCheckBox class
1766 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1767 --enable-choice use wxChoice class
1768 --enable-choicebook use wxChoicebook class
1769 --enable-collpane use wxCollapsiblePane class
1770 --enable-colourpicker use wxColourPickerCtrl class
1771 --enable-combobox use wxComboBox class
1772 --enable-comboctrl use wxComboCtrl class
1773 --enable-datepick use wxDatePickerCtrl class
1774 --enable-dirpicker use wxDirPickerCtrl class
1775 --enable-display use wxDisplay class
1776 --enable-detect_sm use code to detect X11 session manager
1777 --enable-editablebox use wxEditableListBox class
1778 --enable-filepicker use wxFilePickerCtrl class
1779 --enable-filectrl use wxFileCtrl class
1780 --enable-fontpicker use wxFontPickerCtrl class
1781 --enable-gauge use wxGauge class
1782 --enable-grid use wxGrid class
1783 --enable-dataviewctrl use wxDataViewCtrl class
1784 --enable-hyperlink use wxHyperlinkCtrl class
1785 --enable-imaglist use wxImageList class
1786 --enable-listbook use wxListbook class
1787 --enable-listbox use wxListBox class
1788 --enable-listctrl use wxListCtrl class
1789 --enable-notebook use wxNotebook class
1790 --enable-notifmsg use wxNotificationMessage class
1791 --enable-odcombobox use wxOwnerDrawnComboBox class
1792 --enable-radiobox use wxRadioBox class
1793 --enable-radiobtn use wxRadioButton class
1794 --enable-sash use wxSashWindow class
1795 --enable-scrollbar use wxScrollBar class and scrollable windows
1796 --enable-searchctrl use wxSearchCtrl class
1797 --enable-slider use wxSlider class
1798 --enable-spinbtn use wxSpinButton class
1799 --enable-spinctrl use wxSpinCtrl class
1800 --enable-splitter use wxSplitterWindow class
1801 --enable-statbmp use wxStaticBitmap class
1802 --enable-statbox use wxStaticBox class
1803 --enable-statline use wxStaticLine class
1804 --enable-stattext use wxStaticText class
1805 --enable-statusbar use wxStatusBar class
1806 --enable-tabdialog use wxTabControl class
1807 --enable-taskbaricon use wxTaskBarIcon class
1808 --enable-textctrl use wxTextCtrl class
1809 --enable-togglebtn use wxToggleButton class
1810 --enable-toolbar use wxToolBar class
1811 --enable-tbarnative use native wxToolBar class
1812 --enable-treebook use wxTreebook class
1813 --enable-toolbook use wxToolbook class
1814 --enable-treectrl use wxTreeCtrl class
1815 --enable-tipwindow use wxTipWindow class
1816 --enable-popupwin use wxPopUpWindow class
1817 --enable-commondlg use all common dialogs
1818 --enable-aboutdlg use wxAboutBox
1819 --enable-choicedlg use wxChoiceDialog
1820 --enable-coldlg use wxColourDialog
1821 --enable-filedlg use wxFileDialog
1822 --enable-finddlg use wxFindReplaceDialog
1823 --enable-fontdlg use wxFontDialog
1824 --enable-dirdlg use wxDirDialog
1825 --enable-msgdlg use wxMessageDialog
1826 --enable-numberdlg use wxNumberEntryDialog
1827 --enable-splash use wxSplashScreen
1828 --enable-textdlg use wxTextDialog
1829 --enable-tipdlg use startup tips
1830 --enable-progressdlg use wxProgressDialog
1831 --enable-wizarddlg use wxWizard
1832 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1833 --enable-miniframe use wxMiniFrame class
1834 --enable-tooltips use wxToolTip class
1835 --enable-splines use spline drawing code
1836 --enable-mousewheel use mousewheel
1837 --enable-validators use wxValidator and derived classes
1838 --enable-busyinfo use wxBusyInfo
1839 --enable-joystick use wxJoystick
1840 --enable-metafiles use wxMetaFile (Win32 only)
1841 --enable-dragimage use wxDragImage
1842 --enable-accessibility enable accessibility support
1843 --enable-palette use wxPalette class
1844 --enable-image use wxImage class
1845 --enable-gif use gif images (GIF file format)
1846 --enable-pcx use pcx images (PCX file format)
1847 --enable-tga use tga images (TGA file format)
1848 --enable-iff use iff images (IFF file format)
1849 --enable-pnm use pnm images (PNM file format)
1850 --enable-xpm use xpm images (XPM file format)
1851 --enable-ico_cur use Windows ICO and CUR formats
1852 --enable-dccache cache temporary wxDC objects (Win32 only)
1853 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1854 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1855 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1856 --enable-wxdib use wxDIB class (Win32 only)
1857 --enable-autoidman use automatic ids management
1858 --disable-largefile omit support for large files
1859 --disable-gtktest do not try to compile and run a test GTK+ program
1860 --disable-gtktest Do not try to compile and run a test GTK program
1861 --disable-sdltest Do not try to compile and run a test SDL program
1862 --enable-omf use OMF object format (OS/2)
1863 --disable-dependency-tracking
1864 don't use dependency tracking even if the compiler
1866 --disable-precomp-headers
1867 don't use precompiled headers even if compiler can
1870 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1871 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1872 --without-subdirs don't generate makefiles for samples/demos/...
1873 --with-flavour=NAME specify a name to identify this build
1874 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1875 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1876 --with-motif use Motif/Lesstif
1877 --with-mac use Mac OS X
1878 --with-cocoa use Cocoa
1879 --with-wine use Wine
1880 --with-msw use MS-Windows
1881 --with-pm use OS/2 Presentation Manager
1882 --with-mgl use SciTech MGL
1883 --with-directfb use DirectFB
1884 --with-microwin use MicroWindows
1886 --with-libpng use libpng (PNG image format)
1887 --with-libjpeg use libjpeg (JPEG file format)
1888 --with-libtiff use libtiff (TIFF file format)
1889 --with-libxpm use libxpm (XPM file format)
1890 --with-libiconv use libiconv (character conversion)
1891 --with-libmspack use libmspack (CHM help files loading)
1892 --without-gtkprint don't use GTK printing support
1893 --without-gnomeprint don't use GNOME printing libraries
1894 --with-gnomevfs use GNOME VFS for associating MIME types
1895 --with-hildon use Hildon framework for Nokia 770
1896 --with-opengl use OpenGL (or Mesa)
1897 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1898 --with-sdl use SDL for audio on Unix
1899 --with-regex enable support for wxRegEx class
1900 --with-zlib use zlib for LZW compression
1901 --with-expat enable XML support using expat parser
1902 --with-macosx-sdk=PATH use an OS X SDK at PATH
1903 --with-macosx-version-min=VER build binaries which require at least this OS X version
1904 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1905 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1906 --with-x use the X Window System
1907 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1908 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1909 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1910 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1911 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1913 Some influential environment variables:
1914 CC C compiler command
1915 CFLAGS C compiler flags
1916 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1917 nonstandard directory <lib dir>
1918 LIBS libraries to pass to the linker, e.g. -l<library>
1919 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1920 you have headers in a nonstandard directory <include dir>
1922 CXX C++ compiler command
1923 CXXFLAGS C++ compiler flags
1924 PKG_CONFIG path to pkg-config utility
1926 C compiler flags for DIRECTFB, overriding pkg-config
1928 linker flags for DIRECTFB, overriding pkg-config
1929 XMKMF Path to xmkmf, Makefile generator for X Window System
1931 C compiler flags for PANGOX, overriding pkg-config
1932 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1934 C compiler flags for PANGOFT2, overriding pkg-config
1936 linker flags for PANGOFT2, overriding pkg-config
1938 C compiler flags for PANGOXFT, overriding pkg-config
1940 linker flags for PANGOXFT, overriding pkg-config
1942 C compiler flags for GTKPRINT, overriding pkg-config
1944 linker flags for GTKPRINT, overriding pkg-config
1945 LIBGNOMEPRINTUI_CFLAGS
1946 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1947 LIBGNOMEPRINTUI_LIBS
1948 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1950 C compiler flags for GNOMEVFS, overriding pkg-config
1952 linker flags for GNOMEVFS, overriding pkg-config
1954 C compiler flags for HILDON, overriding pkg-config
1955 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1957 C compiler flags for CAIRO, overriding pkg-config
1958 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1959 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1960 GST_LIBS linker flags for GST, overriding pkg-config
1962 Use these variables to override the choices made by `configure' or to help
1963 it to find libraries and programs with nonstandard names/locations.
1965 Report bugs to <wx-dev@lists.wxwidgets.org>.
1970 if test "$ac_init_help" = "recursive"; then
1971 # If there are subdirs, report their specific --help.
1972 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1973 test -d "$ac_dir" || continue
1977 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1979 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1980 # A ".." for each directory in $ac_dir_suffix.
1981 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1982 case $ac_top_builddir_sub in
1983 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1984 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1987 ac_abs_top_builddir=$ac_pwd
1988 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1989 # for backward compatibility:
1990 ac_top_builddir=$ac_top_build_prefix
1993 .) # We are building in place.
1995 ac_top_srcdir=$ac_top_builddir_sub
1996 ac_abs_top_srcdir=$ac_pwd ;;
1997 [\\/]* | ?:[\\/]* ) # Absolute name.
1998 ac_srcdir=$srcdir$ac_dir_suffix;
1999 ac_top_srcdir=$srcdir
2000 ac_abs_top_srcdir=$srcdir ;;
2002 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2003 ac_top_srcdir=$ac_top_build_prefix$srcdir
2004 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2006 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2008 cd "$ac_dir" || { ac_status=$?; continue; }
2009 # Check for guested configure.
2010 if test -f "$ac_srcdir/configure.gnu"; then
2012 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2013 elif test -f "$ac_srcdir/configure"; then
2015 $SHELL "$ac_srcdir/configure" --help=recursive
2017 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2019 cd "$ac_pwd" || { ac_status=$?; break; }
2023 test -n "$ac_init_help" && exit $ac_status
2024 if $ac_init_version; then
2026 wxWidgets configure 2.9.0
2027 generated by GNU Autoconf 2.61
2029 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2030 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2031 This configure script is free software; the Free Software Foundation
2032 gives unlimited permission to copy, distribute and modify it.
2036 cat >config.log <<_ACEOF
2037 This file contains any messages produced by compilers while
2038 running configure, to aid debugging if configure makes a mistake.
2040 It was created by wxWidgets $as_me 2.9.0, which was
2041 generated by GNU Autoconf 2.61. Invocation command line was
2053 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2054 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2055 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2056 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2057 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2059 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2060 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2062 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2063 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2064 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2065 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2066 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2067 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2068 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076 test -z "$as_dir" && as_dir=.
2077 echo "PATH: $as_dir"
2093 # Keep a trace of the command line.
2094 # Strip out --no-create and --no-recursion so they do not pile up.
2095 # Strip out --silent because we don't want to record it for future runs.
2096 # Also quote any args containing shell meta-characters.
2097 # Make two passes to allow for proper duplicate-argument suppression.
2101 ac_must_keep_next=false
2107 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2108 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2109 | -silent | --silent | --silen | --sile | --sil)
2112 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2115 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2117 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2118 if test $ac_must_keep_next = true; then
2119 ac_must_keep_next=false # Got value, back to normal.
2122 *=* | --config-cache | -C | -disable-* | --disable-* \
2123 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2124 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2125 | -with-* | --with-* | -without-* | --without-* | --x)
2126 case "$ac_configure_args0 " in
2127 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2130 -* ) ac_must_keep_next=true ;;
2133 ac_configure_args="$ac_configure_args '$ac_arg'"
2138 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2139 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2141 # When interrupted or exit'd, cleanup temporary files, and complete
2142 # config.log. We remove comments because anyway the quotes in there
2143 # would cause problems or look ugly.
2144 # WARNING: Use '\'' to represent an apostrophe within the trap.
2145 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2146 trap 'exit_status=$?
2147 # Save into config.log some information that might help in debugging.
2152 ## ---------------- ##
2153 ## Cache variables. ##
2154 ## ---------------- ##
2157 # The following way of writing the cache mishandles newlines in values,
2159 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2160 eval ac_val=\$$ac_var
2164 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2165 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2168 _ | IFS | as_nl) ;; #(
2169 *) $as_unset $ac_var ;;
2174 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2175 *${as_nl}ac_space=\ *)
2177 "s/'\''/'\''\\\\'\'''\''/g;
2178 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2181 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2189 ## ----------------- ##
2190 ## Output variables. ##
2191 ## ----------------- ##
2194 for ac_var in $ac_subst_vars
2196 eval ac_val=\$$ac_var
2198 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2200 echo "$ac_var='\''$ac_val'\''"
2204 if test -n "$ac_subst_files"; then
2206 ## ------------------- ##
2207 ## File substitutions. ##
2208 ## ------------------- ##
2211 for ac_var in $ac_subst_files
2213 eval ac_val=\$$ac_var
2215 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2217 echo "$ac_var='\''$ac_val'\''"
2222 if test -s confdefs.h; then
2232 test "$ac_signal" != 0 &&
2233 echo "$as_me: caught signal $ac_signal"
2234 echo "$as_me: exit $exit_status"
2236 rm -f core *.core core.conftest.* &&
2237 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2240 for ac_signal in 1 2 13 15; do
2241 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2245 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2246 rm -f -r conftest* confdefs.h
2248 # Predefined preprocessor variables.
2250 cat >>confdefs.h <<_ACEOF
2251 #define PACKAGE_NAME "$PACKAGE_NAME"
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2265 cat >>confdefs.h <<_ACEOF
2266 #define PACKAGE_STRING "$PACKAGE_STRING"
2270 cat >>confdefs.h <<_ACEOF
2271 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2275 # Let the site file select an alternate cache file if it wants to.
2276 # Prefer explicitly selected file to automatically selected ones.
2277 if test -n "$CONFIG_SITE"; then
2278 set x "$CONFIG_SITE"
2279 elif test "x$prefix" != xNONE; then
2280 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2282 set x "$ac_default_prefix/share/config.site" \
2283 "$ac_default_prefix/etc/config.site"
2288 if test -r "$ac_site_file"; then
2289 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2290 echo "$as_me: loading site script $ac_site_file" >&6;}
2291 sed 's/^/| /' "$ac_site_file" >&5
2296 if test -r "$cache_file"; then
2297 # Some versions of bash will fail to source /dev/null (special
2298 # files actually), so we avoid doing that.
2299 if test -f "$cache_file"; then
2300 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2301 echo "$as_me: loading cache $cache_file" >&6;}
2303 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2304 *) . "./$cache_file";;
2308 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2309 echo "$as_me: creating cache $cache_file" >&6;}
2313 # Check that the precious variables saved in the cache have kept the same
2315 ac_cache_corrupted=false
2316 for ac_var in $ac_precious_vars; do
2317 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2318 eval ac_new_set=\$ac_env_${ac_var}_set
2319 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2320 eval ac_new_val=\$ac_env_${ac_var}_value
2321 case $ac_old_set,$ac_new_set in
2323 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2324 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2325 ac_cache_corrupted=: ;;
2327 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2328 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2329 ac_cache_corrupted=: ;;
2332 if test "x$ac_old_val" != "x$ac_new_val"; then
2333 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2334 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2335 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2336 echo "$as_me: former value: $ac_old_val" >&2;}
2337 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2338 echo "$as_me: current value: $ac_new_val" >&2;}
2339 ac_cache_corrupted=:
2342 # Pass precious variables to config.status.
2343 if test "$ac_new_set" = set; then
2345 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2346 *) ac_arg=$ac_var=$ac_new_val ;;
2348 case " $ac_configure_args " in
2349 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2350 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2354 if $ac_cache_corrupted; then
2355 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2356 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2357 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2358 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2359 { (exit 1); exit 1; }; }
2387 ac_cpp='$CPP $CPPFLAGS'
2388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2397 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2398 if test -f "$ac_dir/install-sh"; then
2400 ac_install_sh="$ac_aux_dir/install-sh -c"
2402 elif test -f "$ac_dir/install.sh"; then
2404 ac_install_sh="$ac_aux_dir/install.sh -c"
2406 elif test -f "$ac_dir/shtool"; then
2408 ac_install_sh="$ac_aux_dir/shtool install -c"
2412 if test -z "$ac_aux_dir"; then
2413 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2414 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2415 { (exit 1); exit 1; }; }
2418 # These three variables are undocumented and unsupported,
2419 # and are intended to be withdrawn in a future Autoconf release.
2420 # They can cause serious problems if a builder's source tree is in a directory
2421 # whose full name contains unusual characters.
2422 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2423 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2424 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2427 # Make sure we can run config.sub.
2428 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2429 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2430 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2431 { (exit 1); exit 1; }; }
2433 { echo "$as_me:$LINENO: checking build system type" >&5
2434 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2435 if test "${ac_cv_build+set}" = set; then
2436 echo $ECHO_N "(cached) $ECHO_C" >&6
2438 ac_build_alias=$build_alias
2439 test "x$ac_build_alias" = x &&
2440 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2441 test "x$ac_build_alias" = x &&
2442 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2443 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2444 { (exit 1); exit 1; }; }
2445 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2446 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2447 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2448 { (exit 1); exit 1; }; }
2451 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2452 echo "${ECHO_T}$ac_cv_build" >&6; }
2453 case $ac_cv_build in
2455 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2456 echo "$as_me: error: invalid value of canonical build" >&2;}
2457 { (exit 1); exit 1; }; };;
2460 ac_save_IFS=$IFS; IFS='-'
2466 # Remember, the first character of IFS is used to create $*,
2467 # except with old shells:
2470 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2473 { echo "$as_me:$LINENO: checking host system type" >&5
2474 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2475 if test "${ac_cv_host+set}" = set; then
2476 echo $ECHO_N "(cached) $ECHO_C" >&6
2478 if test "x$host_alias" = x; then
2479 ac_cv_host=$ac_cv_build
2481 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2482 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2483 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2484 { (exit 1); exit 1; }; }
2488 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2489 echo "${ECHO_T}$ac_cv_host" >&6; }
2492 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2493 echo "$as_me: error: invalid value of canonical host" >&2;}
2494 { (exit 1); exit 1; }; };;
2497 ac_save_IFS=$IFS; IFS='-'
2503 # Remember, the first character of IFS is used to create $*,
2504 # except with old shells:
2507 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2510 { echo "$as_me:$LINENO: checking target system type" >&5
2511 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2512 if test "${ac_cv_target+set}" = set; then
2513 echo $ECHO_N "(cached) $ECHO_C" >&6
2515 if test "x$target_alias" = x; then
2516 ac_cv_target=$ac_cv_host
2518 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2519 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2520 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2521 { (exit 1); exit 1; }; }
2525 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2526 echo "${ECHO_T}$ac_cv_target" >&6; }
2527 case $ac_cv_target in
2529 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2530 echo "$as_me: error: invalid value of canonical target" >&2;}
2531 { (exit 1); exit 1; }; };;
2533 target=$ac_cv_target
2534 ac_save_IFS=$IFS; IFS='-'
2540 # Remember, the first character of IFS is used to create $*,
2541 # except with old shells:
2544 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2547 # The aliases save the names the user supplied, while $host etc.
2548 # will get canonicalized.
2549 test -n "$target_alias" &&
2550 test "$program_prefix$program_suffix$program_transform_name" = \
2552 program_prefix=${target_alias}-
2556 wx_major_version_number=2
2557 wx_minor_version_number=9
2559 wx_subrelease_number=0
2561 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2562 WX_VERSION=$WX_RELEASE.$wx_release_number
2563 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2565 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2568 wx_top_builddir="`pwd`"
2581 USE_BSD= USE_DARWIN= USE_FREEBSD=
2587 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2593 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2595 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2597 DEFAULT_wxUSE_COCOA=0
2601 DEFAULT_wxUSE_MICROWIN=0
2602 DEFAULT_wxUSE_MOTIF=0
2608 DEFAULT_DEFAULT_wxUSE_COCOA=0
2609 DEFAULT_DEFAULT_wxUSE_GTK=0
2610 DEFAULT_DEFAULT_wxUSE_MAC=0
2611 DEFAULT_DEFAULT_wxUSE_MGL=0
2612 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2613 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2614 DEFAULT_DEFAULT_wxUSE_MSW=0
2615 DEFAULT_DEFAULT_wxUSE_PM=0
2616 DEFAULT_DEFAULT_wxUSE_X11=0
2617 DEFAULT_DEFAULT_wxUSE_DFB=0
2622 SAMPLES_RPATH_POSTLINK=
2624 DEFAULT_STD_FLAG=yes
2629 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2630 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2632 cat >>confdefs.h <<\_ACEOF
2637 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2641 cat >>confdefs.h <<\_ACEOF
2646 if test "x$TMP" = "xalpha"; then
2648 cat >>confdefs.h <<\_ACEOF
2653 DEFAULT_DEFAULT_wxUSE_GTK=1
2655 *-*-gnu* | *-*-k*bsd*-gnu )
2658 if test "x$TMP" = "xalpha"; then
2660 cat >>confdefs.h <<\_ACEOF
2665 DEFAULT_DEFAULT_wxUSE_GTK=1
2667 *-*-irix5* | *-*-irix6* )
2670 cat >>confdefs.h <<\_ACEOF
2674 cat >>confdefs.h <<\_ACEOF
2678 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2684 cat >>confdefs.h <<\_ACEOF
2688 cat >>confdefs.h <<\_ACEOF
2689 #define __SOLARIS__ 1
2692 cat >>confdefs.h <<\_ACEOF
2696 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2697 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2703 cat >>confdefs.h <<\_ACEOF
2707 cat >>confdefs.h <<\_ACEOF
2711 cat >>confdefs.h <<\_ACEOF
2715 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2720 cat >>confdefs.h <<\_ACEOF
2721 #define __FREEBSD__ 1
2724 cat >>confdefs.h <<\_ACEOF
2728 DEFAULT_DEFAULT_wxUSE_GTK=1
2730 *-*-openbsd*|*-*-mirbsd*)
2733 cat >>confdefs.h <<\_ACEOF
2734 #define __OPENBSD__ 1
2737 cat >>confdefs.h <<\_ACEOF
2741 DEFAULT_DEFAULT_wxUSE_GTK=1
2746 cat >>confdefs.h <<\_ACEOF
2747 #define __NETBSD__ 1
2750 cat >>confdefs.h <<\_ACEOF
2754 DEFAULT_DEFAULT_wxUSE_GTK=1
2755 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2757 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2762 cat >>confdefs.h <<\_ACEOF
2766 cat >>confdefs.h <<\_ACEOF
2770 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2771 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2776 cat >>confdefs.h <<\_ACEOF
2780 cat >>confdefs.h <<\_ACEOF
2784 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2789 cat >>confdefs.h <<\_ACEOF
2793 cat >>confdefs.h <<\_ACEOF
2797 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2804 cat >>confdefs.h <<\_ACEOF
2808 cat >>confdefs.h <<\_ACEOF
2812 cat >>confdefs.h <<\_ACEOF
2816 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2823 cat >>confdefs.h <<\_ACEOF
2824 #define __UNIXWARE__ 1
2829 *-*-cygwin* | *-*-mingw32* )
2832 DEFAULT_DEFAULT_wxUSE_MSW=1
2838 cat >>confdefs.h <<\_ACEOF
2843 DEFAULT_DEFAULT_wxUSE_MGL=1
2846 *-pc-os2_emx | *-pc-os2-emx )
2847 cat >>confdefs.h <<\_ACEOF
2852 cat >>confdefs.h <<\_ACEOF
2857 DEFAULT_DEFAULT_wxUSE_PM=1
2859 LDFLAGS="$LDFLAGS -Zcrtdll"
2860 ac_executable_extensions=".exe"
2861 export ac_executable_extensions
2865 for ac_dir in $PATH; do
2867 if test -z "$ac_TEMP_PATH"; then
2868 ac_TEMP_PATH="$ac_dir"
2870 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2873 export PATH="$ac_TEMP_PATH"
2882 cat >>confdefs.h <<\_ACEOF
2886 cat >>confdefs.h <<\_ACEOF
2887 #define __DARWIN__ 1
2890 cat >>confdefs.h <<\_ACEOF
2891 #define TARGET_CARBON 1
2894 DEFAULT_DEFAULT_wxUSE_MAC=1
2897 powerpc-apple-macos* )
2899 ac_cv_c_bigendian=yes
2901 DEFAULT_DEFAULT_wxUSE_MAC=1
2907 cat >>confdefs.h <<\_ACEOF
2914 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2915 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2916 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2917 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2919 DEFAULT_DEFAULT_wxUSE_X11=1
2920 DEFAULT_wxUSE_SHARED=no
2925 DEFAULT_wxUSE_ALL_FEATURES=yes
2927 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2928 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2930 DEFAULT_wxUSE_DMALLOC=no
2931 DEFAULT_wxUSE_LIBGNOMEVFS=no
2932 DEFAULT_wxUSE_LIBHILDON=no
2933 DEFAULT_wxUSE_LIBMSPACK=no
2934 DEFAULT_wxUSE_LIBSDL=no
2935 DEFAULT_wxUSE_OPENGL=no
2937 DEFAULT_wxUSE_ACCESSIBILITY=no
2938 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2939 DEFAULT_wxUSE_IPV6=no
2940 DEFAULT_wxUSE_MEDIACTRL=no
2941 DEFAULT_wxUSE_TAB_DIALOG=no
2942 DEFAULT_wxUSE_GSTREAMER8=no
2944 DEFAULT_wxUSE_UNICODE_UTF8=auto
2945 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2947 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2949 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2951 DEFAULT_wxUSE_GTK2=yes
2953 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2959 enablestring=disable
2961 if test -z "$defaultval"; then
2962 if test x"$enablestring" = xdisable; then
2969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2970 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2971 # Check whether --enable-gui was given.
2972 if test "${enable_gui+set}" = set; then
2973 enableval=$enable_gui;
2974 if test "$enableval" = yes; then
2975 wx_cv_use_gui='wxUSE_GUI=yes'
2977 wx_cv_use_gui='wxUSE_GUI=no'
2982 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2987 eval "$wx_cv_use_gui"
2989 if test x"$enablestring" = xdisable; then
2990 if test $wxUSE_GUI = yes; then
2999 { echo "$as_me:$LINENO: result: $result" >&5
3000 echo "${ECHO_T}$result" >&6; }
3005 if test -z "$defaultval"; then
3006 if test x"$enablestring" = xdisable; then
3013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3014 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3015 # Check whether --enable-monolithic was given.
3016 if test "${enable_monolithic+set}" = set; then
3017 enableval=$enable_monolithic;
3018 if test "$enableval" = yes; then
3019 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3021 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3026 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3031 eval "$wx_cv_use_monolithic"
3033 if test x"$enablestring" = xdisable; then
3034 if test $wxUSE_MONOLITHIC = yes; then
3040 result=$wxUSE_MONOLITHIC
3043 { echo "$as_me:$LINENO: result: $result" >&5
3044 echo "${ECHO_T}$result" >&6; }
3049 if test -z "$defaultval"; then
3050 if test x"$enablestring" = xdisable; then
3057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3058 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3059 # Check whether --enable-plugins was given.
3060 if test "${enable_plugins+set}" = set; then
3061 enableval=$enable_plugins;
3062 if test "$enableval" = yes; then
3063 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3065 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3070 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3075 eval "$wx_cv_use_plugins"
3077 if test x"$enablestring" = xdisable; then
3078 if test $wxUSE_PLUGINS = yes; then
3084 result=$wxUSE_PLUGINS
3087 { echo "$as_me:$LINENO: result: $result" >&5
3088 echo "${ECHO_T}$result" >&6; }
3092 defaultval=$wxUSE_ALL_FEATURES
3093 if test -z "$defaultval"; then
3094 if test x"$withstring" = xwithout; then
3100 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3101 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3103 # Check whether --with-subdirs was given.
3104 if test "${with_subdirs+set}" = set; then
3105 withval=$with_subdirs;
3106 if test "$withval" = yes; then
3107 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3109 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3114 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3119 eval "$wx_cv_use_subdirs"
3121 if test x"$withstring" = xwithout; then
3122 if test $wxWITH_SUBDIRS = yes; then
3128 result=$wxWITH_SUBDIRS
3131 { echo "$as_me:$LINENO: result: $result" >&5
3132 echo "${ECHO_T}$result" >&6; }
3135 # Check whether --with-flavour was given.
3136 if test "${with_flavour+set}" = set; then
3137 withval=$with_flavour; WX_FLAVOUR="$withval"
3143 if test -z "$defaultval"; then
3144 if test x"$enablestring" = xdisable; then
3151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3152 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3153 # Check whether --enable-official_build was given.
3154 if test "${enable_official_build+set}" = set; then
3155 enableval=$enable_official_build;
3156 if test "$enableval" = yes; then
3157 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3159 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3164 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3169 eval "$wx_cv_use_official_build"
3171 if test x"$enablestring" = xdisable; then
3172 if test $wxUSE_OFFICIAL_BUILD = yes; then
3178 result=$wxUSE_OFFICIAL_BUILD
3181 { echo "$as_me:$LINENO: result: $result" >&5
3182 echo "${ECHO_T}$result" >&6; }
3184 # Check whether --enable-vendor was given.
3185 if test "${enable_vendor+set}" = set; then
3186 enableval=$enable_vendor; VENDOR="$enableval"
3189 if test "x$VENDOR" = "x"; then
3194 enablestring=disable
3196 if test -z "$defaultval"; then
3197 if test x"$enablestring" = xdisable; then
3204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3205 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3206 # Check whether --enable-all-features was given.
3207 if test "${enable_all_features+set}" = set; then
3208 enableval=$enable_all_features;
3209 if test "$enableval" = yes; then
3210 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3212 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3217 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3222 eval "$wx_cv_use_all_features"
3224 if test x"$enablestring" = xdisable; then
3225 if test $wxUSE_ALL_FEATURES = yes; then
3231 result=$wxUSE_ALL_FEATURES
3234 { echo "$as_me:$LINENO: result: $result" >&5
3235 echo "${ECHO_T}$result" >&6; }
3239 if test "$wxUSE_GUI" = "yes"; then
3244 if test -z "$defaultval"; then
3245 if test x"$enablestring" = xdisable; then
3252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3253 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3254 # Check whether --enable-universal was given.
3255 if test "${enable_universal+set}" = set; then
3256 enableval=$enable_universal;
3257 if test "$enableval" = yes; then
3258 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3260 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3265 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3270 eval "$wx_cv_use_universal"
3272 if test x"$enablestring" = xdisable; then
3273 if test $wxUSE_UNIVERSAL = yes; then
3279 result=$wxUSE_UNIVERSAL
3282 { echo "$as_me:$LINENO: result: $result" >&5
3283 echo "${ECHO_T}$result" >&6; }
3285 if test "$wxUSE_UNIVERSAL" = "yes"; then
3287 # Check whether --with-themes was given.
3288 if test "${with_themes+set}" = set; then
3289 withval=$with_themes; wxUNIV_THEMES="$withval"
3295 # Check whether --with-gtk was given.
3296 if test "${with_gtk+set}" = set; then
3297 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3301 # Check whether --with-motif was given.
3302 if test "${with_motif+set}" = set; then
3303 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3307 # Check whether --with-mac was given.
3308 if test "${with_mac+set}" = set; then
3309 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3313 # Check whether --with-cocoa was given.
3314 if test "${with_cocoa+set}" = set; then
3315 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3319 # Check whether --with-wine was given.
3320 if test "${with_wine+set}" = set; then
3321 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3325 # Check whether --with-msw was given.
3326 if test "${with_msw+set}" = set; then
3327 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3331 # Check whether --with-pm was given.
3332 if test "${with_pm+set}" = set; then
3333 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3337 # Check whether --with-mgl was given.
3338 if test "${with_mgl+set}" = set; then
3339 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3343 # Check whether --with-directfb was given.
3344 if test "${with_directfb+set}" = set; then
3345 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3349 # Check whether --with-microwin was given.
3350 if test "${with_microwin+set}" = set; then
3351 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3355 # Check whether --with-x11 was given.
3356 if test "${with_x11+set}" = set; then
3357 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3363 if test -z "$defaultval"; then
3364 if test x"$enablestring" = xdisable; then
3371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3372 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3373 # Check whether --enable-nanox was given.
3374 if test "${enable_nanox+set}" = set; then
3375 enableval=$enable_nanox;
3376 if test "$enableval" = yes; then
3377 wx_cv_use_nanox='wxUSE_NANOX=yes'
3379 wx_cv_use_nanox='wxUSE_NANOX=no'
3384 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3389 eval "$wx_cv_use_nanox"
3391 if test x"$enablestring" = xdisable; then
3392 if test $wxUSE_NANOX = yes; then
3401 { echo "$as_me:$LINENO: result: $result" >&5
3402 echo "${ECHO_T}$result" >&6; }
3405 # Check whether --enable-gtk2 was given.
3406 if test "${enable_gtk2+set}" = set; then
3407 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3413 if test -z "$defaultval"; then
3414 if test x"$enablestring" = xdisable; then
3421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3422 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3423 # Check whether --enable-gpe was given.
3424 if test "${enable_gpe+set}" = set; then
3425 enableval=$enable_gpe;
3426 if test "$enableval" = yes; then
3427 wx_cv_use_gpe='wxUSE_GPE=yes'
3429 wx_cv_use_gpe='wxUSE_GPE=no'
3434 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3439 eval "$wx_cv_use_gpe"
3441 if test x"$enablestring" = xdisable; then
3442 if test $wxUSE_GPE = yes; then
3451 { echo "$as_me:$LINENO: result: $result" >&5
3452 echo "${ECHO_T}$result" >&6; }
3456 { echo "$as_me:$LINENO: checking for toolkit" >&5
3457 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3459 # In Wine, we need to default to MSW, not GTK or MOTIF
3460 if test "$wxUSE_WINE" = "yes"; then
3461 DEFAULT_DEFAULT_wxUSE_GTK=0
3462 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3463 DEFAULT_DEFAULT_wxUSE_MSW=1
3470 if test "$wxUSE_GUI" = "yes"; then
3472 if test "$USE_BEOS" = 1; then
3473 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3474 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3475 { (exit 1); exit 1; }; }
3478 if test "$TOOLKIT_GIVEN" = 1; then
3479 for toolkit in $ALL_TOOLKITS; do
3481 eval "value=\$${var}"
3482 if test "x$value" = "xno"; then
3484 elif test "x$value" != "x"; then
3488 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3489 eval "wx${toolkit}_VERSION=$value"
3493 for toolkit in $ALL_TOOLKITS; do
3494 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3495 eval "wxUSE_$toolkit=\$${var}"
3499 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
3500 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
3501 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3504 *-pc-os2_emx | *-pc-os2-emx )
3505 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3508 case "$NUM_TOOLKITS" in
3512 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3513 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3514 { (exit 1); exit 1; }; }
3517 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3518 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3519 { (exit 1); exit 1; }; }
3522 # to be removed when --disable-gtk2 isn't needed
3523 if test "x$wxUSE_GTK2" = "xyes"; then
3525 elif test "x$wxUSE_GTK2" = "xno"; then
3529 for toolkit in $ALL_TOOLKITS; do
3531 eval "value=\$${var}"
3532 if test "$value" = 1; then
3533 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3534 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3535 echo "${ECHO_T}$toolkit_echo" >&6; }
3539 if test "x$host_alias" != "x"; then
3540 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3541 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3543 { echo "$as_me:$LINENO: result: base only" >&5
3544 echo "${ECHO_T}base only" >&6; }
3550 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3551 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3553 # Check whether --with-libpng was given.
3554 if test "${with_libpng+set}" = set; then
3555 withval=$with_libpng;
3556 if test "$withval" = yes; then
3557 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3558 elif test "$withval" = no; then
3559 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3560 elif test "$withval" = sys; then
3561 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3562 elif test "$withval" = builtin; then
3563 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3565 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3566 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3567 { (exit 1); exit 1; }; }
3572 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3577 eval "$wx_cv_use_libpng"
3579 if test "$wxUSE_LIBPNG" = yes; then
3580 { echo "$as_me:$LINENO: result: yes" >&5
3581 echo "${ECHO_T}yes" >&6; }
3582 elif test "$wxUSE_LIBPNG" = no; then
3583 { echo "$as_me:$LINENO: result: no" >&5
3584 echo "${ECHO_T}no" >&6; }
3585 elif test "$wxUSE_LIBPNG" = sys; then
3586 { echo "$as_me:$LINENO: result: system version" >&5
3587 echo "${ECHO_T}system version" >&6; }
3588 elif test "$wxUSE_LIBPNG" = builtin; then
3589 { echo "$as_me:$LINENO: result: builtin version" >&5
3590 echo "${ECHO_T}builtin version" >&6; }
3592 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3593 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3594 { (exit 1); exit 1; }; }
3598 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3599 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3601 # Check whether --with-libjpeg was given.
3602 if test "${with_libjpeg+set}" = set; then
3603 withval=$with_libjpeg;
3604 if test "$withval" = yes; then
3605 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3606 elif test "$withval" = no; then
3607 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3608 elif test "$withval" = sys; then
3609 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3610 elif test "$withval" = builtin; then
3611 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3613 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3614 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3615 { (exit 1); exit 1; }; }
3620 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3625 eval "$wx_cv_use_libjpeg"
3627 if test "$wxUSE_LIBJPEG" = yes; then
3628 { echo "$as_me:$LINENO: result: yes" >&5
3629 echo "${ECHO_T}yes" >&6; }
3630 elif test "$wxUSE_LIBJPEG" = no; then
3631 { echo "$as_me:$LINENO: result: no" >&5
3632 echo "${ECHO_T}no" >&6; }
3633 elif test "$wxUSE_LIBJPEG" = sys; then
3634 { echo "$as_me:$LINENO: result: system version" >&5
3635 echo "${ECHO_T}system version" >&6; }
3636 elif test "$wxUSE_LIBJPEG" = builtin; then
3637 { echo "$as_me:$LINENO: result: builtin version" >&5
3638 echo "${ECHO_T}builtin version" >&6; }
3640 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3641 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3642 { (exit 1); exit 1; }; }
3646 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3647 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3649 # Check whether --with-libtiff was given.
3650 if test "${with_libtiff+set}" = set; then
3651 withval=$with_libtiff;
3652 if test "$withval" = yes; then
3653 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3654 elif test "$withval" = no; then
3655 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3656 elif test "$withval" = sys; then
3657 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3658 elif test "$withval" = builtin; then
3659 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3661 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3662 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3663 { (exit 1); exit 1; }; }
3668 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3673 eval "$wx_cv_use_libtiff"
3675 if test "$wxUSE_LIBTIFF" = yes; then
3676 { echo "$as_me:$LINENO: result: yes" >&5
3677 echo "${ECHO_T}yes" >&6; }
3678 elif test "$wxUSE_LIBTIFF" = no; then
3679 { echo "$as_me:$LINENO: result: no" >&5
3680 echo "${ECHO_T}no" >&6; }
3681 elif test "$wxUSE_LIBTIFF" = sys; then
3682 { echo "$as_me:$LINENO: result: system version" >&5
3683 echo "${ECHO_T}system version" >&6; }
3684 elif test "$wxUSE_LIBTIFF" = builtin; then
3685 { echo "$as_me:$LINENO: result: builtin version" >&5
3686 echo "${ECHO_T}builtin version" >&6; }
3688 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3689 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3690 { (exit 1); exit 1; }; }
3694 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3695 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3697 # Check whether --with-libxpm was given.
3698 if test "${with_libxpm+set}" = set; then
3699 withval=$with_libxpm;
3700 if test "$withval" = yes; then
3701 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3702 elif test "$withval" = no; then
3703 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3704 elif test "$withval" = sys; then
3705 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3706 elif test "$withval" = builtin; then
3707 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3709 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3710 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3711 { (exit 1); exit 1; }; }
3716 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3721 eval "$wx_cv_use_libxpm"
3723 if test "$wxUSE_LIBXPM" = yes; then
3724 { echo "$as_me:$LINENO: result: yes" >&5
3725 echo "${ECHO_T}yes" >&6; }
3726 elif test "$wxUSE_LIBXPM" = no; then
3727 { echo "$as_me:$LINENO: result: no" >&5
3728 echo "${ECHO_T}no" >&6; }
3729 elif test "$wxUSE_LIBXPM" = sys; then
3730 { echo "$as_me:$LINENO: result: system version" >&5
3731 echo "${ECHO_T}system version" >&6; }
3732 elif test "$wxUSE_LIBXPM" = builtin; then
3733 { echo "$as_me:$LINENO: result: builtin version" >&5
3734 echo "${ECHO_T}builtin version" >&6; }
3736 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3737 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3738 { (exit 1); exit 1; }; }
3743 defaultval=$wxUSE_ALL_FEATURES
3744 if test -z "$defaultval"; then
3745 if test x"$withstring" = xwithout; then
3751 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3752 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3754 # Check whether --with-libiconv was given.
3755 if test "${with_libiconv+set}" = set; then
3756 withval=$with_libiconv;
3757 if test "$withval" = yes; then
3758 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3760 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3765 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3770 eval "$wx_cv_use_libiconv"
3772 if test x"$withstring" = xwithout; then
3773 if test $wxUSE_LIBICONV = yes; then
3779 result=$wxUSE_LIBICONV
3782 { echo "$as_me:$LINENO: result: $result" >&5
3783 echo "${ECHO_T}$result" >&6; }
3787 defaultval=$wxUSE_ALL_FEATURES
3788 if test -z "$defaultval"; then
3789 if test x"$withstring" = xwithout; then
3795 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3796 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3798 # Check whether --with-libmspack was given.
3799 if test "${with_libmspack+set}" = set; then
3800 withval=$with_libmspack;
3801 if test "$withval" = yes; then
3802 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3804 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3809 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3814 eval "$wx_cv_use_libmspack"
3816 if test x"$withstring" = xwithout; then
3817 if test $wxUSE_LIBMSPACK = yes; then
3823 result=$wxUSE_LIBMSPACK
3826 { echo "$as_me:$LINENO: result: $result" >&5
3827 echo "${ECHO_T}$result" >&6; }
3831 defaultval=$wxUSE_ALL_FEATURES
3832 if test -z "$defaultval"; then
3833 if test x"$withstring" = xwithout; then
3839 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3840 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3842 # Check whether --with-gtkprint was given.
3843 if test "${with_gtkprint+set}" = set; then
3844 withval=$with_gtkprint;
3845 if test "$withval" = yes; then
3846 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3848 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3853 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3858 eval "$wx_cv_use_gtkprint"
3860 if test x"$withstring" = xwithout; then
3861 if test $wxUSE_GTKPRINT = yes; then
3867 result=$wxUSE_GTKPRINT
3870 { echo "$as_me:$LINENO: result: $result" >&5
3871 echo "${ECHO_T}$result" >&6; }
3875 defaultval=$wxUSE_ALL_FEATURES
3876 if test -z "$defaultval"; then
3877 if test x"$withstring" = xwithout; then
3883 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3884 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3886 # Check whether --with-gnomeprint was given.
3887 if test "${with_gnomeprint+set}" = set; then
3888 withval=$with_gnomeprint;
3889 if test "$withval" = yes; then
3890 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3892 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3897 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3902 eval "$wx_cv_use_gnomeprint"
3904 if test x"$withstring" = xwithout; then
3905 if test $wxUSE_LIBGNOMEPRINT = yes; then
3911 result=$wxUSE_LIBGNOMEPRINT
3914 { echo "$as_me:$LINENO: result: $result" >&5
3915 echo "${ECHO_T}$result" >&6; }
3919 defaultval=$wxUSE_ALL_FEATURES
3920 if test -z "$defaultval"; then
3921 if test x"$withstring" = xwithout; then
3927 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3928 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3930 # Check whether --with-gnomevfs was given.
3931 if test "${with_gnomevfs+set}" = set; then
3932 withval=$with_gnomevfs;
3933 if test "$withval" = yes; then
3934 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3936 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3941 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3946 eval "$wx_cv_use_gnomevfs"
3948 if test x"$withstring" = xwithout; then
3949 if test $wxUSE_LIBGNOMEVFS = yes; then
3955 result=$wxUSE_LIBGNOMEVFS
3958 { echo "$as_me:$LINENO: result: $result" >&5
3959 echo "${ECHO_T}$result" >&6; }
3963 defaultval=$wxUSE_ALL_FEATURES
3964 if test -z "$defaultval"; then
3965 if test x"$withstring" = xwithout; then
3971 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3972 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3974 # Check whether --with-hildon was given.
3975 if test "${with_hildon+set}" = set; then
3976 withval=$with_hildon;
3977 if test "$withval" = yes; then
3978 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3980 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3985 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3990 eval "$wx_cv_use_hildon"
3992 if test x"$withstring" = xwithout; then
3993 if test $wxUSE_LIBHILDON = yes; then
3999 result=$wxUSE_LIBHILDON
4002 { echo "$as_me:$LINENO: result: $result" >&5
4003 echo "${ECHO_T}$result" >&6; }
4007 defaultval=$wxUSE_ALL_FEATURES
4008 if test -z "$defaultval"; then
4009 if test x"$withstring" = xwithout; then
4015 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4016 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4018 # Check whether --with-opengl was given.
4019 if test "${with_opengl+set}" = set; then
4020 withval=$with_opengl;
4021 if test "$withval" = yes; then
4022 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4024 wx_cv_use_opengl='wxUSE_OPENGL=no'
4029 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4034 eval "$wx_cv_use_opengl"
4036 if test x"$withstring" = xwithout; then
4037 if test $wxUSE_OPENGL = yes; then
4043 result=$wxUSE_OPENGL
4046 { echo "$as_me:$LINENO: result: $result" >&5
4047 echo "${ECHO_T}$result" >&6; }
4054 defaultval=$wxUSE_ALL_FEATURES
4055 if test -z "$defaultval"; then
4056 if test x"$withstring" = xwithout; then
4062 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4063 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4065 # Check whether --with-dmalloc was given.
4066 if test "${with_dmalloc+set}" = set; then
4067 withval=$with_dmalloc;
4068 if test "$withval" = yes; then
4069 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4071 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4076 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4081 eval "$wx_cv_use_dmalloc"
4083 if test x"$withstring" = xwithout; then
4084 if test $wxUSE_DMALLOC = yes; then
4090 result=$wxUSE_DMALLOC
4093 { echo "$as_me:$LINENO: result: $result" >&5
4094 echo "${ECHO_T}$result" >&6; }
4098 defaultval=$wxUSE_ALL_FEATURES
4099 if test -z "$defaultval"; then
4100 if test x"$withstring" = xwithout; then
4106 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4107 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4109 # Check whether --with-sdl was given.
4110 if test "${with_sdl+set}" = set; then
4112 if test "$withval" = yes; then
4113 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4115 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4120 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4125 eval "$wx_cv_use_sdl"
4127 if test x"$withstring" = xwithout; then
4128 if test $wxUSE_LIBSDL = yes; then
4134 result=$wxUSE_LIBSDL
4137 { echo "$as_me:$LINENO: result: $result" >&5
4138 echo "${ECHO_T}$result" >&6; }
4141 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4142 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4144 # Check whether --with-regex was given.
4145 if test "${with_regex+set}" = set; then
4146 withval=$with_regex;
4147 if test "$withval" = yes; then
4148 wx_cv_use_regex='wxUSE_REGEX=yes'
4149 elif test "$withval" = no; then
4150 wx_cv_use_regex='wxUSE_REGEX=no'
4151 elif test "$withval" = sys; then
4152 wx_cv_use_regex='wxUSE_REGEX=sys'
4153 elif test "$withval" = builtin; then
4154 wx_cv_use_regex='wxUSE_REGEX=builtin'
4156 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4157 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4158 { (exit 1); exit 1; }; }
4163 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4168 eval "$wx_cv_use_regex"
4170 if test "$wxUSE_REGEX" = yes; then
4171 { echo "$as_me:$LINENO: result: yes" >&5
4172 echo "${ECHO_T}yes" >&6; }
4173 elif test "$wxUSE_REGEX" = no; then
4174 { echo "$as_me:$LINENO: result: no" >&5
4175 echo "${ECHO_T}no" >&6; }
4176 elif test "$wxUSE_REGEX" = sys; then
4177 { echo "$as_me:$LINENO: result: system version" >&5
4178 echo "${ECHO_T}system version" >&6; }
4179 elif test "$wxUSE_REGEX" = builtin; then
4180 { echo "$as_me:$LINENO: result: builtin version" >&5
4181 echo "${ECHO_T}builtin version" >&6; }
4183 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4184 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4185 { (exit 1); exit 1; }; }
4189 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4190 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4192 # Check whether --with-zlib was given.
4193 if test "${with_zlib+set}" = set; then
4195 if test "$withval" = yes; then
4196 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4197 elif test "$withval" = no; then
4198 wx_cv_use_zlib='wxUSE_ZLIB=no'
4199 elif test "$withval" = sys; then
4200 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4201 elif test "$withval" = builtin; then
4202 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4204 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4205 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4206 { (exit 1); exit 1; }; }
4211 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4216 eval "$wx_cv_use_zlib"
4218 if test "$wxUSE_ZLIB" = yes; then
4219 { echo "$as_me:$LINENO: result: yes" >&5
4220 echo "${ECHO_T}yes" >&6; }
4221 elif test "$wxUSE_ZLIB" = no; then
4222 { echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6; }
4224 elif test "$wxUSE_ZLIB" = sys; then
4225 { echo "$as_me:$LINENO: result: system version" >&5
4226 echo "${ECHO_T}system version" >&6; }
4227 elif test "$wxUSE_ZLIB" = builtin; then
4228 { echo "$as_me:$LINENO: result: builtin version" >&5
4229 echo "${ECHO_T}builtin version" >&6; }
4231 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4232 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4233 { (exit 1); exit 1; }; }
4237 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4238 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4240 # Check whether --with-expat was given.
4241 if test "${with_expat+set}" = set; then
4242 withval=$with_expat;
4243 if test "$withval" = yes; then
4244 wx_cv_use_expat='wxUSE_EXPAT=yes'
4245 elif test "$withval" = no; then
4246 wx_cv_use_expat='wxUSE_EXPAT=no'
4247 elif test "$withval" = sys; then
4248 wx_cv_use_expat='wxUSE_EXPAT=sys'
4249 elif test "$withval" = builtin; then
4250 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4252 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4253 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4254 { (exit 1); exit 1; }; }
4259 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4264 eval "$wx_cv_use_expat"
4266 if test "$wxUSE_EXPAT" = yes; then
4267 { echo "$as_me:$LINENO: result: yes" >&5
4268 echo "${ECHO_T}yes" >&6; }
4269 elif test "$wxUSE_EXPAT" = no; then
4270 { echo "$as_me:$LINENO: result: no" >&5
4271 echo "${ECHO_T}no" >&6; }
4272 elif test "$wxUSE_EXPAT" = sys; then
4273 { echo "$as_me:$LINENO: result: system version" >&5
4274 echo "${ECHO_T}system version" >&6; }
4275 elif test "$wxUSE_EXPAT" = builtin; then
4276 { echo "$as_me:$LINENO: result: builtin version" >&5
4277 echo "${ECHO_T}builtin version" >&6; }
4279 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4280 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4281 { (exit 1); exit 1; }; }
4285 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4286 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4288 # Check whether --with-macosx-sdk was given.
4289 if test "${with_macosx_sdk+set}" = set; then
4290 withval=$with_macosx_sdk;
4291 wxUSE_MACOSX_SDK=$withval
4292 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4296 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4297 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4299 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4300 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4302 # Check whether --with-macosx-version-min was given.
4303 if test "${with_macosx_version_min+set}" = set; then
4304 withval=$with_macosx_version_min;
4305 wxUSE_MACOSX_VERSION_MIN=$withval
4306 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4310 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4311 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4315 enablestring=disable
4317 if test -z "$defaultval"; then
4318 if test x"$enablestring" = xdisable; then
4325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4326 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4327 # Check whether --enable-shared was given.
4328 if test "${enable_shared+set}" = set; then
4329 enableval=$enable_shared;
4330 if test "$enableval" = yes; then
4331 wx_cv_use_shared='wxUSE_SHARED=yes'
4333 wx_cv_use_shared='wxUSE_SHARED=no'
4338 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4343 eval "$wx_cv_use_shared"
4345 if test x"$enablestring" = xdisable; then
4346 if test $wxUSE_SHARED = yes; then
4352 result=$wxUSE_SHARED
4355 { echo "$as_me:$LINENO: result: $result" >&5
4356 echo "${ECHO_T}$result" >&6; }
4359 enablestring=disable
4361 if test -z "$defaultval"; then
4362 if test x"$enablestring" = xdisable; then
4369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4370 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4371 # Check whether --enable-optimise was given.
4372 if test "${enable_optimise+set}" = set; then
4373 enableval=$enable_optimise;
4374 if test "$enableval" = yes; then
4375 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4377 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4382 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4387 eval "$wx_cv_use_optimise"
4389 if test x"$enablestring" = xdisable; then
4390 if test $wxUSE_OPTIMISE = yes; then
4396 result=$wxUSE_OPTIMISE
4399 { echo "$as_me:$LINENO: result: $result" >&5
4400 echo "${ECHO_T}$result" >&6; }
4405 if test -z "$defaultval"; then
4406 if test x"$enablestring" = xdisable; then
4413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4414 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4415 # Check whether --enable-debug was given.
4416 if test "${enable_debug+set}" = set; then
4417 enableval=$enable_debug;
4418 if test "$enableval" = yes; then
4419 wx_cv_use_debug='wxUSE_DEBUG=yes'
4421 wx_cv_use_debug='wxUSE_DEBUG=no'
4426 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4431 eval "$wx_cv_use_debug"
4433 if test x"$enablestring" = xdisable; then
4434 if test $wxUSE_DEBUG = yes; then
4443 { echo "$as_me:$LINENO: result: $result" >&5
4444 echo "${ECHO_T}$result" >&6; }
4449 if test -z "$defaultval"; then
4450 if test x"$enablestring" = xdisable; then
4457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4458 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4459 # Check whether --enable-stl was given.
4460 if test "${enable_stl+set}" = set; then
4461 enableval=$enable_stl;
4462 if test "$enableval" = yes; then
4463 wx_cv_use_stl='wxUSE_STL=yes'
4465 wx_cv_use_stl='wxUSE_STL=no'
4470 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4475 eval "$wx_cv_use_stl"
4477 if test x"$enablestring" = xdisable; then
4478 if test $wxUSE_STL = yes; then
4487 { echo "$as_me:$LINENO: result: $result" >&5
4488 echo "${ECHO_T}$result" >&6; }
4493 if test -z "$defaultval"; then
4494 if test x"$enablestring" = xdisable; then
4501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4502 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4503 # Check whether --enable-std_iostreams was given.
4504 if test "${enable_std_iostreams+set}" = set; then
4505 enableval=$enable_std_iostreams;
4506 if test "$enableval" = yes; then
4507 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4509 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4514 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4519 eval "$wx_cv_use_std_iostreams"
4521 if test x"$enablestring" = xdisable; then
4522 if test $wxUSE_STD_IOSTREAM = yes; then
4528 result=$wxUSE_STD_IOSTREAM
4531 { echo "$as_me:$LINENO: result: $result" >&5
4532 echo "${ECHO_T}$result" >&6; }
4537 if test -z "$defaultval"; then
4538 if test x"$enablestring" = xdisable; then
4545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4546 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4547 # Check whether --enable-std_string was given.
4548 if test "${enable_std_string+set}" = set; then
4549 enableval=$enable_std_string;
4550 if test "$enableval" = yes; then
4551 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4553 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4558 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4563 eval "$wx_cv_use_std_string"
4565 if test x"$enablestring" = xdisable; then
4566 if test $wxUSE_STD_STRING = yes; then
4572 result=$wxUSE_STD_STRING
4575 { echo "$as_me:$LINENO: result: $result" >&5
4576 echo "${ECHO_T}$result" >&6; }
4579 enablestring=disable
4581 if test -z "$defaultval"; then
4582 if test x"$enablestring" = xdisable; then
4589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4590 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4591 # Check whether --enable-unicode was given.
4592 if test "${enable_unicode+set}" = set; then
4593 enableval=$enable_unicode;
4594 if test "$enableval" = yes; then
4595 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4597 wx_cv_use_unicode='wxUSE_UNICODE=no'
4602 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4607 eval "$wx_cv_use_unicode"
4609 if test x"$enablestring" = xdisable; then
4610 if test $wxUSE_UNICODE = yes; then
4616 result=$wxUSE_UNICODE
4619 { echo "$as_me:$LINENO: result: $result" >&5
4620 echo "${ECHO_T}$result" >&6; }
4625 if test -z "$defaultval"; then
4626 if test x"$enablestring" = xdisable; then
4633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4634 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4635 # Check whether --enable-mslu was given.
4636 if test "${enable_mslu+set}" = set; then
4637 enableval=$enable_mslu;
4638 if test "$enableval" = yes; then
4639 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4641 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4646 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4651 eval "$wx_cv_use_mslu"
4653 if test x"$enablestring" = xdisable; then
4654 if test $wxUSE_UNICODE_MSLU = yes; then
4660 result=$wxUSE_UNICODE_MSLU
4663 { echo "$as_me:$LINENO: result: $result" >&5
4664 echo "${ECHO_T}$result" >&6; }
4668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4669 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4670 # Check whether --enable-utf8 was given.
4671 if test "${enable_utf8+set}" = set; then
4672 enableval=$enable_utf8;
4673 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4677 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4682 eval "$wx_cv_use_utf8"
4684 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4685 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4690 if test -z "$defaultval"; then
4691 if test x"$enablestring" = xdisable; then
4698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4699 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4700 # Check whether --enable-utf8only was given.
4701 if test "${enable_utf8only+set}" = set; then
4702 enableval=$enable_utf8only;
4703 if test "$enableval" = yes; then
4704 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4706 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4711 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4716 eval "$wx_cv_use_utf8only"
4718 if test x"$enablestring" = xdisable; then
4719 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4725 result=$wxUSE_UNICODE_UTF8_LOCALE
4728 { echo "$as_me:$LINENO: result: $result" >&5
4729 echo "${ECHO_T}$result" >&6; }
4734 if test -z "$defaultval"; then
4735 if test x"$enablestring" = xdisable; then
4742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4744 # Check whether --enable-extended_rtti was given.
4745 if test "${enable_extended_rtti+set}" = set; then
4746 enableval=$enable_extended_rtti;
4747 if test "$enableval" = yes; then
4748 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4750 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4755 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4760 eval "$wx_cv_use_extended_rtti"
4762 if test x"$enablestring" = xdisable; then
4763 if test $wxUSE_EXTENDED_RTTI = yes; then
4769 result=$wxUSE_EXTENDED_RTTI
4772 { echo "$as_me:$LINENO: result: $result" >&5
4773 echo "${ECHO_T}$result" >&6; }
4775 if test "$USE_OS2" = 1; then
4776 DEFAULT_wxUSE_OMF=no
4780 if test -z "$defaultval"; then
4781 if test x"$enablestring" = xdisable; then
4788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4789 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4790 # Check whether --enable-omf was given.
4791 if test "${enable_omf+set}" = set; then
4792 enableval=$enable_omf;
4793 if test "$enableval" = yes; then
4794 wx_cv_use_omf='wxUSE_OMF=yes'
4796 wx_cv_use_omf='wxUSE_OMF=no'
4801 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4806 eval "$wx_cv_use_omf"
4808 if test x"$enablestring" = xdisable; then
4809 if test $wxUSE_OMF = yes; then
4818 { echo "$as_me:$LINENO: result: $result" >&5
4819 echo "${ECHO_T}$result" >&6; }
4823 if test "$wxUSE_DEBUG" = "yes"; then
4824 DEFAULT_wxUSE_DEBUG_FLAG=yes
4825 DEFAULT_wxUSE_DEBUG_INFO=yes
4827 elif test "$wxUSE_DEBUG" = "no"; then
4828 DEFAULT_wxUSE_DEBUG_FLAG=no
4829 DEFAULT_wxUSE_DEBUG_INFO=no
4836 if test -z "$defaultval"; then
4837 if test x"$enablestring" = xdisable; then
4844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4845 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4846 # Check whether --enable-debug_flag was given.
4847 if test "${enable_debug_flag+set}" = set; then
4848 enableval=$enable_debug_flag;
4849 if test "$enableval" = yes; then
4850 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4852 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4857 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4862 eval "$wx_cv_use_debug_flag"
4864 if test x"$enablestring" = xdisable; then
4865 if test $wxUSE_DEBUG_FLAG = yes; then
4871 result=$wxUSE_DEBUG_FLAG
4874 { echo "$as_me:$LINENO: result: $result" >&5
4875 echo "${ECHO_T}$result" >&6; }
4880 if test -z "$defaultval"; then
4881 if test x"$enablestring" = xdisable; then
4888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4889 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4890 # Check whether --enable-debug_info was given.
4891 if test "${enable_debug_info+set}" = set; then
4892 enableval=$enable_debug_info;
4893 if test "$enableval" = yes; then
4894 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4896 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4901 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4906 eval "$wx_cv_use_debug_info"
4908 if test x"$enablestring" = xdisable; then
4909 if test $wxUSE_DEBUG_INFO = yes; then
4915 result=$wxUSE_DEBUG_INFO
4918 { echo "$as_me:$LINENO: result: $result" >&5
4919 echo "${ECHO_T}$result" >&6; }
4922 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4930 if test -z "$defaultval"; then
4931 if test x"$enablestring" = xdisable; then
4938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4939 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4940 # Check whether --enable-debug_gdb was given.
4941 if test "${enable_debug_gdb+set}" = set; then
4942 enableval=$enable_debug_gdb;
4943 if test "$enableval" = yes; then
4944 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4946 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4951 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4956 eval "$wx_cv_use_debug_gdb"
4958 if test x"$enablestring" = xdisable; then
4959 if test $wxUSE_DEBUG_GDB = yes; then
4965 result=$wxUSE_DEBUG_GDB
4968 { echo "$as_me:$LINENO: result: $result" >&5
4969 echo "${ECHO_T}$result" >&6; }
4974 if test -z "$defaultval"; then
4975 if test x"$enablestring" = xdisable; then
4982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4983 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4984 # Check whether --enable-debug_cntxt was given.
4985 if test "${enable_debug_cntxt+set}" = set; then
4986 enableval=$enable_debug_cntxt;
4987 if test "$enableval" = yes; then
4988 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4990 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4995 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5000 eval "$wx_cv_use_debug_cntxt"
5002 if test x"$enablestring" = xdisable; then
5003 if test $wxUSE_DEBUG_CONTEXT = yes; then
5009 result=$wxUSE_DEBUG_CONTEXT
5012 { echo "$as_me:$LINENO: result: $result" >&5
5013 echo "${ECHO_T}$result" >&6; }
5018 if test -z "$defaultval"; then
5019 if test x"$enablestring" = xdisable; then
5026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5027 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5028 # Check whether --enable-mem_tracing was given.
5029 if test "${enable_mem_tracing+set}" = set; then
5030 enableval=$enable_mem_tracing;
5031 if test "$enableval" = yes; then
5032 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5034 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5039 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5044 eval "$wx_cv_use_mem_tracing"
5046 if test x"$enablestring" = xdisable; then
5047 if test $wxUSE_MEM_TRACING = yes; then
5053 result=$wxUSE_MEM_TRACING
5056 { echo "$as_me:$LINENO: result: $result" >&5
5057 echo "${ECHO_T}$result" >&6; }
5062 if test -z "$defaultval"; then
5063 if test x"$enablestring" = xdisable; then
5070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5071 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5072 # Check whether --enable-profile was given.
5073 if test "${enable_profile+set}" = set; then
5074 enableval=$enable_profile;
5075 if test "$enableval" = yes; then
5076 wx_cv_use_profile='wxUSE_PROFILE=yes'
5078 wx_cv_use_profile='wxUSE_PROFILE=no'
5083 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5088 eval "$wx_cv_use_profile"
5090 if test x"$enablestring" = xdisable; then
5091 if test $wxUSE_PROFILE = yes; then
5097 result=$wxUSE_PROFILE
5100 { echo "$as_me:$LINENO: result: $result" >&5
5101 echo "${ECHO_T}$result" >&6; }
5106 if test -z "$defaultval"; then
5107 if test x"$enablestring" = xdisable; then
5114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5115 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5116 # Check whether --enable-no_rtti was given.
5117 if test "${enable_no_rtti+set}" = set; then
5118 enableval=$enable_no_rtti;
5119 if test "$enableval" = yes; then
5120 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5122 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5127 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5132 eval "$wx_cv_use_no_rtti"
5134 if test x"$enablestring" = xdisable; then
5135 if test $wxUSE_NO_RTTI = yes; then
5141 result=$wxUSE_NO_RTTI
5144 { echo "$as_me:$LINENO: result: $result" >&5
5145 echo "${ECHO_T}$result" >&6; }
5150 if test -z "$defaultval"; then
5151 if test x"$enablestring" = xdisable; then
5158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5159 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5160 # Check whether --enable-no_exceptions was given.
5161 if test "${enable_no_exceptions+set}" = set; then
5162 enableval=$enable_no_exceptions;
5163 if test "$enableval" = yes; then
5164 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5166 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5171 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5176 eval "$wx_cv_use_no_exceptions"
5178 if test x"$enablestring" = xdisable; then
5179 if test $wxUSE_NO_EXCEPTIONS = yes; then
5185 result=$wxUSE_NO_EXCEPTIONS
5188 { echo "$as_me:$LINENO: result: $result" >&5
5189 echo "${ECHO_T}$result" >&6; }
5194 if test -z "$defaultval"; then
5195 if test x"$enablestring" = xdisable; then
5202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5203 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5204 # Check whether --enable-permissive was given.
5205 if test "${enable_permissive+set}" = set; then
5206 enableval=$enable_permissive;
5207 if test "$enableval" = yes; then
5208 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5210 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5215 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5220 eval "$wx_cv_use_permissive"
5222 if test x"$enablestring" = xdisable; then
5223 if test $wxUSE_PERMISSIVE = yes; then
5229 result=$wxUSE_PERMISSIVE
5232 { echo "$as_me:$LINENO: result: $result" >&5
5233 echo "${ECHO_T}$result" >&6; }
5238 if test -z "$defaultval"; then
5239 if test x"$enablestring" = xdisable; then
5246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5247 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5248 # Check whether --enable-no_deps was given.
5249 if test "${enable_no_deps+set}" = set; then
5250 enableval=$enable_no_deps;
5251 if test "$enableval" = yes; then
5252 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5254 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5259 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5264 eval "$wx_cv_use_no_deps"
5266 if test x"$enablestring" = xdisable; then
5267 if test $wxUSE_NO_DEPS = yes; then
5273 result=$wxUSE_NO_DEPS
5276 { echo "$as_me:$LINENO: result: $result" >&5
5277 echo "${ECHO_T}$result" >&6; }
5280 enablestring=disable
5282 if test -z "$defaultval"; then
5283 if test x"$enablestring" = xdisable; then
5290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5291 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5292 # Check whether --enable-vararg_macros was given.
5293 if test "${enable_vararg_macros+set}" = set; then
5294 enableval=$enable_vararg_macros;
5295 if test "$enableval" = yes; then
5296 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5298 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5303 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5308 eval "$wx_cv_use_vararg_macros"
5310 if test x"$enablestring" = xdisable; then
5311 if test $wxUSE_VARARG_MACROS = yes; then
5317 result=$wxUSE_VARARG_MACROS
5320 { echo "$as_me:$LINENO: result: $result" >&5
5321 echo "${ECHO_T}$result" >&6; }
5325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5326 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5327 # Check whether --enable-universal_binary was given.
5328 if test "${enable_universal_binary+set}" = set; then
5329 enableval=$enable_universal_binary;
5330 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5334 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5339 eval "$wx_cv_use_universal_binary"
5341 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5342 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5348 if test -z "$defaultval"; then
5349 if test x"$enablestring" = xdisable; then
5356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5357 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5358 # Check whether --enable-compat26 was given.
5359 if test "${enable_compat26+set}" = set; then
5360 enableval=$enable_compat26;
5361 if test "$enableval" = yes; then
5362 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5364 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5369 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5374 eval "$wx_cv_use_compat26"
5376 if test x"$enablestring" = xdisable; then
5377 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5383 result=$WXWIN_COMPATIBILITY_2_6
5386 { echo "$as_me:$LINENO: result: $result" >&5
5387 echo "${ECHO_T}$result" >&6; }
5390 enablestring=disable
5392 if test -z "$defaultval"; then
5393 if test x"$enablestring" = xdisable; then
5400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5401 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5402 # Check whether --enable-compat28 was given.
5403 if test "${enable_compat28+set}" = set; then
5404 enableval=$enable_compat28;
5405 if test "$enableval" = yes; then
5406 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5408 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5413 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5418 eval "$wx_cv_use_compat28"
5420 if test x"$enablestring" = xdisable; then
5421 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5427 result=$WXWIN_COMPATIBILITY_2_8
5430 { echo "$as_me:$LINENO: result: $result" >&5
5431 echo "${ECHO_T}$result" >&6; }
5435 enablestring=disable
5437 if test -z "$defaultval"; then
5438 if test x"$enablestring" = xdisable; then
5445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5446 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5447 # Check whether --enable-rpath was given.
5448 if test "${enable_rpath+set}" = set; then
5449 enableval=$enable_rpath;
5450 if test "$enableval" = yes; then
5451 wx_cv_use_rpath='wxUSE_RPATH=yes'
5453 wx_cv_use_rpath='wxUSE_RPATH=no'
5458 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5463 eval "$wx_cv_use_rpath"
5465 if test x"$enablestring" = xdisable; then
5466 if test $wxUSE_RPATH = yes; then
5475 { echo "$as_me:$LINENO: result: $result" >&5
5476 echo "${ECHO_T}$result" >&6; }
5482 if test -z "$defaultval"; then
5483 if test x"$enablestring" = xdisable; then
5490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5491 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5492 # Check whether --enable-objc_uniquifying was given.
5493 if test "${enable_objc_uniquifying+set}" = set; then
5494 enableval=$enable_objc_uniquifying;
5495 if test "$enableval" = yes; then
5496 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5498 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5503 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5508 eval "$wx_cv_use_objc_uniquifying"
5510 if test x"$enablestring" = xdisable; then
5511 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5517 result=$wxUSE_OBJC_UNIQUIFYING
5520 { echo "$as_me:$LINENO: result: $result" >&5
5521 echo "${ECHO_T}$result" >&6; }
5525 enablestring=disable
5527 if test -z "$defaultval"; then
5528 if test x"$enablestring" = xdisable; then
5535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5536 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5537 # Check whether --enable-visibility was given.
5538 if test "${enable_visibility+set}" = set; then
5539 enableval=$enable_visibility;
5540 if test "$enableval" = yes; then
5541 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5543 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5548 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5553 eval "$wx_cv_use_visibility"
5555 if test x"$enablestring" = xdisable; then
5556 if test $wxUSE_VISIBILITY = yes; then
5562 result=$wxUSE_VISIBILITY
5565 { echo "$as_me:$LINENO: result: $result" >&5
5566 echo "${ECHO_T}$result" >&6; }
5572 defaultval=$wxUSE_ALL_FEATURES
5573 if test -z "$defaultval"; then
5574 if test x"$enablestring" = xdisable; then
5581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5582 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5583 # Check whether --enable-intl was given.
5584 if test "${enable_intl+set}" = set; then
5585 enableval=$enable_intl;
5586 if test "$enableval" = yes; then
5587 wx_cv_use_intl='wxUSE_INTL=yes'
5589 wx_cv_use_intl='wxUSE_INTL=no'
5594 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5599 eval "$wx_cv_use_intl"
5601 if test x"$enablestring" = xdisable; then
5602 if test $wxUSE_INTL = yes; then
5611 { echo "$as_me:$LINENO: result: $result" >&5
5612 echo "${ECHO_T}$result" >&6; }
5616 defaultval=$wxUSE_ALL_FEATURES
5617 if test -z "$defaultval"; then
5618 if test x"$enablestring" = xdisable; then
5625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5626 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5627 # Check whether --enable-xlocale was given.
5628 if test "${enable_xlocale+set}" = set; then
5629 enableval=$enable_xlocale;
5630 if test "$enableval" = yes; then
5631 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5633 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5638 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5643 eval "$wx_cv_use_xlocale"
5645 if test x"$enablestring" = xdisable; then
5646 if test $wxUSE_XLOCALE = yes; then
5652 result=$wxUSE_XLOCALE
5655 { echo "$as_me:$LINENO: result: $result" >&5
5656 echo "${ECHO_T}$result" >&6; }
5660 defaultval=$wxUSE_ALL_FEATURES
5661 if test -z "$defaultval"; then
5662 if test x"$enablestring" = xdisable; then
5669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5670 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5671 # Check whether --enable-config was given.
5672 if test "${enable_config+set}" = set; then
5673 enableval=$enable_config;
5674 if test "$enableval" = yes; then
5675 wx_cv_use_config='wxUSE_CONFIG=yes'
5677 wx_cv_use_config='wxUSE_CONFIG=no'
5682 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5687 eval "$wx_cv_use_config"
5689 if test x"$enablestring" = xdisable; then
5690 if test $wxUSE_CONFIG = yes; then
5696 result=$wxUSE_CONFIG
5699 { echo "$as_me:$LINENO: result: $result" >&5
5700 echo "${ECHO_T}$result" >&6; }
5705 defaultval=$wxUSE_ALL_FEATURES
5706 if test -z "$defaultval"; then
5707 if test x"$enablestring" = xdisable; then
5714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5715 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5716 # Check whether --enable-protocols was given.
5717 if test "${enable_protocols+set}" = set; then
5718 enableval=$enable_protocols;
5719 if test "$enableval" = yes; then
5720 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5722 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5727 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5732 eval "$wx_cv_use_protocols"
5734 if test x"$enablestring" = xdisable; then
5735 if test $wxUSE_PROTOCOL = yes; then
5741 result=$wxUSE_PROTOCOL
5744 { echo "$as_me:$LINENO: result: $result" >&5
5745 echo "${ECHO_T}$result" >&6; }
5749 defaultval=$wxUSE_ALL_FEATURES
5750 if test -z "$defaultval"; then
5751 if test x"$enablestring" = xdisable; then
5758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5759 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5760 # Check whether --enable-ftp was given.
5761 if test "${enable_ftp+set}" = set; then
5762 enableval=$enable_ftp;
5763 if test "$enableval" = yes; then
5764 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5766 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5771 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5776 eval "$wx_cv_use_ftp"
5778 if test x"$enablestring" = xdisable; then
5779 if test $wxUSE_PROTOCOL_FTP = yes; then
5785 result=$wxUSE_PROTOCOL_FTP
5788 { echo "$as_me:$LINENO: result: $result" >&5
5789 echo "${ECHO_T}$result" >&6; }
5793 defaultval=$wxUSE_ALL_FEATURES
5794 if test -z "$defaultval"; then
5795 if test x"$enablestring" = xdisable; then
5802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5803 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5804 # Check whether --enable-http was given.
5805 if test "${enable_http+set}" = set; then
5806 enableval=$enable_http;
5807 if test "$enableval" = yes; then
5808 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5810 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5815 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5820 eval "$wx_cv_use_http"
5822 if test x"$enablestring" = xdisable; then
5823 if test $wxUSE_PROTOCOL_HTTP = yes; then
5829 result=$wxUSE_PROTOCOL_HTTP
5832 { echo "$as_me:$LINENO: result: $result" >&5
5833 echo "${ECHO_T}$result" >&6; }
5837 defaultval=$wxUSE_ALL_FEATURES
5838 if test -z "$defaultval"; then
5839 if test x"$enablestring" = xdisable; then
5846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5847 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5848 # Check whether --enable-fileproto was given.
5849 if test "${enable_fileproto+set}" = set; then
5850 enableval=$enable_fileproto;
5851 if test "$enableval" = yes; then
5852 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5854 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5859 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5864 eval "$wx_cv_use_fileproto"
5866 if test x"$enablestring" = xdisable; then
5867 if test $wxUSE_PROTOCOL_FILE = yes; then
5873 result=$wxUSE_PROTOCOL_FILE
5876 { echo "$as_me:$LINENO: result: $result" >&5
5877 echo "${ECHO_T}$result" >&6; }
5881 defaultval=$wxUSE_ALL_FEATURES
5882 if test -z "$defaultval"; then
5883 if test x"$enablestring" = xdisable; then
5890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5891 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5892 # Check whether --enable-sockets was given.
5893 if test "${enable_sockets+set}" = set; then
5894 enableval=$enable_sockets;
5895 if test "$enableval" = yes; then
5896 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5898 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5903 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5908 eval "$wx_cv_use_sockets"
5910 if test x"$enablestring" = xdisable; then
5911 if test $wxUSE_SOCKETS = yes; then
5917 result=$wxUSE_SOCKETS
5920 { echo "$as_me:$LINENO: result: $result" >&5
5921 echo "${ECHO_T}$result" >&6; }
5925 defaultval=$wxUSE_ALL_FEATURES
5926 if test -z "$defaultval"; then
5927 if test x"$enablestring" = xdisable; then
5934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5935 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5936 # Check whether --enable-ipv6 was given.
5937 if test "${enable_ipv6+set}" = set; then
5938 enableval=$enable_ipv6;
5939 if test "$enableval" = yes; then
5940 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5942 wx_cv_use_ipv6='wxUSE_IPV6=no'
5947 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5952 eval "$wx_cv_use_ipv6"
5954 if test x"$enablestring" = xdisable; then
5955 if test $wxUSE_IPV6 = yes; then
5964 { echo "$as_me:$LINENO: result: $result" >&5
5965 echo "${ECHO_T}$result" >&6; }
5969 defaultval=$wxUSE_ALL_FEATURES
5970 if test -z "$defaultval"; then
5971 if test x"$enablestring" = xdisable; then
5978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5979 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5980 # Check whether --enable-ole was given.
5981 if test "${enable_ole+set}" = set; then
5982 enableval=$enable_ole;
5983 if test "$enableval" = yes; then
5984 wx_cv_use_ole='wxUSE_OLE=yes'
5986 wx_cv_use_ole='wxUSE_OLE=no'
5991 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5996 eval "$wx_cv_use_ole"
5998 if test x"$enablestring" = xdisable; then
5999 if test $wxUSE_OLE = yes; then
6008 { echo "$as_me:$LINENO: result: $result" >&5
6009 echo "${ECHO_T}$result" >&6; }
6013 defaultval=$wxUSE_ALL_FEATURES
6014 if test -z "$defaultval"; then
6015 if test x"$enablestring" = xdisable; then
6022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6023 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6024 # Check whether --enable-dataobj was given.
6025 if test "${enable_dataobj+set}" = set; then
6026 enableval=$enable_dataobj;
6027 if test "$enableval" = yes; then
6028 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6030 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6035 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6040 eval "$wx_cv_use_dataobj"
6042 if test x"$enablestring" = xdisable; then
6043 if test $wxUSE_DATAOBJ = yes; then
6049 result=$wxUSE_DATAOBJ
6052 { echo "$as_me:$LINENO: result: $result" >&5
6053 echo "${ECHO_T}$result" >&6; }
6058 defaultval=$wxUSE_ALL_FEATURES
6059 if test -z "$defaultval"; then
6060 if test x"$enablestring" = xdisable; then
6067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6068 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6069 # Check whether --enable-ipc was given.
6070 if test "${enable_ipc+set}" = set; then
6071 enableval=$enable_ipc;
6072 if test "$enableval" = yes; then
6073 wx_cv_use_ipc='wxUSE_IPC=yes'
6075 wx_cv_use_ipc='wxUSE_IPC=no'
6080 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6085 eval "$wx_cv_use_ipc"
6087 if test x"$enablestring" = xdisable; then
6088 if test $wxUSE_IPC = yes; then
6097 { echo "$as_me:$LINENO: result: $result" >&5
6098 echo "${ECHO_T}$result" >&6; }
6103 defaultval=$wxUSE_ALL_FEATURES
6104 if test -z "$defaultval"; then
6105 if test x"$enablestring" = xdisable; then
6112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6113 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6114 # Check whether --enable-baseevtloop was given.
6115 if test "${enable_baseevtloop+set}" = set; then
6116 enableval=$enable_baseevtloop;
6117 if test "$enableval" = yes; then
6118 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6120 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6125 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6130 eval "$wx_cv_use_baseevtloop"
6132 if test x"$enablestring" = xdisable; then
6133 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6139 result=$wxUSE_CONSOLE_EVENTLOOP
6142 { echo "$as_me:$LINENO: result: $result" >&5
6143 echo "${ECHO_T}$result" >&6; }
6147 defaultval=$wxUSE_ALL_FEATURES
6148 if test -z "$defaultval"; then
6149 if test x"$enablestring" = xdisable; then
6156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6157 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6158 # Check whether --enable-epollloop was given.
6159 if test "${enable_epollloop+set}" = set; then
6160 enableval=$enable_epollloop;
6161 if test "$enableval" = yes; then
6162 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6164 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6169 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6174 eval "$wx_cv_use_epollloop"
6176 if test x"$enablestring" = xdisable; then
6177 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6183 result=$wxUSE_EPOLL_DISPATCHER
6186 { echo "$as_me:$LINENO: result: $result" >&5
6187 echo "${ECHO_T}$result" >&6; }
6191 defaultval=$wxUSE_ALL_FEATURES
6192 if test -z "$defaultval"; then
6193 if test x"$enablestring" = xdisable; then
6200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6201 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6202 # Check whether --enable-selectloop was given.
6203 if test "${enable_selectloop+set}" = set; then
6204 enableval=$enable_selectloop;
6205 if test "$enableval" = yes; then
6206 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6208 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6213 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6218 eval "$wx_cv_use_selectloop"
6220 if test x"$enablestring" = xdisable; then
6221 if test $wxUSE_SELECT_DISPATCHER = yes; then
6227 result=$wxUSE_SELECT_DISPATCHER
6230 { echo "$as_me:$LINENO: result: $result" >&5
6231 echo "${ECHO_T}$result" >&6; }
6236 defaultval=$wxUSE_ALL_FEATURES
6237 if test -z "$defaultval"; then
6238 if test x"$enablestring" = xdisable; then
6245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6246 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6247 # Check whether --enable-apple_ieee was given.
6248 if test "${enable_apple_ieee+set}" = set; then
6249 enableval=$enable_apple_ieee;
6250 if test "$enableval" = yes; then
6251 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6253 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6258 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6263 eval "$wx_cv_use_apple_ieee"
6265 if test x"$enablestring" = xdisable; then
6266 if test $wxUSE_APPLE_IEEE = yes; then
6272 result=$wxUSE_APPLE_IEEE
6275 { echo "$as_me:$LINENO: result: $result" >&5
6276 echo "${ECHO_T}$result" >&6; }
6280 defaultval=$wxUSE_ALL_FEATURES
6281 if test -z "$defaultval"; then
6282 if test x"$enablestring" = xdisable; then
6289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6290 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6291 # Check whether --enable-arcstream was given.
6292 if test "${enable_arcstream+set}" = set; then
6293 enableval=$enable_arcstream;
6294 if test "$enableval" = yes; then
6295 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6297 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6302 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6307 eval "$wx_cv_use_arcstream"
6309 if test x"$enablestring" = xdisable; then
6310 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6316 result=$wxUSE_ARCHIVE_STREAMS
6319 { echo "$as_me:$LINENO: result: $result" >&5
6320 echo "${ECHO_T}$result" >&6; }
6324 defaultval=$wxUSE_ALL_FEATURES
6325 if test -z "$defaultval"; then
6326 if test x"$enablestring" = xdisable; then
6333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6334 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6335 # Check whether --enable-base64 was given.
6336 if test "${enable_base64+set}" = set; then
6337 enableval=$enable_base64;
6338 if test "$enableval" = yes; then
6339 wx_cv_use_base64='wxUSE_BASE64=yes'
6341 wx_cv_use_base64='wxUSE_BASE64=no'
6346 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6351 eval "$wx_cv_use_base64"
6353 if test x"$enablestring" = xdisable; then
6354 if test $wxUSE_BASE64 = yes; then
6360 result=$wxUSE_BASE64
6363 { echo "$as_me:$LINENO: result: $result" >&5
6364 echo "${ECHO_T}$result" >&6; }
6368 defaultval=$wxUSE_ALL_FEATURES
6369 if test -z "$defaultval"; then
6370 if test x"$enablestring" = xdisable; then
6377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6378 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6379 # Check whether --enable-backtrace was given.
6380 if test "${enable_backtrace+set}" = set; then
6381 enableval=$enable_backtrace;
6382 if test "$enableval" = yes; then
6383 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6385 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6390 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6395 eval "$wx_cv_use_backtrace"
6397 if test x"$enablestring" = xdisable; then
6398 if test $wxUSE_STACKWALKER = yes; then
6404 result=$wxUSE_STACKWALKER
6407 { echo "$as_me:$LINENO: result: $result" >&5
6408 echo "${ECHO_T}$result" >&6; }
6412 defaultval=$wxUSE_ALL_FEATURES
6413 if test -z "$defaultval"; then
6414 if test x"$enablestring" = xdisable; then
6421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6422 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6423 # Check whether --enable-catch_segvs was given.
6424 if test "${enable_catch_segvs+set}" = set; then
6425 enableval=$enable_catch_segvs;
6426 if test "$enableval" = yes; then
6427 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6429 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6434 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6439 eval "$wx_cv_use_catch_segvs"
6441 if test x"$enablestring" = xdisable; then
6442 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6448 result=$wxUSE_ON_FATAL_EXCEPTION
6451 { echo "$as_me:$LINENO: result: $result" >&5
6452 echo "${ECHO_T}$result" >&6; }
6456 defaultval=$wxUSE_ALL_FEATURES
6457 if test -z "$defaultval"; then
6458 if test x"$enablestring" = xdisable; then
6465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6466 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6467 # Check whether --enable-cmdline was given.
6468 if test "${enable_cmdline+set}" = set; then
6469 enableval=$enable_cmdline;
6470 if test "$enableval" = yes; then
6471 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6473 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6478 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6483 eval "$wx_cv_use_cmdline"
6485 if test x"$enablestring" = xdisable; then
6486 if test $wxUSE_CMDLINE_PARSER = yes; then
6492 result=$wxUSE_CMDLINE_PARSER
6495 { echo "$as_me:$LINENO: result: $result" >&5
6496 echo "${ECHO_T}$result" >&6; }
6500 defaultval=$wxUSE_ALL_FEATURES
6501 if test -z "$defaultval"; then
6502 if test x"$enablestring" = xdisable; then
6509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6510 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6511 # Check whether --enable-datetime was given.
6512 if test "${enable_datetime+set}" = set; then
6513 enableval=$enable_datetime;
6514 if test "$enableval" = yes; then
6515 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6517 wx_cv_use_datetime='wxUSE_DATETIME=no'
6522 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6527 eval "$wx_cv_use_datetime"
6529 if test x"$enablestring" = xdisable; then
6530 if test $wxUSE_DATETIME = yes; then
6536 result=$wxUSE_DATETIME
6539 { echo "$as_me:$LINENO: result: $result" >&5
6540 echo "${ECHO_T}$result" >&6; }
6544 defaultval=$wxUSE_ALL_FEATURES
6545 if test -z "$defaultval"; then
6546 if test x"$enablestring" = xdisable; then
6553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6554 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6555 # Check whether --enable-debugreport was given.
6556 if test "${enable_debugreport+set}" = set; then
6557 enableval=$enable_debugreport;
6558 if test "$enableval" = yes; then
6559 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6561 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6566 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6571 eval "$wx_cv_use_debugreport"
6573 if test x"$enablestring" = xdisable; then
6574 if test $wxUSE_DEBUGREPORT = yes; then
6580 result=$wxUSE_DEBUGREPORT
6583 { echo "$as_me:$LINENO: result: $result" >&5
6584 echo "${ECHO_T}$result" >&6; }
6588 defaultval=$wxUSE_ALL_FEATURES
6589 if test -z "$defaultval"; then
6590 if test x"$enablestring" = xdisable; then
6597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6598 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6599 # Check whether --enable-dialupman was given.
6600 if test "${enable_dialupman+set}" = set; then
6601 enableval=$enable_dialupman;
6602 if test "$enableval" = yes; then
6603 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6605 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6610 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6615 eval "$wx_cv_use_dialupman"
6617 if test x"$enablestring" = xdisable; then
6618 if test $wxUSE_DIALUP_MANAGER = yes; then
6624 result=$wxUSE_DIALUP_MANAGER
6627 { echo "$as_me:$LINENO: result: $result" >&5
6628 echo "${ECHO_T}$result" >&6; }
6632 defaultval=$wxUSE_ALL_FEATURES
6633 if test -z "$defaultval"; then
6634 if test x"$enablestring" = xdisable; then
6641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6642 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6643 # Check whether --enable-dynlib was given.
6644 if test "${enable_dynlib+set}" = set; then
6645 enableval=$enable_dynlib;
6646 if test "$enableval" = yes; then
6647 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6649 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6654 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6659 eval "$wx_cv_use_dynlib"
6661 if test x"$enablestring" = xdisable; then
6662 if test $wxUSE_DYNLIB_CLASS = yes; then
6668 result=$wxUSE_DYNLIB_CLASS
6671 { echo "$as_me:$LINENO: result: $result" >&5
6672 echo "${ECHO_T}$result" >&6; }
6676 defaultval=$wxUSE_ALL_FEATURES
6677 if test -z "$defaultval"; then
6678 if test x"$enablestring" = xdisable; then
6685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6686 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6687 # Check whether --enable-dynamicloader was given.
6688 if test "${enable_dynamicloader+set}" = set; then
6689 enableval=$enable_dynamicloader;
6690 if test "$enableval" = yes; then
6691 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6693 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6698 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6703 eval "$wx_cv_use_dynamicloader"
6705 if test x"$enablestring" = xdisable; then
6706 if test $wxUSE_DYNAMIC_LOADER = yes; then
6712 result=$wxUSE_DYNAMIC_LOADER
6715 { echo "$as_me:$LINENO: result: $result" >&5
6716 echo "${ECHO_T}$result" >&6; }
6720 defaultval=$wxUSE_ALL_FEATURES
6721 if test -z "$defaultval"; then
6722 if test x"$enablestring" = xdisable; then
6729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6730 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6731 # Check whether --enable-exceptions was given.
6732 if test "${enable_exceptions+set}" = set; then
6733 enableval=$enable_exceptions;
6734 if test "$enableval" = yes; then
6735 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6737 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6742 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6747 eval "$wx_cv_use_exceptions"
6749 if test x"$enablestring" = xdisable; then
6750 if test $wxUSE_EXCEPTIONS = yes; then
6756 result=$wxUSE_EXCEPTIONS
6759 { echo "$as_me:$LINENO: result: $result" >&5
6760 echo "${ECHO_T}$result" >&6; }
6764 defaultval=$wxUSE_ALL_FEATURES
6765 if test -z "$defaultval"; then
6766 if test x"$enablestring" = xdisable; then
6773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6774 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6775 # Check whether --enable-ffile was given.
6776 if test "${enable_ffile+set}" = set; then
6777 enableval=$enable_ffile;
6778 if test "$enableval" = yes; then
6779 wx_cv_use_ffile='wxUSE_FFILE=yes'
6781 wx_cv_use_ffile='wxUSE_FFILE=no'
6786 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6791 eval "$wx_cv_use_ffile"
6793 if test x"$enablestring" = xdisable; then
6794 if test $wxUSE_FFILE = yes; then
6803 { echo "$as_me:$LINENO: result: $result" >&5
6804 echo "${ECHO_T}$result" >&6; }
6808 defaultval=$wxUSE_ALL_FEATURES
6809 if test -z "$defaultval"; then
6810 if test x"$enablestring" = xdisable; then
6817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6818 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6819 # Check whether --enable-file was given.
6820 if test "${enable_file+set}" = set; then
6821 enableval=$enable_file;
6822 if test "$enableval" = yes; then
6823 wx_cv_use_file='wxUSE_FILE=yes'
6825 wx_cv_use_file='wxUSE_FILE=no'
6830 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6835 eval "$wx_cv_use_file"
6837 if test x"$enablestring" = xdisable; then
6838 if test $wxUSE_FILE = yes; then
6847 { echo "$as_me:$LINENO: result: $result" >&5
6848 echo "${ECHO_T}$result" >&6; }
6852 defaultval=$wxUSE_ALL_FEATURES
6853 if test -z "$defaultval"; then
6854 if test x"$enablestring" = xdisable; then
6861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6862 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6863 # Check whether --enable-filesystem was given.
6864 if test "${enable_filesystem+set}" = set; then
6865 enableval=$enable_filesystem;
6866 if test "$enableval" = yes; then
6867 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6869 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6874 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6879 eval "$wx_cv_use_filesystem"
6881 if test x"$enablestring" = xdisable; then
6882 if test $wxUSE_FILESYSTEM = yes; then
6888 result=$wxUSE_FILESYSTEM
6891 { echo "$as_me:$LINENO: result: $result" >&5
6892 echo "${ECHO_T}$result" >&6; }
6896 defaultval=$wxUSE_ALL_FEATURES
6897 if test -z "$defaultval"; then
6898 if test x"$enablestring" = xdisable; then
6905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6906 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6907 # Check whether --enable-fontenum was given.
6908 if test "${enable_fontenum+set}" = set; then
6909 enableval=$enable_fontenum;
6910 if test "$enableval" = yes; then
6911 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6913 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6918 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6923 eval "$wx_cv_use_fontenum"
6925 if test x"$enablestring" = xdisable; then
6926 if test $wxUSE_FONTENUM = yes; then
6932 result=$wxUSE_FONTENUM
6935 { echo "$as_me:$LINENO: result: $result" >&5
6936 echo "${ECHO_T}$result" >&6; }
6940 defaultval=$wxUSE_ALL_FEATURES
6941 if test -z "$defaultval"; then
6942 if test x"$enablestring" = xdisable; then
6949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6950 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6951 # Check whether --enable-fontmap was given.
6952 if test "${enable_fontmap+set}" = set; then
6953 enableval=$enable_fontmap;
6954 if test "$enableval" = yes; then
6955 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6957 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6962 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6967 eval "$wx_cv_use_fontmap"
6969 if test x"$enablestring" = xdisable; then
6970 if test $wxUSE_FONTMAP = yes; then
6976 result=$wxUSE_FONTMAP
6979 { echo "$as_me:$LINENO: result: $result" >&5
6980 echo "${ECHO_T}$result" >&6; }
6984 defaultval=$wxUSE_ALL_FEATURES
6985 if test -z "$defaultval"; then
6986 if test x"$enablestring" = xdisable; then
6993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6994 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6995 # Check whether --enable-fs_archive was given.
6996 if test "${enable_fs_archive+set}" = set; then
6997 enableval=$enable_fs_archive;
6998 if test "$enableval" = yes; then
6999 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7001 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7006 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7011 eval "$wx_cv_use_fs_archive"
7013 if test x"$enablestring" = xdisable; then
7014 if test $wxUSE_FS_ARCHIVE = yes; then
7020 result=$wxUSE_FS_ARCHIVE
7023 { echo "$as_me:$LINENO: result: $result" >&5
7024 echo "${ECHO_T}$result" >&6; }
7028 defaultval=$wxUSE_ALL_FEATURES
7029 if test -z "$defaultval"; then
7030 if test x"$enablestring" = xdisable; then
7037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7038 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7039 # Check whether --enable-fs_inet was given.
7040 if test "${enable_fs_inet+set}" = set; then
7041 enableval=$enable_fs_inet;
7042 if test "$enableval" = yes; then
7043 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7045 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7050 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7055 eval "$wx_cv_use_fs_inet"
7057 if test x"$enablestring" = xdisable; then
7058 if test $wxUSE_FS_INET = yes; then
7064 result=$wxUSE_FS_INET
7067 { echo "$as_me:$LINENO: result: $result" >&5
7068 echo "${ECHO_T}$result" >&6; }
7072 defaultval=$wxUSE_ALL_FEATURES
7073 if test -z "$defaultval"; then
7074 if test x"$enablestring" = xdisable; then
7081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7082 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7083 # Check whether --enable-fs_zip was given.
7084 if test "${enable_fs_zip+set}" = set; then
7085 enableval=$enable_fs_zip;
7086 if test "$enableval" = yes; then
7087 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7089 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7094 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7099 eval "$wx_cv_use_fs_zip"
7101 if test x"$enablestring" = xdisable; then
7102 if test $wxUSE_FS_ZIP = yes; then
7108 result=$wxUSE_FS_ZIP
7111 { echo "$as_me:$LINENO: result: $result" >&5
7112 echo "${ECHO_T}$result" >&6; }
7116 defaultval=$wxUSE_ALL_FEATURES
7117 if test -z "$defaultval"; then
7118 if test x"$enablestring" = xdisable; then
7125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7126 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7127 # Check whether --enable-geometry was given.
7128 if test "${enable_geometry+set}" = set; then
7129 enableval=$enable_geometry;
7130 if test "$enableval" = yes; then
7131 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7133 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7138 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7143 eval "$wx_cv_use_geometry"
7145 if test x"$enablestring" = xdisable; then
7146 if test $wxUSE_GEOMETRY = yes; then
7152 result=$wxUSE_GEOMETRY
7155 { echo "$as_me:$LINENO: result: $result" >&5
7156 echo "${ECHO_T}$result" >&6; }
7160 defaultval=$wxUSE_ALL_FEATURES
7161 if test -z "$defaultval"; then
7162 if test x"$enablestring" = xdisable; then
7169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7170 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7171 # Check whether --enable-log was given.
7172 if test "${enable_log+set}" = set; then
7173 enableval=$enable_log;
7174 if test "$enableval" = yes; then
7175 wx_cv_use_log='wxUSE_LOG=yes'
7177 wx_cv_use_log='wxUSE_LOG=no'
7182 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7187 eval "$wx_cv_use_log"
7189 if test x"$enablestring" = xdisable; then
7190 if test $wxUSE_LOG = yes; then
7199 { echo "$as_me:$LINENO: result: $result" >&5
7200 echo "${ECHO_T}$result" >&6; }
7204 defaultval=$wxUSE_ALL_FEATURES
7205 if test -z "$defaultval"; then
7206 if test x"$enablestring" = xdisable; then
7213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7214 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7215 # Check whether --enable-longlong was given.
7216 if test "${enable_longlong+set}" = set; then
7217 enableval=$enable_longlong;
7218 if test "$enableval" = yes; then
7219 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7221 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7226 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7231 eval "$wx_cv_use_longlong"
7233 if test x"$enablestring" = xdisable; then
7234 if test $wxUSE_LONGLONG = yes; then
7240 result=$wxUSE_LONGLONG
7243 { echo "$as_me:$LINENO: result: $result" >&5
7244 echo "${ECHO_T}$result" >&6; }
7248 defaultval=$wxUSE_ALL_FEATURES
7249 if test -z "$defaultval"; then
7250 if test x"$enablestring" = xdisable; then
7257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7258 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7259 # Check whether --enable-mimetype was given.
7260 if test "${enable_mimetype+set}" = set; then
7261 enableval=$enable_mimetype;
7262 if test "$enableval" = yes; then
7263 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7265 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7270 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7275 eval "$wx_cv_use_mimetype"
7277 if test x"$enablestring" = xdisable; then
7278 if test $wxUSE_MIMETYPE = yes; then
7284 result=$wxUSE_MIMETYPE
7287 { echo "$as_me:$LINENO: result: $result" >&5
7288 echo "${ECHO_T}$result" >&6; }
7292 defaultval=$wxUSE_ALL_FEATURES
7293 if test -z "$defaultval"; then
7294 if test x"$enablestring" = xdisable; then
7301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7302 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7303 # Check whether --enable-printfposparam was given.
7304 if test "${enable_printfposparam+set}" = set; then
7305 enableval=$enable_printfposparam;
7306 if test "$enableval" = yes; then
7307 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7309 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7314 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7319 eval "$wx_cv_use_printfposparam"
7321 if test x"$enablestring" = xdisable; then
7322 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7328 result=$wxUSE_PRINTF_POS_PARAMS
7331 { echo "$as_me:$LINENO: result: $result" >&5
7332 echo "${ECHO_T}$result" >&6; }
7336 defaultval=$wxUSE_ALL_FEATURES
7337 if test -z "$defaultval"; then
7338 if test x"$enablestring" = xdisable; then
7345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7346 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7347 # Check whether --enable-snglinst was given.
7348 if test "${enable_snglinst+set}" = set; then
7349 enableval=$enable_snglinst;
7350 if test "$enableval" = yes; then
7351 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7353 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7358 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7363 eval "$wx_cv_use_snglinst"
7365 if test x"$enablestring" = xdisable; then
7366 if test $wxUSE_SNGLINST_CHECKER = yes; then
7372 result=$wxUSE_SNGLINST_CHECKER
7375 { echo "$as_me:$LINENO: result: $result" >&5
7376 echo "${ECHO_T}$result" >&6; }
7380 defaultval=$wxUSE_ALL_FEATURES
7381 if test -z "$defaultval"; then
7382 if test x"$enablestring" = xdisable; then
7389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7390 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7391 # Check whether --enable-sound was given.
7392 if test "${enable_sound+set}" = set; then
7393 enableval=$enable_sound;
7394 if test "$enableval" = yes; then
7395 wx_cv_use_sound='wxUSE_SOUND=yes'
7397 wx_cv_use_sound='wxUSE_SOUND=no'
7402 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7407 eval "$wx_cv_use_sound"
7409 if test x"$enablestring" = xdisable; then
7410 if test $wxUSE_SOUND = yes; then
7419 { echo "$as_me:$LINENO: result: $result" >&5
7420 echo "${ECHO_T}$result" >&6; }
7424 defaultval=$wxUSE_ALL_FEATURES
7425 if test -z "$defaultval"; then
7426 if test x"$enablestring" = xdisable; then
7433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7434 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7435 # Check whether --enable-stdpaths was given.
7436 if test "${enable_stdpaths+set}" = set; then
7437 enableval=$enable_stdpaths;
7438 if test "$enableval" = yes; then
7439 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7441 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7446 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7451 eval "$wx_cv_use_stdpaths"
7453 if test x"$enablestring" = xdisable; then
7454 if test $wxUSE_STDPATHS = yes; then
7460 result=$wxUSE_STDPATHS
7463 { echo "$as_me:$LINENO: result: $result" >&5
7464 echo "${ECHO_T}$result" >&6; }
7468 defaultval=$wxUSE_ALL_FEATURES
7469 if test -z "$defaultval"; then
7470 if test x"$enablestring" = xdisable; then
7477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7478 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7479 # Check whether --enable-stopwatch was given.
7480 if test "${enable_stopwatch+set}" = set; then
7481 enableval=$enable_stopwatch;
7482 if test "$enableval" = yes; then
7483 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7485 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7490 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7495 eval "$wx_cv_use_stopwatch"
7497 if test x"$enablestring" = xdisable; then
7498 if test $wxUSE_STOPWATCH = yes; then
7504 result=$wxUSE_STOPWATCH
7507 { echo "$as_me:$LINENO: result: $result" >&5
7508 echo "${ECHO_T}$result" >&6; }
7512 defaultval=$wxUSE_ALL_FEATURES
7513 if test -z "$defaultval"; then
7514 if test x"$enablestring" = xdisable; then
7521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7522 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7523 # Check whether --enable-streams was given.
7524 if test "${enable_streams+set}" = set; then
7525 enableval=$enable_streams;
7526 if test "$enableval" = yes; then
7527 wx_cv_use_streams='wxUSE_STREAMS=yes'
7529 wx_cv_use_streams='wxUSE_STREAMS=no'
7534 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7539 eval "$wx_cv_use_streams"
7541 if test x"$enablestring" = xdisable; then
7542 if test $wxUSE_STREAMS = yes; then
7548 result=$wxUSE_STREAMS
7551 { echo "$as_me:$LINENO: result: $result" >&5
7552 echo "${ECHO_T}$result" >&6; }
7556 defaultval=$wxUSE_ALL_FEATURES
7557 if test -z "$defaultval"; then
7558 if test x"$enablestring" = xdisable; then
7565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7566 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7567 # Check whether --enable-system_options was given.
7568 if test "${enable_system_options+set}" = set; then
7569 enableval=$enable_system_options;
7570 if test "$enableval" = yes; then
7571 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7573 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7578 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7583 eval "$wx_cv_use_system_options"
7585 if test x"$enablestring" = xdisable; then
7586 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7592 result=$wxUSE_SYSTEM_OPTIONS
7595 { echo "$as_me:$LINENO: result: $result" >&5
7596 echo "${ECHO_T}$result" >&6; }
7600 defaultval=$wxUSE_ALL_FEATURES
7601 if test -z "$defaultval"; then
7602 if test x"$enablestring" = xdisable; then
7609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7610 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7611 # Check whether --enable-tarstream was given.
7612 if test "${enable_tarstream+set}" = set; then
7613 enableval=$enable_tarstream;
7614 if test "$enableval" = yes; then
7615 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7617 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7622 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7627 eval "$wx_cv_use_tarstream"
7629 if test x"$enablestring" = xdisable; then
7630 if test $wxUSE_TARSTREAM = yes; then
7636 result=$wxUSE_TARSTREAM
7639 { echo "$as_me:$LINENO: result: $result" >&5
7640 echo "${ECHO_T}$result" >&6; }
7644 defaultval=$wxUSE_ALL_FEATURES
7645 if test -z "$defaultval"; then
7646 if test x"$enablestring" = xdisable; then
7653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7654 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7655 # Check whether --enable-textbuf was given.
7656 if test "${enable_textbuf+set}" = set; then
7657 enableval=$enable_textbuf;
7658 if test "$enableval" = yes; then
7659 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7661 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7666 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7671 eval "$wx_cv_use_textbuf"
7673 if test x"$enablestring" = xdisable; then
7674 if test $wxUSE_TEXTBUFFER = yes; then
7680 result=$wxUSE_TEXTBUFFER
7683 { echo "$as_me:$LINENO: result: $result" >&5
7684 echo "${ECHO_T}$result" >&6; }
7688 defaultval=$wxUSE_ALL_FEATURES
7689 if test -z "$defaultval"; then
7690 if test x"$enablestring" = xdisable; then
7697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7698 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7699 # Check whether --enable-textfile was given.
7700 if test "${enable_textfile+set}" = set; then
7701 enableval=$enable_textfile;
7702 if test "$enableval" = yes; then
7703 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7705 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7710 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7715 eval "$wx_cv_use_textfile"
7717 if test x"$enablestring" = xdisable; then
7718 if test $wxUSE_TEXTFILE = yes; then
7724 result=$wxUSE_TEXTFILE
7727 { echo "$as_me:$LINENO: result: $result" >&5
7728 echo "${ECHO_T}$result" >&6; }
7732 defaultval=$wxUSE_ALL_FEATURES
7733 if test -z "$defaultval"; then
7734 if test x"$enablestring" = xdisable; then
7741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7742 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7743 # Check whether --enable-timer was given.
7744 if test "${enable_timer+set}" = set; then
7745 enableval=$enable_timer;
7746 if test "$enableval" = yes; then
7747 wx_cv_use_timer='wxUSE_TIMER=yes'
7749 wx_cv_use_timer='wxUSE_TIMER=no'
7754 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7759 eval "$wx_cv_use_timer"
7761 if test x"$enablestring" = xdisable; then
7762 if test $wxUSE_TIMER = yes; then
7771 { echo "$as_me:$LINENO: result: $result" >&5
7772 echo "${ECHO_T}$result" >&6; }
7776 defaultval=$wxUSE_ALL_FEATURES
7777 if test -z "$defaultval"; then
7778 if test x"$enablestring" = xdisable; then
7785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7786 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7787 # Check whether --enable-variant was given.
7788 if test "${enable_variant+set}" = set; then
7789 enableval=$enable_variant;
7790 if test "$enableval" = yes; then
7791 wx_cv_use_variant='wxUSE_VARIANT=yes'
7793 wx_cv_use_variant='wxUSE_VARIANT=no'
7798 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7803 eval "$wx_cv_use_variant"
7805 if test x"$enablestring" = xdisable; then
7806 if test $wxUSE_VARIANT = yes; then
7812 result=$wxUSE_VARIANT
7815 { echo "$as_me:$LINENO: result: $result" >&5
7816 echo "${ECHO_T}$result" >&6; }
7820 defaultval=$wxUSE_ALL_FEATURES
7821 if test -z "$defaultval"; then
7822 if test x"$enablestring" = xdisable; then
7829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-weakref" >&5
7830 echo $ECHO_N "checking for --${enablestring:-enable}-weakref... $ECHO_C" >&6; }
7831 # Check whether --enable-weakref was given.
7832 if test "${enable_weakref+set}" = set; then
7833 enableval=$enable_weakref;
7834 if test "$enableval" = yes; then
7835 wx_cv_use_weakref='wxUSE_WEAKREF=yes'
7837 wx_cv_use_weakref='wxUSE_WEAKREF=no'
7842 wx_cv_use_weakref='wxUSE_WEAKREF=${'DEFAULT_wxUSE_WEAKREF":-$defaultval}"
7847 eval "$wx_cv_use_weakref"
7849 if test x"$enablestring" = xdisable; then
7850 if test $wxUSE_WEAKREF = yes; then
7856 result=$wxUSE_WEAKREF
7859 { echo "$as_me:$LINENO: result: $result" >&5
7860 echo "${ECHO_T}$result" >&6; }
7864 defaultval=$wxUSE_ALL_FEATURES
7865 if test -z "$defaultval"; then
7866 if test x"$enablestring" = xdisable; then
7873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7874 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7875 # Check whether --enable-zipstream was given.
7876 if test "${enable_zipstream+set}" = set; then
7877 enableval=$enable_zipstream;
7878 if test "$enableval" = yes; then
7879 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7881 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7886 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7891 eval "$wx_cv_use_zipstream"
7893 if test x"$enablestring" = xdisable; then
7894 if test $wxUSE_ZIPSTREAM = yes; then
7900 result=$wxUSE_ZIPSTREAM
7903 { echo "$as_me:$LINENO: result: $result" >&5
7904 echo "${ECHO_T}$result" >&6; }
7909 defaultval=$wxUSE_ALL_FEATURES
7910 if test -z "$defaultval"; then
7911 if test x"$enablestring" = xdisable; then
7918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7919 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7920 # Check whether --enable-url was given.
7921 if test "${enable_url+set}" = set; then
7922 enableval=$enable_url;
7923 if test "$enableval" = yes; then
7924 wx_cv_use_url='wxUSE_URL=yes'
7926 wx_cv_use_url='wxUSE_URL=no'
7931 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7936 eval "$wx_cv_use_url"
7938 if test x"$enablestring" = xdisable; then
7939 if test $wxUSE_URL = yes; then
7948 { echo "$as_me:$LINENO: result: $result" >&5
7949 echo "${ECHO_T}$result" >&6; }
7953 defaultval=$wxUSE_ALL_FEATURES
7954 if test -z "$defaultval"; then
7955 if test x"$enablestring" = xdisable; then
7962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7963 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7964 # Check whether --enable-protocol was given.
7965 if test "${enable_protocol+set}" = set; then
7966 enableval=$enable_protocol;
7967 if test "$enableval" = yes; then
7968 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7970 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7975 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7980 eval "$wx_cv_use_protocol"
7982 if test x"$enablestring" = xdisable; then
7983 if test $wxUSE_PROTOCOL = yes; then
7989 result=$wxUSE_PROTOCOL
7992 { echo "$as_me:$LINENO: result: $result" >&5
7993 echo "${ECHO_T}$result" >&6; }
7997 defaultval=$wxUSE_ALL_FEATURES
7998 if test -z "$defaultval"; then
7999 if test x"$enablestring" = xdisable; then
8006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8007 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8008 # Check whether --enable-protocol_http was given.
8009 if test "${enable_protocol_http+set}" = set; then
8010 enableval=$enable_protocol_http;
8011 if test "$enableval" = yes; then
8012 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8014 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8019 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8024 eval "$wx_cv_use_protocol_http"
8026 if test x"$enablestring" = xdisable; then
8027 if test $wxUSE_PROTOCOL_HTTP = yes; then
8033 result=$wxUSE_PROTOCOL_HTTP
8036 { echo "$as_me:$LINENO: result: $result" >&5
8037 echo "${ECHO_T}$result" >&6; }
8041 defaultval=$wxUSE_ALL_FEATURES
8042 if test -z "$defaultval"; then
8043 if test x"$enablestring" = xdisable; then
8050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8051 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8052 # Check whether --enable-protocol_ftp was given.
8053 if test "${enable_protocol_ftp+set}" = set; then
8054 enableval=$enable_protocol_ftp;
8055 if test "$enableval" = yes; then
8056 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8058 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8063 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8068 eval "$wx_cv_use_protocol_ftp"
8070 if test x"$enablestring" = xdisable; then
8071 if test $wxUSE_PROTOCOL_FTP = yes; then
8077 result=$wxUSE_PROTOCOL_FTP
8080 { echo "$as_me:$LINENO: result: $result" >&5
8081 echo "${ECHO_T}$result" >&6; }
8085 defaultval=$wxUSE_ALL_FEATURES
8086 if test -z "$defaultval"; then
8087 if test x"$enablestring" = xdisable; then
8094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8095 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8096 # Check whether --enable-protocol_file was given.
8097 if test "${enable_protocol_file+set}" = set; then
8098 enableval=$enable_protocol_file;
8099 if test "$enableval" = yes; then
8100 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8102 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8107 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8112 eval "$wx_cv_use_protocol_file"
8114 if test x"$enablestring" = xdisable; then
8115 if test $wxUSE_PROTOCOL_FILE = yes; then
8121 result=$wxUSE_PROTOCOL_FILE
8124 { echo "$as_me:$LINENO: result: $result" >&5
8125 echo "${ECHO_T}$result" >&6; }
8130 defaultval=$wxUSE_ALL_FEATURES
8131 if test -z "$defaultval"; then
8132 if test x"$enablestring" = xdisable; then
8139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8140 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8141 # Check whether --enable-threads was given.
8142 if test "${enable_threads+set}" = set; then
8143 enableval=$enable_threads;
8144 if test "$enableval" = yes; then
8145 wx_cv_use_threads='wxUSE_THREADS=yes'
8147 wx_cv_use_threads='wxUSE_THREADS=no'
8152 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8157 eval "$wx_cv_use_threads"
8159 if test x"$enablestring" = xdisable; then
8160 if test $wxUSE_THREADS = yes; then
8166 result=$wxUSE_THREADS
8169 { echo "$as_me:$LINENO: result: $result" >&5
8170 echo "${ECHO_T}$result" >&6; }
8176 if test -z "$defaultval"; then
8177 if test x"$enablestring" = xdisable; then
8184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8185 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8186 # Check whether --enable-iniconf was given.
8187 if test "${enable_iniconf+set}" = set; then
8188 enableval=$enable_iniconf;
8189 if test "$enableval" = yes; then
8190 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8192 wx_cv_use_iniconf='wxUSE_INICONF=no'
8197 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8202 eval "$wx_cv_use_iniconf"
8204 if test x"$enablestring" = xdisable; then
8205 if test $wxUSE_INICONF = yes; then
8211 result=$wxUSE_INICONF
8214 { echo "$as_me:$LINENO: result: $result" >&5
8215 echo "${ECHO_T}$result" >&6; }
8219 defaultval=$wxUSE_ALL_FEATURES
8220 if test -z "$defaultval"; then
8221 if test x"$enablestring" = xdisable; then
8228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8229 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8230 # Check whether --enable-regkey was given.
8231 if test "${enable_regkey+set}" = set; then
8232 enableval=$enable_regkey;
8233 if test "$enableval" = yes; then
8234 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8236 wx_cv_use_regkey='wxUSE_REGKEY=no'
8241 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8246 eval "$wx_cv_use_regkey"
8248 if test x"$enablestring" = xdisable; then
8249 if test $wxUSE_REGKEY = yes; then
8255 result=$wxUSE_REGKEY
8258 { echo "$as_me:$LINENO: result: $result" >&5
8259 echo "${ECHO_T}$result" >&6; }
8262 if test "$wxUSE_GUI" = "yes"; then
8267 defaultval=$wxUSE_ALL_FEATURES
8268 if test -z "$defaultval"; then
8269 if test x"$enablestring" = xdisable; then
8276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8277 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8278 # Check whether --enable-docview was given.
8279 if test "${enable_docview+set}" = set; then
8280 enableval=$enable_docview;
8281 if test "$enableval" = yes; then
8282 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8284 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8289 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8294 eval "$wx_cv_use_docview"
8296 if test x"$enablestring" = xdisable; then
8297 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8303 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8306 { echo "$as_me:$LINENO: result: $result" >&5
8307 echo "${ECHO_T}$result" >&6; }
8311 defaultval=$wxUSE_ALL_FEATURES
8312 if test -z "$defaultval"; then
8313 if test x"$enablestring" = xdisable; then
8320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8321 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8322 # Check whether --enable-help was given.
8323 if test "${enable_help+set}" = set; then
8324 enableval=$enable_help;
8325 if test "$enableval" = yes; then
8326 wx_cv_use_help='wxUSE_HELP=yes'
8328 wx_cv_use_help='wxUSE_HELP=no'
8333 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8338 eval "$wx_cv_use_help"
8340 if test x"$enablestring" = xdisable; then
8341 if test $wxUSE_HELP = yes; then
8350 { echo "$as_me:$LINENO: result: $result" >&5
8351 echo "${ECHO_T}$result" >&6; }
8355 defaultval=$wxUSE_ALL_FEATURES
8356 if test -z "$defaultval"; then
8357 if test x"$enablestring" = xdisable; then
8364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8365 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8366 # Check whether --enable-mshtmlhelp was given.
8367 if test "${enable_mshtmlhelp+set}" = set; then
8368 enableval=$enable_mshtmlhelp;
8369 if test "$enableval" = yes; then
8370 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8372 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8377 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8382 eval "$wx_cv_use_mshtmlhelp"
8384 if test x"$enablestring" = xdisable; then
8385 if test $wxUSE_MS_HTML_HELP = yes; then
8391 result=$wxUSE_MS_HTML_HELP
8394 { echo "$as_me:$LINENO: result: $result" >&5
8395 echo "${ECHO_T}$result" >&6; }
8399 defaultval=$wxUSE_ALL_FEATURES
8400 if test -z "$defaultval"; then
8401 if test x"$enablestring" = xdisable; then
8408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8409 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8410 # Check whether --enable-html was given.
8411 if test "${enable_html+set}" = set; then
8412 enableval=$enable_html;
8413 if test "$enableval" = yes; then
8414 wx_cv_use_html='wxUSE_HTML=yes'
8416 wx_cv_use_html='wxUSE_HTML=no'
8421 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8426 eval "$wx_cv_use_html"
8428 if test x"$enablestring" = xdisable; then
8429 if test $wxUSE_HTML = yes; then
8438 { echo "$as_me:$LINENO: result: $result" >&5
8439 echo "${ECHO_T}$result" >&6; }
8443 defaultval=$wxUSE_ALL_FEATURES
8444 if test -z "$defaultval"; then
8445 if test x"$enablestring" = xdisable; then
8452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8453 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8454 # Check whether --enable-htmlhelp was given.
8455 if test "${enable_htmlhelp+set}" = set; then
8456 enableval=$enable_htmlhelp;
8457 if test "$enableval" = yes; then
8458 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8460 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8465 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8470 eval "$wx_cv_use_htmlhelp"
8472 if test x"$enablestring" = xdisable; then
8473 if test $wxUSE_WXHTML_HELP = yes; then
8479 result=$wxUSE_WXHTML_HELP
8482 { echo "$as_me:$LINENO: result: $result" >&5
8483 echo "${ECHO_T}$result" >&6; }
8487 defaultval=$wxUSE_ALL_FEATURES
8488 if test -z "$defaultval"; then
8489 if test x"$enablestring" = xdisable; then
8496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8497 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8498 # Check whether --enable-xrc was given.
8499 if test "${enable_xrc+set}" = set; then
8500 enableval=$enable_xrc;
8501 if test "$enableval" = yes; then
8502 wx_cv_use_xrc='wxUSE_XRC=yes'
8504 wx_cv_use_xrc='wxUSE_XRC=no'
8509 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8514 eval "$wx_cv_use_xrc"
8516 if test x"$enablestring" = xdisable; then
8517 if test $wxUSE_XRC = yes; then
8526 { echo "$as_me:$LINENO: result: $result" >&5
8527 echo "${ECHO_T}$result" >&6; }
8531 defaultval=$wxUSE_ALL_FEATURES
8532 if test -z "$defaultval"; then
8533 if test x"$enablestring" = xdisable; then
8540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8541 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8542 # Check whether --enable-aui was given.
8543 if test "${enable_aui+set}" = set; then
8544 enableval=$enable_aui;
8545 if test "$enableval" = yes; then
8546 wx_cv_use_aui='wxUSE_AUI=yes'
8548 wx_cv_use_aui='wxUSE_AUI=no'
8553 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8558 eval "$wx_cv_use_aui"
8560 if test x"$enablestring" = xdisable; then
8561 if test $wxUSE_AUI = yes; then
8570 { echo "$as_me:$LINENO: result: $result" >&5
8571 echo "${ECHO_T}$result" >&6; }
8575 defaultval=$wxUSE_ALL_FEATURES
8576 if test -z "$defaultval"; then
8577 if test x"$enablestring" = xdisable; then
8584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8585 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8586 # Check whether --enable-stc was given.
8587 if test "${enable_stc+set}" = set; then
8588 enableval=$enable_stc;
8589 if test "$enableval" = yes; then
8590 wx_cv_use_stc='wxUSE_STC=yes'
8592 wx_cv_use_stc='wxUSE_STC=no'
8597 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8602 eval "$wx_cv_use_stc"
8604 if test x"$enablestring" = xdisable; then
8605 if test $wxUSE_STC = yes; then
8614 { echo "$as_me:$LINENO: result: $result" >&5
8615 echo "${ECHO_T}$result" >&6; }
8619 defaultval=$wxUSE_ALL_FEATURES
8620 if test -z "$defaultval"; then
8621 if test x"$enablestring" = xdisable; then
8628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8629 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8630 # Check whether --enable-constraints was given.
8631 if test "${enable_constraints+set}" = set; then
8632 enableval=$enable_constraints;
8633 if test "$enableval" = yes; then
8634 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8636 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8641 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8646 eval "$wx_cv_use_constraints"
8648 if test x"$enablestring" = xdisable; then
8649 if test $wxUSE_CONSTRAINTS = yes; then
8655 result=$wxUSE_CONSTRAINTS
8658 { echo "$as_me:$LINENO: result: $result" >&5
8659 echo "${ECHO_T}$result" >&6; }
8663 defaultval=$wxUSE_ALL_FEATURES
8664 if test -z "$defaultval"; then
8665 if test x"$enablestring" = xdisable; then
8672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8673 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8674 # Check whether --enable-loggui was given.
8675 if test "${enable_loggui+set}" = set; then
8676 enableval=$enable_loggui;
8677 if test "$enableval" = yes; then
8678 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8680 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8685 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8690 eval "$wx_cv_use_loggui"
8692 if test x"$enablestring" = xdisable; then
8693 if test $wxUSE_LOGGUI = yes; then
8699 result=$wxUSE_LOGGUI
8702 { echo "$as_me:$LINENO: result: $result" >&5
8703 echo "${ECHO_T}$result" >&6; }
8707 defaultval=$wxUSE_ALL_FEATURES
8708 if test -z "$defaultval"; then
8709 if test x"$enablestring" = xdisable; then
8716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8717 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8718 # Check whether --enable-logwin was given.
8719 if test "${enable_logwin+set}" = set; then
8720 enableval=$enable_logwin;
8721 if test "$enableval" = yes; then
8722 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8724 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8729 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8734 eval "$wx_cv_use_logwin"
8736 if test x"$enablestring" = xdisable; then
8737 if test $wxUSE_LOGWINDOW = yes; then
8743 result=$wxUSE_LOGWINDOW
8746 { echo "$as_me:$LINENO: result: $result" >&5
8747 echo "${ECHO_T}$result" >&6; }
8751 defaultval=$wxUSE_ALL_FEATURES
8752 if test -z "$defaultval"; then
8753 if test x"$enablestring" = xdisable; then
8760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8761 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8762 # Check whether --enable-logdialog was given.
8763 if test "${enable_logdialog+set}" = set; then
8764 enableval=$enable_logdialog;
8765 if test "$enableval" = yes; then
8766 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8768 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8773 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8778 eval "$wx_cv_use_logdialog"
8780 if test x"$enablestring" = xdisable; then
8781 if test $wxUSE_LOGDIALOG = yes; then
8787 result=$wxUSE_LOGDIALOG
8790 { echo "$as_me:$LINENO: result: $result" >&5
8791 echo "${ECHO_T}$result" >&6; }
8795 defaultval=$wxUSE_ALL_FEATURES
8796 if test -z "$defaultval"; then
8797 if test x"$enablestring" = xdisable; then
8804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8805 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8806 # Check whether --enable-mdi was given.
8807 if test "${enable_mdi+set}" = set; then
8808 enableval=$enable_mdi;
8809 if test "$enableval" = yes; then
8810 wx_cv_use_mdi='wxUSE_MDI=yes'
8812 wx_cv_use_mdi='wxUSE_MDI=no'
8817 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8822 eval "$wx_cv_use_mdi"
8824 if test x"$enablestring" = xdisable; then
8825 if test $wxUSE_MDI = yes; then
8834 { echo "$as_me:$LINENO: result: $result" >&5
8835 echo "${ECHO_T}$result" >&6; }
8839 defaultval=$wxUSE_ALL_FEATURES
8840 if test -z "$defaultval"; then
8841 if test x"$enablestring" = xdisable; then
8848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8849 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8850 # Check whether --enable-mdidoc was given.
8851 if test "${enable_mdidoc+set}" = set; then
8852 enableval=$enable_mdidoc;
8853 if test "$enableval" = yes; then
8854 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8856 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8861 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8866 eval "$wx_cv_use_mdidoc"
8868 if test x"$enablestring" = xdisable; then
8869 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8875 result=$wxUSE_MDI_ARCHITECTURE
8878 { echo "$as_me:$LINENO: result: $result" >&5
8879 echo "${ECHO_T}$result" >&6; }
8883 defaultval=$wxUSE_ALL_FEATURES
8884 if test -z "$defaultval"; then
8885 if test x"$enablestring" = xdisable; then
8892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8893 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8894 # Check whether --enable-mediactrl was given.
8895 if test "${enable_mediactrl+set}" = set; then
8896 enableval=$enable_mediactrl;
8897 if test "$enableval" = yes; then
8898 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8900 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8905 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8910 eval "$wx_cv_use_mediactrl"
8912 if test x"$enablestring" = xdisable; then
8913 if test $wxUSE_MEDIACTRL = yes; then
8919 result=$wxUSE_MEDIACTRL
8922 { echo "$as_me:$LINENO: result: $result" >&5
8923 echo "${ECHO_T}$result" >&6; }
8927 defaultval=$wxUSE_ALL_FEATURES
8928 if test -z "$defaultval"; then
8929 if test x"$enablestring" = xdisable; then
8936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8937 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8938 # Check whether --enable-gstreamer8 was given.
8939 if test "${enable_gstreamer8+set}" = set; then
8940 enableval=$enable_gstreamer8;
8941 if test "$enableval" = yes; then
8942 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8944 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8949 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8954 eval "$wx_cv_use_gstreamer8"
8956 if test x"$enablestring" = xdisable; then
8957 if test $wxUSE_GSTREAMER8 = yes; then
8963 result=$wxUSE_GSTREAMER8
8966 { echo "$as_me:$LINENO: result: $result" >&5
8967 echo "${ECHO_T}$result" >&6; }
8971 defaultval=$wxUSE_ALL_FEATURES
8972 if test -z "$defaultval"; then
8973 if test x"$enablestring" = xdisable; then
8980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8981 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8982 # Check whether --enable-webkit was given.
8983 if test "${enable_webkit+set}" = set; then
8984 enableval=$enable_webkit;
8985 if test "$enableval" = yes; then
8986 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8988 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8993 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8998 eval "$wx_cv_use_webkit"
9000 if test x"$enablestring" = xdisable; then
9001 if test $wxUSE_WEBKIT = yes; then
9007 result=$wxUSE_WEBKIT
9010 { echo "$as_me:$LINENO: result: $result" >&5
9011 echo "${ECHO_T}$result" >&6; }
9015 defaultval=$wxUSE_ALL_FEATURES
9016 if test -z "$defaultval"; then
9017 if test x"$enablestring" = xdisable; then
9024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9025 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9026 # Check whether --enable-richtext was given.
9027 if test "${enable_richtext+set}" = set; then
9028 enableval=$enable_richtext;
9029 if test "$enableval" = yes; then
9030 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9032 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9037 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9042 eval "$wx_cv_use_richtext"
9044 if test x"$enablestring" = xdisable; then
9045 if test $wxUSE_RICHTEXT = yes; then
9051 result=$wxUSE_RICHTEXT
9054 { echo "$as_me:$LINENO: result: $result" >&5
9055 echo "${ECHO_T}$result" >&6; }
9059 defaultval=$wxUSE_ALL_FEATURES
9060 if test -z "$defaultval"; then
9061 if test x"$enablestring" = xdisable; then
9068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9069 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9070 # Check whether --enable-graphics_ctx was given.
9071 if test "${enable_graphics_ctx+set}" = set; then
9072 enableval=$enable_graphics_ctx;
9073 if test "$enableval" = yes; then
9074 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9076 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9081 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9086 eval "$wx_cv_use_graphics_ctx"
9088 if test x"$enablestring" = xdisable; then
9089 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9095 result=$wxUSE_GRAPHICS_CONTEXT
9098 { echo "$as_me:$LINENO: result: $result" >&5
9099 echo "${ECHO_T}$result" >&6; }
9103 defaultval=$wxUSE_ALL_FEATURES
9104 if test -z "$defaultval"; then
9105 if test x"$enablestring" = xdisable; then
9112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9113 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9114 # Check whether --enable-postscript was given.
9115 if test "${enable_postscript+set}" = set; then
9116 enableval=$enable_postscript;
9117 if test "$enableval" = yes; then
9118 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9120 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9125 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9130 eval "$wx_cv_use_postscript"
9132 if test x"$enablestring" = xdisable; then
9133 if test $wxUSE_POSTSCRIPT = yes; then
9139 result=$wxUSE_POSTSCRIPT
9142 { echo "$as_me:$LINENO: result: $result" >&5
9143 echo "${ECHO_T}$result" >&6; }
9147 defaultval=$wxUSE_ALL_FEATURES
9148 if test -z "$defaultval"; then
9149 if test x"$enablestring" = xdisable; then
9156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9157 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9158 # Check whether --enable-printarch was given.
9159 if test "${enable_printarch+set}" = set; then
9160 enableval=$enable_printarch;
9161 if test "$enableval" = yes; then
9162 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9164 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9169 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9174 eval "$wx_cv_use_printarch"
9176 if test x"$enablestring" = xdisable; then
9177 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9183 result=$wxUSE_PRINTING_ARCHITECTURE
9186 { echo "$as_me:$LINENO: result: $result" >&5
9187 echo "${ECHO_T}$result" >&6; }
9191 defaultval=$wxUSE_ALL_FEATURES
9192 if test -z "$defaultval"; then
9193 if test x"$enablestring" = xdisable; then
9200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9201 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9202 # Check whether --enable-svg was given.
9203 if test "${enable_svg+set}" = set; then
9204 enableval=$enable_svg;
9205 if test "$enableval" = yes; then
9206 wx_cv_use_svg='wxUSE_SVG=yes'
9208 wx_cv_use_svg='wxUSE_SVG=no'
9213 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9218 eval "$wx_cv_use_svg"
9220 if test x"$enablestring" = xdisable; then
9221 if test $wxUSE_SVG = yes; then
9230 { echo "$as_me:$LINENO: result: $result" >&5
9231 echo "${ECHO_T}$result" >&6; }
9237 defaultval=$wxUSE_ALL_FEATURES
9238 if test -z "$defaultval"; then
9239 if test x"$enablestring" = xdisable; then
9246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9247 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9248 # Check whether --enable-clipboard was given.
9249 if test "${enable_clipboard+set}" = set; then
9250 enableval=$enable_clipboard;
9251 if test "$enableval" = yes; then
9252 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9254 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9259 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9264 eval "$wx_cv_use_clipboard"
9266 if test x"$enablestring" = xdisable; then
9267 if test $wxUSE_CLIPBOARD = yes; then
9273 result=$wxUSE_CLIPBOARD
9276 { echo "$as_me:$LINENO: result: $result" >&5
9277 echo "${ECHO_T}$result" >&6; }
9281 defaultval=$wxUSE_ALL_FEATURES
9282 if test -z "$defaultval"; then
9283 if test x"$enablestring" = xdisable; then
9290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9291 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9292 # Check whether --enable-dnd was given.
9293 if test "${enable_dnd+set}" = set; then
9294 enableval=$enable_dnd;
9295 if test "$enableval" = yes; then
9296 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9298 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9303 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9308 eval "$wx_cv_use_dnd"
9310 if test x"$enablestring" = xdisable; then
9311 if test $wxUSE_DRAG_AND_DROP = yes; then
9317 result=$wxUSE_DRAG_AND_DROP
9320 { echo "$as_me:$LINENO: result: $result" >&5
9321 echo "${ECHO_T}$result" >&6; }
9325 defaultval=$wxUSE_ALL_FEATURES
9326 if test -z "$defaultval"; then
9327 if test x"$enablestring" = xdisable; then
9334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9335 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9336 # Check whether --enable-metafile was given.
9337 if test "${enable_metafile+set}" = set; then
9338 enableval=$enable_metafile;
9339 if test "$enableval" = yes; then
9340 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9342 wx_cv_use_metafile='wxUSE_METAFILE=no'
9347 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9352 eval "$wx_cv_use_metafile"
9354 if test x"$enablestring" = xdisable; then
9355 if test $wxUSE_METAFILE = yes; then
9361 result=$wxUSE_METAFILE
9364 { echo "$as_me:$LINENO: result: $result" >&5
9365 echo "${ECHO_T}$result" >&6; }
9369 DEFAULT_wxUSE_CONTROLS=none
9371 enablestring=disable
9373 if test -z "$defaultval"; then
9374 if test x"$enablestring" = xdisable; then
9381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9382 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9383 # Check whether --enable-controls was given.
9384 if test "${enable_controls+set}" = set; then
9385 enableval=$enable_controls;
9386 if test "$enableval" = yes; then
9387 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9389 wx_cv_use_controls='wxUSE_CONTROLS=no'
9394 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9399 eval "$wx_cv_use_controls"
9401 if test x"$enablestring" = xdisable; then
9402 if test $wxUSE_CONTROLS = yes; then
9408 result=$wxUSE_CONTROLS
9411 { echo "$as_me:$LINENO: result: $result" >&5
9412 echo "${ECHO_T}$result" >&6; }
9415 if test "$wxUSE_CONTROLS" = "yes"; then
9416 DEFAULT_wxUSE_ACCEL=yes
9417 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9418 DEFAULT_wxUSE_BMPBUTTON=yes
9419 DEFAULT_wxUSE_BUTTON=yes
9420 DEFAULT_wxUSE_CALCTRL=yes
9421 DEFAULT_wxUSE_CARET=yes
9422 DEFAULT_wxUSE_COMBOBOX=yes
9423 DEFAULT_wxUSE_CHECKBOX=yes
9424 DEFAULT_wxUSE_CHECKLISTBOX=yes
9425 DEFAULT_wxUSE_CHOICE=yes
9426 DEFAULT_wxUSE_CHOICEBOOK=yes
9427 DEFAULT_wxUSE_COLLPANE=yes
9428 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9429 DEFAULT_wxUSE_COMBOBOX=yes
9430 DEFAULT_wxUSE_DATEPICKCTRL=yes
9431 DEFAULT_wxUSE_DISPLAY=yes
9432 DEFAULT_wxUSE_DETECT_SM=yes
9433 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9434 DEFAULT_wxUSE_FILECTRL=yes
9435 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9436 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9437 DEFAULT_wxUSE_GAUGE=yes
9438 DEFAULT_wxUSE_GRID=yes
9439 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9440 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9441 DEFAULT_wxUSE_IMAGLIST=yes
9442 DEFAULT_wxUSE_LISTBOOK=yes
9443 DEFAULT_wxUSE_LISTBOX=yes
9444 DEFAULT_wxUSE_LISTCTRL=yes
9445 DEFAULT_wxUSE_NOTEBOOK=yes
9446 DEFAULT_wxUSE_RADIOBOX=yes
9447 DEFAULT_wxUSE_RADIOBTN=yes
9448 DEFAULT_wxUSE_SASH=yes
9449 DEFAULT_wxUSE_SCROLLBAR=yes
9450 DEFAULT_wxUSE_SEARCHCTRL=yes
9451 DEFAULT_wxUSE_SLIDER=yes
9452 DEFAULT_wxUSE_SPINBTN=yes
9453 DEFAULT_wxUSE_SPINCTRL=yes
9454 DEFAULT_wxUSE_SPLITTER=yes
9455 DEFAULT_wxUSE_STATBMP=yes
9456 DEFAULT_wxUSE_STATBOX=yes
9457 DEFAULT_wxUSE_STATLINE=yes
9458 DEFAULT_wxUSE_STATUSBAR=yes
9459 DEFAULT_wxUSE_TAB_DIALOG=yes
9460 DEFAULT_wxUSE_TOGGLEBTN=yes
9461 DEFAULT_wxUSE_TOOLBAR=yes
9462 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9463 DEFAULT_wxUSE_TOOLTIPS=yes
9464 DEFAULT_wxUSE_TREEBOOK=yes
9465 DEFAULT_wxUSE_TOOLBOOK=yes
9466 DEFAULT_wxUSE_TREECTRL=yes
9467 DEFAULT_wxUSE_POPUPWIN=yes
9468 DEFAULT_wxUSE_TIPWINDOW=yes
9469 elif test "$wxUSE_CONTROLS" = "no"; then
9470 DEFAULT_wxUSE_ACCEL=no
9471 DEFAULT_wxUSE_ANIMATIONCTRL=no
9472 DEFAULT_wxUSE_BMPBUTTON=no
9473 DEFAULT_wxUSE_BUTTON=no
9474 DEFAULT_wxUSE_CALCTRL=no
9475 DEFAULT_wxUSE_CARET=no
9476 DEFAULT_wxUSE_COLLPANE=no
9477 DEFAULT_wxUSE_COMBOBOX=no
9478 DEFAULT_wxUSE_CHECKBOX=no
9479 DEFAULT_wxUSE_CHECKLISTBOX=no
9480 DEFAULT_wxUSE_CHOICE=no
9481 DEFAULT_wxUSE_CHOICEBOOK=no
9482 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9483 DEFAULT_wxUSE_COMBOBOX=no
9484 DEFAULT_wxUSE_DATEPICKCTRL=no
9485 DEFAULT_wxUSE_DISPLAY=no
9486 DEFAULT_wxUSE_DETECT_SM=no
9487 DEFAULT_wxUSE_DIRPICKERCTRL=no
9488 DEFAULT_wxUSE_FILECTRL=no
9489 DEFAULT_wxUSE_FILEPICKERCTRL=no
9490 DEFAULT_wxUSE_FONTPICKERCTRL=no
9491 DEFAULT_wxUSE_GAUGE=no
9492 DEFAULT_wxUSE_GRID=no
9493 DEFAULT_wxUSE_HYPERLINKCTRL=no
9494 DEFAULT_wxUSE_DATAVIEWCTRL=no
9495 DEFAULT_wxUSE_IMAGLIST=no
9496 DEFAULT_wxUSE_LISTBOOK=no
9497 DEFAULT_wxUSE_LISTBOX=no
9498 DEFAULT_wxUSE_LISTCTRL=no
9499 DEFAULT_wxUSE_NOTEBOOK=no
9500 DEFAULT_wxUSE_RADIOBOX=no
9501 DEFAULT_wxUSE_RADIOBTN=no
9502 DEFAULT_wxUSE_SASH=no
9503 DEFAULT_wxUSE_SCROLLBAR=no
9504 DEFAULT_wxUSE_SEARCHCTRL=no
9505 DEFAULT_wxUSE_SLIDER=no
9506 DEFAULT_wxUSE_SPINBTN=no
9507 DEFAULT_wxUSE_SPINCTRL=no
9508 DEFAULT_wxUSE_SPLITTER=no
9509 DEFAULT_wxUSE_STATBMP=no
9510 DEFAULT_wxUSE_STATBOX=no
9511 DEFAULT_wxUSE_STATLINE=no
9512 DEFAULT_wxUSE_STATUSBAR=no
9513 DEFAULT_wxUSE_TAB_DIALOG=no
9514 DEFAULT_wxUSE_TOGGLEBTN=no
9515 DEFAULT_wxUSE_TOOLBAR=no
9516 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9517 DEFAULT_wxUSE_TOOLTIPS=no
9518 DEFAULT_wxUSE_TREEBOOK=no
9519 DEFAULT_wxUSE_TOOLBOOK=no
9520 DEFAULT_wxUSE_TREECTRL=no
9521 DEFAULT_wxUSE_POPUPWIN=no
9522 DEFAULT_wxUSE_TIPWINDOW=no
9527 defaultval=$wxUSE_ALL_FEATURES
9528 if test -z "$defaultval"; then
9529 if test x"$enablestring" = xdisable; then
9536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9537 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9538 # Check whether --enable-accel was given.
9539 if test "${enable_accel+set}" = set; then
9540 enableval=$enable_accel;
9541 if test "$enableval" = yes; then
9542 wx_cv_use_accel='wxUSE_ACCEL=yes'
9544 wx_cv_use_accel='wxUSE_ACCEL=no'
9549 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9554 eval "$wx_cv_use_accel"
9556 if test x"$enablestring" = xdisable; then
9557 if test $wxUSE_ACCEL = yes; then
9566 { echo "$as_me:$LINENO: result: $result" >&5
9567 echo "${ECHO_T}$result" >&6; }
9571 defaultval=$wxUSE_ALL_FEATURES
9572 if test -z "$defaultval"; then
9573 if test x"$enablestring" = xdisable; then
9580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9581 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9582 # Check whether --enable-animatectrl was given.
9583 if test "${enable_animatectrl+set}" = set; then
9584 enableval=$enable_animatectrl;
9585 if test "$enableval" = yes; then
9586 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9588 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9593 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9598 eval "$wx_cv_use_animatectrl"
9600 if test x"$enablestring" = xdisable; then
9601 if test $wxUSE_ANIMATIONCTRL = yes; then
9607 result=$wxUSE_ANIMATIONCTRL
9610 { echo "$as_me:$LINENO: result: $result" >&5
9611 echo "${ECHO_T}$result" >&6; }
9615 defaultval=$wxUSE_ALL_FEATURES
9616 if test -z "$defaultval"; then
9617 if test x"$enablestring" = xdisable; then
9624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9625 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9626 # Check whether --enable-button was given.
9627 if test "${enable_button+set}" = set; then
9628 enableval=$enable_button;
9629 if test "$enableval" = yes; then
9630 wx_cv_use_button='wxUSE_BUTTON=yes'
9632 wx_cv_use_button='wxUSE_BUTTON=no'
9637 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9642 eval "$wx_cv_use_button"
9644 if test x"$enablestring" = xdisable; then
9645 if test $wxUSE_BUTTON = yes; then
9651 result=$wxUSE_BUTTON
9654 { echo "$as_me:$LINENO: result: $result" >&5
9655 echo "${ECHO_T}$result" >&6; }
9659 defaultval=$wxUSE_ALL_FEATURES
9660 if test -z "$defaultval"; then
9661 if test x"$enablestring" = xdisable; then
9668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9669 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9670 # Check whether --enable-bmpbutton was given.
9671 if test "${enable_bmpbutton+set}" = set; then
9672 enableval=$enable_bmpbutton;
9673 if test "$enableval" = yes; then
9674 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9676 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9681 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9686 eval "$wx_cv_use_bmpbutton"
9688 if test x"$enablestring" = xdisable; then
9689 if test $wxUSE_BMPBUTTON = yes; then
9695 result=$wxUSE_BMPBUTTON
9698 { echo "$as_me:$LINENO: result: $result" >&5
9699 echo "${ECHO_T}$result" >&6; }
9703 defaultval=$wxUSE_ALL_FEATURES
9704 if test -z "$defaultval"; then
9705 if test x"$enablestring" = xdisable; then
9712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9713 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9714 # Check whether --enable-bmpcombobox was given.
9715 if test "${enable_bmpcombobox+set}" = set; then
9716 enableval=$enable_bmpcombobox;
9717 if test "$enableval" = yes; then
9718 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9720 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9725 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9730 eval "$wx_cv_use_bmpcombobox"
9732 if test x"$enablestring" = xdisable; then
9733 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9739 result=$wxUSE_BITMAPCOMBOBOX
9742 { echo "$as_me:$LINENO: result: $result" >&5
9743 echo "${ECHO_T}$result" >&6; }
9747 defaultval=$wxUSE_ALL_FEATURES
9748 if test -z "$defaultval"; then
9749 if test x"$enablestring" = xdisable; then
9756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9757 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9758 # Check whether --enable-calendar was given.
9759 if test "${enable_calendar+set}" = set; then
9760 enableval=$enable_calendar;
9761 if test "$enableval" = yes; then
9762 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9764 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9769 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9774 eval "$wx_cv_use_calendar"
9776 if test x"$enablestring" = xdisable; then
9777 if test $wxUSE_CALCTRL = yes; then
9783 result=$wxUSE_CALCTRL
9786 { echo "$as_me:$LINENO: result: $result" >&5
9787 echo "${ECHO_T}$result" >&6; }
9791 defaultval=$wxUSE_ALL_FEATURES
9792 if test -z "$defaultval"; then
9793 if test x"$enablestring" = xdisable; then
9800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9801 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9802 # Check whether --enable-caret was given.
9803 if test "${enable_caret+set}" = set; then
9804 enableval=$enable_caret;
9805 if test "$enableval" = yes; then
9806 wx_cv_use_caret='wxUSE_CARET=yes'
9808 wx_cv_use_caret='wxUSE_CARET=no'
9813 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9818 eval "$wx_cv_use_caret"
9820 if test x"$enablestring" = xdisable; then
9821 if test $wxUSE_CARET = yes; then
9830 { echo "$as_me:$LINENO: result: $result" >&5
9831 echo "${ECHO_T}$result" >&6; }
9835 defaultval=$wxUSE_ALL_FEATURES
9836 if test -z "$defaultval"; then
9837 if test x"$enablestring" = xdisable; then
9844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9845 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9846 # Check whether --enable-checkbox was given.
9847 if test "${enable_checkbox+set}" = set; then
9848 enableval=$enable_checkbox;
9849 if test "$enableval" = yes; then
9850 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9852 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9857 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9862 eval "$wx_cv_use_checkbox"
9864 if test x"$enablestring" = xdisable; then
9865 if test $wxUSE_CHECKBOX = yes; then
9871 result=$wxUSE_CHECKBOX
9874 { echo "$as_me:$LINENO: result: $result" >&5
9875 echo "${ECHO_T}$result" >&6; }
9879 defaultval=$wxUSE_ALL_FEATURES
9880 if test -z "$defaultval"; then
9881 if test x"$enablestring" = xdisable; then
9888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9889 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9890 # Check whether --enable-checklst was given.
9891 if test "${enable_checklst+set}" = set; then
9892 enableval=$enable_checklst;
9893 if test "$enableval" = yes; then
9894 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9896 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9901 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9906 eval "$wx_cv_use_checklst"
9908 if test x"$enablestring" = xdisable; then
9909 if test $wxUSE_CHECKLST = yes; then
9915 result=$wxUSE_CHECKLST
9918 { echo "$as_me:$LINENO: result: $result" >&5
9919 echo "${ECHO_T}$result" >&6; }
9923 defaultval=$wxUSE_ALL_FEATURES
9924 if test -z "$defaultval"; then
9925 if test x"$enablestring" = xdisable; then
9932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9933 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9934 # Check whether --enable-choice was given.
9935 if test "${enable_choice+set}" = set; then
9936 enableval=$enable_choice;
9937 if test "$enableval" = yes; then
9938 wx_cv_use_choice='wxUSE_CHOICE=yes'
9940 wx_cv_use_choice='wxUSE_CHOICE=no'
9945 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9950 eval "$wx_cv_use_choice"
9952 if test x"$enablestring" = xdisable; then
9953 if test $wxUSE_CHOICE = yes; then
9959 result=$wxUSE_CHOICE
9962 { echo "$as_me:$LINENO: result: $result" >&5
9963 echo "${ECHO_T}$result" >&6; }
9967 defaultval=$wxUSE_ALL_FEATURES
9968 if test -z "$defaultval"; then
9969 if test x"$enablestring" = xdisable; then
9976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9977 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9978 # Check whether --enable-choicebook was given.
9979 if test "${enable_choicebook+set}" = set; then
9980 enableval=$enable_choicebook;
9981 if test "$enableval" = yes; then
9982 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9984 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9989 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9994 eval "$wx_cv_use_choicebook"
9996 if test x"$enablestring" = xdisable; then
9997 if test $wxUSE_CHOICEBOOK = yes; then
10003 result=$wxUSE_CHOICEBOOK
10006 { echo "$as_me:$LINENO: result: $result" >&5
10007 echo "${ECHO_T}$result" >&6; }
10011 defaultval=$wxUSE_ALL_FEATURES
10012 if test -z "$defaultval"; then
10013 if test x"$enablestring" = xdisable; then
10020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10021 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10022 # Check whether --enable-collpane was given.
10023 if test "${enable_collpane+set}" = set; then
10024 enableval=$enable_collpane;
10025 if test "$enableval" = yes; then
10026 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10028 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10033 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10038 eval "$wx_cv_use_collpane"
10040 if test x"$enablestring" = xdisable; then
10041 if test $wxUSE_COLLPANE = yes; then
10047 result=$wxUSE_COLLPANE
10050 { echo "$as_me:$LINENO: result: $result" >&5
10051 echo "${ECHO_T}$result" >&6; }
10055 defaultval=$wxUSE_ALL_FEATURES
10056 if test -z "$defaultval"; then
10057 if test x"$enablestring" = xdisable; then
10064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10065 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10066 # Check whether --enable-colourpicker was given.
10067 if test "${enable_colourpicker+set}" = set; then
10068 enableval=$enable_colourpicker;
10069 if test "$enableval" = yes; then
10070 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10072 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10077 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10082 eval "$wx_cv_use_colourpicker"
10084 if test x"$enablestring" = xdisable; then
10085 if test $wxUSE_COLOURPICKERCTRL = yes; then
10091 result=$wxUSE_COLOURPICKERCTRL
10094 { echo "$as_me:$LINENO: result: $result" >&5
10095 echo "${ECHO_T}$result" >&6; }
10099 defaultval=$wxUSE_ALL_FEATURES
10100 if test -z "$defaultval"; then
10101 if test x"$enablestring" = xdisable; then
10108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10109 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10110 # Check whether --enable-combobox was given.
10111 if test "${enable_combobox+set}" = set; then
10112 enableval=$enable_combobox;
10113 if test "$enableval" = yes; then
10114 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10116 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10121 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10126 eval "$wx_cv_use_combobox"
10128 if test x"$enablestring" = xdisable; then
10129 if test $wxUSE_COMBOBOX = yes; then
10135 result=$wxUSE_COMBOBOX
10138 { echo "$as_me:$LINENO: result: $result" >&5
10139 echo "${ECHO_T}$result" >&6; }
10143 defaultval=$wxUSE_ALL_FEATURES
10144 if test -z "$defaultval"; then
10145 if test x"$enablestring" = xdisable; then
10152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10153 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10154 # Check whether --enable-comboctrl was given.
10155 if test "${enable_comboctrl+set}" = set; then
10156 enableval=$enable_comboctrl;
10157 if test "$enableval" = yes; then
10158 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10160 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10165 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10170 eval "$wx_cv_use_comboctrl"
10172 if test x"$enablestring" = xdisable; then
10173 if test $wxUSE_COMBOCTRL = yes; then
10179 result=$wxUSE_COMBOCTRL
10182 { echo "$as_me:$LINENO: result: $result" >&5
10183 echo "${ECHO_T}$result" >&6; }
10187 defaultval=$wxUSE_ALL_FEATURES
10188 if test -z "$defaultval"; then
10189 if test x"$enablestring" = xdisable; then
10196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10197 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10198 # Check whether --enable-datepick was given.
10199 if test "${enable_datepick+set}" = set; then
10200 enableval=$enable_datepick;
10201 if test "$enableval" = yes; then
10202 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10204 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10209 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10214 eval "$wx_cv_use_datepick"
10216 if test x"$enablestring" = xdisable; then
10217 if test $wxUSE_DATEPICKCTRL = yes; then
10223 result=$wxUSE_DATEPICKCTRL
10226 { echo "$as_me:$LINENO: result: $result" >&5
10227 echo "${ECHO_T}$result" >&6; }
10231 defaultval=$wxUSE_ALL_FEATURES
10232 if test -z "$defaultval"; then
10233 if test x"$enablestring" = xdisable; then
10240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10241 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10242 # Check whether --enable-dirpicker was given.
10243 if test "${enable_dirpicker+set}" = set; then
10244 enableval=$enable_dirpicker;
10245 if test "$enableval" = yes; then
10246 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10248 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10253 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10258 eval "$wx_cv_use_dirpicker"
10260 if test x"$enablestring" = xdisable; then
10261 if test $wxUSE_DIRPICKERCTRL = yes; then
10267 result=$wxUSE_DIRPICKERCTRL
10270 { echo "$as_me:$LINENO: result: $result" >&5
10271 echo "${ECHO_T}$result" >&6; }
10275 defaultval=$wxUSE_ALL_FEATURES
10276 if test -z "$defaultval"; then
10277 if test x"$enablestring" = xdisable; then
10284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10285 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10286 # Check whether --enable-display was given.
10287 if test "${enable_display+set}" = set; then
10288 enableval=$enable_display;
10289 if test "$enableval" = yes; then
10290 wx_cv_use_display='wxUSE_DISPLAY=yes'
10292 wx_cv_use_display='wxUSE_DISPLAY=no'
10297 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10302 eval "$wx_cv_use_display"
10304 if test x"$enablestring" = xdisable; then
10305 if test $wxUSE_DISPLAY = yes; then
10311 result=$wxUSE_DISPLAY
10314 { echo "$as_me:$LINENO: result: $result" >&5
10315 echo "${ECHO_T}$result" >&6; }
10319 defaultval=$wxUSE_ALL_FEATURES
10320 if test -z "$defaultval"; then
10321 if test x"$enablestring" = xdisable; then
10328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10329 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10330 # Check whether --enable-detect_sm was given.
10331 if test "${enable_detect_sm+set}" = set; then
10332 enableval=$enable_detect_sm;
10333 if test "$enableval" = yes; then
10334 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10336 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10341 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10346 eval "$wx_cv_use_detect_sm"
10348 if test x"$enablestring" = xdisable; then
10349 if test $wxUSE_DETECT_SM = yes; then
10355 result=$wxUSE_DETECT_SM
10358 { echo "$as_me:$LINENO: result: $result" >&5
10359 echo "${ECHO_T}$result" >&6; }
10363 defaultval=$wxUSE_ALL_FEATURES
10364 if test -z "$defaultval"; then
10365 if test x"$enablestring" = xdisable; then
10372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10373 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10374 # Check whether --enable-editablebox was given.
10375 if test "${enable_editablebox+set}" = set; then
10376 enableval=$enable_editablebox;
10377 if test "$enableval" = yes; then
10378 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10380 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10385 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10390 eval "$wx_cv_use_editablebox"
10392 if test x"$enablestring" = xdisable; then
10393 if test $wxUSE_EDITABLELISTBOX = yes; then
10399 result=$wxUSE_EDITABLELISTBOX
10402 { echo "$as_me:$LINENO: result: $result" >&5
10403 echo "${ECHO_T}$result" >&6; }
10407 defaultval=$wxUSE_ALL_FEATURES
10408 if test -z "$defaultval"; then
10409 if test x"$enablestring" = xdisable; then
10416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10417 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10418 # Check whether --enable-filepicker was given.
10419 if test "${enable_filepicker+set}" = set; then
10420 enableval=$enable_filepicker;
10421 if test "$enableval" = yes; then
10422 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10424 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10429 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10434 eval "$wx_cv_use_filepicker"
10436 if test x"$enablestring" = xdisable; then
10437 if test $wxUSE_FILEPICKERCTRL = yes; then
10443 result=$wxUSE_FILEPICKERCTRL
10446 { echo "$as_me:$LINENO: result: $result" >&5
10447 echo "${ECHO_T}$result" >&6; }
10451 defaultval=$wxUSE_ALL_FEATURES
10452 if test -z "$defaultval"; then
10453 if test x"$enablestring" = xdisable; then
10460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10461 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10462 # Check whether --enable-filectrl was given.
10463 if test "${enable_filectrl+set}" = set; then
10464 enableval=$enable_filectrl;
10465 if test "$enableval" = yes; then
10466 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10468 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10473 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10478 eval "$wx_cv_use_filectrl"
10480 if test x"$enablestring" = xdisable; then
10481 if test $wxUSE_FILECTRL = yes; then
10487 result=$wxUSE_FILECTRL
10490 { echo "$as_me:$LINENO: result: $result" >&5
10491 echo "${ECHO_T}$result" >&6; }
10495 defaultval=$wxUSE_ALL_FEATURES
10496 if test -z "$defaultval"; then
10497 if test x"$enablestring" = xdisable; then
10504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10505 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10506 # Check whether --enable-fontpicker was given.
10507 if test "${enable_fontpicker+set}" = set; then
10508 enableval=$enable_fontpicker;
10509 if test "$enableval" = yes; then
10510 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10512 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10517 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10522 eval "$wx_cv_use_fontpicker"
10524 if test x"$enablestring" = xdisable; then
10525 if test $wxUSE_FONTPICKERCTRL = yes; then
10531 result=$wxUSE_FONTPICKERCTRL
10534 { echo "$as_me:$LINENO: result: $result" >&5
10535 echo "${ECHO_T}$result" >&6; }
10539 defaultval=$wxUSE_ALL_FEATURES
10540 if test -z "$defaultval"; then
10541 if test x"$enablestring" = xdisable; then
10548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10549 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10550 # Check whether --enable-gauge was given.
10551 if test "${enable_gauge+set}" = set; then
10552 enableval=$enable_gauge;
10553 if test "$enableval" = yes; then
10554 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10556 wx_cv_use_gauge='wxUSE_GAUGE=no'
10561 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10566 eval "$wx_cv_use_gauge"
10568 if test x"$enablestring" = xdisable; then
10569 if test $wxUSE_GAUGE = yes; then
10575 result=$wxUSE_GAUGE
10578 { echo "$as_me:$LINENO: result: $result" >&5
10579 echo "${ECHO_T}$result" >&6; }
10583 defaultval=$wxUSE_ALL_FEATURES
10584 if test -z "$defaultval"; then
10585 if test x"$enablestring" = xdisable; then
10592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10593 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10594 # Check whether --enable-grid was given.
10595 if test "${enable_grid+set}" = set; then
10596 enableval=$enable_grid;
10597 if test "$enableval" = yes; then
10598 wx_cv_use_grid='wxUSE_GRID=yes'
10600 wx_cv_use_grid='wxUSE_GRID=no'
10605 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10610 eval "$wx_cv_use_grid"
10612 if test x"$enablestring" = xdisable; then
10613 if test $wxUSE_GRID = yes; then
10622 { echo "$as_me:$LINENO: result: $result" >&5
10623 echo "${ECHO_T}$result" >&6; }
10627 defaultval=$wxUSE_ALL_FEATURES
10628 if test -z "$defaultval"; then
10629 if test x"$enablestring" = xdisable; then
10636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10637 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10638 # Check whether --enable-dataviewctrl was given.
10639 if test "${enable_dataviewctrl+set}" = set; then
10640 enableval=$enable_dataviewctrl;
10641 if test "$enableval" = yes; then
10642 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10644 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10649 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10654 eval "$wx_cv_use_dataviewctrl"
10656 if test x"$enablestring" = xdisable; then
10657 if test $wxUSE_DATAVIEWCTRL = yes; then
10663 result=$wxUSE_DATAVIEWCTRL
10666 { echo "$as_me:$LINENO: result: $result" >&5
10667 echo "${ECHO_T}$result" >&6; }
10671 defaultval=$wxUSE_ALL_FEATURES
10672 if test -z "$defaultval"; then
10673 if test x"$enablestring" = xdisable; then
10680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10681 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10682 # Check whether --enable-hyperlink was given.
10683 if test "${enable_hyperlink+set}" = set; then
10684 enableval=$enable_hyperlink;
10685 if test "$enableval" = yes; then
10686 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10688 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10693 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10698 eval "$wx_cv_use_hyperlink"
10700 if test x"$enablestring" = xdisable; then
10701 if test $wxUSE_HYPERLINKCTRL = yes; then
10707 result=$wxUSE_HYPERLINKCTRL
10710 { echo "$as_me:$LINENO: result: $result" >&5
10711 echo "${ECHO_T}$result" >&6; }
10715 defaultval=$wxUSE_ALL_FEATURES
10716 if test -z "$defaultval"; then
10717 if test x"$enablestring" = xdisable; then
10724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10725 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10726 # Check whether --enable-imaglist was given.
10727 if test "${enable_imaglist+set}" = set; then
10728 enableval=$enable_imaglist;
10729 if test "$enableval" = yes; then
10730 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10732 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10737 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10742 eval "$wx_cv_use_imaglist"
10744 if test x"$enablestring" = xdisable; then
10745 if test $wxUSE_IMAGLIST = yes; then
10751 result=$wxUSE_IMAGLIST
10754 { echo "$as_me:$LINENO: result: $result" >&5
10755 echo "${ECHO_T}$result" >&6; }
10759 defaultval=$wxUSE_ALL_FEATURES
10760 if test -z "$defaultval"; then
10761 if test x"$enablestring" = xdisable; then
10768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10769 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10770 # Check whether --enable-listbook was given.
10771 if test "${enable_listbook+set}" = set; then
10772 enableval=$enable_listbook;
10773 if test "$enableval" = yes; then
10774 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10776 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10781 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10786 eval "$wx_cv_use_listbook"
10788 if test x"$enablestring" = xdisable; then
10789 if test $wxUSE_LISTBOOK = yes; then
10795 result=$wxUSE_LISTBOOK
10798 { echo "$as_me:$LINENO: result: $result" >&5
10799 echo "${ECHO_T}$result" >&6; }
10803 defaultval=$wxUSE_ALL_FEATURES
10804 if test -z "$defaultval"; then
10805 if test x"$enablestring" = xdisable; then
10812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10813 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10814 # Check whether --enable-listbox was given.
10815 if test "${enable_listbox+set}" = set; then
10816 enableval=$enable_listbox;
10817 if test "$enableval" = yes; then
10818 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10820 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10825 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10830 eval "$wx_cv_use_listbox"
10832 if test x"$enablestring" = xdisable; then
10833 if test $wxUSE_LISTBOX = yes; then
10839 result=$wxUSE_LISTBOX
10842 { echo "$as_me:$LINENO: result: $result" >&5
10843 echo "${ECHO_T}$result" >&6; }
10847 defaultval=$wxUSE_ALL_FEATURES
10848 if test -z "$defaultval"; then
10849 if test x"$enablestring" = xdisable; then
10856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10857 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10858 # Check whether --enable-listctrl was given.
10859 if test "${enable_listctrl+set}" = set; then
10860 enableval=$enable_listctrl;
10861 if test "$enableval" = yes; then
10862 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10864 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10869 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10874 eval "$wx_cv_use_listctrl"
10876 if test x"$enablestring" = xdisable; then
10877 if test $wxUSE_LISTCTRL = yes; then
10883 result=$wxUSE_LISTCTRL
10886 { echo "$as_me:$LINENO: result: $result" >&5
10887 echo "${ECHO_T}$result" >&6; }
10891 defaultval=$wxUSE_ALL_FEATURES
10892 if test -z "$defaultval"; then
10893 if test x"$enablestring" = xdisable; then
10900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10901 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10902 # Check whether --enable-notebook was given.
10903 if test "${enable_notebook+set}" = set; then
10904 enableval=$enable_notebook;
10905 if test "$enableval" = yes; then
10906 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10908 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10913 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10918 eval "$wx_cv_use_notebook"
10920 if test x"$enablestring" = xdisable; then
10921 if test $wxUSE_NOTEBOOK = yes; then
10927 result=$wxUSE_NOTEBOOK
10930 { echo "$as_me:$LINENO: result: $result" >&5
10931 echo "${ECHO_T}$result" >&6; }
10935 defaultval=$wxUSE_ALL_FEATURES
10936 if test -z "$defaultval"; then
10937 if test x"$enablestring" = xdisable; then
10944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10945 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10946 # Check whether --enable-notifmsg was given.
10947 if test "${enable_notifmsg+set}" = set; then
10948 enableval=$enable_notifmsg;
10949 if test "$enableval" = yes; then
10950 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10952 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10957 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10962 eval "$wx_cv_use_notifmsg"
10964 if test x"$enablestring" = xdisable; then
10965 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10971 result=$wxUSE_NOTIFICATION_MESSAGE
10974 { echo "$as_me:$LINENO: result: $result" >&5
10975 echo "${ECHO_T}$result" >&6; }
10979 defaultval=$wxUSE_ALL_FEATURES
10980 if test -z "$defaultval"; then
10981 if test x"$enablestring" = xdisable; then
10988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10989 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10990 # Check whether --enable-odcombobox was given.
10991 if test "${enable_odcombobox+set}" = set; then
10992 enableval=$enable_odcombobox;
10993 if test "$enableval" = yes; then
10994 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10996 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11001 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11006 eval "$wx_cv_use_odcombobox"
11008 if test x"$enablestring" = xdisable; then
11009 if test $wxUSE_ODCOMBOBOX = yes; then
11015 result=$wxUSE_ODCOMBOBOX
11018 { echo "$as_me:$LINENO: result: $result" >&5
11019 echo "${ECHO_T}$result" >&6; }
11023 defaultval=$wxUSE_ALL_FEATURES
11024 if test -z "$defaultval"; then
11025 if test x"$enablestring" = xdisable; then
11032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11033 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11034 # Check whether --enable-radiobox was given.
11035 if test "${enable_radiobox+set}" = set; then
11036 enableval=$enable_radiobox;
11037 if test "$enableval" = yes; then
11038 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11040 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11045 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11050 eval "$wx_cv_use_radiobox"
11052 if test x"$enablestring" = xdisable; then
11053 if test $wxUSE_RADIOBOX = yes; then
11059 result=$wxUSE_RADIOBOX
11062 { echo "$as_me:$LINENO: result: $result" >&5
11063 echo "${ECHO_T}$result" >&6; }
11067 defaultval=$wxUSE_ALL_FEATURES
11068 if test -z "$defaultval"; then
11069 if test x"$enablestring" = xdisable; then
11076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11077 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11078 # Check whether --enable-radiobtn was given.
11079 if test "${enable_radiobtn+set}" = set; then
11080 enableval=$enable_radiobtn;
11081 if test "$enableval" = yes; then
11082 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11084 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11089 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11094 eval "$wx_cv_use_radiobtn"
11096 if test x"$enablestring" = xdisable; then
11097 if test $wxUSE_RADIOBTN = yes; then
11103 result=$wxUSE_RADIOBTN
11106 { echo "$as_me:$LINENO: result: $result" >&5
11107 echo "${ECHO_T}$result" >&6; }
11111 defaultval=$wxUSE_ALL_FEATURES
11112 if test -z "$defaultval"; then
11113 if test x"$enablestring" = xdisable; then
11120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11121 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11122 # Check whether --enable-sash was given.
11123 if test "${enable_sash+set}" = set; then
11124 enableval=$enable_sash;
11125 if test "$enableval" = yes; then
11126 wx_cv_use_sash='wxUSE_SASH=yes'
11128 wx_cv_use_sash='wxUSE_SASH=no'
11133 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11138 eval "$wx_cv_use_sash"
11140 if test x"$enablestring" = xdisable; then
11141 if test $wxUSE_SASH = yes; then
11150 { echo "$as_me:$LINENO: result: $result" >&5
11151 echo "${ECHO_T}$result" >&6; }
11155 defaultval=$wxUSE_ALL_FEATURES
11156 if test -z "$defaultval"; then
11157 if test x"$enablestring" = xdisable; then
11164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11165 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11166 # Check whether --enable-scrollbar was given.
11167 if test "${enable_scrollbar+set}" = set; then
11168 enableval=$enable_scrollbar;
11169 if test "$enableval" = yes; then
11170 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11172 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11177 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11182 eval "$wx_cv_use_scrollbar"
11184 if test x"$enablestring" = xdisable; then
11185 if test $wxUSE_SCROLLBAR = yes; then
11191 result=$wxUSE_SCROLLBAR
11194 { echo "$as_me:$LINENO: result: $result" >&5
11195 echo "${ECHO_T}$result" >&6; }
11199 defaultval=$wxUSE_ALL_FEATURES
11200 if test -z "$defaultval"; then
11201 if test x"$enablestring" = xdisable; then
11208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11209 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11210 # Check whether --enable-searchctrl was given.
11211 if test "${enable_searchctrl+set}" = set; then
11212 enableval=$enable_searchctrl;
11213 if test "$enableval" = yes; then
11214 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11216 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11221 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11226 eval "$wx_cv_use_searchctrl"
11228 if test x"$enablestring" = xdisable; then
11229 if test $wxUSE_SEARCHCTRL = yes; then
11235 result=$wxUSE_SEARCHCTRL
11238 { echo "$as_me:$LINENO: result: $result" >&5
11239 echo "${ECHO_T}$result" >&6; }
11243 defaultval=$wxUSE_ALL_FEATURES
11244 if test -z "$defaultval"; then
11245 if test x"$enablestring" = xdisable; then
11252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11253 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11254 # Check whether --enable-slider was given.
11255 if test "${enable_slider+set}" = set; then
11256 enableval=$enable_slider;
11257 if test "$enableval" = yes; then
11258 wx_cv_use_slider='wxUSE_SLIDER=yes'
11260 wx_cv_use_slider='wxUSE_SLIDER=no'
11265 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11270 eval "$wx_cv_use_slider"
11272 if test x"$enablestring" = xdisable; then
11273 if test $wxUSE_SLIDER = yes; then
11279 result=$wxUSE_SLIDER
11282 { echo "$as_me:$LINENO: result: $result" >&5
11283 echo "${ECHO_T}$result" >&6; }
11287 defaultval=$wxUSE_ALL_FEATURES
11288 if test -z "$defaultval"; then
11289 if test x"$enablestring" = xdisable; then
11296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11297 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11298 # Check whether --enable-spinbtn was given.
11299 if test "${enable_spinbtn+set}" = set; then
11300 enableval=$enable_spinbtn;
11301 if test "$enableval" = yes; then
11302 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11304 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11309 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11314 eval "$wx_cv_use_spinbtn"
11316 if test x"$enablestring" = xdisable; then
11317 if test $wxUSE_SPINBTN = yes; then
11323 result=$wxUSE_SPINBTN
11326 { echo "$as_me:$LINENO: result: $result" >&5
11327 echo "${ECHO_T}$result" >&6; }
11331 defaultval=$wxUSE_ALL_FEATURES
11332 if test -z "$defaultval"; then
11333 if test x"$enablestring" = xdisable; then
11340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11341 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11342 # Check whether --enable-spinctrl was given.
11343 if test "${enable_spinctrl+set}" = set; then
11344 enableval=$enable_spinctrl;
11345 if test "$enableval" = yes; then
11346 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11348 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11353 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11358 eval "$wx_cv_use_spinctrl"
11360 if test x"$enablestring" = xdisable; then
11361 if test $wxUSE_SPINCTRL = yes; then
11367 result=$wxUSE_SPINCTRL
11370 { echo "$as_me:$LINENO: result: $result" >&5
11371 echo "${ECHO_T}$result" >&6; }
11375 defaultval=$wxUSE_ALL_FEATURES
11376 if test -z "$defaultval"; then
11377 if test x"$enablestring" = xdisable; then
11384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11385 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11386 # Check whether --enable-splitter was given.
11387 if test "${enable_splitter+set}" = set; then
11388 enableval=$enable_splitter;
11389 if test "$enableval" = yes; then
11390 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11392 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11397 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11402 eval "$wx_cv_use_splitter"
11404 if test x"$enablestring" = xdisable; then
11405 if test $wxUSE_SPLITTER = yes; then
11411 result=$wxUSE_SPLITTER
11414 { echo "$as_me:$LINENO: result: $result" >&5
11415 echo "${ECHO_T}$result" >&6; }
11419 defaultval=$wxUSE_ALL_FEATURES
11420 if test -z "$defaultval"; then
11421 if test x"$enablestring" = xdisable; then
11428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11429 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11430 # Check whether --enable-statbmp was given.
11431 if test "${enable_statbmp+set}" = set; then
11432 enableval=$enable_statbmp;
11433 if test "$enableval" = yes; then
11434 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11436 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11441 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11446 eval "$wx_cv_use_statbmp"
11448 if test x"$enablestring" = xdisable; then
11449 if test $wxUSE_STATBMP = yes; then
11455 result=$wxUSE_STATBMP
11458 { echo "$as_me:$LINENO: result: $result" >&5
11459 echo "${ECHO_T}$result" >&6; }
11463 defaultval=$wxUSE_ALL_FEATURES
11464 if test -z "$defaultval"; then
11465 if test x"$enablestring" = xdisable; then
11472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11473 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11474 # Check whether --enable-statbox was given.
11475 if test "${enable_statbox+set}" = set; then
11476 enableval=$enable_statbox;
11477 if test "$enableval" = yes; then
11478 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11480 wx_cv_use_statbox='wxUSE_STATBOX=no'
11485 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11490 eval "$wx_cv_use_statbox"
11492 if test x"$enablestring" = xdisable; then
11493 if test $wxUSE_STATBOX = yes; then
11499 result=$wxUSE_STATBOX
11502 { echo "$as_me:$LINENO: result: $result" >&5
11503 echo "${ECHO_T}$result" >&6; }
11507 defaultval=$wxUSE_ALL_FEATURES
11508 if test -z "$defaultval"; then
11509 if test x"$enablestring" = xdisable; then
11516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11517 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11518 # Check whether --enable-statline was given.
11519 if test "${enable_statline+set}" = set; then
11520 enableval=$enable_statline;
11521 if test "$enableval" = yes; then
11522 wx_cv_use_statline='wxUSE_STATLINE=yes'
11524 wx_cv_use_statline='wxUSE_STATLINE=no'
11529 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11534 eval "$wx_cv_use_statline"
11536 if test x"$enablestring" = xdisable; then
11537 if test $wxUSE_STATLINE = yes; then
11543 result=$wxUSE_STATLINE
11546 { echo "$as_me:$LINENO: result: $result" >&5
11547 echo "${ECHO_T}$result" >&6; }
11551 defaultval=$wxUSE_ALL_FEATURES
11552 if test -z "$defaultval"; then
11553 if test x"$enablestring" = xdisable; then
11560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11561 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11562 # Check whether --enable-stattext was given.
11563 if test "${enable_stattext+set}" = set; then
11564 enableval=$enable_stattext;
11565 if test "$enableval" = yes; then
11566 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11568 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11573 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11578 eval "$wx_cv_use_stattext"
11580 if test x"$enablestring" = xdisable; then
11581 if test $wxUSE_STATTEXT = yes; then
11587 result=$wxUSE_STATTEXT
11590 { echo "$as_me:$LINENO: result: $result" >&5
11591 echo "${ECHO_T}$result" >&6; }
11595 defaultval=$wxUSE_ALL_FEATURES
11596 if test -z "$defaultval"; then
11597 if test x"$enablestring" = xdisable; then
11604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11605 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11606 # Check whether --enable-statusbar was given.
11607 if test "${enable_statusbar+set}" = set; then
11608 enableval=$enable_statusbar;
11609 if test "$enableval" = yes; then
11610 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11612 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11617 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11622 eval "$wx_cv_use_statusbar"
11624 if test x"$enablestring" = xdisable; then
11625 if test $wxUSE_STATUSBAR = yes; then
11631 result=$wxUSE_STATUSBAR
11634 { echo "$as_me:$LINENO: result: $result" >&5
11635 echo "${ECHO_T}$result" >&6; }
11639 defaultval=$wxUSE_ALL_FEATURES
11640 if test -z "$defaultval"; then
11641 if test x"$enablestring" = xdisable; then
11648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11649 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11650 # Check whether --enable-tabdialog was given.
11651 if test "${enable_tabdialog+set}" = set; then
11652 enableval=$enable_tabdialog;
11653 if test "$enableval" = yes; then
11654 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11656 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11661 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11666 eval "$wx_cv_use_tabdialog"
11668 if test x"$enablestring" = xdisable; then
11669 if test $wxUSE_TAB_DIALOG = yes; then
11675 result=$wxUSE_TAB_DIALOG
11678 { echo "$as_me:$LINENO: result: $result" >&5
11679 echo "${ECHO_T}$result" >&6; }
11683 defaultval=$wxUSE_ALL_FEATURES
11684 if test -z "$defaultval"; then
11685 if test x"$enablestring" = xdisable; then
11692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11693 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11694 # Check whether --enable-taskbaricon was given.
11695 if test "${enable_taskbaricon+set}" = set; then
11696 enableval=$enable_taskbaricon;
11697 if test "$enableval" = yes; then
11698 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11700 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11705 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11710 eval "$wx_cv_use_taskbaricon"
11712 if test x"$enablestring" = xdisable; then
11713 if test $wxUSE_TASKBARICON = yes; then
11719 result=$wxUSE_TASKBARICON
11722 { echo "$as_me:$LINENO: result: $result" >&5
11723 echo "${ECHO_T}$result" >&6; }
11727 defaultval=$wxUSE_ALL_FEATURES
11728 if test -z "$defaultval"; then
11729 if test x"$enablestring" = xdisable; then
11736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11737 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11738 # Check whether --enable-textctrl was given.
11739 if test "${enable_textctrl+set}" = set; then
11740 enableval=$enable_textctrl;
11741 if test "$enableval" = yes; then
11742 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11744 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11749 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11754 eval "$wx_cv_use_textctrl"
11756 if test x"$enablestring" = xdisable; then
11757 if test $wxUSE_TEXTCTRL = yes; then
11763 result=$wxUSE_TEXTCTRL
11766 { echo "$as_me:$LINENO: result: $result" >&5
11767 echo "${ECHO_T}$result" >&6; }
11771 defaultval=$wxUSE_ALL_FEATURES
11772 if test -z "$defaultval"; then
11773 if test x"$enablestring" = xdisable; then
11780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11781 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11782 # Check whether --enable-togglebtn was given.
11783 if test "${enable_togglebtn+set}" = set; then
11784 enableval=$enable_togglebtn;
11785 if test "$enableval" = yes; then
11786 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11788 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11793 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11798 eval "$wx_cv_use_togglebtn"
11800 if test x"$enablestring" = xdisable; then
11801 if test $wxUSE_TOGGLEBTN = yes; then
11807 result=$wxUSE_TOGGLEBTN
11810 { echo "$as_me:$LINENO: result: $result" >&5
11811 echo "${ECHO_T}$result" >&6; }
11815 defaultval=$wxUSE_ALL_FEATURES
11816 if test -z "$defaultval"; then
11817 if test x"$enablestring" = xdisable; then
11824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11825 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11826 # Check whether --enable-toolbar was given.
11827 if test "${enable_toolbar+set}" = set; then
11828 enableval=$enable_toolbar;
11829 if test "$enableval" = yes; then
11830 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11832 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11837 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11842 eval "$wx_cv_use_toolbar"
11844 if test x"$enablestring" = xdisable; then
11845 if test $wxUSE_TOOLBAR = yes; then
11851 result=$wxUSE_TOOLBAR
11854 { echo "$as_me:$LINENO: result: $result" >&5
11855 echo "${ECHO_T}$result" >&6; }
11859 defaultval=$wxUSE_ALL_FEATURES
11860 if test -z "$defaultval"; then
11861 if test x"$enablestring" = xdisable; then
11868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11869 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11870 # Check whether --enable-tbarnative was given.
11871 if test "${enable_tbarnative+set}" = set; then
11872 enableval=$enable_tbarnative;
11873 if test "$enableval" = yes; then
11874 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11876 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11881 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11886 eval "$wx_cv_use_tbarnative"
11888 if test x"$enablestring" = xdisable; then
11889 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11895 result=$wxUSE_TOOLBAR_NATIVE
11898 { echo "$as_me:$LINENO: result: $result" >&5
11899 echo "${ECHO_T}$result" >&6; }
11903 defaultval=$wxUSE_ALL_FEATURES
11904 if test -z "$defaultval"; then
11905 if test x"$enablestring" = xdisable; then
11912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11913 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11914 # Check whether --enable-treebook was given.
11915 if test "${enable_treebook+set}" = set; then
11916 enableval=$enable_treebook;
11917 if test "$enableval" = yes; then
11918 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11920 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11925 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11930 eval "$wx_cv_use_treebook"
11932 if test x"$enablestring" = xdisable; then
11933 if test $wxUSE_TREEBOOK = yes; then
11939 result=$wxUSE_TREEBOOK
11942 { echo "$as_me:$LINENO: result: $result" >&5
11943 echo "${ECHO_T}$result" >&6; }
11947 defaultval=$wxUSE_ALL_FEATURES
11948 if test -z "$defaultval"; then
11949 if test x"$enablestring" = xdisable; then
11956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11957 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11958 # Check whether --enable-toolbook was given.
11959 if test "${enable_toolbook+set}" = set; then
11960 enableval=$enable_toolbook;
11961 if test "$enableval" = yes; then
11962 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11964 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11969 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11974 eval "$wx_cv_use_toolbook"
11976 if test x"$enablestring" = xdisable; then
11977 if test $wxUSE_TOOLBOOK = yes; then
11983 result=$wxUSE_TOOLBOOK
11986 { echo "$as_me:$LINENO: result: $result" >&5
11987 echo "${ECHO_T}$result" >&6; }
11991 defaultval=$wxUSE_ALL_FEATURES
11992 if test -z "$defaultval"; then
11993 if test x"$enablestring" = xdisable; then
12000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12001 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12002 # Check whether --enable-treectrl was given.
12003 if test "${enable_treectrl+set}" = set; then
12004 enableval=$enable_treectrl;
12005 if test "$enableval" = yes; then
12006 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12008 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12013 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12018 eval "$wx_cv_use_treectrl"
12020 if test x"$enablestring" = xdisable; then
12021 if test $wxUSE_TREECTRL = yes; then
12027 result=$wxUSE_TREECTRL
12030 { echo "$as_me:$LINENO: result: $result" >&5
12031 echo "${ECHO_T}$result" >&6; }
12035 defaultval=$wxUSE_ALL_FEATURES
12036 if test -z "$defaultval"; then
12037 if test x"$enablestring" = xdisable; then
12044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12045 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12046 # Check whether --enable-tipwindow was given.
12047 if test "${enable_tipwindow+set}" = set; then
12048 enableval=$enable_tipwindow;
12049 if test "$enableval" = yes; then
12050 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12052 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12057 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12062 eval "$wx_cv_use_tipwindow"
12064 if test x"$enablestring" = xdisable; then
12065 if test $wxUSE_TIPWINDOW = yes; then
12071 result=$wxUSE_TIPWINDOW
12074 { echo "$as_me:$LINENO: result: $result" >&5
12075 echo "${ECHO_T}$result" >&6; }
12079 defaultval=$wxUSE_ALL_FEATURES
12080 if test -z "$defaultval"; then
12081 if test x"$enablestring" = xdisable; then
12088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12089 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12090 # Check whether --enable-popupwin was given.
12091 if test "${enable_popupwin+set}" = set; then
12092 enableval=$enable_popupwin;
12093 if test "$enableval" = yes; then
12094 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12096 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12101 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12106 eval "$wx_cv_use_popupwin"
12108 if test x"$enablestring" = xdisable; then
12109 if test $wxUSE_POPUPWIN = yes; then
12115 result=$wxUSE_POPUPWIN
12118 { echo "$as_me:$LINENO: result: $result" >&5
12119 echo "${ECHO_T}$result" >&6; }
12125 defaultval=$wxUSE_ALL_FEATURES
12126 if test -z "$defaultval"; then
12127 if test x"$enablestring" = xdisable; then
12134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12135 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12136 # Check whether --enable-commondlg was given.
12137 if test "${enable_commondlg+set}" = set; then
12138 enableval=$enable_commondlg;
12139 if test "$enableval" = yes; then
12140 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12142 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12147 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12152 eval "$wx_cv_use_commondlg"
12154 if test x"$enablestring" = xdisable; then
12155 if test $wxUSE_COMMONDLGS = yes; then
12161 result=$wxUSE_COMMONDLGS
12164 { echo "$as_me:$LINENO: result: $result" >&5
12165 echo "${ECHO_T}$result" >&6; }
12169 defaultval=$wxUSE_ALL_FEATURES
12170 if test -z "$defaultval"; then
12171 if test x"$enablestring" = xdisable; then
12178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12179 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12180 # Check whether --enable-aboutdlg was given.
12181 if test "${enable_aboutdlg+set}" = set; then
12182 enableval=$enable_aboutdlg;
12183 if test "$enableval" = yes; then
12184 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12186 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12191 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12196 eval "$wx_cv_use_aboutdlg"
12198 if test x"$enablestring" = xdisable; then
12199 if test $wxUSE_ABOUTDLG = yes; then
12205 result=$wxUSE_ABOUTDLG
12208 { echo "$as_me:$LINENO: result: $result" >&5
12209 echo "${ECHO_T}$result" >&6; }
12213 defaultval=$wxUSE_ALL_FEATURES
12214 if test -z "$defaultval"; then
12215 if test x"$enablestring" = xdisable; then
12222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12223 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12224 # Check whether --enable-choicedlg was given.
12225 if test "${enable_choicedlg+set}" = set; then
12226 enableval=$enable_choicedlg;
12227 if test "$enableval" = yes; then
12228 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12230 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12235 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12240 eval "$wx_cv_use_choicedlg"
12242 if test x"$enablestring" = xdisable; then
12243 if test $wxUSE_CHOICEDLG = yes; then
12249 result=$wxUSE_CHOICEDLG
12252 { echo "$as_me:$LINENO: result: $result" >&5
12253 echo "${ECHO_T}$result" >&6; }
12257 defaultval=$wxUSE_ALL_FEATURES
12258 if test -z "$defaultval"; then
12259 if test x"$enablestring" = xdisable; then
12266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12267 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12268 # Check whether --enable-coldlg was given.
12269 if test "${enable_coldlg+set}" = set; then
12270 enableval=$enable_coldlg;
12271 if test "$enableval" = yes; then
12272 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12274 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12279 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12284 eval "$wx_cv_use_coldlg"
12286 if test x"$enablestring" = xdisable; then
12287 if test $wxUSE_COLOURDLG = yes; then
12293 result=$wxUSE_COLOURDLG
12296 { echo "$as_me:$LINENO: result: $result" >&5
12297 echo "${ECHO_T}$result" >&6; }
12301 defaultval=$wxUSE_ALL_FEATURES
12302 if test -z "$defaultval"; then
12303 if test x"$enablestring" = xdisable; then
12310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12311 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12312 # Check whether --enable-filedlg was given.
12313 if test "${enable_filedlg+set}" = set; then
12314 enableval=$enable_filedlg;
12315 if test "$enableval" = yes; then
12316 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12318 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12323 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12328 eval "$wx_cv_use_filedlg"
12330 if test x"$enablestring" = xdisable; then
12331 if test $wxUSE_FILEDLG = yes; then
12337 result=$wxUSE_FILEDLG
12340 { echo "$as_me:$LINENO: result: $result" >&5
12341 echo "${ECHO_T}$result" >&6; }
12345 defaultval=$wxUSE_ALL_FEATURES
12346 if test -z "$defaultval"; then
12347 if test x"$enablestring" = xdisable; then
12354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12355 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12356 # Check whether --enable-finddlg was given.
12357 if test "${enable_finddlg+set}" = set; then
12358 enableval=$enable_finddlg;
12359 if test "$enableval" = yes; then
12360 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12362 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12367 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12372 eval "$wx_cv_use_finddlg"
12374 if test x"$enablestring" = xdisable; then
12375 if test $wxUSE_FINDREPLDLG = yes; then
12381 result=$wxUSE_FINDREPLDLG
12384 { echo "$as_me:$LINENO: result: $result" >&5
12385 echo "${ECHO_T}$result" >&6; }
12389 defaultval=$wxUSE_ALL_FEATURES
12390 if test -z "$defaultval"; then
12391 if test x"$enablestring" = xdisable; then
12398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12399 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12400 # Check whether --enable-fontdlg was given.
12401 if test "${enable_fontdlg+set}" = set; then
12402 enableval=$enable_fontdlg;
12403 if test "$enableval" = yes; then
12404 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12406 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12411 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12416 eval "$wx_cv_use_fontdlg"
12418 if test x"$enablestring" = xdisable; then
12419 if test $wxUSE_FONTDLG = yes; then
12425 result=$wxUSE_FONTDLG
12428 { echo "$as_me:$LINENO: result: $result" >&5
12429 echo "${ECHO_T}$result" >&6; }
12433 defaultval=$wxUSE_ALL_FEATURES
12434 if test -z "$defaultval"; then
12435 if test x"$enablestring" = xdisable; then
12442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12443 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12444 # Check whether --enable-dirdlg was given.
12445 if test "${enable_dirdlg+set}" = set; then
12446 enableval=$enable_dirdlg;
12447 if test "$enableval" = yes; then
12448 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12450 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12455 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12460 eval "$wx_cv_use_dirdlg"
12462 if test x"$enablestring" = xdisable; then
12463 if test $wxUSE_DIRDLG = yes; then
12469 result=$wxUSE_DIRDLG
12472 { echo "$as_me:$LINENO: result: $result" >&5
12473 echo "${ECHO_T}$result" >&6; }
12477 defaultval=$wxUSE_ALL_FEATURES
12478 if test -z "$defaultval"; then
12479 if test x"$enablestring" = xdisable; then
12486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12487 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12488 # Check whether --enable-msgdlg was given.
12489 if test "${enable_msgdlg+set}" = set; then
12490 enableval=$enable_msgdlg;
12491 if test "$enableval" = yes; then
12492 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12494 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12499 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12504 eval "$wx_cv_use_msgdlg"
12506 if test x"$enablestring" = xdisable; then
12507 if test $wxUSE_MSGDLG = yes; then
12513 result=$wxUSE_MSGDLG
12516 { echo "$as_me:$LINENO: result: $result" >&5
12517 echo "${ECHO_T}$result" >&6; }
12521 defaultval=$wxUSE_ALL_FEATURES
12522 if test -z "$defaultval"; then
12523 if test x"$enablestring" = xdisable; then
12530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12531 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12532 # Check whether --enable-numberdlg was given.
12533 if test "${enable_numberdlg+set}" = set; then
12534 enableval=$enable_numberdlg;
12535 if test "$enableval" = yes; then
12536 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12538 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12543 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12548 eval "$wx_cv_use_numberdlg"
12550 if test x"$enablestring" = xdisable; then
12551 if test $wxUSE_NUMBERDLG = yes; then
12557 result=$wxUSE_NUMBERDLG
12560 { echo "$as_me:$LINENO: result: $result" >&5
12561 echo "${ECHO_T}$result" >&6; }
12565 defaultval=$wxUSE_ALL_FEATURES
12566 if test -z "$defaultval"; then
12567 if test x"$enablestring" = xdisable; then
12574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12575 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12576 # Check whether --enable-splash was given.
12577 if test "${enable_splash+set}" = set; then
12578 enableval=$enable_splash;
12579 if test "$enableval" = yes; then
12580 wx_cv_use_splash='wxUSE_SPLASH=yes'
12582 wx_cv_use_splash='wxUSE_SPLASH=no'
12587 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12592 eval "$wx_cv_use_splash"
12594 if test x"$enablestring" = xdisable; then
12595 if test $wxUSE_SPLASH = yes; then
12601 result=$wxUSE_SPLASH
12604 { echo "$as_me:$LINENO: result: $result" >&5
12605 echo "${ECHO_T}$result" >&6; }
12609 defaultval=$wxUSE_ALL_FEATURES
12610 if test -z "$defaultval"; then
12611 if test x"$enablestring" = xdisable; then
12618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12619 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12620 # Check whether --enable-textdlg was given.
12621 if test "${enable_textdlg+set}" = set; then
12622 enableval=$enable_textdlg;
12623 if test "$enableval" = yes; then
12624 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12626 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12631 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12636 eval "$wx_cv_use_textdlg"
12638 if test x"$enablestring" = xdisable; then
12639 if test $wxUSE_TEXTDLG = yes; then
12645 result=$wxUSE_TEXTDLG
12648 { echo "$as_me:$LINENO: result: $result" >&5
12649 echo "${ECHO_T}$result" >&6; }
12653 defaultval=$wxUSE_ALL_FEATURES
12654 if test -z "$defaultval"; then
12655 if test x"$enablestring" = xdisable; then
12662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12663 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12664 # Check whether --enable-tipdlg was given.
12665 if test "${enable_tipdlg+set}" = set; then
12666 enableval=$enable_tipdlg;
12667 if test "$enableval" = yes; then
12668 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12670 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12675 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12680 eval "$wx_cv_use_tipdlg"
12682 if test x"$enablestring" = xdisable; then
12683 if test $wxUSE_STARTUP_TIPS = yes; then
12689 result=$wxUSE_STARTUP_TIPS
12692 { echo "$as_me:$LINENO: result: $result" >&5
12693 echo "${ECHO_T}$result" >&6; }
12697 defaultval=$wxUSE_ALL_FEATURES
12698 if test -z "$defaultval"; then
12699 if test x"$enablestring" = xdisable; then
12706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12707 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12708 # Check whether --enable-progressdlg was given.
12709 if test "${enable_progressdlg+set}" = set; then
12710 enableval=$enable_progressdlg;
12711 if test "$enableval" = yes; then
12712 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12714 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12719 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12724 eval "$wx_cv_use_progressdlg"
12726 if test x"$enablestring" = xdisable; then
12727 if test $wxUSE_PROGRESSDLG = yes; then
12733 result=$wxUSE_PROGRESSDLG
12736 { echo "$as_me:$LINENO: result: $result" >&5
12737 echo "${ECHO_T}$result" >&6; }
12741 defaultval=$wxUSE_ALL_FEATURES
12742 if test -z "$defaultval"; then
12743 if test x"$enablestring" = xdisable; then
12750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12751 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12752 # Check whether --enable-wizarddlg was given.
12753 if test "${enable_wizarddlg+set}" = set; then
12754 enableval=$enable_wizarddlg;
12755 if test "$enableval" = yes; then
12756 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12758 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12763 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12768 eval "$wx_cv_use_wizarddlg"
12770 if test x"$enablestring" = xdisable; then
12771 if test $wxUSE_WIZARDDLG = yes; then
12777 result=$wxUSE_WIZARDDLG
12780 { echo "$as_me:$LINENO: result: $result" >&5
12781 echo "${ECHO_T}$result" >&6; }
12787 defaultval=$wxUSE_ALL_FEATURES
12788 if test -z "$defaultval"; then
12789 if test x"$enablestring" = xdisable; then
12796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12797 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12798 # Check whether --enable-menus was given.
12799 if test "${enable_menus+set}" = set; then
12800 enableval=$enable_menus;
12801 if test "$enableval" = yes; then
12802 wx_cv_use_menus='wxUSE_MENUS=yes'
12804 wx_cv_use_menus='wxUSE_MENUS=no'
12809 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12814 eval "$wx_cv_use_menus"
12816 if test x"$enablestring" = xdisable; then
12817 if test $wxUSE_MENUS = yes; then
12823 result=$wxUSE_MENUS
12826 { echo "$as_me:$LINENO: result: $result" >&5
12827 echo "${ECHO_T}$result" >&6; }
12831 defaultval=$wxUSE_ALL_FEATURES
12832 if test -z "$defaultval"; then
12833 if test x"$enablestring" = xdisable; then
12840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12841 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12842 # Check whether --enable-miniframe was given.
12843 if test "${enable_miniframe+set}" = set; then
12844 enableval=$enable_miniframe;
12845 if test "$enableval" = yes; then
12846 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12848 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12853 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12858 eval "$wx_cv_use_miniframe"
12860 if test x"$enablestring" = xdisable; then
12861 if test $wxUSE_MINIFRAME = yes; then
12867 result=$wxUSE_MINIFRAME
12870 { echo "$as_me:$LINENO: result: $result" >&5
12871 echo "${ECHO_T}$result" >&6; }
12875 defaultval=$wxUSE_ALL_FEATURES
12876 if test -z "$defaultval"; then
12877 if test x"$enablestring" = xdisable; then
12884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12885 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12886 # Check whether --enable-tooltips was given.
12887 if test "${enable_tooltips+set}" = set; then
12888 enableval=$enable_tooltips;
12889 if test "$enableval" = yes; then
12890 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12892 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12897 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12902 eval "$wx_cv_use_tooltips"
12904 if test x"$enablestring" = xdisable; then
12905 if test $wxUSE_TOOLTIPS = yes; then
12911 result=$wxUSE_TOOLTIPS
12914 { echo "$as_me:$LINENO: result: $result" >&5
12915 echo "${ECHO_T}$result" >&6; }
12919 defaultval=$wxUSE_ALL_FEATURES
12920 if test -z "$defaultval"; then
12921 if test x"$enablestring" = xdisable; then
12928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12929 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12930 # Check whether --enable-splines was given.
12931 if test "${enable_splines+set}" = set; then
12932 enableval=$enable_splines;
12933 if test "$enableval" = yes; then
12934 wx_cv_use_splines='wxUSE_SPLINES=yes'
12936 wx_cv_use_splines='wxUSE_SPLINES=no'
12941 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12946 eval "$wx_cv_use_splines"
12948 if test x"$enablestring" = xdisable; then
12949 if test $wxUSE_SPLINES = yes; then
12955 result=$wxUSE_SPLINES
12958 { echo "$as_me:$LINENO: result: $result" >&5
12959 echo "${ECHO_T}$result" >&6; }
12963 defaultval=$wxUSE_ALL_FEATURES
12964 if test -z "$defaultval"; then
12965 if test x"$enablestring" = xdisable; then
12972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12973 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12974 # Check whether --enable-mousewheel was given.
12975 if test "${enable_mousewheel+set}" = set; then
12976 enableval=$enable_mousewheel;
12977 if test "$enableval" = yes; then
12978 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12980 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12985 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12990 eval "$wx_cv_use_mousewheel"
12992 if test x"$enablestring" = xdisable; then
12993 if test $wxUSE_MOUSEWHEEL = yes; then
12999 result=$wxUSE_MOUSEWHEEL
13002 { echo "$as_me:$LINENO: result: $result" >&5
13003 echo "${ECHO_T}$result" >&6; }
13007 defaultval=$wxUSE_ALL_FEATURES
13008 if test -z "$defaultval"; then
13009 if test x"$enablestring" = xdisable; then
13016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13017 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13018 # Check whether --enable-validators was given.
13019 if test "${enable_validators+set}" = set; then
13020 enableval=$enable_validators;
13021 if test "$enableval" = yes; then
13022 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13024 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13029 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13034 eval "$wx_cv_use_validators"
13036 if test x"$enablestring" = xdisable; then
13037 if test $wxUSE_VALIDATORS = yes; then
13043 result=$wxUSE_VALIDATORS
13046 { echo "$as_me:$LINENO: result: $result" >&5
13047 echo "${ECHO_T}$result" >&6; }
13051 defaultval=$wxUSE_ALL_FEATURES
13052 if test -z "$defaultval"; then
13053 if test x"$enablestring" = xdisable; then
13060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13061 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13062 # Check whether --enable-busyinfo was given.
13063 if test "${enable_busyinfo+set}" = set; then
13064 enableval=$enable_busyinfo;
13065 if test "$enableval" = yes; then
13066 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13068 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13073 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13078 eval "$wx_cv_use_busyinfo"
13080 if test x"$enablestring" = xdisable; then
13081 if test $wxUSE_BUSYINFO = yes; then
13087 result=$wxUSE_BUSYINFO
13090 { echo "$as_me:$LINENO: result: $result" >&5
13091 echo "${ECHO_T}$result" >&6; }
13095 defaultval=$wxUSE_ALL_FEATURES
13096 if test -z "$defaultval"; then
13097 if test x"$enablestring" = xdisable; then
13104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13105 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13106 # Check whether --enable-joystick was given.
13107 if test "${enable_joystick+set}" = set; then
13108 enableval=$enable_joystick;
13109 if test "$enableval" = yes; then
13110 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13112 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13117 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13122 eval "$wx_cv_use_joystick"
13124 if test x"$enablestring" = xdisable; then
13125 if test $wxUSE_JOYSTICK = yes; then
13131 result=$wxUSE_JOYSTICK
13134 { echo "$as_me:$LINENO: result: $result" >&5
13135 echo "${ECHO_T}$result" >&6; }
13139 defaultval=$wxUSE_ALL_FEATURES
13140 if test -z "$defaultval"; then
13141 if test x"$enablestring" = xdisable; then
13148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13149 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13150 # Check whether --enable-metafile was given.
13151 if test "${enable_metafile+set}" = set; then
13152 enableval=$enable_metafile;
13153 if test "$enableval" = yes; then
13154 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13156 wx_cv_use_metafile='wxUSE_METAFILE=no'
13161 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13166 eval "$wx_cv_use_metafile"
13168 if test x"$enablestring" = xdisable; then
13169 if test $wxUSE_METAFILE = yes; then
13175 result=$wxUSE_METAFILE
13178 { echo "$as_me:$LINENO: result: $result" >&5
13179 echo "${ECHO_T}$result" >&6; }
13183 defaultval=$wxUSE_ALL_FEATURES
13184 if test -z "$defaultval"; then
13185 if test x"$enablestring" = xdisable; then
13192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13193 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13194 # Check whether --enable-dragimage was given.
13195 if test "${enable_dragimage+set}" = set; then
13196 enableval=$enable_dragimage;
13197 if test "$enableval" = yes; then
13198 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13200 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13205 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13210 eval "$wx_cv_use_dragimage"
13212 if test x"$enablestring" = xdisable; then
13213 if test $wxUSE_DRAGIMAGE = yes; then
13219 result=$wxUSE_DRAGIMAGE
13222 { echo "$as_me:$LINENO: result: $result" >&5
13223 echo "${ECHO_T}$result" >&6; }
13227 defaultval=$wxUSE_ALL_FEATURES
13228 if test -z "$defaultval"; then
13229 if test x"$enablestring" = xdisable; then
13236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13237 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13238 # Check whether --enable-accessibility was given.
13239 if test "${enable_accessibility+set}" = set; then
13240 enableval=$enable_accessibility;
13241 if test "$enableval" = yes; then
13242 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13244 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13249 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13254 eval "$wx_cv_use_accessibility"
13256 if test x"$enablestring" = xdisable; then
13257 if test $wxUSE_ACCESSIBILITY = yes; then
13263 result=$wxUSE_ACCESSIBILITY
13266 { echo "$as_me:$LINENO: result: $result" >&5
13267 echo "${ECHO_T}$result" >&6; }
13273 defaultval=$wxUSE_ALL_FEATURES
13274 if test -z "$defaultval"; then
13275 if test x"$enablestring" = xdisable; then
13282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13283 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13284 # Check whether --enable-palette was given.
13285 if test "${enable_palette+set}" = set; then
13286 enableval=$enable_palette;
13287 if test "$enableval" = yes; then
13288 wx_cv_use_palette='wxUSE_PALETTE=yes'
13290 wx_cv_use_palette='wxUSE_PALETTE=no'
13295 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13300 eval "$wx_cv_use_palette"
13302 if test x"$enablestring" = xdisable; then
13303 if test $wxUSE_PALETTE = yes; then
13309 result=$wxUSE_PALETTE
13312 { echo "$as_me:$LINENO: result: $result" >&5
13313 echo "${ECHO_T}$result" >&6; }
13317 defaultval=$wxUSE_ALL_FEATURES
13318 if test -z "$defaultval"; then
13319 if test x"$enablestring" = xdisable; then
13326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13327 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13328 # Check whether --enable-image was given.
13329 if test "${enable_image+set}" = set; then
13330 enableval=$enable_image;
13331 if test "$enableval" = yes; then
13332 wx_cv_use_image='wxUSE_IMAGE=yes'
13334 wx_cv_use_image='wxUSE_IMAGE=no'
13339 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13344 eval "$wx_cv_use_image"
13346 if test x"$enablestring" = xdisable; then
13347 if test $wxUSE_IMAGE = yes; then
13353 result=$wxUSE_IMAGE
13356 { echo "$as_me:$LINENO: result: $result" >&5
13357 echo "${ECHO_T}$result" >&6; }
13361 defaultval=$wxUSE_ALL_FEATURES
13362 if test -z "$defaultval"; then
13363 if test x"$enablestring" = xdisable; then
13370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13371 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13372 # Check whether --enable-gif was given.
13373 if test "${enable_gif+set}" = set; then
13374 enableval=$enable_gif;
13375 if test "$enableval" = yes; then
13376 wx_cv_use_gif='wxUSE_GIF=yes'
13378 wx_cv_use_gif='wxUSE_GIF=no'
13383 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13388 eval "$wx_cv_use_gif"
13390 if test x"$enablestring" = xdisable; then
13391 if test $wxUSE_GIF = yes; then
13400 { echo "$as_me:$LINENO: result: $result" >&5
13401 echo "${ECHO_T}$result" >&6; }
13405 defaultval=$wxUSE_ALL_FEATURES
13406 if test -z "$defaultval"; then
13407 if test x"$enablestring" = xdisable; then
13414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13415 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13416 # Check whether --enable-pcx was given.
13417 if test "${enable_pcx+set}" = set; then
13418 enableval=$enable_pcx;
13419 if test "$enableval" = yes; then
13420 wx_cv_use_pcx='wxUSE_PCX=yes'
13422 wx_cv_use_pcx='wxUSE_PCX=no'
13427 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13432 eval "$wx_cv_use_pcx"
13434 if test x"$enablestring" = xdisable; then
13435 if test $wxUSE_PCX = yes; then
13444 { echo "$as_me:$LINENO: result: $result" >&5
13445 echo "${ECHO_T}$result" >&6; }
13449 defaultval=$wxUSE_ALL_FEATURES
13450 if test -z "$defaultval"; then
13451 if test x"$enablestring" = xdisable; then
13458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13459 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13460 # Check whether --enable-tga was given.
13461 if test "${enable_tga+set}" = set; then
13462 enableval=$enable_tga;
13463 if test "$enableval" = yes; then
13464 wx_cv_use_tga='wxUSE_TGA=yes'
13466 wx_cv_use_tga='wxUSE_TGA=no'
13471 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13476 eval "$wx_cv_use_tga"
13478 if test x"$enablestring" = xdisable; then
13479 if test $wxUSE_TGA = yes; then
13488 { echo "$as_me:$LINENO: result: $result" >&5
13489 echo "${ECHO_T}$result" >&6; }
13493 defaultval=$wxUSE_ALL_FEATURES
13494 if test -z "$defaultval"; then
13495 if test x"$enablestring" = xdisable; then
13502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13503 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13504 # Check whether --enable-iff was given.
13505 if test "${enable_iff+set}" = set; then
13506 enableval=$enable_iff;
13507 if test "$enableval" = yes; then
13508 wx_cv_use_iff='wxUSE_IFF=yes'
13510 wx_cv_use_iff='wxUSE_IFF=no'
13515 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13520 eval "$wx_cv_use_iff"
13522 if test x"$enablestring" = xdisable; then
13523 if test $wxUSE_IFF = yes; then
13532 { echo "$as_me:$LINENO: result: $result" >&5
13533 echo "${ECHO_T}$result" >&6; }
13537 defaultval=$wxUSE_ALL_FEATURES
13538 if test -z "$defaultval"; then
13539 if test x"$enablestring" = xdisable; then
13546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13547 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13548 # Check whether --enable-pnm was given.
13549 if test "${enable_pnm+set}" = set; then
13550 enableval=$enable_pnm;
13551 if test "$enableval" = yes; then
13552 wx_cv_use_pnm='wxUSE_PNM=yes'
13554 wx_cv_use_pnm='wxUSE_PNM=no'
13559 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13564 eval "$wx_cv_use_pnm"
13566 if test x"$enablestring" = xdisable; then
13567 if test $wxUSE_PNM = yes; then
13576 { echo "$as_me:$LINENO: result: $result" >&5
13577 echo "${ECHO_T}$result" >&6; }
13581 defaultval=$wxUSE_ALL_FEATURES
13582 if test -z "$defaultval"; then
13583 if test x"$enablestring" = xdisable; then
13590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13591 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13592 # Check whether --enable-xpm was given.
13593 if test "${enable_xpm+set}" = set; then
13594 enableval=$enable_xpm;
13595 if test "$enableval" = yes; then
13596 wx_cv_use_xpm='wxUSE_XPM=yes'
13598 wx_cv_use_xpm='wxUSE_XPM=no'
13603 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13608 eval "$wx_cv_use_xpm"
13610 if test x"$enablestring" = xdisable; then
13611 if test $wxUSE_XPM = yes; then
13620 { echo "$as_me:$LINENO: result: $result" >&5
13621 echo "${ECHO_T}$result" >&6; }
13625 defaultval=$wxUSE_ALL_FEATURES
13626 if test -z "$defaultval"; then
13627 if test x"$enablestring" = xdisable; then
13634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13635 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13636 # Check whether --enable-ico_cur was given.
13637 if test "${enable_ico_cur+set}" = set; then
13638 enableval=$enable_ico_cur;
13639 if test "$enableval" = yes; then
13640 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13642 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13647 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13652 eval "$wx_cv_use_ico_cur"
13654 if test x"$enablestring" = xdisable; then
13655 if test $wxUSE_ICO_CUR = yes; then
13661 result=$wxUSE_ICO_CUR
13664 { echo "$as_me:$LINENO: result: $result" >&5
13665 echo "${ECHO_T}$result" >&6; }
13671 defaultval=$wxUSE_ALL_FEATURES
13672 if test -z "$defaultval"; then
13673 if test x"$enablestring" = xdisable; then
13680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13681 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13682 # Check whether --enable-dccache was given.
13683 if test "${enable_dccache+set}" = set; then
13684 enableval=$enable_dccache;
13685 if test "$enableval" = yes; then
13686 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13688 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13693 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13698 eval "$wx_cv_use_dccache"
13700 if test x"$enablestring" = xdisable; then
13701 if test $wxUSE_DC_CACHEING = yes; then
13707 result=$wxUSE_DC_CACHEING
13710 { echo "$as_me:$LINENO: result: $result" >&5
13711 echo "${ECHO_T}$result" >&6; }
13715 defaultval=$wxUSE_ALL_FEATURES
13716 if test -z "$defaultval"; then
13717 if test x"$enablestring" = xdisable; then
13724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13725 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13726 # Check whether --enable-ps-in-msw was given.
13727 if test "${enable_ps_in_msw+set}" = set; then
13728 enableval=$enable_ps_in_msw;
13729 if test "$enableval" = yes; then
13730 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13732 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13737 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13742 eval "$wx_cv_use_ps_in_msw"
13744 if test x"$enablestring" = xdisable; then
13745 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13751 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13754 { echo "$as_me:$LINENO: result: $result" >&5
13755 echo "${ECHO_T}$result" >&6; }
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}-ownerdrawn" >&5
13769 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13770 # Check whether --enable-ownerdrawn was given.
13771 if test "${enable_ownerdrawn+set}" = set; then
13772 enableval=$enable_ownerdrawn;
13773 if test "$enableval" = yes; then
13774 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13776 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13781 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13786 eval "$wx_cv_use_ownerdrawn"
13788 if test x"$enablestring" = xdisable; then
13789 if test $wxUSE_OWNER_DRAWN = yes; then
13795 result=$wxUSE_OWNER_DRAWN
13798 { echo "$as_me:$LINENO: result: $result" >&5
13799 echo "${ECHO_T}$result" >&6; }
13803 defaultval=$wxUSE_ALL_FEATURES
13804 if test -z "$defaultval"; then
13805 if test x"$enablestring" = xdisable; then
13812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13813 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13814 # Check whether --enable-uxtheme was given.
13815 if test "${enable_uxtheme+set}" = set; then
13816 enableval=$enable_uxtheme;
13817 if test "$enableval" = yes; then
13818 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13820 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13825 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13830 eval "$wx_cv_use_uxtheme"
13832 if test x"$enablestring" = xdisable; then
13833 if test $wxUSE_UXTHEME = yes; then
13839 result=$wxUSE_UXTHEME
13842 { echo "$as_me:$LINENO: result: $result" >&5
13843 echo "${ECHO_T}$result" >&6; }
13847 defaultval=$wxUSE_ALL_FEATURES
13848 if test -z "$defaultval"; then
13849 if test x"$enablestring" = xdisable; then
13856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13857 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13858 # Check whether --enable-wxdib was given.
13859 if test "${enable_wxdib+set}" = set; then
13860 enableval=$enable_wxdib;
13861 if test "$enableval" = yes; then
13862 wx_cv_use_wxdib='wxUSE_DIB=yes'
13864 wx_cv_use_wxdib='wxUSE_DIB=no'
13869 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13874 eval "$wx_cv_use_wxdib"
13876 if test x"$enablestring" = xdisable; then
13877 if test $wxUSE_DIB = yes; then
13886 { echo "$as_me:$LINENO: result: $result" >&5
13887 echo "${ECHO_T}$result" >&6; }
13890 if test "$wxUSE_MSW" != 1; then
13891 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13896 defaultval=$wxUSE_ALL_FEATURES
13897 if test -z "$defaultval"; then
13898 if test x"$enablestring" = xdisable; then
13905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13906 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13907 # Check whether --enable-autoidman was given.
13908 if test "${enable_autoidman+set}" = set; then
13909 enableval=$enable_autoidman;
13910 if test "$enableval" = yes; then
13911 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13913 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13918 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13923 eval "$wx_cv_use_autoidman"
13925 if test x"$enablestring" = xdisable; then
13926 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13932 result=$wxUSE_AUTOID_MANAGEMENT
13935 { echo "$as_me:$LINENO: result: $result" >&5
13936 echo "${ECHO_T}$result" >&6; }
13942 cat >confcache <<\_ACEOF
13943 # This file is a shell script that caches the results of configure
13944 # tests run on this system so they can be shared between configure
13945 # scripts and configure runs, see configure's option --config-cache.
13946 # It is not useful on other systems. If it contains results you don't
13947 # want to keep, you may remove or edit it.
13949 # config.status only pays attention to the cache file if you give it
13950 # the --recheck option to rerun configure.
13952 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13953 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13954 # following values.
13958 # The following way of writing the cache mishandles newlines in values,
13959 # but we know of no workaround that is simple, portable, and efficient.
13960 # So, we kill variables containing newlines.
13961 # Ultrix sh set writes to stderr and can't be redirected directly,
13962 # and sets the high bit in the cache file unless we assign to the vars.
13964 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13965 eval ac_val=\$$ac_var
13969 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13970 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13973 _ | IFS | as_nl) ;; #(
13974 *) $as_unset $ac_var ;;
13980 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13981 *${as_nl}ac_space=\ *)
13982 # `set' does not quote correctly, so add quotes (double-quote
13983 # substitution turns \\\\ into \\, and sed turns \\ into \).
13986 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13989 # `set' quotes correctly as required by POSIX, so do not add quotes.
13990 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13999 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14001 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14003 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14004 if test -w "$cache_file"; then
14005 test "x$cache_file" != "x/dev/null" &&
14006 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14007 echo "$as_me: updating cache $cache_file" >&6;}
14008 cat confcache >$cache_file
14010 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14011 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14021 ac_cpp='$CPP $CPPFLAGS'
14022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14025 if test -n "$ac_tool_prefix"; then
14026 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14027 set dummy ${ac_tool_prefix}gcc; 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 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14037 for as_dir in $PATH
14040 test -z "$as_dir" && as_dir=.
14041 for ac_exec_ext in '' $ac_executable_extensions; do
14042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14043 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14054 if test -n "$CC"; then
14055 { echo "$as_me:$LINENO: result: $CC" >&5
14056 echo "${ECHO_T}$CC" >&6; }
14058 { echo "$as_me:$LINENO: result: no" >&5
14059 echo "${ECHO_T}no" >&6; }
14064 if test -z "$ac_cv_prog_CC"; then
14066 # Extract the first word of "gcc", so it can be a program name with args.
14067 set dummy gcc; ac_word=$2
14068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14070 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14071 echo $ECHO_N "(cached) $ECHO_C" >&6
14073 if test -n "$ac_ct_CC"; then
14074 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14077 for as_dir in $PATH
14080 test -z "$as_dir" && as_dir=.
14081 for ac_exec_ext in '' $ac_executable_extensions; do
14082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14083 ac_cv_prog_ac_ct_CC="gcc"
14084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14093 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14094 if test -n "$ac_ct_CC"; then
14095 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14096 echo "${ECHO_T}$ac_ct_CC" >&6; }
14098 { echo "$as_me:$LINENO: result: no" >&5
14099 echo "${ECHO_T}no" >&6; }
14102 if test "x$ac_ct_CC" = x; then
14105 case $cross_compiling:$ac_tool_warned in
14107 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14108 whose name does not start with the host triplet. If you think this
14109 configuration is useful to you, please write to autoconf@gnu.org." >&5
14110 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14111 whose name does not start with the host triplet. If you think this
14112 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14113 ac_tool_warned=yes ;;
14118 CC="$ac_cv_prog_CC"
14121 if test -z "$CC"; then
14122 if test -n "$ac_tool_prefix"; then
14123 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14124 set dummy ${ac_tool_prefix}cc; ac_word=$2
14125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14127 if test "${ac_cv_prog_CC+set}" = set; then
14128 echo $ECHO_N "(cached) $ECHO_C" >&6
14130 if test -n "$CC"; then
14131 ac_cv_prog_CC="$CC" # Let the user override the test.
14133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14134 for as_dir in $PATH
14137 test -z "$as_dir" && as_dir=.
14138 for ac_exec_ext in '' $ac_executable_extensions; do
14139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14140 ac_cv_prog_CC="${ac_tool_prefix}cc"
14141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14151 if test -n "$CC"; then
14152 { echo "$as_me:$LINENO: result: $CC" >&5
14153 echo "${ECHO_T}$CC" >&6; }
14155 { echo "$as_me:$LINENO: result: no" >&5
14156 echo "${ECHO_T}no" >&6; }
14162 if test -z "$CC"; then
14163 # Extract the first word of "cc", so it can be a program name with args.
14164 set dummy cc; ac_word=$2
14165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14167 if test "${ac_cv_prog_CC+set}" = set; then
14168 echo $ECHO_N "(cached) $ECHO_C" >&6
14170 if test -n "$CC"; then
14171 ac_cv_prog_CC="$CC" # Let the user override the test.
14173 ac_prog_rejected=no
14174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14175 for as_dir in $PATH
14178 test -z "$as_dir" && as_dir=.
14179 for ac_exec_ext in '' $ac_executable_extensions; do
14180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14181 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14182 ac_prog_rejected=yes
14186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14193 if test $ac_prog_rejected = yes; then
14194 # We found a bogon in the path, so make sure we never use it.
14195 set dummy $ac_cv_prog_CC
14197 if test $# != 0; then
14198 # We chose a different compiler from the bogus one.
14199 # However, it has the same basename, so the bogon will be chosen
14200 # first if we set CC to just the basename; use the full file name.
14202 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14208 if test -n "$CC"; then
14209 { echo "$as_me:$LINENO: result: $CC" >&5
14210 echo "${ECHO_T}$CC" >&6; }
14212 { echo "$as_me:$LINENO: result: no" >&5
14213 echo "${ECHO_T}no" >&6; }
14218 if test -z "$CC"; then
14219 if test -n "$ac_tool_prefix"; then
14220 for ac_prog in cl.exe
14222 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14223 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14226 if test "${ac_cv_prog_CC+set}" = set; then
14227 echo $ECHO_N "(cached) $ECHO_C" >&6
14229 if test -n "$CC"; then
14230 ac_cv_prog_CC="$CC" # Let the user override the test.
14232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14233 for as_dir in $PATH
14236 test -z "$as_dir" && as_dir=.
14237 for ac_exec_ext in '' $ac_executable_extensions; do
14238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14239 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14250 if test -n "$CC"; then
14251 { echo "$as_me:$LINENO: result: $CC" >&5
14252 echo "${ECHO_T}$CC" >&6; }
14254 { echo "$as_me:$LINENO: result: no" >&5
14255 echo "${ECHO_T}no" >&6; }
14259 test -n "$CC" && break
14262 if test -z "$CC"; then
14264 for ac_prog in cl.exe
14266 # Extract the first word of "$ac_prog", so it can be a program name with args.
14267 set dummy $ac_prog; ac_word=$2
14268 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14270 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14271 echo $ECHO_N "(cached) $ECHO_C" >&6
14273 if test -n "$ac_ct_CC"; then
14274 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14277 for as_dir in $PATH
14280 test -z "$as_dir" && as_dir=.
14281 for ac_exec_ext in '' $ac_executable_extensions; do
14282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14283 ac_cv_prog_ac_ct_CC="$ac_prog"
14284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14293 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14294 if test -n "$ac_ct_CC"; then
14295 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14296 echo "${ECHO_T}$ac_ct_CC" >&6; }
14298 { echo "$as_me:$LINENO: result: no" >&5
14299 echo "${ECHO_T}no" >&6; }
14303 test -n "$ac_ct_CC" && break
14306 if test "x$ac_ct_CC" = x; then
14309 case $cross_compiling:$ac_tool_warned in
14311 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14312 whose name does not start with the host triplet. If you think this
14313 configuration is useful to you, please write to autoconf@gnu.org." >&5
14314 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14315 whose name does not start with the host triplet. If you think this
14316 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14317 ac_tool_warned=yes ;;
14326 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14327 See \`config.log' for more details." >&5
14328 echo "$as_me: error: no acceptable C compiler found in \$PATH
14329 See \`config.log' for more details." >&2;}
14330 { (exit 1); exit 1; }; }
14332 # Provide some information about the compiler.
14333 echo "$as_me:$LINENO: checking for C compiler version" >&5
14334 ac_compiler=`set X $ac_compile; echo $2`
14335 { (ac_try="$ac_compiler --version >&5"
14336 case "(($ac_try" in
14337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14338 *) ac_try_echo=$ac_try;;
14340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14341 (eval "$ac_compiler --version >&5") 2>&5
14343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14344 (exit $ac_status); }
14345 { (ac_try="$ac_compiler -v >&5"
14346 case "(($ac_try" in
14347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14348 *) ac_try_echo=$ac_try;;
14350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14351 (eval "$ac_compiler -v >&5") 2>&5
14353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14354 (exit $ac_status); }
14355 { (ac_try="$ac_compiler -V >&5"
14356 case "(($ac_try" in
14357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14358 *) ac_try_echo=$ac_try;;
14360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14361 (eval "$ac_compiler -V >&5") 2>&5
14363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14364 (exit $ac_status); }
14366 cat >conftest.$ac_ext <<_ACEOF
14369 cat confdefs.h >>conftest.$ac_ext
14370 cat >>conftest.$ac_ext <<_ACEOF
14371 /* end confdefs.h. */
14381 ac_clean_files_save=$ac_clean_files
14382 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14383 # Try to create an executable without -o first, disregard a.out.
14384 # It will help us diagnose broken compilers, and finding out an intuition
14386 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14387 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14388 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14390 # List of possible output files, starting from the most likely.
14391 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14392 # only as a last resort. b.out is created by i960 compilers.
14393 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14395 # The IRIX 6 linker writes into existing files which may not be
14396 # executable, retaining their permissions. Remove them first so a
14397 # subsequent execution test works.
14399 for ac_file in $ac_files
14402 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14403 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14408 if { (ac_try="$ac_link_default"
14409 case "(($ac_try" in
14410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14411 *) ac_try_echo=$ac_try;;
14413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14414 (eval "$ac_link_default") 2>&5
14416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14417 (exit $ac_status); }; then
14418 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14419 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14420 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14421 # so that the user can short-circuit this test for compilers unknown to
14423 for ac_file in $ac_files ''
14425 test -f "$ac_file" || continue
14427 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14430 # We found the default executable, but exeext='' is most
14434 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14436 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14438 # We set ac_cv_exeext here because the later test for it is not
14439 # safe: cross compilers may not add the suffix if given an `-o'
14440 # argument, so we may need to know it at that point already.
14441 # Even if this section looks crufty: it has the advantage of
14442 # actually working.
14448 test "$ac_cv_exeext" = no && ac_cv_exeext=
14454 { echo "$as_me:$LINENO: result: $ac_file" >&5
14455 echo "${ECHO_T}$ac_file" >&6; }
14456 if test -z "$ac_file"; then
14457 echo "$as_me: failed program was:" >&5
14458 sed 's/^/| /' conftest.$ac_ext >&5
14460 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14461 See \`config.log' for more details." >&5
14462 echo "$as_me: error: C compiler cannot create executables
14463 See \`config.log' for more details." >&2;}
14464 { (exit 77); exit 77; }; }
14467 ac_exeext=$ac_cv_exeext
14469 # Check that the compiler produces executables we can run. If not, either
14470 # the compiler is broken, or we cross compile.
14471 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14472 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14473 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14474 # If not cross compiling, check that we can run a simple program.
14475 if test "$cross_compiling" != yes; then
14476 if { ac_try='./$ac_file'
14477 { (case "(($ac_try" in
14478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14479 *) ac_try_echo=$ac_try;;
14481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14482 (eval "$ac_try") 2>&5
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); }; }; then
14488 if test "$cross_compiling" = maybe; then
14489 cross_compiling=yes
14491 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14492 If you meant to cross compile, use \`--host'.
14493 See \`config.log' for more details." >&5
14494 echo "$as_me: error: cannot run C compiled programs.
14495 If you meant to cross compile, use \`--host'.
14496 See \`config.log' for more details." >&2;}
14497 { (exit 1); exit 1; }; }
14501 { echo "$as_me:$LINENO: result: yes" >&5
14502 echo "${ECHO_T}yes" >&6; }
14504 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14505 ac_clean_files=$ac_clean_files_save
14506 # Check that the compiler produces executables we can run. If not, either
14507 # the compiler is broken, or we cross compile.
14508 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14509 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14510 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14511 echo "${ECHO_T}$cross_compiling" >&6; }
14513 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14514 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14515 if { (ac_try="$ac_link"
14516 case "(($ac_try" in
14517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14518 *) ac_try_echo=$ac_try;;
14520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14521 (eval "$ac_link") 2>&5
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); }; then
14525 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14526 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14527 # work properly (i.e., refer to `conftest.exe'), while it won't with
14529 for ac_file in conftest.exe conftest conftest.*; do
14530 test -f "$ac_file" || continue
14532 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14533 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14539 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14540 See \`config.log' for more details." >&5
14541 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14542 See \`config.log' for more details." >&2;}
14543 { (exit 1); exit 1; }; }
14546 rm -f conftest$ac_cv_exeext
14547 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14548 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14550 rm -f conftest.$ac_ext
14551 EXEEXT=$ac_cv_exeext
14553 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14554 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14555 if test "${ac_cv_objext+set}" = set; then
14556 echo $ECHO_N "(cached) $ECHO_C" >&6
14558 cat >conftest.$ac_ext <<_ACEOF
14561 cat confdefs.h >>conftest.$ac_ext
14562 cat >>conftest.$ac_ext <<_ACEOF
14563 /* end confdefs.h. */
14573 rm -f conftest.o conftest.obj
14574 if { (ac_try="$ac_compile"
14575 case "(($ac_try" in
14576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14577 *) ac_try_echo=$ac_try;;
14579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14580 (eval "$ac_compile") 2>&5
14582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583 (exit $ac_status); }; then
14584 for ac_file in conftest.o conftest.obj conftest.*; do
14585 test -f "$ac_file" || continue;
14587 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14588 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14593 echo "$as_me: failed program was:" >&5
14594 sed 's/^/| /' conftest.$ac_ext >&5
14596 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14597 See \`config.log' for more details." >&5
14598 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14599 See \`config.log' for more details." >&2;}
14600 { (exit 1); exit 1; }; }
14603 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14605 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14606 echo "${ECHO_T}$ac_cv_objext" >&6; }
14607 OBJEXT=$ac_cv_objext
14609 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14610 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14611 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14612 echo $ECHO_N "(cached) $ECHO_C" >&6
14614 cat >conftest.$ac_ext <<_ACEOF
14617 cat confdefs.h >>conftest.$ac_ext
14618 cat >>conftest.$ac_ext <<_ACEOF
14619 /* end confdefs.h. */
14632 rm -f conftest.$ac_objext
14633 if { (ac_try="$ac_compile"
14634 case "(($ac_try" in
14635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14636 *) ac_try_echo=$ac_try;;
14638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14639 (eval "$ac_compile") 2>conftest.er1
14641 grep -v '^ *+' conftest.er1 >conftest.err
14643 cat conftest.err >&5
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); } && {
14646 test -z "$ac_c_werror_flag" ||
14647 test ! -s conftest.err
14648 } && test -s conftest.$ac_objext; then
14649 ac_compiler_gnu=yes
14651 echo "$as_me: failed program was:" >&5
14652 sed 's/^/| /' conftest.$ac_ext >&5
14657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14658 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14661 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14662 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14663 GCC=`test $ac_compiler_gnu = yes && echo yes`
14664 ac_test_CFLAGS=${CFLAGS+set}
14665 ac_save_CFLAGS=$CFLAGS
14666 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14667 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14668 if test "${ac_cv_prog_cc_g+set}" = set; then
14669 echo $ECHO_N "(cached) $ECHO_C" >&6
14671 ac_save_c_werror_flag=$ac_c_werror_flag
14672 ac_c_werror_flag=yes
14675 cat >conftest.$ac_ext <<_ACEOF
14678 cat confdefs.h >>conftest.$ac_ext
14679 cat >>conftest.$ac_ext <<_ACEOF
14680 /* end confdefs.h. */
14690 rm -f conftest.$ac_objext
14691 if { (ac_try="$ac_compile"
14692 case "(($ac_try" in
14693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14694 *) ac_try_echo=$ac_try;;
14696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14697 (eval "$ac_compile") 2>conftest.er1
14699 grep -v '^ *+' conftest.er1 >conftest.err
14701 cat conftest.err >&5
14702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14703 (exit $ac_status); } && {
14704 test -z "$ac_c_werror_flag" ||
14705 test ! -s conftest.err
14706 } && test -s conftest.$ac_objext; then
14707 ac_cv_prog_cc_g=yes
14709 echo "$as_me: failed program was:" >&5
14710 sed 's/^/| /' conftest.$ac_ext >&5
14713 cat >conftest.$ac_ext <<_ACEOF
14716 cat confdefs.h >>conftest.$ac_ext
14717 cat >>conftest.$ac_ext <<_ACEOF
14718 /* end confdefs.h. */
14728 rm -f conftest.$ac_objext
14729 if { (ac_try="$ac_compile"
14730 case "(($ac_try" in
14731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14732 *) ac_try_echo=$ac_try;;
14734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14735 (eval "$ac_compile") 2>conftest.er1
14737 grep -v '^ *+' conftest.er1 >conftest.err
14739 cat conftest.err >&5
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); } && {
14742 test -z "$ac_c_werror_flag" ||
14743 test ! -s conftest.err
14744 } && test -s conftest.$ac_objext; then
14747 echo "$as_me: failed program was:" >&5
14748 sed 's/^/| /' conftest.$ac_ext >&5
14750 ac_c_werror_flag=$ac_save_c_werror_flag
14752 cat >conftest.$ac_ext <<_ACEOF
14755 cat confdefs.h >>conftest.$ac_ext
14756 cat >>conftest.$ac_ext <<_ACEOF
14757 /* end confdefs.h. */
14767 rm -f conftest.$ac_objext
14768 if { (ac_try="$ac_compile"
14769 case "(($ac_try" in
14770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14771 *) ac_try_echo=$ac_try;;
14773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14774 (eval "$ac_compile") 2>conftest.er1
14776 grep -v '^ *+' conftest.er1 >conftest.err
14778 cat conftest.err >&5
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); } && {
14781 test -z "$ac_c_werror_flag" ||
14782 test ! -s conftest.err
14783 } && test -s conftest.$ac_objext; then
14784 ac_cv_prog_cc_g=yes
14786 echo "$as_me: failed program was:" >&5
14787 sed 's/^/| /' conftest.$ac_ext >&5
14792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14799 ac_c_werror_flag=$ac_save_c_werror_flag
14801 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14802 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14803 if test "$ac_test_CFLAGS" = set; then
14804 CFLAGS=$ac_save_CFLAGS
14805 elif test $ac_cv_prog_cc_g = yes; then
14806 if test "$GCC" = yes; then
14812 if test "$GCC" = yes; then
14818 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14819 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14820 if test "${ac_cv_prog_cc_c89+set}" = set; then
14821 echo $ECHO_N "(cached) $ECHO_C" >&6
14823 ac_cv_prog_cc_c89=no
14825 cat >conftest.$ac_ext <<_ACEOF
14828 cat confdefs.h >>conftest.$ac_ext
14829 cat >>conftest.$ac_ext <<_ACEOF
14830 /* end confdefs.h. */
14831 #include <stdarg.h>
14833 #include <sys/types.h>
14834 #include <sys/stat.h>
14835 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14836 struct buf { int x; };
14837 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14838 static char *e (p, i)
14844 static char *f (char * (*g) (char **, int), char **p, ...)
14849 s = g (p, va_arg (v,int));
14854 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14855 function prototypes and stuff, but not '\xHH' hex character constants.
14856 These don't provoke an error unfortunately, instead are silently treated
14857 as 'x'. The following induces an error, until -std is added to get
14858 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14859 array size at least. It's necessary to write '\x00'==0 to get something
14860 that's true only with -std. */
14861 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14863 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14864 inside strings and character constants. */
14866 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14868 int test (int i, double x);
14869 struct s1 {int (*f) (int a);};
14870 struct s2 {int (*f) (double a);};
14871 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14877 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14882 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14883 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14885 CC="$ac_save_CC $ac_arg"
14886 rm -f conftest.$ac_objext
14887 if { (ac_try="$ac_compile"
14888 case "(($ac_try" in
14889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14890 *) ac_try_echo=$ac_try;;
14892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14893 (eval "$ac_compile") 2>conftest.er1
14895 grep -v '^ *+' conftest.er1 >conftest.err
14897 cat conftest.err >&5
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); } && {
14900 test -z "$ac_c_werror_flag" ||
14901 test ! -s conftest.err
14902 } && test -s conftest.$ac_objext; then
14903 ac_cv_prog_cc_c89=$ac_arg
14905 echo "$as_me: failed program was:" >&5
14906 sed 's/^/| /' conftest.$ac_ext >&5
14911 rm -f core conftest.err conftest.$ac_objext
14912 test "x$ac_cv_prog_cc_c89" != "xno" && break
14914 rm -f conftest.$ac_ext
14919 case "x$ac_cv_prog_cc_c89" in
14921 { echo "$as_me:$LINENO: result: none needed" >&5
14922 echo "${ECHO_T}none needed" >&6; } ;;
14924 { echo "$as_me:$LINENO: result: unsupported" >&5
14925 echo "${ECHO_T}unsupported" >&6; } ;;
14927 CC="$CC $ac_cv_prog_cc_c89"
14928 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14929 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14934 ac_cpp='$CPP $CPPFLAGS'
14935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14943 ac_cpp='$CPP $CPPFLAGS'
14944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14948 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14949 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14950 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14951 echo $ECHO_N "(cached) $ECHO_C" >&6
14953 cat >conftest.$ac_ext <<_ACEOF
14956 cat confdefs.h >>conftest.$ac_ext
14957 cat >>conftest.$ac_ext <<_ACEOF
14958 /* end confdefs.h. */
14964 #ifndef __INTEL_COMPILER
14972 rm -f conftest.$ac_objext
14973 if { (ac_try="$ac_compile"
14974 case "(($ac_try" in
14975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14976 *) ac_try_echo=$ac_try;;
14978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14979 (eval "$ac_compile") 2>conftest.er1
14981 grep -v '^ *+' conftest.er1 >conftest.err
14983 cat conftest.err >&5
14984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); } && {
14986 test -z "$ac_c_werror_flag" ||
14987 test ! -s conftest.err
14988 } && test -s conftest.$ac_objext; then
14989 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14991 echo "$as_me: failed program was:" >&5
14992 sed 's/^/| /' conftest.$ac_ext >&5
14994 bakefile_cv_c_compiler___INTEL_COMPILER=no
14998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15002 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15003 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15004 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15010 ac_cpp='$CPP $CPPFLAGS'
15011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15018 if test "x$GCC" != "xyes"; then
15019 if test "xCC" = "xC"; then
15020 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15021 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15022 if test "${bakefile_cv_c_exto+set}" = set; then
15023 echo $ECHO_N "(cached) $ECHO_C" >&6
15025 cat >conftest.$ac_ext <<_ACEOF
15028 cat confdefs.h >>conftest.$ac_ext
15029 cat >>conftest.$ac_ext <<_ACEOF
15030 /* end confdefs.h. */
15040 rm -f conftest.$ac_objext conftest.$ac_ext.o
15041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15042 (eval $ac_compile) 2>&5
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); }; then
15046 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15048 conftest.$ac_ext.o)
15049 bakefile_cv_c_exto="-ext o"
15056 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15057 See \`config.log' for more details." >&5
15058 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15059 See \`config.log' for more details." >&2;}
15060 { (exit 1); exit 1; }; }
15064 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15067 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15068 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15069 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15070 if test "c" = "c"; then
15071 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15073 if test "c" = "cxx"; then
15074 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15078 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15079 unset ac_cv_prog_cc_g
15080 ac_test_CFLAGS=${CFLAGS+set}
15081 ac_save_CFLAGS=$CFLAGS
15082 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15083 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15084 if test "${ac_cv_prog_cc_g+set}" = set; then
15085 echo $ECHO_N "(cached) $ECHO_C" >&6
15087 ac_save_c_werror_flag=$ac_c_werror_flag
15088 ac_c_werror_flag=yes
15091 cat >conftest.$ac_ext <<_ACEOF
15094 cat confdefs.h >>conftest.$ac_ext
15095 cat >>conftest.$ac_ext <<_ACEOF
15096 /* end confdefs.h. */
15106 rm -f conftest.$ac_objext
15107 if { (ac_try="$ac_compile"
15108 case "(($ac_try" in
15109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15110 *) ac_try_echo=$ac_try;;
15112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15113 (eval "$ac_compile") 2>conftest.er1
15115 grep -v '^ *+' conftest.er1 >conftest.err
15117 cat conftest.err >&5
15118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15119 (exit $ac_status); } && {
15120 test -z "$ac_c_werror_flag" ||
15121 test ! -s conftest.err
15122 } && test -s conftest.$ac_objext; then
15123 ac_cv_prog_cc_g=yes
15125 echo "$as_me: failed program was:" >&5
15126 sed 's/^/| /' conftest.$ac_ext >&5
15129 cat >conftest.$ac_ext <<_ACEOF
15132 cat confdefs.h >>conftest.$ac_ext
15133 cat >>conftest.$ac_ext <<_ACEOF
15134 /* end confdefs.h. */
15144 rm -f conftest.$ac_objext
15145 if { (ac_try="$ac_compile"
15146 case "(($ac_try" in
15147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15148 *) ac_try_echo=$ac_try;;
15150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15151 (eval "$ac_compile") 2>conftest.er1
15153 grep -v '^ *+' conftest.er1 >conftest.err
15155 cat conftest.err >&5
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); } && {
15158 test -z "$ac_c_werror_flag" ||
15159 test ! -s conftest.err
15160 } && test -s conftest.$ac_objext; then
15163 echo "$as_me: failed program was:" >&5
15164 sed 's/^/| /' conftest.$ac_ext >&5
15166 ac_c_werror_flag=$ac_save_c_werror_flag
15168 cat >conftest.$ac_ext <<_ACEOF
15171 cat confdefs.h >>conftest.$ac_ext
15172 cat >>conftest.$ac_ext <<_ACEOF
15173 /* end confdefs.h. */
15183 rm -f conftest.$ac_objext
15184 if { (ac_try="$ac_compile"
15185 case "(($ac_try" in
15186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15187 *) ac_try_echo=$ac_try;;
15189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15190 (eval "$ac_compile") 2>conftest.er1
15192 grep -v '^ *+' conftest.er1 >conftest.err
15194 cat conftest.err >&5
15195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15196 (exit $ac_status); } && {
15197 test -z "$ac_c_werror_flag" ||
15198 test ! -s conftest.err
15199 } && test -s conftest.$ac_objext; then
15200 ac_cv_prog_cc_g=yes
15202 echo "$as_me: failed program was:" >&5
15203 sed 's/^/| /' conftest.$ac_ext >&5
15208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15215 ac_c_werror_flag=$ac_save_c_werror_flag
15217 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15218 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15219 if test "$ac_test_CFLAGS" = set; then
15220 CFLAGS=$ac_save_CFLAGS
15221 elif test $ac_cv_prog_cc_g = yes; then
15222 if test "$GCC" = yes; then
15228 if test "$GCC" = yes; then
15242 ac_cpp='$CPP $CPPFLAGS'
15243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15247 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15248 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15249 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15250 echo $ECHO_N "(cached) $ECHO_C" >&6
15252 cat >conftest.$ac_ext <<_ACEOF
15255 cat confdefs.h >>conftest.$ac_ext
15256 cat >>conftest.$ac_ext <<_ACEOF
15257 /* end confdefs.h. */
15271 rm -f conftest.$ac_objext
15272 if { (ac_try="$ac_compile"
15273 case "(($ac_try" in
15274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15275 *) ac_try_echo=$ac_try;;
15277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15278 (eval "$ac_compile") 2>conftest.er1
15280 grep -v '^ *+' conftest.er1 >conftest.err
15282 cat conftest.err >&5
15283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15284 (exit $ac_status); } && {
15285 test -z "$ac_c_werror_flag" ||
15286 test ! -s conftest.err
15287 } && test -s conftest.$ac_objext; then
15288 bakefile_cv_c_compiler___xlC__=yes
15290 echo "$as_me: failed program was:" >&5
15291 sed 's/^/| /' conftest.$ac_ext >&5
15293 bakefile_cv_c_compiler___xlC__=no
15297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15301 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15302 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15303 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15309 ac_cpp='$CPP $CPPFLAGS'
15310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15322 ac_cpp='$CPP $CPPFLAGS'
15323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15327 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15328 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15329 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15330 echo $ECHO_N "(cached) $ECHO_C" >&6
15332 cat >conftest.$ac_ext <<_ACEOF
15335 cat confdefs.h >>conftest.$ac_ext
15336 cat >>conftest.$ac_ext <<_ACEOF
15337 /* end confdefs.h. */
15351 rm -f conftest.$ac_objext
15352 if { (ac_try="$ac_compile"
15353 case "(($ac_try" in
15354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15355 *) ac_try_echo=$ac_try;;
15357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15358 (eval "$ac_compile") 2>conftest.er1
15360 grep -v '^ *+' conftest.er1 >conftest.err
15362 cat conftest.err >&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); } && {
15365 test -z "$ac_c_werror_flag" ||
15366 test ! -s conftest.err
15367 } && test -s conftest.$ac_objext; then
15368 bakefile_cv_c_compiler___MWERKS__=yes
15370 echo "$as_me: failed program was:" >&5
15371 sed 's/^/| /' conftest.$ac_ext >&5
15373 bakefile_cv_c_compiler___MWERKS__=no
15377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15381 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15382 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15383 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15389 ac_cpp='$CPP $CPPFLAGS'
15390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15399 ac_cpp='$CPP $CPPFLAGS'
15400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15404 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15405 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15406 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15407 echo $ECHO_N "(cached) $ECHO_C" >&6
15409 cat >conftest.$ac_ext <<_ACEOF
15412 cat confdefs.h >>conftest.$ac_ext
15413 cat >>conftest.$ac_ext <<_ACEOF
15414 /* end confdefs.h. */
15428 rm -f conftest.$ac_objext
15429 if { (ac_try="$ac_compile"
15430 case "(($ac_try" in
15431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15432 *) ac_try_echo=$ac_try;;
15434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15435 (eval "$ac_compile") 2>conftest.er1
15437 grep -v '^ *+' conftest.er1 >conftest.err
15439 cat conftest.err >&5
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); } && {
15442 test -z "$ac_c_werror_flag" ||
15443 test ! -s conftest.err
15444 } && test -s conftest.$ac_objext; then
15445 bakefile_cv_c_compiler___xlC__=yes
15447 echo "$as_me: failed program was:" >&5
15448 sed 's/^/| /' conftest.$ac_ext >&5
15450 bakefile_cv_c_compiler___xlC__=no
15454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15458 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15459 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15460 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15466 ac_cpp='$CPP $CPPFLAGS'
15467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15479 ac_cpp='$CPP $CPPFLAGS'
15480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15484 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15485 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15486 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15487 echo $ECHO_N "(cached) $ECHO_C" >&6
15489 cat >conftest.$ac_ext <<_ACEOF
15492 cat confdefs.h >>conftest.$ac_ext
15493 cat >>conftest.$ac_ext <<_ACEOF
15494 /* end confdefs.h. */
15500 #ifndef _SGI_COMPILER_VERSION
15508 rm -f conftest.$ac_objext
15509 if { (ac_try="$ac_compile"
15510 case "(($ac_try" in
15511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15512 *) ac_try_echo=$ac_try;;
15514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15515 (eval "$ac_compile") 2>conftest.er1
15517 grep -v '^ *+' conftest.er1 >conftest.err
15519 cat conftest.err >&5
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); } && {
15522 test -z "$ac_c_werror_flag" ||
15523 test ! -s conftest.err
15524 } && test -s conftest.$ac_objext; then
15525 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15527 echo "$as_me: failed program was:" >&5
15528 sed 's/^/| /' conftest.$ac_ext >&5
15530 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15538 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15539 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15540 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15546 ac_cpp='$CPP $CPPFLAGS'
15547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15559 ac_cpp='$CPP $CPPFLAGS'
15560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15564 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15565 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15566 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15567 echo $ECHO_N "(cached) $ECHO_C" >&6
15569 cat >conftest.$ac_ext <<_ACEOF
15572 cat confdefs.h >>conftest.$ac_ext
15573 cat >>conftest.$ac_ext <<_ACEOF
15574 /* end confdefs.h. */
15588 rm -f conftest.$ac_objext
15589 if { (ac_try="$ac_compile"
15590 case "(($ac_try" in
15591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15592 *) ac_try_echo=$ac_try;;
15594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15595 (eval "$ac_compile") 2>conftest.er1
15597 grep -v '^ *+' conftest.er1 >conftest.err
15599 cat conftest.err >&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); } && {
15602 test -z "$ac_c_werror_flag" ||
15603 test ! -s conftest.err
15604 } && test -s conftest.$ac_objext; then
15605 bakefile_cv_c_compiler___SUNPRO_C=yes
15607 echo "$as_me: failed program was:" >&5
15608 sed 's/^/| /' conftest.$ac_ext >&5
15610 bakefile_cv_c_compiler___SUNPRO_C=no
15614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15618 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15619 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15620 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15626 ac_cpp='$CPP $CPPFLAGS'
15627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15639 ac_cpp='$CPP $CPPFLAGS'
15640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15644 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15645 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15646 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15647 echo $ECHO_N "(cached) $ECHO_C" >&6
15649 cat >conftest.$ac_ext <<_ACEOF
15652 cat confdefs.h >>conftest.$ac_ext
15653 cat >>conftest.$ac_ext <<_ACEOF
15654 /* end confdefs.h. */
15668 rm -f conftest.$ac_objext
15669 if { (ac_try="$ac_compile"
15670 case "(($ac_try" in
15671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15672 *) ac_try_echo=$ac_try;;
15674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15675 (eval "$ac_compile") 2>conftest.er1
15677 grep -v '^ *+' conftest.er1 >conftest.err
15679 cat conftest.err >&5
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); } && {
15682 test -z "$ac_c_werror_flag" ||
15683 test ! -s conftest.err
15684 } && test -s conftest.$ac_objext; then
15685 bakefile_cv_c_compiler___HP_cc=yes
15687 echo "$as_me: failed program was:" >&5
15688 sed 's/^/| /' conftest.$ac_ext >&5
15690 bakefile_cv_c_compiler___HP_cc=no
15694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15698 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15699 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15700 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15706 ac_cpp='$CPP $CPPFLAGS'
15707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15719 ac_cpp='$CPP $CPPFLAGS'
15720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15724 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15725 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15726 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15727 echo $ECHO_N "(cached) $ECHO_C" >&6
15729 cat >conftest.$ac_ext <<_ACEOF
15732 cat confdefs.h >>conftest.$ac_ext
15733 cat >>conftest.$ac_ext <<_ACEOF
15734 /* end confdefs.h. */
15748 rm -f conftest.$ac_objext
15749 if { (ac_try="$ac_compile"
15750 case "(($ac_try" in
15751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15752 *) ac_try_echo=$ac_try;;
15754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15755 (eval "$ac_compile") 2>conftest.er1
15757 grep -v '^ *+' conftest.er1 >conftest.err
15759 cat conftest.err >&5
15760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761 (exit $ac_status); } && {
15762 test -z "$ac_c_werror_flag" ||
15763 test ! -s conftest.err
15764 } && test -s conftest.$ac_objext; then
15765 bakefile_cv_c_compiler___DECC=yes
15767 echo "$as_me: failed program was:" >&5
15768 sed 's/^/| /' conftest.$ac_ext >&5
15770 bakefile_cv_c_compiler___DECC=no
15774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15778 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15779 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15780 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15786 ac_cpp='$CPP $CPPFLAGS'
15787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15799 ac_cpp='$CPP $CPPFLAGS'
15800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15804 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15805 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15806 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15807 echo $ECHO_N "(cached) $ECHO_C" >&6
15809 cat >conftest.$ac_ext <<_ACEOF
15812 cat confdefs.h >>conftest.$ac_ext
15813 cat >>conftest.$ac_ext <<_ACEOF
15814 /* end confdefs.h. */
15828 rm -f conftest.$ac_objext
15829 if { (ac_try="$ac_compile"
15830 case "(($ac_try" in
15831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15832 *) ac_try_echo=$ac_try;;
15834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15835 (eval "$ac_compile") 2>conftest.er1
15837 grep -v '^ *+' conftest.er1 >conftest.err
15839 cat conftest.err >&5
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); } && {
15842 test -z "$ac_c_werror_flag" ||
15843 test ! -s conftest.err
15844 } && test -s conftest.$ac_objext; then
15845 bakefile_cv_c_compiler___SUNPRO_C=yes
15847 echo "$as_me: failed program was:" >&5
15848 sed 's/^/| /' conftest.$ac_ext >&5
15850 bakefile_cv_c_compiler___SUNPRO_C=no
15854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15858 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15859 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15860 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15866 ac_cpp='$CPP $CPPFLAGS'
15867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15880 ac_cpp='$CPP $CPPFLAGS'
15881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15884 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15885 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15886 # On Suns, sometimes $CPP names a directory.
15887 if test -n "$CPP" && test -d "$CPP"; then
15890 if test -z "$CPP"; then
15891 if test "${ac_cv_prog_CPP+set}" = set; then
15892 echo $ECHO_N "(cached) $ECHO_C" >&6
15894 # Double quotes because CPP needs to be expanded
15895 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15897 ac_preproc_ok=false
15898 for ac_c_preproc_warn_flag in '' yes
15900 # Use a header file that comes with gcc, so configuring glibc
15901 # with a fresh cross-compiler works.
15902 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15903 # <limits.h> exists even on freestanding compilers.
15904 # On the NeXT, cc -E runs the code through the compiler's parser,
15905 # not just through cpp. "Syntax error" is here to catch this case.
15906 cat >conftest.$ac_ext <<_ACEOF
15909 cat confdefs.h >>conftest.$ac_ext
15910 cat >>conftest.$ac_ext <<_ACEOF
15911 /* end confdefs.h. */
15913 # include <limits.h>
15915 # include <assert.h>
15919 if { (ac_try="$ac_cpp conftest.$ac_ext"
15920 case "(($ac_try" in
15921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15922 *) ac_try_echo=$ac_try;;
15924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15925 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15927 grep -v '^ *+' conftest.er1 >conftest.err
15929 cat conftest.err >&5
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); } >/dev/null && {
15932 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15933 test ! -s conftest.err
15937 echo "$as_me: failed program was:" >&5
15938 sed 's/^/| /' conftest.$ac_ext >&5
15940 # Broken: fails on valid input.
15944 rm -f conftest.err conftest.$ac_ext
15946 # OK, works on sane cases. Now check whether nonexistent headers
15947 # can be detected and how.
15948 cat >conftest.$ac_ext <<_ACEOF
15951 cat confdefs.h >>conftest.$ac_ext
15952 cat >>conftest.$ac_ext <<_ACEOF
15953 /* end confdefs.h. */
15954 #include <ac_nonexistent.h>
15956 if { (ac_try="$ac_cpp conftest.$ac_ext"
15957 case "(($ac_try" in
15958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15959 *) ac_try_echo=$ac_try;;
15961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15962 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15964 grep -v '^ *+' conftest.er1 >conftest.err
15966 cat conftest.err >&5
15967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968 (exit $ac_status); } >/dev/null && {
15969 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15970 test ! -s conftest.err
15972 # Broken: success on invalid input.
15975 echo "$as_me: failed program was:" >&5
15976 sed 's/^/| /' conftest.$ac_ext >&5
15978 # Passes both tests.
15983 rm -f conftest.err conftest.$ac_ext
15986 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15987 rm -f conftest.err conftest.$ac_ext
15988 if $ac_preproc_ok; then
15993 ac_cv_prog_CPP=$CPP
15996 CPP=$ac_cv_prog_CPP
15998 ac_cv_prog_CPP=$CPP
16000 { echo "$as_me:$LINENO: result: $CPP" >&5
16001 echo "${ECHO_T}$CPP" >&6; }
16002 ac_preproc_ok=false
16003 for ac_c_preproc_warn_flag in '' yes
16005 # Use a header file that comes with gcc, so configuring glibc
16006 # with a fresh cross-compiler works.
16007 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16008 # <limits.h> exists even on freestanding compilers.
16009 # On the NeXT, cc -E runs the code through the compiler's parser,
16010 # not just through cpp. "Syntax error" is here to catch this case.
16011 cat >conftest.$ac_ext <<_ACEOF
16014 cat confdefs.h >>conftest.$ac_ext
16015 cat >>conftest.$ac_ext <<_ACEOF
16016 /* end confdefs.h. */
16018 # include <limits.h>
16020 # include <assert.h>
16024 if { (ac_try="$ac_cpp conftest.$ac_ext"
16025 case "(($ac_try" in
16026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16027 *) ac_try_echo=$ac_try;;
16029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16030 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16032 grep -v '^ *+' conftest.er1 >conftest.err
16034 cat conftest.err >&5
16035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16036 (exit $ac_status); } >/dev/null && {
16037 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16038 test ! -s conftest.err
16042 echo "$as_me: failed program was:" >&5
16043 sed 's/^/| /' conftest.$ac_ext >&5
16045 # Broken: fails on valid input.
16049 rm -f conftest.err conftest.$ac_ext
16051 # OK, works on sane cases. Now check whether nonexistent headers
16052 # can be detected and how.
16053 cat >conftest.$ac_ext <<_ACEOF
16056 cat confdefs.h >>conftest.$ac_ext
16057 cat >>conftest.$ac_ext <<_ACEOF
16058 /* end confdefs.h. */
16059 #include <ac_nonexistent.h>
16061 if { (ac_try="$ac_cpp conftest.$ac_ext"
16062 case "(($ac_try" in
16063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16064 *) ac_try_echo=$ac_try;;
16066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16067 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16069 grep -v '^ *+' conftest.er1 >conftest.err
16071 cat conftest.err >&5
16072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16073 (exit $ac_status); } >/dev/null && {
16074 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16075 test ! -s conftest.err
16077 # Broken: success on invalid input.
16080 echo "$as_me: failed program was:" >&5
16081 sed 's/^/| /' conftest.$ac_ext >&5
16083 # Passes both tests.
16088 rm -f conftest.err conftest.$ac_ext
16091 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16092 rm -f conftest.err conftest.$ac_ext
16093 if $ac_preproc_ok; then
16096 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16097 See \`config.log' for more details." >&5
16098 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16099 See \`config.log' for more details." >&2;}
16100 { (exit 1); exit 1; }; }
16104 ac_cpp='$CPP $CPPFLAGS'
16105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16110 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16111 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16112 if test "${ac_cv_path_GREP+set}" = set; then
16113 echo $ECHO_N "(cached) $ECHO_C" >&6
16115 # Extract the first word of "grep ggrep" to use in msg output
16116 if test -z "$GREP"; then
16117 set dummy grep ggrep; ac_prog_name=$2
16118 if test "${ac_cv_path_GREP+set}" = set; then
16119 echo $ECHO_N "(cached) $ECHO_C" >&6
16121 ac_path_GREP_found=false
16122 # Loop through the user's path and test for each of PROGNAME-LIST
16123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16124 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16127 test -z "$as_dir" && as_dir=.
16128 for ac_prog in grep ggrep; do
16129 for ac_exec_ext in '' $ac_executable_extensions; do
16130 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16131 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16132 # Check for GNU ac_path_GREP and select it if it is found.
16133 # Check for GNU $ac_path_GREP
16134 case `"$ac_path_GREP" --version 2>&1` in
16136 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16139 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16142 cat "conftest.in" "conftest.in" >"conftest.tmp"
16143 mv "conftest.tmp" "conftest.in"
16144 cp "conftest.in" "conftest.nl"
16145 echo 'GREP' >> "conftest.nl"
16146 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16147 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16148 ac_count=`expr $ac_count + 1`
16149 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16150 # Best one so far, save it but keep looking for a better one
16151 ac_cv_path_GREP="$ac_path_GREP"
16152 ac_path_GREP_max=$ac_count
16154 # 10*(2^10) chars as input seems more than enough
16155 test $ac_count -gt 10 && break
16157 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16161 $ac_path_GREP_found && break 3
16171 GREP="$ac_cv_path_GREP"
16172 if test -z "$GREP"; then
16173 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16174 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16175 { (exit 1); exit 1; }; }
16179 ac_cv_path_GREP=$GREP
16184 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16185 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16186 GREP="$ac_cv_path_GREP"
16189 { echo "$as_me:$LINENO: checking for egrep" >&5
16190 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16191 if test "${ac_cv_path_EGREP+set}" = set; then
16192 echo $ECHO_N "(cached) $ECHO_C" >&6
16194 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16195 then ac_cv_path_EGREP="$GREP -E"
16197 # Extract the first word of "egrep" to use in msg output
16198 if test -z "$EGREP"; then
16199 set dummy egrep; ac_prog_name=$2
16200 if test "${ac_cv_path_EGREP+set}" = set; then
16201 echo $ECHO_N "(cached) $ECHO_C" >&6
16203 ac_path_EGREP_found=false
16204 # Loop through the user's path and test for each of PROGNAME-LIST
16205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16206 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16209 test -z "$as_dir" && as_dir=.
16210 for ac_prog in egrep; do
16211 for ac_exec_ext in '' $ac_executable_extensions; do
16212 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16213 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16214 # Check for GNU ac_path_EGREP and select it if it is found.
16215 # Check for GNU $ac_path_EGREP
16216 case `"$ac_path_EGREP" --version 2>&1` in
16218 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16221 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16224 cat "conftest.in" "conftest.in" >"conftest.tmp"
16225 mv "conftest.tmp" "conftest.in"
16226 cp "conftest.in" "conftest.nl"
16227 echo 'EGREP' >> "conftest.nl"
16228 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16229 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16230 ac_count=`expr $ac_count + 1`
16231 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16232 # Best one so far, save it but keep looking for a better one
16233 ac_cv_path_EGREP="$ac_path_EGREP"
16234 ac_path_EGREP_max=$ac_count
16236 # 10*(2^10) chars as input seems more than enough
16237 test $ac_count -gt 10 && break
16239 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16243 $ac_path_EGREP_found && break 3
16253 EGREP="$ac_cv_path_EGREP"
16254 if test -z "$EGREP"; then
16255 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16256 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16257 { (exit 1); exit 1; }; }
16261 ac_cv_path_EGREP=$EGREP
16267 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16268 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16269 EGREP="$ac_cv_path_EGREP"
16272 if test $ac_cv_c_compiler_gnu = yes; then
16273 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16274 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16275 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16276 echo $ECHO_N "(cached) $ECHO_C" >&6
16278 ac_pattern="Autoconf.*'x'"
16279 cat >conftest.$ac_ext <<_ACEOF
16282 cat confdefs.h >>conftest.$ac_ext
16283 cat >>conftest.$ac_ext <<_ACEOF
16284 /* end confdefs.h. */
16288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16289 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16290 ac_cv_prog_gcc_traditional=yes
16292 ac_cv_prog_gcc_traditional=no
16297 if test $ac_cv_prog_gcc_traditional = no; then
16298 cat >conftest.$ac_ext <<_ACEOF
16301 cat confdefs.h >>conftest.$ac_ext
16302 cat >>conftest.$ac_ext <<_ACEOF
16303 /* end confdefs.h. */
16304 #include <termio.h>
16307 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16308 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16309 ac_cv_prog_gcc_traditional=yes
16315 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16316 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16317 if test $ac_cv_prog_gcc_traditional = yes; then
16318 CC="$CC -traditional"
16323 CXXFLAGS=${CXXFLAGS:=}
16328 ac_cpp='$CXXCPP $CPPFLAGS'
16329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16332 if test -z "$CXX"; then
16333 if test -n "$CCC"; then
16336 if test -n "$ac_tool_prefix"; then
16337 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16339 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16340 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16343 if test "${ac_cv_prog_CXX+set}" = set; then
16344 echo $ECHO_N "(cached) $ECHO_C" >&6
16346 if test -n "$CXX"; then
16347 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16350 for as_dir in $PATH
16353 test -z "$as_dir" && as_dir=.
16354 for ac_exec_ext in '' $ac_executable_extensions; do
16355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16356 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16366 CXX=$ac_cv_prog_CXX
16367 if test -n "$CXX"; then
16368 { echo "$as_me:$LINENO: result: $CXX" >&5
16369 echo "${ECHO_T}$CXX" >&6; }
16371 { echo "$as_me:$LINENO: result: no" >&5
16372 echo "${ECHO_T}no" >&6; }
16376 test -n "$CXX" && break
16379 if test -z "$CXX"; then
16381 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16383 # Extract the first word of "$ac_prog", so it can be a program name with args.
16384 set dummy $ac_prog; ac_word=$2
16385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16387 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16388 echo $ECHO_N "(cached) $ECHO_C" >&6
16390 if test -n "$ac_ct_CXX"; then
16391 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16394 for as_dir in $PATH
16397 test -z "$as_dir" && as_dir=.
16398 for ac_exec_ext in '' $ac_executable_extensions; do
16399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16400 ac_cv_prog_ac_ct_CXX="$ac_prog"
16401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16410 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16411 if test -n "$ac_ct_CXX"; then
16412 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16413 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16415 { echo "$as_me:$LINENO: result: no" >&5
16416 echo "${ECHO_T}no" >&6; }
16420 test -n "$ac_ct_CXX" && break
16423 if test "x$ac_ct_CXX" = x; then
16426 case $cross_compiling:$ac_tool_warned in
16428 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16429 whose name does not start with the host triplet. If you think this
16430 configuration is useful to you, please write to autoconf@gnu.org." >&5
16431 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16432 whose name does not start with the host triplet. If you think this
16433 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16434 ac_tool_warned=yes ;;
16442 # Provide some information about the compiler.
16443 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16444 ac_compiler=`set X $ac_compile; echo $2`
16445 { (ac_try="$ac_compiler --version >&5"
16446 case "(($ac_try" in
16447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16448 *) ac_try_echo=$ac_try;;
16450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16451 (eval "$ac_compiler --version >&5") 2>&5
16453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16454 (exit $ac_status); }
16455 { (ac_try="$ac_compiler -v >&5"
16456 case "(($ac_try" in
16457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16458 *) ac_try_echo=$ac_try;;
16460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16461 (eval "$ac_compiler -v >&5") 2>&5
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); }
16465 { (ac_try="$ac_compiler -V >&5"
16466 case "(($ac_try" in
16467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16468 *) ac_try_echo=$ac_try;;
16470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16471 (eval "$ac_compiler -V >&5") 2>&5
16473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474 (exit $ac_status); }
16476 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16477 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16478 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16479 echo $ECHO_N "(cached) $ECHO_C" >&6
16481 cat >conftest.$ac_ext <<_ACEOF
16484 cat confdefs.h >>conftest.$ac_ext
16485 cat >>conftest.$ac_ext <<_ACEOF
16486 /* end confdefs.h. */
16499 rm -f conftest.$ac_objext
16500 if { (ac_try="$ac_compile"
16501 case "(($ac_try" in
16502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16503 *) ac_try_echo=$ac_try;;
16505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16506 (eval "$ac_compile") 2>conftest.er1
16508 grep -v '^ *+' conftest.er1 >conftest.err
16510 cat conftest.err >&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); } && {
16513 test -z "$ac_cxx_werror_flag" ||
16514 test ! -s conftest.err
16515 } && test -s conftest.$ac_objext; then
16516 ac_compiler_gnu=yes
16518 echo "$as_me: failed program was:" >&5
16519 sed 's/^/| /' conftest.$ac_ext >&5
16524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16525 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16528 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16529 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16530 GXX=`test $ac_compiler_gnu = yes && echo yes`
16531 ac_test_CXXFLAGS=${CXXFLAGS+set}
16532 ac_save_CXXFLAGS=$CXXFLAGS
16533 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16534 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16535 if test "${ac_cv_prog_cxx_g+set}" = set; then
16536 echo $ECHO_N "(cached) $ECHO_C" >&6
16538 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16539 ac_cxx_werror_flag=yes
16540 ac_cv_prog_cxx_g=no
16542 cat >conftest.$ac_ext <<_ACEOF
16545 cat confdefs.h >>conftest.$ac_ext
16546 cat >>conftest.$ac_ext <<_ACEOF
16547 /* end confdefs.h. */
16557 rm -f conftest.$ac_objext
16558 if { (ac_try="$ac_compile"
16559 case "(($ac_try" in
16560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16561 *) ac_try_echo=$ac_try;;
16563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16564 (eval "$ac_compile") 2>conftest.er1
16566 grep -v '^ *+' conftest.er1 >conftest.err
16568 cat conftest.err >&5
16569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570 (exit $ac_status); } && {
16571 test -z "$ac_cxx_werror_flag" ||
16572 test ! -s conftest.err
16573 } && test -s conftest.$ac_objext; then
16574 ac_cv_prog_cxx_g=yes
16576 echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.$ac_ext >&5
16580 cat >conftest.$ac_ext <<_ACEOF
16583 cat confdefs.h >>conftest.$ac_ext
16584 cat >>conftest.$ac_ext <<_ACEOF
16585 /* end confdefs.h. */
16595 rm -f conftest.$ac_objext
16596 if { (ac_try="$ac_compile"
16597 case "(($ac_try" in
16598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16599 *) ac_try_echo=$ac_try;;
16601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16602 (eval "$ac_compile") 2>conftest.er1
16604 grep -v '^ *+' conftest.er1 >conftest.err
16606 cat conftest.err >&5
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); } && {
16609 test -z "$ac_cxx_werror_flag" ||
16610 test ! -s conftest.err
16611 } && test -s conftest.$ac_objext; then
16614 echo "$as_me: failed program was:" >&5
16615 sed 's/^/| /' conftest.$ac_ext >&5
16617 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16619 cat >conftest.$ac_ext <<_ACEOF
16622 cat confdefs.h >>conftest.$ac_ext
16623 cat >>conftest.$ac_ext <<_ACEOF
16624 /* end confdefs.h. */
16634 rm -f conftest.$ac_objext
16635 if { (ac_try="$ac_compile"
16636 case "(($ac_try" in
16637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16638 *) ac_try_echo=$ac_try;;
16640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16641 (eval "$ac_compile") 2>conftest.er1
16643 grep -v '^ *+' conftest.er1 >conftest.err
16645 cat conftest.err >&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); } && {
16648 test -z "$ac_cxx_werror_flag" ||
16649 test ! -s conftest.err
16650 } && test -s conftest.$ac_objext; then
16651 ac_cv_prog_cxx_g=yes
16653 echo "$as_me: failed program was:" >&5
16654 sed 's/^/| /' conftest.$ac_ext >&5
16659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16666 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16668 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16669 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16670 if test "$ac_test_CXXFLAGS" = set; then
16671 CXXFLAGS=$ac_save_CXXFLAGS
16672 elif test $ac_cv_prog_cxx_g = yes; then
16673 if test "$GXX" = yes; then
16679 if test "$GXX" = yes; then
16686 ac_cpp='$CPP $CPPFLAGS'
16687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16695 ac_cpp='$CXXCPP $CPPFLAGS'
16696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16700 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16701 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16702 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16703 echo $ECHO_N "(cached) $ECHO_C" >&6
16705 cat >conftest.$ac_ext <<_ACEOF
16708 cat confdefs.h >>conftest.$ac_ext
16709 cat >>conftest.$ac_ext <<_ACEOF
16710 /* end confdefs.h. */
16716 #ifndef __INTEL_COMPILER
16724 rm -f conftest.$ac_objext
16725 if { (ac_try="$ac_compile"
16726 case "(($ac_try" in
16727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16728 *) ac_try_echo=$ac_try;;
16730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16731 (eval "$ac_compile") 2>conftest.er1
16733 grep -v '^ *+' conftest.er1 >conftest.err
16735 cat conftest.err >&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); } && {
16738 test -z "$ac_cxx_werror_flag" ||
16739 test ! -s conftest.err
16740 } && test -s conftest.$ac_objext; then
16741 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16743 echo "$as_me: failed program was:" >&5
16744 sed 's/^/| /' conftest.$ac_ext >&5
16746 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16754 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16755 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16756 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16762 ac_cpp='$CPP $CPPFLAGS'
16763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16770 if test "x$GCXX" != "xyes"; then
16771 if test "xCXX" = "xC"; then
16772 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16773 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16774 if test "${bakefile_cv_c_exto+set}" = set; then
16775 echo $ECHO_N "(cached) $ECHO_C" >&6
16777 cat >conftest.$ac_ext <<_ACEOF
16780 cat confdefs.h >>conftest.$ac_ext
16781 cat >>conftest.$ac_ext <<_ACEOF
16782 /* end confdefs.h. */
16792 rm -f conftest.$ac_objext conftest.$ac_ext.o
16793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16794 (eval $ac_compile) 2>&5
16796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16797 (exit $ac_status); }; then
16798 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16800 conftest.$ac_ext.o)
16801 bakefile_cv_c_exto="-ext o"
16808 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16809 See \`config.log' for more details." >&5
16810 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16811 See \`config.log' for more details." >&2;}
16812 { (exit 1); exit 1; }; }
16816 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16819 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16820 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16821 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16822 if test "c" = "c"; then
16823 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16825 if test "c" = "cxx"; then
16826 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16830 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16831 unset ac_cv_prog_cc_g
16832 ac_test_CFLAGS=${CFLAGS+set}
16833 ac_save_CFLAGS=$CFLAGS
16834 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16835 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16836 if test "${ac_cv_prog_cc_g+set}" = set; then
16837 echo $ECHO_N "(cached) $ECHO_C" >&6
16839 ac_save_c_werror_flag=$ac_c_werror_flag
16840 ac_c_werror_flag=yes
16843 cat >conftest.$ac_ext <<_ACEOF
16846 cat confdefs.h >>conftest.$ac_ext
16847 cat >>conftest.$ac_ext <<_ACEOF
16848 /* end confdefs.h. */
16858 rm -f conftest.$ac_objext
16859 if { (ac_try="$ac_compile"
16860 case "(($ac_try" in
16861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16862 *) ac_try_echo=$ac_try;;
16864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16865 (eval "$ac_compile") 2>conftest.er1
16867 grep -v '^ *+' conftest.er1 >conftest.err
16869 cat conftest.err >&5
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); } && {
16872 test -z "$ac_c_werror_flag" ||
16873 test ! -s conftest.err
16874 } && test -s conftest.$ac_objext; then
16875 ac_cv_prog_cc_g=yes
16877 echo "$as_me: failed program was:" >&5
16878 sed 's/^/| /' conftest.$ac_ext >&5
16881 cat >conftest.$ac_ext <<_ACEOF
16884 cat confdefs.h >>conftest.$ac_ext
16885 cat >>conftest.$ac_ext <<_ACEOF
16886 /* end confdefs.h. */
16896 rm -f conftest.$ac_objext
16897 if { (ac_try="$ac_compile"
16898 case "(($ac_try" in
16899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16900 *) ac_try_echo=$ac_try;;
16902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16903 (eval "$ac_compile") 2>conftest.er1
16905 grep -v '^ *+' conftest.er1 >conftest.err
16907 cat conftest.err >&5
16908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16909 (exit $ac_status); } && {
16910 test -z "$ac_c_werror_flag" ||
16911 test ! -s conftest.err
16912 } && test -s conftest.$ac_objext; then
16915 echo "$as_me: failed program was:" >&5
16916 sed 's/^/| /' conftest.$ac_ext >&5
16918 ac_c_werror_flag=$ac_save_c_werror_flag
16920 cat >conftest.$ac_ext <<_ACEOF
16923 cat confdefs.h >>conftest.$ac_ext
16924 cat >>conftest.$ac_ext <<_ACEOF
16925 /* end confdefs.h. */
16935 rm -f conftest.$ac_objext
16936 if { (ac_try="$ac_compile"
16937 case "(($ac_try" in
16938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16939 *) ac_try_echo=$ac_try;;
16941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16942 (eval "$ac_compile") 2>conftest.er1
16944 grep -v '^ *+' conftest.er1 >conftest.err
16946 cat conftest.err >&5
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); } && {
16949 test -z "$ac_c_werror_flag" ||
16950 test ! -s conftest.err
16951 } && test -s conftest.$ac_objext; then
16952 ac_cv_prog_cc_g=yes
16954 echo "$as_me: failed program was:" >&5
16955 sed 's/^/| /' conftest.$ac_ext >&5
16960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16967 ac_c_werror_flag=$ac_save_c_werror_flag
16969 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16970 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16971 if test "$ac_test_CFLAGS" = set; then
16972 CFLAGS=$ac_save_CFLAGS
16973 elif test $ac_cv_prog_cc_g = yes; then
16974 if test "$GCC" = yes; then
16980 if test "$GCC" = yes; then
16994 ac_cpp='$CXXCPP $CPPFLAGS'
16995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16999 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17000 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17001 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17002 echo $ECHO_N "(cached) $ECHO_C" >&6
17004 cat >conftest.$ac_ext <<_ACEOF
17007 cat confdefs.h >>conftest.$ac_ext
17008 cat >>conftest.$ac_ext <<_ACEOF
17009 /* end confdefs.h. */
17023 rm -f conftest.$ac_objext
17024 if { (ac_try="$ac_compile"
17025 case "(($ac_try" in
17026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17027 *) ac_try_echo=$ac_try;;
17029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17030 (eval "$ac_compile") 2>conftest.er1
17032 grep -v '^ *+' conftest.er1 >conftest.err
17034 cat conftest.err >&5
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); } && {
17037 test -z "$ac_cxx_werror_flag" ||
17038 test ! -s conftest.err
17039 } && test -s conftest.$ac_objext; then
17040 bakefile_cv_cxx_compiler___xlC__=yes
17042 echo "$as_me: failed program was:" >&5
17043 sed 's/^/| /' conftest.$ac_ext >&5
17045 bakefile_cv_cxx_compiler___xlC__=no
17049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17053 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17054 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17055 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17061 ac_cpp='$CPP $CPPFLAGS'
17062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17074 ac_cpp='$CXXCPP $CPPFLAGS'
17075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17079 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17080 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17081 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17082 echo $ECHO_N "(cached) $ECHO_C" >&6
17084 cat >conftest.$ac_ext <<_ACEOF
17087 cat confdefs.h >>conftest.$ac_ext
17088 cat >>conftest.$ac_ext <<_ACEOF
17089 /* end confdefs.h. */
17103 rm -f conftest.$ac_objext
17104 if { (ac_try="$ac_compile"
17105 case "(($ac_try" in
17106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17107 *) ac_try_echo=$ac_try;;
17109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17110 (eval "$ac_compile") 2>conftest.er1
17112 grep -v '^ *+' conftest.er1 >conftest.err
17114 cat conftest.err >&5
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); } && {
17117 test -z "$ac_cxx_werror_flag" ||
17118 test ! -s conftest.err
17119 } && test -s conftest.$ac_objext; then
17120 bakefile_cv_cxx_compiler___MWERKS__=yes
17122 echo "$as_me: failed program was:" >&5
17123 sed 's/^/| /' conftest.$ac_ext >&5
17125 bakefile_cv_cxx_compiler___MWERKS__=no
17129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17133 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17134 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17135 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17141 ac_cpp='$CPP $CPPFLAGS'
17142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17151 ac_cpp='$CXXCPP $CPPFLAGS'
17152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17156 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17157 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17158 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17159 echo $ECHO_N "(cached) $ECHO_C" >&6
17161 cat >conftest.$ac_ext <<_ACEOF
17164 cat confdefs.h >>conftest.$ac_ext
17165 cat >>conftest.$ac_ext <<_ACEOF
17166 /* end confdefs.h. */
17180 rm -f conftest.$ac_objext
17181 if { (ac_try="$ac_compile"
17182 case "(($ac_try" in
17183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17184 *) ac_try_echo=$ac_try;;
17186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17187 (eval "$ac_compile") 2>conftest.er1
17189 grep -v '^ *+' conftest.er1 >conftest.err
17191 cat conftest.err >&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } && {
17194 test -z "$ac_cxx_werror_flag" ||
17195 test ! -s conftest.err
17196 } && test -s conftest.$ac_objext; then
17197 bakefile_cv_cxx_compiler___xlC__=yes
17199 echo "$as_me: failed program was:" >&5
17200 sed 's/^/| /' conftest.$ac_ext >&5
17202 bakefile_cv_cxx_compiler___xlC__=no
17206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17210 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17211 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17212 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17218 ac_cpp='$CPP $CPPFLAGS'
17219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17231 ac_cpp='$CXXCPP $CPPFLAGS'
17232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17236 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17237 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17238 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17239 echo $ECHO_N "(cached) $ECHO_C" >&6
17241 cat >conftest.$ac_ext <<_ACEOF
17244 cat confdefs.h >>conftest.$ac_ext
17245 cat >>conftest.$ac_ext <<_ACEOF
17246 /* end confdefs.h. */
17252 #ifndef _SGI_COMPILER_VERSION
17260 rm -f conftest.$ac_objext
17261 if { (ac_try="$ac_compile"
17262 case "(($ac_try" in
17263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17264 *) ac_try_echo=$ac_try;;
17266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17267 (eval "$ac_compile") 2>conftest.er1
17269 grep -v '^ *+' conftest.er1 >conftest.err
17271 cat conftest.err >&5
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); } && {
17274 test -z "$ac_cxx_werror_flag" ||
17275 test ! -s conftest.err
17276 } && test -s conftest.$ac_objext; then
17277 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17279 echo "$as_me: failed program was:" >&5
17280 sed 's/^/| /' conftest.$ac_ext >&5
17282 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17290 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17291 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17292 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17298 ac_cpp='$CPP $CPPFLAGS'
17299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17311 ac_cpp='$CXXCPP $CPPFLAGS'
17312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17316 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17317 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17318 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17319 echo $ECHO_N "(cached) $ECHO_C" >&6
17321 cat >conftest.$ac_ext <<_ACEOF
17324 cat confdefs.h >>conftest.$ac_ext
17325 cat >>conftest.$ac_ext <<_ACEOF
17326 /* end confdefs.h. */
17332 #ifndef __SUNPRO_CC
17340 rm -f conftest.$ac_objext
17341 if { (ac_try="$ac_compile"
17342 case "(($ac_try" in
17343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17344 *) ac_try_echo=$ac_try;;
17346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17347 (eval "$ac_compile") 2>conftest.er1
17349 grep -v '^ *+' conftest.er1 >conftest.err
17351 cat conftest.err >&5
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); } && {
17354 test -z "$ac_cxx_werror_flag" ||
17355 test ! -s conftest.err
17356 } && test -s conftest.$ac_objext; then
17357 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17359 echo "$as_me: failed program was:" >&5
17360 sed 's/^/| /' conftest.$ac_ext >&5
17362 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17370 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17371 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17372 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17378 ac_cpp='$CPP $CPPFLAGS'
17379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17391 ac_cpp='$CXXCPP $CPPFLAGS'
17392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17396 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17397 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17398 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17399 echo $ECHO_N "(cached) $ECHO_C" >&6
17401 cat >conftest.$ac_ext <<_ACEOF
17404 cat confdefs.h >>conftest.$ac_ext
17405 cat >>conftest.$ac_ext <<_ACEOF
17406 /* end confdefs.h. */
17420 rm -f conftest.$ac_objext
17421 if { (ac_try="$ac_compile"
17422 case "(($ac_try" in
17423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17424 *) ac_try_echo=$ac_try;;
17426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17427 (eval "$ac_compile") 2>conftest.er1
17429 grep -v '^ *+' conftest.er1 >conftest.err
17431 cat conftest.err >&5
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); } && {
17434 test -z "$ac_cxx_werror_flag" ||
17435 test ! -s conftest.err
17436 } && test -s conftest.$ac_objext; then
17437 bakefile_cv_cxx_compiler___HP_aCC=yes
17439 echo "$as_me: failed program was:" >&5
17440 sed 's/^/| /' conftest.$ac_ext >&5
17442 bakefile_cv_cxx_compiler___HP_aCC=no
17446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17450 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17451 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17452 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17458 ac_cpp='$CPP $CPPFLAGS'
17459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17471 ac_cpp='$CXXCPP $CPPFLAGS'
17472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17476 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17477 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17478 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17479 echo $ECHO_N "(cached) $ECHO_C" >&6
17481 cat >conftest.$ac_ext <<_ACEOF
17484 cat confdefs.h >>conftest.$ac_ext
17485 cat >>conftest.$ac_ext <<_ACEOF
17486 /* end confdefs.h. */
17500 rm -f conftest.$ac_objext
17501 if { (ac_try="$ac_compile"
17502 case "(($ac_try" in
17503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17504 *) ac_try_echo=$ac_try;;
17506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17507 (eval "$ac_compile") 2>conftest.er1
17509 grep -v '^ *+' conftest.er1 >conftest.err
17511 cat conftest.err >&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); } && {
17514 test -z "$ac_cxx_werror_flag" ||
17515 test ! -s conftest.err
17516 } && test -s conftest.$ac_objext; then
17517 bakefile_cv_cxx_compiler___DECCXX=yes
17519 echo "$as_me: failed program was:" >&5
17520 sed 's/^/| /' conftest.$ac_ext >&5
17522 bakefile_cv_cxx_compiler___DECCXX=no
17526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17530 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17531 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17532 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17538 ac_cpp='$CPP $CPPFLAGS'
17539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17551 ac_cpp='$CXXCPP $CPPFLAGS'
17552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17556 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17557 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17558 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17559 echo $ECHO_N "(cached) $ECHO_C" >&6
17561 cat >conftest.$ac_ext <<_ACEOF
17564 cat confdefs.h >>conftest.$ac_ext
17565 cat >>conftest.$ac_ext <<_ACEOF
17566 /* end confdefs.h. */
17572 #ifndef __SUNPRO_CC
17580 rm -f conftest.$ac_objext
17581 if { (ac_try="$ac_compile"
17582 case "(($ac_try" in
17583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17584 *) ac_try_echo=$ac_try;;
17586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17587 (eval "$ac_compile") 2>conftest.er1
17589 grep -v '^ *+' conftest.er1 >conftest.err
17591 cat conftest.err >&5
17592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17593 (exit $ac_status); } && {
17594 test -z "$ac_cxx_werror_flag" ||
17595 test ! -s conftest.err
17596 } && test -s conftest.$ac_objext; then
17597 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17599 echo "$as_me: failed program was:" >&5
17600 sed 's/^/| /' conftest.$ac_ext >&5
17602 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17610 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17611 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17612 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17618 ac_cpp='$CPP $CPPFLAGS'
17619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17631 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17632 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17633 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17634 { (exit 1); exit 1; }; }
17637 if test "x$SUNCXX" != xyes; then
17638 if test -n "$ac_tool_prefix"; then
17639 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17640 set dummy ${ac_tool_prefix}ar; ac_word=$2
17641 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17643 if test "${ac_cv_prog_AR+set}" = set; then
17644 echo $ECHO_N "(cached) $ECHO_C" >&6
17646 if test -n "$AR"; then
17647 ac_cv_prog_AR="$AR" # Let the user override the test.
17649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17650 for as_dir in $PATH
17653 test -z "$as_dir" && as_dir=.
17654 for ac_exec_ext in '' $ac_executable_extensions; do
17655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17656 ac_cv_prog_AR="${ac_tool_prefix}ar"
17657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17667 if test -n "$AR"; then
17668 { echo "$as_me:$LINENO: result: $AR" >&5
17669 echo "${ECHO_T}$AR" >&6; }
17671 { echo "$as_me:$LINENO: result: no" >&5
17672 echo "${ECHO_T}no" >&6; }
17677 if test -z "$ac_cv_prog_AR"; then
17679 # Extract the first word of "ar", so it can be a program name with args.
17680 set dummy ar; ac_word=$2
17681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17683 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17684 echo $ECHO_N "(cached) $ECHO_C" >&6
17686 if test -n "$ac_ct_AR"; then
17687 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17690 for as_dir in $PATH
17693 test -z "$as_dir" && as_dir=.
17694 for ac_exec_ext in '' $ac_executable_extensions; do
17695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17696 ac_cv_prog_ac_ct_AR="ar"
17697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17706 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17707 if test -n "$ac_ct_AR"; then
17708 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17709 echo "${ECHO_T}$ac_ct_AR" >&6; }
17711 { echo "$as_me:$LINENO: result: no" >&5
17712 echo "${ECHO_T}no" >&6; }
17715 if test "x$ac_ct_AR" = x; then
17718 case $cross_compiling:$ac_tool_warned in
17720 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17721 whose name does not start with the host triplet. If you think this
17722 configuration is useful to you, please write to autoconf@gnu.org." >&5
17723 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17724 whose name does not start with the host triplet. If you think this
17725 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17726 ac_tool_warned=yes ;;
17731 AR="$ac_cv_prog_AR"
17734 if test "x$AR" = "x" ; then
17735 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17736 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17737 { (exit 1); exit 1; }; }
17741 retest_macosx_linking=no
17743 #if test "$wxUSE_MAC" = 1; then
17744 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17745 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17746 # Implicitly turn on the new --with-macosx-sdk using the default
17747 # SDK which provides the behavior this option has always had.
17748 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17749 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17750 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17751 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17752 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17753 wxUSE_MACOSX_SDK=yes
17756 # Complain to user if he specified an argument to --enable-universal_binary
17757 # and also 1) specified --with-macosx-sdk using the default (yes) or
17758 # 2) specified --with-macosx-sdk using a path or 3) specified
17759 # --without-macosx-sdk (no).
17760 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17761 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17762 See \`config.log' for more details." >&5
17763 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17764 See \`config.log' for more details." >&2;}
17765 { (exit 1); exit 1; }; }
17767 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17768 # special-case the empty string because the below test simply
17769 # converts "no" to the empty string anyway.
17770 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17771 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17772 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17775 OSX_UNIV_OPTS="-arch ppc -arch i386"
17776 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17777 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17778 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
17779 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
17780 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17781 retest_macosx_linking=yes
17783 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17784 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17789 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17791 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17792 # TODO: Search for most recent SDK and use it.
17793 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17797 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17798 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17799 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17800 if ! test -d "$wxUSE_MACOSX_SDK"; then
17801 { { echo "$as_me:$LINENO: error: not found
17802 See \`config.log' for more details." >&5
17803 echo "$as_me: error: not found
17804 See \`config.log' for more details." >&2;}
17805 { (exit 1); exit 1; }; }
17807 { echo "$as_me:$LINENO: result: exists" >&5
17808 echo "${ECHO_T}exists" >&6; }
17810 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17811 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17812 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17813 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17814 retest_macosx_linking=yes
17817 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17818 wxUSE_MACOSX_VERSION_MIN=
17819 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17820 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17821 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17822 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17824 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/'`
17826 # If that failed, try again with the new key
17827 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17829 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/'`
17833 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17834 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17835 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17836 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17838 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17839 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17840 wxUSE_MACOSX_VERSION_MIN=
17843 wxUSE_MACOSX_VERSION_MIN=
17845 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
17846 if test "$wxUSE_MAC" = 1; then
17847 # otherwise configure stops on leopard for universal_binary
17848 wxUSE_MACOSX_VERSION_MIN=10.4
17852 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17853 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17854 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17855 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17856 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17857 retest_macosx_linking=yes
17860 if test "x$retest_macosx_linking" = "xyes"; then
17862 ac_cpp='$CPP $CPPFLAGS'
17863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17867 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17868 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17869 cat >conftest.$ac_ext <<_ACEOF
17872 cat confdefs.h >>conftest.$ac_ext
17873 cat >>conftest.$ac_ext <<_ACEOF
17874 /* end confdefs.h. */
17884 rm -f conftest.$ac_objext conftest$ac_exeext
17885 if { (ac_try="$ac_link"
17886 case "(($ac_try" in
17887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17888 *) ac_try_echo=$ac_try;;
17890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17891 (eval "$ac_link") 2>conftest.er1
17893 grep -v '^ *+' conftest.er1 >conftest.err
17895 cat conftest.err >&5
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); } && {
17898 test -z "$ac_c_werror_flag" ||
17899 test ! -s conftest.err
17900 } && test -s conftest$ac_exeext &&
17901 $as_test_x conftest$ac_exeext; 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: error: no. Try a different SDK
17909 See \`config.log' for more details." >&5
17910 echo "$as_me: error: no. Try a different SDK
17911 See \`config.log' for more details." >&2;}
17912 { (exit 1); exit 1; }; }; exit 1
17915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17916 conftest$ac_exeext conftest.$ac_ext
17918 ac_cpp='$CPP $CPPFLAGS'
17919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17925 ac_cpp='$CXXCPP $CPPFLAGS'
17926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17930 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17931 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17932 cat >conftest.$ac_ext <<_ACEOF
17935 cat confdefs.h >>conftest.$ac_ext
17936 cat >>conftest.$ac_ext <<_ACEOF
17937 /* end confdefs.h. */
17947 rm -f conftest.$ac_objext conftest$ac_exeext
17948 if { (ac_try="$ac_link"
17949 case "(($ac_try" in
17950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17951 *) ac_try_echo=$ac_try;;
17953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17954 (eval "$ac_link") 2>conftest.er1
17956 grep -v '^ *+' conftest.er1 >conftest.err
17958 cat conftest.err >&5
17959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960 (exit $ac_status); } && {
17961 test -z "$ac_cxx_werror_flag" ||
17962 test ! -s conftest.err
17963 } && test -s conftest$ac_exeext &&
17964 $as_test_x conftest$ac_exeext; then
17965 { echo "$as_me:$LINENO: result: yes" >&5
17966 echo "${ECHO_T}yes" >&6; }
17968 echo "$as_me: failed program was:" >&5
17969 sed 's/^/| /' conftest.$ac_ext >&5
17971 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17972 See \`config.log' for more details." >&5
17973 echo "$as_me: error: no. Try a different SDK
17974 See \`config.log' for more details." >&2;}
17975 { (exit 1); exit 1; }; }; exit 1
17978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17979 conftest$ac_exeext conftest.$ac_ext
17981 ac_cpp='$CPP $CPPFLAGS'
17982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17992 INSTALL_PROGRAM="cp -fp"
17993 INSTALL_DATA="cp -fp"
18000 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18001 CXXFLAGS="-qunique $CXXFLAGS"
18005 powerpc-*-darwin* )
18006 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18007 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18008 cat >conftest.$ac_ext <<_ACEOF
18011 cat confdefs.h >>conftest.$ac_ext
18012 cat >>conftest.$ac_ext <<_ACEOF
18013 /* end confdefs.h. */
18018 #ifndef __POWERPC__
18019 choke me for lack of PowerPC
18026 rm -f conftest.$ac_objext
18027 if { (ac_try="$ac_compile"
18028 case "(($ac_try" in
18029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18030 *) ac_try_echo=$ac_try;;
18032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18033 (eval "$ac_compile") 2>conftest.er1
18035 grep -v '^ *+' conftest.er1 >conftest.err
18037 cat conftest.err >&5
18038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039 (exit $ac_status); } && {
18040 test -z "$ac_c_werror_flag" ||
18041 test ! -s conftest.err
18042 } && test -s conftest.$ac_objext; then
18043 { echo "$as_me:$LINENO: result: yes" >&5
18044 echo "${ECHO_T}yes" >&6; }
18046 echo "$as_me: failed program was:" >&5
18047 sed 's/^/| /' conftest.$ac_ext >&5
18049 { echo "$as_me:$LINENO: result: no" >&5
18050 echo "${ECHO_T}no" >&6; }
18051 cat >>confdefs.h <<\_ACEOF
18052 #define __POWERPC__ 1
18058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18064 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18065 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18066 cat >conftest.$ac_ext <<_ACEOF
18069 cat confdefs.h >>conftest.$ac_ext
18070 cat >>conftest.$ac_ext <<_ACEOF
18071 /* end confdefs.h. */
18072 #include <CoreFoundation/CFBase.h>
18082 rm -f conftest.$ac_objext
18083 if { (ac_try="$ac_compile"
18084 case "(($ac_try" in
18085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18086 *) ac_try_echo=$ac_try;;
18088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18089 (eval "$ac_compile") 2>conftest.er1
18091 grep -v '^ *+' conftest.er1 >conftest.err
18093 cat conftest.err >&5
18094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095 (exit $ac_status); } && {
18096 test -z "$ac_c_werror_flag" ||
18097 test ! -s conftest.err
18098 } && test -s conftest.$ac_objext; then
18099 { echo "$as_me:$LINENO: result: yes" >&5
18100 echo "${ECHO_T}yes" >&6; }
18102 echo "$as_me: failed program was:" >&5
18103 sed 's/^/| /' conftest.$ac_ext >&5
18105 { echo "$as_me:$LINENO: result: no" >&5
18106 echo "${ECHO_T}no" >&6; }
18107 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18108 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18109 cat >conftest.$ac_ext <<_ACEOF
18112 cat confdefs.h >>conftest.$ac_ext
18113 cat >>conftest.$ac_ext <<_ACEOF
18114 /* end confdefs.h. */
18115 #define __CF_USE_FRAMEWORK_INCLUDES__
18116 #include <CoreFoundation/CFBase.h>
18126 rm -f conftest.$ac_objext
18127 if { (ac_try="$ac_compile"
18128 case "(($ac_try" in
18129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18130 *) ac_try_echo=$ac_try;;
18132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18133 (eval "$ac_compile") 2>conftest.er1
18135 grep -v '^ *+' conftest.er1 >conftest.err
18137 cat conftest.err >&5
18138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18139 (exit $ac_status); } && {
18140 test -z "$ac_c_werror_flag" ||
18141 test ! -s conftest.err
18142 } && test -s conftest.$ac_objext; then
18143 { echo "$as_me:$LINENO: result: yes" >&5
18144 echo "${ECHO_T}yes" >&6; }
18145 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18147 echo "$as_me: failed program was:" >&5
18148 sed 's/^/| /' conftest.$ac_ext >&5
18150 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18151 See \`config.log' for more details." >&5
18152 echo "$as_me: error: no. CoreFoundation not available.
18153 See \`config.log' for more details." >&2;}
18154 { (exit 1); exit 1; }; }
18158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18168 doesnt_want_win32=0
18171 if test "$wxUSE_MSW" = 1 ; then
18174 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18175 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18176 if test "${wx_cv_nocygwin+set}" = set; then
18177 echo $ECHO_N "(cached) $ECHO_C" >&6
18180 cat >conftest.$ac_ext <<_ACEOF
18183 cat confdefs.h >>conftest.$ac_ext
18184 cat >>conftest.$ac_ext <<_ACEOF
18185 /* end confdefs.h. */
18199 rm -f conftest.$ac_objext
18200 if { (ac_try="$ac_compile"
18201 case "(($ac_try" in
18202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18203 *) ac_try_echo=$ac_try;;
18205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18206 (eval "$ac_compile") 2>conftest.er1
18208 grep -v '^ *+' conftest.er1 >conftest.err
18210 cat conftest.err >&5
18211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18212 (exit $ac_status); } && {
18213 test -z "$ac_c_werror_flag" ||
18214 test ! -s conftest.err
18215 } && test -s conftest.$ac_objext; then
18218 echo "$as_me: failed program was:" >&5
18219 sed 's/^/| /' conftest.$ac_ext >&5
18225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18229 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18230 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18232 if test "$wx_cv_nocygwin" = "yes"; then
18235 doesnt_want_win32=1
18238 if test "$wants_win32" = 1 ; then
18239 BAKEFILE_FORCE_PLATFORM=win32
18247 if test "$wxUSE_WINE" = "yes"; then
18249 LDFLAGS_GUI="-mwindows"
18252 if test "$wants_win32" = 1 ; then
18255 cat >>confdefs.h <<\_ACEOF
18256 #define __WIN32__ 1
18259 cat >>confdefs.h <<\_ACEOF
18260 #define __WIN95__ 1
18263 cat >>confdefs.h <<\_ACEOF
18264 #define __WINDOWS__ 1
18267 cat >>confdefs.h <<\_ACEOF
18268 #define __GNUWIN32__ 1
18271 cat >>confdefs.h <<\_ACEOF
18276 if test "$doesnt_want_win32" = 1 ; then
18281 if test "$USE_UNIX" = 1 ; then
18283 cat >>confdefs.h <<\_ACEOF
18290 *-pc-os2_emx | *-pc-os2-emx )
18291 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18292 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18293 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18294 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18295 echo $ECHO_N "(cached) $ECHO_C" >&6
18297 ac_check_lib_save_LIBS=$LIBS
18298 LIBS="-lcExt $LIBS"
18299 cat >conftest.$ac_ext <<_ACEOF
18302 cat confdefs.h >>conftest.$ac_ext
18303 cat >>conftest.$ac_ext <<_ACEOF
18304 /* end confdefs.h. */
18306 /* Override any GCC internal prototype to avoid an error.
18307 Use char because int might match the return type of a GCC
18308 builtin and then its argument prototype would still apply. */
18321 rm -f conftest.$ac_objext conftest$ac_exeext
18322 if { (ac_try="$ac_link"
18323 case "(($ac_try" in
18324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18325 *) ac_try_echo=$ac_try;;
18327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18328 (eval "$ac_link") 2>conftest.er1
18330 grep -v '^ *+' conftest.er1 >conftest.err
18332 cat conftest.err >&5
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); } && {
18335 test -z "$ac_c_werror_flag" ||
18336 test ! -s conftest.err
18337 } && test -s conftest$ac_exeext &&
18338 $as_test_x conftest$ac_exeext; then
18339 ac_cv_lib_cExt_drand48=yes
18341 echo "$as_me: failed program was:" >&5
18342 sed 's/^/| /' conftest.$ac_ext >&5
18344 ac_cv_lib_cExt_drand48=no
18347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18348 conftest$ac_exeext conftest.$ac_ext
18349 LIBS=$ac_check_lib_save_LIBS
18351 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18352 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18353 if test $ac_cv_lib_cExt_drand48 = yes; then
18354 LIBS="$LIBS -lcExt"
18358 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18360 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18361 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18362 if test "${wx_cv_gccversion+set}" = set; then
18363 echo $ECHO_N "(cached) $ECHO_C" >&6
18366 if test "$cross_compiling" = yes; then
18367 wx_cv_gccversion="EMX2"
18370 cat >conftest.$ac_ext <<_ACEOF
18373 cat confdefs.h >>conftest.$ac_ext
18374 cat >>conftest.$ac_ext <<_ACEOF
18375 /* end confdefs.h. */
18381 FILE *f=fopen("conftestval", "w");
18386 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18388 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18398 rm -f conftest$ac_exeext
18399 if { (ac_try="$ac_link"
18400 case "(($ac_try" in
18401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18402 *) ac_try_echo=$ac_try;;
18404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18405 (eval "$ac_link") 2>&5
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18409 { (case "(($ac_try" in
18410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18411 *) ac_try_echo=$ac_try;;
18413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18414 (eval "$ac_try") 2>&5
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); }; }; then
18418 wx_cv_gccversion=`cat conftestval`
18420 echo "$as_me: program exited with status $ac_status" >&5
18421 echo "$as_me: failed program was:" >&5
18422 sed 's/^/| /' conftest.$ac_ext >&5
18424 ( exit $ac_status )
18425 wx_cv_gccversion="EMX2"
18427 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18433 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18434 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18435 if test "$wx_cv_gccversion" = "EMX2"; then
18436 LIBS="$LIBS -lstdcpp"
18437 LDFLAGS="$LDFLAGS -Zsysv-signals"
18439 if test "$wx_cv_gccversion" = "EMX3"; then
18440 LIBS="$LIBS -lstdcxx -lgcc"
18441 LDFLAGS="$LDFLAGS -Zsysv-signals"
18443 LIBS="$LIBS -lstdc++"
18446 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18447 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18448 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18455 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18456 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18457 if test "${ac_cv_string_strcasecmp+set}" = set; then
18458 echo $ECHO_N "(cached) $ECHO_C" >&6
18461 cat >conftest.$ac_ext <<_ACEOF
18464 cat confdefs.h >>conftest.$ac_ext
18465 cat >>conftest.$ac_ext <<_ACEOF
18466 /* end confdefs.h. */
18468 #include <string.h>
18474 strcasecmp("foo", "bar");
18480 rm -f conftest.$ac_objext conftest$ac_exeext
18481 if { (ac_try="$ac_link"
18482 case "(($ac_try" in
18483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18484 *) ac_try_echo=$ac_try;;
18486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18487 (eval "$ac_link") 2>conftest.er1
18489 grep -v '^ *+' conftest.er1 >conftest.err
18491 cat conftest.err >&5
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); } && {
18494 test -z "$ac_c_werror_flag" ||
18495 test ! -s conftest.err
18496 } && test -s conftest$ac_exeext &&
18497 $as_test_x conftest$ac_exeext; then
18498 ac_cv_string_strcasecmp=yes
18500 echo "$as_me: failed program was:" >&5
18501 sed 's/^/| /' conftest.$ac_ext >&5
18503 ac_cv_string_strcasecmp=no
18507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18508 conftest$ac_exeext conftest.$ac_ext
18511 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18512 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18514 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18515 cat >>confdefs.h <<\_ACEOF
18516 #define HAVE_STRCASECMP_IN_STRING_H 1
18520 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18521 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18522 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18523 echo $ECHO_N "(cached) $ECHO_C" >&6
18526 cat >conftest.$ac_ext <<_ACEOF
18529 cat confdefs.h >>conftest.$ac_ext
18530 cat >>conftest.$ac_ext <<_ACEOF
18531 /* end confdefs.h. */
18533 #include <strings.h>
18539 strcasecmp("foo", "bar");
18545 rm -f conftest.$ac_objext conftest$ac_exeext
18546 if { (ac_try="$ac_link"
18547 case "(($ac_try" in
18548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18549 *) ac_try_echo=$ac_try;;
18551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18552 (eval "$ac_link") 2>conftest.er1
18554 grep -v '^ *+' conftest.er1 >conftest.err
18556 cat conftest.err >&5
18557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18558 (exit $ac_status); } && {
18559 test -z "$ac_c_werror_flag" ||
18560 test ! -s conftest.err
18561 } && test -s conftest$ac_exeext &&
18562 $as_test_x conftest$ac_exeext; then
18563 ac_cv_strings_strcasecmp=yes
18565 echo "$as_me: failed program was:" >&5
18566 sed 's/^/| /' conftest.$ac_ext >&5
18568 ac_cv_strings_strcasecmp=no
18572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18573 conftest$ac_exeext conftest.$ac_ext
18576 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18577 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18579 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18580 cat >>confdefs.h <<\_ACEOF
18581 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18585 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18586 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18587 { (exit 1); exit 1; }; }
18595 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18596 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18597 if test "${ac_cv_header_stdc+set}" = set; then
18598 echo $ECHO_N "(cached) $ECHO_C" >&6
18600 cat >conftest.$ac_ext <<_ACEOF
18603 cat confdefs.h >>conftest.$ac_ext
18604 cat >>conftest.$ac_ext <<_ACEOF
18605 /* end confdefs.h. */
18606 #include <stdlib.h>
18607 #include <stdarg.h>
18608 #include <string.h>
18619 rm -f conftest.$ac_objext
18620 if { (ac_try="$ac_compile"
18621 case "(($ac_try" in
18622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18623 *) ac_try_echo=$ac_try;;
18625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18626 (eval "$ac_compile") 2>conftest.er1
18628 grep -v '^ *+' conftest.er1 >conftest.err
18630 cat conftest.err >&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); } && {
18633 test -z "$ac_c_werror_flag" ||
18634 test ! -s conftest.err
18635 } && test -s conftest.$ac_objext; then
18636 ac_cv_header_stdc=yes
18638 echo "$as_me: failed program was:" >&5
18639 sed 's/^/| /' conftest.$ac_ext >&5
18641 ac_cv_header_stdc=no
18644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18646 if test $ac_cv_header_stdc = yes; then
18647 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18648 cat >conftest.$ac_ext <<_ACEOF
18651 cat confdefs.h >>conftest.$ac_ext
18652 cat >>conftest.$ac_ext <<_ACEOF
18653 /* end confdefs.h. */
18654 #include <string.h>
18657 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18658 $EGREP "memchr" >/dev/null 2>&1; then
18661 ac_cv_header_stdc=no
18667 if test $ac_cv_header_stdc = yes; then
18668 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18669 cat >conftest.$ac_ext <<_ACEOF
18672 cat confdefs.h >>conftest.$ac_ext
18673 cat >>conftest.$ac_ext <<_ACEOF
18674 /* end confdefs.h. */
18675 #include <stdlib.h>
18678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18679 $EGREP "free" >/dev/null 2>&1; then
18682 ac_cv_header_stdc=no
18688 if test $ac_cv_header_stdc = yes; then
18689 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18690 if test "$cross_compiling" = yes; then
18693 cat >conftest.$ac_ext <<_ACEOF
18696 cat confdefs.h >>conftest.$ac_ext
18697 cat >>conftest.$ac_ext <<_ACEOF
18698 /* end confdefs.h. */
18700 #include <stdlib.h>
18701 #if ((' ' & 0x0FF) == 0x020)
18702 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18703 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18705 # define ISLOWER(c) \
18706 (('a' <= (c) && (c) <= 'i') \
18707 || ('j' <= (c) && (c) <= 'r') \
18708 || ('s' <= (c) && (c) <= 'z'))
18709 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18712 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18717 for (i = 0; i < 256; i++)
18718 if (XOR (islower (i), ISLOWER (i))
18719 || toupper (i) != TOUPPER (i))
18724 rm -f conftest$ac_exeext
18725 if { (ac_try="$ac_link"
18726 case "(($ac_try" in
18727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18728 *) ac_try_echo=$ac_try;;
18730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18731 (eval "$ac_link") 2>&5
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18735 { (case "(($ac_try" in
18736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18737 *) ac_try_echo=$ac_try;;
18739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18740 (eval "$ac_try") 2>&5
18742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18743 (exit $ac_status); }; }; then
18746 echo "$as_me: program exited with status $ac_status" >&5
18747 echo "$as_me: failed program was:" >&5
18748 sed 's/^/| /' conftest.$ac_ext >&5
18750 ( exit $ac_status )
18751 ac_cv_header_stdc=no
18753 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18759 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18760 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18761 if test $ac_cv_header_stdc = yes; then
18763 cat >>confdefs.h <<\_ACEOF
18764 #define STDC_HEADERS 1
18769 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18779 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18780 inttypes.h stdint.h unistd.h
18782 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18783 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18785 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18786 echo $ECHO_N "(cached) $ECHO_C" >&6
18788 cat >conftest.$ac_ext <<_ACEOF
18791 cat confdefs.h >>conftest.$ac_ext
18792 cat >>conftest.$ac_ext <<_ACEOF
18793 /* end confdefs.h. */
18794 $ac_includes_default
18796 #include <$ac_header>
18798 rm -f conftest.$ac_objext
18799 if { (ac_try="$ac_compile"
18800 case "(($ac_try" in
18801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18802 *) ac_try_echo=$ac_try;;
18804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18805 (eval "$ac_compile") 2>conftest.er1
18807 grep -v '^ *+' conftest.er1 >conftest.err
18809 cat conftest.err >&5
18810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 (exit $ac_status); } && {
18812 test -z "$ac_c_werror_flag" ||
18813 test ! -s conftest.err
18814 } && test -s conftest.$ac_objext; then
18815 eval "$as_ac_Header=yes"
18817 echo "$as_me: failed program was:" >&5
18818 sed 's/^/| /' conftest.$ac_ext >&5
18820 eval "$as_ac_Header=no"
18823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18825 ac_res=`eval echo '${'$as_ac_Header'}'`
18826 { echo "$as_me:$LINENO: result: $ac_res" >&5
18827 echo "${ECHO_T}$ac_res" >&6; }
18828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18829 cat >>confdefs.h <<_ACEOF
18830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18840 for ac_header in langinfo.h wchar.h
18842 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18843 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18845 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18846 echo $ECHO_N "(cached) $ECHO_C" >&6
18848 cat >conftest.$ac_ext <<_ACEOF
18851 cat confdefs.h >>conftest.$ac_ext
18852 cat >>conftest.$ac_ext <<_ACEOF
18853 /* end confdefs.h. */
18854 $ac_includes_default
18856 #include <$ac_header>
18858 rm -f conftest.$ac_objext
18859 if { (ac_try="$ac_compile"
18860 case "(($ac_try" in
18861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18862 *) ac_try_echo=$ac_try;;
18864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18865 (eval "$ac_compile") 2>conftest.er1
18867 grep -v '^ *+' conftest.er1 >conftest.err
18869 cat conftest.err >&5
18870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18871 (exit $ac_status); } && {
18872 test -z "$ac_c_werror_flag" ||
18873 test ! -s conftest.err
18874 } && test -s conftest.$ac_objext; then
18875 eval "$as_ac_Header=yes"
18877 echo "$as_me: failed program was:" >&5
18878 sed 's/^/| /' conftest.$ac_ext >&5
18880 eval "$as_ac_Header=no"
18883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18885 ac_res=`eval echo '${'$as_ac_Header'}'`
18886 { echo "$as_me:$LINENO: result: $ac_res" >&5
18887 echo "${ECHO_T}$ac_res" >&6; }
18888 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18889 cat >>confdefs.h <<_ACEOF
18890 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18898 if test "$ac_cv_header_wchar_h" != "yes"; then
18900 for ac_header in wcstr.h
18902 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18903 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18905 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18906 echo $ECHO_N "(cached) $ECHO_C" >&6
18908 cat >conftest.$ac_ext <<_ACEOF
18911 cat confdefs.h >>conftest.$ac_ext
18912 cat >>conftest.$ac_ext <<_ACEOF
18913 /* end confdefs.h. */
18914 $ac_includes_default
18916 #include <$ac_header>
18918 rm -f conftest.$ac_objext
18919 if { (ac_try="$ac_compile"
18920 case "(($ac_try" in
18921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18922 *) ac_try_echo=$ac_try;;
18924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18925 (eval "$ac_compile") 2>conftest.er1
18927 grep -v '^ *+' conftest.er1 >conftest.err
18929 cat conftest.err >&5
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); } && {
18932 test -z "$ac_c_werror_flag" ||
18933 test ! -s conftest.err
18934 } && test -s conftest.$ac_objext; then
18935 eval "$as_ac_Header=yes"
18937 echo "$as_me: failed program was:" >&5
18938 sed 's/^/| /' conftest.$ac_ext >&5
18940 eval "$as_ac_Header=no"
18943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18945 ac_res=`eval echo '${'$as_ac_Header'}'`
18946 { echo "$as_me:$LINENO: result: $ac_res" >&5
18947 echo "${ECHO_T}$ac_res" >&6; }
18948 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18949 cat >>confdefs.h <<_ACEOF
18950 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18960 *-pc-os2_emx | *-pc-os2-emx )
18961 if test $ac_cv_header_langinfo_h = "yes" \
18962 -a \( "$wx_cv_gccversion" = "EMX2" \
18963 -o "$wx_cv_gccversion" = "EMX3" \
18964 -o "$wx_cv_gccversion" = "Innotek5" \); then
18965 LIBS="$LIBS -lintl"
18970 if test "$USE_UNIX" = 1 ; then
18972 for ac_header in sys/select.h
18974 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18975 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18978 echo $ECHO_N "(cached) $ECHO_C" >&6
18980 cat >conftest.$ac_ext <<_ACEOF
18983 cat confdefs.h >>conftest.$ac_ext
18984 cat >>conftest.$ac_ext <<_ACEOF
18985 /* end confdefs.h. */
18986 $ac_includes_default
18988 #include <$ac_header>
18990 rm -f conftest.$ac_objext
18991 if { (ac_try="$ac_compile"
18992 case "(($ac_try" in
18993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18994 *) ac_try_echo=$ac_try;;
18996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18997 (eval "$ac_compile") 2>conftest.er1
18999 grep -v '^ *+' conftest.er1 >conftest.err
19001 cat conftest.err >&5
19002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003 (exit $ac_status); } && {
19004 test -z "$ac_c_werror_flag" ||
19005 test ! -s conftest.err
19006 } && test -s conftest.$ac_objext; then
19007 eval "$as_ac_Header=yes"
19009 echo "$as_me: failed program was:" >&5
19010 sed 's/^/| /' conftest.$ac_ext >&5
19012 eval "$as_ac_Header=no"
19015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19017 ac_res=`eval echo '${'$as_ac_Header'}'`
19018 { echo "$as_me:$LINENO: result: $ac_res" >&5
19019 echo "${ECHO_T}$ac_res" >&6; }
19020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19021 cat >>confdefs.h <<_ACEOF
19022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19032 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19033 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19034 if test "${ac_cv_c_const+set}" = set; then
19035 echo $ECHO_N "(cached) $ECHO_C" >&6
19037 cat >conftest.$ac_ext <<_ACEOF
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19047 /* FIXME: Include the comments suggested by Paul. */
19048 #ifndef __cplusplus
19049 /* Ultrix mips cc rejects this. */
19050 typedef int charset[2];
19052 /* SunOS 4.1.1 cc rejects this. */
19053 char const *const *pcpcc;
19055 /* NEC SVR4.0.2 mips cc rejects this. */
19056 struct point {int x, y;};
19057 static struct point const zero = {0,0};
19058 /* AIX XL C 1.02.0.0 rejects this.
19059 It does not let you subtract one const X* pointer from another in
19060 an arm of an if-expression whose if-part is not a constant
19062 const char *g = "string";
19063 pcpcc = &g + (g ? g-g : 0);
19064 /* HPUX 7.0 cc rejects these. */
19066 ppc = (char**) pcpcc;
19067 pcpcc = (char const *const *) ppc;
19068 { /* SCO 3.2v4 cc rejects this. */
19070 char const *s = 0 ? (char *) 0 : (char const *) 0;
19075 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19076 int x[] = {25, 17};
19077 const int *foo = &x[0];
19080 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19081 typedef const int *iptr;
19085 { /* AIX XL C 1.02.0.0 rejects this saying
19086 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19087 struct s { int j; const int *ap[3]; };
19088 struct s *b; b->j = 5;
19090 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19091 const int foo = 10;
19092 if (!foo) return 0;
19094 return !cs[0] && !zero.x;
19101 rm -f conftest.$ac_objext
19102 if { (ac_try="$ac_compile"
19103 case "(($ac_try" in
19104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19105 *) ac_try_echo=$ac_try;;
19107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19108 (eval "$ac_compile") 2>conftest.er1
19110 grep -v '^ *+' conftest.er1 >conftest.err
19112 cat conftest.err >&5
19113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114 (exit $ac_status); } && {
19115 test -z "$ac_c_werror_flag" ||
19116 test ! -s conftest.err
19117 } && test -s conftest.$ac_objext; then
19120 echo "$as_me: failed program was:" >&5
19121 sed 's/^/| /' conftest.$ac_ext >&5
19126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19128 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19129 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19130 if test $ac_cv_c_const = no; then
19132 cat >>confdefs.h <<\_ACEOF
19138 { echo "$as_me:$LINENO: checking for inline" >&5
19139 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19140 if test "${ac_cv_c_inline+set}" = set; then
19141 echo $ECHO_N "(cached) $ECHO_C" >&6
19144 for ac_kw in inline __inline__ __inline; do
19145 cat >conftest.$ac_ext <<_ACEOF
19148 cat confdefs.h >>conftest.$ac_ext
19149 cat >>conftest.$ac_ext <<_ACEOF
19150 /* end confdefs.h. */
19151 #ifndef __cplusplus
19153 static $ac_kw foo_t static_foo () {return 0; }
19154 $ac_kw foo_t foo () {return 0; }
19158 rm -f conftest.$ac_objext
19159 if { (ac_try="$ac_compile"
19160 case "(($ac_try" in
19161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19162 *) ac_try_echo=$ac_try;;
19164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19165 (eval "$ac_compile") 2>conftest.er1
19167 grep -v '^ *+' conftest.er1 >conftest.err
19169 cat conftest.err >&5
19170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19171 (exit $ac_status); } && {
19172 test -z "$ac_c_werror_flag" ||
19173 test ! -s conftest.err
19174 } && test -s conftest.$ac_objext; then
19175 ac_cv_c_inline=$ac_kw
19177 echo "$as_me: failed program was:" >&5
19178 sed 's/^/| /' conftest.$ac_ext >&5
19183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19184 test "$ac_cv_c_inline" != no && break
19188 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19189 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19192 case $ac_cv_c_inline in
19195 case $ac_cv_c_inline in
19197 *) ac_val=$ac_cv_c_inline;;
19199 cat >>confdefs.h <<_ACEOF
19200 #ifndef __cplusplus
19201 #define inline $ac_val
19208 { echo "$as_me:$LINENO: checking for short" >&5
19209 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19210 if test "${ac_cv_type_short+set}" = set; then
19211 echo $ECHO_N "(cached) $ECHO_C" >&6
19213 cat >conftest.$ac_ext <<_ACEOF
19216 cat confdefs.h >>conftest.$ac_ext
19217 cat >>conftest.$ac_ext <<_ACEOF
19218 /* end confdefs.h. */
19219 $ac_includes_default
19220 typedef short ac__type_new_;
19224 if ((ac__type_new_ *) 0)
19226 if (sizeof (ac__type_new_))
19232 rm -f conftest.$ac_objext
19233 if { (ac_try="$ac_compile"
19234 case "(($ac_try" in
19235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19236 *) ac_try_echo=$ac_try;;
19238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19239 (eval "$ac_compile") 2>conftest.er1
19241 grep -v '^ *+' conftest.er1 >conftest.err
19243 cat conftest.err >&5
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); } && {
19246 test -z "$ac_c_werror_flag" ||
19247 test ! -s conftest.err
19248 } && test -s conftest.$ac_objext; then
19249 ac_cv_type_short=yes
19251 echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.$ac_ext >&5
19254 ac_cv_type_short=no
19257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19259 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19260 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19262 # The cast to long int works around a bug in the HP C Compiler
19263 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19264 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19265 # This bug is HP SR number 8606223364.
19266 { echo "$as_me:$LINENO: checking size of short" >&5
19267 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19268 if test "${ac_cv_sizeof_short+set}" = set; then
19269 echo $ECHO_N "(cached) $ECHO_C" >&6
19271 if test "$cross_compiling" = yes; then
19272 # Depending upon the size, compute the lo and hi bounds.
19273 cat >conftest.$ac_ext <<_ACEOF
19276 cat confdefs.h >>conftest.$ac_ext
19277 cat >>conftest.$ac_ext <<_ACEOF
19278 /* end confdefs.h. */
19279 $ac_includes_default
19280 typedef short ac__type_sizeof_;
19284 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19291 rm -f conftest.$ac_objext
19292 if { (ac_try="$ac_compile"
19293 case "(($ac_try" in
19294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19295 *) ac_try_echo=$ac_try;;
19297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19298 (eval "$ac_compile") 2>conftest.er1
19300 grep -v '^ *+' conftest.er1 >conftest.err
19302 cat conftest.err >&5
19303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304 (exit $ac_status); } && {
19305 test -z "$ac_c_werror_flag" ||
19306 test ! -s conftest.err
19307 } && test -s conftest.$ac_objext; then
19310 cat >conftest.$ac_ext <<_ACEOF
19313 cat confdefs.h >>conftest.$ac_ext
19314 cat >>conftest.$ac_ext <<_ACEOF
19315 /* end confdefs.h. */
19316 $ac_includes_default
19317 typedef short ac__type_sizeof_;
19321 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19328 rm -f conftest.$ac_objext
19329 if { (ac_try="$ac_compile"
19330 case "(($ac_try" in
19331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19332 *) ac_try_echo=$ac_try;;
19334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19335 (eval "$ac_compile") 2>conftest.er1
19337 grep -v '^ *+' conftest.er1 >conftest.err
19339 cat conftest.err >&5
19340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19341 (exit $ac_status); } && {
19342 test -z "$ac_c_werror_flag" ||
19343 test ! -s conftest.err
19344 } && test -s conftest.$ac_objext; then
19345 ac_hi=$ac_mid; break
19347 echo "$as_me: failed program was:" >&5
19348 sed 's/^/| /' conftest.$ac_ext >&5
19350 ac_lo=`expr $ac_mid + 1`
19351 if test $ac_lo -le $ac_mid; then
19355 ac_mid=`expr 2 '*' $ac_mid + 1`
19358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19361 echo "$as_me: failed program was:" >&5
19362 sed 's/^/| /' conftest.$ac_ext >&5
19364 cat >conftest.$ac_ext <<_ACEOF
19367 cat confdefs.h >>conftest.$ac_ext
19368 cat >>conftest.$ac_ext <<_ACEOF
19369 /* end confdefs.h. */
19370 $ac_includes_default
19371 typedef short ac__type_sizeof_;
19375 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19382 rm -f conftest.$ac_objext
19383 if { (ac_try="$ac_compile"
19384 case "(($ac_try" in
19385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19386 *) ac_try_echo=$ac_try;;
19388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19389 (eval "$ac_compile") 2>conftest.er1
19391 grep -v '^ *+' conftest.er1 >conftest.err
19393 cat conftest.err >&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); } && {
19396 test -z "$ac_c_werror_flag" ||
19397 test ! -s conftest.err
19398 } && test -s conftest.$ac_objext; then
19401 cat >conftest.$ac_ext <<_ACEOF
19404 cat confdefs.h >>conftest.$ac_ext
19405 cat >>conftest.$ac_ext <<_ACEOF
19406 /* end confdefs.h. */
19407 $ac_includes_default
19408 typedef short ac__type_sizeof_;
19412 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19419 rm -f conftest.$ac_objext
19420 if { (ac_try="$ac_compile"
19421 case "(($ac_try" in
19422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19423 *) ac_try_echo=$ac_try;;
19425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19426 (eval "$ac_compile") 2>conftest.er1
19428 grep -v '^ *+' conftest.er1 >conftest.err
19430 cat conftest.err >&5
19431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432 (exit $ac_status); } && {
19433 test -z "$ac_c_werror_flag" ||
19434 test ! -s conftest.err
19435 } && test -s conftest.$ac_objext; then
19436 ac_lo=$ac_mid; break
19438 echo "$as_me: failed program was:" >&5
19439 sed 's/^/| /' conftest.$ac_ext >&5
19441 ac_hi=`expr '(' $ac_mid ')' - 1`
19442 if test $ac_mid -le $ac_hi; then
19446 ac_mid=`expr 2 '*' $ac_mid`
19449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19452 echo "$as_me: failed program was:" >&5
19453 sed 's/^/| /' conftest.$ac_ext >&5
19458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19462 # Binary search between lo and hi bounds.
19463 while test "x$ac_lo" != "x$ac_hi"; do
19464 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19465 cat >conftest.$ac_ext <<_ACEOF
19468 cat confdefs.h >>conftest.$ac_ext
19469 cat >>conftest.$ac_ext <<_ACEOF
19470 /* end confdefs.h. */
19471 $ac_includes_default
19472 typedef short ac__type_sizeof_;
19476 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19483 rm -f conftest.$ac_objext
19484 if { (ac_try="$ac_compile"
19485 case "(($ac_try" in
19486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19487 *) ac_try_echo=$ac_try;;
19489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19490 (eval "$ac_compile") 2>conftest.er1
19492 grep -v '^ *+' conftest.er1 >conftest.err
19494 cat conftest.err >&5
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); } && {
19497 test -z "$ac_c_werror_flag" ||
19498 test ! -s conftest.err
19499 } && test -s conftest.$ac_objext; then
19502 echo "$as_me: failed program was:" >&5
19503 sed 's/^/| /' conftest.$ac_ext >&5
19505 ac_lo=`expr '(' $ac_mid ')' + 1`
19508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19511 ?*) ac_cv_sizeof_short=$ac_lo;;
19512 '') if test "$ac_cv_type_short" = yes; then
19513 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19514 See \`config.log' for more details." >&5
19515 echo "$as_me: error: cannot compute sizeof (short)
19516 See \`config.log' for more details." >&2;}
19517 { (exit 77); exit 77; }; }
19519 ac_cv_sizeof_short=0
19523 cat >conftest.$ac_ext <<_ACEOF
19526 cat confdefs.h >>conftest.$ac_ext
19527 cat >>conftest.$ac_ext <<_ACEOF
19528 /* end confdefs.h. */
19529 $ac_includes_default
19530 typedef short ac__type_sizeof_;
19531 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19532 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19534 #include <stdlib.h>
19539 FILE *f = fopen ("conftest.val", "w");
19542 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19544 long int i = longval ();
19545 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19547 fprintf (f, "%ld\n", i);
19551 unsigned long int i = ulongval ();
19552 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19554 fprintf (f, "%lu\n", i);
19556 return ferror (f) || fclose (f) != 0;
19562 rm -f conftest$ac_exeext
19563 if { (ac_try="$ac_link"
19564 case "(($ac_try" in
19565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19566 *) ac_try_echo=$ac_try;;
19568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19569 (eval "$ac_link") 2>&5
19571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19573 { (case "(($ac_try" in
19574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19575 *) ac_try_echo=$ac_try;;
19577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19578 (eval "$ac_try") 2>&5
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); }; }; then
19582 ac_cv_sizeof_short=`cat conftest.val`
19584 echo "$as_me: program exited with status $ac_status" >&5
19585 echo "$as_me: failed program was:" >&5
19586 sed 's/^/| /' conftest.$ac_ext >&5
19588 ( exit $ac_status )
19589 if test "$ac_cv_type_short" = yes; then
19590 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19591 See \`config.log' for more details." >&5
19592 echo "$as_me: error: cannot compute sizeof (short)
19593 See \`config.log' for more details." >&2;}
19594 { (exit 77); exit 77; }; }
19596 ac_cv_sizeof_short=0
19599 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19603 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19604 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19608 cat >>confdefs.h <<_ACEOF
19609 #define SIZEOF_SHORT $ac_cv_sizeof_short
19613 { echo "$as_me:$LINENO: checking for void *" >&5
19614 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19615 if test "${ac_cv_type_void_p+set}" = set; then
19616 echo $ECHO_N "(cached) $ECHO_C" >&6
19618 cat >conftest.$ac_ext <<_ACEOF
19621 cat confdefs.h >>conftest.$ac_ext
19622 cat >>conftest.$ac_ext <<_ACEOF
19623 /* end confdefs.h. */
19624 $ac_includes_default
19625 typedef void * ac__type_new_;
19629 if ((ac__type_new_ *) 0)
19631 if (sizeof (ac__type_new_))
19637 rm -f conftest.$ac_objext
19638 if { (ac_try="$ac_compile"
19639 case "(($ac_try" in
19640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19641 *) ac_try_echo=$ac_try;;
19643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19644 (eval "$ac_compile") 2>conftest.er1
19646 grep -v '^ *+' conftest.er1 >conftest.err
19648 cat conftest.err >&5
19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 (exit $ac_status); } && {
19651 test -z "$ac_c_werror_flag" ||
19652 test ! -s conftest.err
19653 } && test -s conftest.$ac_objext; then
19654 ac_cv_type_void_p=yes
19656 echo "$as_me: failed program was:" >&5
19657 sed 's/^/| /' conftest.$ac_ext >&5
19659 ac_cv_type_void_p=no
19662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19664 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19665 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19667 # The cast to long int works around a bug in the HP C Compiler
19668 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19669 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19670 # This bug is HP SR number 8606223364.
19671 { echo "$as_me:$LINENO: checking size of void *" >&5
19672 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19673 if test "${ac_cv_sizeof_void_p+set}" = set; then
19674 echo $ECHO_N "(cached) $ECHO_C" >&6
19676 if test "$cross_compiling" = yes; then
19677 # Depending upon the size, compute the lo and hi bounds.
19678 cat >conftest.$ac_ext <<_ACEOF
19681 cat confdefs.h >>conftest.$ac_ext
19682 cat >>conftest.$ac_ext <<_ACEOF
19683 /* end confdefs.h. */
19684 $ac_includes_default
19685 typedef void * ac__type_sizeof_;
19689 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19696 rm -f conftest.$ac_objext
19697 if { (ac_try="$ac_compile"
19698 case "(($ac_try" in
19699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19700 *) ac_try_echo=$ac_try;;
19702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19703 (eval "$ac_compile") 2>conftest.er1
19705 grep -v '^ *+' conftest.er1 >conftest.err
19707 cat conftest.err >&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); } && {
19710 test -z "$ac_c_werror_flag" ||
19711 test ! -s conftest.err
19712 } && test -s conftest.$ac_objext; then
19715 cat >conftest.$ac_ext <<_ACEOF
19718 cat confdefs.h >>conftest.$ac_ext
19719 cat >>conftest.$ac_ext <<_ACEOF
19720 /* end confdefs.h. */
19721 $ac_includes_default
19722 typedef void * ac__type_sizeof_;
19726 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19733 rm -f conftest.$ac_objext
19734 if { (ac_try="$ac_compile"
19735 case "(($ac_try" in
19736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19737 *) ac_try_echo=$ac_try;;
19739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19740 (eval "$ac_compile") 2>conftest.er1
19742 grep -v '^ *+' conftest.er1 >conftest.err
19744 cat conftest.err >&5
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); } && {
19747 test -z "$ac_c_werror_flag" ||
19748 test ! -s conftest.err
19749 } && test -s conftest.$ac_objext; then
19750 ac_hi=$ac_mid; break
19752 echo "$as_me: failed program was:" >&5
19753 sed 's/^/| /' conftest.$ac_ext >&5
19755 ac_lo=`expr $ac_mid + 1`
19756 if test $ac_lo -le $ac_mid; then
19760 ac_mid=`expr 2 '*' $ac_mid + 1`
19763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19766 echo "$as_me: failed program was:" >&5
19767 sed 's/^/| /' conftest.$ac_ext >&5
19769 cat >conftest.$ac_ext <<_ACEOF
19772 cat confdefs.h >>conftest.$ac_ext
19773 cat >>conftest.$ac_ext <<_ACEOF
19774 /* end confdefs.h. */
19775 $ac_includes_default
19776 typedef void * ac__type_sizeof_;
19780 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19787 rm -f conftest.$ac_objext
19788 if { (ac_try="$ac_compile"
19789 case "(($ac_try" in
19790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19791 *) ac_try_echo=$ac_try;;
19793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19794 (eval "$ac_compile") 2>conftest.er1
19796 grep -v '^ *+' conftest.er1 >conftest.err
19798 cat conftest.err >&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); } && {
19801 test -z "$ac_c_werror_flag" ||
19802 test ! -s conftest.err
19803 } && test -s conftest.$ac_objext; then
19806 cat >conftest.$ac_ext <<_ACEOF
19809 cat confdefs.h >>conftest.$ac_ext
19810 cat >>conftest.$ac_ext <<_ACEOF
19811 /* end confdefs.h. */
19812 $ac_includes_default
19813 typedef void * ac__type_sizeof_;
19817 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19824 rm -f conftest.$ac_objext
19825 if { (ac_try="$ac_compile"
19826 case "(($ac_try" in
19827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19828 *) ac_try_echo=$ac_try;;
19830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19831 (eval "$ac_compile") 2>conftest.er1
19833 grep -v '^ *+' conftest.er1 >conftest.err
19835 cat conftest.err >&5
19836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19837 (exit $ac_status); } && {
19838 test -z "$ac_c_werror_flag" ||
19839 test ! -s conftest.err
19840 } && test -s conftest.$ac_objext; then
19841 ac_lo=$ac_mid; break
19843 echo "$as_me: failed program was:" >&5
19844 sed 's/^/| /' conftest.$ac_ext >&5
19846 ac_hi=`expr '(' $ac_mid ')' - 1`
19847 if test $ac_mid -le $ac_hi; then
19851 ac_mid=`expr 2 '*' $ac_mid`
19854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19857 echo "$as_me: failed program was:" >&5
19858 sed 's/^/| /' conftest.$ac_ext >&5
19863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19867 # Binary search between lo and hi bounds.
19868 while test "x$ac_lo" != "x$ac_hi"; do
19869 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19870 cat >conftest.$ac_ext <<_ACEOF
19873 cat confdefs.h >>conftest.$ac_ext
19874 cat >>conftest.$ac_ext <<_ACEOF
19875 /* end confdefs.h. */
19876 $ac_includes_default
19877 typedef void * ac__type_sizeof_;
19881 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19888 rm -f conftest.$ac_objext
19889 if { (ac_try="$ac_compile"
19890 case "(($ac_try" in
19891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19892 *) ac_try_echo=$ac_try;;
19894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19895 (eval "$ac_compile") 2>conftest.er1
19897 grep -v '^ *+' conftest.er1 >conftest.err
19899 cat conftest.err >&5
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); } && {
19902 test -z "$ac_c_werror_flag" ||
19903 test ! -s conftest.err
19904 } && test -s conftest.$ac_objext; then
19907 echo "$as_me: failed program was:" >&5
19908 sed 's/^/| /' conftest.$ac_ext >&5
19910 ac_lo=`expr '(' $ac_mid ')' + 1`
19913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19916 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19917 '') if test "$ac_cv_type_void_p" = yes; then
19918 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19919 See \`config.log' for more details." >&5
19920 echo "$as_me: error: cannot compute sizeof (void *)
19921 See \`config.log' for more details." >&2;}
19922 { (exit 77); exit 77; }; }
19924 ac_cv_sizeof_void_p=0
19928 cat >conftest.$ac_ext <<_ACEOF
19931 cat confdefs.h >>conftest.$ac_ext
19932 cat >>conftest.$ac_ext <<_ACEOF
19933 /* end confdefs.h. */
19934 $ac_includes_default
19935 typedef void * ac__type_sizeof_;
19936 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19937 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19939 #include <stdlib.h>
19944 FILE *f = fopen ("conftest.val", "w");
19947 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19949 long int i = longval ();
19950 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19952 fprintf (f, "%ld\n", i);
19956 unsigned long int i = ulongval ();
19957 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19959 fprintf (f, "%lu\n", i);
19961 return ferror (f) || fclose (f) != 0;
19967 rm -f conftest$ac_exeext
19968 if { (ac_try="$ac_link"
19969 case "(($ac_try" in
19970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19971 *) ac_try_echo=$ac_try;;
19973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19974 (eval "$ac_link") 2>&5
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19978 { (case "(($ac_try" in
19979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19980 *) ac_try_echo=$ac_try;;
19982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19983 (eval "$ac_try") 2>&5
19985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19986 (exit $ac_status); }; }; then
19987 ac_cv_sizeof_void_p=`cat conftest.val`
19989 echo "$as_me: program exited with status $ac_status" >&5
19990 echo "$as_me: failed program was:" >&5
19991 sed 's/^/| /' conftest.$ac_ext >&5
19993 ( exit $ac_status )
19994 if test "$ac_cv_type_void_p" = yes; then
19995 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19996 See \`config.log' for more details." >&5
19997 echo "$as_me: error: cannot compute sizeof (void *)
19998 See \`config.log' for more details." >&2;}
19999 { (exit 77); exit 77; }; }
20001 ac_cv_sizeof_void_p=0
20004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20008 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20009 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20013 cat >>confdefs.h <<_ACEOF
20014 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20018 { echo "$as_me:$LINENO: checking for int" >&5
20019 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20020 if test "${ac_cv_type_int+set}" = set; then
20021 echo $ECHO_N "(cached) $ECHO_C" >&6
20023 cat >conftest.$ac_ext <<_ACEOF
20026 cat confdefs.h >>conftest.$ac_ext
20027 cat >>conftest.$ac_ext <<_ACEOF
20028 /* end confdefs.h. */
20029 $ac_includes_default
20030 typedef int ac__type_new_;
20034 if ((ac__type_new_ *) 0)
20036 if (sizeof (ac__type_new_))
20042 rm -f conftest.$ac_objext
20043 if { (ac_try="$ac_compile"
20044 case "(($ac_try" in
20045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20046 *) ac_try_echo=$ac_try;;
20048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20049 (eval "$ac_compile") 2>conftest.er1
20051 grep -v '^ *+' conftest.er1 >conftest.err
20053 cat conftest.err >&5
20054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20055 (exit $ac_status); } && {
20056 test -z "$ac_c_werror_flag" ||
20057 test ! -s conftest.err
20058 } && test -s conftest.$ac_objext; then
20061 echo "$as_me: failed program was:" >&5
20062 sed 's/^/| /' conftest.$ac_ext >&5
20067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20069 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20070 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20072 # The cast to long int works around a bug in the HP C Compiler
20073 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20074 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20075 # This bug is HP SR number 8606223364.
20076 { echo "$as_me:$LINENO: checking size of int" >&5
20077 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20078 if test "${ac_cv_sizeof_int+set}" = set; then
20079 echo $ECHO_N "(cached) $ECHO_C" >&6
20081 if test "$cross_compiling" = yes; then
20082 # Depending upon the size, compute the lo and hi bounds.
20083 cat >conftest.$ac_ext <<_ACEOF
20086 cat confdefs.h >>conftest.$ac_ext
20087 cat >>conftest.$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20089 $ac_includes_default
20090 typedef int ac__type_sizeof_;
20094 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20101 rm -f conftest.$ac_objext
20102 if { (ac_try="$ac_compile"
20103 case "(($ac_try" in
20104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20105 *) ac_try_echo=$ac_try;;
20107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20108 (eval "$ac_compile") 2>conftest.er1
20110 grep -v '^ *+' conftest.er1 >conftest.err
20112 cat conftest.err >&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); } && {
20115 test -z "$ac_c_werror_flag" ||
20116 test ! -s conftest.err
20117 } && test -s conftest.$ac_objext; then
20120 cat >conftest.$ac_ext <<_ACEOF
20123 cat confdefs.h >>conftest.$ac_ext
20124 cat >>conftest.$ac_ext <<_ACEOF
20125 /* end confdefs.h. */
20126 $ac_includes_default
20127 typedef int ac__type_sizeof_;
20131 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20138 rm -f conftest.$ac_objext
20139 if { (ac_try="$ac_compile"
20140 case "(($ac_try" in
20141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20142 *) ac_try_echo=$ac_try;;
20144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20145 (eval "$ac_compile") 2>conftest.er1
20147 grep -v '^ *+' conftest.er1 >conftest.err
20149 cat conftest.err >&5
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); } && {
20152 test -z "$ac_c_werror_flag" ||
20153 test ! -s conftest.err
20154 } && test -s conftest.$ac_objext; then
20155 ac_hi=$ac_mid; break
20157 echo "$as_me: failed program was:" >&5
20158 sed 's/^/| /' conftest.$ac_ext >&5
20160 ac_lo=`expr $ac_mid + 1`
20161 if test $ac_lo -le $ac_mid; then
20165 ac_mid=`expr 2 '*' $ac_mid + 1`
20168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20171 echo "$as_me: failed program was:" >&5
20172 sed 's/^/| /' conftest.$ac_ext >&5
20174 cat >conftest.$ac_ext <<_ACEOF
20177 cat confdefs.h >>conftest.$ac_ext
20178 cat >>conftest.$ac_ext <<_ACEOF
20179 /* end confdefs.h. */
20180 $ac_includes_default
20181 typedef int ac__type_sizeof_;
20185 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20192 rm -f conftest.$ac_objext
20193 if { (ac_try="$ac_compile"
20194 case "(($ac_try" in
20195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20196 *) ac_try_echo=$ac_try;;
20198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20199 (eval "$ac_compile") 2>conftest.er1
20201 grep -v '^ *+' conftest.er1 >conftest.err
20203 cat conftest.err >&5
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); } && {
20206 test -z "$ac_c_werror_flag" ||
20207 test ! -s conftest.err
20208 } && test -s conftest.$ac_objext; then
20211 cat >conftest.$ac_ext <<_ACEOF
20214 cat confdefs.h >>conftest.$ac_ext
20215 cat >>conftest.$ac_ext <<_ACEOF
20216 /* end confdefs.h. */
20217 $ac_includes_default
20218 typedef int ac__type_sizeof_;
20222 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20229 rm -f conftest.$ac_objext
20230 if { (ac_try="$ac_compile"
20231 case "(($ac_try" in
20232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20233 *) ac_try_echo=$ac_try;;
20235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20236 (eval "$ac_compile") 2>conftest.er1
20238 grep -v '^ *+' conftest.er1 >conftest.err
20240 cat conftest.err >&5
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); } && {
20243 test -z "$ac_c_werror_flag" ||
20244 test ! -s conftest.err
20245 } && test -s conftest.$ac_objext; then
20246 ac_lo=$ac_mid; break
20248 echo "$as_me: failed program was:" >&5
20249 sed 's/^/| /' conftest.$ac_ext >&5
20251 ac_hi=`expr '(' $ac_mid ')' - 1`
20252 if test $ac_mid -le $ac_hi; then
20256 ac_mid=`expr 2 '*' $ac_mid`
20259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20262 echo "$as_me: failed program was:" >&5
20263 sed 's/^/| /' conftest.$ac_ext >&5
20268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20272 # Binary search between lo and hi bounds.
20273 while test "x$ac_lo" != "x$ac_hi"; do
20274 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20275 cat >conftest.$ac_ext <<_ACEOF
20278 cat confdefs.h >>conftest.$ac_ext
20279 cat >>conftest.$ac_ext <<_ACEOF
20280 /* end confdefs.h. */
20281 $ac_includes_default
20282 typedef int ac__type_sizeof_;
20286 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20293 rm -f conftest.$ac_objext
20294 if { (ac_try="$ac_compile"
20295 case "(($ac_try" in
20296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20297 *) ac_try_echo=$ac_try;;
20299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20300 (eval "$ac_compile") 2>conftest.er1
20302 grep -v '^ *+' conftest.er1 >conftest.err
20304 cat conftest.err >&5
20305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20306 (exit $ac_status); } && {
20307 test -z "$ac_c_werror_flag" ||
20308 test ! -s conftest.err
20309 } && test -s conftest.$ac_objext; then
20312 echo "$as_me: failed program was:" >&5
20313 sed 's/^/| /' conftest.$ac_ext >&5
20315 ac_lo=`expr '(' $ac_mid ')' + 1`
20318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20321 ?*) ac_cv_sizeof_int=$ac_lo;;
20322 '') if test "$ac_cv_type_int" = yes; then
20323 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20324 See \`config.log' for more details." >&5
20325 echo "$as_me: error: cannot compute sizeof (int)
20326 See \`config.log' for more details." >&2;}
20327 { (exit 77); exit 77; }; }
20333 cat >conftest.$ac_ext <<_ACEOF
20336 cat confdefs.h >>conftest.$ac_ext
20337 cat >>conftest.$ac_ext <<_ACEOF
20338 /* end confdefs.h. */
20339 $ac_includes_default
20340 typedef int ac__type_sizeof_;
20341 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20342 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20344 #include <stdlib.h>
20349 FILE *f = fopen ("conftest.val", "w");
20352 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20354 long int i = longval ();
20355 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20357 fprintf (f, "%ld\n", i);
20361 unsigned long int i = ulongval ();
20362 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20364 fprintf (f, "%lu\n", i);
20366 return ferror (f) || fclose (f) != 0;
20372 rm -f conftest$ac_exeext
20373 if { (ac_try="$ac_link"
20374 case "(($ac_try" in
20375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20376 *) ac_try_echo=$ac_try;;
20378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20379 (eval "$ac_link") 2>&5
20381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20382 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20383 { (case "(($ac_try" in
20384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20385 *) ac_try_echo=$ac_try;;
20387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20388 (eval "$ac_try") 2>&5
20390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391 (exit $ac_status); }; }; then
20392 ac_cv_sizeof_int=`cat conftest.val`
20394 echo "$as_me: program exited with status $ac_status" >&5
20395 echo "$as_me: failed program was:" >&5
20396 sed 's/^/| /' conftest.$ac_ext >&5
20398 ( exit $ac_status )
20399 if test "$ac_cv_type_int" = yes; then
20400 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20401 See \`config.log' for more details." >&5
20402 echo "$as_me: error: cannot compute sizeof (int)
20403 See \`config.log' for more details." >&2;}
20404 { (exit 77); exit 77; }; }
20409 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20413 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20414 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20418 cat >>confdefs.h <<_ACEOF
20419 #define SIZEOF_INT $ac_cv_sizeof_int
20423 { echo "$as_me:$LINENO: checking for long" >&5
20424 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20425 if test "${ac_cv_type_long+set}" = set; then
20426 echo $ECHO_N "(cached) $ECHO_C" >&6
20428 cat >conftest.$ac_ext <<_ACEOF
20431 cat confdefs.h >>conftest.$ac_ext
20432 cat >>conftest.$ac_ext <<_ACEOF
20433 /* end confdefs.h. */
20434 $ac_includes_default
20435 typedef long ac__type_new_;
20439 if ((ac__type_new_ *) 0)
20441 if (sizeof (ac__type_new_))
20447 rm -f conftest.$ac_objext
20448 if { (ac_try="$ac_compile"
20449 case "(($ac_try" in
20450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20451 *) ac_try_echo=$ac_try;;
20453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20454 (eval "$ac_compile") 2>conftest.er1
20456 grep -v '^ *+' conftest.er1 >conftest.err
20458 cat conftest.err >&5
20459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460 (exit $ac_status); } && {
20461 test -z "$ac_c_werror_flag" ||
20462 test ! -s conftest.err
20463 } && test -s conftest.$ac_objext; then
20464 ac_cv_type_long=yes
20466 echo "$as_me: failed program was:" >&5
20467 sed 's/^/| /' conftest.$ac_ext >&5
20472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20474 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20475 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20477 # The cast to long int works around a bug in the HP C Compiler
20478 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20479 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20480 # This bug is HP SR number 8606223364.
20481 { echo "$as_me:$LINENO: checking size of long" >&5
20482 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20483 if test "${ac_cv_sizeof_long+set}" = set; then
20484 echo $ECHO_N "(cached) $ECHO_C" >&6
20486 if test "$cross_compiling" = yes; then
20487 # Depending upon the size, compute the lo and hi bounds.
20488 cat >conftest.$ac_ext <<_ACEOF
20491 cat confdefs.h >>conftest.$ac_ext
20492 cat >>conftest.$ac_ext <<_ACEOF
20493 /* end confdefs.h. */
20494 $ac_includes_default
20495 typedef long ac__type_sizeof_;
20499 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20506 rm -f conftest.$ac_objext
20507 if { (ac_try="$ac_compile"
20508 case "(($ac_try" in
20509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20510 *) ac_try_echo=$ac_try;;
20512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20513 (eval "$ac_compile") 2>conftest.er1
20515 grep -v '^ *+' conftest.er1 >conftest.err
20517 cat conftest.err >&5
20518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20519 (exit $ac_status); } && {
20520 test -z "$ac_c_werror_flag" ||
20521 test ! -s conftest.err
20522 } && test -s conftest.$ac_objext; then
20525 cat >conftest.$ac_ext <<_ACEOF
20528 cat confdefs.h >>conftest.$ac_ext
20529 cat >>conftest.$ac_ext <<_ACEOF
20530 /* end confdefs.h. */
20531 $ac_includes_default
20532 typedef long ac__type_sizeof_;
20536 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20543 rm -f conftest.$ac_objext
20544 if { (ac_try="$ac_compile"
20545 case "(($ac_try" in
20546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20547 *) ac_try_echo=$ac_try;;
20549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20550 (eval "$ac_compile") 2>conftest.er1
20552 grep -v '^ *+' conftest.er1 >conftest.err
20554 cat conftest.err >&5
20555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556 (exit $ac_status); } && {
20557 test -z "$ac_c_werror_flag" ||
20558 test ! -s conftest.err
20559 } && test -s conftest.$ac_objext; then
20560 ac_hi=$ac_mid; break
20562 echo "$as_me: failed program was:" >&5
20563 sed 's/^/| /' conftest.$ac_ext >&5
20565 ac_lo=`expr $ac_mid + 1`
20566 if test $ac_lo -le $ac_mid; then
20570 ac_mid=`expr 2 '*' $ac_mid + 1`
20573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20576 echo "$as_me: failed program was:" >&5
20577 sed 's/^/| /' conftest.$ac_ext >&5
20579 cat >conftest.$ac_ext <<_ACEOF
20582 cat confdefs.h >>conftest.$ac_ext
20583 cat >>conftest.$ac_ext <<_ACEOF
20584 /* end confdefs.h. */
20585 $ac_includes_default
20586 typedef long ac__type_sizeof_;
20590 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20597 rm -f conftest.$ac_objext
20598 if { (ac_try="$ac_compile"
20599 case "(($ac_try" in
20600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20601 *) ac_try_echo=$ac_try;;
20603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20604 (eval "$ac_compile") 2>conftest.er1
20606 grep -v '^ *+' conftest.er1 >conftest.err
20608 cat conftest.err >&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); } && {
20611 test -z "$ac_c_werror_flag" ||
20612 test ! -s conftest.err
20613 } && test -s conftest.$ac_objext; then
20616 cat >conftest.$ac_ext <<_ACEOF
20619 cat confdefs.h >>conftest.$ac_ext
20620 cat >>conftest.$ac_ext <<_ACEOF
20621 /* end confdefs.h. */
20622 $ac_includes_default
20623 typedef long ac__type_sizeof_;
20627 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20634 rm -f conftest.$ac_objext
20635 if { (ac_try="$ac_compile"
20636 case "(($ac_try" in
20637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20638 *) ac_try_echo=$ac_try;;
20640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20641 (eval "$ac_compile") 2>conftest.er1
20643 grep -v '^ *+' conftest.er1 >conftest.err
20645 cat conftest.err >&5
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); } && {
20648 test -z "$ac_c_werror_flag" ||
20649 test ! -s conftest.err
20650 } && test -s conftest.$ac_objext; then
20651 ac_lo=$ac_mid; break
20653 echo "$as_me: failed program was:" >&5
20654 sed 's/^/| /' conftest.$ac_ext >&5
20656 ac_hi=`expr '(' $ac_mid ')' - 1`
20657 if test $ac_mid -le $ac_hi; then
20661 ac_mid=`expr 2 '*' $ac_mid`
20664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20667 echo "$as_me: failed program was:" >&5
20668 sed 's/^/| /' conftest.$ac_ext >&5
20673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20677 # Binary search between lo and hi bounds.
20678 while test "x$ac_lo" != "x$ac_hi"; do
20679 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20680 cat >conftest.$ac_ext <<_ACEOF
20683 cat confdefs.h >>conftest.$ac_ext
20684 cat >>conftest.$ac_ext <<_ACEOF
20685 /* end confdefs.h. */
20686 $ac_includes_default
20687 typedef long ac__type_sizeof_;
20691 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20698 rm -f conftest.$ac_objext
20699 if { (ac_try="$ac_compile"
20700 case "(($ac_try" in
20701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20702 *) ac_try_echo=$ac_try;;
20704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20705 (eval "$ac_compile") 2>conftest.er1
20707 grep -v '^ *+' conftest.er1 >conftest.err
20709 cat conftest.err >&5
20710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20711 (exit $ac_status); } && {
20712 test -z "$ac_c_werror_flag" ||
20713 test ! -s conftest.err
20714 } && test -s conftest.$ac_objext; then
20717 echo "$as_me: failed program was:" >&5
20718 sed 's/^/| /' conftest.$ac_ext >&5
20720 ac_lo=`expr '(' $ac_mid ')' + 1`
20723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20726 ?*) ac_cv_sizeof_long=$ac_lo;;
20727 '') if test "$ac_cv_type_long" = yes; then
20728 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20729 See \`config.log' for more details." >&5
20730 echo "$as_me: error: cannot compute sizeof (long)
20731 See \`config.log' for more details." >&2;}
20732 { (exit 77); exit 77; }; }
20734 ac_cv_sizeof_long=0
20738 cat >conftest.$ac_ext <<_ACEOF
20741 cat confdefs.h >>conftest.$ac_ext
20742 cat >>conftest.$ac_ext <<_ACEOF
20743 /* end confdefs.h. */
20744 $ac_includes_default
20745 typedef long ac__type_sizeof_;
20746 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20747 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20749 #include <stdlib.h>
20754 FILE *f = fopen ("conftest.val", "w");
20757 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20759 long int i = longval ();
20760 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20762 fprintf (f, "%ld\n", i);
20766 unsigned long int i = ulongval ();
20767 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20769 fprintf (f, "%lu\n", i);
20771 return ferror (f) || fclose (f) != 0;
20777 rm -f conftest$ac_exeext
20778 if { (ac_try="$ac_link"
20779 case "(($ac_try" in
20780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20781 *) ac_try_echo=$ac_try;;
20783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20784 (eval "$ac_link") 2>&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20788 { (case "(($ac_try" in
20789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20790 *) ac_try_echo=$ac_try;;
20792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20793 (eval "$ac_try") 2>&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); }; }; then
20797 ac_cv_sizeof_long=`cat conftest.val`
20799 echo "$as_me: program exited with status $ac_status" >&5
20800 echo "$as_me: failed program was:" >&5
20801 sed 's/^/| /' conftest.$ac_ext >&5
20803 ( exit $ac_status )
20804 if test "$ac_cv_type_long" = yes; then
20805 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20806 See \`config.log' for more details." >&5
20807 echo "$as_me: error: cannot compute sizeof (long)
20808 See \`config.log' for more details." >&2;}
20809 { (exit 77); exit 77; }; }
20811 ac_cv_sizeof_long=0
20814 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20818 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20819 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20823 cat >>confdefs.h <<_ACEOF
20824 #define SIZEOF_LONG $ac_cv_sizeof_long
20828 { echo "$as_me:$LINENO: checking for size_t" >&5
20829 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20830 if test "${ac_cv_type_size_t+set}" = set; then
20831 echo $ECHO_N "(cached) $ECHO_C" >&6
20833 cat >conftest.$ac_ext <<_ACEOF
20836 cat confdefs.h >>conftest.$ac_ext
20837 cat >>conftest.$ac_ext <<_ACEOF
20838 /* end confdefs.h. */
20839 $ac_includes_default
20840 typedef size_t ac__type_new_;
20844 if ((ac__type_new_ *) 0)
20846 if (sizeof (ac__type_new_))
20852 rm -f conftest.$ac_objext
20853 if { (ac_try="$ac_compile"
20854 case "(($ac_try" in
20855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20856 *) ac_try_echo=$ac_try;;
20858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20859 (eval "$ac_compile") 2>conftest.er1
20861 grep -v '^ *+' conftest.er1 >conftest.err
20863 cat conftest.err >&5
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); } && {
20866 test -z "$ac_c_werror_flag" ||
20867 test ! -s conftest.err
20868 } && test -s conftest.$ac_objext; then
20869 ac_cv_type_size_t=yes
20871 echo "$as_me: failed program was:" >&5
20872 sed 's/^/| /' conftest.$ac_ext >&5
20874 ac_cv_type_size_t=no
20877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20879 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20880 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20882 # The cast to long int works around a bug in the HP C Compiler
20883 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20884 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20885 # This bug is HP SR number 8606223364.
20886 { echo "$as_me:$LINENO: checking size of size_t" >&5
20887 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20888 if test "${ac_cv_sizeof_size_t+set}" = set; then
20889 echo $ECHO_N "(cached) $ECHO_C" >&6
20891 if test "$cross_compiling" = yes; then
20892 # Depending upon the size, compute the lo and hi bounds.
20893 cat >conftest.$ac_ext <<_ACEOF
20896 cat confdefs.h >>conftest.$ac_ext
20897 cat >>conftest.$ac_ext <<_ACEOF
20898 /* end confdefs.h. */
20899 $ac_includes_default
20900 typedef size_t ac__type_sizeof_;
20904 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20911 rm -f conftest.$ac_objext
20912 if { (ac_try="$ac_compile"
20913 case "(($ac_try" in
20914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20915 *) ac_try_echo=$ac_try;;
20917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20918 (eval "$ac_compile") 2>conftest.er1
20920 grep -v '^ *+' conftest.er1 >conftest.err
20922 cat conftest.err >&5
20923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20924 (exit $ac_status); } && {
20925 test -z "$ac_c_werror_flag" ||
20926 test ! -s conftest.err
20927 } && test -s conftest.$ac_objext; then
20930 cat >conftest.$ac_ext <<_ACEOF
20933 cat confdefs.h >>conftest.$ac_ext
20934 cat >>conftest.$ac_ext <<_ACEOF
20935 /* end confdefs.h. */
20936 $ac_includes_default
20937 typedef size_t ac__type_sizeof_;
20941 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20948 rm -f conftest.$ac_objext
20949 if { (ac_try="$ac_compile"
20950 case "(($ac_try" in
20951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20952 *) ac_try_echo=$ac_try;;
20954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20955 (eval "$ac_compile") 2>conftest.er1
20957 grep -v '^ *+' conftest.er1 >conftest.err
20959 cat conftest.err >&5
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); } && {
20962 test -z "$ac_c_werror_flag" ||
20963 test ! -s conftest.err
20964 } && test -s conftest.$ac_objext; then
20965 ac_hi=$ac_mid; break
20967 echo "$as_me: failed program was:" >&5
20968 sed 's/^/| /' conftest.$ac_ext >&5
20970 ac_lo=`expr $ac_mid + 1`
20971 if test $ac_lo -le $ac_mid; then
20975 ac_mid=`expr 2 '*' $ac_mid + 1`
20978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20981 echo "$as_me: failed program was:" >&5
20982 sed 's/^/| /' conftest.$ac_ext >&5
20984 cat >conftest.$ac_ext <<_ACEOF
20987 cat confdefs.h >>conftest.$ac_ext
20988 cat >>conftest.$ac_ext <<_ACEOF
20989 /* end confdefs.h. */
20990 $ac_includes_default
20991 typedef size_t ac__type_sizeof_;
20995 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21002 rm -f conftest.$ac_objext
21003 if { (ac_try="$ac_compile"
21004 case "(($ac_try" in
21005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21006 *) ac_try_echo=$ac_try;;
21008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21009 (eval "$ac_compile") 2>conftest.er1
21011 grep -v '^ *+' conftest.er1 >conftest.err
21013 cat conftest.err >&5
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); } && {
21016 test -z "$ac_c_werror_flag" ||
21017 test ! -s conftest.err
21018 } && test -s conftest.$ac_objext; then
21021 cat >conftest.$ac_ext <<_ACEOF
21024 cat confdefs.h >>conftest.$ac_ext
21025 cat >>conftest.$ac_ext <<_ACEOF
21026 /* end confdefs.h. */
21027 $ac_includes_default
21028 typedef size_t ac__type_sizeof_;
21032 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21039 rm -f conftest.$ac_objext
21040 if { (ac_try="$ac_compile"
21041 case "(($ac_try" in
21042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21043 *) ac_try_echo=$ac_try;;
21045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21046 (eval "$ac_compile") 2>conftest.er1
21048 grep -v '^ *+' conftest.er1 >conftest.err
21050 cat conftest.err >&5
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); } && {
21053 test -z "$ac_c_werror_flag" ||
21054 test ! -s conftest.err
21055 } && test -s conftest.$ac_objext; then
21056 ac_lo=$ac_mid; break
21058 echo "$as_me: failed program was:" >&5
21059 sed 's/^/| /' conftest.$ac_ext >&5
21061 ac_hi=`expr '(' $ac_mid ')' - 1`
21062 if test $ac_mid -le $ac_hi; then
21066 ac_mid=`expr 2 '*' $ac_mid`
21069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21072 echo "$as_me: failed program was:" >&5
21073 sed 's/^/| /' conftest.$ac_ext >&5
21078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21082 # Binary search between lo and hi bounds.
21083 while test "x$ac_lo" != "x$ac_hi"; do
21084 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21085 cat >conftest.$ac_ext <<_ACEOF
21088 cat confdefs.h >>conftest.$ac_ext
21089 cat >>conftest.$ac_ext <<_ACEOF
21090 /* end confdefs.h. */
21091 $ac_includes_default
21092 typedef size_t ac__type_sizeof_;
21096 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21103 rm -f conftest.$ac_objext
21104 if { (ac_try="$ac_compile"
21105 case "(($ac_try" in
21106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21107 *) ac_try_echo=$ac_try;;
21109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21110 (eval "$ac_compile") 2>conftest.er1
21112 grep -v '^ *+' conftest.er1 >conftest.err
21114 cat conftest.err >&5
21115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21116 (exit $ac_status); } && {
21117 test -z "$ac_c_werror_flag" ||
21118 test ! -s conftest.err
21119 } && test -s conftest.$ac_objext; then
21122 echo "$as_me: failed program was:" >&5
21123 sed 's/^/| /' conftest.$ac_ext >&5
21125 ac_lo=`expr '(' $ac_mid ')' + 1`
21128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21131 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21132 '') if test "$ac_cv_type_size_t" = yes; then
21133 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21134 See \`config.log' for more details." >&5
21135 echo "$as_me: error: cannot compute sizeof (size_t)
21136 See \`config.log' for more details." >&2;}
21137 { (exit 77); exit 77; }; }
21139 ac_cv_sizeof_size_t=0
21143 cat >conftest.$ac_ext <<_ACEOF
21146 cat confdefs.h >>conftest.$ac_ext
21147 cat >>conftest.$ac_ext <<_ACEOF
21148 /* end confdefs.h. */
21149 $ac_includes_default
21150 typedef size_t ac__type_sizeof_;
21151 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21152 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21154 #include <stdlib.h>
21159 FILE *f = fopen ("conftest.val", "w");
21162 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21164 long int i = longval ();
21165 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21167 fprintf (f, "%ld\n", i);
21171 unsigned long int i = ulongval ();
21172 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21174 fprintf (f, "%lu\n", i);
21176 return ferror (f) || fclose (f) != 0;
21182 rm -f conftest$ac_exeext
21183 if { (ac_try="$ac_link"
21184 case "(($ac_try" in
21185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21186 *) ac_try_echo=$ac_try;;
21188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21189 (eval "$ac_link") 2>&5
21191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21192 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21193 { (case "(($ac_try" in
21194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21195 *) ac_try_echo=$ac_try;;
21197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21198 (eval "$ac_try") 2>&5
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); }; }; then
21202 ac_cv_sizeof_size_t=`cat conftest.val`
21204 echo "$as_me: program exited with status $ac_status" >&5
21205 echo "$as_me: failed program was:" >&5
21206 sed 's/^/| /' conftest.$ac_ext >&5
21208 ( exit $ac_status )
21209 if test "$ac_cv_type_size_t" = yes; then
21210 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21211 See \`config.log' for more details." >&5
21212 echo "$as_me: error: cannot compute sizeof (size_t)
21213 See \`config.log' for more details." >&2;}
21214 { (exit 77); exit 77; }; }
21216 ac_cv_sizeof_size_t=0
21219 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21223 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21224 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21228 cat >>confdefs.h <<_ACEOF
21229 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21236 { echo "$as_me:$LINENO: checking for long long" >&5
21237 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21238 if test "${ac_cv_type_long_long+set}" = set; then
21239 echo $ECHO_N "(cached) $ECHO_C" >&6
21241 cat >conftest.$ac_ext <<_ACEOF
21244 cat confdefs.h >>conftest.$ac_ext
21245 cat >>conftest.$ac_ext <<_ACEOF
21246 /* end confdefs.h. */
21247 $ac_includes_default
21248 typedef long long ac__type_new_;
21252 if ((ac__type_new_ *) 0)
21254 if (sizeof (ac__type_new_))
21260 rm -f conftest.$ac_objext
21261 if { (ac_try="$ac_compile"
21262 case "(($ac_try" in
21263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21264 *) ac_try_echo=$ac_try;;
21266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21267 (eval "$ac_compile") 2>conftest.er1
21269 grep -v '^ *+' conftest.er1 >conftest.err
21271 cat conftest.err >&5
21272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21273 (exit $ac_status); } && {
21274 test -z "$ac_c_werror_flag" ||
21275 test ! -s conftest.err
21276 } && test -s conftest.$ac_objext; then
21277 ac_cv_type_long_long=yes
21279 echo "$as_me: failed program was:" >&5
21280 sed 's/^/| /' conftest.$ac_ext >&5
21282 ac_cv_type_long_long=no
21285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21287 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21288 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21290 # The cast to long int works around a bug in the HP C Compiler
21291 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21292 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21293 # This bug is HP SR number 8606223364.
21294 { echo "$as_me:$LINENO: checking size of long long" >&5
21295 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21296 if test "${ac_cv_sizeof_long_long+set}" = set; then
21297 echo $ECHO_N "(cached) $ECHO_C" >&6
21299 if test "$cross_compiling" = yes; then
21300 # Depending upon the size, compute the lo and hi bounds.
21301 cat >conftest.$ac_ext <<_ACEOF
21304 cat confdefs.h >>conftest.$ac_ext
21305 cat >>conftest.$ac_ext <<_ACEOF
21306 /* end confdefs.h. */
21307 $ac_includes_default
21308 typedef long long ac__type_sizeof_;
21312 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21319 rm -f conftest.$ac_objext
21320 if { (ac_try="$ac_compile"
21321 case "(($ac_try" in
21322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21323 *) ac_try_echo=$ac_try;;
21325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21326 (eval "$ac_compile") 2>conftest.er1
21328 grep -v '^ *+' conftest.er1 >conftest.err
21330 cat conftest.err >&5
21331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21332 (exit $ac_status); } && {
21333 test -z "$ac_c_werror_flag" ||
21334 test ! -s conftest.err
21335 } && test -s conftest.$ac_objext; then
21338 cat >conftest.$ac_ext <<_ACEOF
21341 cat confdefs.h >>conftest.$ac_ext
21342 cat >>conftest.$ac_ext <<_ACEOF
21343 /* end confdefs.h. */
21344 $ac_includes_default
21345 typedef long long ac__type_sizeof_;
21349 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21356 rm -f conftest.$ac_objext
21357 if { (ac_try="$ac_compile"
21358 case "(($ac_try" in
21359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21360 *) ac_try_echo=$ac_try;;
21362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21363 (eval "$ac_compile") 2>conftest.er1
21365 grep -v '^ *+' conftest.er1 >conftest.err
21367 cat conftest.err >&5
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); } && {
21370 test -z "$ac_c_werror_flag" ||
21371 test ! -s conftest.err
21372 } && test -s conftest.$ac_objext; then
21373 ac_hi=$ac_mid; break
21375 echo "$as_me: failed program was:" >&5
21376 sed 's/^/| /' conftest.$ac_ext >&5
21378 ac_lo=`expr $ac_mid + 1`
21379 if test $ac_lo -le $ac_mid; then
21383 ac_mid=`expr 2 '*' $ac_mid + 1`
21386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21389 echo "$as_me: failed program was:" >&5
21390 sed 's/^/| /' conftest.$ac_ext >&5
21392 cat >conftest.$ac_ext <<_ACEOF
21395 cat confdefs.h >>conftest.$ac_ext
21396 cat >>conftest.$ac_ext <<_ACEOF
21397 /* end confdefs.h. */
21398 $ac_includes_default
21399 typedef long long ac__type_sizeof_;
21403 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21410 rm -f conftest.$ac_objext
21411 if { (ac_try="$ac_compile"
21412 case "(($ac_try" in
21413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21414 *) ac_try_echo=$ac_try;;
21416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21417 (eval "$ac_compile") 2>conftest.er1
21419 grep -v '^ *+' conftest.er1 >conftest.err
21421 cat conftest.err >&5
21422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21423 (exit $ac_status); } && {
21424 test -z "$ac_c_werror_flag" ||
21425 test ! -s conftest.err
21426 } && test -s conftest.$ac_objext; then
21429 cat >conftest.$ac_ext <<_ACEOF
21432 cat confdefs.h >>conftest.$ac_ext
21433 cat >>conftest.$ac_ext <<_ACEOF
21434 /* end confdefs.h. */
21435 $ac_includes_default
21436 typedef long long ac__type_sizeof_;
21440 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21447 rm -f conftest.$ac_objext
21448 if { (ac_try="$ac_compile"
21449 case "(($ac_try" in
21450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21451 *) ac_try_echo=$ac_try;;
21453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21454 (eval "$ac_compile") 2>conftest.er1
21456 grep -v '^ *+' conftest.er1 >conftest.err
21458 cat conftest.err >&5
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); } && {
21461 test -z "$ac_c_werror_flag" ||
21462 test ! -s conftest.err
21463 } && test -s conftest.$ac_objext; then
21464 ac_lo=$ac_mid; break
21466 echo "$as_me: failed program was:" >&5
21467 sed 's/^/| /' conftest.$ac_ext >&5
21469 ac_hi=`expr '(' $ac_mid ')' - 1`
21470 if test $ac_mid -le $ac_hi; then
21474 ac_mid=`expr 2 '*' $ac_mid`
21477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21480 echo "$as_me: failed program was:" >&5
21481 sed 's/^/| /' conftest.$ac_ext >&5
21486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21490 # Binary search between lo and hi bounds.
21491 while test "x$ac_lo" != "x$ac_hi"; do
21492 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21493 cat >conftest.$ac_ext <<_ACEOF
21496 cat confdefs.h >>conftest.$ac_ext
21497 cat >>conftest.$ac_ext <<_ACEOF
21498 /* end confdefs.h. */
21499 $ac_includes_default
21500 typedef long long ac__type_sizeof_;
21504 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21511 rm -f conftest.$ac_objext
21512 if { (ac_try="$ac_compile"
21513 case "(($ac_try" in
21514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21515 *) ac_try_echo=$ac_try;;
21517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21518 (eval "$ac_compile") 2>conftest.er1
21520 grep -v '^ *+' conftest.er1 >conftest.err
21522 cat conftest.err >&5
21523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21524 (exit $ac_status); } && {
21525 test -z "$ac_c_werror_flag" ||
21526 test ! -s conftest.err
21527 } && test -s conftest.$ac_objext; then
21530 echo "$as_me: failed program was:" >&5
21531 sed 's/^/| /' conftest.$ac_ext >&5
21533 ac_lo=`expr '(' $ac_mid ')' + 1`
21536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21539 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21540 '') if test "$ac_cv_type_long_long" = yes; then
21541 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21542 See \`config.log' for more details." >&5
21543 echo "$as_me: error: cannot compute sizeof (long long)
21544 See \`config.log' for more details." >&2;}
21545 { (exit 77); exit 77; }; }
21547 ac_cv_sizeof_long_long=0
21551 cat >conftest.$ac_ext <<_ACEOF
21554 cat confdefs.h >>conftest.$ac_ext
21555 cat >>conftest.$ac_ext <<_ACEOF
21556 /* end confdefs.h. */
21557 $ac_includes_default
21558 typedef long long ac__type_sizeof_;
21559 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21560 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21562 #include <stdlib.h>
21567 FILE *f = fopen ("conftest.val", "w");
21570 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21572 long int i = longval ();
21573 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21575 fprintf (f, "%ld\n", i);
21579 unsigned long int i = ulongval ();
21580 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21582 fprintf (f, "%lu\n", i);
21584 return ferror (f) || fclose (f) != 0;
21590 rm -f conftest$ac_exeext
21591 if { (ac_try="$ac_link"
21592 case "(($ac_try" in
21593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21594 *) ac_try_echo=$ac_try;;
21596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21597 (eval "$ac_link") 2>&5
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21601 { (case "(($ac_try" in
21602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21603 *) ac_try_echo=$ac_try;;
21605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21606 (eval "$ac_try") 2>&5
21608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21609 (exit $ac_status); }; }; then
21610 ac_cv_sizeof_long_long=`cat conftest.val`
21612 echo "$as_me: program exited with status $ac_status" >&5
21613 echo "$as_me: failed program was:" >&5
21614 sed 's/^/| /' conftest.$ac_ext >&5
21616 ( exit $ac_status )
21617 if test "$ac_cv_type_long_long" = yes; then
21618 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21619 See \`config.log' for more details." >&5
21620 echo "$as_me: error: cannot compute sizeof (long long)
21621 See \`config.log' for more details." >&2;}
21622 { (exit 77); exit 77; }; }
21624 ac_cv_sizeof_long_long=0
21627 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21631 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21632 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21636 cat >>confdefs.h <<_ACEOF
21637 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21643 { echo "$as_me:$LINENO: checking for long long" >&5
21644 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21645 if test "${ac_cv_type_long_long+set}" = set; then
21646 echo $ECHO_N "(cached) $ECHO_C" >&6
21648 cat >conftest.$ac_ext <<_ACEOF
21651 cat confdefs.h >>conftest.$ac_ext
21652 cat >>conftest.$ac_ext <<_ACEOF
21653 /* end confdefs.h. */
21654 $ac_includes_default
21655 typedef long long ac__type_new_;
21659 if ((ac__type_new_ *) 0)
21661 if (sizeof (ac__type_new_))
21667 rm -f conftest.$ac_objext
21668 if { (ac_try="$ac_compile"
21669 case "(($ac_try" in
21670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21671 *) ac_try_echo=$ac_try;;
21673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21674 (eval "$ac_compile") 2>conftest.er1
21676 grep -v '^ *+' conftest.er1 >conftest.err
21678 cat conftest.err >&5
21679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21680 (exit $ac_status); } && {
21681 test -z "$ac_c_werror_flag" ||
21682 test ! -s conftest.err
21683 } && test -s conftest.$ac_objext; then
21684 ac_cv_type_long_long=yes
21686 echo "$as_me: failed program was:" >&5
21687 sed 's/^/| /' conftest.$ac_ext >&5
21689 ac_cv_type_long_long=no
21692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21694 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21695 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21697 # The cast to long int works around a bug in the HP C Compiler
21698 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21699 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21700 # This bug is HP SR number 8606223364.
21701 { echo "$as_me:$LINENO: checking size of long long" >&5
21702 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21703 if test "${ac_cv_sizeof_long_long+set}" = set; then
21704 echo $ECHO_N "(cached) $ECHO_C" >&6
21706 if test "$cross_compiling" = yes; then
21707 # Depending upon the size, compute the lo and hi bounds.
21708 cat >conftest.$ac_ext <<_ACEOF
21711 cat confdefs.h >>conftest.$ac_ext
21712 cat >>conftest.$ac_ext <<_ACEOF
21713 /* end confdefs.h. */
21714 $ac_includes_default
21715 typedef long long ac__type_sizeof_;
21719 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21726 rm -f conftest.$ac_objext
21727 if { (ac_try="$ac_compile"
21728 case "(($ac_try" in
21729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21730 *) ac_try_echo=$ac_try;;
21732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21733 (eval "$ac_compile") 2>conftest.er1
21735 grep -v '^ *+' conftest.er1 >conftest.err
21737 cat conftest.err >&5
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); } && {
21740 test -z "$ac_c_werror_flag" ||
21741 test ! -s conftest.err
21742 } && test -s conftest.$ac_objext; then
21745 cat >conftest.$ac_ext <<_ACEOF
21748 cat confdefs.h >>conftest.$ac_ext
21749 cat >>conftest.$ac_ext <<_ACEOF
21750 /* end confdefs.h. */
21751 $ac_includes_default
21752 typedef long long ac__type_sizeof_;
21756 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21763 rm -f conftest.$ac_objext
21764 if { (ac_try="$ac_compile"
21765 case "(($ac_try" in
21766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21767 *) ac_try_echo=$ac_try;;
21769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21770 (eval "$ac_compile") 2>conftest.er1
21772 grep -v '^ *+' conftest.er1 >conftest.err
21774 cat conftest.err >&5
21775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21776 (exit $ac_status); } && {
21777 test -z "$ac_c_werror_flag" ||
21778 test ! -s conftest.err
21779 } && test -s conftest.$ac_objext; then
21780 ac_hi=$ac_mid; break
21782 echo "$as_me: failed program was:" >&5
21783 sed 's/^/| /' conftest.$ac_ext >&5
21785 ac_lo=`expr $ac_mid + 1`
21786 if test $ac_lo -le $ac_mid; then
21790 ac_mid=`expr 2 '*' $ac_mid + 1`
21793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21796 echo "$as_me: failed program was:" >&5
21797 sed 's/^/| /' conftest.$ac_ext >&5
21799 cat >conftest.$ac_ext <<_ACEOF
21802 cat confdefs.h >>conftest.$ac_ext
21803 cat >>conftest.$ac_ext <<_ACEOF
21804 /* end confdefs.h. */
21805 $ac_includes_default
21806 typedef long long ac__type_sizeof_;
21810 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21817 rm -f conftest.$ac_objext
21818 if { (ac_try="$ac_compile"
21819 case "(($ac_try" in
21820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21821 *) ac_try_echo=$ac_try;;
21823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21824 (eval "$ac_compile") 2>conftest.er1
21826 grep -v '^ *+' conftest.er1 >conftest.err
21828 cat conftest.err >&5
21829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830 (exit $ac_status); } && {
21831 test -z "$ac_c_werror_flag" ||
21832 test ! -s conftest.err
21833 } && test -s conftest.$ac_objext; then
21836 cat >conftest.$ac_ext <<_ACEOF
21839 cat confdefs.h >>conftest.$ac_ext
21840 cat >>conftest.$ac_ext <<_ACEOF
21841 /* end confdefs.h. */
21842 $ac_includes_default
21843 typedef long long ac__type_sizeof_;
21847 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21854 rm -f conftest.$ac_objext
21855 if { (ac_try="$ac_compile"
21856 case "(($ac_try" in
21857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21858 *) ac_try_echo=$ac_try;;
21860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21861 (eval "$ac_compile") 2>conftest.er1
21863 grep -v '^ *+' conftest.er1 >conftest.err
21865 cat conftest.err >&5
21866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21867 (exit $ac_status); } && {
21868 test -z "$ac_c_werror_flag" ||
21869 test ! -s conftest.err
21870 } && test -s conftest.$ac_objext; then
21871 ac_lo=$ac_mid; break
21873 echo "$as_me: failed program was:" >&5
21874 sed 's/^/| /' conftest.$ac_ext >&5
21876 ac_hi=`expr '(' $ac_mid ')' - 1`
21877 if test $ac_mid -le $ac_hi; then
21881 ac_mid=`expr 2 '*' $ac_mid`
21884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21887 echo "$as_me: failed program was:" >&5
21888 sed 's/^/| /' conftest.$ac_ext >&5
21893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21897 # Binary search between lo and hi bounds.
21898 while test "x$ac_lo" != "x$ac_hi"; do
21899 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21900 cat >conftest.$ac_ext <<_ACEOF
21903 cat confdefs.h >>conftest.$ac_ext
21904 cat >>conftest.$ac_ext <<_ACEOF
21905 /* end confdefs.h. */
21906 $ac_includes_default
21907 typedef long long ac__type_sizeof_;
21911 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21918 rm -f conftest.$ac_objext
21919 if { (ac_try="$ac_compile"
21920 case "(($ac_try" in
21921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21922 *) ac_try_echo=$ac_try;;
21924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21925 (eval "$ac_compile") 2>conftest.er1
21927 grep -v '^ *+' conftest.er1 >conftest.err
21929 cat conftest.err >&5
21930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21931 (exit $ac_status); } && {
21932 test -z "$ac_c_werror_flag" ||
21933 test ! -s conftest.err
21934 } && test -s conftest.$ac_objext; then
21937 echo "$as_me: failed program was:" >&5
21938 sed 's/^/| /' conftest.$ac_ext >&5
21940 ac_lo=`expr '(' $ac_mid ')' + 1`
21943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21946 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21947 '') if test "$ac_cv_type_long_long" = yes; then
21948 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21949 See \`config.log' for more details." >&5
21950 echo "$as_me: error: cannot compute sizeof (long long)
21951 See \`config.log' for more details." >&2;}
21952 { (exit 77); exit 77; }; }
21954 ac_cv_sizeof_long_long=0
21958 cat >conftest.$ac_ext <<_ACEOF
21961 cat confdefs.h >>conftest.$ac_ext
21962 cat >>conftest.$ac_ext <<_ACEOF
21963 /* end confdefs.h. */
21964 $ac_includes_default
21965 typedef long long ac__type_sizeof_;
21966 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21967 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21969 #include <stdlib.h>
21974 FILE *f = fopen ("conftest.val", "w");
21977 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21979 long int i = longval ();
21980 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21982 fprintf (f, "%ld\n", i);
21986 unsigned long int i = ulongval ();
21987 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21989 fprintf (f, "%lu\n", i);
21991 return ferror (f) || fclose (f) != 0;
21997 rm -f conftest$ac_exeext
21998 if { (ac_try="$ac_link"
21999 case "(($ac_try" in
22000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22001 *) ac_try_echo=$ac_try;;
22003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22004 (eval "$ac_link") 2>&5
22006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22008 { (case "(($ac_try" in
22009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22010 *) ac_try_echo=$ac_try;;
22012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22013 (eval "$ac_try") 2>&5
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); }; }; then
22017 ac_cv_sizeof_long_long=`cat conftest.val`
22019 echo "$as_me: program exited with status $ac_status" >&5
22020 echo "$as_me: failed program was:" >&5
22021 sed 's/^/| /' conftest.$ac_ext >&5
22023 ( exit $ac_status )
22024 if test "$ac_cv_type_long_long" = yes; then
22025 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22026 See \`config.log' for more details." >&5
22027 echo "$as_me: error: cannot compute sizeof (long long)
22028 See \`config.log' for more details." >&2;}
22029 { (exit 77); exit 77; }; }
22031 ac_cv_sizeof_long_long=0
22034 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22038 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22039 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22043 cat >>confdefs.h <<_ACEOF
22044 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22048 if test "$ac_cv_sizeof_long_long" != 0; then
22049 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22053 { echo "$as_me:$LINENO: checking for long long" >&5
22054 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22055 if test "${ac_cv_type_long_long+set}" = set; then
22056 echo $ECHO_N "(cached) $ECHO_C" >&6
22058 cat >conftest.$ac_ext <<_ACEOF
22061 cat confdefs.h >>conftest.$ac_ext
22062 cat >>conftest.$ac_ext <<_ACEOF
22063 /* end confdefs.h. */
22064 $ac_includes_default
22065 typedef long long ac__type_new_;
22069 if ((ac__type_new_ *) 0)
22071 if (sizeof (ac__type_new_))
22077 rm -f conftest.$ac_objext
22078 if { (ac_try="$ac_compile"
22079 case "(($ac_try" in
22080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22081 *) ac_try_echo=$ac_try;;
22083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22084 (eval "$ac_compile") 2>conftest.er1
22086 grep -v '^ *+' conftest.er1 >conftest.err
22088 cat conftest.err >&5
22089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090 (exit $ac_status); } && {
22091 test -z "$ac_c_werror_flag" ||
22092 test ! -s conftest.err
22093 } && test -s conftest.$ac_objext; then
22094 ac_cv_type_long_long=yes
22096 echo "$as_me: failed program was:" >&5
22097 sed 's/^/| /' conftest.$ac_ext >&5
22099 ac_cv_type_long_long=no
22102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22104 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22105 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22107 # The cast to long int works around a bug in the HP C Compiler
22108 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22109 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22110 # This bug is HP SR number 8606223364.
22111 { echo "$as_me:$LINENO: checking size of long long" >&5
22112 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22113 if test "${ac_cv_sizeof_long_long+set}" = set; then
22114 echo $ECHO_N "(cached) $ECHO_C" >&6
22116 if test "$cross_compiling" = yes; then
22117 # Depending upon the size, compute the lo and hi bounds.
22118 cat >conftest.$ac_ext <<_ACEOF
22121 cat confdefs.h >>conftest.$ac_ext
22122 cat >>conftest.$ac_ext <<_ACEOF
22123 /* end confdefs.h. */
22124 $ac_includes_default
22125 typedef long long ac__type_sizeof_;
22129 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22136 rm -f conftest.$ac_objext
22137 if { (ac_try="$ac_compile"
22138 case "(($ac_try" in
22139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22140 *) ac_try_echo=$ac_try;;
22142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22143 (eval "$ac_compile") 2>conftest.er1
22145 grep -v '^ *+' conftest.er1 >conftest.err
22147 cat conftest.err >&5
22148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22149 (exit $ac_status); } && {
22150 test -z "$ac_c_werror_flag" ||
22151 test ! -s conftest.err
22152 } && test -s conftest.$ac_objext; then
22155 cat >conftest.$ac_ext <<_ACEOF
22158 cat confdefs.h >>conftest.$ac_ext
22159 cat >>conftest.$ac_ext <<_ACEOF
22160 /* end confdefs.h. */
22161 $ac_includes_default
22162 typedef long long ac__type_sizeof_;
22166 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22173 rm -f conftest.$ac_objext
22174 if { (ac_try="$ac_compile"
22175 case "(($ac_try" in
22176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22177 *) ac_try_echo=$ac_try;;
22179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22180 (eval "$ac_compile") 2>conftest.er1
22182 grep -v '^ *+' conftest.er1 >conftest.err
22184 cat conftest.err >&5
22185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22186 (exit $ac_status); } && {
22187 test -z "$ac_c_werror_flag" ||
22188 test ! -s conftest.err
22189 } && test -s conftest.$ac_objext; then
22190 ac_hi=$ac_mid; break
22192 echo "$as_me: failed program was:" >&5
22193 sed 's/^/| /' conftest.$ac_ext >&5
22195 ac_lo=`expr $ac_mid + 1`
22196 if test $ac_lo -le $ac_mid; then
22200 ac_mid=`expr 2 '*' $ac_mid + 1`
22203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22206 echo "$as_me: failed program was:" >&5
22207 sed 's/^/| /' conftest.$ac_ext >&5
22209 cat >conftest.$ac_ext <<_ACEOF
22212 cat confdefs.h >>conftest.$ac_ext
22213 cat >>conftest.$ac_ext <<_ACEOF
22214 /* end confdefs.h. */
22215 $ac_includes_default
22216 typedef long long ac__type_sizeof_;
22220 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22227 rm -f conftest.$ac_objext
22228 if { (ac_try="$ac_compile"
22229 case "(($ac_try" in
22230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22231 *) ac_try_echo=$ac_try;;
22233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22234 (eval "$ac_compile") 2>conftest.er1
22236 grep -v '^ *+' conftest.er1 >conftest.err
22238 cat conftest.err >&5
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); } && {
22241 test -z "$ac_c_werror_flag" ||
22242 test ! -s conftest.err
22243 } && test -s conftest.$ac_objext; then
22246 cat >conftest.$ac_ext <<_ACEOF
22249 cat confdefs.h >>conftest.$ac_ext
22250 cat >>conftest.$ac_ext <<_ACEOF
22251 /* end confdefs.h. */
22252 $ac_includes_default
22253 typedef long long ac__type_sizeof_;
22257 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22264 rm -f conftest.$ac_objext
22265 if { (ac_try="$ac_compile"
22266 case "(($ac_try" in
22267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22268 *) ac_try_echo=$ac_try;;
22270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22271 (eval "$ac_compile") 2>conftest.er1
22273 grep -v '^ *+' conftest.er1 >conftest.err
22275 cat conftest.err >&5
22276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22277 (exit $ac_status); } && {
22278 test -z "$ac_c_werror_flag" ||
22279 test ! -s conftest.err
22280 } && test -s conftest.$ac_objext; then
22281 ac_lo=$ac_mid; break
22283 echo "$as_me: failed program was:" >&5
22284 sed 's/^/| /' conftest.$ac_ext >&5
22286 ac_hi=`expr '(' $ac_mid ')' - 1`
22287 if test $ac_mid -le $ac_hi; then
22291 ac_mid=`expr 2 '*' $ac_mid`
22294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22297 echo "$as_me: failed program was:" >&5
22298 sed 's/^/| /' conftest.$ac_ext >&5
22303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22307 # Binary search between lo and hi bounds.
22308 while test "x$ac_lo" != "x$ac_hi"; do
22309 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22310 cat >conftest.$ac_ext <<_ACEOF
22313 cat confdefs.h >>conftest.$ac_ext
22314 cat >>conftest.$ac_ext <<_ACEOF
22315 /* end confdefs.h. */
22316 $ac_includes_default
22317 typedef long long ac__type_sizeof_;
22321 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22328 rm -f conftest.$ac_objext
22329 if { (ac_try="$ac_compile"
22330 case "(($ac_try" in
22331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22332 *) ac_try_echo=$ac_try;;
22334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22335 (eval "$ac_compile") 2>conftest.er1
22337 grep -v '^ *+' conftest.er1 >conftest.err
22339 cat conftest.err >&5
22340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341 (exit $ac_status); } && {
22342 test -z "$ac_c_werror_flag" ||
22343 test ! -s conftest.err
22344 } && test -s conftest.$ac_objext; then
22347 echo "$as_me: failed program was:" >&5
22348 sed 's/^/| /' conftest.$ac_ext >&5
22350 ac_lo=`expr '(' $ac_mid ')' + 1`
22353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22356 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22357 '') if test "$ac_cv_type_long_long" = yes; then
22358 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22359 See \`config.log' for more details." >&5
22360 echo "$as_me: error: cannot compute sizeof (long long)
22361 See \`config.log' for more details." >&2;}
22362 { (exit 77); exit 77; }; }
22364 ac_cv_sizeof_long_long=0
22368 cat >conftest.$ac_ext <<_ACEOF
22371 cat confdefs.h >>conftest.$ac_ext
22372 cat >>conftest.$ac_ext <<_ACEOF
22373 /* end confdefs.h. */
22374 $ac_includes_default
22375 typedef long long ac__type_sizeof_;
22376 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22377 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22379 #include <stdlib.h>
22384 FILE *f = fopen ("conftest.val", "w");
22387 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22389 long int i = longval ();
22390 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22392 fprintf (f, "%ld\n", i);
22396 unsigned long int i = ulongval ();
22397 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22399 fprintf (f, "%lu\n", i);
22401 return ferror (f) || fclose (f) != 0;
22407 rm -f conftest$ac_exeext
22408 if { (ac_try="$ac_link"
22409 case "(($ac_try" in
22410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22411 *) ac_try_echo=$ac_try;;
22413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22414 (eval "$ac_link") 2>&5
22416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22417 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22418 { (case "(($ac_try" in
22419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22420 *) ac_try_echo=$ac_try;;
22422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22423 (eval "$ac_try") 2>&5
22425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22426 (exit $ac_status); }; }; then
22427 ac_cv_sizeof_long_long=`cat conftest.val`
22429 echo "$as_me: program exited with status $ac_status" >&5
22430 echo "$as_me: failed program was:" >&5
22431 sed 's/^/| /' conftest.$ac_ext >&5
22433 ( exit $ac_status )
22434 if test "$ac_cv_type_long_long" = yes; then
22435 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22436 See \`config.log' for more details." >&5
22437 echo "$as_me: error: cannot compute sizeof (long long)
22438 See \`config.log' for more details." >&2;}
22439 { (exit 77); exit 77; }; }
22441 ac_cv_sizeof_long_long=0
22444 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22448 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22449 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22453 cat >>confdefs.h <<_ACEOF
22454 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22460 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22461 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22462 if test "${ac_cv_type_wchar_t+set}" = set; then
22463 echo $ECHO_N "(cached) $ECHO_C" >&6
22465 cat >conftest.$ac_ext <<_ACEOF
22468 cat confdefs.h >>conftest.$ac_ext
22469 cat >>conftest.$ac_ext <<_ACEOF
22470 /* end confdefs.h. */
22472 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22473 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22474 # error "fake wchar_t"
22476 #ifdef HAVE_WCHAR_H
22478 # include <stddef.h>
22480 # include <wchar.h>
22482 #ifdef HAVE_STDLIB_H
22483 # include <stdlib.h>
22489 typedef wchar_t ac__type_new_;
22493 if ((ac__type_new_ *) 0)
22495 if (sizeof (ac__type_new_))
22501 rm -f conftest.$ac_objext
22502 if { (ac_try="$ac_compile"
22503 case "(($ac_try" in
22504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22505 *) ac_try_echo=$ac_try;;
22507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22508 (eval "$ac_compile") 2>conftest.er1
22510 grep -v '^ *+' conftest.er1 >conftest.err
22512 cat conftest.err >&5
22513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514 (exit $ac_status); } && {
22515 test -z "$ac_c_werror_flag" ||
22516 test ! -s conftest.err
22517 } && test -s conftest.$ac_objext; then
22518 ac_cv_type_wchar_t=yes
22520 echo "$as_me: failed program was:" >&5
22521 sed 's/^/| /' conftest.$ac_ext >&5
22523 ac_cv_type_wchar_t=no
22526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22528 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22529 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22531 # The cast to long int works around a bug in the HP C Compiler
22532 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22533 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22534 # This bug is HP SR number 8606223364.
22535 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22536 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22537 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22538 echo $ECHO_N "(cached) $ECHO_C" >&6
22540 if test "$cross_compiling" = yes; then
22541 # Depending upon the size, compute the lo and hi bounds.
22542 cat >conftest.$ac_ext <<_ACEOF
22545 cat confdefs.h >>conftest.$ac_ext
22546 cat >>conftest.$ac_ext <<_ACEOF
22547 /* end confdefs.h. */
22549 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22550 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22551 # error "fake wchar_t"
22553 #ifdef HAVE_WCHAR_H
22555 # include <stddef.h>
22557 # include <wchar.h>
22559 #ifdef HAVE_STDLIB_H
22560 # include <stdlib.h>
22566 typedef wchar_t ac__type_sizeof_;
22570 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22577 rm -f conftest.$ac_objext
22578 if { (ac_try="$ac_compile"
22579 case "(($ac_try" in
22580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22581 *) ac_try_echo=$ac_try;;
22583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22584 (eval "$ac_compile") 2>conftest.er1
22586 grep -v '^ *+' conftest.er1 >conftest.err
22588 cat conftest.err >&5
22589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22590 (exit $ac_status); } && {
22591 test -z "$ac_c_werror_flag" ||
22592 test ! -s conftest.err
22593 } && test -s conftest.$ac_objext; then
22596 cat >conftest.$ac_ext <<_ACEOF
22599 cat confdefs.h >>conftest.$ac_ext
22600 cat >>conftest.$ac_ext <<_ACEOF
22601 /* end confdefs.h. */
22603 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22604 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22605 # error "fake wchar_t"
22607 #ifdef HAVE_WCHAR_H
22609 # include <stddef.h>
22611 # include <wchar.h>
22613 #ifdef HAVE_STDLIB_H
22614 # include <stdlib.h>
22620 typedef wchar_t ac__type_sizeof_;
22624 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22631 rm -f conftest.$ac_objext
22632 if { (ac_try="$ac_compile"
22633 case "(($ac_try" in
22634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22635 *) ac_try_echo=$ac_try;;
22637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22638 (eval "$ac_compile") 2>conftest.er1
22640 grep -v '^ *+' conftest.er1 >conftest.err
22642 cat conftest.err >&5
22643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22644 (exit $ac_status); } && {
22645 test -z "$ac_c_werror_flag" ||
22646 test ! -s conftest.err
22647 } && test -s conftest.$ac_objext; then
22648 ac_hi=$ac_mid; break
22650 echo "$as_me: failed program was:" >&5
22651 sed 's/^/| /' conftest.$ac_ext >&5
22653 ac_lo=`expr $ac_mid + 1`
22654 if test $ac_lo -le $ac_mid; then
22658 ac_mid=`expr 2 '*' $ac_mid + 1`
22661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22664 echo "$as_me: failed program was:" >&5
22665 sed 's/^/| /' conftest.$ac_ext >&5
22667 cat >conftest.$ac_ext <<_ACEOF
22670 cat confdefs.h >>conftest.$ac_ext
22671 cat >>conftest.$ac_ext <<_ACEOF
22672 /* end confdefs.h. */
22674 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22675 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22676 # error "fake wchar_t"
22678 #ifdef HAVE_WCHAR_H
22680 # include <stddef.h>
22682 # include <wchar.h>
22684 #ifdef HAVE_STDLIB_H
22685 # include <stdlib.h>
22691 typedef wchar_t ac__type_sizeof_;
22695 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22702 rm -f conftest.$ac_objext
22703 if { (ac_try="$ac_compile"
22704 case "(($ac_try" in
22705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22706 *) ac_try_echo=$ac_try;;
22708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22709 (eval "$ac_compile") 2>conftest.er1
22711 grep -v '^ *+' conftest.er1 >conftest.err
22713 cat conftest.err >&5
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); } && {
22716 test -z "$ac_c_werror_flag" ||
22717 test ! -s conftest.err
22718 } && test -s conftest.$ac_objext; then
22721 cat >conftest.$ac_ext <<_ACEOF
22724 cat confdefs.h >>conftest.$ac_ext
22725 cat >>conftest.$ac_ext <<_ACEOF
22726 /* end confdefs.h. */
22728 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22729 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22730 # error "fake wchar_t"
22732 #ifdef HAVE_WCHAR_H
22734 # include <stddef.h>
22736 # include <wchar.h>
22738 #ifdef HAVE_STDLIB_H
22739 # include <stdlib.h>
22745 typedef wchar_t ac__type_sizeof_;
22749 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22756 rm -f conftest.$ac_objext
22757 if { (ac_try="$ac_compile"
22758 case "(($ac_try" in
22759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22760 *) ac_try_echo=$ac_try;;
22762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22763 (eval "$ac_compile") 2>conftest.er1
22765 grep -v '^ *+' conftest.er1 >conftest.err
22767 cat conftest.err >&5
22768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22769 (exit $ac_status); } && {
22770 test -z "$ac_c_werror_flag" ||
22771 test ! -s conftest.err
22772 } && test -s conftest.$ac_objext; then
22773 ac_lo=$ac_mid; break
22775 echo "$as_me: failed program was:" >&5
22776 sed 's/^/| /' conftest.$ac_ext >&5
22778 ac_hi=`expr '(' $ac_mid ')' - 1`
22779 if test $ac_mid -le $ac_hi; then
22783 ac_mid=`expr 2 '*' $ac_mid`
22786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22789 echo "$as_me: failed program was:" >&5
22790 sed 's/^/| /' conftest.$ac_ext >&5
22795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22799 # Binary search between lo and hi bounds.
22800 while test "x$ac_lo" != "x$ac_hi"; do
22801 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22802 cat >conftest.$ac_ext <<_ACEOF
22805 cat confdefs.h >>conftest.$ac_ext
22806 cat >>conftest.$ac_ext <<_ACEOF
22807 /* end confdefs.h. */
22809 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22810 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22811 # error "fake wchar_t"
22813 #ifdef HAVE_WCHAR_H
22815 # include <stddef.h>
22817 # include <wchar.h>
22819 #ifdef HAVE_STDLIB_H
22820 # include <stdlib.h>
22826 typedef wchar_t ac__type_sizeof_;
22830 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22837 rm -f conftest.$ac_objext
22838 if { (ac_try="$ac_compile"
22839 case "(($ac_try" in
22840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22841 *) ac_try_echo=$ac_try;;
22843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22844 (eval "$ac_compile") 2>conftest.er1
22846 grep -v '^ *+' conftest.er1 >conftest.err
22848 cat conftest.err >&5
22849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22850 (exit $ac_status); } && {
22851 test -z "$ac_c_werror_flag" ||
22852 test ! -s conftest.err
22853 } && test -s conftest.$ac_objext; then
22856 echo "$as_me: failed program was:" >&5
22857 sed 's/^/| /' conftest.$ac_ext >&5
22859 ac_lo=`expr '(' $ac_mid ')' + 1`
22862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22865 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22866 '') if test "$ac_cv_type_wchar_t" = yes; then
22867 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22868 See \`config.log' for more details." >&5
22869 echo "$as_me: error: cannot compute sizeof (wchar_t)
22870 See \`config.log' for more details." >&2;}
22871 { (exit 77); exit 77; }; }
22873 ac_cv_sizeof_wchar_t=0
22877 cat >conftest.$ac_ext <<_ACEOF
22880 cat confdefs.h >>conftest.$ac_ext
22881 cat >>conftest.$ac_ext <<_ACEOF
22882 /* end confdefs.h. */
22884 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22885 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22886 # error "fake wchar_t"
22888 #ifdef HAVE_WCHAR_H
22890 # include <stddef.h>
22892 # include <wchar.h>
22894 #ifdef HAVE_STDLIB_H
22895 # include <stdlib.h>
22901 typedef wchar_t ac__type_sizeof_;
22902 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22903 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22905 #include <stdlib.h>
22910 FILE *f = fopen ("conftest.val", "w");
22913 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22915 long int i = longval ();
22916 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22918 fprintf (f, "%ld\n", i);
22922 unsigned long int i = ulongval ();
22923 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22925 fprintf (f, "%lu\n", i);
22927 return ferror (f) || fclose (f) != 0;
22933 rm -f conftest$ac_exeext
22934 if { (ac_try="$ac_link"
22935 case "(($ac_try" in
22936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22937 *) ac_try_echo=$ac_try;;
22939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22940 (eval "$ac_link") 2>&5
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22944 { (case "(($ac_try" in
22945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22946 *) ac_try_echo=$ac_try;;
22948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22949 (eval "$ac_try") 2>&5
22951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22952 (exit $ac_status); }; }; then
22953 ac_cv_sizeof_wchar_t=`cat conftest.val`
22955 echo "$as_me: program exited with status $ac_status" >&5
22956 echo "$as_me: failed program was:" >&5
22957 sed 's/^/| /' conftest.$ac_ext >&5
22959 ( exit $ac_status )
22960 if test "$ac_cv_type_wchar_t" = yes; then
22961 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22962 See \`config.log' for more details." >&5
22963 echo "$as_me: error: cannot compute sizeof (wchar_t)
22964 See \`config.log' for more details." >&2;}
22965 { (exit 77); exit 77; }; }
22967 ac_cv_sizeof_wchar_t=0
22970 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22974 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22975 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22979 cat >>confdefs.h <<_ACEOF
22980 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22984 if test "$ac_cv_sizeof_wchar_t" != 0; then
22990 { echo "$as_me:$LINENO: checking for va_copy" >&5
22991 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22992 if test "${wx_cv_func_va_copy+set}" = set; then
22993 echo $ECHO_N "(cached) $ECHO_C" >&6
22997 ac_cpp='$CXXCPP $CPPFLAGS'
22998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23002 cat >conftest.$ac_ext <<_ACEOF
23004 #include <stdarg.h>
23005 void foo(char *f, ...)
23019 rm -f conftest.$ac_objext conftest$ac_exeext
23020 if { (ac_try="$ac_link"
23021 case "(($ac_try" in
23022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23023 *) ac_try_echo=$ac_try;;
23025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23026 (eval "$ac_link") 2>conftest.er1
23028 grep -v '^ *+' conftest.er1 >conftest.err
23030 cat conftest.err >&5
23031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23032 (exit $ac_status); } && {
23033 test -z "$ac_cxx_werror_flag" ||
23034 test ! -s conftest.err
23035 } && test -s conftest$ac_exeext &&
23036 $as_test_x conftest$ac_exeext; then
23037 wx_cv_func_va_copy=yes
23039 echo "$as_me: failed program was:" >&5
23040 sed 's/^/| /' conftest.$ac_ext >&5
23042 wx_cv_func_va_copy=no
23046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23047 conftest$ac_exeext conftest.$ac_ext
23049 ac_cpp='$CPP $CPPFLAGS'
23050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23057 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23058 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23060 if test $wx_cv_func_va_copy = "yes"; then
23061 cat >>confdefs.h <<\_ACEOF
23062 #define HAVE_VA_COPY 1
23066 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23067 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23068 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23069 echo $ECHO_N "(cached) $ECHO_C" >&6
23072 if test "$cross_compiling" = yes; then
23073 wx_cv_type_va_list_lvalue=yes
23076 cat >conftest.$ac_ext <<_ACEOF
23078 #include <stdarg.h>
23079 int foo(char *f, ...)
23084 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23092 return foo("hi", 17);
23095 rm -f conftest$ac_exeext
23096 if { (ac_try="$ac_link"
23097 case "(($ac_try" in
23098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23099 *) ac_try_echo=$ac_try;;
23101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23102 (eval "$ac_link") 2>&5
23104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23105 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23106 { (case "(($ac_try" in
23107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23108 *) ac_try_echo=$ac_try;;
23110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23111 (eval "$ac_try") 2>&5
23113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23114 (exit $ac_status); }; }; then
23115 wx_cv_type_va_list_lvalue=yes
23117 echo "$as_me: program exited with status $ac_status" >&5
23118 echo "$as_me: failed program was:" >&5
23119 sed 's/^/| /' conftest.$ac_ext >&5
23121 ( exit $ac_status )
23122 wx_cv_type_va_list_lvalue=no
23124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23131 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23132 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23134 if test $wx_cv_type_va_list_lvalue != "yes"; then
23135 cat >>confdefs.h <<\_ACEOF
23136 #define VA_LIST_IS_ARRAY 1
23142 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23144 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23145 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23146 if test "${wx_cv_have_variadic_macros+set}" = set; then
23147 echo $ECHO_N "(cached) $ECHO_C" >&6
23151 ac_cpp='$CXXCPP $CPPFLAGS'
23152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23156 cat >conftest.$ac_ext <<_ACEOF
23159 cat confdefs.h >>conftest.$ac_ext
23160 cat >>conftest.$ac_ext <<_ACEOF
23161 /* end confdefs.h. */
23164 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23170 test("%s %d %p", "test", 1, 0);
23177 rm -f conftest.$ac_objext
23178 if { (ac_try="$ac_compile"
23179 case "(($ac_try" in
23180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23181 *) ac_try_echo=$ac_try;;
23183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23184 (eval "$ac_compile") 2>conftest.er1
23186 grep -v '^ *+' conftest.er1 >conftest.err
23188 cat conftest.err >&5
23189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23190 (exit $ac_status); } && {
23191 test -z "$ac_cxx_werror_flag" ||
23192 test ! -s conftest.err
23193 } && test -s conftest.$ac_objext; then
23194 wx_cv_have_variadic_macros=yes
23196 echo "$as_me: failed program was:" >&5
23197 sed 's/^/| /' conftest.$ac_ext >&5
23199 wx_cv_have_variadic_macros=no
23203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23205 ac_cpp='$CPP $CPPFLAGS'
23206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23213 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23214 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23216 if test $wx_cv_have_variadic_macros = "yes"; then
23217 cat >>confdefs.h <<\_ACEOF
23218 #define HAVE_VARIADIC_MACROS 1
23224 # Check whether --enable-largefile was given.
23225 if test "${enable_largefile+set}" = set; then
23226 enableval=$enable_largefile;
23229 if test "$enable_largefile" != no; then
23232 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23233 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23234 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23235 echo $ECHO_N "(cached) $ECHO_C" >&6
23238 cat >conftest.$ac_ext <<_ACEOF
23241 cat confdefs.h >>conftest.$ac_ext
23242 cat >>conftest.$ac_ext <<_ACEOF
23243 /* end confdefs.h. */
23244 #define _FILE_OFFSET_BITS 64
23245 #include <sys/types.h>
23250 unsigned int field: sizeof(off_t) == 8;
23257 rm -f conftest.$ac_objext
23258 if { (ac_try="$ac_compile"
23259 case "(($ac_try" in
23260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23261 *) ac_try_echo=$ac_try;;
23263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23264 (eval "$ac_compile") 2>conftest.er1
23266 grep -v '^ *+' conftest.er1 >conftest.err
23268 cat conftest.err >&5
23269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23270 (exit $ac_status); } && {
23271 test -z "$ac_c_werror_flag" ||
23272 test ! -s conftest.err
23273 } && test -s conftest.$ac_objext; then
23274 ac_cv_sys_file_offset_bits=64
23276 echo "$as_me: failed program was:" >&5
23277 sed 's/^/| /' conftest.$ac_ext >&5
23279 ac_cv_sys_file_offset_bits=no
23282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23286 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23287 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23289 if test "$ac_cv_sys_file_offset_bits" != no; then
23291 cat >>confdefs.h <<_ACEOF
23292 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23297 if test "x$wx_largefile" != "xyes"; then
23299 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23300 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23301 if test "${ac_cv_sys_large_files+set}" = set; then
23302 echo $ECHO_N "(cached) $ECHO_C" >&6
23305 cat >conftest.$ac_ext <<_ACEOF
23308 cat confdefs.h >>conftest.$ac_ext
23309 cat >>conftest.$ac_ext <<_ACEOF
23310 /* end confdefs.h. */
23311 #define _LARGE_FILES 1
23312 #include <sys/types.h>
23317 unsigned int field: sizeof(off_t) == 8;
23324 rm -f conftest.$ac_objext
23325 if { (ac_try="$ac_compile"
23326 case "(($ac_try" in
23327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23328 *) ac_try_echo=$ac_try;;
23330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23331 (eval "$ac_compile") 2>conftest.er1
23333 grep -v '^ *+' conftest.er1 >conftest.err
23335 cat conftest.err >&5
23336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23337 (exit $ac_status); } && {
23338 test -z "$ac_c_werror_flag" ||
23339 test ! -s conftest.err
23340 } && test -s conftest.$ac_objext; then
23341 ac_cv_sys_large_files=1
23343 echo "$as_me: failed program was:" >&5
23344 sed 's/^/| /' conftest.$ac_ext >&5
23346 ac_cv_sys_large_files=no
23349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23353 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23354 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23356 if test "$ac_cv_sys_large_files" != no; then
23358 cat >>confdefs.h <<_ACEOF
23359 #define _LARGE_FILES $ac_cv_sys_large_files
23366 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23367 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23368 if test "x$wx_largefile" = "xyes"; then
23369 cat >>confdefs.h <<\_ACEOF
23370 #define HAVE_LARGEFILE_SUPPORT 1
23374 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23375 echo "${ECHO_T}$wx_largefile" >&6; }
23379 if test "x$wx_largefile" = "xyes"; then
23380 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23381 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23383 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23384 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23385 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23386 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23387 echo $ECHO_N "(cached) $ECHO_C" >&6
23391 ac_cpp='$CXXCPP $CPPFLAGS'
23392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23396 cat >conftest.$ac_ext <<_ACEOF
23399 cat confdefs.h >>conftest.$ac_ext
23400 cat >>conftest.$ac_ext <<_ACEOF
23401 /* end confdefs.h. */
23407 #ifndef __STDC_EXT__
23415 rm -f conftest.$ac_objext
23416 if { (ac_try="$ac_compile"
23417 case "(($ac_try" in
23418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23419 *) ac_try_echo=$ac_try;;
23421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23422 (eval "$ac_compile") 2>conftest.er1
23424 grep -v '^ *+' conftest.er1 >conftest.err
23426 cat conftest.err >&5
23427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23428 (exit $ac_status); } && {
23429 test -z "$ac_cxx_werror_flag" ||
23430 test ! -s conftest.err
23431 } && test -s conftest.$ac_objext; then
23432 wx_cv_STDC_EXT_required=no
23434 echo "$as_me: failed program was:" >&5
23435 sed 's/^/| /' conftest.$ac_ext >&5
23437 wx_cv_STDC_EXT_required=yes
23441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23443 ac_cpp='$CPP $CPPFLAGS'
23444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23451 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23452 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23453 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23454 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23458 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23460 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23461 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23462 if test "${ac_cv_sys_largefile_source+set}" = set; then
23463 echo $ECHO_N "(cached) $ECHO_C" >&6
23466 cat >conftest.$ac_ext <<_ACEOF
23469 cat confdefs.h >>conftest.$ac_ext
23470 cat >>conftest.$ac_ext <<_ACEOF
23471 /* end confdefs.h. */
23472 #include <sys/types.h> /* for off_t */
23477 int (*fp) (FILE *, off_t, int) = fseeko;
23478 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23483 rm -f conftest.$ac_objext conftest$ac_exeext
23484 if { (ac_try="$ac_link"
23485 case "(($ac_try" in
23486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23487 *) ac_try_echo=$ac_try;;
23489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23490 (eval "$ac_link") 2>conftest.er1
23492 grep -v '^ *+' conftest.er1 >conftest.err
23494 cat conftest.err >&5
23495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23496 (exit $ac_status); } && {
23497 test -z "$ac_c_werror_flag" ||
23498 test ! -s conftest.err
23499 } && test -s conftest$ac_exeext &&
23500 $as_test_x conftest$ac_exeext; then
23501 ac_cv_sys_largefile_source=no; break
23503 echo "$as_me: failed program was:" >&5
23504 sed 's/^/| /' conftest.$ac_ext >&5
23509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23510 conftest$ac_exeext conftest.$ac_ext
23511 cat >conftest.$ac_ext <<_ACEOF
23514 cat confdefs.h >>conftest.$ac_ext
23515 cat >>conftest.$ac_ext <<_ACEOF
23516 /* end confdefs.h. */
23517 #define _LARGEFILE_SOURCE 1
23518 #include <sys/types.h> /* for off_t */
23523 int (*fp) (FILE *, off_t, int) = fseeko;
23524 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23529 rm -f conftest.$ac_objext conftest$ac_exeext
23530 if { (ac_try="$ac_link"
23531 case "(($ac_try" in
23532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23533 *) ac_try_echo=$ac_try;;
23535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23536 (eval "$ac_link") 2>conftest.er1
23538 grep -v '^ *+' conftest.er1 >conftest.err
23540 cat conftest.err >&5
23541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23542 (exit $ac_status); } && {
23543 test -z "$ac_c_werror_flag" ||
23544 test ! -s conftest.err
23545 } && test -s conftest$ac_exeext &&
23546 $as_test_x conftest$ac_exeext; then
23547 ac_cv_sys_largefile_source=1; break
23549 echo "$as_me: failed program was:" >&5
23550 sed 's/^/| /' conftest.$ac_ext >&5
23555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23556 conftest$ac_exeext conftest.$ac_ext
23557 ac_cv_sys_largefile_source=unknown
23561 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23562 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23563 case $ac_cv_sys_largefile_source in #(
23566 cat >>confdefs.h <<_ACEOF
23567 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23573 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23574 # in glibc 2.1.3, but that breaks too many other things.
23575 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23576 if test $ac_cv_sys_largefile_source != unknown; then
23578 cat >>confdefs.h <<\_ACEOF
23579 #define HAVE_FSEEKO 1
23584 if test "$ac_cv_sys_largefile_source" != no; then
23585 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23589 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23590 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23591 if test "${ac_cv_c_bigendian+set}" = set; then
23592 echo $ECHO_N "(cached) $ECHO_C" >&6
23594 ac_cv_c_bigendian=unknown
23595 # See if sys/param.h defines the BYTE_ORDER macro.
23596 cat >conftest.$ac_ext <<_ACEOF
23599 cat confdefs.h >>conftest.$ac_ext
23600 cat >>conftest.$ac_ext <<_ACEOF
23601 /* end confdefs.h. */
23602 #include <sys/types.h>
23603 #include <sys/param.h>
23608 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23609 bogus endian macros
23615 rm -f conftest.$ac_objext
23616 if { (ac_try="$ac_compile"
23617 case "(($ac_try" in
23618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23619 *) ac_try_echo=$ac_try;;
23621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23622 (eval "$ac_compile") 2>conftest.er1
23624 grep -v '^ *+' conftest.er1 >conftest.err
23626 cat conftest.err >&5
23627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23628 (exit $ac_status); } && {
23629 test -z "$ac_c_werror_flag" ||
23630 test ! -s conftest.err
23631 } && test -s conftest.$ac_objext; then
23632 # It does; now see whether it defined to BIG_ENDIAN or not.
23633 cat >conftest.$ac_ext <<_ACEOF
23636 cat confdefs.h >>conftest.$ac_ext
23637 cat >>conftest.$ac_ext <<_ACEOF
23638 /* end confdefs.h. */
23639 #include <sys/types.h>
23640 #include <sys/param.h>
23645 #if BYTE_ORDER != BIG_ENDIAN
23652 rm -f conftest.$ac_objext
23653 if { (ac_try="$ac_compile"
23654 case "(($ac_try" in
23655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23656 *) ac_try_echo=$ac_try;;
23658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23659 (eval "$ac_compile") 2>conftest.er1
23661 grep -v '^ *+' conftest.er1 >conftest.err
23663 cat conftest.err >&5
23664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23665 (exit $ac_status); } && {
23666 test -z "$ac_c_werror_flag" ||
23667 test ! -s conftest.err
23668 } && test -s conftest.$ac_objext; then
23669 ac_cv_c_bigendian=yes
23671 echo "$as_me: failed program was:" >&5
23672 sed 's/^/| /' conftest.$ac_ext >&5
23674 ac_cv_c_bigendian=no
23677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23679 echo "$as_me: failed program was:" >&5
23680 sed 's/^/| /' conftest.$ac_ext >&5
23685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23686 if test $ac_cv_c_bigendian = unknown; then
23687 if test "$cross_compiling" = yes; then
23688 ac_cv_c_bigendian=unknown
23690 cat >conftest.$ac_ext <<_ACEOF
23693 cat confdefs.h >>conftest.$ac_ext
23694 cat >>conftest.$ac_ext <<_ACEOF
23695 /* end confdefs.h. */
23697 /* Are we little or big endian? From Harbison&Steele. */
23701 char c[sizeof (long)];
23704 exit (u.c[sizeof (long) - 1] == 1);
23707 rm -f conftest$ac_exeext
23708 if { (ac_try="$ac_link"
23709 case "(($ac_try" in
23710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23711 *) ac_try_echo=$ac_try;;
23713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23714 (eval "$ac_link") 2>&5
23716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23717 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23718 { (case "(($ac_try" in
23719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23720 *) ac_try_echo=$ac_try;;
23722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23723 (eval "$ac_try") 2>&5
23725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23726 (exit $ac_status); }; }; then
23727 ac_cv_c_bigendian=no
23729 echo "$as_me: program exited with status $ac_status" >&5
23730 echo "$as_me: failed program was:" >&5
23731 sed 's/^/| /' conftest.$ac_ext >&5
23733 ( exit $ac_status )
23734 ac_cv_c_bigendian=yes
23736 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23742 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23743 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23744 if test $ac_cv_c_bigendian = unknown; then
23745 { 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
23746 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;}
23748 if test $ac_cv_c_bigendian = yes; then
23749 cat >>confdefs.h <<\_ACEOF
23750 #define WORDS_BIGENDIAN 1
23759 ac_cpp='$CXXCPP $CPPFLAGS'
23760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23766 for ac_header in iostream
23768 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23769 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23771 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23772 echo $ECHO_N "(cached) $ECHO_C" >&6
23774 cat >conftest.$ac_ext <<_ACEOF
23777 cat confdefs.h >>conftest.$ac_ext
23778 cat >>conftest.$ac_ext <<_ACEOF
23779 /* end confdefs.h. */
23782 #include <$ac_header>
23784 rm -f conftest.$ac_objext
23785 if { (ac_try="$ac_compile"
23786 case "(($ac_try" in
23787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23788 *) ac_try_echo=$ac_try;;
23790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23791 (eval "$ac_compile") 2>conftest.er1
23793 grep -v '^ *+' conftest.er1 >conftest.err
23795 cat conftest.err >&5
23796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23797 (exit $ac_status); } && {
23798 test -z "$ac_cxx_werror_flag" ||
23799 test ! -s conftest.err
23800 } && test -s conftest.$ac_objext; then
23801 eval "$as_ac_Header=yes"
23803 echo "$as_me: failed program was:" >&5
23804 sed 's/^/| /' conftest.$ac_ext >&5
23806 eval "$as_ac_Header=no"
23809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23811 ac_res=`eval echo '${'$as_ac_Header'}'`
23812 { echo "$as_me:$LINENO: result: $ac_res" >&5
23813 echo "${ECHO_T}$ac_res" >&6; }
23814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23815 cat >>confdefs.h <<_ACEOF
23816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23824 if test "$ac_cv_header_iostream" = "yes" ; then
23827 cat >>confdefs.h <<\_ACEOF
23828 #define wxUSE_IOSTREAMH 1
23834 ac_cpp='$CPP $CPPFLAGS'
23835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23842 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23843 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23844 if test "${wx_cv_cpp_bool+set}" = set; then
23845 echo $ECHO_N "(cached) $ECHO_C" >&6
23850 ac_cpp='$CXXCPP $CPPFLAGS'
23851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23856 cat >conftest.$ac_ext <<_ACEOF
23859 cat confdefs.h >>conftest.$ac_ext
23860 cat >>conftest.$ac_ext <<_ACEOF
23861 /* end confdefs.h. */
23876 rm -f conftest.$ac_objext
23877 if { (ac_try="$ac_compile"
23878 case "(($ac_try" in
23879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23880 *) ac_try_echo=$ac_try;;
23882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23883 (eval "$ac_compile") 2>conftest.er1
23885 grep -v '^ *+' conftest.er1 >conftest.err
23887 cat conftest.err >&5
23888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23889 (exit $ac_status); } && {
23890 test -z "$ac_cxx_werror_flag" ||
23891 test ! -s conftest.err
23892 } && test -s conftest.$ac_objext; then
23897 echo "$as_me: failed program was:" >&5
23898 sed 's/^/| /' conftest.$ac_ext >&5
23906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23909 ac_cpp='$CPP $CPPFLAGS'
23910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23916 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23917 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23919 if test "$wx_cv_cpp_bool" = "yes"; then
23920 cat >>confdefs.h <<\_ACEOF
23921 #define HAVE_BOOL 1
23928 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23929 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23930 if test "${wx_cv_explicit+set}" = set; then
23931 echo $ECHO_N "(cached) $ECHO_C" >&6
23936 ac_cpp='$CXXCPP $CPPFLAGS'
23937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23942 cat >conftest.$ac_ext <<_ACEOF
23945 cat confdefs.h >>conftest.$ac_ext
23946 cat >>conftest.$ac_ext <<_ACEOF
23947 /* end confdefs.h. */
23949 class Foo { public: explicit Foo(int) {} };
23961 rm -f conftest.$ac_objext
23962 if { (ac_try="$ac_compile"
23963 case "(($ac_try" in
23964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23965 *) ac_try_echo=$ac_try;;
23967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23968 (eval "$ac_compile") 2>conftest.er1
23970 grep -v '^ *+' conftest.er1 >conftest.err
23972 cat conftest.err >&5
23973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23974 (exit $ac_status); } && {
23975 test -z "$ac_cxx_werror_flag" ||
23976 test ! -s conftest.err
23977 } && test -s conftest.$ac_objext; then
23979 cat >conftest.$ac_ext <<_ACEOF
23982 cat confdefs.h >>conftest.$ac_ext
23983 cat >>conftest.$ac_ext <<_ACEOF
23984 /* end confdefs.h. */
23986 class Foo { public: explicit Foo(int) {} };
23987 static void TakeFoo(const Foo& foo) { }
24000 rm -f conftest.$ac_objext
24001 if { (ac_try="$ac_compile"
24002 case "(($ac_try" in
24003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24004 *) ac_try_echo=$ac_try;;
24006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24007 (eval "$ac_compile") 2>conftest.er1
24009 grep -v '^ *+' conftest.er1 >conftest.err
24011 cat conftest.err >&5
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); } && {
24014 test -z "$ac_cxx_werror_flag" ||
24015 test ! -s conftest.err
24016 } && test -s conftest.$ac_objext; then
24019 echo "$as_me: failed program was:" >&5
24020 sed 's/^/| /' conftest.$ac_ext >&5
24026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24029 echo "$as_me: failed program was:" >&5
24030 sed 's/^/| /' conftest.$ac_ext >&5
24036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24039 ac_cpp='$CPP $CPPFLAGS'
24040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24046 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24047 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24049 if test "$wx_cv_explicit" = "yes"; then
24050 cat >>confdefs.h <<\_ACEOF
24051 #define HAVE_EXPLICIT 1
24057 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
24058 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
24059 if test "${ac_cv_cxx_const_cast+set}" = set; then
24060 echo $ECHO_N "(cached) $ECHO_C" >&6
24064 ac_cpp='$CXXCPP $CPPFLAGS'
24065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24069 cat >conftest.$ac_ext <<_ACEOF
24072 cat confdefs.h >>conftest.$ac_ext
24073 cat >>conftest.$ac_ext <<_ACEOF
24074 /* end confdefs.h. */
24079 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
24084 rm -f conftest.$ac_objext
24085 if { (ac_try="$ac_compile"
24086 case "(($ac_try" in
24087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24088 *) ac_try_echo=$ac_try;;
24090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24091 (eval "$ac_compile") 2>conftest.er1
24093 grep -v '^ *+' conftest.er1 >conftest.err
24095 cat conftest.err >&5
24096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24097 (exit $ac_status); } && {
24098 test -z "$ac_cxx_werror_flag" ||
24099 test ! -s conftest.err
24100 } && test -s conftest.$ac_objext; then
24101 ac_cv_cxx_const_cast=yes
24103 echo "$as_me: failed program was:" >&5
24104 sed 's/^/| /' conftest.$ac_ext >&5
24106 ac_cv_cxx_const_cast=no
24109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24111 ac_cpp='$CPP $CPPFLAGS'
24112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24118 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24119 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24120 if test "$ac_cv_cxx_const_cast" = yes; then
24122 cat >>confdefs.h <<\_ACEOF
24123 #define HAVE_CONST_CAST
24128 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24129 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24130 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24131 echo $ECHO_N "(cached) $ECHO_C" >&6
24135 ac_cpp='$CXXCPP $CPPFLAGS'
24136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24140 cat >conftest.$ac_ext <<_ACEOF
24143 cat confdefs.h >>conftest.$ac_ext
24144 cat >>conftest.$ac_ext <<_ACEOF
24145 /* end confdefs.h. */
24146 #include <typeinfo>
24147 class Base { public : Base () {} virtual void f () = 0;};
24148 class Derived : public Base { public : Derived () {} virtual void f () {} };
24149 class Unrelated { public : Unrelated () {} };
24150 int g (Unrelated&) { return 0; }
24155 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24160 rm -f conftest.$ac_objext
24161 if { (ac_try="$ac_compile"
24162 case "(($ac_try" in
24163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24164 *) ac_try_echo=$ac_try;;
24166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24167 (eval "$ac_compile") 2>conftest.er1
24169 grep -v '^ *+' conftest.er1 >conftest.err
24171 cat conftest.err >&5
24172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24173 (exit $ac_status); } && {
24174 test -z "$ac_cxx_werror_flag" ||
24175 test ! -s conftest.err
24176 } && test -s conftest.$ac_objext; then
24177 ac_cv_cxx_reinterpret_cast=yes
24179 echo "$as_me: failed program was:" >&5
24180 sed 's/^/| /' conftest.$ac_ext >&5
24182 ac_cv_cxx_reinterpret_cast=no
24185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24187 ac_cpp='$CPP $CPPFLAGS'
24188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24194 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24195 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24196 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24198 cat >>confdefs.h <<\_ACEOF
24199 #define HAVE_REINTERPRET_CAST
24204 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24205 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24206 if test "${ac_cv_cxx_static_cast+set}" = set; then
24207 echo $ECHO_N "(cached) $ECHO_C" >&6
24211 ac_cpp='$CXXCPP $CPPFLAGS'
24212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24216 cat >conftest.$ac_ext <<_ACEOF
24219 cat confdefs.h >>conftest.$ac_ext
24220 cat >>conftest.$ac_ext <<_ACEOF
24221 /* end confdefs.h. */
24222 #include <typeinfo>
24223 class Base { public : Base () {} virtual void f () = 0; };
24224 class Derived : public Base { public : Derived () {} virtual void f () {} };
24225 int g (Derived&) { return 0; }
24230 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24235 rm -f conftest.$ac_objext
24236 if { (ac_try="$ac_compile"
24237 case "(($ac_try" in
24238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24239 *) ac_try_echo=$ac_try;;
24241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24242 (eval "$ac_compile") 2>conftest.er1
24244 grep -v '^ *+' conftest.er1 >conftest.err
24246 cat conftest.err >&5
24247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24248 (exit $ac_status); } && {
24249 test -z "$ac_cxx_werror_flag" ||
24250 test ! -s conftest.err
24251 } && test -s conftest.$ac_objext; then
24252 ac_cv_cxx_static_cast=yes
24254 echo "$as_me: failed program was:" >&5
24255 sed 's/^/| /' conftest.$ac_ext >&5
24257 ac_cv_cxx_static_cast=no
24260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24262 ac_cpp='$CPP $CPPFLAGS'
24263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24269 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24270 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24271 if test "$ac_cv_cxx_static_cast" = yes; then
24273 cat >>confdefs.h <<\_ACEOF
24274 #define HAVE_STATIC_CAST
24280 if test "x$SUNCXX" = xyes; then
24281 CXXFLAGS="-features=tmplife $CXXFLAGS"
24284 if test "x$SUNCC" = xyes; then
24285 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24288 if test "x$SGICC" = "xyes"; then
24289 CFLAGS="-woff 3970 $CFLAGS"
24291 if test "x$SGICXX" = "xyes"; then
24292 CXXFLAGS="-woff 3970 $CXXFLAGS"
24295 if test "x$HPCC" = "xyes"; then
24296 CFLAGS="+W 2011,2450 $CFLAGS"
24298 if test "x$HPCXX" = "xyes"; then
24299 CXXFLAGS="+W 2340 $CXXFLAGS"
24302 if test "x$COMPAQCXX" = "xyes"; then
24303 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24307 ac_cpp='$CXXCPP $CPPFLAGS'
24308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24313 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24314 if test "$wxUSE_UNICODE" = "yes"; then
24315 std_string="std::wstring"
24316 char_type="wchar_t"
24318 std_string="std::string"
24322 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24323 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24324 if test "${wx_cv_class_stdstring+set}" = set; then
24325 echo $ECHO_N "(cached) $ECHO_C" >&6
24328 cat >conftest.$ac_ext <<_ACEOF
24331 cat confdefs.h >>conftest.$ac_ext
24332 cat >>conftest.$ac_ext <<_ACEOF
24333 /* end confdefs.h. */
24343 rm -f conftest.$ac_objext
24344 if { (ac_try="$ac_compile"
24345 case "(($ac_try" in
24346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24347 *) ac_try_echo=$ac_try;;
24349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24350 (eval "$ac_compile") 2>conftest.er1
24352 grep -v '^ *+' conftest.er1 >conftest.err
24354 cat conftest.err >&5
24355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24356 (exit $ac_status); } && {
24357 test -z "$ac_cxx_werror_flag" ||
24358 test ! -s conftest.err
24359 } && test -s conftest.$ac_objext; then
24360 wx_cv_class_stdstring=yes
24362 echo "$as_me: failed program was:" >&5
24363 sed 's/^/| /' conftest.$ac_ext >&5
24365 wx_cv_class_stdstring=no
24369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24373 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24374 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24376 if test "$wx_cv_class_stdstring" = yes; then
24377 if test "$wxUSE_UNICODE" = "yes"; then
24378 cat >>confdefs.h <<\_ACEOF
24379 #define HAVE_STD_WSTRING 1
24384 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24385 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24386 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24387 echo $ECHO_N "(cached) $ECHO_C" >&6
24390 cat >conftest.$ac_ext <<_ACEOF
24393 cat confdefs.h >>conftest.$ac_ext
24394 cat >>conftest.$ac_ext <<_ACEOF
24395 /* end confdefs.h. */
24397 #ifdef HAVE_WCHAR_H
24399 # include <stddef.h>
24401 # include <wchar.h>
24403 #ifdef HAVE_STDLIB_H
24404 # include <stdlib.h>
24412 std::basic_string<$char_type> foo;
24413 const $char_type* dummy = foo.c_str();
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 wx_cv_class_stdbasicstring=yes
24437 echo "$as_me: failed program was:" >&5
24438 sed 's/^/| /' conftest.$ac_ext >&5
24440 wx_cv_class_stdbasicstring=no
24444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24448 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24449 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24451 if test "$wx_cv_class_stdbasicstring" != yes; then
24452 if test "$wxUSE_STL" = "yes"; then
24453 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24454 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24455 { (exit 1); exit 1; }; }
24456 elif test "$wxUSE_STD_STRING" = "yes"; then
24457 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24458 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24459 { (exit 1); exit 1; }; }
24461 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24462 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24463 wxUSE_STD_STRING=no
24469 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24470 { echo "$as_me:$LINENO: checking for std::istream" >&5
24471 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24472 if test "${ac_cv_type_std__istream+set}" = set; then
24473 echo $ECHO_N "(cached) $ECHO_C" >&6
24475 cat >conftest.$ac_ext <<_ACEOF
24478 cat confdefs.h >>conftest.$ac_ext
24479 cat >>conftest.$ac_ext <<_ACEOF
24480 /* end confdefs.h. */
24481 #include <iostream>
24483 typedef std::istream ac__type_new_;
24487 if ((ac__type_new_ *) 0)
24489 if (sizeof (ac__type_new_))
24495 rm -f conftest.$ac_objext
24496 if { (ac_try="$ac_compile"
24497 case "(($ac_try" in
24498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24499 *) ac_try_echo=$ac_try;;
24501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24502 (eval "$ac_compile") 2>conftest.er1
24504 grep -v '^ *+' conftest.er1 >conftest.err
24506 cat conftest.err >&5
24507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24508 (exit $ac_status); } && {
24509 test -z "$ac_cxx_werror_flag" ||
24510 test ! -s conftest.err
24511 } && test -s conftest.$ac_objext; then
24512 ac_cv_type_std__istream=yes
24514 echo "$as_me: failed program was:" >&5
24515 sed 's/^/| /' conftest.$ac_ext >&5
24517 ac_cv_type_std__istream=no
24520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24522 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24523 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24524 if test $ac_cv_type_std__istream = yes; then
24526 cat >>confdefs.h <<_ACEOF
24527 #define HAVE_STD__ISTREAM 1
24532 wxUSE_STD_IOSTREAM=no
24534 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24535 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24536 if test "${ac_cv_type_std__ostream+set}" = set; then
24537 echo $ECHO_N "(cached) $ECHO_C" >&6
24539 cat >conftest.$ac_ext <<_ACEOF
24542 cat confdefs.h >>conftest.$ac_ext
24543 cat >>conftest.$ac_ext <<_ACEOF
24544 /* end confdefs.h. */
24545 #include <iostream>
24547 typedef std::ostream ac__type_new_;
24551 if ((ac__type_new_ *) 0)
24553 if (sizeof (ac__type_new_))
24559 rm -f conftest.$ac_objext
24560 if { (ac_try="$ac_compile"
24561 case "(($ac_try" in
24562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24563 *) ac_try_echo=$ac_try;;
24565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24566 (eval "$ac_compile") 2>conftest.er1
24568 grep -v '^ *+' conftest.er1 >conftest.err
24570 cat conftest.err >&5
24571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24572 (exit $ac_status); } && {
24573 test -z "$ac_cxx_werror_flag" ||
24574 test ! -s conftest.err
24575 } && test -s conftest.$ac_objext; then
24576 ac_cv_type_std__ostream=yes
24578 echo "$as_me: failed program was:" >&5
24579 sed 's/^/| /' conftest.$ac_ext >&5
24581 ac_cv_type_std__ostream=no
24584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24586 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24587 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24588 if test $ac_cv_type_std__ostream = yes; then
24590 cat >>confdefs.h <<_ACEOF
24591 #define HAVE_STD__OSTREAM 1
24596 wxUSE_STD_IOSTREAM=no
24600 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24601 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24602 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24603 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24604 { (exit 1); exit 1; }; }
24606 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24607 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24612 if test "$wxUSE_STL" = "yes"; then
24613 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24614 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24615 if test "${wx_cv_lib_stl+set}" = set; then
24616 echo $ECHO_N "(cached) $ECHO_C" >&6
24618 cat >conftest.$ac_ext <<_ACEOF
24621 cat confdefs.h >>conftest.$ac_ext
24622 cat >>conftest.$ac_ext <<_ACEOF
24623 /* end confdefs.h. */
24625 #include <functional>
24626 #include <algorithm>
24632 std::vector<int> moo;
24633 std::list<int> foo;
24634 std::vector<int>::iterator it =
24635 std::find_if(moo.begin(), moo.end(),
24636 std::bind2nd(std::less<int>(), 3));
24641 rm -f conftest.$ac_objext
24642 if { (ac_try="$ac_compile"
24643 case "(($ac_try" in
24644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24645 *) ac_try_echo=$ac_try;;
24647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24648 (eval "$ac_compile") 2>conftest.er1
24650 grep -v '^ *+' conftest.er1 >conftest.err
24652 cat conftest.err >&5
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); } && {
24655 test -z "$ac_cxx_werror_flag" ||
24656 test ! -s conftest.err
24657 } && test -s conftest.$ac_objext; then
24660 echo "$as_me: failed program was:" >&5
24661 sed 's/^/| /' conftest.$ac_ext >&5
24667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24670 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24671 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24673 if test "$wx_cv_lib_stl" != yes; then
24674 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24675 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24676 { (exit 1); exit 1; }; }
24679 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24680 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24681 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24682 echo $ECHO_N "(cached) $ECHO_C" >&6
24684 cat >conftest.$ac_ext <<_ACEOF
24687 cat confdefs.h >>conftest.$ac_ext
24688 cat >>conftest.$ac_ext <<_ACEOF
24689 /* end confdefs.h. */
24694 std::string foo, bar;
24696 foo.compare(1, 1, bar);
24697 foo.compare(1, 1, bar, 1, 1);
24699 foo.compare(1, 1, "");
24700 foo.compare(1, 1, "", 2);
24705 rm -f conftest.$ac_objext
24706 if { (ac_try="$ac_compile"
24707 case "(($ac_try" in
24708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24709 *) ac_try_echo=$ac_try;;
24711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24712 (eval "$ac_compile") 2>conftest.er1
24714 grep -v '^ *+' conftest.er1 >conftest.err
24716 cat conftest.err >&5
24717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24718 (exit $ac_status); } && {
24719 test -z "$ac_cxx_werror_flag" ||
24720 test ! -s conftest.err
24721 } && test -s conftest.$ac_objext; then
24722 wx_cv_func_stdstring_compare=yes
24724 echo "$as_me: failed program was:" >&5
24725 sed 's/^/| /' conftest.$ac_ext >&5
24727 wx_cv_func_stdstring_compare=no
24731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24734 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24735 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24737 if test "$wx_cv_func_stdstring_compare" = yes; then
24738 cat >>confdefs.h <<\_ACEOF
24739 #define HAVE_STD_STRING_COMPARE 1
24744 { echo "$as_me:$LINENO: checking for hash_map" >&5
24745 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24746 if test "${ac_cv_header_hash_map+set}" = set; then
24747 echo $ECHO_N "(cached) $ECHO_C" >&6
24749 cat >conftest.$ac_ext <<_ACEOF
24752 cat confdefs.h >>conftest.$ac_ext
24753 cat >>conftest.$ac_ext <<_ACEOF
24754 /* end confdefs.h. */
24758 #include <hash_map>
24760 rm -f conftest.$ac_objext
24761 if { (ac_try="$ac_compile"
24762 case "(($ac_try" in
24763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24764 *) ac_try_echo=$ac_try;;
24766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24767 (eval "$ac_compile") 2>conftest.er1
24769 grep -v '^ *+' conftest.er1 >conftest.err
24771 cat conftest.err >&5
24772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24773 (exit $ac_status); } && {
24774 test -z "$ac_cxx_werror_flag" ||
24775 test ! -s conftest.err
24776 } && test -s conftest.$ac_objext; then
24777 ac_cv_header_hash_map=yes
24779 echo "$as_me: failed program was:" >&5
24780 sed 's/^/| /' conftest.$ac_ext >&5
24782 ac_cv_header_hash_map=no
24785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24787 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24788 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24789 if test $ac_cv_header_hash_map = yes; then
24790 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24791 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24792 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24793 echo $ECHO_N "(cached) $ECHO_C" >&6
24795 cat >conftest.$ac_ext <<_ACEOF
24798 cat confdefs.h >>conftest.$ac_ext
24799 cat >>conftest.$ac_ext <<_ACEOF
24800 /* end confdefs.h. */
24801 #include <hash_map>
24802 #include <hash_set>
24806 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24807 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24812 rm -f conftest.$ac_objext
24813 if { (ac_try="$ac_compile"
24814 case "(($ac_try" in
24815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24816 *) ac_try_echo=$ac_try;;
24818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24819 (eval "$ac_compile") 2>conftest.er1
24821 grep -v '^ *+' conftest.er1 >conftest.err
24823 cat conftest.err >&5
24824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24825 (exit $ac_status); } && {
24826 test -z "$ac_cxx_werror_flag" ||
24827 test ! -s conftest.err
24828 } && test -s conftest.$ac_objext; then
24829 wx_cv_class_stdhashmapset=yes
24831 echo "$as_me: failed program was:" >&5
24832 sed 's/^/| /' conftest.$ac_ext >&5
24834 wx_cv_class_stdhashmapset=no
24837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24841 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24842 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24847 if test "$wx_cv_class_stdhashmapset" = yes; then
24848 cat >>confdefs.h <<\_ACEOF
24849 #define HAVE_HASH_MAP 1
24852 cat >>confdefs.h <<\_ACEOF
24853 #define HAVE_STD_HASH_MAP 1
24858 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24859 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24860 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24861 echo $ECHO_N "(cached) $ECHO_C" >&6
24863 cat >conftest.$ac_ext <<_ACEOF
24866 cat confdefs.h >>conftest.$ac_ext
24867 cat >>conftest.$ac_ext <<_ACEOF
24868 /* end confdefs.h. */
24872 #include <ext/hash_map>
24874 rm -f conftest.$ac_objext
24875 if { (ac_try="$ac_compile"
24876 case "(($ac_try" in
24877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24878 *) ac_try_echo=$ac_try;;
24880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24881 (eval "$ac_compile") 2>conftest.er1
24883 grep -v '^ *+' conftest.er1 >conftest.err
24885 cat conftest.err >&5
24886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24887 (exit $ac_status); } && {
24888 test -z "$ac_cxx_werror_flag" ||
24889 test ! -s conftest.err
24890 } && test -s conftest.$ac_objext; then
24891 ac_cv_header_ext_hash_map=yes
24893 echo "$as_me: failed program was:" >&5
24894 sed 's/^/| /' conftest.$ac_ext >&5
24896 ac_cv_header_ext_hash_map=no
24899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24901 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24902 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24903 if test $ac_cv_header_ext_hash_map = yes; then
24904 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24905 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24906 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24907 echo $ECHO_N "(cached) $ECHO_C" >&6
24909 cat >conftest.$ac_ext <<_ACEOF
24912 cat confdefs.h >>conftest.$ac_ext
24913 cat >>conftest.$ac_ext <<_ACEOF
24914 /* end confdefs.h. */
24915 #include <ext/hash_map>
24916 #include <ext/hash_set>
24920 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24921 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24926 rm -f conftest.$ac_objext
24927 if { (ac_try="$ac_compile"
24928 case "(($ac_try" in
24929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24930 *) ac_try_echo=$ac_try;;
24932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24933 (eval "$ac_compile") 2>conftest.er1
24935 grep -v '^ *+' conftest.er1 >conftest.err
24937 cat conftest.err >&5
24938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24939 (exit $ac_status); } && {
24940 test -z "$ac_cxx_werror_flag" ||
24941 test ! -s conftest.err
24942 } && test -s conftest.$ac_objext; then
24943 wx_cv_class_gnuhashmapset=yes
24945 echo "$as_me: failed program was:" >&5
24946 sed 's/^/| /' conftest.$ac_ext >&5
24948 wx_cv_class_gnuhashmapset=no
24951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24955 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24956 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24961 if test "$wx_cv_class_gnuhashmapset" = yes; then
24962 cat >>confdefs.h <<\_ACEOF
24963 #define HAVE_EXT_HASH_MAP 1
24966 cat >>confdefs.h <<\_ACEOF
24967 #define HAVE_GNU_CXX_HASH_MAP 1
24975 if test -n "$GCC"; then
24976 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
24977 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
24978 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24979 echo $ECHO_N "(cached) $ECHO_C" >&6
24982 cat >conftest.$ac_ext <<_ACEOF
24985 cat confdefs.h >>conftest.$ac_ext
24986 cat >>conftest.$ac_ext <<_ACEOF
24987 /* end confdefs.h. */
24993 unsigned int value=0;
24994 /* wxAtomicInc doesn't use return value here */
24995 __sync_fetch_and_add(&value, 2);
24996 __sync_sub_and_fetch(&value, 1);
24997 /* but wxAtomicDec does, so mimic that: */
24998 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25004 rm -f conftest.$ac_objext conftest$ac_exeext
25005 if { (ac_try="$ac_link"
25006 case "(($ac_try" in
25007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25008 *) ac_try_echo=$ac_try;;
25010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25011 (eval "$ac_link") 2>conftest.er1
25013 grep -v '^ *+' conftest.er1 >conftest.err
25015 cat conftest.err >&5
25016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017 (exit $ac_status); } && {
25018 test -z "$ac_cxx_werror_flag" ||
25019 test ! -s conftest.err
25020 } && test -s conftest$ac_exeext &&
25021 $as_test_x conftest$ac_exeext; then
25022 wx_cv_cc_gcc_atomic_builtins=yes
25024 echo "$as_me: failed program was:" >&5
25025 sed 's/^/| /' conftest.$ac_ext >&5
25027 wx_cv_cc_gcc_atomic_builtins=no
25030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25031 conftest$ac_exeext conftest.$ac_ext
25035 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25036 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25037 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25038 cat >>confdefs.h <<\_ACEOF
25039 #define HAVE_GCC_ATOMIC_BUILTINS 1
25047 ac_cpp='$CPP $CPPFLAGS'
25048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25055 /usr/local/include \
25057 /usr/Motif-2.1/include \
25058 /usr/Motif-1.2/include \
25059 /usr/include/Motif1.2 \
25062 /usr/openwin/include \
25066 /usr/X11R6/include \
25067 /usr/X11R6.4/include \
25068 /usr/X11R5/include \
25069 /usr/X11R4/include \
25071 /usr/include/X11R6 \
25072 /usr/include/X11R5 \
25073 /usr/include/X11R4 \
25075 /usr/local/X11R6/include \
25076 /usr/local/X11R5/include \
25077 /usr/local/X11R4/include \
25079 /usr/local/include/X11R6 \
25080 /usr/local/include/X11R5 \
25081 /usr/local/include/X11R4 \
25085 /usr/local/X11/include \
25086 /usr/local/include/X11 \
25088 /usr/XFree86/include/X11 \
25091 /usr/openwin/share/include"
25093 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25094 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25098 if test "${wx_cv_std_libpath+set}" = set; then
25099 echo $ECHO_N "(cached) $ECHO_C" >&6
25102 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25103 for e in a so sl dylib dll.a; do
25105 if test -f $libc; then
25108 cat >conftest.$ac_ext <<_ACEOF
25109 int main() { return 0; }
25111 rm -f conftest.$ac_objext conftest$ac_exeext
25112 if { (ac_try="$ac_link"
25113 case "(($ac_try" in
25114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25115 *) ac_try_echo=$ac_try;;
25117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25118 (eval "$ac_link") 2>conftest.er1
25120 grep -v '^ *+' conftest.er1 >conftest.err
25122 cat conftest.err >&5
25123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25124 (exit $ac_status); } && {
25125 test -z "$ac_c_werror_flag" ||
25126 test ! -s conftest.err
25127 } && test -s conftest$ac_exeext &&
25128 $as_test_x conftest$ac_exeext; then
25129 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25131 echo "$as_me: failed program was:" >&5
25132 sed 's/^/| /' conftest.$ac_ext >&5
25137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25138 conftest$ac_exeext conftest.$ac_ext
25140 if test "x$wx_cv_std_libpath" != "x"; then
25146 if test "x$wx_cv_std_libpath" = "x"; then
25147 wx_cv_std_libpath="lib"
25156 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25157 wx_cv_std_libpath="lib/64"
25159 wx_cv_std_libpath="lib"
25164 if test "$ac_cv_sizeof_void_p" = 8 -a \
25165 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25166 wx_cv_std_libpath="lib64"
25168 wx_cv_std_libpath="lib"
25173 wx_cv_std_libpath="lib";
25177 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25178 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25180 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25182 if test "$build" != "$host" -a "$GCC" = yes; then
25183 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25184 cross_root=`dirname $cross_root`
25185 cross_root=`dirname $cross_root`
25187 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25188 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25189 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25191 if test -z "$PKG_CONFIG_PATH"; then
25192 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25193 export PKG_CONFIG_PATH
25196 if test -z "$x_includes" -o "$x_includes" = NONE; then
25199 for ac_dir in $SEARCH_INCLUDE /usr/include;
25201 if test -f "$ac_dir/X11/Intrinsic.h"; then
25202 ac_find_includes=$ac_dir
25207 x_includes=$ac_find_includes
25209 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25212 for ac_dir in $SEARCH_LIB;
25214 for ac_extension in a so sl dylib dll.a; do
25215 if test -f "$ac_dir/libXt.$ac_extension"; then
25216 ac_find_libraries=$ac_dir
25222 x_libraries=$ac_find_libraries
25228 cat >confcache <<\_ACEOF
25229 # This file is a shell script that caches the results of configure
25230 # tests run on this system so they can be shared between configure
25231 # scripts and configure runs, see configure's option --config-cache.
25232 # It is not useful on other systems. If it contains results you don't
25233 # want to keep, you may remove or edit it.
25235 # config.status only pays attention to the cache file if you give it
25236 # the --recheck option to rerun configure.
25238 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25239 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25240 # following values.
25244 # The following way of writing the cache mishandles newlines in values,
25245 # but we know of no workaround that is simple, portable, and efficient.
25246 # So, we kill variables containing newlines.
25247 # Ultrix sh set writes to stderr and can't be redirected directly,
25248 # and sets the high bit in the cache file unless we assign to the vars.
25250 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25251 eval ac_val=\$$ac_var
25255 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25256 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25259 _ | IFS | as_nl) ;; #(
25260 *) $as_unset $ac_var ;;
25266 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25267 *${as_nl}ac_space=\ *)
25268 # `set' does not quote correctly, so add quotes (double-quote
25269 # substitution turns \\\\ into \\, and sed turns \\ into \).
25272 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25275 # `set' quotes correctly as required by POSIX, so do not add quotes.
25276 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25285 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25287 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25289 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25290 if test -w "$cache_file"; then
25291 test "x$cache_file" != "x/dev/null" &&
25292 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25293 echo "$as_me: updating cache $cache_file" >&6;}
25294 cat confcache >$cache_file
25296 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25297 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25302 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25303 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25304 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25305 if test "${wx_cv_lib_glibc21+set}" = set; then
25306 echo $ECHO_N "(cached) $ECHO_C" >&6
25309 cat >conftest.$ac_ext <<_ACEOF
25312 cat confdefs.h >>conftest.$ac_ext
25313 cat >>conftest.$ac_ext <<_ACEOF
25314 /* end confdefs.h. */
25315 #include <features.h>
25320 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25328 rm -f conftest.$ac_objext
25329 if { (ac_try="$ac_compile"
25330 case "(($ac_try" in
25331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25332 *) ac_try_echo=$ac_try;;
25334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25335 (eval "$ac_compile") 2>conftest.er1
25337 grep -v '^ *+' conftest.er1 >conftest.err
25339 cat conftest.err >&5
25340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25341 (exit $ac_status); } && {
25342 test -z "$ac_c_werror_flag" ||
25343 test ! -s conftest.err
25344 } && test -s conftest.$ac_objext; then
25346 wx_cv_lib_glibc21=yes
25349 echo "$as_me: failed program was:" >&5
25350 sed 's/^/| /' conftest.$ac_ext >&5
25353 wx_cv_lib_glibc21=no
25358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25361 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25362 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25363 if test "$wx_cv_lib_glibc21" = "yes"; then
25364 cat >>confdefs.h <<\_ACEOF
25365 #define wxHAVE_GLIBC2 1
25371 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25372 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25373 cat >>confdefs.h <<\_ACEOF
25374 #define _GNU_SOURCE 1
25385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25386 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25388 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25389 echo $ECHO_N "(cached) $ECHO_C" >&6
25391 cat >conftest.$ac_ext <<_ACEOF
25394 cat confdefs.h >>conftest.$ac_ext
25395 cat >>conftest.$ac_ext <<_ACEOF
25396 /* end confdefs.h. */
25397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25399 #define $ac_func innocuous_$ac_func
25401 /* System header to define __stub macros and hopefully few prototypes,
25402 which can conflict with char $ac_func (); below.
25403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25404 <limits.h> exists even on freestanding compilers. */
25407 # include <limits.h>
25409 # include <assert.h>
25414 /* Override any GCC internal prototype to avoid an error.
25415 Use char because int might match the return type of a GCC
25416 builtin and then its argument prototype would still apply. */
25421 /* The GNU C library defines this for functions which it implements
25422 to always fail with ENOSYS. Some functions are actually named
25423 something starting with __ and the normal name is an alias. */
25424 #if defined __stub_$ac_func || defined __stub___$ac_func
25431 return $ac_func ();
25436 rm -f conftest.$ac_objext conftest$ac_exeext
25437 if { (ac_try="$ac_link"
25438 case "(($ac_try" in
25439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25440 *) ac_try_echo=$ac_try;;
25442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25443 (eval "$ac_link") 2>conftest.er1
25445 grep -v '^ *+' conftest.er1 >conftest.err
25447 cat conftest.err >&5
25448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25449 (exit $ac_status); } && {
25450 test -z "$ac_c_werror_flag" ||
25451 test ! -s conftest.err
25452 } && test -s conftest$ac_exeext &&
25453 $as_test_x conftest$ac_exeext; then
25454 eval "$as_ac_var=yes"
25456 echo "$as_me: failed program was:" >&5
25457 sed 's/^/| /' conftest.$ac_ext >&5
25459 eval "$as_ac_var=no"
25462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25463 conftest$ac_exeext conftest.$ac_ext
25465 ac_res=`eval echo '${'$as_ac_var'}'`
25466 { echo "$as_me:$LINENO: result: $ac_res" >&5
25467 echo "${ECHO_T}$ac_res" >&6; }
25468 if test `eval echo '${'$as_ac_var'}'` = yes; then
25469 cat >>confdefs.h <<_ACEOF
25470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25477 for ac_func in floor
25479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25480 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25482 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25483 echo $ECHO_N "(cached) $ECHO_C" >&6
25485 cat >conftest.$ac_ext <<_ACEOF
25488 cat confdefs.h >>conftest.$ac_ext
25489 cat >>conftest.$ac_ext <<_ACEOF
25490 /* end confdefs.h. */
25491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25493 #define $ac_func innocuous_$ac_func
25495 /* System header to define __stub macros and hopefully few prototypes,
25496 which can conflict with char $ac_func (); below.
25497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25498 <limits.h> exists even on freestanding compilers. */
25501 # include <limits.h>
25503 # include <assert.h>
25508 /* Override any GCC internal prototype to avoid an error.
25509 Use char because int might match the return type of a GCC
25510 builtin and then its argument prototype would still apply. */
25515 /* The GNU C library defines this for functions which it implements
25516 to always fail with ENOSYS. Some functions are actually named
25517 something starting with __ and the normal name is an alias. */
25518 #if defined __stub_$ac_func || defined __stub___$ac_func
25525 return $ac_func ();
25530 rm -f conftest.$ac_objext conftest$ac_exeext
25531 if { (ac_try="$ac_link"
25532 case "(($ac_try" in
25533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25534 *) ac_try_echo=$ac_try;;
25536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25537 (eval "$ac_link") 2>conftest.er1
25539 grep -v '^ *+' conftest.er1 >conftest.err
25541 cat conftest.err >&5
25542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25543 (exit $ac_status); } && {
25544 test -z "$ac_c_werror_flag" ||
25545 test ! -s conftest.err
25546 } && test -s conftest$ac_exeext &&
25547 $as_test_x conftest$ac_exeext; then
25548 eval "$as_ac_var=yes"
25550 echo "$as_me: failed program was:" >&5
25551 sed 's/^/| /' conftest.$ac_ext >&5
25553 eval "$as_ac_var=no"
25556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25557 conftest$ac_exeext conftest.$ac_ext
25559 ac_res=`eval echo '${'$as_ac_var'}'`
25560 { echo "$as_me:$LINENO: result: $ac_res" >&5
25561 echo "${ECHO_T}$ac_res" >&6; }
25562 if test `eval echo '${'$as_ac_var'}'` = yes; then
25563 cat >>confdefs.h <<_ACEOF
25564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25570 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25571 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25572 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25573 { echo "$as_me:$LINENO: result: yes" >&5
25574 echo "${ECHO_T}yes" >&6; }
25576 { echo "$as_me:$LINENO: result: no" >&5
25577 echo "${ECHO_T}no" >&6; }
25579 # use different functions to avoid configure caching
25585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25586 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25588 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25589 echo $ECHO_N "(cached) $ECHO_C" >&6
25591 cat >conftest.$ac_ext <<_ACEOF
25594 cat confdefs.h >>conftest.$ac_ext
25595 cat >>conftest.$ac_ext <<_ACEOF
25596 /* end confdefs.h. */
25597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25599 #define $ac_func innocuous_$ac_func
25601 /* System header to define __stub macros and hopefully few prototypes,
25602 which can conflict with char $ac_func (); below.
25603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25604 <limits.h> exists even on freestanding compilers. */
25607 # include <limits.h>
25609 # include <assert.h>
25614 /* Override any GCC internal prototype to avoid an error.
25615 Use char because int might match the return type of a GCC
25616 builtin and then its argument prototype would still apply. */
25621 /* The GNU C library defines this for functions which it implements
25622 to always fail with ENOSYS. Some functions are actually named
25623 something starting with __ and the normal name is an alias. */
25624 #if defined __stub_$ac_func || defined __stub___$ac_func
25631 return $ac_func ();
25636 rm -f conftest.$ac_objext conftest$ac_exeext
25637 if { (ac_try="$ac_link"
25638 case "(($ac_try" in
25639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25640 *) ac_try_echo=$ac_try;;
25642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25643 (eval "$ac_link") 2>conftest.er1
25645 grep -v '^ *+' conftest.er1 >conftest.err
25647 cat conftest.err >&5
25648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25649 (exit $ac_status); } && {
25650 test -z "$ac_c_werror_flag" ||
25651 test ! -s conftest.err
25652 } && test -s conftest$ac_exeext &&
25653 $as_test_x conftest$ac_exeext; then
25654 eval "$as_ac_var=yes"
25656 echo "$as_me: failed program was:" >&5
25657 sed 's/^/| /' conftest.$ac_ext >&5
25659 eval "$as_ac_var=no"
25662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25663 conftest$ac_exeext conftest.$ac_ext
25665 ac_res=`eval echo '${'$as_ac_var'}'`
25666 { echo "$as_me:$LINENO: result: $ac_res" >&5
25667 echo "${ECHO_T}$ac_res" >&6; }
25668 if test `eval echo '${'$as_ac_var'}'` = yes; then
25669 cat >>confdefs.h <<_ACEOF
25670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25677 for ac_func in ceil
25679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25680 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25682 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25683 echo $ECHO_N "(cached) $ECHO_C" >&6
25685 cat >conftest.$ac_ext <<_ACEOF
25688 cat confdefs.h >>conftest.$ac_ext
25689 cat >>conftest.$ac_ext <<_ACEOF
25690 /* end confdefs.h. */
25691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25693 #define $ac_func innocuous_$ac_func
25695 /* System header to define __stub macros and hopefully few prototypes,
25696 which can conflict with char $ac_func (); below.
25697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25698 <limits.h> exists even on freestanding compilers. */
25701 # include <limits.h>
25703 # include <assert.h>
25708 /* Override any GCC internal prototype to avoid an error.
25709 Use char because int might match the return type of a GCC
25710 builtin and then its argument prototype would still apply. */
25715 /* The GNU C library defines this for functions which it implements
25716 to always fail with ENOSYS. Some functions are actually named
25717 something starting with __ and the normal name is an alias. */
25718 #if defined __stub_$ac_func || defined __stub___$ac_func
25725 return $ac_func ();
25730 rm -f conftest.$ac_objext conftest$ac_exeext
25731 if { (ac_try="$ac_link"
25732 case "(($ac_try" in
25733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25734 *) ac_try_echo=$ac_try;;
25736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25737 (eval "$ac_link") 2>conftest.er1
25739 grep -v '^ *+' conftest.er1 >conftest.err
25741 cat conftest.err >&5
25742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25743 (exit $ac_status); } && {
25744 test -z "$ac_c_werror_flag" ||
25745 test ! -s conftest.err
25746 } && test -s conftest$ac_exeext &&
25747 $as_test_x conftest$ac_exeext; then
25748 eval "$as_ac_var=yes"
25750 echo "$as_me: failed program was:" >&5
25751 sed 's/^/| /' conftest.$ac_ext >&5
25753 eval "$as_ac_var=no"
25756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25757 conftest$ac_exeext conftest.$ac_ext
25759 ac_res=`eval echo '${'$as_ac_var'}'`
25760 { echo "$as_me:$LINENO: result: $ac_res" >&5
25761 echo "${ECHO_T}$ac_res" >&6; }
25762 if test `eval echo '${'$as_ac_var'}'` = yes; then
25763 cat >>confdefs.h <<_ACEOF
25764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25770 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25771 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25772 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25773 { echo "$as_me:$LINENO: result: yes" >&5
25774 echo "${ECHO_T}yes" >&6; }
25776 { echo "$as_me:$LINENO: result: no" >&5
25777 echo "${ECHO_T}no" >&6; }
25778 # not sure we should warn the user, crash, etc.
25783 ac_cpp='$CXXCPP $CPPFLAGS'
25784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25788 if test "wxUSE_UNICODE" = "yes"; then
25790 for wx_func in wcstoull
25792 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25793 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25794 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25795 echo $ECHO_N "(cached) $ECHO_C" >&6
25798 cat >conftest.$ac_ext <<_ACEOF
25802 cat confdefs.h >>conftest.$ac_ext
25803 cat >>conftest.$ac_ext <<_ACEOF
25804 /* end confdefs.h. */
25807 $ac_includes_default
25823 rm -f conftest.$ac_objext conftest$ac_exeext
25824 if { (ac_try="$ac_link"
25825 case "(($ac_try" in
25826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25827 *) ac_try_echo=$ac_try;;
25829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25830 (eval "$ac_link") 2>conftest.er1
25832 grep -v '^ *+' conftest.er1 >conftest.err
25834 cat conftest.err >&5
25835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25836 (exit $ac_status); } && {
25837 test -z "$ac_cxx_werror_flag" ||
25838 test ! -s conftest.err
25839 } && test -s conftest$ac_exeext &&
25840 $as_test_x conftest$ac_exeext; then
25841 eval wx_cv_func_$wx_func=yes
25843 echo "$as_me: failed program was:" >&5
25844 sed 's/^/| /' conftest.$ac_ext >&5
25846 eval wx_cv_func_$wx_func=no
25849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25850 conftest$ac_exeext conftest.$ac_ext
25853 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25854 { echo "$as_me:$LINENO: result: $ac_res" >&5
25855 echo "${ECHO_T}$ac_res" >&6; }
25857 if eval test \$wx_cv_func_$wx_func = yes
25859 cat >>confdefs.h <<_ACEOF
25860 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25872 for wx_func in strtoull
25874 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25875 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25876 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25877 echo $ECHO_N "(cached) $ECHO_C" >&6
25880 cat >conftest.$ac_ext <<_ACEOF
25884 cat confdefs.h >>conftest.$ac_ext
25885 cat >>conftest.$ac_ext <<_ACEOF
25886 /* end confdefs.h. */
25889 $ac_includes_default
25905 rm -f conftest.$ac_objext conftest$ac_exeext
25906 if { (ac_try="$ac_link"
25907 case "(($ac_try" in
25908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25909 *) ac_try_echo=$ac_try;;
25911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25912 (eval "$ac_link") 2>conftest.er1
25914 grep -v '^ *+' conftest.er1 >conftest.err
25916 cat conftest.err >&5
25917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25918 (exit $ac_status); } && {
25919 test -z "$ac_cxx_werror_flag" ||
25920 test ! -s conftest.err
25921 } && test -s conftest$ac_exeext &&
25922 $as_test_x conftest$ac_exeext; then
25923 eval wx_cv_func_$wx_func=yes
25925 echo "$as_me: failed program was:" >&5
25926 sed 's/^/| /' conftest.$ac_ext >&5
25928 eval wx_cv_func_$wx_func=no
25931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25932 conftest$ac_exeext conftest.$ac_ext
25935 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25936 { echo "$as_me:$LINENO: result: $ac_res" >&5
25937 echo "${ECHO_T}$ac_res" >&6; }
25939 if eval test \$wx_cv_func_$wx_func = yes
25941 cat >>confdefs.h <<_ACEOF
25942 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25954 ac_cpp='$CPP $CPPFLAGS'
25955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25962 if test "$wxUSE_REGEX" != "no"; then
25963 cat >>confdefs.h <<\_ACEOF
25964 #define wxUSE_REGEX 1
25968 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25969 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
25970 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
25971 wxUSE_REGEX=builtin
25974 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25975 { echo "$as_me:$LINENO: checking for regex.h" >&5
25976 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25977 if test "${ac_cv_header_regex_h+set}" = set; then
25978 echo $ECHO_N "(cached) $ECHO_C" >&6
25980 cat >conftest.$ac_ext <<_ACEOF
25983 cat confdefs.h >>conftest.$ac_ext
25984 cat >>conftest.$ac_ext <<_ACEOF
25985 /* end confdefs.h. */
25990 rm -f conftest.$ac_objext
25991 if { (ac_try="$ac_compile"
25992 case "(($ac_try" in
25993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25994 *) ac_try_echo=$ac_try;;
25996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25997 (eval "$ac_compile") 2>conftest.er1
25999 grep -v '^ *+' conftest.er1 >conftest.err
26001 cat conftest.err >&5
26002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26003 (exit $ac_status); } && {
26004 test -z "$ac_c_werror_flag" ||
26005 test ! -s conftest.err
26006 } && test -s conftest.$ac_objext; then
26007 ac_cv_header_regex_h=yes
26009 echo "$as_me: failed program was:" >&5
26010 sed 's/^/| /' conftest.$ac_ext >&5
26012 ac_cv_header_regex_h=no
26015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26017 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26018 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26019 if test $ac_cv_header_regex_h = yes; then
26022 for ac_func in regcomp re_search
26024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26025 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26027 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26028 echo $ECHO_N "(cached) $ECHO_C" >&6
26030 cat >conftest.$ac_ext <<_ACEOF
26033 cat confdefs.h >>conftest.$ac_ext
26034 cat >>conftest.$ac_ext <<_ACEOF
26035 /* end confdefs.h. */
26036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26038 #define $ac_func innocuous_$ac_func
26040 /* System header to define __stub macros and hopefully few prototypes,
26041 which can conflict with char $ac_func (); below.
26042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26043 <limits.h> exists even on freestanding compilers. */
26046 # include <limits.h>
26048 # include <assert.h>
26053 /* Override any GCC internal prototype to avoid an error.
26054 Use char because int might match the return type of a GCC
26055 builtin and then its argument prototype would still apply. */
26060 /* The GNU C library defines this for functions which it implements
26061 to always fail with ENOSYS. Some functions are actually named
26062 something starting with __ and the normal name is an alias. */
26063 #if defined __stub_$ac_func || defined __stub___$ac_func
26070 return $ac_func ();
26075 rm -f conftest.$ac_objext conftest$ac_exeext
26076 if { (ac_try="$ac_link"
26077 case "(($ac_try" in
26078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26079 *) ac_try_echo=$ac_try;;
26081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26082 (eval "$ac_link") 2>conftest.er1
26084 grep -v '^ *+' conftest.er1 >conftest.err
26086 cat conftest.err >&5
26087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26088 (exit $ac_status); } && {
26089 test -z "$ac_c_werror_flag" ||
26090 test ! -s conftest.err
26091 } && test -s conftest$ac_exeext &&
26092 $as_test_x conftest$ac_exeext; then
26093 eval "$as_ac_var=yes"
26095 echo "$as_me: failed program was:" >&5
26096 sed 's/^/| /' conftest.$ac_ext >&5
26098 eval "$as_ac_var=no"
26101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26102 conftest$ac_exeext conftest.$ac_ext
26104 ac_res=`eval echo '${'$as_ac_var'}'`
26105 { echo "$as_me:$LINENO: result: $ac_res" >&5
26106 echo "${ECHO_T}$ac_res" >&6; }
26107 if test `eval echo '${'$as_ac_var'}'` = yes; then
26108 cat >>confdefs.h <<_ACEOF
26109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26119 if test "x$ac_cv_func_regcomp" != "xyes"; then
26120 if test "$wxUSE_REGEX" = "sys" ; then
26121 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26122 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26123 { (exit 1); exit 1; }; }
26125 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26126 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26127 wxUSE_REGEX=builtin
26131 cat >>confdefs.h <<\_ACEOF
26132 #define WX_NO_REGEX_ADVANCED 1
26141 if test "$wxUSE_ZLIB" != "no" ; then
26142 cat >>confdefs.h <<\_ACEOF
26143 #define wxUSE_ZLIB 1
26147 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26148 if test "$USE_DARWIN" = 1; then
26149 system_zlib_h_ok="yes"
26151 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26152 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26153 if test "${ac_cv_header_zlib_h+set}" = set; then
26154 echo $ECHO_N "(cached) $ECHO_C" >&6
26156 if test "$cross_compiling" = yes; then
26157 unset ac_cv_header_zlib_h
26160 cat >conftest.$ac_ext <<_ACEOF
26163 cat confdefs.h >>conftest.$ac_ext
26164 cat >>conftest.$ac_ext <<_ACEOF
26165 /* end confdefs.h. */
26172 FILE *f=fopen("conftestval", "w");
26175 ZLIB_VERSION[0] == '1' &&
26176 (ZLIB_VERSION[2] > '1' ||
26177 (ZLIB_VERSION[2] == '1' &&
26178 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26183 rm -f conftest$ac_exeext
26184 if { (ac_try="$ac_link"
26185 case "(($ac_try" in
26186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26187 *) ac_try_echo=$ac_try;;
26189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26190 (eval "$ac_link") 2>&5
26192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26193 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26194 { (case "(($ac_try" in
26195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26196 *) ac_try_echo=$ac_try;;
26198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26199 (eval "$ac_try") 2>&5
26201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26202 (exit $ac_status); }; }; then
26203 ac_cv_header_zlib_h=`cat conftestval`
26205 echo "$as_me: program exited with status $ac_status" >&5
26206 echo "$as_me: failed program was:" >&5
26207 sed 's/^/| /' conftest.$ac_ext >&5
26209 ( exit $ac_status )
26210 ac_cv_header_zlib_h=no
26212 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26218 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26219 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26220 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26221 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26222 if test "${ac_cv_header_zlib_h+set}" = set; then
26223 echo $ECHO_N "(cached) $ECHO_C" >&6
26225 cat >conftest.$ac_ext <<_ACEOF
26228 cat confdefs.h >>conftest.$ac_ext
26229 cat >>conftest.$ac_ext <<_ACEOF
26230 /* end confdefs.h. */
26235 rm -f conftest.$ac_objext
26236 if { (ac_try="$ac_compile"
26237 case "(($ac_try" in
26238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26239 *) ac_try_echo=$ac_try;;
26241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26242 (eval "$ac_compile") 2>conftest.er1
26244 grep -v '^ *+' conftest.er1 >conftest.err
26246 cat conftest.err >&5
26247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26248 (exit $ac_status); } && {
26249 test -z "$ac_c_werror_flag" ||
26250 test ! -s conftest.err
26251 } && test -s conftest.$ac_objext; then
26252 ac_cv_header_zlib_h=yes
26254 echo "$as_me: failed program was:" >&5
26255 sed 's/^/| /' conftest.$ac_ext >&5
26257 ac_cv_header_zlib_h=no
26260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26262 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26263 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26267 system_zlib_h_ok=$ac_cv_header_zlib_h
26270 if test "$system_zlib_h_ok" = "yes"; then
26271 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26272 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26273 if test "${ac_cv_lib_z_deflate+set}" = set; then
26274 echo $ECHO_N "(cached) $ECHO_C" >&6
26276 ac_check_lib_save_LIBS=$LIBS
26278 cat >conftest.$ac_ext <<_ACEOF
26281 cat confdefs.h >>conftest.$ac_ext
26282 cat >>conftest.$ac_ext <<_ACEOF
26283 /* end confdefs.h. */
26285 /* Override any GCC internal prototype to avoid an error.
26286 Use char because int might match the return type of a GCC
26287 builtin and then its argument prototype would still apply. */
26300 rm -f conftest.$ac_objext conftest$ac_exeext
26301 if { (ac_try="$ac_link"
26302 case "(($ac_try" in
26303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26304 *) ac_try_echo=$ac_try;;
26306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26307 (eval "$ac_link") 2>conftest.er1
26309 grep -v '^ *+' conftest.er1 >conftest.err
26311 cat conftest.err >&5
26312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26313 (exit $ac_status); } && {
26314 test -z "$ac_c_werror_flag" ||
26315 test ! -s conftest.err
26316 } && test -s conftest$ac_exeext &&
26317 $as_test_x conftest$ac_exeext; then
26318 ac_cv_lib_z_deflate=yes
26320 echo "$as_me: failed program was:" >&5
26321 sed 's/^/| /' conftest.$ac_ext >&5
26323 ac_cv_lib_z_deflate=no
26326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26327 conftest$ac_exeext conftest.$ac_ext
26328 LIBS=$ac_check_lib_save_LIBS
26330 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26331 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26332 if test $ac_cv_lib_z_deflate = yes; then
26338 if test "x$ZLIB_LINK" = "x" ; then
26339 if test "$wxUSE_ZLIB" = "sys" ; then
26340 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26341 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26342 { (exit 1); exit 1; }; }
26344 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26345 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26356 if test "$wxUSE_LIBPNG" != "no" ; then
26357 cat >>confdefs.h <<\_ACEOF
26358 #define wxUSE_LIBPNG 1
26362 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26363 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26364 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26368 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26369 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26370 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26371 wxUSE_LIBPNG=builtin
26374 if test "$wxUSE_MGL" != 1 ; then
26375 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26376 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26377 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26378 if test "${ac_cv_header_png_h+set}" = set; then
26379 echo $ECHO_N "(cached) $ECHO_C" >&6
26381 if test "$cross_compiling" = yes; then
26382 unset ac_cv_header_png_h
26385 cat >conftest.$ac_ext <<_ACEOF
26388 cat confdefs.h >>conftest.$ac_ext
26389 cat >>conftest.$ac_ext <<_ACEOF
26390 /* end confdefs.h. */
26397 FILE *f=fopen("conftestval", "w");
26400 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26405 rm -f conftest$ac_exeext
26406 if { (ac_try="$ac_link"
26407 case "(($ac_try" in
26408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26409 *) ac_try_echo=$ac_try;;
26411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26412 (eval "$ac_link") 2>&5
26414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26415 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26416 { (case "(($ac_try" in
26417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26418 *) ac_try_echo=$ac_try;;
26420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26421 (eval "$ac_try") 2>&5
26423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 (exit $ac_status); }; }; then
26425 ac_cv_header_png_h=`cat conftestval`
26427 echo "$as_me: program exited with status $ac_status" >&5
26428 echo "$as_me: failed program was:" >&5
26429 sed 's/^/| /' conftest.$ac_ext >&5
26431 ( exit $ac_status )
26432 ac_cv_header_png_h=no
26434 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26440 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26441 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26442 { echo "$as_me:$LINENO: checking for png.h" >&5
26443 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26444 if test "${ac_cv_header_png_h+set}" = set; then
26445 echo $ECHO_N "(cached) $ECHO_C" >&6
26447 cat >conftest.$ac_ext <<_ACEOF
26450 cat confdefs.h >>conftest.$ac_ext
26451 cat >>conftest.$ac_ext <<_ACEOF
26452 /* end confdefs.h. */
26457 rm -f conftest.$ac_objext
26458 if { (ac_try="$ac_compile"
26459 case "(($ac_try" in
26460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26461 *) ac_try_echo=$ac_try;;
26463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26464 (eval "$ac_compile") 2>conftest.er1
26466 grep -v '^ *+' conftest.er1 >conftest.err
26468 cat conftest.err >&5
26469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26470 (exit $ac_status); } && {
26471 test -z "$ac_c_werror_flag" ||
26472 test ! -s conftest.err
26473 } && test -s conftest.$ac_objext; then
26474 ac_cv_header_png_h=yes
26476 echo "$as_me: failed program was:" >&5
26477 sed 's/^/| /' conftest.$ac_ext >&5
26479 ac_cv_header_png_h=no
26482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26484 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26485 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26489 if test "$ac_cv_header_png_h" = "yes"; then
26490 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26491 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26492 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26493 echo $ECHO_N "(cached) $ECHO_C" >&6
26495 ac_check_lib_save_LIBS=$LIBS
26496 LIBS="-lpng -lz -lm $LIBS"
26497 cat >conftest.$ac_ext <<_ACEOF
26500 cat confdefs.h >>conftest.$ac_ext
26501 cat >>conftest.$ac_ext <<_ACEOF
26502 /* end confdefs.h. */
26504 /* Override any GCC internal prototype to avoid an error.
26505 Use char because int might match the return type of a GCC
26506 builtin and then its argument prototype would still apply. */
26510 char png_check_sig ();
26514 return png_check_sig ();
26519 rm -f conftest.$ac_objext conftest$ac_exeext
26520 if { (ac_try="$ac_link"
26521 case "(($ac_try" in
26522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26523 *) ac_try_echo=$ac_try;;
26525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26526 (eval "$ac_link") 2>conftest.er1
26528 grep -v '^ *+' conftest.er1 >conftest.err
26530 cat conftest.err >&5
26531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26532 (exit $ac_status); } && {
26533 test -z "$ac_c_werror_flag" ||
26534 test ! -s conftest.err
26535 } && test -s conftest$ac_exeext &&
26536 $as_test_x conftest$ac_exeext; then
26537 ac_cv_lib_png_png_check_sig=yes
26539 echo "$as_me: failed program was:" >&5
26540 sed 's/^/| /' conftest.$ac_ext >&5
26542 ac_cv_lib_png_png_check_sig=no
26545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26546 conftest$ac_exeext conftest.$ac_ext
26547 LIBS=$ac_check_lib_save_LIBS
26549 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26550 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26551 if test $ac_cv_lib_png_png_check_sig = yes; then
26552 PNG_LINK=" -lpng -lz"
26557 if test "x$PNG_LINK" = "x" ; then
26558 if test "$wxUSE_LIBPNG" = "sys" ; then
26559 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26560 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26561 { (exit 1); exit 1; }; }
26563 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26564 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26565 wxUSE_LIBPNG=builtin
26576 if test "$wxUSE_LIBJPEG" != "no" ; then
26577 cat >>confdefs.h <<\_ACEOF
26578 #define wxUSE_LIBJPEG 1
26582 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26583 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26584 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26588 if test "$wxUSE_MGL" != 1 ; then
26589 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26590 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26591 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26592 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26593 echo $ECHO_N "(cached) $ECHO_C" >&6
26595 cat >conftest.$ac_ext <<_ACEOF
26598 cat confdefs.h >>conftest.$ac_ext
26599 cat >>conftest.$ac_ext <<_ACEOF
26600 /* end confdefs.h. */
26602 #undef HAVE_STDLIB_H
26604 #include <jpeglib.h>
26615 rm -f conftest.$ac_objext
26616 if { (ac_try="$ac_compile"
26617 case "(($ac_try" in
26618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26619 *) ac_try_echo=$ac_try;;
26621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26622 (eval "$ac_compile") 2>conftest.er1
26624 grep -v '^ *+' conftest.er1 >conftest.err
26626 cat conftest.err >&5
26627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26628 (exit $ac_status); } && {
26629 test -z "$ac_c_werror_flag" ||
26630 test ! -s conftest.err
26631 } && test -s conftest.$ac_objext; then
26632 ac_cv_header_jpeglib_h=yes
26634 echo "$as_me: failed program was:" >&5
26635 sed 's/^/| /' conftest.$ac_ext >&5
26637 ac_cv_header_jpeglib_h=no
26641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26645 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26646 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26648 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26649 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26650 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26651 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26652 echo $ECHO_N "(cached) $ECHO_C" >&6
26654 ac_check_lib_save_LIBS=$LIBS
26655 LIBS="-ljpeg $LIBS"
26656 cat >conftest.$ac_ext <<_ACEOF
26659 cat confdefs.h >>conftest.$ac_ext
26660 cat >>conftest.$ac_ext <<_ACEOF
26661 /* end confdefs.h. */
26663 /* Override any GCC internal prototype to avoid an error.
26664 Use char because int might match the return type of a GCC
26665 builtin and then its argument prototype would still apply. */
26669 char jpeg_read_header ();
26673 return jpeg_read_header ();
26678 rm -f conftest.$ac_objext conftest$ac_exeext
26679 if { (ac_try="$ac_link"
26680 case "(($ac_try" in
26681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26682 *) ac_try_echo=$ac_try;;
26684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26685 (eval "$ac_link") 2>conftest.er1
26687 grep -v '^ *+' conftest.er1 >conftest.err
26689 cat conftest.err >&5
26690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691 (exit $ac_status); } && {
26692 test -z "$ac_c_werror_flag" ||
26693 test ! -s conftest.err
26694 } && test -s conftest$ac_exeext &&
26695 $as_test_x conftest$ac_exeext; then
26696 ac_cv_lib_jpeg_jpeg_read_header=yes
26698 echo "$as_me: failed program was:" >&5
26699 sed 's/^/| /' conftest.$ac_ext >&5
26701 ac_cv_lib_jpeg_jpeg_read_header=no
26704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26705 conftest$ac_exeext conftest.$ac_ext
26706 LIBS=$ac_check_lib_save_LIBS
26708 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26709 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26710 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26711 JPEG_LINK=" -ljpeg"
26716 if test "x$JPEG_LINK" = "x" ; then
26717 if test "$wxUSE_LIBJPEG" = "sys" ; then
26718 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26719 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26720 { (exit 1); exit 1; }; }
26722 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26723 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26724 wxUSE_LIBJPEG=builtin
26729 if test "$wxUSE_MSW" = 1; then
26730 { echo "$as_me:$LINENO: checking for boolean" >&5
26731 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26732 if test "${ac_cv_type_boolean+set}" = set; then
26733 echo $ECHO_N "(cached) $ECHO_C" >&6
26735 cat >conftest.$ac_ext <<_ACEOF
26738 cat confdefs.h >>conftest.$ac_ext
26739 cat >>conftest.$ac_ext <<_ACEOF
26740 /* end confdefs.h. */
26741 #include <windows.h>
26743 typedef boolean ac__type_new_;
26747 if ((ac__type_new_ *) 0)
26749 if (sizeof (ac__type_new_))
26755 rm -f conftest.$ac_objext
26756 if { (ac_try="$ac_compile"
26757 case "(($ac_try" in
26758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26759 *) ac_try_echo=$ac_try;;
26761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26762 (eval "$ac_compile") 2>conftest.er1
26764 grep -v '^ *+' conftest.er1 >conftest.err
26766 cat conftest.err >&5
26767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26768 (exit $ac_status); } && {
26769 test -z "$ac_c_werror_flag" ||
26770 test ! -s conftest.err
26771 } && test -s conftest.$ac_objext; then
26772 ac_cv_type_boolean=yes
26774 echo "$as_me: failed program was:" >&5
26775 sed 's/^/| /' conftest.$ac_ext >&5
26777 ac_cv_type_boolean=no
26780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26782 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26783 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26784 if test $ac_cv_type_boolean = yes; then
26786 cat >>confdefs.h <<_ACEOF
26787 #define HAVE_BOOLEAN 1
26791 { echo "$as_me:$LINENO: checking for boolean" >&5
26792 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26793 if test "${ac_cv_type_boolean+set}" = set; then
26794 echo $ECHO_N "(cached) $ECHO_C" >&6
26796 cat >conftest.$ac_ext <<_ACEOF
26799 cat confdefs.h >>conftest.$ac_ext
26800 cat >>conftest.$ac_ext <<_ACEOF
26801 /* end confdefs.h. */
26803 #undef HAVE_BOOLEAN
26805 #include <jpeglib.h>
26808 typedef boolean ac__type_new_;
26812 if ((ac__type_new_ *) 0)
26814 if (sizeof (ac__type_new_))
26820 rm -f conftest.$ac_objext
26821 if { (ac_try="$ac_compile"
26822 case "(($ac_try" in
26823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26824 *) ac_try_echo=$ac_try;;
26826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26827 (eval "$ac_compile") 2>conftest.er1
26829 grep -v '^ *+' conftest.er1 >conftest.err
26831 cat conftest.err >&5
26832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26833 (exit $ac_status); } && {
26834 test -z "$ac_c_werror_flag" ||
26835 test ! -s conftest.err
26836 } && test -s conftest.$ac_objext; then
26837 ac_cv_type_boolean=yes
26839 echo "$as_me: failed program was:" >&5
26840 sed 's/^/| /' conftest.$ac_ext >&5
26842 ac_cv_type_boolean=no
26845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26847 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26848 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26850 # The cast to long int works around a bug in the HP C Compiler
26851 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26852 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26853 # This bug is HP SR number 8606223364.
26854 { echo "$as_me:$LINENO: checking size of boolean" >&5
26855 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26856 if test "${ac_cv_sizeof_boolean+set}" = set; then
26857 echo $ECHO_N "(cached) $ECHO_C" >&6
26859 if test "$cross_compiling" = yes; then
26860 # Depending upon the size, compute the lo and hi bounds.
26861 cat >conftest.$ac_ext <<_ACEOF
26864 cat confdefs.h >>conftest.$ac_ext
26865 cat >>conftest.$ac_ext <<_ACEOF
26866 /* end confdefs.h. */
26868 #undef HAVE_BOOLEAN
26870 #include <jpeglib.h>
26873 typedef boolean ac__type_sizeof_;
26877 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26884 rm -f conftest.$ac_objext
26885 if { (ac_try="$ac_compile"
26886 case "(($ac_try" in
26887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26888 *) ac_try_echo=$ac_try;;
26890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26891 (eval "$ac_compile") 2>conftest.er1
26893 grep -v '^ *+' conftest.er1 >conftest.err
26895 cat conftest.err >&5
26896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26897 (exit $ac_status); } && {
26898 test -z "$ac_c_werror_flag" ||
26899 test ! -s conftest.err
26900 } && test -s conftest.$ac_objext; then
26903 cat >conftest.$ac_ext <<_ACEOF
26906 cat confdefs.h >>conftest.$ac_ext
26907 cat >>conftest.$ac_ext <<_ACEOF
26908 /* end confdefs.h. */
26910 #undef HAVE_BOOLEAN
26912 #include <jpeglib.h>
26915 typedef boolean ac__type_sizeof_;
26919 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26926 rm -f conftest.$ac_objext
26927 if { (ac_try="$ac_compile"
26928 case "(($ac_try" in
26929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26930 *) ac_try_echo=$ac_try;;
26932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26933 (eval "$ac_compile") 2>conftest.er1
26935 grep -v '^ *+' conftest.er1 >conftest.err
26937 cat conftest.err >&5
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); } && {
26940 test -z "$ac_c_werror_flag" ||
26941 test ! -s conftest.err
26942 } && test -s conftest.$ac_objext; then
26943 ac_hi=$ac_mid; break
26945 echo "$as_me: failed program was:" >&5
26946 sed 's/^/| /' conftest.$ac_ext >&5
26948 ac_lo=`expr $ac_mid + 1`
26949 if test $ac_lo -le $ac_mid; then
26953 ac_mid=`expr 2 '*' $ac_mid + 1`
26956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26959 echo "$as_me: failed program was:" >&5
26960 sed 's/^/| /' conftest.$ac_ext >&5
26962 cat >conftest.$ac_ext <<_ACEOF
26965 cat confdefs.h >>conftest.$ac_ext
26966 cat >>conftest.$ac_ext <<_ACEOF
26967 /* end confdefs.h. */
26969 #undef HAVE_BOOLEAN
26971 #include <jpeglib.h>
26974 typedef boolean ac__type_sizeof_;
26978 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26985 rm -f conftest.$ac_objext
26986 if { (ac_try="$ac_compile"
26987 case "(($ac_try" in
26988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26989 *) ac_try_echo=$ac_try;;
26991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26992 (eval "$ac_compile") 2>conftest.er1
26994 grep -v '^ *+' conftest.er1 >conftest.err
26996 cat conftest.err >&5
26997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 (exit $ac_status); } && {
26999 test -z "$ac_c_werror_flag" ||
27000 test ! -s conftest.err
27001 } && test -s conftest.$ac_objext; then
27004 cat >conftest.$ac_ext <<_ACEOF
27007 cat confdefs.h >>conftest.$ac_ext
27008 cat >>conftest.$ac_ext <<_ACEOF
27009 /* end confdefs.h. */
27011 #undef HAVE_BOOLEAN
27013 #include <jpeglib.h>
27016 typedef boolean ac__type_sizeof_;
27020 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27027 rm -f conftest.$ac_objext
27028 if { (ac_try="$ac_compile"
27029 case "(($ac_try" in
27030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27031 *) ac_try_echo=$ac_try;;
27033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27034 (eval "$ac_compile") 2>conftest.er1
27036 grep -v '^ *+' conftest.er1 >conftest.err
27038 cat conftest.err >&5
27039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040 (exit $ac_status); } && {
27041 test -z "$ac_c_werror_flag" ||
27042 test ! -s conftest.err
27043 } && test -s conftest.$ac_objext; then
27044 ac_lo=$ac_mid; break
27046 echo "$as_me: failed program was:" >&5
27047 sed 's/^/| /' conftest.$ac_ext >&5
27049 ac_hi=`expr '(' $ac_mid ')' - 1`
27050 if test $ac_mid -le $ac_hi; then
27054 ac_mid=`expr 2 '*' $ac_mid`
27057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27060 echo "$as_me: failed program was:" >&5
27061 sed 's/^/| /' conftest.$ac_ext >&5
27066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27070 # Binary search between lo and hi bounds.
27071 while test "x$ac_lo" != "x$ac_hi"; do
27072 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27073 cat >conftest.$ac_ext <<_ACEOF
27076 cat confdefs.h >>conftest.$ac_ext
27077 cat >>conftest.$ac_ext <<_ACEOF
27078 /* end confdefs.h. */
27080 #undef HAVE_BOOLEAN
27082 #include <jpeglib.h>
27085 typedef boolean ac__type_sizeof_;
27089 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27096 rm -f conftest.$ac_objext
27097 if { (ac_try="$ac_compile"
27098 case "(($ac_try" in
27099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27100 *) ac_try_echo=$ac_try;;
27102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27103 (eval "$ac_compile") 2>conftest.er1
27105 grep -v '^ *+' conftest.er1 >conftest.err
27107 cat conftest.err >&5
27108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27109 (exit $ac_status); } && {
27110 test -z "$ac_c_werror_flag" ||
27111 test ! -s conftest.err
27112 } && test -s conftest.$ac_objext; then
27115 echo "$as_me: failed program was:" >&5
27116 sed 's/^/| /' conftest.$ac_ext >&5
27118 ac_lo=`expr '(' $ac_mid ')' + 1`
27121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27124 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27125 '') if test "$ac_cv_type_boolean" = yes; then
27126 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27127 See \`config.log' for more details." >&5
27128 echo "$as_me: error: cannot compute sizeof (boolean)
27129 See \`config.log' for more details." >&2;}
27130 { (exit 77); exit 77; }; }
27132 ac_cv_sizeof_boolean=0
27136 cat >conftest.$ac_ext <<_ACEOF
27139 cat confdefs.h >>conftest.$ac_ext
27140 cat >>conftest.$ac_ext <<_ACEOF
27141 /* end confdefs.h. */
27143 #undef HAVE_BOOLEAN
27145 #include <jpeglib.h>
27148 typedef boolean ac__type_sizeof_;
27149 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27150 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27152 #include <stdlib.h>
27157 FILE *f = fopen ("conftest.val", "w");
27160 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27162 long int i = longval ();
27163 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27165 fprintf (f, "%ld\n", i);
27169 unsigned long int i = ulongval ();
27170 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27172 fprintf (f, "%lu\n", i);
27174 return ferror (f) || fclose (f) != 0;
27180 rm -f conftest$ac_exeext
27181 if { (ac_try="$ac_link"
27182 case "(($ac_try" in
27183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27184 *) ac_try_echo=$ac_try;;
27186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27187 (eval "$ac_link") 2>&5
27189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27190 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27191 { (case "(($ac_try" in
27192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27193 *) ac_try_echo=$ac_try;;
27195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27196 (eval "$ac_try") 2>&5
27198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27199 (exit $ac_status); }; }; then
27200 ac_cv_sizeof_boolean=`cat conftest.val`
27202 echo "$as_me: program exited with status $ac_status" >&5
27203 echo "$as_me: failed program was:" >&5
27204 sed 's/^/| /' conftest.$ac_ext >&5
27206 ( exit $ac_status )
27207 if test "$ac_cv_type_boolean" = yes; then
27208 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27209 See \`config.log' for more details." >&5
27210 echo "$as_me: error: cannot compute sizeof (boolean)
27211 See \`config.log' for more details." >&2;}
27212 { (exit 77); exit 77; }; }
27214 ac_cv_sizeof_boolean=0
27217 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27221 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27222 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27226 cat >>confdefs.h <<_ACEOF
27227 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27231 cat >>confdefs.h <<_ACEOF
27232 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27246 TIFF_PREREQ_LINKS=-lm
27247 if test "$wxUSE_LIBTIFF" != "no" ; then
27248 cat >>confdefs.h <<\_ACEOF
27249 #define wxUSE_LIBTIFF 1
27253 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27254 if test "$wxUSE_LIBJPEG" = "sys"; then
27255 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27257 if test "$wxUSE_ZLIB" = "sys"; then
27258 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27260 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27261 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27262 if test "${ac_cv_header_tiffio_h+set}" = set; then
27263 echo $ECHO_N "(cached) $ECHO_C" >&6
27265 cat >conftest.$ac_ext <<_ACEOF
27268 cat confdefs.h >>conftest.$ac_ext
27269 cat >>conftest.$ac_ext <<_ACEOF
27270 /* end confdefs.h. */
27274 #include <tiffio.h>
27276 rm -f conftest.$ac_objext
27277 if { (ac_try="$ac_compile"
27278 case "(($ac_try" in
27279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27280 *) ac_try_echo=$ac_try;;
27282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27283 (eval "$ac_compile") 2>conftest.er1
27285 grep -v '^ *+' conftest.er1 >conftest.err
27287 cat conftest.err >&5
27288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27289 (exit $ac_status); } && {
27290 test -z "$ac_c_werror_flag" ||
27291 test ! -s conftest.err
27292 } && test -s conftest.$ac_objext; then
27293 ac_cv_header_tiffio_h=yes
27295 echo "$as_me: failed program was:" >&5
27296 sed 's/^/| /' conftest.$ac_ext >&5
27298 ac_cv_header_tiffio_h=no
27301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27303 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27304 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27305 if test $ac_cv_header_tiffio_h = yes; then
27307 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27308 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27309 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27310 echo $ECHO_N "(cached) $ECHO_C" >&6
27312 ac_check_lib_save_LIBS=$LIBS
27313 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27314 cat >conftest.$ac_ext <<_ACEOF
27317 cat confdefs.h >>conftest.$ac_ext
27318 cat >>conftest.$ac_ext <<_ACEOF
27319 /* end confdefs.h. */
27321 /* Override any GCC internal prototype to avoid an error.
27322 Use char because int might match the return type of a GCC
27323 builtin and then its argument prototype would still apply. */
27331 return TIFFError ();
27336 rm -f conftest.$ac_objext conftest$ac_exeext
27337 if { (ac_try="$ac_link"
27338 case "(($ac_try" in
27339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27340 *) ac_try_echo=$ac_try;;
27342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27343 (eval "$ac_link") 2>conftest.er1
27345 grep -v '^ *+' conftest.er1 >conftest.err
27347 cat conftest.err >&5
27348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27349 (exit $ac_status); } && {
27350 test -z "$ac_c_werror_flag" ||
27351 test ! -s conftest.err
27352 } && test -s conftest$ac_exeext &&
27353 $as_test_x conftest$ac_exeext; then
27354 ac_cv_lib_tiff_TIFFError=yes
27356 echo "$as_me: failed program was:" >&5
27357 sed 's/^/| /' conftest.$ac_ext >&5
27359 ac_cv_lib_tiff_TIFFError=no
27362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27363 conftest$ac_exeext conftest.$ac_ext
27364 LIBS=$ac_check_lib_save_LIBS
27366 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27367 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27368 if test $ac_cv_lib_tiff_TIFFError = yes; then
27369 TIFF_LINK=" -ltiff"
27377 if test "x$TIFF_LINK" = "x" ; then
27378 if test "$wxUSE_LIBTIFF" = "sys" ; then
27379 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27380 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27381 { (exit 1); exit 1; }; }
27383 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27384 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27385 wxUSE_LIBTIFF=builtin
27391 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27392 if test "$wxUSE_LIBJPEG" = "no"; then
27393 ac_configure_args="$ac_configure_args --disable-jpeg"
27395 subdirs="$subdirs src/tiff"
27401 if test "$wxUSE_WCHAR_T" != "yes"; then
27402 if test "$wxUSE_EXPAT" != "no"; then
27403 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27404 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27407 if test "$wxUSE_XML" != "no"; then
27408 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27409 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27414 if test "$wxUSE_EXPAT" != "no"; then
27416 cat >>confdefs.h <<\_ACEOF
27417 #define wxUSE_EXPAT 1
27420 cat >>confdefs.h <<\_ACEOF
27421 #define wxUSE_XML 1
27425 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27426 { echo "$as_me:$LINENO: checking for expat.h" >&5
27427 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27428 if test "${ac_cv_header_expat_h+set}" = set; then
27429 echo $ECHO_N "(cached) $ECHO_C" >&6
27431 cat >conftest.$ac_ext <<_ACEOF
27434 cat confdefs.h >>conftest.$ac_ext
27435 cat >>conftest.$ac_ext <<_ACEOF
27436 /* end confdefs.h. */
27441 rm -f conftest.$ac_objext
27442 if { (ac_try="$ac_compile"
27443 case "(($ac_try" in
27444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27445 *) ac_try_echo=$ac_try;;
27447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27448 (eval "$ac_compile") 2>conftest.er1
27450 grep -v '^ *+' conftest.er1 >conftest.err
27452 cat conftest.err >&5
27453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27454 (exit $ac_status); } && {
27455 test -z "$ac_c_werror_flag" ||
27456 test ! -s conftest.err
27457 } && test -s conftest.$ac_objext; then
27458 ac_cv_header_expat_h=yes
27460 echo "$as_me: failed program was:" >&5
27461 sed 's/^/| /' conftest.$ac_ext >&5
27463 ac_cv_header_expat_h=no
27466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27468 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27469 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27470 if test $ac_cv_header_expat_h = yes; then
27475 if test "x$found_expat_h" = "x1"; then
27476 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27477 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27478 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27479 echo $ECHO_N "(cached) $ECHO_C" >&6
27483 ac_cpp='$CXXCPP $CPPFLAGS'
27484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27488 cat >conftest.$ac_ext <<_ACEOF
27491 cat confdefs.h >>conftest.$ac_ext
27492 cat >>conftest.$ac_ext <<_ACEOF
27493 /* end confdefs.h. */
27503 rm -f conftest.$ac_objext
27504 if { (ac_try="$ac_compile"
27505 case "(($ac_try" in
27506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27507 *) ac_try_echo=$ac_try;;
27509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27510 (eval "$ac_compile") 2>conftest.er1
27512 grep -v '^ *+' conftest.er1 >conftest.err
27514 cat conftest.err >&5
27515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27516 (exit $ac_status); } && {
27517 test -z "$ac_cxx_werror_flag" ||
27518 test ! -s conftest.err
27519 } && test -s conftest.$ac_objext; then
27520 wx_cv_expat_is_not_broken=yes
27522 echo "$as_me: failed program was:" >&5
27523 sed 's/^/| /' conftest.$ac_ext >&5
27525 wx_cv_expat_is_not_broken=no
27529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27531 ac_cpp='$CPP $CPPFLAGS'
27532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27539 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27540 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27541 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27542 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27543 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27544 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27545 echo $ECHO_N "(cached) $ECHO_C" >&6
27547 ac_check_lib_save_LIBS=$LIBS
27548 LIBS="-lexpat $LIBS"
27549 cat >conftest.$ac_ext <<_ACEOF
27552 cat confdefs.h >>conftest.$ac_ext
27553 cat >>conftest.$ac_ext <<_ACEOF
27554 /* end confdefs.h. */
27556 /* Override any GCC internal prototype to avoid an error.
27557 Use char because int might match the return type of a GCC
27558 builtin and then its argument prototype would still apply. */
27562 char XML_ParserCreate ();
27566 return XML_ParserCreate ();
27571 rm -f conftest.$ac_objext conftest$ac_exeext
27572 if { (ac_try="$ac_link"
27573 case "(($ac_try" in
27574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27575 *) ac_try_echo=$ac_try;;
27577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27578 (eval "$ac_link") 2>conftest.er1
27580 grep -v '^ *+' conftest.er1 >conftest.err
27582 cat conftest.err >&5
27583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27584 (exit $ac_status); } && {
27585 test -z "$ac_c_werror_flag" ||
27586 test ! -s conftest.err
27587 } && test -s conftest$ac_exeext &&
27588 $as_test_x conftest$ac_exeext; then
27589 ac_cv_lib_expat_XML_ParserCreate=yes
27591 echo "$as_me: failed program was:" >&5
27592 sed 's/^/| /' conftest.$ac_ext >&5
27594 ac_cv_lib_expat_XML_ParserCreate=no
27597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27598 conftest$ac_exeext conftest.$ac_ext
27599 LIBS=$ac_check_lib_save_LIBS
27601 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27602 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27603 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27604 EXPAT_LINK=" -lexpat"
27609 if test "x$EXPAT_LINK" = "x" ; then
27610 if test "$wxUSE_EXPAT" = "sys" ; then
27611 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27612 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27613 { (exit 1); exit 1; }; }
27615 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27616 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27617 wxUSE_EXPAT=builtin
27623 if test "$wxUSE_EXPAT" = "builtin" ; then
27624 subdirs="$subdirs src/expat"
27631 if test "$wxUSE_LIBMSPACK" != "no"; then
27632 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27633 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27634 if test "${ac_cv_header_mspack_h+set}" = set; then
27635 echo $ECHO_N "(cached) $ECHO_C" >&6
27637 cat >conftest.$ac_ext <<_ACEOF
27640 cat confdefs.h >>conftest.$ac_ext
27641 cat >>conftest.$ac_ext <<_ACEOF
27642 /* end confdefs.h. */
27645 #include <mspack.h>
27647 rm -f conftest.$ac_objext
27648 if { (ac_try="$ac_compile"
27649 case "(($ac_try" in
27650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27651 *) ac_try_echo=$ac_try;;
27653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27654 (eval "$ac_compile") 2>conftest.er1
27656 grep -v '^ *+' conftest.er1 >conftest.err
27658 cat conftest.err >&5
27659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27660 (exit $ac_status); } && {
27661 test -z "$ac_c_werror_flag" ||
27662 test ! -s conftest.err
27663 } && test -s conftest.$ac_objext; then
27664 ac_cv_header_mspack_h=yes
27666 echo "$as_me: failed program was:" >&5
27667 sed 's/^/| /' conftest.$ac_ext >&5
27669 ac_cv_header_mspack_h=no
27672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27674 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27675 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27676 if test $ac_cv_header_mspack_h = yes; then
27681 if test "x$found_mspack_h" = "x1"; then
27682 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27683 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27684 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27685 echo $ECHO_N "(cached) $ECHO_C" >&6
27687 ac_check_lib_save_LIBS=$LIBS
27688 LIBS="-lmspack $LIBS"
27689 cat >conftest.$ac_ext <<_ACEOF
27692 cat confdefs.h >>conftest.$ac_ext
27693 cat >>conftest.$ac_ext <<_ACEOF
27694 /* end confdefs.h. */
27696 /* Override any GCC internal prototype to avoid an error.
27697 Use char because int might match the return type of a GCC
27698 builtin and then its argument prototype would still apply. */
27702 char mspack_create_chm_decompressor ();
27706 return mspack_create_chm_decompressor ();
27711 rm -f conftest.$ac_objext conftest$ac_exeext
27712 if { (ac_try="$ac_link"
27713 case "(($ac_try" in
27714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27715 *) ac_try_echo=$ac_try;;
27717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27718 (eval "$ac_link") 2>conftest.er1
27720 grep -v '^ *+' conftest.er1 >conftest.err
27722 cat conftest.err >&5
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); } && {
27725 test -z "$ac_c_werror_flag" ||
27726 test ! -s conftest.err
27727 } && test -s conftest$ac_exeext &&
27728 $as_test_x conftest$ac_exeext; then
27729 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27731 echo "$as_me: failed program was:" >&5
27732 sed 's/^/| /' conftest.$ac_ext >&5
27734 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27738 conftest$ac_exeext conftest.$ac_ext
27739 LIBS=$ac_check_lib_save_LIBS
27741 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27742 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27743 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27744 MSPACK_LINK=" -lmspack"
27748 if test "x$MSPACK_LINK" = "x" ; then
27753 if test "$wxUSE_LIBMSPACK" != "no"; then
27754 cat >>confdefs.h <<\_ACEOF
27755 #define wxUSE_LIBMSPACK 1
27769 if test "$USE_WIN32" = 1 ; then
27771 for ac_header in w32api.h
27773 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27774 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27776 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27777 echo $ECHO_N "(cached) $ECHO_C" >&6
27779 cat >conftest.$ac_ext <<_ACEOF
27782 cat confdefs.h >>conftest.$ac_ext
27783 cat >>conftest.$ac_ext <<_ACEOF
27784 /* end confdefs.h. */
27787 #include <$ac_header>
27789 rm -f conftest.$ac_objext
27790 if { (ac_try="$ac_compile"
27791 case "(($ac_try" in
27792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27793 *) ac_try_echo=$ac_try;;
27795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27796 (eval "$ac_compile") 2>conftest.er1
27798 grep -v '^ *+' conftest.er1 >conftest.err
27800 cat conftest.err >&5
27801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27802 (exit $ac_status); } && {
27803 test -z "$ac_c_werror_flag" ||
27804 test ! -s conftest.err
27805 } && test -s conftest.$ac_objext; then
27806 eval "$as_ac_Header=yes"
27808 echo "$as_me: failed program was:" >&5
27809 sed 's/^/| /' conftest.$ac_ext >&5
27811 eval "$as_ac_Header=no"
27814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27816 ac_res=`eval echo '${'$as_ac_Header'}'`
27817 { echo "$as_me:$LINENO: result: $ac_res" >&5
27818 echo "${ECHO_T}$ac_res" >&6; }
27819 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27820 cat >>confdefs.h <<_ACEOF
27821 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27828 { echo "$as_me:$LINENO: checking for windows.h" >&5
27829 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27830 if test "${ac_cv_header_windows_h+set}" = set; then
27831 echo $ECHO_N "(cached) $ECHO_C" >&6
27833 cat >conftest.$ac_ext <<_ACEOF
27836 cat confdefs.h >>conftest.$ac_ext
27837 cat >>conftest.$ac_ext <<_ACEOF
27838 /* end confdefs.h. */
27841 #include <windows.h>
27843 rm -f conftest.$ac_objext
27844 if { (ac_try="$ac_compile"
27845 case "(($ac_try" in
27846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27847 *) ac_try_echo=$ac_try;;
27849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27850 (eval "$ac_compile") 2>conftest.er1
27852 grep -v '^ *+' conftest.er1 >conftest.err
27854 cat conftest.err >&5
27855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27856 (exit $ac_status); } && {
27857 test -z "$ac_c_werror_flag" ||
27858 test ! -s conftest.err
27859 } && test -s conftest.$ac_objext; then
27860 ac_cv_header_windows_h=yes
27862 echo "$as_me: failed program was:" >&5
27863 sed 's/^/| /' conftest.$ac_ext >&5
27865 ac_cv_header_windows_h=no
27868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27870 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27871 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27872 if test $ac_cv_header_windows_h = yes; then
27876 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27877 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27878 { (exit 1); exit 1; }; }
27884 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27886 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27887 LIBS="$LIBS -loleacc"
27892 LIBS="$LIBS -lkernel32 -luser32"
27895 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27896 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27898 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27900 WIN32INSTALL=win32install
27902 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27903 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27904 if test "${ac_cv_header_pbt_h+set}" = set; then
27905 echo $ECHO_N "(cached) $ECHO_C" >&6
27907 cat >conftest.$ac_ext <<_ACEOF
27910 cat confdefs.h >>conftest.$ac_ext
27911 cat >>conftest.$ac_ext <<_ACEOF
27912 /* end confdefs.h. */
27917 rm -f conftest.$ac_objext
27918 if { (ac_try="$ac_compile"
27919 case "(($ac_try" in
27920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27921 *) ac_try_echo=$ac_try;;
27923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27924 (eval "$ac_compile") 2>conftest.er1
27926 grep -v '^ *+' conftest.er1 >conftest.err
27928 cat conftest.err >&5
27929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27930 (exit $ac_status); } && {
27931 test -z "$ac_c_werror_flag" ||
27932 test ! -s conftest.err
27933 } && test -s conftest.$ac_objext; then
27934 ac_cv_header_pbt_h=yes
27936 echo "$as_me: failed program was:" >&5
27937 sed 's/^/| /' conftest.$ac_ext >&5
27939 ac_cv_header_pbt_h=no
27942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27944 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27945 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27946 if test $ac_cv_header_pbt_h = yes; then
27949 cat >>confdefs.h <<\_ACEOF
27950 #define NEED_PBT_H 1
27958 if test "$wxUSE_GUI" = "yes"; then
27968 if test "$wxUSE_COCOA" = 1 ; then
27969 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27970 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27971 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27972 wxUSE_PRINTING_ARCHITECTURE=no
27974 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27975 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27976 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27977 wxUSE_DRAG_AND_DROP=no
27979 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27980 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27981 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27986 if test "$wxUSE_MSW" = 1 ; then
27992 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27996 if test "$wxUSE_GTK" = 1; then
27997 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27998 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28000 gtk_version_cached=1
28001 if test "${wx_cv_lib_gtk+set}" = set; then
28002 echo $ECHO_N "(cached) $ECHO_C" >&6
28005 gtk_version_cached=0
28006 { echo "$as_me:$LINENO: result: " >&5
28007 echo "${ECHO_T}" >&6; }
28010 if test "$wxUSE_THREADS" = "yes"; then
28011 GTK_MODULES=gthread
28015 if test "x$wxGTK_VERSION" != "x1"
28019 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28024 # Check whether --enable-gtktest was given.
28025 if test "${enable_gtktest+set}" = set; then
28026 enableval=$enable_gtktest;
28032 pkg_config_args=gtk+-2.0
28033 for module in . $GTK_MODULES
28037 pkg_config_args="$pkg_config_args gthread-2.0"
28044 # Extract the first word of "pkg-config", so it can be a program name with args.
28045 set dummy pkg-config; ac_word=$2
28046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28048 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28049 echo $ECHO_N "(cached) $ECHO_C" >&6
28051 case $PKG_CONFIG in
28053 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28057 for as_dir in $PATH
28060 test -z "$as_dir" && as_dir=.
28061 for ac_exec_ext in '' $ac_executable_extensions; do
28062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28063 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28071 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28075 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28076 if test -n "$PKG_CONFIG"; then
28077 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28078 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28080 { echo "$as_me:$LINENO: result: no" >&5
28081 echo "${ECHO_T}no" >&6; }
28086 if test x$PKG_CONFIG != xno ; then
28087 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28090 echo "*** pkg-config too old; version 0.7 or better required."
28098 min_gtk_version=2.4.0
28099 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28100 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28102 if test x$PKG_CONFIG != xno ; then
28103 ## don't try to run the test against uninstalled libtool libs
28104 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28105 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28109 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28116 if test x"$no_gtk" = x ; then
28117 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28118 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28119 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28120 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28121 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28122 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28123 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28124 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28125 if test "x$enable_gtktest" = "xyes" ; then
28126 ac_save_CFLAGS="$CFLAGS"
28127 ac_save_LIBS="$LIBS"
28128 CFLAGS="$CFLAGS $GTK_CFLAGS"
28129 LIBS="$GTK_LIBS $LIBS"
28131 if test "$cross_compiling" = yes; then
28132 echo $ac_n "cross compiling; assumed OK... $ac_c"
28134 cat >conftest.$ac_ext <<_ACEOF
28137 cat confdefs.h >>conftest.$ac_ext
28138 cat >>conftest.$ac_ext <<_ACEOF
28139 /* end confdefs.h. */
28141 #include <gtk/gtk.h>
28143 #include <stdlib.h>
28148 int major, minor, micro;
28151 system ("touch conf.gtktest");
28153 /* HP/UX 9 (%@#!) writes to sscanf strings */
28154 tmp_version = g_strdup("$min_gtk_version");
28155 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28156 printf("%s, bad version string\n", "$min_gtk_version");
28160 if ((gtk_major_version != $gtk_config_major_version) ||
28161 (gtk_minor_version != $gtk_config_minor_version) ||
28162 (gtk_micro_version != $gtk_config_micro_version))
28164 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28165 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28166 gtk_major_version, gtk_minor_version, gtk_micro_version);
28167 printf ("*** was found! If pkg-config was correct, then it is best\n");
28168 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28169 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28170 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28171 printf("*** required on your system.\n");
28172 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28173 printf("*** to point to the correct configuration files\n");
28175 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28176 (gtk_minor_version != GTK_MINOR_VERSION) ||
28177 (gtk_micro_version != GTK_MICRO_VERSION))
28179 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28180 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28181 printf("*** library (version %d.%d.%d)\n",
28182 gtk_major_version, gtk_minor_version, gtk_micro_version);
28186 if ((gtk_major_version > major) ||
28187 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28188 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28194 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28195 gtk_major_version, gtk_minor_version, gtk_micro_version);
28196 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28197 major, minor, micro);
28198 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28200 printf("*** If you have already installed a sufficiently new version, this error\n");
28201 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28202 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28203 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28204 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28205 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28206 printf("*** so that the correct libraries are found at run-time))\n");
28213 rm -f conftest$ac_exeext
28214 if { (ac_try="$ac_link"
28215 case "(($ac_try" in
28216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28217 *) ac_try_echo=$ac_try;;
28219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28220 (eval "$ac_link") 2>&5
28222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28223 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28224 { (case "(($ac_try" in
28225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28226 *) ac_try_echo=$ac_try;;
28228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28229 (eval "$ac_try") 2>&5
28231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28232 (exit $ac_status); }; }; then
28235 echo "$as_me: program exited with status $ac_status" >&5
28236 echo "$as_me: failed program was:" >&5
28237 sed 's/^/| /' conftest.$ac_ext >&5
28239 ( exit $ac_status )
28242 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28246 CFLAGS="$ac_save_CFLAGS"
28247 LIBS="$ac_save_LIBS"
28250 if test "x$no_gtk" = x ; then
28251 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28252 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28255 { echo "$as_me:$LINENO: result: no" >&5
28256 echo "${ECHO_T}no" >&6; }
28257 if test "$PKG_CONFIG" = "no" ; then
28258 echo "*** A new enough version of pkg-config was not found."
28259 echo "*** See http://pkgconfig.sourceforge.net"
28261 if test -f conf.gtktest ; then
28264 echo "*** Could not run GTK+ test program, checking why..."
28265 ac_save_CFLAGS="$CFLAGS"
28266 ac_save_LIBS="$LIBS"
28267 CFLAGS="$CFLAGS $GTK_CFLAGS"
28268 LIBS="$LIBS $GTK_LIBS"
28269 cat >conftest.$ac_ext <<_ACEOF
28272 cat confdefs.h >>conftest.$ac_ext
28273 cat >>conftest.$ac_ext <<_ACEOF
28274 /* end confdefs.h. */
28276 #include <gtk/gtk.h>
28282 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28287 rm -f conftest.$ac_objext conftest$ac_exeext
28288 if { (ac_try="$ac_link"
28289 case "(($ac_try" in
28290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28291 *) ac_try_echo=$ac_try;;
28293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28294 (eval "$ac_link") 2>conftest.er1
28296 grep -v '^ *+' conftest.er1 >conftest.err
28298 cat conftest.err >&5
28299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28300 (exit $ac_status); } && {
28301 test -z "$ac_c_werror_flag" ||
28302 test ! -s conftest.err
28303 } && test -s conftest$ac_exeext &&
28304 $as_test_x conftest$ac_exeext; then
28305 echo "*** The test program compiled, but did not run. This usually means"
28306 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28307 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28308 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28309 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28310 echo "*** is required on your system"
28312 echo "*** If you have an old version installed, it is best to remove it, although"
28313 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28315 echo "$as_me: failed program was:" >&5
28316 sed 's/^/| /' conftest.$ac_ext >&5
28318 echo "*** The test program failed to compile or link. See the file config.log for the"
28319 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28323 conftest$ac_exeext conftest.$ac_ext
28324 CFLAGS="$ac_save_CFLAGS"
28325 LIBS="$ac_save_LIBS"
28339 if test "$wxUSE_SHARED" != "yes"; then
28340 GTK_LIBS="$GTK_LIBS -lX11"
28345 if test -z "$wx_cv_lib_gtk"; then
28346 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28348 # Check whether --with-gtk-prefix was given.
28349 if test "${with_gtk_prefix+set}" = set; then
28350 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28352 gtk_config_prefix=""
28356 # Check whether --with-gtk-exec-prefix was given.
28357 if test "${with_gtk_exec_prefix+set}" = set; then
28358 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28360 gtk_config_exec_prefix=""
28363 # Check whether --enable-gtktest was given.
28364 if test "${enable_gtktest+set}" = set; then
28365 enableval=$enable_gtktest;
28371 for module in . $GTK_MODULES
28375 gtk_config_args="$gtk_config_args gthread"
28380 if test x$gtk_config_exec_prefix != x ; then
28381 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28382 if test x${GTK_CONFIG+set} != xset ; then
28383 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28386 if test x$gtk_config_prefix != x ; then
28387 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28388 if test x${GTK_CONFIG+set} != xset ; then
28389 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28393 # Extract the first word of "gtk-config", so it can be a program name with args.
28394 set dummy gtk-config; ac_word=$2
28395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28397 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28398 echo $ECHO_N "(cached) $ECHO_C" >&6
28400 case $GTK_CONFIG in
28402 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28406 for as_dir in $PATH
28409 test -z "$as_dir" && as_dir=.
28410 for ac_exec_ext in '' $ac_executable_extensions; do
28411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28412 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28420 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28424 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28425 if test -n "$GTK_CONFIG"; then
28426 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28427 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28429 { echo "$as_me:$LINENO: result: no" >&5
28430 echo "${ECHO_T}no" >&6; }
28434 min_gtk_version=1.2.7
28435 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28436 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28438 if test "$GTK_CONFIG" = "no" ; then
28441 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28442 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28443 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28444 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28445 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28446 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28447 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28448 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28449 if test "x$enable_gtktest" = "xyes" ; then
28450 ac_save_CFLAGS="$CFLAGS"
28451 ac_save_LIBS="$LIBS"
28452 CFLAGS="$CFLAGS $GTK_CFLAGS"
28453 LIBS="$GTK_LIBS $LIBS"
28455 if test "$cross_compiling" = yes; then
28456 echo $ac_n "cross compiling; assumed OK... $ac_c"
28458 cat >conftest.$ac_ext <<_ACEOF
28461 cat confdefs.h >>conftest.$ac_ext
28462 cat >>conftest.$ac_ext <<_ACEOF
28463 /* end confdefs.h. */
28465 #include <gtk/gtk.h>
28467 #include <stdlib.h>
28472 int major, minor, micro;
28475 system ("touch conf.gtktest");
28477 /* HP/UX 9 (%@#!) writes to sscanf strings */
28478 tmp_version = g_strdup("$min_gtk_version");
28479 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28480 printf("%s, bad version string\n", "$min_gtk_version");
28484 if ((gtk_major_version != $gtk_config_major_version) ||
28485 (gtk_minor_version != $gtk_config_minor_version) ||
28486 (gtk_micro_version != $gtk_config_micro_version))
28488 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28489 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28490 gtk_major_version, gtk_minor_version, gtk_micro_version);
28491 printf ("*** was found! If gtk-config was correct, then it is best\n");
28492 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28493 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28494 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28495 printf("*** required on your system.\n");
28496 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28497 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28498 printf("*** before re-running configure\n");
28500 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28501 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28502 (gtk_minor_version != GTK_MINOR_VERSION) ||
28503 (gtk_micro_version != GTK_MICRO_VERSION))
28505 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28506 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28507 printf("*** library (version %d.%d.%d)\n",
28508 gtk_major_version, gtk_minor_version, gtk_micro_version);
28510 #endif /* defined (GTK_MAJOR_VERSION) ... */
28513 if ((gtk_major_version > major) ||
28514 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28515 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28521 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28522 gtk_major_version, gtk_minor_version, gtk_micro_version);
28523 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28524 major, minor, micro);
28525 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28527 printf("*** If you have already installed a sufficiently new version, this error\n");
28528 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28529 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28530 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28531 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28532 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28533 printf("*** so that the correct libraries are found at run-time))\n");
28540 rm -f conftest$ac_exeext
28541 if { (ac_try="$ac_link"
28542 case "(($ac_try" in
28543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28544 *) ac_try_echo=$ac_try;;
28546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28547 (eval "$ac_link") 2>&5
28549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28550 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28551 { (case "(($ac_try" in
28552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28553 *) ac_try_echo=$ac_try;;
28555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28556 (eval "$ac_try") 2>&5
28558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28559 (exit $ac_status); }; }; then
28562 echo "$as_me: program exited with status $ac_status" >&5
28563 echo "$as_me: failed program was:" >&5
28564 sed 's/^/| /' conftest.$ac_ext >&5
28566 ( exit $ac_status )
28569 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28573 CFLAGS="$ac_save_CFLAGS"
28574 LIBS="$ac_save_LIBS"
28577 if test "x$no_gtk" = x ; then
28578 { echo "$as_me:$LINENO: result: yes" >&5
28579 echo "${ECHO_T}yes" >&6; }
28580 wx_cv_lib_gtk=1.2.7
28582 { echo "$as_me:$LINENO: result: no" >&5
28583 echo "${ECHO_T}no" >&6; }
28584 if test "$GTK_CONFIG" = "no" ; then
28585 echo "*** The gtk-config script installed by GTK could not be found"
28586 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28587 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28588 echo "*** full path to gtk-config."
28590 if test -f conf.gtktest ; then
28593 echo "*** Could not run GTK test program, checking why..."
28594 CFLAGS="$CFLAGS $GTK_CFLAGS"
28595 LIBS="$LIBS $GTK_LIBS"
28596 cat >conftest.$ac_ext <<_ACEOF
28599 cat confdefs.h >>conftest.$ac_ext
28600 cat >>conftest.$ac_ext <<_ACEOF
28601 /* end confdefs.h. */
28603 #include <gtk/gtk.h>
28609 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28614 rm -f conftest.$ac_objext conftest$ac_exeext
28615 if { (ac_try="$ac_link"
28616 case "(($ac_try" in
28617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28618 *) ac_try_echo=$ac_try;;
28620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28621 (eval "$ac_link") 2>conftest.er1
28623 grep -v '^ *+' conftest.er1 >conftest.err
28625 cat conftest.err >&5
28626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28627 (exit $ac_status); } && {
28628 test -z "$ac_c_werror_flag" ||
28629 test ! -s conftest.err
28630 } && test -s conftest$ac_exeext &&
28631 $as_test_x conftest$ac_exeext; then
28632 echo "*** The test program compiled, but did not run. This usually means"
28633 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28634 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28635 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28636 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28637 echo "*** is required on your system"
28639 echo "*** If you have an old version installed, it is best to remove it, although"
28640 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28642 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28643 echo "*** came with the system with the command"
28645 echo "*** rpm --erase --nodeps gtk gtk-devel"
28647 echo "$as_me: failed program was:" >&5
28648 sed 's/^/| /' conftest.$ac_ext >&5
28650 echo "*** The test program failed to compile or link. See the file config.log for the"
28651 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28652 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28653 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28657 conftest$ac_exeext conftest.$ac_ext
28658 CFLAGS="$ac_save_CFLAGS"
28659 LIBS="$ac_save_LIBS"
28671 if test -z "$wx_cv_lib_gtk"; then
28673 # Check whether --with-gtk-prefix was given.
28674 if test "${with_gtk_prefix+set}" = set; then
28675 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28677 gtk_config_prefix=""
28681 # Check whether --with-gtk-exec-prefix was given.
28682 if test "${with_gtk_exec_prefix+set}" = set; then
28683 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28685 gtk_config_exec_prefix=""
28688 # Check whether --enable-gtktest was given.
28689 if test "${enable_gtktest+set}" = set; then
28690 enableval=$enable_gtktest;
28696 for module in . $GTK_MODULES
28700 gtk_config_args="$gtk_config_args gthread"
28705 if test x$gtk_config_exec_prefix != x ; then
28706 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28707 if test x${GTK_CONFIG+set} != xset ; then
28708 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28711 if test x$gtk_config_prefix != x ; then
28712 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28713 if test x${GTK_CONFIG+set} != xset ; then
28714 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28718 # Extract the first word of "gtk-config", so it can be a program name with args.
28719 set dummy gtk-config; ac_word=$2
28720 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28722 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28723 echo $ECHO_N "(cached) $ECHO_C" >&6
28725 case $GTK_CONFIG in
28727 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28731 for as_dir in $PATH
28734 test -z "$as_dir" && as_dir=.
28735 for ac_exec_ext in '' $ac_executable_extensions; do
28736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28737 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28745 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28749 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28750 if test -n "$GTK_CONFIG"; then
28751 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28752 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28754 { echo "$as_me:$LINENO: result: no" >&5
28755 echo "${ECHO_T}no" >&6; }
28759 min_gtk_version=1.2.3
28760 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28761 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28763 if test "$GTK_CONFIG" = "no" ; then
28766 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28767 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28768 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28769 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28770 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28771 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28772 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28773 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28774 if test "x$enable_gtktest" = "xyes" ; then
28775 ac_save_CFLAGS="$CFLAGS"
28776 ac_save_LIBS="$LIBS"
28777 CFLAGS="$CFLAGS $GTK_CFLAGS"
28778 LIBS="$GTK_LIBS $LIBS"
28780 if test "$cross_compiling" = yes; then
28781 echo $ac_n "cross compiling; assumed OK... $ac_c"
28783 cat >conftest.$ac_ext <<_ACEOF
28786 cat confdefs.h >>conftest.$ac_ext
28787 cat >>conftest.$ac_ext <<_ACEOF
28788 /* end confdefs.h. */
28790 #include <gtk/gtk.h>
28792 #include <stdlib.h>
28797 int major, minor, micro;
28800 system ("touch conf.gtktest");
28802 /* HP/UX 9 (%@#!) writes to sscanf strings */
28803 tmp_version = g_strdup("$min_gtk_version");
28804 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28805 printf("%s, bad version string\n", "$min_gtk_version");
28809 if ((gtk_major_version != $gtk_config_major_version) ||
28810 (gtk_minor_version != $gtk_config_minor_version) ||
28811 (gtk_micro_version != $gtk_config_micro_version))
28813 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28814 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28815 gtk_major_version, gtk_minor_version, gtk_micro_version);
28816 printf ("*** was found! If gtk-config was correct, then it is best\n");
28817 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28818 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28819 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28820 printf("*** required on your system.\n");
28821 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28822 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28823 printf("*** before re-running configure\n");
28825 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28826 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28827 (gtk_minor_version != GTK_MINOR_VERSION) ||
28828 (gtk_micro_version != GTK_MICRO_VERSION))
28830 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28831 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28832 printf("*** library (version %d.%d.%d)\n",
28833 gtk_major_version, gtk_minor_version, gtk_micro_version);
28835 #endif /* defined (GTK_MAJOR_VERSION) ... */
28838 if ((gtk_major_version > major) ||
28839 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28840 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28846 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28847 gtk_major_version, gtk_minor_version, gtk_micro_version);
28848 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28849 major, minor, micro);
28850 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28852 printf("*** If you have already installed a sufficiently new version, this error\n");
28853 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28854 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28855 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28856 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28857 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28858 printf("*** so that the correct libraries are found at run-time))\n");
28865 rm -f conftest$ac_exeext
28866 if { (ac_try="$ac_link"
28867 case "(($ac_try" in
28868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28869 *) ac_try_echo=$ac_try;;
28871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28872 (eval "$ac_link") 2>&5
28874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28875 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28876 { (case "(($ac_try" in
28877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28878 *) ac_try_echo=$ac_try;;
28880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28881 (eval "$ac_try") 2>&5
28883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28884 (exit $ac_status); }; }; then
28887 echo "$as_me: program exited with status $ac_status" >&5
28888 echo "$as_me: failed program was:" >&5
28889 sed 's/^/| /' conftest.$ac_ext >&5
28891 ( exit $ac_status )
28894 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28898 CFLAGS="$ac_save_CFLAGS"
28899 LIBS="$ac_save_LIBS"
28902 if test "x$no_gtk" = x ; then
28903 { echo "$as_me:$LINENO: result: yes" >&5
28904 echo "${ECHO_T}yes" >&6; }
28905 wx_cv_lib_gtk=1.2.3
28907 { echo "$as_me:$LINENO: result: no" >&5
28908 echo "${ECHO_T}no" >&6; }
28909 if test "$GTK_CONFIG" = "no" ; then
28910 echo "*** The gtk-config script installed by GTK could not be found"
28911 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28912 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28913 echo "*** full path to gtk-config."
28915 if test -f conf.gtktest ; then
28918 echo "*** Could not run GTK test program, checking why..."
28919 CFLAGS="$CFLAGS $GTK_CFLAGS"
28920 LIBS="$LIBS $GTK_LIBS"
28921 cat >conftest.$ac_ext <<_ACEOF
28924 cat confdefs.h >>conftest.$ac_ext
28925 cat >>conftest.$ac_ext <<_ACEOF
28926 /* end confdefs.h. */
28928 #include <gtk/gtk.h>
28934 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28939 rm -f conftest.$ac_objext conftest$ac_exeext
28940 if { (ac_try="$ac_link"
28941 case "(($ac_try" in
28942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28943 *) ac_try_echo=$ac_try;;
28945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28946 (eval "$ac_link") 2>conftest.er1
28948 grep -v '^ *+' conftest.er1 >conftest.err
28950 cat conftest.err >&5
28951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28952 (exit $ac_status); } && {
28953 test -z "$ac_c_werror_flag" ||
28954 test ! -s conftest.err
28955 } && test -s conftest$ac_exeext &&
28956 $as_test_x conftest$ac_exeext; then
28957 echo "*** The test program compiled, but did not run. This usually means"
28958 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28959 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28960 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28961 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28962 echo "*** is required on your system"
28964 echo "*** If you have an old version installed, it is best to remove it, although"
28965 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28967 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28968 echo "*** came with the system with the command"
28970 echo "*** rpm --erase --nodeps gtk gtk-devel"
28972 echo "$as_me: failed program was:" >&5
28973 sed 's/^/| /' conftest.$ac_ext >&5
28975 echo "*** The test program failed to compile or link. See the file config.log for the"
28976 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28977 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28978 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28982 conftest$ac_exeext conftest.$ac_ext
28983 CFLAGS="$ac_save_CFLAGS"
28984 LIBS="$ac_save_LIBS"
28999 if test -z "$wx_cv_lib_gtk"; then
29002 wx_cv_cflags_gtk=$GTK_CFLAGS
29003 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29010 if test "$gtk_version_cached" = 1; then
29011 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29012 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29015 case "$wx_cv_lib_gtk" in
29024 *) { { echo "$as_me:$LINENO: error:
29025 The development files for GTK+ were not found. For GTK+ 2, please
29026 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29027 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29028 and that the version is 1.2.3 or above. Also check that the
29029 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29030 --libs' are in the LD_LIBRARY_PATH or equivalent.
29032 echo "$as_me: error:
29033 The development files for GTK+ were not found. For GTK+ 2, please
29034 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29035 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29036 and that the version is 1.2.3 or above. Also check that the
29037 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29038 --libs' are in the LD_LIBRARY_PATH or equivalent.
29040 { (exit 1); exit 1; }; }
29044 if test "$WXGTK2" = 1; then
29045 save_CFLAGS="$CFLAGS"
29047 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29048 LIBS="$LIBS $wx_cv_libs_gtk"
29050 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29051 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29052 cat >conftest.$ac_ext <<_ACEOF
29055 cat confdefs.h >>conftest.$ac_ext
29056 cat >>conftest.$ac_ext <<_ACEOF
29057 /* end confdefs.h. */
29059 #include <gtk/gtk.h>
29065 #if !GTK_CHECK_VERSION(2,10,0)
29073 rm -f conftest.$ac_objext
29074 if { (ac_try="$ac_compile"
29075 case "(($ac_try" in
29076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29077 *) ac_try_echo=$ac_try;;
29079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29080 (eval "$ac_compile") 2>conftest.er1
29082 grep -v '^ *+' conftest.er1 >conftest.err
29084 cat conftest.err >&5
29085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29086 (exit $ac_status); } && {
29087 test -z "$ac_c_werror_flag" ||
29088 test ! -s conftest.err
29089 } && test -s conftest.$ac_objext; then
29091 cat >>confdefs.h <<\_ACEOF
29092 #define __WXGTK210__ 1
29095 cat >>confdefs.h <<\_ACEOF
29096 #define __WXGTK26__ 1
29099 { echo "$as_me:$LINENO: result: yes" >&5
29100 echo "${ECHO_T}yes" >&6; }
29104 echo "$as_me: failed program was:" >&5
29105 sed 's/^/| /' conftest.$ac_ext >&5
29108 { echo "$as_me:$LINENO: result: no" >&5
29109 echo "${ECHO_T}no" >&6; }
29114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29116 if test "$ac_wxgtk210" = 0; then
29117 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29118 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29119 cat >conftest.$ac_ext <<_ACEOF
29122 cat confdefs.h >>conftest.$ac_ext
29123 cat >>conftest.$ac_ext <<_ACEOF
29124 /* end confdefs.h. */
29126 #include <gtk/gtk.h>
29132 #if !GTK_CHECK_VERSION(2,6,0)
29140 rm -f conftest.$ac_objext
29141 if { (ac_try="$ac_compile"
29142 case "(($ac_try" in
29143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29144 *) ac_try_echo=$ac_try;;
29146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29147 (eval "$ac_compile") 2>conftest.er1
29149 grep -v '^ *+' conftest.er1 >conftest.err
29151 cat conftest.err >&5
29152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29153 (exit $ac_status); } && {
29154 test -z "$ac_c_werror_flag" ||
29155 test ! -s conftest.err
29156 } && test -s conftest.$ac_objext; then
29158 cat >>confdefs.h <<\_ACEOF
29159 #define __WXGTK26__ 1
29162 { echo "$as_me:$LINENO: result: yes" >&5
29163 echo "${ECHO_T}yes" >&6; }
29167 echo "$as_me: failed program was:" >&5
29168 sed 's/^/| /' conftest.$ac_ext >&5
29171 { echo "$as_me:$LINENO: result: no" >&5
29172 echo "${ECHO_T}no" >&6; }
29177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29180 CFLAGS="$save_CFLAGS"
29183 if test "$wxUSE_UNICODE" = "yes"; then
29184 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29185 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29189 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29190 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29191 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29192 echo $ECHO_N "(cached) $ECHO_C" >&6
29194 ac_check_lib_save_LIBS=$LIBS
29196 cat >conftest.$ac_ext <<_ACEOF
29199 cat confdefs.h >>conftest.$ac_ext
29200 cat >>conftest.$ac_ext <<_ACEOF
29201 /* end confdefs.h. */
29203 /* Override any GCC internal prototype to avoid an error.
29204 Use char because int might match the return type of a GCC
29205 builtin and then its argument prototype would still apply. */
29209 char gdk_im_open ();
29213 return gdk_im_open ();
29218 rm -f conftest.$ac_objext conftest$ac_exeext
29219 if { (ac_try="$ac_link"
29220 case "(($ac_try" in
29221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29222 *) ac_try_echo=$ac_try;;
29224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29225 (eval "$ac_link") 2>conftest.er1
29227 grep -v '^ *+' conftest.er1 >conftest.err
29229 cat conftest.err >&5
29230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29231 (exit $ac_status); } && {
29232 test -z "$ac_c_werror_flag" ||
29233 test ! -s conftest.err
29234 } && test -s conftest$ac_exeext &&
29235 $as_test_x conftest$ac_exeext; then
29236 ac_cv_lib_gdk_gdk_im_open=yes
29238 echo "$as_me: failed program was:" >&5
29239 sed 's/^/| /' conftest.$ac_ext >&5
29241 ac_cv_lib_gdk_gdk_im_open=no
29244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29245 conftest$ac_exeext conftest.$ac_ext
29246 LIBS=$ac_check_lib_save_LIBS
29248 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29249 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29250 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29251 cat >>confdefs.h <<\_ACEOF
29258 if test "$USE_DARWIN" != 1; then
29260 for ac_func in poll
29262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29263 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29265 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29266 echo $ECHO_N "(cached) $ECHO_C" >&6
29268 cat >conftest.$ac_ext <<_ACEOF
29271 cat confdefs.h >>conftest.$ac_ext
29272 cat >>conftest.$ac_ext <<_ACEOF
29273 /* end confdefs.h. */
29274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29276 #define $ac_func innocuous_$ac_func
29278 /* System header to define __stub macros and hopefully few prototypes,
29279 which can conflict with char $ac_func (); below.
29280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29281 <limits.h> exists even on freestanding compilers. */
29284 # include <limits.h>
29286 # include <assert.h>
29291 /* Override any GCC internal prototype to avoid an error.
29292 Use char because int might match the return type of a GCC
29293 builtin and then its argument prototype would still apply. */
29298 /* The GNU C library defines this for functions which it implements
29299 to always fail with ENOSYS. Some functions are actually named
29300 something starting with __ and the normal name is an alias. */
29301 #if defined __stub_$ac_func || defined __stub___$ac_func
29308 return $ac_func ();
29313 rm -f conftest.$ac_objext conftest$ac_exeext
29314 if { (ac_try="$ac_link"
29315 case "(($ac_try" in
29316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29317 *) ac_try_echo=$ac_try;;
29319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29320 (eval "$ac_link") 2>conftest.er1
29322 grep -v '^ *+' conftest.er1 >conftest.err
29324 cat conftest.err >&5
29325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29326 (exit $ac_status); } && {
29327 test -z "$ac_c_werror_flag" ||
29328 test ! -s conftest.err
29329 } && test -s conftest$ac_exeext &&
29330 $as_test_x conftest$ac_exeext; then
29331 eval "$as_ac_var=yes"
29333 echo "$as_me: failed program was:" >&5
29334 sed 's/^/| /' conftest.$ac_ext >&5
29336 eval "$as_ac_var=no"
29339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29340 conftest$ac_exeext conftest.$ac_ext
29342 ac_res=`eval echo '${'$as_ac_var'}'`
29343 { echo "$as_me:$LINENO: result: $ac_res" >&5
29344 echo "${ECHO_T}$ac_res" >&6; }
29345 if test `eval echo '${'$as_ac_var'}'` = yes; then
29346 cat >>confdefs.h <<_ACEOF
29347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29356 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29357 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29359 AFMINSTALL=afminstall
29363 if test "$wxUSE_GPE" = "yes"; then
29364 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29365 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29368 for ac_dir in $SEARCH_LIB;
29370 for ac_extension in a so sl dylib dll.a; do
29371 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29372 ac_find_libraries=$ac_dir
29378 if test "$ac_find_libraries" != "" ; then
29380 if test "$ac_find_libraries" = "default location"; then
29383 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29385 if test $result = 0; then
29388 ac_path_to_link=" -L$ac_find_libraries"
29392 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29394 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29395 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29397 { echo "$as_me:$LINENO: result: not found" >&5
29398 echo "${ECHO_T}not found" >&6; }
29404 if test "$wxUSE_MGL" = 1; then
29405 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29406 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29407 if test "x$MGL_ROOT" = x ; then
29408 { echo "$as_me:$LINENO: result: not found" >&5
29409 echo "${ECHO_T}not found" >&6; }
29410 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29411 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29412 { (exit 1); exit 1; }; }
29414 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29415 echo "${ECHO_T}$MGL_ROOT" >&6; }
29418 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29419 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29422 if test "x$wxUSE_SHARED" = xyes ; then
29423 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29425 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29429 mgl_os_candidates="dos32/dj2"
29432 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29433 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29434 { (exit 1); exit 1; }; }
29440 for mgl_os_i in $mgl_os_candidates ; do
29441 if test "x$mgl_os" = x ; then
29442 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29443 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29444 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29449 if test "x$mgl_lib_type" = x ; then
29450 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29451 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29452 mgl_lib_type=release
29459 if test "x$mgl_os" = x ; then
29460 { echo "$as_me:$LINENO: result: not found" >&5
29461 echo "${ECHO_T}not found" >&6; }
29462 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29463 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29464 { (exit 1); exit 1; }; }
29466 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29467 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29469 wxUSE_UNIVERSAL="yes"
29471 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29472 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29474 AFMINSTALL=afminstall
29479 if test "$wxUSE_DFB" = 1; then
29482 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29483 if test -n "$ac_tool_prefix"; then
29484 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29485 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29486 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29488 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29489 echo $ECHO_N "(cached) $ECHO_C" >&6
29491 case $PKG_CONFIG in
29493 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29497 for as_dir in $PATH
29500 test -z "$as_dir" && as_dir=.
29501 for ac_exec_ext in '' $ac_executable_extensions; do
29502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29503 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29514 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29515 if test -n "$PKG_CONFIG"; then
29516 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29517 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29519 { echo "$as_me:$LINENO: result: no" >&5
29520 echo "${ECHO_T}no" >&6; }
29525 if test -z "$ac_cv_path_PKG_CONFIG"; then
29526 ac_pt_PKG_CONFIG=$PKG_CONFIG
29527 # Extract the first word of "pkg-config", so it can be a program name with args.
29528 set dummy pkg-config; ac_word=$2
29529 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29531 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29532 echo $ECHO_N "(cached) $ECHO_C" >&6
29534 case $ac_pt_PKG_CONFIG in
29536 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29540 for as_dir in $PATH
29543 test -z "$as_dir" && as_dir=.
29544 for ac_exec_ext in '' $ac_executable_extensions; do
29545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29546 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29557 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29558 if test -n "$ac_pt_PKG_CONFIG"; then
29559 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29560 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29562 { echo "$as_me:$LINENO: result: no" >&5
29563 echo "${ECHO_T}no" >&6; }
29566 if test "x$ac_pt_PKG_CONFIG" = x; then
29569 case $cross_compiling:$ac_tool_warned in
29571 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29572 whose name does not start with the host triplet. If you think this
29573 configuration is useful to you, please write to autoconf@gnu.org." >&5
29574 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29575 whose name does not start with the host triplet. If you think this
29576 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29577 ac_tool_warned=yes ;;
29579 PKG_CONFIG=$ac_pt_PKG_CONFIG
29582 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29586 if test -n "$PKG_CONFIG"; then
29587 _pkg_min_version=0.9.0
29588 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29589 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29590 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29591 { echo "$as_me:$LINENO: result: yes" >&5
29592 echo "${ECHO_T}yes" >&6; }
29594 { echo "$as_me:$LINENO: result: no" >&5
29595 echo "${ECHO_T}no" >&6; }
29603 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29604 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29606 if test -n "$PKG_CONFIG"; then
29607 if test -n "$DIRECTFB_CFLAGS"; then
29608 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29610 if test -n "$PKG_CONFIG" && \
29611 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29612 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29615 (exit $ac_status); }; then
29616 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29624 if test -n "$PKG_CONFIG"; then
29625 if test -n "$DIRECTFB_LIBS"; then
29626 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29628 if test -n "$PKG_CONFIG" && \
29629 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29630 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29633 (exit $ac_status); }; then
29634 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29645 if test $pkg_failed = yes; then
29647 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29648 _pkg_short_errors_supported=yes
29650 _pkg_short_errors_supported=no
29652 if test $_pkg_short_errors_supported = yes; then
29653 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29655 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29657 # Put the nasty error message in config.log where it belongs
29658 echo "$DIRECTFB_PKG_ERRORS" >&5
29661 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29662 echo "$as_me: error: DirectFB not found." >&2;}
29663 { (exit 1); exit 1; }; }
29666 elif test $pkg_failed = untried; then
29668 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29669 echo "$as_me: error: DirectFB not found." >&2;}
29670 { (exit 1); exit 1; }; }
29674 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29675 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29676 { echo "$as_me:$LINENO: result: yes" >&5
29677 echo "${ECHO_T}yes" >&6; }
29679 wxUSE_UNIVERSAL="yes"
29680 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29681 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29688 if test "$wxUSE_MICROWIN" = 1; then
29689 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29690 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29691 if test "x$MICROWINDOWS" = x ; then
29692 { echo "$as_me:$LINENO: result: not found" >&5
29693 echo "${ECHO_T}not found" >&6; }
29694 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29695 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29696 { (exit 1); exit 1; }; }
29698 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29699 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29702 if test -f $MICROWINDOWS/lib/libmwin.a; then
29703 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29704 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29706 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29707 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29708 { (exit 1); exit 1; }; }
29711 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29712 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29714 wxUSE_UNIVERSAL="yes"
29716 AFMINSTALL=afminstall
29718 GUIDIST=MICROWIN_DIST
29720 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29723 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29724 { echo "$as_me:$LINENO: checking for X" >&5
29725 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29728 # Check whether --with-x was given.
29729 if test "${with_x+set}" = set; then
29733 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29734 if test "x$with_x" = xno; then
29735 # The user explicitly disabled X.
29738 case $x_includes,$x_libraries in #(
29739 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29740 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29741 { (exit 1); exit 1; }; };; #(
29742 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29743 echo $ECHO_N "(cached) $ECHO_C" >&6
29745 # One or both of the vars are not set, and there is no cached value.
29746 ac_x_includes=no ac_x_libraries=no
29747 rm -f -r conftest.dir
29748 if mkdir conftest.dir; then
29750 cat >Imakefile <<'_ACEOF'
29752 @echo incroot='${INCROOT}'
29754 @echo usrlibdir='${USRLIBDIR}'
29756 @echo libdir='${LIBDIR}'
29758 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29759 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29760 for ac_var in incroot usrlibdir libdir; do
29761 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29763 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29764 for ac_extension in a so sl; do
29765 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29766 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29767 ac_im_usrlibdir=$ac_im_libdir; break
29770 # Screen out bogus values from the imake configuration. They are
29771 # bogus both because they are the default anyway, and because
29772 # using them would break gcc on systems where it needs fixed includes.
29773 case $ac_im_incroot in
29774 /usr/include) ac_x_includes= ;;
29775 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29777 case $ac_im_usrlibdir in
29778 /usr/lib | /lib) ;;
29779 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29783 rm -f -r conftest.dir
29786 # Standard set of common directories for X headers.
29787 # Check X11 before X11Rn because it is often a symlink to the current release.
29799 /usr/local/X11/include
29800 /usr/local/X11R6/include
29801 /usr/local/X11R5/include
29802 /usr/local/X11R4/include
29804 /usr/local/include/X11
29805 /usr/local/include/X11R6
29806 /usr/local/include/X11R5
29807 /usr/local/include/X11R4
29811 /usr/XFree86/include/X11
29815 /usr/unsupported/include
29816 /usr/athena/include
29817 /usr/local/x11r5/include
29818 /usr/lpp/Xamples/include
29820 /usr/openwin/include
29821 /usr/openwin/share/include'
29823 if test "$ac_x_includes" = no; then
29824 # Guess where to find include files, by looking for Xlib.h.
29825 # First, try using that file with no special directory specified.
29826 cat >conftest.$ac_ext <<_ACEOF
29829 cat confdefs.h >>conftest.$ac_ext
29830 cat >>conftest.$ac_ext <<_ACEOF
29831 /* end confdefs.h. */
29832 #include <X11/Xlib.h>
29834 if { (ac_try="$ac_cpp conftest.$ac_ext"
29835 case "(($ac_try" in
29836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29837 *) ac_try_echo=$ac_try;;
29839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29840 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29842 grep -v '^ *+' conftest.er1 >conftest.err
29844 cat conftest.err >&5
29845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29846 (exit $ac_status); } >/dev/null && {
29847 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29848 test ! -s conftest.err
29850 # We can compile using X headers with no special include directory.
29853 echo "$as_me: failed program was:" >&5
29854 sed 's/^/| /' conftest.$ac_ext >&5
29856 for ac_dir in $ac_x_header_dirs; do
29857 if test -r "$ac_dir/X11/Xlib.h"; then
29858 ac_x_includes=$ac_dir
29864 rm -f conftest.err conftest.$ac_ext
29865 fi # $ac_x_includes = no
29867 if test "$ac_x_libraries" = no; then
29868 # Check for the libraries.
29869 # See if we find them without any special options.
29870 # Don't add to $LIBS permanently.
29873 cat >conftest.$ac_ext <<_ACEOF
29876 cat confdefs.h >>conftest.$ac_ext
29877 cat >>conftest.$ac_ext <<_ACEOF
29878 /* end confdefs.h. */
29879 #include <X11/Xlib.h>
29888 rm -f conftest.$ac_objext conftest$ac_exeext
29889 if { (ac_try="$ac_link"
29890 case "(($ac_try" in
29891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29892 *) ac_try_echo=$ac_try;;
29894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29895 (eval "$ac_link") 2>conftest.er1
29897 grep -v '^ *+' conftest.er1 >conftest.err
29899 cat conftest.err >&5
29900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29901 (exit $ac_status); } && {
29902 test -z "$ac_c_werror_flag" ||
29903 test ! -s conftest.err
29904 } && test -s conftest$ac_exeext &&
29905 $as_test_x conftest$ac_exeext; then
29907 # We can link X programs with no special library path.
29910 echo "$as_me: failed program was:" >&5
29911 sed 's/^/| /' conftest.$ac_ext >&5
29914 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29916 # Don't even attempt the hair of trying to link an X program!
29917 for ac_extension in a so sl; do
29918 if test -r "$ac_dir/libX11.$ac_extension"; then
29919 ac_x_libraries=$ac_dir
29926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29927 conftest$ac_exeext conftest.$ac_ext
29928 fi # $ac_x_libraries = no
29930 case $ac_x_includes,$ac_x_libraries in #(
29931 no,* | *,no | *\'*)
29932 # Didn't find X, or a directory has "'" in its name.
29933 ac_cv_have_x="have_x=no";; #(
29935 # Record where we found X for the cache.
29936 ac_cv_have_x="have_x=yes\
29937 ac_x_includes='$ac_x_includes'\
29938 ac_x_libraries='$ac_x_libraries'"
29944 eval "$ac_cv_have_x"
29947 if test "$have_x" != yes; then
29948 { echo "$as_me:$LINENO: result: $have_x" >&5
29949 echo "${ECHO_T}$have_x" >&6; }
29952 # If each of the values was on the command line, it overrides each guess.
29953 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29954 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29955 # Update the cache value to reflect the command line values.
29956 ac_cv_have_x="have_x=yes\
29957 ac_x_includes='$x_includes'\
29958 ac_x_libraries='$x_libraries'"
29959 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29960 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29963 if test "$no_x" = yes; then
29964 # Not all programs may use this symbol, but it does not hurt to define it.
29966 cat >>confdefs.h <<\_ACEOF
29967 #define X_DISPLAY_MISSING 1
29970 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29972 if test -n "$x_includes"; then
29973 X_CFLAGS="$X_CFLAGS -I$x_includes"
29976 # It would also be nice to do this for all -L options, not just this one.
29977 if test -n "$x_libraries"; then
29978 X_LIBS="$X_LIBS -L$x_libraries"
29979 # For Solaris; some versions of Sun CC require a space after -R and
29980 # others require no space. Words are not sufficient . . . .
29981 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29982 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29983 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29984 ac_xsave_c_werror_flag=$ac_c_werror_flag
29985 ac_c_werror_flag=yes
29986 cat >conftest.$ac_ext <<_ACEOF
29989 cat confdefs.h >>conftest.$ac_ext
29990 cat >>conftest.$ac_ext <<_ACEOF
29991 /* end confdefs.h. */
30001 rm -f conftest.$ac_objext conftest$ac_exeext
30002 if { (ac_try="$ac_link"
30003 case "(($ac_try" in
30004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30005 *) ac_try_echo=$ac_try;;
30007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30008 (eval "$ac_link") 2>conftest.er1
30010 grep -v '^ *+' conftest.er1 >conftest.err
30012 cat conftest.err >&5
30013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30014 (exit $ac_status); } && {
30015 test -z "$ac_c_werror_flag" ||
30016 test ! -s conftest.err
30017 } && test -s conftest$ac_exeext &&
30018 $as_test_x conftest$ac_exeext; then
30019 { echo "$as_me:$LINENO: result: no" >&5
30020 echo "${ECHO_T}no" >&6; }
30021 X_LIBS="$X_LIBS -R$x_libraries"
30023 echo "$as_me: failed program was:" >&5
30024 sed 's/^/| /' conftest.$ac_ext >&5
30026 LIBS="$ac_xsave_LIBS -R $x_libraries"
30027 cat >conftest.$ac_ext <<_ACEOF
30030 cat confdefs.h >>conftest.$ac_ext
30031 cat >>conftest.$ac_ext <<_ACEOF
30032 /* end confdefs.h. */
30042 rm -f conftest.$ac_objext conftest$ac_exeext
30043 if { (ac_try="$ac_link"
30044 case "(($ac_try" in
30045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30046 *) ac_try_echo=$ac_try;;
30048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30049 (eval "$ac_link") 2>conftest.er1
30051 grep -v '^ *+' conftest.er1 >conftest.err
30053 cat conftest.err >&5
30054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30055 (exit $ac_status); } && {
30056 test -z "$ac_c_werror_flag" ||
30057 test ! -s conftest.err
30058 } && test -s conftest$ac_exeext &&
30059 $as_test_x conftest$ac_exeext; then
30060 { echo "$as_me:$LINENO: result: yes" >&5
30061 echo "${ECHO_T}yes" >&6; }
30062 X_LIBS="$X_LIBS -R $x_libraries"
30064 echo "$as_me: failed program was:" >&5
30065 sed 's/^/| /' conftest.$ac_ext >&5
30067 { echo "$as_me:$LINENO: result: neither works" >&5
30068 echo "${ECHO_T}neither works" >&6; }
30071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30072 conftest$ac_exeext conftest.$ac_ext
30075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30076 conftest$ac_exeext conftest.$ac_ext
30077 ac_c_werror_flag=$ac_xsave_c_werror_flag
30078 LIBS=$ac_xsave_LIBS
30081 # Check for system-dependent libraries X programs must link with.
30082 # Do this before checking for the system-independent R6 libraries
30083 # (-lICE), since we may need -lsocket or whatever for X linking.
30085 if test "$ISC" = yes; then
30086 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30088 # Martyn Johnson says this is needed for Ultrix, if the X
30089 # libraries were built with DECnet support. And Karl Berry says
30090 # the Alpha needs dnet_stub (dnet does not exist).
30091 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30092 cat >conftest.$ac_ext <<_ACEOF
30095 cat confdefs.h >>conftest.$ac_ext
30096 cat >>conftest.$ac_ext <<_ACEOF
30097 /* end confdefs.h. */
30099 /* Override any GCC internal prototype to avoid an error.
30100 Use char because int might match the return type of a GCC
30101 builtin and then its argument prototype would still apply. */
30105 char XOpenDisplay ();
30109 return XOpenDisplay ();
30114 rm -f conftest.$ac_objext conftest$ac_exeext
30115 if { (ac_try="$ac_link"
30116 case "(($ac_try" in
30117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30118 *) ac_try_echo=$ac_try;;
30120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30121 (eval "$ac_link") 2>conftest.er1
30123 grep -v '^ *+' conftest.er1 >conftest.err
30125 cat conftest.err >&5
30126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30127 (exit $ac_status); } && {
30128 test -z "$ac_c_werror_flag" ||
30129 test ! -s conftest.err
30130 } && test -s conftest$ac_exeext &&
30131 $as_test_x conftest$ac_exeext; then
30134 echo "$as_me: failed program was:" >&5
30135 sed 's/^/| /' conftest.$ac_ext >&5
30137 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30138 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30139 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30140 echo $ECHO_N "(cached) $ECHO_C" >&6
30142 ac_check_lib_save_LIBS=$LIBS
30143 LIBS="-ldnet $LIBS"
30144 cat >conftest.$ac_ext <<_ACEOF
30147 cat confdefs.h >>conftest.$ac_ext
30148 cat >>conftest.$ac_ext <<_ACEOF
30149 /* end confdefs.h. */
30151 /* Override any GCC internal prototype to avoid an error.
30152 Use char because int might match the return type of a GCC
30153 builtin and then its argument prototype would still apply. */
30161 return dnet_ntoa ();
30166 rm -f conftest.$ac_objext conftest$ac_exeext
30167 if { (ac_try="$ac_link"
30168 case "(($ac_try" in
30169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30170 *) ac_try_echo=$ac_try;;
30172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30173 (eval "$ac_link") 2>conftest.er1
30175 grep -v '^ *+' conftest.er1 >conftest.err
30177 cat conftest.err >&5
30178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30179 (exit $ac_status); } && {
30180 test -z "$ac_c_werror_flag" ||
30181 test ! -s conftest.err
30182 } && test -s conftest$ac_exeext &&
30183 $as_test_x conftest$ac_exeext; then
30184 ac_cv_lib_dnet_dnet_ntoa=yes
30186 echo "$as_me: failed program was:" >&5
30187 sed 's/^/| /' conftest.$ac_ext >&5
30189 ac_cv_lib_dnet_dnet_ntoa=no
30192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30193 conftest$ac_exeext conftest.$ac_ext
30194 LIBS=$ac_check_lib_save_LIBS
30196 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30197 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30198 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30199 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30202 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30203 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30204 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30205 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30206 echo $ECHO_N "(cached) $ECHO_C" >&6
30208 ac_check_lib_save_LIBS=$LIBS
30209 LIBS="-ldnet_stub $LIBS"
30210 cat >conftest.$ac_ext <<_ACEOF
30213 cat confdefs.h >>conftest.$ac_ext
30214 cat >>conftest.$ac_ext <<_ACEOF
30215 /* end confdefs.h. */
30217 /* Override any GCC internal prototype to avoid an error.
30218 Use char because int might match the return type of a GCC
30219 builtin and then its argument prototype would still apply. */
30227 return dnet_ntoa ();
30232 rm -f conftest.$ac_objext conftest$ac_exeext
30233 if { (ac_try="$ac_link"
30234 case "(($ac_try" in
30235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30236 *) ac_try_echo=$ac_try;;
30238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30239 (eval "$ac_link") 2>conftest.er1
30241 grep -v '^ *+' conftest.er1 >conftest.err
30243 cat conftest.err >&5
30244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30245 (exit $ac_status); } && {
30246 test -z "$ac_c_werror_flag" ||
30247 test ! -s conftest.err
30248 } && test -s conftest$ac_exeext &&
30249 $as_test_x conftest$ac_exeext; then
30250 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30252 echo "$as_me: failed program was:" >&5
30253 sed 's/^/| /' conftest.$ac_ext >&5
30255 ac_cv_lib_dnet_stub_dnet_ntoa=no
30258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30259 conftest$ac_exeext conftest.$ac_ext
30260 LIBS=$ac_check_lib_save_LIBS
30262 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30263 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30264 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30265 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30272 conftest$ac_exeext conftest.$ac_ext
30273 LIBS="$ac_xsave_LIBS"
30275 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30276 # to get the SysV transport functions.
30277 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30279 # The nsl library prevents programs from opening the X display
30280 # on Irix 5.2, according to T.E. Dickey.
30281 # The functions gethostbyname, getservbyname, and inet_addr are
30282 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30283 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30284 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30285 if test "${ac_cv_func_gethostbyname+set}" = set; then
30286 echo $ECHO_N "(cached) $ECHO_C" >&6
30288 cat >conftest.$ac_ext <<_ACEOF
30291 cat confdefs.h >>conftest.$ac_ext
30292 cat >>conftest.$ac_ext <<_ACEOF
30293 /* end confdefs.h. */
30294 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30296 #define gethostbyname innocuous_gethostbyname
30298 /* System header to define __stub macros and hopefully few prototypes,
30299 which can conflict with char gethostbyname (); below.
30300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30301 <limits.h> exists even on freestanding compilers. */
30304 # include <limits.h>
30306 # include <assert.h>
30309 #undef gethostbyname
30311 /* Override any GCC internal prototype to avoid an error.
30312 Use char because int might match the return type of a GCC
30313 builtin and then its argument prototype would still apply. */
30317 char gethostbyname ();
30318 /* The GNU C library defines this for functions which it implements
30319 to always fail with ENOSYS. Some functions are actually named
30320 something starting with __ and the normal name is an alias. */
30321 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30328 return gethostbyname ();
30333 rm -f conftest.$ac_objext conftest$ac_exeext
30334 if { (ac_try="$ac_link"
30335 case "(($ac_try" in
30336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30337 *) ac_try_echo=$ac_try;;
30339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30340 (eval "$ac_link") 2>conftest.er1
30342 grep -v '^ *+' conftest.er1 >conftest.err
30344 cat conftest.err >&5
30345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30346 (exit $ac_status); } && {
30347 test -z "$ac_c_werror_flag" ||
30348 test ! -s conftest.err
30349 } && test -s conftest$ac_exeext &&
30350 $as_test_x conftest$ac_exeext; then
30351 ac_cv_func_gethostbyname=yes
30353 echo "$as_me: failed program was:" >&5
30354 sed 's/^/| /' conftest.$ac_ext >&5
30356 ac_cv_func_gethostbyname=no
30359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30360 conftest$ac_exeext conftest.$ac_ext
30362 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30363 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30365 if test $ac_cv_func_gethostbyname = no; then
30366 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30367 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30368 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30369 echo $ECHO_N "(cached) $ECHO_C" >&6
30371 ac_check_lib_save_LIBS=$LIBS
30373 cat >conftest.$ac_ext <<_ACEOF
30376 cat confdefs.h >>conftest.$ac_ext
30377 cat >>conftest.$ac_ext <<_ACEOF
30378 /* end confdefs.h. */
30380 /* Override any GCC internal prototype to avoid an error.
30381 Use char because int might match the return type of a GCC
30382 builtin and then its argument prototype would still apply. */
30386 char gethostbyname ();
30390 return gethostbyname ();
30395 rm -f conftest.$ac_objext conftest$ac_exeext
30396 if { (ac_try="$ac_link"
30397 case "(($ac_try" in
30398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30399 *) ac_try_echo=$ac_try;;
30401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30402 (eval "$ac_link") 2>conftest.er1
30404 grep -v '^ *+' conftest.er1 >conftest.err
30406 cat conftest.err >&5
30407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30408 (exit $ac_status); } && {
30409 test -z "$ac_c_werror_flag" ||
30410 test ! -s conftest.err
30411 } && test -s conftest$ac_exeext &&
30412 $as_test_x conftest$ac_exeext; then
30413 ac_cv_lib_nsl_gethostbyname=yes
30415 echo "$as_me: failed program was:" >&5
30416 sed 's/^/| /' conftest.$ac_ext >&5
30418 ac_cv_lib_nsl_gethostbyname=no
30421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30422 conftest$ac_exeext conftest.$ac_ext
30423 LIBS=$ac_check_lib_save_LIBS
30425 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30426 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30427 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30428 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30431 if test $ac_cv_lib_nsl_gethostbyname = no; then
30432 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30433 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30434 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30435 echo $ECHO_N "(cached) $ECHO_C" >&6
30437 ac_check_lib_save_LIBS=$LIBS
30439 cat >conftest.$ac_ext <<_ACEOF
30442 cat confdefs.h >>conftest.$ac_ext
30443 cat >>conftest.$ac_ext <<_ACEOF
30444 /* end confdefs.h. */
30446 /* Override any GCC internal prototype to avoid an error.
30447 Use char because int might match the return type of a GCC
30448 builtin and then its argument prototype would still apply. */
30452 char gethostbyname ();
30456 return gethostbyname ();
30461 rm -f conftest.$ac_objext conftest$ac_exeext
30462 if { (ac_try="$ac_link"
30463 case "(($ac_try" in
30464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30465 *) ac_try_echo=$ac_try;;
30467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30468 (eval "$ac_link") 2>conftest.er1
30470 grep -v '^ *+' conftest.er1 >conftest.err
30472 cat conftest.err >&5
30473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30474 (exit $ac_status); } && {
30475 test -z "$ac_c_werror_flag" ||
30476 test ! -s conftest.err
30477 } && test -s conftest$ac_exeext &&
30478 $as_test_x conftest$ac_exeext; then
30479 ac_cv_lib_bsd_gethostbyname=yes
30481 echo "$as_me: failed program was:" >&5
30482 sed 's/^/| /' conftest.$ac_ext >&5
30484 ac_cv_lib_bsd_gethostbyname=no
30487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30488 conftest$ac_exeext conftest.$ac_ext
30489 LIBS=$ac_check_lib_save_LIBS
30491 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30492 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30493 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30494 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30500 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30501 # socket/setsockopt and other routines are undefined under SCO ODT
30502 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30503 # on later versions), says Simon Leinen: it contains gethostby*
30504 # variants that don't use the name server (or something). -lsocket
30505 # must be given before -lnsl if both are needed. We assume that
30506 # if connect needs -lnsl, so does gethostbyname.
30507 { echo "$as_me:$LINENO: checking for connect" >&5
30508 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30509 if test "${ac_cv_func_connect+set}" = set; then
30510 echo $ECHO_N "(cached) $ECHO_C" >&6
30512 cat >conftest.$ac_ext <<_ACEOF
30515 cat confdefs.h >>conftest.$ac_ext
30516 cat >>conftest.$ac_ext <<_ACEOF
30517 /* end confdefs.h. */
30518 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30520 #define connect innocuous_connect
30522 /* System header to define __stub macros and hopefully few prototypes,
30523 which can conflict with char connect (); below.
30524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30525 <limits.h> exists even on freestanding compilers. */
30528 # include <limits.h>
30530 # include <assert.h>
30535 /* Override any GCC internal prototype to avoid an error.
30536 Use char because int might match the return type of a GCC
30537 builtin and then its argument prototype would still apply. */
30542 /* The GNU C library defines this for functions which it implements
30543 to always fail with ENOSYS. Some functions are actually named
30544 something starting with __ and the normal name is an alias. */
30545 #if defined __stub_connect || defined __stub___connect
30557 rm -f conftest.$ac_objext conftest$ac_exeext
30558 if { (ac_try="$ac_link"
30559 case "(($ac_try" in
30560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30561 *) ac_try_echo=$ac_try;;
30563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30564 (eval "$ac_link") 2>conftest.er1
30566 grep -v '^ *+' conftest.er1 >conftest.err
30568 cat conftest.err >&5
30569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); } && {
30571 test -z "$ac_c_werror_flag" ||
30572 test ! -s conftest.err
30573 } && test -s conftest$ac_exeext &&
30574 $as_test_x conftest$ac_exeext; then
30575 ac_cv_func_connect=yes
30577 echo "$as_me: failed program was:" >&5
30578 sed 's/^/| /' conftest.$ac_ext >&5
30580 ac_cv_func_connect=no
30583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30584 conftest$ac_exeext conftest.$ac_ext
30586 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30587 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30589 if test $ac_cv_func_connect = no; then
30590 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30591 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30592 if test "${ac_cv_lib_socket_connect+set}" = set; then
30593 echo $ECHO_N "(cached) $ECHO_C" >&6
30595 ac_check_lib_save_LIBS=$LIBS
30596 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30597 cat >conftest.$ac_ext <<_ACEOF
30600 cat confdefs.h >>conftest.$ac_ext
30601 cat >>conftest.$ac_ext <<_ACEOF
30602 /* end confdefs.h. */
30604 /* Override any GCC internal prototype to avoid an error.
30605 Use char because int might match the return type of a GCC
30606 builtin and then its argument prototype would still apply. */
30619 rm -f conftest.$ac_objext conftest$ac_exeext
30620 if { (ac_try="$ac_link"
30621 case "(($ac_try" in
30622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30623 *) ac_try_echo=$ac_try;;
30625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30626 (eval "$ac_link") 2>conftest.er1
30628 grep -v '^ *+' conftest.er1 >conftest.err
30630 cat conftest.err >&5
30631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30632 (exit $ac_status); } && {
30633 test -z "$ac_c_werror_flag" ||
30634 test ! -s conftest.err
30635 } && test -s conftest$ac_exeext &&
30636 $as_test_x conftest$ac_exeext; then
30637 ac_cv_lib_socket_connect=yes
30639 echo "$as_me: failed program was:" >&5
30640 sed 's/^/| /' conftest.$ac_ext >&5
30642 ac_cv_lib_socket_connect=no
30645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30646 conftest$ac_exeext conftest.$ac_ext
30647 LIBS=$ac_check_lib_save_LIBS
30649 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30650 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30651 if test $ac_cv_lib_socket_connect = yes; then
30652 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30657 # Guillermo Gomez says -lposix is necessary on A/UX.
30658 { echo "$as_me:$LINENO: checking for remove" >&5
30659 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30660 if test "${ac_cv_func_remove+set}" = set; then
30661 echo $ECHO_N "(cached) $ECHO_C" >&6
30663 cat >conftest.$ac_ext <<_ACEOF
30666 cat confdefs.h >>conftest.$ac_ext
30667 cat >>conftest.$ac_ext <<_ACEOF
30668 /* end confdefs.h. */
30669 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30671 #define remove innocuous_remove
30673 /* System header to define __stub macros and hopefully few prototypes,
30674 which can conflict with char remove (); below.
30675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30676 <limits.h> exists even on freestanding compilers. */
30679 # include <limits.h>
30681 # include <assert.h>
30686 /* Override any GCC internal prototype to avoid an error.
30687 Use char because int might match the return type of a GCC
30688 builtin and then its argument prototype would still apply. */
30693 /* The GNU C library defines this for functions which it implements
30694 to always fail with ENOSYS. Some functions are actually named
30695 something starting with __ and the normal name is an alias. */
30696 #if defined __stub_remove || defined __stub___remove
30708 rm -f conftest.$ac_objext conftest$ac_exeext
30709 if { (ac_try="$ac_link"
30710 case "(($ac_try" in
30711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30712 *) ac_try_echo=$ac_try;;
30714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30715 (eval "$ac_link") 2>conftest.er1
30717 grep -v '^ *+' conftest.er1 >conftest.err
30719 cat conftest.err >&5
30720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30721 (exit $ac_status); } && {
30722 test -z "$ac_c_werror_flag" ||
30723 test ! -s conftest.err
30724 } && test -s conftest$ac_exeext &&
30725 $as_test_x conftest$ac_exeext; then
30726 ac_cv_func_remove=yes
30728 echo "$as_me: failed program was:" >&5
30729 sed 's/^/| /' conftest.$ac_ext >&5
30731 ac_cv_func_remove=no
30734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30735 conftest$ac_exeext conftest.$ac_ext
30737 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30738 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30740 if test $ac_cv_func_remove = no; then
30741 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30742 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30743 if test "${ac_cv_lib_posix_remove+set}" = set; then
30744 echo $ECHO_N "(cached) $ECHO_C" >&6
30746 ac_check_lib_save_LIBS=$LIBS
30747 LIBS="-lposix $LIBS"
30748 cat >conftest.$ac_ext <<_ACEOF
30751 cat confdefs.h >>conftest.$ac_ext
30752 cat >>conftest.$ac_ext <<_ACEOF
30753 /* end confdefs.h. */
30755 /* Override any GCC internal prototype to avoid an error.
30756 Use char because int might match the return type of a GCC
30757 builtin and then its argument prototype would still apply. */
30770 rm -f conftest.$ac_objext conftest$ac_exeext
30771 if { (ac_try="$ac_link"
30772 case "(($ac_try" in
30773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30774 *) ac_try_echo=$ac_try;;
30776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30777 (eval "$ac_link") 2>conftest.er1
30779 grep -v '^ *+' conftest.er1 >conftest.err
30781 cat conftest.err >&5
30782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30783 (exit $ac_status); } && {
30784 test -z "$ac_c_werror_flag" ||
30785 test ! -s conftest.err
30786 } && test -s conftest$ac_exeext &&
30787 $as_test_x conftest$ac_exeext; then
30788 ac_cv_lib_posix_remove=yes
30790 echo "$as_me: failed program was:" >&5
30791 sed 's/^/| /' conftest.$ac_ext >&5
30793 ac_cv_lib_posix_remove=no
30796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30797 conftest$ac_exeext conftest.$ac_ext
30798 LIBS=$ac_check_lib_save_LIBS
30800 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30801 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30802 if test $ac_cv_lib_posix_remove = yes; then
30803 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30808 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30809 { echo "$as_me:$LINENO: checking for shmat" >&5
30810 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30811 if test "${ac_cv_func_shmat+set}" = set; then
30812 echo $ECHO_N "(cached) $ECHO_C" >&6
30814 cat >conftest.$ac_ext <<_ACEOF
30817 cat confdefs.h >>conftest.$ac_ext
30818 cat >>conftest.$ac_ext <<_ACEOF
30819 /* end confdefs.h. */
30820 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30822 #define shmat innocuous_shmat
30824 /* System header to define __stub macros and hopefully few prototypes,
30825 which can conflict with char shmat (); below.
30826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30827 <limits.h> exists even on freestanding compilers. */
30830 # include <limits.h>
30832 # include <assert.h>
30837 /* Override any GCC internal prototype to avoid an error.
30838 Use char because int might match the return type of a GCC
30839 builtin and then its argument prototype would still apply. */
30844 /* The GNU C library defines this for functions which it implements
30845 to always fail with ENOSYS. Some functions are actually named
30846 something starting with __ and the normal name is an alias. */
30847 #if defined __stub_shmat || defined __stub___shmat
30859 rm -f conftest.$ac_objext conftest$ac_exeext
30860 if { (ac_try="$ac_link"
30861 case "(($ac_try" in
30862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30863 *) ac_try_echo=$ac_try;;
30865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30866 (eval "$ac_link") 2>conftest.er1
30868 grep -v '^ *+' conftest.er1 >conftest.err
30870 cat conftest.err >&5
30871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30872 (exit $ac_status); } && {
30873 test -z "$ac_c_werror_flag" ||
30874 test ! -s conftest.err
30875 } && test -s conftest$ac_exeext &&
30876 $as_test_x conftest$ac_exeext; then
30877 ac_cv_func_shmat=yes
30879 echo "$as_me: failed program was:" >&5
30880 sed 's/^/| /' conftest.$ac_ext >&5
30882 ac_cv_func_shmat=no
30885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30886 conftest$ac_exeext conftest.$ac_ext
30888 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30889 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30891 if test $ac_cv_func_shmat = no; then
30892 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30893 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30894 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30895 echo $ECHO_N "(cached) $ECHO_C" >&6
30897 ac_check_lib_save_LIBS=$LIBS
30899 cat >conftest.$ac_ext <<_ACEOF
30902 cat confdefs.h >>conftest.$ac_ext
30903 cat >>conftest.$ac_ext <<_ACEOF
30904 /* end confdefs.h. */
30906 /* Override any GCC internal prototype to avoid an error.
30907 Use char because int might match the return type of a GCC
30908 builtin and then its argument prototype would still apply. */
30921 rm -f conftest.$ac_objext conftest$ac_exeext
30922 if { (ac_try="$ac_link"
30923 case "(($ac_try" in
30924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30925 *) ac_try_echo=$ac_try;;
30927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30928 (eval "$ac_link") 2>conftest.er1
30930 grep -v '^ *+' conftest.er1 >conftest.err
30932 cat conftest.err >&5
30933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30934 (exit $ac_status); } && {
30935 test -z "$ac_c_werror_flag" ||
30936 test ! -s conftest.err
30937 } && test -s conftest$ac_exeext &&
30938 $as_test_x conftest$ac_exeext; then
30939 ac_cv_lib_ipc_shmat=yes
30941 echo "$as_me: failed program was:" >&5
30942 sed 's/^/| /' conftest.$ac_ext >&5
30944 ac_cv_lib_ipc_shmat=no
30947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30948 conftest$ac_exeext conftest.$ac_ext
30949 LIBS=$ac_check_lib_save_LIBS
30951 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30952 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30953 if test $ac_cv_lib_ipc_shmat = yes; then
30954 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30960 # Check for libraries that X11R6 Xt/Xaw programs need.
30961 ac_save_LDFLAGS=$LDFLAGS
30962 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30963 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30964 # check for ICE first), but we must link in the order -lSM -lICE or
30965 # we get undefined symbols. So assume we have SM if we have ICE.
30966 # These have to be linked with before -lX11, unlike the other
30967 # libraries we check for below, so use a different variable.
30968 # John Interrante, Karl Berry
30969 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30970 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30971 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30972 echo $ECHO_N "(cached) $ECHO_C" >&6
30974 ac_check_lib_save_LIBS=$LIBS
30975 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30976 cat >conftest.$ac_ext <<_ACEOF
30979 cat confdefs.h >>conftest.$ac_ext
30980 cat >>conftest.$ac_ext <<_ACEOF
30981 /* end confdefs.h. */
30983 /* Override any GCC internal prototype to avoid an error.
30984 Use char because int might match the return type of a GCC
30985 builtin and then its argument prototype would still apply. */
30989 char IceConnectionNumber ();
30993 return IceConnectionNumber ();
30998 rm -f conftest.$ac_objext conftest$ac_exeext
30999 if { (ac_try="$ac_link"
31000 case "(($ac_try" in
31001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31002 *) ac_try_echo=$ac_try;;
31004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31005 (eval "$ac_link") 2>conftest.er1
31007 grep -v '^ *+' conftest.er1 >conftest.err
31009 cat conftest.err >&5
31010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31011 (exit $ac_status); } && {
31012 test -z "$ac_c_werror_flag" ||
31013 test ! -s conftest.err
31014 } && test -s conftest$ac_exeext &&
31015 $as_test_x conftest$ac_exeext; then
31016 ac_cv_lib_ICE_IceConnectionNumber=yes
31018 echo "$as_me: failed program was:" >&5
31019 sed 's/^/| /' conftest.$ac_ext >&5
31021 ac_cv_lib_ICE_IceConnectionNumber=no
31024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31025 conftest$ac_exeext conftest.$ac_ext
31026 LIBS=$ac_check_lib_save_LIBS
31028 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31029 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31030 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31031 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31034 LDFLAGS=$ac_save_LDFLAGS
31039 if test "$no_x" = "yes"; then
31040 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31041 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31042 { (exit 1); exit 1; }; }
31045 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31046 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31047 AFMINSTALL=afminstall
31048 COMPILED_X_PROGRAM=0
31052 if test "$wxUSE_X11" = 1; then
31053 if test "$wxUSE_NANOX" = "yes"; then
31054 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31055 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31056 if test "x$MICROWIN" = x ; then
31057 { echo "$as_me:$LINENO: result: not found" >&5
31058 echo "${ECHO_T}not found" >&6; }
31059 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31060 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31061 { (exit 1); exit 1; }; }
31063 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31064 echo "${ECHO_T}$MICROWIN" >&6; }
31065 cat >>confdefs.h <<\_ACEOF
31066 #define wxUSE_NANOX 1
31072 if test "$wxUSE_UNICODE" = "yes"; then
31075 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31076 if test -n "$ac_tool_prefix"; then
31077 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31078 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31079 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31081 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31082 echo $ECHO_N "(cached) $ECHO_C" >&6
31084 case $PKG_CONFIG in
31086 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31090 for as_dir in $PATH
31093 test -z "$as_dir" && as_dir=.
31094 for ac_exec_ext in '' $ac_executable_extensions; do
31095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31096 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31107 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31108 if test -n "$PKG_CONFIG"; then
31109 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31110 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31112 { echo "$as_me:$LINENO: result: no" >&5
31113 echo "${ECHO_T}no" >&6; }
31118 if test -z "$ac_cv_path_PKG_CONFIG"; then
31119 ac_pt_PKG_CONFIG=$PKG_CONFIG
31120 # Extract the first word of "pkg-config", so it can be a program name with args.
31121 set dummy pkg-config; ac_word=$2
31122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31124 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31125 echo $ECHO_N "(cached) $ECHO_C" >&6
31127 case $ac_pt_PKG_CONFIG in
31129 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31133 for as_dir in $PATH
31136 test -z "$as_dir" && as_dir=.
31137 for ac_exec_ext in '' $ac_executable_extensions; do
31138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31139 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31150 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31151 if test -n "$ac_pt_PKG_CONFIG"; then
31152 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31153 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31155 { echo "$as_me:$LINENO: result: no" >&5
31156 echo "${ECHO_T}no" >&6; }
31159 if test "x$ac_pt_PKG_CONFIG" = x; then
31162 case $cross_compiling:$ac_tool_warned in
31164 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31165 whose name does not start with the host triplet. If you think this
31166 configuration is useful to you, please write to autoconf@gnu.org." >&5
31167 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31168 whose name does not start with the host triplet. If you think this
31169 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31170 ac_tool_warned=yes ;;
31172 PKG_CONFIG=$ac_pt_PKG_CONFIG
31175 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31179 if test -n "$PKG_CONFIG"; then
31180 _pkg_min_version=0.9.0
31181 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31182 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31183 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31184 { echo "$as_me:$LINENO: result: yes" >&5
31185 echo "${ECHO_T}yes" >&6; }
31187 { echo "$as_me:$LINENO: result: no" >&5
31188 echo "${ECHO_T}no" >&6; }
31196 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31197 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31199 if test -n "$PKG_CONFIG"; then
31200 if test -n "$PANGOX_CFLAGS"; then
31201 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31203 if test -n "$PKG_CONFIG" && \
31204 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31205 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31208 (exit $ac_status); }; then
31209 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31217 if test -n "$PKG_CONFIG"; then
31218 if test -n "$PANGOX_LIBS"; then
31219 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31221 if test -n "$PKG_CONFIG" && \
31222 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31223 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31226 (exit $ac_status); }; then
31227 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31238 if test $pkg_failed = yes; then
31240 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31241 _pkg_short_errors_supported=yes
31243 _pkg_short_errors_supported=no
31245 if test $_pkg_short_errors_supported = yes; then
31246 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31248 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31250 # Put the nasty error message in config.log where it belongs
31251 echo "$PANGOX_PKG_ERRORS" >&5
31254 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31255 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31256 { (exit 1); exit 1; }; }
31259 elif test $pkg_failed = untried; then
31261 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31262 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31263 { (exit 1); exit 1; }; }
31267 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31268 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31269 { echo "$as_me:$LINENO: result: yes" >&5
31270 echo "${ECHO_T}yes" >&6; }
31272 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31273 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31274 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31279 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31280 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31282 if test -n "$PKG_CONFIG"; then
31283 if test -n "$PANGOFT2_CFLAGS"; then
31284 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31286 if test -n "$PKG_CONFIG" && \
31287 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31288 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31291 (exit $ac_status); }; then
31292 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31300 if test -n "$PKG_CONFIG"; then
31301 if test -n "$PANGOFT2_LIBS"; then
31302 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31304 if test -n "$PKG_CONFIG" && \
31305 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31306 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31309 (exit $ac_status); }; then
31310 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31321 if test $pkg_failed = yes; then
31323 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31324 _pkg_short_errors_supported=yes
31326 _pkg_short_errors_supported=no
31328 if test $_pkg_short_errors_supported = yes; then
31329 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31331 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31333 # Put the nasty error message in config.log where it belongs
31334 echo "$PANGOFT2_PKG_ERRORS" >&5
31337 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31338 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31339 wxUSE_PRINTING_ARCHITECTURE="no"
31342 elif test $pkg_failed = untried; then
31344 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31345 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31346 wxUSE_PRINTING_ARCHITECTURE="no"
31350 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31351 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31352 { echo "$as_me:$LINENO: result: yes" >&5
31353 echo "${ECHO_T}yes" >&6; }
31355 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31356 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31357 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31362 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31363 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31365 if test -n "$PKG_CONFIG"; then
31366 if test -n "$PANGOXFT_CFLAGS"; then
31367 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31369 if test -n "$PKG_CONFIG" && \
31370 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31371 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31374 (exit $ac_status); }; then
31375 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31383 if test -n "$PKG_CONFIG"; then
31384 if test -n "$PANGOXFT_LIBS"; then
31385 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31387 if test -n "$PKG_CONFIG" && \
31388 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31389 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31392 (exit $ac_status); }; then
31393 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31404 if test $pkg_failed = yes; then
31406 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31407 _pkg_short_errors_supported=yes
31409 _pkg_short_errors_supported=no
31411 if test $_pkg_short_errors_supported = yes; then
31412 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31414 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31416 # Put the nasty error message in config.log where it belongs
31417 echo "$PANGOXFT_PKG_ERRORS" >&5
31420 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31421 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31424 elif test $pkg_failed = untried; then
31426 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31427 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31431 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31432 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31433 { echo "$as_me:$LINENO: result: yes" >&5
31434 echo "${ECHO_T}yes" >&6; }
31436 cat >>confdefs.h <<\_ACEOF
31437 #define HAVE_PANGO_XFT 1
31440 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31441 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31442 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31446 LIBS="$LIBS $PANGOX_LIBS"
31448 for ac_func in pango_font_family_is_monospace
31450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31451 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31453 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31454 echo $ECHO_N "(cached) $ECHO_C" >&6
31456 cat >conftest.$ac_ext <<_ACEOF
31459 cat confdefs.h >>conftest.$ac_ext
31460 cat >>conftest.$ac_ext <<_ACEOF
31461 /* end confdefs.h. */
31462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31464 #define $ac_func innocuous_$ac_func
31466 /* System header to define __stub macros and hopefully few prototypes,
31467 which can conflict with char $ac_func (); below.
31468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31469 <limits.h> exists even on freestanding compilers. */
31472 # include <limits.h>
31474 # include <assert.h>
31479 /* Override any GCC internal prototype to avoid an error.
31480 Use char because int might match the return type of a GCC
31481 builtin and then its argument prototype would still apply. */
31486 /* The GNU C library defines this for functions which it implements
31487 to always fail with ENOSYS. Some functions are actually named
31488 something starting with __ and the normal name is an alias. */
31489 #if defined __stub_$ac_func || defined __stub___$ac_func
31496 return $ac_func ();
31501 rm -f conftest.$ac_objext conftest$ac_exeext
31502 if { (ac_try="$ac_link"
31503 case "(($ac_try" in
31504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31505 *) ac_try_echo=$ac_try;;
31507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31508 (eval "$ac_link") 2>conftest.er1
31510 grep -v '^ *+' conftest.er1 >conftest.err
31512 cat conftest.err >&5
31513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31514 (exit $ac_status); } && {
31515 test -z "$ac_c_werror_flag" ||
31516 test ! -s conftest.err
31517 } && test -s conftest$ac_exeext &&
31518 $as_test_x conftest$ac_exeext; then
31519 eval "$as_ac_var=yes"
31521 echo "$as_me: failed program was:" >&5
31522 sed 's/^/| /' conftest.$ac_ext >&5
31524 eval "$as_ac_var=no"
31527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31528 conftest$ac_exeext conftest.$ac_ext
31530 ac_res=`eval echo '${'$as_ac_var'}'`
31531 { echo "$as_me:$LINENO: result: $ac_res" >&5
31532 echo "${ECHO_T}$ac_res" >&6; }
31533 if test `eval echo '${'$as_ac_var'}'` = yes; then
31534 cat >>confdefs.h <<_ACEOF
31535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31544 wxUSE_UNIVERSAL="yes"
31546 if test "$wxUSE_NANOX" = "yes"; then
31547 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31548 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"
31549 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31551 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31558 if test "$wxUSE_MOTIF" = 1; then
31559 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31560 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31563 for ac_dir in $SEARCH_INCLUDE /usr/include;
31565 if test -f "$ac_dir/Xm/Xm.h"; then
31566 ac_find_includes=$ac_dir
31571 if test "$ac_find_includes" != "" ; then
31572 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31573 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31575 if test "x$ac_find_includes" = "x/usr/include"; then
31576 ac_path_to_include=""
31578 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31580 if test $result = 0; then
31581 ac_path_to_include=""
31583 ac_path_to_include=" -I$ac_find_includes"
31587 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31589 save_CFLAGS=$CFLAGS
31590 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31592 cat >conftest.$ac_ext <<_ACEOF
31595 cat confdefs.h >>conftest.$ac_ext
31596 cat >>conftest.$ac_ext <<_ACEOF
31597 /* end confdefs.h. */
31606 version = xmUseVersion;
31612 rm -f conftest.$ac_objext
31613 if { (ac_try="$ac_compile"
31614 case "(($ac_try" in
31615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31616 *) ac_try_echo=$ac_try;;
31618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31619 (eval "$ac_compile") 2>conftest.er1
31621 grep -v '^ *+' conftest.er1 >conftest.err
31623 cat conftest.err >&5
31624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31625 (exit $ac_status); } && {
31626 test -z "$ac_c_werror_flag" ||
31627 test ! -s conftest.err
31628 } && test -s conftest.$ac_objext; then
31630 { echo "$as_me:$LINENO: result: found in default search path" >&5
31631 echo "${ECHO_T}found in default search path" >&6; }
31632 COMPILED_X_PROGRAM=1
31635 echo "$as_me: failed program was:" >&5
31636 sed 's/^/| /' conftest.$ac_ext >&5
31639 { echo "$as_me:$LINENO: result: no" >&5
31640 echo "${ECHO_T}no" >&6; }
31641 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31642 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31643 { (exit 1); exit 1; }; }
31648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31650 CFLAGS=$save_CFLAGS
31654 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31655 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31658 for ac_dir in $SEARCH_LIB;
31660 for ac_extension in a so sl dylib dll.a; do
31661 if test -f "$ac_dir/libXm.$ac_extension"; then
31662 ac_find_libraries=$ac_dir
31669 if test "x$ac_find_libraries" != "x" ; then
31670 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31671 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31674 if test "$ac_find_libraries" = "default location"; then
31677 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31679 if test $result = 0; then
31682 ac_path_to_link=" -L$ac_find_libraries"
31686 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31688 save_CFLAGS=$CFLAGS
31689 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31691 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31693 cat >conftest.$ac_ext <<_ACEOF
31696 cat confdefs.h >>conftest.$ac_ext
31697 cat >>conftest.$ac_ext <<_ACEOF
31698 /* end confdefs.h. */
31707 version = xmUseVersion;
31713 rm -f conftest.$ac_objext conftest$ac_exeext
31714 if { (ac_try="$ac_link"
31715 case "(($ac_try" in
31716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31717 *) ac_try_echo=$ac_try;;
31719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31720 (eval "$ac_link") 2>conftest.er1
31722 grep -v '^ *+' conftest.er1 >conftest.err
31724 cat conftest.err >&5
31725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31726 (exit $ac_status); } && {
31727 test -z "$ac_c_werror_flag" ||
31728 test ! -s conftest.err
31729 } && test -s conftest$ac_exeext &&
31730 $as_test_x conftest$ac_exeext; then
31732 { echo "$as_me:$LINENO: result: found in default search path" >&5
31733 echo "${ECHO_T}found in default search path" >&6; }
31734 COMPILED_X_PROGRAM=1
31737 echo "$as_me: failed program was:" >&5
31738 sed 's/^/| /' conftest.$ac_ext >&5
31741 { echo "$as_me:$LINENO: result: no" >&5
31742 echo "${ECHO_T}no" >&6; }
31743 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31744 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31745 { (exit 1); exit 1; }; }
31750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31751 conftest$ac_exeext conftest.$ac_ext
31753 CFLAGS=$save_CFLAGS
31757 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31758 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31762 for libp in "" " -lXp"; do
31763 if test "$libs_found" = 0; then
31764 for libsm_ice in "" " -lSM -lICE"; do
31765 if test "$libs_found" = 0; then
31767 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31768 save_CFLAGS=$CFLAGS
31769 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31771 cat >conftest.$ac_ext <<_ACEOF
31774 cat confdefs.h >>conftest.$ac_ext
31775 cat >>conftest.$ac_ext <<_ACEOF
31776 /* end confdefs.h. */
31779 #include <Xm/List.h>
31785 XmString string = NULL;
31788 XmListAddItem(w, string, position);
31794 rm -f conftest.$ac_objext conftest$ac_exeext
31795 if { (ac_try="$ac_link"
31796 case "(($ac_try" in
31797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31798 *) ac_try_echo=$ac_try;;
31800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31801 (eval "$ac_link") 2>conftest.er1
31803 grep -v '^ *+' conftest.er1 >conftest.err
31805 cat conftest.err >&5
31806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31807 (exit $ac_status); } && {
31808 test -z "$ac_c_werror_flag" ||
31809 test ! -s conftest.err
31810 } && test -s conftest$ac_exeext &&
31811 $as_test_x conftest$ac_exeext; then
31814 libsm_ice_link="$libsm_ice"
31815 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31816 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31820 echo "$as_me: failed program was:" >&5
31821 sed 's/^/| /' conftest.$ac_ext >&5
31827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31828 conftest$ac_exeext conftest.$ac_ext
31831 CFLAGS=$save_CFLAGS
31837 if test "$libs_found" = 0; then
31838 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31839 echo "${ECHO_T}can't find the right libraries" >&6; }
31840 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31841 echo "$as_me: error: can't link a simple motif program" >&2;}
31842 { (exit 1); exit 1; }; }
31845 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31846 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31847 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31848 echo $ECHO_N "(cached) $ECHO_C" >&6
31850 ac_check_lib_save_LIBS=$LIBS
31852 cat >conftest.$ac_ext <<_ACEOF
31855 cat confdefs.h >>conftest.$ac_ext
31856 cat >>conftest.$ac_ext <<_ACEOF
31857 /* end confdefs.h. */
31859 /* Override any GCC internal prototype to avoid an error.
31860 Use char because int might match the return type of a GCC
31861 builtin and then its argument prototype would still apply. */
31865 char SgCreateList ();
31869 return SgCreateList ();
31874 rm -f conftest.$ac_objext conftest$ac_exeext
31875 if { (ac_try="$ac_link"
31876 case "(($ac_try" in
31877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31878 *) ac_try_echo=$ac_try;;
31880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31881 (eval "$ac_link") 2>conftest.er1
31883 grep -v '^ *+' conftest.er1 >conftest.err
31885 cat conftest.err >&5
31886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31887 (exit $ac_status); } && {
31888 test -z "$ac_c_werror_flag" ||
31889 test ! -s conftest.err
31890 } && test -s conftest$ac_exeext &&
31891 $as_test_x conftest$ac_exeext; then
31892 ac_cv_lib_Sgm_SgCreateList=yes
31894 echo "$as_me: failed program was:" >&5
31895 sed 's/^/| /' conftest.$ac_ext >&5
31897 ac_cv_lib_Sgm_SgCreateList=no
31900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31901 conftest$ac_exeext conftest.$ac_ext
31902 LIBS=$ac_check_lib_save_LIBS
31904 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31905 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31906 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31907 libsgm_link=" -lSgm"
31911 save_CFLAGS=$CFLAGS
31912 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31914 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31915 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31916 if test "${wx_cv_lib_motif2+set}" = set; then
31917 echo $ECHO_N "(cached) $ECHO_C" >&6
31919 cat >conftest.$ac_ext <<_ACEOF
31922 cat confdefs.h >>conftest.$ac_ext
31923 cat >>conftest.$ac_ext <<_ACEOF
31924 /* end confdefs.h. */
31932 #if XmVersion < 2000
31940 rm -f conftest.$ac_objext
31941 if { (ac_try="$ac_compile"
31942 case "(($ac_try" in
31943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31944 *) ac_try_echo=$ac_try;;
31946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31947 (eval "$ac_compile") 2>conftest.er1
31949 grep -v '^ *+' conftest.er1 >conftest.err
31951 cat conftest.err >&5
31952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31953 (exit $ac_status); } && {
31954 test -z "$ac_c_werror_flag" ||
31955 test ! -s conftest.err
31956 } && test -s conftest.$ac_objext; then
31957 wx_cv_lib_motif2="yes"
31959 echo "$as_me: failed program was:" >&5
31960 sed 's/^/| /' conftest.$ac_ext >&5
31962 wx_cv_lib_motif2="no"
31965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31967 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31968 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31969 if test "$wx_cv_lib_motif2" = "yes"; then
31970 cat >>confdefs.h <<\_ACEOF
31971 #define __WXMOTIF20__ 1
31975 cat >>confdefs.h <<\_ACEOF
31976 #define __WXMOTIF20__ 0
31981 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31982 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31983 if test "${wx_cv_lib_lesstif+set}" = set; then
31984 echo $ECHO_N "(cached) $ECHO_C" >&6
31986 cat >conftest.$ac_ext <<_ACEOF
31989 cat confdefs.h >>conftest.$ac_ext
31990 cat >>conftest.$ac_ext <<_ACEOF
31991 /* end confdefs.h. */
31999 #if !defined(LesstifVersion) || LesstifVersion <= 0
32007 rm -f conftest.$ac_objext
32008 if { (ac_try="$ac_compile"
32009 case "(($ac_try" in
32010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32011 *) ac_try_echo=$ac_try;;
32013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32014 (eval "$ac_compile") 2>conftest.er1
32016 grep -v '^ *+' conftest.er1 >conftest.err
32018 cat conftest.err >&5
32019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32020 (exit $ac_status); } && {
32021 test -z "$ac_c_werror_flag" ||
32022 test ! -s conftest.err
32023 } && test -s conftest.$ac_objext; then
32024 wx_cv_lib_lesstif="yes"
32026 echo "$as_me: failed program was:" >&5
32027 sed 's/^/| /' conftest.$ac_ext >&5
32029 wx_cv_lib_lesstif="no"
32032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32035 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32036 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32037 if test "$wx_cv_lib_lesstif" = "yes"; then
32038 cat >>confdefs.h <<\_ACEOF
32039 #define __WXLESSTIF__ 1
32043 cat >>confdefs.h <<\_ACEOF
32044 #define __WXLESSTIF__ 0
32049 CFLAGS=$save_CFLAGS
32051 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32056 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32057 if test "$wxUSE_LIBXPM" = "sys"; then
32058 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32059 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32062 for ac_dir in $SEARCH_LIB;
32064 for ac_extension in a so sl dylib dll.a; do
32065 if test -f "$ac_dir/libXpm.$ac_extension"; then
32066 ac_find_libraries=$ac_dir
32072 if test "$ac_find_libraries" != "" ; then
32074 if test "$ac_find_libraries" = "default location"; then
32077 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32079 if test $result = 0; then
32082 ac_path_to_link=" -L$ac_find_libraries"
32086 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32087 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32088 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32090 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32091 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32092 if test "${wx_cv_x11_xpm_h+set}" = set; then
32093 echo $ECHO_N "(cached) $ECHO_C" >&6
32096 save_CFLAGS=$CFLAGS
32097 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32099 cat >conftest.$ac_ext <<_ACEOF
32102 cat confdefs.h >>conftest.$ac_ext
32103 cat >>conftest.$ac_ext <<_ACEOF
32104 /* end confdefs.h. */
32106 #include <X11/xpm.h>
32113 version = XpmLibraryVersion();
32119 rm -f conftest.$ac_objext
32120 if { (ac_try="$ac_compile"
32121 case "(($ac_try" in
32122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32123 *) ac_try_echo=$ac_try;;
32125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32126 (eval "$ac_compile") 2>conftest.er1
32128 grep -v '^ *+' conftest.er1 >conftest.err
32130 cat conftest.err >&5
32131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32132 (exit $ac_status); } && {
32133 test -z "$ac_c_werror_flag" ||
32134 test ! -s conftest.err
32135 } && test -s conftest.$ac_objext; then
32136 wx_cv_x11_xpm_h=yes
32138 echo "$as_me: failed program was:" >&5
32139 sed 's/^/| /' conftest.$ac_ext >&5
32145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32147 CFLAGS=$save_CFLAGS
32151 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32152 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32154 if test $wx_cv_x11_xpm_h = "yes"; then
32155 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32156 cat >>confdefs.h <<\_ACEOF
32157 #define wxHAVE_LIB_XPM 1
32161 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32162 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32168 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32169 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32170 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32171 echo $ECHO_N "(cached) $ECHO_C" >&6
32173 ac_check_lib_save_LIBS=$LIBS
32174 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32175 cat >conftest.$ac_ext <<_ACEOF
32178 cat confdefs.h >>conftest.$ac_ext
32179 cat >>conftest.$ac_ext <<_ACEOF
32180 /* end confdefs.h. */
32182 /* Override any GCC internal prototype to avoid an error.
32183 Use char because int might match the return type of a GCC
32184 builtin and then its argument prototype would still apply. */
32188 char XShapeQueryExtension ();
32192 return XShapeQueryExtension ();
32197 rm -f conftest.$ac_objext conftest$ac_exeext
32198 if { (ac_try="$ac_link"
32199 case "(($ac_try" in
32200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32201 *) ac_try_echo=$ac_try;;
32203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32204 (eval "$ac_link") 2>conftest.er1
32206 grep -v '^ *+' conftest.er1 >conftest.err
32208 cat conftest.err >&5
32209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32210 (exit $ac_status); } && {
32211 test -z "$ac_c_werror_flag" ||
32212 test ! -s conftest.err
32213 } && test -s conftest$ac_exeext &&
32214 $as_test_x conftest$ac_exeext; then
32215 ac_cv_lib_Xext_XShapeQueryExtension=yes
32217 echo "$as_me: failed program was:" >&5
32218 sed 's/^/| /' conftest.$ac_ext >&5
32220 ac_cv_lib_Xext_XShapeQueryExtension=no
32223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32224 conftest$ac_exeext conftest.$ac_ext
32225 LIBS=$ac_check_lib_save_LIBS
32227 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32228 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32229 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32231 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32237 if test "$wxHAVE_XEXT_LIB" = 1; then
32238 save_CFLAGS="$CFLAGS"
32239 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32241 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32242 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32243 cat >conftest.$ac_ext <<_ACEOF
32246 cat confdefs.h >>conftest.$ac_ext
32247 cat >>conftest.$ac_ext <<_ACEOF
32248 /* end confdefs.h. */
32250 #include <X11/Xlib.h>
32251 #include <X11/extensions/shape.h>
32257 int dummy1, dummy2;
32258 XShapeQueryExtension((Display*)NULL,
32259 (int*)NULL, (int*)NULL);
32265 rm -f conftest.$ac_objext
32266 if { (ac_try="$ac_compile"
32267 case "(($ac_try" in
32268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32269 *) ac_try_echo=$ac_try;;
32271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32272 (eval "$ac_compile") 2>conftest.er1
32274 grep -v '^ *+' conftest.er1 >conftest.err
32276 cat conftest.err >&5
32277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32278 (exit $ac_status); } && {
32279 test -z "$ac_c_werror_flag" ||
32280 test ! -s conftest.err
32281 } && test -s conftest.$ac_objext; then
32283 cat >>confdefs.h <<\_ACEOF
32284 #define HAVE_XSHAPE 1
32287 { echo "$as_me:$LINENO: result: found" >&5
32288 echo "${ECHO_T}found" >&6; }
32291 echo "$as_me: failed program was:" >&5
32292 sed 's/^/| /' conftest.$ac_ext >&5
32295 { echo "$as_me:$LINENO: result: not found" >&5
32296 echo "${ECHO_T}not found" >&6; }
32300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32301 CFLAGS="$save_CFLAGS"
32306 if test "$wxUSE_MAC" = 1; then
32307 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32308 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32309 if test "$GCC" = yes; then
32310 { echo "$as_me:$LINENO: result: gcc" >&5
32311 echo "${ECHO_T}gcc" >&6; }
32312 CPPFLAGS_PASCAL="-fpascal-strings"
32313 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32314 { echo "$as_me:$LINENO: result: xlc" >&5
32315 echo "${ECHO_T}xlc" >&6; }
32316 CPPFLAGS_PASCAL="-qmacpstr"
32318 { echo "$as_me:$LINENO: result: none" >&5
32319 echo "${ECHO_T}none" >&6; }
32322 if test "x$wxUSE_UNIX" = "xyes"; then
32323 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32325 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32330 WXBASEPORT="_carbon"
32333 if test "$wxUSE_COCOA" = 1; then
32338 if test "$wxUSE_PM" = 1; then
32341 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32342 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32343 if test "${wx_cv_spbcdata+set}" = set; then
32344 echo $ECHO_N "(cached) $ECHO_C" >&6
32347 cat >conftest.$ac_ext <<_ACEOF
32350 cat confdefs.h >>conftest.$ac_ext
32351 cat >>conftest.$ac_ext <<_ACEOF
32352 /* end confdefs.h. */
32367 rm -f conftest.$ac_objext
32368 if { (ac_try="$ac_compile"
32369 case "(($ac_try" in
32370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32371 *) ac_try_echo=$ac_try;;
32373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32374 (eval "$ac_compile") 2>conftest.er1
32376 grep -v '^ *+' conftest.er1 >conftest.err
32378 cat conftest.err >&5
32379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32380 (exit $ac_status); } && {
32381 test -z "$ac_c_werror_flag" ||
32382 test ! -s conftest.err
32383 } && test -s conftest.$ac_objext; then
32386 echo "$as_me: failed program was:" >&5
32387 sed 's/^/| /' conftest.$ac_ext >&5
32393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32397 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32398 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32400 if test $wx_cv_spbcdata = "yes"; then
32401 cat >>confdefs.h <<\_ACEOF
32402 #define HAVE_SPBCDATA 1
32408 if test "$TOOLKIT" = "PM" ; then
32411 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32414 if test "$wxUSE_UNIVERSAL" = "yes"; then
32415 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32419 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32420 DISTDIR="wx\$(TOOLKIT)"
32426 if test "$USE_WIN32" = 1 ; then
32430 GUIDIST="BASE_DIST"
32436 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32437 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32438 wxUSE_UNICODE_UTF8=yes
32439 elif test "$USE_OS2" = 1 ; then
32440 wxUSE_UNICODE_UTF8=yes
32442 wxUSE_UNICODE_UTF8=no
32447 if test "$wxUSE_GUI" = "yes"; then
32448 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32450 for ac_header in X11/Xlib.h
32452 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32453 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32455 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32456 echo $ECHO_N "(cached) $ECHO_C" >&6
32458 cat >conftest.$ac_ext <<_ACEOF
32461 cat confdefs.h >>conftest.$ac_ext
32462 cat >>conftest.$ac_ext <<_ACEOF
32463 /* end confdefs.h. */
32466 #include <$ac_header>
32468 rm -f conftest.$ac_objext
32469 if { (ac_try="$ac_compile"
32470 case "(($ac_try" in
32471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32472 *) ac_try_echo=$ac_try;;
32474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32475 (eval "$ac_compile") 2>conftest.er1
32477 grep -v '^ *+' conftest.er1 >conftest.err
32479 cat conftest.err >&5
32480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32481 (exit $ac_status); } && {
32482 test -z "$ac_c_werror_flag" ||
32483 test ! -s conftest.err
32484 } && test -s conftest.$ac_objext; then
32485 eval "$as_ac_Header=yes"
32487 echo "$as_me: failed program was:" >&5
32488 sed 's/^/| /' conftest.$ac_ext >&5
32490 eval "$as_ac_Header=no"
32493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32495 ac_res=`eval echo '${'$as_ac_Header'}'`
32496 { echo "$as_me:$LINENO: result: $ac_res" >&5
32497 echo "${ECHO_T}$ac_res" >&6; }
32498 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32499 cat >>confdefs.h <<_ACEOF
32500 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32508 for ac_header in X11/XKBlib.h
32510 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32511 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32513 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32514 echo $ECHO_N "(cached) $ECHO_C" >&6
32516 cat >conftest.$ac_ext <<_ACEOF
32519 cat confdefs.h >>conftest.$ac_ext
32520 cat >>conftest.$ac_ext <<_ACEOF
32521 /* end confdefs.h. */
32523 #if HAVE_X11_XLIB_H
32524 #include <X11/Xlib.h>
32528 #include <$ac_header>
32530 rm -f conftest.$ac_objext
32531 if { (ac_try="$ac_compile"
32532 case "(($ac_try" in
32533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32534 *) ac_try_echo=$ac_try;;
32536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32537 (eval "$ac_compile") 2>conftest.er1
32539 grep -v '^ *+' conftest.er1 >conftest.err
32541 cat conftest.err >&5
32542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32543 (exit $ac_status); } && {
32544 test -z "$ac_c_werror_flag" ||
32545 test ! -s conftest.err
32546 } && test -s conftest.$ac_objext; then
32547 eval "$as_ac_Header=yes"
32549 echo "$as_me: failed program was:" >&5
32550 sed 's/^/| /' conftest.$ac_ext >&5
32552 eval "$as_ac_Header=no"
32555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32557 ac_res=`eval echo '${'$as_ac_Header'}'`
32558 { echo "$as_me:$LINENO: result: $ac_res" >&5
32559 echo "${ECHO_T}$ac_res" >&6; }
32560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32561 cat >>confdefs.h <<_ACEOF
32562 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32574 if test "$wxUSE_DISPLAY" = "yes"; then
32575 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32576 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32577 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32580 for ac_dir in $SEARCH_LIB;
32582 for ac_extension in a so sl dylib dll.a; do
32583 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32584 ac_find_libraries=$ac_dir
32590 if test "$ac_find_libraries" != "" ; then
32592 if test "$ac_find_libraries" = "default location"; then
32595 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32597 if test $result = 0; then
32600 ac_path_to_link=" -L$ac_find_libraries"
32604 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32605 LDFLAGS="$LDFLAGS $ac_path_to_link"
32607 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32608 { echo "$as_me:$LINENO: result: yes" >&5
32609 echo "${ECHO_T}yes" >&6; }
32611 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32612 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32615 for ac_dir in $SEARCH_LIB;
32617 for ac_extension in a so sl dylib dll.a; do
32618 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32619 ac_find_libraries=$ac_dir
32625 if test "$ac_find_libraries" != "" ; then
32626 { echo "$as_me:$LINENO: result: yes" >&5
32627 echo "${ECHO_T}yes" >&6; }
32629 for ac_header in X11/extensions/xf86vmode.h
32631 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32632 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32634 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32635 echo $ECHO_N "(cached) $ECHO_C" >&6
32637 cat >conftest.$ac_ext <<_ACEOF
32640 cat confdefs.h >>conftest.$ac_ext
32641 cat >>conftest.$ac_ext <<_ACEOF
32642 /* end confdefs.h. */
32644 #if HAVE_X11_XLIB_H
32645 #include <X11/Xlib.h>
32649 #include <$ac_header>
32651 rm -f conftest.$ac_objext
32652 if { (ac_try="$ac_compile"
32653 case "(($ac_try" in
32654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32655 *) ac_try_echo=$ac_try;;
32657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32658 (eval "$ac_compile") 2>conftest.er1
32660 grep -v '^ *+' conftest.er1 >conftest.err
32662 cat conftest.err >&5
32663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32664 (exit $ac_status); } && {
32665 test -z "$ac_c_werror_flag" ||
32666 test ! -s conftest.err
32667 } && test -s conftest.$ac_objext; then
32668 eval "$as_ac_Header=yes"
32670 echo "$as_me: failed program was:" >&5
32671 sed 's/^/| /' conftest.$ac_ext >&5
32673 eval "$as_ac_Header=no"
32676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32678 ac_res=`eval echo '${'$as_ac_Header'}'`
32679 { echo "$as_me:$LINENO: result: $ac_res" >&5
32680 echo "${ECHO_T}$ac_res" >&6; }
32681 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32682 cat >>confdefs.h <<_ACEOF
32683 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32686 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32693 { echo "$as_me:$LINENO: result: no" >&5
32694 echo "${ECHO_T}no" >&6; }
32698 { echo "$as_me:$LINENO: result: no" >&5
32699 echo "${ECHO_T}no" >&6; }
32700 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32701 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32704 elif test "$wxUSE_MSW" = 1; then
32705 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32706 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32707 if test "${ac_cv_header_ddraw_h+set}" = set; then
32708 echo $ECHO_N "(cached) $ECHO_C" >&6
32710 cat >conftest.$ac_ext <<_ACEOF
32713 cat confdefs.h >>conftest.$ac_ext
32714 cat >>conftest.$ac_ext <<_ACEOF
32715 /* end confdefs.h. */
32716 #include <windows.h>
32720 rm -f conftest.$ac_objext
32721 if { (ac_try="$ac_compile"
32722 case "(($ac_try" in
32723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32724 *) ac_try_echo=$ac_try;;
32726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32727 (eval "$ac_compile") 2>conftest.er1
32729 grep -v '^ *+' conftest.er1 >conftest.err
32731 cat conftest.err >&5
32732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32733 (exit $ac_status); } && {
32734 test -z "$ac_c_werror_flag" ||
32735 test ! -s conftest.err
32736 } && test -s conftest.$ac_objext; then
32737 ac_cv_header_ddraw_h=yes
32739 echo "$as_me: failed program was:" >&5
32740 sed 's/^/| /' conftest.$ac_ext >&5
32742 ac_cv_header_ddraw_h=no
32745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32747 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32748 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32754 if test "$wxUSE_DETECT_SM" = "yes"; then
32755 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32756 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32757 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32760 for ac_dir in $SEARCH_LIB;
32762 for ac_extension in a so sl dylib dll.a; do
32763 if test -f "$ac_dir/libSM.$ac_extension"; then
32764 ac_find_libraries=$ac_dir
32770 if test "$ac_find_libraries" != "" ; then
32772 if test "$ac_find_libraries" = "default location"; then
32775 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32777 if test $result = 0; then
32780 ac_path_to_link=" -L$ac_find_libraries"
32784 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32785 LDFLAGS="$LDFLAGS $ac_path_to_link"
32787 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32788 { echo "$as_me:$LINENO: result: yes" >&5
32789 echo "${ECHO_T}yes" >&6; }
32791 { echo "$as_me:$LINENO: result: no" >&5
32792 echo "${ECHO_T}no" >&6; }
32793 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32794 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32795 wxUSE_DETECT_SM="no"
32798 wxUSE_DETECT_SM="no"
32805 if test "$wxUSE_OPENGL" = "yes"; then
32806 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32807 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32808 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32810 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32811 OPENGL_LIBS="-framework OpenGL -framework AGL"
32812 elif test "$wxUSE_MSW" = 1; then
32813 OPENGL_LIBS="-lopengl32 -lglu32"
32815 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32816 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32819 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32821 if test -f "$ac_dir/GL/gl.h"; then
32822 ac_find_includes=$ac_dir
32827 if test "$ac_find_includes" != "" ; then
32828 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32829 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32831 if test "x$ac_find_includes" = "x/usr/include"; then
32832 ac_path_to_include=""
32834 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32836 if test $result = 0; then
32837 ac_path_to_include=""
32839 ac_path_to_include=" -I$ac_find_includes"
32843 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32845 { echo "$as_me:$LINENO: result: not found" >&5
32846 echo "${ECHO_T}not found" >&6; }
32849 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32850 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32851 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32852 echo $ECHO_N "(cached) $ECHO_C" >&6
32854 cat >conftest.$ac_ext <<_ACEOF
32857 cat confdefs.h >>conftest.$ac_ext
32858 cat >>conftest.$ac_ext <<_ACEOF
32859 /* end confdefs.h. */
32864 rm -f conftest.$ac_objext
32865 if { (ac_try="$ac_compile"
32866 case "(($ac_try" in
32867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32868 *) ac_try_echo=$ac_try;;
32870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32871 (eval "$ac_compile") 2>conftest.er1
32873 grep -v '^ *+' conftest.er1 >conftest.err
32875 cat conftest.err >&5
32876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32877 (exit $ac_status); } && {
32878 test -z "$ac_c_werror_flag" ||
32879 test ! -s conftest.err
32880 } && test -s conftest.$ac_objext; then
32881 ac_cv_header_GL_gl_h=yes
32883 echo "$as_me: failed program was:" >&5
32884 sed 's/^/| /' conftest.$ac_ext >&5
32886 ac_cv_header_GL_gl_h=no
32889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32891 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32892 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32893 if test $ac_cv_header_GL_gl_h = yes; then
32895 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32896 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32897 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32898 echo $ECHO_N "(cached) $ECHO_C" >&6
32900 cat >conftest.$ac_ext <<_ACEOF
32903 cat confdefs.h >>conftest.$ac_ext
32904 cat >>conftest.$ac_ext <<_ACEOF
32905 /* end confdefs.h. */
32908 #include <GL/glu.h>
32910 rm -f conftest.$ac_objext
32911 if { (ac_try="$ac_compile"
32912 case "(($ac_try" in
32913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32914 *) ac_try_echo=$ac_try;;
32916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32917 (eval "$ac_compile") 2>conftest.er1
32919 grep -v '^ *+' conftest.er1 >conftest.err
32921 cat conftest.err >&5
32922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32923 (exit $ac_status); } && {
32924 test -z "$ac_c_werror_flag" ||
32925 test ! -s conftest.err
32926 } && test -s conftest.$ac_objext; then
32927 ac_cv_header_GL_glu_h=yes
32929 echo "$as_me: failed program was:" >&5
32930 sed 's/^/| /' conftest.$ac_ext >&5
32932 ac_cv_header_GL_glu_h=no
32935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32937 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32938 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32939 if test $ac_cv_header_GL_glu_h = yes; then
32943 { echo "$as_me:$LINENO: checking for -lGL" >&5
32944 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32947 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32949 for ac_extension in a so sl dylib dll.a; do
32950 if test -f "$ac_dir/libGL.$ac_extension"; then
32951 ac_find_libraries=$ac_dir
32957 if test "$ac_find_libraries" != "" ; then
32958 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32959 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32962 if test "$ac_find_libraries" = "default location"; then
32965 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32967 if test $result = 0; then
32970 ac_path_to_link=" -L$ac_find_libraries"
32974 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32975 LDFLAGS_GL="$ac_path_to_link"
32978 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32979 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32982 for ac_dir in $SEARCH_LIB;
32984 for ac_extension in a so sl dylib dll.a; do
32985 if test -f "$ac_dir/libGLU.$ac_extension"; then
32986 ac_find_libraries=$ac_dir
32992 if test "$ac_find_libraries" != "" ; then
32994 if test "$ac_find_libraries" = "default location"; then
32997 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32999 if test $result = 0; then
33002 ac_path_to_link=" -L$ac_find_libraries"
33006 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33007 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33008 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33012 OPENGL_LIBS="-lGL -lGLU"
33013 { echo "$as_me:$LINENO: result: yes" >&5
33014 echo "${ECHO_T}yes" >&6; }
33016 { echo "$as_me:$LINENO: result: no" >&5
33017 echo "${ECHO_T}no" >&6; }
33020 { echo "$as_me:$LINENO: result: no" >&5
33021 echo "${ECHO_T}no" >&6; }
33024 if test "$found_gl" != 1; then
33025 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33026 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33029 for ac_dir in $SEARCH_LIB;
33031 for ac_extension in a so sl dylib dll.a; do
33032 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33033 ac_find_libraries=$ac_dir
33039 if test "$ac_find_libraries" != "" ; then
33041 if test "$ac_find_libraries" = "default location"; then
33044 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33046 if test $result = 0; then
33049 ac_path_to_link=" -L$ac_find_libraries"
33053 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33054 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33055 { echo "$as_me:$LINENO: result: yes" >&5
33056 echo "${ECHO_T}yes" >&6; }
33058 { echo "$as_me:$LINENO: result: no" >&5
33059 echo "${ECHO_T}no" >&6; }
33071 if test "x$OPENGL_LIBS" = "x"; then
33072 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33073 echo "$as_me: error: OpenGL libraries not available" >&2;}
33074 { (exit 1); exit 1; }; }
33078 if test "$wxUSE_OPENGL" = "yes"; then
33080 cat >>confdefs.h <<\_ACEOF
33081 #define wxUSE_OPENGL 1
33084 cat >>confdefs.h <<\_ACEOF
33085 #define wxUSE_GLCANVAS 1
33088 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33093 if test -n "$TOOLKIT" ; then
33094 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33099 if test "$wxUSE_SHARED" = "yes"; then
33103 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33104 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33109 if test "$wxUSE_SHARED" = "yes"; then
33113 *-*-cygwin* | *-*-mingw* )
33114 wx_cv_version_script=no
33118 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33119 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33120 if test "${wx_cv_version_script+set}" = set; then
33121 echo $ECHO_N "(cached) $ECHO_C" >&6
33124 echo "VER_1 { *; };" >conftest.sym
33125 echo "int main() { return 0; }" >conftest.cpp
33128 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33129 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33131 (eval $ac_try) 2>&5
33133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33134 (exit $ac_status); }; } ; then
33135 if test -s conftest.stderr ; then
33136 wx_cv_version_script=no
33138 wx_cv_version_script=yes
33141 wx_cv_version_script=no
33144 if test $wx_cv_version_script = yes
33146 echo "struct B { virtual ~B() { } }; \
33147 struct D : public B { }; \
33148 void F() { D d; }" > conftest.cpp
33151 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33152 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33154 (eval $ac_try) 2>&5
33156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33157 (exit $ac_status); }; } &&
33159 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33160 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33162 (eval $ac_try) 2>&5
33164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33165 (exit $ac_status); }; }
33168 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33169 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33171 (eval $ac_try) 2>&5
33173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33174 (exit $ac_status); }; }
33176 wx_cv_version_script=yes
33178 wx_cv_version_script=no
33183 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33184 rm -f conftest1.output conftest2.output conftest3.output
33187 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33188 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33190 if test $wx_cv_version_script = yes ; then
33191 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33197 if test "$wxUSE_VISIBILITY" != "no"; then
33200 if test -n "$GCC"; then
33201 CFLAGS_VISIBILITY="-fvisibility=hidden"
33202 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33203 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33204 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33205 if test "${wx_cv_cc_visibility+set}" = set; then
33206 echo $ECHO_N "(cached) $ECHO_C" >&6
33209 wx_save_CXXFLAGS="$CXXFLAGS"
33210 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33212 ac_cpp='$CXXCPP $CPPFLAGS'
33213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33217 cat >conftest.$ac_ext <<_ACEOF
33220 cat confdefs.h >>conftest.$ac_ext
33221 cat >>conftest.$ac_ext <<_ACEOF
33222 /* end confdefs.h. */
33224 /* we need gcc >= 4.0, older versions with visibility support
33225 didn't have class visibility: */
33226 #if defined(__GNUC__) && __GNUC__ < 4
33227 error this gcc is too old;
33230 /* visibility only makes sense for ELF shared libs: */
33231 #if !defined(__ELF__) && !defined(__APPLE__)
33232 error this platform has no visibility;
33235 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33236 extern __attribute__((__visibility__("default"))) int exportedvar;
33237 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33238 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33239 class __attribute__((__visibility__("default"))) Foo {
33251 rm -f conftest.$ac_objext
33252 if { (ac_try="$ac_compile"
33253 case "(($ac_try" in
33254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33255 *) ac_try_echo=$ac_try;;
33257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33258 (eval "$ac_compile") 2>conftest.er1
33260 grep -v '^ *+' conftest.er1 >conftest.err
33262 cat conftest.err >&5
33263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33264 (exit $ac_status); } && {
33265 test -z "$ac_cxx_werror_flag" ||
33266 test ! -s conftest.err
33267 } && test -s conftest.$ac_objext; then
33268 wx_cv_cc_visibility=yes
33270 echo "$as_me: failed program was:" >&5
33271 sed 's/^/| /' conftest.$ac_ext >&5
33273 wx_cv_cc_visibility=no
33276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33278 ac_cpp='$CPP $CPPFLAGS'
33279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33283 CXXFLAGS="$wx_save_CXXFLAGS"
33286 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33287 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33288 if test $wx_cv_cc_visibility = yes; then
33289 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33290 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33291 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33292 echo $ECHO_N "(cached) $ECHO_C" >&6
33295 wx_save_CXXFLAGS="$CXXFLAGS"
33296 wx_save_LDFLAGS="$LDFLAGS"
33297 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33298 LDFLAGS="$LDFLAGS -shared -fPIC"
33300 ac_cpp='$CXXCPP $CPPFLAGS'
33301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33305 cat >conftest.$ac_ext <<_ACEOF
33308 cat confdefs.h >>conftest.$ac_ext
33309 cat >>conftest.$ac_ext <<_ACEOF
33310 /* end confdefs.h. */
33318 std::string s("hello");
33325 rm -f conftest.$ac_objext conftest$ac_exeext
33326 if { (ac_try="$ac_link"
33327 case "(($ac_try" in
33328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33329 *) ac_try_echo=$ac_try;;
33331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33332 (eval "$ac_link") 2>conftest.er1
33334 grep -v '^ *+' conftest.er1 >conftest.err
33336 cat conftest.err >&5
33337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33338 (exit $ac_status); } && {
33339 test -z "$ac_cxx_werror_flag" ||
33340 test ! -s conftest.err
33341 } && test -s conftest$ac_exeext &&
33342 $as_test_x conftest$ac_exeext; then
33343 wx_cv_cc_broken_libstdcxx_visibility=no
33345 echo "$as_me: failed program was:" >&5
33346 sed 's/^/| /' conftest.$ac_ext >&5
33348 wx_cv_cc_broken_libstdcxx_visibility=yes
33351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33352 conftest$ac_exeext conftest.$ac_ext
33354 ac_cpp='$CPP $CPPFLAGS'
33355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33359 CXXFLAGS="$wx_save_CXXFLAGS"
33360 LDFLAGS="$wx_save_LDFLAGS"
33363 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33364 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33366 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33367 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33368 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33369 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33370 echo $ECHO_N "(cached) $ECHO_C" >&6
33374 ac_cpp='$CXXCPP $CPPFLAGS'
33375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33379 cat >conftest.$ac_ext <<_ACEOF
33382 cat confdefs.h >>conftest.$ac_ext
33383 cat >>conftest.$ac_ext <<_ACEOF
33384 /* end confdefs.h. */
33386 #pragma GCC visibility push(default)
33388 #pragma GCC visibility pop
33394 std::string s("hello");
33401 rm -f conftest.$ac_objext conftest$ac_exeext
33402 if { (ac_try="$ac_link"
33403 case "(($ac_try" in
33404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33405 *) ac_try_echo=$ac_try;;
33407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33408 (eval "$ac_link") 2>conftest.er1
33410 grep -v '^ *+' conftest.er1 >conftest.err
33412 cat conftest.err >&5
33413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33414 (exit $ac_status); } && {
33415 test -z "$ac_cxx_werror_flag" ||
33416 test ! -s conftest.err
33417 } && test -s conftest$ac_exeext &&
33418 $as_test_x conftest$ac_exeext; then
33419 wx_cv_cc_visibility_workaround=no
33421 echo "$as_me: failed program was:" >&5
33422 sed 's/^/| /' conftest.$ac_ext >&5
33424 wx_cv_cc_visibility_workaround=yes
33427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33428 conftest$ac_exeext conftest.$ac_ext
33430 ac_cpp='$CPP $CPPFLAGS'
33431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33438 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33439 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33441 if test $wx_cv_cc_visibility_workaround = no; then
33442 wx_cv_cc_visibility=no
33447 if test $wx_cv_cc_visibility = yes; then
33448 cat >>confdefs.h <<\_ACEOF
33449 #define HAVE_VISIBILITY 1
33452 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33453 cat >>confdefs.h <<\_ACEOF
33454 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33459 CFLAGS_VISIBILITY=""
33460 CXXFLAGS_VISIBILITY=""
33468 if test "x$SUNCXX" = xyes; then
33469 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33470 WXCONFIG_RPATH="-R\$libdir"
33473 *-*-linux* | *-*-gnu* )
33474 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33475 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33480 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33482 saveLdflags="$LDFLAGS"
33483 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33484 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33485 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33486 cat >conftest.$ac_ext <<_ACEOF
33489 cat confdefs.h >>conftest.$ac_ext
33490 cat >>conftest.$ac_ext <<_ACEOF
33491 /* end confdefs.h. */
33501 rm -f conftest.$ac_objext conftest$ac_exeext
33502 if { (ac_try="$ac_link"
33503 case "(($ac_try" in
33504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33505 *) ac_try_echo=$ac_try;;
33507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33508 (eval "$ac_link") 2>conftest.er1
33510 grep -v '^ *+' conftest.er1 >conftest.err
33512 cat conftest.err >&5
33513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33514 (exit $ac_status); } && {
33515 test -z "$ac_c_werror_flag" ||
33516 test ! -s conftest.err
33517 } && test -s conftest$ac_exeext &&
33518 $as_test_x conftest$ac_exeext; then
33520 { echo "$as_me:$LINENO: result: yes" >&5
33521 echo "${ECHO_T}yes" >&6; }
33522 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33523 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33526 echo "$as_me: failed program was:" >&5
33527 sed 's/^/| /' conftest.$ac_ext >&5
33530 { echo "$as_me:$LINENO: result: no" >&5
33531 echo "${ECHO_T}no" >&6; }
33532 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33533 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33534 LDFLAGS="$saveLdflags -Wl,-R,/"
33535 cat >conftest.$ac_ext <<_ACEOF
33538 cat confdefs.h >>conftest.$ac_ext
33539 cat >>conftest.$ac_ext <<_ACEOF
33540 /* end confdefs.h. */
33550 rm -f conftest.$ac_objext conftest$ac_exeext
33551 if { (ac_try="$ac_link"
33552 case "(($ac_try" in
33553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33554 *) ac_try_echo=$ac_try;;
33556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33557 (eval "$ac_link") 2>conftest.er1
33559 grep -v '^ *+' conftest.er1 >conftest.err
33561 cat conftest.err >&5
33562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33563 (exit $ac_status); } && {
33564 test -z "$ac_c_werror_flag" ||
33565 test ! -s conftest.err
33566 } && test -s conftest$ac_exeext &&
33567 $as_test_x conftest$ac_exeext; then
33569 { echo "$as_me:$LINENO: result: yes" >&5
33570 echo "${ECHO_T}yes" >&6; }
33571 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33572 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33575 echo "$as_me: failed program was:" >&5
33576 sed 's/^/| /' conftest.$ac_ext >&5
33579 { echo "$as_me:$LINENO: result: no" >&5
33580 echo "${ECHO_T}no" >&6; }
33584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33585 conftest$ac_exeext conftest.$ac_ext
33589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33590 conftest$ac_exeext conftest.$ac_ext
33591 LDFLAGS="$saveLdflags"
33595 install_name_tool=`which install_name_tool`
33596 if test "$install_name_tool" -a -x "$install_name_tool"; then
33597 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33598 cat <<EOF >change-install-names
33600 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33601 inst_cmd="install_name_tool "
33602 for i in \${libnames} ; do
33603 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33607 chmod +x change-install-names
33611 *-*-cygwin* | *-*-mingw32* )
33615 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33616 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33622 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33624 if test $wxUSE_RPATH = "no"; then
33625 SAMPLES_RPATH_FLAG=''
33626 SAMPLES_RPATH_POSTLINK=''
33634 config_linkage_component="-static"
33641 lib_unicode_suffix=
33643 if test "$wxUSE_UNICODE" = "yes"; then
33644 lib_unicode_suffix=u
33645 WX_CHARTYPE="unicode"
33650 WX_DEBUGTYPE="release"
33652 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33654 WX_DEBUGTYPE="debug"
33658 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33659 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33662 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33666 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33668 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33670 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33672 if test "$cross_compiling" = "yes"; then
33673 HOST_SUFFIX="-$host_alias"
33674 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33675 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33678 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33679 if test "${TOOLKIT_DIR}" = "os2"; then
33680 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33682 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33687 if test "$wxUSE_COCOA" = 1; then
33690 ac_cpp='$CPP $CPPFLAGS'
33691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33697 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33698 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33699 cat >conftest.$ac_ext <<_ACEOF
33702 cat confdefs.h >>conftest.$ac_ext
33703 cat >>conftest.$ac_ext <<_ACEOF
33704 /* end confdefs.h. */
33705 #include <AppKit/NSEvent.h>
33706 #include <CoreFoundation/CoreFoundation.h>
33716 rm -f conftest.$ac_objext
33717 if { (ac_try="$ac_compile"
33718 case "(($ac_try" in
33719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33720 *) ac_try_echo=$ac_try;;
33722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33723 (eval "$ac_compile") 2>conftest.er1
33725 grep -v '^ *+' conftest.er1 >conftest.err
33727 cat conftest.err >&5
33728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33729 (exit $ac_status); } && {
33730 test -z "$ac_c_werror_flag" ||
33731 test ! -s conftest.err
33732 } && test -s conftest.$ac_objext; then
33733 { echo "$as_me:$LINENO: result: no" >&5
33734 echo "${ECHO_T}no" >&6; }
33736 echo "$as_me: failed program was:" >&5
33737 sed 's/^/| /' conftest.$ac_ext >&5
33739 { echo "$as_me:$LINENO: result: yes" >&5
33740 echo "${ECHO_T}yes" >&6; }
33741 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33742 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33743 cat >conftest.$ac_ext <<_ACEOF
33746 cat confdefs.h >>conftest.$ac_ext
33747 cat >>conftest.$ac_ext <<_ACEOF
33748 /* end confdefs.h. */
33749 #define __Point__ 1
33750 #include <AppKit/NSEvent.h>
33751 #include <CoreFoundation/CoreFoundation.h>
33761 rm -f conftest.$ac_objext
33762 if { (ac_try="$ac_compile"
33763 case "(($ac_try" in
33764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33765 *) ac_try_echo=$ac_try;;
33767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33768 (eval "$ac_compile") 2>conftest.er1
33770 grep -v '^ *+' conftest.er1 >conftest.err
33772 cat conftest.err >&5
33773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33774 (exit $ac_status); } && {
33775 test -z "$ac_c_werror_flag" ||
33776 test ! -s conftest.err
33777 } && test -s conftest.$ac_objext; then
33778 { echo "$as_me:$LINENO: result: yes" >&5
33779 echo "${ECHO_T}yes" >&6; }
33780 cat >>confdefs.h <<\_ACEOF
33781 #define __Point__ 1
33786 echo "$as_me: failed program was:" >&5
33787 sed 's/^/| /' conftest.$ac_ext >&5
33789 { { echo "$as_me:$LINENO: error: no
33790 See \`config.log' for more details." >&5
33791 echo "$as_me: error: no
33792 See \`config.log' for more details." >&2;}
33793 { (exit 1); exit 1; }; }
33797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33803 ac_cpp='$CPP $CPPFLAGS'
33804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33811 { echo "$as_me:$LINENO: checking for mode_t" >&5
33812 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33813 if test "${ac_cv_type_mode_t+set}" = set; then
33814 echo $ECHO_N "(cached) $ECHO_C" >&6
33816 cat >conftest.$ac_ext <<_ACEOF
33819 cat confdefs.h >>conftest.$ac_ext
33820 cat >>conftest.$ac_ext <<_ACEOF
33821 /* end confdefs.h. */
33822 $ac_includes_default
33823 typedef mode_t ac__type_new_;
33827 if ((ac__type_new_ *) 0)
33829 if (sizeof (ac__type_new_))
33835 rm -f conftest.$ac_objext
33836 if { (ac_try="$ac_compile"
33837 case "(($ac_try" in
33838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33839 *) ac_try_echo=$ac_try;;
33841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33842 (eval "$ac_compile") 2>conftest.er1
33844 grep -v '^ *+' conftest.er1 >conftest.err
33846 cat conftest.err >&5
33847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33848 (exit $ac_status); } && {
33849 test -z "$ac_c_werror_flag" ||
33850 test ! -s conftest.err
33851 } && test -s conftest.$ac_objext; then
33852 ac_cv_type_mode_t=yes
33854 echo "$as_me: failed program was:" >&5
33855 sed 's/^/| /' conftest.$ac_ext >&5
33857 ac_cv_type_mode_t=no
33860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33862 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33863 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33864 if test $ac_cv_type_mode_t = yes; then
33868 cat >>confdefs.h <<_ACEOF
33874 { echo "$as_me:$LINENO: checking for off_t" >&5
33875 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33876 if test "${ac_cv_type_off_t+set}" = set; then
33877 echo $ECHO_N "(cached) $ECHO_C" >&6
33879 cat >conftest.$ac_ext <<_ACEOF
33882 cat confdefs.h >>conftest.$ac_ext
33883 cat >>conftest.$ac_ext <<_ACEOF
33884 /* end confdefs.h. */
33885 $ac_includes_default
33886 typedef off_t ac__type_new_;
33890 if ((ac__type_new_ *) 0)
33892 if (sizeof (ac__type_new_))
33898 rm -f conftest.$ac_objext
33899 if { (ac_try="$ac_compile"
33900 case "(($ac_try" in
33901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33902 *) ac_try_echo=$ac_try;;
33904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33905 (eval "$ac_compile") 2>conftest.er1
33907 grep -v '^ *+' conftest.er1 >conftest.err
33909 cat conftest.err >&5
33910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33911 (exit $ac_status); } && {
33912 test -z "$ac_c_werror_flag" ||
33913 test ! -s conftest.err
33914 } && test -s conftest.$ac_objext; then
33915 ac_cv_type_off_t=yes
33917 echo "$as_me: failed program was:" >&5
33918 sed 's/^/| /' conftest.$ac_ext >&5
33920 ac_cv_type_off_t=no
33923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33925 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33926 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33927 if test $ac_cv_type_off_t = yes; then
33931 cat >>confdefs.h <<_ACEOF
33932 #define off_t long int
33937 { echo "$as_me:$LINENO: checking for pid_t" >&5
33938 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33939 if test "${ac_cv_type_pid_t+set}" = set; then
33940 echo $ECHO_N "(cached) $ECHO_C" >&6
33942 cat >conftest.$ac_ext <<_ACEOF
33945 cat confdefs.h >>conftest.$ac_ext
33946 cat >>conftest.$ac_ext <<_ACEOF
33947 /* end confdefs.h. */
33948 $ac_includes_default
33949 typedef pid_t ac__type_new_;
33953 if ((ac__type_new_ *) 0)
33955 if (sizeof (ac__type_new_))
33961 rm -f conftest.$ac_objext
33962 if { (ac_try="$ac_compile"
33963 case "(($ac_try" in
33964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33965 *) ac_try_echo=$ac_try;;
33967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33968 (eval "$ac_compile") 2>conftest.er1
33970 grep -v '^ *+' conftest.er1 >conftest.err
33972 cat conftest.err >&5
33973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33974 (exit $ac_status); } && {
33975 test -z "$ac_c_werror_flag" ||
33976 test ! -s conftest.err
33977 } && test -s conftest.$ac_objext; then
33978 ac_cv_type_pid_t=yes
33980 echo "$as_me: failed program was:" >&5
33981 sed 's/^/| /' conftest.$ac_ext >&5
33983 ac_cv_type_pid_t=no
33986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33988 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33989 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33990 if test $ac_cv_type_pid_t = yes; then
33994 cat >>confdefs.h <<_ACEOF
34000 { echo "$as_me:$LINENO: checking for size_t" >&5
34001 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34002 if test "${ac_cv_type_size_t+set}" = set; then
34003 echo $ECHO_N "(cached) $ECHO_C" >&6
34005 cat >conftest.$ac_ext <<_ACEOF
34008 cat confdefs.h >>conftest.$ac_ext
34009 cat >>conftest.$ac_ext <<_ACEOF
34010 /* end confdefs.h. */
34011 $ac_includes_default
34012 typedef size_t ac__type_new_;
34016 if ((ac__type_new_ *) 0)
34018 if (sizeof (ac__type_new_))
34024 rm -f conftest.$ac_objext
34025 if { (ac_try="$ac_compile"
34026 case "(($ac_try" in
34027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34028 *) ac_try_echo=$ac_try;;
34030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34031 (eval "$ac_compile") 2>conftest.er1
34033 grep -v '^ *+' conftest.er1 >conftest.err
34035 cat conftest.err >&5
34036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34037 (exit $ac_status); } && {
34038 test -z "$ac_c_werror_flag" ||
34039 test ! -s conftest.err
34040 } && test -s conftest.$ac_objext; then
34041 ac_cv_type_size_t=yes
34043 echo "$as_me: failed program was:" >&5
34044 sed 's/^/| /' conftest.$ac_ext >&5
34046 ac_cv_type_size_t=no
34049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34051 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34052 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34053 if test $ac_cv_type_size_t = yes; then
34057 cat >>confdefs.h <<_ACEOF
34058 #define size_t unsigned int
34064 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34065 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34066 if test "${ac_cv_type_ssize_t+set}" = set; then
34067 echo $ECHO_N "(cached) $ECHO_C" >&6
34069 cat >conftest.$ac_ext <<_ACEOF
34072 cat confdefs.h >>conftest.$ac_ext
34073 cat >>conftest.$ac_ext <<_ACEOF
34074 /* end confdefs.h. */
34075 $ac_includes_default
34076 typedef ssize_t ac__type_new_;
34080 if ((ac__type_new_ *) 0)
34082 if (sizeof (ac__type_new_))
34088 rm -f conftest.$ac_objext
34089 if { (ac_try="$ac_compile"
34090 case "(($ac_try" in
34091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34092 *) ac_try_echo=$ac_try;;
34094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34095 (eval "$ac_compile") 2>conftest.er1
34097 grep -v '^ *+' conftest.er1 >conftest.err
34099 cat conftest.err >&5
34100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34101 (exit $ac_status); } && {
34102 test -z "$ac_c_werror_flag" ||
34103 test ! -s conftest.err
34104 } && test -s conftest.$ac_objext; then
34105 ac_cv_type_ssize_t=yes
34107 echo "$as_me: failed program was:" >&5
34108 sed 's/^/| /' conftest.$ac_ext >&5
34110 ac_cv_type_ssize_t=no
34113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34115 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34116 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34117 if test $ac_cv_type_ssize_t = yes; then
34119 cat >>confdefs.h <<_ACEOF
34120 #define HAVE_SSIZE_T 1
34128 ac_cpp='$CXXCPP $CPPFLAGS'
34129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34132 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34133 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34134 if test "${wx_cv_size_t_is_uint+set}" = set; then
34135 echo $ECHO_N "(cached) $ECHO_C" >&6
34138 cat >conftest.$ac_ext <<_ACEOF
34141 cat confdefs.h >>conftest.$ac_ext
34142 cat >>conftest.$ac_ext <<_ACEOF
34143 /* end confdefs.h. */
34144 #include <stddef.h>
34151 struct Foo { void foo(size_t); void foo(unsigned int); };
34159 rm -f conftest.$ac_objext
34160 if { (ac_try="$ac_compile"
34161 case "(($ac_try" in
34162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34163 *) ac_try_echo=$ac_try;;
34165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34166 (eval "$ac_compile") 2>conftest.er1
34168 grep -v '^ *+' conftest.er1 >conftest.err
34170 cat conftest.err >&5
34171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34172 (exit $ac_status); } && {
34173 test -z "$ac_cxx_werror_flag" ||
34174 test ! -s conftest.err
34175 } && test -s conftest.$ac_objext; then
34176 wx_cv_size_t_is_uint=no
34178 echo "$as_me: failed program was:" >&5
34179 sed 's/^/| /' conftest.$ac_ext >&5
34181 wx_cv_size_t_is_uint=yes
34185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34189 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34190 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34192 if test "$wx_cv_size_t_is_uint" = "yes"; then
34193 cat >>confdefs.h <<\_ACEOF
34194 #define wxSIZE_T_IS_UINT 1
34198 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34199 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34200 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34201 echo $ECHO_N "(cached) $ECHO_C" >&6
34203 cat >conftest.$ac_ext <<_ACEOF
34206 cat confdefs.h >>conftest.$ac_ext
34207 cat >>conftest.$ac_ext <<_ACEOF
34208 /* end confdefs.h. */
34209 #include <stddef.h>
34216 struct Foo { void foo(size_t); void foo(unsigned long); };
34224 rm -f conftest.$ac_objext
34225 if { (ac_try="$ac_compile"
34226 case "(($ac_try" in
34227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34228 *) ac_try_echo=$ac_try;;
34230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34231 (eval "$ac_compile") 2>conftest.er1
34233 grep -v '^ *+' conftest.er1 >conftest.err
34235 cat conftest.err >&5
34236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34237 (exit $ac_status); } && {
34238 test -z "$ac_cxx_werror_flag" ||
34239 test ! -s conftest.err
34240 } && test -s conftest.$ac_objext; then
34241 wx_cv_size_t_is_ulong=no
34243 echo "$as_me: failed program was:" >&5
34244 sed 's/^/| /' conftest.$ac_ext >&5
34246 wx_cv_size_t_is_ulong=yes
34250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34253 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34254 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34256 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34257 cat >>confdefs.h <<\_ACEOF
34258 #define wxSIZE_T_IS_ULONG 1
34264 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34265 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34266 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34267 echo $ECHO_N "(cached) $ECHO_C" >&6
34269 cat >conftest.$ac_ext <<_ACEOF
34272 cat confdefs.h >>conftest.$ac_ext
34273 cat >>conftest.$ac_ext <<_ACEOF
34274 /* end confdefs.h. */
34282 struct Foo { void foo(wchar_t);
34283 void foo(unsigned short);
34284 void foo(unsigned int);
34285 void foo(unsigned long); };
34293 rm -f conftest.$ac_objext
34294 if { (ac_try="$ac_compile"
34295 case "(($ac_try" in
34296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34297 *) ac_try_echo=$ac_try;;
34299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34300 (eval "$ac_compile") 2>conftest.er1
34302 grep -v '^ *+' conftest.er1 >conftest.err
34304 cat conftest.err >&5
34305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34306 (exit $ac_status); } && {
34307 test -z "$ac_cxx_werror_flag" ||
34308 test ! -s conftest.err
34309 } && test -s conftest.$ac_objext; then
34310 wx_cv_wchar_t_is_separate_type=yes
34312 echo "$as_me: failed program was:" >&5
34313 sed 's/^/| /' conftest.$ac_ext >&5
34315 wx_cv_wchar_t_is_separate_type=no
34319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34322 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34323 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34325 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34326 cat >>confdefs.h <<\_ACEOF
34327 #define wxWCHAR_T_IS_REAL_TYPE 1
34331 cat >>confdefs.h <<\_ACEOF
34332 #define wxWCHAR_T_IS_REAL_TYPE 0
34338 ac_cpp='$CPP $CPPFLAGS'
34339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34344 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34345 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34346 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34347 echo $ECHO_N "(cached) $ECHO_C" >&6
34350 cat >conftest.$ac_ext <<_ACEOF
34353 cat confdefs.h >>conftest.$ac_ext
34354 cat >>conftest.$ac_ext <<_ACEOF
34355 /* end confdefs.h. */
34369 rm -f conftest.$ac_objext
34370 if { (ac_try="$ac_compile"
34371 case "(($ac_try" in
34372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34373 *) ac_try_echo=$ac_try;;
34375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34376 (eval "$ac_compile") 2>conftest.er1
34378 grep -v '^ *+' conftest.er1 >conftest.err
34380 cat conftest.err >&5
34381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34382 (exit $ac_status); } && {
34383 test -z "$ac_c_werror_flag" ||
34384 test ! -s conftest.err
34385 } && test -s conftest.$ac_objext; then
34387 wx_cv_struct_pw_gecos=yes
34390 echo "$as_me: failed program was:" >&5
34391 sed 's/^/| /' conftest.$ac_ext >&5
34394 wx_cv_struct_pw_gecos=no
34399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34403 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34404 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34406 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34407 cat >>confdefs.h <<\_ACEOF
34408 #define HAVE_PW_GECOS 1
34414 if test "$wxUSE_WCHAR_T" = "yes"; then
34415 cat >>confdefs.h <<\_ACEOF
34416 #define wxUSE_WCHAR_T 1
34423 for ac_func in wcslen
34425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34426 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34428 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34429 echo $ECHO_N "(cached) $ECHO_C" >&6
34431 cat >conftest.$ac_ext <<_ACEOF
34434 cat confdefs.h >>conftest.$ac_ext
34435 cat >>conftest.$ac_ext <<_ACEOF
34436 /* end confdefs.h. */
34437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34439 #define $ac_func innocuous_$ac_func
34441 /* System header to define __stub macros and hopefully few prototypes,
34442 which can conflict with char $ac_func (); below.
34443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34444 <limits.h> exists even on freestanding compilers. */
34447 # include <limits.h>
34449 # include <assert.h>
34454 /* Override any GCC internal prototype to avoid an error.
34455 Use char because int might match the return type of a GCC
34456 builtin and then its argument prototype would still apply. */
34461 /* The GNU C library defines this for functions which it implements
34462 to always fail with ENOSYS. Some functions are actually named
34463 something starting with __ and the normal name is an alias. */
34464 #if defined __stub_$ac_func || defined __stub___$ac_func
34471 return $ac_func ();
34476 rm -f conftest.$ac_objext conftest$ac_exeext
34477 if { (ac_try="$ac_link"
34478 case "(($ac_try" in
34479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34480 *) ac_try_echo=$ac_try;;
34482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34483 (eval "$ac_link") 2>conftest.er1
34485 grep -v '^ *+' conftest.er1 >conftest.err
34487 cat conftest.err >&5
34488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34489 (exit $ac_status); } && {
34490 test -z "$ac_c_werror_flag" ||
34491 test ! -s conftest.err
34492 } && test -s conftest$ac_exeext &&
34493 $as_test_x conftest$ac_exeext; then
34494 eval "$as_ac_var=yes"
34496 echo "$as_me: failed program was:" >&5
34497 sed 's/^/| /' conftest.$ac_ext >&5
34499 eval "$as_ac_var=no"
34502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34503 conftest$ac_exeext conftest.$ac_ext
34505 ac_res=`eval echo '${'$as_ac_var'}'`
34506 { echo "$as_me:$LINENO: result: $ac_res" >&5
34507 echo "${ECHO_T}$ac_res" >&6; }
34508 if test `eval echo '${'$as_ac_var'}'` = yes; then
34509 cat >>confdefs.h <<_ACEOF
34510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34517 if test "$WCSLEN_FOUND" = 0; then
34518 if test "$TOOLKIT" = "MSW"; then
34519 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34520 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34521 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34522 echo $ECHO_N "(cached) $ECHO_C" >&6
34524 ac_check_lib_save_LIBS=$LIBS
34525 LIBS="-lmsvcrt $LIBS"
34526 cat >conftest.$ac_ext <<_ACEOF
34529 cat confdefs.h >>conftest.$ac_ext
34530 cat >>conftest.$ac_ext <<_ACEOF
34531 /* end confdefs.h. */
34533 /* Override any GCC internal prototype to avoid an error.
34534 Use char because int might match the return type of a GCC
34535 builtin and then its argument prototype would still apply. */
34548 rm -f conftest.$ac_objext conftest$ac_exeext
34549 if { (ac_try="$ac_link"
34550 case "(($ac_try" in
34551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34552 *) ac_try_echo=$ac_try;;
34554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34555 (eval "$ac_link") 2>conftest.er1
34557 grep -v '^ *+' conftest.er1 >conftest.err
34559 cat conftest.err >&5
34560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34561 (exit $ac_status); } && {
34562 test -z "$ac_c_werror_flag" ||
34563 test ! -s conftest.err
34564 } && test -s conftest$ac_exeext &&
34565 $as_test_x conftest$ac_exeext; then
34566 ac_cv_lib_msvcrt_wcslen=yes
34568 echo "$as_me: failed program was:" >&5
34569 sed 's/^/| /' conftest.$ac_ext >&5
34571 ac_cv_lib_msvcrt_wcslen=no
34574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34575 conftest$ac_exeext conftest.$ac_ext
34576 LIBS=$ac_check_lib_save_LIBS
34578 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34579 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34580 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34585 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34586 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34587 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34588 echo $ECHO_N "(cached) $ECHO_C" >&6
34590 ac_check_lib_save_LIBS=$LIBS
34592 cat >conftest.$ac_ext <<_ACEOF
34595 cat confdefs.h >>conftest.$ac_ext
34596 cat >>conftest.$ac_ext <<_ACEOF
34597 /* end confdefs.h. */
34599 /* Override any GCC internal prototype to avoid an error.
34600 Use char because int might match the return type of a GCC
34601 builtin and then its argument prototype would still apply. */
34614 rm -f conftest.$ac_objext conftest$ac_exeext
34615 if { (ac_try="$ac_link"
34616 case "(($ac_try" in
34617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34618 *) ac_try_echo=$ac_try;;
34620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34621 (eval "$ac_link") 2>conftest.er1
34623 grep -v '^ *+' conftest.er1 >conftest.err
34625 cat conftest.err >&5
34626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34627 (exit $ac_status); } && {
34628 test -z "$ac_c_werror_flag" ||
34629 test ! -s conftest.err
34630 } && test -s conftest$ac_exeext &&
34631 $as_test_x conftest$ac_exeext; then
34632 ac_cv_lib_w_wcslen=yes
34634 echo "$as_me: failed program was:" >&5
34635 sed 's/^/| /' conftest.$ac_ext >&5
34637 ac_cv_lib_w_wcslen=no
34640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34641 conftest$ac_exeext conftest.$ac_ext
34642 LIBS=$ac_check_lib_save_LIBS
34644 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34645 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34646 if test $ac_cv_lib_w_wcslen = yes; then
34656 if test "$WCSLEN_FOUND" = 1; then
34657 cat >>confdefs.h <<\_ACEOF
34658 #define HAVE_WCSLEN 1
34664 for ac_func in wcsdup
34666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34667 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34669 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34670 echo $ECHO_N "(cached) $ECHO_C" >&6
34672 cat >conftest.$ac_ext <<_ACEOF
34675 cat confdefs.h >>conftest.$ac_ext
34676 cat >>conftest.$ac_ext <<_ACEOF
34677 /* end confdefs.h. */
34678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34680 #define $ac_func innocuous_$ac_func
34682 /* System header to define __stub macros and hopefully few prototypes,
34683 which can conflict with char $ac_func (); below.
34684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34685 <limits.h> exists even on freestanding compilers. */
34688 # include <limits.h>
34690 # include <assert.h>
34695 /* Override any GCC internal prototype to avoid an error.
34696 Use char because int might match the return type of a GCC
34697 builtin and then its argument prototype would still apply. */
34702 /* The GNU C library defines this for functions which it implements
34703 to always fail with ENOSYS. Some functions are actually named
34704 something starting with __ and the normal name is an alias. */
34705 #if defined __stub_$ac_func || defined __stub___$ac_func
34712 return $ac_func ();
34717 rm -f conftest.$ac_objext conftest$ac_exeext
34718 if { (ac_try="$ac_link"
34719 case "(($ac_try" in
34720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34721 *) ac_try_echo=$ac_try;;
34723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34724 (eval "$ac_link") 2>conftest.er1
34726 grep -v '^ *+' conftest.er1 >conftest.err
34728 cat conftest.err >&5
34729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34730 (exit $ac_status); } && {
34731 test -z "$ac_c_werror_flag" ||
34732 test ! -s conftest.err
34733 } && test -s conftest$ac_exeext &&
34734 $as_test_x conftest$ac_exeext; then
34735 eval "$as_ac_var=yes"
34737 echo "$as_me: failed program was:" >&5
34738 sed 's/^/| /' conftest.$ac_ext >&5
34740 eval "$as_ac_var=no"
34743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34744 conftest$ac_exeext conftest.$ac_ext
34746 ac_res=`eval echo '${'$as_ac_var'}'`
34747 { echo "$as_me:$LINENO: result: $ac_res" >&5
34748 echo "${ECHO_T}$ac_res" >&6; }
34749 if test `eval echo '${'$as_ac_var'}'` = yes; then
34750 cat >>confdefs.h <<_ACEOF
34751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34758 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34759 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34762 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34763 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34764 if test "${ac_cv_type_mbstate_t+set}" = set; then
34765 echo $ECHO_N "(cached) $ECHO_C" >&6
34767 cat >conftest.$ac_ext <<_ACEOF
34770 cat confdefs.h >>conftest.$ac_ext
34771 cat >>conftest.$ac_ext <<_ACEOF
34772 /* end confdefs.h. */
34775 typedef mbstate_t ac__type_new_;
34779 if ((ac__type_new_ *) 0)
34781 if (sizeof (ac__type_new_))
34787 rm -f conftest.$ac_objext
34788 if { (ac_try="$ac_compile"
34789 case "(($ac_try" in
34790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34791 *) ac_try_echo=$ac_try;;
34793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34794 (eval "$ac_compile") 2>conftest.er1
34796 grep -v '^ *+' conftest.er1 >conftest.err
34798 cat conftest.err >&5
34799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34800 (exit $ac_status); } && {
34801 test -z "$ac_c_werror_flag" ||
34802 test ! -s conftest.err
34803 } && test -s conftest.$ac_objext; then
34804 ac_cv_type_mbstate_t=yes
34806 echo "$as_me: failed program was:" >&5
34807 sed 's/^/| /' conftest.$ac_ext >&5
34809 ac_cv_type_mbstate_t=no
34812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34814 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34815 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34816 if test $ac_cv_type_mbstate_t = yes; then
34818 cat >>confdefs.h <<_ACEOF
34819 #define HAVE_MBSTATE_T 1
34823 for ac_func in wcsrtombs
34825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34826 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34828 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34829 echo $ECHO_N "(cached) $ECHO_C" >&6
34831 cat >conftest.$ac_ext <<_ACEOF
34834 cat confdefs.h >>conftest.$ac_ext
34835 cat >>conftest.$ac_ext <<_ACEOF
34836 /* end confdefs.h. */
34837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34839 #define $ac_func innocuous_$ac_func
34841 /* System header to define __stub macros and hopefully few prototypes,
34842 which can conflict with char $ac_func (); below.
34843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34844 <limits.h> exists even on freestanding compilers. */
34847 # include <limits.h>
34849 # include <assert.h>
34854 /* Override any GCC internal prototype to avoid an error.
34855 Use char because int might match the return type of a GCC
34856 builtin and then its argument prototype would still apply. */
34861 /* The GNU C library defines this for functions which it implements
34862 to always fail with ENOSYS. Some functions are actually named
34863 something starting with __ and the normal name is an alias. */
34864 #if defined __stub_$ac_func || defined __stub___$ac_func
34871 return $ac_func ();
34876 rm -f conftest.$ac_objext conftest$ac_exeext
34877 if { (ac_try="$ac_link"
34878 case "(($ac_try" in
34879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34880 *) ac_try_echo=$ac_try;;
34882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34883 (eval "$ac_link") 2>conftest.er1
34885 grep -v '^ *+' conftest.er1 >conftest.err
34887 cat conftest.err >&5
34888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34889 (exit $ac_status); } && {
34890 test -z "$ac_c_werror_flag" ||
34891 test ! -s conftest.err
34892 } && test -s conftest$ac_exeext &&
34893 $as_test_x conftest$ac_exeext; then
34894 eval "$as_ac_var=yes"
34896 echo "$as_me: failed program was:" >&5
34897 sed 's/^/| /' conftest.$ac_ext >&5
34899 eval "$as_ac_var=no"
34902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34903 conftest$ac_exeext conftest.$ac_ext
34905 ac_res=`eval echo '${'$as_ac_var'}'`
34906 { echo "$as_me:$LINENO: result: $ac_res" >&5
34907 echo "${ECHO_T}$ac_res" >&6; }
34908 if test `eval echo '${'$as_ac_var'}'` = yes; then
34909 cat >>confdefs.h <<_ACEOF
34910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34919 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34920 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34926 for ac_func in snprintf vsnprintf vsscanf
34928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34929 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34931 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34932 echo $ECHO_N "(cached) $ECHO_C" >&6
34934 cat >conftest.$ac_ext <<_ACEOF
34937 cat confdefs.h >>conftest.$ac_ext
34938 cat >>conftest.$ac_ext <<_ACEOF
34939 /* end confdefs.h. */
34940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34942 #define $ac_func innocuous_$ac_func
34944 /* System header to define __stub macros and hopefully few prototypes,
34945 which can conflict with char $ac_func (); below.
34946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34947 <limits.h> exists even on freestanding compilers. */
34950 # include <limits.h>
34952 # include <assert.h>
34957 /* Override any GCC internal prototype to avoid an error.
34958 Use char because int might match the return type of a GCC
34959 builtin and then its argument prototype would still apply. */
34964 /* The GNU C library defines this for functions which it implements
34965 to always fail with ENOSYS. Some functions are actually named
34966 something starting with __ and the normal name is an alias. */
34967 #if defined __stub_$ac_func || defined __stub___$ac_func
34974 return $ac_func ();
34979 rm -f conftest.$ac_objext conftest$ac_exeext
34980 if { (ac_try="$ac_link"
34981 case "(($ac_try" in
34982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34983 *) ac_try_echo=$ac_try;;
34985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34986 (eval "$ac_link") 2>conftest.er1
34988 grep -v '^ *+' conftest.er1 >conftest.err
34990 cat conftest.err >&5
34991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34992 (exit $ac_status); } && {
34993 test -z "$ac_c_werror_flag" ||
34994 test ! -s conftest.err
34995 } && test -s conftest$ac_exeext &&
34996 $as_test_x conftest$ac_exeext; then
34997 eval "$as_ac_var=yes"
34999 echo "$as_me: failed program was:" >&5
35000 sed 's/^/| /' conftest.$ac_ext >&5
35002 eval "$as_ac_var=no"
35005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35006 conftest$ac_exeext conftest.$ac_ext
35008 ac_res=`eval echo '${'$as_ac_var'}'`
35009 { echo "$as_me:$LINENO: result: $ac_res" >&5
35010 echo "${ECHO_T}$ac_res" >&6; }
35011 if test `eval echo '${'$as_ac_var'}'` = yes; then
35012 cat >>confdefs.h <<_ACEOF
35013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35020 if test "$ac_cv_func_vsnprintf" = "yes"; then
35021 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35022 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35023 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35024 echo $ECHO_N "(cached) $ECHO_C" >&6
35027 cat >conftest.$ac_ext <<_ACEOF
35030 cat confdefs.h >>conftest.$ac_ext
35031 cat >>conftest.$ac_ext <<_ACEOF
35032 /* end confdefs.h. */
35035 #include <stdarg.h>
35037 #if __MSL__ >= 0x6000
35039 using namespace std;
35049 vsnprintf(buf, 10u, "%s", ap);
35055 rm -f conftest.$ac_objext
35056 if { (ac_try="$ac_compile"
35057 case "(($ac_try" in
35058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35059 *) ac_try_echo=$ac_try;;
35061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35062 (eval "$ac_compile") 2>conftest.er1
35064 grep -v '^ *+' conftest.er1 >conftest.err
35066 cat conftest.err >&5
35067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35068 (exit $ac_status); } && {
35069 test -z "$ac_c_werror_flag" ||
35070 test ! -s conftest.err
35071 } && test -s conftest.$ac_objext; then
35072 wx_cv_func_vsnprintf_decl=yes
35074 echo "$as_me: failed program was:" >&5
35075 sed 's/^/| /' conftest.$ac_ext >&5
35077 wx_cv_func_vsnprintf_decl=no
35081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35085 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35086 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35088 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35089 cat >>confdefs.h <<\_ACEOF
35090 #define HAVE_VSNPRINTF_DECL 1
35094 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35095 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35096 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35097 echo $ECHO_N "(cached) $ECHO_C" >&6
35100 cat >conftest.$ac_ext <<_ACEOF
35103 cat confdefs.h >>conftest.$ac_ext
35104 cat >>conftest.$ac_ext <<_ACEOF
35105 /* end confdefs.h. */
35108 #include <stdarg.h>
35110 #if __MSL__ >= 0x6000
35112 using namespace std;
35122 const char *fmt = "%s";
35123 vsnprintf(buf, 10u, fmt, ap);
35129 rm -f conftest.$ac_objext
35130 if { (ac_try="$ac_compile"
35131 case "(($ac_try" in
35132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35133 *) ac_try_echo=$ac_try;;
35135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35136 (eval "$ac_compile") 2>conftest.er1
35138 grep -v '^ *+' conftest.er1 >conftest.err
35140 cat conftest.err >&5
35141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35142 (exit $ac_status); } && {
35143 test -z "$ac_c_werror_flag" ||
35144 test ! -s conftest.err
35145 } && test -s conftest.$ac_objext; then
35146 wx_cv_func_broken_vsnprintf_decl=no
35148 echo "$as_me: failed program was:" >&5
35149 sed 's/^/| /' conftest.$ac_ext >&5
35151 wx_cv_func_broken_vsnprintf_decl=yes
35155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35159 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35160 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35162 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35163 cat >>confdefs.h <<\_ACEOF
35164 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35171 if test "$ac_cv_func_snprintf" = "yes"; then
35172 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35173 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35174 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35175 echo $ECHO_N "(cached) $ECHO_C" >&6
35178 cat >conftest.$ac_ext <<_ACEOF
35181 cat confdefs.h >>conftest.$ac_ext
35182 cat >>conftest.$ac_ext <<_ACEOF
35183 /* end confdefs.h. */
35186 #include <stdarg.h>
35188 #if __MSL__ >= 0x6000
35190 using namespace std;
35199 snprintf(buf, 10u, "%s", "wx");
35205 rm -f conftest.$ac_objext
35206 if { (ac_try="$ac_compile"
35207 case "(($ac_try" in
35208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35209 *) ac_try_echo=$ac_try;;
35211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35212 (eval "$ac_compile") 2>conftest.er1
35214 grep -v '^ *+' conftest.er1 >conftest.err
35216 cat conftest.err >&5
35217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35218 (exit $ac_status); } && {
35219 test -z "$ac_c_werror_flag" ||
35220 test ! -s conftest.err
35221 } && test -s conftest.$ac_objext; then
35222 wx_cv_func_snprintf_decl=yes
35224 echo "$as_me: failed program was:" >&5
35225 sed 's/^/| /' conftest.$ac_ext >&5
35227 wx_cv_func_snprintf_decl=no
35231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35235 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35236 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35238 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35239 cat >>confdefs.h <<\_ACEOF
35240 #define HAVE_SNPRINTF_DECL 1
35245 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35247 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35248 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35249 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35250 echo $ECHO_N "(cached) $ECHO_C" >&6
35253 if test "$cross_compiling" = yes; then
35255 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35256 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35257 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35258 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35259 wx_cv_func_snprintf_pos_params=no
35263 cat >conftest.$ac_ext <<_ACEOF
35266 cat confdefs.h >>conftest.$ac_ext
35267 cat >>conftest.$ac_ext <<_ACEOF
35268 /* end confdefs.h. */
35275 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35276 if (strcmp ("2 3 1", buffer) == 0)
35282 rm -f conftest$ac_exeext
35283 if { (ac_try="$ac_link"
35284 case "(($ac_try" in
35285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35286 *) ac_try_echo=$ac_try;;
35288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35289 (eval "$ac_link") 2>&5
35291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35292 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35293 { (case "(($ac_try" in
35294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35295 *) ac_try_echo=$ac_try;;
35297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35298 (eval "$ac_try") 2>&5
35300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35301 (exit $ac_status); }; }; then
35302 wx_cv_func_snprintf_pos_params=no
35304 echo "$as_me: program exited with status $ac_status" >&5
35305 echo "$as_me: failed program was:" >&5
35306 sed 's/^/| /' conftest.$ac_ext >&5
35308 ( exit $ac_status )
35309 wx_cv_func_snprintf_pos_params=yes
35311 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35318 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35319 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35321 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35322 cat >>confdefs.h <<\_ACEOF
35323 #define HAVE_UNIX98_PRINTF 1
35330 if test "$ac_cv_func_vsscanf" = "yes"; then
35331 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35332 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35333 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35334 echo $ECHO_N "(cached) $ECHO_C" >&6
35337 cat >conftest.$ac_ext <<_ACEOF
35340 cat confdefs.h >>conftest.$ac_ext
35341 cat >>conftest.$ac_ext <<_ACEOF
35342 /* end confdefs.h. */
35345 #include <stdarg.h>
35347 #if __MSL__ >= 0x6000
35349 using namespace std;
35358 vsscanf(buf, "%s", parse);
35364 rm -f conftest.$ac_objext
35365 if { (ac_try="$ac_compile"
35366 case "(($ac_try" in
35367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35368 *) ac_try_echo=$ac_try;;
35370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35371 (eval "$ac_compile") 2>conftest.er1
35373 grep -v '^ *+' conftest.er1 >conftest.err
35375 cat conftest.err >&5
35376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35377 (exit $ac_status); } && {
35378 test -z "$ac_c_werror_flag" ||
35379 test ! -s conftest.err
35380 } && test -s conftest.$ac_objext; then
35381 wx_cv_func_vsscanf_decl=yes
35383 echo "$as_me: failed program was:" >&5
35384 sed 's/^/| /' conftest.$ac_ext >&5
35386 wx_cv_func_vsscanf_decl=no
35390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35394 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35395 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35397 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35398 cat >>confdefs.h <<\_ACEOF
35399 #define HAVE_VSSCANF_DECL 1
35405 if test "$wxUSE_UNICODE" = yes; then
35407 wchar_headers="#include <stdio.h>
35408 #include <wchar.h>"
35412 for ac_header in widec.h
35414 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35415 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35417 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35418 echo $ECHO_N "(cached) $ECHO_C" >&6
35420 cat >conftest.$ac_ext <<_ACEOF
35423 cat confdefs.h >>conftest.$ac_ext
35424 cat >>conftest.$ac_ext <<_ACEOF
35425 /* end confdefs.h. */
35426 $ac_includes_default
35428 #include <$ac_header>
35430 rm -f conftest.$ac_objext
35431 if { (ac_try="$ac_compile"
35432 case "(($ac_try" in
35433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35434 *) ac_try_echo=$ac_try;;
35436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35437 (eval "$ac_compile") 2>conftest.er1
35439 grep -v '^ *+' conftest.er1 >conftest.err
35441 cat conftest.err >&5
35442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35443 (exit $ac_status); } && {
35444 test -z "$ac_c_werror_flag" ||
35445 test ! -s conftest.err
35446 } && test -s conftest.$ac_objext; then
35447 eval "$as_ac_Header=yes"
35449 echo "$as_me: failed program was:" >&5
35450 sed 's/^/| /' conftest.$ac_ext >&5
35452 eval "$as_ac_Header=no"
35455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35457 ac_res=`eval echo '${'$as_ac_Header'}'`
35458 { echo "$as_me:$LINENO: result: $ac_res" >&5
35459 echo "${ECHO_T}$ac_res" >&6; }
35460 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35461 cat >>confdefs.h <<_ACEOF
35462 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35469 if test "$ac_cv_header_widec_h" = "yes"; then
35470 wchar_headers="$wchar_headers
35471 #include <widec.h>"
35476 for wx_func in putws fputws wprintf vswprintf vswscanf
35478 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35479 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35480 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35481 echo $ECHO_N "(cached) $ECHO_C" >&6
35484 cat >conftest.$ac_ext <<_ACEOF
35488 cat confdefs.h >>conftest.$ac_ext
35489 cat >>conftest.$ac_ext <<_ACEOF
35490 /* end confdefs.h. */
35493 $ac_includes_default
35509 rm -f conftest.$ac_objext conftest$ac_exeext
35510 if { (ac_try="$ac_link"
35511 case "(($ac_try" in
35512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35513 *) ac_try_echo=$ac_try;;
35515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35516 (eval "$ac_link") 2>conftest.er1
35518 grep -v '^ *+' conftest.er1 >conftest.err
35520 cat conftest.err >&5
35521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35522 (exit $ac_status); } && {
35523 test -z "$ac_c_werror_flag" ||
35524 test ! -s conftest.err
35525 } && test -s conftest$ac_exeext &&
35526 $as_test_x conftest$ac_exeext; then
35527 eval wx_cv_func_$wx_func=yes
35529 echo "$as_me: failed program was:" >&5
35530 sed 's/^/| /' conftest.$ac_ext >&5
35532 eval wx_cv_func_$wx_func=no
35535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35536 conftest$ac_exeext conftest.$ac_ext
35539 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35540 { echo "$as_me:$LINENO: result: $ac_res" >&5
35541 echo "${ECHO_T}$ac_res" >&6; }
35543 if eval test \$wx_cv_func_$wx_func = yes
35545 cat >>confdefs.h <<_ACEOF
35546 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35557 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35558 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35559 cat >conftest.$ac_ext <<_ACEOF
35562 cat confdefs.h >>conftest.$ac_ext
35563 cat >>conftest.$ac_ext <<_ACEOF
35564 /* end confdefs.h. */
35574 rm -f conftest.$ac_objext
35575 if { (ac_try="$ac_compile"
35576 case "(($ac_try" in
35577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35578 *) ac_try_echo=$ac_try;;
35580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35581 (eval "$ac_compile") 2>conftest.er1
35583 grep -v '^ *+' conftest.er1 >conftest.err
35585 cat conftest.err >&5
35586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35587 (exit $ac_status); } && {
35588 test -z "$ac_c_werror_flag" ||
35589 test ! -s conftest.err
35590 } && test -s conftest.$ac_objext; then
35591 { echo "$as_me:$LINENO: result: yes" >&5
35592 echo "${ECHO_T}yes" >&6; }
35593 cat >>confdefs.h <<\_ACEOF
35594 #define HAVE__VSNWPRINTF 1
35598 echo "$as_me: failed program was:" >&5
35599 sed 's/^/| /' conftest.$ac_ext >&5
35601 { echo "$as_me:$LINENO: result: no" >&5
35602 echo "${ECHO_T}no" >&6; }
35605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35608 if test "$wxUSE_FILE" = "yes"; then
35610 for wx_func in fsync
35612 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35613 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35614 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35615 echo $ECHO_N "(cached) $ECHO_C" >&6
35618 cat >conftest.$ac_ext <<_ACEOF
35622 cat confdefs.h >>conftest.$ac_ext
35623 cat >>conftest.$ac_ext <<_ACEOF
35624 /* end confdefs.h. */
35627 $ac_includes_default
35643 rm -f conftest.$ac_objext conftest$ac_exeext
35644 if { (ac_try="$ac_link"
35645 case "(($ac_try" in
35646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35647 *) ac_try_echo=$ac_try;;
35649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35650 (eval "$ac_link") 2>conftest.er1
35652 grep -v '^ *+' conftest.er1 >conftest.err
35654 cat conftest.err >&5
35655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35656 (exit $ac_status); } && {
35657 test -z "$ac_c_werror_flag" ||
35658 test ! -s conftest.err
35659 } && test -s conftest$ac_exeext &&
35660 $as_test_x conftest$ac_exeext; then
35661 eval wx_cv_func_$wx_func=yes
35663 echo "$as_me: failed program was:" >&5
35664 sed 's/^/| /' conftest.$ac_ext >&5
35666 eval wx_cv_func_$wx_func=no
35669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35670 conftest$ac_exeext conftest.$ac_ext
35673 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35674 { echo "$as_me:$LINENO: result: $ac_res" >&5
35675 echo "${ECHO_T}$ac_res" >&6; }
35677 if eval test \$wx_cv_func_$wx_func = yes
35679 cat >>confdefs.h <<_ACEOF
35680 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35693 ac_cpp='$CXXCPP $CPPFLAGS'
35694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35699 for wx_func in round
35701 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35702 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35703 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35704 echo $ECHO_N "(cached) $ECHO_C" >&6
35707 cat >conftest.$ac_ext <<_ACEOF
35711 cat confdefs.h >>conftest.$ac_ext
35712 cat >>conftest.$ac_ext <<_ACEOF
35713 /* end confdefs.h. */
35716 $ac_includes_default
35732 rm -f conftest.$ac_objext conftest$ac_exeext
35733 if { (ac_try="$ac_link"
35734 case "(($ac_try" in
35735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35736 *) ac_try_echo=$ac_try;;
35738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35739 (eval "$ac_link") 2>conftest.er1
35741 grep -v '^ *+' conftest.er1 >conftest.err
35743 cat conftest.err >&5
35744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35745 (exit $ac_status); } && {
35746 test -z "$ac_cxx_werror_flag" ||
35747 test ! -s conftest.err
35748 } && test -s conftest$ac_exeext &&
35749 $as_test_x conftest$ac_exeext; then
35750 eval wx_cv_func_$wx_func=yes
35752 echo "$as_me: failed program was:" >&5
35753 sed 's/^/| /' conftest.$ac_ext >&5
35755 eval wx_cv_func_$wx_func=no
35758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35759 conftest$ac_exeext conftest.$ac_ext
35762 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35763 { echo "$as_me:$LINENO: result: $ac_res" >&5
35764 echo "${ECHO_T}$ac_res" >&6; }
35766 if eval test \$wx_cv_func_$wx_func = yes
35768 cat >>confdefs.h <<_ACEOF
35769 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35780 ac_cpp='$CPP $CPPFLAGS'
35781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35786 if test "$TOOLKIT" != "MSW"; then
35788 if test "$wxUSE_LIBICONV" != "no" ; then
35792 # Check whether --with-libiconv-prefix was given.
35793 if test "${with_libiconv_prefix+set}" = set; then
35794 withval=$with_libiconv_prefix;
35795 for dir in `echo "$withval" | tr : ' '`; do
35796 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35797 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35803 { echo "$as_me:$LINENO: checking for iconv" >&5
35804 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35805 if test "${am_cv_func_iconv+set}" = set; then
35806 echo $ECHO_N "(cached) $ECHO_C" >&6
35809 am_cv_func_iconv="no, consider installing GNU libiconv"
35811 cat >conftest.$ac_ext <<_ACEOF
35814 cat confdefs.h >>conftest.$ac_ext
35815 cat >>conftest.$ac_ext <<_ACEOF
35816 /* end confdefs.h. */
35817 #include <stdlib.h>
35822 iconv_t cd = iconv_open("","");
35823 iconv(cd,NULL,NULL,NULL,NULL);
35829 rm -f conftest.$ac_objext conftest$ac_exeext
35830 if { (ac_try="$ac_link"
35831 case "(($ac_try" in
35832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35833 *) ac_try_echo=$ac_try;;
35835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35836 (eval "$ac_link") 2>conftest.er1
35838 grep -v '^ *+' conftest.er1 >conftest.err
35840 cat conftest.err >&5
35841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35842 (exit $ac_status); } && {
35843 test -z "$ac_c_werror_flag" ||
35844 test ! -s conftest.err
35845 } && test -s conftest$ac_exeext &&
35846 $as_test_x conftest$ac_exeext; then
35847 am_cv_func_iconv=yes
35849 echo "$as_me: failed program was:" >&5
35850 sed 's/^/| /' conftest.$ac_ext >&5
35855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35856 conftest$ac_exeext conftest.$ac_ext
35857 if test "$am_cv_func_iconv" != yes; then
35858 am_save_LIBS="$LIBS"
35859 LIBS="$LIBS -liconv"
35860 cat >conftest.$ac_ext <<_ACEOF
35863 cat confdefs.h >>conftest.$ac_ext
35864 cat >>conftest.$ac_ext <<_ACEOF
35865 /* end confdefs.h. */
35866 #include <stdlib.h>
35871 iconv_t cd = iconv_open("","");
35872 iconv(cd,NULL,NULL,NULL,NULL);
35878 rm -f conftest.$ac_objext conftest$ac_exeext
35879 if { (ac_try="$ac_link"
35880 case "(($ac_try" in
35881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35882 *) ac_try_echo=$ac_try;;
35884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35885 (eval "$ac_link") 2>conftest.er1
35887 grep -v '^ *+' conftest.er1 >conftest.err
35889 cat conftest.err >&5
35890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35891 (exit $ac_status); } && {
35892 test -z "$ac_c_werror_flag" ||
35893 test ! -s conftest.err
35894 } && test -s conftest$ac_exeext &&
35895 $as_test_x conftest$ac_exeext; then
35896 am_cv_lib_iconv=yes
35897 am_cv_func_iconv=yes
35899 echo "$as_me: failed program was:" >&5
35900 sed 's/^/| /' conftest.$ac_ext >&5
35905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35906 conftest$ac_exeext conftest.$ac_ext
35907 LIBS="$am_save_LIBS"
35911 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35912 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35913 if test "$am_cv_func_iconv" = yes; then
35915 cat >>confdefs.h <<\_ACEOF
35916 #define HAVE_ICONV 1
35919 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35920 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35921 if test "${wx_cv_func_iconv_const+set}" = set; then
35922 echo $ECHO_N "(cached) $ECHO_C" >&6
35924 cat >conftest.$ac_ext <<_ACEOF
35927 cat confdefs.h >>conftest.$ac_ext
35928 cat >>conftest.$ac_ext <<_ACEOF
35929 /* end confdefs.h. */
35931 #include <stdlib.h>
35937 #if defined(__STDC__) || defined(__cplusplus)
35938 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35951 rm -f conftest.$ac_objext
35952 if { (ac_try="$ac_compile"
35953 case "(($ac_try" in
35954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35955 *) ac_try_echo=$ac_try;;
35957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35958 (eval "$ac_compile") 2>conftest.er1
35960 grep -v '^ *+' conftest.er1 >conftest.err
35962 cat conftest.err >&5
35963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35964 (exit $ac_status); } && {
35965 test -z "$ac_c_werror_flag" ||
35966 test ! -s conftest.err
35967 } && test -s conftest.$ac_objext; then
35968 wx_cv_func_iconv_const="no"
35970 echo "$as_me: failed program was:" >&5
35971 sed 's/^/| /' conftest.$ac_ext >&5
35973 wx_cv_func_iconv_const="yes"
35977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35980 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35981 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35984 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35985 iconv_const="const"
35989 cat >>confdefs.h <<_ACEOF
35990 #define ICONV_CONST $iconv_const
35995 if test "$am_cv_lib_iconv" = yes; then
36000 LIBS="$LIBICONV $LIBS"
36003 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36005 for ac_func in sigaction
36007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36008 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36010 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36011 echo $ECHO_N "(cached) $ECHO_C" >&6
36013 cat >conftest.$ac_ext <<_ACEOF
36016 cat confdefs.h >>conftest.$ac_ext
36017 cat >>conftest.$ac_ext <<_ACEOF
36018 /* end confdefs.h. */
36019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36021 #define $ac_func innocuous_$ac_func
36023 /* System header to define __stub macros and hopefully few prototypes,
36024 which can conflict with char $ac_func (); below.
36025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36026 <limits.h> exists even on freestanding compilers. */
36029 # include <limits.h>
36031 # include <assert.h>
36036 /* Override any GCC internal prototype to avoid an error.
36037 Use char because int might match the return type of a GCC
36038 builtin and then its argument prototype would still apply. */
36043 /* The GNU C library defines this for functions which it implements
36044 to always fail with ENOSYS. Some functions are actually named
36045 something starting with __ and the normal name is an alias. */
36046 #if defined __stub_$ac_func || defined __stub___$ac_func
36053 return $ac_func ();
36058 rm -f conftest.$ac_objext conftest$ac_exeext
36059 if { (ac_try="$ac_link"
36060 case "(($ac_try" in
36061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36062 *) ac_try_echo=$ac_try;;
36064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36065 (eval "$ac_link") 2>conftest.er1
36067 grep -v '^ *+' conftest.er1 >conftest.err
36069 cat conftest.err >&5
36070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36071 (exit $ac_status); } && {
36072 test -z "$ac_c_werror_flag" ||
36073 test ! -s conftest.err
36074 } && test -s conftest$ac_exeext &&
36075 $as_test_x conftest$ac_exeext; then
36076 eval "$as_ac_var=yes"
36078 echo "$as_me: failed program was:" >&5
36079 sed 's/^/| /' conftest.$ac_ext >&5
36081 eval "$as_ac_var=no"
36084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36085 conftest$ac_exeext conftest.$ac_ext
36087 ac_res=`eval echo '${'$as_ac_var'}'`
36088 { echo "$as_me:$LINENO: result: $ac_res" >&5
36089 echo "${ECHO_T}$ac_res" >&6; }
36090 if test `eval echo '${'$as_ac_var'}'` = yes; then
36091 cat >>confdefs.h <<_ACEOF
36092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36099 if test "$ac_cv_func_sigaction" = "no"; then
36100 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36101 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36102 wxUSE_ON_FATAL_EXCEPTION=no
36105 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36106 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36107 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36108 if test "${wx_cv_type_sa_handler+set}" = set; then
36109 echo $ECHO_N "(cached) $ECHO_C" >&6
36113 ac_cpp='$CXXCPP $CPPFLAGS'
36114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36118 cat >conftest.$ac_ext <<_ACEOF
36121 cat confdefs.h >>conftest.$ac_ext
36122 cat >>conftest.$ac_ext <<_ACEOF
36123 /* end confdefs.h. */
36124 #include <signal.h>
36129 extern void testSigHandler(int);
36131 struct sigaction sa;
36132 sa.sa_handler = testSigHandler;
36138 rm -f conftest.$ac_objext
36139 if { (ac_try="$ac_compile"
36140 case "(($ac_try" in
36141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36142 *) ac_try_echo=$ac_try;;
36144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36145 (eval "$ac_compile") 2>conftest.er1
36147 grep -v '^ *+' conftest.er1 >conftest.err
36149 cat conftest.err >&5
36150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36151 (exit $ac_status); } && {
36152 test -z "$ac_cxx_werror_flag" ||
36153 test ! -s conftest.err
36154 } && test -s conftest.$ac_objext; then
36156 wx_cv_type_sa_handler=int
36159 echo "$as_me: failed program was:" >&5
36160 sed 's/^/| /' conftest.$ac_ext >&5
36163 wx_cv_type_sa_handler=void
36167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36169 ac_cpp='$CPP $CPPFLAGS'
36170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36176 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36177 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36179 cat >>confdefs.h <<_ACEOF
36180 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36186 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36187 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36188 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36189 if test "${wx_cv_func_backtrace+set}" = set; then
36190 echo $ECHO_N "(cached) $ECHO_C" >&6
36194 ac_cpp='$CXXCPP $CPPFLAGS'
36195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36199 cat >conftest.$ac_ext <<_ACEOF
36202 cat confdefs.h >>conftest.$ac_ext
36203 cat >>conftest.$ac_ext <<_ACEOF
36204 /* end confdefs.h. */
36205 #include <execinfo.h>
36213 backtrace(trace, 1);
36214 messages = backtrace_symbols(trace, 1);
36220 rm -f conftest.$ac_objext
36221 if { (ac_try="$ac_compile"
36222 case "(($ac_try" in
36223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36224 *) ac_try_echo=$ac_try;;
36226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36227 (eval "$ac_compile") 2>conftest.er1
36229 grep -v '^ *+' conftest.er1 >conftest.err
36231 cat conftest.err >&5
36232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36233 (exit $ac_status); } && {
36234 test -z "$ac_cxx_werror_flag" ||
36235 test ! -s conftest.err
36236 } && test -s conftest.$ac_objext; then
36237 wx_cv_func_backtrace=yes
36239 echo "$as_me: failed program was:" >&5
36240 sed 's/^/| /' conftest.$ac_ext >&5
36242 wx_cv_func_backtrace=no
36246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36248 ac_cpp='$CPP $CPPFLAGS'
36249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36256 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36257 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36260 if test "$wx_cv_func_backtrace" = "no"; then
36261 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36262 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36263 wxUSE_STACKWALKER=no
36265 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36266 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36267 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36268 echo $ECHO_N "(cached) $ECHO_C" >&6
36272 ac_cpp='$CXXCPP $CPPFLAGS'
36273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36277 cat >conftest.$ac_ext <<_ACEOF
36280 cat confdefs.h >>conftest.$ac_ext
36281 cat >>conftest.$ac_ext <<_ACEOF
36282 /* end confdefs.h. */
36283 #include <cxxabi.h>
36289 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36295 rm -f conftest.$ac_objext conftest$ac_exeext
36296 if { (ac_try="$ac_link"
36297 case "(($ac_try" in
36298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36299 *) ac_try_echo=$ac_try;;
36301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36302 (eval "$ac_link") 2>conftest.er1
36304 grep -v '^ *+' conftest.er1 >conftest.err
36306 cat conftest.err >&5
36307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36308 (exit $ac_status); } && {
36309 test -z "$ac_cxx_werror_flag" ||
36310 test ! -s conftest.err
36311 } && test -s conftest$ac_exeext &&
36312 $as_test_x conftest$ac_exeext; then
36313 wx_cv_func_cxa_demangle=yes
36315 echo "$as_me: failed program was:" >&5
36316 sed 's/^/| /' conftest.$ac_ext >&5
36318 wx_cv_func_cxa_demangle=no
36322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36323 conftest$ac_exeext conftest.$ac_ext
36325 ac_cpp='$CPP $CPPFLAGS'
36326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36333 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36334 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36336 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36337 cat >>confdefs.h <<\_ACEOF
36338 #define HAVE_CXA_DEMANGLE 1
36345 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36346 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36347 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36348 wxUSE_STACKWALKER=no
36354 for ac_func in mkstemp mktemp
36356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36357 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36359 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36360 echo $ECHO_N "(cached) $ECHO_C" >&6
36362 cat >conftest.$ac_ext <<_ACEOF
36365 cat confdefs.h >>conftest.$ac_ext
36366 cat >>conftest.$ac_ext <<_ACEOF
36367 /* end confdefs.h. */
36368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36370 #define $ac_func innocuous_$ac_func
36372 /* System header to define __stub macros and hopefully few prototypes,
36373 which can conflict with char $ac_func (); below.
36374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36375 <limits.h> exists even on freestanding compilers. */
36378 # include <limits.h>
36380 # include <assert.h>
36385 /* Override any GCC internal prototype to avoid an error.
36386 Use char because int might match the return type of a GCC
36387 builtin and then its argument prototype would still apply. */
36392 /* The GNU C library defines this for functions which it implements
36393 to always fail with ENOSYS. Some functions are actually named
36394 something starting with __ and the normal name is an alias. */
36395 #if defined __stub_$ac_func || defined __stub___$ac_func
36402 return $ac_func ();
36407 rm -f conftest.$ac_objext conftest$ac_exeext
36408 if { (ac_try="$ac_link"
36409 case "(($ac_try" in
36410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36411 *) ac_try_echo=$ac_try;;
36413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36414 (eval "$ac_link") 2>conftest.er1
36416 grep -v '^ *+' conftest.er1 >conftest.err
36418 cat conftest.err >&5
36419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36420 (exit $ac_status); } && {
36421 test -z "$ac_c_werror_flag" ||
36422 test ! -s conftest.err
36423 } && test -s conftest$ac_exeext &&
36424 $as_test_x conftest$ac_exeext; then
36425 eval "$as_ac_var=yes"
36427 echo "$as_me: failed program was:" >&5
36428 sed 's/^/| /' conftest.$ac_ext >&5
36430 eval "$as_ac_var=no"
36433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36434 conftest$ac_exeext conftest.$ac_ext
36436 ac_res=`eval echo '${'$as_ac_var'}'`
36437 { echo "$as_me:$LINENO: result: $ac_res" >&5
36438 echo "${ECHO_T}$ac_res" >&6; }
36439 if test `eval echo '${'$as_ac_var'}'` = yes; then
36440 cat >>confdefs.h <<_ACEOF
36441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36448 { echo "$as_me:$LINENO: checking for statfs" >&5
36449 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36450 if test "${wx_cv_func_statfs+set}" = set; then
36451 echo $ECHO_N "(cached) $ECHO_C" >&6
36453 cat >conftest.$ac_ext <<_ACEOF
36456 cat confdefs.h >>conftest.$ac_ext
36457 cat >>conftest.$ac_ext <<_ACEOF
36458 /* end confdefs.h. */
36460 #if defined(__BSD__)
36461 #include <sys/param.h>
36462 #include <sys/mount.h>
36464 #include <sys/vfs.h>
36482 rm -f conftest.$ac_objext
36483 if { (ac_try="$ac_compile"
36484 case "(($ac_try" in
36485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36486 *) ac_try_echo=$ac_try;;
36488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36489 (eval "$ac_compile") 2>conftest.er1
36491 grep -v '^ *+' conftest.er1 >conftest.err
36493 cat conftest.err >&5
36494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36495 (exit $ac_status); } && {
36496 test -z "$ac_c_werror_flag" ||
36497 test ! -s conftest.err
36498 } && test -s conftest.$ac_objext; then
36499 wx_cv_func_statfs=yes
36501 echo "$as_me: failed program was:" >&5
36502 sed 's/^/| /' conftest.$ac_ext >&5
36504 wx_cv_func_statfs=no
36508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36511 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36512 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36514 if test "$wx_cv_func_statfs" = "yes"; then
36515 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36516 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36517 if test "${wx_cv_func_statfs_decl+set}" = set; then
36518 echo $ECHO_N "(cached) $ECHO_C" >&6
36521 ac_cpp='$CXXCPP $CPPFLAGS'
36522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36526 cat >conftest.$ac_ext <<_ACEOF
36529 cat confdefs.h >>conftest.$ac_ext
36530 cat >>conftest.$ac_ext <<_ACEOF
36531 /* end confdefs.h. */
36533 #if defined(__BSD__)
36534 #include <sys/param.h>
36535 #include <sys/mount.h>
36537 #include <sys/vfs.h>
36551 rm -f conftest.$ac_objext
36552 if { (ac_try="$ac_compile"
36553 case "(($ac_try" in
36554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36555 *) ac_try_echo=$ac_try;;
36557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36558 (eval "$ac_compile") 2>conftest.er1
36560 grep -v '^ *+' conftest.er1 >conftest.err
36562 cat conftest.err >&5
36563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36564 (exit $ac_status); } && {
36565 test -z "$ac_cxx_werror_flag" ||
36566 test ! -s conftest.err
36567 } && test -s conftest.$ac_objext; then
36568 wx_cv_func_statfs_decl=yes
36570 echo "$as_me: failed program was:" >&5
36571 sed 's/^/| /' conftest.$ac_ext >&5
36573 wx_cv_func_statfs_decl=no
36577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36579 ac_cpp='$CPP $CPPFLAGS'
36580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36586 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36587 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36589 if test "$wx_cv_func_statfs_decl" = "yes"; then
36590 cat >>confdefs.h <<\_ACEOF
36591 #define HAVE_STATFS_DECL 1
36596 wx_cv_type_statvfs_t="struct statfs"
36597 cat >>confdefs.h <<\_ACEOF
36598 #define HAVE_STATFS 1
36602 { echo "$as_me:$LINENO: checking for statvfs" >&5
36603 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36604 if test "${wx_cv_func_statvfs+set}" = set; then
36605 echo $ECHO_N "(cached) $ECHO_C" >&6
36607 cat >conftest.$ac_ext <<_ACEOF
36610 cat confdefs.h >>conftest.$ac_ext
36611 cat >>conftest.$ac_ext <<_ACEOF
36612 /* end confdefs.h. */
36614 #include <stddef.h>
36615 #include <sys/statvfs.h>
36621 statvfs("/", NULL);
36627 rm -f conftest.$ac_objext
36628 if { (ac_try="$ac_compile"
36629 case "(($ac_try" in
36630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36631 *) ac_try_echo=$ac_try;;
36633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36634 (eval "$ac_compile") 2>conftest.er1
36636 grep -v '^ *+' conftest.er1 >conftest.err
36638 cat conftest.err >&5
36639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36640 (exit $ac_status); } && {
36641 test -z "$ac_c_werror_flag" ||
36642 test ! -s conftest.err
36643 } && test -s conftest.$ac_objext; then
36644 wx_cv_func_statvfs=yes
36646 echo "$as_me: failed program was:" >&5
36647 sed 's/^/| /' conftest.$ac_ext >&5
36649 wx_cv_func_statvfs=no
36653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36656 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36657 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36659 if test "$wx_cv_func_statvfs" = "yes"; then
36660 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36661 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36662 if test "${wx_cv_type_statvfs_t+set}" = set; then
36663 echo $ECHO_N "(cached) $ECHO_C" >&6
36666 ac_cpp='$CXXCPP $CPPFLAGS'
36667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36671 cat >conftest.$ac_ext <<_ACEOF
36674 cat confdefs.h >>conftest.$ac_ext
36675 cat >>conftest.$ac_ext <<_ACEOF
36676 /* end confdefs.h. */
36678 #include <sys/statvfs.h>
36695 rm -f conftest.$ac_objext
36696 if { (ac_try="$ac_compile"
36697 case "(($ac_try" in
36698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36699 *) ac_try_echo=$ac_try;;
36701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36702 (eval "$ac_compile") 2>conftest.er1
36704 grep -v '^ *+' conftest.er1 >conftest.err
36706 cat conftest.err >&5
36707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36708 (exit $ac_status); } && {
36709 test -z "$ac_cxx_werror_flag" ||
36710 test ! -s conftest.err
36711 } && test -s conftest.$ac_objext; then
36712 wx_cv_type_statvfs_t=statvfs_t
36714 echo "$as_me: failed program was:" >&5
36715 sed 's/^/| /' conftest.$ac_ext >&5
36718 cat >conftest.$ac_ext <<_ACEOF
36721 cat confdefs.h >>conftest.$ac_ext
36722 cat >>conftest.$ac_ext <<_ACEOF
36723 /* end confdefs.h. */
36725 #include <sys/statvfs.h>
36742 rm -f conftest.$ac_objext
36743 if { (ac_try="$ac_compile"
36744 case "(($ac_try" in
36745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36746 *) ac_try_echo=$ac_try;;
36748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36749 (eval "$ac_compile") 2>conftest.er1
36751 grep -v '^ *+' conftest.er1 >conftest.err
36753 cat conftest.err >&5
36754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36755 (exit $ac_status); } && {
36756 test -z "$ac_cxx_werror_flag" ||
36757 test ! -s conftest.err
36758 } && test -s conftest.$ac_objext; then
36759 wx_cv_type_statvfs_t="struct statvfs"
36761 echo "$as_me: failed program was:" >&5
36762 sed 's/^/| /' conftest.$ac_ext >&5
36764 wx_cv_type_statvfs_t="unknown"
36768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36775 ac_cpp='$CPP $CPPFLAGS'
36776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36782 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36783 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36785 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36786 cat >>confdefs.h <<\_ACEOF
36787 #define HAVE_STATVFS 1
36792 wx_cv_type_statvfs_t="unknown"
36796 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36797 cat >>confdefs.h <<_ACEOF
36798 #define WX_STATFS_T $wx_cv_type_statvfs_t
36802 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36803 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36806 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36809 for ac_func in fcntl flock
36811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36812 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36814 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36815 echo $ECHO_N "(cached) $ECHO_C" >&6
36817 cat >conftest.$ac_ext <<_ACEOF
36820 cat confdefs.h >>conftest.$ac_ext
36821 cat >>conftest.$ac_ext <<_ACEOF
36822 /* end confdefs.h. */
36823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36825 #define $ac_func innocuous_$ac_func
36827 /* System header to define __stub macros and hopefully few prototypes,
36828 which can conflict with char $ac_func (); below.
36829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36830 <limits.h> exists even on freestanding compilers. */
36833 # include <limits.h>
36835 # include <assert.h>
36840 /* Override any GCC internal prototype to avoid an error.
36841 Use char because int might match the return type of a GCC
36842 builtin and then its argument prototype would still apply. */
36847 /* The GNU C library defines this for functions which it implements
36848 to always fail with ENOSYS. Some functions are actually named
36849 something starting with __ and the normal name is an alias. */
36850 #if defined __stub_$ac_func || defined __stub___$ac_func
36857 return $ac_func ();
36862 rm -f conftest.$ac_objext conftest$ac_exeext
36863 if { (ac_try="$ac_link"
36864 case "(($ac_try" in
36865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36866 *) ac_try_echo=$ac_try;;
36868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36869 (eval "$ac_link") 2>conftest.er1
36871 grep -v '^ *+' conftest.er1 >conftest.err
36873 cat conftest.err >&5
36874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36875 (exit $ac_status); } && {
36876 test -z "$ac_c_werror_flag" ||
36877 test ! -s conftest.err
36878 } && test -s conftest$ac_exeext &&
36879 $as_test_x conftest$ac_exeext; then
36880 eval "$as_ac_var=yes"
36882 echo "$as_me: failed program was:" >&5
36883 sed 's/^/| /' conftest.$ac_ext >&5
36885 eval "$as_ac_var=no"
36888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36889 conftest$ac_exeext conftest.$ac_ext
36891 ac_res=`eval echo '${'$as_ac_var'}'`
36892 { echo "$as_me:$LINENO: result: $ac_res" >&5
36893 echo "${ECHO_T}$ac_res" >&6; }
36894 if test `eval echo '${'$as_ac_var'}'` = yes; then
36895 cat >>confdefs.h <<_ACEOF
36896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36903 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36904 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36905 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36906 wxUSE_SNGLINST_CHECKER=no
36912 for ac_func in setenv putenv
36914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36915 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36917 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36918 echo $ECHO_N "(cached) $ECHO_C" >&6
36920 cat >conftest.$ac_ext <<_ACEOF
36923 cat confdefs.h >>conftest.$ac_ext
36924 cat >>conftest.$ac_ext <<_ACEOF
36925 /* end confdefs.h. */
36926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36928 #define $ac_func innocuous_$ac_func
36930 /* System header to define __stub macros and hopefully few prototypes,
36931 which can conflict with char $ac_func (); below.
36932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36933 <limits.h> exists even on freestanding compilers. */
36936 # include <limits.h>
36938 # include <assert.h>
36943 /* Override any GCC internal prototype to avoid an error.
36944 Use char because int might match the return type of a GCC
36945 builtin and then its argument prototype would still apply. */
36950 /* The GNU C library defines this for functions which it implements
36951 to always fail with ENOSYS. Some functions are actually named
36952 something starting with __ and the normal name is an alias. */
36953 #if defined __stub_$ac_func || defined __stub___$ac_func
36960 return $ac_func ();
36965 rm -f conftest.$ac_objext conftest$ac_exeext
36966 if { (ac_try="$ac_link"
36967 case "(($ac_try" in
36968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36969 *) ac_try_echo=$ac_try;;
36971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36972 (eval "$ac_link") 2>conftest.er1
36974 grep -v '^ *+' conftest.er1 >conftest.err
36976 cat conftest.err >&5
36977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36978 (exit $ac_status); } && {
36979 test -z "$ac_c_werror_flag" ||
36980 test ! -s conftest.err
36981 } && test -s conftest$ac_exeext &&
36982 $as_test_x conftest$ac_exeext; then
36983 eval "$as_ac_var=yes"
36985 echo "$as_me: failed program was:" >&5
36986 sed 's/^/| /' conftest.$ac_ext >&5
36988 eval "$as_ac_var=no"
36991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36992 conftest$ac_exeext conftest.$ac_ext
36994 ac_res=`eval echo '${'$as_ac_var'}'`
36995 { echo "$as_me:$LINENO: result: $ac_res" >&5
36996 echo "${ECHO_T}$ac_res" >&6; }
36997 if test `eval echo '${'$as_ac_var'}'` = yes; then
36998 cat >>confdefs.h <<_ACEOF
36999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37005 if test "$ac_cv_func_setenv" = "yes"; then
37007 for ac_func in unsetenv
37009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37010 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37012 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37013 echo $ECHO_N "(cached) $ECHO_C" >&6
37015 cat >conftest.$ac_ext <<_ACEOF
37018 cat confdefs.h >>conftest.$ac_ext
37019 cat >>conftest.$ac_ext <<_ACEOF
37020 /* end confdefs.h. */
37021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37023 #define $ac_func innocuous_$ac_func
37025 /* System header to define __stub macros and hopefully few prototypes,
37026 which can conflict with char $ac_func (); below.
37027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37028 <limits.h> exists even on freestanding compilers. */
37031 # include <limits.h>
37033 # include <assert.h>
37038 /* Override any GCC internal prototype to avoid an error.
37039 Use char because int might match the return type of a GCC
37040 builtin and then its argument prototype would still apply. */
37045 /* The GNU C library defines this for functions which it implements
37046 to always fail with ENOSYS. Some functions are actually named
37047 something starting with __ and the normal name is an alias. */
37048 #if defined __stub_$ac_func || defined __stub___$ac_func
37055 return $ac_func ();
37060 rm -f conftest.$ac_objext conftest$ac_exeext
37061 if { (ac_try="$ac_link"
37062 case "(($ac_try" in
37063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37064 *) ac_try_echo=$ac_try;;
37066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37067 (eval "$ac_link") 2>conftest.er1
37069 grep -v '^ *+' conftest.er1 >conftest.err
37071 cat conftest.err >&5
37072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37073 (exit $ac_status); } && {
37074 test -z "$ac_c_werror_flag" ||
37075 test ! -s conftest.err
37076 } && test -s conftest$ac_exeext &&
37077 $as_test_x conftest$ac_exeext; then
37078 eval "$as_ac_var=yes"
37080 echo "$as_me: failed program was:" >&5
37081 sed 's/^/| /' conftest.$ac_ext >&5
37083 eval "$as_ac_var=no"
37086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37087 conftest$ac_exeext conftest.$ac_ext
37089 ac_res=`eval echo '${'$as_ac_var'}'`
37090 { echo "$as_me:$LINENO: result: $ac_res" >&5
37091 echo "${ECHO_T}$ac_res" >&6; }
37092 if test `eval echo '${'$as_ac_var'}'` = yes; then
37093 cat >>confdefs.h <<_ACEOF
37094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37102 HAVE_SOME_SLEEP_FUNC=0
37103 if test "$USE_BEOS" = 1; then
37104 cat >>confdefs.h <<\_ACEOF
37105 #define HAVE_SLEEP 1
37108 HAVE_SOME_SLEEP_FUNC=1
37111 if test "$USE_DARWIN" = 1; then
37112 cat >>confdefs.h <<\_ACEOF
37113 #define HAVE_USLEEP 1
37116 HAVE_SOME_SLEEP_FUNC=1
37119 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37122 for ac_func in nanosleep
37124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37125 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37127 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37128 echo $ECHO_N "(cached) $ECHO_C" >&6
37130 cat >conftest.$ac_ext <<_ACEOF
37133 cat confdefs.h >>conftest.$ac_ext
37134 cat >>conftest.$ac_ext <<_ACEOF
37135 /* end confdefs.h. */
37136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37138 #define $ac_func innocuous_$ac_func
37140 /* System header to define __stub macros and hopefully few prototypes,
37141 which can conflict with char $ac_func (); below.
37142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37143 <limits.h> exists even on freestanding compilers. */
37146 # include <limits.h>
37148 # include <assert.h>
37153 /* Override any GCC internal prototype to avoid an error.
37154 Use char because int might match the return type of a GCC
37155 builtin and then its argument prototype would still apply. */
37160 /* The GNU C library defines this for functions which it implements
37161 to always fail with ENOSYS. Some functions are actually named
37162 something starting with __ and the normal name is an alias. */
37163 #if defined __stub_$ac_func || defined __stub___$ac_func
37170 return $ac_func ();
37175 rm -f conftest.$ac_objext conftest$ac_exeext
37176 if { (ac_try="$ac_link"
37177 case "(($ac_try" in
37178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37179 *) ac_try_echo=$ac_try;;
37181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37182 (eval "$ac_link") 2>conftest.er1
37184 grep -v '^ *+' conftest.er1 >conftest.err
37186 cat conftest.err >&5
37187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37188 (exit $ac_status); } && {
37189 test -z "$ac_c_werror_flag" ||
37190 test ! -s conftest.err
37191 } && test -s conftest$ac_exeext &&
37192 $as_test_x conftest$ac_exeext; then
37193 eval "$as_ac_var=yes"
37195 echo "$as_me: failed program was:" >&5
37196 sed 's/^/| /' conftest.$ac_ext >&5
37198 eval "$as_ac_var=no"
37201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37202 conftest$ac_exeext conftest.$ac_ext
37204 ac_res=`eval echo '${'$as_ac_var'}'`
37205 { echo "$as_me:$LINENO: result: $ac_res" >&5
37206 echo "${ECHO_T}$ac_res" >&6; }
37207 if test `eval echo '${'$as_ac_var'}'` = yes; then
37208 cat >>confdefs.h <<_ACEOF
37209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37211 cat >>confdefs.h <<\_ACEOF
37212 #define HAVE_NANOSLEEP 1
37217 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37218 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37219 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37220 echo $ECHO_N "(cached) $ECHO_C" >&6
37222 ac_check_lib_save_LIBS=$LIBS
37223 LIBS="-lposix4 $LIBS"
37224 cat >conftest.$ac_ext <<_ACEOF
37227 cat confdefs.h >>conftest.$ac_ext
37228 cat >>conftest.$ac_ext <<_ACEOF
37229 /* end confdefs.h. */
37231 /* Override any GCC internal prototype to avoid an error.
37232 Use char because int might match the return type of a GCC
37233 builtin and then its argument prototype would still apply. */
37241 return nanosleep ();
37246 rm -f conftest.$ac_objext conftest$ac_exeext
37247 if { (ac_try="$ac_link"
37248 case "(($ac_try" in
37249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37250 *) ac_try_echo=$ac_try;;
37252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37253 (eval "$ac_link") 2>conftest.er1
37255 grep -v '^ *+' conftest.er1 >conftest.err
37257 cat conftest.err >&5
37258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37259 (exit $ac_status); } && {
37260 test -z "$ac_c_werror_flag" ||
37261 test ! -s conftest.err
37262 } && test -s conftest$ac_exeext &&
37263 $as_test_x conftest$ac_exeext; then
37264 ac_cv_lib_posix4_nanosleep=yes
37266 echo "$as_me: failed program was:" >&5
37267 sed 's/^/| /' conftest.$ac_ext >&5
37269 ac_cv_lib_posix4_nanosleep=no
37272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37273 conftest$ac_exeext conftest.$ac_ext
37274 LIBS=$ac_check_lib_save_LIBS
37276 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37277 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37278 if test $ac_cv_lib_posix4_nanosleep = yes; then
37280 cat >>confdefs.h <<\_ACEOF
37281 #define HAVE_NANOSLEEP 1
37284 POSIX4_LINK=" -lposix4"
37289 for wx_func in usleep
37291 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37292 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37293 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37294 echo $ECHO_N "(cached) $ECHO_C" >&6
37297 cat >conftest.$ac_ext <<_ACEOF
37301 cat confdefs.h >>conftest.$ac_ext
37302 cat >>conftest.$ac_ext <<_ACEOF
37303 /* end confdefs.h. */
37306 $ac_includes_default
37322 rm -f conftest.$ac_objext conftest$ac_exeext
37323 if { (ac_try="$ac_link"
37324 case "(($ac_try" in
37325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37326 *) ac_try_echo=$ac_try;;
37328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37329 (eval "$ac_link") 2>conftest.er1
37331 grep -v '^ *+' conftest.er1 >conftest.err
37333 cat conftest.err >&5
37334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37335 (exit $ac_status); } && {
37336 test -z "$ac_c_werror_flag" ||
37337 test ! -s conftest.err
37338 } && test -s conftest$ac_exeext &&
37339 $as_test_x conftest$ac_exeext; then
37340 eval wx_cv_func_$wx_func=yes
37342 echo "$as_me: failed program was:" >&5
37343 sed 's/^/| /' conftest.$ac_ext >&5
37345 eval wx_cv_func_$wx_func=no
37348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37349 conftest$ac_exeext conftest.$ac_ext
37352 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37353 { echo "$as_me:$LINENO: result: $ac_res" >&5
37354 echo "${ECHO_T}$ac_res" >&6; }
37356 if eval test \$wx_cv_func_$wx_func = yes
37358 cat >>confdefs.h <<_ACEOF
37359 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37365 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37366 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37383 for wx_func in uname
37385 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37386 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37387 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37388 echo $ECHO_N "(cached) $ECHO_C" >&6
37391 cat >conftest.$ac_ext <<_ACEOF
37395 cat confdefs.h >>conftest.$ac_ext
37396 cat >>conftest.$ac_ext <<_ACEOF
37397 /* end confdefs.h. */
37399 #include <sys/utsname.h>
37400 $ac_includes_default
37416 rm -f conftest.$ac_objext conftest$ac_exeext
37417 if { (ac_try="$ac_link"
37418 case "(($ac_try" in
37419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37420 *) ac_try_echo=$ac_try;;
37422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37423 (eval "$ac_link") 2>conftest.er1
37425 grep -v '^ *+' conftest.er1 >conftest.err
37427 cat conftest.err >&5
37428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37429 (exit $ac_status); } && {
37430 test -z "$ac_c_werror_flag" ||
37431 test ! -s conftest.err
37432 } && test -s conftest$ac_exeext &&
37433 $as_test_x conftest$ac_exeext; then
37434 eval wx_cv_func_$wx_func=yes
37436 echo "$as_me: failed program was:" >&5
37437 sed 's/^/| /' conftest.$ac_ext >&5
37439 eval wx_cv_func_$wx_func=no
37442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37443 conftest$ac_exeext conftest.$ac_ext
37446 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37447 { echo "$as_me:$LINENO: result: $ac_res" >&5
37448 echo "${ECHO_T}$ac_res" >&6; }
37450 if eval test \$wx_cv_func_$wx_func = yes
37452 cat >>confdefs.h <<_ACEOF
37453 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37463 if test "$wx_cv_func_uname" != yes; then
37465 for wx_func in gethostname
37467 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37468 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37469 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37470 echo $ECHO_N "(cached) $ECHO_C" >&6
37473 cat >conftest.$ac_ext <<_ACEOF
37477 cat confdefs.h >>conftest.$ac_ext
37478 cat >>conftest.$ac_ext <<_ACEOF
37479 /* end confdefs.h. */
37482 $ac_includes_default
37498 rm -f conftest.$ac_objext conftest$ac_exeext
37499 if { (ac_try="$ac_link"
37500 case "(($ac_try" in
37501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37502 *) ac_try_echo=$ac_try;;
37504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37505 (eval "$ac_link") 2>conftest.er1
37507 grep -v '^ *+' conftest.er1 >conftest.err
37509 cat conftest.err >&5
37510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37511 (exit $ac_status); } && {
37512 test -z "$ac_c_werror_flag" ||
37513 test ! -s conftest.err
37514 } && test -s conftest$ac_exeext &&
37515 $as_test_x conftest$ac_exeext; then
37516 eval wx_cv_func_$wx_func=yes
37518 echo "$as_me: failed program was:" >&5
37519 sed 's/^/| /' conftest.$ac_ext >&5
37521 eval wx_cv_func_$wx_func=no
37524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37525 conftest$ac_exeext conftest.$ac_ext
37528 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37529 { echo "$as_me:$LINENO: result: $ac_res" >&5
37530 echo "${ECHO_T}$ac_res" >&6; }
37532 if eval test \$wx_cv_func_$wx_func = yes
37534 cat >>confdefs.h <<_ACEOF
37535 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37548 for wx_func in strtok_r
37550 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37551 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37552 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37553 echo $ECHO_N "(cached) $ECHO_C" >&6
37556 cat >conftest.$ac_ext <<_ACEOF
37560 cat confdefs.h >>conftest.$ac_ext
37561 cat >>conftest.$ac_ext <<_ACEOF
37562 /* end confdefs.h. */
37565 $ac_includes_default
37581 rm -f conftest.$ac_objext conftest$ac_exeext
37582 if { (ac_try="$ac_link"
37583 case "(($ac_try" in
37584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37585 *) ac_try_echo=$ac_try;;
37587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37588 (eval "$ac_link") 2>conftest.er1
37590 grep -v '^ *+' conftest.er1 >conftest.err
37592 cat conftest.err >&5
37593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37594 (exit $ac_status); } && {
37595 test -z "$ac_c_werror_flag" ||
37596 test ! -s conftest.err
37597 } && test -s conftest$ac_exeext &&
37598 $as_test_x conftest$ac_exeext; then
37599 eval wx_cv_func_$wx_func=yes
37601 echo "$as_me: failed program was:" >&5
37602 sed 's/^/| /' conftest.$ac_ext >&5
37604 eval wx_cv_func_$wx_func=no
37607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37608 conftest$ac_exeext conftest.$ac_ext
37611 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37612 { echo "$as_me:$LINENO: result: $ac_res" >&5
37613 echo "${ECHO_T}$ac_res" >&6; }
37615 if eval test \$wx_cv_func_$wx_func = yes
37617 cat >>confdefs.h <<_ACEOF
37618 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37631 for ac_func in inet_addr
37633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37634 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37636 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37637 echo $ECHO_N "(cached) $ECHO_C" >&6
37639 cat >conftest.$ac_ext <<_ACEOF
37642 cat confdefs.h >>conftest.$ac_ext
37643 cat >>conftest.$ac_ext <<_ACEOF
37644 /* end confdefs.h. */
37645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37647 #define $ac_func innocuous_$ac_func
37649 /* System header to define __stub macros and hopefully few prototypes,
37650 which can conflict with char $ac_func (); below.
37651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37652 <limits.h> exists even on freestanding compilers. */
37655 # include <limits.h>
37657 # include <assert.h>
37662 /* Override any GCC internal prototype to avoid an error.
37663 Use char because int might match the return type of a GCC
37664 builtin and then its argument prototype would still apply. */
37669 /* The GNU C library defines this for functions which it implements
37670 to always fail with ENOSYS. Some functions are actually named
37671 something starting with __ and the normal name is an alias. */
37672 #if defined __stub_$ac_func || defined __stub___$ac_func
37679 return $ac_func ();
37684 rm -f conftest.$ac_objext conftest$ac_exeext
37685 if { (ac_try="$ac_link"
37686 case "(($ac_try" in
37687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37688 *) ac_try_echo=$ac_try;;
37690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37691 (eval "$ac_link") 2>conftest.er1
37693 grep -v '^ *+' conftest.er1 >conftest.err
37695 cat conftest.err >&5
37696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37697 (exit $ac_status); } && {
37698 test -z "$ac_c_werror_flag" ||
37699 test ! -s conftest.err
37700 } && test -s conftest$ac_exeext &&
37701 $as_test_x conftest$ac_exeext; then
37702 eval "$as_ac_var=yes"
37704 echo "$as_me: failed program was:" >&5
37705 sed 's/^/| /' conftest.$ac_ext >&5
37707 eval "$as_ac_var=no"
37710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37711 conftest$ac_exeext conftest.$ac_ext
37713 ac_res=`eval echo '${'$as_ac_var'}'`
37714 { echo "$as_me:$LINENO: result: $ac_res" >&5
37715 echo "${ECHO_T}$ac_res" >&6; }
37716 if test `eval echo '${'$as_ac_var'}'` = yes; then
37717 cat >>confdefs.h <<_ACEOF
37718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37720 cat >>confdefs.h <<\_ACEOF
37721 #define HAVE_INET_ADDR 1
37726 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37727 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37728 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37729 echo $ECHO_N "(cached) $ECHO_C" >&6
37731 ac_check_lib_save_LIBS=$LIBS
37733 cat >conftest.$ac_ext <<_ACEOF
37736 cat confdefs.h >>conftest.$ac_ext
37737 cat >>conftest.$ac_ext <<_ACEOF
37738 /* end confdefs.h. */
37740 /* Override any GCC internal prototype to avoid an error.
37741 Use char because int might match the return type of a GCC
37742 builtin and then its argument prototype would still apply. */
37750 return inet_addr ();
37755 rm -f conftest.$ac_objext conftest$ac_exeext
37756 if { (ac_try="$ac_link"
37757 case "(($ac_try" in
37758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37759 *) ac_try_echo=$ac_try;;
37761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37762 (eval "$ac_link") 2>conftest.er1
37764 grep -v '^ *+' conftest.er1 >conftest.err
37766 cat conftest.err >&5
37767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37768 (exit $ac_status); } && {
37769 test -z "$ac_c_werror_flag" ||
37770 test ! -s conftest.err
37771 } && test -s conftest$ac_exeext &&
37772 $as_test_x conftest$ac_exeext; then
37773 ac_cv_lib_nsl_inet_addr=yes
37775 echo "$as_me: failed program was:" >&5
37776 sed 's/^/| /' conftest.$ac_ext >&5
37778 ac_cv_lib_nsl_inet_addr=no
37781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37782 conftest$ac_exeext conftest.$ac_ext
37783 LIBS=$ac_check_lib_save_LIBS
37785 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37786 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37787 if test $ac_cv_lib_nsl_inet_addr = yes; then
37791 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37792 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37793 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37794 echo $ECHO_N "(cached) $ECHO_C" >&6
37796 ac_check_lib_save_LIBS=$LIBS
37797 LIBS="-lresolv $LIBS"
37798 cat >conftest.$ac_ext <<_ACEOF
37801 cat confdefs.h >>conftest.$ac_ext
37802 cat >>conftest.$ac_ext <<_ACEOF
37803 /* end confdefs.h. */
37805 /* Override any GCC internal prototype to avoid an error.
37806 Use char because int might match the return type of a GCC
37807 builtin and then its argument prototype would still apply. */
37815 return inet_addr ();
37820 rm -f conftest.$ac_objext conftest$ac_exeext
37821 if { (ac_try="$ac_link"
37822 case "(($ac_try" in
37823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37824 *) ac_try_echo=$ac_try;;
37826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37827 (eval "$ac_link") 2>conftest.er1
37829 grep -v '^ *+' conftest.er1 >conftest.err
37831 cat conftest.err >&5
37832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37833 (exit $ac_status); } && {
37834 test -z "$ac_c_werror_flag" ||
37835 test ! -s conftest.err
37836 } && test -s conftest$ac_exeext &&
37837 $as_test_x conftest$ac_exeext; then
37838 ac_cv_lib_resolv_inet_addr=yes
37840 echo "$as_me: failed program was:" >&5
37841 sed 's/^/| /' conftest.$ac_ext >&5
37843 ac_cv_lib_resolv_inet_addr=no
37846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37847 conftest$ac_exeext conftest.$ac_ext
37848 LIBS=$ac_check_lib_save_LIBS
37850 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37851 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37852 if test $ac_cv_lib_resolv_inet_addr = yes; then
37856 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37857 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37858 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37859 echo $ECHO_N "(cached) $ECHO_C" >&6
37861 ac_check_lib_save_LIBS=$LIBS
37862 LIBS="-lsocket $LIBS"
37863 cat >conftest.$ac_ext <<_ACEOF
37866 cat confdefs.h >>conftest.$ac_ext
37867 cat >>conftest.$ac_ext <<_ACEOF
37868 /* end confdefs.h. */
37870 /* Override any GCC internal prototype to avoid an error.
37871 Use char because int might match the return type of a GCC
37872 builtin and then its argument prototype would still apply. */
37880 return inet_addr ();
37885 rm -f conftest.$ac_objext conftest$ac_exeext
37886 if { (ac_try="$ac_link"
37887 case "(($ac_try" in
37888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37889 *) ac_try_echo=$ac_try;;
37891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37892 (eval "$ac_link") 2>conftest.er1
37894 grep -v '^ *+' conftest.er1 >conftest.err
37896 cat conftest.err >&5
37897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37898 (exit $ac_status); } && {
37899 test -z "$ac_c_werror_flag" ||
37900 test ! -s conftest.err
37901 } && test -s conftest$ac_exeext &&
37902 $as_test_x conftest$ac_exeext; then
37903 ac_cv_lib_socket_inet_addr=yes
37905 echo "$as_me: failed program was:" >&5
37906 sed 's/^/| /' conftest.$ac_ext >&5
37908 ac_cv_lib_socket_inet_addr=no
37911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37912 conftest$ac_exeext conftest.$ac_ext
37913 LIBS=$ac_check_lib_save_LIBS
37915 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37916 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37917 if test $ac_cv_lib_socket_inet_addr = yes; then
37937 for ac_func in inet_aton
37939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37940 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37942 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37943 echo $ECHO_N "(cached) $ECHO_C" >&6
37945 cat >conftest.$ac_ext <<_ACEOF
37948 cat confdefs.h >>conftest.$ac_ext
37949 cat >>conftest.$ac_ext <<_ACEOF
37950 /* end confdefs.h. */
37951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37953 #define $ac_func innocuous_$ac_func
37955 /* System header to define __stub macros and hopefully few prototypes,
37956 which can conflict with char $ac_func (); below.
37957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37958 <limits.h> exists even on freestanding compilers. */
37961 # include <limits.h>
37963 # include <assert.h>
37968 /* Override any GCC internal prototype to avoid an error.
37969 Use char because int might match the return type of a GCC
37970 builtin and then its argument prototype would still apply. */
37975 /* The GNU C library defines this for functions which it implements
37976 to always fail with ENOSYS. Some functions are actually named
37977 something starting with __ and the normal name is an alias. */
37978 #if defined __stub_$ac_func || defined __stub___$ac_func
37985 return $ac_func ();
37990 rm -f conftest.$ac_objext conftest$ac_exeext
37991 if { (ac_try="$ac_link"
37992 case "(($ac_try" in
37993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37994 *) ac_try_echo=$ac_try;;
37996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37997 (eval "$ac_link") 2>conftest.er1
37999 grep -v '^ *+' conftest.er1 >conftest.err
38001 cat conftest.err >&5
38002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38003 (exit $ac_status); } && {
38004 test -z "$ac_c_werror_flag" ||
38005 test ! -s conftest.err
38006 } && test -s conftest$ac_exeext &&
38007 $as_test_x conftest$ac_exeext; then
38008 eval "$as_ac_var=yes"
38010 echo "$as_me: failed program was:" >&5
38011 sed 's/^/| /' conftest.$ac_ext >&5
38013 eval "$as_ac_var=no"
38016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38017 conftest$ac_exeext conftest.$ac_ext
38019 ac_res=`eval echo '${'$as_ac_var'}'`
38020 { echo "$as_me:$LINENO: result: $ac_res" >&5
38021 echo "${ECHO_T}$ac_res" >&6; }
38022 if test `eval echo '${'$as_ac_var'}'` = yes; then
38023 cat >>confdefs.h <<_ACEOF
38024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38026 cat >>confdefs.h <<\_ACEOF
38027 #define HAVE_INET_ATON 1
38032 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38033 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38034 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38035 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38036 echo $ECHO_N "(cached) $ECHO_C" >&6
38038 ac_check_lib_save_LIBS=$LIBS
38039 LIBS="-l$INET_LINK $LIBS"
38040 cat >conftest.$ac_ext <<_ACEOF
38043 cat confdefs.h >>conftest.$ac_ext
38044 cat >>conftest.$ac_ext <<_ACEOF
38045 /* end confdefs.h. */
38047 /* Override any GCC internal prototype to avoid an error.
38048 Use char because int might match the return type of a GCC
38049 builtin and then its argument prototype would still apply. */
38057 return inet_aton ();
38062 rm -f conftest.$ac_objext conftest$ac_exeext
38063 if { (ac_try="$ac_link"
38064 case "(($ac_try" in
38065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38066 *) ac_try_echo=$ac_try;;
38068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38069 (eval "$ac_link") 2>conftest.er1
38071 grep -v '^ *+' conftest.er1 >conftest.err
38073 cat conftest.err >&5
38074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38075 (exit $ac_status); } && {
38076 test -z "$ac_c_werror_flag" ||
38077 test ! -s conftest.err
38078 } && test -s conftest$ac_exeext &&
38079 $as_test_x conftest$ac_exeext; then
38080 eval "$as_ac_Lib=yes"
38082 echo "$as_me: failed program was:" >&5
38083 sed 's/^/| /' conftest.$ac_ext >&5
38085 eval "$as_ac_Lib=no"
38088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38089 conftest$ac_exeext conftest.$ac_ext
38090 LIBS=$ac_check_lib_save_LIBS
38092 ac_res=`eval echo '${'$as_ac_Lib'}'`
38093 { echo "$as_me:$LINENO: result: $ac_res" >&5
38094 echo "${ECHO_T}$ac_res" >&6; }
38095 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38096 cat >>confdefs.h <<\_ACEOF
38097 #define HAVE_INET_ATON 1
38107 if test "x$INET_LINK" != "x"; then
38108 cat >>confdefs.h <<\_ACEOF
38109 #define HAVE_INET_ADDR 1
38112 INET_LINK=" -l$INET_LINK"
38116 for wx_func in fdopen
38118 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38119 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38120 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38121 echo $ECHO_N "(cached) $ECHO_C" >&6
38124 cat >conftest.$ac_ext <<_ACEOF
38128 cat confdefs.h >>conftest.$ac_ext
38129 cat >>conftest.$ac_ext <<_ACEOF
38130 /* end confdefs.h. */
38133 $ac_includes_default
38149 rm -f conftest.$ac_objext conftest$ac_exeext
38150 if { (ac_try="$ac_link"
38151 case "(($ac_try" in
38152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38153 *) ac_try_echo=$ac_try;;
38155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38156 (eval "$ac_link") 2>conftest.er1
38158 grep -v '^ *+' conftest.er1 >conftest.err
38160 cat conftest.err >&5
38161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38162 (exit $ac_status); } && {
38163 test -z "$ac_c_werror_flag" ||
38164 test ! -s conftest.err
38165 } && test -s conftest$ac_exeext &&
38166 $as_test_x conftest$ac_exeext; then
38167 eval wx_cv_func_$wx_func=yes
38169 echo "$as_me: failed program was:" >&5
38170 sed 's/^/| /' conftest.$ac_ext >&5
38172 eval wx_cv_func_$wx_func=no
38175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38176 conftest$ac_exeext conftest.$ac_ext
38179 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38180 { echo "$as_me:$LINENO: result: $ac_res" >&5
38181 echo "${ECHO_T}$ac_res" >&6; }
38183 if eval test \$wx_cv_func_$wx_func = yes
38185 cat >>confdefs.h <<_ACEOF
38186 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38197 if test "$wxUSE_TARSTREAM" = "yes"; then
38199 for wx_func in sysconf
38201 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38202 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38203 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38204 echo $ECHO_N "(cached) $ECHO_C" >&6
38207 cat >conftest.$ac_ext <<_ACEOF
38211 cat confdefs.h >>conftest.$ac_ext
38212 cat >>conftest.$ac_ext <<_ACEOF
38213 /* end confdefs.h. */
38216 $ac_includes_default
38232 rm -f conftest.$ac_objext conftest$ac_exeext
38233 if { (ac_try="$ac_link"
38234 case "(($ac_try" in
38235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38236 *) ac_try_echo=$ac_try;;
38238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38239 (eval "$ac_link") 2>conftest.er1
38241 grep -v '^ *+' conftest.er1 >conftest.err
38243 cat conftest.err >&5
38244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38245 (exit $ac_status); } && {
38246 test -z "$ac_c_werror_flag" ||
38247 test ! -s conftest.err
38248 } && test -s conftest$ac_exeext &&
38249 $as_test_x conftest$ac_exeext; then
38250 eval wx_cv_func_$wx_func=yes
38252 echo "$as_me: failed program was:" >&5
38253 sed 's/^/| /' conftest.$ac_ext >&5
38255 eval wx_cv_func_$wx_func=no
38258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38259 conftest$ac_exeext conftest.$ac_ext
38262 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38263 { echo "$as_me:$LINENO: result: $ac_res" >&5
38264 echo "${ECHO_T}$ac_res" >&6; }
38266 if eval test \$wx_cv_func_$wx_func = yes
38268 cat >>confdefs.h <<_ACEOF
38269 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38281 for wx_func in getpwuid_r
38283 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38284 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38285 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38286 echo $ECHO_N "(cached) $ECHO_C" >&6
38289 cat >conftest.$ac_ext <<_ACEOF
38293 cat confdefs.h >>conftest.$ac_ext
38294 cat >>conftest.$ac_ext <<_ACEOF
38295 /* end confdefs.h. */
38301 $ac_includes_default
38311 struct passwd pw, *ppw;
38313 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38321 rm -f conftest.$ac_objext conftest$ac_exeext
38322 if { (ac_try="$ac_link"
38323 case "(($ac_try" in
38324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38325 *) ac_try_echo=$ac_try;;
38327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38328 (eval "$ac_link") 2>conftest.er1
38330 grep -v '^ *+' conftest.er1 >conftest.err
38332 cat conftest.err >&5
38333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38334 (exit $ac_status); } && {
38335 test -z "$ac_c_werror_flag" ||
38336 test ! -s conftest.err
38337 } && test -s conftest$ac_exeext &&
38338 $as_test_x conftest$ac_exeext; then
38339 eval wx_cv_func_$wx_func=yes
38341 echo "$as_me: failed program was:" >&5
38342 sed 's/^/| /' conftest.$ac_ext >&5
38344 eval wx_cv_func_$wx_func=no
38347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38348 conftest$ac_exeext conftest.$ac_ext
38351 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38352 { echo "$as_me:$LINENO: result: $ac_res" >&5
38353 echo "${ECHO_T}$ac_res" >&6; }
38355 if eval test \$wx_cv_func_$wx_func = yes
38357 cat >>confdefs.h <<_ACEOF
38358 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38370 for wx_func in getgrgid_r
38372 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38373 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38374 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38375 echo $ECHO_N "(cached) $ECHO_C" >&6
38378 cat >conftest.$ac_ext <<_ACEOF
38382 cat confdefs.h >>conftest.$ac_ext
38383 cat >>conftest.$ac_ext <<_ACEOF
38384 /* end confdefs.h. */
38390 $ac_includes_default
38400 struct group grp, *pgrp;
38402 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38410 rm -f conftest.$ac_objext conftest$ac_exeext
38411 if { (ac_try="$ac_link"
38412 case "(($ac_try" in
38413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38414 *) ac_try_echo=$ac_try;;
38416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38417 (eval "$ac_link") 2>conftest.er1
38419 grep -v '^ *+' conftest.er1 >conftest.err
38421 cat conftest.err >&5
38422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38423 (exit $ac_status); } && {
38424 test -z "$ac_c_werror_flag" ||
38425 test ! -s conftest.err
38426 } && test -s conftest$ac_exeext &&
38427 $as_test_x conftest$ac_exeext; then
38428 eval wx_cv_func_$wx_func=yes
38430 echo "$as_me: failed program was:" >&5
38431 sed 's/^/| /' conftest.$ac_ext >&5
38433 eval wx_cv_func_$wx_func=no
38436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38437 conftest$ac_exeext conftest.$ac_ext
38440 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38441 { echo "$as_me:$LINENO: result: $ac_res" >&5
38442 echo "${ECHO_T}$ac_res" >&6; }
38444 if eval test \$wx_cv_func_$wx_func = yes
38446 cat >>confdefs.h <<_ACEOF
38447 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38463 cat >confcache <<\_ACEOF
38464 # This file is a shell script that caches the results of configure
38465 # tests run on this system so they can be shared between configure
38466 # scripts and configure runs, see configure's option --config-cache.
38467 # It is not useful on other systems. If it contains results you don't
38468 # want to keep, you may remove or edit it.
38470 # config.status only pays attention to the cache file if you give it
38471 # the --recheck option to rerun configure.
38473 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38474 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38475 # following values.
38479 # The following way of writing the cache mishandles newlines in values,
38480 # but we know of no workaround that is simple, portable, and efficient.
38481 # So, we kill variables containing newlines.
38482 # Ultrix sh set writes to stderr and can't be redirected directly,
38483 # and sets the high bit in the cache file unless we assign to the vars.
38485 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38486 eval ac_val=\$$ac_var
38490 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38491 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38494 _ | IFS | as_nl) ;; #(
38495 *) $as_unset $ac_var ;;
38501 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38502 *${as_nl}ac_space=\ *)
38503 # `set' does not quote correctly, so add quotes (double-quote
38504 # substitution turns \\\\ into \\, and sed turns \\ into \).
38507 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38510 # `set' quotes correctly as required by POSIX, so do not add quotes.
38511 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38520 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38522 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38524 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38525 if test -w "$cache_file"; then
38526 test "x$cache_file" != "x/dev/null" &&
38527 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38528 echo "$as_me: updating cache $cache_file" >&6;}
38529 cat confcache >$cache_file
38531 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38532 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38538 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38544 if test "$wxUSE_THREADS" = "yes" ; then
38545 if test "$USE_BEOS" = 1; then
38546 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38547 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38552 if test "$wxUSE_THREADS" = "yes" ; then
38555 THREAD_OPTS="-pthread"
38556 if test "x$SUNCXX" = xyes; then
38557 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38561 *-*-solaris2* | *-*-sunos4* )
38562 if test "x$GCC" = "xyes"; then
38563 THREAD_OPTS="-pthreads $THREAD_OPTS"
38567 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38569 *-*-darwin* | *-*-cygwin* )
38573 THREAD_OPTS="pthreads"
38576 if test "x$GCC" = "xyes"; then
38577 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38585 if test "x$GCC" = "xyes"; then
38591 if test "x$GCC" != "xyes"; then
38592 THREAD_OPTS="-Ethread"
38597 THREAD_OPTS="$THREAD_OPTS pthread none"
38600 for flag in $THREAD_OPTS; do
38603 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38604 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38608 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38609 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38610 THREADS_CFLAGS="$flag"
38614 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38615 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38616 THREADS_LINK="-l$flag"
38621 save_CFLAGS="$CFLAGS"
38622 LIBS="$THREADS_LINK $LIBS"
38623 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38625 cat >conftest.$ac_ext <<_ACEOF
38628 cat confdefs.h >>conftest.$ac_ext
38629 cat >>conftest.$ac_ext <<_ACEOF
38630 /* end confdefs.h. */
38631 #include <pthread.h>
38635 pthread_create(0,0,0,0);
38640 rm -f conftest.$ac_objext conftest$ac_exeext
38641 if { (ac_try="$ac_link"
38642 case "(($ac_try" in
38643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38644 *) ac_try_echo=$ac_try;;
38646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38647 (eval "$ac_link") 2>conftest.er1
38649 grep -v '^ *+' conftest.er1 >conftest.err
38651 cat conftest.err >&5
38652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38653 (exit $ac_status); } && {
38654 test -z "$ac_c_werror_flag" ||
38655 test ! -s conftest.err
38656 } && test -s conftest$ac_exeext &&
38657 $as_test_x conftest$ac_exeext; then
38660 echo "$as_me: failed program was:" >&5
38661 sed 's/^/| /' conftest.$ac_ext >&5
38666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38667 conftest$ac_exeext conftest.$ac_ext
38670 CFLAGS="$save_CFLAGS"
38672 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38673 echo "${ECHO_T}$THREADS_OK" >&6; }
38674 if test "x$THREADS_OK" = "xyes"; then
38682 if test "x$THREADS_OK" != "xyes"; then
38684 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38685 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38687 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38688 LIBS="$THREADS_LINK $LIBS"
38690 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38691 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38695 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38696 flag="-D_THREAD_SAFE"
38699 flag="-D_THREAD_SAFE"
38702 flag="-D_REENTRANT"
38703 if test "x$GCC" != "xyes"; then
38704 flag="$flag -D_RWSTD_MULTI_THREAD"
38707 *solaris* | alpha*-osf*)
38708 flag="-D_REENTRANT"
38711 { echo "$as_me:$LINENO: result: ${flag}" >&5
38712 echo "${ECHO_T}${flag}" >&6; }
38713 if test "x$flag" != xno; then
38714 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38717 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38721 if test "$wxUSE_THREADS" = "yes" ; then
38723 for ac_func in thr_setconcurrency
38725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38726 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38728 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38729 echo $ECHO_N "(cached) $ECHO_C" >&6
38731 cat >conftest.$ac_ext <<_ACEOF
38734 cat confdefs.h >>conftest.$ac_ext
38735 cat >>conftest.$ac_ext <<_ACEOF
38736 /* end confdefs.h. */
38737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38739 #define $ac_func innocuous_$ac_func
38741 /* System header to define __stub macros and hopefully few prototypes,
38742 which can conflict with char $ac_func (); below.
38743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38744 <limits.h> exists even on freestanding compilers. */
38747 # include <limits.h>
38749 # include <assert.h>
38754 /* Override any GCC internal prototype to avoid an error.
38755 Use char because int might match the return type of a GCC
38756 builtin and then its argument prototype would still apply. */
38761 /* The GNU C library defines this for functions which it implements
38762 to always fail with ENOSYS. Some functions are actually named
38763 something starting with __ and the normal name is an alias. */
38764 #if defined __stub_$ac_func || defined __stub___$ac_func
38771 return $ac_func ();
38776 rm -f conftest.$ac_objext conftest$ac_exeext
38777 if { (ac_try="$ac_link"
38778 case "(($ac_try" in
38779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38780 *) ac_try_echo=$ac_try;;
38782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38783 (eval "$ac_link") 2>conftest.er1
38785 grep -v '^ *+' conftest.er1 >conftest.err
38787 cat conftest.err >&5
38788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38789 (exit $ac_status); } && {
38790 test -z "$ac_c_werror_flag" ||
38791 test ! -s conftest.err
38792 } && test -s conftest$ac_exeext &&
38793 $as_test_x conftest$ac_exeext; then
38794 eval "$as_ac_var=yes"
38796 echo "$as_me: failed program was:" >&5
38797 sed 's/^/| /' conftest.$ac_ext >&5
38799 eval "$as_ac_var=no"
38802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38803 conftest$ac_exeext conftest.$ac_ext
38805 ac_res=`eval echo '${'$as_ac_var'}'`
38806 { echo "$as_me:$LINENO: result: $ac_res" >&5
38807 echo "${ECHO_T}$ac_res" >&6; }
38808 if test `eval echo '${'$as_ac_var'}'` = yes; then
38809 cat >>confdefs.h <<_ACEOF
38810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38817 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38818 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38819 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38820 echo $ECHO_N "(cached) $ECHO_C" >&6
38824 ac_cpp='$CXXCPP $CPPFLAGS'
38825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38829 cat >conftest.$ac_ext <<_ACEOF
38832 cat confdefs.h >>conftest.$ac_ext
38833 cat >>conftest.$ac_ext <<_ACEOF
38834 /* end confdefs.h. */
38835 #include <pthread.h>
38836 void ThreadCleanupFunc(void *p);
38843 pthread_cleanup_push(ThreadCleanupFunc, p);
38844 pthread_cleanup_pop(0);
38850 rm -f conftest.$ac_objext
38851 if { (ac_try="$ac_compile"
38852 case "(($ac_try" in
38853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38854 *) ac_try_echo=$ac_try;;
38856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38857 (eval "$ac_compile") 2>conftest.er1
38859 grep -v '^ *+' conftest.er1 >conftest.err
38861 cat conftest.err >&5
38862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38863 (exit $ac_status); } && {
38864 test -z "$ac_cxx_werror_flag" ||
38865 test ! -s conftest.err
38866 } && test -s conftest.$ac_objext; then
38868 wx_cv_func_pthread_cleanup=yes
38871 echo "$as_me: failed program was:" >&5
38872 sed 's/^/| /' conftest.$ac_ext >&5
38875 wx_cv_func_pthread_cleanup=no
38880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38882 ac_cpp='$CPP $CPPFLAGS'
38883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38889 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38890 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38891 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38892 cat >>confdefs.h <<\_ACEOF
38893 #define wxHAVE_PTHREAD_CLEANUP 1
38899 for ac_header in sched.h
38901 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38902 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38904 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38905 echo $ECHO_N "(cached) $ECHO_C" >&6
38907 cat >conftest.$ac_ext <<_ACEOF
38910 cat confdefs.h >>conftest.$ac_ext
38911 cat >>conftest.$ac_ext <<_ACEOF
38912 /* end confdefs.h. */
38913 $ac_includes_default
38915 #include <$ac_header>
38917 rm -f conftest.$ac_objext
38918 if { (ac_try="$ac_compile"
38919 case "(($ac_try" in
38920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38921 *) ac_try_echo=$ac_try;;
38923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38924 (eval "$ac_compile") 2>conftest.er1
38926 grep -v '^ *+' conftest.er1 >conftest.err
38928 cat conftest.err >&5
38929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38930 (exit $ac_status); } && {
38931 test -z "$ac_c_werror_flag" ||
38932 test ! -s conftest.err
38933 } && test -s conftest.$ac_objext; then
38934 eval "$as_ac_Header=yes"
38936 echo "$as_me: failed program was:" >&5
38937 sed 's/^/| /' conftest.$ac_ext >&5
38939 eval "$as_ac_Header=no"
38942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38944 ac_res=`eval echo '${'$as_ac_Header'}'`
38945 { echo "$as_me:$LINENO: result: $ac_res" >&5
38946 echo "${ECHO_T}$ac_res" >&6; }
38947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38948 cat >>confdefs.h <<_ACEOF
38949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38956 if test "$ac_cv_header_sched_h" = "yes"; then
38957 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38958 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38959 if test "${ac_cv_func_sched_yield+set}" = set; then
38960 echo $ECHO_N "(cached) $ECHO_C" >&6
38962 cat >conftest.$ac_ext <<_ACEOF
38965 cat confdefs.h >>conftest.$ac_ext
38966 cat >>conftest.$ac_ext <<_ACEOF
38967 /* end confdefs.h. */
38968 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38970 #define sched_yield innocuous_sched_yield
38972 /* System header to define __stub macros and hopefully few prototypes,
38973 which can conflict with char sched_yield (); below.
38974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38975 <limits.h> exists even on freestanding compilers. */
38978 # include <limits.h>
38980 # include <assert.h>
38985 /* Override any GCC internal prototype to avoid an error.
38986 Use char because int might match the return type of a GCC
38987 builtin and then its argument prototype would still apply. */
38991 char sched_yield ();
38992 /* The GNU C library defines this for functions which it implements
38993 to always fail with ENOSYS. Some functions are actually named
38994 something starting with __ and the normal name is an alias. */
38995 #if defined __stub_sched_yield || defined __stub___sched_yield
39002 return sched_yield ();
39007 rm -f conftest.$ac_objext conftest$ac_exeext
39008 if { (ac_try="$ac_link"
39009 case "(($ac_try" in
39010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39011 *) ac_try_echo=$ac_try;;
39013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39014 (eval "$ac_link") 2>conftest.er1
39016 grep -v '^ *+' conftest.er1 >conftest.err
39018 cat conftest.err >&5
39019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39020 (exit $ac_status); } && {
39021 test -z "$ac_c_werror_flag" ||
39022 test ! -s conftest.err
39023 } && test -s conftest$ac_exeext &&
39024 $as_test_x conftest$ac_exeext; then
39025 ac_cv_func_sched_yield=yes
39027 echo "$as_me: failed program was:" >&5
39028 sed 's/^/| /' conftest.$ac_ext >&5
39030 ac_cv_func_sched_yield=no
39033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39034 conftest$ac_exeext conftest.$ac_ext
39036 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39037 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39038 if test $ac_cv_func_sched_yield = yes; then
39039 cat >>confdefs.h <<\_ACEOF
39040 #define HAVE_SCHED_YIELD 1
39045 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39046 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39047 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39048 echo $ECHO_N "(cached) $ECHO_C" >&6
39050 ac_check_lib_save_LIBS=$LIBS
39051 LIBS="-lposix4 $LIBS"
39052 cat >conftest.$ac_ext <<_ACEOF
39055 cat confdefs.h >>conftest.$ac_ext
39056 cat >>conftest.$ac_ext <<_ACEOF
39057 /* end confdefs.h. */
39059 /* Override any GCC internal prototype to avoid an error.
39060 Use char because int might match the return type of a GCC
39061 builtin and then its argument prototype would still apply. */
39065 char sched_yield ();
39069 return sched_yield ();
39074 rm -f conftest.$ac_objext conftest$ac_exeext
39075 if { (ac_try="$ac_link"
39076 case "(($ac_try" in
39077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39078 *) ac_try_echo=$ac_try;;
39080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39081 (eval "$ac_link") 2>conftest.er1
39083 grep -v '^ *+' conftest.er1 >conftest.err
39085 cat conftest.err >&5
39086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39087 (exit $ac_status); } && {
39088 test -z "$ac_c_werror_flag" ||
39089 test ! -s conftest.err
39090 } && test -s conftest$ac_exeext &&
39091 $as_test_x conftest$ac_exeext; then
39092 ac_cv_lib_posix4_sched_yield=yes
39094 echo "$as_me: failed program was:" >&5
39095 sed 's/^/| /' conftest.$ac_ext >&5
39097 ac_cv_lib_posix4_sched_yield=no
39100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39101 conftest$ac_exeext conftest.$ac_ext
39102 LIBS=$ac_check_lib_save_LIBS
39104 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39105 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39106 if test $ac_cv_lib_posix4_sched_yield = yes; then
39107 cat >>confdefs.h <<\_ACEOF
39108 #define HAVE_SCHED_YIELD 1
39110 POSIX4_LINK=" -lposix4"
39112 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39113 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39124 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39125 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39126 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39127 echo $ECHO_N "(cached) $ECHO_C" >&6
39129 cat >conftest.$ac_ext <<_ACEOF
39132 cat confdefs.h >>conftest.$ac_ext
39133 cat >>conftest.$ac_ext <<_ACEOF
39134 /* end confdefs.h. */
39135 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39137 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39139 /* System header to define __stub macros and hopefully few prototypes,
39140 which can conflict with char pthread_attr_getschedpolicy (); below.
39141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39142 <limits.h> exists even on freestanding compilers. */
39145 # include <limits.h>
39147 # include <assert.h>
39150 #undef pthread_attr_getschedpolicy
39152 /* Override any GCC internal prototype to avoid an error.
39153 Use char because int might match the return type of a GCC
39154 builtin and then its argument prototype would still apply. */
39158 char pthread_attr_getschedpolicy ();
39159 /* The GNU C library defines this for functions which it implements
39160 to always fail with ENOSYS. Some functions are actually named
39161 something starting with __ and the normal name is an alias. */
39162 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39169 return pthread_attr_getschedpolicy ();
39174 rm -f conftest.$ac_objext conftest$ac_exeext
39175 if { (ac_try="$ac_link"
39176 case "(($ac_try" in
39177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39178 *) ac_try_echo=$ac_try;;
39180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39181 (eval "$ac_link") 2>conftest.er1
39183 grep -v '^ *+' conftest.er1 >conftest.err
39185 cat conftest.err >&5
39186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39187 (exit $ac_status); } && {
39188 test -z "$ac_c_werror_flag" ||
39189 test ! -s conftest.err
39190 } && test -s conftest$ac_exeext &&
39191 $as_test_x conftest$ac_exeext; then
39192 ac_cv_func_pthread_attr_getschedpolicy=yes
39194 echo "$as_me: failed program was:" >&5
39195 sed 's/^/| /' conftest.$ac_ext >&5
39197 ac_cv_func_pthread_attr_getschedpolicy=no
39200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39201 conftest$ac_exeext conftest.$ac_ext
39203 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39204 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39205 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39206 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39207 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39208 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39209 echo $ECHO_N "(cached) $ECHO_C" >&6
39211 cat >conftest.$ac_ext <<_ACEOF
39214 cat confdefs.h >>conftest.$ac_ext
39215 cat >>conftest.$ac_ext <<_ACEOF
39216 /* end confdefs.h. */
39217 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39219 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39221 /* System header to define __stub macros and hopefully few prototypes,
39222 which can conflict with char pthread_attr_setschedparam (); below.
39223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39224 <limits.h> exists even on freestanding compilers. */
39227 # include <limits.h>
39229 # include <assert.h>
39232 #undef pthread_attr_setschedparam
39234 /* Override any GCC internal prototype to avoid an error.
39235 Use char because int might match the return type of a GCC
39236 builtin and then its argument prototype would still apply. */
39240 char pthread_attr_setschedparam ();
39241 /* The GNU C library defines this for functions which it implements
39242 to always fail with ENOSYS. Some functions are actually named
39243 something starting with __ and the normal name is an alias. */
39244 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39251 return pthread_attr_setschedparam ();
39256 rm -f conftest.$ac_objext conftest$ac_exeext
39257 if { (ac_try="$ac_link"
39258 case "(($ac_try" in
39259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39260 *) ac_try_echo=$ac_try;;
39262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39263 (eval "$ac_link") 2>conftest.er1
39265 grep -v '^ *+' conftest.er1 >conftest.err
39267 cat conftest.err >&5
39268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39269 (exit $ac_status); } && {
39270 test -z "$ac_c_werror_flag" ||
39271 test ! -s conftest.err
39272 } && test -s conftest$ac_exeext &&
39273 $as_test_x conftest$ac_exeext; then
39274 ac_cv_func_pthread_attr_setschedparam=yes
39276 echo "$as_me: failed program was:" >&5
39277 sed 's/^/| /' conftest.$ac_ext >&5
39279 ac_cv_func_pthread_attr_setschedparam=no
39282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39283 conftest$ac_exeext conftest.$ac_ext
39285 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39286 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39287 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39288 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39289 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39290 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39291 echo $ECHO_N "(cached) $ECHO_C" >&6
39293 cat >conftest.$ac_ext <<_ACEOF
39296 cat confdefs.h >>conftest.$ac_ext
39297 cat >>conftest.$ac_ext <<_ACEOF
39298 /* end confdefs.h. */
39299 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39301 #define sched_get_priority_max innocuous_sched_get_priority_max
39303 /* System header to define __stub macros and hopefully few prototypes,
39304 which can conflict with char sched_get_priority_max (); below.
39305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39306 <limits.h> exists even on freestanding compilers. */
39309 # include <limits.h>
39311 # include <assert.h>
39314 #undef sched_get_priority_max
39316 /* Override any GCC internal prototype to avoid an error.
39317 Use char because int might match the return type of a GCC
39318 builtin and then its argument prototype would still apply. */
39322 char sched_get_priority_max ();
39323 /* The GNU C library defines this for functions which it implements
39324 to always fail with ENOSYS. Some functions are actually named
39325 something starting with __ and the normal name is an alias. */
39326 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39333 return sched_get_priority_max ();
39338 rm -f conftest.$ac_objext conftest$ac_exeext
39339 if { (ac_try="$ac_link"
39340 case "(($ac_try" in
39341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39342 *) ac_try_echo=$ac_try;;
39344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39345 (eval "$ac_link") 2>conftest.er1
39347 grep -v '^ *+' conftest.er1 >conftest.err
39349 cat conftest.err >&5
39350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39351 (exit $ac_status); } && {
39352 test -z "$ac_c_werror_flag" ||
39353 test ! -s conftest.err
39354 } && test -s conftest$ac_exeext &&
39355 $as_test_x conftest$ac_exeext; then
39356 ac_cv_func_sched_get_priority_max=yes
39358 echo "$as_me: failed program was:" >&5
39359 sed 's/^/| /' conftest.$ac_ext >&5
39361 ac_cv_func_sched_get_priority_max=no
39364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39365 conftest$ac_exeext conftest.$ac_ext
39367 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39368 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39369 if test $ac_cv_func_sched_get_priority_max = yes; then
39372 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39373 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39374 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39375 echo $ECHO_N "(cached) $ECHO_C" >&6
39377 ac_check_lib_save_LIBS=$LIBS
39378 LIBS="-lposix4 $LIBS"
39379 cat >conftest.$ac_ext <<_ACEOF
39382 cat confdefs.h >>conftest.$ac_ext
39383 cat >>conftest.$ac_ext <<_ACEOF
39384 /* end confdefs.h. */
39386 /* Override any GCC internal prototype to avoid an error.
39387 Use char because int might match the return type of a GCC
39388 builtin and then its argument prototype would still apply. */
39392 char sched_get_priority_max ();
39396 return sched_get_priority_max ();
39401 rm -f conftest.$ac_objext conftest$ac_exeext
39402 if { (ac_try="$ac_link"
39403 case "(($ac_try" in
39404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39405 *) ac_try_echo=$ac_try;;
39407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39408 (eval "$ac_link") 2>conftest.er1
39410 grep -v '^ *+' conftest.er1 >conftest.err
39412 cat conftest.err >&5
39413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39414 (exit $ac_status); } && {
39415 test -z "$ac_c_werror_flag" ||
39416 test ! -s conftest.err
39417 } && test -s conftest$ac_exeext &&
39418 $as_test_x conftest$ac_exeext; then
39419 ac_cv_lib_posix4_sched_get_priority_max=yes
39421 echo "$as_me: failed program was:" >&5
39422 sed 's/^/| /' conftest.$ac_ext >&5
39424 ac_cv_lib_posix4_sched_get_priority_max=no
39427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39428 conftest$ac_exeext conftest.$ac_ext
39429 LIBS=$ac_check_lib_save_LIBS
39431 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39432 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39433 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39436 POSIX4_LINK=" -lposix4"
39450 if test "$HAVE_PRIOR_FUNCS" = 1; then
39451 cat >>confdefs.h <<\_ACEOF
39452 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39456 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39457 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39460 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39461 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39462 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39463 echo $ECHO_N "(cached) $ECHO_C" >&6
39465 cat >conftest.$ac_ext <<_ACEOF
39468 cat confdefs.h >>conftest.$ac_ext
39469 cat >>conftest.$ac_ext <<_ACEOF
39470 /* end confdefs.h. */
39471 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39473 #define pthread_cancel innocuous_pthread_cancel
39475 /* System header to define __stub macros and hopefully few prototypes,
39476 which can conflict with char pthread_cancel (); below.
39477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39478 <limits.h> exists even on freestanding compilers. */
39481 # include <limits.h>
39483 # include <assert.h>
39486 #undef pthread_cancel
39488 /* Override any GCC internal prototype to avoid an error.
39489 Use char because int might match the return type of a GCC
39490 builtin and then its argument prototype would still apply. */
39494 char pthread_cancel ();
39495 /* The GNU C library defines this for functions which it implements
39496 to always fail with ENOSYS. Some functions are actually named
39497 something starting with __ and the normal name is an alias. */
39498 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39505 return pthread_cancel ();
39510 rm -f conftest.$ac_objext conftest$ac_exeext
39511 if { (ac_try="$ac_link"
39512 case "(($ac_try" in
39513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39514 *) ac_try_echo=$ac_try;;
39516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39517 (eval "$ac_link") 2>conftest.er1
39519 grep -v '^ *+' conftest.er1 >conftest.err
39521 cat conftest.err >&5
39522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39523 (exit $ac_status); } && {
39524 test -z "$ac_c_werror_flag" ||
39525 test ! -s conftest.err
39526 } && test -s conftest$ac_exeext &&
39527 $as_test_x conftest$ac_exeext; then
39528 ac_cv_func_pthread_cancel=yes
39530 echo "$as_me: failed program was:" >&5
39531 sed 's/^/| /' conftest.$ac_ext >&5
39533 ac_cv_func_pthread_cancel=no
39536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39537 conftest$ac_exeext conftest.$ac_ext
39539 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39540 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39541 if test $ac_cv_func_pthread_cancel = yes; then
39542 cat >>confdefs.h <<\_ACEOF
39543 #define HAVE_PTHREAD_CANCEL 1
39547 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39548 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39552 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39553 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39554 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39555 echo $ECHO_N "(cached) $ECHO_C" >&6
39557 cat >conftest.$ac_ext <<_ACEOF
39560 cat confdefs.h >>conftest.$ac_ext
39561 cat >>conftest.$ac_ext <<_ACEOF
39562 /* end confdefs.h. */
39563 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39565 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39567 /* System header to define __stub macros and hopefully few prototypes,
39568 which can conflict with char pthread_mutex_timedlock (); below.
39569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39570 <limits.h> exists even on freestanding compilers. */
39573 # include <limits.h>
39575 # include <assert.h>
39578 #undef pthread_mutex_timedlock
39580 /* Override any GCC internal prototype to avoid an error.
39581 Use char because int might match the return type of a GCC
39582 builtin and then its argument prototype would still apply. */
39586 char pthread_mutex_timedlock ();
39587 /* The GNU C library defines this for functions which it implements
39588 to always fail with ENOSYS. Some functions are actually named
39589 something starting with __ and the normal name is an alias. */
39590 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39597 return pthread_mutex_timedlock ();
39602 rm -f conftest.$ac_objext conftest$ac_exeext
39603 if { (ac_try="$ac_link"
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_link") 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_exeext &&
39619 $as_test_x conftest$ac_exeext; then
39620 ac_cv_func_pthread_mutex_timedlock=yes
39622 echo "$as_me: failed program was:" >&5
39623 sed 's/^/| /' conftest.$ac_ext >&5
39625 ac_cv_func_pthread_mutex_timedlock=no
39628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39629 conftest$ac_exeext conftest.$ac_ext
39631 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39632 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39633 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39634 cat >>confdefs.h <<\_ACEOF
39635 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39639 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39640 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39644 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39645 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39646 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39647 echo $ECHO_N "(cached) $ECHO_C" >&6
39649 cat >conftest.$ac_ext <<_ACEOF
39652 cat confdefs.h >>conftest.$ac_ext
39653 cat >>conftest.$ac_ext <<_ACEOF
39654 /* end confdefs.h. */
39655 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39657 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39659 /* System header to define __stub macros and hopefully few prototypes,
39660 which can conflict with char pthread_attr_setstacksize (); below.
39661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39662 <limits.h> exists even on freestanding compilers. */
39665 # include <limits.h>
39667 # include <assert.h>
39670 #undef pthread_attr_setstacksize
39672 /* Override any GCC internal prototype to avoid an error.
39673 Use char because int might match the return type of a GCC
39674 builtin and then its argument prototype would still apply. */
39678 char pthread_attr_setstacksize ();
39679 /* The GNU C library defines this for functions which it implements
39680 to always fail with ENOSYS. Some functions are actually named
39681 something starting with __ and the normal name is an alias. */
39682 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39689 return pthread_attr_setstacksize ();
39694 rm -f conftest.$ac_objext conftest$ac_exeext
39695 if { (ac_try="$ac_link"
39696 case "(($ac_try" in
39697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39698 *) ac_try_echo=$ac_try;;
39700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39701 (eval "$ac_link") 2>conftest.er1
39703 grep -v '^ *+' conftest.er1 >conftest.err
39705 cat conftest.err >&5
39706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39707 (exit $ac_status); } && {
39708 test -z "$ac_c_werror_flag" ||
39709 test ! -s conftest.err
39710 } && test -s conftest$ac_exeext &&
39711 $as_test_x conftest$ac_exeext; then
39712 ac_cv_func_pthread_attr_setstacksize=yes
39714 echo "$as_me: failed program was:" >&5
39715 sed 's/^/| /' conftest.$ac_ext >&5
39717 ac_cv_func_pthread_attr_setstacksize=no
39720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39721 conftest$ac_exeext conftest.$ac_ext
39723 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39724 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39725 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39726 cat >>confdefs.h <<\_ACEOF
39727 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39734 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39735 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39736 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39737 echo $ECHO_N "(cached) $ECHO_C" >&6
39740 cat >conftest.$ac_ext <<_ACEOF
39743 cat confdefs.h >>conftest.$ac_ext
39744 cat >>conftest.$ac_ext <<_ACEOF
39745 /* end confdefs.h. */
39746 #include <pthread.h>
39751 pthread_mutexattr_t attr;
39752 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39758 rm -f conftest.$ac_objext
39759 if { (ac_try="$ac_compile"
39760 case "(($ac_try" in
39761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39762 *) ac_try_echo=$ac_try;;
39764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39765 (eval "$ac_compile") 2>conftest.er1
39767 grep -v '^ *+' conftest.er1 >conftest.err
39769 cat conftest.err >&5
39770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39771 (exit $ac_status); } && {
39772 test -z "$ac_c_werror_flag" ||
39773 test ! -s conftest.err
39774 } && test -s conftest.$ac_objext; then
39775 wx_cv_type_pthread_mutexattr_t=yes
39777 echo "$as_me: failed program was:" >&5
39778 sed 's/^/| /' conftest.$ac_ext >&5
39780 wx_cv_type_pthread_mutexattr_t=no
39784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39787 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39788 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39790 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39791 cat >>confdefs.h <<\_ACEOF
39792 #define HAVE_PTHREAD_MUTEXATTR_T 1
39796 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39797 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39798 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39799 echo $ECHO_N "(cached) $ECHO_C" >&6
39802 cat >conftest.$ac_ext <<_ACEOF
39805 cat confdefs.h >>conftest.$ac_ext
39806 cat >>conftest.$ac_ext <<_ACEOF
39807 /* end confdefs.h. */
39808 #include <pthread.h>
39813 pthread_mutexattr_t attr;
39814 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39820 rm -f conftest.$ac_objext
39821 if { (ac_try="$ac_compile"
39822 case "(($ac_try" in
39823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39824 *) ac_try_echo=$ac_try;;
39826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39827 (eval "$ac_compile") 2>conftest.er1
39829 grep -v '^ *+' conftest.er1 >conftest.err
39831 cat conftest.err >&5
39832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39833 (exit $ac_status); } && {
39834 test -z "$ac_c_werror_flag" ||
39835 test ! -s conftest.err
39836 } && test -s conftest.$ac_objext; then
39837 wx_cv_func_pthread_mutexattr_settype_decl=yes
39839 echo "$as_me: failed program was:" >&5
39840 sed 's/^/| /' conftest.$ac_ext >&5
39842 wx_cv_func_pthread_mutexattr_settype_decl=no
39846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39849 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39850 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39851 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39852 cat >>confdefs.h <<\_ACEOF
39853 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39858 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39859 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39860 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39861 echo $ECHO_N "(cached) $ECHO_C" >&6
39864 cat >conftest.$ac_ext <<_ACEOF
39867 cat confdefs.h >>conftest.$ac_ext
39868 cat >>conftest.$ac_ext <<_ACEOF
39869 /* end confdefs.h. */
39870 #include <pthread.h>
39875 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39881 rm -f conftest.$ac_objext
39882 if { (ac_try="$ac_compile"
39883 case "(($ac_try" in
39884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39885 *) ac_try_echo=$ac_try;;
39887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39888 (eval "$ac_compile") 2>conftest.er1
39890 grep -v '^ *+' conftest.er1 >conftest.err
39892 cat conftest.err >&5
39893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39894 (exit $ac_status); } && {
39895 test -z "$ac_c_werror_flag" ||
39896 test ! -s conftest.err
39897 } && test -s conftest.$ac_objext; then
39899 wx_cv_type_pthread_rec_mutex_init=yes
39902 echo "$as_me: failed program was:" >&5
39903 sed 's/^/| /' conftest.$ac_ext >&5
39906 wx_cv_type_pthread_rec_mutex_init=no
39911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39914 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39915 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39916 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39917 cat >>confdefs.h <<\_ACEOF
39918 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39922 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39923 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39929 if test "$wxUSE_THREADS" = "yes" ; then
39932 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39933 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39934 if test "${wx_cv_cflags_mthread+set}" = set; then
39935 echo $ECHO_N "(cached) $ECHO_C" >&6
39938 CFLAGS_OLD="$CFLAGS"
39939 CFLAGS="-mthreads $CFLAGS"
39940 cat >conftest.$ac_ext <<_ACEOF
39943 cat confdefs.h >>conftest.$ac_ext
39944 cat >>conftest.$ac_ext <<_ACEOF
39945 /* end confdefs.h. */
39955 rm -f conftest.$ac_objext
39956 if { (ac_try="$ac_compile"
39957 case "(($ac_try" in
39958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39959 *) ac_try_echo=$ac_try;;
39961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39962 (eval "$ac_compile") 2>conftest.er1
39964 grep -v '^ *+' conftest.er1 >conftest.err
39966 cat conftest.err >&5
39967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39968 (exit $ac_status); } && {
39969 test -z "$ac_c_werror_flag" ||
39970 test ! -s conftest.err
39971 } && test -s conftest.$ac_objext; then
39972 wx_cv_cflags_mthread=yes
39974 echo "$as_me: failed program was:" >&5
39975 sed 's/^/| /' conftest.$ac_ext >&5
39977 wx_cv_cflags_mthread=no
39981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39985 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39986 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39988 if test "$wx_cv_cflags_mthread" = "yes"; then
39989 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39990 LDFLAGS="$LDFLAGS -mthreads"
39992 CFLAGS="$CFLAGS_OLD"
39996 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39997 LDFLAGS="$LDFLAGS -Zmt"
40003 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40004 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40005 if test "${ac_cv_func_localtime_r+set}" = set; then
40006 echo $ECHO_N "(cached) $ECHO_C" >&6
40008 cat >conftest.$ac_ext <<_ACEOF
40011 cat confdefs.h >>conftest.$ac_ext
40012 cat >>conftest.$ac_ext <<_ACEOF
40013 /* end confdefs.h. */
40014 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40016 #define localtime_r innocuous_localtime_r
40018 /* System header to define __stub macros and hopefully few prototypes,
40019 which can conflict with char localtime_r (); below.
40020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40021 <limits.h> exists even on freestanding compilers. */
40024 # include <limits.h>
40026 # include <assert.h>
40031 /* Override any GCC internal prototype to avoid an error.
40032 Use char because int might match the return type of a GCC
40033 builtin and then its argument prototype would still apply. */
40037 char localtime_r ();
40038 /* The GNU C library defines this for functions which it implements
40039 to always fail with ENOSYS. Some functions are actually named
40040 something starting with __ and the normal name is an alias. */
40041 #if defined __stub_localtime_r || defined __stub___localtime_r
40048 return localtime_r ();
40053 rm -f conftest.$ac_objext conftest$ac_exeext
40054 if { (ac_try="$ac_link"
40055 case "(($ac_try" in
40056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40057 *) ac_try_echo=$ac_try;;
40059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40060 (eval "$ac_link") 2>conftest.er1
40062 grep -v '^ *+' conftest.er1 >conftest.err
40064 cat conftest.err >&5
40065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40066 (exit $ac_status); } && {
40067 test -z "$ac_c_werror_flag" ||
40068 test ! -s conftest.err
40069 } && test -s conftest$ac_exeext &&
40070 $as_test_x conftest$ac_exeext; then
40071 ac_cv_func_localtime_r=yes
40073 echo "$as_me: failed program was:" >&5
40074 sed 's/^/| /' conftest.$ac_ext >&5
40076 ac_cv_func_localtime_r=no
40079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40080 conftest$ac_exeext conftest.$ac_ext
40082 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40083 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40084 if test $ac_cv_func_localtime_r = yes; then
40085 cat >>confdefs.h <<\_ACEOF
40086 #define HAVE_LOCALTIME_R 1
40091 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40092 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40093 if test "${ac_cv_func_gmtime_r+set}" = set; then
40094 echo $ECHO_N "(cached) $ECHO_C" >&6
40096 cat >conftest.$ac_ext <<_ACEOF
40099 cat confdefs.h >>conftest.$ac_ext
40100 cat >>conftest.$ac_ext <<_ACEOF
40101 /* end confdefs.h. */
40102 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40104 #define gmtime_r innocuous_gmtime_r
40106 /* System header to define __stub macros and hopefully few prototypes,
40107 which can conflict with char gmtime_r (); below.
40108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40109 <limits.h> exists even on freestanding compilers. */
40112 # include <limits.h>
40114 # include <assert.h>
40119 /* Override any GCC internal prototype to avoid an error.
40120 Use char because int might match the return type of a GCC
40121 builtin and then its argument prototype would still apply. */
40126 /* The GNU C library defines this for functions which it implements
40127 to always fail with ENOSYS. Some functions are actually named
40128 something starting with __ and the normal name is an alias. */
40129 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40136 return gmtime_r ();
40141 rm -f conftest.$ac_objext conftest$ac_exeext
40142 if { (ac_try="$ac_link"
40143 case "(($ac_try" in
40144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40145 *) ac_try_echo=$ac_try;;
40147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40148 (eval "$ac_link") 2>conftest.er1
40150 grep -v '^ *+' conftest.er1 >conftest.err
40152 cat conftest.err >&5
40153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40154 (exit $ac_status); } && {
40155 test -z "$ac_c_werror_flag" ||
40156 test ! -s conftest.err
40157 } && test -s conftest$ac_exeext &&
40158 $as_test_x conftest$ac_exeext; then
40159 ac_cv_func_gmtime_r=yes
40161 echo "$as_me: failed program was:" >&5
40162 sed 's/^/| /' conftest.$ac_ext >&5
40164 ac_cv_func_gmtime_r=no
40167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40168 conftest$ac_exeext conftest.$ac_ext
40170 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40171 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40172 if test $ac_cv_func_gmtime_r = yes; then
40173 cat >>confdefs.h <<\_ACEOF
40174 #define HAVE_GMTIME_R 1
40183 ac_cpp='$CPP $CPPFLAGS'
40184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40188 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40189 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40191 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40192 echo $ECHO_N "(cached) $ECHO_C" >&6
40196 ################################################################
40198 ac_cv_func_which_gethostbyname_r=unknown
40201 # ONE ARGUMENT (sanity check)
40204 # This should fail, as there is no variant of gethostbyname_r() that takes
40205 # a single argument. If it actually compiles, then we can assume that
40206 # netdb.h is not declaring the function, and the compiler is thereby
40207 # assuming an implicit prototype. In which case, we're out of luck.
40209 cat >conftest.$ac_ext <<_ACEOF
40212 cat confdefs.h >>conftest.$ac_ext
40213 cat >>conftest.$ac_ext <<_ACEOF
40214 /* end confdefs.h. */
40220 char *name = "www.gnu.org";
40221 (void)gethostbyname_r(name) /* ; */
40227 rm -f conftest.$ac_objext
40228 if { (ac_try="$ac_compile"
40229 case "(($ac_try" in
40230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40231 *) ac_try_echo=$ac_try;;
40233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40234 (eval "$ac_compile") 2>conftest.er1
40236 grep -v '^ *+' conftest.er1 >conftest.err
40238 cat conftest.err >&5
40239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40240 (exit $ac_status); } && {
40241 test -z "$ac_c_werror_flag" ||
40242 test ! -s conftest.err
40243 } && test -s conftest.$ac_objext; then
40244 ac_cv_func_which_gethostbyname_r=no
40246 echo "$as_me: failed program was:" >&5
40247 sed 's/^/| /' conftest.$ac_ext >&5
40252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40259 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40261 cat >conftest.$ac_ext <<_ACEOF
40264 cat confdefs.h >>conftest.$ac_ext
40265 cat >>conftest.$ac_ext <<_ACEOF
40266 /* end confdefs.h. */
40272 char *name = "www.gnu.org";
40273 struct hostent ret, *retp;
40277 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40283 rm -f conftest.$ac_objext
40284 if { (ac_try="$ac_compile"
40285 case "(($ac_try" in
40286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40287 *) ac_try_echo=$ac_try;;
40289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40290 (eval "$ac_compile") 2>conftest.er1
40292 grep -v '^ *+' conftest.er1 >conftest.err
40294 cat conftest.err >&5
40295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40296 (exit $ac_status); } && {
40297 test -z "$ac_c_werror_flag" ||
40298 test ! -s conftest.err
40299 } && test -s conftest.$ac_objext; then
40300 ac_cv_func_which_gethostbyname_r=six
40302 echo "$as_me: failed program was:" >&5
40303 sed 's/^/| /' conftest.$ac_ext >&5
40308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40317 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40319 cat >conftest.$ac_ext <<_ACEOF
40322 cat confdefs.h >>conftest.$ac_ext
40323 cat >>conftest.$ac_ext <<_ACEOF
40324 /* end confdefs.h. */
40330 char *name = "www.gnu.org";
40331 struct hostent ret;
40335 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40341 rm -f conftest.$ac_objext
40342 if { (ac_try="$ac_compile"
40343 case "(($ac_try" in
40344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40345 *) ac_try_echo=$ac_try;;
40347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40348 (eval "$ac_compile") 2>conftest.er1
40350 grep -v '^ *+' conftest.er1 >conftest.err
40352 cat conftest.err >&5
40353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40354 (exit $ac_status); } && {
40355 test -z "$ac_c_werror_flag" ||
40356 test ! -s conftest.err
40357 } && test -s conftest.$ac_objext; then
40358 ac_cv_func_which_gethostbyname_r=five
40360 echo "$as_me: failed program was:" >&5
40361 sed 's/^/| /' conftest.$ac_ext >&5
40366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40372 # (e.g. AIX, HP-UX, Tru64)
40375 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40377 cat >conftest.$ac_ext <<_ACEOF
40380 cat confdefs.h >>conftest.$ac_ext
40381 cat >>conftest.$ac_ext <<_ACEOF
40382 /* end confdefs.h. */
40388 char *name = "www.gnu.org";
40389 struct hostent ret;
40390 struct hostent_data data;
40391 (void)gethostbyname_r(name, &ret, &data) /* ; */
40397 rm -f conftest.$ac_objext
40398 if { (ac_try="$ac_compile"
40399 case "(($ac_try" in
40400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40401 *) ac_try_echo=$ac_try;;
40403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40404 (eval "$ac_compile") 2>conftest.er1
40406 grep -v '^ *+' conftest.er1 >conftest.err
40408 cat conftest.err >&5
40409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40410 (exit $ac_status); } && {
40411 test -z "$ac_c_werror_flag" ||
40412 test ! -s conftest.err
40413 } && test -s conftest.$ac_objext; then
40414 ac_cv_func_which_gethostbyname_r=three
40416 echo "$as_me: failed program was:" >&5
40417 sed 's/^/| /' conftest.$ac_ext >&5
40422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40426 ################################################################
40431 case "$ac_cv_func_which_gethostbyname_r" in
40433 { echo "$as_me:$LINENO: result: three" >&5
40434 echo "${ECHO_T}three" >&6; }
40435 cat >>confdefs.h <<\_ACEOF
40436 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40442 { echo "$as_me:$LINENO: result: five" >&5
40443 echo "${ECHO_T}five" >&6; }
40444 cat >>confdefs.h <<\_ACEOF
40445 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40451 { echo "$as_me:$LINENO: result: six" >&5
40452 echo "${ECHO_T}six" >&6; }
40453 cat >>confdefs.h <<\_ACEOF
40454 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40460 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40461 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40465 { echo "$as_me:$LINENO: result: can't tell" >&5
40466 echo "${ECHO_T}can't tell" >&6; }
40470 { { echo "$as_me:$LINENO: error: internal error" >&5
40471 echo "$as_me: error: internal error" >&2;}
40472 { (exit 1); exit 1; }; }
40477 ac_cpp='$CPP $CPPFLAGS'
40478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40484 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40485 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40486 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40487 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40488 if test "${ac_cv_func_gethostbyname+set}" = set; then
40489 echo $ECHO_N "(cached) $ECHO_C" >&6
40491 cat >conftest.$ac_ext <<_ACEOF
40494 cat confdefs.h >>conftest.$ac_ext
40495 cat >>conftest.$ac_ext <<_ACEOF
40496 /* end confdefs.h. */
40497 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40499 #define gethostbyname innocuous_gethostbyname
40501 /* System header to define __stub macros and hopefully few prototypes,
40502 which can conflict with char gethostbyname (); below.
40503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40504 <limits.h> exists even on freestanding compilers. */
40507 # include <limits.h>
40509 # include <assert.h>
40512 #undef gethostbyname
40514 /* Override any GCC internal prototype to avoid an error.
40515 Use char because int might match the return type of a GCC
40516 builtin and then its argument prototype would still apply. */
40520 char gethostbyname ();
40521 /* The GNU C library defines this for functions which it implements
40522 to always fail with ENOSYS. Some functions are actually named
40523 something starting with __ and the normal name is an alias. */
40524 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40531 return gethostbyname ();
40536 rm -f conftest.$ac_objext conftest$ac_exeext
40537 if { (ac_try="$ac_link"
40538 case "(($ac_try" in
40539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40540 *) ac_try_echo=$ac_try;;
40542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40543 (eval "$ac_link") 2>conftest.er1
40545 grep -v '^ *+' conftest.er1 >conftest.err
40547 cat conftest.err >&5
40548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40549 (exit $ac_status); } && {
40550 test -z "$ac_c_werror_flag" ||
40551 test ! -s conftest.err
40552 } && test -s conftest$ac_exeext &&
40553 $as_test_x conftest$ac_exeext; then
40554 ac_cv_func_gethostbyname=yes
40556 echo "$as_me: failed program was:" >&5
40557 sed 's/^/| /' conftest.$ac_ext >&5
40559 ac_cv_func_gethostbyname=no
40562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40563 conftest$ac_exeext conftest.$ac_ext
40565 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40566 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40567 if test $ac_cv_func_gethostbyname = yes; then
40568 cat >>confdefs.h <<\_ACEOF
40569 #define HAVE_GETHOSTBYNAME 1
40576 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40577 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40578 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40579 echo $ECHO_N "(cached) $ECHO_C" >&6
40583 ac_cpp='$CXXCPP $CPPFLAGS'
40584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40589 cat >conftest.$ac_ext <<_ACEOF
40592 cat confdefs.h >>conftest.$ac_ext
40593 cat >>conftest.$ac_ext <<_ACEOF
40594 /* end confdefs.h. */
40602 struct servent *se, *res;
40605 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40611 rm -f conftest.$ac_objext
40612 if { (ac_try="$ac_compile"
40613 case "(($ac_try" in
40614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40615 *) ac_try_echo=$ac_try;;
40617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40618 (eval "$ac_compile") 2>conftest.er1
40620 grep -v '^ *+' conftest.er1 >conftest.err
40622 cat conftest.err >&5
40623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40624 (exit $ac_status); } && {
40625 test -z "$ac_cxx_werror_flag" ||
40626 test ! -s conftest.err
40627 } && test -s conftest.$ac_objext; then
40628 ac_cv_func_which_getservbyname_r=six
40630 echo "$as_me: failed program was:" >&5
40631 sed 's/^/| /' conftest.$ac_ext >&5
40634 cat >conftest.$ac_ext <<_ACEOF
40637 cat confdefs.h >>conftest.$ac_ext
40638 cat >>conftest.$ac_ext <<_ACEOF
40639 /* end confdefs.h. */
40647 struct servent *se;
40650 (void) getservbyname_r(name, proto, se, buffer, buflen)
40656 rm -f conftest.$ac_objext
40657 if { (ac_try="$ac_compile"
40658 case "(($ac_try" in
40659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40660 *) ac_try_echo=$ac_try;;
40662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40663 (eval "$ac_compile") 2>conftest.er1
40665 grep -v '^ *+' conftest.er1 >conftest.err
40667 cat conftest.err >&5
40668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40669 (exit $ac_status); } && {
40670 test -z "$ac_cxx_werror_flag" ||
40671 test ! -s conftest.err
40672 } && test -s conftest.$ac_objext; then
40673 ac_cv_func_which_getservbyname_r=five
40675 echo "$as_me: failed program was:" >&5
40676 sed 's/^/| /' conftest.$ac_ext >&5
40679 cat >conftest.$ac_ext <<_ACEOF
40682 cat confdefs.h >>conftest.$ac_ext
40683 cat >>conftest.$ac_ext <<_ACEOF
40684 /* end confdefs.h. */
40692 struct servent *se;
40693 struct servent_data data;
40694 (void) getservbyname_r(name, proto, se, &data);
40700 rm -f conftest.$ac_objext
40701 if { (ac_try="$ac_compile"
40702 case "(($ac_try" in
40703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40704 *) ac_try_echo=$ac_try;;
40706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40707 (eval "$ac_compile") 2>conftest.er1
40709 grep -v '^ *+' conftest.er1 >conftest.err
40711 cat conftest.err >&5
40712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40713 (exit $ac_status); } && {
40714 test -z "$ac_cxx_werror_flag" ||
40715 test ! -s conftest.err
40716 } && test -s conftest.$ac_objext; then
40717 ac_cv_func_which_getservbyname_r=four
40719 echo "$as_me: failed program was:" >&5
40720 sed 's/^/| /' conftest.$ac_ext >&5
40722 ac_cv_func_which_getservbyname_r=no
40726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40738 ac_cpp='$CPP $CPPFLAGS'
40739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40746 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40747 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40749 if test $ac_cv_func_which_getservbyname_r = six; then
40750 cat >>confdefs.h <<\_ACEOF
40751 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40754 elif test $ac_cv_func_which_getservbyname_r = five; then
40755 cat >>confdefs.h <<\_ACEOF
40756 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40759 elif test $ac_cv_func_which_getservbyname_r = four; then
40760 cat >>confdefs.h <<\_ACEOF
40761 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40767 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40768 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40770 for ac_func in getservbyname
40772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40773 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40775 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40776 echo $ECHO_N "(cached) $ECHO_C" >&6
40778 cat >conftest.$ac_ext <<_ACEOF
40781 cat confdefs.h >>conftest.$ac_ext
40782 cat >>conftest.$ac_ext <<_ACEOF
40783 /* end confdefs.h. */
40784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40786 #define $ac_func innocuous_$ac_func
40788 /* System header to define __stub macros and hopefully few prototypes,
40789 which can conflict with char $ac_func (); below.
40790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40791 <limits.h> exists even on freestanding compilers. */
40794 # include <limits.h>
40796 # include <assert.h>
40801 /* Override any GCC internal prototype to avoid an error.
40802 Use char because int might match the return type of a GCC
40803 builtin and then its argument prototype would still apply. */
40808 /* The GNU C library defines this for functions which it implements
40809 to always fail with ENOSYS. Some functions are actually named
40810 something starting with __ and the normal name is an alias. */
40811 #if defined __stub_$ac_func || defined __stub___$ac_func
40818 return $ac_func ();
40823 rm -f conftest.$ac_objext conftest$ac_exeext
40824 if { (ac_try="$ac_link"
40825 case "(($ac_try" in
40826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40827 *) ac_try_echo=$ac_try;;
40829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40830 (eval "$ac_link") 2>conftest.er1
40832 grep -v '^ *+' conftest.er1 >conftest.err
40834 cat conftest.err >&5
40835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40836 (exit $ac_status); } && {
40837 test -z "$ac_c_werror_flag" ||
40838 test ! -s conftest.err
40839 } && test -s conftest$ac_exeext &&
40840 $as_test_x conftest$ac_exeext; then
40841 eval "$as_ac_var=yes"
40843 echo "$as_me: failed program was:" >&5
40844 sed 's/^/| /' conftest.$ac_ext >&5
40846 eval "$as_ac_var=no"
40849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40850 conftest$ac_exeext conftest.$ac_ext
40852 ac_res=`eval echo '${'$as_ac_var'}'`
40853 { echo "$as_me:$LINENO: result: $ac_res" >&5
40854 echo "${ECHO_T}$ac_res" >&6; }
40855 if test `eval echo '${'$as_ac_var'}'` = yes; then
40856 cat >>confdefs.h <<_ACEOF
40857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40859 cat >>confdefs.h <<\_ACEOF
40860 #define HAVE_GETSERVBYNAME 1
40868 if test "$wxUSE_THREADS" = "yes"; then
40869 cat >>confdefs.h <<\_ACEOF
40870 #define wxUSE_THREADS 1
40874 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40876 if test "$wx_cv_func_strtok_r" = "yes"; then
40877 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40878 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40879 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40880 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40881 { echo "$as_me:$LINENO: result: yes" >&5
40882 echo "${ECHO_T}yes" >&6; }
40884 { echo "$as_me:$LINENO: result: no" >&5
40885 echo "${ECHO_T}no" >&6; }
40890 if test "$WXGTK2" = 1 ; then
40891 cat >>confdefs.h <<_ACEOF
40892 #define __WXGTK20__ $WXGTK2
40898 if test "$WXGTK12" = 1 ; then
40899 cat >>confdefs.h <<_ACEOF
40900 #define __WXGTK12__ $WXGTK12
40905 if test "$WXGTK127" = 1 ; then
40906 cat >>confdefs.h <<_ACEOF
40907 #define __WXGTK127__ $WXGTK127
40912 if test "$WXGPE" = 1 ; then
40913 cat >>confdefs.h <<_ACEOF
40914 #define __WXGPE__ $WXGPE
40920 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40925 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40926 wxUSE_DEBUG_INFO=yes
40927 if test "$GCC" = yes; then
40928 DEBUG_CFLAGS="-ggdb"
40932 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40933 cat >>confdefs.h <<\_ACEOF
40937 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40939 if test "$wxUSE_GTK" = 1 ; then
40940 if test "x$wxGTK_VERSION" = "x1" ; then
40941 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40946 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40947 cat >>confdefs.h <<\_ACEOF
40948 #define wxUSE_MEMORY_TRACING 1
40951 cat >>confdefs.h <<\_ACEOF
40952 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40955 cat >>confdefs.h <<\_ACEOF
40956 #define wxUSE_DEBUG_NEW_ALWAYS 1
40959 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40962 if test "$wxUSE_DMALLOC" = "yes" ; then
40963 DMALLOC_LIBS="-ldmallocthcxx"
40967 if test "$wxUSE_PROFILE" = "yes" ; then
40968 PROFILE_FLAGS=" -pg"
40971 if test "$GCC" = "yes" ; then
40972 if test "$wxUSE_NO_RTTI" = "yes" ; then
40973 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40975 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40976 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40978 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40979 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40984 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40987 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40993 if test "$wxUSE_OPTIMISE" = "no" ; then
40994 if test "$GCC" = yes ; then
40995 OPTIMISE_CFLAGS="-O0"
40998 if test "$GCC" = yes ; then
41000 *-pc-os2_emx | *-pc-os2-emx )
41001 OPTIMISE_CFLAGS="-O2"
41004 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41008 OPTIMISE_CFLAGS="-O"
41013 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41014 cat >>confdefs.h <<\_ACEOF
41015 #define WXWIN_COMPATIBILITY_2_6 1
41019 WXWIN_COMPATIBILITY_2_8="yes"
41022 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41023 cat >>confdefs.h <<\_ACEOF
41024 #define WXWIN_COMPATIBILITY_2_8 1
41030 if test "$wxUSE_GUI" = "yes"; then
41031 cat >>confdefs.h <<\_ACEOF
41032 #define wxUSE_GUI 1
41039 if test "$wxUSE_UNIX" = "yes"; then
41040 cat >>confdefs.h <<\_ACEOF
41041 #define wxUSE_UNIX 1
41047 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41051 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41052 if test "$USE_DOS" = 1; then
41056 for ac_func in dlopen
41058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41059 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41061 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41062 echo $ECHO_N "(cached) $ECHO_C" >&6
41064 cat >conftest.$ac_ext <<_ACEOF
41067 cat confdefs.h >>conftest.$ac_ext
41068 cat >>conftest.$ac_ext <<_ACEOF
41069 /* end confdefs.h. */
41070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41072 #define $ac_func innocuous_$ac_func
41074 /* System header to define __stub macros and hopefully few prototypes,
41075 which can conflict with char $ac_func (); below.
41076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41077 <limits.h> exists even on freestanding compilers. */
41080 # include <limits.h>
41082 # include <assert.h>
41087 /* Override any GCC internal prototype to avoid an error.
41088 Use char because int might match the return type of a GCC
41089 builtin and then its argument prototype would still apply. */
41094 /* The GNU C library defines this for functions which it implements
41095 to always fail with ENOSYS. Some functions are actually named
41096 something starting with __ and the normal name is an alias. */
41097 #if defined __stub_$ac_func || defined __stub___$ac_func
41104 return $ac_func ();
41109 rm -f conftest.$ac_objext conftest$ac_exeext
41110 if { (ac_try="$ac_link"
41111 case "(($ac_try" in
41112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41113 *) ac_try_echo=$ac_try;;
41115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41116 (eval "$ac_link") 2>conftest.er1
41118 grep -v '^ *+' conftest.er1 >conftest.err
41120 cat conftest.err >&5
41121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41122 (exit $ac_status); } && {
41123 test -z "$ac_c_werror_flag" ||
41124 test ! -s conftest.err
41125 } && test -s conftest$ac_exeext &&
41126 $as_test_x conftest$ac_exeext; then
41127 eval "$as_ac_var=yes"
41129 echo "$as_me: failed program was:" >&5
41130 sed 's/^/| /' conftest.$ac_ext >&5
41132 eval "$as_ac_var=no"
41135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41136 conftest$ac_exeext conftest.$ac_ext
41138 ac_res=`eval echo '${'$as_ac_var'}'`
41139 { echo "$as_me:$LINENO: result: $ac_res" >&5
41140 echo "${ECHO_T}$ac_res" >&6; }
41141 if test `eval echo '${'$as_ac_var'}'` = yes; then
41142 cat >>confdefs.h <<_ACEOF
41143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41146 cat >>confdefs.h <<\_ACEOF
41147 #define HAVE_DLOPEN 1
41154 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41155 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41156 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41157 echo $ECHO_N "(cached) $ECHO_C" >&6
41159 ac_check_lib_save_LIBS=$LIBS
41161 cat >conftest.$ac_ext <<_ACEOF
41164 cat confdefs.h >>conftest.$ac_ext
41165 cat >>conftest.$ac_ext <<_ACEOF
41166 /* end confdefs.h. */
41168 /* Override any GCC internal prototype to avoid an error.
41169 Use char because int might match the return type of a GCC
41170 builtin and then its argument prototype would still apply. */
41183 rm -f conftest.$ac_objext conftest$ac_exeext
41184 if { (ac_try="$ac_link"
41185 case "(($ac_try" in
41186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41187 *) ac_try_echo=$ac_try;;
41189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41190 (eval "$ac_link") 2>conftest.er1
41192 grep -v '^ *+' conftest.er1 >conftest.err
41194 cat conftest.err >&5
41195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41196 (exit $ac_status); } && {
41197 test -z "$ac_c_werror_flag" ||
41198 test ! -s conftest.err
41199 } && test -s conftest$ac_exeext &&
41200 $as_test_x conftest$ac_exeext; then
41201 ac_cv_lib_dl_dlopen=yes
41203 echo "$as_me: failed program was:" >&5
41204 sed 's/^/| /' conftest.$ac_ext >&5
41206 ac_cv_lib_dl_dlopen=no
41209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41210 conftest$ac_exeext conftest.$ac_ext
41211 LIBS=$ac_check_lib_save_LIBS
41213 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41214 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41215 if test $ac_cv_lib_dl_dlopen = yes; then
41217 cat >>confdefs.h <<\_ACEOF
41218 #define HAVE_DLOPEN 1
41222 DL_LINK=" -ldl$DL_LINK"
41227 for ac_func in shl_load
41229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41230 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41232 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41233 echo $ECHO_N "(cached) $ECHO_C" >&6
41235 cat >conftest.$ac_ext <<_ACEOF
41238 cat confdefs.h >>conftest.$ac_ext
41239 cat >>conftest.$ac_ext <<_ACEOF
41240 /* end confdefs.h. */
41241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41243 #define $ac_func innocuous_$ac_func
41245 /* System header to define __stub macros and hopefully few prototypes,
41246 which can conflict with char $ac_func (); below.
41247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41248 <limits.h> exists even on freestanding compilers. */
41251 # include <limits.h>
41253 # include <assert.h>
41258 /* Override any GCC internal prototype to avoid an error.
41259 Use char because int might match the return type of a GCC
41260 builtin and then its argument prototype would still apply. */
41265 /* The GNU C library defines this for functions which it implements
41266 to always fail with ENOSYS. Some functions are actually named
41267 something starting with __ and the normal name is an alias. */
41268 #if defined __stub_$ac_func || defined __stub___$ac_func
41275 return $ac_func ();
41280 rm -f conftest.$ac_objext conftest$ac_exeext
41281 if { (ac_try="$ac_link"
41282 case "(($ac_try" in
41283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41284 *) ac_try_echo=$ac_try;;
41286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41287 (eval "$ac_link") 2>conftest.er1
41289 grep -v '^ *+' conftest.er1 >conftest.err
41291 cat conftest.err >&5
41292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41293 (exit $ac_status); } && {
41294 test -z "$ac_c_werror_flag" ||
41295 test ! -s conftest.err
41296 } && test -s conftest$ac_exeext &&
41297 $as_test_x conftest$ac_exeext; then
41298 eval "$as_ac_var=yes"
41300 echo "$as_me: failed program was:" >&5
41301 sed 's/^/| /' conftest.$ac_ext >&5
41303 eval "$as_ac_var=no"
41306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41307 conftest$ac_exeext conftest.$ac_ext
41309 ac_res=`eval echo '${'$as_ac_var'}'`
41310 { echo "$as_me:$LINENO: result: $ac_res" >&5
41311 echo "${ECHO_T}$ac_res" >&6; }
41312 if test `eval echo '${'$as_ac_var'}'` = yes; then
41313 cat >>confdefs.h <<_ACEOF
41314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41317 cat >>confdefs.h <<\_ACEOF
41318 #define HAVE_SHL_LOAD 1
41325 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41326 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41327 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41328 echo $ECHO_N "(cached) $ECHO_C" >&6
41330 ac_check_lib_save_LIBS=$LIBS
41331 LIBS="-lshl_load $LIBS"
41332 cat >conftest.$ac_ext <<_ACEOF
41335 cat confdefs.h >>conftest.$ac_ext
41336 cat >>conftest.$ac_ext <<_ACEOF
41337 /* end confdefs.h. */
41339 /* Override any GCC internal prototype to avoid an error.
41340 Use char because int might match the return type of a GCC
41341 builtin and then its argument prototype would still apply. */
41354 rm -f conftest.$ac_objext conftest$ac_exeext
41355 if { (ac_try="$ac_link"
41356 case "(($ac_try" in
41357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41358 *) ac_try_echo=$ac_try;;
41360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41361 (eval "$ac_link") 2>conftest.er1
41363 grep -v '^ *+' conftest.er1 >conftest.err
41365 cat conftest.err >&5
41366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41367 (exit $ac_status); } && {
41368 test -z "$ac_c_werror_flag" ||
41369 test ! -s conftest.err
41370 } && test -s conftest$ac_exeext &&
41371 $as_test_x conftest$ac_exeext; then
41372 ac_cv_lib_shl_load_dld=yes
41374 echo "$as_me: failed program was:" >&5
41375 sed 's/^/| /' conftest.$ac_ext >&5
41377 ac_cv_lib_shl_load_dld=no
41380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41381 conftest$ac_exeext conftest.$ac_ext
41382 LIBS=$ac_check_lib_save_LIBS
41384 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41385 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41386 if test $ac_cv_lib_shl_load_dld = yes; then
41389 DL_LINK=" -ldld$DL_LINK"
41405 if test "$HAVE_DL_FUNCS" = 1; then
41407 for ac_func in dlerror
41409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41410 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41412 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41413 echo $ECHO_N "(cached) $ECHO_C" >&6
41415 cat >conftest.$ac_ext <<_ACEOF
41418 cat confdefs.h >>conftest.$ac_ext
41419 cat >>conftest.$ac_ext <<_ACEOF
41420 /* end confdefs.h. */
41421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41423 #define $ac_func innocuous_$ac_func
41425 /* System header to define __stub macros and hopefully few prototypes,
41426 which can conflict with char $ac_func (); below.
41427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41428 <limits.h> exists even on freestanding compilers. */
41431 # include <limits.h>
41433 # include <assert.h>
41438 /* Override any GCC internal prototype to avoid an error.
41439 Use char because int might match the return type of a GCC
41440 builtin and then its argument prototype would still apply. */
41445 /* The GNU C library defines this for functions which it implements
41446 to always fail with ENOSYS. Some functions are actually named
41447 something starting with __ and the normal name is an alias. */
41448 #if defined __stub_$ac_func || defined __stub___$ac_func
41455 return $ac_func ();
41460 rm -f conftest.$ac_objext conftest$ac_exeext
41461 if { (ac_try="$ac_link"
41462 case "(($ac_try" in
41463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41464 *) ac_try_echo=$ac_try;;
41466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41467 (eval "$ac_link") 2>conftest.er1
41469 grep -v '^ *+' conftest.er1 >conftest.err
41471 cat conftest.err >&5
41472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41473 (exit $ac_status); } && {
41474 test -z "$ac_c_werror_flag" ||
41475 test ! -s conftest.err
41476 } && test -s conftest$ac_exeext &&
41477 $as_test_x conftest$ac_exeext; then
41478 eval "$as_ac_var=yes"
41480 echo "$as_me: failed program was:" >&5
41481 sed 's/^/| /' conftest.$ac_ext >&5
41483 eval "$as_ac_var=no"
41486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41487 conftest$ac_exeext conftest.$ac_ext
41489 ac_res=`eval echo '${'$as_ac_var'}'`
41490 { echo "$as_me:$LINENO: result: $ac_res" >&5
41491 echo "${ECHO_T}$ac_res" >&6; }
41492 if test `eval echo '${'$as_ac_var'}'` = yes; then
41493 cat >>confdefs.h <<_ACEOF
41494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41496 cat >>confdefs.h <<\_ACEOF
41497 #define HAVE_DLERROR 1
41502 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41503 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41504 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41505 echo $ECHO_N "(cached) $ECHO_C" >&6
41507 ac_check_lib_save_LIBS=$LIBS
41509 cat >conftest.$ac_ext <<_ACEOF
41512 cat confdefs.h >>conftest.$ac_ext
41513 cat >>conftest.$ac_ext <<_ACEOF
41514 /* end confdefs.h. */
41516 /* Override any GCC internal prototype to avoid an error.
41517 Use char because int might match the return type of a GCC
41518 builtin and then its argument prototype would still apply. */
41531 rm -f conftest.$ac_objext conftest$ac_exeext
41532 if { (ac_try="$ac_link"
41533 case "(($ac_try" in
41534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41535 *) ac_try_echo=$ac_try;;
41537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41538 (eval "$ac_link") 2>conftest.er1
41540 grep -v '^ *+' conftest.er1 >conftest.err
41542 cat conftest.err >&5
41543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41544 (exit $ac_status); } && {
41545 test -z "$ac_c_werror_flag" ||
41546 test ! -s conftest.err
41547 } && test -s conftest$ac_exeext &&
41548 $as_test_x conftest$ac_exeext; then
41549 ac_cv_lib_dl_dlerror=yes
41551 echo "$as_me: failed program was:" >&5
41552 sed 's/^/| /' conftest.$ac_ext >&5
41554 ac_cv_lib_dl_dlerror=no
41557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41558 conftest$ac_exeext conftest.$ac_ext
41559 LIBS=$ac_check_lib_save_LIBS
41561 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41562 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41563 if test $ac_cv_lib_dl_dlerror = yes; then
41564 cat >>confdefs.h <<\_ACEOF
41565 #define HAVE_DLERROR 1
41578 if test "$USE_DARWIN" = 1; then
41582 if test "$HAVE_DL_FUNCS" = 0; then
41583 if test "$HAVE_SHL_FUNCS" = 0; then
41584 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41585 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41586 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41587 wxUSE_DYNAMIC_LOADER=no
41588 wxUSE_DYNLIB_CLASS=no
41590 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41591 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41598 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41599 cat >>confdefs.h <<\_ACEOF
41600 #define wxUSE_DYNAMIC_LOADER 1
41604 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41605 cat >>confdefs.h <<\_ACEOF
41606 #define wxUSE_DYNLIB_CLASS 1
41613 if test "$wxUSE_PLUGINS" = "yes" ; then
41614 if test "$wxUSE_SHARED" = "no" ; then
41615 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41616 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41619 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41620 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41621 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41624 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41625 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41626 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41629 if test "$wxUSE_PLUGINS" = "yes" ; then
41630 cat >>confdefs.h <<\_ACEOF
41631 #define wxUSE_PLUGINS 1
41638 if test "$wxUSE_STL" = "yes"; then
41639 cat >>confdefs.h <<\_ACEOF
41640 #define wxUSE_STL 1
41645 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41646 cat >>confdefs.h <<\_ACEOF
41647 #define wxUSE_EXTENDED_RTTI 1
41652 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41653 cat >>confdefs.h <<\_ACEOF
41654 #define wxUSE_APPLE_IEEE 1
41659 if test "$wxUSE_TIMER" = "yes"; then
41660 cat >>confdefs.h <<\_ACEOF
41661 #define wxUSE_TIMER 1
41666 if test "$USE_UNIX" = 1 ; then
41667 if test "$wxUSE_MGL" != 1; then
41668 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41669 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41670 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41671 echo $ECHO_N "(cached) $ECHO_C" >&6
41674 cat >conftest.$ac_ext <<_ACEOF
41677 cat confdefs.h >>conftest.$ac_ext
41678 cat >>conftest.$ac_ext <<_ACEOF
41679 /* end confdefs.h. */
41681 #include <sys/ioctl.h>
41682 #include <sys/soundcard.h>
41688 ioctl(0, SNDCTL_DSP_SPEED, 0);
41694 rm -f conftest.$ac_objext conftest$ac_exeext
41695 if { (ac_try="$ac_link"
41696 case "(($ac_try" in
41697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41698 *) ac_try_echo=$ac_try;;
41700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41701 (eval "$ac_link") 2>conftest.er1
41703 grep -v '^ *+' conftest.er1 >conftest.err
41705 cat conftest.err >&5
41706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41707 (exit $ac_status); } && {
41708 test -z "$ac_c_werror_flag" ||
41709 test ! -s conftest.err
41710 } && test -s conftest$ac_exeext &&
41711 $as_test_x conftest$ac_exeext; then
41712 ac_cv_header_sys_soundcard=yes
41714 echo "$as_me: failed program was:" >&5
41715 sed 's/^/| /' conftest.$ac_ext >&5
41719 LIBS="$saveLibs -lossaudio"
41720 cat >conftest.$ac_ext <<_ACEOF
41723 cat confdefs.h >>conftest.$ac_ext
41724 cat >>conftest.$ac_ext <<_ACEOF
41725 /* end confdefs.h. */
41727 #include <sys/ioctl.h>
41728 #include <sys/soundcard.h>
41734 ioctl(0, SNDCTL_DSP_SPEED, 0);
41740 rm -f conftest.$ac_objext conftest$ac_exeext
41741 if { (ac_try="$ac_link"
41742 case "(($ac_try" in
41743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41744 *) ac_try_echo=$ac_try;;
41746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41747 (eval "$ac_link") 2>conftest.er1
41749 grep -v '^ *+' conftest.er1 >conftest.err
41751 cat conftest.err >&5
41752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41753 (exit $ac_status); } && {
41754 test -z "$ac_c_werror_flag" ||
41755 test ! -s conftest.err
41756 } && test -s conftest$ac_exeext &&
41757 $as_test_x conftest$ac_exeext; then
41758 ac_cv_header_sys_soundcard=yes
41760 echo "$as_me: failed program was:" >&5
41761 sed 's/^/| /' conftest.$ac_ext >&5
41765 ac_cv_header_sys_soundcard=no
41770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41771 conftest$ac_exeext conftest.$ac_ext
41776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41777 conftest$ac_exeext conftest.$ac_ext
41780 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41781 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41784 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41785 cat >>confdefs.h <<\_ACEOF
41786 #define HAVE_SYS_SOUNDCARD_H 1
41793 if test "$wxUSE_SOUND" = "yes"; then
41794 if test "$USE_UNIX" = 1 ; then
41795 if test "$wxUSE_LIBSDL" != "no"; then
41797 # Check whether --with-sdl-prefix was given.
41798 if test "${with_sdl_prefix+set}" = set; then
41799 withval=$with_sdl_prefix; sdl_prefix="$withval"
41805 # Check whether --with-sdl-exec-prefix was given.
41806 if test "${with_sdl_exec_prefix+set}" = set; then
41807 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41812 # Check whether --enable-sdltest was given.
41813 if test "${enable_sdltest+set}" = set; then
41814 enableval=$enable_sdltest;
41820 if test x$sdl_exec_prefix != x ; then
41821 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41822 if test x${SDL_CONFIG+set} != xset ; then
41823 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41826 if test x$sdl_prefix != x ; then
41827 sdl_args="$sdl_args --prefix=$sdl_prefix"
41828 if test x${SDL_CONFIG+set} != xset ; then
41829 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41833 if test "x$prefix" != xNONE; then
41834 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41836 # Extract the first word of "sdl-config", so it can be a program name with args.
41837 set dummy sdl-config; ac_word=$2
41838 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41840 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41841 echo $ECHO_N "(cached) $ECHO_C" >&6
41843 case $SDL_CONFIG in
41845 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41849 for as_dir in $PATH
41852 test -z "$as_dir" && as_dir=.
41853 for ac_exec_ext in '' $ac_executable_extensions; do
41854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41855 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41863 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41867 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41868 if test -n "$SDL_CONFIG"; then
41869 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41870 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41872 { echo "$as_me:$LINENO: result: no" >&5
41873 echo "${ECHO_T}no" >&6; }
41877 min_sdl_version=1.2.0
41878 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41879 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41881 if test "$SDL_CONFIG" = "no" ; then
41884 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41885 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41887 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41888 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41889 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41890 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41891 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41892 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41893 if test "x$enable_sdltest" = "xyes" ; then
41894 ac_save_CFLAGS="$CFLAGS"
41895 ac_save_CXXFLAGS="$CXXFLAGS"
41896 ac_save_LIBS="$LIBS"
41897 CFLAGS="$CFLAGS $SDL_CFLAGS"
41898 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41899 LIBS="$LIBS $SDL_LIBS"
41901 if test "$cross_compiling" = yes; then
41902 echo $ac_n "cross compiling; assumed OK... $ac_c"
41904 cat >conftest.$ac_ext <<_ACEOF
41907 cat confdefs.h >>conftest.$ac_ext
41908 cat >>conftest.$ac_ext <<_ACEOF
41909 /* end confdefs.h. */
41912 #include <stdlib.h>
41913 #include <string.h>
41917 my_strdup (char *str)
41923 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41924 strcpy (new_str, str);
41932 int main (int argc, char *argv[])
41934 int major, minor, micro;
41937 /* This hangs on some systems (?)
41938 system ("touch conf.sdltest");
41940 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41942 /* HP/UX 9 (%@#!) writes to sscanf strings */
41943 tmp_version = my_strdup("$min_sdl_version");
41944 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41945 printf("%s, bad version string\n", "$min_sdl_version");
41949 if (($sdl_major_version > major) ||
41950 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41951 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41957 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41958 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41959 printf("*** best to upgrade to the required version.\n");
41960 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41961 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41962 printf("*** config.cache before re-running configure\n");
41969 rm -f conftest$ac_exeext
41970 if { (ac_try="$ac_link"
41971 case "(($ac_try" in
41972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41973 *) ac_try_echo=$ac_try;;
41975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41976 (eval "$ac_link") 2>&5
41978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41979 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41980 { (case "(($ac_try" in
41981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41982 *) ac_try_echo=$ac_try;;
41984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41985 (eval "$ac_try") 2>&5
41987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41988 (exit $ac_status); }; }; then
41991 echo "$as_me: program exited with status $ac_status" >&5
41992 echo "$as_me: failed program was:" >&5
41993 sed 's/^/| /' conftest.$ac_ext >&5
41995 ( exit $ac_status )
41998 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42002 CFLAGS="$ac_save_CFLAGS"
42003 CXXFLAGS="$ac_save_CXXFLAGS"
42004 LIBS="$ac_save_LIBS"
42007 if test "x$no_sdl" = x ; then
42008 { echo "$as_me:$LINENO: result: yes" >&5
42009 echo "${ECHO_T}yes" >&6; }
42011 EXTRALIBS_SDL="$SDL_LIBS"
42012 CFLAGS="$SDL_CFLAGS $CFLAGS"
42013 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42014 cat >>confdefs.h <<\_ACEOF
42015 #define wxUSE_LIBSDL 1
42020 { echo "$as_me:$LINENO: result: no" >&5
42021 echo "${ECHO_T}no" >&6; }
42022 if test "$SDL_CONFIG" = "no" ; then
42023 echo "*** The sdl-config script installed by SDL could not be found"
42024 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42025 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42026 echo "*** full path to sdl-config."
42028 if test -f conf.sdltest ; then
42031 echo "*** Could not run SDL test program, checking why..."
42032 CFLAGS="$CFLAGS $SDL_CFLAGS"
42033 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42034 LIBS="$LIBS $SDL_LIBS"
42035 cat >conftest.$ac_ext <<_ACEOF
42038 cat confdefs.h >>conftest.$ac_ext
42039 cat >>conftest.$ac_ext <<_ACEOF
42040 /* end confdefs.h. */
42045 int main(int argc, char *argv[])
42048 #define main K_and_R_C_main
42058 rm -f conftest.$ac_objext conftest$ac_exeext
42059 if { (ac_try="$ac_link"
42060 case "(($ac_try" in
42061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42062 *) ac_try_echo=$ac_try;;
42064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42065 (eval "$ac_link") 2>conftest.er1
42067 grep -v '^ *+' conftest.er1 >conftest.err
42069 cat conftest.err >&5
42070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42071 (exit $ac_status); } && {
42072 test -z "$ac_c_werror_flag" ||
42073 test ! -s conftest.err
42074 } && test -s conftest$ac_exeext &&
42075 $as_test_x conftest$ac_exeext; then
42076 echo "*** The test program compiled, but did not run. This usually means"
42077 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42078 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42079 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42080 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42081 echo "*** is required on your system"
42083 echo "*** If you have an old version installed, it is best to remove it, although"
42084 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42086 echo "$as_me: failed program was:" >&5
42087 sed 's/^/| /' conftest.$ac_ext >&5
42089 echo "*** The test program failed to compile or link. See the file config.log for the"
42090 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42091 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42092 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42096 conftest$ac_exeext conftest.$ac_ext
42097 CFLAGS="$ac_save_CFLAGS"
42098 CXXFLAGS="$ac_save_CXXFLAGS"
42099 LIBS="$ac_save_LIBS"
42110 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42115 if test "$wxUSE_MGL" = 1; then
42116 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42117 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42123 if test "$wxUSE_SOUND" = "yes"; then
42124 cat >>confdefs.h <<\_ACEOF
42125 #define wxUSE_SOUND 1
42128 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42131 if test "$WXGTK2" = 1; then
42134 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42135 if test -n "$ac_tool_prefix"; then
42136 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42137 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42138 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42140 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42141 echo $ECHO_N "(cached) $ECHO_C" >&6
42143 case $PKG_CONFIG in
42145 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42149 for as_dir in $PATH
42152 test -z "$as_dir" && as_dir=.
42153 for ac_exec_ext in '' $ac_executable_extensions; do
42154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42155 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42166 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42167 if test -n "$PKG_CONFIG"; then
42168 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42169 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42171 { echo "$as_me:$LINENO: result: no" >&5
42172 echo "${ECHO_T}no" >&6; }
42177 if test -z "$ac_cv_path_PKG_CONFIG"; then
42178 ac_pt_PKG_CONFIG=$PKG_CONFIG
42179 # Extract the first word of "pkg-config", so it can be a program name with args.
42180 set dummy pkg-config; ac_word=$2
42181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42183 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42184 echo $ECHO_N "(cached) $ECHO_C" >&6
42186 case $ac_pt_PKG_CONFIG in
42188 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42192 for as_dir in $PATH
42195 test -z "$as_dir" && as_dir=.
42196 for ac_exec_ext in '' $ac_executable_extensions; do
42197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42198 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42209 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42210 if test -n "$ac_pt_PKG_CONFIG"; then
42211 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42212 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42214 { echo "$as_me:$LINENO: result: no" >&5
42215 echo "${ECHO_T}no" >&6; }
42218 if test "x$ac_pt_PKG_CONFIG" = x; then
42221 case $cross_compiling:$ac_tool_warned in
42223 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42224 whose name does not start with the host triplet. If you think this
42225 configuration is useful to you, please write to autoconf@gnu.org." >&5
42226 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42227 whose name does not start with the host triplet. If you think this
42228 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42229 ac_tool_warned=yes ;;
42231 PKG_CONFIG=$ac_pt_PKG_CONFIG
42234 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42238 if test -n "$PKG_CONFIG"; then
42239 _pkg_min_version=0.9.0
42240 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42241 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42242 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42243 { echo "$as_me:$LINENO: result: yes" >&5
42244 echo "${ECHO_T}yes" >&6; }
42246 { echo "$as_me:$LINENO: result: no" >&5
42247 echo "${ECHO_T}no" >&6; }
42253 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42255 if test "$wxUSE_GTKPRINT" = "yes" ; then
42259 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42260 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42262 if test -n "$PKG_CONFIG"; then
42263 if test -n "$GTKPRINT_CFLAGS"; then
42264 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42266 if test -n "$PKG_CONFIG" && \
42267 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42268 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42271 (exit $ac_status); }; then
42272 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42280 if test -n "$PKG_CONFIG"; then
42281 if test -n "$GTKPRINT_LIBS"; then
42282 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42284 if test -n "$PKG_CONFIG" && \
42285 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42286 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42289 (exit $ac_status); }; then
42290 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42301 if test $pkg_failed = yes; then
42303 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42304 _pkg_short_errors_supported=yes
42306 _pkg_short_errors_supported=no
42308 if test $_pkg_short_errors_supported = yes; then
42309 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42311 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42313 # Put the nasty error message in config.log where it belongs
42314 echo "$GTKPRINT_PKG_ERRORS" >&5
42317 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42318 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42319 wxUSE_GTKPRINT="no"
42322 elif test $pkg_failed = untried; then
42324 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42325 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42326 wxUSE_GTKPRINT="no"
42330 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42331 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42332 { echo "$as_me:$LINENO: result: yes" >&5
42333 echo "${ECHO_T}yes" >&6; }
42335 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42336 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42337 cat >>confdefs.h <<\_ACEOF
42338 #define wxUSE_GTKPRINT 1
42345 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42349 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42350 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42352 if test -n "$PKG_CONFIG"; then
42353 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42354 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42356 if test -n "$PKG_CONFIG" && \
42357 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42358 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42361 (exit $ac_status); }; then
42362 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42370 if test -n "$PKG_CONFIG"; then
42371 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42372 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42374 if test -n "$PKG_CONFIG" && \
42375 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42376 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42379 (exit $ac_status); }; then
42380 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42391 if test $pkg_failed = yes; then
42393 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42394 _pkg_short_errors_supported=yes
42396 _pkg_short_errors_supported=no
42398 if test $_pkg_short_errors_supported = yes; then
42399 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42401 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42403 # Put the nasty error message in config.log where it belongs
42404 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42407 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42408 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42409 wxUSE_LIBGNOMEPRINT="no"
42412 elif test $pkg_failed = untried; then
42414 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42415 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42416 wxUSE_LIBGNOMEPRINT="no"
42420 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42421 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42422 { echo "$as_me:$LINENO: result: yes" >&5
42423 echo "${ECHO_T}yes" >&6; }
42425 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42426 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42427 cat >>confdefs.h <<\_ACEOF
42428 #define wxUSE_LIBGNOMEPRINT 1
42436 if test "$wxUSE_MIMETYPE" = "yes" ; then
42437 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42441 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42442 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42444 if test -n "$PKG_CONFIG"; then
42445 if test -n "$GNOMEVFS_CFLAGS"; then
42446 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42448 if test -n "$PKG_CONFIG" && \
42449 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42450 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42453 (exit $ac_status); }; then
42454 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42462 if test -n "$PKG_CONFIG"; then
42463 if test -n "$GNOMEVFS_LIBS"; then
42464 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42466 if test -n "$PKG_CONFIG" && \
42467 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42468 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42471 (exit $ac_status); }; then
42472 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42483 if test $pkg_failed = yes; then
42485 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42486 _pkg_short_errors_supported=yes
42488 _pkg_short_errors_supported=no
42490 if test $_pkg_short_errors_supported = yes; then
42491 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42493 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42495 # Put the nasty error message in config.log where it belongs
42496 echo "$GNOMEVFS_PKG_ERRORS" >&5
42499 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42500 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42501 wxUSE_LIBGNOMEVFS="no"
42504 elif test $pkg_failed = untried; then
42506 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42507 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42508 wxUSE_LIBGNOMEVFS="no"
42512 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42513 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42514 { echo "$as_me:$LINENO: result: yes" >&5
42515 echo "${ECHO_T}yes" >&6; }
42517 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42518 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42519 cat >>confdefs.h <<\_ACEOF
42520 #define wxUSE_LIBGNOMEVFS 1
42528 if test "$wxUSE_LIBHILDON" = "yes" ; then
42531 { echo "$as_me:$LINENO: checking for HILDON" >&5
42532 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42534 if test -n "$PKG_CONFIG"; then
42535 if test -n "$HILDON_CFLAGS"; then
42536 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42538 if test -n "$PKG_CONFIG" && \
42539 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42540 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42543 (exit $ac_status); }; then
42544 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42552 if test -n "$PKG_CONFIG"; then
42553 if test -n "$HILDON_LIBS"; then
42554 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42556 if test -n "$PKG_CONFIG" && \
42557 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42558 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42561 (exit $ac_status); }; then
42562 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42573 if test $pkg_failed = yes; then
42575 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42576 _pkg_short_errors_supported=yes
42578 _pkg_short_errors_supported=no
42580 if test $_pkg_short_errors_supported = yes; then
42581 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42583 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42585 # Put the nasty error message in config.log where it belongs
42586 echo "$HILDON_PKG_ERRORS" >&5
42589 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42590 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42591 wxUSE_LIBHILDON="no"
42594 elif test $pkg_failed = untried; then
42596 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42597 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42598 wxUSE_LIBHILDON="no"
42602 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42603 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42604 { echo "$as_me:$LINENO: result: yes" >&5
42605 echo "${ECHO_T}yes" >&6; }
42607 EXTRALIBS_HILDON="$HILDON_LIBS"
42608 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42609 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42610 cat >>confdefs.h <<\_ACEOF
42611 #define wxUSE_LIBHILDON 1
42619 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42620 cat >>confdefs.h <<\_ACEOF
42621 #define wxUSE_CMDLINE_PARSER 1
42626 if test "$wxUSE_STOPWATCH" = "yes"; then
42627 cat >>confdefs.h <<\_ACEOF
42628 #define wxUSE_STOPWATCH 1
42633 if test "$wxUSE_DATETIME" = "yes"; then
42634 cat >>confdefs.h <<\_ACEOF
42635 #define wxUSE_DATETIME 1
42640 if test "$wxUSE_FILE" = "yes"; then
42641 cat >>confdefs.h <<\_ACEOF
42642 #define wxUSE_FILE 1
42647 if test "$wxUSE_FFILE" = "yes"; then
42648 cat >>confdefs.h <<\_ACEOF
42649 #define wxUSE_FFILE 1
42654 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42655 if test "$wxUSE_STREAMS" != yes; then
42656 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42657 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42658 wxUSE_ARCHIVE_STREAMS=no
42660 cat >>confdefs.h <<\_ACEOF
42661 #define wxUSE_ARCHIVE_STREAMS 1
42667 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42668 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42669 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42670 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42671 elif test "$wxUSE_ZLIB" = "no"; then
42672 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42673 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42675 cat >>confdefs.h <<\_ACEOF
42676 #define wxUSE_ZIPSTREAM 1
42682 if test "$wxUSE_TARSTREAM" = "yes"; then
42683 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42684 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42685 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42687 cat >>confdefs.h <<\_ACEOF
42688 #define wxUSE_TARSTREAM 1
42694 if test "$wxUSE_FILESYSTEM" = "yes"; then
42695 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42696 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42697 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42698 wxUSE_FILESYSTEM=no
42700 cat >>confdefs.h <<\_ACEOF
42701 #define wxUSE_FILESYSTEM 1
42707 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42708 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42709 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42710 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42712 cat >>confdefs.h <<\_ACEOF
42713 #define wxUSE_FS_ARCHIVE 1
42719 if test "$wxUSE_FS_ZIP" = "yes"; then
42720 if test "$wxUSE_FS_ARCHIVE" != yes; then
42721 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42722 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42724 cat >>confdefs.h <<\_ACEOF
42725 #define wxUSE_FS_ZIP 1
42731 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42732 if test "$USE_UNIX" != 1; then
42733 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42734 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42735 wxUSE_ON_FATAL_EXCEPTION=no
42737 cat >>confdefs.h <<\_ACEOF
42738 #define wxUSE_ON_FATAL_EXCEPTION 1
42744 if test "$wxUSE_STACKWALKER" = "yes"; then
42745 cat >>confdefs.h <<\_ACEOF
42746 #define wxUSE_STACKWALKER 1
42751 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42752 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42753 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42754 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42755 wxUSE_DEBUGREPORT=no
42757 cat >>confdefs.h <<\_ACEOF
42758 #define wxUSE_DEBUGREPORT 1
42761 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42762 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42767 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42768 cat >>confdefs.h <<\_ACEOF
42769 #define wxUSE_SNGLINST_CHECKER 1
42774 if test "$wxUSE_BUSYINFO" = "yes"; then
42775 cat >>confdefs.h <<\_ACEOF
42776 #define wxUSE_BUSYINFO 1
42781 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42782 cat >>confdefs.h <<\_ACEOF
42783 #define wxUSE_STD_IOSTREAM 1
42788 if test "$wxUSE_STD_STRING" = "yes"; then
42789 cat >>confdefs.h <<\_ACEOF
42790 #define wxUSE_STD_STRING 1
42795 if test "$wxUSE_STDPATHS" = "yes"; then
42796 cat >>confdefs.h <<\_ACEOF
42797 #define wxUSE_STDPATHS 1
42802 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42803 cat >>confdefs.h <<\_ACEOF
42804 #define wxUSE_TEXTBUFFER 1
42809 if test "$wxUSE_TEXTFILE" = "yes"; then
42810 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42811 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42812 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42814 cat >>confdefs.h <<\_ACEOF
42815 #define wxUSE_TEXTFILE 1
42821 if test "$wxUSE_CONFIG" = "yes" ; then
42822 if test "$wxUSE_TEXTFILE" != "yes"; then
42823 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42824 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42826 cat >>confdefs.h <<\_ACEOF
42827 #define wxUSE_CONFIG 1
42830 cat >>confdefs.h <<\_ACEOF
42831 #define wxUSE_CONFIG_NATIVE 1
42834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42838 if test "$wxUSE_INTL" = "yes" ; then
42839 if test "$wxUSE_FILE" != "yes"; then
42840 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42841 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42843 cat >>confdefs.h <<\_ACEOF
42844 #define wxUSE_INTL 1
42847 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42848 GUIDIST="$GUIDIST INTL_DIST"
42852 if test "$wxUSE_XLOCALE" == "yes" ; then
42853 cat >>confdefs.h <<\_ACEOF
42854 #define wxUSE_XLOCALE 1
42857 { echo "$as_me:$LINENO: checking for locale_t" >&5
42858 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
42859 if test "${ac_cv_type_locale_t+set}" = set; then
42860 echo $ECHO_N "(cached) $ECHO_C" >&6
42862 cat >conftest.$ac_ext <<_ACEOF
42865 cat confdefs.h >>conftest.$ac_ext
42866 cat >>conftest.$ac_ext <<_ACEOF
42867 /* end confdefs.h. */
42868 #include <xlocale.h>
42869 #include <locale.h>
42871 typedef locale_t ac__type_new_;
42875 if ((ac__type_new_ *) 0)
42877 if (sizeof (ac__type_new_))
42883 rm -f conftest.$ac_objext
42884 if { (ac_try="$ac_compile"
42885 case "(($ac_try" in
42886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42887 *) ac_try_echo=$ac_try;;
42889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42890 (eval "$ac_compile") 2>conftest.er1
42892 grep -v '^ *+' conftest.er1 >conftest.err
42894 cat conftest.err >&5
42895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42896 (exit $ac_status); } && {
42897 test -z "$ac_c_werror_flag" ||
42898 test ! -s conftest.err
42899 } && test -s conftest.$ac_objext; then
42900 ac_cv_type_locale_t=yes
42902 echo "$as_me: failed program was:" >&5
42903 sed 's/^/| /' conftest.$ac_ext >&5
42905 ac_cv_type_locale_t=no
42908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42910 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
42911 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
42912 if test $ac_cv_type_locale_t = yes; then
42914 cat >>confdefs.h <<_ACEOF
42915 #define HAVE_LOCALE_T 1
42923 if test "$wxUSE_LOG" = "yes"; then
42924 cat >>confdefs.h <<\_ACEOF
42925 #define wxUSE_LOG 1
42929 if test "$wxUSE_LOGGUI" = "yes"; then
42930 cat >>confdefs.h <<\_ACEOF
42931 #define wxUSE_LOGGUI 1
42936 if test "$wxUSE_LOGWINDOW" = "yes"; then
42937 cat >>confdefs.h <<\_ACEOF
42938 #define wxUSE_LOGWINDOW 1
42943 if test "$wxUSE_LOGDIALOG" = "yes"; then
42944 cat >>confdefs.h <<\_ACEOF
42945 #define wxUSE_LOG_DIALOG 1
42950 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42953 if test "$wxUSE_LONGLONG" = "yes"; then
42954 cat >>confdefs.h <<\_ACEOF
42955 #define wxUSE_LONGLONG 1
42960 if test "$wxUSE_GEOMETRY" = "yes"; then
42961 cat >>confdefs.h <<\_ACEOF
42962 #define wxUSE_GEOMETRY 1
42967 if test "$wxUSE_BASE64" = "yes"; then
42968 cat >>confdefs.h <<\_ACEOF
42969 #define wxUSE_BASE64 1
42974 if test "$wxUSE_STREAMS" = "yes" ; then
42975 cat >>confdefs.h <<\_ACEOF
42976 #define wxUSE_STREAMS 1
42981 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42982 cat >>confdefs.h <<\_ACEOF
42983 #define wxUSE_PRINTF_POS_PARAMS 1
42988 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42989 cat >>confdefs.h <<\_ACEOF
42990 #define wxUSE_OBJC_UNIQUIFYING 1
42996 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42997 cat >>confdefs.h <<\_ACEOF
42998 #define wxUSE_CONSOLE_EVENTLOOP 1
43002 if test "$wxUSE_UNIX" = "yes"; then
43003 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43004 cat >>confdefs.h <<\_ACEOF
43005 #define wxUSE_SELECT_DISPATCHER 1
43010 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43012 for ac_header in sys/epoll.h
43014 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43015 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43017 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43018 echo $ECHO_N "(cached) $ECHO_C" >&6
43020 cat >conftest.$ac_ext <<_ACEOF
43023 cat confdefs.h >>conftest.$ac_ext
43024 cat >>conftest.$ac_ext <<_ACEOF
43025 /* end confdefs.h. */
43026 $ac_includes_default
43028 #include <$ac_header>
43030 rm -f conftest.$ac_objext
43031 if { (ac_try="$ac_compile"
43032 case "(($ac_try" in
43033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43034 *) ac_try_echo=$ac_try;;
43036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43037 (eval "$ac_compile") 2>conftest.er1
43039 grep -v '^ *+' conftest.er1 >conftest.err
43041 cat conftest.err >&5
43042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43043 (exit $ac_status); } && {
43044 test -z "$ac_c_werror_flag" ||
43045 test ! -s conftest.err
43046 } && test -s conftest.$ac_objext; then
43047 eval "$as_ac_Header=yes"
43049 echo "$as_me: failed program was:" >&5
43050 sed 's/^/| /' conftest.$ac_ext >&5
43052 eval "$as_ac_Header=no"
43055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43057 ac_res=`eval echo '${'$as_ac_Header'}'`
43058 { echo "$as_me:$LINENO: result: $ac_res" >&5
43059 echo "${ECHO_T}$ac_res" >&6; }
43060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43061 cat >>confdefs.h <<_ACEOF
43062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43069 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43070 cat >>confdefs.h <<\_ACEOF
43071 #define wxUSE_EPOLL_DISPATCHER 1
43075 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43076 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43085 for ac_func in gettimeofday ftime
43087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43088 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43090 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43091 echo $ECHO_N "(cached) $ECHO_C" >&6
43093 cat >conftest.$ac_ext <<_ACEOF
43096 cat confdefs.h >>conftest.$ac_ext
43097 cat >>conftest.$ac_ext <<_ACEOF
43098 /* end confdefs.h. */
43099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43101 #define $ac_func innocuous_$ac_func
43103 /* System header to define __stub macros and hopefully few prototypes,
43104 which can conflict with char $ac_func (); below.
43105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43106 <limits.h> exists even on freestanding compilers. */
43109 # include <limits.h>
43111 # include <assert.h>
43116 /* Override any GCC internal prototype to avoid an error.
43117 Use char because int might match the return type of a GCC
43118 builtin and then its argument prototype would still apply. */
43123 /* The GNU C library defines this for functions which it implements
43124 to always fail with ENOSYS. Some functions are actually named
43125 something starting with __ and the normal name is an alias. */
43126 #if defined __stub_$ac_func || defined __stub___$ac_func
43133 return $ac_func ();
43138 rm -f conftest.$ac_objext conftest$ac_exeext
43139 if { (ac_try="$ac_link"
43140 case "(($ac_try" in
43141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43142 *) ac_try_echo=$ac_try;;
43144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43145 (eval "$ac_link") 2>conftest.er1
43147 grep -v '^ *+' conftest.er1 >conftest.err
43149 cat conftest.err >&5
43150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43151 (exit $ac_status); } && {
43152 test -z "$ac_c_werror_flag" ||
43153 test ! -s conftest.err
43154 } && test -s conftest$ac_exeext &&
43155 $as_test_x conftest$ac_exeext; then
43156 eval "$as_ac_var=yes"
43158 echo "$as_me: failed program was:" >&5
43159 sed 's/^/| /' conftest.$ac_ext >&5
43161 eval "$as_ac_var=no"
43164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43165 conftest$ac_exeext conftest.$ac_ext
43167 ac_res=`eval echo '${'$as_ac_var'}'`
43168 { echo "$as_me:$LINENO: result: $ac_res" >&5
43169 echo "${ECHO_T}$ac_res" >&6; }
43170 if test `eval echo '${'$as_ac_var'}'` = yes; then
43171 cat >>confdefs.h <<_ACEOF
43172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43179 if test "$ac_cv_func_gettimeofday" = "yes"; then
43180 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43181 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43182 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43183 echo $ECHO_N "(cached) $ECHO_C" >&6
43186 cat >conftest.$ac_ext <<_ACEOF
43189 cat confdefs.h >>conftest.$ac_ext
43190 cat >>conftest.$ac_ext <<_ACEOF
43191 /* end confdefs.h. */
43193 #include <sys/time.h>
43194 #include <unistd.h>
43201 gettimeofday(&tv, NULL);
43207 rm -f conftest.$ac_objext
43208 if { (ac_try="$ac_compile"
43209 case "(($ac_try" in
43210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43211 *) ac_try_echo=$ac_try;;
43213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43214 (eval "$ac_compile") 2>conftest.er1
43216 grep -v '^ *+' conftest.er1 >conftest.err
43218 cat conftest.err >&5
43219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43220 (exit $ac_status); } && {
43221 test -z "$ac_c_werror_flag" ||
43222 test ! -s conftest.err
43223 } && test -s conftest.$ac_objext; then
43224 wx_cv_func_gettimeofday_has_2_args=yes
43226 echo "$as_me: failed program was:" >&5
43227 sed 's/^/| /' conftest.$ac_ext >&5
43229 cat >conftest.$ac_ext <<_ACEOF
43232 cat confdefs.h >>conftest.$ac_ext
43233 cat >>conftest.$ac_ext <<_ACEOF
43234 /* end confdefs.h. */
43236 #include <sys/time.h>
43237 #include <unistd.h>
43250 rm -f conftest.$ac_objext
43251 if { (ac_try="$ac_compile"
43252 case "(($ac_try" in
43253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43254 *) ac_try_echo=$ac_try;;
43256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43257 (eval "$ac_compile") 2>conftest.er1
43259 grep -v '^ *+' conftest.er1 >conftest.err
43261 cat conftest.err >&5
43262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43263 (exit $ac_status); } && {
43264 test -z "$ac_c_werror_flag" ||
43265 test ! -s conftest.err
43266 } && test -s conftest.$ac_objext; then
43267 wx_cv_func_gettimeofday_has_2_args=no
43269 echo "$as_me: failed program was:" >&5
43270 sed 's/^/| /' conftest.$ac_ext >&5
43273 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43274 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43275 wx_cv_func_gettimeofday_has_2_args=unknown
43280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43287 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43288 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43290 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43291 cat >>confdefs.h <<\_ACEOF
43292 #define WX_GETTIMEOFDAY_NO_TZ 1
43298 if test "$wxUSE_DATETIME" = "yes"; then
43299 { echo "$as_me:$LINENO: checking for strptime" >&5
43300 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43301 if test "${ac_cv_func_strptime+set}" = set; then
43302 echo $ECHO_N "(cached) $ECHO_C" >&6
43304 cat >conftest.$ac_ext <<_ACEOF
43307 cat confdefs.h >>conftest.$ac_ext
43308 cat >>conftest.$ac_ext <<_ACEOF
43309 /* end confdefs.h. */
43310 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43312 #define strptime innocuous_strptime
43314 /* System header to define __stub macros and hopefully few prototypes,
43315 which can conflict with char strptime (); below.
43316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43317 <limits.h> exists even on freestanding compilers. */
43320 # include <limits.h>
43322 # include <assert.h>
43327 /* Override any GCC internal prototype to avoid an error.
43328 Use char because int might match the return type of a GCC
43329 builtin and then its argument prototype would still apply. */
43334 /* The GNU C library defines this for functions which it implements
43335 to always fail with ENOSYS. Some functions are actually named
43336 something starting with __ and the normal name is an alias. */
43337 #if defined __stub_strptime || defined __stub___strptime
43344 return strptime ();
43349 rm -f conftest.$ac_objext conftest$ac_exeext
43350 if { (ac_try="$ac_link"
43351 case "(($ac_try" in
43352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43353 *) ac_try_echo=$ac_try;;
43355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43356 (eval "$ac_link") 2>conftest.er1
43358 grep -v '^ *+' conftest.er1 >conftest.err
43360 cat conftest.err >&5
43361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43362 (exit $ac_status); } && {
43363 test -z "$ac_c_werror_flag" ||
43364 test ! -s conftest.err
43365 } && test -s conftest$ac_exeext &&
43366 $as_test_x conftest$ac_exeext; then
43367 ac_cv_func_strptime=yes
43369 echo "$as_me: failed program was:" >&5
43370 sed 's/^/| /' conftest.$ac_ext >&5
43372 ac_cv_func_strptime=no
43375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43376 conftest$ac_exeext conftest.$ac_ext
43378 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43379 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43381 if test "$ac_cv_func_strptime" = "yes"; then
43382 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43383 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43384 if test "${wx_cv_func_strptime_decl+set}" = set; then
43385 echo $ECHO_N "(cached) $ECHO_C" >&6
43389 ac_cpp='$CXXCPP $CPPFLAGS'
43390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43394 cat >conftest.$ac_ext <<_ACEOF
43397 cat confdefs.h >>conftest.$ac_ext
43398 cat >>conftest.$ac_ext <<_ACEOF
43399 /* end confdefs.h. */
43408 strptime("foo", "bar", &t);
43414 rm -f conftest.$ac_objext
43415 if { (ac_try="$ac_compile"
43416 case "(($ac_try" in
43417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43418 *) ac_try_echo=$ac_try;;
43420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43421 (eval "$ac_compile") 2>conftest.er1
43423 grep -v '^ *+' conftest.er1 >conftest.err
43425 cat conftest.err >&5
43426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43427 (exit $ac_status); } && {
43428 test -z "$ac_cxx_werror_flag" ||
43429 test ! -s conftest.err
43430 } && test -s conftest.$ac_objext; then
43431 wx_cv_func_strptime_decl=yes
43433 echo "$as_me: failed program was:" >&5
43434 sed 's/^/| /' conftest.$ac_ext >&5
43436 wx_cv_func_strptime_decl=no
43440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43442 ac_cpp='$CPP $CPPFLAGS'
43443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43450 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43451 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43453 if test "$wx_cv_func_strptime_decl" = "yes"; then
43454 cat >>confdefs.h <<\_ACEOF
43455 #define HAVE_STRPTIME_DECL 1
43459 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43461 if test "$ac_cv_func_strptime" = "yes"; then
43462 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43463 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43464 if test "${wx_cv_func_strptime_ok+set}" = set; then
43465 echo $ECHO_N "(cached) $ECHO_C" >&6
43467 if test "$cross_compiling" = yes; then
43468 wx_cv_func_strptime_ok=no
43471 cat >conftest.$ac_ext <<_ACEOF
43473 #include <stdlib.h>
43475 #include "confdefs.h"
43482 return !!strptime("", "%x", &t);
43486 rm -f conftest$ac_exeext
43487 if { (ac_try="$ac_link"
43488 case "(($ac_try" in
43489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43490 *) ac_try_echo=$ac_try;;
43492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43493 (eval "$ac_link") 2>&5
43495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43496 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43497 { (case "(($ac_try" in
43498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43499 *) ac_try_echo=$ac_try;;
43501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43502 (eval "$ac_try") 2>&5
43504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43505 (exit $ac_status); }; }; then
43506 wx_cv_func_strptime_ok=yes
43508 echo "$as_me: program exited with status $ac_status" >&5
43509 echo "$as_me: failed program was:" >&5
43510 sed 's/^/| /' conftest.$ac_ext >&5
43512 ( exit $ac_status )
43513 wx_cv_func_strptime_ok=no
43515 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43521 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43522 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43524 if test "$wx_cv_func_strptime_ok" = "yes"; then
43525 cat >>confdefs.h <<\_ACEOF
43526 #define HAVE_STRPTIME 1
43532 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43533 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43534 if test "${wx_cv_var_timezone+set}" = set; then
43535 echo $ECHO_N "(cached) $ECHO_C" >&6
43539 ac_cpp='$CXXCPP $CPPFLAGS'
43540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43544 cat >conftest.$ac_ext <<_ACEOF
43547 cat confdefs.h >>conftest.$ac_ext
43548 cat >>conftest.$ac_ext <<_ACEOF
43549 /* end confdefs.h. */
43564 rm -f conftest.$ac_objext
43565 if { (ac_try="$ac_compile"
43566 case "(($ac_try" in
43567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43568 *) ac_try_echo=$ac_try;;
43570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43571 (eval "$ac_compile") 2>conftest.er1
43573 grep -v '^ *+' conftest.er1 >conftest.err
43575 cat conftest.err >&5
43576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43577 (exit $ac_status); } && {
43578 test -z "$ac_cxx_werror_flag" ||
43579 test ! -s conftest.err
43580 } && test -s conftest.$ac_objext; then
43582 wx_cv_var_timezone=timezone
43585 echo "$as_me: failed program was:" >&5
43586 sed 's/^/| /' conftest.$ac_ext >&5
43589 cat >conftest.$ac_ext <<_ACEOF
43592 cat confdefs.h >>conftest.$ac_ext
43593 cat >>conftest.$ac_ext <<_ACEOF
43594 /* end confdefs.h. */
43609 rm -f conftest.$ac_objext
43610 if { (ac_try="$ac_compile"
43611 case "(($ac_try" in
43612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43613 *) ac_try_echo=$ac_try;;
43615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43616 (eval "$ac_compile") 2>conftest.er1
43618 grep -v '^ *+' conftest.er1 >conftest.err
43620 cat conftest.err >&5
43621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43622 (exit $ac_status); } && {
43623 test -z "$ac_cxx_werror_flag" ||
43624 test ! -s conftest.err
43625 } && test -s conftest.$ac_objext; then
43627 wx_cv_var_timezone=_timezone
43630 echo "$as_me: failed program was:" >&5
43631 sed 's/^/| /' conftest.$ac_ext >&5
43634 cat >conftest.$ac_ext <<_ACEOF
43637 cat confdefs.h >>conftest.$ac_ext
43638 cat >>conftest.$ac_ext <<_ACEOF
43639 /* end confdefs.h. */
43654 rm -f conftest.$ac_objext
43655 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
43669 test ! -s conftest.err
43670 } && test -s conftest.$ac_objext; then
43672 wx_cv_var_timezone=__timezone
43675 echo "$as_me: failed program was:" >&5
43676 sed 's/^/| /' conftest.$ac_ext >&5
43679 if test "$USE_DOS" = 0 ; then
43680 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43681 echo "$as_me: WARNING: no timezone variable" >&2;}
43687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43699 ac_cpp='$CPP $CPPFLAGS'
43700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43707 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43708 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43710 if test "x$wx_cv_var_timezone" != x ; then
43711 cat >>confdefs.h <<_ACEOF
43712 #define WX_TIMEZONE $wx_cv_var_timezone
43718 for ac_func in localtime
43720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43721 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43723 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43724 echo $ECHO_N "(cached) $ECHO_C" >&6
43726 cat >conftest.$ac_ext <<_ACEOF
43729 cat confdefs.h >>conftest.$ac_ext
43730 cat >>conftest.$ac_ext <<_ACEOF
43731 /* end confdefs.h. */
43732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43734 #define $ac_func innocuous_$ac_func
43736 /* System header to define __stub macros and hopefully few prototypes,
43737 which can conflict with char $ac_func (); below.
43738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43739 <limits.h> exists even on freestanding compilers. */
43742 # include <limits.h>
43744 # include <assert.h>
43749 /* Override any GCC internal prototype to avoid an error.
43750 Use char because int might match the return type of a GCC
43751 builtin and then its argument prototype would still apply. */
43756 /* The GNU C library defines this for functions which it implements
43757 to always fail with ENOSYS. Some functions are actually named
43758 something starting with __ and the normal name is an alias. */
43759 #if defined __stub_$ac_func || defined __stub___$ac_func
43766 return $ac_func ();
43771 rm -f conftest.$ac_objext conftest$ac_exeext
43772 if { (ac_try="$ac_link"
43773 case "(($ac_try" in
43774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43775 *) ac_try_echo=$ac_try;;
43777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43778 (eval "$ac_link") 2>conftest.er1
43780 grep -v '^ *+' conftest.er1 >conftest.err
43782 cat conftest.err >&5
43783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43784 (exit $ac_status); } && {
43785 test -z "$ac_c_werror_flag" ||
43786 test ! -s conftest.err
43787 } && test -s conftest$ac_exeext &&
43788 $as_test_x conftest$ac_exeext; then
43789 eval "$as_ac_var=yes"
43791 echo "$as_me: failed program was:" >&5
43792 sed 's/^/| /' conftest.$ac_ext >&5
43794 eval "$as_ac_var=no"
43797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43798 conftest$ac_exeext conftest.$ac_ext
43800 ac_res=`eval echo '${'$as_ac_var'}'`
43801 { echo "$as_me:$LINENO: result: $ac_res" >&5
43802 echo "${ECHO_T}$ac_res" >&6; }
43803 if test `eval echo '${'$as_ac_var'}'` = yes; then
43804 cat >>confdefs.h <<_ACEOF
43805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43812 if test "$ac_cv_func_localtime" = "yes"; then
43813 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43814 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43815 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43816 echo $ECHO_N "(cached) $ECHO_C" >&6
43819 cat >conftest.$ac_ext <<_ACEOF
43822 cat confdefs.h >>conftest.$ac_ext
43823 cat >>conftest.$ac_ext <<_ACEOF
43824 /* end confdefs.h. */
43839 rm -f conftest.$ac_objext
43840 if { (ac_try="$ac_compile"
43841 case "(($ac_try" in
43842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43843 *) ac_try_echo=$ac_try;;
43845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43846 (eval "$ac_compile") 2>conftest.er1
43848 grep -v '^ *+' conftest.er1 >conftest.err
43850 cat conftest.err >&5
43851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43852 (exit $ac_status); } && {
43853 test -z "$ac_c_werror_flag" ||
43854 test ! -s conftest.err
43855 } && test -s conftest.$ac_objext; then
43857 wx_cv_struct_tm_has_gmtoff=yes
43860 echo "$as_me: failed program was:" >&5
43861 sed 's/^/| /' conftest.$ac_ext >&5
43863 wx_cv_struct_tm_has_gmtoff=no
43867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43870 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43871 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43874 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43875 cat >>confdefs.h <<\_ACEOF
43876 #define WX_GMTOFF_IN_TM 1
43881 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43885 if test "$wxUSE_SOCKETS" = "yes"; then
43886 if test "$wxUSE_MGL" = 1; then
43887 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43888 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43893 if test "$wxUSE_SOCKETS" = "yes"; then
43894 if test "$TOOLKIT" != "MSW"; then
43895 { echo "$as_me:$LINENO: checking for socket" >&5
43896 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43897 if test "${ac_cv_func_socket+set}" = set; then
43898 echo $ECHO_N "(cached) $ECHO_C" >&6
43900 cat >conftest.$ac_ext <<_ACEOF
43903 cat confdefs.h >>conftest.$ac_ext
43904 cat >>conftest.$ac_ext <<_ACEOF
43905 /* end confdefs.h. */
43906 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43908 #define socket innocuous_socket
43910 /* System header to define __stub macros and hopefully few prototypes,
43911 which can conflict with char socket (); below.
43912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43913 <limits.h> exists even on freestanding compilers. */
43916 # include <limits.h>
43918 # include <assert.h>
43923 /* Override any GCC internal prototype to avoid an error.
43924 Use char because int might match the return type of a GCC
43925 builtin and then its argument prototype would still apply. */
43930 /* The GNU C library defines this for functions which it implements
43931 to always fail with ENOSYS. Some functions are actually named
43932 something starting with __ and the normal name is an alias. */
43933 #if defined __stub_socket || defined __stub___socket
43945 rm -f conftest.$ac_objext conftest$ac_exeext
43946 if { (ac_try="$ac_link"
43947 case "(($ac_try" in
43948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43949 *) ac_try_echo=$ac_try;;
43951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43952 (eval "$ac_link") 2>conftest.er1
43954 grep -v '^ *+' conftest.er1 >conftest.err
43956 cat conftest.err >&5
43957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43958 (exit $ac_status); } && {
43959 test -z "$ac_c_werror_flag" ||
43960 test ! -s conftest.err
43961 } && test -s conftest$ac_exeext &&
43962 $as_test_x conftest$ac_exeext; then
43963 ac_cv_func_socket=yes
43965 echo "$as_me: failed program was:" >&5
43966 sed 's/^/| /' conftest.$ac_ext >&5
43968 ac_cv_func_socket=no
43971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43972 conftest$ac_exeext conftest.$ac_ext
43974 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43975 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43976 if test $ac_cv_func_socket = yes; then
43980 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43981 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43982 if test "${ac_cv_lib_socket_socket+set}" = set; then
43983 echo $ECHO_N "(cached) $ECHO_C" >&6
43985 ac_check_lib_save_LIBS=$LIBS
43986 LIBS="-lsocket $LIBS"
43987 cat >conftest.$ac_ext <<_ACEOF
43990 cat confdefs.h >>conftest.$ac_ext
43991 cat >>conftest.$ac_ext <<_ACEOF
43992 /* end confdefs.h. */
43994 /* Override any GCC internal prototype to avoid an error.
43995 Use char because int might match the return type of a GCC
43996 builtin and then its argument prototype would still apply. */
44009 rm -f conftest.$ac_objext conftest$ac_exeext
44010 if { (ac_try="$ac_link"
44011 case "(($ac_try" in
44012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44013 *) ac_try_echo=$ac_try;;
44015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44016 (eval "$ac_link") 2>conftest.er1
44018 grep -v '^ *+' conftest.er1 >conftest.err
44020 cat conftest.err >&5
44021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44022 (exit $ac_status); } && {
44023 test -z "$ac_c_werror_flag" ||
44024 test ! -s conftest.err
44025 } && test -s conftest$ac_exeext &&
44026 $as_test_x conftest$ac_exeext; then
44027 ac_cv_lib_socket_socket=yes
44029 echo "$as_me: failed program was:" >&5
44030 sed 's/^/| /' conftest.$ac_ext >&5
44032 ac_cv_lib_socket_socket=no
44035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44036 conftest$ac_exeext conftest.$ac_ext
44037 LIBS=$ac_check_lib_save_LIBS
44039 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44040 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44041 if test $ac_cv_lib_socket_socket = yes; then
44042 if test "$INET_LINK" != " -lsocket"; then
44043 INET_LINK="$INET_LINK -lsocket"
44047 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44048 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44061 if test "$wxUSE_SOCKETS" = "yes" ; then
44062 if test "$TOOLKIT" != "MSW"; then
44063 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44064 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44065 if test "${wx_cv_type_getsockname3+set}" = set; then
44066 echo $ECHO_N "(cached) $ECHO_C" >&6
44070 ac_cpp='$CXXCPP $CPPFLAGS'
44071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44075 cat >conftest.$ac_ext <<_ACEOF
44078 cat confdefs.h >>conftest.$ac_ext
44079 cat >>conftest.$ac_ext <<_ACEOF
44080 /* end confdefs.h. */
44082 #include <sys/types.h>
44083 #include <sys/socket.h>
44090 getsockname(0, 0, &len);
44096 rm -f conftest.$ac_objext
44097 if { (ac_try="$ac_compile"
44098 case "(($ac_try" in
44099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44100 *) ac_try_echo=$ac_try;;
44102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44103 (eval "$ac_compile") 2>conftest.er1
44105 grep -v '^ *+' conftest.er1 >conftest.err
44107 cat conftest.err >&5
44108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44109 (exit $ac_status); } && {
44110 test -z "$ac_cxx_werror_flag" ||
44111 test ! -s conftest.err
44112 } && test -s conftest.$ac_objext; then
44113 wx_cv_type_getsockname3=socklen_t
44115 echo "$as_me: failed program was:" >&5
44116 sed 's/^/| /' conftest.$ac_ext >&5
44119 CFLAGS_OLD="$CFLAGS"
44120 if test "$GCC" = yes ; then
44121 CFLAGS="-Werror $CFLAGS"
44124 cat >conftest.$ac_ext <<_ACEOF
44127 cat confdefs.h >>conftest.$ac_ext
44128 cat >>conftest.$ac_ext <<_ACEOF
44129 /* end confdefs.h. */
44131 #include <sys/types.h>
44132 #include <sys/socket.h>
44139 getsockname(0, 0, &len);
44145 rm -f conftest.$ac_objext
44146 if { (ac_try="$ac_compile"
44147 case "(($ac_try" in
44148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44149 *) ac_try_echo=$ac_try;;
44151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44152 (eval "$ac_compile") 2>conftest.er1
44154 grep -v '^ *+' conftest.er1 >conftest.err
44156 cat conftest.err >&5
44157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44158 (exit $ac_status); } && {
44159 test -z "$ac_cxx_werror_flag" ||
44160 test ! -s conftest.err
44161 } && test -s conftest.$ac_objext; then
44162 wx_cv_type_getsockname3=size_t
44164 echo "$as_me: failed program was:" >&5
44165 sed 's/^/| /' conftest.$ac_ext >&5
44167 cat >conftest.$ac_ext <<_ACEOF
44170 cat confdefs.h >>conftest.$ac_ext
44171 cat >>conftest.$ac_ext <<_ACEOF
44172 /* end confdefs.h. */
44174 #include <sys/types.h>
44175 #include <sys/socket.h>
44182 getsockname(0, 0, &len);
44188 rm -f conftest.$ac_objext
44189 if { (ac_try="$ac_compile"
44190 case "(($ac_try" in
44191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44192 *) ac_try_echo=$ac_try;;
44194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44195 (eval "$ac_compile") 2>conftest.er1
44197 grep -v '^ *+' conftest.er1 >conftest.err
44199 cat conftest.err >&5
44200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44201 (exit $ac_status); } && {
44202 test -z "$ac_cxx_werror_flag" ||
44203 test ! -s conftest.err
44204 } && test -s conftest.$ac_objext; then
44205 wx_cv_type_getsockname3=int
44207 echo "$as_me: failed program was:" >&5
44208 sed 's/^/| /' conftest.$ac_ext >&5
44210 wx_cv_type_getsockname3=unknown
44214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44220 CFLAGS="$CFLAGS_OLD"
44225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44227 ac_cpp='$CPP $CPPFLAGS'
44228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44234 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44235 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44237 if test "$wx_cv_type_getsockname3" = "unknown"; then
44239 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44240 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44242 cat >>confdefs.h <<_ACEOF
44243 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44247 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44248 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44249 if test "${wx_cv_type_getsockopt5+set}" = set; then
44250 echo $ECHO_N "(cached) $ECHO_C" >&6
44254 ac_cpp='$CXXCPP $CPPFLAGS'
44255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44259 cat >conftest.$ac_ext <<_ACEOF
44262 cat confdefs.h >>conftest.$ac_ext
44263 cat >>conftest.$ac_ext <<_ACEOF
44264 /* end confdefs.h. */
44266 #include <sys/types.h>
44267 #include <sys/socket.h>
44274 getsockopt(0, 0, 0, 0, &len);
44280 rm -f conftest.$ac_objext
44281 if { (ac_try="$ac_compile"
44282 case "(($ac_try" in
44283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44284 *) ac_try_echo=$ac_try;;
44286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44287 (eval "$ac_compile") 2>conftest.er1
44289 grep -v '^ *+' conftest.er1 >conftest.err
44291 cat conftest.err >&5
44292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44293 (exit $ac_status); } && {
44294 test -z "$ac_cxx_werror_flag" ||
44295 test ! -s conftest.err
44296 } && test -s conftest.$ac_objext; then
44297 wx_cv_type_getsockopt5=socklen_t
44299 echo "$as_me: failed program was:" >&5
44300 sed 's/^/| /' conftest.$ac_ext >&5
44303 cat >conftest.$ac_ext <<_ACEOF
44306 cat confdefs.h >>conftest.$ac_ext
44307 cat >>conftest.$ac_ext <<_ACEOF
44308 /* end confdefs.h. */
44310 #include <sys/types.h>
44311 #include <sys/socket.h>
44318 getsockopt(0, 0, 0, 0, &len);
44324 rm -f conftest.$ac_objext
44325 if { (ac_try="$ac_compile"
44326 case "(($ac_try" in
44327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44328 *) ac_try_echo=$ac_try;;
44330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44331 (eval "$ac_compile") 2>conftest.er1
44333 grep -v '^ *+' conftest.er1 >conftest.err
44335 cat conftest.err >&5
44336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44337 (exit $ac_status); } && {
44338 test -z "$ac_cxx_werror_flag" ||
44339 test ! -s conftest.err
44340 } && test -s conftest.$ac_objext; then
44341 wx_cv_type_getsockopt5=size_t
44343 echo "$as_me: failed program was:" >&5
44344 sed 's/^/| /' conftest.$ac_ext >&5
44346 cat >conftest.$ac_ext <<_ACEOF
44349 cat confdefs.h >>conftest.$ac_ext
44350 cat >>conftest.$ac_ext <<_ACEOF
44351 /* end confdefs.h. */
44353 #include <sys/types.h>
44354 #include <sys/socket.h>
44361 getsockopt(0, 0, 0, 0, &len);
44367 rm -f conftest.$ac_objext
44368 if { (ac_try="$ac_compile"
44369 case "(($ac_try" in
44370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44371 *) ac_try_echo=$ac_try;;
44373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44374 (eval "$ac_compile") 2>conftest.er1
44376 grep -v '^ *+' conftest.er1 >conftest.err
44378 cat conftest.err >&5
44379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44380 (exit $ac_status); } && {
44381 test -z "$ac_cxx_werror_flag" ||
44382 test ! -s conftest.err
44383 } && test -s conftest.$ac_objext; then
44384 wx_cv_type_getsockopt5=int
44386 echo "$as_me: failed program was:" >&5
44387 sed 's/^/| /' conftest.$ac_ext >&5
44389 wx_cv_type_getsockopt5=unknown
44393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44404 ac_cpp='$CPP $CPPFLAGS'
44405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44411 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44412 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44414 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44416 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44417 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44419 cat >>confdefs.h <<_ACEOF
44420 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44427 if test "$wxUSE_SOCKETS" = "yes" ; then
44428 if test "$wxUSE_IPV6" = "yes"; then
44429 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44430 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44431 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44432 echo $ECHO_N "(cached) $ECHO_C" >&6
44435 cat >conftest.$ac_ext <<_ACEOF
44438 cat confdefs.h >>conftest.$ac_ext
44439 cat >>conftest.$ac_ext <<_ACEOF
44440 /* end confdefs.h. */
44442 #include <sys/types.h>
44443 #include <sys/socket.h>
44444 #include <netinet/in.h>
44450 struct sockaddr_in6 sa6;
44456 rm -f conftest.$ac_objext
44457 if { (ac_try="$ac_compile"
44458 case "(($ac_try" in
44459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44460 *) ac_try_echo=$ac_try;;
44462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44463 (eval "$ac_compile") 2>conftest.er1
44465 grep -v '^ *+' conftest.er1 >conftest.err
44467 cat conftest.err >&5
44468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44469 (exit $ac_status); } && {
44470 test -z "$ac_c_werror_flag" ||
44471 test ! -s conftest.err
44472 } && test -s conftest.$ac_objext; then
44473 wx_cv_type_sockaddr_in6=yes
44475 echo "$as_me: failed program was:" >&5
44476 sed 's/^/| /' conftest.$ac_ext >&5
44478 wx_cv_type_sockaddr_in6=no
44482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44486 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44487 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44489 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44490 cat >>confdefs.h <<\_ACEOF
44491 #define wxUSE_IPV6 1
44495 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44496 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44500 cat >>confdefs.h <<\_ACEOF
44501 #define wxUSE_SOCKETS 1
44504 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44507 if test "$wxUSE_PROTOCOL" = "yes"; then
44508 if test "$wxUSE_SOCKETS" != "yes"; then
44509 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44510 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44515 if test "$wxUSE_PROTOCOL" = "yes"; then
44516 cat >>confdefs.h <<\_ACEOF
44517 #define wxUSE_PROTOCOL 1
44521 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44522 cat >>confdefs.h <<\_ACEOF
44523 #define wxUSE_PROTOCOL_HTTP 1
44527 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44528 cat >>confdefs.h <<\_ACEOF
44529 #define wxUSE_PROTOCOL_FTP 1
44533 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44534 cat >>confdefs.h <<\_ACEOF
44535 #define wxUSE_PROTOCOL_FILE 1
44540 if test "$wxUSE_FS_INET" = "yes"; then
44541 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44542 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44547 if test "$wxUSE_URL" = "yes"; then
44548 if test "$wxUSE_PROTOCOL" != "yes"; then
44549 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44550 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44553 if test "$wxUSE_URL" = "yes"; then
44554 cat >>confdefs.h <<\_ACEOF
44555 #define wxUSE_URL 1
44561 if test "$wxUSE_VARIANT" = "yes"; then
44562 cat >>confdefs.h <<\_ACEOF
44563 #define wxUSE_VARIANT 1
44568 if test "$wxUSE_WEAKREF" = "yes"; then
44569 cat >>confdefs.h <<\_ACEOF
44570 #define wxUSE_WEAKREF 1
44575 if test "$wxUSE_FS_INET" = "yes"; then
44576 cat >>confdefs.h <<\_ACEOF
44577 #define wxUSE_FS_INET 1
44583 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44586 if test "$TOOLKIT" = "MSW"; then
44589 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44590 if test "$USE_DARWIN" = 1; then
44591 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44592 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44594 ac_cpp='$CXXCPP $CPPFLAGS'
44595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44599 cat >conftest.$ac_ext <<_ACEOF
44602 cat confdefs.h >>conftest.$ac_ext
44603 cat >>conftest.$ac_ext <<_ACEOF
44604 /* end confdefs.h. */
44605 #include <IOKit/hid/IOHIDLib.h>
44609 IOHIDQueueInterface *qi = NULL;
44610 IOHIDCallbackFunction cb = NULL;
44611 qi->setEventCallout(NULL, cb, NULL, NULL);
44616 rm -f conftest.$ac_objext
44617 if { (ac_try="$ac_compile"
44618 case "(($ac_try" in
44619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44620 *) ac_try_echo=$ac_try;;
44622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44623 (eval "$ac_compile") 2>conftest.er1
44625 grep -v '^ *+' conftest.er1 >conftest.err
44627 cat conftest.err >&5
44628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44629 (exit $ac_status); } && {
44630 test -z "$ac_cxx_werror_flag" ||
44631 test ! -s conftest.err
44632 } && test -s conftest.$ac_objext; then
44636 echo "$as_me: failed program was:" >&5
44637 sed 's/^/| /' conftest.$ac_ext >&5
44642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44644 ac_cpp='$CPP $CPPFLAGS'
44645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44649 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44650 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44654 if test "$wxUSE_MGL" != 1; then
44656 for ac_header in linux/joystick.h
44658 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44659 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44661 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44662 echo $ECHO_N "(cached) $ECHO_C" >&6
44664 cat >conftest.$ac_ext <<_ACEOF
44667 cat confdefs.h >>conftest.$ac_ext
44668 cat >>conftest.$ac_ext <<_ACEOF
44669 /* end confdefs.h. */
44670 $ac_includes_default
44672 #include <$ac_header>
44674 rm -f conftest.$ac_objext
44675 if { (ac_try="$ac_compile"
44676 case "(($ac_try" in
44677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44678 *) ac_try_echo=$ac_try;;
44680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44681 (eval "$ac_compile") 2>conftest.er1
44683 grep -v '^ *+' conftest.er1 >conftest.err
44685 cat conftest.err >&5
44686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44687 (exit $ac_status); } && {
44688 test -z "$ac_c_werror_flag" ||
44689 test ! -s conftest.err
44690 } && test -s conftest.$ac_objext; then
44691 eval "$as_ac_Header=yes"
44693 echo "$as_me: failed program was:" >&5
44694 sed 's/^/| /' conftest.$ac_ext >&5
44696 eval "$as_ac_Header=no"
44699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44701 ac_res=`eval echo '${'$as_ac_Header'}'`
44702 { echo "$as_me:$LINENO: result: $ac_res" >&5
44703 echo "${ECHO_T}$ac_res" >&6; }
44704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44705 cat >>confdefs.h <<_ACEOF
44706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44716 if test "$wxUSE_JOYSTICK" = "yes"; then
44717 cat >>confdefs.h <<\_ACEOF
44718 #define wxUSE_JOYSTICK 1
44721 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44723 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44724 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44730 if test "$wxUSE_FONTENUM" = "yes" ; then
44731 cat >>confdefs.h <<\_ACEOF
44732 #define wxUSE_FONTENUM 1
44737 if test "$wxUSE_FONTMAP" = "yes" ; then
44738 cat >>confdefs.h <<\_ACEOF
44739 #define wxUSE_FONTMAP 1
44744 if test "$wxUSE_UNICODE" = "yes" ; then
44745 cat >>confdefs.h <<\_ACEOF
44746 #define wxUSE_UNICODE 1
44750 if test "$USE_WIN32" != 1; then
44751 wxUSE_UNICODE_MSLU=no
44754 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44755 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44756 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44757 if test "${ac_cv_lib_unicows_main+set}" = set; then
44758 echo $ECHO_N "(cached) $ECHO_C" >&6
44760 ac_check_lib_save_LIBS=$LIBS
44761 LIBS="-lunicows $LIBS"
44762 cat >conftest.$ac_ext <<_ACEOF
44765 cat confdefs.h >>conftest.$ac_ext
44766 cat >>conftest.$ac_ext <<_ACEOF
44767 /* end confdefs.h. */
44778 rm -f conftest.$ac_objext conftest$ac_exeext
44779 if { (ac_try="$ac_link"
44780 case "(($ac_try" in
44781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44782 *) ac_try_echo=$ac_try;;
44784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44785 (eval "$ac_link") 2>conftest.er1
44787 grep -v '^ *+' conftest.er1 >conftest.err
44789 cat conftest.err >&5
44790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44791 (exit $ac_status); } && {
44792 test -z "$ac_c_werror_flag" ||
44793 test ! -s conftest.err
44794 } && test -s conftest$ac_exeext &&
44795 $as_test_x conftest$ac_exeext; then
44796 ac_cv_lib_unicows_main=yes
44798 echo "$as_me: failed program was:" >&5
44799 sed 's/^/| /' conftest.$ac_ext >&5
44801 ac_cv_lib_unicows_main=no
44804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44805 conftest$ac_exeext conftest.$ac_ext
44806 LIBS=$ac_check_lib_save_LIBS
44808 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44809 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44810 if test $ac_cv_lib_unicows_main = yes; then
44812 cat >>confdefs.h <<\_ACEOF
44813 #define wxUSE_UNICODE_MSLU 1
44819 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44820 Applications will only run on Windows NT/2000/XP!" >&5
44821 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44822 Applications will only run on Windows NT/2000/XP!" >&2;}
44823 wxUSE_UNICODE_MSLU=no
44830 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44831 cat >>confdefs.h <<\_ACEOF
44832 #define wxUSE_UNICODE_UTF8 1
44836 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44837 cat >>confdefs.h <<\_ACEOF
44838 #define wxUSE_UTF8_LOCALE_ONLY 1
44845 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44846 cat >>confdefs.h <<\_ACEOF
44847 #define wxUSE_CONSTRAINTS 1
44850 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44853 if test "$wxUSE_MDI" = "yes"; then
44854 cat >>confdefs.h <<\_ACEOF
44855 #define wxUSE_MDI 1
44859 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44860 cat >>confdefs.h <<\_ACEOF
44861 #define wxUSE_MDI_ARCHITECTURE 1
44864 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44868 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44869 cat >>confdefs.h <<\_ACEOF
44870 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44874 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44875 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44879 if test "$wxUSE_HELP" = "yes"; then
44880 cat >>confdefs.h <<\_ACEOF
44881 #define wxUSE_HELP 1
44884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44886 if test "$wxUSE_MSW" = 1; then
44887 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44888 cat >>confdefs.h <<\_ACEOF
44889 #define wxUSE_MS_HTML_HELP 1
44895 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44896 if test "$wxUSE_HTML" = "yes"; then
44897 cat >>confdefs.h <<\_ACEOF
44898 #define wxUSE_WXHTML_HELP 1
44902 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44903 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44904 wxUSE_WXHTML_HELP=no
44909 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44910 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44911 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44912 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44914 cat >>confdefs.h <<\_ACEOF
44915 #define wxUSE_PRINTING_ARCHITECTURE 1
44919 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44922 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44923 cat >>confdefs.h <<\_ACEOF
44924 #define wxUSE_POSTSCRIPT 1
44929 cat >>confdefs.h <<\_ACEOF
44930 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44934 if test "$wxUSE_SVG" = "yes"; then
44935 cat >>confdefs.h <<\_ACEOF
44936 #define wxUSE_SVG 1
44942 if test "$wxUSE_METAFILE" = "yes"; then
44943 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44944 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44945 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44951 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44952 -o "$wxUSE_CLIPBOARD" = "yes" \
44953 -o "$wxUSE_OLE" = "yes" \
44954 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44955 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44956 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44957 if test "${ac_cv_header_ole2_h+set}" = set; then
44958 echo $ECHO_N "(cached) $ECHO_C" >&6
44960 cat >conftest.$ac_ext <<_ACEOF
44963 cat confdefs.h >>conftest.$ac_ext
44964 cat >>conftest.$ac_ext <<_ACEOF
44965 /* end confdefs.h. */
44970 rm -f conftest.$ac_objext
44971 if { (ac_try="$ac_compile"
44972 case "(($ac_try" in
44973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44974 *) ac_try_echo=$ac_try;;
44976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44977 (eval "$ac_compile") 2>conftest.er1
44979 grep -v '^ *+' conftest.er1 >conftest.err
44981 cat conftest.err >&5
44982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44983 (exit $ac_status); } && {
44984 test -z "$ac_c_werror_flag" ||
44985 test ! -s conftest.err
44986 } && test -s conftest.$ac_objext; then
44987 ac_cv_header_ole2_h=yes
44989 echo "$as_me: failed program was:" >&5
44990 sed 's/^/| /' conftest.$ac_ext >&5
44992 ac_cv_header_ole2_h=no
44995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44997 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44998 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45002 if test "$ac_cv_header_ole2_h" = "yes" ; then
45003 if test "$GCC" = yes ; then
45004 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45005 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45006 cat >conftest.$ac_ext <<_ACEOF
45009 cat confdefs.h >>conftest.$ac_ext
45010 cat >>conftest.$ac_ext <<_ACEOF
45011 /* end confdefs.h. */
45012 #include <windows.h>
45022 rm -f conftest.$ac_objext
45023 if { (ac_try="$ac_compile"
45024 case "(($ac_try" in
45025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45026 *) ac_try_echo=$ac_try;;
45028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45029 (eval "$ac_compile") 2>conftest.er1
45031 grep -v '^ *+' conftest.er1 >conftest.err
45033 cat conftest.err >&5
45034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45035 (exit $ac_status); } && {
45036 test -z "$ac_c_werror_flag" ||
45037 test ! -s conftest.err
45038 } && test -s conftest.$ac_objext; then
45039 { echo "$as_me:$LINENO: result: no" >&5
45040 echo "${ECHO_T}no" >&6; }
45042 echo "$as_me: failed program was:" >&5
45043 sed 's/^/| /' conftest.$ac_ext >&5
45045 { echo "$as_me:$LINENO: result: yes" >&5
45046 echo "${ECHO_T}yes" >&6; }
45047 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45051 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45052 if test "$wxUSE_OLE" = "yes" ; then
45053 cat >>confdefs.h <<\_ACEOF
45054 #define wxUSE_OLE 1
45057 cat >>confdefs.h <<\_ACEOF
45058 #define wxUSE_OLE_AUTOMATION 1
45061 cat >>confdefs.h <<\_ACEOF
45062 #define wxUSE_ACTIVEX 1
45065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45069 if test "$wxUSE_DATAOBJ" = "yes" ; then
45070 cat >>confdefs.h <<\_ACEOF
45071 #define wxUSE_DATAOBJ 1
45076 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45077 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45080 wxUSE_DRAG_AND_DROP=no
45085 if test "$wxUSE_METAFILE" = "yes"; then
45086 cat >>confdefs.h <<\_ACEOF
45087 #define wxUSE_METAFILE 1
45091 cat >>confdefs.h <<\_ACEOF
45092 #define wxUSE_ENH_METAFILE 1
45098 if test "$wxUSE_IPC" = "yes"; then
45099 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45100 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45101 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45105 if test "$wxUSE_IPC" = "yes"; then
45106 cat >>confdefs.h <<\_ACEOF
45107 #define wxUSE_IPC 1
45110 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45114 if test "$wxUSE_DATAOBJ" = "yes"; then
45115 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45116 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45117 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45120 cat >>confdefs.h <<\_ACEOF
45121 #define wxUSE_DATAOBJ 1
45126 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45127 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45129 wxUSE_DRAG_AND_DROP=no
45132 if test "$wxUSE_CLIPBOARD" = "yes"; then
45133 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45134 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45135 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45139 if test "$wxUSE_CLIPBOARD" = "yes"; then
45140 cat >>confdefs.h <<\_ACEOF
45141 #define wxUSE_CLIPBOARD 1
45147 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45148 if test "$wxUSE_GTK" = 1; then
45149 if test "$WXGTK12" != 1; then
45150 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45151 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45152 wxUSE_DRAG_AND_DROP=no
45156 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45157 "$wxUSE_DFB" = 1; then
45158 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45159 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45160 wxUSE_DRAG_AND_DROP=no
45163 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45164 cat >>confdefs.h <<\_ACEOF
45165 #define wxUSE_DRAG_AND_DROP 1
45172 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45176 if test "$wxUSE_SPLINES" = "yes" ; then
45177 cat >>confdefs.h <<\_ACEOF
45178 #define wxUSE_SPLINES 1
45183 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45184 cat >>confdefs.h <<\_ACEOF
45185 #define wxUSE_MOUSEWHEEL 1
45192 if test "$wxUSE_CONTROLS" = "yes"; then
45196 if test "$wxUSE_ACCEL" = "yes"; then
45197 cat >>confdefs.h <<\_ACEOF
45198 #define wxUSE_ACCEL 1
45204 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45205 cat >>confdefs.h <<\_ACEOF
45206 #define wxUSE_ANIMATIONCTRL 1
45210 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45213 if test "$wxUSE_BUTTON" = "yes"; then
45214 cat >>confdefs.h <<\_ACEOF
45215 #define wxUSE_BUTTON 1
45221 if test "$wxUSE_BMPBUTTON" = "yes"; then
45222 cat >>confdefs.h <<\_ACEOF
45223 #define wxUSE_BMPBUTTON 1
45229 if test "$wxUSE_CALCTRL" = "yes"; then
45230 cat >>confdefs.h <<\_ACEOF
45231 #define wxUSE_CALENDARCTRL 1
45235 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45238 if test "$wxUSE_CARET" = "yes"; then
45239 cat >>confdefs.h <<\_ACEOF
45240 #define wxUSE_CARET 1
45244 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45247 if test "$wxUSE_COLLPANE" = "yes"; then
45248 cat >>confdefs.h <<\_ACEOF
45249 #define wxUSE_COLLPANE 1
45253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45256 if test "$wxUSE_COMBOBOX" = "yes"; then
45257 cat >>confdefs.h <<\_ACEOF
45258 #define wxUSE_COMBOBOX 1
45264 if test "$wxUSE_COMBOCTRL" = "yes"; then
45265 cat >>confdefs.h <<\_ACEOF
45266 #define wxUSE_COMBOCTRL 1
45272 if test "$wxUSE_CHOICE" = "yes"; then
45273 cat >>confdefs.h <<\_ACEOF
45274 #define wxUSE_CHOICE 1
45280 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45281 cat >>confdefs.h <<\_ACEOF
45282 #define wxUSE_CHOICEBOOK 1
45288 if test "$wxUSE_CHECKBOX" = "yes"; then
45289 cat >>confdefs.h <<\_ACEOF
45290 #define wxUSE_CHECKBOX 1
45296 if test "$wxUSE_CHECKLST" = "yes"; then
45297 cat >>confdefs.h <<\_ACEOF
45298 #define wxUSE_CHECKLISTBOX 1
45304 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45305 cat >>confdefs.h <<\_ACEOF
45306 #define wxUSE_COLOURPICKERCTRL 1
45312 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45313 cat >>confdefs.h <<\_ACEOF
45314 #define wxUSE_DATEPICKCTRL 1
45320 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45321 cat >>confdefs.h <<\_ACEOF
45322 #define wxUSE_DIRPICKERCTRL 1
45328 if test "$wxUSE_FILECTRL" = "yes"; then
45329 cat >>confdefs.h <<\_ACEOF
45330 #define wxUSE_FILECTRL 1
45336 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45337 cat >>confdefs.h <<\_ACEOF
45338 #define wxUSE_FILEPICKERCTRL 1
45344 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45345 cat >>confdefs.h <<\_ACEOF
45346 #define wxUSE_FONTPICKERCTRL 1
45352 if test "$wxUSE_DISPLAY" = "yes"; then
45353 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45354 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45355 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45358 cat >>confdefs.h <<\_ACEOF
45359 #define wxUSE_DISPLAY 1
45362 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45366 if test "$wxUSE_DETECT_SM" = "yes"; then
45367 cat >>confdefs.h <<\_ACEOF
45368 #define wxUSE_DETECT_SM 1
45373 if test "$wxUSE_GAUGE" = "yes"; then
45374 cat >>confdefs.h <<\_ACEOF
45375 #define wxUSE_GAUGE 1
45381 if test "$wxUSE_GRID" = "yes"; then
45382 cat >>confdefs.h <<\_ACEOF
45383 #define wxUSE_GRID 1
45387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45390 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45391 cat >>confdefs.h <<\_ACEOF
45392 #define wxUSE_HYPERLINKCTRL 1
45398 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45399 cat >>confdefs.h <<\_ACEOF
45400 #define wxUSE_BITMAPCOMBOBOX 1
45406 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45407 cat >>confdefs.h <<\_ACEOF
45408 #define wxUSE_DATAVIEWCTRL 1
45412 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45415 if test "$wxUSE_IMAGLIST" = "yes"; then
45416 cat >>confdefs.h <<\_ACEOF
45417 #define wxUSE_IMAGLIST 1
45422 if test "$wxUSE_LISTBOOK" = "yes"; then
45423 cat >>confdefs.h <<\_ACEOF
45424 #define wxUSE_LISTBOOK 1
45430 if test "$wxUSE_LISTBOX" = "yes"; then
45431 cat >>confdefs.h <<\_ACEOF
45432 #define wxUSE_LISTBOX 1
45438 if test "$wxUSE_LISTCTRL" = "yes"; then
45439 if test "$wxUSE_IMAGLIST" = "yes"; then
45440 cat >>confdefs.h <<\_ACEOF
45441 #define wxUSE_LISTCTRL 1
45445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45447 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45448 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45452 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45453 cat >>confdefs.h <<\_ACEOF
45454 #define wxUSE_EDITABLELISTBOX 1
45458 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45461 if test "$wxUSE_NOTEBOOK" = "yes"; then
45462 cat >>confdefs.h <<\_ACEOF
45463 #define wxUSE_NOTEBOOK 1
45467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45470 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45471 cat >>confdefs.h <<\_ACEOF
45472 #define wxUSE_NOTIFICATION_MESSAGE 1
45477 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45478 cat >>confdefs.h <<\_ACEOF
45479 #define wxUSE_ODCOMBOBOX 1
45483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45486 if test "$wxUSE_RADIOBOX" = "yes"; then
45487 cat >>confdefs.h <<\_ACEOF
45488 #define wxUSE_RADIOBOX 1
45494 if test "$wxUSE_RADIOBTN" = "yes"; then
45495 cat >>confdefs.h <<\_ACEOF
45496 #define wxUSE_RADIOBTN 1
45502 if test "$wxUSE_SASH" = "yes"; then
45503 cat >>confdefs.h <<\_ACEOF
45504 #define wxUSE_SASH 1
45507 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45510 if test "$wxUSE_SCROLLBAR" = "yes"; then
45511 cat >>confdefs.h <<\_ACEOF
45512 #define wxUSE_SCROLLBAR 1
45516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45519 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45520 cat >>confdefs.h <<\_ACEOF
45521 #define wxUSE_SEARCHCTRL 1
45527 if test "$wxUSE_SLIDER" = "yes"; then
45528 cat >>confdefs.h <<\_ACEOF
45529 #define wxUSE_SLIDER 1
45535 if test "$wxUSE_SPINBTN" = "yes"; then
45536 cat >>confdefs.h <<\_ACEOF
45537 #define wxUSE_SPINBTN 1
45543 if test "$wxUSE_SPINCTRL" = "yes"; then
45544 cat >>confdefs.h <<\_ACEOF
45545 #define wxUSE_SPINCTRL 1
45551 if test "$wxUSE_SPLITTER" = "yes"; then
45552 cat >>confdefs.h <<\_ACEOF
45553 #define wxUSE_SPLITTER 1
45556 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45559 if test "$wxUSE_STATBMP" = "yes"; then
45560 cat >>confdefs.h <<\_ACEOF
45561 #define wxUSE_STATBMP 1
45567 if test "$wxUSE_STATBOX" = "yes"; then
45568 cat >>confdefs.h <<\_ACEOF
45569 #define wxUSE_STATBOX 1
45575 if test "$wxUSE_STATTEXT" = "yes"; then
45576 cat >>confdefs.h <<\_ACEOF
45577 #define wxUSE_STATTEXT 1
45583 if test "$wxUSE_STATLINE" = "yes"; then
45584 cat >>confdefs.h <<\_ACEOF
45585 #define wxUSE_STATLINE 1
45591 if test "$wxUSE_STATUSBAR" = "yes"; then
45592 cat >>confdefs.h <<\_ACEOF
45593 #define wxUSE_NATIVE_STATUSBAR 1
45596 cat >>confdefs.h <<\_ACEOF
45597 #define wxUSE_STATUSBAR 1
45602 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45605 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45606 cat >>confdefs.h <<\_ACEOF
45607 #define wxUSE_TAB_DIALOG 1
45612 if test "$wxUSE_TEXTCTRL" = "yes"; then
45613 cat >>confdefs.h <<\_ACEOF
45614 #define wxUSE_TEXTCTRL 1
45618 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45621 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45622 if test "$wxUSE_COCOA" = 1 ; then
45623 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45624 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45628 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45629 cat >>confdefs.h <<\_ACEOF
45630 #define wxUSE_TOGGLEBTN 1
45637 if test "$wxUSE_TOOLBAR" = "yes"; then
45638 cat >>confdefs.h <<\_ACEOF
45639 #define wxUSE_TOOLBAR 1
45644 if test "$wxUSE_UNIVERSAL" = "yes"; then
45645 wxUSE_TOOLBAR_NATIVE="no"
45647 wxUSE_TOOLBAR_NATIVE="yes"
45648 cat >>confdefs.h <<\_ACEOF
45649 #define wxUSE_TOOLBAR_NATIVE 1
45654 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45657 if test "$wxUSE_TOOLTIPS" = "yes"; then
45658 if test "$wxUSE_MOTIF" = 1; then
45659 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45660 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45662 if test "$wxUSE_UNIVERSAL" = "yes"; then
45663 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45664 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45666 cat >>confdefs.h <<\_ACEOF
45667 #define wxUSE_TOOLTIPS 1
45674 if test "$wxUSE_TREEBOOK" = "yes"; then
45675 cat >>confdefs.h <<\_ACEOF
45676 #define wxUSE_TREEBOOK 1
45682 if test "$wxUSE_TOOLBOOK" = "yes"; then
45683 cat >>confdefs.h <<\_ACEOF
45684 #define wxUSE_TOOLBOOK 1
45690 if test "$wxUSE_TREECTRL" = "yes"; then
45691 if test "$wxUSE_IMAGLIST" = "yes"; then
45692 cat >>confdefs.h <<\_ACEOF
45693 #define wxUSE_TREECTRL 1
45697 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45699 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45700 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45704 if test "$wxUSE_POPUPWIN" = "yes"; then
45705 if test "$wxUSE_COCOA" = 1 ; then
45706 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45707 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45709 if test "$wxUSE_PM" = 1; then
45710 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45711 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45713 cat >>confdefs.h <<\_ACEOF
45714 #define wxUSE_POPUPWIN 1
45717 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45724 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45725 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45726 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45727 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45729 cat >>confdefs.h <<\_ACEOF
45730 #define wxUSE_DIALUP_MANAGER 1
45733 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45737 if test "$wxUSE_TIPWINDOW" = "yes"; then
45738 if test "$wxUSE_PM" = 1; then
45739 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45740 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45742 cat >>confdefs.h <<\_ACEOF
45743 #define wxUSE_TIPWINDOW 1
45749 if test "$USES_CONTROLS" = 1; then
45750 cat >>confdefs.h <<\_ACEOF
45751 #define wxUSE_CONTROLS 1
45757 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45758 cat >>confdefs.h <<\_ACEOF
45759 #define wxUSE_ACCESSIBILITY 1
45762 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45765 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45766 cat >>confdefs.h <<\_ACEOF
45767 #define wxUSE_DRAGIMAGE 1
45770 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45773 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45774 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45775 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45776 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45778 cat >>confdefs.h <<\_ACEOF
45779 #define wxUSE_EXCEPTIONS 1
45782 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45787 if test "$wxUSE_HTML" = "yes"; then
45788 cat >>confdefs.h <<\_ACEOF
45789 #define wxUSE_HTML 1
45793 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45794 if test "$wxUSE_MAC" = 1; then
45795 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45798 if test "$wxUSE_WEBKIT" = "yes"; then
45799 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45800 old_CPPFLAGS="$CPPFLAGS"
45801 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45802 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45803 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45804 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45805 echo $ECHO_N "(cached) $ECHO_C" >&6
45807 cat >conftest.$ac_ext <<_ACEOF
45810 cat confdefs.h >>conftest.$ac_ext
45811 cat >>conftest.$ac_ext <<_ACEOF
45812 /* end confdefs.h. */
45814 #include <Carbon/Carbon.h>
45815 #include <WebKit/WebKit.h>
45818 #include <WebKit/HIWebView.h>
45820 rm -f conftest.$ac_objext
45821 if { (ac_try="$ac_compile"
45822 case "(($ac_try" in
45823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45824 *) ac_try_echo=$ac_try;;
45826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45827 (eval "$ac_compile") 2>conftest.er1
45829 grep -v '^ *+' conftest.er1 >conftest.err
45831 cat conftest.err >&5
45832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45833 (exit $ac_status); } && {
45834 test -z "$ac_c_werror_flag" ||
45835 test ! -s conftest.err
45836 } && test -s conftest.$ac_objext; then
45837 ac_cv_header_WebKit_HIWebView_h=yes
45839 echo "$as_me: failed program was:" >&5
45840 sed 's/^/| /' conftest.$ac_ext >&5
45842 ac_cv_header_WebKit_HIWebView_h=no
45845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45847 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45848 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45849 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45851 cat >>confdefs.h <<\_ACEOF
45852 #define wxUSE_WEBKIT 1
45855 WEBKIT_LINK="-framework WebKit"
45859 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45860 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45866 CPPFLAGS="$old_CPPFLAGS"
45867 elif test "$wxUSE_COCOA" = 1; then
45868 cat >>confdefs.h <<\_ACEOF
45869 #define wxUSE_WEBKIT 1
45878 if test "$wxUSE_XRC" = "yes"; then
45879 if test "$wxUSE_XML" != "yes"; then
45880 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45881 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45884 cat >>confdefs.h <<\_ACEOF
45885 #define wxUSE_XRC 1
45889 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45894 if test "$wxUSE_AUI" = "yes"; then
45895 cat >>confdefs.h <<\_ACEOF
45896 #define wxUSE_AUI 1
45900 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45904 if test "$wxUSE_STC" = "yes"; then
45905 cat >>confdefs.h <<\_ACEOF
45906 #define wxUSE_STC 1
45910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45913 if test "$wxUSE_MENUS" = "yes"; then
45914 cat >>confdefs.h <<\_ACEOF
45915 #define wxUSE_MENUS 1
45918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45921 if test "$wxUSE_METAFILE" = "yes"; then
45922 cat >>confdefs.h <<\_ACEOF
45923 #define wxUSE_METAFILE 1
45928 if test "$wxUSE_MIMETYPE" = "yes"; then
45929 cat >>confdefs.h <<\_ACEOF
45930 #define wxUSE_MIMETYPE 1
45935 if test "$wxUSE_MINIFRAME" = "yes"; then
45936 cat >>confdefs.h <<\_ACEOF
45937 #define wxUSE_MINIFRAME 1
45942 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45943 cat >>confdefs.h <<\_ACEOF
45944 #define wxUSE_SYSTEM_OPTIONS 1
45949 if test "$wxUSE_TASKBARICON" = "yes"; then
45950 cat >>confdefs.h <<\_ACEOF
45951 #define wxUSE_TASKBARICON 1
45954 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45958 if test "$wxUSE_VALIDATORS" = "yes"; then
45959 cat >>confdefs.h <<\_ACEOF
45960 #define wxUSE_VALIDATORS 1
45963 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45966 if test "$wxUSE_PALETTE" = "yes" ; then
45967 if test "$wxUSE_DFB" = 1; then
45968 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45969 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45972 cat >>confdefs.h <<\_ACEOF
45973 #define wxUSE_PALETTE 1
45979 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45980 LIBS=" -lunicows $LIBS"
45984 if test "$wxUSE_RICHTEXT" = "yes"; then
45985 cat >>confdefs.h <<\_ACEOF
45986 #define wxUSE_RICHTEXT 1
45990 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45994 if test "$wxUSE_IMAGE" = "yes" ; then
45995 cat >>confdefs.h <<\_ACEOF
45996 #define wxUSE_IMAGE 1
46000 if test "$wxUSE_GIF" = "yes" ; then
46001 cat >>confdefs.h <<\_ACEOF
46002 #define wxUSE_GIF 1
46007 if test "$wxUSE_PCX" = "yes" ; then
46008 cat >>confdefs.h <<\_ACEOF
46009 #define wxUSE_PCX 1
46014 if test "$wxUSE_TGA" = "yes" ; then
46015 cat >>confdefs.h <<\_ACEOF
46016 #define wxUSE_TGA 1
46021 if test "$wxUSE_IFF" = "yes" ; then
46022 cat >>confdefs.h <<\_ACEOF
46023 #define wxUSE_IFF 1
46028 if test "$wxUSE_PNM" = "yes" ; then
46029 cat >>confdefs.h <<\_ACEOF
46030 #define wxUSE_PNM 1
46035 if test "$wxUSE_XPM" = "yes" ; then
46036 cat >>confdefs.h <<\_ACEOF
46037 #define wxUSE_XPM 1
46042 if test "$wxUSE_ICO_CUR" = "yes" ; then
46043 cat >>confdefs.h <<\_ACEOF
46044 #define wxUSE_ICO_CUR 1
46051 if test "$wxUSE_ABOUTDLG" = "yes"; then
46052 cat >>confdefs.h <<\_ACEOF
46053 #define wxUSE_ABOUTDLG 1
46058 if test "$wxUSE_CHOICEDLG" = "yes"; then
46059 cat >>confdefs.h <<\_ACEOF
46060 #define wxUSE_CHOICEDLG 1
46065 if test "$wxUSE_COLOURDLG" = "yes"; then
46066 cat >>confdefs.h <<\_ACEOF
46067 #define wxUSE_COLOURDLG 1
46072 if test "$wxUSE_FILEDLG" = "yes"; then
46073 cat >>confdefs.h <<\_ACEOF
46074 #define wxUSE_FILEDLG 1
46079 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46080 cat >>confdefs.h <<\_ACEOF
46081 #define wxUSE_FINDREPLDLG 1
46086 if test "$wxUSE_FONTDLG" = "yes"; then
46087 cat >>confdefs.h <<\_ACEOF
46088 #define wxUSE_FONTDLG 1
46093 if test "$wxUSE_DIRDLG" = "yes"; then
46094 if test "$wxUSE_TREECTRL" != "yes"; then
46095 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46096 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46098 cat >>confdefs.h <<\_ACEOF
46099 #define wxUSE_DIRDLG 1
46105 if test "$wxUSE_MSGDLG" = "yes"; then
46106 cat >>confdefs.h <<\_ACEOF
46107 #define wxUSE_MSGDLG 1
46112 if test "$wxUSE_NUMBERDLG" = "yes"; then
46113 cat >>confdefs.h <<\_ACEOF
46114 #define wxUSE_NUMBERDLG 1
46119 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46120 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46121 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46122 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46124 cat >>confdefs.h <<\_ACEOF
46125 #define wxUSE_PROGRESSDLG 1
46131 if test "$wxUSE_SPLASH" = "yes"; then
46132 cat >>confdefs.h <<\_ACEOF
46133 #define wxUSE_SPLASH 1
46136 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46139 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46140 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46141 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46142 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46144 cat >>confdefs.h <<\_ACEOF
46145 #define wxUSE_STARTUP_TIPS 1
46151 if test "$wxUSE_TEXTDLG" = "yes"; then
46152 cat >>confdefs.h <<\_ACEOF
46153 #define wxUSE_TEXTDLG 1
46158 if test "$wxUSE_WIZARDDLG" = "yes"; then
46159 cat >>confdefs.h <<\_ACEOF
46160 #define wxUSE_WIZARDDLG 1
46163 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46167 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46168 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46169 cat >>confdefs.h <<\_ACEOF
46170 #define wxUSE_OWNER_DRAWN 1
46177 if test "$wxUSE_MSW" = 1 ; then
46179 if test "$wxUSE_DC_CACHEING" = "yes"; then
46180 cat >>confdefs.h <<\_ACEOF
46181 #define wxUSE_DC_CACHEING 1
46186 if test "$wxUSE_DIB" = "yes"; then
46187 cat >>confdefs.h <<\_ACEOF
46188 #define wxUSE_WXDIB 1
46193 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46194 cat >>confdefs.h <<\_ACEOF
46195 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46200 if test "$wxUSE_UXTHEME" = "yes"; then
46201 cat >>confdefs.h <<\_ACEOF
46202 #define wxUSE_UXTHEME 1
46209 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46210 cat >>confdefs.h <<\_ACEOF
46211 #define wxUSE_AUTOID_MANAGEMENT 1
46216 if test "$USE_WIN32" = 1 ; then
46217 if test "$wxUSE_INICONF" = "yes"; then
46218 cat >>confdefs.h <<\_ACEOF
46219 #define wxUSE_INICONF 1
46224 if test "$wxUSE_REGKEY" = "yes"; then
46225 cat >>confdefs.h <<\_ACEOF
46226 #define wxUSE_REGKEY 1
46233 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46234 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46235 cat >>confdefs.h <<\_ACEOF
46236 #define wxUSE_GRAPHICS_CONTEXT 1
46239 elif test "$wxUSE_GTK" != 1; then
46240 cat >>confdefs.h <<\_ACEOF
46241 #define wxUSE_GRAPHICS_CONTEXT 1
46247 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46248 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46250 if test -n "$PKG_CONFIG"; then
46251 if test -n "$CAIRO_CFLAGS"; then
46252 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46254 if test -n "$PKG_CONFIG" && \
46255 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46256 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46259 (exit $ac_status); }; then
46260 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46268 if test -n "$PKG_CONFIG"; then
46269 if test -n "$CAIRO_LIBS"; then
46270 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46272 if test -n "$PKG_CONFIG" && \
46273 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46274 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46277 (exit $ac_status); }; then
46278 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46289 if test $pkg_failed = yes; then
46291 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46292 _pkg_short_errors_supported=yes
46294 _pkg_short_errors_supported=no
46296 if test $_pkg_short_errors_supported = yes; then
46297 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46299 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46301 # Put the nasty error message in config.log where it belongs
46302 echo "$CAIRO_PKG_ERRORS" >&5
46304 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46305 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46307 elif test $pkg_failed = untried; then
46308 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46309 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46312 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46313 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46314 { echo "$as_me:$LINENO: result: yes" >&5
46315 echo "${ECHO_T}yes" >&6; }
46316 cat >>confdefs.h <<\_ACEOF
46317 #define wxUSE_GRAPHICS_CONTEXT 1
46327 if test "$wxUSE_MEDIACTRL" = "yes"; then
46330 if test "$wxUSE_GTK" = 1; then
46331 wxUSE_GSTREAMER="no"
46333 GST_VERSION_MAJOR=0
46334 GST_VERSION_MINOR=10
46335 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46337 if test "$wxUSE_GSTREAMER8" = "no"; then
46340 { echo "$as_me:$LINENO: checking for GST" >&5
46341 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46343 if test -n "$PKG_CONFIG"; then
46344 if test -n "$GST_CFLAGS"; then
46345 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46347 if test -n "$PKG_CONFIG" && \
46348 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46349 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46352 (exit $ac_status); }; then
46353 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46361 if test -n "$PKG_CONFIG"; then
46362 if test -n "$GST_LIBS"; then
46363 pkg_cv_GST_LIBS="$GST_LIBS"
46365 if test -n "$PKG_CONFIG" && \
46366 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46367 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46370 (exit $ac_status); }; then
46371 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46382 if test $pkg_failed = yes; then
46384 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46385 _pkg_short_errors_supported=yes
46387 _pkg_short_errors_supported=no
46389 if test $_pkg_short_errors_supported = yes; then
46390 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46392 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46394 # Put the nasty error message in config.log where it belongs
46395 echo "$GST_PKG_ERRORS" >&5
46398 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46399 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46400 GST_VERSION_MINOR=8
46403 elif test $pkg_failed = untried; then
46405 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46406 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46407 GST_VERSION_MINOR=8
46411 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46412 GST_LIBS=$pkg_cv_GST_LIBS
46413 { echo "$as_me:$LINENO: result: yes" >&5
46414 echo "${ECHO_T}yes" >&6; }
46416 wxUSE_GSTREAMER="yes"
46417 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46421 GST_VERSION_MINOR=8
46424 if test $GST_VERSION_MINOR = "8"; then
46425 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46428 { echo "$as_me:$LINENO: checking for GST" >&5
46429 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46431 if test -n "$PKG_CONFIG"; then
46432 if test -n "$GST_CFLAGS"; then
46433 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46435 if test -n "$PKG_CONFIG" && \
46436 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46437 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46440 (exit $ac_status); }; then
46441 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46449 if test -n "$PKG_CONFIG"; then
46450 if test -n "$GST_LIBS"; then
46451 pkg_cv_GST_LIBS="$GST_LIBS"
46453 if test -n "$PKG_CONFIG" && \
46454 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46455 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46458 (exit $ac_status); }; then
46459 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46470 if test $pkg_failed = yes; then
46472 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46473 _pkg_short_errors_supported=yes
46475 _pkg_short_errors_supported=no
46477 if test $_pkg_short_errors_supported = yes; then
46478 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46480 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46482 # Put the nasty error message in config.log where it belongs
46483 echo "$GST_PKG_ERRORS" >&5
46486 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46487 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46489 elif test $pkg_failed = untried; then
46491 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46492 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46495 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46496 GST_LIBS=$pkg_cv_GST_LIBS
46497 { echo "$as_me:$LINENO: result: yes" >&5
46498 echo "${ECHO_T}yes" >&6; }
46499 wxUSE_GSTREAMER="yes"
46504 if test "$wxUSE_GSTREAMER" = "yes"; then
46505 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46506 EXTRALIBS_MEDIA="$GST_LIBS"
46508 cat >>confdefs.h <<\_ACEOF
46509 #define wxUSE_GSTREAMER 1
46517 if test $USE_MEDIA = 1; then
46518 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46519 cat >>confdefs.h <<\_ACEOF
46520 #define wxUSE_MEDIACTRL 1
46527 if test "$cross_compiling" = "yes"; then
46530 OSINFO=`uname -s -r -m`
46531 OSINFO="\"$OSINFO\""
46534 cat >>confdefs.h <<_ACEOF
46535 #define WXWIN_OS_DESCRIPTION $OSINFO
46540 if test "x$prefix" != "xNONE"; then
46543 wxPREFIX=$ac_default_prefix
46546 cat >>confdefs.h <<_ACEOF
46547 #define wxINSTALL_PREFIX "$wxPREFIX"
46553 STD_BASE_LIBS="base"
46555 BUILT_WX_LIBS="base"
46556 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46558 if test "$wxUSE_SOCKETS" = "yes" ; then
46559 STD_BASE_LIBS="net $STD_BASE_LIBS"
46560 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46562 if test "$wxUSE_XML" = "yes" ; then
46563 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46564 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46567 if test "$wxUSE_GUI" = "yes"; then
46568 STD_GUI_LIBS="adv core"
46569 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46571 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46572 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46573 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46575 if test "$wxUSE_HTML" = "yes" ; then
46576 STD_GUI_LIBS="html $STD_GUI_LIBS"
46577 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46579 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46580 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46582 if test "$wxUSE_OPENGL" = "yes" ; then
46583 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46585 if test "$wxUSE_AUI" = "yes" ; then
46586 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46588 if test "$wxUSE_STC" = "yes" ; then
46589 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46591 if test "$wxUSE_XRC" = "yes" ; then
46592 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46593 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46604 if test "$wxUSE_MAC" = 1 ; then
46605 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46606 if test "$USE_DARWIN" = 1; then
46607 LDFLAGS="$LDFLAGS -framework QuickTime"
46609 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46612 if test "$USE_DARWIN" = 1; then
46613 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System"
46615 LDFLAGS="$LDFLAGS -lCarbonLib"
46618 if test "$wxUSE_COCOA" = 1 ; then
46619 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46620 if test "$wxUSE_MEDIACTRL" = "yes"; then
46621 LDFLAGS="$LDFLAGS -framework QuickTime"
46624 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46625 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46628 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46630 if test "$wxUSE_GUI" = "yes"; then
46633 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46634 erase event exec font image minimal mobile \
46635 mobile/wxedit mobile/styles render \
46636 shaped svg taborder vscroll widgets"
46638 if test "$wxUSE_MONOLITHIC" != "yes"; then
46639 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46641 if test "$TOOLKIT" = "MSW"; then
46642 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46643 if test "$wxUSE_UNIVERSAL" != "yes"; then
46644 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46647 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46648 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46651 SAMPLES_SUBDIRS="console"
46652 if test "$wxUSE_SOCKETS" = "yes" ; then
46653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46655 if test "$wxUSE_IPC" = "yes" ; then
46656 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46661 if test "x$INTELCC" = "xyes" ; then
46662 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46663 elif test "$GCC" = yes ; then
46664 CWARNINGS="-Wall -Wundef"
46667 if test "x$INTELCXX" = "xyes" ; then
46668 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46669 elif test "$GXX" = yes ; then
46670 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46674 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46675 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46678 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46679 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46680 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46683 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46684 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46685 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46686 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
46687 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
46689 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46692 if test "x$MWCC" = "xyes"; then
46694 CC="$CC -cwd source -I-"
46695 CXX="$CXX -cwd source -I-"
46700 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46701 EXTRALIBS_XML="$EXPAT_LINK"
46702 EXTRALIBS_HTML="$MSPACK_LINK"
46703 EXTRALIBS_MEDIA="$GST_LIBS"
46704 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46705 if test "$wxUSE_GUI" = "yes"; then
46706 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46708 if test "$wxUSE_OPENGL" = "yes"; then
46709 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46712 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46714 WXCONFIG_LIBS="$LIBS"
46716 if test "$wxUSE_REGEX" = "builtin" ; then
46717 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46719 if test "$wxUSE_EXPAT" = "builtin" ; then
46720 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46722 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46723 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46725 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46726 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46728 if test "$wxUSE_LIBPNG" = "builtin" ; then
46729 wxconfig_3rdparty="png $wxconfig_3rdparty"
46731 if test "$wxUSE_ZLIB" = "builtin" ; then
46732 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46735 for i in $wxconfig_3rdparty ; do
46736 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46740 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46743 case "$wxUNIV_THEMES" in
46745 cat >>confdefs.h <<\_ACEOF
46746 #define wxUSE_ALL_THEMES 1
46752 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46753 cat >>confdefs.h <<_ACEOF
46754 #define wxUSE_THEME_$t 1
46770 if test $wxUSE_MONOLITHIC = "yes" ; then
46776 if test $wxUSE_PLUGINS = "yes" ; then
46782 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46788 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46821 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
46832 TOOLKIT_DESC="GTK+"
46833 if test "$WXGTK2" = 1; then
46834 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46835 if test "$wxUSE_GTKPRINT" = "yes" ; then
46836 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46838 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46839 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46841 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46842 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46844 if test "$wxUSE_LIBHILDON" = "yes"; then
46845 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46848 if test "$TOOLKIT_EXTRA" != ""; then
46849 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46855 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46859 TOOLKIT_DESC="base only"
46863 if test "$wxUSE_WINE" = "yes"; then
46864 BAKEFILE_FORCE_PLATFORM=win32
46867 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46869 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46870 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46871 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46872 echo $ECHO_N "(cached) $ECHO_C" >&6
46875 echo '#include <stdio.h>
46876 const wchar_t test_var[] = L"awidetest";' > conftest.h
46878 echo '#include "conftest.h"
46881 printf("%ls", test_var);
46885 wx_cv_gcc_pch_bug="pch not supported"
46887 if $CXX conftest.h >/dev/null 2>&1
46891 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46893 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46894 grep awidetest >/dev/null
46896 wx_cv_gcc_pch_bug=no
46898 wx_cv_gcc_pch_bug=yes
46903 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46906 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46907 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46909 if test "$wx_cv_gcc_pch_bug" = yes; then
46920 if test "x$BAKEFILE_HOST" = "x"; then
46921 if test "x${host}" = "x" ; then
46922 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46923 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46924 { (exit 1); exit 1; }; }
46927 BAKEFILE_HOST="${host}"
46930 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46932 if test -n "$ac_tool_prefix"; then
46933 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46934 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46935 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46937 if test "${ac_cv_prog_RANLIB+set}" = set; then
46938 echo $ECHO_N "(cached) $ECHO_C" >&6
46940 if test -n "$RANLIB"; then
46941 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46944 for as_dir in $PATH
46947 test -z "$as_dir" && as_dir=.
46948 for ac_exec_ext in '' $ac_executable_extensions; do
46949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46950 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46960 RANLIB=$ac_cv_prog_RANLIB
46961 if test -n "$RANLIB"; then
46962 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46963 echo "${ECHO_T}$RANLIB" >&6; }
46965 { echo "$as_me:$LINENO: result: no" >&5
46966 echo "${ECHO_T}no" >&6; }
46971 if test -z "$ac_cv_prog_RANLIB"; then
46972 ac_ct_RANLIB=$RANLIB
46973 # Extract the first word of "ranlib", so it can be a program name with args.
46974 set dummy ranlib; ac_word=$2
46975 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46977 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46978 echo $ECHO_N "(cached) $ECHO_C" >&6
46980 if test -n "$ac_ct_RANLIB"; then
46981 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46984 for as_dir in $PATH
46987 test -z "$as_dir" && as_dir=.
46988 for ac_exec_ext in '' $ac_executable_extensions; do
46989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46990 ac_cv_prog_ac_ct_RANLIB="ranlib"
46991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47000 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47001 if test -n "$ac_ct_RANLIB"; then
47002 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47003 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47005 { echo "$as_me:$LINENO: result: no" >&5
47006 echo "${ECHO_T}no" >&6; }
47009 if test "x$ac_ct_RANLIB" = x; then
47012 case $cross_compiling:$ac_tool_warned in
47014 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47015 whose name does not start with the host triplet. If you think this
47016 configuration is useful to you, please write to autoconf@gnu.org." >&5
47017 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47018 whose name does not start with the host triplet. If you think this
47019 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47020 ac_tool_warned=yes ;;
47022 RANLIB=$ac_ct_RANLIB
47025 RANLIB="$ac_cv_prog_RANLIB"
47028 # Find a good install program. We prefer a C program (faster),
47029 # so one script is as good as another. But avoid the broken or
47030 # incompatible versions:
47031 # SysV /etc/install, /usr/sbin/install
47032 # SunOS /usr/etc/install
47033 # IRIX /sbin/install
47035 # AmigaOS /C/install, which installs bootblocks on floppy discs
47036 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47037 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47038 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47039 # OS/2's system install, which has a completely different semantic
47040 # ./install, which can be erroneously created by make from ./install.sh.
47041 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47042 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47043 if test -z "$INSTALL"; then
47044 if test "${ac_cv_path_install+set}" = set; then
47045 echo $ECHO_N "(cached) $ECHO_C" >&6
47047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47048 for as_dir in $PATH
47051 test -z "$as_dir" && as_dir=.
47052 # Account for people who put trailing slashes in PATH elements.
47054 ./ | .// | /cC/* | \
47055 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47056 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47059 # OSF1 and SCO ODT 3.0 have their own names for install.
47060 # Don't use installbsd from OSF since it installs stuff as root
47062 for ac_prog in ginstall scoinst install; do
47063 for ac_exec_ext in '' $ac_executable_extensions; do
47064 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47065 if test $ac_prog = install &&
47066 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47067 # AIX install. It has an incompatible calling convention.
47069 elif test $ac_prog = install &&
47070 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47071 # program-specific install script used by HP pwplus--don't use.
47074 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47087 if test "${ac_cv_path_install+set}" = set; then
47088 INSTALL=$ac_cv_path_install
47090 # As a last resort, use the slow shell script. Don't cache a
47091 # value for INSTALL within a source directory, because that will
47092 # break other packages using the cache if that directory is
47093 # removed, or if the value is a relative name.
47094 INSTALL=$ac_install_sh
47097 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47098 echo "${ECHO_T}$INSTALL" >&6; }
47100 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47101 # It thinks the first close brace ends the variable substitution.
47102 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47104 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47106 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47108 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47109 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47111 if test "$LN_S" = "ln -s"; then
47112 { echo "$as_me:$LINENO: result: yes" >&5
47113 echo "${ECHO_T}yes" >&6; }
47115 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47116 echo "${ECHO_T}no, using $LN_S" >&6; }
47120 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47121 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47122 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47123 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47124 echo $ECHO_N "(cached) $ECHO_C" >&6
47126 cat >conftest.make <<\_ACEOF
47129 @echo '@@@%%%=$(MAKE)=@@@%%%'
47131 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47132 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47133 *@@@%%%=?*=@@@%%%*)
47134 eval ac_cv_prog_make_${ac_make}_set=yes;;
47136 eval ac_cv_prog_make_${ac_make}_set=no;;
47138 rm -f conftest.make
47140 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47141 { echo "$as_me:$LINENO: result: yes" >&5
47142 echo "${ECHO_T}yes" >&6; }
47145 { echo "$as_me:$LINENO: result: no" >&5
47146 echo "${ECHO_T}no" >&6; }
47147 SET_MAKE="MAKE=${MAKE-make}"
47152 if test "x$SUNCXX" = "xyes"; then
47154 AROPTIONS="-xar -o"
47156 elif test "x$SGICC" = "xyes"; then
47161 if test -n "$ac_tool_prefix"; then
47162 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47163 set dummy ${ac_tool_prefix}ar; ac_word=$2
47164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47166 if test "${ac_cv_prog_AR+set}" = set; then
47167 echo $ECHO_N "(cached) $ECHO_C" >&6
47169 if test -n "$AR"; then
47170 ac_cv_prog_AR="$AR" # Let the user override the test.
47172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47173 for as_dir in $PATH
47176 test -z "$as_dir" && as_dir=.
47177 for ac_exec_ext in '' $ac_executable_extensions; do
47178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47179 ac_cv_prog_AR="${ac_tool_prefix}ar"
47180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47190 if test -n "$AR"; then
47191 { echo "$as_me:$LINENO: result: $AR" >&5
47192 echo "${ECHO_T}$AR" >&6; }
47194 { echo "$as_me:$LINENO: result: no" >&5
47195 echo "${ECHO_T}no" >&6; }
47200 if test -z "$ac_cv_prog_AR"; then
47202 # Extract the first word of "ar", so it can be a program name with args.
47203 set dummy ar; ac_word=$2
47204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47206 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47207 echo $ECHO_N "(cached) $ECHO_C" >&6
47209 if test -n "$ac_ct_AR"; then
47210 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47213 for as_dir in $PATH
47216 test -z "$as_dir" && as_dir=.
47217 for ac_exec_ext in '' $ac_executable_extensions; do
47218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47219 ac_cv_prog_ac_ct_AR="ar"
47220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47229 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47230 if test -n "$ac_ct_AR"; then
47231 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47232 echo "${ECHO_T}$ac_ct_AR" >&6; }
47234 { echo "$as_me:$LINENO: result: no" >&5
47235 echo "${ECHO_T}no" >&6; }
47238 if test "x$ac_ct_AR" = x; then
47241 case $cross_compiling:$ac_tool_warned in
47243 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47244 whose name does not start with the host triplet. If you think this
47245 configuration is useful to you, please write to autoconf@gnu.org." >&5
47246 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47247 whose name does not start with the host triplet. If you think this
47248 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47249 ac_tool_warned=yes ;;
47254 AR="$ac_cv_prog_AR"
47261 if test -n "$ac_tool_prefix"; then
47262 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47263 set dummy ${ac_tool_prefix}strip; ac_word=$2
47264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47266 if test "${ac_cv_prog_STRIP+set}" = set; then
47267 echo $ECHO_N "(cached) $ECHO_C" >&6
47269 if test -n "$STRIP"; then
47270 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47273 for as_dir in $PATH
47276 test -z "$as_dir" && as_dir=.
47277 for ac_exec_ext in '' $ac_executable_extensions; do
47278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47279 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47289 STRIP=$ac_cv_prog_STRIP
47290 if test -n "$STRIP"; then
47291 { echo "$as_me:$LINENO: result: $STRIP" >&5
47292 echo "${ECHO_T}$STRIP" >&6; }
47294 { echo "$as_me:$LINENO: result: no" >&5
47295 echo "${ECHO_T}no" >&6; }
47300 if test -z "$ac_cv_prog_STRIP"; then
47302 # Extract the first word of "strip", so it can be a program name with args.
47303 set dummy strip; ac_word=$2
47304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47306 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47307 echo $ECHO_N "(cached) $ECHO_C" >&6
47309 if test -n "$ac_ct_STRIP"; then
47310 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47313 for as_dir in $PATH
47316 test -z "$as_dir" && as_dir=.
47317 for ac_exec_ext in '' $ac_executable_extensions; do
47318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47319 ac_cv_prog_ac_ct_STRIP="strip"
47320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47329 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47330 if test -n "$ac_ct_STRIP"; then
47331 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47332 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47334 { echo "$as_me:$LINENO: result: no" >&5
47335 echo "${ECHO_T}no" >&6; }
47338 if test "x$ac_ct_STRIP" = x; then
47341 case $cross_compiling:$ac_tool_warned in
47343 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47344 whose name does not start with the host triplet. If you think this
47345 configuration is useful to you, please write to autoconf@gnu.org." >&5
47346 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47347 whose name does not start with the host triplet. If you think this
47348 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47349 ac_tool_warned=yes ;;
47354 STRIP="$ac_cv_prog_STRIP"
47357 if test -n "$ac_tool_prefix"; then
47358 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47359 set dummy ${ac_tool_prefix}nm; ac_word=$2
47360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47362 if test "${ac_cv_prog_NM+set}" = set; then
47363 echo $ECHO_N "(cached) $ECHO_C" >&6
47365 if test -n "$NM"; then
47366 ac_cv_prog_NM="$NM" # Let the user override the test.
47368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47369 for as_dir in $PATH
47372 test -z "$as_dir" && as_dir=.
47373 for ac_exec_ext in '' $ac_executable_extensions; do
47374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47375 ac_cv_prog_NM="${ac_tool_prefix}nm"
47376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47386 if test -n "$NM"; then
47387 { echo "$as_me:$LINENO: result: $NM" >&5
47388 echo "${ECHO_T}$NM" >&6; }
47390 { echo "$as_me:$LINENO: result: no" >&5
47391 echo "${ECHO_T}no" >&6; }
47396 if test -z "$ac_cv_prog_NM"; then
47398 # Extract the first word of "nm", so it can be a program name with args.
47399 set dummy nm; ac_word=$2
47400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47402 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47403 echo $ECHO_N "(cached) $ECHO_C" >&6
47405 if test -n "$ac_ct_NM"; then
47406 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47409 for as_dir in $PATH
47412 test -z "$as_dir" && as_dir=.
47413 for ac_exec_ext in '' $ac_executable_extensions; do
47414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47415 ac_cv_prog_ac_ct_NM="nm"
47416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47425 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47426 if test -n "$ac_ct_NM"; then
47427 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47428 echo "${ECHO_T}$ac_ct_NM" >&6; }
47430 { echo "$as_me:$LINENO: result: no" >&5
47431 echo "${ECHO_T}no" >&6; }
47434 if test "x$ac_ct_NM" = x; then
47437 case $cross_compiling:$ac_tool_warned in
47439 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47440 whose name does not start with the host triplet. If you think this
47441 configuration is useful to you, please write to autoconf@gnu.org." >&5
47442 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47443 whose name does not start with the host triplet. If you think this
47444 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47445 ac_tool_warned=yes ;;
47450 NM="$ac_cv_prog_NM"
47454 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47455 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47456 INSTALL_TEST_DIR=acbftest$$
47457 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47458 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47459 rmdir $INSTALL_TEST_DIR
47460 INSTALL_DIR='$(INSTALL) -d'
47461 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47462 echo "${ECHO_T}$INSTALL -d" >&6; }
47464 INSTALL_DIR="mkdir -p"
47465 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47466 echo "${ECHO_T}mkdir -p" >&6; }
47471 case ${BAKEFILE_HOST} in
47472 *-*-cygwin* | *-*-mingw32* )
47473 LDFLAGS_GUI="-mwindows"
47479 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47480 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47481 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47482 echo $ECHO_N "(cached) $ECHO_C" >&6
47485 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47486 egrep -s GNU > /dev/null); then
47487 bakefile_cv_prog_makeisgnu="yes"
47489 bakefile_cv_prog_makeisgnu="no"
47493 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47494 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47496 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47513 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47514 case "${BAKEFILE_HOST}" in
47521 *-pc-os2_emx | *-pc-os2-emx )
47531 powerpc-apple-macos* )
47540 case "$BAKEFILE_FORCE_PLATFORM" in
47575 # Check whether --enable-omf was given.
47576 if test "${enable_omf+set}" = set; then
47577 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47581 case "${BAKEFILE_HOST}" in
47583 if test "x$GCC" = "xyes"; then
47584 CFLAGS="$CFLAGS -fno-common"
47585 CXXFLAGS="$CXXFLAGS -fno-common"
47587 if test "x$XLCC" = "xyes"; then
47588 CFLAGS="$CFLAGS -qnocommon"
47589 CXXFLAGS="$CXXFLAGS -qnocommon"
47593 *-pc-os2_emx | *-pc-os2-emx )
47594 if test "x$bk_os2_use_omf" = "xyes" ; then
47597 LDFLAGS="-Zomf $LDFLAGS"
47598 CFLAGS="-Zomf $CFLAGS"
47599 CXXFLAGS="-Zomf $CXXFLAGS"
47607 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47613 SO_SUFFIX_MODULE="so"
47618 DLLPREFIX_MODULE=""
47622 case "${BAKEFILE_HOST}" in
47625 SO_SUFFIX_MODULE="sl"
47629 SO_SUFFIX_MODULE="a"
47633 SO_SUFFIX_MODULE="dll"
47634 DLLIMP_SUFFIX="dll.a"
47641 SO_SUFFIX_MODULE="dll"
47642 DLLIMP_SUFFIX="dll.a"
47652 *-pc-os2_emx | *-pc-os2-emx )
47654 SO_SUFFIX_MODULE="dll"
47655 DLLIMP_SUFFIX=$OS2_LIBEXT
47659 LIBEXT=".$OS2_LIBEXT"
47664 SO_SUFFIX_MODULE="bundle"
47668 if test "x$DLLIMP_SUFFIX" = "x" ; then
47669 DLLIMP_SUFFIX="$SO_SUFFIX"
47684 if test "x$GCC" = "xyes"; then
47688 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47689 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47692 case "${BAKEFILE_HOST}" in
47694 if test "x$GCC" != "xyes"; then
47695 LDFLAGS="$LDFLAGS -L/usr/lib"
47697 SHARED_LD_CC="${CC} -b -o"
47698 SHARED_LD_CXX="${CXX} -b -o"
47704 if test "$INTELCC" = "yes"; then
47706 elif test "x$SUNCXX" = "xyes"; then
47707 SHARED_LD_CC="${CC} -G -o"
47708 SHARED_LD_CXX="${CXX} -G -o"
47714 if test "x$SUNCXX" = xyes ; then
47715 SHARED_LD_CC="${CC} -G -o"
47716 SHARED_LD_CXX="${CXX} -G -o"
47724 cat <<EOF >shared-ld-sh
47726 #-----------------------------------------------------------------------------
47727 #-- Name: distrib/mac/shared-ld-sh
47728 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47729 #-- Author: Gilles Depeyrot
47730 #-- Copyright: (c) 2002 Gilles Depeyrot
47731 #-- Licence: any use permitted
47732 #-----------------------------------------------------------------------------
47737 linking_flag="-dynamiclib"
47738 ldargs="-r -keep_private_externs -nostdlib"
47740 if test "x${D}CXX" = "x"; then
47744 while test ${D}# -gt 0; do
47751 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47752 # collect these options and values
47753 args="${D}{args} ${D}1 ${D}2"
47758 # collect these options and values
47759 ldargs="${D}{ldargs} ${D}1 ${D}2"
47764 # collect these load args
47765 ldargs="${D}{ldargs} ${D}1"
47768 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47769 # collect these options
47770 args="${D}{args} ${D}1"
47773 -dynamiclib|-bundle)
47774 linking_flag="${D}1"
47778 echo "shared-ld: unhandled option '${D}1'"
47782 *.o | *.a | *.dylib)
47783 # collect object files
47784 objects="${D}{objects} ${D}1"
47788 echo "shared-ld: unhandled argument '${D}1'"
47799 # Link one module containing all the others
47801 if test ${D}{verbose} = 1; then
47802 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47804 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47808 # Link the shared library from the single module created, but only if the
47809 # previous command didn't fail:
47811 if test ${D}{status} = 0; then
47812 if test ${D}{verbose} = 1; then
47813 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47815 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47820 # Remove intermediate module
47822 rm -f master.${D}${D}.o
47827 chmod +x shared-ld-sh
47829 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47830 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
47833 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47834 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47835 if test "${bakefile_cv_gcc31+set}" = set; then
47836 echo $ECHO_N "(cached) $ECHO_C" >&6
47839 cat >conftest.$ac_ext <<_ACEOF
47842 cat confdefs.h >>conftest.$ac_ext
47843 cat >>conftest.$ac_ext <<_ACEOF
47844 /* end confdefs.h. */
47850 #if (__GNUC__ < 3) || \
47851 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47859 rm -f conftest.$ac_objext
47860 if { (ac_try="$ac_compile"
47861 case "(($ac_try" in
47862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47863 *) ac_try_echo=$ac_try;;
47865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47866 (eval "$ac_compile") 2>conftest.er1
47868 grep -v '^ *+' conftest.er1 >conftest.err
47870 cat conftest.err >&5
47871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47872 (exit $ac_status); } && {
47873 test -z "$ac_c_werror_flag" ||
47874 test ! -s conftest.err
47875 } && test -s conftest.$ac_objext; then
47877 bakefile_cv_gcc31=yes
47880 echo "$as_me: failed program was:" >&5
47881 sed 's/^/| /' conftest.$ac_ext >&5
47884 bakefile_cv_gcc31=no
47889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47892 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47893 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47894 if test "$bakefile_cv_gcc31" = "no"; then
47895 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47896 SHARED_LD_CXX="$SHARED_LD_CC"
47898 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47899 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47902 if test "x$GCC" == "xyes"; then
47903 PIC_FLAG="-dynamic -fPIC"
47905 if test "x$XLCC" = "xyes"; then
47906 PIC_FLAG="-dynamic -DPIC"
47911 if test "x$GCC" = "xyes"; then
47914 case "${BAKEFILE_HOST}" in
47916 LD_EXPFULL="-Wl,-bexpfull"
47920 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47921 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47923 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47924 set dummy makeC++SharedLib; ac_word=$2
47925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47927 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47928 echo $ECHO_N "(cached) $ECHO_C" >&6
47930 if test -n "$AIX_CXX_LD"; then
47931 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47934 for as_dir in $PATH
47937 test -z "$as_dir" && as_dir=.
47938 for ac_exec_ext in '' $ac_executable_extensions; do
47939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47940 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47948 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47951 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47952 if test -n "$AIX_CXX_LD"; then
47953 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47954 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47956 { echo "$as_me:$LINENO: result: no" >&5
47957 echo "${ECHO_T}no" >&6; }
47961 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47962 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47967 SHARED_LD_CC="${LD} -nostart -o"
47968 SHARED_LD_CXX="${LD} -nostart -o"
47972 if test "x$GCC" != "xyes"; then
47977 *-*-cygwin* | *-*-mingw32* )
47979 SHARED_LD_CC="\$(CC) -shared -o"
47980 SHARED_LD_CXX="\$(CXX) -shared -o"
47984 *-pc-os2_emx | *-pc-os2-emx )
47985 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47986 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47990 cat <<EOF >dllar.sh
47993 # dllar - a tool to build both a .dll and an .a file
47994 # from a set of object (.o) files for EMX/OS2.
47996 # Written by Andrew Zabolotny, bit@freya.etu.ru
47997 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47999 # This script will accept a set of files on the command line.
48000 # All the public symbols from the .o files will be exported into
48001 # a .DEF file, then linker will be run (through gcc) against them to
48002 # build a shared library consisting of all given .o files. All libraries
48003 # (.a) will be first decompressed into component .o files then act as
48004 # described above. You can optionally give a description (-d "description")
48005 # which will be put into .DLL. To see the list of accepted options (as well
48006 # as command-line format) simply run this program without options. The .DLL
48007 # is built to be imported by name (there is no guarantee that new versions
48008 # of the library you build will have same ordinals for same symbols).
48010 # dllar is free software; you can redistribute it and/or modify
48011 # it under the terms of the GNU General Public License as published by
48012 # the Free Software Foundation; either version 2, or (at your option)
48013 # any later version.
48015 # dllar is distributed in the hope that it will be useful,
48016 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48017 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48018 # GNU General Public License for more details.
48020 # You should have received a copy of the GNU General Public License
48021 # along with dllar; see the file COPYING. If not, write to the Free
48022 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48025 # To successfuly run this program you will need:
48026 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48027 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48029 # (used to build the .dll)
48031 # (used to create .def file from .o files)
48033 # (used to create .a file from .def file)
48034 # - GNU text utilites (cat, sort, uniq)
48035 # used to process emxexp output
48036 # - GNU file utilities (mv, rm)
48038 # - lxlite (optional, see flag below)
48039 # (used for general .dll cleanup)
48046 # basnam, variant of basename, which does _not_ remove the path, _iff_
48047 # second argument (suffix to remove) is given
48051 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48054 echo ${D}1 | sed 's/'${D}2'${D}//'
48057 echo "error in basnam ${D}*"
48063 # Cleanup temporary files and output
48066 for i in ${D}inputFiles ; do
48069 rm -rf \`basnam ${D}i !\`
48076 # Kill result in case of failure as there is just to many stupid make/nmake
48077 # things out there which doesn't do this.
48078 if [ ${D}# -eq 0 ]; then
48079 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48083 # Print usage and exit script with rc=1.
48085 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48086 echo ' [-name-mangler-script script.sh]'
48087 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48088 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48089 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48090 echo ' [*.o] [*.a]'
48091 echo '*> "output_file" should have no extension.'
48092 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48093 echo ' The import library name is derived from this and is set to "name".a,'
48094 echo ' unless overridden by -import'
48095 echo '*> "importlib_name" should have no extension.'
48096 echo ' If it has the .o, or .a extension, it is automatically removed.'
48097 echo ' This name is used as the import library name and may be longer and'
48098 echo ' more descriptive than the DLL name which has to follow the old '
48099 echo ' 8.3 convention of FAT.'
48100 echo '*> "script.sh may be given to override the output_file name by a'
48101 echo ' different name. It is mainly useful if the regular make process'
48102 echo ' of some package does not take into account OS/2 restriction of'
48103 echo ' DLL name lengths. It takes the importlib name as input and is'
48104 echo ' supposed to procude a shorter name as output. The script should'
48105 echo ' expect to get importlib_name without extension and should produce'
48106 echo ' a (max.) 8 letter name without extension.'
48107 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48108 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48109 echo ' These flags will be put at the start of GCC command line.'
48110 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48111 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48112 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48113 echo ' If the last character of a symbol is "*", all symbols beginning'
48114 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48115 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48116 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48117 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48118 echo ' C runtime DLLs.'
48119 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48120 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48121 echo ' unchanged to GCC at the end of command line.'
48122 echo '*> If you create a DLL from a library and you do not specify -o,'
48123 echo ' the basename for DLL and import library will be set to library name,'
48124 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48125 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48126 echo ' library will be renamed into gcc_s.a.'
48129 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48130 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48135 # Execute a command.
48136 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48137 # @Uses Whatever CleanUp() uses.
48143 if [ ${D}rcCmd -ne 0 ]; then
48144 echo "command failed, exit code="${D}rcCmd
48159 CFLAGS="-s -Zcrtdll"
48161 EXPORT_BY_ORDINALS=0
48166 case ${D}curDirS in
48170 curDirS=${D}{curDirS}"/"
48173 # Parse commandline
48176 while [ ${D}1 ]; do
48179 EXPORT_BY_ORDINALS=1;
48189 -name-mangler-script)
48210 exclude_symbols=${D}{exclude_symbols}${D}1" "
48214 library_flags=${D}{library_flags}${D}1" "
48233 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48236 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48237 if [ ${D}omfLinking -eq 1 ]; then
48238 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48240 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48245 if [ ${D}libsToLink -ne 0 ]; then
48246 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48248 for file in ${D}1 ; do
48249 if [ -f ${D}file ]; then
48250 inputFiles="${D}{inputFiles} ${D}file"
48254 if [ ${D}found -eq 0 ]; then
48255 echo "ERROR: No file(s) found: "${D}1
48262 done # iterate cmdline words
48265 if [ -z "${D}inputFiles" ]; then
48266 echo "dllar: no input files"
48270 # Now extract all .o files from .a files
48272 for file in ${D}inputFiles ; do
48283 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48288 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48290 if [ ${D}? -ne 0 ]; then
48291 echo "Failed to create subdirectory ./${D}dirname"
48295 # Append '!' to indicate archive
48296 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48297 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48300 for subfile in ${D}dirname/*.o* ; do
48301 if [ -f ${D}subfile ]; then
48303 if [ -s ${D}subfile ]; then
48304 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48305 newInputFiles="${D}newInputFiles ${D}subfile"
48309 if [ ${D}found -eq 0 ]; then
48310 echo "WARNING: there are no files in archive \\'${D}file\\'"
48314 newInputFiles="${D}{newInputFiles} ${D}file"
48318 inputFiles="${D}newInputFiles"
48320 # Output filename(s).
48322 if [ -z ${D}outFile ]; then
48324 set outFile ${D}inputFiles; outFile=${D}2
48327 # If it is an archive, remove the '!' and the '_%' suffixes
48328 case ${D}outFile in
48330 outFile=\`basnam ${D}outFile _%!\`
48335 case ${D}outFile in
48337 outFile=\`basnam ${D}outFile .dll\`
48340 outFile=\`basnam ${D}outFile .DLL\`
48343 outFile=\`basnam ${D}outFile .o\`
48346 outFile=\`basnam ${D}outFile .obj\`
48349 outFile=\`basnam ${D}outFile .a\`
48352 outFile=\`basnam ${D}outFile .lib\`
48357 case ${D}outimpFile in
48359 outimpFile=\`basnam ${D}outimpFile .a\`
48362 outimpFile=\`basnam ${D}outimpFile .lib\`
48367 if [ -z ${D}outimpFile ]; then
48368 outimpFile=${D}outFile
48370 defFile="${D}{outFile}.def"
48371 arcFile="${D}{outimpFile}.a"
48372 arcFile2="${D}{outimpFile}.lib"
48374 #create ${D}dllFile as something matching 8.3 restrictions,
48375 if [ -z ${D}renameScript ] ; then
48376 dllFile="${D}outFile"
48378 dllFile=\`${D}renameScript ${D}outimpFile\`
48381 if [ ${D}do_backup -ne 0 ] ; then
48382 if [ -f ${D}arcFile ] ; then
48383 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48385 if [ -f ${D}arcFile2 ] ; then
48386 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48390 # Extract public symbols from all the object files.
48391 tmpdefFile=${D}{defFile}_%
48392 rm -f ${D}tmpdefFile
48393 for file in ${D}inputFiles ; do
48398 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48403 # Create the def file.
48405 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48406 dllFile="${D}{dllFile}.dll"
48407 if [ ! -z ${D}description ]; then
48408 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48410 echo "EXPORTS" >> ${D}defFile
48412 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48413 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48415 # Checks if the export is ok or not.
48416 for word in ${D}exclude_symbols; do
48417 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48418 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48422 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48423 sed "=" < ${D}tmpdefFile | \\
48427 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48429 ' > ${D}{tmpdefFile}%
48430 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48432 rm -f ${D}{tmpdefFile}%
48434 cat ${D}tmpdefFile >> ${D}defFile
48435 rm -f ${D}tmpdefFile
48437 # Do linking, create implib, and apply lxlite.
48439 for file in ${D}inputFiles ; do
48444 gccCmdl="${D}gccCmdl ${D}file"
48448 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48449 touch "${D}{outFile}.dll"
48451 doCommand "emximp -o ${D}arcFile ${D}defFile"
48452 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48454 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48457 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48459 doCommand "emxomf -s -l ${D}arcFile"
48469 powerpc-apple-macos* | \
48470 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48480 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48481 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48482 { (exit 1); exit 1; }; }
48485 if test "x$PIC_FLAG" != "x" ; then
48486 PIC_FLAG="$PIC_FLAG -DPIC"
48489 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48490 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48492 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48493 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48512 case "${BAKEFILE_HOST}" in
48513 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
48514 *-*-k*bsd*-gnu | *-*-mirbsd* )
48515 if test "x$SUNCXX" = "xyes"; then
48518 SONAME_FLAG="-Wl,-soname,"
48553 # Check whether --enable-dependency-tracking was given.
48554 if test "${enable_dependency_tracking+set}" = set; then
48555 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48559 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48560 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48563 if test "x$bk_use_trackdeps" = "xno" ; then
48565 { echo "$as_me:$LINENO: result: disabled" >&5
48566 echo "${ECHO_T}disabled" >&6; }
48570 if test "x$GCC" = "xyes"; then
48572 case "${BAKEFILE_HOST}" in
48574 DEPSFLAG="-no-cpp-precomp -MMD"
48580 { echo "$as_me:$LINENO: result: gcc" >&5
48581 echo "${ECHO_T}gcc" >&6; }
48582 elif test "x$MWCC" = "xyes"; then
48585 { echo "$as_me:$LINENO: result: mwcc" >&5
48586 echo "${ECHO_T}mwcc" >&6; }
48587 elif test "x$SUNCC" = "xyes"; then
48590 { echo "$as_me:$LINENO: result: Sun cc" >&5
48591 echo "${ECHO_T}Sun cc" >&6; }
48592 elif test "x$SGICC" = "xyes"; then
48595 { echo "$as_me:$LINENO: result: SGI cc" >&5
48596 echo "${ECHO_T}SGI cc" >&6; }
48597 elif test "x$HPCC" = "xyes"; then
48600 { echo "$as_me:$LINENO: result: HP cc" >&5
48601 echo "${ECHO_T}HP cc" >&6; }
48602 elif test "x$COMPAQCC" = "xyes"; then
48605 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48606 echo "${ECHO_T}Compaq cc" >&6; }
48609 { echo "$as_me:$LINENO: result: none" >&5
48610 echo "${ECHO_T}none" >&6; }
48613 if test $DEPS_TRACKING = 1 ; then
48619 # This script is part of Bakefile (http://www.bakefile.org) autoconf
48620 # script. It is used to track C/C++ files dependencies in portable way.
48622 # Permission is given to use this file in any way.
48624 DEPSMODE=${DEPSMODE}
48626 DEPSFLAG="${DEPSFLAG}"
48628 mkdir -p ${D}DEPSDIR
48630 if test ${D}DEPSMODE = gcc ; then
48631 ${D}* ${D}{DEPSFLAG}
48634 # determine location of created files:
48635 while test ${D}# -gt 0; do
48649 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48650 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48652 # if the compiler failed, we're done:
48653 if test ${D}{status} != 0 ; then
48658 # move created file to the location we want it in:
48659 if test -f ${D}depfile ; then
48660 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48663 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48664 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48665 if test ! -f ${D}depfile ; then
48666 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48667 depfile="${D}objfile.d"
48669 if test -f ${D}depfile ; then
48670 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48675 elif test ${D}DEPSMODE = mwcc ; then
48676 ${D}* || exit ${D}?
48677 # Run mwcc again with -MM and redirect into the dep file we want
48678 # NOTE: We can't use shift here because we need ${D}* to be valid
48680 for arg in ${D}* ; do
48681 if test "${D}prevarg" = "-o"; then
48694 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48696 elif test ${D}DEPSMODE = unixcc; then
48697 ${D}* || exit ${D}?
48698 # Run compiler again with deps flag and redirect into the dep file.
48699 # It doesn't work if the '-o FILE' option is used, but without it the
48700 # dependency file will contain the wrong name for the object. So it is
48701 # removed from the command line, and the dep file is fixed with sed.
48703 while test ${D}# -gt 0; do
48710 eval arg${D}#=\\${D}1
48711 cmd="${D}cmd \\${D}arg${D}#"
48716 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48725 BK_DEPS="`pwd`/bk-deps"
48733 case ${BAKEFILE_HOST} in
48734 *-*-cygwin* | *-*-mingw32* )
48735 if test -n "$ac_tool_prefix"; then
48736 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48737 set dummy ${ac_tool_prefix}windres; ac_word=$2
48738 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48740 if test "${ac_cv_prog_WINDRES+set}" = set; then
48741 echo $ECHO_N "(cached) $ECHO_C" >&6
48743 if test -n "$WINDRES"; then
48744 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48747 for as_dir in $PATH
48750 test -z "$as_dir" && as_dir=.
48751 for ac_exec_ext in '' $ac_executable_extensions; do
48752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48753 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48763 WINDRES=$ac_cv_prog_WINDRES
48764 if test -n "$WINDRES"; then
48765 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48766 echo "${ECHO_T}$WINDRES" >&6; }
48768 { echo "$as_me:$LINENO: result: no" >&5
48769 echo "${ECHO_T}no" >&6; }
48774 if test -z "$ac_cv_prog_WINDRES"; then
48775 ac_ct_WINDRES=$WINDRES
48776 # Extract the first word of "windres", so it can be a program name with args.
48777 set dummy windres; ac_word=$2
48778 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48780 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48781 echo $ECHO_N "(cached) $ECHO_C" >&6
48783 if test -n "$ac_ct_WINDRES"; then
48784 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48787 for as_dir in $PATH
48790 test -z "$as_dir" && as_dir=.
48791 for ac_exec_ext in '' $ac_executable_extensions; do
48792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48793 ac_cv_prog_ac_ct_WINDRES="windres"
48794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48803 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48804 if test -n "$ac_ct_WINDRES"; then
48805 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48806 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48808 { echo "$as_me:$LINENO: result: no" >&5
48809 echo "${ECHO_T}no" >&6; }
48812 if test "x$ac_ct_WINDRES" = x; then
48815 case $cross_compiling:$ac_tool_warned in
48817 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48818 whose name does not start with the host triplet. If you think this
48819 configuration is useful to you, please write to autoconf@gnu.org." >&5
48820 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48821 whose name does not start with the host triplet. If you think this
48822 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48823 ac_tool_warned=yes ;;
48825 WINDRES=$ac_ct_WINDRES
48828 WINDRES="$ac_cv_prog_WINDRES"
48833 *-*-darwin* | powerpc-apple-macos* )
48834 # Extract the first word of "Rez", so it can be a program name with args.
48835 set dummy Rez; ac_word=$2
48836 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48838 if test "${ac_cv_prog_REZ+set}" = set; then
48839 echo $ECHO_N "(cached) $ECHO_C" >&6
48841 if test -n "$REZ"; then
48842 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48845 for as_dir in $PATH
48848 test -z "$as_dir" && as_dir=.
48849 for ac_exec_ext in '' $ac_executable_extensions; do
48850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48851 ac_cv_prog_REZ="Rez"
48852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48859 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48862 REZ=$ac_cv_prog_REZ
48863 if test -n "$REZ"; then
48864 { echo "$as_me:$LINENO: result: $REZ" >&5
48865 echo "${ECHO_T}$REZ" >&6; }
48867 { echo "$as_me:$LINENO: result: no" >&5
48868 echo "${ECHO_T}no" >&6; }
48872 # Extract the first word of "SetFile", so it can be a program name with args.
48873 set dummy SetFile; ac_word=$2
48874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48876 if test "${ac_cv_prog_SETFILE+set}" = set; then
48877 echo $ECHO_N "(cached) $ECHO_C" >&6
48879 if test -n "$SETFILE"; then
48880 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48883 for as_dir in $PATH
48886 test -z "$as_dir" && as_dir=.
48887 for ac_exec_ext in '' $ac_executable_extensions; do
48888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48889 ac_cv_prog_SETFILE="SetFile"
48890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48897 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48900 SETFILE=$ac_cv_prog_SETFILE
48901 if test -n "$SETFILE"; then
48902 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48903 echo "${ECHO_T}$SETFILE" >&6; }
48905 { echo "$as_me:$LINENO: result: no" >&5
48906 echo "${ECHO_T}no" >&6; }
48918 BAKEFILE_BAKEFILE_M4_VERSION="0.2.3"
48921 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.3"
48925 # Check whether --enable-precomp-headers was given.
48926 if test "${enable_precomp_headers+set}" = set; then
48927 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48936 case ${BAKEFILE_HOST} in
48942 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48943 if test "x$GCC" = "xyes"; then
48944 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48945 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48946 cat >conftest.$ac_ext <<_ACEOF
48949 cat confdefs.h >>conftest.$ac_ext
48950 cat >>conftest.$ac_ext <<_ACEOF
48951 /* end confdefs.h. */
48957 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48958 There is no PCH support
48961 There is no PCH support
48963 #if (__GNUC__ == 3) && \
48964 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48965 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48966 ( defined(__INTEL_COMPILER) )
48967 There is no PCH support
48974 rm -f conftest.$ac_objext
48975 if { (ac_try="$ac_compile"
48976 case "(($ac_try" in
48977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48978 *) ac_try_echo=$ac_try;;
48980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48981 (eval "$ac_compile") 2>conftest.er1
48983 grep -v '^ *+' conftest.er1 >conftest.err
48985 cat conftest.err >&5
48986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48987 (exit $ac_status); } && {
48988 test -z "$ac_c_werror_flag" ||
48989 test ! -s conftest.err
48990 } && test -s conftest.$ac_objext; then
48992 { echo "$as_me:$LINENO: result: yes" >&5
48993 echo "${ECHO_T}yes" >&6; }
48997 echo "$as_me: failed program was:" >&5
48998 sed 's/^/| /' conftest.$ac_ext >&5
49001 cat >conftest.$ac_ext <<_ACEOF
49004 cat confdefs.h >>conftest.$ac_ext
49005 cat >>conftest.$ac_ext <<_ACEOF
49006 /* end confdefs.h. */
49012 #if !defined(__INTEL_COMPILER) || \
49013 (__INTEL_COMPILER < 800)
49014 There is no PCH support
49021 rm -f conftest.$ac_objext
49022 if { (ac_try="$ac_compile"
49023 case "(($ac_try" in
49024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49025 *) ac_try_echo=$ac_try;;
49027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49028 (eval "$ac_compile") 2>conftest.er1
49030 grep -v '^ *+' conftest.er1 >conftest.err
49032 cat conftest.err >&5
49033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49034 (exit $ac_status); } && {
49035 test -z "$ac_c_werror_flag" ||
49036 test ! -s conftest.err
49037 } && test -s conftest.$ac_objext; then
49039 { echo "$as_me:$LINENO: result: yes" >&5
49040 echo "${ECHO_T}yes" >&6; }
49044 echo "$as_me: failed program was:" >&5
49045 sed 's/^/| /' conftest.$ac_ext >&5
49048 { echo "$as_me:$LINENO: result: no" >&5
49049 echo "${ECHO_T}no" >&6; }
49053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49058 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49062 cat <<EOF >bk-make-pch
49065 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49066 # script. It is used to generated precompiled headers.
49068 # Permission is given to use this file in any way.
49078 while test ${D}{#} -gt 0; do
49082 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49083 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49084 headerfile="${D}{incdir}/${D}{header}"
49087 -use-pch|-use_pch )
49092 if test ${D}add_to_cmdline = 1 ; then
49093 compiler="${D}{compiler} ${D}{1}"
49098 if test "x${D}{headerfile}" = "x" ; then
49099 echo "error: can't find header ${D}{header} in include paths" >&2
49101 if test -f ${D}{outfile} ; then
49102 rm -f ${D}{outfile}
49104 mkdir -p \`dirname ${D}{outfile}\`
49106 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49108 if test "x${GCC_PCH}" = "x1" ; then
49109 # can do this because gcc is >= 3.4:
49110 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49111 elif test "x${ICC_PCH}" = "x1" ; then
49112 filename=pch_gen-${D}${D}
49113 file=${D}{filename}.c
49114 dfile=${D}{filename}.d
49115 cat > ${D}file <<EOT
49116 #include "${D}header"
49118 # using -MF icc complains about differing command lines in creation/use
49119 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49120 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49121 rm -f ${D}file ${D}dfile ${D}{filename}.o
49127 chmod +x bk-make-pch
49128 BK_MAKE_PCH="`pwd`/bk-make-pch"
49137 COND_BUILD_DEBUG="#"
49138 if test "x$BUILD" = "xdebug" ; then
49139 COND_BUILD_DEBUG=""
49142 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49143 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49144 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49147 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49148 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49149 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49152 COND_BUILD_DEBUG_UNICODE_0="#"
49153 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49154 COND_BUILD_DEBUG_UNICODE_0=""
49157 COND_BUILD_DEBUG_UNICODE_1="#"
49158 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49159 COND_BUILD_DEBUG_UNICODE_1=""
49162 COND_BUILD_RELEASE="#"
49163 if test "x$BUILD" = "xrelease" ; then
49164 COND_BUILD_RELEASE=""
49167 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49168 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49169 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49172 COND_BUILD_RELEASE_UNICODE_0="#"
49173 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49174 COND_BUILD_RELEASE_UNICODE_0=""
49177 COND_BUILD_RELEASE_UNICODE_1="#"
49178 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49179 COND_BUILD_RELEASE_UNICODE_1=""
49182 COND_DEBUG_FLAG_1="#"
49183 if test "x$DEBUG_FLAG" = "x1" ; then
49184 COND_DEBUG_FLAG_1=""
49187 COND_DEBUG_INFO_0="#"
49188 if test "x$DEBUG_INFO" = "x0" ; then
49189 COND_DEBUG_INFO_0=""
49192 COND_DEBUG_INFO_1="#"
49193 if test "x$DEBUG_INFO" = "x1" ; then
49194 COND_DEBUG_INFO_1=""
49197 COND_DEPS_TRACKING_0="#"
49198 if test "x$DEPS_TRACKING" = "x0" ; then
49199 COND_DEPS_TRACKING_0=""
49202 COND_DEPS_TRACKING_1="#"
49203 if test "x$DEPS_TRACKING" = "x1" ; then
49204 COND_DEPS_TRACKING_1=""
49208 if test "x$GCC_PCH" = "x1" ; then
49213 if test "x$ICC_PCH" = "x1" ; then
49217 COND_MONOLITHIC_0="#"
49218 if test "x$MONOLITHIC" = "x0" ; then
49219 COND_MONOLITHIC_0=""
49222 COND_MONOLITHIC_0_SHARED_0="#"
49223 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49224 COND_MONOLITHIC_0_SHARED_0=""
49227 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49228 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49229 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49232 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49233 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49234 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49237 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49238 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49239 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49242 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49243 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49244 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49247 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49248 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49249 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49252 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49253 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49254 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49257 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49258 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49259 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49262 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49263 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49264 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49267 COND_MONOLITHIC_0_SHARED_1="#"
49268 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49269 COND_MONOLITHIC_0_SHARED_1=""
49272 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49273 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49274 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49277 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49278 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49279 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49282 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49283 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49284 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49287 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49288 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49289 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49292 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49293 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49294 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49297 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49298 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49299 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49302 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49303 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49304 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49307 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49308 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49309 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49312 COND_MONOLITHIC_0_USE_AUI_1="#"
49313 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49314 COND_MONOLITHIC_0_USE_AUI_1=""
49317 COND_MONOLITHIC_0_USE_GUI_1="#"
49318 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49319 COND_MONOLITHIC_0_USE_GUI_1=""
49322 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49323 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49324 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49327 COND_MONOLITHIC_0_USE_HTML_1="#"
49328 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49329 COND_MONOLITHIC_0_USE_HTML_1=""
49332 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49333 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49334 COND_MONOLITHIC_0_USE_MEDIA_1=""
49337 COND_MONOLITHIC_0_USE_QA_1="#"
49338 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49339 COND_MONOLITHIC_0_USE_QA_1=""
49342 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49343 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49344 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49347 COND_MONOLITHIC_0_USE_STC_1="#"
49348 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49349 COND_MONOLITHIC_0_USE_STC_1=""
49352 COND_MONOLITHIC_0_USE_XRC_1="#"
49353 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49354 COND_MONOLITHIC_0_USE_XRC_1=""
49357 COND_MONOLITHIC_1="#"
49358 if test "x$MONOLITHIC" = "x1" ; then
49359 COND_MONOLITHIC_1=""
49362 COND_MONOLITHIC_1_SHARED_0="#"
49363 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49364 COND_MONOLITHIC_1_SHARED_0=""
49367 COND_MONOLITHIC_1_SHARED_1="#"
49368 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49369 COND_MONOLITHIC_1_SHARED_1=""
49372 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49373 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49374 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49377 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49378 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49379 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49382 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49383 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49384 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49387 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49388 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49389 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49392 COND_PLATFORM_MACOSX_1="#"
49393 if test "x$PLATFORM_MACOSX" = "x1" ; then
49394 COND_PLATFORM_MACOSX_1=""
49397 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49398 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49399 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49402 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49403 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49404 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49407 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49408 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49409 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49412 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49413 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49414 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49417 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49418 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49419 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49422 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49423 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49424 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49427 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49428 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49429 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49432 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49433 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49434 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49437 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49438 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49439 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49442 COND_PLATFORM_MACOS_1="#"
49443 if test "x$PLATFORM_MACOS" = "x1" ; then
49444 COND_PLATFORM_MACOS_1=""
49447 COND_PLATFORM_MAC_0="#"
49448 if test "x$PLATFORM_MAC" = "x0" ; then
49449 COND_PLATFORM_MAC_0=""
49452 COND_PLATFORM_MAC_1="#"
49453 if test "x$PLATFORM_MAC" = "x1" ; then
49454 COND_PLATFORM_MAC_1=""
49457 COND_PLATFORM_MSDOS_0="#"
49458 if test "x$PLATFORM_MSDOS" = "x0" ; then
49459 COND_PLATFORM_MSDOS_0=""
49462 COND_PLATFORM_MSDOS_1="#"
49463 if test "x$PLATFORM_MSDOS" = "x1" ; then
49464 COND_PLATFORM_MSDOS_1=""
49467 COND_PLATFORM_OS2_1="#"
49468 if test "x$PLATFORM_OS2" = "x1" ; then
49469 COND_PLATFORM_OS2_1=""
49472 COND_PLATFORM_UNIX_0="#"
49473 if test "x$PLATFORM_UNIX" = "x0" ; then
49474 COND_PLATFORM_UNIX_0=""
49477 COND_PLATFORM_UNIX_1="#"
49478 if test "x$PLATFORM_UNIX" = "x1" ; then
49479 COND_PLATFORM_UNIX_1=""
49482 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49483 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49484 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49487 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49488 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49489 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49492 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49493 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49494 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49497 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49498 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49499 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49502 COND_PLATFORM_WIN32_0="#"
49503 if test "x$PLATFORM_WIN32" = "x0" ; then
49504 COND_PLATFORM_WIN32_0=""
49507 COND_PLATFORM_WIN32_1="#"
49508 if test "x$PLATFORM_WIN32" = "x1" ; then
49509 COND_PLATFORM_WIN32_1=""
49513 if test "x$SHARED" = "x0" ; then
49517 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49518 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49519 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49522 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49523 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49524 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49527 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49528 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49529 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49532 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49533 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49534 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49537 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49538 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49539 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49542 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49543 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49544 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49547 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49548 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49549 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49552 COND_SHARED_0_USE_STC_1="#"
49553 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49554 COND_SHARED_0_USE_STC_1=""
49557 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49558 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49559 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49562 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49563 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49564 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49567 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49568 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49569 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49573 if test "x$SHARED" = "x1" ; then
49577 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49578 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49579 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49583 if test "x$TOOLKIT" = "x" ; then
49587 COND_TOOLKIT_COCOA="#"
49588 if test "x$TOOLKIT" = "xCOCOA" ; then
49589 COND_TOOLKIT_COCOA=""
49592 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49593 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49594 COND_TOOLKIT_COCOA_USE_GUI_1=""
49597 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49598 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49599 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49602 COND_TOOLKIT_DFB="#"
49603 if test "x$TOOLKIT" = "xDFB" ; then
49604 COND_TOOLKIT_DFB=""
49607 COND_TOOLKIT_DFB_USE_GUI_1="#"
49608 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49609 COND_TOOLKIT_DFB_USE_GUI_1=""
49612 COND_TOOLKIT_GTK="#"
49613 if test "x$TOOLKIT" = "xGTK" ; then
49614 COND_TOOLKIT_GTK=""
49617 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49618 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49619 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49622 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49623 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49624 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49627 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49628 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49629 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49632 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49633 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49634 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49637 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49638 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49639 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49642 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49643 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49644 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49647 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49648 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49649 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49652 COND_TOOLKIT_GTK_USE_GUI_1="#"
49653 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49654 COND_TOOLKIT_GTK_USE_GUI_1=""
49657 COND_TOOLKIT_MAC="#"
49658 if test "x$TOOLKIT" = "xMAC" ; then
49659 COND_TOOLKIT_MAC=""
49662 COND_TOOLKIT_MAC_USE_GUI_1="#"
49663 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49664 COND_TOOLKIT_MAC_USE_GUI_1=""
49667 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49668 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49669 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49672 COND_TOOLKIT_MGL="#"
49673 if test "x$TOOLKIT" = "xMGL" ; then
49674 COND_TOOLKIT_MGL=""
49677 COND_TOOLKIT_MGL_USE_GUI_1="#"
49678 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49679 COND_TOOLKIT_MGL_USE_GUI_1=""
49682 COND_TOOLKIT_MOTIF="#"
49683 if test "x$TOOLKIT" = "xMOTIF" ; then
49684 COND_TOOLKIT_MOTIF=""
49687 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49688 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49689 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49692 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49693 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49694 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49697 COND_TOOLKIT_MSW="#"
49698 if test "x$TOOLKIT" = "xMSW" ; then
49699 COND_TOOLKIT_MSW=""
49702 COND_TOOLKIT_MSW_USE_GUI_1="#"
49703 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49704 COND_TOOLKIT_MSW_USE_GUI_1=""
49707 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49708 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49709 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49712 COND_TOOLKIT_MSW_WXUNIV_0="#"
49713 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49714 COND_TOOLKIT_MSW_WXUNIV_0=""
49717 COND_TOOLKIT_PM="#"
49718 if test "x$TOOLKIT" = "xPM" ; then
49722 COND_TOOLKIT_PM_USE_GUI_1="#"
49723 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49724 COND_TOOLKIT_PM_USE_GUI_1=""
49727 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49728 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49729 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49732 COND_TOOLKIT_WINCE="#"
49733 if test "x$TOOLKIT" = "xWINCE" ; then
49734 COND_TOOLKIT_WINCE=""
49737 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49738 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49739 COND_TOOLKIT_WINCE_USE_GUI_1=""
49742 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49743 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49744 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49747 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49748 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49749 COND_TOOLKIT_WINCE_WXUNIV_0=""
49752 COND_TOOLKIT_X11="#"
49753 if test "x$TOOLKIT" = "xX11" ; then
49754 COND_TOOLKIT_X11=""
49757 COND_TOOLKIT_X11_USE_GUI_1="#"
49758 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49759 COND_TOOLKIT_X11_USE_GUI_1=""
49763 if test "x$UNICODE" = "x1" ; then
49767 COND_USE_EXCEPTIONS_0="#"
49768 if test "x$USE_EXCEPTIONS" = "x0" ; then
49769 COND_USE_EXCEPTIONS_0=""
49772 COND_USE_EXCEPTIONS_1="#"
49773 if test "x$USE_EXCEPTIONS" = "x1" ; then
49774 COND_USE_EXCEPTIONS_1=""
49778 if test "x$USE_GUI" = "x0" ; then
49783 if test "x$USE_GUI" = "x1" ; then
49787 COND_USE_GUI_1_USE_OPENGL_1="#"
49788 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49789 COND_USE_GUI_1_USE_OPENGL_1=""
49792 COND_USE_GUI_1_WXUNIV_0="#"
49793 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49794 COND_USE_GUI_1_WXUNIV_0=""
49797 COND_USE_GUI_1_WXUNIV_1="#"
49798 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49799 COND_USE_GUI_1_WXUNIV_1=""
49802 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49803 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49804 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49807 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49808 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49809 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49812 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49813 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49814 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49817 COND_USE_OPENGL_1="#"
49818 if test "x$USE_OPENGL" = "x1" ; then
49819 COND_USE_OPENGL_1=""
49823 if test "x$USE_PCH" = "x1" ; then
49827 COND_USE_PLUGINS_0="#"
49828 if test "x$USE_PLUGINS" = "x0" ; then
49829 COND_USE_PLUGINS_0=""
49832 COND_USE_RTTI_0="#"
49833 if test "x$USE_RTTI" = "x0" ; then
49837 COND_USE_RTTI_1="#"
49838 if test "x$USE_RTTI" = "x1" ; then
49842 COND_USE_SOSYMLINKS_1="#"
49843 if test "x$USE_SOSYMLINKS" = "x1" ; then
49844 COND_USE_SOSYMLINKS_1=""
49847 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49848 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49849 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49852 COND_USE_SOVERLINUX_1="#"
49853 if test "x$USE_SOVERLINUX" = "x1" ; then
49854 COND_USE_SOVERLINUX_1=""
49857 COND_USE_SOVERSION_0="#"
49858 if test "x$USE_SOVERSION" = "x0" ; then
49859 COND_USE_SOVERSION_0=""
49862 COND_USE_SOVERSOLARIS_1="#"
49863 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49864 COND_USE_SOVERSOLARIS_1=""
49868 if test "x$USE_STC" = "x1" ; then
49872 COND_USE_THREADS_0="#"
49873 if test "x$USE_THREADS" = "x0" ; then
49874 COND_USE_THREADS_0=""
49877 COND_USE_THREADS_1="#"
49878 if test "x$USE_THREADS" = "x1" ; then
49879 COND_USE_THREADS_1=""
49883 if test "x$USE_XRC" = "x1" ; then
49887 COND_WINDOWS_IMPLIB_1="#"
49888 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49889 COND_WINDOWS_IMPLIB_1=""
49892 COND_WITH_PLUGIN_SDL_1="#"
49893 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49894 COND_WITH_PLUGIN_SDL_1=""
49898 if test "x$WXUNIV" = "x0" ; then
49903 if test "x$WXUNIV" = "x1" ; then
49907 COND_WXUSE_EXPAT_BUILTIN="#"
49908 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49909 COND_WXUSE_EXPAT_BUILTIN=""
49912 COND_WXUSE_LIBJPEG_BUILTIN="#"
49913 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49914 COND_WXUSE_LIBJPEG_BUILTIN=""
49917 COND_WXUSE_LIBPNG_BUILTIN="#"
49918 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49919 COND_WXUSE_LIBPNG_BUILTIN=""
49922 COND_WXUSE_LIBTIFF_BUILTIN="#"
49923 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49924 COND_WXUSE_LIBTIFF_BUILTIN=""
49927 COND_WXUSE_REGEX_BUILTIN="#"
49928 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49929 COND_WXUSE_REGEX_BUILTIN=""
49932 COND_WXUSE_ZLIB_BUILTIN="#"
49933 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49934 COND_WXUSE_ZLIB_BUILTIN=""
49939 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49940 { { 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
49941 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;}
49942 { (exit 1); exit 1; }; }
49945 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49946 { { 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
49947 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;}
49948 { (exit 1); exit 1; }; }
49955 ?:* ) # Drive letter, considered as absolute.
49958 INSTALL=`pwd`/${INSTALL} ;;
49961 if test "$wxUSE_GUI" = "yes"; then
49963 if test "$wxUSE_MSW" = 1 ; then
49964 if test "x$WINDRES" = "x"; then
49965 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49966 echo "$as_me: error: Required windres program not found" >&2;}
49967 { (exit 1); exit 1; }; }
49973 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49974 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49975 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49977 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49979 # Extract the first word of "DeRez", so it can be a program name with args.
49980 set dummy DeRez; ac_word=$2
49981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49983 if test "${ac_cv_prog_DEREZ+set}" = set; then
49984 echo $ECHO_N "(cached) $ECHO_C" >&6
49986 if test -n "$DEREZ"; then
49987 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
49989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49990 for as_dir in $PATH
49993 test -z "$as_dir" && as_dir=.
49994 for ac_exec_ext in '' $ac_executable_extensions; do
49995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49996 ac_cv_prog_DEREZ="DeRez"
49997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50004 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50007 DEREZ=$ac_cv_prog_DEREZ
50008 if test -n "$DEREZ"; then
50009 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50010 echo "${ECHO_T}$DEREZ" >&6; }
50012 { echo "$as_me:$LINENO: result: no" >&5
50013 echo "${ECHO_T}no" >&6; }
50018 MACSETFILE="\$(SETFILE)"
50020 if test "$wxUSE_MAC" = 1; then
50021 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50023 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50025 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50026 RESCOMP="cat /dev/null \| $REZ"
50027 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50033 if test "$wxUSE_PM" = 1; then
50035 WXCONFIG_RESFLAGS="-ep"
50037 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50039 POSTLINK_COMMAND="@true"
50046 if test $GCC_PCH = 1
50048 if test "$wx_cv_gcc_pch_bug" = yes; then
50049 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50050 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50051 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50052 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50053 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50054 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50057 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50058 # the headers that benefit from precompilation are mostly C++ headers.
50059 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50060 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50061 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50065 if test "$wxUSE_MAC" = 1 ; then
50066 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50067 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50073 if test "$wxUSE_SHARED" = "yes"; then
50075 *-pc-os2_emx | *-pc-os2-emx )
50076 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50077 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50078 cp -p ${srcdir}/src/os2/dllnames.sh .
50079 cp -p ${srcdir}/src/os2/dllar.sh .
50083 if test "$wxUSE_OMF" = "yes"; then
50085 *-pc-os2_emx | *-pc-os2-emx )
50086 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50087 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50088 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50093 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50098 if test "$GCC" = yes; then
50099 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50100 LIBS=`echo $LIBS | sed 's/-mt//'`
50101 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50106 if test "x$SUNCXX" = xyes; then
50107 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50108 LIBS=`echo $LIBS | sed 's/-pthread//'`
50109 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50114 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50115 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50117 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50178 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50179 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50180 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50181 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50182 echo $ECHO_N "(cached) $ECHO_C" >&6
50184 cat >conftest.make <<\_ACEOF
50187 @echo '@@@%%%=$(MAKE)=@@@%%%'
50189 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50190 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50191 *@@@%%%=?*=@@@%%%*)
50192 eval ac_cv_prog_make_${ac_make}_set=yes;;
50194 eval ac_cv_prog_make_${ac_make}_set=no;;
50196 rm -f conftest.make
50198 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50199 { echo "$as_me:$LINENO: result: yes" >&5
50200 echo "${ECHO_T}yes" >&6; }
50203 { echo "$as_me:$LINENO: result: no" >&5
50204 echo "${ECHO_T}no" >&6; }
50205 SET_MAKE="MAKE=${MAKE-make}"
50210 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50213 if test "$USE_WIN32" = 1; then
50214 ac_config_commands="$ac_config_commands
50220 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50223 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50226 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50229 if test "$wx_cv_version_script" = "yes"; then
50230 ac_config_files="$ac_config_files version-script"
50233 ac_config_files="$ac_config_files Makefile"
50236 ac_config_commands="$ac_config_commands wx-config"
50240 if test "$wxWITH_SUBDIRS" != "no"; then
50241 if test "$wxUSE_GUI" = "yes"; then
50242 SUBDIRS="samples demos utils"
50244 SUBDIRS="samples utils"
50249 # Check whether --with-cppunit-prefix was given.
50250 if test "${with_cppunit_prefix+set}" = set; then
50251 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50253 cppunit_config_prefix=""
50257 # Check whether --with-cppunit-exec-prefix was given.
50258 if test "${with_cppunit_exec_prefix+set}" = set; then
50259 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50261 cppunit_config_exec_prefix=""
50265 if test x$cppunit_config_exec_prefix != x ; then
50266 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50267 if test x${CPPUNIT_CONFIG+set} != xset ; then
50268 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50271 if test x$cppunit_config_prefix != x ; then
50272 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50273 if test x${CPPUNIT_CONFIG+set} != xset ; then
50274 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50278 # Extract the first word of "cppunit-config", so it can be a program name with args.
50279 set dummy cppunit-config; ac_word=$2
50280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50282 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50283 echo $ECHO_N "(cached) $ECHO_C" >&6
50285 case $CPPUNIT_CONFIG in
50287 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50291 for as_dir in $PATH
50294 test -z "$as_dir" && as_dir=.
50295 for ac_exec_ext in '' $ac_executable_extensions; do
50296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50297 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50305 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50309 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50310 if test -n "$CPPUNIT_CONFIG"; then
50311 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50312 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50314 { echo "$as_me:$LINENO: result: no" >&5
50315 echo "${ECHO_T}no" >&6; }
50319 cppunit_version_min=1.8.0
50321 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50322 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50324 if test "$CPPUNIT_CONFIG" = "no" ; then
50325 { echo "$as_me:$LINENO: result: no" >&5
50326 echo "${ECHO_T}no" >&6; }
50329 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50330 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50331 cppunit_version=`$CPPUNIT_CONFIG --version`
50333 cppunit_major_version=`echo $cppunit_version | \
50334 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50335 cppunit_minor_version=`echo $cppunit_version | \
50336 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50337 cppunit_micro_version=`echo $cppunit_version | \
50338 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50340 cppunit_major_min=`echo $cppunit_version_min | \
50341 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50342 cppunit_minor_min=`echo $cppunit_version_min | \
50343 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50344 cppunit_micro_min=`echo $cppunit_version_min | \
50345 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50347 cppunit_version_proper=`expr \
50348 $cppunit_major_version \> $cppunit_major_min \| \
50349 $cppunit_major_version \= $cppunit_major_min \& \
50350 $cppunit_minor_version \> $cppunit_minor_min \| \
50351 $cppunit_major_version \= $cppunit_major_min \& \
50352 $cppunit_minor_version \= $cppunit_minor_min \& \
50353 $cppunit_micro_version \>= $cppunit_micro_min `
50355 if test "$cppunit_version_proper" = "1" ; then
50356 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50357 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50359 { echo "$as_me:$LINENO: result: no" >&5
50360 echo "${ECHO_T}no" >&6; }
50365 if test "x$no_cppunit" = x ; then
50366 SUBDIRS="$SUBDIRS tests"
50377 for subdir in $SUBDIRS; do
50378 if test -d ${srcdir}/${subdir} ; then
50379 if test "$wxUSE_GUI" = "yes"; then
50380 if test ${subdir} = "samples"; then
50381 makefiles="samples/Makefile.in $makefiles"
50382 for sample in $SAMPLES_SUBDIRS; do
50383 if test -d $srcdir/samples/$sample; then
50384 makefiles="samples/$sample/Makefile.in $makefiles"
50388 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
50389 eval "disabled=\$$disabled_var"
50390 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50391 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50394 if test ${subdir} = "samples"; then
50395 makefiles="samples/Makefile.in $makefiles"
50396 for sample in `echo $SAMPLES_SUBDIRS`; do
50397 if test -d $srcdir/samples/$sample; then
50398 makefiles="samples/$sample/Makefile.in $makefiles"
50401 elif test ${subdir} = "utils"; then
50403 for util in ifacecheck ; do
50404 if test -d $srcdir/utils/$util ; then
50405 makefiles="utils/$util/src/Makefile.in \
50410 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50414 for mkin in $makefiles ; do
50415 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50416 ac_config_files="$ac_config_files $mk"
50422 cat >confcache <<\_ACEOF
50423 # This file is a shell script that caches the results of configure
50424 # tests run on this system so they can be shared between configure
50425 # scripts and configure runs, see configure's option --config-cache.
50426 # It is not useful on other systems. If it contains results you don't
50427 # want to keep, you may remove or edit it.
50429 # config.status only pays attention to the cache file if you give it
50430 # the --recheck option to rerun configure.
50432 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50433 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50434 # following values.
50438 # The following way of writing the cache mishandles newlines in values,
50439 # but we know of no workaround that is simple, portable, and efficient.
50440 # So, we kill variables containing newlines.
50441 # Ultrix sh set writes to stderr and can't be redirected directly,
50442 # and sets the high bit in the cache file unless we assign to the vars.
50444 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50445 eval ac_val=\$$ac_var
50449 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50450 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50453 _ | IFS | as_nl) ;; #(
50454 *) $as_unset $ac_var ;;
50460 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50461 *${as_nl}ac_space=\ *)
50462 # `set' does not quote correctly, so add quotes (double-quote
50463 # substitution turns \\\\ into \\, and sed turns \\ into \).
50466 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50469 # `set' quotes correctly as required by POSIX, so do not add quotes.
50470 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50479 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50481 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50483 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50484 if test -w "$cache_file"; then
50485 test "x$cache_file" != "x/dev/null" &&
50486 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50487 echo "$as_me: updating cache $cache_file" >&6;}
50488 cat confcache >$cache_file
50490 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50491 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50496 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50497 # Let make expand exec_prefix.
50498 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50500 DEFS=-DHAVE_CONFIG_H
50504 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50505 # 1. Remove the extension, and $U if already installed.
50506 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50507 ac_i=`echo "$ac_i" | sed "$ac_script"`
50508 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50509 # will be set to the directory where LIBOBJS objects are built.
50510 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50511 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50513 LIBOBJS=$ac_libobjs
50515 LTLIBOBJS=$ac_ltlibobjs
50519 : ${CONFIG_STATUS=./config.status}
50520 ac_clean_files_save=$ac_clean_files
50521 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50522 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50523 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50524 cat >$CONFIG_STATUS <<_ACEOF
50526 # Generated by $as_me.
50527 # Run this file to recreate the current configuration.
50528 # Compiler output produced by configure, useful for debugging
50529 # configure, is in config.log if it exists.
50532 ac_cs_recheck=false
50534 SHELL=\${CONFIG_SHELL-$SHELL}
50537 cat >>$CONFIG_STATUS <<\_ACEOF
50538 ## --------------------- ##
50539 ## M4sh Initialization. ##
50540 ## --------------------- ##
50542 # Be more Bourne compatible
50543 DUALCASE=1; export DUALCASE # for MKS sh
50544 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50547 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50548 # is contrary to our usage. Disable this feature.
50549 alias -g '${1+"$@"}'='"$@"'
50550 setopt NO_GLOB_SUBST
50552 case `(set -o) 2>/dev/null` in
50553 *posix*) set -o posix ;;
50562 # Avoid depending upon Character Ranges.
50563 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50564 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50565 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50566 as_cr_digits='0123456789'
50567 as_cr_alnum=$as_cr_Letters$as_cr_digits
50569 # The user is always right.
50570 if test "${PATH_SEPARATOR+set}" != set; then
50571 echo "#! /bin/sh" >conf$$.sh
50572 echo "exit 0" >>conf$$.sh
50574 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50582 # Support unset when possible.
50583 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50591 # We need space, tab and new line, in precisely that order. Quoting is
50592 # there to prevent editors from complaining about space-tab.
50593 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50594 # splitting by setting IFS to empty value.)
50599 # Find who we are. Look in the path if we contain no directory separator.
50601 *[\\/]* ) as_myself=$0 ;;
50602 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50603 for as_dir in $PATH
50606 test -z "$as_dir" && as_dir=.
50607 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50613 # We did not find ourselves, most probably we were run as `sh COMMAND'
50614 # in which case we are not to be found in the path.
50615 if test "x$as_myself" = x; then
50618 if test ! -f "$as_myself"; then
50619 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50620 { (exit 1); exit 1; }
50623 # Work around bugs in pre-3.0 UWIN ksh.
50624 for as_var in ENV MAIL MAILPATH
50625 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50633 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50634 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50635 LC_TELEPHONE LC_TIME
50637 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50638 eval $as_var=C; export $as_var
50640 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50644 # Required to use basename.
50645 if expr a : '\(a\)' >/dev/null 2>&1 &&
50646 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50652 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50653 as_basename=basename
50659 # Name of the executable.
50660 as_me=`$as_basename -- "$0" ||
50661 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50662 X"$0" : 'X\(//\)$' \| \
50663 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50665 sed '/^.*\/\([^/][^/]*\)\/*$/{
50684 as_lineno_1=$LINENO
50685 as_lineno_2=$LINENO
50686 test "x$as_lineno_1" != "x$as_lineno_2" &&
50687 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50689 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50690 # uniformly replaced by the line number. The first 'sed' inserts a
50691 # line-number line after each line using $LINENO; the second 'sed'
50692 # does the real work. The second script uses 'N' to pair each
50693 # line-number line with the line containing $LINENO, and appends
50694 # trailing '-' during substitution so that $LINENO is not a special
50695 # case at line end.
50696 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50697 # scripts with optimization help from Paolo Bonzini. Blame Lee
50698 # E. McMahon (1931-1989) for sed's syntax. :-)
50710 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50713 ' >$as_me.lineno &&
50714 chmod +x "$as_me.lineno" ||
50715 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50716 { (exit 1); exit 1; }; }
50718 # Don't try to exec as it changes $[0], causing all sort of problems
50719 # (the dirname of $[0] is not the place where we might find the
50720 # original and so on. Autoconf is especially sensitive to this).
50721 . "./$as_me.lineno"
50722 # Exit status is that of the last command.
50727 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
50733 ECHO_C= ECHO_N= ECHO_T=
50734 case `echo -n x` in
50736 case `echo 'x\c'` in
50737 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
50744 if expr a : '\(a\)' >/dev/null 2>&1 &&
50745 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50751 rm -f conf$$ conf$$.exe conf$$.file
50752 if test -d conf$$.dir; then
50753 rm -f conf$$.dir/conf$$.file
50759 if ln -s conf$$.file conf$$ 2>/dev/null; then
50761 # ... but there are two gotchas:
50762 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50763 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50764 # In both cases, we have to default to `cp -p'.
50765 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50767 elif ln conf$$.file conf$$ 2>/dev/null; then
50772 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50773 rmdir conf$$.dir 2>/dev/null
50775 if mkdir -p . 2>/dev/null; then
50778 test -d ./-p && rmdir ./-p
50782 if test -x / >/dev/null 2>&1; then
50783 as_test_x='test -x'
50785 if ls -dL / >/dev/null 2>&1; then
50792 if test -d "$1"; then
50798 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50799 ???[sx]*):;;*)false;;esac;fi
50803 as_executable_p=$as_test_x
50805 # Sed expression to map a string onto a valid CPP name.
50806 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50808 # Sed expression to map a string onto a valid variable name.
50809 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50814 # Save the log message, to keep $[0] and so on meaningful, and to
50815 # report actual input values of CONFIG_FILES etc. instead of their
50816 # values after options handling.
50818 This file was extended by wxWidgets $as_me 2.9.0, which was
50819 generated by GNU Autoconf 2.61. Invocation command line was
50821 CONFIG_FILES = $CONFIG_FILES
50822 CONFIG_HEADERS = $CONFIG_HEADERS
50823 CONFIG_LINKS = $CONFIG_LINKS
50824 CONFIG_COMMANDS = $CONFIG_COMMANDS
50827 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50832 cat >>$CONFIG_STATUS <<_ACEOF
50833 # Files that config.status was made for.
50834 config_files="$ac_config_files"
50835 config_headers="$ac_config_headers"
50836 config_commands="$ac_config_commands"
50840 cat >>$CONFIG_STATUS <<\_ACEOF
50842 \`$as_me' instantiates files from templates according to the
50843 current configuration.
50845 Usage: $0 [OPTIONS] [FILE]...
50847 -h, --help print this help, then exit
50848 -V, --version print version number and configuration settings, then exit
50849 -q, --quiet do not print progress messages
50850 -d, --debug don't remove temporary files
50851 --recheck update $as_me by reconfiguring in the same conditions
50852 --file=FILE[:TEMPLATE]
50853 instantiate the configuration file FILE
50854 --header=FILE[:TEMPLATE]
50855 instantiate the configuration header FILE
50857 Configuration files:
50860 Configuration headers:
50863 Configuration commands:
50866 Report bugs to <bug-autoconf@gnu.org>."
50869 cat >>$CONFIG_STATUS <<_ACEOF
50871 wxWidgets config.status 2.9.0
50872 configured by $0, generated by GNU Autoconf 2.61,
50873 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50875 Copyright (C) 2006 Free Software Foundation, Inc.
50876 This config.status script is free software; the Free Software Foundation
50877 gives unlimited permission to copy, distribute and modify it."
50884 cat >>$CONFIG_STATUS <<\_ACEOF
50885 # If no file are specified by the user, then we need to provide default
50886 # value. By we need to know if files were specified by the user.
50892 ac_option=`expr "X$1" : 'X\([^=]*\)='`
50893 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
50904 # Handling of the options.
50905 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50907 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50908 echo "$ac_cs_version"; exit ;;
50909 --debug | --debu | --deb | --de | --d | -d )
50911 --file | --fil | --fi | --f )
50913 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50914 ac_need_defaults=false;;
50915 --header | --heade | --head | --hea )
50917 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50918 ac_need_defaults=false;;
50920 # Conflict between --help and --header
50921 { echo "$as_me: error: ambiguous option: $1
50922 Try \`$0 --help' for more information." >&2
50923 { (exit 1); exit 1; }; };;
50924 --help | --hel | -h )
50925 echo "$ac_cs_usage"; exit ;;
50926 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50927 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50930 # This is an error.
50931 -*) { echo "$as_me: error: unrecognized option: $1
50932 Try \`$0 --help' for more information." >&2
50933 { (exit 1); exit 1; }; } ;;
50935 *) ac_config_targets="$ac_config_targets $1"
50936 ac_need_defaults=false ;;
50942 ac_configure_extra_args=
50944 if $ac_cs_silent; then
50946 ac_configure_extra_args="$ac_configure_extra_args --silent"
50950 cat >>$CONFIG_STATUS <<_ACEOF
50951 if \$ac_cs_recheck; then
50952 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50953 CONFIG_SHELL=$SHELL
50954 export CONFIG_SHELL
50955 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50959 cat >>$CONFIG_STATUS <<\_ACEOF
50963 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50964 ## Running $as_me. ##
50970 cat >>$CONFIG_STATUS <<_ACEOF
50976 infile="$srcdir/include/wx/msw/genrcdefs.h"
50977 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50980 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50981 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50982 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50988 cat >>$CONFIG_STATUS <<\_ACEOF
50990 # Handling of arguments.
50991 for ac_config_target in $ac_config_targets
50993 case $ac_config_target in
50994 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50995 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50996 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50997 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50998 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
50999 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51000 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51001 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51002 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51004 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51005 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51006 { (exit 1); exit 1; }; };;
51011 # If the user did not use the arguments to specify the items to instantiate,
51012 # then the envvar interface is used. Set only those that are not.
51013 # We use the long form for the default assignment because of an extremely
51014 # bizarre bug on SunOS 4.1.3.
51015 if $ac_need_defaults; then
51016 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51017 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51018 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51021 # Have a temporary directory for convenience. Make it in the build tree
51022 # simply because there is no reason against having it here, and in addition,
51023 # creating and moving files from /tmp can sometimes cause problems.
51024 # Hook for its removal unless debugging.
51025 # Note that there is a small window in which the directory will not be cleaned:
51026 # after its creation but before its name has been assigned to `$tmp'.
51030 trap 'exit_status=$?
51031 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51033 trap '{ (exit 1); exit 1; }' 1 2 13 15
51035 # Create a (secure) tmp directory for tmp files.
51038 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51039 test -n "$tmp" && test -d "$tmp"
51042 tmp=./conf$$-$RANDOM
51043 (umask 077 && mkdir "$tmp")
51046 echo "$me: cannot create a temporary directory in ." >&2
51047 { (exit 1); exit 1; }
51051 # Set up the sed scripts for CONFIG_FILES section.
51054 # No need to generate the scripts if there are no CONFIG_FILES.
51055 # This happens for instance when ./config.status config.h
51056 if test -n "$CONFIG_FILES"; then
51063 for ac_last_try in false false false false false :; do
51064 cat >conf$$subs.sed <<_ACEOF
51065 SHELL!$SHELL$ac_delim
51066 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51067 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51068 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51069 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51070 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51071 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51072 exec_prefix!$exec_prefix$ac_delim
51073 prefix!$prefix$ac_delim
51074 program_transform_name!$program_transform_name$ac_delim
51075 bindir!$bindir$ac_delim
51076 sbindir!$sbindir$ac_delim
51077 libexecdir!$libexecdir$ac_delim
51078 datarootdir!$datarootdir$ac_delim
51079 datadir!$datadir$ac_delim
51080 sysconfdir!$sysconfdir$ac_delim
51081 sharedstatedir!$sharedstatedir$ac_delim
51082 localstatedir!$localstatedir$ac_delim
51083 includedir!$includedir$ac_delim
51084 oldincludedir!$oldincludedir$ac_delim
51085 docdir!$docdir$ac_delim
51086 infodir!$infodir$ac_delim
51087 htmldir!$htmldir$ac_delim
51088 dvidir!$dvidir$ac_delim
51089 pdfdir!$pdfdir$ac_delim
51090 psdir!$psdir$ac_delim
51091 libdir!$libdir$ac_delim
51092 localedir!$localedir$ac_delim
51093 mandir!$mandir$ac_delim
51094 DEFS!$DEFS$ac_delim
51095 ECHO_C!$ECHO_C$ac_delim
51096 ECHO_N!$ECHO_N$ac_delim
51097 ECHO_T!$ECHO_T$ac_delim
51098 LIBS!$LIBS$ac_delim
51099 build_alias!$build_alias$ac_delim
51100 host_alias!$host_alias$ac_delim
51101 target_alias!$target_alias$ac_delim
51102 build!$build$ac_delim
51103 build_cpu!$build_cpu$ac_delim
51104 build_vendor!$build_vendor$ac_delim
51105 build_os!$build_os$ac_delim
51106 host!$host$ac_delim
51107 host_cpu!$host_cpu$ac_delim
51108 host_vendor!$host_vendor$ac_delim
51109 host_os!$host_os$ac_delim
51110 target!$target$ac_delim
51111 target_cpu!$target_cpu$ac_delim
51112 target_vendor!$target_vendor$ac_delim
51113 target_os!$target_os$ac_delim
51114 wx_top_builddir!$wx_top_builddir$ac_delim
51116 CFLAGS!$CFLAGS$ac_delim
51117 LDFLAGS!$LDFLAGS$ac_delim
51118 CPPFLAGS!$CPPFLAGS$ac_delim
51119 ac_ct_CC!$ac_ct_CC$ac_delim
51120 EXEEXT!$EXEEXT$ac_delim
51121 OBJEXT!$OBJEXT$ac_delim
51123 GREP!$GREP$ac_delim
51124 EGREP!$EGREP$ac_delim
51126 CXXFLAGS!$CXXFLAGS$ac_delim
51127 ac_ct_CXX!$ac_ct_CXX$ac_delim
51129 subdirs!$subdirs$ac_delim
51130 PKG_CONFIG!$PKG_CONFIG$ac_delim
51131 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51132 GTK_LIBS!$GTK_LIBS$ac_delim
51133 GTK_CONFIG!$GTK_CONFIG$ac_delim
51134 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51135 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51136 XMKMF!$XMKMF$ac_delim
51137 X_CFLAGS!$X_CFLAGS$ac_delim
51138 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51139 X_LIBS!$X_LIBS$ac_delim
51140 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51141 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51142 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51143 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51144 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51145 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51146 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51147 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51148 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51149 LIBICONV!$LIBICONV$ac_delim
51150 SDL_CONFIG!$SDL_CONFIG$ac_delim
51151 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51152 SDL_LIBS!$SDL_LIBS$ac_delim
51153 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51154 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51155 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51156 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51157 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51158 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51159 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51160 HILDON_LIBS!$HILDON_LIBS$ac_delim
51161 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51164 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51166 elif $ac_last_try; then
51167 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51168 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51169 { (exit 1); exit 1; }; }
51171 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51175 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51176 if test -n "$ac_eof"; then
51177 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51178 ac_eof=`expr $ac_eof + 1`
51181 cat >>$CONFIG_STATUS <<_ACEOF
51182 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51183 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51186 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51187 s/^/s,@/; s/!/@,|#_!!_#|/
51190 s/'"$ac_delim"'$/,g/; t
51192 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51193 ' >>$CONFIG_STATUS <conf$$subs.sed
51194 rm -f conf$$subs.sed
51195 cat >>$CONFIG_STATUS <<_ACEOF
51201 for ac_last_try in false false false false false :; do
51202 cat >conf$$subs.sed <<_ACEOF
51203 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51204 GST_CFLAGS!$GST_CFLAGS$ac_delim
51205 GST_LIBS!$GST_LIBS$ac_delim
51206 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51207 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51208 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51209 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51210 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51211 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51212 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51213 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51214 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51215 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51216 VENDOR!$VENDOR$ac_delim
51217 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51218 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51219 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51220 WXUNIV!$WXUNIV$ac_delim
51221 MONOLITHIC!$MONOLITHIC$ac_delim
51222 USE_PLUGINS!$USE_PLUGINS$ac_delim
51223 CXXWARNINGS!$CXXWARNINGS$ac_delim
51224 EXTRALIBS!$EXTRALIBS$ac_delim
51225 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51226 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51227 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51228 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51229 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51230 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51231 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51232 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51233 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51234 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51235 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51236 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51237 UNICODE!$UNICODE$ac_delim
51238 BUILD!$BUILD$ac_delim
51239 DEBUG_INFO!$DEBUG_INFO$ac_delim
51240 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51241 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51242 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51243 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51244 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51245 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51246 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51247 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51248 RANLIB!$RANLIB$ac_delim
51249 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51250 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51251 INSTALL_DATA!$INSTALL_DATA$ac_delim
51252 LN_S!$LN_S$ac_delim
51253 SET_MAKE!$SET_MAKE$ac_delim
51254 MAKE_SET!$MAKE_SET$ac_delim
51255 AROPTIONS!$AROPTIONS$ac_delim
51256 STRIP!$STRIP$ac_delim
51258 INSTALL_DIR!$INSTALL_DIR$ac_delim
51259 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51260 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51261 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51262 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51263 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51264 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51265 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51266 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51267 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51268 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51269 SO_SUFFIX!$SO_SUFFIX$ac_delim
51270 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51271 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51272 LIBPREFIX!$LIBPREFIX$ac_delim
51273 LIBEXT!$LIBEXT$ac_delim
51274 DLLPREFIX!$DLLPREFIX$ac_delim
51275 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51276 dlldir!$dlldir$ac_delim
51277 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51278 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51279 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51280 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51281 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51282 PIC_FLAG!$PIC_FLAG$ac_delim
51283 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51284 USE_SOVERSION!$USE_SOVERSION$ac_delim
51285 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51286 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51287 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51288 USE_MACVERSION!$USE_MACVERSION$ac_delim
51289 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51290 SONAME_FLAG!$SONAME_FLAG$ac_delim
51291 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51292 BK_DEPS!$BK_DEPS$ac_delim
51293 WINDRES!$WINDRES$ac_delim
51295 SETFILE!$SETFILE$ac_delim
51296 GCC_PCH!$GCC_PCH$ac_delim
51297 ICC_PCH!$ICC_PCH$ac_delim
51298 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51299 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51302 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51304 elif $ac_last_try; then
51305 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51306 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51307 { (exit 1); exit 1; }; }
51309 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51313 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51314 if test -n "$ac_eof"; then
51315 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51316 ac_eof=`expr $ac_eof + 1`
51319 cat >>$CONFIG_STATUS <<_ACEOF
51320 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51321 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51324 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51325 s/^/s,@/; s/!/@,|#_!!_#|/
51328 s/'"$ac_delim"'$/,g/; t
51330 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51331 ' >>$CONFIG_STATUS <conf$$subs.sed
51332 rm -f conf$$subs.sed
51333 cat >>$CONFIG_STATUS <<_ACEOF
51339 for ac_last_try in false false false false false :; do
51340 cat >conf$$subs.sed <<_ACEOF
51341 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51342 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51343 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51344 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51345 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51346 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51347 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51348 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51349 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51350 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51351 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51352 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51353 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51354 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51355 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51356 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51357 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51358 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51359 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51360 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51361 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51362 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51363 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51364 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51365 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51366 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51367 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51368 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51369 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51370 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51371 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51372 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51373 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51374 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51375 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51376 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51377 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51378 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51379 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51380 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51381 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51382 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51383 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51384 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51385 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51386 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51387 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51388 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51389 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51390 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51391 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51392 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
51393 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
51394 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
51395 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
51396 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
51397 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
51398 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
51399 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51400 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51401 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51402 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
51403 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51404 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51405 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51406 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51407 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51408 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51409 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51410 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51411 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51412 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51413 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51414 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51415 COND_SHARED_0!$COND_SHARED_0$ac_delim
51416 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51417 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51418 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51419 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51420 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51421 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51422 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51423 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51424 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51425 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51426 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51427 COND_SHARED_1!$COND_SHARED_1$ac_delim
51428 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51429 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51430 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51431 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51432 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51433 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51434 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51435 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51436 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51437 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51440 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51442 elif $ac_last_try; then
51443 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51444 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51445 { (exit 1); exit 1; }; }
51447 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51451 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51452 if test -n "$ac_eof"; then
51453 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51454 ac_eof=`expr $ac_eof + 1`
51457 cat >>$CONFIG_STATUS <<_ACEOF
51458 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51459 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51462 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51463 s/^/s,@/; s/!/@,|#_!!_#|/
51466 s/'"$ac_delim"'$/,g/; t
51468 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51469 ' >>$CONFIG_STATUS <conf$$subs.sed
51470 rm -f conf$$subs.sed
51471 cat >>$CONFIG_STATUS <<_ACEOF
51477 for ac_last_try in false false false false false :; do
51478 cat >conf$$subs.sed <<_ACEOF
51479 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51480 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51481 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51482 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51483 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51484 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51485 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51486 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51487 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51488 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51489 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51490 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51491 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51492 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51493 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51494 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51495 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51496 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51497 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51498 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51499 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51500 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51501 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51502 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51503 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51504 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51505 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51506 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51507 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51508 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51509 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51510 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51511 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51512 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51513 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51514 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51515 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51516 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51517 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51518 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51519 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51520 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51521 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51522 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51523 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51524 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51525 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51526 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51527 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51528 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51529 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51530 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51531 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51532 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51533 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51534 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51535 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51536 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51537 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51538 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51539 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51540 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51541 DEREZ!$DEREZ$ac_delim
51542 SHARED!$SHARED$ac_delim
51543 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51544 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51545 USE_GUI!$USE_GUI$ac_delim
51546 AFMINSTALL!$AFMINSTALL$ac_delim
51547 WIN32INSTALL!$WIN32INSTALL$ac_delim
51548 TOOLKIT!$TOOLKIT$ac_delim
51549 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51550 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51551 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51552 cross_compiling!$cross_compiling$ac_delim
51553 WIDGET_SET!$WIDGET_SET$ac_delim
51554 WX_RELEASE!$WX_RELEASE$ac_delim
51555 WX_VERSION!$WX_VERSION$ac_delim
51556 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51557 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51558 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51559 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51560 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51561 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51562 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51563 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51564 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51565 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51566 GUIDIST!$GUIDIST$ac_delim
51567 DISTDIR!$DISTDIR$ac_delim
51568 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51569 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51570 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51571 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51572 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51573 RESCOMP!$RESCOMP$ac_delim
51574 RESFLAGS!$RESFLAGS$ac_delim
51575 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51578 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51580 elif $ac_last_try; then
51581 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51582 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51583 { (exit 1); exit 1; }; }
51585 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51589 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51590 if test -n "$ac_eof"; then
51591 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51592 ac_eof=`expr $ac_eof + 1`
51595 cat >>$CONFIG_STATUS <<_ACEOF
51596 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51597 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51600 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51601 s/^/s,@/; s/!/@,|#_!!_#|/
51604 s/'"$ac_delim"'$/,g/; t
51606 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51607 ' >>$CONFIG_STATUS <conf$$subs.sed
51608 rm -f conf$$subs.sed
51609 cat >>$CONFIG_STATUS <<_ACEOF
51615 for ac_last_try in false false false false false :; do
51616 cat >conf$$subs.sed <<_ACEOF
51617 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51618 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51619 LIBWXMACRES!$LIBWXMACRES$ac_delim
51620 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51621 MACSETFILE!$MACSETFILE$ac_delim
51623 DLLTOOL!$DLLTOOL$ac_delim
51624 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51625 LIBOBJS!$LIBOBJS$ac_delim
51626 LTLIBOBJS!$LTLIBOBJS$ac_delim
51629 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
51631 elif $ac_last_try; then
51632 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51633 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51634 { (exit 1); exit 1; }; }
51636 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51640 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51641 if test -n "$ac_eof"; then
51642 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51643 ac_eof=`expr $ac_eof + 1`
51646 cat >>$CONFIG_STATUS <<_ACEOF
51647 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51648 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51651 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51652 s/^/s,@/; s/!/@,|#_!!_#|/
51655 s/'"$ac_delim"'$/,g/; t
51657 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51658 ' >>$CONFIG_STATUS <conf$$subs.sed
51659 rm -f conf$$subs.sed
51660 cat >>$CONFIG_STATUS <<_ACEOF
51667 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51668 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51669 # trailing colons and then remove the whole line if VPATH becomes empty
51670 # (actually we leave an empty line to preserve line numbers).
51671 if test "x$srcdir" = x.; then
51672 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51673 s/:*\$(srcdir):*/:/
51674 s/:*\${srcdir}:*/:/
51676 s/^\([^=]*=[ ]*\):*/\1/
51682 cat >>$CONFIG_STATUS <<\_ACEOF
51683 fi # test -n "$CONFIG_FILES"
51686 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51689 :[FHLC]) ac_mode=$ac_tag; continue;;
51691 case $ac_mode$ac_tag in
51693 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51694 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51695 { (exit 1); exit 1; }; };;
51696 :[FH]-) ac_tag=-:-;;
51697 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
51714 -) ac_f="$tmp/stdin";;
51715 *) # Look for the file first in the build tree, then in the source tree
51716 # (if the path is not absolute). The absolute path cannot be DOS-style,
51717 # because $ac_f cannot contain `:'.
51721 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
51723 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51724 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51725 { (exit 1); exit 1; }; };;
51727 ac_file_inputs="$ac_file_inputs $ac_f"
51730 # Let's still pretend it is `configure' which instantiates (i.e., don't
51731 # use $as_me), people would be surprised to read:
51732 # /* config.h. Generated by config.status. */
51733 configure_input="Generated from "`IFS=:
51734 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51735 if test x"$ac_file" != x-; then
51736 configure_input="$ac_file. $configure_input"
51737 { echo "$as_me:$LINENO: creating $ac_file" >&5
51738 echo "$as_me: creating $ac_file" >&6;}
51742 *:-:* | *:-) cat >"$tmp/stdin";;
51747 ac_dir=`$as_dirname -- "$ac_file" ||
51748 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51749 X"$ac_file" : 'X\(//\)[^/]' \| \
51750 X"$ac_file" : 'X\(//\)$' \| \
51751 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51753 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51757 /^X\(\/\/\)[^/].*/{
51772 -*) as_dir=./$as_dir;;
51774 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51778 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51779 *) as_qdir=$as_dir;;
51781 as_dirs="'$as_qdir' $as_dirs"
51782 as_dir=`$as_dirname -- "$as_dir" ||
51783 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51784 X"$as_dir" : 'X\(//\)[^/]' \| \
51785 X"$as_dir" : 'X\(//\)$' \| \
51786 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51792 /^X\(\/\/\)[^/].*/{
51805 test -d "$as_dir" && break
51807 test -z "$as_dirs" || eval "mkdir $as_dirs"
51808 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51809 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51810 { (exit 1); exit 1; }; }; }
51814 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51816 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51817 # A ".." for each directory in $ac_dir_suffix.
51818 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51819 case $ac_top_builddir_sub in
51820 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51821 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51824 ac_abs_top_builddir=$ac_pwd
51825 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51826 # for backward compatibility:
51827 ac_top_builddir=$ac_top_build_prefix
51830 .) # We are building in place.
51832 ac_top_srcdir=$ac_top_builddir_sub
51833 ac_abs_top_srcdir=$ac_pwd ;;
51834 [\\/]* | ?:[\\/]* ) # Absolute name.
51835 ac_srcdir=$srcdir$ac_dir_suffix;
51836 ac_top_srcdir=$srcdir
51837 ac_abs_top_srcdir=$srcdir ;;
51838 *) # Relative name.
51839 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51840 ac_top_srcdir=$ac_top_build_prefix$srcdir
51841 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51843 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51853 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51854 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
51858 cat >>$CONFIG_STATUS <<\_ACEOF
51859 # If the template does not know about datarootdir, expand it.
51860 # FIXME: This hack should be removed a few years after 2.60.
51861 ac_datarootdir_hack=; ac_datarootdir_seen=
51863 case `sed -n '/datarootdir/ {
51872 ' $ac_file_inputs` in
51873 *datarootdir*) ac_datarootdir_seen=yes;;
51874 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
51875 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51876 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51878 cat >>$CONFIG_STATUS <<_ACEOF
51879 ac_datarootdir_hack='
51880 s&@datadir@&$datadir&g
51881 s&@docdir@&$docdir&g
51882 s&@infodir@&$infodir&g
51883 s&@localedir@&$localedir&g
51884 s&@mandir@&$mandir&g
51885 s&\\\${datarootdir}&$datarootdir&g' ;;
51889 # Neutralize VPATH when `$srcdir' = `.'.
51890 # Shell code in configure.ac might set extrasub.
51891 # FIXME: do we really want to maintain this feature?
51892 cat >>$CONFIG_STATUS <<_ACEOF
51896 cat >>$CONFIG_STATUS <<\_ACEOF
51898 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51899 s&@configure_input@&$configure_input&;t t
51900 s&@top_builddir@&$ac_top_builddir_sub&;t t
51901 s&@srcdir@&$ac_srcdir&;t t
51902 s&@abs_srcdir@&$ac_abs_srcdir&;t t
51903 s&@top_srcdir@&$ac_top_srcdir&;t t
51904 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
51905 s&@builddir@&$ac_builddir&;t t
51906 s&@abs_builddir@&$ac_abs_builddir&;t t
51907 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
51908 s&@INSTALL@&$ac_INSTALL&;t t
51909 $ac_datarootdir_hack
51910 " $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
51912 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51913 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
51914 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
51915 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51916 which seems to be undefined. Please make sure it is defined." >&5
51917 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51918 which seems to be undefined. Please make sure it is defined." >&2;}
51922 -) cat "$tmp/out"; rm -f "$tmp/out";;
51923 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51932 # Transform confdefs.h into a sed script `conftest.defines', that
51933 # substitutes the proper values into config.h.in to produce config.h.
51934 rm -f conftest.defines conftest.tail
51935 # First, append a space to every undef/define line, to ease matching.
51936 echo 's/$/ /' >conftest.defines
51937 # Then, protect against being on the right side of a sed subst, or in
51938 # an unquoted here document, in config.status. If some macros were
51939 # called several times there might be several #defines for the same
51940 # symbol, which is useless. But do not sort them, since the last
51941 # AC_DEFINE must be honored.
51942 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
51943 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51944 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51945 # PARAMS is the parameter list in the macro definition--in most cases, it's
51946 # just an empty string.
51947 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51948 ac_dB='\\)[ (].*,\\1define\\2'
51956 s/^[ ]*#[ ]*define[ ][ ]*//
51961 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51962 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51963 ' >>conftest.defines
51965 # Remove the space that was appended to ease matching.
51966 # Then replace #undef with comments. This is necessary, for
51967 # example, in the case of _POSIX_SOURCE, which is predefined and required
51968 # on some systems where configure will not decide to define it.
51969 # (The regexp can be short, since the line contains either #define or #undef.)
51971 s,^[ #]*u.*,/* & */,' >>conftest.defines
51973 # Break up conftest.defines:
51974 ac_max_sed_lines=50
51976 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51977 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51978 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51980 ac_in='$ac_file_inputs'
51981 ac_out='"$tmp/out1"'
51982 ac_nxt='"$tmp/out2"'
51986 # Write a here document:
51987 cat >>$CONFIG_STATUS <<_ACEOF
51988 # First, check the format of the line:
51989 cat >"\$tmp/defines.sed" <<\\CEOF
51990 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51991 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51995 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
51997 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51998 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
51999 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52000 grep . conftest.tail >/dev/null || break
52001 rm -f conftest.defines
52002 mv conftest.tail conftest.defines
52004 rm -f conftest.defines conftest.tail
52006 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52007 cat >>$CONFIG_STATUS <<\_ACEOF
52008 if test x"$ac_file" != x-; then
52009 echo "/* $configure_input */" >"$tmp/config.h"
52010 cat "$ac_result" >>"$tmp/config.h"
52011 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52012 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52013 echo "$as_me: $ac_file is unchanged" >&6;}
52016 mv "$tmp/config.h" $ac_file
52019 echo "/* $configure_input */"
52025 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52026 echo "$as_me: executing $ac_file commands" >&6;}
52031 case $ac_file$ac_mode in
52033 mkdir -p $outdir &&
52034 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52036 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52037 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52038 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52039 "wx-config":C) rm -f wx-config
52040 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52047 { (exit 0); exit 0; }
52049 chmod +x $CONFIG_STATUS
52050 ac_clean_files=$ac_clean_files_save
52053 # configure is writing to config.log, and then calls config.status.
52054 # config.status does its own redirection, appending to config.log.
52055 # Unfortunately, on DOS this fails, as config.log is still kept open
52056 # by configure, so config.status won't be able to write to it; its
52057 # output is simply discarded. So we exec the FD to /dev/null,
52058 # effectively closing config.log, so it can be properly (re)opened and
52059 # appended to by config.status. When coming back to configure, we
52060 # need to make the FD available again.
52061 if test "$no_create" != yes; then
52063 ac_config_status_args=
52064 test "$silent" = yes &&
52065 ac_config_status_args="$ac_config_status_args --quiet"
52067 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52069 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52070 # would make configure fail if this is the last instruction.
52071 $ac_cs_success || { (exit 1); exit 1; }
52075 # CONFIG_SUBDIRS section.
52077 if test "$no_recursion" != yes; then
52079 # Remove --cache-file and --srcdir arguments so they do not pile up.
52080 ac_sub_configure_args=
52082 eval "set x $ac_configure_args"
52086 if test -n "$ac_prev"; then
52091 -cache-file | --cache-file | --cache-fil | --cache-fi \
52092 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52093 ac_prev=cache_file ;;
52094 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52095 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52098 --config-cache | -C)
52100 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52102 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52104 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52106 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52110 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52112 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52116 # Always prepend --prefix to ensure using the same prefix
52117 # in subdir configurations.
52118 ac_arg="--prefix=$prefix"
52120 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52122 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52125 if test "$silent" = yes; then
52126 ac_sub_configure_args="--silent $ac_sub_configure_args"
52130 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52132 # Do not complain, so a configure script can configure whichever
52133 # parts of a large source tree are present.
52134 test -d "$srcdir/$ac_dir" || continue
52136 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52137 echo "$as_me:$LINENO: $ac_msg" >&5
52141 -*) as_dir=./$as_dir;;
52143 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52147 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52148 *) as_qdir=$as_dir;;
52150 as_dirs="'$as_qdir' $as_dirs"
52151 as_dir=`$as_dirname -- "$as_dir" ||
52152 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52153 X"$as_dir" : 'X\(//\)[^/]' \| \
52154 X"$as_dir" : 'X\(//\)$' \| \
52155 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52161 /^X\(\/\/\)[^/].*/{
52174 test -d "$as_dir" && break
52176 test -z "$as_dirs" || eval "mkdir $as_dirs"
52177 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52178 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52179 { (exit 1); exit 1; }; }; }
52183 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52185 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52186 # A ".." for each directory in $ac_dir_suffix.
52187 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52188 case $ac_top_builddir_sub in
52189 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52190 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52193 ac_abs_top_builddir=$ac_pwd
52194 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52195 # for backward compatibility:
52196 ac_top_builddir=$ac_top_build_prefix
52199 .) # We are building in place.
52201 ac_top_srcdir=$ac_top_builddir_sub
52202 ac_abs_top_srcdir=$ac_pwd ;;
52203 [\\/]* | ?:[\\/]* ) # Absolute name.
52204 ac_srcdir=$srcdir$ac_dir_suffix;
52205 ac_top_srcdir=$srcdir
52206 ac_abs_top_srcdir=$srcdir ;;
52207 *) # Relative name.
52208 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52209 ac_top_srcdir=$ac_top_build_prefix$srcdir
52210 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52212 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52217 # Check for guested configure; otherwise get Cygnus style configure.
52218 if test -f "$ac_srcdir/configure.gnu"; then
52219 ac_sub_configure=$ac_srcdir/configure.gnu
52220 elif test -f "$ac_srcdir/configure"; then
52221 ac_sub_configure=$ac_srcdir/configure
52222 elif test -f "$ac_srcdir/configure.in"; then
52223 # This should be Cygnus configure.
52224 ac_sub_configure=$ac_aux_dir/configure
52226 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52227 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52231 # The recursion is here.
52232 if test -n "$ac_sub_configure"; then
52233 # Make the cache file name correct relative to the subdirectory.
52234 case $cache_file in
52235 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52236 *) # Relative name.
52237 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52240 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52241 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52242 # The eval makes quoting arguments work.
52243 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52244 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52245 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52246 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52247 { (exit 1); exit 1; }; }
52256 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52258 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52259 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52261 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52262 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52263 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52264 if test "$wxUSE_UNICODE" = "yes"; then
52265 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52266 echo " (using UTF-8)"
52268 echo " (using wchar_t)"
52274 echo " What level of wxWidgets compatibility should be enabled?"
52275 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52276 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52278 echo " Which libraries should wxWidgets use?"
52279 echo " STL ${wxUSE_STL}"
52280 echo " jpeg ${wxUSE_LIBJPEG-none}"
52281 echo " png ${wxUSE_LIBPNG-none}"
52282 echo " regex ${wxUSE_REGEX}"
52283 echo " tiff ${wxUSE_LIBTIFF-none}"
52284 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52285 echo " xpm ${wxUSE_LIBXPM-none}"
52287 echo " zlib ${wxUSE_ZLIB}"
52288 echo " expat ${wxUSE_EXPAT}"
52289 echo " libmspack ${wxUSE_LIBMSPACK}"
52290 echo " sdl ${wxUSE_LIBSDL}"